7 years agoRevert "remove unnecessary goto usage in efikasb_batt_read"
Matt Sealey [Tue, 30 Nov 2010 00:19:58 +0000 (18:19 -0600)]
Revert "remove unnecessary goto usage in efikasb_batt_read"

This reverts commit 2cdda058111fcca048027732145bbe8418edc3b8.

7 years agoRevert "add efikasb_batt_write"
Matt Sealey [Tue, 30 Nov 2010 00:19:54 +0000 (18:19 -0600)]
Revert "add efikasb_batt_write"

This reverts commit 047de77e2ae0e3b382b078c264582e1e913613e0.

7 years agoRevert "report energy and charge now"
Matt Sealey [Tue, 30 Nov 2010 00:19:50 +0000 (18:19 -0600)]
Revert "report energy and charge now"

This reverts commit fb2fa90c1143b300cf4f9ccb7a21682f413e5e91.

7 years agoRevert "report energy and charge full"
Matt Sealey [Tue, 30 Nov 2010 00:19:24 +0000 (18:19 -0600)]
Revert "report energy and charge full"

This reverts commit dfb514dfb05372dc7e0a6db598e3676e6ec8fb1e.

7 years agoRevert "report energy and charge full design"
Matt Sealey [Tue, 30 Nov 2010 00:18:11 +0000 (18:18 -0600)]
Revert "report energy and charge full design"

This reverts commit 59a6e469095668420c83cbe137dd40e0b8aa8f70.

7 years agoext4: Fix build warning in ext4_dirty_inode()
Curt Wohlgemuth [Sat, 3 Oct 2009 01:08:32 +0000 (21:08 -0400)]
ext4: Fix build warning in ext4_dirty_inode()

This fixes the following warning:

fs/ext4/inode.c: In function 'ext4_dirty_inode':
fs/ext4/inode.c:5615: warning: unused variable 'current_handle'

We remove the jbd_debug() statement which does use current_handle, as
it's not terribly important in the grand scheme of things.

Thanks to Stephen Rothwell for pointing this out.

Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: Handle non empty on-disk orphan link
Dmitry Monakhov [Tue, 2 Mar 2010 04:29:39 +0000 (23:29 -0500)]
ext4: Handle non empty on-disk orphan link

In case of truncate errors we explicitly remove inode from in-core
orphan list via orphan_del(NULL, inode) without modifying the on-disk list.

But later on, the same inode may be inserted in the orphan list again
which will result the on-disk linked list getting corrupted.  If inode
i_dtime contains valid value, then skip on-disk list modification.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: Fix insertion point of extent in mext_insert_across_blocks()
Akira Fujita [Thu, 4 Mar 2010 05:31:06 +0000 (00:31 -0500)]
ext4: Fix insertion point of extent in mext_insert_across_blocks()

If the leaf node has 2 extent space or fewer and EXT4_IOC_MOVE_EXT
ioctl is called with the file offset where after the 2nd extent
covers, mext_insert_across_blocks() always tries to insert extent into
the first extent.  As a result, the file gets corrupted because of
wrong extent order.  The patch fixes this problem.

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: Fix the NULL reference in double_down_write_data_sem()
Akira Fujita [Thu, 4 Mar 2010 05:34:58 +0000 (00:34 -0500)]
ext4: Fix the NULL reference in double_down_write_data_sem()

If EXT4_IOC_MOVE_EXT ioctl is called with NULL donor_fd, fget() in
ext4_ioctl() gets inappropriate file structure for donor; so we need
to do this check earlier, before calling double_down_write_data_sem().

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: mount flags manipulation cleanup
Dmitry Monakhov [Wed, 24 Feb 2010 16:35:32 +0000 (11:35 -0500)]
ext4: mount flags manipulation cleanup

Replace intermediate EXT4_MOUNT_XXX flags manipulation to
corresponding macro.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: explicitly remove inode from orphan list after failed direct io
Dmitry Monakhov [Tue, 2 Mar 2010 04:15:02 +0000 (23:15 -0500)]
ext4: explicitly remove inode from orphan list after failed direct io

Otherwise non-empty orphan list will be triggered on umount.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: deprecate obsoleted mount options
Dmitry Monakhov [Tue, 2 Mar 2010 03:29:21 +0000 (22:29 -0500)]
ext4: deprecate obsoleted mount options

