commit 826eeb53a6f264842200d3311d69107d2eb25f5e Author: Linus Torvalds Date: Thu Feb 2 22:03:08 2006 -0800 Linux v2.6.16-rc2 commit 1113a7e92e483074c6235da59460759e33b9b144 Author: Stefan Bader Date: Thu Feb 2 14:28:07 2006 -0800 [PATCH] device-mapper log bitset: fix big endian find_next_zero_bit This is a fix to the device-mapper-log-bitset-fix-endian patch that switched to ext2_* versions of the set and clear bit functions. The find_next_zero_bit function also has to be the ext2 one. Otherwise the mirror target tries to recover non-existent regions beyond the end of device. Signed-off-by: Stefan Bader Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35849c75d7750a254119c1a4b88c90156919df2a Author: NeilBrown Date: Thu Feb 2 14:28:06 2006 -0800 [PATCH] md: Add sysfs access to raid6 stripe cache size .. just as we already have for raid5. Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 978f946bb628ef228e13aadf4d4255b8727c4fc3 Author: NeilBrown Date: Thu Feb 2 14:28:05 2006 -0800 [PATCH] md: Don't remove bitmap from md array when switching to read-only While a read-only array doesn't not really need a bitmap, we should not remove the bitmap when switching an array to read-only because a/ There is no code to re-add the bitmap which switching to read-write, b/ There is insufficient locking - the bitmap could be accessed while it is being removed. Cc: Reuben Farrelly Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0ca340cd20b350eab8288974e9a6077900846e8 Author: NeilBrown Date: Thu Feb 2 14:28:04 2006 -0800 [PATCH] md: Make sure array geometry changes persist with version-1 superblocks super_1_sync only updates fields in the superblock that might have changed. 'raid_disks' and 'size' could have changed, but this information doesn't get updated.... until this patch. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d89332b776fc11bac0073209e44ec8f39831e4e Author: NeilBrown Date: Thu Feb 2 14:28:03 2006 -0800 [PATCH] md: Fix device-size updates in md As 'array_size' is a 'sector_t', it may overflow inappropriately when shifted 10 bits. So We should cast it to a loff_t first. There are two places with this problem, but the second (in update_raid_disks) isn't needed so just remove it: The only personality that handles ->reshape currently is raid1, and it doesn't change the size of the array. When added for raid5/6, reshape again won't change the size of the array, at least not straight away. This code might be need for reshaping 'linear' but linear->shape, if implemented, should probably do the i_size_write itself. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0271fc2db6260dd46f196191e24281af2fddb879 Author: Jeremy Higdon Date: Thu Feb 2 00:00:46 2006 -0800 [PATCH] Fix sgiioc4 DMA timeout problem with 64KiB s/g elements. Problem caused by the fact that the code used to only pick the low 16 bits of the bytecount. That may be how some controllers act on it (byte count of 0 means 0x10000), but not for this particular hardware. Signed-off-by: Jeremy Higdon Acked-by: Jes Sorensen Signed-off-by: Linus Torvalds commit 30e2fb188194908e48d3f27a53ccea6740eb1e98 Author: Dave Airlie Date: Thu Feb 2 19:37:46 2006 +1100 sem2mutex: drivers/char/drm/ From: Arjan van de Ven Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit ce60fe02fbe737cbce09e2ba5a2ef1efd20eff73 Author: Dave Airlie Date: Thu Feb 2 19:21:38 2006 +1100 drm: drivers/char/drm/: make some functions static From: Adrian Bunk This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 9ad11ab48b1ad618bf47076e9e579f267f5306c2 Author: Stephen Rothwell Date: Thu Feb 2 16:11:51 2006 +1100 [PATCH] compat: fix compat_sys_openat and friends Most of the 64 bit architectures will zero extend the first argument to compat_sys_{openat,newfstatat,futimesat} which will fail if the 32 bit syscall was passed AT_FDCWD (which is a small negative number). Declare the first argument to be an unsigned int which will force the correct sign extension when the internal functions are called in each case. Also, do some small white space cleanups in fs/compat.c. Signed-off-by: Stephen Rothwell Acked-by: David S. Miller Signed-off-by: Linus Torvalds commit 61ee9cd5f2e76859222c1d64394ae633f9080163 Author: Linas Vepstas Date: Wed Feb 1 18:21:09 2006 -0600 [PATCH] PowerPC/PCI Hotplug build break Build break: Building PCI hotplug on PowerPC results in a build break, due to failure to export symbols. Reported today by Dave Jones : drivers/pci/hotplug/rpaphp.ko needs unknown symbol pcibios_add_pci_devices This patch fixes same problem in drivers/pci tree Previous patch fixes the break in the arch/powerpc tree. Signed-off-by: Linas Vepstas Signed-off-by: Linus Torvalds commit f9bdfa0ecb3304e8b7e74862b1f4b03b6feaaeef Author: Linas Vepstas Date: Wed Feb 1 18:19:06 2006 -0600 [PATCH] PowerPC/PCI Hotplug build break Build break: Building PCI hotplug on PowerPC results in a build break, due to failure to export symbols. Reported today by Dave Jones : drivers/pci/hotplug/rpaphp.ko needs unknown symbol pcibios_add_pci_devices This patch fixes the break in the arch/powerpc tree. Next patch fixes same problem in drivers/pci tree Signed-off-by: Linas Vepstas Signed-off-by: Linus Torvalds commit 00b464debf0038b1628996065f0be564ccfbfd86 Author: Trond Myklebust Date: Wed Feb 1 12:49:28 2006 -0500 SUNRPC: Remove obsolete rpcauth #defines RPCAUTH_CRED_LOCKED, and RPC_AUTH_PROC_CREDS are unused. Kill them. Signed-off-by: Trond Myklebust commit 1935245655996ca4d14e687c3a100d2e2bbdc78d Author: Dirk Mueller Date: Wed Feb 1 12:19:47 2006 -0500 NFSv3: fix sync_retry in direct i/o NFS Only do a sync_retry if the memcmp failed. Signed-off-by: Dirk Mueller Signed-off-by: Trond Myklebust commit fba3bad488a2eec2d76c067edb7a5ff92ef42431 Author: Trond Myklebust Date: Wed Feb 1 12:19:27 2006 -0500 SUNRPC: Move upcall out of auth->au_ops->crcreate() This fixes a bug whereby if two processes try to look up the same auth_gss credential, they may end up creating two creds, and triggering two upcalls because the upcall is performed before the credential is added to the credcache. Signed-off-by: Trond Myklebust commit adb12f63e0f837078c6832fa2c90649ddeaab54f Author: Trond Myklebust Date: Wed Feb 1 12:19:13 2006 -0500 SUNRPC: Remove the deprecated function lookup_hash() from rpc_pipefs code Signed-off-by: Trond Myklebust commit 9842ef3557abf5ec2fd92bfa6e29ce0e271b3f6e Author: Trond Myklebust Date: Wed Feb 1 12:18:44 2006 -0500 SUNRPC: rpc_timeout_upcall_queue should not sleep The function rpc_timeout_upcall_queue runs from a workqueue, and hence sleeping is not recommended. Convert the protection of the upcall queue from being mutex-based to being spinlock-based. Signed-off-by: Trond Myklebust commit 8a3177604b729ec3b80e43790ee978863ac7551b Author: Trond Myklebust Date: Wed Feb 1 12:18:36 2006 -0500 SUNRPC: Fix a lock recursion in the auth_gss downcall When we look up a new cred in the auth_gss downcall so that we can stuff the credcache, we do not want that lookup to queue up an upcall in order to initialise it. To do an upcall here not only redundant, but since we are already holding the inode->i_mutex, it will trigger a lock recursion. This patch allows rpcauth cache searches to indicate that they can cope with uninitialised credentials. Signed-off-by: Trond Myklebust commit aaaa99423b4b1f9cfd33ea5643d9274c25f62491 Author: Trond Myklebust Date: Wed Feb 1 12:18:25 2006 -0500 NLM: Ensure that nlmclnt_cancel_callback() doesn't loop forever If the server returns NLM_LCK_DENIED_NOLOCKS, we currently retry the entire NLM_CANCEL request. This may end up looping forever unless the server changes its mind (why would it do that, though?). Ensure that we limit the number of retries (to 3). See bug# 5957 in bugzilla.kernel.org. Signed-off-by: Trond Myklebust commit 16fb24252a8170799e7adf14d8fc31b817fcaf53 Author: Trond Myklebust Date: Wed Feb 1 12:18:22 2006 -0500 NLM: Fix arguments to NLM_CANCEL call The OpenGroup docs state that the arguments "block", "exclusive" and "alock" must exactly match the arguments for the lock call that we are trying to cancel. Currently, "block" is always set to false, which is wrong. See bug# 5956 on bugzilla.kernel.org. Signed-off-by: Trond Myklebust commit 3c3b809e256c417847f1a96b2f9d9f66c7fcb02c Author: Randy Dunlap Date: Wed Feb 1 03:06:58 2006 -0800 [PATCH] kernel-doc: clean up the script (whitespace) Remove lots of trailing whitespace. Nothing else. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d28bee0c0a9c6abddf1d14c69f188400e994eb5a Author: Randy Dunlap Date: Wed Feb 1 03:06:57 2006 -0800 [PATCH] Doc/kernel-doc: add more usage info - Add info that structs, unions, enums, and typedefs are supported. - Add doc about "private:" and "public:" tags for struct fields. - Fix some typos. - Remove some trailing whitespace. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7045f37b17ffa6e85435ca980122b46a74caa7e4 Author: Martin Waitz Date: Wed Feb 1 03:06:57 2006 -0800 [PATCH] DocBook: fix some kernel-doc comments in fs and block Update some parameter descriptions to actually match the code. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99acf0442111cc452ac1b93868dde8f6ff37a989 Author: Martin Waitz Date: Wed Feb 1 03:06:56 2006 -0800 [PATCH] DocBook: fix some kernel-doc comments in net/sunrpc Fix the syntax of some kernel-doc comments Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9598f91f2216ba51fef472a7fc3074a0c8429a96 Author: Martin Waitz Date: Wed Feb 1 03:06:55 2006 -0800 [PATCH] DocBook: allow even longer return types kernel-doc errored out because it could not understand the new __copy_to_user definition. Now we allow return types with four words. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d340b94f6df17d5dc478521e4ee1cfb30c53ac Author: Manuel Lauss Date: Wed Feb 1 03:06:54 2006 -0800 [PATCH] i810fb: Do not probe the third i2c bus by default Some time before 2.6.15, a third DDC channel was added to i810fb. On systems where these ddc pins are not connected, the probe takes about 10 seconds. Add a boot/module option for i810fb to explicitly probe for the 3rd ddc bus if needed. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06c6f90032e39d33d02ab20f32e3f3cd87f58d28 Author: Andriy Skulysh Date: Wed Feb 1 03:06:53 2006 -0800 [PATCH] video: hp680 backlight driver This adds support for the hp680 backlight, as found in the hp6xx series of sh devices. Signed-off-by: Andriy Skulysh Signed-off-by: Paul Mundt Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9477e260b7ca3b6076b91eae15739383c508f3e2 Author: Antonino A. Daplas Date: Wed Feb 1 03:06:52 2006 -0800 [PATCH] fbcon: Fix screen artifacts when moving cursor When moving the cursor by writing to /dev/vcs*, the old cursor image is not erased. Fix by hiding the cursor first before moving the cursor to the new position. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa385bef256077f3b820b241e8f3755ef3905b74 Author: Jeff Mahoney Date: Wed Feb 1 03:06:51 2006 -0800 [PATCH] reiserfs: reiserfs: check for files > 2GB on 3.5.x disks When a filesystem has been converted from 3.5.x to 3.6.x, we need an extra check during file write to make sure we are not trying to make a 3.5.x file > 2GB. Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ae1ea447d21c4fecf5df8d0e1022461274fb4e8 Author: Chris Mason Date: Wed Feb 1 03:06:50 2006 -0800 [PATCH] reiserfs: reiserfs fix journal accounting in journal_transaction_should_end reiserfs: journal_transaction_should_end should increase the count of blocks allocated so the transaction subsystem can keep new writers from creating a transaction that is too large. Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d4492f81dd7b486f1be0616a1ce7f73760f406e Author: Chris Mason Date: Wed Feb 1 03:06:49 2006 -0800 [PATCH] reiserfs: reiserfs write_ordered_buffers should not oops on dirty non-uptodate bh write_ordered_buffers should handle dirty non-uptodate buffers without a BUG() Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0e851cf30f1a9bd2e2a7624e9810378d6a2b072 Author: Chris Mason Date: Wed Feb 1 03:06:49 2006 -0800 [PATCH] reiserfs: reiserfs hang and performance fix for data=journal mode In data=journal mode, reiserfs writepage needs to make sure not to trigger transactions while being run under PF_MEMALLOC. This patch makes sure to redirty the page instead of forcing a transaction start in this case. Also, calling filemap_fdata* in order to trigger io on the block device can cause lock inversions on the page lock. Instead, do simple batching from flush_commit_list. Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc5cd582e9c934ddaf6f310179488932cd154794 Author: Chris Mason Date: Wed Feb 1 03:06:48 2006 -0800 [PATCH] reiserfs: zero b_private when allocating buffer heads The b_private field in buffer heads needs to be zero filled when the buffers are allocated. Thanks to Nathan Scott for finding this. It was causing problems on systems with both XFS and reiserfs. Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d62b1b87a7d1c3a21dddabed4251763090be3182 Author: Chris Mason Date: Wed Feb 1 03:06:47 2006 -0800 [PATCH] resierfs: fix reiserfs_invalidatepage race against data=ordered After a transaction has closed but before it has finished commit, there is a window where data=ordered mode requires invalidatepage to pin pages instead of freeing them. This patch fixes a race between the invalidatepage checks and data=ordered writeback, and it also adds a check to the reiserfs write_ordered_buffers routines to write any anonymous buffers that were dirtied after its first writeback loop. That bug works like this: proc1: transaction closes and a new one starts proc1: write_ordered_buffers starts processing data=ordered list proc1: buffer A is cleaned and written proc2: buffer A is dirtied by another process proc2: File is truncated to zero, page A goes through invalidatepage proc2: reiserfs_invalidatepage sees dirty buffer A with reiserfs journal head, pins it proc1: write_ordered_buffers frees the journal head on buffer A At this point, buffer A stays dirty forever Signed-off-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec191574b9c3cb7bfb95e4f803b63f7c8dc52690 Author: Christoph Hellwig Date: Wed Feb 1 03:06:46 2006 -0800 [PATCH] reiserfs: use generic_permission Use the generic_permission code with a proper wrapper and callback instead of having a local copy. Signed-off-by: Christoph Hellwig Cc: Jeff Mahoney Cc: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c87d0c07ea198db1ce451421904edd60b7d385ee Author: Christoph Hellwig Date: Wed Feb 1 03:06:45 2006 -0800 [PATCH] reiserfs: remove reiserfs_permission_locked This function is completely unused since the xattr permission checking changes. Remove it and fold __reiserfs_permission into reiserfs_permission. Signed-off-by: Christoph Hellwig Cc: Jeff Mahoney Cc: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5dd259f78ba0fd0c7bfc5c52179dbbff3eb48aa Author: Diego Calleja Date: Wed Feb 1 03:06:44 2006 -0800 [PATCH] reiserfs: missing kmalloc failure check According to http://bugzilla.kernel.org/show_bug.cgi?id=5778 fs/reiserfs/file.c is missing this check. Signed-off-by: Diego Calleja Cc: Jeff Mahoney Cc: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c777cc4be1390862d053cbc002246e87572147b Author: Pekka Enberg Date: Wed Feb 1 03:06:43 2006 -0800 [PATCH] reiserfs: use __GFP_NOFAIL instead of yield and retry loop for allocation This patch replaces yield and retry loop with __GFP_NOFAIL in alloc_journal_list(). Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d739b42b82773206297db1fc0d96ef895a5d9688 Author: Pekka Enberg Date: Wed Feb 1 03:06:43 2006 -0800 [PATCH] reiserfs: remove kmalloc wrapper Remove kmalloc() wrapper from fs/reiserfs/. Please note that a reiserfs /proc entry format is changed because kmalloc statistics is removed. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d19720a909b4443f78cbb03f4f090180e143ad9d Author: Paul E. McKenney Date: Wed Feb 1 03:06:42 2006 -0800 [PATCH] RCU documentation fixes (January 2006 update) Updates to in-tree RCU documentation based on comments over the past few months. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53d8be5c144ece5d48745810b14248968e73eaf2 Author: Pat Gefre Date: Wed Feb 1 03:06:41 2006 -0800 [PATCH] Altix ioc3: correct export call Use EXPORT_SYMBOL_GPL in ioc3 shim layer. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 172411f10c25bbd81b19f67566af6a7f549f46a9 Author: Davi Arnaut Date: Wed Feb 1 03:06:40 2006 -0800 [PATCH] ebcdic do_kdsk_ioctl off-by-one Add a missing return check from strnlen_user and fixes a off-by-one when terminating the string with zero. Signed-off-by: Davi Arnaut Cc: Heiko Carstens Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46d0d2c811c8e9dd5cffdc3a5c03d988eb5a2996 Author: Peter Oberparleiter Date: Wed Feb 1 03:06:40 2006 -0800 [PATCH] s390: Add missing memory constraint to stcrw() Add missing memory constraint to stcrw() inline assembly. Signed-off-by: Peter Oberparleiter Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1969fa46d95efcdb0b84c540eca10db99665148 Author: Cornelia Huck Date: Wed Feb 1 03:06:39 2006 -0800 [PATCH] s390: Fix modalias for ccw devices Fix modalias for ccw devices: cu_type should be in capitals as well. Signed-off-by: Cornelia Huck Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54dfe5dd9abc547f63060d132dad2c024a47de1e Author: Heiko Carstens Date: Wed Feb 1 03:06:38 2006 -0800 [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK Add support for the new *at, pselect6 and ppoll system calls. This includes adding required support for TIF_RESTORE_SIGMASK. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ab865c146ef5151828f0693f1b983891cf40ff1 Author: Heiko Carstens Date: Wed Feb 1 03:06:37 2006 -0800 [PATCH] s390: New default configuration New default configuration. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2ba444d1d871d3f6cd3bc5e7d8e19c48c8c02a4 Author: Horst Hummel Date: Wed Feb 1 03:06:37 2006 -0800 [PATCH] s390: dasd wait for clear i/o interrupt The sleep_on function clears a running cqr without waiting for the related interrupt. This can lead to a panic at the time the interrupt is processed because the related memory might already be freed. Wait for clear-interrupt and de-queue cqr prior to return. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57467195d1581e354998d5cc35dfd7a12d6e0a24 Author: Horst Hummel Date: Wed Feb 1 03:06:36 2006 -0800 [PATCH] s390: dasd open counter The open_count is increased for every opener, that includes the blkdev_get in dasd_scan_partitions. This tampers the open_count in BIODASDINFO. Hide the internal open from user-space. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 600b5d163d7434332539cac7be00f649cbbfedcc Author: Peter Oberparleiter Date: Wed Feb 1 03:06:35 2006 -0800 [PATCH] s390: ccw_device_probe_console return value The return code of ccw_device_probe_console() is not properly handled. It should only return a valid ccw device pointer or a error value converted by ERR_PTR. Fix the console driver code to check with IS_ERR instead against NULL. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3633b0475eb269dcb85923b23b321505f06b9488 Author: Jan Glauber Date: Wed Feb 1 03:06:34 2006 -0800 [PATCH] s390: hangcheck timer support Remove useless s390 define from hangcheck-timer, remove wrong definition of a TOD second and other s390 ifdefs. Use monotonic_clock instead. Add hangcheck-timer option, copied from drivers/char/Kconfig. This is ugly but unless we have a big Kconfig cleanup we cannot include drivers/char/Kconfig... Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32f65f274602b43e8f48314e9769f254da1d8323 Author: Jan Glauber Date: Wed Feb 1 03:06:33 2006 -0800 [PATCH] s390: monotonic_clock interface Add monotonic_clock interface, used by the hangcheck-timer. On s390 this is the same as sched_clock(). Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dbafa5368c2b7467bd2ce034b56c54908ceb39e Author: Jan Glauber Date: Wed Feb 1 03:06:32 2006 -0800 [PATCH] s390: overflow in sched_clock The least significant bit of the TOD clock value returned by get_clock is the 4096th part of a microsecond. To get to nanoseconds the value needs to be divided by 4096 and multiplied with 1000. The current method multiplies first and then shifts the value to make the result as precise as possible. The disadvantage is that the multiplication with 1000 will overflow shortly after 52 days. sched_clock is used by the scheduler for time stamp deltas, if an overflow occurs between two time stamps the scheduler will get confused. With the patch the problem occurs only after approx. one year, so the chance to run into this overflow is extremly low. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e018ba1fceee5bd306e31f6e3a60934d5f143ac5 Author: Heiko Carstens Date: Wed Feb 1 03:06:31 2006 -0800 [PATCH] s390: Remove CVS generated information - Remove all CVS generated information like e.g. revision IDs from drivers/s390 and include/asm-s390 (none present in arch/s390). - Add newline at end of arch/s390/lib/Makefile to avoid diff message. Acked-by: Andreas Herrmann Acked-by: Frank Pavlic Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ceba75f121004335616befd2045c8a6b75b2bc4 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:30 2006 -0800 [PATCH] xtensa: add asm/futex.h Signed-off-by: Alexey Dobriyan Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72e5525765ee01d72a9b92fab78ecea883ae7fdd Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:29 2006 -0800 [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages Olaf Hering Olaf reported UML doesn't build for him with a clear analisys of what happened - we're using NR_CPUS in files linked against glibc headers. Seems like it defines CONFIG_SMP but not CONFIG_NR_CPUS, so we get CONFIG_NR_CPUS undeclared. The fix is to move the declaration away from that header file and move it in asm-um headers, and to add that header where needed. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42947cb98fd16bff21e0000a974ff6bd1e620cd4 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:29 2006 -0800 [PATCH] uml: some harmless sparse warning fixes Fix some simple sparse warnings - a lot more staticness and a misplaced __user. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cd7ed94428babb0cdbf08cc14c257e223186079 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:28 2006 -0800 [PATCH] uml: skas0-hold-own-ldt fixups for x86-64 In a recent fixup i386 code was copied raw to x86_64 subarch to make it compile again. Here there are some little fixups and resyncs needed for it (mainly for cleanliness sake) - I did an audit and found the rest of the code to be safe. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5cf888631af95c8022d659d77fb595e0c3ac778 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:27 2006 -0800 [PATCH] uml: TT - SYSCALL_DEBUG - fix buglet introduced in cleanup Fixes a bug introduced in commit e32dacb9f481fd6decb41adb28e720c923d34f54 - index is initialized based on syscall before syscall is calculated. I'm bothering with this mainly because it gives a correct warning when the config option is enabled, even if the code is for a almost unused debugging option. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dfd95b378953f6cf0bd58fc990c05ef5a0ea1a6 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:26 2006 -0800 [PATCH] uml: fix "apples/bananas" typo Fix stupid typo. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 854e981cc69bb93b49bdd052c8bc1dc744509f04 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:25 2006 -0800 [PATCH] uml: fix hugest stack users The C99 initialization, with GCC's bad handling, for 6K wide structs (which _aren't_ on the stack), is causing GCC to use 12K for these silly procs with 3 vars. Workaround this. Note that .name = { '\0' } translates to memset(->name, 0, '->name' size) - I verified this with GCC's docs and a testprogram. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98105d47d3d62eb68d06d85dd448699678d725fc Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:25 2006 -0800 [PATCH] uml: comments about libc-conflict guards While fixing myself the mktime conflict (which someone already merged), I also improved a few comments. Merge them up. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c19585b0d2f6817dd9af607650d3f6cae2fd8bc Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Feb 1 03:06:24 2006 -0800 [PATCH] uml: typo fixup Trivial innocent cosmetical fixup. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db805812084ab03fbf6aac95c5f7ef2f50e3bd9a Author: Jeff Dike Date: Wed Feb 1 03:06:23 2006 -0800 [PATCH] uml: fix some typos Fix a couple of typos. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6b7a1edcb31306f904b5b11354bf0d198136e15 Author: Jeff Dike Date: Wed Feb 1 03:06:22 2006 -0800 [PATCH] uml: add a build dependency kern_constants.h now depends on arch/um/include to make sure it exists before we try to create symlinks in it. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8c206b2eeb244d6ab57d5a339e707fef2305aa7 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:22 2006 -0800 [PATCH] arm26: select BLK_DEV_FD only on A5K Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fa63c4d0d89a3add74bf37f7768a79c1d39cb7a Author: Alexey Dobriyan Date: Wed Feb 1 03:06:21 2006 -0800 [PATCH] arm26: add __kernel_old_dev_t for nfsd Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 407c57b86237fc2512654fa2f2ceedda92684472 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:20 2006 -0800 [PATCH] arm26: drop first arg of prepare_arch_switch, finish_arch_switch Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae7a49666af427da745e69a39fcfdd3a8b4ab3e8 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:20 2006 -0800 [PATCH] arm26: drop local task_running copy Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 896f361bd291f34e0ef439c249b79d7c51ed3f9a Author: Alexey Dobriyan Date: Wed Feb 1 03:06:19 2006 -0800 [PATCH] arm26: fixup asm statement in kernel/fiq.c Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a16ef86c87f4b029f55fa41979134d73d1375398 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:18 2006 -0800 [PATCH] arm26: fixup get_signal_to_deliver call Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41a60ef0698394ee320813816baf221bcb533797 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:17 2006 -0800 [PATCH] arm26: select system type via "choice" Choosing ARCH_ARC and ARCH_A5K together causes redefining and errors here and there. Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0679b75e5fb653fbf6691293e7fc45520abae1d7 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:17 2006 -0800 [PATCH] arm26: remove irq_exit() from hardirq.h Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19f03f75873aebb2fb7fb592b6223b9a38bb7ad3 Author: Alexey Dobriyan Date: Wed Feb 1 03:06:16 2006 -0800 [PATCH] arm26: fix warnings about NR_IRQS being not defined Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1320ae31b40df06fd7deec94b5369a11b0ec25c Author: Alexey Dobriyan Date: Wed Feb 1 03:06:14 2006 -0800 [PATCH] arm26: fix find_first_zero_bit related warnings include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:254: warning: passing arg 1 of `_find_first_zero_bit_le' discards qualifiers from pointer target type fs/minix/bitmap.c: In function `minix_new_block': fs/minix/bitmap.c:89: warning: passing arg 1 of `_find_first_zero_bit_le' from incompatible pointer type Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5e3d98c5666c2533e67fb35dc5ad5de47db8aae Author: Eric Sesterhenn Date: Wed Feb 1 03:06:13 2006 -0800 [PATCH] alpha show_interrups() trashes argument This is a bug found by cpminer. The show_interrupts function reuses i as a for loop counter, and therefore trashes its contents, which are needed later. (akpm: rename local `i' to `irq', use for_each_inline_cpu()) Signed-off-by: Eric Sesterhenn Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a5e7339908d7d718ebc4149b77eee06291bdb95 Author: Eric W. Biederman Date: Wed Feb 1 03:06:12 2006 -0800 [PATCH] alpha: Fix getxpid on alpha so it works for threads While looking in the code I discovered that alpha has fallen behind because it doesn't use sys_getppid. The problem is that it doesn't follow the task struct to the task_group_leader. Acked-by: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 975b3d3d5b983eb60706d35f0d24cd19f6badabf Author: Mark Lord Date: Wed Feb 1 03:06:11 2006 -0800 [PATCH] VMSPLIT config options Enable selection of different user/kernel VM splits for i386, including an optimized mode for 1GB physical RAM, which gives the kernel a direct (non HIGHMEM) mapping to the entire 1GB rather than just the first 896MB. There is a similarly a similarly optimized mode for machines with exactly 2GB of physical RAM. This can speed up the kernel by avoiding having to create/destroy temporary HIGHMEM mappings, and by not having to include HIGHMEM support at all on such machines. The flip side is that there's less virtual addressing left for userspace in these alternatives, and some binary-only kernel modules may misbehave unless rebuilt with the same VMSPLIT option as the main kernel image. Original idea/patch from Jens Axboe, modified based on suggestions from Linus et al. Signed-off-by: Mark Lord Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4940fb441275d654cff7d0f7708f91bd8435a85a Author: Alexey Dobriyan Date: Wed Feb 1 03:06:09 2006 -0800 [PATCH] arch/sh64/kernel/time.c: add module.h It uses EXPORT_SYMBOL. arch/sh64/kernel/time.c:254: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL' arch/sh64/kernel/time.c:254: warning: parameter names (without types) in function declaration arch/sh64/kernel/time.c:254: warning: data definition has no type or storage class Signed-off-by: Alexey Dobriyan Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87f55e67dc1be000fa76009532906b168a80b3dd Author: Paul Mundt Date: Wed Feb 1 03:06:09 2006 -0800 [PATCH] sh/sh64: Fix bogus TIOCGICOUNT definitions As reported by Russell King, sh and sh64 currently have bogus definitions for TIOCGICOUNT, particularly referencing a kernel only structure. Switch to using a sensible ioctl value. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3310bbd3add738c2b40bb4e4dc966cdea9d6a04 Author: Paul Mundt Date: Wed Feb 1 03:06:08 2006 -0800 [PATCH] sh: machine_halt()/machine_power_off() cleanups machine_halt() managed to trigger the soft lockup detection due to not disabling interrupts before going to sleep, so correct that. machine_power_off() should be using pm_power_off, which lets us drop the board-specific hacks from here. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c80a1f888f548c090feaac3ad63b2d1f607a2c5 Author: Paul Mundt Date: Wed Feb 1 03:06:07 2006 -0800 [PATCH] sh: Add missing timers directory rule to build This should have been part of the timer framework support that was merged earlier, but looks to have been accidentally omitted. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7a76e4b4e212ec0829f3a7243064511d62cb6da Author: Paul Mundt Date: Wed Feb 1 03:06:06 2006 -0800 [PATCH] sh: sh-sci clock framework updates A couple of updates for the sh-sci serial driver: - Update for clock framework on sh. - Fix a compile error introduced by some h8300 changes. - Add SH7770/SH7780 subtype support. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37cc7943788c841b03a48c00751dfac0ad9f5b12 Author: Paul Mundt Date: Wed Feb 1 03:06:05 2006 -0800 [PATCH] sh: convert voyagergx to platform device, drop sh-bus Trivial patch updating the voyagergx cchip code to reference a platform device instead, now that the dma mask is taken care of. Given this, there's no longer any reason to drag around the SH-bus code, so kill that off entirely. Signed-off-by: Manuel Lauss Signed-off-by: Paul Mundt Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d27e08191379b7a3302a33a6efdb8bdfd319c95 Author: Paul Mundt Date: Wed Feb 1 03:06:04 2006 -0800 [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions Clean up some of the subtype IRQ definitions for IPR IRQ, and consolidate the make_ipr_irq() definitions by dropping maskpos. SH-4A was the only thing interested in the maskpos, and this should be handled through INTC2 rather than IPR. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50373c1b7ee9cdd9b8ccaa1b58d13ad43f879908 Author: Paul Mundt Date: Wed Feb 1 03:06:03 2006 -0800 [PATCH] sh: unknown mach-type updates Trivial cleanup of the unknown machine type for some of the recent machvec changes. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de02797aa744c96a90f47be7bc081ce2f74b17fd Author: Paul Mundt Date: Wed Feb 1 03:06:02 2006 -0800 [PATCH] sh: Cleanup struct sh_cpuinfo for clock framework changes Now that the clock framework changes have been integrated, the manual clock accounting that was done in sh_cpuinfo can be dropped. Also correct a bug with running past the end of the CPU flags when there's a mismatch between the added flags and printed ones. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 091904ae5fc6f018680f83d71301ceac4f39d77f Author: Paul Mundt Date: Wed Feb 1 03:06:01 2006 -0800 [PATCH] sh: Move TRA/EXPEVT/INTEVT definitions for reuse Currently entry.S is home to these definitions, so we move them somewhere more sensible. IPR IRQ handling depends on being to read from INTEVT. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 134ed1420eb5a3dd9827aa185dd37fe2dd0ab4d5 Author: Paul Mundt Date: Wed Feb 1 03:06:01 2006 -0800 [PATCH] sh: Make peripheral clock frequency setting mandatory Pretty much every subtype does this now anyways, and as we depend on it in a few places being set to something sensible quite early on, it's better for a new subtype to simply set a sensible default. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 740172947b315fa97f8d29b0b9809b1ea1201642 Author: Paul Mundt Date: Wed Feb 1 03:05:59 2006 -0800 [PATCH] sh: SH4-202 microdev updates A few trivial updates for the microdev board support code: - Update for __IO_PREFIX changes. - Consolidate headers into a single microdev.h. - Update the microdev_defconfig. - Add init values for the S1D13806 used by s1d13xxxfb. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a41cdf9788f14bb120ad06d9ce17ca05fd72f03 Author: Heiko Carstens Date: Wed Feb 1 03:05:58 2006 -0800 [PATCH] powerpc: Fix sigmask handling in sys_sigsuspend. Better save the sigmask instead of throwing it away so it can be restored. Signed-off-by: Heiko Carstens Acked-by: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e61997881e0402aedbfad8696e369568a0583f14 Author: Olaf Hering Date: Wed Feb 1 03:05:58 2006 -0800 [PATCH] MODALIAS= for macio Prodive a MODALIAS= enviroment variable for devices on the mac-io bus. Change the buffer length counter to not waste memory by advancing the pointer for the next string too far. Tested on an ibook1 with modular pmac_zilog. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39931e41becd6abeb2014747369d8b6392f5dbac Author: Albert Herranz Date: Wed Feb 1 03:05:57 2006 -0800 [PATCH] powerpc: fix for kexec ppc32 - kexec.h is included from assembly code, thus C code must be properly protected. - (embedded) ppc32 systems use machine_kexec_simple whose declaration vanished during a recent powerpc merge change. Signed-off-by: Albert Herranz Cc: Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac49d22138348198f729f07371ffb11991368e6 Author: Stephen Smalley Date: Wed Feb 1 03:05:56 2006 -0800 [PATCH] selinux: remove security struct magic number fields and tests Remove the SELinux security structure magic number fields and tests, along with some unnecessary tests for NULL security pointers. These fields and tests are leftovers from the early attempts to support SELinux as a loadable module during LSM development. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26d2a4be6a56eec575dac651f6606756a971f0fb Author: Stephen Smalley Date: Wed Feb 1 03:05:55 2006 -0800 [PATCH] selinux: change file_alloc_security to use GFP_KERNEL This patch changes the SELinux file_alloc_security function to use GFP_KERNEL rather than GFP_ATOMIC; the use of GFP_ATOMIC appears to be a remnant of when this function was being called with the files_lock spinlock held, and is no longer necessary. Please apply. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db4c9641def55d36a6f9df79deb8a949292313ca Author: Stephen Smalley Date: Wed Feb 1 03:05:54 2006 -0800 [PATCH] selinux: fix and cleanup mprotect checks Fix the SELinux mprotect checks on executable mappings so that they are not re-applied when the mapping is already executable as well as cleaning up the code. This avoids a situation where e.g. an application is prevented from removing PROT_WRITE on an already executable mapping previously authorized via execmem permission due to an execmod denial. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee13d785eac1fbe7e79ecca77bf7e902734a0b30 Author: Randy Dunlap Date: Wed Feb 1 03:05:53 2006 -0800 [PATCH] slab: fix sparse warning mm/slab.c:1522:13: error: incompatible types for operation (&) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a70773ddb96b74c7afe5a5bc859ba45e3d02899e Author: Randy.Dunlap Date: Wed Feb 1 03:05:52 2006 -0800 [PATCH] mm/slab: add kernel-doc for one function Fix kernel-doc for calculate_slab_order(). Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fd6b1413082c303613fc137aca9a004740cacf0 Author: Pekka Enberg Date: Wed Feb 1 03:05:52 2006 -0800 [PATCH] slab: fix kzalloc and kstrdup caller report for CONFIG_DEBUG_SLAB Fix kzalloc() and kstrdup() caller report for CONFIG_DEBUG_SLAB. We must pass the caller to __cache_alloc() instead of directly doing __builtin_return_address(0) there; otherwise kzalloc() and kstrdup() are reported as the allocation site instead of the real one. Thanks to Valdis Kletnieks for reporting the problem and Steven Rostedt for the original idea. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b958f7d9f35bfb61625f201cd92a3fc39504af7a Author: Andrew Morton Date: Wed Feb 1 03:05:51 2006 -0800 [PATCH] dump_stack() in oom handler Sometimes it's nice to know who's calling. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 343e0d7a93951e35065fdb5e3dd61aece0ec6b3c Author: Pekka Enberg Date: Wed Feb 1 03:05:50 2006 -0800 [PATCH] slab: replace kmem_cache_t with struct kmem_cache Replace uses of kmem_cache_t with proper struct kmem_cache in mm/slab.c. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a2dba4b4912b493070cbc170629fdbf440b01d7 Author: Pekka Enberg Date: Wed Feb 1 03:05:49 2006 -0800 [PATCH] slab: rename ac_data to cpu_cache_get Rename the ac_data() function to more descriptive cpu_cache_get(). Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ed5eb2211204224799b2821656bbbfde26ef200 Author: Pekka Enberg Date: Wed Feb 1 03:05:49 2006 -0800 [PATCH] slab: extract virt_to_{cache|slab} Introduce virt_to_cache() and virt_to_slab() functions to reduce duplicate code and introduce a proper abstraction should we want to support other kind of mapping for address to slab and cache (eg. for vmalloc() or I/O memory). Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5295a74cc0bcf1291686eb734ccb06baa3d55c1a Author: Pekka Enberg Date: Wed Feb 1 03:05:48 2006 -0800 [PATCH] slab: reduce inlining From: Manfred Spraul Reduce the amount of inline functions in slab to the functions that are used in the hot path: - no inline for debug functions - no __always_inline, inline is already __always_inline - remove inline from a few numa support functions. Before: text data bss dec hex filename 13588 752 48 14388 3834 mm/slab.o (defconfig) 16671 2492 48 19211 4b0b mm/slab.o (numa) After: text data bss dec hex filename 13366 752 48 14166 3756 mm/slab.o (defconfig) 16230 2492 48 18770 4952 mm/slab.o (numa) Signed-off-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78d382d77c84229d031431931bf6490d5da6ab86 Author: Matthew Dobson Date: Wed Feb 1 03:05:47 2006 -0800 [PATCH] slab: extract slab_{put|get}_obj Create two helper functions slab_get_obj() and slab_put_obj() to replace duplicated code in mm/slab.c Signed-off-by: Matthew Dobson Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12dd36faec5d3bd96da84fa8f76efecc632930ab Author: Matthew Dobson Date: Wed Feb 1 03:05:46 2006 -0800 [PATCH] slab: extract slab_destroy_objs() Create a helper function, slab_destroy_objs() which called from slab_destroy(). This makes slab_destroy() smaller and more readable, and moves ifdefs outside the function body. Signed-off-by: Matthew Dobson Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fbaccacff1f17c65ae0972085368a7ec75be6062 Author: Steven Rostedt Date: Wed Feb 1 03:05:45 2006 -0800 [PATCH] slab: cache_estimate cleanup Clean up cache_estimate() in mm/slab.c and improves the algorithm from O(n) to O(1). We first calculate the maximum number of objects a slab can hold after struct slab and kmem_bufctl_t for each object has been given enough space. After that, to respect alignment rules, we decrease the number of objects if necessary. As required padding is at most align-1 and memory of obj_size is at least align, it is always enough to decrease number of objects by one. The optimization was originally made by Balbir Singh with more improvements from Steven Rostedt. Manfred Spraul provider further modifications: no loop at all for the off-slab case and added comments to explain the background. Acked-by: Balbir Singh Signed-off-by: Manfred Spraul Signed-off-by: Steven Rostedt Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ec8a847bb8ae2ba6395cfb7cb4bfdc78ada82ed Author: Steven Rostedt Date: Wed Feb 1 03:05:44 2006 -0800 [PATCH] slab: have index_of bug at compile time I noticed the code for index_of is a creative way of finding the cache index using the compiler to optimize to a single hard coded number. But I couldn't help noticing that it uses two methods to let you know that someone used it wrong. One is at compile time (the correct way), and the other is at run time (not good). Signed-off-by: Steven Rostedt Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18f820f655ce93b1e4d9b48fc6fcafc64157c6bc Author: Christoph Lameter Date: Wed Feb 1 03:05:43 2006 -0800 [PATCH] slab: minor cleanup to kmem_cache_alloc_node Clean up kmem_cache_alloc_node a bit. Signed-off-by: Christoph Lameter Acked-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dafccf22751429e69b6266636cf3acf45b48075 Author: Manfred Spraul Date: Wed Feb 1 03:05:42 2006 -0800 [PATCH] slab: distinguish between object and buffer size An object cache has two different object lengths: - the amount of memory available for the user (object size) - the amount of memory allocated internally (buffer size) This patch does some renames to make the code reflect that better. Signed-off-by: Manfred Spraul Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e965f9630c651fa4249039fd4b80c9392d07a856 Author: Christoph Lameter Date: Wed Feb 1 03:05:41 2006 -0800 [PATCH] Direct Migration V9: Avoid writeback / page_migrate() method Migrate a page with buffers without requiring writeback This introduces a new address space operation migratepage() that may be used by a filesystem to implement its own version of page migration. A version is provided that migrates buffers attached to pages. Some filesystems (ext2, ext3, xfs) are modified to utilize this feature. The swapper address space operation are modified so that a regular migrate_page() will occur for anonymous pages without writeback (migrate_pages forces every anonymous page to have a swap entry). Signed-off-by: Mike Kravetz Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e2ab150d1b3b286a4c864c60a549b2601777b63 Author: Christoph Lameter Date: Wed Feb 1 03:05:40 2006 -0800 [PATCH] Direct Migration V9: upgrade MPOL_MF_MOVE and sys_migrate_pages() Modify policy layer to support direct page migration - Add migrate_pages_to() allowing the migration of a list of pages to a a specified node or to vma with a specific allocation policy in sets of MIGRATE_CHUNK_SIZE pages - Modify do_migrate_pages() to do a staged move of pages from the source nodes to the target nodes. Signed-off-by: Paul Jackson Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3351e525e4768c29aa5d22ef59b5b38e0361e53 Author: Christoph Lameter Date: Wed Feb 1 03:05:39 2006 -0800 [PATCH] Direct Migration V9: remove_from_swap() to remove swap ptes Add remove_from_swap remove_from_swap() allows the restoration of the pte entries that existed before page migration occurred for anonymous pages by walking the reverse maps. This reduces swap use and establishes regular pte's without the need for page faults. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a48d07afdf18212de22b959715b16793c5a6e57a Author: Christoph Lameter Date: Wed Feb 1 03:05:38 2006 -0800 [PATCH] Direct Migration V9: migrate_pages() extension Add direct migration support with fall back to swap. Direct migration support on top of the swap based page migration facility. This allows the direct migration of anonymous pages and the migration of file backed pages by dropping the associated buffers (requires writeout). Fall back to swap out if necessary. The patch is based on lots of patches from the hotplug project but the code was restructured, documented and simplified as much as possible. Note that an additional patch that defines the migrate_page() method for filesystems is necessary in order to avoid writeback for anonymous and file backed pages. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Mike Kravetz Signed-off-by: Christoph Lameter Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b16664e44c54525be89dc07ad15a13b4eeec5634 Author: Christoph Lameter Date: Wed Feb 1 03:05:36 2006 -0800 [PATCH] Direct Migration V9: PageSwapCache checks Check for PageSwapCache after looking up and locking a swap page. The page migration code may change a swap pte to point to a different page under lock_page(). If that happens then the vm must retry the lookup operation in the swap space to find the correct page number. There are a couple of locations in the VM where a lock_page() is done on a swap page. In these locations we need to check afterwards if the page was migrated. If the page was migrated then the old page that was looked up before was freed and no longer has the PageSwapCache bit set. Signed-off-by: Hirokazu Takahashi Signed-off-by: Dave Hansen Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a16e3f4b0c408b9e50297d2ec27e295d490267a Author: Christoph Lameter Date: Wed Feb 1 03:05:35 2006 -0800 [PATCH] Reclaim slab during zone reclaim If large amounts of zone memory are used by empty slabs then zone_reclaim becomes uneffective. This patch shakes the slab a bit. The problem with this patch is that the slab reclaim is not containable to a zone. Thus slab reclaim may affect the whole system and be extremely slow. This also means that we cannot determine how many pages were freed in this zone. Thus we need to go off node for at least one allocation. The functionality is disabled by default. We could modify the shrinkers to take a zone parameter but that would be quite invasive. Better ideas are welcome. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b2ffb7896ad46067f5b9ebf7de1891d74a4cdef Author: Christoph Lameter Date: Wed Feb 1 03:05:34 2006 -0800 [PATCH] Zone reclaim: Allow modification of zone reclaim behavior In some situations one may want zone_reclaim to behave differently. For example a process writing large amounts of memory will spew unto other nodes to cache the writes if many pages in a zone become dirty. This may impact the performance of processes running on other nodes. Allowing writes during reclaim puts a stop to that behavior and throttles the process by restricting the pages to the local zone. Similarly one may want to contain processes to local memory by enabling regular swap behavior during zone_reclaim. Off node memory allocation can then be controlled through memory policies and cpusets. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a11ff06d7d12be5d1bbcf592fff649b45ac2388 Author: Christoph Lameter Date: Wed Feb 1 03:05:33 2006 -0800 [PATCH] zone_reclaim: configurable off node allocation period. Currently the zone_reclaim code has a fixed window of 30 seconds of off node allocations should a local zone have no unused pagecache pages left. Reclaim will be attempted again after this timeout period to avoid repeated useless scans for memory. This is also useful to established sufficiently large off node allocation chunks to relieve the local node. It may be beneficial to adjust that time period for some special situations. For example if memory use was exceeding node capacity one may want to give up for longer periods of time. If memory spikes intermittendly then one may want to shorten the time period to reduce the number of off node allocations. This patch allows just that.... Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a92f71263af9d0ab77c260f709c0c079656221aa Author: Christoph Lameter Date: Wed Feb 1 03:05:32 2006 -0800 [PATCH] zone_reclaim: partial scans instead of full scan Instead of scanning all the pages in a zone, imitate real swap and scan only a portion of the pages and gradually scan more if we do not free up enough pages. This avoids a zone suddenly loosing all unused pagecache pages (we may after all access some of these again so they deserve another chance) but it still frees up large chunks of memory if a zone only contains unused pagecache pages. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa3f18b3391ac305baa01faead3fdf9147daf54b Author: Christoph Lameter Date: Wed Feb 1 03:05:32 2006 -0800 [PATCH] zone_reclaim: do not unmap file backed pages zone_reclaim should leave that to the real swapper. We are only interested in evicting unmapped pages. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e6a510a74145585f4111d60d1b5fd450d795dd8 Author: Hugh Dickins Date: Wed Feb 1 03:05:31 2006 -0800 [PATCH] mm: hugepage accounting fix 2.6.15's hugepage faulting introduced huge_pages_needed accounting into hugetlbfs: to count how many pages are already in cache, for spot check on how far a new mapping may be allowed to extend the file. But it's muddled: each hugepage found covers HPAGE_SIZE, not PAGE_SIZE. Once pages were already in cache, it would overshoot, wrap its hugepages count backwards, and so fail a harmless repeat mapping with -ENOMEM. Fixes the problem found by Don Dupuis. Signed-off-by: Hugh Dickins Acked-By: Adam Litke Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9884fd8df195fe48d4e1be2279b419be96127cae Author: Benjamin LaHaise Date: Wed Feb 1 03:05:30 2006 -0800 [PATCH] Use 32 bit division in slab_put_obj() Improve the performance of slab_put_obj(). Without the cast, gcc considers ptrdiff_t a 64 bit signed integer and ends up emitting code to use a full signed 128 bit divide on EM64T, which is substantially slower than a 32 bit unsigned divide. I noticed this when looking at the profile of a case where the slab balance is just on edge and thrashes back and forth freeing a block. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c84db23c6e587d3ab00a41c51fedf758e1f6ecd4 Author: Christoph Lameter Date: Wed Feb 1 03:05:29 2006 -0800 [PATCH] zone_reclaim: minor fixes - If we only reclaim nr_pages then its okay to stay on node. Switch from > to >= for the comparison. - vm_table[] entry for zone_reclaim_mode is a bit screwed up. - Add empty lines around shrink_zone to show that this is the central function to be called. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52a8363eae3872af15880292ff4e06d0fab36986 Author: Christoph Lameter Date: Wed Feb 1 03:05:28 2006 -0800 [PATCH] mm: improve function of sc->may_writepage Make sc->may_writepage control the writeout behavior of shrink_list. Remove the laptop_mode trick from shrink_list and instead set may_writepage in try_to_free_pages properly. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce2ea89ba101d976907128441ba3aca72a8804b9 Author: Andy Whitcroft Date: Wed Feb 1 03:05:27 2006 -0800 [PATCH] GFP_ZONETYPES: calculate from GFP_ZONEMASK GFP_ZONETYPES calculate from GFP_ZONEMASK GFP_ZONETYPES's value is directly related to the value of GFP_ZONEMASK. It takes one of two forms depending whether the top bit of GFP_ZONEMASK is a 'loner'. Supply both forms, enabling the loner. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79046ae07ae21245520ca0aab985ee6678a879f8 Author: Andy Whitcroft Date: Wed Feb 1 03:05:26 2006 -0800 [PATCH] GFP_ZONETYPES: add commentry on how to calculate GFP_ZONETYPES define using GFP_ZONEMASK and add commentry Add commentry explaining the optimisation that we can apply to GFP_ZONETYPES when the leftmost bit is a 'loaner', it can only be set in isolation. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42c722d4cb4022e56ff200f3f5a58c0dfd7edac6 Author: Christoph Lameter Date: Wed Feb 1 03:05:26 2006 -0800 [PATCH] zone_reclaim: reclaim on memory only node support Zone reclaim is usually only run on the local node. Headless nodes do not have any local processors. This patch checks for headless nodes and performs zone reclaim on them. Signed-off-by: Christoph Lameter Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8928862398fef04a137e5673ac5fa9e797960c87 Author: Christoph Lameter Date: Wed Feb 1 03:05:25 2006 -0800 [PATCH] Optimize off-node performance of zone reclaim Ensure that the performance of off node pages stays the same as before. Off node pagefault tests showed an 18% drop in performance without this patch. - Increase the timeout to 30 seconds to reduce the overhead. - Move all code possible out of the off node hot path for zone reclaim (Sorry Andrew, the struct initialization had to be sacrificed). The read_page_state() bit us there. - Check first for the timeout before any other checks. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 537421be79b94bcf620467f50dd9e38b739c2a00 Author: Alexey Dobriyan Date: Wed Feb 1 03:05:24 2006 -0800 [PATCH] Mark CONFIG_UFS_FS_WRITE as BROKEN OpenBSD doesn't see "." correctly in directories created by Linux. Copying files over several KB will buy you infinite loop in __getblk_slow(). Copying files smaller than 1 KB seems to be OK. Sometimes files will be filled with zeros. Sometimes incorrectly copied file will reappear after next file with truncated size. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c125a1838a95604eb35b60259a8d678dc193f7e4 Author: David Gibson Date: Wed Feb 1 03:05:22 2006 -0800 [PATCH] powerpc: Add flattened device tree documentation The flattened device tree is the only supported way of booting ARCH=powerpc kernels on non Open Firmware machines. The documentation for the flattened tree format and contents has been discussed on mailing lists and lately has been living in the dtc git tree. Really, it ought to go in the kernel's Documentation directory for maximum visibility. Signed-off-by: David Gibson Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7b8988ff50d99c99746f65f420364e91362c065 Author: Rafael J. Wysocki Date: Wed Feb 1 03:05:21 2006 -0800 [PATCH] swsusp: do not change log level during suspend/resume Prevent the kernel from setting the log level to 10 unconditionally during suspend/resume which was needed in the past for debugging, but generally is undesirable. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8183ebb45324ef99f98a175623d67cdcec4466f Author: Dave Jones Date: Wed Feb 1 03:05:21 2006 -0800 [PATCH] fix saa7146 kobject register failure Whoops. kobject_register failed for hexium HV-PCI6/Orion (-13) [] kobject_register+0x31/0x47 [] bus_add_driver+0x4a/0xfd [] __pci_register_driver+0x82/0xa4 [] hexium_init_module+0xa/0x47 [hexium_orion] [] sys_init_module+0x167b/0x1822 [] do_sync_read+0xb8/0xf3 [] autoremove_wake_function+0x0/0x2d [] audit_syscall_entry+0x118/0x13f [] do_syscall_trace+0x104/0x14a [] syscall_call+0x7/0xb slashes in kobject names aren't allowed. Signed-off-by: Dave Jones Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb3c190e8d43fcbf1210effb05dc660cb3ccf817 Author: V. Ananda Krishnan Date: Wed Feb 1 03:05:20 2006 -0800 [PATCH] jsm: fix for high baud rates problem Scott Kilau Digi serial port console doesn't work when baud rates are set higher than 38400. So the lookup table and code in jsm_neo.c has been modified and tested. Please let me have the feed-back. Signed-off-by: V.Ananda Krishnan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfaa1deeb982c985d8e0435e835baeaae63b57fd Author: john stultz Date: Wed Feb 1 03:05:19 2006 -0800 [PATCH] disable lost tick compensation before TSCs are synced Avoid lost tick compensation early in boot before the TSCs are synchronized. Currently timekeeping is enabled before the TSCs are synchronized, thus when the TSCs are synched (reset to zero), it appears that a number of lost ticks have occurred. This can cause premature expiry of timers and in extreme cases can cause the soft lockup detection to fire. This resolves issues reported by Andy Whitcroft as well as bug #5366 reported by Tim Mann. Signed-off-by: John Stultz Acked-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f7016d917faef8f1e016b4a7bd7f594694480b6 Author: Jack Steiner Date: Wed Feb 1 03:05:18 2006 -0800 [PATCH] sys_sched_getaffinity() & hotplug Change sched_getaffinity() so that it returns a bitmap that indicates the legally schedulable cpus that a task is allowed to run on. Without this patch, if CONFIG_HOTPLUG_CPU is enabled, sched_getaffinity() unconditionally returns (at least on IA64) a mask with NR_CPUS bits set. This conveys no useful infornmation except for a kernel compile option. This fixes a breakage we obseved running recent kernels. We have MPI jobs that use sched_getaffinity() to determine where to place their threads. Placing them on non-existant cpus is problematic :-) Signed-off-by: Jack Steiner Acked-by: Ingo Molnar Cc: Nathan Lynch Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f07496144c270f10d0ad06b70b9c9387d5527fd Author: Bryan O'Sullivan Date: Wed Feb 1 03:05:17 2006 -0800 [PATCH] Add faster __iowrite32_copy routine for x86_64 This assembly version is measurably faster than the generic version in lib/iomap_copy.c. Signed-off-by: Bryan O'Sullivan Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c27a0d75b33c030965cc97d3d7f571107a673fb4 Author: Bryan O'Sullivan Date: Wed Feb 1 03:05:16 2006 -0800 [PATCH] Introduce __iowrite32_copy This arch-independent routine copies data to a memory-mapped I/O region, using 32-bit accesses. The naming is double-underscored to make it clear that it does not guarantee write ordering, nor does it perform a memory barrier afterwards; the kernel doc also explicitly states this. This style of access is required by some devices. This change also introduces include/linux/io.h, at Andrew's suggestion. It only has one occupant at the moment, but is a logical destination for oft-replicated contents of include/asm-*/{io,iomap}.h to migrate to. Signed-off-by: Bryan O'Sullivan Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7589f28d7dd4586b4e90ac3b2a180409669053a Author: Bryan O'Sullivan Date: Wed Feb 1 03:05:15 2006 -0800 [PATCH] Define BITS_PER_BYTE This can make the intent behind some arithmetic expressions clearer. Signed-off-by: Bryan O'Sullivan Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 493f01d1d0699ddafc30067d33fcc18d0b95b624 Author: Adrian Bunk Date: Wed Feb 1 03:05:14 2006 -0800 [PATCH] kernel/posix-timers.c: remove do_posix_clock_notimer_create() This function is neither used nor has any real contents. Signed-off-by: Adrian Bunk Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 952bbc87f01f552ef091a62ea2a721b5b2670e74 Author: Thomas Gleixner Date: Wed Feb 1 03:05:13 2006 -0800 [PATCH] hrtimers: set correct initial expiry time for relative SIGEV_NONE timers The expiry time for relative timers with SIGEV_NONE set was never updated to the correct value. Pointed out by George Anzinger. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66188fae3bf7f8dd951e2291d2a81888ed1b65de Author: Thomas Gleixner Date: Wed Feb 1 03:05:13 2006 -0800 [PATCH] hrtimers: add back lost credit lines At some point we added credits to people who actively helped to bring k/hr-timers along. This was lost in the big code revamp. Add it back. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7978672c4d9a1e6a6081de3a9d9ba5e5b24904a0 Author: George Anzinger Date: Wed Feb 1 03:05:11 2006 -0800 [PATCH] hrtimers: cleanups and simplifications Clean up the interface to hrtimers by changing the init code to pass the mode as well as the clock. This allow the init code to select the correct base and eliminates extra timer re-init code in posix-timers. We also simplify the restart interface nanosleep use. Signed-off-by: George Anzinger Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff60a5dc4fa584d47022d2533bc5c53b80096fb5 Author: akpm@osdl.org Date: Wed Feb 1 03:05:10 2006 -0800 [PATCH] hrtimers: fix posix-timer requeue race From: Steven Rostedtrostedt@goodmis.org CPU0 expires a posix-timer and runs the callback function. The signal is queued. After releasing the posix-timer lock and before returning to hrtimer_run_queue CPU0 gets interrupted. CPU1 delivers the queued signal and rearms the timer. CPU0 comes back to hrtimer_run_queue and sets the timer state to expired. The next modification of the timer can result in an oops, because the state information is wrong. Keep track of state = RUNNING and check if the state has been in the return path of hrtimer_run_queue. In case the state has been changed, ignore a restart request and do not touch the state variable. Signed-off-by: Steven Rostedt Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a16a1c095a2392d49fafea22f3a508e268ef7167 Author: Thomas Gleixner Date: Wed Feb 1 03:05:09 2006 -0800 [PATCH] hrtimers: fix oldvalue return in setitimer This resolves bugzilla bug#5617. The oldvalue of the timer was read after the timer was cancelled, so the remaining time was always zero. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6557fbca805217588a412f391a65ceafcf1a1af Author: Thomas Gleixner Date: Wed Feb 1 03:05:09 2006 -0800 [PATCH] hrtimers: fix possible use of NULL pointer in posix-timers Fixup the conversion of posix-timers to hrtimers. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc1978d404befacd272d0321ef749cc3192e488b Author: Thomas Gleixner Date: Wed Feb 1 03:05:08 2006 -0800 [PATCH] hrtimers: fixup itimer conversion The itimer conversion removed the locking which protects the timer and variables in the shared signal structure. Steven Rostedt found the problem in the latest -rt patches. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 853609b61ef88b414ffd1613741aa59894334320 Author: Rafael J. Wysocki Date: Wed Feb 1 03:05:07 2006 -0800 [PATCH] swsusp: use bytes as image size units Make swsusp use bytes as the image size units, which is needed for future compatibility. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8730eabd45e47e392f230ab8720c4b8537901fc Author: Pekka Enberg Date: Wed Feb 1 03:05:06 2006 -0800 [PATCH] uml: compilation fix when MODE_SKAS disabled CC arch/um/sys-i386/ldt.o arch/um/sys-i386/ldt.c:19:21: proc_mm.h: No such file or directory make[1]: *** [arch/um/sys-i386/ldt.o] Error 1 Signed-off-by: Pekka Enberg Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d0098b6e2055e4afb2ceadf11c4b9f43b671ccc Author: Alexey Dobriyan Date: Wed Feb 1 03:05:05 2006 -0800 [PATCH] mips: gdb-stub.c: fix parse error before ; token Signed-off-by: Alexey Dobriyan Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 295b117ef334bcc3c9596117cb0aa640054e35fc Author: Kylene Jo Hall Date: Wed Feb 1 03:05:04 2006 -0800 [PATCH] tpm: tpm_bios remove unused variable Remove event_data_size since it was pointed out in tpm_bios-indexing- fix.patch that is was ugly and it wasn't actually being used. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10296cb0b2b0b0eb312f81032216504a64ee675a Author: Kylene Jo Hall Date: Wed Feb 1 03:05:04 2006 -0800 [PATCH] tpm: tpm_bios fix sparse warnings Fixing the sparse warnings on the acpi_os_map_memory calls pointed out by Randy. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7bcee5b86a8d9f8a0f2c1848fd9abd675e09e969 Author: Kylene Jo Hall Date: Wed Feb 1 03:05:03 2006 -0800 [PATCH] tpm: tpm-bios: fix module license issue Attempting to insert the tpm modules fails because the tpm_bios file is missing a license statement. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c40f7d4f0a9d5242f19b02b00e3e5a8ee218a20 Author: Andrew Morton Date: Wed Feb 1 03:05:02 2006 -0800 [PATCH] tpm_bios indexing fix It generates warnings: drivers/char/tpm/tpm_bios.c: In function `get_event_name': drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size drivers/char/tpm/tpm_bios.c:223: warning: cast from pointer to integer of different size drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size drivers/char/tpm/tpm_bios.c:224: warning: cast from pointer to integer of different size and I'm not sure what the code is doing there, but it seems wrong. We're using the address of the buffer rather than the contents of it. The patch adds more nasty typecasting, but I think the whole arrangement could be done in a more typesafe manner. Cc: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca4a031f6b43edb8745ebc0a1b7307c24719dae4 Author: Andrew Morton Date: Wed Feb 1 03:05:01 2006 -0800 [PATCH] tpm_bios: securityfs error checking fix These functions return ERR_PTR()s on error, not NULL. Spotted by Randy. Cc: Serge Hallyn Cc: Kylene Jo Hall Cc: "Randy.Dunlap" Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed5a92700d3ce2646cb7763792a5f7ad1bade7e8 Author: Randy Dunlap Date: Wed Feb 1 03:05:00 2006 -0800 [PATCH] tpm_bios: needs more securityfs_ functions tpm_bios.c needs securityfs_xyz() functions. Does include/linux/security.h need stubs for these, or should char/tpm/Makefile just be modified to say: ifdef CONFIG_ACPI ifdef CONFIG_SECURITY obj-$(CONFIG_TCG_TPM) += tpm_bios.o endif endif drivers/char/tpm/tpm_bios.c:494: warning: implicit declaration of function 'securityfs_create_dir' drivers/char/tpm/tpm_bios.c:494: warning: assignment makes pointer from integer without a cast drivers/char/tpm/tpm_bios.c:499: warning: implicit declaration of function 'securityfs_create_file' drivers/char/tpm/tpm_bios.c:501: warning: assignment makes pointer from integer without a cast drivers/char/tpm/tpm_bios.c:508: warning: assignment makes pointer from integer without a cast drivers/char/tpm/tpm_bios.c:523: warning: implicit declaration of function 'securityfs_remove' *** Warning: "securityfs_create_file" [drivers/char/tpm/tpm_bios.ko] undefined! *** Warning: "securityfs_create_dir" [drivers/char/tpm/tpm_bios.ko] undefined! *** Warning: "securityfs_remove" [drivers/char/tpm/tpm_bios.ko] undefined! There are also some gcc and sparse warnings that could be fixed. (see http://www.xenotime.net/linux/doc/build-tpm.out) Signed-off-by: Randy Dunlap Cc: Serge Hallyn Cc: Greg KH Cc: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee26aa04d4dbd5e006b2f184d6028c71384681f Author: Randy Dunlap Date: Wed Feb 1 03:04:59 2006 -0800 [PATCH] tpm_infineon: fix printk format warning drivers/char/tpm/tpm_infineon.c:443: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'long unsigned int' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94f91def998efe3b79780f3b39b6c87d390dbe4c Author: Rocky Craig Date: Wed Feb 1 03:04:58 2006 -0800 [PATCH] IPMI: remove invalid acpi register spacing check At the 2.6.12 timeframe ipmi_si_intf.c was patched to provide default register spacings in try_init_acpi() if the register spacing was set to zero, similar to code in other routines. Unfortunately, another patch was simultaneously added that exits early from try_init_acpi() if the register spacings are set to zero, circumventing the new defaults. This patch removes the early exit code and some incorrect comments that aren't present in other common code snippets. Signed-off-by: Rocky Craig Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 386093ef9a6c88576d8b418bf1c8616d5e410a20 Author: Alexey Dobriyan Date: Wed Feb 1 03:04:57 2006 -0800 [PATCH] ipw2200: fix ->eeprom[EEPROM_VERSION] check priv->eeprom is a pointer. Signed-off-by: Alexey Dobriyan Acked-by: Yi Zhu Cc: James Ketrenos Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce5f8d70ba6e3d7ffcaff86b2cf91a42c27f77af Author: Alexey Dobriyan Date: Wed Feb 1 03:04:56 2006 -0800 [PATCH] alpha: dma-mapping.h: add "struct scatterlist;" On alpha-jensen: CC drivers/base/platform.o In file included from include/linux/dma-mapping.h:24, from drivers/base/platform.c:16: include/asm/dma-mapping.h:36: warning: "struct scatterlist" declared inside parameter list include/asm/dma-mapping.h:36: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ee247ebce93a526f482d6bc714ce796fa85a81a Author: Alasdair G Kergon Date: Wed Feb 1 03:04:55 2006 -0800 [PATCH] dm: dm-table warning fix drivers/md/dm-table.c:500: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aac0a63fe8d418a2b74e43708f59380ba379a3b Author: Alasdair G Kergon Date: Wed Feb 1 03:04:55 2006 -0800 [PATCH] device-mapper snapshot: barriers not supported The snapshot and origin targets are incapable of handling barriers and need to indicate this. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3eaf840e0b0046f56602c524c7ba58a82f5526c5 Author: Jun'ichi "Nick" Nomura Date: Wed Feb 1 03:04:53 2006 -0800 [PATCH] device-mapper disk statistics: timing Record I/O timing statistics The start time is added to struct dm_io, an existing structure allocated privately internally within dm and attached to each incoming bio. We export disk_round_stats() from block/ll_rw_blk.c instead of creating a private clone. Signed-off-by: Jun'ichi "Nick" Nomura Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12f03a49cf0ab5e8511911142d28699499a572c4 Author: Kevin Corry Date: Wed Feb 1 03:04:52 2006 -0800 [PATCH] device-mapper statistics: basic Record basic I/O statistics for mapped devices. Signed-off-by: Kevin Corry Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dab6a42915554f70220e5a2ff55c59c749582c7b Author: Alasdair G Kergon Date: Wed Feb 1 03:04:52 2006 -0800 [PATCH] device-mapper ioctl: reduce PF_MEMALLOC usage Reduce substantially the amount of code using PF_MEMALLOC, as envisaged in the original FIXME. If you're using lvm2, for this patch to work correctly you should update to lvm2 version 2.02.01 or later and device-mapper version 1.02.02 or later. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4fc4717fc55a3bcd3cfdafa285b7af164b83051 Author: Patrick Caulfield Date: Wed Feb 1 03:04:51 2006 -0800 [PATCH] device-mapper log bitset: fix endian Clean up the code responsible for the on-disk mirror logs by using the set_le_bit test_le_bit functions of ext2. That makes the BE machines keep the bitmap internally in LE order - it does mean you can't use any other type of operations on the bitmap words but that looks to be OK in this instance. The efficiency tradeoff is very minimal as you would expect for something that ext2 uses. This allows us to remove bits_to_core(), bits_to_disk() and log->disk_bits. Also increment the mirror log disk version transparently to avoid sharing with older kernels that suffered from the 64-bit BE bug. Signed-off-by: Patrick Caulfield Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa14edeb994f8f7e223d02ad14780bf2fa719f6d Author: Alasdair G Kergon Date: Wed Feb 1 03:04:50 2006 -0800 [PATCH] device-mapper snapshot: load metadata on creation Move snapshot metadata loading to happen when the table is created instead of when the device is resumed. Writes to the origin device don't trigger exceptions until each snapshot table becomes active when resume() is called on each snapshot. If you're using lvm2, for this patch to work properly you should update to lvm2 version 2.02.01 or later and device-mapper version 1.02.02 or later. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb82a6cdf994d6656ad0a25ed28395af3416a27c Author: Andrew Morton Date: Wed Feb 1 03:04:49 2006 -0800 [PATCH] compat_sys_pselect7() fix fs/compat.c: In function `compat_sys_pselect7': fs/compat.c:1820: warning: passing arg 5 of `compat_core_sys_select' from incompatible pointer type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ff0c007b2854b9ca4dca3a104ee3e4c146c02d6 Author: Alexey Dobriyan Date: Wed Feb 1 03:04:48 2006 -0800 [PATCH] lp486e: remove SLOW_DOWN_IO It's not used. Fix the following on alpha-eb66 as a side effect: In file included from drivers/net/lp486e.c:75: include/asm/io.h:20:1: warning: "SLOW_DOWN_IO" redefined drivers/net/lp486e.c:59:1: warning: this is the location of the previous definition Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70e51015768439a5c305a42fdaa0abe5cc109bcf Author: Alexey Dobriyan Date: Wed Feb 1 03:04:48 2006 -0800 [PATCH] tsunami_flash: fix "parse error before ';' token" Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc0fa84a01d328a1ad70076b90f08281c4c79f92 Author: Ben Collins Date: Wed Feb 1 03:04:47 2006 -0800 [PATCH] powerpc: enable irq's for platform functions. Make the platform function interrupt functions actually work. Calls irq_enable() for the first in the list, and irq_disable() for the last. Added *func to struct irq_client so the the user can pass just that to pmf_unregister_irq_client(). Signed-off-by: Ben Collins Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b62735d9c6212de6fd1b5e96b41d978939fb0dd2 Author: Mikael Pettersson Date: Wed Feb 1 03:04:45 2006 -0800 [PATCH] ide-scsi: fix for IDE probe/remove ops changes Kernel 2.6.16-rc1 broke the ide-scsi driver: ide-scsi loads but fails to find any devices to bind to. It also triggers a message "Driver 'ide-scsi' needs updating - please use bus_type methods" from the driver core. The IDE core in 2.6.16-rc1 changed the location of an IDE driver's ->probe()/->remove()/->shutdown() methods: they are now in the ide_driver_t struct not in the gen_driver sub-struct. drivers/ide/ was updated for this change but ide-scsi.c wasn't. Hence the breakage. This patch repairs ide-scsi and also eliminates the driver core warning. Signed-off-by: Mikael Pettersson Cc: Russell King Cc: Greg KH Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6292d9aaf3047f1abd970bc64ab6d952eda258ac Author: Ashok Raj Date: Wed Feb 1 03:04:44 2006 -0800 [PATCH] __cpuinit functions wrongly marked __meminit __meminit has overzelously been modified and crept its way into marking cpuup callbacks as __meminit. Signed-off-by: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88356e908521a84b2220c9e8850d1a356a851aa9 Author: Benjamin Herrenschmidt Date: Wed Feb 1 03:04:43 2006 -0800 [PATCH] sound/ppc/pmac.c typo In 2.6.16-rc1 there is a small typo introduced by the 'Remove device_node addrs/n_addr' changes which prevents my Powerbook G4 sound from working: Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC). snd: can't request rsrc 0 (Sound Control: 0x80000000:80004fff) ALSA device list: No soundcards found. The patch below fixes it. Of course, the patch fixing the i2c issues ('i2c_smbus_write_i2c_block_data' patch) needs to be applied to in order for the sound to completly work. Signed-off-by: Stelian Pop Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9cd684551124e71630ab96d238747051463f5b56 Author: Miklos Szeredi Date: Wed Feb 1 03:04:40 2006 -0800 [PATCH] fuse: fix async read for legacy filesystems While asynchronous reads mean a performance improvement in most cases, if the filesystem assumed that reads are synchronous, then async reads may degrade performance (filesystem may receive reads out of order, which can confuse it's own readahead logic). With sshfs a 1.5 to 4 times slowdown can be measured. There's also a need for userspace filesystems to know whether asynchronous reads are supported by the kernel or not. To achive these, negotiate in the INIT request whether async reads will be used and the maximum readahead value. Update interface version to 7.6 If userspace uses a version earlier than 7.6, then disable async reads, and set maximum readahead value to the maximum read size, as done in previous versions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caf736085f2f0d22a992a855d9caae14973f7ea4 Author: Andrew Morton Date: Wed Feb 1 03:04:39 2006 -0800 [PATCH] smbfs readdir vs signal fix An old patch designed to fix http://bugme.osdl.org/show_bug.cgi?id=4497, "getdents gives empty/random result upon signal". If smbfs's readdir() is interupted by a signal, smb_readdir() failed to noticed that and proceeded to treat the unread-into page as valid directory contents. Fix that up by handling the -ERESTARTSYS. Thanks to Stian Skjelstad for reporting and testing. Cc: Stian Skjelstad Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 389d1ea50849f84c3a9f8640fcb66827746b4ab4 Author: Ingo Molnar Date: Wed Feb 1 03:04:35 2006 -0800 [PATCH] CONFIG_DOUBLEFAULT Kconfig fix Move CONFIG_DOUBLEFAULT from the main Kconfig menu (!) into its proper place: the "Processor Type and features" submenu. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fb803a990cd17546bd89c38e0e29a891f71ce7d Author: Andreas Gruenbacher Date: Wed Feb 1 03:04:34 2006 -0800 [PATCH] knfsd: Restore recently broken ACL functionality to NFS server A recent patch to Allow run-time selection of NFS versions to export meant that NO nfsacl service versions were exported. This patch restored that functionality. Signed-off-by: Andreas Gruenbacher Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a2ca64496cc1c9aeab1076e06d092b3ec74a43d Author: Ulrich Drepper Date: Wed Feb 1 03:04:33 2006 -0800 [PATCH] prototypes for *at functions & typo fix Here's the follow-up patch which introduces the prototypes for the new syscalls. There was also a typo in one of the new symbols. Signed-off-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 577bca9eff94193a06e426f8dbf6b3152247a209 Author: Olaf Hering Date: Wed Feb 1 03:04:33 2006 -0800 [PATCH] CONFIG_ISA does not make sense for CONFIG_PPC_PSERIES Older pSeries systems with serial ports dont get any console output after recent changes. CONFIG_ISA does not make sense for CONFIG_PPC_PSERIES because it enables lots of old drivers. Instead, remove the dependency on CONFIG_ISA from the serial port discovery code. Signed-off-by: Olaf Hering Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3833a70585fd4b0f64e275ba0cc3f5e5038253fd Author: Andrew Morton Date: Wed Feb 1 03:04:32 2006 -0800 [PATCH] x86_64: compat_sys_futimesat fix We need to use the compat function here. Pointer out by Heiko Carstens Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1494a92f4c2b1d5abdaa1f823dd19f797bb137de Author: Takashi Iwai Date: Tue Jan 31 10:58:46 2006 +0100 [ALSA] hda-codec - Fix typos in alc882 model table Modules: HDA Codec driver Fixed typos in alc882 model table. Signed-off-by: Takashi Iwai commit bae2bdb334c1ca5f4721e4fab1ca947f44455117 Author: Arnaud Patard Date: Fri Jan 27 12:05:02 2006 +0100 [ALSA] patch_realtek.c: Add new model Modules: HDA Codec driver This little patch add the model for the motherboard K8N51 from Gigabyte to the known models of ALC boards. Signed-off-by: Arnaud Patard Signed-off-by: Takashi Iwai commit 44275f18ec22a31980469567052e932d1023971f Author: Giuliano Pochini Date: Fri Jan 27 12:02:05 2006 +0100 [ALSA] fix typos in writing-an-alsa-driver Modules: Documentation Fixed typos in writing-an-alsa-driver document. Signed-off-by: Giuliano Pochini Signed-off-by: Takashi Iwai commit 869264c45a6a77d73ec6caa543616a10a9dfd951 Author: Matt Porter Date: Wed Jan 25 19:20:50 2006 +0100 [ALSA] hda: sigmatel fixes Modules: HDA Codec driver * Fix init sequence so manually retaskable jacks don't get added to the line_out list. * Update intel mobo config defaults to specify surround outputs as line outs rather than speakers. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 1d79716ab07710465fa9fc1ae7328cc6095d2526 Author: Alexey Dobriyan Date: Wed Jan 25 14:30:44 2006 +0100 [ALSA] Fix adding second dma channel Modules: OPL3SA2 driver,GUS Classic driver dma2 is a global array. sprintf below suggests there was a typo. Signed-off-by: Alexey Dobriyan Signed-off-by: Takashi Iwai commit 89ac9c256495cbdbe130be5ed192c8911c89ed87 Author: Takashi Iwai Date: Tue Jan 24 10:36:57 2006 +0100 [ALSA] intel8x0 - Add MCP51 PCI ID Modules: Documentation,Intel8x0 driver Added MCP51 PCI ID to intel8x0 driver. Also, updated the supported chips in documentation. Signed-off-by: Takashi Iwai commit fd56f2db9385a651d31fe86eb4cc6cacbb0c5a63 Author: Jonathan Woithe Date: Tue Jan 24 10:35:46 2006 +0100 [ALSA] hda-codec - Fix init verb of ALC260 Modules: HDA Codec driver Fixed the wrong widget id for line-2 selector in the init verb of ALC260. Signed-off-by: Takashi Iwai commit ad0651f97a3f8c5982921cb57fbedc877279e03d Author: Takashi Iwai Date: Tue Jan 24 10:34:34 2006 +0100 [ALSA] hda-codec - Fix max_channels computation for STAC92xx codecs Modules: HDA Codec driver Fix max_channels computation for STAC92xx codecs in the case only HP pin without line-out pins is detected in the default pin config. Signed-off-by: Takashi Iwai commit 802c00f2f3700423df06a1149c23cd60dd59159c Author: Takashi Iwai Date: Mon Jan 23 15:31:11 2006 +0100 [ALSA] via82xx - Add dxs entry for P4M800/VIA8237R Modules: VIA82xx driver Added the dxs entry for P4M800/VIA8237R, reported by OGAWA Hirofumi Signed-off-by: Takashi Iwai commit 3cc08dc6ea677ed4e843120aa070e145b6781a4b Author: Matt Porter Date: Mon Jan 23 15:27:49 2006 +0100 [ALSA] hda-codec - add sigmatel 927x codec support Modules: HDA Codec driver Adds support for the SigmaTel STAC927x HDA codec family. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit d62c40e04cfcec3cef8093bd79d72fe86c8f2195 Author: Matt Porter Date: Mon Jan 23 15:26:27 2006 +0100 [ALSA] hda-codec - add D975XBK support to sigmatel patch Modules: HDA Codec driver Add SigmaTel HDA support for the Intel D975XBK motherboard. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit e061bf1aa3af8a3f2ae7e1b5f8a110eae7936615 Author: Sasha Khapyorsky Date: Mon Jan 23 15:24:16 2006 +0100 [ALSA] hda-codec - support for Agere's HDA soft modem Modules: HDA Codec driver This adds support for Agere's variant of Si3054/5 based HDA modem. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 50f794c8dcfd0e63f3034d7cfd41e563f35741aa Author: Lukasz Stemach Date: Mon Jan 23 15:22:13 2006 +0100 [ALSA] cs4236 - Add PnP ids for Netfinity 3000 Modules: CS4236+ driver PnP ids for Netfinity 3000 builtin soundcard. This one works for me. This patch was submitted through kernel Bugzilla #4214. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 68b8bc05213567cfc58d8bdb8917b36c314ba7fd Author: Takashi Iwai Date: Mon Jan 23 15:21:28 2006 +0100 [ALSA] serial-uart16550 - Fix a compile warning Modules: Generic drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai commit 91134859702e66e5946383f66e6eb50ba4325458 Author: Takashi Iwai Date: Mon Jan 23 15:21:05 2006 +0100 [ALSA] opti93x - Fix a compile warning Modules: Opti9xx drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai commit fe25ad8a84c798a82591e5ed14519c001500fa61 Author: Takashi Iwai Date: Mon Jan 23 15:20:38 2006 +0100 [ALSA] wavefront - Fix a compile warning Modules: Wavefront drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai commit 51c2bbfcdb10162b294f31e2b1c7106639caaec2 Author: Takashi Iwai Date: Mon Jan 23 15:20:03 2006 +0100 [ALSA] via82xx - Add dxs entry for a FSC board Modules: VIA82xx driver Add dxs entry for a FSC board. Signed-off-by: Takashi Iwai commit bd3f8f2b12bcf4ea25c89b84adeaafad232662c8 Author: Chris Wright Date: Tue Jan 31 19:10:23 2006 -0800 [PATCH] Make sure to always check upper bits of tv_nsec in timespec_valid. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit 3103039cc2a8dc6ababc29afac5c3cadbfa69af9 Author: Andi Kleen Date: Fri Jan 27 02:03:50 2006 +0100 [PATCH] PCI: handle bogus MCFG entries Handle more bogus MCFG entries Some Asus P4 boards seem to have broken MCFG tables with only a single entry for busses 0-0. Special case these and assume they mean all busses can be accessed. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman commit 877be3f0304de16a77f11b2b47f1291b800d5479 Author: Arthur Othieno Date: Wed Jan 18 21:12:57 2006 -0500 [PATCH] PCI: cyblafb: remove pci_module_init() return, really. Richard Knutsson did the original pci_module_init() cleanups: http://marc.theaimsgroup.com/?l=linux-kernel&m=113330872125068&w=2 http://marc.theaimsgroup.com/?l=linux-kernel&m=113330888507321&w=2 Greg, on it's way upstream, pci_module_init() return sneaked back in for cyblafb? http://marc.theaimsgroup.com/?l=linux-pci&m=113652969209562&w=2 http://marc.theaimsgroup.com/?l=linux-pci&m=113683930220421&w=2 Remove for good. Signed-off-by: Arthur Othieno Signed-off-by: Greg Kroah-Hartman commit 8737d6a90cd8b085c2ea9cb4c7443c87f86c3429 Author: linas@austin.ibm.com Date: Thu Jan 12 18:35:23 2006 -0600 [PATCH] powerpc/PCI hotplug: shuffle error checking to better location. Error checking is scattered through various layers of the dlpar code, leading to a somewhat opaque code structure. This patch consolidates error checking in one routine, simplifying the code a tad. There's also some whitespace cleanup here too. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit b64a71ab5c9098a79ccb463af968933483458a0f Author: linas@austin.ibm.com Date: Thu Jan 12 18:32:58 2006 -0600 [PATCH] powerpc/PCI hotplug: minor cleanup forward decls Minor cleanup. Move structure initializer to bottom of file, this allows elimination of eyeball-strain-inducing forward declarations. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit f6afbad82c6b7bab0198442592b110341fb419ba Author: linas@austin.ibm.com Date: Thu Jan 12 18:31:01 2006 -0600 [PATCH] powerpc/PCI hotplug: cleanup: add prefix Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines. Remove rpaphp_remove_slot(), which is a one-liner. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit e06b80b78db96ca272db4ec0b26ce1092a1a9704 Author: linas@austin.ibm.com Date: Thu Jan 12 18:28:22 2006 -0600 [PATCH] powerpc/PCI hotplug: merge rpaphp_enable_pci_slot() Remove general baroqueness. The function rpaphp_enable_pci_slot() has a fairly simple logic structure, once all of the debug printk's are removed. Its called from only one place, and that place also has a very simple structure once he printk's are removed. Merge the two together. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 8fe64399cccf8dddcc4e5eaff270a12064f6fe9f Author: linas@austin.ibm.com Date: Thu Jan 12 18:26:27 2006 -0600 [PATCH] powerpc/PCI hotplug: de-convolute rpaphp_unconfig_pci_adap Remove general baroqueness. The function rpaphp_unconfig_pci_adapter() is really just three lines of code, once all the dbg printks are removed. And its called in only one place. So replace the call by the thre lines. Also, provide proper semaphore locking in the affected function disable_slot() Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 8a85a70db8c65fd1703b4597f72fe6ee25642234 Author: linas@austin.ibm.com Date: Thu Jan 12 18:24:27 2006 -0600 [PATCH] powerpc/PCI hotplug: remove remove_bus_device() The function rpaphp_eeh_remove_bus_device() is a dupe of eeh_remove_bus_device(). Remove it. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 7fec77e4793f307b30846a3d4015d329ffc0b685 Author: linas@austin.ibm.com Date: Thu Jan 12 18:22:07 2006 -0600 [PATCH] powerpc/PCI hotplug: merge config_pci_adapter Remove general baroqueness. The function rpaphp_config_pci_adapter() is really just one line of code, once all the dbg printks are removed. And its called in only one place. So replace the call by the one line. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit eca845c71816669dace4bf1954d9ab276abb0002 Author: linas@austin.ibm.com Date: Thu Jan 12 18:20:26 2006 -0600 [PATCH] powerpc/PCI hotplug: remove rpaphp_fixup_new_pci_devices() The function rpaphp_fixup_new_pci_devices() has been migrated to pcibios_fixup_new_pci_devices() in arch/powerpc/platforms/pseries/pci_dlpar.c This patch removes the old version. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 01657868be1c21b2b8b0e683ea24bdcc2331d522 Author: linas@austin.ibm.com Date: Thu Jan 12 18:18:26 2006 -0600 [PATCH] powerpc/PCI hotplug: remove rpaphp_find_bus() The function rpaphp_find_pci_bus() has been migrated to pcibios_find_pci_bus() in arch/powerpc/platforms/pseries/pci_dlpar.c This patch removes the old version. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 53044f357448693f218cc4f053affe92ed414f9d Author: Keck, David Date: Mon Jan 16 15:22:36 2006 -0600 [PATCH] PCI Hotplug: shpchp: AMD POGO errata fix This patch fixes the AMD POGO errata on the hotplug controller where the platform will lock up or reboot if PERR/SERR generation is enabled and a slot is sent an enable command. This fix disables PERR/SERR generation before a slot is sent the enable command by first saving related registers, turning off SERR/PERR generation, enabling the slot, then restoring the registers. Signed-off-by: David Keck Cc: Kristen Accardi Signed-off-by: Greg Kroah-Hartman commit 3c0c6441883be7676b795939e268b90d6acab360 Author: linas Date: Thu Jan 12 14:36:25 2006 -0600 [PATCH] PCI Hotplug: PCI panic on dlpar add (add pci slot to running partition) Removing and then adding a PCI slot to a running partition results in a kernel panic. The current code attempts to add iospace for an entire root bus, which is inappropriate, and silently fails. When a pci device tries to use the iospace, a page fault is taken, as the iospace had not been mapped, and of course the page fault cannot be resolved. This only occurs for PCI adapters using pio, which may be why it hadn't been seen earlier (this seems to have been broken for a while). This patch has survived testing of dozens of slot add and removes. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit dd8c49966854a5245f3ed4769c9114e7afd819ef Author: linas Date: Tue Jan 10 15:15:47 2006 -0600 [PATCH] PCI Hotplug/powerpc: module build break The RPAPHP hoplug driver will not build as a module, because it calls on pci_claim_resource(), which is not exported. This exports the symbol. Problem reported by Olaf Hering A grep indicates that building drivers/parisc/lba_pci.c would have trouble building as a module for the same reason. Signed-off-by: Linas Vepstas Signed-off-by: Greg Kroah-Hartman commit 2181c971952ec2af56cd9cc68453f7ad5a0a38d6 Author: Grant Coady Date: Sun Jan 15 16:21:27 2006 +1100 [PATCH] PCI: pci_ids: remove duplicates gathered during merge period pci_ids.h: remove duplicates. Compile tested allmodconfig. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 8cea8e9303d45556cb606cc8d9e41f889ff600c0 Author: Mark Rustad Date: Thu Jan 5 22:47:29 2006 -0800 [PATCH] PCI: restore 2 missing pci ids Somewhere between 2.6.14 and 2.6.15-rc3, some PCI ids were apparently removed. The ecc.c module, which is not a part of the kernel.org tree, but included in some distributions, fails to compile. Signed-off-by: Mark Rustad Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 654143ee3a73b2793350b039a135d9cd3101147b Author: Pavel Machek Date: Mon Jan 9 16:16:00 2006 +0100 [PATCH] PCI Hotplug: fix up Kconfig help text Remove reference to pcihpfs that no longer exists. Signed-off-by: Pavel Machek commit 072888fa60af86c3159f9f3ed4e34364861bab3a Author: Pavel Machek Date: Sun Jan 8 20:11:59 2006 +0100 [PATCH] PCI Hotplug: fix up coding style issues Signed-off-by: Pavel Machek Signed-off-by: Greg Kroah-Hartman commit 8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a Author: Grant Grundler Date: Tue Jan 3 18:51:46 2006 -0800 [PATCH] PCI: make it easier to see that set_msi_affinity() is used I missed this usage in drivers/pci/msi.h: #ifdef CONFIG_SMP #define set_msi_irq_affinity set_msi_affinity #else #define set_msi_irq_affinity NULL #endif set_msi_affinity() is declared and exclusively used in msi.c. Here's a better way so (hopefully) history doesn't repeat itself. Signed-off-by: Grant Grundler Signed-off-by: Greg Kroah-Hartman commit f8d65713332cf6306889a3036142a17e01e3447e Author: Adrian Bunk Date: Fri Jan 6 03:25:37 2006 +0100 [PATCH] PCI: drivers/pci/pci.c: #if 0 pci_find_ext_capability() This patch #if 0's the unused global function pci_find_ext_capability(). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit b6ebb2659065b6e03605e7f0c69449bda382261a Author: Jason Gaston Date: Mon Jan 9 10:53:45 2006 -0800 [PATCH] PCI: irq and pci_ids: patch for Intel ICH8 This patch adds the Intel ICH8 DID's to the irq.c and pci_ids.h files. Signed-off-by: Jason Gaston Signed-off-by: Greg Kroah-Hartman commit 051d9897731abfac62c4d1a2efcef83a89bd4482 Author: Richard Knutsson Date: Sat Dec 3 02:34:12 2005 +0100 [PATCH] pci: Schedule removal of pci_module_init Scheduled the removal of pci_module_init. Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit b4b2c0411e25c8bd001c683be52a2a5996ea689a Author: Adrian Bunk Date: Thu Dec 29 20:07:25 2005 +0100 [PATCH] PCI: schedule PCI_LEGACY_PROC for removal PCI_LEGACY_PROC is deprecated since 2.5.53 in favor of lspci(8). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 0cbd782507c502428c8ab3e91bee3940c19ac4d4 Author: David S. Miller Date: Tue Jan 31 17:53:37 2006 -0800 [DCCP] ipv6: dccp_v6_send_response() has a DST leak too. It was copy&pasted from tcp_v6_send_synack() which has a DST leak recently fixed by Eric W. Biederman. So dccp_v6_send_response() needs the same fix too. Signed-off-by: David S. Miller commit 78b910429e2c037533d2a7bd9e95b4f94f905ef8 Author: Eric W. Biederman Date: Tue Jan 31 17:51:44 2006 -0800 [IPV6] tcp_v6_send_synack: release the destination This patch fix dst reference counting in tcp_v6_send_synack Analysis: Currently tcp_v6_send_synack is never called with a dst entry so dst always comes in as NULL. ip6_dst_lookup calls ip6_route_output which calls dst_hold before it returns the dst entry. Neither xfrm_lookup nor tcp_make_synack consume the dst entry so we still have a dst_entry with a bumped refrence count at the end of this function. Therefore we need to call dst_release just before we return just like tcp_v4_send_synack does. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller commit f9d9516db71eb3a8547948cdddc139eb1c1b9aee Author: Sam Ravnborg Date: Tue Jan 31 17:47:02 2006 -0800 [NET]: Do not export inet_bind_bucket_create twice. inet_bind_bucket_create was exported twice. Keep the export in the file where inet_bind_bucket_create is defined. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller commit 3f4cfc2d11c9e29709e6f0f3add54039614d847a Author: Stephen Hemminger Date: Tue Jan 31 17:44:07 2006 -0800 [BRIDGE]: Fix device delete race. This is a simpler fix for the two races in bridge device removal. The Xen race of delif and notify is managed now by a new deleted flag. No need for barriers or other locking because of rtnl mutex. The del_timer_sync()'s are unnecessary, because br_stp_disable_port delete's the timers, and they will finish running before RCU callback. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 5d39a795bfa217b5f7637028c83ab5cb291f37bf Author: Patrick McHardy Date: Tue Jan 31 17:35:35 2006 -0800 [IPV4]: Always set fl.proto in ip_route_newports ip_route_newports uses the struct flowi from the struct rtable returned by ip_route_connect for the new route lookup and just replaces the port numbers if they have changed. If an IPsec policy exists which doesn't match port 0 the struct flowi won't have the proto field set and no xfrm lookup is done for the changed ports. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 69396dcfa3c50a6b8d2caaccf5d1496ecd5594be Author: David Brownell Date: Fri Jan 20 14:38:49 2006 -0800 [PATCH] USB: gadget zero and dma-coherent buffers This makes sure that the correct length is reported when freeing a dma-coherent buffer; some platforms complain if that's wrong. It also makes two parameters readonly in sysfs, as they're not safe to change while tests are running. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit c02c4bb2058587d3c012ec08268fd93fdc654ae7 Author: David Brownell Date: Fri Jan 20 14:44:12 2006 -0800 [PATCH] USB: USB authentication states Another hook needed for wireless USB: there are states associated with the device authentication protocol. Wireless devices must authenticate using the host system's keystore. Note that wired connections could also use this authentication protocol, if for no other reason than to support the most secure "simple" key exchange protocols for wireless devices. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 877260bd2618d1a6e6acf63100bd9d009b7c2856 Author: Andrew Morton Date: Thu Jan 19 23:59:12 2006 -0800 [PATCH] USB: yealink printk warning fix drivers/usb/input/yealink.c: In function `usb_probe': drivers/usb/input/yealink.c:910: warning: int format, different type arg (arg 4) Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 6d453b9e3007da2c6cd8b71883505c381f0e0004 Author: Alan Cox Date: Tue Jan 17 15:39:25 2006 -0800 [PATCH] USB: libusual: fix warning on 64bit boxes We cast an int to a void * which not unreasonably makes gcc suspicious. We don't actually care what type "type" is so use unsigned long so it matches pointer length on all platforms. Signed-off-by: Alan Cox Acked-by: Pete Zaitcev Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 5d68dfcf3a1c2c4a74e6f08362ade5b97637147d Author: Alexey Dobriyan Date: Thu Jan 19 00:06:07 2006 +0300 [PATCH] USB: arm26: fix compilation of drivers/usb/core/message.c drivers/usb/core/message.c:395: error: invalid use of undefined type `struct scatterlist' Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 05090fc969be0bd1e01c3798b17fe7947fad0efa Author: Sergei Shtylylov Date: Thu Jan 5 22:50:39 2006 -0800 [PATCH] USB: Au1xx0: replace casual readl() with au_readl() in the drivers au_readl() does needed byteswapping, etc. Cc: Takashi Iwai Cc: Jaroslav Kysela Acked-by: Jordan Crouse Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit de289fdf6f6c51b21c94283ffa219d31e583f327 Author: Olaf Hering Date: Fri Jan 6 12:45:28 2006 +0100 [PATCH] USB: remove extra newline in hid_init_reports The warn() macro in include/linux/usb.h adds a newline. Signed-off-by: Olaf Hering Signed-off-by: Greg Kroah-Hartman commit 532a3de17038ea3bf75814778a6c4a25d01eab74 Author: Adrian Bunk Date: Fri Jan 6 03:28:52 2006 +0100 [PATCH] USB: drivers/usb/media/ov511.c: remove hooks for the decomp module - the decomp module is not intended for inclusion into the kernel - people using the decomp module from upstream will usually simply use the complete upstream 2.xx driver Therefore, there seems to be no good reason spending some bytes of kernel memory for hooks for this module. Signed-off-by: Adrian Bunk Signed-off-by: Mark McClelland Signed-off-by: Greg Kroah-Hartman commit 7f2c01ab8ad50c74d174acdd814ddb53383bee93 Author: Adrian Bunk Date: Mon Jan 9 00:43:39 2006 +0100 [PATCH] USB: drivers/usb/media/w9968cf.c: remove hooks for the vpp module - the w9968cf-vpp module is not intended for inclusion into the kernel - the upstream w9968cf package shipping the w9968cf-vpp module suggests to simply replace the w9968cf module shipped with the kernel Therefore, there seems to be no good reason spending some bytes of kernel memory for hooks for the w9968cf-vpp module. Signed-off-by: Adrian Bunk Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit bf8b2b5345145d41d39035b80f36c8e17342d833 Author: Randy Dunlap Date: Sun Dec 25 19:27:18 2005 -0800 [PATCH] USB EHCI: fix gfp_t sparse warning Fix sparse warning: drivers/usb/host/ehci-hcd.c:719:35: warning: incorrect type in argument 3 (different base types) drivers/usb/host/ehci-hcd.c:719:35: expected unsigned int [unsigned] mem_flags drivers/usb/host/ehci-hcd.c:719:35: got restricted unsigned int [usertype] mem_flags Signed-off-by: Randy Dunlap Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 52ea1619d5103f80ec0472a3eb653a04c15326f2 Author: Eric Sesterhenn / snakebyte Date: Wed Jan 4 18:10:44 2006 +0100 [PATCH] USB: Remove LINUX_VERSION_CODE check in pwc/pwc-ctrl.c this patch removes compatibility with 2.4 kernel, which makes the code much easier to read. Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 979063692726fa40863345fb1b62daf2f795ddc0 Author: Alan Stern Date: Tue Jan 3 10:30:31 2006 -0500 [PATCH] USB: gadgetfs: set "zero" flag for short control-IN response This patch (as622) makes gadgetfs set the "zero" flag for control-IN responses, when the length of the response is shorter than the length of the request. Signed-off-by: Alan Stern Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0be930c546ad056cad5780ee9424a28cf979cb42 Author: Olav Kongas Date: Tue Dec 27 16:04:02 2005 +0200 [PATCH] USB: isp116x-hcd: replace mdelay() by msleep() Replace mdelay() by msleep() in bus_suspend(); the rest of the system will gain 7ms. The related code is reorganized to minimize the number of locking/unlocking calls. The last hunk of the patch is the formatting change by Lindent. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit e9aa795aaed0b861aaa5a8075748c9c34e2620ee Author: Greg Kroah-Hartman Date: Mon Jan 23 17:17:21 2006 -0500 [PATCH] USB: add might_sleep() to usb_unlink_urb() to warn developers Signed-off-by: Greg Kroah-Hartman commit 682d4c803f646d2ce09fde9ed7e99015598c3298 Author: David Brownell Date: Wed Jan 18 23:55:08 2006 -0800 [PATCH] USB: net2280 warning fix For some reason alpha doesn't include where other architectures do; this makes net2280 include it explicitly. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 595b14cbccb2f9122bccfa6b55f2d9a380e9adeb Author: Greg Kroah-Hartman Date: Wed Jan 18 17:36:58 2006 -0500 [PATCH] USB: remove some left over devfs droppings hanging around in the usb drivers As there is no more usb devfs support, these bits would just confuse people. Signed-off-by: Greg Kroah-Hartman commit 630aa3cfd5f0bae9547fe7dff175d7323d60140d Author: Alan Stern Date: Mon Jan 23 17:17:21 2006 -0500 [PATCH] USB: UHCI: No FSBR until device is configured Some USB devices don't enumerate well with FSBR turned on. This patch keeps devices on the low-speed part of the schedule (which doesn't use FSBR) until they have been fully configured. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0c7346229c48fa899a1837d9200894701ea81dac Author: Clemens Ladisch Date: Sun Jan 22 10:32:49 2006 -0800 [PATCH] USB: EHCI, another full speed iso fix This patch adds a reinitializion for the uf variable that got modified by the preceding start-split bandwidth check. Signed-off-by: Clemens Ladisch Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit dc41baf8181884770d77ce0cfc8ae9617cb8b02c Author: Vojtech Pavlik Date: Thu Jan 26 07:44:31 2006 +0100 [PATCH] USB HID: add blacklist entry for HP keyboard My earlier experiment (adding a clear-halt for the interrupt-in endpoint) failed. It turns out that it does cause problems for other devices. And it wasn't needed anyway; a simple blacklist entry was enough to get my HP keyboard working. This patch (as643) removes the clear-halt call and adds the blacklist entry. Signed-off-by: Alan Stern Signed-off-by: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman commit 885e77430d2adddfab3f2ca65e4d3e9f5d489c50 Author: Andrew Morton Date: Tue Jan 17 15:37:22 2006 -0800 [PATCH] USB: add new auerswald device ids Add device support for a couple more Auerswald TK-devices. Via Thomas Jackle , typed in from http://bugzilla.kernel.org/show_bug.cgi?id=5908. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit fdf290fd6d6a17b40055359263ed6003e87cb89b Author: matthieu castet Date: Wed Jan 18 07:39:27 2006 +0100 [PATCH] UEAGLE : cmv name bug (was cosmetic) this patch correct a possible bug with cmv_name being static. If there is 2 modems and the driver is scheduled when filling cmv_name this could result with garbage in cmv_name. We allocate cmv_name on the stack but with a small size in order to avoid that. Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit e40abaf6336ef3756277bab70db47a47da4aa325 Author: matthieu castet Date: Wed Jan 18 07:38:37 2006 +0100 [PATCH] UEAGLE : cosmetic this patch is purely cosmetic. There is : - indentation cleaning - unneeded cast removing - comments cleaning Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit 3c9666cc18be1fc11698fc0181e124b44889cf37 Author: matthieu castet Date: Wed Jan 18 07:38:19 2006 +0100 [PATCH] UEAGLE : add iso support This patch adds the support for isochronous pipe. A new module parameter is added to select iso mode. It is set to iso by default because bulk mode doesn't work well at high speed rate (>3 Mbps for upload). We use UDSL_IGNORE_EILSEQ flags because ADI firmware doesn't reply to ISO IN when it has nothing to send [1]. [1] from cypress datasheet : The ISOSEND0 Bit (bit 7 in the USBPAIR Register) is used when the EZ-USB FX chip receives an isochronous IN token while the IN FIFO is empty. If ISOSEND0=0 (the default value), the USB core does not respond to the IN token. If ISOSEND0=1, the USB core sends a zero-length data packet in response to the IN token. The action to take depends on the overall system design. The ISOSEND0 Bit applies to all of the isochronous IN endpoints, IN-8 through IN-15. Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit ab3c81ff639fbee4ab32af84c809d283b773084a Author: Arjan van de Ven Date: Fri Jan 13 15:52:55 2006 +0100 [PATCH] USBATM: semaphore to mutex conversion This is the usbatm part of the Arjan, Jes and Ingo mass semaphore to mutex conversion, reworked to apply on top of the patches I just sent to you. This time, with correct attribution and signed-off lines. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit a3673d3cd1cdeec6b503ffa418ca2d5aeff82fd7 Author: Duncan Sands Date: Fri Jan 13 11:12:58 2006 +0100 [PATCH] USBATM: -EILSEQ workaround Don't throttle on -EILSEQ urb status if requested by a minidriver. It seems the ueagle modems are buggy, giving -EILSEQ when they have no data to send. The ueagle change will be sent separately by the ueagle guys. Patch by Matthieu Castet. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 9b0e54addf3ea8488c7b57166fb38feeb8ea28fd Author: Duncan Sands Date: Fri Jan 13 11:08:05 2006 +0100 [PATCH] USBATM: bump version numbers Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit e3fb2f641f421662ebda48763f2f03cb9bd29e82 Author: Duncan Sands Date: Fri Jan 13 11:06:46 2006 +0100 [PATCH] USBATM: handle urbs containing partial cells The receive logic has always assumed that urbs contain an integral number of ATM cells, which is a bit naughty, though it never caused any problems with bulk transfers. Isochronous urbs spank us soundly for this. Fixed thanks to this patch, mostly by Stanislaw Gruszka. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 80aae7a17afd21f7ba900dd566fb23a2444021f8 Author: Duncan Sands Date: Fri Jan 13 10:59:23 2006 +0100 [PATCH] USBATM: allow isochronous transfer While the usbatm core has had some support for using isoc urbs for some time, there was no way for users to turn it on. While use of isoc transfer should still be considered experimental, it now works well enough to let users turn it on. Minidrivers signal to the core that they want to use isoc transfer by setting the new UDSL_USE_ISOC flag. The speedtch minidriver gets a new module parameter enable_isoc (defaults to false), plus some logic that checks for the existence of an isoc receive endpoint (not all speedtouch modems have one). Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 6f7494759870ec6fbb066f7202c5585fe36fbe82 Author: Duncan Sands Date: Fri Jan 13 10:52:38 2006 +0100 [PATCH] USBATM: measure buffer size in bytes; force valid sizes Change the module parameters rcv_buf_size and snd_buf_size to specify buffer sizes in bytes rather than ATM cells. Since there is some danger that users may not notice this change, the parameters are renamed to rcv_buf_bytes etc. The transmit buffer needs to be a multiple of the ATM cell size in length, while the receive buffer should be a multiple of the endpoint maxpacket size (this wasn't enforced before, which causes trouble with isochronous transfers), so enforce these restrictions. Now that the usbatm probe method inspects the endpoint maxpacket size, minidriver bind routines need to set the correct alternate setting for the interface in their bind routine. This is the reason for the speedtch changes. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 227d77611b31df5d9afa572b984f73640f54d490 Author: Duncan Sands Date: Fri Jan 13 10:13:19 2006 +0100 [PATCH] USBATM: use dev_kfree_skb_any rather than dev_kfree_skb In one spot (usbatm_cancel_send) we were calling dev_kfree_skb with irqs disabled. This mistake is just too easy to make, so systematically use dev_kfree_skb_any rather than dev_kfree_skb. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 72ef8ab43f5a82e9e2dea247702bf433d6509f87 Author: Duncan Sands Date: Fri Jan 13 10:07:08 2006 +0100 [PATCH] USBATM: return correct error code when out of memory We weren't always returning -ENOMEM. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 0e42a627ec3d8defa0c43cff94b8f2080a070716 Author: Duncan Sands Date: Fri Jan 13 10:05:15 2006 +0100 [PATCH] USBATM: shutdown open connections when disconnected This patch causes vcc_release_async to be applied to any open vcc's when the modem is disconnected. This signals a socket shutdown, letting the socket user know that the game is up. I wrote this patch because of reports that pppd would keep connections open forever when the modem is disconnected. This patch does not fix that problem, but it's a step in the right direction. It doesn't help because the pppoatm module doesn't yet monitor state changes on the ATM socket, so simply never realises that the ATM connection has gone down (meaning it doesn't tell the ppp layer). But at least there is a socket state change now. Unfortunately this patch may create problems for those rare users like me who use routed IP or some other non-ppp connection method that goes via the ATM ARP daemon: the daemon is buggy, and with this patch will crash when the modem is disconnected. Users with a buggy atmarpd can simply restart it after disconnecting the modem. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 233c08e0ff303e659a9003d49b15608f59f08a64 Author: Duncan Sands Date: Fri Jan 13 09:48:36 2006 +0100 [PATCH] USBATM: xusbatm rewrite The xusbatm driver is for otherwise unsupported modems. All it does is grab hold of a user-specified set of interfaces - the generic usbatm core methods (hopefully) do the rest. As Aurelio Arroyo discovered when he tried to use xusbatm (big mistake!), the interface grabbing logic was completely borked. Here is a rewrite that works. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 9a734efec36c991a74610c6c81d28d4222e1c02b Author: Duncan Sands Date: Fri Jan 13 09:38:22 2006 +0100 [PATCH] USBATM: kzalloc conversion Convert kmalloc + memset to kzalloc. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 0dfcd3e4444e88285ee7c199d0cbda21551d8c5d Author: Duncan Sands Date: Fri Jan 13 09:36:20 2006 +0100 [PATCH] USBATM: remove .owner Remove the unused .owner field in struct usbatm_driver. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 35644b0cce0ab8735944dcbfceb19e9e65da9a3d Author: Duncan Sands Date: Tue Jan 17 11:16:13 2006 +0100 [PATCH] USBATM: add flags field Have minidrivers and the core signal special requirements using a flags field in struct usbatm_data. For the moment this is only used to replace the need_heavy_init bind parameter, but there'll be new flags in later patches. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 0ec3c7e856319b600311750d784262caa8ed94b9 Author: Duncan Sands Date: Tue Jan 17 11:15:13 2006 +0100 [PATCH] USBATM: trivial modifications Formatting, changes to variable names, comments, log level changes, printk rate limiting. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 7ce08c93e388922e25a96a7d9895784182e4c72c Author: Luca Risolia Date: Wed Jan 11 02:06:59 2006 +0000 [PATCH] USB: Add ET61X[12]51 Video4Linux2 driver This patch adds a Video4Linux2 driver giving support to ET61X151 and ET61X251 PC Camera Controllers made by Etoms Electronics. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit cd6fcc555fe278263880abdb93352ab205099db9 Author: Luca Risolia Date: Fri Jan 13 17:19:43 2006 +0000 [PATCH] USB: SN9C10x driver updates SN9C10x driver updates: - Use kzalloc() instead of kmalloc() - Move some macro definitions from sn9c102.h to sn9c102_core.c - Use vfree() and vmalloc_32() instead of rvfree() and rvmalloc() - Fix mmap() sys call - Documentation updates Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit e988fc8a56bb3f76624dd7b0fb13ae3eaccefa59 Author: Craig Shelley Date: Fri Jan 20 00:06:19 2006 +0000 [PATCH] USB: cp2101 Add new device IDs The attached patch adds four new device IDs for the CP2101 driver. Also 3 tab characters have been removed from device ID table. Signed-off-by: Craig Shelley Signed-off-by: Greg Kroah-Hartman commit 6cceb05f8df6e28ab90f44bdeba50d33928cdee5 Author: Denis MONTERRAT Date: Thu Jan 19 14:52:38 2006 +0100 [PATCH] USB: add new pl2303 device ids Signed-off-by: FALIPOU F Developer Signed-off-by: Greg Kroah-Hartman commit 838b42814c640ddcc378ba29cd31ffd64fb36bc5 Author: Martin Gingras Date: Mon Jan 9 12:35:41 2006 -0500 [PATCH] USB: pl2303: Added support for CA-42 clone cable Added support for CA-42 clone cable (www.ca-42.com) Signed-off-by: Martin Gingras Signed-off-by: Greg Kroah-Hartman commit a001100d8e4bf8ad98663d3ec1b91e4161267937 Author: Juergen Schindele Date: Mon Jan 9 08:51:48 2006 +0100 [PATCH] USB: touchkitusb.c (eGalax driver) fix This patch corrects the URB initialisation for transfers like this is done in other drivers too. Without this patch no data was transmitted on a PXA270 OHCI platform. May apply to others too. Signed-off-by: Juergen Schindele Signed-off-by: Greg Kroah-Hartman commit 5732ce8424527ec271e8fa43709948852aa3fc0a Author: David Hollis Date: Thu Jan 5 14:39:49 2006 -0500 [PATCH] USB: asix - Add device IDs for 0G0 Cable Ethernet Add device IDs for the 0G0 Cable Ethernet device as reported by Charles Lepple . Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman commit a966f3e7512084f916049579067f532908ba3a49 Author: Luca Risolia Date: Thu Jan 5 18:14:04 2006 +0000 [PATCH] USB: SN9C10x driver updates and bugfixes SN9C10x driver updates and bugfixes. Changes: + new, - removed, * cleanup, @ bugfix: @ fix poll() @ Remove bad get_ctrl()'s * Reduce ioctl stack usage * Remove final ";" from some macro definitions * Better support for SN9C103 + Add sn9c102_write_regs() + Add 0x0c45/0x602d to the list of SN9C10x based devices + Add support for OV7630 image sensors + Provide support for the built-in microphone interface of the SN9C103 + Documentation updates + Add 0x0c45/0x602e to the list of SN9C10x based devices Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit ec7dc8d254985dc4a31858c2c7c7029290e223dd Author: Alexandre Duret-Lutz Date: Mon Dec 26 23:04:24 2005 -0800 [PATCH] USB: usb-storage support for SONY DSC-T5 still camera I've been offered a nice Sony DSC-T5 digital camera, with a USB connection. Unfortunately it is not recognized by Linux 2.6.14.4's usb-storage. With the following change I'm able to mount and read my pictures: Signed-off-by: Phil Dibowitz commit 86067eead5a6c6fa413ef5cb59f7129f5ed80292 Author: Oliver Neukum Date: Sun Jan 8 12:39:13 2006 +0100 [PATCH] USB: fix oops in acm disconnect this fixes an oops with disconnection in acm. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 8e695cdbffe66f5d3142a363f47053be9f83a90d Author: Oliver Neukum Date: Sat Jan 7 21:35:20 2006 +0100 [PATCH] USB: cleanup of usblp this fixes -potential hang by disconnecting through usbfs -kzalloc -general cleanup -micro optimisation in interrupt handlers It compiles and I am printing. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit abb02fdf83f981f2511b3772db6e106845c70ad9 Author: Matthew Dharm Date: Fri Dec 30 19:06:53 2005 -0800 [PATCH] USB: usb-storage: Add support for Rio Karma This patch from Bob Copeland adds support for the Rio Karma portable digital audio player to the usb-storage driver. The only thing needed to support this device is a one-time (per plugin) init command which is sent to the device. Signed-off-by: Bob Copeland Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 8e2ce4f92a0f34e8c3316ec58fd6eb6aa282448e Author: Henk Date: Fri Dec 30 19:41:11 2005 +0100 [PATCH] drivers/usb/input/yealink.c: Cleanup device matching code This should fix things mentioned below: "I was curious why my firewall was loading a 'phone driver'. It turns out that the probing in the yealink driver is a little too assuming.. static struct usb_device_id usb_table [] = { { USB_INTERFACE_INFO(USB_CLASS_HID, 0, 0) }, { } }; So it picked up my UPS, and loaded the driver. Whilst no harm came, because it later checks the vendor/product IDs, this driver should probably be rewritten to only probe for the device IDs it actually knows about. Dave" Signed-off-by: Henk Vergonet Signed-off-by: Greg Kroah-Hartman commit 09c280a24650ff74e713742e94120fdf7765cda8 Author: Rui Santos Date: Mon Jan 9 13:12:40 2006 +0000 [PATCH] USB: ftdi: Two new ATIK based USB astronomical CCD cameras Documentation: Specify grayscale specification on ATIK-ATK16 and ATIK-ATK16HR comments. New: Add ProductID and VendorID for devices ATIK-ATK16C and ATIK-ATK16HRC. These devices are also USB Astronomical CCD cameras that work through an FTDI 245BM chip, share the same base hardware but, it has a colour CCD chip instead of a grayscale one. Signed-off-by: Rui Santos Signed-off-by: Greg Kroah-Hartman commit ce40d290c111c3d418ef444f82c349de134a0a74 Author: Wouter Paesen Date: Tue Jan 3 14:30:31 2006 +0100 [PATCH] USB: ftdi_sio: new PID for PCDJ DAC2 The attached patch adds a new PID for the ftdi_sio driver. It will enable support for PC-DJ's DAC-2 controller module (more information on http://www.pcdjhardware.com/DAC2.asp) Signed-off-by: Wouter Paesen Signed-off-by: Greg Kroah-Hartman commit a94b52ac84828e193d18c96c1334c9997b524a35 Author: Ian Abbott Date: Mon Jan 9 17:11:40 2006 +0000 [PATCH] USB: ftdi_sio: new IDs for Westrex devices This patch adds two new devices to the ftdi_sio driver's device ID table. The device IDs were supplied by Cory Lee to support two POS printers made by Westrex International (Model 777 and Model 8900F). Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 641adaaee18aacc4f4ba77850c2257373f1736d1 Author: Louis Nyffenegger Date: Thu Jan 5 17:20:37 2006 +0100 [PATCH] USB: new id for ftdi_sio.c and ftdi_sio.h this patch includes the Vendor Id for a optic fiber to USB device named TTUSB from thought Technology. It's just add the vendor Id to ftdi_sio.h and add the Vendor ID and model Id to table_combined. Signed-off-by: Louis Nyffenegger Signed-off-by: Greg Kroah-Hartman commit 2c2e4a2e07f4c16486dd2ac859eb9c558b1c9935 Author: Pete Zaitcev Date: Thu Jan 5 00:26:30 2006 -0800 [PATCH] USB: ub 05 Bulk reset For crying out loud, they have devices which do not like port resets. So, do what usb-storage does and try both bulk and port resets. We start with a port reset (which usb-storage does at the end of transport), then do a Bulk reset, then a port reset again. This seems to work for me. The code is getting dirtier and dirtier here, but I swear that I'll do something about it (see those two new XXX). Honest. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit b31f821c6dee6f3ecfca6b2583a6552538fb91bf Author: Pete Zaitcev Date: Thu Jan 5 00:14:02 2006 -0800 [PATCH] USB: ub 04 Loss of timer and a hang If SCSI commands are submitted while other commands are still processed, the dispatch loop turns, and we stop the work_timer. Then, if URB fails to complete, ub hangs until the device is unplugged. This does not happen often, becase we only allow one SCSI command per block device, but does happen (on multi-LUN devices, for example). The fix is to stop timer only when we actually going to change the state. The nicest code would be to have the timer stopped in URB callback, but this is impossible, because it can be called from inside a timer, through the urb_unlink. Then we get BUG in timer.c:cascade(). So, we do it a little dirtier. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 65b4fe553bf43018c06740f3d1f6caf42cf95924 Author: Pete Zaitcev Date: Wed Dec 28 14:22:17 2005 -0800 [PATCH] USB: ub 03 Oops with CFQ The blk_cleanup_queue does not necesserily destroy the queue. When we destroy the corresponding ub_dev, it may leave the queue spinlock pointer dangling. This patch moves spinlocks from ub_dev to static memory. The locking scheme is not changed. These spinlocks are still separate from the ub_lock. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit b6daf7f50836c8ed12d8b0ec0113e415f04e8530 Author: Andrew Morton Date: Tue Jan 24 17:42:24 2006 -0800 [PATCH] USB: fix ehci early handoff issues warning Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 401feafa621ba98ecaeed5db1a53ab878943c225 Author: David Brownell Date: Tue Jan 24 07:15:30 2006 -0800 [PATCH] USB: fix EHCI early handoff issues This moves the previously widely-used ehci-pci.c BIOS handoff code into the pci-quirks.c file, replacing the less widely used "early handoff" version that seems to cause problems lately. One notable change: the "early handoff" version always enabled an SMI IRQ ... and did so even if the pre-Linux code said it was not using EHCI (and not expecting EHCI SMIs). Looks like a goof in a workaround for some unknown BIOS version. This merged version only forcibly enables those IRQs when pre-Linux code says it's using EHCI. And now it always forces them off "just in case". Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit fad3aa1e8e2e4123a19b926fefd91ec63dd56497 Author: Nathan Scott Date: Wed Feb 1 12:14:52 2006 +1100 [XFS] Fix regression in xfs_buf_rele dealing with non-hashed buffers, as occur during log replay. Novell bug 145204, Fedora bug 177848. SGI-PV: 948860 SGI-Modid: xfs-linux-melb:xfs-kern:25064a Signed-off-by: Nathan Scott commit 3a69c7dc6f3d58aeb9ce5051fc7060d55e05c003 Author: Yingping Lu Date: Wed Feb 1 12:14:34 2006 +1100 [XFS] Interim solution for attribute insertion failure during file creation due to ENOSPC. The current solution removes the inode when the attribute insertion fails. Long term solution would be to make the inode creation and attribute insertion atomic. SGI-PV: 947610 SGI-Modid: xfs-linux-melb:xfs-kern:205193a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 7fb76aa07facce5cb9c8d26a0de09001a31eed0c Author: David S. Miller Date: Tue Jan 31 17:09:20 2006 -0800 [SUNGEM]: Unbreak Sun GEM chips. Revert: 40727198bfb2ce5842a6e8c7f89cf8a40ff7bf14 These PHY changes hang the sungem driver on startup with Sun chips on sparc64. Hopefully we can redo these changes in a way that doesn't break non-Apple systems. Signed-off-by: David S. Miller commit 3fa97c9db4f6f93f41f7a40d08872dbfd8dc907e Author: Andrew Morton Date: Tue Jan 31 16:34:26 2006 -0800 [PATCH] "Fix uidhash_lock <-> RXU deadlock" fix I get storms of warnings from local_bh_enable(). Better-tested patches, please. Cc: Ingo Molnar Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd1c1853e2742f4938b271dbe0cee735e2ffa3d9 Author: Linus Torvalds Date: Tue Jan 31 13:11:41 2006 -0800 Fix ipv4/igmp.c compile with gcc-4 and IP_MULTICAST Modern versions of gcc do not like case statements at the end of a block statement: you need at least an empty statement. Using just a "break;" is preferred for visual style. Signed-off-by: Linus Torvalds commit a5b3c86e4bfb5689d68932105d3fdd1477c9c281 Author: Jack Hammer Date: Tue Jan 31 13:17:55 2006 -0500 [SCSI] ServeRAID: prevent seeing DADSI devices A critical thing the ServeRAID driver MUST do is hide the physical DASDI devices from the OS. It does this by intercepting the INQUIRY commands. In recent 2.6.15 testing, I discovered this to be failing. The cause was the driver assuming that the INQUIRY response data was in a simple single buffer, when it was actually a 1 element scatter gather list. This patch makes ips always look at the correct data when examining an INQUIRY response. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit 2254c86db124a37057116ad20a8de7b8483b6f44 Author: Moore, Eric Date: Tue Jan 17 17:06:29 2006 -0700 [SCSI] fusion: add message sanity check This adds a sanity check in the interrupt routine insures incoming message frames are a valid message frames. The code for setting 0xdeadbeaf in the freed message frames, apparently was already submitted by Christoph in previous patch submission. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit a69ac3248513ff0fbbdd8f316136036b3b8067a9 Author: Moore, Eric Date: Tue Jan 17 17:06:26 2006 -0700 [SCSI] fusion: unloading the driver - only set asyn narrow for configured devices This patch inhibits sending spi negotiation parameters for non-configured devices from the slave_destroy function. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 335a94124470dd5be6c42378d1b7f7af9a80919e Author: Moore, Eric Date: Tue Jan 17 17:06:23 2006 -0700 [SCSI] fusion: unloading the driver results in panic - fix The ioc->alt_ioc->alt_ioc pointer is not getting cleared during driver unload time. This dangling pointer can result in panic in certain circumstances, such as error recovery, or firmware download in flashless environments. This only impacts dual functions controllers, such as 1030. Please apply. This patch also includes a small cosmetic name change for mpt_spi_log_info. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 23f236ed2748fca0bcba304f4f9e3eacda51e91c Author: Christoph Hellwig Date: Mon Jan 30 19:00:43 2006 +0100 [SCSI] mptsas: don't complain on bogus slave_alloc calls When people use the userspace scanning facilities on SAS hardware the LLDD gets bogus slave_alloc calls. Just fail those gracefully instead of printing a warning in mptsas and another one in the midlayer. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 9f63bb73eb52df43f46ce2284759709fc40f4f52 Author: Moore, Eric Date: Mon Jan 16 18:53:26 2006 -0700 [SCSI] fusion: add task managment response code info Adding verbose message returned from firmware when a task mangment request fails. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4ddce14e753fd4fe7445fa046a3aee155c2e48f4 Author: Christoph Hellwig Date: Tue Jan 17 13:44:29 2006 +0000 [SCSI] fusion: add MSI support On Mon, Jan 16, 2006 at 06:53:24PM -0700, Moore, Eric wrote: > Adding MSI support, and command line for enabling > it. By default, the command line option has MSI disabled. mpt_msi_enable is initialized to 0 implicitly, no need to do that. Also replace if (mpt_msi_enable == 1) tests with just if (mpt_msi_enable). Updated patch below: Signed-off-by: James Bottomley commit 7e55147fe3203b72e80186c45df9bf0fd6cd97c9 Author: Moore, Eric Date: Mon Jan 16 18:53:21 2006 -0700 [SCSI] fusion: overrun tape fix Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit ece50914d5ce5c238e07d644e58701c173c48b7d Author: Moore, Eric Date: Mon Jan 16 18:53:19 2006 -0700 [SCSI] fusion: add verbose messages for RAID actions A customer request to send raid asyn actions from firmware to the event syslog. This shows when raid volumes go degraded, or complete resync, or volumes created/deleted, etc. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 928496ac317cff0eaf70aef2d5039a2f66966247 Author: Moore, Eric Date: Mon Jan 16 18:53:16 2006 -0700 [SCSI] fusion: increase reply frame size from 0x40 to 0x50 bytes Increasing the reply frame size by 16 bytes, to be in sync with the other fusion drivers. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d66c7a0f46ce53f1252e03fe372e39dc2dfff1ea Author: Christoph Hellwig Date: Tue Jan 17 13:43:14 2006 +0000 [SCSI] fusion: setting timeouts in eh threads appropiatley for fc/sas/spi On Mon, Jan 16, 2006 at 06:53:13PM -0700, Moore, Eric wrote: > The task managment request timeout in the eh threads was set > for U320 timing, which is between 2-5 seconds. > This is too small for FC and SAS. > According to the firmware engineers, Fibre needs to be 40 seconds > and SAS needs to be 10 seconds. The timeout selection should probably be done in a little helper instead of duplicated in a few places. Updated patch below. Signed-off-by: James Bottomley commit 432b4c8b443af1b60cef7fcf90e8179cd8924f0a Author: Moore, Eric Date: Mon Jan 16 18:53:11 2006 -0700 [SCSI] fusion: mptsas, increase discovery timout to 300 seconds Increase the port enable timeout only for SAS from 30 to 300 seconds. A customer request for the handling large topologies. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d8e925dc8850c01e36e6b2acb08ed0fbdc38b9f1 Author: Moore, Eric Date: Mon Jan 16 18:53:06 2006 -0700 [SCSI] fusion: spi bus reset when driver loads This patch is for spi. This issues bus reset when driver loads. Handling cases when initator has negotiated for packetized, and target negotiated for non-packetized; effectly this bus reset is getting both target and initiator on the same sheet of music. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit eb221849540b7f4165c58b6c79d98b97ac902fdb Author: Hannes Reinecke Date: Mon Jan 30 16:10:31 2006 +0100 [SCSI] aic79xx: Fix timer handling Fix the timer handling in aic79xx to use the SCSI-ML provided handling instead of implementing our own. It also fixes a deadlock in the command recovery code. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit d60256b1b3ceb79cb06a5dd5e259b23bd27d4c61 Author: Hannes Reinecke Date: Tue Jan 24 10:45:35 2006 +0100 [SCSI] aic7xxx: update documentation This patch updates the documentation for aic7xxx and aic79xx with fixes from the adaptec driver. Signed-off-by: James Bottomley commit 3fb086126462c2de06dddaec58981d8827be100d Author: Hannes Reinecke Date: Tue Jan 24 10:44:38 2006 +0100 [SCSI] aic79xx: SLOWCRC fix This patch introduces the SLOWCRC handling for certain buggy chipsets. Signed-off-by: James Bottomley commit 53467e636b7beb350c307cc88323aae4676577f2 Author: Hannes Reinecke Date: Tue Jan 24 10:43:26 2006 +0100 [SCSI] aic79xx: sequencer fixes This patch updates the aic79xx sequencer with latest fixes from adaptec. The sequencer code now corresponds with adaptec version 2.0.15. Signed-off-by: James Bottomley commit 2628ed2b1aa3fd115bb8e14925e180e9ecd07055 Author: Hannes Reinecke Date: Tue Jan 24 10:41:45 2006 +0100 [SCSI] aic7xxx: Update aicasm This patchset updates aicasm code with the latest fixes from adaptec. Signed-off-by: James Bottomley commit 663e1aa12f9fc338fccee09f98d9f5bf68517f72 Author: James Bottomley Date: Sun Jan 29 12:10:24 2006 -0600 [SCSI] fusion: fix compile The prior fusion patches moved an invocation of a function, mptscsih_TMHandler(), static to mptscsih.c into mptsas.c Make the function unstatic, move the header to mptscsih.h and export it. Signed-off-by: James Bottomley commit fda4c2c8d0c9e22e3b9eeb6d75706d876af988f8 Author: Moore, Eric Date: Wed Jan 25 18:05:21 2006 -0700 [SCSI] fusion: bump version Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 3bc7bf1d1294642f87c4f7df04c048dafa38ad51 Author: Michael Reed Date: Wed Jan 25 18:05:18 2006 -0700 [SCSI] fusion: FC rport code fixes This fix's problems with recent fc submission regarding i/o being redirected to the wrong target. Signed-off-by: Michael Reed Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 79de278e86121cd4473c276409f834aee87f3195 Author: Moore, Eric Date: Wed Jan 25 18:05:15 2006 -0700 [SCSI] fusion: move sas persistent event handling over to the mptsas module This moves code intented for SAS from the generic mptscsih module over to the mptsas module. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 7d3eecf7b2195c64d26f7e7d105d00e5a6dd702e Author: Moore, Eric Date: Wed Jan 25 18:05:12 2006 -0700 [SCSI] fusion: target reset when drive is being removed The issuing of the target reset used in device hot removal case so the firmware queue is flushed out off outstanding commands. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c73787eecdbe4691d4e3f989052db8b552e1ac34 Author: Moore, Eric Date: Thu Jan 26 16:20:06 2006 -0700 [SCSI] fusion: add support for raid hot add/del support RAID event support. This will hot add and remove raid volumes when managment application creates and deletes the volumes. The driver is basically responding to firmware asyn events, and reporting the changes to the above layers. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d99ca4180fe44ae7f409fc73f1a09f270b8d458a Author: Moore, Eric Date: Thu Jan 26 16:20:02 2006 -0700 [SCSI] scsi_transport_sas.c: display port identifier This patch displays the port identifier on the folder attribute; located in the middle digit. /sys/class/sas_rphy/rphy-%x:%x:%x The port identifier is basically the unique identifier for each sas domain. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit adac1665234dd966990af846eccd20b7f4923279 Author: Ingo Molnar Date: Wed Jan 25 19:50:12 2006 +0100 [PATCH] rcu_torture_lock deadlock fix rcu_torture_lock is used in a softirq-unsafe manner, but it is also taken by rcu_torture_cb(), which may execute in softirq-context, resulting in potential deadlocks. The fix is to acquire rcu_torture_lock in a softirq-safe manner. With this fix applied, the rcu-torture code passes validation. Signed-off-by: Ingo Molnar Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit f6bc2666ed6696c40ef055e88ffef0b7657437a4 Author: Ingo Molnar Date: Thu Jan 26 01:42:11 2006 +0100 [PATCH] fix deadlock in drivers/pci/msi.c The lock validator caught another one: drivers/pci/msi.c is accessing &irq_desc[i].lock with interrupts enabled (!). The fix is to disable interrupts properly. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 4021cb279a532728c3208a16b9b09b0ca8016850 Author: Ingo Molnar Date: Wed Jan 25 15:23:07 2006 +0100 [PATCH] fix uidhash_lock <-> RCU deadlock RCU task-struct freeing can call free_uid(), which is taking uidhash_lock - while other users of uidhash_lock are softirq-unsafe. The fix is to always take the uidhash_spinlock in a softirq-safe manner. Signed-off-by: Ingo Molnar Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit 70b4d63e98fd93fb9742708a54f872cba24e0fea Author: Ingo Molnar Date: Mon Jan 30 20:24:38 2006 +0100 [PATCH] Fix boot-time slowdown for measure_migration_cost This reduces the amount of time the migration cost calculations cost during bootup. Based on numbers by Tony Luck . Signed-off-by: Ingo Molnar commit 951069e311a2a931bf7c9d838db860f90bf14c45 Author: Linus Torvalds Date: Tue Jan 31 10:16:55 2006 -0800 Don't try to "validate" a non-existing timeval. settime() with a NULL timeval is silly but legal. Noticed by Dave Jones Signed-off-by: Linus Torvalds commit c6f0d75a2defe8c7d8bf9f78de891cedc46b4b3e Author: Daniel Drake Date: Sat Jan 21 19:35:34 2006 +0000 [PATCH] Clarify help text of SKGE/SK98LIN/SKY2 Some users have commented that it is unclear which driver they should be using for their Marvell/SysKonnect network adapter, and which ones are/aren't interchangable. This patch attempts to reduce the confusion. Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit fddfdeafa8396f85c666bfc5e1e920eb535514cf Author: Jens Axboe Date: Tue Jan 31 15:24:34 2006 +0100 [BLOCK] A few kerneldoc fixups Signed-off-by: Jens Axboe commit b8e4d89357fc434618a59c1047cac72641191805 Author: Bob Moore Date: Fri Jan 27 16:43:00 2006 -0500 [ACPI] ACPICA 20060127 Implemented support in the Resource Manager to allow unresolved namestring references within resource package objects for the _PRT method. This support is in addition to the previously implemented unresolved reference support within the AML parser. If the interpreter slack mode is enabled (true on Linux unless acpi=strict), these unresolved references will be passed through to the caller as a NULL package entry. http://bugzilla.kernel.org/show_bug.cgi?id=5741 Implemented and deployed new macros and functions for error and warning messages across the subsystem. These macros are simpler and generate less code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. Implemented the acpi_cpu_flags type to simplify host OS integration of the Acquire/Release Lock OSL interfaces. Suggested by Steven Rostedt and Andrew Morton. Fixed a problem where Alias ASL operators are sometimes not correctly resolved. causing AE_AML_INTERNAL http://bugzilla.kernel.org/show_bug.cgi?id=5189 http://bugzilla.kernel.org/show_bug.cgi?id=5674 Fixed several problems with the implementation of the ConcatenateResTemplate ASL operator. As per the ACPI specification, zero length buffers are now treated as a single EndTag. One-length buffers always cause a fatal exception. Non-zero length buffers that do not end with a full 2-byte EndTag cause a fatal exception. Fixed a possible structure overwrite in the AcpiGetObjectInfo external interface. (With assistance from Thomas Renninger) Signed-off-by: Bob Moore Signed-off-by: Len Brown commit 6dea93477c3377cf4199fd37cc3fb11071987ae4 Author: Ben Collins Date: Tue Jan 31 01:31:13 2006 -0500 Input: hiddev - fix off-by-one for num_values in uref_multi requests Found this when working with a HAPP UGCI device. It has a usage with 7 indexes. I could read them all one at a time, but using a multiref it would only allow me to read the first 6. The patch below fixed it. Signed-off-by: Ben Collins Signed-off-by: Dmitry Torokhov commit 97d4ebfe7946bc9b89791c932a15c990a24aa94d Author: Dmitry Torokhov Date: Tue Jan 31 01:31:07 2006 -0500 Input: iforce - fix detection of USB devices Recent conversion to wait_event_interruptible_timeout() caused USB detection routine erroneously report timeouts for perfectly working devices. Signed-off-by: Dmitry Torokhov commit 2c74088e4104a2a82bd773f79ae0344c22eceb8c Author: Baruch Even Date: Mon Jan 30 20:54:39 2006 -0800 [TCP] H-TCP: Fix accounting This fixes the accounting in H-TCP, the ccount variable is also adjusted a few lines above this one. This line was not supposed to be there and wasn't there in the patches originally submitted, the four patches submitted were merged to one and in that merge the bug was introduced. Signed-Off-By: Baruch Even Signed-off-by: David S. Miller commit c5d90e000437a463440c1fe039011a02583a9ee5 Author: Dave Jones Date: Mon Jan 30 20:27:17 2006 -0800 [IPV4] igmp: remove pointless printk This is easily triggerable by sending bogus packets, allowing a malicious user to flood remote logs. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 22f01da398069e823e79f1209518f0913e05fc47 Author: David S. Miller Date: Mon Jan 30 16:46:24 2006 -0800 [SPARC]: Fix compile failures in math-emu. Kill debugging default switch cases in do_one_mathemu(). That case is handled properly already and gcc hates the empty statement that results when the debug code is disabled. Pointed out by kaffe. Signed-off-by: David S. Miller commit fd9cfdd11be3b37b5c919b64b43990f14a1587bd Author: Roland Dreier Date: Mon Jan 30 16:45:11 2006 -0800 IB/mthca: Semaphore to mutex conversions Convert semaphores to mutexes in mthca. Leave firmware command interface poll_sem and event_sem as semaphores. Signed-off-by: Roland Dreier commit e3aa31c517cb6fd0a3d8b23e6a7e71a6aafc2393 Author: Michael S. Tsirkin Date: Mon Jan 30 16:22:29 2006 -0800 IB/mthca: Don't cancel commands on a signal We have run into the following problem: if a task receives a signal while in the process of e.g. destroying a resource (which could be because the relevant file was closed) mthca could bail out from trying to take a command interface semaphore without performing the appropriate command to tell hardware that the resource is being destroyed. As a result we see messages like ib_mthca 0000:04:00.0: HW2SW_CQ failed (-4) In this case, hardware could access the resource after the memory has been freed, possibly causing memory corruption. A simple solution is to replace down_interruptible() by down() in command interface activation. Signed-off-by: Michael S. Tsirkin [ It's also not safe to bail out on multicast table operations, since they may be invoked on the cleanup path too. So use down() for mcg_table.sem too. ] Signed-off-by: Roland Dreier commit e2c2fc2c8f3750e1f7ffbb3ac2b885a49416110c Author: Vlad Yasevich Date: Mon Jan 30 16:00:40 2006 -0800 [SCTP]: heartbeats exceed maximum retransmssion limit The number of HEARTBEAT chunks that an association may transmit is limited by Association.Max.Retrans count; however, the code allows us to send one extra heartbeat. This patch limits the number of heartbeats to the maximum count. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 81845c21dc1ec7ce2bf12845dbc01e4880f9ea9a Author: Vlad Yasevich Date: Mon Jan 30 15:59:54 2006 -0800 [SCTP]: correct the number of INIT retransmissions We currently count the initial INIT/COOKIE_ECHO chunk toward the retransmit count and thus sends a total of sctp_max_retrans_init chunks. The correct behavior is to retransmit the chunk sctp_max_retrans_init in addition to sending the original. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 8e9e5f4f5eb1d44ddabfd1ddea4ca4e4244a9ffb Author: Ingo Molnar Date: Mon Jan 30 15:21:21 2006 -0800 IB/srp: Semaphore to mutex conversion Convert srp_host->target_mutex from a semaphore to a mutex. Signed-off-by: Ingo Molnar Signed-off-by: Roland Dreier commit cbd2981a97cb628431a987a8abd1731c74bcc32e Author: Michael S. Tsirkin Date: Mon Jan 30 15:20:35 2006 -0800 IB/mthca: Relax UAR size check There are some cards around that have UAR (user access region) size different from 8 MB. Relax our sanity check to make sure that the PCI BAR is big enough to access the UAR size reported by the device firmware instead. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ae7ec20582de0867abda66ad06d468ce12b231f2 Author: Adrian Bunk Date: Mon Jan 30 19:23:17 2006 +0100 [PATCH] PCMCIA=m, HOSTAP_CS=y is not a legal configuration CONFIG_PCMCIA=m, CONFIG_HOSTAP_CS=y doesn't compile. Reported by "Gabriel C." . Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 1a1fedf4d3e27c920b8de92a429011fb11c89028 Author: Larry Finger Date: Mon Jan 30 09:42:24 2006 -0600 [PATCH] Typo corrections for ieee80211 This patch, generated against 2.6.16-rc1-git4, corrects two typographical errors in ieee80211_rx.c and adds the facility name to a bare printk. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 489f4458cd98592d0bc527d4a5ac1c1393aaf254 Author: Zhu Yi Date: Tue Jan 24 16:37:41 2006 +0800 [PATCH] ipw2200: Fix a variable referenced after kfree() bug Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 17ed081deed479702ee4896f6de40aa32ecd6644 Author: Zhu Yi Date: Tue Jan 24 16:36:31 2006 +0800 [PATCH] ipw2200: Fix sw_reset doesn't clear the static essid problem Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f73cb83f1ace1a4bd3c57ae33f5c6c8bac9c0946 Author: Zhu Yi Date: Tue Jan 24 16:36:22 2006 +0800 [PATCH] ipw2200: Fix "iwspy ethx off" causes kernel panic Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b6e4da72342cb075a2742c79e693c8edc1d55389 Author: Zhu Yi Date: Tue Jan 24 13:49:32 2006 +0800 [PATCH] ipw2100: Fix setting txpower failed problem The ipw2100 driver misunderstood the parameter of txpower. Tx Power off means turn off the radio, but the driver interpret it as "can't set txpower". So when getting the txpower, it sets disabled=1 to the iwconifg tool in managed mode. And the tool will display "Tx Power off" when disabled=1. Now, in managed mode, iwconfig will not show "TX Power" if the radio is not switched off. It will only display "Tx Power off" only if the radio is killed. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3c5eca542d19cd50e9a028dc32897cd698dcc33e Author: Zhu Yi Date: Tue Jan 24 13:49:26 2006 +0800 [PATCH] ipw2100: Fix a gcc compile warning drivers/net/wireless/ipw2100.c:2236: warning: `ipw2100_match_buf' defined but not used Cc: Yi Zhu Cc: James Ketrenos Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 48bdc8ec4aa2ca04e339bf5c3a47677d8dd00bb6 Author: Jens Axboe Date: Mon Jan 30 16:09:35 2006 +0100 [LIBATA] Blacklist certain Maxtor firmware revisions for FUA support It looks like they are either discarding or corrupting data when the FUA command is used, bad. Signed-off-by: Jens Axboe commit cddfc12e2513a4229bad0d05fde2d40a75c3e197 Author: David S. Miller Date: Mon Jan 30 01:31:09 2006 -0800 [SPARC64]: Kill compat_sys_clock_settime sign extension stub. It's wrong and totally unneeded. Signed-off-by: David S. Miller commit 275c6ce25d679a4c0981a9a259e60e732a123cc6 Author: Dmitry Torokhov Date: Sun Jan 29 21:52:39 2006 -0500 Input: a3d - convert to dynamic input_dev allocation Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov commit 4d462b9e2372f9f5a885f8b7e1597fe7412347fd Author: Dmitry Torokhov Date: Sun Jan 29 21:52:26 2006 -0500 Input: tmdc - handle errors from input_register_device() Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov commit ab52cd66ae4c3e097811b6c370de7fc057959419 Author: Dmitry Torokhov Date: Sun Jan 29 21:52:18 2006 -0500 Input: turbografx - handle errors from input_register_device() Also tgfx_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov commit 77fc46ca5b331df3fc0ffef24012ba0d51d601b3 Author: Dmitry Torokhov Date: Sun Jan 29 21:52:11 2006 -0500 Input: gamecon - handle errors from input_register_device() Also gc_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov commit c7fd018d75cae2b0c1cf03003b38f4c76e3df826 Author: Dmitry Torokhov Date: Sun Jan 29 21:52:04 2006 -0500 Input: gamecon - fix crash when accessing device Signed-off-by: Dmitry Torokhov commit 07cf779c0098fd0007d2348e1cf948cc07bfe096 Author: Dmitry Torokhov Date: Sun Jan 29 21:51:56 2006 -0500 Input: sidewinder - handle errors from input_register_device() Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov commit 847fd5fbf70e82baf042556968f885066489b164 Author: Zinx Verituse Date: Sun Jan 29 21:51:51 2006 -0500 Input: sidewinder - fix an oops Dynalloc conversion strikes again... Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 2e9d675ed24bcefd0d99b531a9d7faf794b762c8 Author: Dmitry Torokhov Date: Sun Jan 29 21:51:36 2006 -0500 Input: db9 - handle errors from input_register_device() Also db9_remove shouldn't be marked __exit as it is also called from __init code. Signed-off-by: Dmitry Torokhov commit 84c61896bd756a440c54be07b6e97ad230f31a16 Author: Dmitry Torokhov Date: Sun Jan 29 21:51:31 2006 -0500 Input: db9 - fix possible crash with Saturn gamepads Signed-off-by: Dmitry Torokhov commit 0399addd71565b27eae27821fa04dad44f8644fe Author: Dmitry Torokhov Date: Sun Jan 29 21:51:21 2006 -0500 Input: grip - handle errors from input_register_device() Also set .owner in driver structure so we'll have a link between module and driver in sysfs. Signed-off-by: Dmitry Torokhov commit 3575c3410071dc778d2d9c6002493a5dce73ec0b Author: Dmitry Torokhov Date: Sun Jan 29 21:51:16 2006 -0500 Input: grip - fix crash when accessing device Signed-off-by: Dmitry Torokhov commit ffc6b529e8c46c73827008c7406f43482d71beed Author: Adrian Bunk Date: Sun Jan 29 21:51:07 2006 -0500 Input: make needlessly global code static Signed-off-by: Adrian Bunk Signed-off-by: Dmitry Torokhov commit 74570d413cbb5cede06a0183a91d3006f134bf6b Author: Kimball Murray Date: Sun Jan 29 21:50:59 2006 -0500 Input: mousedev - fix memory leak Apparently, "while true; do cat /dev/input/mice; done" causes an OOM in a short amount of time. Funny that nobody noticed, it actually is very easy to trigger just by switching between VT1 and VT7... Signed-off-by: Pete Zaitcev Signed-off-by: Dmitry Torokhov commit 5ae08f80ec5b2b08dd2f76a166140dd156fb31a1 Author: Alexey Dobriyan Date: Sun Jan 29 21:50:52 2006 -0500 Input: iforce - do not return ENOMEM upon successful allocation Signed-off-by: Alexey Dobriyan Signed-off-by: Dmitry Torokhov commit a3f3f3176686ada02d9eb5e4a6d7dff1ee13396c Author: Dmitry Torokhov Date: Sun Jan 29 21:50:46 2006 -0500 Input: psmouse - set name for Genius mice Signed-off-by: Dmitry Torokhov commit 01387959022def72f95f4bc1341aa69e32a06b30 Author: Alessandro Zummo Date: Sun Jan 29 21:50:40 2006 -0500 Input: add ixp4xx beeper driver This is a driver for beeper found in LinkSys NSLU2 boxes. It should work on any ixp4xx based platform. Signed-off-by: Alessandro Zummo Signed-off-by: Dmitry Torokhov commit 9220a2d0daa1e6782f02d47303340d7b5ca62ac0 Author: Jeff Garzik Date: Sun Jan 29 12:40:57 2006 -0500 [libata ahci] add another JMicron pci id commit 1341c939222f4d1cc8d9eb2b794f26f089fe0a61 Author: Sumant Patro Date: Wed Jan 25 12:02:40 2006 -0800 [SCSI] megaraid_sas: new template defined to represent each type of controllers This patch defines a new template to represent each type of controllers (identified by the processor used). The template has members that is set with appropriate values during driver initialisation. This change is done to support new controllers with minimal change to existing code. In future, for a new controller support, a template will be declared and its members initialised appropriately. Signed-off-by: Sumant Patro Rejections fixed and Signed-off-by: James Bottomley commit cb59aa6a7ca1ae40fd436c45dff568a83f3fab2f Author: Sumant Patro Date: Wed Jan 25 11:53:25 2006 -0800 [SCSI] megaraid_sas: cleanup queue command path This patch (originally submitted by Christoph Hellwig) removes code duplication in megasas_build_cmd. It also defines MEGASAS_IOC_FIRMWARE32 to allow 64 bit compiled applications to work. Signed-off-by: Sumant Patro Rejections fixed and Signed-off-by: James Bottomley commit bd12097c7415c13aff53aed473eec92acd15712a Author: Jeff Garzik Date: Sun Jan 29 02:47:03 2006 -0500 [libata ahci] Isolate Intel-ism, add JMicron JMB360 support Isolate some PCI config register bitbanging to Intel hardware, as it should have been all along. Add support for JMicron JMB360. commit 14e54cc391e22bd564993583464577e4e34a2701 Author: Catalin Marinas Date: Sat Jan 28 20:54:50 2006 +0000 [ARM] 3289/1: Enable the LCD support for Integrator/CP Patch from Catalin Marinas The LCD displays were no longer working with Integrator/CP after some changes to the setup code. This patch re-enables them. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 1877c9ea66a29563987f22d0a86c66f438a87ce2 Author: Steve French Date: Fri Jan 27 18:36:11 2006 -0800 [CIFS] Remove compiler warning Signed-off-by: Steve French commit eb9bdaa3f3b9d30d09bcad47037216aa39639b8e Author: Steve French Date: Fri Jan 27 15:11:47 2006 -0800 Signed-off-by: Steve French commit 4a99ac3a9ee7e1b90ebc3ddbb44db75eef5c41e6 Author: Zhu Yi Date: Thu Jan 19 16:21:19 2006 +0800 [PATCH] ieee80211: Fix A band min and max channel definitions Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 55cd94aa1df8e575ab3236641d29d63ecdde5012 Author: Zhu Yi Date: Thu Jan 19 16:20:59 2006 +0800 [PATCH] ieee80211: Fix iwlist scan can only show about 20 APs Limit the amount of output given to iwlist scan. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b6daa25d653f23252b340cbd7d2153d0b338e44c Author: Zhu Yi Date: Thu Jan 19 16:20:42 2006 +0800 [PATCH] ieee80211: Fix problem with not decrypting broadcast packets The code for pulling the key to use for decrypt was correctly using the host_mc_decrypt flag. The code that actually decrypted, however, was based on host_decrypt. This patch changes this behavior. Signed-off-by: Etay Bogner Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4f95af5bb546a9e7f46ed10f5e0dbe1e42a77884 Author: Valdis.Kletnieks@vt.edu Date: Thu Jan 19 02:07:47 2006 -0500 [PATCH] orinoco_cs: tweak Vcc debugging messages The current orinoco_cs.c can issue the exact same error message for 2 different tests that can fail. Alter them so we can tell which one of the two failed. Signed-off-by: Valdis Kletnieks Signed-off-by: John W. Linville commit c0672860199ac009af7cf198a134ee7a4c3a9bb3 Author: Thomas Renninger Date: Fri Jan 27 16:15:26 2006 +0100 [CPUFREQ] Get rid of userspace policy struct, make userspace gov _PPC safe. Userspace governor need not to hold it's own cpufreq_policy, better make use of the global core policy. Also fixes a bug in case of frequency changes via _PPC. Old min/max values have wrongly been passed to __cpufreq_driver_target() (kind of buffered) and when max freq was available again, only the old max(normally lowest freq) was still active. Signed-off-by: Thomas Renninger Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones cpufreq_userspace.c | 53 +++++++++++++++++++++++++++------------------------- 1 files changed, 28 insertions(+), 25 deletions(-) commit 6651a5c3839517685c601e44979f19de8b6249c3 Author: Dale Farnsworth Date: Fri Jan 27 01:05:51 2006 -0700 [PATCH] mv643xx_eth: Fix for building as a module Enable mv643xx_eth driver to work when built as a module on mv64x60-based embedded systems. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit b4de9051a98543f121d8dfbf32dd9d5999fb3896 Author: Dale Farnsworth Date: Fri Jan 27 01:04:43 2006 -0700 [PATCH] mv643xx_eth: Whitespace cleanup Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 12ad74f88f6a2276901d416f7533f0a115ba6a15 Author: Paolo Galtieri Date: Fri Jan 27 01:03:38 2006 -0700 [PATCH] mv643xx_eth: Update dev->last_rx on packet receive Update dev->last_rx on packet receive This fix corrects errors seen during configuration of the bonding driver. Signed-off-by: Paolo Galtieri Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c7cd9014e6ea620bf9e1b52a22fadd7618b53276 Author: Dale Farnsworth Date: Fri Jan 27 01:02:05 2006 -0700 [PATCH] mv643xx_eth: Fix spinlock recursion bug This patch eliminates a spinlock recursion bug introduced recently. Since eth_port_send() is always called with the lock held, we simply remove the locking inside the function itself. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 6fe8f479d02e47c80f816b2b9f5d3996ebfe6af6 Author: Dave Jones Date: Thu Jan 26 22:40:40 2006 -0800 [X86] Add new Intel cache descriptors. From http://www.intel.com/design/xeon/applnots/24161830.pdf 16MB of 16-way assoc 64 byte per cacheline L3 cache anyone? Yum. Signed-off-by: Dave Jones commit efd51b5c6798d103e3aa683464aebb2019b62119 Author: Ananda Raju Date: Thu Jan 19 14:11:54 2006 -0500 [PATCH] s2io: scatter-gather fix There is a problem with fragmented skb in s2io driver version 2.0.9.4 available in 2.6.16-rc1 kernel. The adapter will fail to transmit if any scatter-gather skb arrives. This patch provides fix for the above described problem. Signed-off-by: Ananda Raju Signed-off-by: Jeff Garzik commit c35ca399e09828f3f6b40c0007a95a6582d90347 Author: Stephen Hemminger Date: Fri Jan 20 21:13:17 2006 -0800 [PATCH] b44: fix laptop carrier detect On my laptop, the b44 device is created and the carrier state defaults to ON when created by alloc_etherdev. This means tools like NetworkManager see the carrier as On and try and bring the device up. The correct thing to do is mark the carrier as Off when device is created. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6f9d47220eb2d1b17a0a3ecaf1b564ff95b8393d Author: Eric Sesterhenn Date: Fri Jan 20 23:32:56 2006 +0300 [PATCH] acenic: fix checking of read_eeprom_byte() return values tmp in ace_init is u32 thus rendering read_eeprom_byte() return values checks useless. Signed-off-by: Eric Sesterhenn Signed-off-by: Alexey Dobriyan Signed-off-by: Jeff Garzik commit 6a986ce45d45b099ddf676c340267765e76db91e Author: Eric Sesterhenn Date: Fri Jan 20 23:30:01 2006 +0300 [PATCH] bonding: fix ->get_settings error checking Since get_settings() returns a signed int and it gets checked for < 0 to catch an error, res should be a signed int too. Signed-off-by: Eric Sesterhenn Signed-off-by: Alexey Dobriyan Signed-off-by: Jeff Garzik commit d4ec6c7cc9a15a7a529719bc3b84f46812f9842e Author: Len Brown Date: Thu Jan 26 17:23:38 2006 -0500 [ACPI] remove "Resource isn't an IRQ" warning In the case where a (broken) BIOS gives us a blank _CRS for a PCI Interrupt Link Device, the acpi_walk_resources() will not terminate, but will then give the callback the resource end tag. Ignore the end tag. Signed-off-by: Len Brown commit 61d67f2e07d96d20d86135792ca591c491939c27 Author: Prarit Bhargava Date: Wed Jan 25 18:51:14 2006 -0500 [IA64-SGI] Add PROM feature set for device flush list Introduce PRF_DEVICE_FLUSH_LIST flag for older PROMs. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit bb1d1073a10fdc8547e3eb821ee2488260094b39 Author: brking@us.ibm.com Date: Mon Jan 23 15:03:22 2006 -0600 [SCSI] Prevent scsi_execute_async from guessing cdb length When the scsi_execute_async interface was added it ended up reducing the flexibility of userspace to send arbitrary scsi commands through sg using SG_IO. The SG_IO interface allows userspace to specify the CDB length. This is now ignored in scsi_execute_async and it is guessed using the COMMAND_SIZE macro, which is not always correct, particularly for vendor specific commands. This patch adds a cmd_len parameter to the scsi_execute_async interface to allow the caller to specify the length of the CDB. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 0961dd0d217d072df736d964f47c2b6600931e19 Author: Thomas Renninger Date: Thu Jan 26 18:46:33 2006 +0100 [CPUFREQ] _PPC frequency change issues BIOS might change frequency behind our back when BIOS changes allowed frequencies via _PPC. In this case cpufreq core got out of sync. Ask driver for current freq and notify governors about a change Signed-off-by: Thomas Renninger Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones commit c70ca00f77eb1bb69c5a2d029b3a911bc88eac1b Author: Ben Collins Date: Wed Jan 18 23:45:39 2006 -0800 [CPUFREQ] p4-clockmod: Workaround for CPU's with N60 errata Ignore clock frequencies below 2Ghz for CPU's detected with N60 errata bug. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 7efb83002bc20c5c72151d51468593834b510d71 Author: George G. Davis Date: Thu Jan 26 15:21:28 2006 +0000 [ARM] 3269/1: Add ARMv6 MT_NONSHARED_DEVICE mem_types[] index Patch from George G. Davis This Freescale Semiconductor, Inc. contributed patch adds mem_types[] support for ARMv6 non-shared device memory region attributes. This implementation provides support for only first level section mapped non-shared devices. Second level non-shared device mappings are not yet supported. Signed-off-by: George G. Davis Signed-off-by: Russell King commit 0367a8d37af6028b64127ac70922717575b81113 Author: Lucas Correia Villa Real Date: Thu Jan 26 15:20:50 2006 +0000 [ARM] 3266/1: S3C2400 - adds macro S3C24XX Patch from Lucas Correia Villa Real This patch defines S3C2400 memory map and adds a S3C24XX macro for common resources between S3C2400, S3C2410 and S3C2440 cpus. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c43e6f027de1092678980e9e2494a6f9b051b93f Author: Russell King Date: Thu Jan 26 14:12:06 2006 +0000 [ARM] amba-clcd: Allow RGB555 and RGB565 with 16bpp Some folk want to use RGB555 rather tahn RGB565 with amba-clcd. Allow amba-clcd to accept either pixel format. Signed-off-by: Russell King commit 15084a4a63bc300c18b28a8a9afac870c552abce Author: Jack Hammer Date: Tue Jan 24 14:43:41 2006 -0500 [SCSI] ips soft lockup during reset/initialization Resetting the adapter causes the ServeRAID driver to exceed the max time allowed by the softlock watchdog. Resetting the hardware can easily require 30 or more seconds. To avoid the "BUG: soft lockup detected on CPU#0!" result, this patch replaces the mdelay() calls in the initialization/reset routines with msleep(). Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit 77427f514f88143bfef41ba8c1e624bc45f42297 Author: andrew.vasquez@qlogic.com Date: Fri Jan 20 14:53:25 2006 -0800 [SCSI] qla2xxx: Drop legacy 'bypass lun scan for tape device' code. Internal lun discovery has been removed since fc_transport integration. Short-circuiting for tape-devices in qla2x00_update_fcport() could inadvertently result in a blocked rport timing-out and its targets being reaped. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 052c40c83b4ca37be226112049b60097cb9961e1 Author: andrew.vasquez@qlogic.com Date: Fri Jan 20 14:53:19 2006 -0800 [SCSI] qla2xxx: Correct issue where the rport's upcall was not being made after relogin. A target can LOGO an initiator at any time (i.e. during I/O, due to a controller hicup, or as a simple authentication mechanism after an initial CDB command), when this occurs, the driver attempts to relogin (PLOGI) to the device via the DPC thread. Add code to make the appropriate upcall to the FC transport layer (fc_remote_port_add()) upon successful completion of the PLOGI. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit d97994dc1fddcbb8212b745d9c9c9ce96262155c Author: andrew.vasquez@qlogic.com Date: Fri Jan 20 14:53:13 2006 -0800 [SCSI] qla2xxx: Correct synchronization issues during rport addition/deletion. The driver can typically detect port-loss during an interrupt context (i.e. via interrogation of a status IOCB's completion status [CS_PORT_LOGGED_OUT]. Due to the calling requirements of the fc_rport APIs, the driver would defer removal of the device to the default workqueue. If the work-item was preceded by an event which caused the port to obtain visibility (relogin successful, target re-logged into the topology), deferred removal could inadvertently drop the rport. The code also no longer defers removal via the default workqueue, instead opting for use of the driver's own DPC thread. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1d12d98d284665c37b75b9538916b5fbb8fcde37 Author: Guennadi Liakhovetski Date: Fri Jan 20 01:05:00 2006 +0100 [SCSI] dc395x: "fix" virt_addr calculation on AUTO_REQSENSE The patch below "fixes" calculation of the virt_addr for the AUTO_REQSENSE case. I put "fixes" in quotes because the real fix would be to completely remove it, but that's beyond the scope of this patch. Signed-off-by: Guennadi Liakhovetski Signed-off-by: James Bottomley commit 2b541f8f77fd339e4c5c5cbe8549b52445012704 Author: Dave C Boutcher Date: Thu Jan 19 13:34:44 2006 -0600 [SCSI] ibmvscsi: handle re-enable firmware message New versions of the Power5 firmware can send a "re-enable" message to the virtual scsi adapter. This fix makes us handle the message correctly. Without it, the driver goes catatonic and the system crashes unpleasantly. Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley commit 2dbb04c65561122cc53b22dbea9aa59f9609215b Author: Jes Sorensen Date: Mon Jan 16 11:49:29 2006 -0500 [SCSI] qla1280: remove < 2.6.0 support Remove support for kernels older than 2.6.0. Signed-off-by: Jes Sorensen Signed-off-by: James Bottomley commit 339363c4c6fe01043c51e7d6e9fbeb8feee00841 Author: Dave Airlie Date: Thu Jan 26 08:32:14 2006 +1100 drm: Fixes sparse warnings in via_dmablit.c Fixes the following sparse warnings: drivers/char/drm/via_dmablit.c:111:35: warning: Using plain integer as NULL pointer drivers/char/drm/via_dmablit.c:584:23: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Dave Airlie commit dfcd77d16b5745fbfea7d5636f15fc80cc05fef8 Author: Tetsuo Takata Date: Wed Jan 25 11:12:40 2006 +0100 [SCSI] Remove host template ordered_flush variable After the recent overhaul of the block layer the variable "ordered_flush" is no longer used. Signed-off-by: Tetsuo Takata Signed-off-by: Jens Axboe commit de227f5f32775d86e5c780a7cffdd2e08574f7fb Author: Dave Airlie Date: Wed Jan 25 15:31:43 2006 +1100 drm: i915 patches from Tungsten Graphics Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation (Tungsten Graphics) From: Alan Hourihane Signed-off-by: Dave Airlie commit 17cbbafe8e82bde4258e407ce043b61f4f9a350f Author: Steve French Date: Tue Jan 24 20:26:48 2006 -0800 [CIFS] Make cifs default wsize match what we actually want to send (52K typically - header + 13 pages). Forgetting to set wsize on the mount command costs more than 10% on large write (can be much more) so this makes a saner default. We still shrink this default smaller if server can not support it. Signed-off-by: Steve French commit 507d256bae9eef7acd5049af6e3f67c24904a1e4 Author: Dave Airlie Date: Wed Jan 25 14:58:58 2006 +1100 drm: ati_pcigart: simplify page_count manipulations From: Nick Piggin Allocate a compound page for the user mapping instead of tweaking the page refcounts. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit f1e5c03d34c39394781ae13543cd3355976e4812 Author: Dave Airlie Date: Wed Jan 25 14:54:15 2006 +1100 drm: use NULL instead of 0 From: Randy Dunlap Use NULL instead of 0 (sparse warnings): drivers/char/drm/ati_pcigart.c:64:10: warning: Using plain integer as NULL pointer drivers/char/drm/ati_pcigart.c:130:21: warning: Using plain integer as NULL pointer drivers/char/drm/ati_pcigart.c:171:14: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap Signed-off-by: Dave Airlie commit 2fed3bd7436e8988980989493c16b4983be1a800 Author: Dave Airlie Date: Wed Jan 25 14:52:43 2006 +1100 drm: add X600 PCI IDs From: Brice Goglin Now that Xorg 6.9/7.0 has been released, DRI is supported on more Radeon cards without ATI proprietary drivers. I got my X300 to work without problem. But, another Radeon X600 required to add its PCI ids to the Radeon driver. Patch is attached. I can't be sure about the "CHIP_RV350", I copied it from the X300 entry (from http://dri.freedesktop.org/wiki/ATIRadeon, X600 is a rv380 chip while X300 is a rv370). But, at least it works now. Signed-off-by: Brice Goglin Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 5457f38e01ae2d296ff49db42254679018f13fa9 Author: Dave Airlie Date: Wed Jan 25 14:34:33 2006 +1100 drm: add i945GM PCI ID From: Charles F. Johnson Signed-off-by: Dave Airlie commit d59cc22f7ce48bf5454f12eec8603bff81c34cdb Author: Dave Airlie Date: Wed Jan 25 14:31:45 2006 +1100 drm: Fix sparce warning in radeon driver From: Luiz Fernando Capitulino drivers/char/drm/radeon_cp.c:1643:31: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 139366a093d1ce2749b1b4247947ceb9b78caa2a Author: Jes Sorensen Date: Tue Jan 24 04:23:16 2006 -0500 [IA64-SGI] XPC remove unnecessary GFP_DMA flag Remove the GFP_DMA flag from XPC kmalloc() calls. Signed-off-by: Jes Sorensen Acked-by: Dean Nelson Signed-off-by: Tony Luck commit e5ee7dda96476e09ee63af464ea17ddad1dc489d Author: Greg Edwards Date: Wed Jan 18 10:21:59 2006 -0600 [IA64] sn2 maintainer update (Jes Sorensen) We lured Jes to the dark side, and he's going to take over as the sn2 maintainer. His experience and thoroughness will serve him well here. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit fd8b206d1621ad526e7b00dc26322f546b2a57fb Author: Dean Roe Date: Tue Jan 24 14:49:43 2006 -0800 [IA64-SGI] add sn_feature_sets bit SGI's prom has added a new feature which avoids an Altix-specific MCA that can occur with excessive use of ia64_pal_cache_flush. This patch adds the #define to the sn_feature_sets.h to reflect that bit is taken. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 79c83bd15af3b06079a9205db9c64c92ca1bd868 Author: Jack Steiner Date: Tue Jan 24 16:32:11 2006 -0600 [IA64] Scaling fix for simultaneous unaligned accesses Eliminate a hot shared cacheline that occurs if multiple cpus are taking unaligned exceptions. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit dc64161343015162a3fabfcd20b9b84409af67d5 Author: Takashi Iwai Date: Tue Jan 24 14:30:56 2006 -0800 [IA64-SGI] sn_dma_alloc_coherent should use gfp flags Takashi helped us track down a bad page state bug we thought was coming from alsa. It turns out we weren't paying attention to the gfp flags that were passed in to sn_dma_alloc_coherent(). From: Takashi Iwai Signed-off-by: Greg Edwards Signed-off-by: Mark Maule Signed-off-by: Jes Sorensen commit 7add2a439868d636910fb6a216b12c7392778956 Author: David L Stevens Date: Tue Jan 24 13:06:39 2006 -0800 [IPV6] MLDv2: fix change records when transitioning to/from inactive The following patch fixes these problems in MLDv2: 1) Add/remove "delete" records for sending change reports when addition of a filter results in that filter transitioning to/from inactive. [same as recent IPv4 IGMPv3 fix] 2) Remove 2 redundant "group_type" checks (can't be IPV6_ADDR_ANY within that loop, so checks are always true) 3) change an is_in() "return 0" to "return type == MLD2_MODE_IS_INCLUDE". It should always be "0" to get here, but it improves code locality to not assume it, and if some race allowed otherwise, doing the check would return the correct result. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 151bb0ffe51514979abf54063bb5c1dd49365137 Author: Jerome Borsboom Date: Tue Jan 24 12:57:19 2006 -0800 [AF_KEY]: no message type set When returning a message to userspace in reply to a SADB_FLUSH or SADB_X_SPDFLUSH message, the type was not set for the returned PFKEY message. The patch below corrects this problem. Signed-off-by: Jerome Borsboom Signed-off-by: David S. Miller commit cabcac0b296cd9683bc168d60839729b720dc2b7 Author: Thomas Graf Date: Tue Jan 24 12:46:33 2006 -0800 [BONDING]: Remove CAP_NET_ADMIN requirement for INFOQUERY ioctl This information is already available via /proc/net/bonding/* therefore it doesn't make sense to require CAP_NET_ADMIN privileges. Original patch by Laurent Deniel Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 2a792058c3aaf5fb806e09a456e25b9f4f748dd1 Author: Keith Owens Date: Tue Jan 24 12:31:26 2006 +1100 [IA64] Set the correct default OS status in the MCA handler sos->os_status is set to a default value of IA64_MCA_COLD_BOOT for an MCA, but then is incorrectly overwritten with IA64_MCA_SAME_CONTEXT (0). This makes SAL think that all MCAs have been recovered. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 60481b12b8816d431308c3d974e341ab8c8c0bcf Author: Tetsuo Takata Date: Tue Jan 24 10:34:36 2006 +0100 [BLOCK] ll_rw_blk: fix setting of ->ordered on init This makes XFS barrier mounts succeed on my SCSI system. Signed-off-by: Tetsuo Takata Signed-off-by: Jens Axboe commit 248d5ca5ed5feb7f1a68d213c0ff89c604a97179 Author: Nate Diller Date: Tue Jan 24 10:09:14 2006 +0100 [BLOCK] elevator: allow default scheduler to potentially be modular Jens has decided that allowing the default scheduler to be a module is a bug, and should not be allowed under kconfig. However, I find that scenario useful for debugging, and wish for the kernel to be able to handle this situation without OOPSing, if I enable such an option in the .config directly. This patch dynamically checks for the presence of the compiled-in default, and falls back to no-op, emitting a suitable error message, when the default is not available Tested for a range of boot options on 2.6.16-rc1-mm2. Signed-off-by: Nate Diller Signed-off-by: Jens Axboe commit 5f00397644e01adfbebafb5d0ebc01eba522709d Author: Nate Diller Date: Tue Jan 24 10:07:58 2006 +0100 [BLOCK] elevator: default choice selection My previous default iosched patch did a poor job dealing with the 'elevator=' boot-time option. The old behavior falls back to the compiled-in default if the requested one is not registered at boot time. This patch dynamically evaluates which default to use, and emits a suitable error message when the requested scheduler is not available. It also does the 'as' -> 'anticipatory' conversion before elevator registration, which along with a modified registration function, allows it to correctly indicate which default scheduler is in use. Tested for a range of boot options on 2.6.16-rc1-mm2. Signed-off-by: Nate Diller Signed-off-by: Jens Axboe commit 53e86061b5bd4aece9bbb6b00b30720200596ecb Author: Jens Axboe Date: Tue Jan 17 11:09:27 2006 +0100 [BLOCK] ll_rw_blk: use preempt-disabling disk_stat_add() in completion It can legally be called with interrupts/preemption enabled. Signed-off-by: Jens Axboe commit 2cb2e147a6d20bffd1d6b7a79be7301560f751c3 Author: Jens Axboe Date: Tue Jan 17 09:04:32 2006 +0100 [BLOCK] ll_rw_blk: make max_sectors and max_hw_sectors unsigned ints IDE lba48 can support full 64k request size, which overflows the max_hw_sectors variable. Signed-off-by: Jens Axboe commit d3ed309a718bc6f79dc485a6d18731990daeee5e Author: David S. Miller Date: Mon Jan 23 21:03:56 2006 -0800 [SPARC64]: Implement __raw_read_trylock() generic__raw_read_trylock() just does a raw_read_lock() so that isn't very useful. Signed-off-by: David S. Miller commit 8798b3fb714477f5c88dde102c149d2b3e1d8def Author: Herbert Xu Date: Mon Jan 23 16:32:45 2006 -0800 [NET]: Fix skb fclone error path handling. On the error path if we allocated an fclone then we will free it in the wrong pool. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 40727198bfb2ce5842a6e8c7f89cf8a40ff7bf14 Author: Benjamin Herrenschmidt Date: Mon Jan 23 16:30:04 2006 -0800 [SUNGEM]: Make PM of PHYs more reliable (#2) On my latest laptop, I've had occasional PHY dead on wakeup from sleep... the PHY would be totally unresponsive even to toggling the hard reset line until the machine is powered down... Looking closely at the code, I found some possible issues in the way we setup the MDIO lines during suspend along with slight divergences from what Darwin does when resetting it that may explain the problem. That patch change these and the problem appear to be gone for me at least... I also fixed an mdelay -> msleep while I was at it to the pmac feature code that is called when toggling the PHY reset line since sungem doesn't call it in an atomic context anymore. Signed-off-by: Benjamin Herrenschmidt b Signed-off-by: David S. Miller commit 8ae55f0489d9a3446fcdaf4ffedda249234b8572 Author: Kris Katterjohn Date: Mon Jan 23 16:28:02 2006 -0800 [NET]: Fix some whitespace issues in af_packet.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 2966b66c25f81ad2b3298b651614c6a3be1a977f Author: Kris Katterjohn Date: Mon Jan 23 16:26:16 2006 -0800 [NET]: more whitespace issues in net/core/filter.c This fixes some whitespace issues in net/core/filter.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 206cc83ccdc29e4a73786e9093f9eeec25868441 Author: Michael Chan Date: Mon Jan 23 16:14:05 2006 -0800 [BNX2]: Update version and copyright year Update version to 1.4.31 and add 2006 copyright. Skip the last digit when reporting the firmware version. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bc5a0690e917206b423c7b565c997b06675fb572 Author: Michael Chan Date: Mon Jan 23 16:13:22 2006 -0800 [BNX2]: Add PHY loopback test Enhance the ethtool loopback test with PHY loopback test. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 972ec0d4ba67bf0ec7f00cd93fbac47452f80d25 Author: Michael Chan Date: Mon Jan 23 16:12:43 2006 -0800 [BNX2]: Use netdev_priv() Replace dev->priv with netdev_priv(dev) Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1122db717ab5443ca9043fc0d23c1e862cfb3a61 Author: Michael Chan Date: Mon Jan 23 16:11:42 2006 -0800 [BNX2]: Fix nvram sizing Add code to correctly determine nvram size. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1269a8a64a37c8a06af672f4cff4fed16a478734 Author: Michael Chan Date: Mon Jan 23 16:11:03 2006 -0800 [BNX2]: Workaround hw interrupt bug Add workaround for a hardware interrupt issue. When using INTA, unmasking of the interrupt and the tag update should be done separately to avoid some spurious interrupts, Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ade2bfe7d1f0ea804d2e63209cc6318ad8bf17ae Author: Michael Chan Date: Mon Jan 23 16:09:51 2006 -0800 [BNX2]: Fix UDP checksum verification Fix TCP/UDP checksum verification. Use status bits in the buffer descriptor instead of the checksum value to verify rx checksum. Using the checksum value will be incorrect if the UDP packet has zero in the UDP checksum field. Firmware update required for this fix. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit dda1e390bf9e2889a3abc48590a015b307637753 Author: Michael Chan Date: Mon Jan 23 16:08:14 2006 -0800 [BNX2]: Misc. fixes Some misc. fixes for WoL, 5708 B1, and a typo '=' instead of '=='. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit b090ae2b59f3db57732340c6af3beceec8d6c148 Author: Michael Chan Date: Mon Jan 23 16:07:10 2006 -0800 [BNX2]: Improve handshake with firmware Improve handshake with bootcode with the following changes: 1. Increase timeout to 100msec and use msleep instead of udelay. 2. Add more error checking for timeouts and errors. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e29054f92d7d575631691865c1b95bee5bc974cc Author: Michael Chan Date: Mon Jan 23 16:06:06 2006 -0800 [BNX2]: Fix VLAN on ASF Always set up the device to strip incoming VLAN tags when ASF is enabled. ASF firmware will not parse packets correctly if VLAN tags are not stripped. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0820e15a35b3cf37caadf550ddb7c75a7a77afd0 Author: Steve French Date: Mon Jan 23 12:50:04 2006 -0800 [CIFS] Do not zero non-existent iovec in SendReceive response processing. Could cause memory leak in some readpaths depending on what junk followed it in the stack. Signed-off-by: Steve French commit df7559d3440ff759ff6e1371ff722bb3a73a3639 Author: Timothy Charles McGrath Date: Mon Jan 23 09:50:09 2006 +0000 [SERIAL] 8250 Documentation fix This fixes the documentation error for 'SERIAL_8250' in drivers/serial/Kconfig Signed-off-by: Timothy Charles McGrath Signed-off-by: Russell King commit 4415863773eb0eeceba7318238ec0f63b0b5847a Author: David S. Miller Date: Sun Jan 22 12:12:01 2006 -0800 [SPARC]: Increase NR_SYSCALLS to 299 To let new syscalls through. Signed-off-by: David S. Miller commit d1d051b28e9d3c3bed0bd15a2b49df3d04f7768f Author: Adam Belay Date: Fri Jan 20 09:29:27 2006 +0100 [ALSA] check return code in pnp_register_card_driver() Signed-off-by: Adam Belay Signed-off-by: Takashi Iwai commit ec80859ed292a55334df68fc2492f1303cf3a0ac Author: Jaroslav Kysela Date: Sun Jan 22 09:28:15 2006 +0100 [ALSA] cs4232/cs4236 - moved CS423X_DRIVER define outside CONFIG_PNP Modules: CS4236+ driver Signed-off-by: Jaroslav Kysela commit 168a95f170070ddda1ba7505c2ce9ae8b50f21f6 Author: Stelian Pop Date: Fri Jan 20 14:44:41 2006 +0100 [ALSA] sound/ppc/pmac.c typo Modules: PPC PMAC driver In 2.6.16-rc1 there is a small typo introduced by the 'Remove device_node addrs/n_addr' changes which prevents my Powerbook G4 sound from working: Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC). snd: can't request rsrc 0 (Sound Control: 0x80000000:80004fff) ALSA device list: No soundcards found. The patch below fixes it. Of course, the patch fixing the i2c issues ('i2c_smbus_write_i2c_block_data' patch) needs to be applied to in order for the sound to completly work. Signed-off-by: Stelian Pop Signed-off-by: Takashi Iwai commit 20cd22620ad3a8a57a942fa1f301d47a1e15d67e Author: Andrew Morton Date: Fri Jan 20 14:07:47 2006 +0100 [ALSA] pcxhr - Fix printk warning Modules: Digigram PCXHR driver sound/pci/pcxhr/pcxhr.c: In function 'pcxhr_update_r_buffer': sound/pci/pcxhr/pcxhr.c:460: warning: unsigned int format, different type arg (arg 7) Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit e2eba3e7d911b26525c17f0b7e2bc45aad8e2629 Author: Andrew Morton Date: Fri Jan 20 14:07:13 2006 +0100 [ALSA] hdsp - Fix printk warnings Modules: RME9652 driver sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_preallocate_memory': sound/pci/rme9652/hdspm.c:3327: warning: int format, different type arg (arg 4) sound/pci/rme9652/hdspm.c:3331: warning: int format, different type arg (arg 4) sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_create': sound/pci/rme9652/hdspm.c:3513: warning: int format, different type arg (arg 4) Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 80faf041cd731bde220523166f016377e1765acd Author: Takashi Iwai Date: Fri Jan 20 14:03:39 2006 +0100 [ALSA] sb16 - Fix duplicated PnP entry Modules: SB16/AWE driver Fix the duplicated PnP entry between sb16 and sbawe drivers. Signed-off-by: Takashi Iwai commit 62af9905a1f809094f5209ae15d2ce69599a8123 Author: Takashi Iwai Date: Fri Jan 20 14:03:06 2006 +0100 [ALSA] opl3sa2 - Fix conflict of driver name on sysfs Modules: OPL3SA2 driver Fix the conflict of driver name 'opl3sa2' on sysfs with OSS driver. Signed-off-by: Takashi Iwai commit 2f25b7feab257bae406f1edb44438a347a1cc727 Author: Andrew Morton Date: Tue Jan 17 18:31:42 2006 +0100 [ALSA] Fix a typo in snd_assert() Modules: CS46xx driver Reported by in http://bugzilla.kernel.org/show_bug.cgi?id=5903 Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 7113d680d4824dfd4db43bc9880cdc98bcc309b9 Author: Takashi Iwai Date: Mon Jan 16 13:55:48 2006 +0100 [ALSA] au88x0 - Fix a compile warning Modules: au88x0 driver Fixed an uninitialized variable. Signed-off-by: Takashi Iwai commit cacd3347ce5b5ee4fce90c2627d80bf0ac15dec0 Author: Takashi Iwai Date: Mon Jan 16 13:00:50 2006 +0100 [ALSA] via82xx - Add dxs_support entry for EpoX 9HEAI Modules: VIA82xx driver Added the dxs_support entry for EpoX 9HEAI. Signed-off-by: Takashi Iwai commit 0fd1708a199bf55ebf21d611225866955babc1ba Author: Takashi Iwai Date: Fri Jan 13 18:46:21 2006 +0100 [ALSA] hda-codec - Fix capture on Sigmatel STAC92xx codecs Modules: HDA Codec driver Added the missing 'Capture Switch' control for Sigmatel STAC92xx codecs. Signed-off-by: Takashi Iwai commit c9fe51c492fbb0de789a16828749595dc1985610 Author: Chris Ball Date: Fri Jan 13 13:26:42 2006 +0100 [ALSA] intel8x0: Add quirk for Optiplex GX270 Modules: Intel8x0 driver This patch adds a quirk entry for the Dell Optiplex GX270, on which the volume is set by the headphone control, not the master control. Signed-off-by: Chris Ball Signed-off-by: Takashi Iwai commit ec6c8c3b2588261669c1b101338ab4fe43b1b9c0 Author: Jon Mason Date: Fri Jan 13 13:17:43 2006 +0100 [ALSA] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids Modules: ALI5451 driver This patch uses #defines for the Vendor ID and Device ID and uses the new PCI_DEVICE macro. Signed-off-by: Jon Mason Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit e3183ec9cd98db7800d078768b1c9edc2fd0425f Author: Jon Mason Date: Fri Jan 13 13:14:53 2006 +0100 [ALSA] Prevent ALSA trident driver from grabbing pcnet32 hardware Modules: Trident driver Some pcnet32 hardware erroneously has the Vendor ID for Trident. The pcnet32 driver looks for the PCI ethernet class before grabbing the hardware, but the current trident driver does not check against the PCI audio class. This allows the trident driver to claim the pcnet32 hardware. This patch prevents that. Per Jiri Slaby's request, I changed the trident driver to use PCI_DEVICE macro and PCI ID #defines. This patch is untested on Trident 4DWAVE_DX hardware, but has been tested on pcnet32 hardware. Signed-off-by: Jon Mason Signed-off-by: Takashi Iwai commit 33159378254b67d0080a8d63197e95654b672cf7 Author: Clemens Ladisch Date: Fri Jan 13 08:11:22 2006 +0100 [ALSA] usb-audio: fix non-48k sample rates with SB Audigy 2 ZS Modules: USB generic driver On the Audigy 2 ZS, disable all sample rate that are not a multiple of 48 kHz because the others work only with the digital output which is not yet supported. Signed-off-by: Clemens Ladisch commit fc80a2027afc31e8447a0691ea1279166ce5d69f Author: Clemens Ladisch Date: Fri Jan 13 07:41:45 2006 +0100 [ALSA] ymfpci: fix SPDIF sample rate information Modules: YMFPCI driver Set the (read only) sample rate field in the IEC958 mixer controls to 48 kHz (instead of 44.1 kHz) because that is the rate actually supported by the hardware. Signed-off-by: Clemens Ladisch commit da79e44df4fff22c7f815687ea210b2324b3507c Author: Takashi Iwai Date: Thu Jan 12 11:45:51 2006 +0100 [ALSA] ac97 - Fix CLFE channel setting of ALC850 Modules: AC97 Codec Fix CLFE channel setting of ALC850 (ALSA bug#1731). Signed-off-by: Takashi Iwai commit 363fa1d615d93fe047659c16ff3277d78302b2eb Author: Rene Rebe Date: Thu Jan 12 11:42:47 2006 +0100 [ALSA] AMD cs5536 ID for cs5535audio Modules: CS5535 driver Added AMD CS5536 to the cs5535audio driver. Signed-off-by: Rene Rebe Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 4b2849283461a64c6d8cc6c7e72c62d7b4d91b43 Author: Clemens Ladisch Date: Thu Jan 12 08:17:49 2006 +0100 [ALSA] usb-audio: don't use empty packets at start of playback Modules: USB generic driver Some widespread USB interface chips with adaptive iso endpoints hang after receiving a series of empty packets when they expect data (ALSA bug#1585). To avoid this, we have to send packets containing silence (zero samples) instead. Signed-off-by: Clemens Ladisch commit 54c63cfc153c6909a5d5dbe6072e8704b091f30e Author: Jaroslav Kysela Date: Thu Jan 12 07:56:40 2006 +0100 [ALSA] bt87x - fix detection of unknown card Modules: BT87x driver Signed-off-by: Jaroslav Kysela commit 128a46a55da81e563116e99e08e295fda41a145b Author: Takashi Iwai Date: Wed Jan 11 18:15:43 2006 +0100 [ALSA] ac97 - Suppress jack sense controls for Thinkpads Modules: AC97 Codec Added a blacklist to suppress to create jack sense controls. These controls must be always off on some devices (e.g. Thinkpad). Signed-off-by: Takashi Iwai commit b14e77e613a104c78ab455c0109b566dab430de6 Author: Takashi Iwai Date: Wed Jan 11 18:10:50 2006 +0100 [ALSA] hda-codec - Add model entry for Sony VAIO Modules: HDA Codec driver Added an ALC260 model entry (basic) for Sony VAIO. Signed-off-by: Takashi Iwai commit 8937fd88558d5a741d6ed29d5f8c327646a4f1db Author: Takashi Iwai Date: Tue Jan 10 11:14:49 2006 +0100 [ALSA] pcxhr - Fix the sample rate changes Modules: Digigram PCXHR driver Fix the hardware set up when the sample rate is changed multiple times. Signed-off-by: Takashi Iwai commit d2981393615f9a7adb8223a2ab1e0d7423d5c9dd Author: Jason Gaston Date: Tue Jan 10 11:07:37 2006 +0100 [ALSA] hda-intel - patch for Intel ICH8 Modules: HDA Intel driver This patch adds the Intel ICH8 HD Audio DID to the hda_intel.c audio driver. Signed-off-by: Jason Gaston Signed-off-by: Takashi Iwai commit be3cd57aa65c366e479d6a21a5d49a08117b5d77 Author: James Courtier-Dutton Date: Mon Jan 9 21:20:56 2006 +0100 [ALSA] snd-ca0106: Fixed ALSA bug#1600 Modules: CA0106 driver Description: Shuttle XPC SD11G5 which has an onboard Creative Labs Sound Blaster Live! 24-bit EAX high-definition 7.1 audio processor'. Fixes ALSA bug#1600 Signed-off-by: James Courtier-Dutton commit d99e98891ccde745c6c25b7a11a139123e74db4c Author: Ingo Molnar Date: Mon Jan 9 16:44:46 2006 +0100 [ALSA] Remove BKL from sound/core/info.c Modules: ALSA Core Remove BKL from sound/core/info.c Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit d0bd41e289768ff851066f1e952ae4c802c4dca7 Author: Takashi Iwai Date: Mon Jan 9 12:36:53 2006 +0100 [ALSA] via82xx - Add dxs_support entry Modules: VIA82xx driver Added a dxs_support entry for Jetway K8M8MS. Signed-off-by: Takashi Iwai commit 7eae36fbd5ea9db3d3fe0d671199121be782a5b3 Author: Takashi Iwai Date: Thu Jan 5 18:40:56 2006 +0100 [ALSA] emu10k1 - Fix the confliction of 'Front' control Modules: EMU10K1/EMU10K2 driver Fix the confliction of 'Front' controls on models with STAC9758 codec. Signed-off-by: Takashi Iwai commit 6421776a6f8b8503a88e07b205162842d3f7d702 Author: Martin Drab Date: Thu Jan 5 18:33:56 2006 +0100 [ALSA] bt87x - Fix the unability of snd-bt87x to recognize AVerMedia Studio Modules: BT87x driver The patch siply adds the PCI IDs of AVerMedia Studio No. 103, 203, and possibly even other versions with the same PCI IDs to the snd-bt87x driver and sets its default sampling rate to 48 kHz. Signed-off-by: Martin Drab Signed-off-by: Takashi Iwai commit 4d7d7596287588a953f450a3f18c5d4587f763d0 Author: Takashi Iwai Date: Wed Jan 4 16:00:48 2006 +0100 [ALSA] emu10k1 - Fix silence problems after suspend Modules: EMU10K1/EMU10K2 driver Fix silence problems on some boards after suspend/resume (bug#1674). Signed-off-by: Takashi Iwai commit 59b1b34f47e6c8ac8f00660db2cd34216819b400 Author: Takashi Iwai Date: Wed Jan 4 15:06:44 2006 +0100 [ALSA] Fix compilation without CONFIG_PNP Fix compilation of some ISA drivers without CONFIG_PNP. Signed-off-by: Takashi Iwai commit d82ed2ffc2839413c20b41a271a4d8db12b0683c Author: Ulrich Mueller Date: Wed Jan 4 12:21:11 2006 +0100 [ALSA] intel8x0 - Fix duplicate ac97_quirks entry Modules: Intel8x0 driver in recent -mm kernels additional quirks for ac97 hardware in HP laptops have been added. However, now the list in intel8x0.c contains a duplicate, since the HP nx6110 and nc6120 have identical subdevice ids. This was introduced in -mm1 by the following patch: add-new-quirk-for-devices-with-mute-leds-and-separate-headphone-volume.patch Since the HP nx6110 and nc6120 are almost identical, both entries should really be combined, as in the following patch. I have checked that AC97_TUNE_HP_MUTE_LED is the right thing to do. Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 6c1080c1ea0ecdd541dac25e6550449390935db6 Author: Takashi Iwai Date: Wed Jan 4 12:15:07 2006 +0100 [ALSA] via82xx - Add dxs_support for ASUS mobo Modules: VIA82xx driver Add a dxs_support entry for ASUS mobo. Signed-off-by: Takashi Iwai commit 0077d45e46fe2af3aaee5813c99268afcd0e7c0e Author: Russell King Date: Sat Jan 21 23:03:28 2006 +0000 [SERIAL] Make uart_port flags a bitwise type Same reasoning as commit 747c8a55946ed037bf7d62454c3c599c02af2262 but this time we're making uart_port flags a bitwise type - not all of these flags correspond with the old ASYNC_ flags, so there is the possibility for bugs if the wrong ASYNC_* constants are used. Always use UPF_* constants for uart_port->flags. Signed-off-by: Russell King commit 27ae7a7435634820e7f7e2b922d8119f79cfc6e4 Author: Russell King Date: Sat Jan 21 22:54:06 2006 +0000 [SERIAL] Fix UPF_ flag usage with uart_info->flags The previous change found a bug in the serial SAK handling - because we were looking for UPF_SAK set in uart_info->flags, we would never raise a SAK condition. UPF_SAK is in uart_port->flags. Signed-off-by: Russell King commit 747c8a55946ed037bf7d62454c3c599c02af2262 Author: Russell King Date: Sat Jan 21 22:50:36 2006 +0000 [SERIAL] Make uart_info flags a bitwise type The potential for confusing the flags is fairly high. Make uart_info's flags a bitwise type so sparse can check that the right flag definitions are used with the right structure. Signed-off-by: Russell King commit ba899dbc036d24ab6b45faf64e3648a268721cc9 Author: Russell King Date: Sat Jan 21 22:45:50 2006 +0000 [SERIAL] Make port->ops constant No one should write to the port->ops structure, so make it constant. Signed-off-by: Russell King commit f9e61929e5e1dacc2afefbde6abc3e6571ca2887 Author: Michael S. Tsirkin Date: Sat Jan 21 14:02:59 2006 -0800 IB/mthca: Use correct GID in MADs sent on port 2 mthca_create_ah() includes the port number in the GID index. The reverse needs to be done in mthca_read_ah(). Noted by Hal Rosenstock. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ca740803856f23dbc5b1872039291231bc131ecb Author: Russell King Date: Sat Jan 21 20:06:14 2006 +0000 [SERIAL] Remove UPF_AUTOPROBE and UPF_BOOT_ONLYMCA The functionality UPF_BOOT_ONLYMCA provided has been replaced by the 8250_mca module, which only registers MCA ports if MCA is present. UPF_AUTOPROBE has no functional effect - in fact, it's never tested. Only ibmasm set the flag. Signed-off-by: Russell King commit ce8337cb7dc327c3ae3684ba0ee5d7cbde1fd296 Author: Russell King Date: Sat Jan 21 19:28:15 2006 +0000 [SERIAL] Don't use ASYNC_ constants with the uart_port structure Signed-off-by: Russell King commit f91a3715db2bb44fcf08cec642e68f919b70f7f4 Author: Alan Cox Date: Sat Jan 21 14:59:12 2006 +0000 [SERIAL] 8250 serial console fixes This patch resolves most of the problems with an SMP serial console race with output via the tty path. At the end of the serial console print we force enable the tx int in case we clobbered the tx interrupt status racing between the console and tty output. That way the extra tx interrupt causes the transmit path to restart not hang. It also makes the serial console printk use the FIFO. This is neccessary because some remote management devices fake serial console with FIFO and are confused into sending one packet per character over ethernet when we stall rather than filling the FIFO. In order to preserve existing reliability semantics the function waits for the serial queue to completely empty before returning. Both of these problems were identified by a Red Hat partner. Signed-off-by: Alan Cox Signed-off-by: Russell King commit 20a2c88f5039b8b17f0aa3fbc2ac3e9257961123 Author: Russell King Date: Fri Jan 20 20:52:50 2006 +0000 [ARM] Fix ioremap.c vfree type warning arch/arm/mm/ioremap.c:145: warning: passing argument 1 of 'vfree' makes pointer from integer without a cast resulted from commit id 9d4ae7276ae26c5bfba6207cf05340af1931d8d4 Signed-off-by: Russell King commit 6fbfc9688448aac064edbaccb5d30ecd565a9105 Author: David S. Miller Date: Fri Jan 20 11:57:07 2006 -0800 [NETFILTER]: Unbreak x-tables on x86. x86 defines __alignof__(long long) as 8 yet it gives 4 for a struct containing a long long, ho hum... so my simplified form doesn't work everywhere. So use Harald Welte's original patch, which should work on all platforms. Signed-off-by: David S. Miller commit 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 Author: David S. Miller Date: Fri Jan 20 01:49:15 2006 -0800 [SPARC64]: Use compat_sys_futimesat in 32-bit syscall table. Signed-off-by: David S. Miller commit 4a90c7e86202f46fa9af011bdbcdf36e355d1721 Author: Bob Moore Date: Fri Jan 13 16:22:00 2006 -0500 [ACPI] ACPICA 20060113 Added 2006 copyright. At SuSE's suggestion, enabled all error messages without enabling function tracing, ie with CONFIG_ACPI_DEBUG=n Replaced all instances of the ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, respectively. This preserves all error and warning messages in the non-debug version of the ACPICA code (this has been referred to as the "debug lite" option.) Over 200 cases were converted to create a total of over 380 error/warning messages across the ACPICA code. This increases the code and data size of the default non-debug version by about 13K. Added ACPI_NO_ERROR_MESSAGES flag to enable deleting all messages. The size of the debug version remains about the same. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit 3c5c363826e435cf4d54d917202567e5b57cae5f Author: Len Brown Date: Fri Jan 20 01:17:42 2006 -0500 [ACPI] delete message "**** SET: Misaligned resource pointer:" This check, added in ACPICA 20051021, was overly paranoid. Signed-off-by: Len Brown commit 0af5853bccd263161df80c259d61fc71211c5ac3 Author: Len Brown Date: Fri Jan 20 01:11:37 2006 -0500 [ACPI] better fix for pnpacpi regression resulting from ACPICA 20051117 Rather than tweaking acpi_walk_resource() again not return end tags, modify the pnpacpi code to ignore them. The pnpacpi resource type switch statements now include all known types in the order that they're defined -- so it is easy to see what is not implemented. The code will squawk only if it sees a truly undefined type. Signed-off-by: Len Brown commit 7e732bfc5570b8f9bb5f155cf36e94b2e7d6bf6a Author: David S. Miller Date: Thu Jan 19 16:40:42 2006 -0800 [PATCH] Fix regression added by ppoll/pselect code. The compat layer timeout handling changes in: 9f72949f679df06021c9e43886c9191494fdb007 are busted. This is most easily seen with an X application that uses sub-second select/poll timeout such as emacs. You hit a key and it takes a second or so before the app responds. The two ROUND_UP() calls upon entry are using {tv,ts}_sec where it should instead be using {tv_usec,ts_nsec}, which perfectly explains the observed incorrect behavior. Another bug shot down with git bisect. Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 4f2d7680cb1ac5c5a70f3ba2447d5aa5c0a1643a Author: David S. Miller Date: Thu Jan 19 16:58:37 2006 -0800 [NETFILTER] x_tables: Make XT_ALIGN align as strictly as necessary. Or else we break on ppc32 and other 32-bit platforms. Based upon a patch from Harald Welte. Signed-off-by: David S. Miller commit cdc9cc1d740ffc3d8d8207fbf5df9bf05fcc9955 Author: Adrian Bunk Date: Fri Jan 20 01:25:37 2006 +0100 [CPUFREQ] X86_GX_SUSPMOD must depend on PCI This patch fixes the following compile error: ... CC arch/i386/kernel/cpu/cpufreq/gx-suspmod.o arch/i386/kernel/cpu/cpufreq/gx-suspmod.c: In function 'gx_detect_chipset': arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: error: implicit declaration of function 'pci_match_id' arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: warning: comparison between pointer and integer make[3]: *** [arch/i386/kernel/cpu/cpufreq/gx-suspmod.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 3b0e8eadc511eaceba6d6b8d0743359a34ee23c6 Author: Alan Hourihane Date: Thu Jan 19 14:08:40 2006 +0000 [AGPGART] 945GM support for agpgart Here's a very small diff for 945GM support for agpgart. Patch against 2.6.15. From: Alan Hourihane Signed-off-by: Dave Jones commit 386d1d50c8eef254653b1015fde06622ef38ba76 Author: John Hawkes Date: Wed Jan 18 23:46:53 2006 -0800 [IA64] eliminate softlockup warning Fix an unnecessary softlockup watchdog warning in the ia64 uncached_build_memmap() that occurs occasionally at 256p and always at 512p. The problem occurs at boot time. Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Tony Luck commit 60f1c4443c4d391d8dfbe709f13296067b6c8021 Author: Jes Sorensen Date: Wed Jan 18 23:46:52 2006 -0800 [IA64] sem2mutex: arch/ia64/kernel/perfmon.c Migrate perfmon from using an old semaphore to a completion handler. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Tony Luck commit 92ff2ecd0deddc4c5fb2140d5861d0ddd50e9e57 Author: Jes Sorensen Date: Wed Jan 18 23:46:51 2006 -0800 [IA64] sem2mutex: arch/ia64/ia32/sys_ia32.c Migrate arch/ia64/ia32/sys_ia32 to using a mutex for mmap protection. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Tony Luck commit fa1b4f91d6374663cfb3c6fbe3d78fd03954a862 Author: Al Viro Date: Thu Jan 19 12:57:01 2006 +0000 [ARM] safer handling of syscall table padding ARM entry-common.S needs to know syscall table size; in itself that would not be a problem, but there's an additional constraint - some of the instructions using it want a constant that would be a multiple of 4. So we have to pad syscall table with sys_ni_syscall and that's where the trouble begins. .rept pseudo-op wants a constant expression for number of repetitions and subtraction of two labels (before and after syscall table) doesn't always get simplified to constant early enough for .rept. If labels end up in different frags, we lose. And while the frag size is large enough (slightly below 4Kb), the syscall table is about 1/3 of that. We used to get away with that, but the recent changes had been enough to trigger the breakage. Proper fix is simple: have a macro (CALL(x)) to populate the table instead of using explicit .long x and the first time we include calls.S have it defined to .equ NR_syscalls,NR_syscalls+1. Then we can find the proper amount of padding on the first inclusion simply by looking at NR_syscalls at that time. And that will be constant, no matter what. Moreover, the same trick kills the need of having an estimate of padded NR_syscalls - it will be calculated for free at the same time. Signed-off-by: Al Viro Signed-off-by: Russell King commit ea49772598563447b70042ab8e087b2c4d599778 Author: Russell King Date: Thu Jan 19 12:32:54 2006 +0000 [ARM] Remove CONFIG_BROKEN=y from defconfigs Remove CONFIG_BROKEN=y from the ARM defconfigs, and update with the appropriate changes. This results in only some unselected configuration symbols being removed - hence no material effect on the configuration. Signed-off-by: Russell King commit f43aaba191bfbe20a1f55ec05f43813ce381cd53 Author: Russell King Date: Thu Jan 19 12:26:57 2006 +0000 [ARM] Convert request_irq+set_irq_type to request_irq with SA_TRIGGER There's no need to have request_irq followed by set_irq_type. Just use request_irq with the appropriate SA_TRIGGER flags. Signed-off-by: Russell King commit 2d7d5f05111a9d913131a2764d8b20157f8f758d Author: David S. Miller Date: Thu Jan 19 02:42:49 2006 -0800 [SPARC]: Add support for *at(), ppoll, and pselect syscalls. This also includes by necessity _TIF_RESTORE_SIGMASK support, which actually resulted in a lot of cleanups. The sparc signal handling code is quite a mess and I should clean it up some day. Signed-off-by: David S. Miller commit f7111ceb5266750db2a1d193b98fb6a3d9b5a56a Author: David S. Miller Date: Wed Jan 18 21:57:37 2006 -0800 [SPARC]: sparc32 needs PROMDEV_{I,O}RSC defines too. Signed-off-by: David S. Miller commit 648bf4fb21f5ce993403901ed82399abaa150b63 Author: mark gross Date: Sun Jan 15 17:37:30 2006 -0800 [PATCH] tlclk driver update some driver clean ups, and a re-posting of changes that are needed to match the updated TPS. Signed-off-by: Mark Gross Signed-off-by: Linus Torvalds commit da9bb1d27b21cb24cbb6a2efb5d3c464d357a01e Author: Alan Cox Date: Wed Jan 18 17:44:13 2006 -0800 [PATCH] EDAC: core EDAC support code This is a subset of the bluesmoke project core code, stripped of the NMI work which isn't ready to merge and some of the "interesting" proc functionality that needs reworking or just has no place in kernel. It requires no core kernel changes except the added scrub functions already posted. The goal is to merge further functionality only after the core code is accepted and proven in the base kernel, and only at the point the upstream extras are really ready to merge. From: doug thompson This converts EDAC to sysfs and is the final chunk neccessary before EDAC has a stable user space API and can be considered for submission into the base kernel. Signed-off-by: Alan Cox Signed-off-by: Adrian Bunk Signed-off-by: Jesper Juhl Signed-off-by: doug thompson Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f768af73fea4c70f9046388a7ff648ad11f028e Author: Alan Cox Date: Wed Jan 18 17:44:12 2006 -0800 [PATCH] EDAC: drivers for Radisys 82600 Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d88a10e566d46bffc214c974e5cf5abe38d8da8 Author: Alan Cox Date: Wed Jan 18 17:44:10 2006 -0800 [PATCH] EDAC: drivers for Intel i82860, i82875 Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 806c35f5057a64d3061ee4e2b1023bf6f6d328e2 Author: Alan Cox Date: Wed Jan 18 17:44:08 2006 -0800 [PATCH] EDAC: drivers for AMD 76x and Intel E750x, E752x Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 715b49ef2de6fcead0776d9349071670282faf65 Author: Alan Cox Date: Wed Jan 18 17:44:07 2006 -0800 [PATCH] EDAC: atomic scrub operations EDAC requires a way to scrub memory if an ECC error is found and the chipset does not do the work automatically. That means rewriting memory locations atomically with respect to all CPUs _and_ bus masters. That means we can't use atomic_add(foo, 0) as it gets optimised for non-SMP This adds a function to include/asm-foo/atomic.h for the platforms currently supported which implements a scrub of a mapped block. It also adjusts a few other files include order where atomic.h is included before types.h as this now causes an error as atomic_scrub uses u32. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3213e913b0d6baeb28aa1affbdd4bfa7efedc35f Author: David Woodhouse Date: Wed Jan 18 17:44:06 2006 -0800 [PATCH] Add pselect/ppoll system calls on i386 Add the sys_pselect6() and sys_poll() calls to the i386 syscall table. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f72949f679df06021c9e43886c9191494fdb007 Author: David Woodhouse Date: Wed Jan 18 17:44:05 2006 -0800 [PATCH] Add pselect/ppoll system call implementation The following implementation of ppoll() and pselect() system calls depends on the architecture providing a TIF_RESTORE_SIGMASK flag in the thread_info. These system calls have to change the signal mask during their operation, and signal handlers must be invoked using the new, temporary signal mask. The old signal mask must be restored either upon successful exit from the system call, or upon returning from the invoked signal handler if the system call is interrupted. We can't simply restore the original signal mask and return to userspace, since the restored signal mask may actually block the signal which interrupted the system call. The TIF_RESTORE_SIGMASK flag deals with this by causing the syscall exit path to trap into do_signal() just as TIF_SIGPENDING does, and by causing do_signal() to use the saved signal mask instead of the current signal mask when setting up the stack frame for the signal handler -- or by causing do_signal() to simply restore the saved signal mask in the case where there is no handler to be invoked. The first patch implements the sys_pselect() and sys_ppoll() system calls, which are present only if TIF_RESTORE_SIGMASK is defined. That #ifdef should go away in time when all architectures have implemented it. The second patch implements TIF_RESTORE_SIGMASK for the PowerPC kernel (in the -mm tree), and the third patch then removes the arch-specific implementations of sys_rt_sigsuspend() and replaces them with generic versions using the same trick. The fourth and fifth patches, provided by David Howells, implement TIF_RESTORE_SIGMASK for FR-V and i386 respectively, and the sixth patch adds the syscalls to the i386 syscall table. This patch: Add the pselect() and ppoll() system calls, providing core routines usable by the original select() and poll() system calls and also the new calls (with their semantics w.r.t timeouts). Signed-off-by: David Woodhouse Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36a7878a224c18aa4a5e098dc93d19cf5601462b Author: Jeff Dike Date: Wed Jan 18 17:44:03 2006 -0800 [PATCH] uml: use generic sys_rt_sigsuspend Use the generic sys_rt_sigsuspend. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fc10620e741153329e2f1cbcde76e526f501410 Author: Jeff Dike Date: Wed Jan 18 17:44:02 2006 -0800 [PATCH] uml: add TIF_RESTORE_SIGMASK support Add support for TIF_RESTORE_SIGMASK. I copy the i386 handling of the flag. sys_sigsuspend is also changed to follow i386. Also a bit of cleanup - turn an if into a switch get rid of a couple more emacs formatting comments Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f27201da5c8f118cfe266f51447bdd108d5f081d Author: David Woodhouse Date: Wed Jan 18 17:44:01 2006 -0800 [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc Implement the TIF_RESTORE_SIGMASK flag in the new arch/powerpc kernel, for both 32-bit and 64-bit system call paths. Signed-off-by: David Woodhouse Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 283828f3c19ceb3a64a8544d42cc189003e8b0fe Author: David Howells Date: Wed Jan 18 17:44:00 2006 -0800 [PATCH] Handle TIF_RESTORE_SIGMASK for i386 Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled: [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc [PATCH] 3/3 Generic sys_rt_sigsuspend It does the following: (1) Declares TIF_RESTORE_SIGMASK for i386. (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set. (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved in current->saved_sigmask. (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead. (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK rather than attempting to fudge the return registers. (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping intrinsically. (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or -EFAULT rather than true/false to be consistent with the rest of the kernel. Due to the fact do_signal() is then only called from one place: (8) Makes do_signal() no longer have a return value is it was just being ignored; force_sig() takes care of this. (9) Discards the old sigmask argument to do_signal() as it's no longer necessary. (10) Makes do_signal() static. (11) Marks the second argument to do_notify_resume() as unused. The unused argument should remain in the middle as the arguments are passed in as registers, and the ordering is specific in entry.S Given the way do_signal() is now no longer called from sys_{,rt_}sigsuspend(), they no longer need access to the exception frame, and so can just take arguments normally. This patch depends on sys_rt_sigsuspend patch. Signed-off-by: David Howells Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a411aee96ea7fe6fe065df65bf29ea755bcdb554 Author: David Howells Date: Wed Jan 18 17:43:59 2006 -0800 [PATCH] Handle TIF_RESTORE_SIGMASK for FRV Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled: [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc [PATCH] 3/3 Generic sys_rt_sigsuspend It does the following: (1) Declares TIF_RESTORE_SIGMASK for FRV. (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set. (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved in current->saved_sigmask. (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead. (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK rather than attempting to fudge the return registers. (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping intrinsically. (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or -EFAULT rather than true/false to be consistent with the rest of the kernel. Due to the fact do_signal() is then only called from one place: (8) Make do_signal() no longer have a return value is it was just being ignored; force_sig() takes care of this. (9) Discards the old sigmask argument to do_signal() as it's no longer necessary. This patch depends on the FRV signalling patches as well as the sys_rt_sigsuspend patch. Signed-off-by: David Howells Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 150256d8aadb3a337c31efa9e175cbd25bf06b06 Author: David Woodhouse Date: Wed Jan 18 17:43:57 2006 -0800 [PATCH] Generic sys_rt_sigsuspend() The TIF_RESTORE_SIGMASK flag allows us to have a generic implementation of sys_rt_sigsuspend() instead of duplicating it for each architecture. This provides such an implementation and makes arch/powerpc use it. It also tidies up the ppc32 sys_sigsuspend() to use TIF_RESTORE_SIGMASK. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a60fc5190a31d98508ea6a76f74217f4104e74b7 Author: Ulrich Drepper Date: Wed Jan 18 17:43:56 2006 -0800 [PATCH] vfs: *at functions: x86_64 Wire up the x86_64 syscalls. Signed-off-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f085507231e8003c66ed12e38c73b76e938ee95 Author: Ulrich Drepper Date: Wed Jan 18 17:43:55 2006 -0800 [PATCH] vfs: *at functions: i386 Wire up the x86 syscalls Signed-off-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5590ff0d5528b60153c0b4e7b771472b5a95e297 Author: Ulrich Drepper Date: Wed Jan 18 17:43:53 2006 -0800 [PATCH] vfs: *at functions: core Here is a series of patches which introduce in total 13 new system calls which take a file descriptor/filename pair instead of a single file name. These functions, openat etc, have been discussed on numerous occasions. They are needed to implement race-free filesystem traversal, they are necessary to implement a virtual per-thread current working directory (think multi-threaded backup software), etc. We have in glibc today implementations of the interfaces which use the /proc/self/fd magic. But this code is rather expensive. Here are some results (similar to what Jim Meyering posted before). The test creates a deep directory hierarchy on a tmpfs filesystem. Then rm -fr is used to remove all directories. Without syscall support I get this: real 0m31.921s user 0m0.688s sys 0m31.234s With syscall support the results are much better: real 0m20.699s user 0m0.536s sys 0m20.149s The interfaces are for obvious reasons currently not much used. But they'll be used. coreutils (and Jeff's posixutils) are already using them. Furthermore, code like ftw/fts in libc (maybe even glob) will also start using them. I expect a patch to make follow soon. Every program which is walking the filesystem tree will benefit. Signed-off-by: Ulrich Drepper Signed-off-by: Alexey Dobriyan Cc: Christoph Hellwig Cc: Al Viro Acked-by: Ingo Molnar Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2f99018eb7b29954747a2dd78e9fc0c36a60f0f Author: Christoph Hellwig Date: Wed Jan 18 17:43:52 2006 -0800 [PATCH] exportfs: add find_acceptable_alias helper find_exported_dentry contains two duplicate loops to find an alias that the acceptable callback likes. Split this out to a new helper and switch from list_for_each to list_for_each_entry to make it more readable. Signed-off-by: Christoph Hellwig Acked-by: NeilBrown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 846f2fcd77850ef8f0aab46df9cadd5c35a5fef0 Author: David Shaw Date: Wed Jan 18 17:43:51 2006 -0800 [PATCH] knfsd: Provide missing NFSv2 part of patch for checking vfs_getattr. A recent patch which checked the return status of vfs_getattr in nfsd, completely missed the nfsproc.c (NFSv2) part. Here is it. This patch moved the call to vfs_getattr from the xdr encoding (at which point it is too late to return an error) to the call handling. This means several calls to vfs_getattr are needed in nfsproc.c. Many are encapsulated in nfsd_return_attrs and nfsd_return_dirop. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45bd3b3dffaa9fb1706fe001bf66276d0997a850 Author: NeilBrown Date: Wed Jan 18 17:43:50 2006 -0800 [PATCH] knfsd: Fix some more errno/nfserr confusion in vfs.c nfsd_sync* return an errno, which usually needs to be converted to an errno, sometimes immediately, sometimes a little later. Also, nfsd_setattr returns an nfserr which SHOULDN'T be converted from an errno (because it isn't one). Also some tidyups of the form: err = XX err = nfserrno(err) and err = XX if (err) err = nfserrno(err) become err = nfserrno(XX) Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fcd53303de8dbbed863f6471ca92eb96a1faa28 Author: Al Viro Date: Wed Jan 18 17:43:48 2006 -0800 [PATCH] nfsd4_lock() returns bogus values to clients missing nfserrno() in default case of a switch by return value of posix_lock_file(); as the result we send negative host-endian to clients that expect positive network-endian, preferably mentioned in RFC... BTW, that case is not impossible - posix_lock_file() can return -ENOLCK and we do not handle that one explicitly. Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de1ae286f863c46b7c8f9bed97df17d7f5ea510c Author: Al Viro Date: Wed Jan 18 17:43:47 2006 -0800 [PATCH] NFSERR_SERVERFAULT returned host-endian ->rp_status is network-endian and nobody byteswaps it before sending to client; putting NFSERR_SERVERFAULT instead of nfserr_serverfault in there is not nice... Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9246585a117f182d26a5a5c15872c3e8fcf44dd6 Author: Al Viro Date: Wed Jan 18 17:43:46 2006 -0800 [PATCH] nfsd4_truncate() bogus return value -EINVAL (in host order, no less) is not a good thing to return to client. nfsd4_truncate() returns it in one case and its callers expect nfs_.... from it. AFAICS, it should be nfserr_inval Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d75f2b9f5da71667aba7e97a962c49f1e17aa4ca Author: Al Viro Date: Wed Jan 18 17:43:44 2006 -0800 [PATCH] nfsd/vfs.c: endianness fixes Several failure exits return -E instead of nfserr_ and vice versa. Signed-off-by: Al Viro Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5274881992b8a632620f69346401da66e480a23b Author: Fred Isaman Date: Wed Jan 18 17:43:43 2006 -0800 [PATCH] nfsd4: clean up settattr code Clean up some unnecessary special-casing in the setattr code.. Signed-off-by: Fred Isaman Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34081efc12aaaa12f20e5b59f3cb98ba6e27fb34 Author: Fred Isaman Date: Wed Jan 18 17:43:40 2006 -0800 [PATCH] nfsd4: Fix bug in rdattr_error return Fix bug in rdattr_error return which causes correct error code to be overwritten by nfserr_toosmall. Signed-off-by: Fred Isaman Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c26d08f02f829a833d393c3f1b196538a9ec2c4 Author: J. Bruce Fields Date: Wed Jan 18 17:43:38 2006 -0800 [PATCH] nfsd4: fix open_downgrade Bad bookkeeping of the share reservations when handling open upgrades was causing open downgrade to fail. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb553c0f17444e090db951b96df4d2d71b4f4b6b Author: J. Bruce Fields Date: Wed Jan 18 17:43:36 2006 -0800 [PATCH] nfsd4: don't create on open that fails due to ERR_GRACE In an earlier patch (commit b648330a1d741d5df8a5076b2a0a2519c69c8f41) I noted that a too-early grace-period check was preventing us from bumping the sequence id on open. Unfortunately in that patch I stupidly moved the grace-period check back too far, so now an open for create can succesfully create the file while still returning ERR_GRACE. The correct place for that check is after we've set the open_owner and handled any replays, but before we actually start mucking with the filesystem. Thanks to Avishay Traeger for reporting the bug. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f442aa299bb47046db4077d9c122a1b539311ce Author: J. Bruce Fields Date: Wed Jan 18 17:43:34 2006 -0800 [PATCH] nfsd4: simplify process-open1 logic nfsd4_process_open1 is very highly nested; flatten it out a bit. Also, the preceding comment, which just outlines the logic, seems redundant. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 375c5547cbf39423078535affac66c8afdc8fafb Author: J. Bruce Fields Date: Wed Jan 18 17:43:33 2006 -0800 [PATCH] nfsd4: nfs4state.c miscellaneous goto removals Remove some goto's that made the logic here a little more tortuous than necessary. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae8b625313db4dd4b060962c2a02f3a2837ca61b Author: J. Bruce Fields Date: Wed Jan 18 17:43:32 2006 -0800 [PATCH] nfsd4: no replays on unconfirmed owners We shouldn't check for replays until after checking whether the open owner is confirmed. Clients are allowed to reuse openowners without bumping the seqid. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a525825df15221a95d4c1f5a291d9fde77ef10bc Author: J. Bruce Fields Date: Wed Jan 18 17:43:30 2006 -0800 [PATCH] nfsd4: handle replays of failed open reclaims We need to make sure open reclaims are marked confirmed immediately so that we can handle replays even if they fail (e.g. with a seqid-incrementing error). (See 8.1.8.) Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2642ab05b855d2d3b850ddf90dbb02b1b9358ac Author: J. Bruce Fields Date: Wed Jan 18 17:43:29 2006 -0800 [PATCH] nfsd4: recovery lookup dir check Make sure we get a directory when we look up the recovery directory. Thanks to Christoph Hellwig for the bug report. Based on feedback from Christoph and others, we may remove the need for this lookup and just pass in a file descriptor from userspace instead, and/or completely move the directory handling to userspace. For now we're just fixing the obvious bugs. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d22749b62f3e12de26b86a200f9a5bf7afe3590e Author: J. Bruce Fields Date: Wed Jan 18 17:43:27 2006 -0800 [PATCH] nfsd4: fix open of recovery directory We should be opening this directory RDONLY, not RDWR. Thanks to Christoph Hellwig for the bug report. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fb8b49e2955cc473929c5994b8389111daed59d Author: J. Bruce Fields Date: Wed Jan 18 17:43:26 2006 -0800 [PATCH] svcrpc: gss: svc context creation error handling Allow mechanisms to return more varied errors on the context creation downcall. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91a4762e0ab0880fa00e8f0b7a052e4929d867a6 Author: Kevin Coffman Date: Wed Jan 18 17:43:25 2006 -0800 [PATCH] svcrpc: gss: server context init failure handling We require the server's gssd to create a completed context before asking the kernel to send a final context init reply. However, gssd could be buggy, or under some bizarre circumstances we might purge the context from our cache before we get the chance to use it here. Handle this case by returning GSS_S_NO_CONTEXT to the client. Also move the relevant code here to a separate function rather than nesting excessively. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 822f1005ae1f3a4a8b136f38a6933d3f719f4c4a Author: Andy Adamson Date: Wed Jan 18 17:43:24 2006 -0800 [PATCH] svcrpc: gss: handle the GSS_S_CONTINUE Kerberos context initiation is handled in a single round trip, but other mechanisms (including spkm3) may require more, so we need to handle the GSS_S_CONTINUE case in svcauth_gss_accept. Send a null verifier. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd44527707f2697fd2959e8bdb321ae588d150e2 Author: J. Bruce Fields Date: Wed Jan 18 17:43:23 2006 -0800 [PATCH] nfsd4: operation debugging Simple, useful debugging printk: print the number of each op as we process it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 796dadfd02eda1e3e6e42ecc8379d8b1c1523ddf Author: J. Bruce Fields Date: Wed Jan 18 17:43:22 2006 -0800 [PATCH] nfsd4: fix check_for_locks Fix some bad logic. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04ef59548470b81829e8593c1b39776ce0534d68 Author: J. Bruce Fields Date: Wed Jan 18 17:43:21 2006 -0800 [PATCH] nfsd4: remove release_state_owner() It's confusing having both release_stateowner() and release_state_owner(). And as it turns out, release_state_owner() is short and only called from one place; so just remove it. Also note the confirmed check is superfluous there--preprocess_seqid_op already check this. And remove a redundant comment and a superfluous line assignment while we're at it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a65588adc4401622b204caa897123e16a4a0318 Author: J. Bruce Fields Date: Wed Jan 18 17:43:19 2006 -0800 [PATCH] nfsd4: rename lk_stateowner One of the things that's confusing about nfsd4_lock is that the lk_stateowner field could be set to either of two different lockowners: the open owner or the lock owner. Rename to lk_replay_owner and add a comment to make it clear that it's used for whichever stateowner has its sequence id bumped for replay detection. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a280510852959c0d51b1d625e90c0491c238368 Author: J. Bruce Fields Date: Wed Jan 18 17:43:18 2006 -0800 [PATCH] nfsd4: fix nfsd4_lock cleanup on failure release_state_owner also puts the lock owner on the close_lru. There's no need for that, though; replays of the failed lock would be handled by the openowner not the lockowner. Also consolidate the cleanup a bit, fixing leaks that can happen if errors occur between the time a new lock owner is allocated and the lock is done. Remove a comment and dprintk that look a little redundant. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6f6ef2f1d7329111fcad7db48fb7adba5062d0a Author: Andy Adamson Date: Wed Jan 18 17:43:17 2006 -0800 [PATCH] nfsd4: misc lock fixes Logic fixes for LOCK and UNLOCK. - Move the permission check on the current file handle outside of nfs4_lock_state() - remove the file manager fl_release_private calls; fl_ops is not set. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1918e341383ab787d6c5b17200f4ed901b10c777 Author: J. Bruce Fields Date: Wed Jan 18 17:43:16 2006 -0800 [PATCH] svcrpc: save and restore the daddr field when request deferred The server code currently keeps track of the destination address on every request so that it can reply using the same address. However we forget to do that in the case of a deferred request. Remedy this oversight. >From folks at PolyServe. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8f05934d540aeb45c1cc3cc3a0e811bd61866b Author: NeilBrown Date: Wed Jan 18 17:43:14 2006 -0800 [PATCH] nfsd: remove inline from a couple of large NFS functions These are both called from two places close together. I could rearrange that code so there is only one call site, but just removing the 'inline' is probably best. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f193fbab2e4710f629e7c1859d4908646b47b126 Author: YAMAMOTO Takashi Date: Wed Jan 18 17:43:13 2006 -0800 [PATCH] nfsd: check error status from nfsd_sync_dir Change nfsd_sync_dir to return an error if ->sync fails, and pass that error up through the stack. This involves a number of rearrangements of error paths, and care to distinguish between Linux -errno numbers and NFSERR numbers. In the 'create' routines, we continue with the 'setattr' even if a previous sync_dir failed. This patch is quite different from Takashi's in a few ways, but there is still a strong lineage. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b192832daae6d141063c49ae1ded6f7dddee50e Author: Roman Zippel Date: Wed Jan 18 17:43:12 2006 -0800 [PATCH] hfs: set type/creator for symlinks Set the correct type and creator for symlinks. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af8c85bb6d4e5352551277edd8448c4dfb2328ab Author: Roman Zippel Date: Wed Jan 18 17:43:10 2006 -0800 [PATCH] hfs: set correct create date for links HFS+ also requires the correct creation date so recent version of OS X recognize it as link. Improve link handling: - if something is wrong with the link, ignore the link attribute and treat it as regular file (this also fixes a missing unlock during lookup). - check for incorrect link counts during unlink. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a4cad95c9338077487226e22d4e01bc9edebf21 Author: Roman Zippel Date: Wed Jan 18 17:43:09 2006 -0800 [PATCH] hfs: set correct ctime Read the correct ctime from disk (it was written but never read for some reason). Read also creation date, which is used in the next patch. (Problem found by Olivier Castan ) Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2179d372d9f8b5fc5c189c89bc6a565a42151b23 Author: David Elliott Date: Wed Jan 18 17:43:08 2006 -0800 [PATCH] hfs: add HFSX support Add support for HFSX, which allows for case-sensitive filenames. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cf3cc3036cb7b1147350bf7c3f1ab98c160eb7b Author: Roman Zippel Date: Wed Jan 18 17:43:07 2006 -0800 [PATCH] hfs: cleanup HFS prints Add the log level and a "hfs: " prefix to all kernel prints. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 634725a92938b0f282b17cec0b007dca77adebd2 Author: Roman Zippel Date: Wed Jan 18 17:43:05 2006 -0800 [PATCH] hfs: cleanup HFS+ prints Add the log level and a "hfs: " prefix to all kernel prints. (HFS and HFS+ will use the same prefix, as they share some code and could be merged at some point.) Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5131cf154ad1c6e584efa58d17a469d0b80f49bd Author: Arnd Bergmann Date: Wed Jan 18 17:43:04 2006 -0800 [PATCH] add missing syscall declarations All standard system calls should be declared in include/linux/syscalls.h. Add some of the new additions that were previously missed. Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c21761f168894b356626c847fe13be39605d76b4 Author: Jason Baron Date: Wed Jan 18 17:43:03 2006 -0800 [PATCH] fix sched_setscheduler semantics Currently, a negative policy argument passed into the 'sys_sched_setscheduler()' system call, will return with success. However, the manpage for 'sys_sched_setscheduler' says: EINVAL The scheduling policy is not one of the recognized policies, or the parameter p does not make sense for the policy. Signed-off-by: Jason Baron Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 147b31cf09ee493aa71c87c0dd2eef74b6b2aeba Author: Eric Van Hensbergen Date: Wed Jan 18 17:43:02 2006 -0800 [PATCH] v9fs: add readpage support v9fs mmap support was originally removed from v9fs at Al Viro's request, but recently there have been requests from folks who want readpage functionality (primarily to enable execution of files mounted via 9P). This patch adds readpage support (but not writepage which contained most of the objectionable code). It passes fsx-linux (and other regressions) so it should be relatively safe. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a374a48ffbd7d1ffd40d1d30d2751df159a1aca7 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:43:01 2006 -0800 [PATCH] uml ubd code: fix a bit of whitespace Correct a bit of whitespace problems while working here. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4833aff757b747b51b878a13f3a6e2b1a2abb619 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:43:00 2006 -0800 [PATCH] uml: allow again to move backing file and to override saved location When the user specifies both a COW file and its backing file, if the previous backing file is not found, currently UML tries again to use it and fails. This can be corrected by changing same_backing_files() return value in that case, so that the caller will try to change the COW file to point to the new location, as already done in other cases. Additionally, given the change in the meaning of the func, change its name, invert its return value, so all values are inverted except when stat(from_cow,&buf2) fails. And add some comments and two minor bugfixes - remove a fd leak (return err rather than goto out) and a repeated check. Tested well. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce2d2aedcc3ca582fed90f44970e8b3e4f006a7d Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:59 2006 -0800 [PATCH] uml: arch Kconfig menu cleanups *) mark as "EXPERIMENTAL" various items that either aren't very stable or that are actively crashing the setup of users which don't really need them (i.e. HIGHMEM and 3-level pagetables on x86 - nobody needs either, everybody reports "I'm using it and getting trouble"). *) move net/Kconfig near to the rest of network configurations, and drivers/block/Kconfig near "Block layer" submenu. *) it's useless and doesn't work well to force NETDEVICES on and to disable the prompt like it's done. Better remove the attempt, and change that to a simple "default y if UML". *) drop the warning about "report problems about HPPFS" - it's redundant anyway, as that's the usual procedure, and HPPFS users are especially technical (i.e. they know reporting bugs is _good_). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b63162939cd797c8269964ce856ed1f2fec5f70e Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:58 2006 -0800 [PATCH] uml: avoid malloc to sleep in atomic sections Ugly trick to help make malloc not sleeping - we can't do anything else. But this is not yet optimal, since spinlock don't trigger in_atomic() when preemption is disabled. Also, even if ugly, this was already used in one place, and was even more bogus. Fix it. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6a2b13778873bd9edd0b4a7d24a7bd730369021 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:57 2006 -0800 [PATCH] uml: sigio code - reduce spinlock hold time In a previous patch I shifted an allocation to being atomic. In this patch, a better but more intrusive solution is implemented, i.e. hold the lock only when really needing it, especially not over pipe operations, nor over the culprit allocation. Additionally, while at it, add a missing kfree in the failure path, and make sure that if we fail in forking, write_sigio_pid is -1 and not, say, -ENOMEM. And fix whitespace, at least for things I was touching anyway. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71c8d4c3aad3132765d30b05dce98bb8a9508f02 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:56 2006 -0800 [PATCH] uml: fix spinlock recursion and sleep-inside-spinlock in error path In this error path, when the interface has had a problem, we call dev_close(), which is disallowed for two reasons: *) takes again the UML internal spinlock, inside the ->stop method of this device *) can be called in process context only, while we're in interrupt context. I've also thought that calling dev_close() may be a wrong policy to follow, but it's not up to me to decide that. However, we may end up with multiple dev_close() queued on the same device. But the initial test for (dev->flags & IFF_UP) makes this harmless, though - and dev_close() is supposed to care about races with itself. So there's no harm in delaying the shutdown, IMHO. Something to mark the interface as "going to shutdown" would be appreciated, but dev_deactivate has the same problems as dev_close(), so we can't use it either. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56a78855a4f72fc658bfd21d08939dd6e09fa4c Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:55 2006 -0800 [PATCH] uml: networking - clear transport-specific structure Pre-clear transport-specific private structure before passing it down. In fact, I just got a slab corruption and kernel panic on exit because kfree() was called on a pointer which probably was never allocated, BUT hadn't been set to NULL by the driver. As the code is full of such errors, I've decided for now to go the safe way (we're talking about drivers), and to do the simple thing. I'm also starting to fix drivers, and already sent a patch for the daemon transport. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c42791b6ec5453cd7910eac7bfdd88f27173f81c Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:53 2006 -0800 [PATCH] uml: make daemon transport behave properly Avoid uninitialized data in the daemon_data structure. I used this transport before doing proper setup before-hand, and I got some very nice SLAB corruption due to freeing crap pointers. So just make sure to clear everything when appropriate. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b948068b84b9759cdf0965abf3074dcb9230e98 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jan 18 17:42:52 2006 -0800 [PATCH] uml: remove leftover from patch revertal I added this line to share this file with UML, but now it's no longer shared so remove this useless leftover. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097fdf06c63741e6ac1a4e01c2255861dd0a1c49 Author: Bodo Stroesser Date: Wed Jan 18 17:42:51 2006 -0800 [PATCH] uml: TT mode softint fixes Some fixes to make softints work in tt mode. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c83d4635ee8c8fe16046ff6cabcff708be16df75 Author: Jeff Dike Date: Wed Jan 18 17:42:50 2006 -0800 [PATCH] uml: use setjmp/longjmp instead of sigsetjmp/siglongjmp Now that we are doing soft interrupts, there's no point in using sigsetjmp and siglongjmp. Using setjmp and longjmp saves a sigprocmask on every jump. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d7173baf286c8b720f97f119ec92be43076ebde Author: Jeff Dike Date: Wed Jan 18 17:42:49 2006 -0800 [PATCH] uml: implement soft interrupts This patch implements soft interrupts. Interrupt enabling and disabling no longer map to sigprocmask. Rather, a flag is set indicating whether interrupts may be handled. If a signal comes in and interrupts are marked as OK, then it is handled normally. If interrupts are marked as off, then the signal handler simply returns after noting that a signal needs handling. When interrupts are enabled later on, this pending signals flag is checked, and the IRQ handlers are called at that point. The point of this is to reduce the cost of local_irq_save et al, since they are very much more common than the signals that they are enabling and disabling. Soft interrupts produce a speed-up of ~25% on a kernel build. Subtleties - UML uses sigsetjmp/siglongjmp to switch contexts. sigsetjmp has been wrapped in a save_flags-like macro which remembers the interrupt state at setjmp time, and restores it when it is longjmp-ed back to. The enable_signals function has to loop because the IRQ handler disables interrupts before returning. enable_signals has to return with signals enabled, and signals may come in between the disabling and the return to enable_signals. So, it loops for as long as there are pending signals, ensuring that signals are enabled when it finally returns, and that there are no pending signals that need to be dealt with. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09ee011eb322c2072ec184a88763c250a5485d8b Author: Jeff Dike Date: Wed Jan 18 17:42:48 2006 -0800 [PATCH] uml: eliminate some globals Stop using global variables to hold the file descriptor and offset used to map the skas0 stubs. Instead, calculate them using the page physical addresses. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abaf69773d8dda98b917d94c07757f6520da7bec Author: Gennady Sharapov Date: Wed Jan 18 17:42:46 2006 -0800 [PATCH] uml: move libc-dependent skas process handling The serial UML OS-abstraction layer patch (um/kernel/skas dir). This moves all systemcalls from skas/process.c file under os-Linux dir and join skas/process.c and skas/process_kern.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f45d9fc9d80678c2ee22c578e503055207c46fd0 Author: Gennady Sharapov Date: Wed Jan 18 17:42:45 2006 -0800 [PATCH] uml: move libc-dependent skas memory mapping code The serial UML OS-abstraction layer patch (um/kernel/skas dir). This moves all systemcalls from skas/mem_user.c file under os-Linux dir and join skas/mem_user.c and skas/mem.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4abfbf4034b419736de5797a3860ab0bcf5c5c8d Author: Gennady Sharapov Date: Wed Jan 18 17:42:44 2006 -0800 [PATCH] uml: move headers to arch/um/include The serial UML OS-abstraction layer patch (um/kernel dir). This moves skas headers to arch/um/include. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c332a251302873cf8301c2aad27737b6df70255 Author: Bodo Stroesser Date: Wed Jan 18 17:42:43 2006 -0800 [PATCH] uml: change interface to boot_timer_handler Current implementation of boot_timer_handler isn't usable for s390. So I changed its name to do_boot_timer_handler, taking (struct sigcontext *)sc as argument. do_boot_timer_handler is called from new boot_timer_handler() in arch/um/os-Linux/signal.c, which uses the same mechanisms as other signal handler to find out sigcontext pointer. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cff65c4f0ea6662124bbb7bf3806e5df1c6d735d Author: Gennady Sharapov Date: Wed Jan 18 17:42:42 2006 -0800 [PATCH] uml: move libc-dependent time code The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from time.c file under os-Linux dir and joins time.c and tine_kernel.c files Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fef0c10fa174b57a10854b8b4b2b90d155706e0 Author: Gennady Sharapov Date: Wed Jan 18 17:42:41 2006 -0800 [PATCH] uml: move libc-dependent utility procedures The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from user_util.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12919aa6e015dd85170fc3b1a3e10a5dfd116c72 Author: Bodo Stroesser Date: Wed Jan 18 17:42:39 2006 -0800 [PATCH] uml: move LDT creation s390 doesn't have a LDT. So MM_COPY_SEGMENTS will not be supported on s390. The only user of MM_COPY_SEGMENTS is new_mm(), but that's no longer useful, as arch/sys-i386/ldt.c defines init_new_ldt(), which is called immediately after new_mm(). So we should copy host's LDT in init_new_ldt(), if /proc/mm is available, to have this subarch specific call in subarch code. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea1eae75eb596e0628dc5e01d32c78b1f6b257fb Author: Jeff Dike Date: Wed Jan 18 17:42:38 2006 -0800 [PATCH] uml: add __raw_writel definition Add implementations of the write* and __raw_write* functions. __raw_writel is needed by lib/iocopy.c, which shouldn't be used in UML, but which is unconditionally linked in anyway. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86c562a9d6683063e071692fe14e0a18e64ee1be Author: Christoph Lameter Date: Wed Jan 18 17:42:37 2006 -0800 [PATCH] mm: optimize numa policy handling in slab allocator Move the interrupt check from slab_node into ___cache_alloc and adds an "unlikely()" to avoid pipeline stalls on some architectures. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc85da15d42b0efc792b0f5eab774dc5dbc1ceec Author: Christoph Lameter Date: Wed Jan 18 17:42:36 2006 -0800 [PATCH] NUMA policies in the slab allocator V2 This patch fixes a regression in 2.6.14 against 2.6.13 that causes an imbalance in memory allocation during bootup. The slab allocator in 2.6.13 is not numa aware and simply calls alloc_pages(). This means that memory policies may control the behavior of alloc_pages(). During bootup the memory policy is set to MPOL_INTERLEAVE resulting in the spreading out of allocations during bootup over all available nodes. The slab allocator in 2.6.13 has only a single list of slab pages. As a result the per cpu slab cache and the spinlock controlled page lists may contain slab entries from off node memory. The slab allocator in 2.6.13 makes no effort to discern the locality of an entry on its lists. The NUMA aware slab allocator in 2.6.14 controls locality of the slab pages explicitly by calling alloc_pages_node(). The NUMA slab allocator manages slab entries by having lists of available slab pages for each node. The per cpu slab cache can only contain slab entries associated with the node local to the processor. This guarantees that the default allocation mode of the slab allocator always assigns local memory if available. Setting MPOL_INTERLEAVE as a default policy during bootup has no effect anymore. In 2.6.14 all node unspecific slab allocations are performed on the boot processor. This means that most of key data structures are allocated on one node. Most processors will have to refer to these structures making the boot node a potential bottleneck. This may reduce performance and cause unnecessary memory pressure on the boot node. This patch implements NUMA policies in the slab layer. There is the need of explicit application of NUMA memory policies by the slab allcator itself since the NUMA slab allocator does no longer let the page_allocator control locality. The check for policies is made directly at the beginning of __cache_alloc using current->mempolicy. The memory policy is already frequently checked by the page allocator (alloc_page_vma() and alloc_page_current()). So it is highly likely that the cacheline is present. For MPOL_INTERLEAVE kmalloc() will spread out each request to one node after another so that an equal distribution of allocations can be obtained during bootup. It is not possible to push the policy check to lower layers of the NUMA slab allocator since the per cpu caches are now only containing slab entries from the current node. If the policy says that the local node is not to be preferred or forbidden then there is no point in checking the slab cache or local list of slab pages. The allocation better be directed immediately to the lists containing slab entries for the allowed set of nodes. This way of applying policy also fixes another strange behavior in 2.6.13. alloc_pages() is controlled by the memory allocation policy of the current process. It could therefore be that one process is running with MPOL_INTERLEAVE and would f.e. obtain a new page following that policy since no slab entries are in the lists anymore. A page can typically be used for multiple slab entries but lets say that the current process is only using one. The other entries are then added to the slab lists. These are now non local entries in the slab lists despite of the possible availability of local pages that would provide faster access and increase the performance of the application. Another process without MPOL_INTERLEAVE may now run and expect a local slab entry from kmalloc(). However, there are still these free slab entries from the off node page obtained from the other process via MPOL_INTERLEAVE in the cache. The process will then get an off node slab entry although other slab entries may be available that are local to that process. This means that the policy if one process may contaminate the locality of the slab caches for other processes. This patch in effect insures that a per process policy is followed for the allocation of slab entries and that there cannot be a memory policy influence from one process to another. A process with default policy will always get a local slab entry if one is available. And the process using memory policies will get its memory arranged as requested. Off-node slab allocation will require the use of spinlocks and will make the use of per cpu caches not possible. A process using memory policies to redirect allocations offnode will have to cope with additional lock overhead in addition to the latency added by the need to access a remote slab entry. Changes V1->V2 - Remove #ifdef CONFIG_NUMA by moving forward declaration into prior #ifdef CONFIG_NUMA section. - Give the function determining the node number to use a saner name. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc0abb1451c64c79ac80665d5ba74450ce274e4d Author: Ingo Molnar Date: Wed Jan 18 17:42:33 2006 -0800 [PATCH] sem2mutex: mm/slab.c Convert mm/swapfile.c's swapon_sem to swapon_mutex. Signed-off-by: Ingo Molnar Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1743660b911bfb849b1fb33830522254561b9f9b Author: Christoph Lameter Date: Wed Jan 18 17:42:32 2006 -0800 [PATCH] Zone reclaim: proc override proc support for zone reclaim This patch creates a proc entry /proc/sys/vm/zone_reclaim_mode that may be used to override the automatic determination of the zone reclaim made on bootup. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9eeff2395e3cfd05c9b2e6074ff943a34b0c5c21 Author: Christoph Lameter Date: Wed Jan 18 17:42:31 2006 -0800 [PATCH] Zone reclaim: Reclaim logic Some bits for zone reclaim exists in 2.6.15 but they are not usable. This patch fixes them up, removes unused code and makes zone reclaim usable. Zone reclaim allows the reclaiming of pages from a zone if the number of free pages falls below the watermarks even if other zones still have enough pages available. Zone reclaim is of particular importance for NUMA machines. It can be more beneficial to reclaim a page than taking the performance penalties that come with allocating a page on a remote zone. Zone reclaim is enabled if the maximum distance to another node is higher than RECLAIM_DISTANCE, which may be defined by an arch. By default RECLAIM_DISTANCE is 20. 20 is the distance to another node in the same component (enclosure or motherboard) on IA64. The meaning of the NUMA distance information seems to vary by arch. If zone reclaim is not successful then no further reclaim attempts will occur for a certain time period (ZONE_RECLAIM_INTERVAL). This patch was discussed before. See http://marc.theaimsgroup.com/?l=linux-kernel&m=113519961504207&w=2 http://marc.theaimsgroup.com/?l=linux-kernel&m=113408418232531&w=2 http://marc.theaimsgroup.com/?l=linux-kernel&m=113389027420032&w=2 http://marc.theaimsgroup.com/?l=linux-kernel&m=113380938612205&w=2 Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1fd1067ece574ab56e4a70878b9a5a1ed4c3c42 Author: Christoph Lameter Date: Wed Jan 18 17:42:30 2006 -0800 [PATCH] Zone reclaim: resurrect may_swap Zone reclaim has a huge impact on NUMA performance (f.e. our maximum throughput with XFS is raised from 4GB to 6GB/sec / page cache contamination of numa nodes destroys locality if one just does a large copy operation which results in performance dropping for good until reboot). This patch: Resurrect may_swap in struct scan_control Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc3012896337c83a056c496d7cfb0072e1591181 Author: Christoph Lameter Date: Wed Jan 18 17:42:29 2006 -0800 [PATCH] Simplify migrate_page_add Simplify migrate_page_add after feedback from Hugh. This also allows us to drop one parameter from migrate_page_add. Signed-off-by: Christoph Lameter Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 053837fce7aa79025ed57656855df09f80175527 Author: Nick Piggin Date: Wed Jan 18 17:42:27 2006 -0800 [PATCH] mm: migration page refcounting fix Migration code currently does not take a reference to target page properly, so between unlocking the pte and trying to take a new reference to the page with isolate_lru_page, anything could happen to it. Fix this by holding the pte lock until we get a chance to elevate the refcount. Other small cleanups while we're here. Signed-off-by: Nick Piggin Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e236a166b2bc437769a9b8b5d19186a3761bde48 Author: Andrew Morton Date: Wed Jan 18 17:42:26 2006 -0800 [PATCH] mm: dirty_exceeded speedup Ravikiran reports that this variable is bouncing all around nodes on NUMA machines, causing measurable performance problems. Fix that up by only writing to it when it actually changed. And put it in a new cacheline to prevent it sharing with other things (this happened). Signed-off-by: Ravikiran Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2aeacd48ca2418fbac985a58d2200c263444d65 Author: Jon Mason Date: Wed Jan 18 17:42:25 2006 -0800 [PATCH] Prevent trident driver from grabbing pcnet32 hardware Some pcnet32 hardware erroneously has the Vendor ID for Trident. The pcnet32 driver looks for the PCI ethernet class before grabbing the hardware, but the current trident driver does not check against the PCI audio class. This allows the trident driver to claim the pcnet32 hardware. This patch prevents that. This revised version of the OSS Trident patch includes PCI_DEVICE Macro usage. Signed-off-by: Jon Mason Signed-off-by: Muli Ben-Yehuda Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35fbd397f0ce2addd5ab889bf0bcd95f45837e3e Author: Paul Fulghum Date: Wed Jan 18 17:42:24 2006 -0800 [PATCH] synclink_gt fix size of register value storage Fix incorrect variable size used to hold register value. This bug might wipe out a portion of the TCR value when setting the interface options. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8d338c8dbc4461a6de1171c2332b8ed547f8f3b Author: Andrew Morton Date: Wed Jan 18 17:42:22 2006 -0800 [PATCH] scsi_transport_spi build fix On alpha: In file included from drivers/scsi/sym53c8xx_2/sym_glue.h:59, from drivers/scsi/sym53c8xx_2/sym_fw.c:40: include/scsi/scsi_transport_spi.h:57: error: field `dv_mutex' has incomplete type Cc: James Bottomley Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab26a20bb0ca0cafb3190972c982f9bfb819040f Author: Jan Beulich Date: Wed Jan 18 17:42:21 2006 -0800 [PATCH] x86_64: Fix MCE exception stack for boot CPU Fix a typo/mis-merge in one of the previous patches. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43c3e6f5abdf6acac9b90c86bf03f995bf7d3d92 Author: Jan Kara Date: Wed Jan 18 17:42:20 2006 -0800 [PATCH] jbd: remove_transaction fix We have to check that also the second checkpoint list is non-empty before dropping the transaction. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d3c7fce2d20ecc3264c8d8c91ae3beacdeaed1b Author: Jan Kara Date: Wed Jan 18 17:42:19 2006 -0800 [PATCH] jbd: log_do_checkpoint fix While checkpointing we have to check that our transaction still is in the checkpoint list *and* (not or) that it's not just a different transaction with the same address. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 959a85ada599fd5bab7fab8251795c3a58af28d4 Author: David S. Miller Date: Wed Jan 18 14:58:05 2006 -0800 [SPARC64]: Fix build with CONFIG_COMPAT disabled. Based upon a report and preliminary patch from Jim Gifford. Signed-off-by: David S. Miller commit c126cf80d450a4d0aac3de7162d4c14b5c971b24 Author: Eddie C. Dost Date: Wed Jan 18 14:54:31 2006 -0800 [SPARC64]: Serial Console for E250 Patch From: Eddie C. Dost I have the following patch for serial console over the RSC (remote system controller) on my E250 machine. It basically adds support for input-device=rsc and output-device=rsc from OBP, and allows 115200,8,n,1,- serial mode setting. Signed-off-by: David S. Miller commit 29f8f63272bd286549d1c7f75ad22686191d35d8 Author: John W. Linville Date: Wed Jan 18 14:52:48 2006 -0800 [MAINTAINERS]: add entry for wireless networking Add an entry to MAINTAINERS for wireless networking, just so people know whom to bless with patches. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit d5ca3117b07ebb0e7dcd5e7a1219277cc4478266 Author: John W. Linville Date: Wed Jan 18 14:52:18 2006 -0800 [MAINTAINERS]: correct location for net-2.6.git Correct location info for net-2.6 git tree. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 1e74c891252941ac195bb47978f079c592271a3f Author: David Vrabel Date: Wed Jan 18 22:46:43 2006 +0000 [ARM] 3281/1: ixp4xx: export ixp4xx_exp_bus_size for modules Patch from David Vrabel Export ixp4xx_exp_bus_size so modules can use the IXP4XX_EXP_BUS_BASE(n) macro. Also, fix a printk format warning. Signed-off-by: David Vrabel Signed-off-by: Russell King commit 265d5e48dd1fd4c53f2b454e1e82b7713ddca37e Author: Nicolas Pitre Date: Wed Jan 18 22:38:51 2006 +0000 [ARM] 3272/1: fix kernel decompressor crash Patch from Nicolas Pitre Commit f4619025a51747a3788fd1bb6bdc46e368a889a7 broke the kernel decompressor (at least on PXA). Here's the fix. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 5e0974459df9acd6cd0952c98a58816ad820ae66 Author: Nicolas Pitre Date: Wed Jan 18 22:38:49 2006 +0000 [ARM] 3271/1: ARM EABI: fix calling of cmpxchg syscall emulation Patch from Nicolas Pitre This is kernel provided user space code. Since a syscall is used, it has to be updated to work with EABI. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit fcca538b83f2984095f15f0f90f6c7686e3a32d4 Author: Nicolas Pitre Date: Wed Jan 18 22:38:47 2006 +0000 [ARM] 3270/1: ARM EABI: fix sigreturn and rt_sigreturn Patch from Nicolas Pitre The signal return path consists of user code provided by the kernel. Since a syscall is used, it has to be updated to work with EABI. Noticed by Daniel Jacobowitz. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 1230b4046b9da77ccb83ef2eaffc54dc4a96093a Author: Andrew Victor Date: Wed Jan 18 22:38:46 2006 +0000 [ARM] 3268/1: AT91RM9200 serial update for 2.6.15-git12 Patch from Andrew Victor This patch fixes two small issues with 2.6.15-git12. 1) Corrected major/minor numbers for ttyAT devices in the KConfig help. (Patch from Karl Olsen) 2) tty->flip.count has been removed. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 68477d11769ce8c6830523f08637894c43885c7e Author: David Vrabel Date: Wed Jan 18 22:38:44 2006 +0000 [ARM] 3267/1: PXA27x SSP controller register defines Patch from David Vrabel PXA27x SSP controller has a few different registers, including SCR (serial clock rate) in SSCR0. Signed-off-by: David Vrabel Signed-off-by: Russell King commit ad12583f46bcb6ce93ccd99fa063c0d701146b2e Author: David L Stevens Date: Wed Jan 18 14:20:56 2006 -0800 [IPV4]: Fix multiple bugs in IGMPv3 1) fix "mld_marksources()" to a) send nothing when all queried sources are excluded b) send full exclude report when source queried sources are not excluded c) don't schedule a timer when there's nothing to report 2) fix "add_grec()" to send empty-source records when it should The original check doesn't account for a non-empty source list with all sources inactive; the new code keeps that short-circuit case, and also generates the group header with an empty list if needed. 3) fix mca_crcount decrement to be after add_grec(), which needs its original value 4) add/remove delete records and prevent current advertisements when an exclude-mode filter moves from "active" to "inactive" or vice versa based on new filter additions. Items 1-3 are just IPv4 versions of the IPv6 bugs found by Yan Zheng and fixed earlier. Item #4 is a related bug that affects exclude-mode change records only (but not queries) and also occurs in IPv6 (IPv6 version coming soon). Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 47c886b3123a335f0622136e021e7691d60d742c Author: Steve French Date: Wed Jan 18 14:20:39 2006 -0800 [CIFS] Fix oops in cifs_readpages caused by not checking buf_type in an error path of new cifs_readpages code. Signed-off-by: Steve French commit 7ac5459ec0f074022818af35c589b9e2b406d7c3 Author: David S. Miller Date: Wed Jan 18 14:19:10 2006 -0800 [PKTGEN]: Respect hard_header_len of device. Don't assume 16. Found by Ben Greear. Signed-off-by: David S. Miller commit e048a374d0d7beb9cf3529eac71ddd79699c8669 Author: Stephen Hemminger Date: Wed Jan 18 14:06:59 2006 -0800 [IRDA]: maintainer status Jean says he really doesn't have time to much IRDA any more. The following would help motivate someone who has more time. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fa4f0774d7c6cccb4d1fda76b91dd8eddcb2dd6a Author: Nick Piggin Date: Wed Jan 18 14:05:16 2006 -0800 [CASSINI]: dont touch page_count Remove page refcount manipulations from cassini driver by using another field in struct page. Needed for lockless pagecache. Signed-off-by: Nick Piggin Signed-off-by: David S. Miller commit f3876c1bc7a23d4712c824f2ef5ec7d138259594 Author: Andrew Morton Date: Wed Jan 18 13:40:54 2006 -0800 [CPUFREQ] Don't free held mutex in cpufreq_add_dev() Make the cpufreq code play nicely with the mutex debugging code: don't free a held mutex. Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 83933af4720b282f6f6a0b6c05a2a47b4cf08819 Author: Arjan van de Ven Date: Sat Jan 14 16:01:49 2006 +0100 [CPUFREQ] convert remaining cpufreq semaphore to a mutex This one fell through the automation at first because it initializes the semaphore to locked, but that's easily remedied Signed-off-by: Arjan van de Ven Signed-off-by: Dave Jones drivers/cpufreq/cpufreq.c | 37 +++++++++++++++++++------------------ include/linux/cpufreq.h | 3 ++- 2 files changed, 21 insertions(+), 19 deletions(-) commit 3fc54d37ab64733448faf0185e19a80f070eb9e3 Author: akpm@osdl.org Date: Fri Jan 13 15:54:22 2006 -0800 [CPUFREQ] Convert drivers/cpufreq semaphores to mutexes. Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit c07a8475ddcadb55b11379c35c9586971a9cedbf Author: David S. Miller Date: Wed Jan 18 13:41:36 2006 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 7c4d33675f81fa38f85eeabbbf3e7b8687c15cc3 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:45 2006 -0800 [PATCH] e1000: fix compile warning Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 86c3d59ff54c31f07d0f0483dd3f668107c8cf85 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:43 2006 -0800 [PATCH] e1000: fix receive breakage in attempting to not send the "prefetch" patch, we broke the receive code, this patch fixes that issue. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 73629bbc84a7d4026ad08edbfefc642eec60f246 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:41 2006 -0800 [PATCH] e1000: Added driver comments Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 96838a40f02950f4ff501f62a7e59ac4d508e8b7 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:39 2006 -0800 [PATCH] e1000: Fix whitespace Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 6150f038158ad8ad4b74d6b76a67e2f68fd1d8e2 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:37 2006 -0800 [PATCH] e1000: Added functions declarations Added e1000_mc_addr_list_update Added e1000_read_reg_io Added e1000_enable_pciex_master These are not static functions, that is why we have them declared in the header. Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 2f82665fe51b65921e64d5ceb3a6db98f72c4d61 Author: Jesse Brandeburg Date: Wed Jan 18 13:01:34 2006 -0800 [PATCH] e1000: Added functions to save and restore config These functions help restore the driver to active configuration when coming out of resume for power management. Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit b92ff8ee5763ee0b408f3cf2360f58dd7ea9c5da Author: Jesse Brandeburg Date: Wed Jan 18 13:01:32 2006 -0800 [PATCH] e1000: Added RX buffer enhancements Align the prefetches to a dword to help speed them up. Recycle skb's and early replenish. Force memory writes to complete before fetching more descriptors. Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 35ec56bb78fda9c88cd1ad30e048ce5b4398d33f Author: Jesse Brandeburg Date: Wed Jan 18 13:01:30 2006 -0800 [PATCH] e1000: Added disable packet split capability Adds the ability to disability packet split at compile time and use the legacy receive path on PCI express hardware. Made this a CONFIG option and modified the Kconfig, to reflect the new option. Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit d9004eb466d03b7900ed432fecec6819012b4ed3 Author: Alon Bar-Lev Date: Wed Jan 18 11:47:33 2006 +0000 [SERIAL] Add 8250 support for Decision Computer International Co. PCCOM2 There is a new device which is look like: Serial controller: Decision Computer International Co. PCCOM2 (rev 02) (prog-if 02 [16550]) 0700: 6666:0004 (rev 02) (prog-if 02) Flags: medium devsel, IRQ 177 Memory at fe000000 (32-bit, non-prefetchable) [size=128] I/O ports at e880 [size=128] I/O ports at e400 [size=256] It has two 16550A, and is not listed in kernel, although the manufacturer clams that it is supported... I've created the following patch, it only add the new PCI id and the card to the repository, it seems to work. Signed-off-by: Alon Bar-Lev Signed-off-by: Russell King commit bc965a7f43d3fc37584f9c16c6d7a84a911a9d9c Author: Russell King Date: Wed Jan 18 09:54:29 2006 +0000 [SERIAL] Fix serial8250 driver initialisation ordering Commit 7493a314cb83797ce612a577475aacaedc553fed changed the ordering of the registration of the platform device driver vs the 8250 drivers internal initialisation. This led to the probe function being called before the driver had finished its internal initialisation, causing mayhem. Revert the ordering change. Signed-off-by: Russell King commit dbd2915ce87e811165da0717f8e159276ebb803e Author: Andrew Morton Date: Tue Jan 17 21:58:01 2006 -0800 [IPV4]: RT_CACHE_STAT_INC() warning fix BUG: using smp_processor_id() in preemptible [00000001] code: rpc.statd/2408 And it _is_ a bug, but I guess we don't care enough to add preempt_disable(). Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d41f084a74de860fe879403fbbad13abdf7aea8e Author: Steve French Date: Tue Jan 17 19:16:53 2006 -0800 [CIFS] Remove compiler warning Signed-off-by: Benoit Boissinot Signed-off-by: Steve French commit d88992f660936049f5f38d74ea5a86b5c1491a48 Author: David Chinner Date: Wed Jan 18 13:38:12 2006 +1100 [XFS] Fix a race in xfs_submit_ioend() where we can be completing I/O for a page while we are still submitting other buffers on the same page for I/O. SGI-PV: 948197 SGI-Modid: xfs-linux-melb:xfs-kern:25004a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit c6b3feaf5774508ab5a955a81e45ffefa3b12eaa Author: Bryan O'Sullivan Date: Tue Jan 17 17:00:05 2006 -0800 [PATCH] Fix sparse parse error in lppaca.h sparse can't parse a struct definition in include/asm-powerpc/lppaca.h, even though gcc can accept it. The form looks like this: struct __attribute__((whatever)) foo { }; An equivalent that both gcc and sparse can handle is struct foo { } __attribute__((whatever)); This is the only definition of this type in the tree, and fixing it is easier than fixing sparse. Signed-off-by: Bryan O'Sullivan [ Side note: fixing sparse wouldn't be hard, but the "attribute at the end" version is the canonical one, and the one that makes sense. So let's just fix the kernel instead. Luc Van Oostenryck already sent out a sparse patch to the sparse mailing list in case anybody cares. -- Linus ] Signed-off-by: Linus Torvalds commit 77783a78ded96a56e3a1a0c03bbe87c56896fe6e Author: Stephen Hemminger Date: Thu Jan 5 16:26:05 2006 -0800 [PATCH] skge: fix dma mask setup. There are a couple of problems in the DMA setup code for skge. * In the 64 bit case, it doesn't set the consistent mask. * In the 32 bit case, the error check is backwards! It likely will only be visible as a bug on 64 bit platforms. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a1bd9e68573239320d18823c73eb06d8e56cc9e2 Author: Alan Cox Date: Tue Jan 17 20:53:50 2006 +0000 [PATCH] libata: Code for the IRQ mask flag Signed-off-by: Alan Cox Somewhat cleaner in the resync as someone cleaned up the pio xfer users Signed-off-by: Jeff Garzik commit 9d824d0710a9e780451533ae4c5cdc5c2ff9062e Author: Alan Cox Date: Tue Jan 17 20:51:55 2006 +0000 [PATCH] libata: Fix sector lock to apply to both drives not drive 0 twice Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 8d238e012469a9a332c78d6a69a8a46ac4b1e9c2 Author: Alan Cox Date: Tue Jan 17 20:50:31 2006 +0000 [PATCH] libata: Fix heuristic typos add LBA48PIO flag and support code, add IRQ flag for next diff Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 012b265f76ce5d497b182569dc77f2c68662bead Author: Jason Gaston Date: Tue Jan 17 12:28:48 2006 -0800 [PATCH] Intel ICH8 SATA: add PCI device IDs Signed-off-by:  Jason Gaston Signed-off-by: Jeff Garzik commit 22d4d77183f0af8b3b643544a5ae64ec6105d88b Author: Alan Cox Date: Tue Jan 17 17:53:56 2006 +0000 [PATCH] Fix warning with b44.c on 64bit boxes sizeof() return is not an int, so use max_t to get the types right. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 0570cc08194630bd78aef7c2c2b4f6a3f02c2bba Author: Stephen Hemminger Date: Tue Jan 17 13:43:21 2006 -0800 [PATCH] sky2: 0.13 version Signed-off-by: Jeff Garzik commit 302d12522a36790858ce93b69ebf2220f9e5173a Author: Stephen Hemminger Date: Tue Jan 17 13:43:20 2006 -0800 [PATCH] sky2: more conservative transmit locking Be more careful about transmit locking, this solves a possible race between tx_complete and transmit, that would cause a tx timeout. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 28bd181a8e4abf1126de56f0934ba7c910276475 Author: Stephen Hemminger Date: Tue Jan 17 13:43:19 2006 -0800 [PATCH] sky2: don't inline so much Don't need to inline quite so many routines, let the compiler decide Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6aad85d6730d47d4867f24eeda517766aa89f8d0 Author: Stephen Hemminger Date: Tue Jan 17 13:43:18 2006 -0800 [PATCH] sky2: use kzalloc Can use kzalloc here. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3be92a70237a1bd813e46d6683a55b508627013a Author: Stephen Hemminger Date: Tue Jan 17 13:43:17 2006 -0800 [PATCH] sky2: ratelimit error messages Make sure and rate limit all the error messages that might occur. If a problem occurs then a few messages are enough. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a036119f977eeeae2089ddf5b4759de9ca5fbdb6 Author: Stephen Hemminger Date: Tue Jan 17 13:43:16 2006 -0800 [PATCH] sky2: optimize for 32 bit dma Small optimization, if dma addresses are 32 bits, then high bits are always zero. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit dc4d5ea2218b80eb8cd323082f09c506ba75fb6f Author: Stephen Hemminger Date: Tue Jan 17 13:43:15 2006 -0800 [PATCH] sky2: don't bother clearing status ring elements Don't need to zero out the status ring entries after processing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 762c2de2e61ef5f3c866d00861e6b1509cd8eacf Author: Stephen Hemminger Date: Tue Jan 17 13:43:14 2006 -0800 [PATCH] sky2: write barrier's Be more careful about memory barriers. The only place we really need them is before and after updating the chip's ring interface. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1c28f6ba600d05be2dc7ab0592e4d845f668a485 Author: Stephen Hemminger Date: Tue Jan 17 13:43:13 2006 -0800 [PATCH] sky2: fix ram buffer for Yukon FE rev 2 Fix problems with Yukon FE rev 2 chipset. Don't cut and paste bugs in from sk98lin driver. Change how the ram buffer is divided up, and make the math clearer. Also, set the thresholds where rx takes precedence. The threshold values are just guesses at this point, it might be worth tuning them later. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e0c94455ce2a0e5734eeb236fb49a4613e20e7b0 Author: Stephen Hemminger Date: Tue Jan 17 13:43:12 2006 -0800 [PATCH] sky2: version 0.12 Version update. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d1f3d4ddddc3c86e25ce2a41dc129cbe10e24991 Author: Stephen Hemminger Date: Tue Jan 17 13:43:11 2006 -0800 [PATCH] sky2: call pci_set_consistent_dma_mask Need to call pci_set_consistent_dma_mask in the case of 64 bit DMA. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 82788c7a47e50ee8d42e3be23afb23448d651c4c Author: Stephen Hemminger Date: Tue Jan 17 13:43:10 2006 -0800 [PATCH] sky2: receive buffer alignment Need to make sure that sky2 receive buffers are 64 bit aligned. Also, don't need to start off with GFP_ATOMIC on initial setup. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0547993820378ef8140b0470b604737bf1fa6c85 Author: Jesse Brandeburg Date: Tue Jan 17 15:01:10 2006 -0800 [PATCH] e100: e100 whitespace fixes e100: e100 whitespace fixes These are whitespace only fixes. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 3435dbcec199740d3100e0a2f316e795286b5424 Author: Jesse Brandeburg Date: Tue Jan 17 15:01:08 2006 -0800 [PATCH] e100: Handle the return values from pci_* functions e100: Handle the return values from pci_* functions This is to resolve warnings during compile time. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 24180333206519e6b0c4633eab81e773b4527cac Author: Jesse Brandeburg Date: Tue Jan 17 15:01:06 2006 -0800 [PATCH] e100: Fix TX hang and RMCP Ping issue (due to a microcode loading issue) e100: Fix TX hang and RMCP Ping issue (due to a microcode loading issue) Set the end of list bit to cause the hardware's transmit state machine to work correctly and not prevent management (BMC) traffic. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 4f3f2f6f3e7ce68c533e7786114f05181772ff6f Author: David S. Miller Date: Tue Jan 17 15:55:58 2006 -0800 [SOUND]: sparc/cs4231: Fix some typos which wrecked the build. Signed-off-by: David S. Miller commit c7006638a50cbf16bb420fa91e5af2dd22d28621 Author: David S. Miller Date: Tue Jan 17 15:53:11 2006 -0800 [SPARC]: Fix sbusfb build. sbusfb_compat_ioctl() needs to return int, not long, as that is what the fb_ops->fb_compat_ioctl method prototype wants. Need to git rid of the "struct file *file" first argument to fbiogetputcmap() and fbiogscursor() to match calls done in sbusfb_compat_ioctl(). Signed-off-by: David S. Miller commit 4323add67792ced172d0d93b8b2e6187023115f1 Author: Per Liden Date: Wed Jan 18 00:38:21 2006 +0100 [TIPC] Avoid polluting the global namespace This patch adds a tipc_ prefix to all externally visible symbols. Signed-off-by: Per Liden commit 1e63e681e06d438fdc542d40924a4f155d461bbd Author: Per Liden Date: Mon Jan 16 16:39:13 2006 +0100 [TIPC] Group protocols with sub-options in Kconfig This is just a cosmetic change that moves the TIPC configuration entry next to the other protocols that also have sub-options. Makes the the networking options menu look a bit better. Signed-off-by: Per Liden commit c11ac3f236d73dd00c21ab4f06166606dea71ef3 Author: Per Liden Date: Mon Jan 16 16:32:18 2006 +0100 [TIPC] Add help text for TIPC configuration option Signed-off-by: Per Liden commit 50f9bcddf8be147678c2d4ef8ac5279222d0ae3a Author: Per Liden Date: Mon Jan 16 12:42:35 2006 +0100 [TIPC] Remove unused #includes Signed-off-by: Per Liden commit 33a9c4da5ab16192ef1e961d4c4e45c18031cd67 Author: Per Liden Date: Mon Jan 16 11:42:12 2006 +0100 [TIPC] Move ethernet protocol id to linux/if_ether.h Signed-off-by: Per Liden commit 7c2b2aaee45c365596a83bcf8758b1f222e0eca4 Author: Per Liden Date: Sat Jan 14 12:42:21 2006 +0100 [TIPC] Provide real email addresses in MAINTAINERS Signed-off-by: Per Liden commit 16cb4b333c9e7a00ce3b1d74ec0c9b4c2e956910 Author: Per Liden Date: Fri Jan 13 22:22:22 2006 +0100 [TIPC] Updated link priority macros Added macros for min/default/max link priority in tipc_config.h. Also renamed TIPC_NUM_LINK_PRI to TIPC_MEDIA_LINK_PRI since that is a more accurate description of what it is used for. Signed-off-by: Per Liden commit 5f7c3ff6a2e227418d363069ff89cf9d7f01fbc1 Author: Jon Maloy Date: Fri Jan 13 10:45:44 2006 +0000 [TIPC] Minor changes to #includes Signed-off-by: Jon Maloy commit 1ae613883468eab2fb8a077aad9fdedfbfa73d1b Author: Eric Sesterhenn Date: Tue Jan 17 15:36:05 2006 -0800 [SPARC]: change if() BUG(); to BUG_ON in iommu.c this patch changes if() BUG(); constructs in iommu.c to BUG_ON(); so it gets save to define BUG() and BUG_ON() to nullstatements. Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit 30ff720b40ba64b0e9c8974673b95970e68503ac Author: Tony Lindgren Date: Tue Jan 17 15:33:51 2006 -0800 ARM: OMAP: 4/4 Fix clock framework to use clk_enable/disable misc This patch fixes OMAP clock framework to use clk_enable/disable instead of clk_use/unuse as specified in include/linux/clk.h. Signed-off-by: Tony Lindgren commit fde0fd49419177ddd69254b8d532edde9ce6a543 Author: Tony Lindgren Date: Tue Jan 17 15:31:18 2006 -0800 ARM: OMAP: 3/4 Fix clock framework to use clk_enable/disable for omap2 This patch fixes OMAP clock framework to use clk_enable/disable instead of clk_use/unuse as specified in include/linux/clk.h. Signed-off-by: Tony Lindgren commit 10b55794134b279e2ce37713972e324c0dd507ab Author: Tony Lindgren Date: Tue Jan 17 15:30:42 2006 -0800 ARM: OMAP: 2/4 Fix clock framework to use clk_enable/disable for omap1 This patch fixes OMAP clock framework to use clk_enable/disable instead of clk_use/unuse as specified in include/linux/clk.h. Signed-off-by: Tony Lindgren commit f07adc591e6ff100773b93b643f58d9773df6e21 Author: Tony Lindgren Date: Tue Jan 17 15:27:09 2006 -0800 ARM: OMAP: 1/4 Fix clock framework to use clk_enable/disable This patch fixes OMAP clock framework to use clk_enable/disable instead of clk_use/unuse as specified in include/linux/clk.h. Instances of clk_use/unuse are renamed to clk_enable/disable, and references clk_use/unuse are removed. Signed-off-by: Tony Lindgren commit 9eb3394bf2037120881a8846bc67064f49325366 Author: Richard Mortimer Date: Tue Jan 17 15:21:01 2006 -0800 [SPARC64]: Eliminate race condition reading Hummingbird STICK register Ensure a consistent value is read from the STICK register by ensuring that both high and low are read without high changing due to a roll over of the low register. Various Debian/SPARC users (myself include) have noticed problems with Hummingbird based systems. The symptoms are that the system time is seen to jump forward 3 days, 6 hours, 11 minutes give or take a few seconds. In many cases the system then hangs some time afterwards. I've spotted a race condition in the code to read the STICK register. I could not work out why 3d, 6h, 11m is important but guess that it is due to the 2^32 jump of STICK (forwards on one read and then the next read will seem to be backwards) during a timer interrupt. I'm guessing that a change of -2^32 will get converted to a large unsigned increment after the arithmetic manipulation between STICK, nanoseconds, jiffies etc. I did a test where I modified __hbird_read_stick to artificially inject rollover faults forcefully every few seconds. With this I saw the clock jump over 6 times in 12 hours compared to once every month or so. Signed-off-by: Richard Mortimer Signed-off-by: David S. Miller commit 3860288ee8298bf2784e9a0c37d26d3a82941e35 Author: Kris Katterjohn Date: Tue Jan 17 15:15:38 2006 -0800 [NET]: Use is_zero_ether_addr() in net/core/netpoll.c This replaces a memcmp() with is_zero_ether_addr(). Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 64af4c13622511257daba762b32d9d20f2d0c4b5 Author: Andrew Morton Date: Tue Jan 17 15:14:49 2006 -0800 [CASSINI]: Fix printk warning. drivers/net/cassini.c:1930: warning: long unsigned int format, different type arg (arg 4) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4b16bfbf8f8013fefb49592d030ff87651ab48cb Author: Zoltan Menyhart Date: Fri Jan 13 17:25:23 2006 +0100 [IA64] Fix bug in ia64 specific down() function Chen, Kenneth W wrote: > The memory order semantics for include/asm-ia64/semaphore.h:down() > doesn't look right. It is using atomic_dec_return, which eventually > translate into ia64_fetch_and_add() that uses release semantics. > Shouldn't it use acquire semantics? Use ia64_fetchadd() instead of atomic_dec_return() Acked-by: Ken Chen Signed-off-by: Tony Luck commit 8d08aed8d7714683b33666cc066e20f957dda01d Author: Jack Steiner Date: Tue Jan 17 15:42:46 2006 -0600 [IA64] Zonelists for nodes without cpus If a node runs out of memory, ensure that memory on nodes w/o cpus is used before using memory on nodes with cpus. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit d171e519da635a82ab759cbfd46617ac160c9ec0 Author: Jes Sorensen Date: Tue Jan 17 13:05:12 2006 -0500 [IA64-SGI] sn_console.c minor cleanup Fix printk level and remove unnecessary CONFIG_SMP|CONFIG_PREEMPT tests as this is taken care through the spinlock macros anyway. Signed-off-by: Jes Sorensen Signed-off-by: Pat Gefre Signed-off-by: Tony Luck commit f9e505a9a03df5acace6e758c8d12982635a1c64 Author: Jes Sorensen Date: Tue Jan 17 12:52:21 2006 -0500 [IA64-SGI] sn2 mutex conversion Migrate sn2 code to use mutex and completion events rather than semaphores. Signed-off-by: Jes Sorensen Acked-by: Dean Nelson Signed-off-by: Tony Luck commit f404e9a67ffdc0bb0302a5ad1f7eaf58e5a59109 Author: Kris Katterjohn Date: Tue Jan 17 13:04:57 2006 -0800 [PKTGEN]: Replacing with (compare|is_zero)_ether_addr() and ETH_ALEN This replaces some tests with is_zero_ether_addr(), memcmp(one, two, 6) with compare_ether_addr(one, two), and 6 with ETH_ALEN where appropriate. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit a8fc3d8decfd5601fb14a2163952f81fa6b971bb Author: Kris Katterjohn Date: Tue Jan 17 13:03:54 2006 -0800 [NET]: "signed long" -> "long" Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit ab67a4d511188680beb8a0d82a90f55dbeb53d5c Author: Patrick McHardy Date: Tue Jan 17 13:01:31 2006 -0800 [EBTABLES]: Handle SCTP/DCCP in ebt_{ip,log} Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ae82af54d73becd66804d942cf39b049e625fa89 Author: Patrick McHardy Date: Tue Jan 17 13:01:06 2006 -0800 [PKT_SCHED]: Handle SCTP/DCCP in sfq_hash Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b36f170b617a7cd147b694dabf504e856a50ee9d Author: Michael S. Tsirkin Date: Tue Jan 17 12:19:40 2006 -0800 IPoIB: Lock accesses to multicast packet queues Avoid corrupting mcast->pkt_queue by serializing access with priv->tx_lock. Also, update dropped packet statistics to count multicast packets removed from pkt_queue as dropped. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit a7d1f1b66c05ef4ebb58a34be7caad9af15546a4 Author: Tsutomu Fujii Date: Tue Jan 17 11:57:09 2006 -0800 [SCTP]: Fix sctp_rcv_ootb() to handle the last chunk of a packet correctly. Signed-off-by: Tsutomu Fujii Signed-off-by: Sridhar Samudrala commit c4d2444e992c4eda1d7fc3287e93ba58295bf6b9 Author: Sridhar Samudrala Date: Tue Jan 17 11:56:26 2006 -0800 [SCTP]: Fix couple of races between sctp_peeloff() and sctp_rcv(). Validate and update the sk in sctp_rcv() to avoid the race where an assoc/ep could move to a different socket after we get the sk, but before the skb is added to the backlog. Also migrate the skb's in backlog queue to new sk when doing a peeloff. Signed-off-by: Sridhar Samudrala commit 313e7b4d2588539e388d31c1febd50503a0083fc Author: Vlad Yasevich Date: Tue Jan 17 11:55:57 2006 -0800 [SCTP]: Fix machine check/connection hang on IA64. sctp_unpack_cookie used an on-stack array called digest as a result/out parameter in the call to crypto_hmac. However, hmac code (crypto_hmac_final) assumes that the 'out' argument is in virtual memory (identity mapped region) and can use virt_to_page call on it. This does not work with the on-stack declared digest. The problems observed so far have been: a) incorrect hmac digest b) machine check and hardware reset. Solution is to define the digest in an identity mapped region by kmalloc'ing it. We can do this once as part of the endpoint structure and re-use it when verifying the SCTP cookie. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala commit 8116ffad4180b39d7a755345c1fde09da83930c0 Author: Vlad Yasevich Date: Tue Jan 17 11:55:17 2006 -0800 [SCTP]: Fix bad sysctl formatting of SCTP timeout values on 64-bit m/cs. Change all the structure members that hold jiffies to be of type unsigned long. This also corrects bad sysctl formating on 64 bit architectures. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala commit 38b0e42aba928d9929a26ec23b850c36a31fca5f Author: Vlad Yasevich Date: Tue Jan 17 11:54:06 2006 -0800 [SCTP]: Fix sctp_assoc_seq_show() panics on big-endian systems. This patch corrects the panic by casting the argument to the pointer of correct size. On big-endian systems we ended up loading only 32 bits of data because we are treating the pointer as an int*. By treating this pointer as loff_t*, we'll load the full 64 bits and then let regular integer demotion take place which will give us the correct value. Signed-off-by: Vlad Yaseivch Signed-off-by: Sridhar Samudrala commit 49392e5ecf608da6770fd8723b534a0fc851edc4 Author: Vlad Yasevich Date: Tue Jan 17 11:53:06 2006 -0800 [SCTP]: sctp doesn't show all associations/endpoints in /proc When creating a very large number of associations (and endpoints), /proc/assocs and /proc/eps will not show all of them. As a result netstat will not show all of the either. This is particularly evident when creating 1000+ associations (or endpoints). As an example with 1500 tcp style associations over loopback, netstat showed 1420 on my system instead of 3000. The reason for this is that the seq_operations start method is invoked multiple times bacause of the amount of data that is provided. The start method always increments the position parameter and since we use the position as the hash bucket id, we end up skipping hash buckets. This patch corrects this situation and get's rid of the silly hash-1 decrement. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala commit 9834a2bb4970547540222fcba04e0a37d04cb0a0 Author: Vlad Yasevich Date: Tue Jan 17 11:52:12 2006 -0800 [SCTP]: Fix sctp_cookie alignment in the packet. On 64 bit architectures, sctp_cookie sent as part of INIT-ACK is not aligned on a 64 bit boundry and thus causes unaligned access exceptions. The layout of the cookie prameter is this: |<----- Parameter Header --------------------|<--- Cookie DATA -------- ----------------------------------------------------------------------- | param type (16 bits) | param len (16 bits) | sig [32 bytes] | cookie.. ----------------------------------------------------------------------- The cookie data portion contains 64 bit values on 64 bit architechtures (timeval) that fall on a 32 bit alignment boundry when used as part of the on-wire format, but align correctly when used in internal structures. This patch explicitely pads the on-wire format so that it is properly aligned. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala commit 7a48f923b8b27bfaa5f7b2a449a6fe268724ddd5 Author: Sridhar Samudrala Date: Tue Jan 17 11:51:28 2006 -0800 [SCTP]: Fix potential race condition between sctp_close() and sctp_rcv(). Do not release the reference to association/endpoint if an incoming skb is added to backlog. Instead release it after the chunk is processed in sctp_backlog_rcv(). Signed-off-by: Sridhar Samudrala Signed-off-by: Vlad Yasevich commit ac354a899b91239aac4d5893fc4288bc400e82b4 Author: Mike Habeck Date: Wed Jan 11 16:40:24 2006 -0600 [IA64-SGI] pass segment# on SN_SAL_IOIF_SLOT_{DIS,EN}ABLE calls Bugfix... the altix SN_SAL_IOIF_SLOT_ENABLE & SN_SAL_IOIF_SLOT_DISABLE SAL calls need to pass the segment# down Signed-off-by: Mike Habeck Signed-off-by: Tony Luck commit 5f7f5b0c99c9c913b649d065a9773e6ed4ed8168 Author: Prarit Bhargava Date: Mon Jan 16 15:31:52 2006 -0500 [IA64-SGI] Older PROM WAR for device flush code Work-around to temporarily support older PROMs with new flush device code. This code allows systems running older PROMs to continue to run on the new kernel base until a new official PROM is released. Signed-off-by: Prarit Bhargava Acked-by: Jes Sorensen Signed-off-by: Tony Luck commit 0f47ae0b3ec35dc5f4723f2e0ad0f6f3f55e9bcd Author: Michael S. Tsirkin Date: Tue Jan 17 09:53:51 2006 -0800 IB/sa_query: Flush scheduled work before unloading module sa_query schedules work on IB asynchronous events. After unregistering the async event handler, make sure that this work has completed before releasing the IB device (and possibly allowing the sa_query module text to go away). Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit cc76e33ec98ee2acab2d10828d31588d1b10f274 Author: Michael S. Tsirkin Date: Tue Jan 17 09:41:47 2006 -0800 IB/uverbs: Flush scheduled work before unloading module uverbs might schedule work to clean up when a file is closed. Make sure that this work runs before allowing module text to go away. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 47f7a0714b67b904a3a36e2f2d85904e8064219b Author: Michael S. Tsirkin Date: Tue Jan 17 09:22:05 2006 -0800 IPoIB: Make sure path is fully initialized before using it The SA path record query completion can initialize path->pathrec.dlid before IPoIB's callback runs and initializes path->ah, so we must test ah rather than dlid. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 Author: Alan Cox Date: Mon Jan 9 17:18:14 2006 +0000 [PATCH] libata: add a function to decide if we need iordy This ought to be simple but for PIO2 we have to poke around the drive data to get it 100% correct. Signed-off-by: Jeff Garzik commit ffa29456cd316a5394cdd489de5af3bf87d3c485 Author: Alan Cox Date: Mon Jan 9 17:14:40 2006 +0000 [PATCH] libata: Pre UDMA EIDE PIO mode selection I misread the spec when doing the original. I've tested the corrected version with pre UDMA drives and it now picks the right modes. This is a specific bug fix rather than an update or new feature item. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 5a46fe89a73dc984a2b9ef0fde9b9e58bd4ff98f Author: Yusuf Iskenderoglu Date: Tue Jan 17 08:06:21 2006 -0500 [libata] sata_promise: add pci id commit 2610c733023850be2db9fef9c81f851a64bb9f67 Author: Javier Achirica Date: Tue Jan 17 08:01:01 2006 -0500 airo: Off-by-one channel fix commit 88b52877fa1a8894600362a5c9addbab1fcf8b54 Author: Oliver Weihe Date: Tue Jan 17 07:58:42 2006 -0500 [libata] sata_svw: add pci id commit f285757cab254470a10f711cd3cbaf9d92f7aa06 Author: Jason Gaston Date: Mon Jan 9 11:09:13 2006 -0800 [PATCH] ahci: AHCI mode SATA patch for Intel ICH8 This patch adds the Intel ICH8 DID's to the ahci.c file for AHCI mode SATA support. Signed-off-by:  Jason Gaston Signed-off-by: Jeff Garzik commit 38bd3b2629702894ca3528358ffc447bbacc9442 Author: Jeff Kirsher Date: Thu Jan 12 16:51:37 2006 -0800 [PATCH] e1000: Removed unused variables and initialized variables Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 8241e35e0c6ae7531fe270de34608edfdc2ea483 Author: Jeff Kirsher Date: Thu Jan 12 16:51:34 2006 -0800 [PATCH] e1000: Cleaned up code and removed hard coded numbers Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit a292ca6efbc1f259ddfb9c902367f2588e0e8b0f Author: Jeff Kirsher Date: Thu Jan 12 16:51:30 2006 -0800 [PATCH] e1000: Added copy break code Improves small packet performance with large amounts of reassembly being done in the stack. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 240b1710f56b359685bc698e2a1473a2f3f2b8d7 Author: Jeff Kirsher Date: Thu Jan 12 16:51:28 2006 -0800 [PATCH] e1000: Added variable to handle return values for pci_enable_* functions This was to fix compilation warnings. Also added log messages when pci_enable_* functions return with an error. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit fb3d47d4c4cd79eeddd0ee1b470e157840dccf21 Author: Jeff Kirsher Date: Thu Jan 12 16:51:25 2006 -0800 [PATCH] e1000: Added PCIe bus information This is two patches, the first is adding additional bus information for the 8257{1|2|3} controllers. The second patch was orginally a community patch to print bus type/speed/width, and enhanced by us. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit a2917e22dcaa53e8ad2d8dc3bcfa55a4b04e6d0f Author: Jeff Kirsher Date: Thu Jan 12 16:51:23 2006 -0800 [PATCH] e1000: Added firmware version reporting for 8257{1|2|3} controllers The EEPROM image version is reported as a firmware version for these controllers. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit b7ee49db8b4b21dad3284d5507e7ea2946031f6e Author: Jeff Kirsher Date: Thu Jan 12 16:51:21 2006 -0800 [PATCH] e1000: Added hardware support for PCI express, 82546GB, and 82571 Fiber Added 82571 fiber to WOL fix for dual port adapters. Added support for 82546GB (Quad Copper). Added PCIe typedef for x2, igp cable length 115, and extended TX CTRL registers. Added parity error detection and PCIe CTRL registers. Added EEPROM config registers. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 72d64a436724da72f876c85a73895a622da6a673 Author: Jeff Kirsher Date: Thu Jan 12 16:51:19 2006 -0800 [PATCH] e1000: Added cleaned_count to RX buffer allocation Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 1e613fd9d64aba9945ddb3b7f1107127ee8a9835 Author: Jeff Kirsher Date: Thu Jan 12 16:51:16 2006 -0800 [PATCH] e1000: Added interrupt auto mask support Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit e8da8be146e6043fb4b60a222be0014a0fb46d24 Author: Jeff Kirsher Date: Thu Jan 12 16:51:14 2006 -0800 [PATCH] e1000: Fix Netpoll issue Fixed an issue netpoll would error out during communication, generating the following error: --netdump[14973]: Got toomany timeouts in handshaking, ... Even after a kernel panic, netpoll requires two way communication to successfully transfer the crash log to the remote server. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit ce7393b93502f52e2ef7259e9e9bc3b1a1fd6799 Author: Jeff Kirsher Date: Thu Jan 12 16:51:12 2006 -0800 [PATCH] e1000: Fixed frame size logic Simplified the logic used to assign the frame_size. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit ff14701350eef6df9b7fc0ae118e1689e141a54c Author: Jeff Kirsher Date: Thu Jan 12 16:51:10 2006 -0800 [PATCH] e1000: Fix VLAN support Fixed VLAN support by switching control over to the firmware. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit d74bbd3bbfd70470446e0d8153f91967d53c0798 Author: Jeff Kirsher Date: Thu Jan 12 16:51:07 2006 -0800 [PATCH] e1000: Fix __pskb_pull_tail Fixed by moving code to correct location (for 82572 and 82571 controllers). Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 0fadb0597d240d4ed279042cab632d567510a1a3 Author: Jeff Kirsher Date: Thu Jan 12 16:51:05 2006 -0800 [PATCH] e1000: Fix collision distance Fixed the collision distance for 82543 controllers and newer. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 47028635d17c7b9c7ffc67499be5fed579bdfe72 Author: Jeff Kirsher Date: Thu Jan 12 16:51:03 2006 -0800 [PATCH] e1000: Fix bit 22 (TXDCTL) for 82571 & 82572 controllers Removed duplicate code, TXDCTL and TXDCTL_COUNT_DESC are the same bit and there is no need to set it twice. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit f5645110aa2ed2dcc3e0373821474506ed4dc512 Author: Jeff Kirsher Date: Thu Jan 12 16:51:01 2006 -0800 [PATCH] e1000: Fix desc. clean up These were two separate community submitted patches. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 392137fa9b966cf03f020f9a9a2619099b996266 Author: Jeff Kirsher Date: Thu Jan 12 16:50:57 2006 -0800 [PATCH] e1000: Fix TX timeout logic Fixed the TX timeout logic to use "end of packet" rather than "next to clean". Updated message log. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 997f5cbdded3d8282dc56b741d332e51014ea64b Author: Jeff Kirsher Date: Thu Jan 12 16:50:55 2006 -0800 [PATCH] e1000: Fix Desc. Rings and Jumbo Frames This patch contains two fixes. The first fix is to the tx and rx descriptor rings clean up process. The second fix is to jumbo frames, which cleans up the code logic and removes most of the fifo related limitations on jumbo frames. This is because the driver code now supports splitting a packet across multiple descriptors. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 66a2b0a30fcc37876d3639ea375a9d24649b53bf Author: Jeff Kirsher Date: Thu Jan 12 16:50:53 2006 -0800 [PATCH] e1000: Fix TX queue length based on link speed 10/100 speeds seem to have some problems reporting false tx timeouts especially at half duplex. Fixed by using a timeout factor to attempt to mitigate the false timeouts. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit f11b7f8535fab0f9196a7387e93dca5deaa5fff2 Author: Jeff Kirsher Date: Thu Jan 12 16:50:51 2006 -0800 [PATCH] e1000: Fix flow control water marks Fixed flow control water marks based on PBA size. Store flow control state in original_fc in addition to fc. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 4d351858e41145fa236730b7749e3aed18edef43 Author: Jeff Kirsher Date: Thu Jan 12 16:50:48 2006 -0800 [PATCH] e1000: Fix EEPROM read logic Fixed read_eeprom logic to test use_eerd instead of testing for 82573 controllers. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 526f99572e9f18f42c8da2c9adafbe64482c0737 Author: Jeff Kirsher Date: Thu Jan 12 16:50:46 2006 -0800 [PATCH] e1000: Fix PHY reset when blocked Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 492731632cce0a7c8817376e1316f0af093830c4 Author: Jeff Kirsher Date: Thu Jan 12 16:50:44 2006 -0800 [PATCH] e1000: Fix loopback logic Fixed the loopback logic to work for the PCI express adapters. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 7bfa48162d4924e8cc7fb8eccc8c8f66cc111eb4 Author: Jeff Kirsher Date: Thu Jan 12 16:50:41 2006 -0800 [PATCH] e1000: Fix mulitple queues Fixed stats when using multiple queues. When multiple queues are enabled, log a message in syslog. Fixed memory allocation for multiple queues. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit f56799ea39a85a6f3760a134aa0e6d1c17eea369 Author: Jeff Kirsher Date: Thu Jan 12 16:50:39 2006 -0800 [PATCH] e1000: Fix adapter structure and prepare for multique fix Fix adapter structure to handle multiple queues and prepping the driver for full multiple queue support, some changes are ifdef'd our unless you define CONFIG_E1000_MQ. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit d8c2bd3d3aa49e18ffebb999979b976f04280284 Author: Jeff Kirsher Date: Thu Jan 12 16:50:37 2006 -0800 [PATCH] e1000: Fix LED functionality for 82573 Fixed adapter identification issue. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 6b7660cd4df23ee92ddc0ba4b4ec31e3adee7bc9 Author: Jeff Kirsher Date: Thu Jan 12 16:50:35 2006 -0800 [PATCH] Fix e1000 stats Updated the e1000_stats structure and removed mpx for rx_errors and rx_dropped. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 7892f59c5ea86115450293441ca10654168e00da Author: Jeff Kirsher Date: Thu Jan 12 16:50:32 2006 -0800 [PATCH] e1000: Fix PHY config for 82573 controller Added a delay to allow PHY configuration to complete before accessing NVM. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit b55ccb356167ed2d2d40b9dc0fe05bbe1a3d6f39 Author: Jeff Kirsher Date: Thu Jan 12 16:50:30 2006 -0800 [PATCH] e1000: Fix ASF/AMT for 8257{1|2|3} controllers The 82573 controller required different logic than 82571|2 controllers. Corrected the reset logic for 8257{1|2|3} controllers. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 571281972e2ca590ef160dcd6669b9f724b64283 Author: Jeff Kirsher Date: Thu Jan 12 16:50:28 2006 -0800 [PATCH] e1000: Fix SoL/IDER link and loopback Fix so that if a SoL/IDER session is active, do not allow operations which require a PHY reset and instead log a message. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 545c67c0a3550545fe50d28c874b0664bc5dc882 Author: Jeff Kirsher Date: Thu Jan 12 16:50:25 2006 -0800 [PATCH] e1000: General Fixes These fixes update the TX and RX ring structures. Prepare driver for up-coming fixes. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 9a3056da0d7fde1e19e806824c41857b239954ed Author: Jeff Kirsher Date: Thu Jan 12 16:50:23 2006 -0800 [PATCH] e1000: Fix TSO Fixed the TSO workaround for 82571/2 controllers. Fixed TSO issue where a non-tso packet in a linear SKB which followed a TSO packet would get written back prematurely. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 4ee9c02007249cf9c66e368b5d433c6956e05586 Author: Jeff Kirsher Date: Thu Jan 12 16:50:18 2006 -0800 [PATCH] e1000: Fix jumbo frame performance Partition PBA for Jumbo frames based on MTU size. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 7c5c220e254b2cdcf7083dcaf445820b899f7e8b Author: Arnd Bergmann Date: Thu Jan 12 17:16:45 2006 -0500 [PATCH] spidernet: fix missing include This is now required to avoid drivers/net/spider_net.c:844: error: 'IPPROTO_TCP' undeclared Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 11f1a52b87eaf830bd03d4e01d563437c30f7728 Author: Arnd Bergmann Date: Thu Jan 12 17:16:44 2006 -0500 [PATCH] spidernet: performance optimizations Performance optimizations, changes in these areas: - RX and TX checksum offload - correct maximum MTU - don't use TX interrupts anymore, use a timer instead - remove some superfluous barriers - improve RX RAM full handling From: Utz Bacher Signed-off-by: Jens Osterkamp Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 8e0a613bf61ccaab376877d7c2ed50315b8ca6d7 Author: Arnd Bergmann Date: Thu Jan 12 17:16:43 2006 -0500 [PATCH] spidernet: fix HW structures for 64 bit dma_addr_t The driver incorrectly used dma_addr_t to describe HW structures and consequently broke when that type was changed in 2.6.15-rc. This changed spidernet to use u32 for 32 bit HW defined structure elements. From: Jens Osterkamp Signed-off-by: Jens Osterkamp Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 030d6753f8b6251927330431a7e5f0ac86bc6da9 Author: Arnd Bergmann Date: Thu Jan 12 17:16:42 2006 -0500 [PATCH] spidernet: read firmware from the OF device tree request_firmware() is sometimes problematic, especially in initramfs, reading the firmware from Open Firmware is much preferrable. We still try to get the firmware from the file system first, in order to support old SLOF releases and to allow updates of the spidernet firmware without reflashing the system. From: Jens Osterkamp Signed-off-by: Jens Osterkamp Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 0d3ea1666f1894a874681fe33e2cb7fee41a0c73 Author: Arnd Bergmann Date: Thu Jan 12 17:16:41 2006 -0500 [PATCH] spidernet: check if firmware was loaded correctly Uploading the device firmware may fail if wrong input data was provided by the user. This checks for the condition. From: Jens Osterkamp Signed-off-by: Jens Osterkamp Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit c2e5b352fcefb644959a0c8b1bb2e297f0d4ac3d Author: Dale Farnsworth Date: Mon Jan 16 17:00:24 2006 -0700 [PATCH] mv643xx_eth: Remove needless mask of extended intr register All interrupts controlled by the extended mask register are also masked by a bit in the main mask register, so there is no need to directly manipulate the extended mask register. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 81 ++++++++++++++++++---------------------------------------- 1 file changed, 26 insertions(+), 55 deletions(-) Signed-off-by: Jeff Garzik commit ab4384a6588925607f734e195f49e34a80f31e84 Author: Dale Farnsworth Date: Mon Jan 16 16:59:21 2006 -0700 [PATCH] mv643xx_eth: Merge open and stop helper functions Move code from helper functions mv643xx_eth_real_open and mv643xx_eth_real_stop as they are no longer needed. Signed-off-by Dale Farnsworth mv643xx_eth.c | 109 +++++++++++++++++++++++----------------------------------- 1 file changed, 45 insertions(+), 64 deletions(-) Signed-off-by: Jeff Garzik commit 4476e0e4c7e6a2c22288391b853b6e071622f079 Author: Dale Farnsworth Date: Mon Jan 16 16:58:24 2006 -0700 [PATCH] mv643xx_eth: Fix transmit skb accounting Signed-off-by: Dale Farnsworth mv643xx_eth.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit 63890576a3bfd5c6aea86fb72236682480865bc0 Author: Wolfram Joost Date: Mon Jan 16 16:57:41 2006 -0700 [PATCH] mv643xx_eth: Request HW checksum generation only for IPv4 This patch removes the NETIF_F_HW_CSUM flag to be able to use other protocols than IPv4. Hardware checksums for IPv4 should continue to work because NETIF_F_IP_CSUM is still set. The sanity-check has been enhanced to check the used protocol and to not access skb->iph for non-ipv4-packets. Signed-off-by: Wolfram Joost Signed-off-by: Dale Farnsworth mv643xx_eth.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 8f5187035ad475c90ca865318daa09ba43bc3e68 Author: Dale Farnsworth Date: Mon Jan 16 16:56:30 2006 -0700 [PATCH] mv643xx_eth: Hold spinlocks only where needed This driver has historically held a spin_lock during the entire open and stop functions and while receiving multiple packets. This is unecessarily long and holds locks during calls that may sleep. This patch reduces the size of windows where locks are held. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 172 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 91 insertions(+), 81 deletions(-) Signed-off-by: Jeff Garzik commit dd09b1de08b28ccfb130ca97d617dc3283165d22 Author: Dale Farnsworth Date: Mon Jan 16 16:53:15 2006 -0700 [PATCH] mv643xx_eth: iounmap the correct SRAM buffer Signed-off-by: Dale Farnsworth mv643xx_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit f7ea333765438232ac346a2f23cfec3e2012758f Author: Paul Janzen Date: Mon Jan 16 16:52:13 2006 -0700 [PATCH] mv643xx_eth: Fix handling of small, unaligned fragments Fix handling of small, unaligned fragments. It also solves a potential deadlock if skb_linearize() returns -ENOMEM. Signed-off-by: Paul Janzen Signed-off-by: Dale Farnsworth mv643xx_eth.c | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) Signed-off-by: Jeff Garzik commit b44cd572623cb6a931a947d9108595517fd945f8 Author: Dale Farnsworth Date: Mon Jan 16 16:51:22 2006 -0700 [PATCH] mv643xx_eth: Receive buffers require 8 byte alignment The Marvell mv643xx ethernet hardware requires that DMA buffers be aligned to 8-byte boundaries. This patch satisfies this requirement. Buffers allocated by dev_alloc_skb() only have 4-byte alignment when slab debugging is enabled. Also, document that the 2-byte offset to align the IP packets on receive is a hardware feature and is not tied to NET_IP_ALIGN. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Signed-off-by: Jeff Garzik commit 16e0301831767ee1b8e5e022cc08e76f9f8a8938 Author: Dale Farnsworth Date: Mon Jan 16 16:50:02 2006 -0700 [PATCH] mv643xx_eth: Add multicast support This code is adapted from code in a ppc-specific version of the driver. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 197 insertions(+), 4 deletions(-) Signed-off-by: Jeff Garzik commit 4eaa3cb35b22cccc53846ce2820e244b1fb04f0b Author: Paolo Galtieri Date: Mon Jan 16 16:48:58 2006 -0700 [PATCH] mv643xx_eth: Fix a NULL pointer dereference Fix a NULL pointer dereference. Fill in the buf_ptr and byte_cnt fields of pkt_info in eth_tx_return_desc(). Signed-off-by: Paolo Galtieri Signed-off-by: Dale Farnsworth mv643xx_eth.c | 51 +++++++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 30 deletions(-) Signed-off-by: Jeff Garzik commit cb415d30048f0c1f80fd2f5340a982e8c9617d0d Author: Paolo Galtieri Date: Mon Jan 16 16:48:02 2006 -0700 [PATCH] mv643xx_eth: Fix dma_map/dma_unmap relations If you do a dma_map_single you must do dma_unmap_single and if you do a dma_map_page you must do a dma_unmap_page. Signed-off-by: Paolo Galtieri Signed-off-by: Dale Farnsworth mv643xx_eth.c | 51 +++++++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 30 deletions(-) Signed-off-by: Jeff Garzik commit 78a5e534758349fd3effc90ce1152b55368f52ee Author: Olaf Hering Date: Mon Jan 16 16:47:00 2006 -0700 [PATCH] mv643xx_eth: 2.6.16 needs ip.h and in.h Signed-off-by: Olaf Hering Signed-off-by: Dale Farnsworth mv643xx_eth.c | 2 ++ 1 file changed, 2 insertions(+) Signed-off-by: Jeff Garzik commit b60d6975e80ac69e4b797173857eeb5362e265a2 Author: Dale Farnsworth Date: Mon Jan 16 16:45:45 2006 -0700 [PATCH] mv643xx_eth: Add Dale Farnsworth as a maintainer MAINTAINERS | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 2f970d83576cf4938fd75551c465050f6a16c33c Author: Eric Dumazet Date: Tue Jan 17 02:54:36 2006 -0800 [IPV4]: rt_cache_stat can be statically defined Using __get_cpu_var(obj) is slightly faster than per_cpu_ptr(obj, raw_smp_processor_id()). 1) Smaller code and memory use For static and small objects, DEFINE_PER_CPU(type, object) is preferred over a alloc_percpu() : Better and smaller code to access them, and no extra memory (storing the pointer, and the percpu array of pointers) x86_64 code before patch mov 1237577(%rip),%rax # ffffffff803e5990 not %rax # part of per_cpu machinery mov %gs:0x3c,%edx # get cpu number movslq %edx,%rdx # extend 32 bits cpu number to 64 bits mov (%rax,%rdx,8),%rax # get the pointer for this cpu incl 0x38(%rax) x86_64 code after patch mov $per_cpu__rt_cache_stat,%rdx mov %gs:0x48,%rax # get percpu data offset incl 0x38(%rax,%rdx,1) 2) False sharing avoidance for SMP : For a small NR_CPUS, the array of per cpu pointers allocated in alloc_percpu() can be <= 32 bytes. This let slab code gives a part of a cache line. If the other part of this 64 bytes (or 128 bytes) cache line is used by a mostly written object, we can have false sharing and expensive per_cpu_ptr() operations. Size of rt_cache_stat is 64 bytes, so this patch is not a danger of a too big increase of bss (in UP mode) or static per_cpu data for SMP (PERCPU_ENOUGH_ROOM is currently 32768 bytes) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 8243126c5e29030bf1a3fb75187a513966dcba62 Author: David S. Miller Date: Tue Jan 17 02:54:21 2006 -0800 [NET]: Make second arg to skb_reserved() signed. Some subsystems, such as PPP, can send negative values here. It just happened to work correctly on 32-bit with an unsigned value, but on 64-bit this explodes. Figured out by Paul Mackerras based upon several PPP crash reports. Signed-off-by: David S. Miller commit f09484ff87f677056ce631aa3d8e486861501b51 Author: David S. Miller Date: Tue Jan 17 02:42:02 2006 -0800 [NETFILTER]: ip_conntrack_proto_gre.c needs linux/interrupt.h Signed-off-by: David S. Miller commit ec41c7dfd525468decb9da9281dbc9ed82d98c98 Author: Michael Chan Date: Tue Jan 17 02:40:55 2006 -0800 [TG3]: Refine nvram locking Add nvram lock count so that calls to tg3_nvram_lock()/unlock() can be nested. Add error checking to all callers of tg3_nvram_lock() where appropriate. To prevent nvram lock failures after halting the firmware, it is also necessary to release firmware's nvram lock in tg3_halt_cpu(). Update version to 3.48. Based on David Miller's initial patch. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit f0daaa654af68c1651add9d21188d81c19672551 Author: Yasuyuki Kozakai Date: Tue Jan 17 02:39:39 2006 -0800 [NETFILTER] ip6tables: whitespace and indent cosmetic cleanup Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit e0069caede8387c585060b7e2e87729e9efcebc6 Author: Yasuyuki Kozakai Date: Tue Jan 17 02:39:19 2006 -0800 [NETFILTER] ip6tables: remove unused definitions These definitions ware used for only internal use in kernel <= 2.6.13, which had not introduced the unified parser of IPv6 extension header yet. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 6dd42af7904336c6f59a01f9fd3599ee650e78ed Author: Yasuyuki Kozakai Date: Tue Jan 17 02:38:56 2006 -0800 [NETFILTER] Makefile cleanup These are replaced with x_tables matches and no longer exist. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit ccc91324a1b44d345ab4f814eb2ff453c7e98f9e Author: Benoit Boissinot Date: Tue Jan 17 02:26:34 2006 -0800 [NETFILTER] ip[6]t_policy: Fix compilation warnings ip[6]t_policy argument conversion slipped when merging with x_tables Signed-off-by: Benoit Boissinot Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit e35bedf369b17120dbd7d554bee45407a3825267 Author: Kris Katterjohn Date: Tue Jan 17 02:25:52 2006 -0800 [NET]: Fix whitespace issues in net/core/filter.c This fixes some whitespace issues in net/core/filter.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit dd914b4082cfbe28849898a0a98757827829c813 Author: Amnon Aaronsohn Date: Tue Jan 17 02:24:26 2006 -0800 [PKT_SCHED] sch_prio: fix qdisc bands init Currently when PRIO is configured to use N bands, it lets the packets be directed to any of the bands 0..N-1. However, PRIO attaches a fifo qdisc only to the bands that appear in the priomap; the rest of the N bands remain with a noop qdisc attached. This patch changes PRIO's behavior so that it attaches a fifo qdisc to all of the N bands. Signed-off-by: Amnon Aaronsohn Signed-off-by: David S. Miller commit 9343e79a7bb2d3268d68997163608b87d58d8098 Author: YOSHIFUJI Hideaki Date: Tue Jan 17 02:10:53 2006 -0800 [IPV6]: Preserve procfs IPV6 address output format Procfs always output IPV6 addresses without the colon characters, and we cannot change that. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 168678233ca45af3f74fef60c4265fa5dd217e29 Author: akpm@osdl.org Date: Fri Jan 13 15:51:02 2006 -0800 [AGPGART] Semaphore to Mutex conversion. Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 5dda4986752b531d89d49c218682e42c63ef1d61 Author: akpm@osdl.org Date: Tue Jan 3 23:00:59 2006 -0800 [AGPGART] Suspend/Resume support for ATI GART Add suspend/resume support for the ati-agp module Signed-off-by: Jaco Kroon Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 90be4b49b8b54505772a6a766ac0891ec92b4c2d Author: akpm@osdl.org Date: Tue Jan 3 23:00:10 2006 -0800 [AGPGART] Suspend/Resume support for AMD64 GART. This adds support for suspend/resume to the amd64-agp driver. Without it, X displays garbage after resume from swsusp. Signed-off-by: Michal Schmidt Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 496ebd386439fee838df6b9c7d1306c36e7f6952 Author: Daniel =?ISO-8859-1?Q?Marjam=E4ki Date: Fri Dec 23 16:18:54 2005 +0000 [AGPGART] Loop cleanup The loop contains a command that is only used in the last iteration. I moved the command outside the loop. Compile-tested Signed-off-by: Daniel Marjamäki Signed-off-by: Dave Jones commit 5fad5a2e1f34b333a801b749c4e143c2ac3e8a4f Author: Adrian Bunk Date: Sat Jan 14 03:09:34 2006 +0100 [PATCH] hostap: don't #include C files in hostap_main.c This patch contains an attempt to properly build hostap.o without #include'ing C files. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 8aec938389d8409d5d036131c0d16c8b6748703f Author: Adrian Bunk Date: Sat Jan 14 16:20:53 2006 +0100 [PATCH] ipw2100: remove code for WIRELESS_EXT < 18 WIRELESS_EXT < 18 will never be true in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit d6a13a24b76236ade7fd70081ba41a51e8215578 Author: Dan Williams Date: Thu Jan 12 15:00:58 2006 -0500 [PATCH] drivers/net/wireless: correct reported ssid lengths ESSIDs can technically include NULL characters. Drivers should not be adjusting the length of the ESSID before reporting it in their SIOCGIWESSID handlers. Breaks stuff like wpa_supplicant. Note that ipw drivers, which seem to currently be the "most correct", don't have this problem. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit a485cde662f5b6b2299ee01a7e9e2c11683f807b Author: Pavel Roskin Date: Fri Dec 30 18:22:26 2005 -0500 [PATCH] hostap: allow flashing firmware Host AP driver has code to support writing firmware to non-volatile memory, a.k.a. flash. This code has been extensively tested when Host AP was a standalone driver. Add a configuration option to the kernel to allow enabling this functionality. Improve the description of the RAM download option. Mention cards that require it. Remove obsolete scary comment. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville commit d834a41c966c6a20368fadb59248740935e6fbae Author: Olaf Kirch Date: Mon Jan 9 17:00:37 2006 +0100 [PATCH] ipw2200: do not sleep in ipw_request_direct_scan Drivers should not sleep for very long inside an ioctl - so return EAGAIN and let wpa_supplicant handle the problem. Signed-off-by: Olaf Kirch Signed-off-by: John W. Linville commit 0b8d3256a0c1d75bbe8ef5b0de64843e3fc9f47b Author: Pete Zaitcev Date: Thu Jan 12 22:17:43 2006 -0800 [PATCH] iw_handler.h: SIOCSIWNAME -> SIOCSIWCOMMIT in comment The ioctl was renamed from SIOCSIWNAME to SIOCSIWCOMMIT. Signed-off-by: Pete Zaitcev Signed-off-by: John W. Linville commit caa06b619f20f21c741e0d7457a0ef633d50ba70 Author: Graham Gower Date: Mon Jan 16 16:41:37 2006 -0500 [PATCH] prism54/islpci_eth.c: dev_kfree_skb used with interrupts disabled dev_kfree_skb should not be used with interrupts disabled. Change to use dev_kfree_skb_irq instead. Signed-off-by: Graham Gower Signed-off-by: John W. Linville commit 2ae4117435b30c7f9c12c89bcb323ce48b08c16a Author: Len Brown Date: Mon Jan 16 15:22:45 2006 -0500 Revert "[ACPI] fix pnpacpi regression resulting from ACPICA 20051117" This reverts ed349a8a0a780ed27e2a765f16cee54d9b63bfee commit. commit eeac8047fcf4c659eb15f2e27a0ef4aeba64157f Author: Steve French Date: Fri Jan 13 21:34:58 2006 -0800 [CIFS] Fix CIFS to recognize share mode security Fix Samba bugzilla bug 3301 In share mode encrypted password must be sent on tree connection (in our case only the NTLM password is sent, not the older LANMAN one). Signed-off-by: Steve French commit 84153973a29dfb3f3d9fe2fe75c2cd613a3cdf27 Author: Steve French Date: Thu Jan 12 20:57:56 2006 -0800 [CIFS] Fix typo Signed-off-by: Steve French commit 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c Author: Steve French Date: Thu Jan 12 15:44:21 2006 -0800 [CIFS] Add worker function for Get ACL cifs style Signed-off-by: Steve French commit c32a0b689cb9cc160cfcd19735bbf50bb70c6ef4 Author: Steve French Date: Thu Jan 12 14:41:28 2006 -0800 [CIFS] Allow local filesize for file that is open for write to be updated from server when mount forcedirectio. Allowing update of file size with non forcedirectio mounts should be allowed in the fiture but requires carefully writing out the last page in the local file if it is a partial page in order to avoid corruption and careful serialization Thanks to Maximiliano Curia who suggested similar changes and provided a testcase. Signed-off-by: Steve French commit f3f6ec4b77f627a6427460d6f8884e1042eef134 Author: Steve French Date: Sun Jan 8 20:12:58 2006 -0800 [CIFS] Fix cifs trying to write to f_ops patch 2ea55c01e0c5dfead8699484b0bae2a375b1f61c fixed CIFS clobbering the global fops structure for some per mount setting, by duplicating and having 2 fops structs. However the write to the fops was left behind, which is a NOP in practice (due to the fact that we KNOW the fops has that field set to NULL already due to the duplication). So remove it... In addition, another instance of the same bug was forgotten in november. Signed-off-by: Arjan van de Ven Signed-off-by: Steve French commit a6230af7bdffcd3837cb9fbefc17aa6aaada486c Author: Steve French Date: Sun Jan 8 20:04:55 2006 -0800 [CIFS] Minor cleanup to new cifs acl header. Signed-off-by: Steve French commit 757b18661ea0a0d890e8ce7b1a391e5b7d417d78 Author: Adrian Bunk Date: Sat Jan 7 13:19:00 2006 -0500 [ACPI] make two processor functions static acpi_processor_write_throttling() acpi_processor_write_limit() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit c4bb6f5ad968540d7f9619565bacd18d7419b85f Author: matthieu castet Date: Fri Jan 6 01:31:00 2006 -0500 [PNPACPI] clean excluded_id_list[] Clean the blacklist. Battery, Button, Fan have no _CRS and can be removed. PCI root is in pnpbios and is harmless. Cc: Adam Belay Cc: "Li, Shaohua" Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 07b0120d53a3e7cbc88458a64a4d668fc416100f Author: matthieu castet Date: Fri Jan 6 01:31:00 2006 -0500 [PNPACPI] Ignore devices that have no resources Ignore devices that don't have a _CRS method. They are useless for the PNP layer as they don't provide any resources. Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 876c184b31dc73cc3f38c5b86dee55d091a56769 Author: Thomas Rosner Date: Fri Jan 6 01:31:00 2006 -0500 [ACPI] Disable C2/C3 for _all_ IBM R40e Laptops This adds all known BIOS versions of IBM R40e Laptops to the C2/C3 processor state blacklist and thus prevents them from crashing. workaround for http://bugzilla.kernel.org/show_bug.cgi?id=3549 Signed-off-by: Thomas Rosner Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 35f652b5ef4ef145ac5514f6302b3f4cebfbbad4 Author: Benoit Boissinot Date: Fri Jan 6 01:31:00 2006 -0500 [ACPI] fix acpi_cpufreq.c build warrning Signed-off-by: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 3963f00831bc01f509c7dc38d050505fca64f67d Author: KAMEZAWA Hiroyuki Date: Fri Jan 6 01:31:00 2006 -0500 [ACPI] acpi_memhotplug.c build fix drivers/acpi/acpi_memhotplug.c: In function `acpi_memory_get_device_resources': drivers/acpi/acpi_memhotplug.c:101: error: structure has no member named `attribute' drivers/acpi/acpi_memhotplug.c:103: error: structure has no member named `attribute' drivers/acpi/acpi_memhotplug.c: In function `acpi_memory_disable_device': drivers/acpi/acpi_memhotplug.c:253: warning: unused variable `attr' Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit d479e908457f4972205fcafa054f8030e91781ef Author: Arjan van de Ven Date: Fri Jan 6 16:47:00 2006 -0500 [ACPI] move some run-time structure inits to compile time acpi_processor_limit_fops.write was written at run time, but can be initiailized at compile-time instead. Similar for acpi_video_bus_POST_fops.write and friends, but keep doing those at runtime to avoid prototype-hell. Signed-off-by: Arjan van de Ven Signed-off-by: Len Brown commit 6f957eaf79356a32e838f5f262ee9a60544b1d5b Author: Bjorn Helgaas Date: Tue Sep 20 15:26:00 2005 -0400 [ACPI] enable PNPACPI support for resource types used by HP serial ports PNPACPI complained about and ignored devices with ADDRESS16, ADDRESS32, or ADDRESS64 descriptors in _PRS. HP firmware uses them for built-in serial ports, so this patch adds support for parsing these descriptors from _PRS. Note that this does not add the corresponding support for encoding them in preparation for _SRS, because I don't have any machine that supports _SRS on these descriptors, so I couldn't test that support. Attempts to encode them will cause a warning and an -EINVAL return. http://sourceforge.net/mailarchive/forum.php?thread_id=8250154&forum_id=6102 Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 2f27f8175831f9aad9f708da16814240327dba22 Author: Dave Jones Date: Thu Jan 5 19:31:51 2006 -0800 [X86] Remove pointless versioning of mtrr driver. It's not like this has changed significantly, and probably never will. Reduce some bootup dmesg noise. Signed-off-by: Dave Jones commit ed349a8a0a780ed27e2a765f16cee54d9b63bfee Author: Len Brown Date: Thu Jan 5 02:40:11 2006 -0500 [ACPI] fix pnpacpi regression resulting from ACPICA 20051117 In ACPICA 20051117, acpi_walk_resources() started sending ACPI_RESOURCE_TYPE_END_TAG to the callback routine which wasn't prepared for it, causing _CRS to fail and PnPACPI to not recognize any devices: pnp: ACPI device : hid PNP0C02 pnp: PnPACPI: unknown resource type 7 pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c02 Signed-off-by: Len Brown commit aea19aa0780d4b006372fedab8434226e1cc7686 Author: Karol Kozimor Date: Tue Jan 3 23:05:00 2006 -0500 [ACPI_ASUS] fix asus module param description Signed-off-by: Karol Kozimor Signed-off-by: Len Brown commit bb84db937a875045de9e6d08d177ad3223ae0ae3 Author: Karol Kozimor Date: Tue Jan 3 23:03:00 2006 -0500 [ACPI_ASUS] M6R display reading This patch corrects the node to read display settings on M6R laptops. Signed-off-by: Karol Kozimor Signed-off-by: Len Brown commit dacd9b80355525be0e3c519687868410e304ad1c Author: Yu Luming Date: Sat Dec 31 01:45:00 2005 -0500 [ACPI] fix acpi_os_wait_sempahore() finite timeout case (AE_TIME warning) Before this fix, the finite timeout case behaved like the no-timeout (trylock) case. http://bugzilla.kernel.org/show_bug.cgi?id=4588 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit fdf7f2e91981938702ab2f58f44dc5685dd1bdc1 Author: Steve French Date: Sat Dec 31 10:29:42 2005 -0800 [CIFS] Fix typos in rfc1002pdu.h Pointed out by Leo Comitale Signed-off-by: Steve French commit b697b5372ecfe0c57ee26e0c3787fc2306109228 Author: Karol Kozimor Date: Thu Dec 22 12:42:00 2005 -0500 [ASUS_ACPI] work around Samsung P30s oops The code used to rely on a certain method to return a NULL buffer, which is now hardly possible with the implicit return code on by default. This sort of fixes bugs #5067 and #5092 for now. Note: this patch makes the driver unusable on said machines (and on said machines only) iff acpi=strict is specified, but it seems noone really uses that. Signed-off-by: Karol Kozimor Signed-off-by: Len Brown commit 3173cdfe02995f6c6841a28b5148f94cefd8ab77 Author: Len Brown Date: Wed Dec 28 03:20:03 2005 -0500 [ACPI] fix osl.c build warning typecheck complains on i386 that u32 != unsigned long Signed-off-by: Len Brown commit defba1d8f233c0d5cf3e1ea6aeb898eca7231860 Author: Bob Moore Date: Fri Dec 16 17:05:00 2005 -0500 [ACPI] ACPICA 20051216 Implemented optional support to allow unresolved names within ASL Package objects. A null object is inserted in the package when a named reference cannot be located in the current namespace. Enabled via the interpreter slack flag which Linux has enabled by default (acpi=strict to disable slack). This should eliminate AE_NOT_FOUND exceptions seen on machines that contain such code. Implemented an optimization to the initialization sequence that can improve boot time. During ACPI device initialization, the _STA method is now run if and only if the _INI method exists. The _STA method is used to determine if the device is present; An _INI can only be run if _STA returns present, but it is a waste of time to run the _STA method if the _INI does not exist. (Prototype and assistance from Dong Wei) Implemented use of the C99 uintptr_t for the pointer casting macros if it is available in the current compiler. Otherwise, the default (void *) cast is used as before. Fixed some possible memory leaks found within the execution path of the Break, Continue, If, and CreateField operators. (Valery Podrezov) Fixed a problem introduced in the 20051202 release where an exception is generated during method execution if a control method attempts to declare another method. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit cb654695f6b912cef7cb3271665b6ee0d416124c Author: Len Brown Date: Wed Dec 28 02:43:51 2005 -0500 [ACPI] acpi_register_gsi() fix needed for ACPICA 20051021 Use the #define for ACPI_LEVEL_SENSITIVE instead of assuming non-zero, because ACPICA 20051021 changes its value to zero. Also, use uniform variable names: edge_level -> triggering active_high_low -> polarity Signed-off-by: Len Brown commit 63c94b68ec30847a6e2b36651703f41066f91480 Author: Kenji Kaneshige Date: Mon Dec 5 20:51:00 2005 -0500 [ACPI] build EC driver on IA64 Signed-off-by: Kenji Kaneshige Signed-off-by: Len Brown commit c32017a43d552b78717160bf6aab2af8a7ff84c4 Author: Dave Jones Date: Tue Dec 20 14:46:07 2005 -0800 [X86] Rename MTRR mutex to something more sensible. I spotted 'main_lock' whilst grovelling through a vmlinux with objdump. Even if it is static, it's a horrible name. Signed-off-by: Dave Jones commit f8a363b83f18356ebf0df0904fa4807ae48b21f2 Author: Dave Jones Date: Tue Dec 20 12:13:30 2005 -0800 [X86] Remove Winchip 4 ID. This CPU never made it into production. It went on to become the basis for the VIA Samuel. Signed-off-by: Dave Jones commit 729b4d4ce1982c52040bbf22d6711cdf8db07ad8 Author: Alexey Starikovskiy Date: Thu Dec 1 04:29:00 2005 -0500 [ACPI] fix reboot upon suspend-to-disk http://bugzilla.kernel.org/show_bug.cgi?id=4320 Signed-off-by: Alexey Starikovskiy Acked-by: Pavel Machek Signed-off-by: Len Brown commit ec637e3ffb6b978143652477c7c5f96c9519b691 Author: Steve French Date: Mon Dec 12 20:53:18 2005 -0800 [CIFS] Avoid extra large buffer allocation (and memcpy) in cifs_readpages Signed-off-by: Steve French commit 28f55ebce5bd2fceec8adc7c8860953d3e4532a8 Author: Bob Moore Date: Fri Dec 2 18:27:00 2005 -0500 [ACPI] ACPICA 20051202 Modified the parsing of control methods to no longer create namespace objects during the first pass of the parse. Objects are now created only during the execute phase, at the moment the namespace creation operator is encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This should eliminate ALREADY_EXISTS exceptions seen on some machines where reentrant control methods are protected by an AML mutex. The mutex will now correctly block multiple threads from attempting to create the same object more than once. Increased the number of available Owner Ids for namespace object tracking from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on some machines with a large number of ACPI tables (either static or dynamic). Enhanced the namespace dump routine to output the owner ID for each namespace object. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit c51a4de85de720670f2fbc592a6f8040af72ad87 Author: Bob Moore Date: Thu Nov 17 13:07:00 2005 -0500 [ACPI] ACPICA 20051117 Fixed a problem in the AML parser where the method thread count could be decremented below zero if any errors occurred during the method parse phase. This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. This also fixed a related regression with the mechanism that detects and corrects methods that cannot properly handle reentrancy (related to the deployment of the new OwnerId mechanism.) Eliminated the pre-parsing of control methods (to detect errors) during table load. Related to the problem above, this was causing unwind issues if any errors occurred during the parse, and it seemed to be overkill. A table load should not be aborted if there are problems with any single control method, thus rendering this feature rather pointless. Fixed a problem with the new table-driven resource manager where an internal buffer overflow could occur for small resource templates. Implemented a new external interface, acpi_get_vendor_resource() This interface will find and return a vendor-defined resource descriptor within a _CRS or _PRS method via an ACPI 3.0 UUID match. (from Bjorn Helgaas) Removed the length limit (200) on string objects as per the upcoming ACPI 3.0A specification. This affects the following areas of the interpreter: 1) any implicit conversion of a Buffer to a String, 2) a String object result of the ASL Concatentate operator, 3) the String object result of the ASL ToString operator. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit 96db255c8f014ae3497507104e8df809785a619f Author: Bob Moore Date: Wed Nov 2 00:00:00 2005 -0500 [ACPI] ACPICA 20051102 Modified the subsystem initialization sequence to improve GPE support. The GPE initialization has been split into two parts in order to defer execution of the _PRW methods (Power Resources for Wake) until after the hardware is fully initialized and the SCI handler is installed. This allows the _PRW methods to access fields protected by the Global Lock. This will fix systems where a NO_GLOBAL_LOCK exception has been seen during initialization. Fixed a regression with the ConcatenateResTemplate() ASL operator introduced in the 20051021 release. Implemented support for "local" internal ACPI object types within the debugger "Object" command and the acpi_walk_namespace() external interfaces. These local types include RegionFields, BankFields, IndexFields, Alias, and reference objects. Moved common AML resource handling code into a new file, "utresrc.c". This code is shared by both the Resource Manager and the AML Debugger. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit 0897831bb54eb36fd9e2a22da7f0f64be1b20d09 Author: Bob Moore Date: Fri Oct 21 00:00:00 2005 -0400 [ACPI] ACPICA 20051021 Implemented support for the EM64T and other x86_64 processors. This essentially entails recognizing that these processors support non-aligned memory transfers. Previously, all 64-bit processors were assumed to lack hardware support for non-aligned transfers. Completed conversion of the Resource Manager to nearly full table-driven operation. Specifically, the resource conversion code (convert AML to internal format and the reverse) and the debug code to dump internal resource descriptors are fully table-driven, reducing code and data size and improving maintainability. The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word on 64-bit processors instead of a fixed 32-bit word. (Alexey Starikovskiy) Implemented support within the resource conversion code for the Type-Specific byte within the various ACPI 3.0 *WordSpace macros. Fixed some issues within the resource conversion code for the type-specific flags for both Memory and I/O address resource descriptors. For Memory, implemented support for the MTP and TTP flags. For I/O, split the TRS and TTP flags into two separate fields. Signed-off-by: Bob Moore Signed-off-by: Len Brown commit 50eca3eb89d73d9f0aa070b126c7ee6a616016ab Author: Bob Moore Date: Fri Sep 30 19:03:00 2005 -0400 [ACPI] ACPICA 20050930 Completed a major overhaul of the Resource Manager code - specifically, optimizations in the area of the AML/internal resource conversion code. The code has been optimized to simplify and eliminate duplicated code, CPU stack use has been decreased by optimizing function parameters and local variables, and naming conventions across the manager have been standardized for clarity and ease of maintenance (this includes function, parameter, variable, and struct/typedef names.) All Resource Manager dispatch and information tables have been moved to a single location for clarity and ease of maintenance. One new file was created, named "rsinfo.c". The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to guarantee that the argument is not evaluated twice, making them less prone to macro side-effects. However, since there exists the possibility of additional stack use if a particular compiler cannot optimize them (such as in the debug generation case), the original macros are optionally available. Note that some invocations of the return_VALUE macro may now cause size mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to eliminate these. (From Randy Dunlap) Implemented a new mechanism to enable debug tracing for individual control methods. A new external interface, acpi_debug_trace(), is provided to enable this mechanism. The intent is to allow the host OS to easily enable and disable tracing for problematic control methods. This interface can be easily exposed to a user or debugger interface if desired. See the file psxface.c for details. acpi_ut_callocate() will now return a valid pointer if a length of zero is specified - a length of one is used and a warning is issued. This matches the behavior of acpi_ut_allocate(). Signed-off-by: Bob Moore Signed-off-by: Len Brown commit c82e6abfb3182c84d0204b178363086b09881a4a Author: Venkatesh Pallipadi Date: Thu Dec 1 18:16:00 2005 -0500 [ACPI] IA64 ZX1 buildfix for _PDC patch http://bugzilla.kernel.org/show_bug.cgi?id=5483 ZX1 config doesn't include cpufreq, so move move acpi-processor.c up out of ia64/cpufreq directory. no functional changes Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 1e8df53c925024548cca4374f03bed1a7e2b0c45 Author: Len Brown Date: Mon Dec 5 16:47:46 2005 -0500 [ACPI] Embedded Controller (EC) driver printk syntax update no functional changes Signed-off-by: Len Brown commit 53f11d4ff8797bcceaf014e62bd39f16ce84baec Author: Len Brown Date: Mon Dec 5 16:46:36 2005 -0500 [ACPI] Enable Embedded Controller (EC) interrupt mode by default "ec_intr=0" reverts to polling "ec_burst=" no longer exists. Signed-off-by: Len Brown Acked-by: Luming Yu commit 02b28a33aae93a3b53068e0858d62f8bcaef60a3 Author: Len Brown Date: Mon Dec 5 16:33:04 2005 -0500 [ACPI] Embedded Controller (EC) driver syntax update "intr" largely replaces "burst" for syntax to follow semantics "poll" largely replaces "polling" for economy of expression append "interrupt mode" or "polling mode" to dmesg line no functional changes Signed-off-by: Len Brown commit 07475ffba5800c53573180dd521273642adcd0e9 Author: Steve French Date: Sat Dec 3 14:11:37 2005 -0800 [CIFS] Display large/small total buffer allocations in /proc/fs/cifs/Stats when CONFIG_CIFS_STATS2 is on (helps in debugging performance) Signed-off-by: Steve French commit 4498eed50a114565debd38f173acd62cce6e7cb8 Author: Steve French Date: Sat Dec 3 13:58:57 2005 -0800 [CIFS] Add extended stats (STATS2) for total buffer allocations for better performance debugging. Signed-off-by: Steve French commit 84afc29b185334f489975a003b128e1b15e24a54 Author: Steve French Date: Fri Dec 2 13:32:45 2005 -0800 [CIFS] Readpages and readir performance improvements - eliminate extra memcpy. Part 1 Signed-off-by: Steve French commit bf8206791750854bc6668266b694e8fe2cacb924 Author: Steve French Date: Thu Dec 1 22:32:42 2005 -0800 [CIFS] Kerberos and CIFS ACL support part 1 Signed-off-by: Steve French commit 06a2a3855e20ed3df380d69b37130ba86bec8001 Author: Luming Yu Date: Tue Sep 27 00:43:00 2005 -0400 [ACPI] Disable EC burst mode w/o disabling EC interrupts Need to de-couple the concept of polling/interrupts vs burst/non-burst. http://bugzilla.kernel.org/show_bug.cgi?id=4980 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit cf82478840188f8c8494c1d7a668a8ae170d0e07 Author: Janosch Machowinski Date: Sat Aug 20 08:02:00 2005 -0400 [ACPI] handle BIOS with implicit C1 in _CST The ASUS M6Ne specifies C2, implying C1 but not explicitly specifying it. http://bugzilla.kernel.org/show_bug.cgi?id=4485 Signed-off-by: Janosch Machowinski Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 83451879ab213e152c6fe5c743f257ba58d7acd1 Author: Steve French Date: Thu Dec 1 17:12:59 2005 -0800 [CIFS] Use fsuid (fsgid) more consistently instead of uid/gid in assembling smb requests when setuids and Linux protocol extensions enabled and in checking more matching sessions in multiuser mount mode. Pointed out by Shaggy. Signed-off-by: Steve French commit 05131ecc99ea9da7f45ba3058fe8a2c1d0ceeab8 Author: Venkatesh Pallipadi Date: Sun Oct 23 16:31:00 2005 -0400 [ACPI] Avoid BIOS inflicted crashes by evaluating _PDC only once Linux invokes the AML _PDC method (Processor Driver Capabilities) to tell the BIOS what features it can handle. While the ACPI spec says nothing about the OS invoking _PDC multiple times, doing so with changing bits seems to hopelessly confuse the BIOS on multiple platforms up to and including crashing the system. Factor out the _PDC invocation so Linux invokes it only once. http://bugzilla.kernel.org/show_bug.cgi?id=5483 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 1a38416cea8ac801ae8f261074721f35317613dc Author: David Shaohua Li Date: Wed Nov 23 12:36:00 2005 -0500 [ACPI] SMP S3 resume: evaluate _WAK after INIT On SMP resume from S3, we reset (INIT) the non-boot processors to boot them cleanly. But the BIOS needs to execute _WAK after INIT in order to properly initialized these processors upon resume. http://bugzilla.kernel.org/show_bug.cgi?id=5651 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 378b2556f4e09fa6f87ff0cb5c4395ff28257d02 Author: Len Brown Date: Wed Nov 30 21:03:21 2005 -0500 [ACPI] 8250_acpi.c buildfix Signed-off-by: Len Brown commit c780f964902a8c4e7f702ff3e0a2b754e82b3ca3 Author: MAEDA Naoaki Date: Wed Nov 30 18:00:24 2005 -0500 [ACPI] ia64 build fix arch/ia64/kernel/acpi-ext.c: In function `acpi_vendor_resource_match': arch/ia64/kernel/acpi-ext.c:38: error: structure has no member named `id' Signed-off-by: MAEDA Naoaki Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 486368bf33a2844319ad4865039543cd50ac90dd Author: Len Brown Date: Thu Sep 22 01:57:01 2005 -0400 [ACPI] clean up ACPICA 20050916's rscalc typedef syntax Signed-off-by: Len Brown commit eca008c8134df15262a0362623edb59902628c95 Author: Len Brown Date: Thu Sep 22 00:25:18 2005 -0400 [ACPI] handle ACPICA 20050916's acpi_resource.type rename Signed-off-by: Len Brown commit bda663d36b94c723153246a4231bbc0f1cd1836e Author: Robert Moore Date: Fri Sep 16 16:51:15 2005 -0400 [ACPI] ACPICA 20050916 Fixed a problem within the Resource Manager where support for the Generic Register descriptor was not fully implemented. This descriptor is now fully recognized, parsed, disassembled, and displayed. Restructured the Resource Manager code to utilize table-driven dispatch and lookup, eliminating many of the large switch() statements. This reduces overall subsystem code size and code complexity. Affects the resource parsing and construction, disassembly, and debug dump output. Cleaned up and restructured the debug dump output for all resource descriptors. Improved readability of the output and reduced code size. Fixed a problem where changes to internal data structures caused the optional ACPI_MUTEX_DEBUG code to fail compilation if specified. Signed-off-by: Robert Moore Signed-off-by: Len Brown