Declare following list of mount options as deprecated:
 - bsddf, miniddf
 - grpid, bsdgroups, nogrpid, sysvgroups

Declare following list of default mount options as deprecated:
 - bsdgroups

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: Reserve INCOMPAT_EA_INODE and INCOMPAT_DIRDATA feature codepoints
Theodore Ts'o [Mon, 25 Jan 2010 08:31:32 +0000 (03:31 -0500)]
ext4: Reserve INCOMPAT_EA_INODE and INCOMPAT_DIRDATA feature codepoints

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: Add flag to files with blocks intentionally past EOF
Jiaying Zhang [Wed, 24 Feb 2010 14:52:53 +0000 (09:52 -0500)]
ext4: Add flag to files with blocks intentionally past EOF

fallocate() may potentially instantiate blocks past EOF, depending
on the flags used when it is called.

e2fsck currently has a test for blocks past i_size, and it
sometimes trips up - noticeably on xfstests 013 which runs fsstress.

This patch from Jiayang does fix it up - it (along with
e2fsprogs updates and other patches recently from Aneesh) has
survived many fsstress runs in a row.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: correctly calculate number of blocks for fiemap
Leonard Michlmayr [Thu, 4 Mar 2010 22:07:28 +0000 (17:07 -0500)]
ext4: correctly calculate number of blocks for fiemap

ext4_fiemap() rounds the length of the requested range down to
blocksize, which is is not the true number of blocks that cover the
requested region.  This problem is especially impressive if the user
requests only the first byte of a file: not a single extent will be

We fix this by calculating the last block of the region and then
subtract to find the number of blocks in the extents.

Signed-off-by: Leonard Michlmayr <leonard.michlmayr@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agoext4: add missing error checking to ext4_expand_extra_isize_ea()
Roel Kluin [Mon, 15 Feb 2010 19:26:16 +0000 (14:26 -0500)]
ext4: add missing error checking to ext4_expand_extra_isize_ea()

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
7 years agoext4: Use bitops to read/modify EXT4_I(inode)->i_state
Theodore Ts'o [Sun, 24 Jan 2010 19:34:07 +0000 (14:34 -0500)]
ext4: Use bitops to read/modify EXT4_I(inode)->i_state

At several places we modify EXT4_I(inode)->i_state without holding
i_mutex (ext4_release_file, ext4_bmap, ext4_journalled_writepage,
ext4_do_update_inode, ...). These modifications are racy and we can
lose updates to i_state. So convert handling of i_state to use bitops
which are atomic.

Cc: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
7 years agocrypto: pcomp - Fix illegal Kconfig configuration
Herbert Xu [Thu, 3 Jun 2010 10:33:06 +0000 (20:33 +1000)]
crypto: pcomp - Fix illegal Kconfig configuration

The PCOMP Kconfig entry current allows the following combination
which is illegal:


This patch fixes this by adding PCOMP2 so that PCOMP can select
ALGAPI to propagate the setting to MANAGER2.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
7 years agobump to .11 for release efikasb-10.08.00-20101124
Matt Sealey [Wed, 24 Nov 2010 22:04:20 +0000 (16:04 -0600)]
bump to .11 for release

7 years agoRemove VGA GPIO (was never valid) and LCD related GPIO pin (is connected to test...
Matt Sealey [Wed, 24 Nov 2010 21:44:41 +0000 (15:44 -0600)]
Remove VGA GPIO (was never valid) and LCD related GPIO pin (is connected to test pad)
Make HDMI interrupt pin an input (originally an output????)

7 years agoModify configs to disable CMDLINE_FORCE by default
Matt Sealey [Wed, 24 Nov 2010 21:41:10 +0000 (15:41 -0600)]
Modify configs to disable CMDLINE_FORCE by default

7 years agoARM: 5939/1: ARM: Add option CMDLINE_FORCE to force usage of the in-kernel cmdline
Alexander Holler [Tue, 16 Feb 2010 18:04:53 +0000 (19:04 +0100)]
ARM: 5939/1: ARM: Add option CMDLINE_FORCE to force usage of the in-kernel cmdline

Add an option to force usage of the in-kernel cmdline even if the boot
loader passes another command string to the kernel.

Useful if someone cannot or don't want to change the
command-line options of the boot loader but is able to change
the kernel.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
7 years agoconfig update: crypto/networking modules as per Ubuntu default configurations
Matt Sealey [Sun, 21 Nov 2010 21:42:25 +0000 (15:42 -0600)]
config update: crypto/networking modules as per Ubuntu default configurations

* disable wireless powersave by default
* netfilter and iptables etc. enabled (firewalls will work now)
* advanced router, bridging, vlan tagging etc.
* modularized crypto

bump to .10

7 years agoModify IPU behavior not to try to adapt panel v_end_width since this fix
Matt Sealey [Sat, 20 Nov 2010 23:26:20 +0000 (17:26 -0600)]
Modify IPU behavior not to try to adapt panel v_end_width since this fix
is really only for 800x600 TFT panels directly connected with weird
requirements. Make sure it's well and truly #if'd out.

7 years ago* Remove weird pin wiggling in EDID fetch
Matt Sealey [Sat, 20 Nov 2010 16:46:21 +0000 (10:46 -0600)]
* Remove weird pin wiggling in EDID fetch
* Remove VGA support
* Remove HDMI customization (was for the old driver)
* Consolidate DI clock setting (view is to remove it eventually since
  the bug it was meant to work around is fixed)
* Remove mxc_ipuv3_fb.c dependency on EfikaMX includes

7 years agoRemove VGA driver from config and build, and delete the file
Matt Sealey [Sat, 20 Nov 2010 15:15:13 +0000 (09:15 -0600)]
Remove VGA driver from config and build, and delete the file

7 years agobump to .9
Saleem Abdulrasool [Fri, 19 Nov 2010 04:59:31 +0000 (20:59 -0800)]
bump to .9

7 years agoadd rough version of new sii9022 driver
Saleem Abdulrasool [Fri, 19 Nov 2010 04:57:41 +0000 (20:57 -0800)]
add rough version of new sii9022 driver

This is a new implementation of the sii9022 driver that is clearer to follow.
The missing functionality does not seem to be causing any loss of existing
functionality and helps development, so replacing it even though it is

7 years agoCONFIG_USB_STATIC_IRAM fixes: actually make it build
Matt Sealey [Fri, 19 Nov 2010 00:30:18 +0000 (18:30 -0600)]
CONFIG_USB_STATIC_IRAM fixes: actually make it build

* usb abi changes broke it
* FSL never added use_iram to urb struct ever so it never compiled in the first place
* cleanup memcpy usage so it's more readable (breaks 80 column limit but..)

Not enabled in any config. PROBABLY DOESN'T WORK. But at least it can be built and tested now.

7 years agodefconfig updates for Ubuntu Maverick (devtmpfs etc.). This means the default config...
Matt Sealey [Thu, 18 Nov 2010 20:44:52 +0000 (14:44 -0600)]
defconfig updates for Ubuntu Maverick (devtmpfs etc.). This means the default config will
absolutely positively REQUIRE an initramfs right now since MMC, PATA and other modules
have been made real modules instead of built-ins.

Changes made:
 * Enable ARM errata fixes. None of them apply but it is safe to compile them in as they are
   switched based on CPU version.
 * Re-enable PREEMPT (may get turned back off if wireless bitches too much for too many people)
 * Don't build in all kernel firmware binaries to save space in the kernel
 * MTD modularized
 * pata_fsl and libata modularized
 * MMC support modularized
 * V4L2 (i.e. support for YUV overlay) modularized (also pushes a bunch of tuners out)
 * Audio modularized. SGTL5000 might balk at this, but audio should be handled by udev now and
   permissions will be correct. Remains to be seen.
 * USB HID modularized since USB is modularized it makes no sense to keep them built-in
 * USB Announce New Devices for debugging purposes
 * Turned off panic on softlock (hrw's suggestion, LP bug #676707)

Bumped to .8 to recognize this change.

7 years agobump to .7
Matt Sealey [Thu, 18 Nov 2010 20:24:02 +0000 (14:24 -0600)]
bump to .7

7 years agoremove uio_driver.h include as we no longer have a UIO driver origin/efikasb-10.08.00
Matt Sealey [Tue, 9 Nov 2010 16:49:29 +0000 (10:49 -0600)]
remove uio_driver.h include as we no longer have a UIO driver

7 years agoAMD GPU update
Matt Sealey [Thu, 4 Nov 2010 19:43:15 +0000 (14:43 -0500)]
AMD GPU update

7 years agoClarify OpenVG disabled error (should be impossible with new defconfig anyway)
Matt Sealey [Thu, 4 Nov 2010 19:11:28 +0000 (14:11 -0500)]
Clarify OpenVG disabled error (should be impossible with new defconfig anyway)

7 years agoremove UIO GPU driver as we don't support it (and soon neither will Freescale)
Matt Sealey [Thu, 4 Nov 2010 19:09:00 +0000 (14:09 -0500)]
remove UIO GPU driver as we don't support it (and soon neither will Freescale)

7 years agoCatch pixclk div0
Matt Sealey [Mon, 1 Nov 2010 19:04:37 +0000 (14:04 -0500)]
Catch pixclk div0

If pixclk is 0, we would get a div0 since it is used in an unchecked division via
a macro.  If the pixel clock is 0, just skip the mode for now, reporting it as a

Thanks to Saleem Abdulrasool

7 years agoprevent kernel oops on unknown devices
Matt Sealey [Mon, 1 Nov 2010 19:02:30 +0000 (14:02 -0500)]
prevent kernel oops on unknown devices

If the returned value is outside of the range of the array, we could get
potential errors (#PF, #GF, etc), which are nasty to track down.  Instead,
report a bug, and report the value as unknown in those cases.

Thanks to Saleem Abdulrasool

7 years agoUSB: fix cdc-acm regression in open
Oliver Neukum [Tue, 8 Sep 2009 21:51:28 +0000 (23:51 +0200)]
USB: fix cdc-acm regression in open

cdc-acm needs to set a flag during open to tell the
tty layer that the device is initialized

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Paul Martin <pm@debian.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7 years agoENGR00126565-2 GPU: Provide z160 precision info to user space libraries
Jie Zhou [Mon, 23 Aug 2010 01:59:36 +0000 (09:59 +0800)]
ENGR00126565-2 GPU: Provide z160 precision info to user space libraries

MX50 Z160 has higher gradient/texture precision than MX51/53.

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00126565-1 MX50: add z160 version to platform_data of gpu_device
Jie Zhou [Mon, 23 Aug 2010 01:59:36 +0000 (09:59 +0800)]
ENGR00126565-1 MX50: add z160 version to platform_data of gpu_device

MX50 has some RTL fix for Z160

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00126064 GPU: disable mmu to pass OpenVG CTS
Jie Zhou [Mon, 9 Aug 2010 03:09:01 +0000 (11:09 +0800)]
ENGR00126064 GPU: disable mmu to pass OpenVG CTS

If enabled MMU, there is AXI read/write error on MX508 when run

Besides, change EMEM1 size to 10MB by default to make gpu driver
work on MX50_ARM2 board with 128MB memory installed.

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00125984 GPU: enable MMU for MX508 and MX35
Jie Zhou [Thu, 5 Aug 2010 05:11:17 +0000 (13:11 +0800)]
ENGR00125984 GPU: enable MMU for MX508 and MX35

Remove GSL_MMU_TRANSLATION_ENABLED macro originally used for conditional
compile, and replace it with runtime check to support one mx5x image

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00125615 GPU: disable z160 in gsl when X-Accel enabled
Jie Zhou [Tue, 3 Aug 2010 04:58:58 +0000 (12:58 +0800)]
ENGR00125615 GPU: disable z160 in gsl when X-Accel enabled

When X-accel is enabled, uio driver is used for X server to access
z160 device, so in gsl, we should not operate z160 to avoid conflicts

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00125729-2 GPU: merge hal for MX35/MX50 and MX51/MX53
Jie Zhou [Thu, 29 Jul 2010 09:04:43 +0000 (17:04 +0800)]
ENGR00125729-2 GPU: merge hal for MX35/MX50 and MX51/MX53

Add MX508 support, and adapt the gpu driver to one image

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00125729-1 MX5x MSL: set gpu resources correctly
Jie Zhou [Thu, 29 Jul 2010 09:04:43 +0000 (17:04 +0800)]
ENGR00125729-1 MX5x MSL: set gpu resources correctly

MX50 has no 3D interrupt, 3D register space, and gmem

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoUnify NOR partitioning on both boards
Matt Sealey [Sat, 13 Nov 2010 16:04:22 +0000 (10:04 -0600)]
Unify NOR partitioning on both boards

7 years agosmartbook: remove ddr2 hack
Matt Sealey [Sat, 13 Nov 2010 16:01:25 +0000 (10:01 -0600)]
smartbook: remove ddr2 hack

7 years agosmartbook: fix GPU resource allocation to match other boards
Matt Sealey [Sat, 13 Nov 2010 16:00:05 +0000 (10:00 -0600)]
smartbook: fix GPU resource allocation to match other boards

7 years agoreport energy and charge full design
Saleem Abdulrasool [Fri, 12 Nov 2010 21:14:54 +0000 (13:14 -0800)]
report energy and charge full design

7 years agoreport energy and charge full
Saleem Abdulrasool [Fri, 12 Nov 2010 21:11:21 +0000 (13:11 -0800)]
report energy and charge full

7 years agoreport energy and charge now
Saleem Abdulrasool [Fri, 12 Nov 2010 21:07:37 +0000 (13:07 -0800)]
report energy and charge now

7 years agoadd efikasb_batt_write
Saleem Abdulrasool [Fri, 12 Nov 2010 20:56:30 +0000 (12:56 -0800)]
add efikasb_batt_write

7 years agoremove unnecessary goto usage in efikasb_batt_read
Saleem Abdulrasool [Fri, 12 Nov 2010 20:53:09 +0000 (12:53 -0800)]
remove unnecessary goto usage in efikasb_batt_read

7 years agofix whitespace
Saleem Abdulrasool [Fri, 12 Nov 2010 20:47:39 +0000 (12:47 -0800)]
fix whitespace

7 years agorename hex_to_bin to get compat-wireless working
Marcin Juszkiewicz [Tue, 9 Nov 2010 14:39:32 +0000 (15:39 +0100)]
rename hex_to_bin to get compat-wireless working

7 years agosyslog: distinguish between /proc/kmsg and syscalls
Kees Cook [Tue, 2 Feb 2010 05:21:17 +0000 (21:21 -0800)]
syslog: distinguish between /proc/kmsg and syscalls

This allows the LSM to distinguish between syslog functions originating
from /proc/kmsg access and direct syscalls.  By default, the commoncaps
will now no longer require CAP_SYS_ADMIN to read an opened /proc/kmsg
file descriptor.  For example the kernel syslog reader can now drop
privileges after opening /proc/kmsg, instead of staying privileged with
CAP_SYS_ADMIN.  MAC systems that implement security_syslog have unchanged

Signed-off-by: Kees Cook <kees.cook@canonical.com>
7 years agoFix display offset bug on the AUO panels. Might be better in the future to pull and...
Matt Sealey [Thu, 4 Nov 2010 16:47:08 +0000 (11:47 -0500)]
Fix display offset bug on the AUO panels. Might be better in the future to pull and patch EDID.

7 years agobump to .3
Matt Sealey [Thu, 28 Oct 2010 09:19:52 +0000 (04:19 -0500)]
bump to .3

7 years agoARM 5897/1: spinlock: don't use deprecated barriers on ARMv7
Matt Sealey [Thu, 28 Oct 2010 07:05:38 +0000 (02:05 -0500)]
ARM 5897/1: spinlock: don't use deprecated barriers on ARMv7

7 years agoARM 5849/1 ARMv7: fix Oprofile events count
Matt Sealey [Thu, 28 Oct 2010 06:44:19 +0000 (01:44 -0500)]
ARM 5849/1 ARMv7: fix Oprofile events count

7 years agoARM 5889/1: Add atomic64 routines for ARMv6k and above.
Matt Sealey [Thu, 28 Oct 2010 07:02:14 +0000 (02:02 -0500)]
ARM 5889/1: Add atomic64 routines for ARMv6k and above.

7 years agoARM 5997/1: Correct the VFPv3 detection
Matt Sealey [Thu, 28 Oct 2010 06:55:52 +0000 (01:55 -0500)]
ARM 5997/1: Correct the VFPv3 detection

7 years agoARM 5977/1: Enable backtrace printing on oops when PC is corrupted
Matt Sealey [Thu, 28 Oct 2010 06:53:57 +0000 (01:53 -0500)]
ARM 5977/1: Enable backtrace printing on oops when PC is corrupted

7 years agoARM 5868/1: ARM: fix "BUG: using smp_processor_id() in preemptible code"
Matt Sealey [Thu, 28 Oct 2010 06:48:00 +0000 (01:48 -0500)]
ARM 5868/1: ARM: fix "BUG: using smp_processor_id() in preemptible code"

7 years agoARM 5794/1 Flush the D-cache during copy_user_highpage()
Matt Sealey [Thu, 28 Oct 2010 06:42:05 +0000 (01:42 -0500)]
ARM 5794/1 Flush the D-cache during copy_user_highpage()

7 years agoARM 5784/1 fix early boot machine ID mismatch error display
Matt Sealey [Thu, 28 Oct 2010 06:40:22 +0000 (01:40 -0500)]
ARM 5784/1 fix early boot machine ID mismatch error display

7 years agoFix innocuous warning in ureadahead support
Matt Sealey [Thu, 28 Oct 2010 07:22:28 +0000 (02:22 -0500)]
Fix innocuous warning in ureadahead support

7 years agoipu: make disable/unitialized "error" into "info" since it doesn't mean anything...
Matt Sealey [Thu, 28 Oct 2010 07:43:38 +0000 (02:43 -0500)]
ipu: make disable/unitialized "error" into "info" since it doesn't mean anything went wrong

7 years agopata_fsl: make the dma rchan/wchan message in the kernel INFO so it doesn't get print...
Matt Sealey [Thu, 28 Oct 2010 07:41:27 +0000 (02:41 -0500)]
pata_fsl: make the dma rchan/wchan message in the kernel INFO so it doesn't get printed when we want to be quiet

7 years agopata_fsl: remove that annoying frame size error by allocating scatterlists with kzall...
Matt Sealey [Thu, 28 Oct 2010 07:54:49 +0000 (02:54 -0500)]
pata_fsl: remove that annoying frame size error by allocating scatterlists with kzalloc instead of defining tmp[64]

Results: no more warning
Impact: no performance hit (PATA is too slow on these devices for it to matter).

7 years agouio: fix config
Matt Sealey [Thu, 21 Oct 2010 21:26:44 +0000 (16:26 -0500)]
uio: fix config

7 years agoRevert "config: uio fix"
Matt Sealey [Thu, 21 Oct 2010 21:25:43 +0000 (16:25 -0500)]
Revert "config: uio fix"

This reverts commit 23a402db3fb0ce1020221ebdefd43ed90bc5c24c.

7 years agoconfig: uio fix
Matt Sealey [Thu, 21 Oct 2010 21:22:37 +0000 (16:22 -0500)]
config: uio fix

7 years agouio: remove from configs since Genesi's preferred method for VG GPU access is via...
Matt Sealey [Thu, 21 Oct 2010 20:21:00 +0000 (15:21 -0500)]
uio: remove from configs since Genesi's preferred method for VG GPU access is via the AMD GPU module

7 years agoversion bump to 14.2 encompassing stability fixes
Matt Sealey [Thu, 21 Oct 2010 18:22:44 +0000 (13:22 -0500)]
version bump to 14.2 encompassing stability fixes

7 years agomatching EfikaMX support for ENGR00126861-1 csi clock change
Matt Sealey [Thu, 21 Oct 2010 17:54:08 +0000 (12:54 -0500)]
matching EfikaMX support for ENGR00126861-1 csi clock change

7 years agoENGR00126156 ipuv3: check own clk count only when around clk rate
Jason Chen [Mon, 16 Aug 2010 08:25:41 +0000 (16:25 +0800)]
ENGR00126156 ipuv3: check own clk count only when around clk rate

If dual display enabled, the second one may not be able to set
correct clock rate if it's from ext clk.

Signed-off-by: Jason Chen <b02280@freescale.com>
7 years agoENGR00126861-2: ipu: pass csi clock in ipu platform data
Dinh Nguyen [Mon, 30 Aug 2010 22:27:14 +0000 (17:27 -0500)]
ENGR00126861-2: ipu: pass csi clock in ipu platform data

ipu: pass csi clock in platform data
ipu: use ipu hw rev instead of chip version

Acked-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
7 years agoENGR00126861-1: mx51: pass csi clock in ipu platform data
Dinh Nguyen [Mon, 30 Aug 2010 22:27:14 +0000 (17:27 -0500)]
ENGR00126861-1: mx51: pass csi clock in ipu platform data

ipu: pass csi clock in platform data

Acked-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
7 years agoENGR00125796 MX5x: Boot stop at "Starting kernel ..."
Jason Liu [Tue, 10 Aug 2010 02:44:00 +0000 (10:44 +0800)]
ENGR00125796 MX5x: Boot stop at "Starting kernel ..."

System sometime stop at "Starting kernel ...". After connect with
ICE, we found that system enter abort mode. The abort sometimes is
data abort and sometimes prefetch abort.This issue may caused by that
we config the PLL1 while CPU clock is runing on it.In fact, we don't
need do PLL1 enable operation if it already run up and which will
bring side-effect for the impact of cpu clock.

Signed-off-by:Jason Liu <r64343@freescale.com>

7 years agogenirq: Run irq handlers with interrupts disabled
Ingo Molnar [Fri, 26 Mar 2010 00:06:51 +0000 (00:06 +0000)]
genirq: Run irq handlers with interrupts disabled

Running interrupt handlers with interrupts enabled can cause stack
overflows. That has been observed with multiqueue NICs delivering all
their interrupts to a single core. We might band aid that somehow by
checking the interrupt stacks, but the real safe fix is to run the irq
handlers with interrupts disabled.

Drivers for whacky hardware still can reenable them in the handler
itself, if the need arises. (They do already due to lockdep)

The risk of doing this is rather low:

 - lockdep already enforces this
 - CONFIG_NOHZ has shaken out the drivers which relied on jiffies updates
 - time keeping is not longer sensitive to the timer interrupt being delayed

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Miller <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Linus Torvalds <torvalds@osdl.org>
LKML-Reference: <20100326000405.758579387@linutronix.de>

7 years agoENGR00125800 UIO: clean uioinfo when uninstall uio driver
Jie Zhou [Wed, 4 Aug 2010 03:26:39 +0000 (11:26 +0800)]
ENGR00125800 UIO: clean uioinfo when uninstall uio driver

The uioinfo should be cleaned up when uninstall, otherwise re-install
failure of uio_pdrv_genirq.ko will happen.

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agotrace: ureadahead support
Matt Sealey [Wed, 20 Oct 2010 05:40:00 +0000 (00:40 -0500)]
trace: ureadahead support

7 years agoversion bump ( so that package conflicts don't happen
Matt Sealey [Wed, 20 Oct 2010 00:48:30 +0000 (19:48 -0500)]
version bump ( so that package conflicts don't happen

7 years agoconfigs: disable PREEMPT as it may be causing horrible problems
Matt Sealey [Tue, 19 Oct 2010 14:56:03 +0000 (09:56 -0500)]
configs: disable PREEMPT as it may be causing horrible problems

7 years agoFrom 148a2911a31f77f18778519bf300143f850fddaf Mon Sep 17 00:00:00 2001
Matt Sealey [Mon, 18 Oct 2010 14:05:37 +0000 (09:05 -0500)]
From 148a2911a31f77f18778519bf300143f850fddaf Mon Sep 17 00:00:00 2001
From: Steev Klimaszewski <steev@gentoo.org>
Date: Mon, 18 Oct 2010 08:40:53 -0500
Subject: [PATCH] CONFIG_PPP_MULTILINK and CONFIG_PPP_FILTER cannot be modular, since
 we want the support, build them in with y

7 years agoconfig: Add PPP modules
Matt Sealey [Sat, 16 Oct 2010 19:43:58 +0000 (14:43 -0500)]
config: Add PPP modules

7 years agoFixed logical fallacy re SD and WP pins for SDHC2 therefore finally fixing the SD...
Matt Sealey [Sat, 16 Oct 2010 18:18:19 +0000 (13:18 -0500)]
Fixed logical fallacy re SD and WP pins for SDHC2 therefore finally fixing the SD card bug.

7 years agousb: Increase timeout value for device reset
Dinh Nguyen [Tue, 13 Apr 2010 16:13:15 +0000 (11:13 -0500)]
usb: Increase timeout value for device reset

It seems that for USB IP on Freescale MX5x processors, it needs >750
usec for the reset to complete. This change should not hurt any other
EHCI hardware.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7 years agoMore moronic SD card stuff fixed. stuff CD into interrupt for TO2 instead of WP
Matt Sealey [Tue, 28 Sep 2010 19:00:41 +0000 (14:00 -0500)]
More moronic SD card stuff fixed. stuff CD into interrupt for TO2 instead of WP

7 years agoSmarttop: potential fix for TO2 SD card CD/WP handling. Neko is a moron.
Matt Sealey [Tue, 28 Sep 2010 18:46:00 +0000 (13:46 -0500)]
Smarttop: potential fix for TO2 SD card CD/WP handling. Neko is a moron.

7 years agorootwait by default
Matt Sealey [Tue, 28 Sep 2010 17:40:54 +0000 (12:40 -0500)]
rootwait by default

7 years agoSmarttop: remove modes which do not match IPU restrictions (vertical border needs... efikasb-10.07.11-20100928
Matt Sealey [Tue, 28 Sep 2010 17:15:55 +0000 (12:15 -0500)]
Smarttop: remove modes which do not match IPU restrictions (vertical border needs to be >2) in order not to have them be "reconfigured" later to be potentially incompatible with the monitor.

7 years agodefconfig update, IO scheduler NOOP, DEVTMPFS config for SB, CPU govs for MX
Matt Sealey [Wed, 15 Sep 2010 02:36:16 +0000 (21:36 -0500)]
defconfig update, IO scheduler NOOP, DEVTMPFS config for SB, CPU govs for MX

Why NOOP? Because CFQ is wasting CPU cycles for no performance gain. There should
be more left for the system now, and identical block device performance.

Devtmpfs in config enabled for Lucid/Maverick and other 2010 Linux support.

Added modules for CPU governors for the Smarttop board since power management is

7 years agoRemove custom Efika Smartbook backlight driver as it duplicates code
Matt Sealey [Fri, 10 Sep 2010 23:31:34 +0000 (18:31 -0500)]
Remove custom Efika Smartbook backlight driver as it duplicates code
and isn't nearly as good as the generic one now in use.

7 years agoUse the fine-grained, generic PWM platform driver for backlight.
Matt Sealey [Fri, 10 Sep 2010 23:29:25 +0000 (18:29 -0500)]
Use the fine-grained, generic PWM platform driver for backlight.

Update PWM driver to support the notifier from the MTL017 driver
such that when the LVDS is off, the backlight turns off too.

7 years agodefconfigs: add ramzswap module, enable oprofile module
Matt Sealey [Fri, 10 Sep 2010 18:10:08 +0000 (13:10 -0500)]
defconfigs: add ramzswap module, enable oprofile module

7 years agoramzswap: Issue #50, commit 6f52562b30, Parameters for module start
Matt Sealey [Fri, 10 Sep 2010 17:39:26 +0000 (12:39 -0500)]
ramzswap: Issue #50, commit 6f52562b30, Parameters for module start

7 years agoramzswap: merge fubar fixed.
Matt Sealey [Fri, 10 Sep 2010 16:55:35 +0000 (11:55 -0500)]
ramzswap: merge fubar fixed.

7 years agoStaging: xvmalloc memory allocator
Nitin Gupta [Tue, 22 Sep 2009 04:56:52 +0000 (10:26 +0530)]
Staging: xvmalloc memory allocator

* Features:
 - Low metadata overhead (just 4 bytes per object)
 - O(1) Alloc/Free - except when we have to call system page allocator to
   get additional memory.
 - Very low fragmentation: In all tests, xvmalloc memory usage is within 12%
   of "Ideal".
 - Pool based allocator: Each pool can grow and shrink.
 - It maps pages only when required. So, it does not hog vmalloc area which
   is very small on 32-bit systems.

SLUB allocator could not be used due to fragmentation issues:
Data here shows kmalloc using ~43% more memory than TLSF and xvMalloc
is showed ~2% more space efficiency than TLSF (due to smaller metadata).
Creating various kmem_caches can reduce space efficiency gap but still
problem of being limited to low memory exists. Also, it depends on
allocating higher order pages to reduce fragmentation - this is not
acceptable for ramzswap as it is used under memory crunch (its a swap

SLOB allocator could not be used do to reasons mentioned here:

* Implementation:
It uses two-level bitmap search to find free list containing block of
correct size. This idea is taken from TLSF (Two-Level Segregate Fit)
allocator and is well explained in its paper (see [Links] below).

* Limitations:
 - Poor scalability: No per-cpu data structures (work in progress).

1. Details and Performance data:

2. TLSF memory allocator:
home: http://rtportal.upv.es/rtmalloc/
paper: http://rtportal.upv.es/rtmalloc/files/MRBC_2008.pdf

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>