commit 676d55ae30ea3b688f0386f70553489f25f24d55 Author: Linus Torvalds Date: Mon Sep 19 20:00:41 2005 -0700 Linux v2.6.14-rc2 Avast, ye scurvy land-lubbers! Time to try out a new release. Arrr! commit f805fbdaacf4367ce566743a665622387768ac0d Author: Linus Torvalds Date: Mon Sep 19 19:54:29 2005 -0700 Make fsnotify possibly work better for the inode removal case Checking i_nlink is dubious, but the alternatives look even less appetizing. Signed-off-by: Linus Torvalds commit 6d1cfe3f1752f17e297df60c8bcc6cd6e0a58449 Author: Mark J Cox Date: Mon Sep 19 17:55:30 2005 -0700 [PATCH] raw_sendmsg DoS on 2.6 Fix unchecked __get_user that could be tricked into generating a memory read on an arbitrary address. The result of the read is not returned directly but you may be able to divine some information about it, or use the read to cause a crash on some architectures by reading hardware state. CAN-2004-2492. Fix from Al Viro, ack from Dave Miller. Signed-off-by: Linus Torvalds commit e14c3caf605dfd29bd1aac3097e39db94afc9f07 Author: Herbert Xu Date: Mon Sep 19 18:18:38 2005 -0700 [TCP]: Handle SACK'd packets properly in tcp_fragment(). The problem is that we're now calling tcp_fragment() in a context where the packets might be marked as SACKED_ACKED or SACKED_RETRANS. This was not possible before as you never retransmitted packets that are so marked. Because of this, we need to adjust sacked_out and retrans_out in tcp_fragment(). This is exactly what the following patch does. We also need to preserve the SACKED_ACKED/SACKED_RETRANS marking if they exist. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 3c3f8f25c177e4f9e4e00bcc1b90b28b1be37937 Author: Alexey Dobriyan Date: Mon Sep 19 15:41:28 2005 -0700 [8021Q]: Add endian annotations. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 2cf655cd65888e9fed0803d77e9e4f7d1db674cc Author: Krzysztof Halasa Date: Mon Sep 19 15:39:32 2005 -0700 [WAN] hdlc_cisco: Fix regression introduced by skb->tail changes. The following commit breaks cisco mode with my WAN drivers: author David S. Miller Tue, 28 Jun 2005 22:25:31 +0000 (15:25 -0700) commit 689be43945e9ca7dd704522e55af1b8a73a994d3 "[NET]: Remove gratuitous use of skb->tail in network drivers." The following patch fixes it - please apply (cisco_hard_header does skb_push(4 bytes)). Signed-off-by: David S. Miller commit 8922bc93aa78a202c2b68b2de19b71329cb321e1 Author: Harald Welte Date: Mon Sep 19 15:35:57 2005 -0700 [NETFILTER]: Export ip_nat_port_{nfattr_to_range,range_to_nfattr} Those exports are needed by the PPTP helper following in the next couple of changes. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a41bc00234a0a2ccaa99a194341ae108ae17ddc8 Author: Patrick McHardy Date: Mon Sep 19 15:35:31 2005 -0700 [NETFILTER]: Rename misnamed function Both __ip_conntrack_expect_find and ip_conntrack_expect_find_get take a reference to the expectation, the difference is that callers of __ip_conntrack_expect_find must hold ip_conntrack_lock. Signed-off-by: Patrick McHardy Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit e674d0f38de6109b59dbe30fba8b296a03229b8e Author: Yasuyuki Kozakai Date: Mon Sep 19 15:34:40 2005 -0700 [NETFILTER] ip6tables: remove duplicate code Some IPv6 matches have very similar loops to find IPv6 extension header and we can unify them. This patch introduces ipv6_find_hdr() to do it. I just checked that it can find the target headers in the packet which has dst,hbh,rt,frag,ah,esp headers. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 926b50f92a30090da2c1a8675de954c2d9b09732 Author: Harald Welte Date: Mon Sep 19 15:33:08 2005 -0700 [NETFILTER]: Add new PPTP conntrack and NAT helper This new "version 3" PPTP conntrack/nat helper is finally ready for mainline inclusion. Special thanks to lots of last-minute bugfixing by Patric McHardy. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 772cb712b1373d335ef2874ea357ec681edc754b Author: Robert Olsson Date: Mon Sep 19 15:31:18 2005 -0700 [IPV4]: fib_trie RCU refinements * This patch is from Paul McKenney's RCU reviewing. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 1d25cd6cc2528e4af12ab18e84fe95ed78f3f21a Author: Robert Olsson Date: Mon Sep 19 15:29:52 2005 -0700 [IPV4]: fib_trie tnode stats refinements * Prints the route tnode and set the stats level deepth as before. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 997a51ae373df6484cdd4a5fc61a9c9bec82cd68 Author: Ivan Kokshaysky Date: Mon Sep 19 18:55:51 2005 +0400 [PATCH] Alpha: ISA IRQs fixup for dp264 Basically, this extends original dp264 fixup to all dp264 variations. Here is one minor change: mask out bits 4-7 of a value assigned by SRM, because - newer consoles report ISA IRQs with offset 0xe0; - even if console IRQ value is bogus, we'll have a value < 16 so it should be harmless as it won't clash with native IRQs. Particularly this fixes USB interrupt problem on xp1000 and es40. Signed-off-by: Ivan Kokshaysky Acked-by: Richard Henderson Signed-off-by: Linus Torvalds commit f6098cf449b81c14a51e48dd22ae47d03126a1de Author: Anton Altaparmakov Date: Mon Sep 19 09:41:39 2005 +0100 NTFS: Fix ntfs_{read,write}page() to cope with concurrent truncates better. Signed-off-by: Anton Altaparmakov commit 4e64c88693fde1b1cbaa4cfecad43a0c3fad354e Author: Anton Altaparmakov Date: Mon Sep 19 09:38:41 2005 +0100 NTFS: Fix handling of compressed directories that I broke in earlier changeset. Signed-off-by: Anton Altaparmakov commit 5c9f6de3b80ca46000bd1b63d892820f9ee32138 Author: Anton Altaparmakov Date: Mon Sep 19 09:33:40 2005 +0100 NTFS: Fix various bugs in the runlist merging code. (Based on libntfs changes by Richard Russon.) Signed-off-by: Anton Altaparmakov commit 118ec0b3e02e7d22cf27b9f5a2836fa6f395b61a Author: Russell King Date: Sun Sep 18 22:16:41 2005 +0100 [ARM] Fix warning in arch/arm/mach-sa1100/generic.c Fix: arch/arm/mach-sa1100/generic.c:224: warning: 'struct mcp_plat_data' declared inside parameter list caused by mussing structure and function declaration. Signed-off-by: Russell King commit 63150fcf73dbfb752a850a5e2fe3aed570154433 Author: Russell King Date: Sun Sep 18 21:49:29 2005 +0100 [ARM] Fix warning in arch/arm/kernel/semaphore.c Newer binutils complains: /tmp/cc07pbI9.s:146: Warning: ignoring changed section type for .sched.text Fix this warning by adding %progbits to the .section. Signed-off-by: Russell King commit e0a200894efa33ea1ac9957717ae151afa02bb6f Author: Deepak Saxena Date: Sun Sep 18 21:11:56 2005 +0100 [ARM] 2917/1: Make IXP4xx mach_desc's depend on config options Patch from Deepak Saxena Building a kernel for IXDP425 currently includes the machine descriptors for IXDP465 and PRPMC1100 even if those machines are not configured. This means we can build a kernel that boots on those machines even though the machine_is_xxx() macro will always return 0 and other bits such as PCI won't be compiled in. This can lead to many wasted hours wondering what you have done to your kernel to make it randomly crash thus requireing large quantities of beer to be consumed. While I am all for consumption of large quantities of beer, there are better reasons to do so then stupid kernel bugs. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7f8c0fd78dccaf30e60cb4303bd7a21c7d9e6da3 Author: Russell King Date: Sun Sep 18 21:11:08 2005 +0100 [ARM] Fix warning in asm/futex.h The recently added futex.h contains an unused variable, which gcc naturally warns about. Remove this unused variable. Signed-off-by: Russell King commit 628f87f3d585bd0c2b0e39df039585d7a5831cc9 Author: Harald Welte Date: Sun Sep 18 00:33:02 2005 -0700 [NETFILTER]: Solve Kconfig dependency problem As suggested by Roman Zippel. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 987905ded3d19c196dae25cac46c569cac9594b8 Author: Mitsuru KANDA Date: Sun Sep 18 00:30:08 2005 -0700 [IPV6]: Check connect(2) status for IPv6 UDP socket (Re: xfrm_lookup) I think we should cache the per-socket route(dst_entry) only when the IPv6 UDP socket is connect(2)'ed. (which is same as IPv4 UDP send behavior) Signed-off-by: Mitsuru KANDA Signed-off-by: David S. Miller commit 40abc27066c49b2c13c817154d438431b0303b96 Author: Florin Malita Date: Sun Sep 18 00:24:12 2005 -0700 [BOND]: Fix bond_init() error path handling. From: Florin Malita bond_init() is not releasing rtnl_sem after register_netdevice() and before calling unregister_netdevice() (from bond_free_all()) in the exception path. As the device registration is not completed (dev->reg_state == NETREG_REGISTERING), the call to unregister_netdevice() triggers BUG_ON(dev->reg_state != NETREG_REGISTERED). Signed-off-by: Florin Malita Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 88f964db6ef728982734356bf4c406270ea29c1d Author: Arnaldo Carvalho de Melo Date: Sun Sep 18 00:19:32 2005 -0700 [DCCP]: Introduce CCID getsockopt for the CCIDs Allocation for the optnames is similar to the DCCP options, with a range for rx and tx half connection CCIDs. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 561713cf475de1f671cc89c437927ec008a20209 Author: Arnaldo Carvalho de Melo Date: Sun Sep 18 00:18:52 2005 -0700 [DCCP]: Don't use necessarily the same CCID for tx and rx Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 65299d6c3cfb49cc3eee4fc483e7edd23ea7b2ed Author: Arnaldo Carvalho de Melo Date: Sun Sep 18 00:18:32 2005 -0700 [CCID3]: Introduce include/linux/tfrc.h Moving the TFRC sender and receiver variables to separate structs, so that we can copy these structs to userspace thru getsockopt, dccp_diag, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ae31c3399d17b1f7bc1742724f70476b5417744f Author: Arnaldo Carvalho de Melo Date: Sun Sep 18 00:17:51 2005 -0700 [DCCP]: Move the ack vector code to net/dccp/ackvec.[ch] Isolating it, that will be used when we introduce a CCID2 (TCP-Like) implementation. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit bc5e8fdfc622b03acf5ac974a1b8b26da6511c99 Author: Linus Torvalds Date: Sat Sep 17 15:41:04 2005 -0700 x86-64/smp: fix random SIGSEGV issues They seem to have been due to AMD errata 63/122; the fix is to disable TLB flush filtering in SMP configurations. Confirmed to fix the problem by Andrew Walrond [ Let's see if we'll have a better fix eventually, this is the Q&D "let's get this fixed and out there" version ] Signed-off-by: Linus Torvalds commit 61ffcafafb3d985e1ab8463be0187b421614775c Author: Karsten Keil Date: Sat Sep 17 23:52:42 2005 +0200 [PATCH] Fix ST 5481 USB driver The old driver was not fully adapted to new USB ABI and does not work. Signed-off-by: Karsten Keil Signed-off-by: Linus Torvalds commit 27b2f6792f3b482e4636818c7efaf4c43fef32a3 Author: Adam Kropelin Date: Fri Sep 16 19:28:20 2005 -0700 [PATCH] qla2xxx: Use dword accessors for PCI_ROM_ADDRESS PCI_ROM_ADDRESS is a 32 bit register and as such should be accessed using pci_bus_{read,write}_config_dword(). A recent audit of drivers/ turned up several cases of byte- and word-sized accesses. The harmful ones were fixed by Linus directly. This patches up one of the remaining harmless-but-still-wrong cases caught in the dragnet. Signed-off-by: Adam Kropelin Cc: Andrew Vasquez Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06c6d271f41ffa20f2dadc9bfe100a89f7f1dd1d Author: Adam Kropelin Date: Fri Sep 16 19:28:19 2005 -0700 [PATCH] shpchp: Use dword accessors for PCI_ROM_ADDRESS PCI_ROM_ADDRESS is a 32 bit register and as such should be accessed using pci_bus_{read,write}_config_dword(). A recent audit of drivers/ turned up several cases of byte- and word-sized accesses. The harmful ones were fixed by Linus directly. This patches up one of the remaining harmless-but-still-wrong cases caught in the dragnet. Signed-off-by: Adam Kropelin Cc: Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2fa4f4ad8ddf4b9fac344f1da7a25d4868f08f5 Author: Adam Kropelin Date: Fri Sep 16 19:28:18 2005 -0700 [PATCH] pciehp: Use dword accessors for PCI_ROM_ADDRESS PCI_ROM_ADDRESS is a 32 bit register and as such should be accessed using pci_bus_{read,write}_config_dword(). A recent audit of drivers/ turned up several cases of byte- and word-sized accesses. The harmful ones were fixed by Linus directly. This patches up one of the remaining harmless-but-still-wrong cases caught in the dragnet. Signed-off-by: Adam Kropelin Cc: Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d648daca1170945600756b31866d0362a67f2aae Author: Adam Kropelin Date: Fri Sep 16 19:28:17 2005 -0700 [PATCH] ibmphp: Use dword accessors for PCI_ROM_ADDRESS PCI_ROM_ADDRESS is a 32 bit register and as such should be accessed using pci_bus_{read,write}_config_dword(). A recent audit of drivers/ turned up several cases of byte- and word-sized accesses. The harmful ones were fixed by Linus directly. This patches up one of the remaining harmless-but-still-wrong cases caught in the dragnet. Signed-off-by: Adam Kropelin Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef0f6a437f92fbd96c725086555b37b29371e107 Author: Timothy Thelin Date: Fri Sep 16 19:28:16 2005 -0700 [PATCH] ide: fix null request pointer for taskfile ioctl When doing ioctl HDIO_DRIVE_TASKFILE, the ide_task_t's request pointer is never set, but flagged_taskfile and do_rw_taskfile pass it as a parameter to the prehandler. The kernel will oops taskfile pio-out commands because of this (taskfile pio-in doesn't use a prehandler). This fix sets the request pointer at the time the request is created to stop this oops. Signed-off-by: Timothy Thelin Cc: "Bartlomiej Zolnierkiewicz" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9564df1ff3c61f41bdc54283715417ccdfb6782b Author: Jens Axboe Date: Fri Sep 16 19:28:15 2005 -0700 [PATCH] fix pf request handling Here's the patch from http://bugzilla.kernel.org/show_bug.cgi?id=4853 It is a feeble attempt at fixing the request handling in pf, it is totally foobar right now. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef402268f7c9ab1872cafa1e638eb78a75b7c18f Author: OGAWA Hirofumi Date: Fri Sep 16 19:28:13 2005 -0700 [PATCH] FAT: miss-sync issues on sync mount (miss-sync on write) This patch fixes miss-sync issue on write() system call. This updates inode attrs flags, mtime and ctime on every comit_write call, due to locking. Signed-off-by: Hiroyuki Machida Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fb3a53860cee2aaaf81186c451b7da0b95b45c1 Author: Dipankar Sarma Date: Fri Sep 16 19:28:13 2005 -0700 [PATCH] files: fix preemption issues With the new fdtable locking rules, you have to protect fdtable with either ->file_lock or rcu_read_lock/unlock(). There are some places where we aren't doing either. This patch fixes those places. Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af4e5a218e18ad588d60a4f9d6f8fb5db1a32587 Author: Pekka J Enberg Date: Fri Sep 16 19:28:11 2005 -0700 [PATCH] CodingStyle: memory allocation This patch adds a new chapter on memory allocation to Documentation/CodingStyle. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f647e08a55d2c88c4e7ab17a0a8e3fcf568fbc65 Author: Andrew Morton Date: Fri Sep 16 19:28:10 2005 -0700 [PATCH] joystick-vs-x.org fix Fix http://bugzilla.kernel.org/show_bug.cgi?id=5241 2.6.13 broke compilation of the xorg tree, which apprarently insists on including that file. Cc: Vojtech Pavlik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a464adeb7e8f1cd65ca911e20a7c02e452dc2c17 Author: Zach Brown Date: Fri Sep 16 19:28:09 2005 -0700 [PATCH] Add smp_mb__after_clear_bit() to unlock_kiocb() Add smp_mb__after_clear_bit() to unlock_kiocb() AIO's use of wait_on_bit_lock()/wake_up_bit() forgot to add a barrier between clearing its lock bit and calling wake_up_bit() so wake_up_bit()'s unlocked waitqueue_active() can race. This puts AIO's use in line with the others and the comment above wake_up_bit(). Signed-off-by: Zach Brown Acked-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ac2120d90273c590cf7662f03d103519101685b Author: Jean Delvare Date: Fri Sep 16 19:28:08 2005 -0700 [PATCH] i2c: kill an unused i2c_adapter struct member Kill an unused member of the i2c_adapter structure. This additionally fixes a potential bug, because doesn't include , so different files including could see a different definition of the i2c_adapter structure, depending on them including (or other header files themselves including ) before , or not. Credits go to Jörn Engel for pointing me to the problem. Signed-off-by: Jean Delvare Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 393ad299658d8464149820363ee09bdf3fd45566 Author: Robert Love Date: Fri Sep 16 19:28:07 2005 -0700 [PATCH] hdaps driver update - Remove the relative input device - Add an absolute input device - Misc. cleanup and bug fixing The patch is sizable due to the cleanup from removing the relative input device (net -112 lines). Signed-off-by: Robert Love Cc: Dmitry Torokhov Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53d2be79d5981b7efc8c5ec1169613bba95bde20 Author: Davide Libenzi Date: Fri Sep 16 19:28:06 2005 -0700 [PATCH] epoll: fix delayed initialization bug Al found a potential problem in epoll_create(), where the file->private_data member was set after fd_install(). This is obviously wrong since another thread might do a close() on that fd# before we set the file->private_data member. This goes over 2.6.13 and passes a few basic tests I've done here. (akpm: snuck in a kzalloc() cleanup too) Signed-off-by: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda8577fb5a00507e5aea737833190a10516b257 Author: Andrew Morton Date: Fri Sep 16 19:28:05 2005 -0700 [PATCH] dell_rbu tidy Whitespace standardisation. Cc: Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e61c0e336f3931842f09e6709d76146bfd81184e Author: Abhay Salunke Date: Fri Sep 16 19:28:04 2005 -0700 [PATCH] dell_rbu: enhancements and fixes BUG fixes: The driver used to allocate memory with spinlock held which has been fixed in this patch. The driver was printing the entire buffer when it received a invalid entry in image_type. The fix is to only print a warning message and not the buffer. Usability enhancements: It is possible that due to user error the /sys/class/firmware/dell_rbu entries might be missing, this can happen if the user does the following echo 1 > /sys/class/firmware/dell_rbu/loading echo 0 > /sys/class/firmware/dell_rbu/loading This will make the entries in /sys/class/firmware/ to disappear and the only way get them back was bby unloading and loading the driver. This patch makes the user recreate these entries by echoing init in to image_type. This patch has been tested with Libsmbios and Dell OpenManage. Signed-off-by: Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3013449243adc3421b507696e5d247a3d292ee0c Author: Jeff Dike Date: Fri Sep 16 19:28:03 2005 -0700 [PATCH] uml: UML/i386 cmpxchg fix Using native cmpxchg offers a slight performance improvement in uml/i386. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2030c0fd3db3332378f95f479c286181e3920644 Author: Michael Kerrisk Date: Fri Sep 16 19:28:02 2005 -0700 [PATCH] PR_GET_DUMPABLE returns incorrect info 2.6.13 incorporated Alan Cox's patch for /proc/sys/fs/suid_dumpable (one version of this patch can be found here http://marc.theaimsgroup.com/?l=linux-kernel&m=109647550421014&w=2 ). This patch also made corresponding changes in kernel/sys.c to change the prctl() PR_SET_DUMPABLE operation so that the permitted range of 'arg2' was modified from 0..1 to 0..2. However, a corresponding change was not made for PR_GET_DUMPABLE: if the dumpable flag is non-zero, then PR_GET_DUMPABLE always returns 1, so that the caller can't determine the true setting of this flag. Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afeda2c24e74cbddde376e06fdd82c215f9cb637 Author: Marcelo Tosatti Date: Fri Sep 16 19:28:01 2005 -0700 [PATCH] relayfs documentation typo Small typo in relayfs documentation. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 514ccd4e6c414d8064d53235f7fc09fc02ec2078 Author: Vitaly Bordug Date: Fri Sep 16 19:28:00 2005 -0700 [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC I devices Added ppc_sys device and system definitions for PowerQUICC I devices. This will allow drivers for PQI to be proper platform device drivers. Currently sys section contains only MPC885 and MPC866. Identification should be done with identify_ppc_sys_by_name call, with board-specific "name" string passed, since PQI do not have any register that could identify the SOC. Signed-off-by: Vitaly Bordug Signed-off-by: Kumar Gala Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0faf3d3d08bb20d803ba090a1bc1ffedaea6ced6 Author: Thomas Maguin Date: Fri Sep 16 19:27:58 2005 -0700 [PATCH] scsi_ioctl: Add WRITE_LONG_2 as write safe command Add WRITE_LONG_2 as write safe commands, which which allows normal users to make a c1-, c2- and cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers Signed-off-by: Jens Axboe Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a70ce8a4b1c9d39e0a180173728a8d102274631 Author: Anton Blanchard Date: Fri Sep 16 19:27:58 2005 -0700 [PATCH] ppc64: build fix I forgot to include siginfo.h when I added data breakpoint support. We must include it in a round-a-bout way in mainline. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9afa57b04ca08ff061e54787e3becf5c40283149 Author: Serge Hallyn Date: Fri Sep 16 19:27:57 2005 -0700 [PATCH] seclvl: use securityfs (fix) That should be -EINVAL for both. Signed-off-by: Serge Hallyn Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d15c5749eb81dee94d40fe12584ca8461858b4cb Author: Andrew Morton Date: Fri Sep 16 19:27:56 2005 -0700 [PATCH] seclvl-use-securityfs tidy We don't put braces around single statements, thanks. Cc: Serge Hallyn Cc: James Morris Cc: Chris Wright Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73a0b538ee573a76cba59cdc9f177a71776d4678 Author: Andrew Morton Date: Fri Sep 16 19:27:55 2005 -0700 [PATCH] x86_64: desc.h-needs smp.h include/asm/desc.h: In function `load_LDT': include/asm/desc.h:209: warning: implicit declaration of function `get_cpu' include/asm/desc.h:211: warning: implicit declaration of function `put_cpu' Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3519f91942f2b43942400348c16d63fe9327f04 Author: Dave Hansen Date: Fri Sep 16 19:27:54 2005 -0700 [PATCH] fix mm/Kconfig spelling Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9491ac835829e6a34e2bbaa8adad261c71bf990 Author: Andrew Morton Date: Fri Sep 16 19:27:54 2005 -0700 [PATCH] x86_64: e820.c needs module.h For EXPORT_SYMBOL. Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e36d394deb1b59d004ab057e0b5c505ffc5d8c0a Author: Richard Purdie Date: Fri Sep 16 19:27:53 2005 -0700 [PATCH] Fix up some pm_message_t types Fix up some pm_message_t types Signed-Off-By: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f87b1e6e6050c0afe8b4afc279121f99043dc54 Author: Jeff Dike Date: Fri Sep 16 19:27:52 2005 -0700 [PATCH] uml: remove include of asm/elf.h asm/elf.h is bad on x86_64, and i386 doesn't need it any more after Al's cleanup. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2867ace6751adc20bb37cfb09478510c49110b27 Author: Jeff Dike Date: Fri Sep 16 19:27:51 2005 -0700 [PATCH] uml: return a real error code do_aio used to return -1 on error instead of errno. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 114069f7384c15a7a9f8d3e333caf4d470dfe520 Author: Jeff Dike Date: Fri Sep 16 19:27:51 2005 -0700 [PATCH] uml: merge mem_user.c and mem.c The serial UML OS-abstraction layer patch (um/kernel dir). This joins mem_user.c and mem.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f80bc85c587e8fdeecece4f294a47eca4922ea2 Author: Jeff Dike Date: Fri Sep 16 19:27:50 2005 -0700 [PATCH] uml: move libc code out of mem_user.c and tempfile.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all system calls from mem_user.c and tempfile.c files under os-Linux dir. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4fd310e163477236a241580b3b8c29aee65f4cc Author: Jeff Dike Date: Fri Sep 16 19:27:49 2005 -0700 [PATCH] uml: preserve errno in error paths The poster child for this patch is the third tuntap_user hunk. When an ioctl fails, it properly closes the opened file descriptor and returns. However, the close resets errno to 0, and the 'return errno' that follows returns 0 rather than the value that ioctl set. This caused the caller to believe that the device open succeeded and had opened file descriptor 0, which caused no end of interesting behavior. The rest of this patch is a pass through the UML sources looking for places where errno could be reset before being passed back out. A common culprit is printk, which could call write, being called before errno is returned. In some cases, where the code ends up being much smaller, I just deleted the printk. There was another case where a caller of run_helper looked at errno after a failure, rather than the return value of run_helper, which was the errno value that it wanted. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64b7673f91c0c3614028c5942b0d6a91d0b64a98 Author: Jeff Dike Date: Fri Sep 16 19:27:48 2005 -0700 [PATCH] uml: Remove some build warnings These ugly double-casts are the result of gdb complaining about size Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9f0d9151083a9a77331a020a7fee498cf828e3b Author: Jeff Dike Date: Fri Sep 16 19:27:47 2005 -0700 [PATCH] uml: Remove a useless include linux/inet.h isn't needed, and on my system, is empty. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edcc2205d33d6baefc773c915b6e7ce517bc0b19 Author: Jeff Dike Date: Fri Sep 16 19:27:47 2005 -0700 [PATCH] uml: Remove an unused file This removes a file which is no longer used. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3eddddcf239c89bbd3c50d1440001a3d384ed40a Author: Jeff Dike Date: Fri Sep 16 19:27:46 2005 -0700 [PATCH] uml: breakpoint an arbitrary thread This patch implements a stack trace for a thread, not unlike sysrq-t does. The advantage to this is that a break point can be placed on showreqs, so that upon showing the stack, you jump immediately into the debugger. While sysrq-t does the same thing, sysrq-t shows *all* threads stacks. It also doesn't work right now. In the future, I thought it might be acceptable to make this show all pids stacks, but perhaps leaving well enough alone and just using sysrq-t would be okay. For now, upon receiving the stack command, UML switches context to that thread, dumps its registers, and then switches context back to the original thread. Since UML compacts all threads into one of 4 host threads, this sort of mechanism could be expanded in the future to include other debugging helpers that sysrq does not cover. Note by jdike - The main benefit to this is that it brings an arbitrary thread back into context, where it can be examined by gdb. The fact that it dumps it stack is secondary. This provides the capability to examine a sleeping thread, which has existed in tt mode, but not in skas mode until now. Also, the other threads, that sysrq doesn't cover, can be gdb-ed directly anyway. Signed-off-by: Allan Graves Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6e34c6af6f18bd6c66bfb1c6a7c57068412aa73 Author: Jeff Dike Date: Fri Sep 16 19:27:43 2005 -0700 [PATCH] uml: _switch_to code consolidation This patch moves code that is in both switch_to_tt and switch_to_skas to the top level _switch_to function, keeping us from duplicating code. It is required for the stack trace patch to work properly. Signed-off-by: Allan Graves Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6add9f7f529b124938d14ae9db5a952d1272075a Author: Peter Oberparleiter Date: Fri Sep 16 19:27:42 2005 -0700 [PATCH] s390: kernel stack corruption When an asynchronous interruption occurs during the execution of the 'critical section' within the generic interruption handling code (entry.S), a faulty check for a userspace PSW may result in a corrupted kernel stack pointer which subsequently triggers a stack overflow check. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26ff6ad9786abf6f40a6d3cbb89753b4fa50cb00 Author: Srivatsa Vaddagiri Date: Fri Sep 16 19:27:40 2005 -0700 [PATCH] CPU hotplug breaks wake_up_new_task Fix a problem wherein a new-born task is added to a dead CPU. Signed-off-by: Srivatsa Vaddagiri Acked-by: Nick Piggin Acked-by: Shaohua Li Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa72e26a640e551637f91122d782d5a85d514f5b Author: Domen Puncer Date: Fri Sep 16 19:27:36 2005 -0700 [PATCH] Remove arch/arm26/boot/compressed/hw-bse.c Remove nowhere referenced file (egrep "hw-bse\." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c782268be8892962a1ae2c09a2e87e7849454ef1 Author: Volker Sameske Date: Fri Sep 16 19:27:35 2005 -0700 [PATCH] s390: diag 0x308 reipl Add code to support the re-IPL method using diagnose 0x308. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7ae9dd80a3ecf070ea0c5fe1d405cd7687d6c51 Author: Heiko Carstens Date: Fri Sep 16 19:27:34 2005 -0700 [PATCH] s390: show_cpuinfo fix Disable preemption in show_cpuinfo to avoid problems and the warning about smp_processor_id. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90f4e12112284f1a41594e2950e6eced5b064efc Author: Martin Schwidefsky Date: Fri Sep 16 19:27:34 2005 -0700 [PATCH] s390: crypto driver patch take 2 Got confused with the crypto update. The last patch added a call to destroy_workqueue() for a non-existent workqueue with the comment "Remove device workqueue on module unload". This is nonsense. Remove the offending hunk again. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d176795b3eedc18f95160ecc0d7cdf0d2bc5a578 Author: Heiko Carstens Date: Fri Sep 16 19:27:33 2005 -0700 [PATCH] s390: bl_dev array size Calculate correct size for bl_dev array. It should be 8KB instead of 512KB for 2^16 bits. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1306a2b2be35179449db737ac0562b067cb96ddb Author: Martin Schwidefsky Date: Fri Sep 16 19:27:32 2005 -0700 [PATCH] s390: default configuration Update default configuration of s390. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62052d42a5327281fc43fd7bcfb73ac7d36ffc2e Author: Richard Purdie Date: Fri Sep 16 19:27:31 2005 -0700 [PATCH] MTD: Update SharpSL partition definitions Add partition definitions for the new Sharp Zaurus models Spitz (SL-C3000), Akita (SL-C1000) and Borzoi (SL-C3100) Signed-off-by: Richard Purdie Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12e8780813c8c515b685b86c1306d169a4cae5fe Author: Richard Purdie Date: Fri Sep 16 19:27:30 2005 -0700 [PATCH] SharpSL: Add missing hunk from backlight update This hunk from the sharpsl/corgi backlight update appears to have got lost somewhere along the way. Its needed to match the other changes. Signed-Off-By: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7e70ba45fd9850296ebb78ff5827f6a375f650c Author: H. Peter Anvin Date: Fri Sep 16 19:27:29 2005 -0700 [PATCH] RAID6 Altivec fix This patch fixes a signedness bug with RAID6 for Altivec, and makes the Altivec code testable in userspace. Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c58ec93245a1fb7354f9e331960380827b9f41db Author: Michael Chan Date: Sat Sep 17 00:46:27 2005 -0700 [TG3]: Fix 4GB boundary tx handling Fix and simplify the workaround code for the 4GB boundary tx buffer hardware bug. 1. Need to unmap the original SKB's dma addresses if a new SKB cannot be allocated. 2. Need to pass the base flag to tigon3_4gb_hwbug_workaround() or TSO won't work properly. 3. The guilty entry and length parameters for tigon3_4gb_hwbug_workaround() are removed as they are not necessary. 4. Remove assumption that only one fragment can hit the 4GB boundary. Another fragment can hit 8GB for example. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit eb8edb085716621605cc2e7131a6369d2223d992 Author: Arnaldo Carvalho de Melo Date: Sat Sep 17 00:42:26 2005 -0700 [DCCP]: Add MAINTAINERS and CREDITS entries Also remove the SPX entry in MAINTAINERS, forgot to do that when I removed it. Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9eb0eec74d9425f4376df653304783339a027d79 Author: Harald Welte Date: Sat Sep 17 00:41:21 2005 -0700 [NETFILTER] move nfnetlink options to right location in kconfig menu Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 777ed97f3e549832845d70dcae96cb36c41a543a Author: Harald Welte Date: Sat Sep 17 00:41:02 2005 -0700 [NETFILTER] Fix Kconfig dependencies for nfnetlink/ctnetlink Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 22abe310bc4b0c684fd3716af6b6116ff1011707 Author: Peter Hagervall Date: Fri Sep 16 17:01:03 2005 -0700 [TG3]: Sparse fixes for tg3 Change 0 to NULL where appropriate. Signed-off-by: Peter Hagervall Acked-by: Jeff Garzik Signed-off-by: David S. Miller commit a8f39143ac67ffa2e26ce48aaac6bf5dc7dae95f Author: Harald Welte Date: Fri Sep 16 17:00:38 2005 -0700 [NETFILTER]: Fix oops in conntrack event cache ip_ct_refresh_acct() can be called without a valid "skb" pointer. This used to work, since ct_add_counters() deals with that fact. However, the recently-added event cache doesn't handle this at all. This patch is a quick fix that is supposed to be replaced soon by a cleaner solution during the pending redesign of the event cache. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 136e92bbec0a6d4c2dd1e5b5ac869ab5470547a4 Author: KOVACS Krisztian Date: Fri Sep 16 17:00:04 2005 -0700 [NETFILTER] CLUSTERIP: use a bitmap to store node responsibility data Instead of maintaining an array containing a list of nodes this instance is responsible for let's use a simple bitmap. This provides the following features: * clusterip_responsible() and the add_node()/delete_node() operations become very simple and don't need locking * the config structure is much smaller In spite of the completely different internal data representation the user-space interface remains almost unchanged; the only difference is that the proc file does not list nodes in the order they were added. (The target info structure remains the same.) Signed-off-by: KOVACS Krisztian Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 4451362445b2d83886003f1d739b94e4f000eeeb Author: KOVACS Krisztian Date: Fri Sep 16 16:59:46 2005 -0700 [NETFILTER] CLUSTERIP: introduce reference counting for entries The CLUSTERIP target creates a procfs entry for all different cluster IPs. Although more than one rules can refer to a single cluster IP (and thus a single config structure), removal of the procfs entry is done unconditionally in destroy(). In more complicated situations involving deferred dereferencing of the config structure by procfs and creating a new rule with the same cluster IP it's also possible that no entry will be created for the new rule. This patch fixes the problem by counting the number of entries referencing a given config structure and moving the config list manipulation and procfs entry deletion parts to the clusterip_config_entry_put() function. Signed-off-by: KOVACS Krisztian Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 1cbf07478bbf3e350a2025bc5ea23fedaa95855a Author: David S. Miller Date: Fri Sep 16 16:59:20 2005 -0700 [TG3]: Add AMD K8 to list of write-reorder chipsets. Thanks to Andy Stewart for the report and testing debug patches from Michael Chan. Signed-off-by: David S. Miller commit 67e6b629212fa9ffb7420e8a88a41806af637e28 Author: Arnaldo Carvalho de Melo Date: Fri Sep 16 16:58:40 2005 -0700 [DCCP]: Introduce DCCP_SOCKOPT_SERVICE As discussed in the dccp@vger mailing list: Now applications have to use setsockopt(DCCP_SOCKOPT_SERVICE, service[s]), prior to calling listen() and connect(). An array of unsigned ints can be passed meaning that the listening sock accepts connection requests for several services. With this we can ditch struct sockaddr_dccp and use only sockaddr_in (and sockaddr_in6 in the future). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0c10c5d96865ce611d6a780888eff0ef4fab358b Author: Arnaldo Carvalho de Melo Date: Fri Sep 16 16:58:33 2005 -0700 [DCCP]: More precisely set reset_code when sending RESET packets Moving the setting of DCCP_SKB_CB(skb)->dccpd_reset_code to the places where events happen that trigger sending a RESET packet. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 37f7f421cce13435fdc0d870caf51141e5ebf079 Author: David S. Miller Date: Fri Sep 16 16:51:01 2005 -0700 [NET]: Do not leak MSG_CMSG_COMPAT into userspace. Noticed by Sridhar Samudrala. Signed-off-by: David S. Miller commit 06168d8a10ceccced51380d683245b33474d428a Author: Karsten Keil Date: Fri Sep 16 19:34:17 2005 +0200 [PATCH] cleanup whitespace in pci_ids.h Signed-off-by: Karsten Keil Signed-off-by: Linus Torvalds commit a063cf5b7dde94d98f3f7c9f1c951e02c6564022 Author: Karsten Keil Date: Fri Sep 16 19:32:53 2005 +0200 [PATCH] Add PCI IDs for Sitecom DC-105 Sitecom DC-105 PCI work with hfc_pci HiSax driver Signed-off-by: Karsten Keil Signed-off-by: Linus Torvalds commit 20305e59724381365096b6ab0a48054723367c80 Author: Hidetoshi Seto Date: Fri Sep 16 13:44:56 2005 +0900 [IA64] mca_drv cleanup There were some trailing white spaces, long lines, brackets in weird style etc. This patch cleans them up. Signed-off-by: Hidetoshi Seto Signed-off-by: Tony Luck commit bc9a5154a24d16d41cc79dbf1442de34454bc7db Author: Al Viro Date: Thu Sep 15 22:53:28 2005 +0100 [PATCH] epca iomem annotations + several missing readw() [originally sent to Alan, he had no problems with it] - iomem pointers marked as such - several direct dereferencings of such pointers replaced with read[bw](). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8ee9e23d41d2c51fafd158861fa4639fb199baf0 Author: Keith Owens Date: Fri Sep 16 14:49:14 2005 +1000 [IA64] Add Documentation/ia64/mca.txt Add Documentation/ia64/mca.txt, an ad-hoc collection of notes on IA64 MCA and INIT processing. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 24b8e0cc09483adc0fdd9c68914b19597bb9fddc Author: Peter Chubb Date: Thu Sep 15 15:36:35 2005 +1000 [IA64] Remove warnings for gcc 4.0 IA64 compilation. This patch removes some compilation warnings, mostly trivially. acpi.c fix also noted by Kenji Kaneshige. Signed-off-by; Peter Chubb Signed-off-by: Tony Luck commit 7fb6ec287a05d7a71ec086d8bc9a452d5e16ff1a Author: Jeff Garzik Date: Fri Sep 16 06:01:48 2005 -0400 [libata] fix PIO completion race Make sure we that completion is the final action we take; prior to this change, another CPU may have changed ap->pio_task_state before we tested it a final time. Spotted by, and original patch by Albert Lee @ IBM. Also includes a minor optimization: eliminate a ton of unnecessary queue_work() calls, simply by jumping to the beginning of the FSM function ata_pio_task(). commit 53abbf7eeab22620586cbba272e569fd3e729b0b Author: Jens Osterkamp Date: Fri Sep 16 08:55:33 2005 +0200 [PATCH] net: fix spider_net media detection This patch makes the driver work with any BladeCenter network switch, it used to work only with certain models. Please apply. Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 8b51292764a0ed46d7eb6bead4625ba83ee2ec05 Author: Stephen Hemminger Date: Wed Sep 14 09:45:44 2005 -0700 [PATCH] 8139cp: allocate statistics space only when needed Don't crash if ethtool statistics are requested and device is down. Fix is to allocate pci space for statistics only when needed. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ed4b9f8014db4f343e89b44b7c5ca355f439ce36 Author: Jay Vosburgh Date: Wed Sep 14 14:52:09 2005 -0700 [PATCH] bonding: plug reference count leak Bonding leaks route structures when the ARP monitor is configured to send probes over VLANs. Originally reported by Ian Abel ; his original fix was modified by Jay Vosburgh to correct coding style and to close a leak it missed. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit 065d9cac98a5406ecd5a1368f8fd38f55739dee9 Author: Antonino A. Daplas Date: Thu Sep 15 21:34:33 2005 +0800 [PATCH] vc: Use correct size on buffer copy in vc_resize In the unlikely case of the new screen width much wider then the old, use (old_row_size * new_rows) instead of new_screen_size to prevent a buffer overrun during the copy. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 6d36ba629e0ef47a03d3703ee1d38143c25532a8 Author: Antonino A. Daplas Date: Thu Sep 15 21:14:56 2005 +0800 [PATCH] vgacon: Fix sanity checking in vgacon_resize Reported by: walt "I routinely switch the console font during bootup to 8x8 so I can get 50 lines per screen. Until 09 Sept, just changing to the small font automatically gave me all 50 lines -- but now I'm only getting 25 lines even with the small font. The bottom half of the screen displays the text that already scrolled off the top." This bug is due to an erroneous check in the recently added hook, vgacon_resize(). It checks the new height against the original number of rows of the console. Because the original number of rows depends on both the scanline and the font height, check it instead against the scanline/fontheight. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 7b6a186d65589901a73d460070504a5e02703c45 Author: Antonino A. Daplas Date: Thu Sep 15 20:58:57 2005 +0800 [PATCH] savagefb: Fix load failure of the Twister chipset - The Twister chipsets are actually prosavages. Reclassify them as such and remove the S3_SAVAGE_TWISTER id. - Fix i2c code if fb_firmware_edid() returns NULL Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit be201f7f4cd26b1bb994062803e0d87877e749ce Author: Jimi Xenidis Date: Thu Sep 15 08:42:19 2005 -0400 [PATCH] ppc64: Fix recent regression As noted by Olof Johansson : "A recent patch changed the way the LPAR bit is checked during early boot. This resulted in a polarity change in a conditional branch without changing the branch, causing at least some legacy machines to not boot." This fixes it. Signed-off-by: Jimi Xenidis Signed-off-by: Linus Torvalds commit 1b3cb73f7306f97a68fa973dec9f3c3b68bd29cf Author: Russell King Date: Thu Sep 15 15:17:59 2005 +0100 [ARM] Tighten pfn_valid() test. Thomas Gleixner reported that mmaping and unmapping each physical page in turn eventually caused the kernel to oops. It appears that pfn_valid() in the discontigmem case was too simplistic for proper operation. Tighten the logic so we also check if the PFN is within the range of the selected memory node. Signed-off-by: Russell King commit 13b9d47ed36e8019a99c798b84c341ef75868e02 Author: Richard Purdie Date: Thu Sep 15 14:53:22 2005 +0100 [ARM] 2914/1: PXA Poodle: Add MMC and UDC support Patch from Richard Purdie This patch adds MMC and UDC support to the PXA Poodle platform. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f29d245549aa38325c37716dbecea8d817c00274 Author: Richard Purdie Date: Thu Sep 15 14:53:22 2005 +0100 [ARM] 2913/1: PXA Poodle: Cleanup some unneeded code Patch from Richard Purdie This patch cleans up the PXA Poodle platform code removing an unneeded static iomap. It also corrects errors in the platform header file and adds a missing GPIO define. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit fdce05bbfe171882adf53ce32e04da24276cb8cd Author: Richard Purdie Date: Thu Sep 15 14:53:21 2005 +0100 [ARM] 2912/1: PXA Corgi: Cleanup some unneeded code Patch from Richard Purdie This patch cleans up the PXA Corgi platform code removing an unneeded static iomap, an unneeded function and some debug messages. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit c071760224d8418f65606bd67e755c6a5463ec53 Author: Richard Purdie Date: Thu Sep 15 14:52:00 2005 +0100 [ARM] 2915/1: SA1100 Collie: Correct scoop device calls Patch from Richard Purdie This patch adds a missing parameter to the scoop calls made by collie.c Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b2b8c6944544319caa22ed8bcb3443153a1a3b4c Author: Lennert Buytenhek Date: Thu Sep 15 13:02:32 2005 +0100 [ARM] 2905/1: enable the ixp2000 i2c bus driver in ixp2000 defconfigs Patch from Lennert Buytenhek It's silly to have I2C enabled in all ixp2000 defconfigs but not to have the ixp2000 bus driver enabled in any of them. This patch enables CONFIG_I2C_IXP2000 for all in-tree ixp2000 boards. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 2e4e8bbb6e2da073c5654a39a58eb0895e3ba4c7 Author: Lennert Buytenhek Date: Thu Sep 15 13:02:31 2005 +0100 [ARM] 2904/1: update ixp2000 defconfigs to 2.6.13 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 44449bbf4b051ef7bbea648602f4e21658fe2354 Author: Lennert Buytenhek Date: Thu Sep 15 13:00:52 2005 +0100 [ARM] 2909/1: remove IXP2000_PROD_ID Patch from Lennert Buytenhek The intel docs call it IXP2000_PRODUCT_ID, and we have a definition for IXP2000_PRODUCT_ID as well, so IXP2000_PROD_ID can go. It's only used in one place. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 917afce1000d978dfd3f07da5da9d864bc49c77e Author: Lennert Buytenhek Date: Thu Sep 15 13:00:25 2005 +0100 [ARM] 2911/1: ixp2000_reg_{read,write} accessors Patch from Lennert Buytenhek This patch: - changes the ixp2000_reg_write accessor to take a 'volatile void *' instead of a 'volatile unsigned long *', which then allows passing in a u32 * as first argument without being greeted with a warning; and - adds an ixp2000_reg_read accessor. We can then use these accessors in ixp2000 code to access on-chip peripherals, instead of directly dereferencing pointers. This is for use by the ixp2000 microengine driver which was recently announced on netdev. We can't use readl/writel on the ixp2000 since it is usually run in big-endian mode, and on big-endian platforms, readl/writel perform byteswapping. A future patch will remove the readback from ixp2000_reg_write, since it's not needed to prevent erratum #66, and add manual readbacks to the places that need them (writes are not synchronous since we map in device space using XCB=101 nowadays), such as interrupt disabling and GPIO manipulation. See also: http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-February/027084.html Patch has been ACKed by Jeff Garzik. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit fea2efe3bba15f0aa8f840fbe052699808187cb6 Author: Russell King Date: Thu Sep 15 12:30:11 2005 +0100 [ARM] Remove PFN_TO_NID for !DISCONTIGMEM Platform classes need not define PFN_TO_NID when DISCONTIGMEM is not selected. Signed-off-by: Russell King commit 4db2ce0199f04b6e99999f22e28ef9a0ae5f0d2f Author: David S. Miller Date: Wed Sep 14 21:47:01 2005 -0700 [LIB]: Consolidate _atomic_dec_and_lock() Several implementations were essentialy a common piece of C code using the cmpxchg() macro. Put the implementation in one spot that everyone can share, and convert sparc64 over to using this. Alpha is the lone arch-specific implementation, which codes up a special fast path for the common case in order to avoid GP reloading which a pure C version would require. Signed-off-by: David S. Miller commit 4a805e863d6b9466baf7084e1d6fdbe6e0628d8e Author: David S. Miller Date: Wed Sep 14 21:40:00 2005 -0700 [COMPAT]: Fixup compat_do_execve() Missing acct_update_integrals() and update_mem_hiwater() calls compared to it's native counterpart. Signed-off-by: David S. Miller commit 40796c5e8f2a93008e9034b3110a7e7b1fa0fba0 Author: David L Stevens Date: Wed Sep 14 21:10:20 2005 -0700 [IPV6]: Fix per-socket multicast filtering in sk_reuse case per-socket multicast filters were not being applied to all sockets in the case of an exact-match bound address, due to an over-exuberant "return" in the look-up code. Fix below. IPv4 does not have this problem. Thanks to Hoerdt Mickael for reporting the bug. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 87375ab47cd0ba04124c6d3fd80db5c368f5dcb6 Author: Julian Anastasov Date: Wed Sep 14 21:08:51 2005 -0700 [IPVS]: ip_vs_ftp breaks connections using persistence ip_vs_ftp when loaded can create NAT connections with unknown client port for passive FTP. For such expectations we lookup with cport=0 on incoming packet but it matches the format of the persistence templates causing packets to other persistent virtual servers to be forwarded to real server without creating connection. Later the reply packets are treated as foreign and not SNAT-ed. This patch changes the connection lookup for packets from clients: * introduce IP_VS_CONN_F_TEMPLATE connection flag to mark the connection as template * create new connection lookup function just for templates - ip_vs_ct_in_get * make sure ip_vs_conn_in_get hits only connections with IP_VS_CONN_F_NO_CPORT flag set when s_port is 0. By this way we avoid returning template when looking for cport=0 (ftp) Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller commit f5e229db9cdb27f83594712ca4bb98d9377eb6ed Author: Julian Anastasov Date: Wed Sep 14 21:04:23 2005 -0700 [IPVS]: Really invalidate persistent templates Agostino di Salle noticed that persistent templates are not invalidated due to buggy optimization. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller commit 1c011bed5f49ce9e6193b18b226106a41ecfa95c Author: Bart De Schuymer Date: Wed Sep 14 20:55:16 2005 -0700 [BRIDGE-NF]: Fix iptables redirect on bridge interface Here's a slightly altered patch, originally from Mark Glines who diagnosed and fixed the problem. Signed-off-by: Bart De Schuymer Signed-off-by: David S. Miller commit de9daad90ecb54f3c37c3f8967d581e20d927539 Author: Denis Lukianov Date: Wed Sep 14 20:53:42 2005 -0700 [MCAST]: Fix MCAST_EXCLUDE line dupes This patch fixes line dupes at /ipv4/igmp.c and /ipv6/mcast.c in the 2.6 kernel, where MCAST_EXCLUDE is mistakenly used instead of MCAST_INCLUDE. Signed-off-by: Denis Lukianov Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 20ae975dfd54de581287b2ca8a1ad97099ab0396 Author: David S. Miller Date: Wed Sep 14 20:52:37 2005 -0700 [NETLINK]: Reserve a slot for NETLINK_GENERIC. As requested by Jamal. Signed-off-by: David S. Miller commit 3c05d92ed49f644d1f5a960fa48637d63b946016 Author: Herbert Xu Date: Wed Sep 14 20:50:35 2005 -0700 [TCP]: Compute in_sacked properly when we split up a TSO frame. The problem is that the SACK fragmenting code may incorrectly call tcp_fragment() with a length larger than the skb->len. This happens when the skb on the transmit queue completely falls to the LHS of the SACK. And add a BUG() check to tcp_fragment() so we can spot this kind of error more quickly in the future. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 1619cca2921f6927f4240e03f413d4165c7002fc Author: Linus Torvalds Date: Wed Sep 14 15:56:27 2005 -0700 Partially revert "Fix time going twice as fast problem on ATI Xpress chipsets" Commit 66759a01adbfe8828dd063e32cf5ed3f46696181 introduced the fix for time ticking too fast on some boards by disabling one of the doubly connected timer pins on ATI boards. However, it ends up being _much_ too broad a brush, and that just makes some other ATI boards not work at all since they now have no timer source. So disable the automatic ATI southbridge detection, and just rely on people who see this problem disabling it by hand with the option "disable_timer_pin_1" on the kernel command line. Maybe somebody can figure out the proper tests at a later date. Acked-by: Peter Osterlund Signed-off-by: Linus Torvalds commit f6af5da388a5d058cd9a5a47d030e3966b22e991 Author: Russell King Date: Wed Sep 14 23:10:48 2005 +0100 [ARM SMP] Add timer/watchdog defines for MPCore Actually add the file this time. Signed-off-by: Russell King commit da16e3245a4827d969943ca0493a4a6e34009342 Author: Russell King Date: Wed Sep 14 22:54:45 2005 +0100 [I2C] Add a functionality method, and remove algorithm ids This allows i2c-pxa to finally build. Signed-off-by: Russell King commit 2cef2d552f75b7feb7859d29a71388c020023872 Author: Nicolas Pitre Date: Wed Sep 14 22:42:31 2005 +0100 [ARM] 2910/1: missing Lubbock audio device declaration Patch from Nicolas Pitre This apparently fell in the crack somewhere. Add it back. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2d93486c6c110cf81db720359b4ec20de9c91450 Author: Vincent Sanders Date: Wed Sep 14 22:36:03 2005 +0100 [ARM] 2907/1: GCC 4 serial driver compile fixes Patch from Vincent Sanders When building the ARM platforms several serial drivers fail to compile with GCC 4.01 due to extern/static ambiguity. Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit ef4cbee0b0d0f791bb593f99b702410f3c0efce6 Author: Anton Blanchard Date: Wed Sep 14 14:19:18 2005 -0700 [PATCH] hvc_console: start kernel thread before registering tty Its possible that we can write to the hvc_console tty as soon it is registered. Recently this started happening due to (what looks like) a change to the hotplug code. Unfortunately at this stage we have not started the khvcd kernel thread and oops. The solution is to start the kernel thread before registering the tty. Signed-off-by: Anton Blanchard Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b7fc4214b550fafe595330e28d7c2c72b8b62f6 Author: Roland Dreier Date: Wed Sep 14 14:19:17 2005 -0700 [PATCH] add PCI IDs so RME32 and RME96 drivers build While doing an allyesconfig build, I noticed that the commit commit 8cdfd2519c6c9a1e6057dc5970b2542b35895738 Author: Takashi Iwai Date: Wed Sep 7 14:08:11 2005 +0200 [ALSA] Remove superfluous PCI ID definitions broke the RME32 and RME96 drivers, since the PCI IDs they use seem to have changed names. Here's a patch to fix this -- compile tested only, since I have no idea what the hardware even is. Fix the build of the RME32 and RME96 drivers by having them use the PCI_DEVICE_ID_RME_xxx names defined in instead of the PCI_DEVICE_ID_xxx names that they used to define themselves. Also fix the typo in the id PCI_DEVICE_IDRME__DIGI96_8_PAD_OR_PST so the name is PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST. Signed-off-by: Roland Dreier Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ed8e048c9e11e69ec951f94066105e80cdc59fd Author: Antonino A. Daplas Date: Wed Sep 14 14:19:15 2005 -0700 [PATCH] nv_i2c oops fix The call to fb_firmware_edid may return NULL but this is not checked before trying to memcpy using this pointer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fd9808aec0198b25ff9f8bb19508d9492f86920 Author: Pantelis Antoniou Date: Wed Sep 14 14:19:14 2005 -0700 [PATCH] ppc32 8xx: flush_tlb_range() declaration uses wrong pointer type On 8xx flush_tlb_range() declaration is using a "struct mm_struct *" pointer type while the function itself uses "struct vm_area_struct *". Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84d370b906b0eb00277a841216987285cf4114d4 Author: Karsten Keil Date: Wed Sep 14 14:19:13 2005 -0700 [PATCH] i4l: Sedlbauer speed star II V 3.1 exist with various subversions the 4th id field should be not used Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a23f34798f15838fe1b7f0fd7e5be388e08c2b2 Author: Linus Torvalds Date: Wed Sep 14 13:05:17 2005 -0700 Fix yenta error message when unable to find a bus assignment And mention 'pci=assign-busses' as a possible fix. Signed-off-by: Linus Torvalds commit 0b175a7e68c2f51555820efb0a01681e3419c1bc Author: Dipankar Sarma Date: Thu Sep 15 00:48:42 2005 +0530 [PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arrays Noted by David Miller: "The bug is that free_fd_array() takes a "num" argument, but when calling it from __free_fdtable() we're instead passing in the size in bytes (ie. "num * sizeof(struct file *)")." Yes it is a bug. I think I messed it up while merging newer changes with an older version where I was using size in bytes to optimize. Signed-off-by: Dipankar Sarma Signed-off-by: Linus Torvalds commit c7e43c78ae4d8630c418ce3495787b995e61a580 Author: Alok Kataria Date: Wed Sep 14 12:17:53 2005 -0700 [PATCH] Fix slab BUG_ON() triggered by change in array cache size With the new changes that we made in the initialization of the slab allocator, we first setup the cache from which array caches are allocated, and then the cache, from which kmem_list3's are allocated. Now if the array cache comes from a cache in which objsize > 32, (in this instance size-64) then, first size-64 cache will be allocated and then the size-128 (if this is the cache from which kmem_list3's are going to be allocated). So with these new changes, we are not guaranteed that we will be initializing the malloc_sizes array in a serialized order. Thus there is a bug in __find_general_cachep, as we are checking whether the first cache_sizes ptr is NULL. This is replaced by checking whether the array-cache cache is initialized. Attached is a patch which does that. Boots fine on a x86-64, with DEBUG_SPIN, DEBUG_SLAB, and preempt. Attached is a patch which does that. Boots fine on a x86-64, with DEBUG_SPIN, DEBUG_SLAB, and preempt.Thanks & Regards, Alok Signed-off-by: Alok N Kataria Signed-off-by: Shobhit Dayal Cc: Manfred Spraul Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7fb0b35ada6e0e691e70af5591a2006fbec85b5 Author: Ivan Kokshaysky Date: Wed Sep 14 23:05:30 2005 +0400 [PATCH] yenta oops fix In some cases, especially on modern laptops with a lot of PCI and cardbus bridges, we're unable to assign correct secondary/subordinate bus numbers to all cardbus bridges due to BIOS limitations unless we are using "pci=assign-busses" boot option. So some cardbus controllers may not have attached subordinate pci_bus structure, and yenta driver must cope with it - just ignore such cardbus bridges. For example, see https://bugzilla.novell.com/show_bug.cgi?id=113778 Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 2fd4ef85e0db9ed75c98e13953257a967ea55e03 Author: Hugh Dickins Date: Wed Sep 14 06:13:02 2005 +0100 [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() Pavel Emelianov and Kirill Korotaev observe that fs and arch users of security_vm_enough_memory tend to forget to vm_unacct_memory when a failure occurs further down (typically in setup_arg_pages variants). These are all users of insert_vm_struct, and that reservation will only be unaccounted on exit if the vma is marked VM_ACCOUNT: which in some cases it is (hidden inside VM_STACK_FLAGS) and in some cases it isn't. So x86_64 32-bit and ppc64 vDSO ELFs have been leaking memory into Committed_AS each time they're run. But don't add VM_ACCOUNT to them, it's inappropriate to reserve against the very unlikely case that gdb be used to COW a vDSO page - we ought to do something about that in do_wp_page, but there are yet other inconsistencies to be resolved. The safe and economical way to fix this is to let insert_vm_struct do the security_vm_enough_memory check when it finds VM_ACCOUNT is set. And the MIPS irix_brk has been calling security_vm_enough_memory before calling do_brk which repeats it, doubly accounting and so also leaking. Remove that, and all the fs and arch calls to security_vm_enough_memory: give it a less misleading name later on. Signed-off-by: Hugh Dickins Signed-Off-By: Kirill Korotaev Signed-off-by: Linus Torvalds commit fb085cf1d4294824571815d487daccc0609543f0 Author: Alexander Nyberg Date: Wed Sep 14 18:54:06 2005 +0200 [PATCH] Fix fs/exec.c:788 (de_thread()) BUG_ON It turns out that the BUG_ON() in fs/exec.c: de_thread() is unreliable and can trigger due to the test itself being racy. de_thread() does while (atomic_read(&sig->count) > count) { } ..... ..... BUG_ON(!thread_group_empty(current)); but release_task does write_lock_irq(&tasklist_lock) __exit_signal (this is where atomic_dec(&sig->count) is run) __exit_sighand __unhash_process takes write lock on tasklist_lock remove itself out of PIDTYPE_TGID list write_unlock_irq(&tasklist_lock) so there's a clear (although small) window between the atomic_dec(&sig->count) and the actual PIDTYPE_TGID unhashing of the thread. And actually there is no need for all threads to have exited at this point, so we simply kill the BUG_ON. Big thanks to Marc Lehmann who provided the test-case. Fixes Bug 5170 (http://bugme.osdl.org/show_bug.cgi?id=5170) Signed-off-by: Alexander Nyberg Cc: Roland McGrath Cc: Andrew Morton Cc: Ingo Molnar Acked-by: Andi Kleen Signed-off-by: Linus Torvalds commit 32a3658533c6f4c6bf370dd730213e802464ef9b Author: John W. Linville Date: Wed Sep 14 09:52:42 2005 -0400 [PATCH] pci: only call pci_restore_bars at boot Certain (SGI?) ia64 boxes object to having their PCI BARs restored unless absolutely necessary. This patch restricts calling pci_restore_bars from pci_set_power_state unless the current state is PCI_UNKNOWN, the actual (i.e. physical) state of the device is PCI_D3hot, and the device indicates that it will lose its configuration when transitioning to PCI_D0. Signed-off-by: John W. Linville Signed-off-by: Linus Torvalds commit f3d242e8f2bf12cb45eb35b7d2e69483d1209b13 Author: Frank Pavlic Date: Wed Sep 14 18:05:31 2005 +0200 [PATCH] s390: qeth driver fixes [patch 4/4] s390: qeth driver fixes . From: Frank Pavlic - Clear read channel first prior to using ccw_device_set_offline. - use QETH_DBF_TEXT instead of QETH_DBF_SPRINTF - invoke qeth_halt_channel and qeth_clear_channel for all channels, even if halt/clear for one of the channel fails. - enable qeth_arp_query function for GuestLAN devices Signed-off-by: Frank Pavlic diffstat: qeth.h | 2 - qeth_main.c | 106 +++++++++++++++++++++++++----------------------------------- qeth_sys.c | 11 +++--- 3 files changed, 53 insertions(+), 66 deletions(-) Signed-off-by: Jeff Garzik commit 9cb90de84b1d9c4686f12042a3696df38e0114c3 Author: Frank Pavlic Date: Wed Sep 14 18:03:26 2005 +0200 [PATCH] s390: TSO related fixes in qeth driver Jeff, I'm sorry seems that they have not been sent out either ... ok here they come ... [patch 3/4] s390: TSO related fixes in qeth driver From: Frank Pavlic TSO related fixes : - changing value of large_send attribute while network traffic is running caused program check and thus device recovery. - Due to hardware restriction discard packet when it exceeds 60K otherwise qeth will cause program checks and thus traffic stall when trying to send such huge packets. Signed-off-by: Frank Pavlic diffstat: qeth.h | 4 ++-- qeth_main.c | 33 +++++++++++++++++++++------------ qeth_sys.c | 10 +++------- 3 files changed, 26 insertions(+), 21 deletions(-) Signed-off-by: Jeff Garzik commit e172577da02cde3916e75406b314e6f01c228a5c Author: Frank Pavlic Date: Thu Sep 8 09:50:06 2005 +0200 [PATCH] s390: ctc driver fixes Jeff, sorry if I have flooded your inbox, I had some problems with the mail server here yesterday, but it seems to be fixed ... Ok patch 3-4 have no dependencies on patch 2 since only qeth driver is affected.Thus I have made a new patch 2 for ctc driver. Thank you . [patch 2/4] s390: ctc driver fixes From: Peter Tiedemann - race condition fixed - minor cleanup Signed-off-by: Peter Tiedemann Signed-off-by: Frank Pavlic diffstat: ctcmain.c | 41 ++++++++++++++++++++++------------------- 1 files changed, 22 insertions(+), 19 deletions(-) Signed-off-by: Jeff Garzik commit 46a60f2d718d56bba8695d6f1145eb40548d86f8 Author: Stephen Hemminger Date: Fri Sep 9 12:54:56 2005 -0700 [PATCH] skge: gmac register access errors in dual port Merge of four previous patches and the Kconfig fix * Remove debug printk's * whitespace cleanup and version number change * clear interrupts, reset phy, and reset hardware on shutdown * ignore 64bit counter overflow interrupts * fix a couple of places where second port could clobber state of first port. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c535a9dd26d1a4c6dcbd486cbe181a9e71237af1 Author: John W. Linville Date: Mon Sep 12 10:49:00 2005 -0400 [PATCH] ixgb: correct rx_dropped counting Do not count frames dropped by the hardware as part of rx_dropped. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit ecf7130b087a9bd1b9d03dbf452630243210d22e Author: John W. Linville Date: Mon Sep 12 10:48:59 2005 -0400 [PATCH] e100: correct rx_dropped and add rx_missed_errors Do not count non-error frames dropped by the hardware as part of rx_dropped. Instead, count those frames dropped as rx_missed_errors. Also, do not count other error frames as part of rx_dropped. Finally, do not count oversized frames in rx_dropped (since they are counted as part of rx_length_errors). Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit bd061bf1ff37e186012c6e2522328b58e5d35ed8 Author: John W. Linville Date: Mon Sep 12 10:48:59 2005 -0400 [PATCH] e1000: correct rx_dropped counting Do not count frames dropped by the hardware as part of rx_dropped. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 1141455d5e29e47004ad61e0fc385cb612d4e51c Author: matthieu castet Date: Mon Sep 12 23:31:39 2005 +0200 [PATCH] airo : fix channel number in scan this patch display the correct channel number with iwlist scan Signed-off-by: Matthieu CASTET Signed-off-by: Jeff Garzik commit 668e4bc7229c1866f65f3bef6ab011f8c9034089 Author: Uwe Koziolek Date: Sun Sep 11 17:03:35 2005 +0200 [PATCH] sata_sis: uninitialized variable There is an uninitialized variable issue in sata_sis.c Signed-off-by: Jeff Garzik commit 39eb936c7ec8ef1dccb88d3bcfc1c5fa2410c472 Author: Arnaud Patard Date: Tue Sep 13 00:36:45 2005 +0200 [PATCH] sata_sis: Fix typo in sata port2 initialisation This patch fixes a nasty typo I introduced in my previous patch (commit f2c853bca542f5ac0b036377637192a74f2091c2). The right offset of the second port in pure sata mode is 64 and not 0x64. Thanks to Martin Schuster for pointing this to me Signed-off-by: Arnaud Patard --- Signed-off-by: Jeff Garzik commit 3be034b68acab61d6878431593203fc1b10d10ab Author: Keith Owens Date: Tue Sep 13 15:05:13 2005 +1000 [PATCH] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER xircom_cb.c does #if CONFIG_NET_POLL_CONTROLLER instead of #ifdef, resulting in drivers/net/tulip/xircom_cb.c:120:5: warning: "CONFIG_NET_POLL_CONTROLLER" is not defined. Signed-off-by: Keith Owens Signed-off-by: Jeff Garzik commit 6b4d617d154a1cf51015f7d3db158835d2235768 Author: Andrew Morton Date: Mon Sep 12 23:21:55 2005 -0700 [PATCH] s2io warning fixes drivers/net/s2io.c: In function `init_shared_mem': drivers/net/s2io.c:431: warning: cast from pointer to integer of different size drivers/net/s2io.c: In function `free_shared_mem': drivers/net/s2io.c:662: warning: cast from pointer to integer of different size Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 9734c3fc89e5e2b5c132ed47fe096711eff2c092 Author: Stephen Hemminger Date: Tue Sep 13 10:02:44 2005 -0700 [PATCH] sk98lin: remove PCI id info for cards for conflicting devices Fix PCI device id issues with sk98lin driver. 1. DLINK 530-T card has no Vital Product Data (VPD) area so the sk98lin driver won't work. (skge does however) 2. Remove commented out Yukon2 stuff 3. Restrict Linksys card to revisions that don't conflict with r8169 version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ad4162f3712ddf25e148cff1e7dc37eafdff3e51 Author: Russell King Date: Wed Sep 14 09:56:38 2005 +0100 [ARM SMP] Add timer/watchdog defines for MPCore The timer/watchdog register definitions were missing from the mpcore watchdog patch. Add them. Signed-off-by: Russell King commit 0a305d2e1bd872fed6a073b27e38d457af2a69b0 Author: Cal Peake Date: Tue Sep 13 02:28:07 2005 -0400 [PATCH] Even more fallout from ATI Xpress timer workaround disable_timer_pin_1 needs IO-APIC, not just local APIC. Signed-off-by: Cal Peake Signed-off-by: Linus Torvalds commit 2b80230a7f8cd346c1e2ebafdd02be432bf10459 Author: Arnaldo Carvalho de Melo Date: Tue Sep 13 19:05:08 2005 -0300 [DCCP]: Handle SYNC packets in dccp_rcv_state_process Eliciting a SYNCACK in response, we were handling SYNC packets only in the DCCP_OPEN state, in dccp_rcv_established. Signed-off-by: Arnaldo Carvalho de Melo commit 811265b8e8bf84e3b91507bf6a3a8eea20e7a4b7 Author: Arnaldo Carvalho de Melo Date: Tue Sep 13 19:03:15 2005 -0300 [DCCP]: Check if already in the CLOSING state in dccp_rcv_closereq It is possible to receive more than one CLOSEREQ packet if the CLOSE packet sent in response is somehow lost, change the state to DCCP_CLOSING only on the first CLOSEREQ packet received. Signed-off-by: Arnaldo Carvalho de Melo commit 34f521fd5552fff2a5f892f4c3dbc75e309ad63b Author: George G. Davis Date: Tue Sep 13 22:55:00 2005 +0100 [ARM] 2896/1: Add sys_ipc_wrapper to pass 'fifth' argument on stack Patch from George G. Davis As pointed out be Matthew Klahn , some sys_ipc() call options require six args, e.g. SEMTIMEDOP. This patch adds an ARM sys_ipc_wrapper to save the sys_ipc() 'fifth' arg on the stack. Signed-off-by: George G. Davis arch/arm/kernel/calls.S | 2 +- arch/arm/kernel/entry-common.S | 5 +++++ Signed-off-by: Russell King commit adcb5ad1e5ba3996d53a047c5486efa6e734b413 Author: Patrick McHardy Date: Tue Sep 13 13:49:15 2005 -0700 [NETFILTER]: Fix DHCP + MASQUERADE problem In 2.6.13-rcX the MASQUERADE target was changed not to exclude local packets for better source address consistency. This breaks DHCP clients using UDP sockets when the DHCP requests are caught by a MASQUERADE rule because the MASQUERADE target drops packets when no address is configured on the outgoing interface. This patch makes it ignore packets with a source address of 0. Thanks to Rusty for this suggestion. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cd0bf2d796ebb51c346b1ed4208cdbfd86e98a61 Author: Patrick McHardy Date: Tue Sep 13 13:48:58 2005 -0700 [NETFILTER]: Fix rcu race in ipt_REDIRECT Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e7fa1bd93f977c03050bd6b3d13846aa43310fef Author: Patrick McHardy Date: Tue Sep 13 13:48:34 2005 -0700 [NETFILTER]: Simplify netbios helper Don't parse the packet, the data is already available in the conntrack structure. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5cb30640ce01d76d256533bb2824c9cc14eb4070 Author: Patrick McHardy Date: Tue Sep 13 13:48:00 2005 -0700 [NETFILTER]: Use correct type for "ports" module parameter With large port numbers the helper_names buffer can overflow. Noticed by Samir Bellabes Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f3591fff043f5df937120962668c8adfcd3f5b29 Author: Andi Kleen Date: Tue Sep 13 11:35:28 2005 +0200 [PATCH] x86_64: Export end_pfn Fixes > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F > System.map 2. 6.14-rc1; fi > WARNING: /lib/modules/2.6.14-rc1/kernel/drivers/char/agp/amd64-agp.ko > needs unknown symbol end_pfn Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit da04c035039b5288039a5bf2d340866114ae994b Author: Ingo Molnar Date: Tue Sep 13 11:17:59 2005 +0200 [PATCH] Fix spinlock owner debugging fix up the runqueue lock owner only if we truly did a context-switch with the runqueue lock held. Impacts ia64, mips, sparc64 and arm. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 33333373c40633cec8791a284e84e4b116522c8f Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Tue Sep 13 04:55:41 2005 -0400 [PATCH] i386: Ignore masked FPU exceptions Masked FPU exceptions should obviously not happen in the first place, but if they do, ignoring them seems to be the right thing to do. Although there is no documentation available for Cyrix MII, I did find erratum F-7 for Winchip C6, "FPU instruction may result in spurious exception under certain conditions" which seems to indicate that this can happen. That would also explain the behaviour Ondrej Zary reported on the MII. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 82f1b07b9ad88066c0fa867dd6b32ce43ae7ad22 Author: Tony Luck Date: Tue Sep 13 08:50:39 2005 -0700 [IA64] fix circular dependency on generation of asm-offsets.h Fix? One ugly hack is replaced by a different ugly hack. Signed-off-by: Tony Luck commit 0160f53e427e9f1f6d19b898867c105406037b6f Author: Paul Mackerras Date: Tue Sep 13 20:56:20 2005 +1000 [PATCH] ppc64: Make eeh_init function again My patch "Separate pci bits out of struct device_node" (commit 1635317facea3094ddf34082cd86797efb1d9f7e) had the unfortunate side-effect that it stopped eeh_init() from working correctly. It needs the pointers set up by find_and_init_phbs(), but it was being called just before find_and_init_phbs(). That meant that we didn't enable EEH (pSeries PCI error recovery) on any devices, and that meant that on POWER5 systems, the hypervisor wouldn't let us enable memory or I/O space access to any devices, and their drivers got somewhat confused. This fixes it by moving the eeh_init call after find_and_init_phbs. Tested on a POWER5 partition. Signed-of-by: Paul Mackerras Signed-of-by: Linus Torvalds commit 42ac8ff2ce58138ba1339296406bde6636792bd8 Author: Jan Beulich Date: Tue Sep 13 01:25:51 2005 -0700 [PATCH] x86_64: NMI watchdog frequency calculation adjustments Like previously done for i386, get the x86_64 watchdog tick calculation into a state where it can also be used on CPUs with frequencies beyond 4GHz. Signed-off-by: Jan Beulich Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33bf56106d9be272696b73d9179da4e56b277472 Author: Randy Dunlap Date: Tue Sep 13 01:25:50 2005 -0700 [PATCH] feature removal of io_remap_page_range() As written in Documentation/feature-removal-schedule.txt, remove the io_remap_page_range() kernel API. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82006d084109bb4118f1de0dc5855abe5ccae430 Author: Tobias Klauser Date: Tue Sep 13 01:25:49 2005 -0700 [PATCH] drivers/video: Replace custom macro with isdigit() Replace the custom CHAR_IS_NUM() macro with isdigit() from Signed-off-by: Tobias Klauser Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f673d83ca3b7a6aeaacfd45d6ce466c33df8039 Author: Tobias Klauser Date: Tue Sep 13 01:25:48 2005 -0700 [PATCH] arch/i386: Replace custom macro with isdigit() Replace the custom is_digit() macro with isdigit() from Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64ccd0cfa1e29c2d20b7085ab9611114d327b571 Author: Vivek Goyal Date: Tue Sep 13 01:25:47 2005 -0700 [PATCH] More documentation, minor cleanup in kdump.txt Added clarification on the root device format to be used for second kernel, as well as specifying initrd if drivers are built as modules. Signed-off-by: Kishore Sampathkumar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4f9eb0ea14c8c478f0e8137b84a366499335aab Author: Pavel Machek Date: Tue Sep 13 01:25:46 2005 -0700 [PATCH] Tell people not to use pm_register() Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cc5753f86589c5fb7e2f4a1fe778db3881f8f72 Author: Randy Dunlap Date: Tue Sep 13 01:25:46 2005 -0700 [PATCH] Doc: update oops-tracing.txt (Tainted flags) Update Documentation/oops-tracing.txt: - add descriptions of 3 more "Tainted" flags; - fix some typos; Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 438e5c5e2dae30359b53514a02f5827fb6e552c7 Author: Jan Beulich Date: Tue Sep 13 01:25:45 2005 -0700 [PATCH] matroxfb adjustments Some adjustments to the matroxfb code, for one part preventing the display to be disabled for longer than necessary, and for the other part to make information about the frame buffer position available so that a kernel debugger might obtain that before the initial mode change. Finally, some return code corrections to fit the generic fb code. Signed-off-by: Jan Beulich Acked-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f4516dbd048f25eba78e115e8e73e1e8f04e7f9 Author: Jan Beulich Date: Tue Sep 13 01:25:44 2005 -0700 [PATCH] fbcon: constify font data const-ify the font control structures and data, to make somewhat better guarantees that these are not modified anywhere in the kernel. Specifically for a kernel debugger to share this information from the normal kernel code, such a guarantee seems rather desirable. Signed-off-by: Jan Beulich Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e703ecc3bfbe10f478500798c0c5826d00ad9fe3 Author: Jan Beulich Date: Tue Sep 13 01:25:43 2005 -0700 [PATCH] minor fbcon_scroll adjustment An adjustment to the SM_DOWN case of fbcon_scroll to match the behavior of SM_UP. Signed-off-by: Jan Beulich Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93352f5cf15279c6c46acb5a875e92c0ee513e7c Author: Mauro Carvalho Chehab Date: Tue Sep 13 01:25:42 2005 -0700 [PATCH] v4l: fixup on cx88_dvb for Dvico HDTV5 Gold - Bug fix for DViCO FusionHDTV5 Gold to avoid noise after frontend init. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9db455064dfa1c2250e5eda7386c80bc77764e30 Author: Mauro Carvalho Chehab Date: Tue Sep 13 01:25:40 2005 -0700 [PATCH] v4l: experimental Sliced VBI API support Adds all defines, ioctls and structs needed for the sliced VBI API VBI = Vertical Blank Interval. It is related with the way TV signals work. It sends a line, then, it has a retrace time to allow the tube to move electrons to the beginning of the next line. This was the main reason at the beginning of analog B&W TV. There is a lot of bandwidth lost on VBI. So, lots of TV systems use it to send other information such as Closed Captions and Teletext. Also, broadcasters uses this as a channel to exchange information from the content producer to their subsidiaries at each city. There's already a raw VBI interface on V4L2 api, used for Closed Captions and Teletext. The decoding is doing at userlevel space and it is mostly for analog TV signals, non encoded. Encoded signals (MPEG, for example), may need also to transmit other information (like, for example, display aspect, i.e. 4x3, widescreen...). Sliced VBI interface is a method to allow the video stream to transmit this kind of information. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 939bb7ef901b2537aa5b4cd819f9c1b25c6a5710 Author: Neil Brown Date: Tue Sep 13 01:25:39 2005 -0700 [PATCH] Code cleanups in calbacks in svcsock Change a printk(KERN_WARNING to dprintk, and it is really only interesting when trying to debug a problem, and can occur normally without error. Remove various gratuitous gotos in surrounding code, and remove some type-cast assignments from inside 'if' conditionals, as that is just obscuring what it going on. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73aea4ecd38ebeff9e322f738057f4ae2c32a3ee Author: Neil Brown Date: Tue Sep 13 01:25:39 2005 -0700 [PATCH] nfsd4: fix setclientid unlock of unlocked state lock We could try to unlock the state lock here without having first locked it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b59e3c0e172e3f3a147021aa16b929482b8d5846 Author: Neil Brown Date: Tue Sep 13 01:25:38 2005 -0700 [PATCH] nfsd4: fix open seqid incrementing in lock In the case of a lock which introduces a new lockowner, the openowner's sequence id should be incremented, even when the operation fails, if the error is a sequence-id-mutating error. The current code fails to do that in some cases. Fix this by using the same sequence-id-incrementing mechanism that all other such operations use. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2327d9adb1e948a7041128e971effd8d6e2d42c Author: Neil Brown Date: Tue Sep 13 01:25:37 2005 -0700 [PATCH] nfsd4: move replay_owner It seems more natural to move the setting of the replay_owner into the relevant procedure instead of doing it in nfsv4_proc_compound. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 849823c52d9c96cf777038670bb0ee3a291ca69d Author: Neil Brown Date: Tue Sep 13 01:25:36 2005 -0700 [PATCH] nfsd4: printk reduction Demote some printk's that look like they could be triggered by non-buggy clients to dprintk's. (For example, stale clientid's are normal occurrences on reboot, and on a server with a lot of clients these messages could become annoying.) Also remove some redundant dprintk's (e.g. no need for both STALE_CLIENTID and its callers to do dprintks). Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fff71312e7227c6850f367ff9c72f96d5b33b1d0 Author: Richard Purdie Date: Tue Sep 13 01:25:35 2005 -0700 [PATCH] SharpSL: Add an input keyboard driver for Zaurus cxx00 series Add a input driver for the keyboard found on the Zaurus Cxx00 series (Spitz, Akita, Borzoi). Its based on corgikbd but there are enough subtle differences to justify a separate driver. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dd28f1dd83a0e49b75d5171477bc56158681411 Author: Richard Purdie Date: Tue Sep 13 01:25:34 2005 -0700 [PATCH] SharpSL: Add new ARM PXA machines Spitz and Borzoi with partial Akita Support Add the platform support code for two new Sharp Zaurus Models, Spitz (SL-C3000) and Borzoi (SL-C3100). This patch also adds most of the foundations for Akita (SL-C1000) Support. The missing link for Akita is the driver for its I2C io expander. Once this has been finished, the missing Kconfig option and machine declaration can easily be added to this code. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1351e6e093271d0f5056f3ac272864cf4383041a Author: Richard Purdie Date: Tue Sep 13 01:25:33 2005 -0700 [PATCH] SharpSL: Abstract model specifics from Corgi Backlight driver Separate out the Sharp Zaurus c7x0 series specific code from the Corgi backlight driver. Abstract model/machine specific functions to corgi_lcd.c via sharpsl.h This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 513b6e1afaf81b42cacbb24ef1aa7eea5e9661c2 Author: Richard Purdie Date: Tue Sep 13 01:25:33 2005 -0700 [PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver Separate out the Sharp Zaurus c7x0 series specific code from the Corgi Touchscreen driver. Use the new functions in corgi_lcd.c via sharpsl.h for hsync handling and pass the IRQ as a platform device resource. Move a function prototype into the w100fb header file where it belongs. This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fc7896b62b48714fafecf9266d9dc14c1cd6e33 Author: Richard Purdie Date: Tue Sep 13 01:25:32 2005 -0700 [PATCH] SharpSL: Add cxx00 support to the Corgi LCD driver The same LCD is present on both the Sharp Zaurus c7x0 series and the cxx00 but with different framebuffer drivers (w100fb vs. pxafb). This patch adds support for the cxx00 series to the LCD driver. It also adds some LCD to touchscreen interface logic needed by the touchscreen driver to prevent interference problems, the idea being to keep all the ugly code in one place leaving the drivers themselves clean. sharpsl.h is used to provide the abstraction. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50a5de44821352354a3ee804e2c7cbfee5a81c06 Author: Richard Purdie Date: Tue Sep 13 01:25:30 2005 -0700 [PATCH] SharpSL: Abstract c7x0 specifics from Corgi SSP Sharp's newer range of Zaurus clamshell handhelds, the cxx00's are similar to the c7x0 series yet different. This patch series abstracts the differences and generates a set of common drivers that support both series of devices. It then adds machine support for Spitz (SL-C3000) and Borzoi (SL-C3100). Hooks for Akita (SL-C1000) differences are also added. The I2C driver for its IO expander is the only missing piece. This patch: Separate out the Sharp Zaurus c7x0 series specific code from corgi_ssp.c so that other models such as the cxx00's can share it. Create sharpsl.h which will be used to abstract machine/model specifics. This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 610827dee82731c7be5a135d750d194ac56881a9 Author: Peter Osterlund Date: Tue Sep 13 01:25:29 2005 -0700 [PATCH] pktcdvd: BUG_ON cleanups Remove some redundant BUG_ON() statements in pktcdvd and move one run-time check to compile-time. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1107d2e0352769b9bde6a4877c295b9309cdb877 Author: Peter Osterlund Date: Tue Sep 13 01:25:29 2005 -0700 [PATCH] pktcdvd: use kcalloc and kzalloc Use kcalloc and kzalloc in pktcdvd. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06e7ab53f4a1e8bbf66c3985968468949d74d006 Author: Peter Osterlund Date: Tue Sep 13 01:25:28 2005 -0700 [PATCH] pktcdvd: more accurate I/O accounting In the /proc statistics, only count writes that upper layers have requested. Don't count additional writes created inside the packet driver to satisfy the requirement to only write full packets. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a676f8d092f2a3aff419cacae79c80c3b7f6c0f5 Author: Peter Osterlund Date: Tue Sep 13 01:25:27 2005 -0700 [PATCH] pktcdvd: documentation update Update the "theory of operation" description. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0272e78eee4dc53c887fd132e9035daf037d423 Author: Peter Osterlund Date: Tue Sep 13 01:25:27 2005 -0700 [PATCH] pktcdvd: fix bogus BUG_ON In the packet writing driver, if the drive reports a packet size larger than the driver can handle, bail out safely instead of triggering a BUG_ON. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9f0bd0895c040f69a0440286b64725f74f5b387 Author: Mike Miller Date: Tue Sep 13 01:25:26 2005 -0700 [PATCH] cciss: SCSI tape info for /proc Add SCSI host and device info not elsewhere available to /proc/scsi/cciss/* Namely, connect cciss device instance with scsi host number, and give scsi host number, bus, target, lun, devicetype, and 8-byte cciss LUNID for each tapedrive/medium changer attached to a controller For instance: # cat /proc/scsi/cciss/2 cciss0: SCSI host: 2 c2b0t0l0 01 0x0000000000000001 Signed-off-by: Stephen M. Cameron Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47922d068e90ed34c1336cdd39912d51e190f8a5 Author: Mike Miller Date: Tue Sep 13 01:25:25 2005 -0700 [PATCH] cciss: One Button Disaster Recovery support This patch adds support for "One Button Disaster Recovery" devices to the cciss driver. (OBDR devices are tape drives which can pretend to be cd-rom devices temporarily. Once booted the device can be reverted to a tape drive and data recovery operations can be automatically begun.) This is an enhancement request by a vendor/partner working on One Button Disaster Recovery. Signed-off-by: Stephen M. Cameron Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb2a37bf4131d64b76dcdb126e3ff5bf371b1842 Author: Mike Miller Date: Tue Sep 13 01:25:24 2005 -0700 [PATCH] cciss: fix for DMA brokeness The CCISS driver seems to loose track of DMA mappings created by it's fill_cmd() routine. Neither callers of this routine are extracting the DMA address created in order to do the unmap. Instead, they simply try to unmap 0x0. It's easy to see this problem on an x86_64 system when using the "swiotlb=force" boot option. In this case, the driver is leaking resources of the swiotlb and not causing a sync of the bounce buffer. Signed-off-by: Alex Williamson Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a445d3ba6b90ce13a843ad5d1a0867388b08096 Author: Mike Miller Date: Tue Sep 13 01:25:23 2005 -0700 [PATCH] cciss: bug fix in cciss_remove_one This patch fixes a bug in cciss_remove_one. A set of braces was missing for the if statement causing an Oops on driver unload. Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33079b21978f478865068ee6a3c5807b6c6ecdbe Author: Mike Miller Date: Tue Sep 13 01:25:22 2005 -0700 [PATCH] cciss: direct lookup for command completions This patch changes the way we complete commands. In the old method when we got a completion we searched our command list from the top until we find it. This method uses a tag associated with each command (not SCSI command tagging) to index us directly to the completed command. This helps performance. Signed-off-by: Don Brace Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddd474420a0b0dfeda38b6b5f83c7af751235cc3 Author: Mike Miller Date: Tue Sep 13 01:25:22 2005 -0700 [PATCH] cciss: new disk register/deregister routines This patch removes a couple of functions dealing with configuration and replaces them with new functions. This implementation fixes some bugs associated with the ACUXE. It also allows a logical volume to be removed from the middle without deleting all volumes behind it. If a user has 5 logical volumes and decides he wants to reconfigure volume number 3, he can now do that without removing volumes 4 & 5 first. This code has been tested in our labs against all application software. Signed-off-by: Chase Maupin Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f8ef3806c40e74733f45f436d44b3d8e9a2fa48 Author: Mike Miller Date: Tue Sep 13 01:25:21 2005 -0700 [PATCH] cciss: busy_initializing flag This patch adds a flag called busy_initializing. If there are multiple controllers in a server AND the HP agents are running it's possible the agents may try to poll a card that is still initializing if the driver is removed and then added again. Signed-off-by: Don Brace Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dc7a86e85593c834bb930f5d5aba3a19ee7a350 Author: Mike Miller Date: Tue Sep 13 01:25:19 2005 -0700 [PATCH] cciss: new controller pci/subsystem ids This patch adds new PCI and subsystem ID's that finally made the spec. It also include a name change for one controller. I know there's a lot of duplicat names but the fw folks wanted this for the different implementations. Even though the same ASIC is used it may be embedded on some platforms, standup card in others, and a mezzanine in other servers. Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fbc33680c191f4e74c937c8289685d6caaadea6 Author: Michal Piotrowski Date: Tue Sep 13 01:25:18 2005 -0700 [PATCH] dontdiff: add asm_offsets We seem to use both asm-offsets.* and asm_offsets.* Signed-off-by: Michal K. K. Piotrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f03783ce5d851e4b98dfaf3e9eb177870f6c75d Author: Chris Mason Date: Tue Sep 13 01:25:17 2005 -0700 [PATCH] reiserfs: use mark_inode_dirty instead of reiserfs_update_sd reiserfs should use mark_inode_dirty during reiserfs_file_write and reiserfs_commit_write. This makes sure the inode is properly flagged as dirty, which is used during O_SYNC to decide when to trigger log commits. This patch also removes the O_SYNC check from reiserfs_commit_write, since that gets dealt with properly at higher layers once we start using mark_inode_dirty. Thanks to Hifumi Hisashi for catching this. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f1583339a6f52c0c26441d39a0deff8246800f7 Author: Randy Dunlap Date: Tue Sep 13 01:25:16 2005 -0700 [PATCH] use add_taint() for setting tainted bit flags Use the add_taint() interface for setting tainted bit flags instead of doing it manually. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb911ee849756fc6c609dddded92d9207ff3fb29 Author: Peter Osterlund Date: Tue Sep 13 01:25:15 2005 -0700 [PATCH] Remove unnecessary check_region references in comments Remove check_region references from comments and printk statements so that searching for real users of this deprecated function gets easier. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a1c17574a01555e5d3fdf56d8d72969904c91ca Author: Andrew Morton Date: Tue Sep 13 01:25:15 2005 -0700 [PATCH] schedule_timeout_[un]interruptible() speedup These functions don't need schedule_timeout()'s barrier. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 498d0c5711094b0e1fd93f5355d270ccebdec706 Author: Andrew Morton Date: Tue Sep 13 01:25:14 2005 -0700 [PATCH] set_current_state() commentary Explain the mysteries of set_current_state(). Quoth Linus: The scheduler itself never needs the memory barrier at all. The barrier is needed only if the user itself ends up testing some other thing afterwards, ie if you have set_process_state(TASK_INTERRUPTIBLE); if (still_need_to_sleep()) schedule(); then the "still_need_to_sleep()" thing may test flags and wakeup events, and then you _may_ want to (and often do) make sure that the write of TASK_INTERRUPTIBLE is serialized wrt the reads of any wakeup data (since the wakeup may have happened on another CPU). So the comment is somewhat wrong. We don't really _care_ whether the state propagates out to other CPU's since all of our actions are purely local, and there is nothing we do that is conditional on any other CPU: we're going to sleep unconditionally, and the scheduler only cares about _our_ state, not about somebody elses state. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 921717a2a1cde78c9b2aa971c16510d63efe7320 Author: Andi Kleen Date: Tue Sep 13 01:25:13 2005 -0700 [PATCH] Make BUILD_BUG_ON fail at compile time. Force a compiler error instead of a link error, because they are easier to track down. Idea stolen from code by Jan Beulich If the argument to BUILD_BUG_ON evaluates to non-zero the compiler will do: t.c:6: error: size of array `type name' is negative (surprised that gcc doesn't have an extension for this) Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f3d2bd54f8fb178f516fc6903366e16e20f7428 Author: Jan Beulich Date: Tue Sep 13 01:25:12 2005 -0700 [PATCH] free initrd mem adjustment Besides freeing initrd memory, also clear out the now dangling pointers to it, to make sure accidental late use attempts can be detected. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a5b3d93ca45613ec1d920fdb131b69b6553882 Author: Peter Staubach Date: Tue Sep 13 01:25:12 2005 -0700 [PATCH] open returns ENFILE but creates file anyway When open(O_CREAT) is called and the error, ENFILE, is returned, the file may be created anyway. This is counter intuitive, against the SUS V3 specification, and may cause applications to misbehave if they are not coded correctly to handle this semantic. The SUS V3 specification explicitly states "No files shall be created or modified if the function returns -1.". The error, ENFILE, is used to indicate the system wide open file table is full and no more file structs can be allocated. This is due to an ordering problem. The entry in the directory is created before the file struct is allocated. If the allocation for the file struct fails, then the system call must return an error, but the directory entry was already created and can not be safely removed. The solution to this situation is relatively easy. The file struct should be allocated before the directory entry is created. If the allocation fails, then the error can be returned directly. If the creation of the directory entry fails, then the file struct can be easily freed. Signed-off-by: Peter Staubach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 873d3469db66ea08e94b0d04a96b1a4507684824 Author: Kumar Gala Date: Tue Sep 13 01:25:10 2005 -0700 [PATCH] ppc32: remove use of asm/segment.h Removed ppc32 architecture specific users of asm/segment.h and asm-ppc/segment.h itself Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a00cbfcf8ffdd719cb5a27e1a0a9779665d1e23 Author: Tom Rini Date: Tue Sep 13 01:25:09 2005 -0700 [PATCH] ppc32: discard *.exit.text and *.exit.data sections Discard *.exit.text sections on runtime. We cannot do this on link time because of the way BUG macros are implemented. If "__exit function" calls one of those macros, __bug_table section will reference this function. This is similar to ".altinstructions" situation on i386. *.exit.data seems to be OK in this respect and is discarded on link time. Signed-off-by: Eugene Surovegin Signed-off-by: Tom Rini Acked-by: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b952b3c143660b6436fcb299b249cefde61c18d Author: Andi Kleen Date: Tue Sep 13 01:25:08 2005 -0700 [PATCH] Fix MPOL_F_VERIFY There was a pretty bad bug in there that the code would always check the full VMA, not the range the user requested. When the VMA to be checked was merged with the previous VMA this could lead to spurious failures. Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d0986e289a4b018fec87fcc49538945fb401f37 Author: Con Kolivas Date: Tue Sep 13 01:25:07 2005 -0700 [PATCH] vm: kswapd cleanup: use pgdat Use the pgdat pointer we've already defined in wakeup_kswapd Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7979aca38b78ffe6a65ef309f26721c527104eaf Author: Andrew Morton Date: Tue Sep 13 01:25:07 2005 -0700 [PATCH] i2c-keywest warning fix Unused variable. Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f39a4aa5ea579bcdcfbb9661ee77817bc4945562 Author: Komuro Date: Tue Sep 13 01:25:05 2005 -0700 [PATCH] pcmcia: add another orinoco_cs id Add new id to orinoco_cs (corega PCCB-11). Signed-off-by: Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7d7634c0f021d7d7ed781680d2c88940fc5fee8 Author: Alan Cox Date: Tue Sep 13 01:25:04 2005 -0700 [PATCH] ide: clean up the garbage in eighty_ninty_three Replace the foot long pile of festering garbage in eighty_ninty_three with some actual clean code. All the ifdefs are fixed and havent changed since 2.4 Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c352ec8ab87b065cd2edda171811f49ac7d0d5cd Author: Dominik Brodowski Date: Tue Sep 13 01:25:03 2005 -0700 [PATCH] pcmcia: warn on IOCTL usage More visible user information of scheduled feature removal. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db84502b0229ed3075ca74b7d34eb8c609de3200 Author: Antonino A. Daplas Date: Tue Sep 13 01:25:02 2005 -0700 [PATCH] fbdev Kconfig fix Fix compile error if CONFIG_FB_I810_I2C is 'y' and CONFIG_I2C = 'm'. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aed0644d684428e811bb6944f032b460a3ab165 Author: Jiri Slaby Date: Tue Sep 13 01:25:01 2005 -0700 [PATCH] drivers/base/*: use kzalloc instead of kmalloc+memset Fixes a bunch of memset bugs too. Signed-off-by: Lion Vollnhals Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 299cc3c166f7a11f6cc3b66aafbaf75c2aa0e0e2 Author: Linus Torvalds Date: Tue Sep 13 07:59:34 2005 -0700 Fix up more strange byte writes to the PCI_ROM_ADDRESS config word It's a dword thing, and the value we write is a dword. Doing a byte write to it is nonsensical, and writes only the low byte, which only contains the enable bit. So we enable a nonsensical address (usually zero), which causes the controller no end of problems. Trivial fix, but nasty to find. Signed-off-by: Linus Torvalds commit 0915e8865fe4684dc82f043ac7036f34bf89f52a Author: Marcel Holtmann Date: Tue Sep 13 01:32:37 2005 +0200 [Bluetooth] Add ignore parameters to the HCI USB driver This patch adds the module parameters ignore_csr and ignore_sniffer to the HCI USB driver. This allows an easier use of CSR ROM chips that need an additional initialization routine and the Frontline sniffers. Signed-off-by: Marcel Holtmann commit 354d28d5f8546e115ebaae9311897f0bc4b6a8d4 Author: Marcel Holtmann Date: Tue Sep 13 01:32:31 2005 +0200 [Bluetooth] Prevent RFCOMM connections through the RAW socket This patch adds additional checks to prevent RFCOMM connections be established through the RAW socket interface. Signed-off-by: Marcel Holtmann commit 21d9e30ed020d24336cc3bee2a4e04da232ed554 Author: Marcel Holtmann Date: Tue Sep 13 01:32:25 2005 +0200 [Bluetooth] Add support for extended inquiry responses This patch adds the handling of the extended inquiry responses and inserts them into the inquiry cache. Signed-off-by: Marcel Holtmann commit 676e1a2c1e7499eee8e7a81e577b4b6ba71ffb25 Author: Takashi Iwai Date: Mon Sep 12 14:51:00 2005 +0200 [ALSA] [PATCH] Add missing sound PCI IDs to pci_ids.h Added missing PCI IDs for sound drivers to pci_ids.h. Signed-off-by: Takashi Iwai commit ff4a964ee3f47c344efd9218dca0f14b9eff8877 Author: Jaroslav Kysela Date: Mon Sep 12 11:14:05 2005 +0200 [ALSA] version 1.0.10rc1 commit 3bcd4649bca99ee9242f20d7da35e3f8741c6549 Author: Clemens Ladisch Date: Mon Sep 12 08:20:54 2005 +0200 [ALSA] set owner field in struct pci_driver AD1889 driver,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver ALI5451 driver,au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver HDA Intel driver,ICE1712 driver,ICE1724 driver,KORG1212 driver MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver Trident driver,Digigram VX222 driver,YMFPCI driver Set the module owner field in each driver's struct pci_driver to get the driver symlink in the sysfs device directory. Signed-off-by: Clemens Ladisch commit 4338829e09db2d320a00b4e0ed0bcc49859d73cc Author: Martin Habets Date: Sat Sep 10 15:39:00 2005 +0200 [ALSA] Several fixes for the Sun DBRI driver SPARC DBRI driver This patch contains the following fixes to the Alsa DBRI driver: - Remove 2.6.13 build warning on the prom_getproperty() call. - Rework command synchronization: send a sequence number with D_WAIT, and check it in the completion interrupt. Move synchronization delays from _cmdsend() to _cmdlock() allowing the CPU to do other usefull things while the DBRI is processing the commands. - Fix first argument of printk() calls. - Enable burst transfers for DBRI. Original 2.4 patch from Krzysztof Helt - Make dbri_debug module parameter writable from sysfs. Remove obsolete write access to the /proc debug file. - Replace udelay() with msleep_interruptible() where possible. - Update documentation comments. Signed-off-by: Martin Habets Signed-off-by: Takashi Iwai commit afe0f1f6688f4c4c9235873121548e76dedd8ef8 Author: James Courtier-Dutton Date: Sat Sep 10 10:24:10 2005 +0200 [ALSA] snd-emu10k1: ALSA bug#1297: Fix a error recognising the SB Live Platinum. EMU10K1/EMU10K2 driver The card does not have an AC97 chip. .subsystem = 0x80611102 Signed-off-by: James Courtier-Dutton commit 1b44c28dc180f4d0ea109e1fe4339b3403c2d530 Author: Takashi Iwai Date: Fri Sep 9 15:05:33 2005 +0200 [ALSA] Another fix for DocBook PCM Midlevel Revive snd_pcm_format_cpu_endian() document. Signed-off-by: Takashi Iwai commit 561b220a4dece18d67177413e6fa21b49aa4acce Author: Takashi Iwai Date: Fri Sep 9 14:22:34 2005 +0200 [ALSA] Replace with kzalloc() - others Documentation,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,OPL3 OPL4,Digigram VX core,I2C cs8427,I2C lib core,I2C tea6330t,L3 drivers AK4114 receiver,AK4117 receiver,PDAudioCF driver,PPC PMAC driver SPARC AMD7930 driver,SPARC cs4231 driver,Synth,Common EMU synth USB generic driver,USB USX2Y Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai commit e560d8d8368ad8b6161839984b253de622863265 Author: Takashi Iwai Date: Fri Sep 9 14:21:46 2005 +0200 [ALSA] Replace with kzalloc() - pci stuff AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai commit 9e76a76efc43d604a20bf0c5564caaf028a24d2e Author: Takashi Iwai Date: Fri Sep 9 14:21:17 2005 +0200 [ALSA] Replace with kzalloc() - isa stuff ES18xx driver,OPL3SA2 driver,AD1816A driver,AD1848 driver,CS4231 driver ES1688 driver,GUS Library,Opti9xx drivers,EMU8000 driver SB16/AWE driver,SB drivers Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai commit ecca82b4b447f8df73c807a018dac3e2863912d9 Author: Takashi Iwai Date: Fri Sep 9 14:20:49 2005 +0200 [ALSA] Replace with kzalloc() - seq stuff ALSA sequencer,Instrument layer,ALSA<-OSS sequencer Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai commit ca2c0966562cfbf9273167a5b60e8fddc24078d6 Author: Takashi Iwai Date: Fri Sep 9 14:20:23 2005 +0200 [ALSA] Replace with kzalloc() - core stuff Control Midlevel,ALSA Core,HWDEP Midlevel,PCM Midlevel,RawMidi Midlevel Timer Midlevel,ALSA<-OSS emulation Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai commit 8648811f1db85eeacb821591ef11a2c229c29aa0 Author: Takashi Iwai Date: Fri Sep 9 13:56:32 2005 +0200 [ALSA] hda-codec - Added ASUS A6 HDA Codec driver Added ASUS A6 support for ALC880 codec. Signed-off-by: Takashi Iwai commit a06147d22865e9becb2918baec59d618fb09d896 Author: Takashi Iwai Date: Thu Sep 8 19:54:17 2005 +0200 [ALSA] intel8x0 - Add buggy_semaphore option Documentation,Intel8x0 driver Added buggy_semaphore module option to snd-intel8x0 driver for a workaround for hardwards with buggy codec semaphores. Signed-off-by: Takashi Iwai commit 10f69f9e42833b82288882d10901dc86adc3e473 Author: Takashi Iwai Date: Thu Sep 8 13:48:34 2005 +0200 [ALSA] pcm-oss - Add bugg-yptr option Documentation,ALSA<-OSS emulation Added 'buggy-ptr' proc option to switch the behavior of GETOPTR ioctl. Signed-off-by: Takashi Iwai commit f328385309f310626751c54f694641459e2d4582 Author: Takashi Iwai Date: Wed Sep 7 17:08:40 2005 +0200 [ALSA] powermac - Add AUTO_DRC config PPC,PPC Tumbler driver Added AUTO_DRC kernel config to enable/disable the auto-DRC-toggle feature on tumbler/snapper. Signed-off-by: Takashi Iwai commit a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6 Author: Takashi Iwai Date: Wed Sep 7 15:26:56 2005 +0200 [ALSA] hda-intel - Fix modem PCM creation HDA Intel driver Fix a bug of modem PCM creation (due to a typo). Signed-off-by: Takashi Iwai commit 0dd119f703d50759f0835f342e385f82cbf8b89e Author: Jiri Slaby Date: Wed Sep 7 14:28:33 2005 +0200 [ALSA] pci_find_device remove Memalloc module,CS46xx driver,VIA82xx driver,ALI5451 driver au88x0 driver Replace pci_find_device() with pci_get_device() and pci_dev_put(). Signed-off-by: Jiri Slaby Signed-off-by: Takashi Iwai commit 8cdfd2519c6c9a1e6057dc5970b2542b35895738 Author: Takashi Iwai Date: Wed Sep 7 14:08:11 2005 +0200 [ALSA] Remove superfluous PCI ID definitions CS46xx driver,EMU10K1/EMU10K2 driver,PCM Midlevel,Trident driver YMFPCI driver,BT87x driver,CMIPCI driver,CS4281 driver ENS1370/1+ driver,ES1938 driver,ES1968 driver,Intel8x0 driver Intel8x0-modem driver,Maestro3 driver,RME32 driver,RME96 driver SonicVibes driver,VIA82xx driver,ALI5451 driver,ICE1712 driver ICE1724 driver,NM256 driver,RME HDSP driver,RME9652 driver Remove superfluous PCI ID definitions. Signed-off-by: Takashi Iwai commit df8db936e5e829ab3ff66346dbdf4033fa3ce588 Author: Takashi Iwai Date: Wed Sep 7 13:38:19 2005 +0200 [ALSA] Fix DocBook warnings PCM Midlevel,RawMidi Midlevel Fix DocBook warnings. Signed-off-by: Takashi Iwai commit ec9e1c5c9c7350cc8214f8b9c529f9678036d9a8 Author: Takashi Iwai Date: Wed Sep 7 13:29:22 2005 +0200 [ALSA] hda-codec - Assign audio PCMS first HDA Codec driver,HDA Intel driver,HDA generic driver Assign audio PCMs first before modem PCMs. The modem stream is assigned up to device #6, to be consistent over different models. Signed-off-by: Takashi Iwai commit 821690cdc82e4090ef6f91947f76a231fad5cbb1 Author: Vincent Pelletier Date: Wed Sep 7 13:28:14 2005 +0200 [ALSA] Correct detection of iBook G4 1420Mhz soundcard PPC PMAC driver Here is a patch to correct detection of the soundcard on my iBook model (bought really recently). Without that fix, there were only andui in the headphone, and the mixer was totaly non functional. Signed-off-by: Takashi Iwai commit a4f508b27c6b32d15c923b119b3e90a2d6a9500f Author: Clemens Ladisch Date: Tue Sep 6 08:00:19 2005 +0200 [ALSA] rtctimer: add option to make RTC timer the default sequencer timer ALSA Core,ALSA sequencer Add an option to make the RTC timer the default sequencer timer. This becomes necessary for precise MIDI timing when the system timer runs at less than 1000 Hz. Signed-off-by: Clemens Ladisch commit 43bcd973d6d05d16b876e09dcc49a09d3e48e88d Author: Takashi Iwai Date: Mon Sep 5 17:19:20 2005 +0200 [ALSA] Add snd_card_set_generic_dev() call to ISA drivers ISA,CMI8330 driver,ES18xx driver,OPL3SA2 driver,Sound Galaxy driver Sound Scape driver,AD1848 driver,CS4231 driver,CS4236+ driver ES1688 driver,GUS Classic driver,GUS Extreme driver,GUS MAX driver AMD InterWave driver,Opti9xx drivers,SB16/AWE driver,SB8 driver Wavefront drivers - Added snd_card_set_generic_dev() call. - Added SND_GENERIC_DRIVER to Kconfig. - Clean up the error path in probe if necessary. Signed-off-by: Takashi Iwai commit 16dab54b8cbac39bd3f639db5d7d0fd8300a6cb0 Author: Takashi Iwai Date: Mon Sep 5 17:17:58 2005 +0200 [ALSA] Add snd_card_set_generic_dev() call ARM,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,MIPS MIPS AU1x00 driver,PPC,PPC PowerMac driver,SPARC,SPARC AMD7930 driver SPARC cs4231 driver,SPARC DBRI driver - Added snd_card_set_generic_dev() call. - Added SND_GENERIC_DRIVER to Kconfig. - Clean up the error path in probe if necessary. Signed-off-by: Takashi Iwai commit ecbcfe36fa882e9f8f2be63ac0c42978336bf997 Author: Takashi Iwai Date: Mon Sep 5 17:15:37 2005 +0200 [ALSA] Introduce snd_card_set_generic_dev() ALSA Core A new function snd_card_set_generic_dev() is introduced to add the 'generic device' support for devices without proper bus on sysfs. It's a last resort, and should be removed in future when they have a proper bus, instead. Signed-off-by: Takashi Iwai commit 6243008b82222d6244b055beeeba94b14f23b7e2 Author: Takashi Iwai Date: Mon Sep 5 17:12:29 2005 +0200 [ALSA] Update/fix ALSA document Documentation Update/fix ALSA document. Signed-off-by: Takashi Iwai commit 0be3b5d3fb94c36c517655d18a936681d7108667 Author: Takashi Iwai Date: Mon Sep 5 17:11:40 2005 +0200 [ALSA] hda-intel - Check validity of DMA position HDA Intel driver Check the validity of the current DMA position when position_fix=0 (auto) is set. If the DMA position overcomes the threshold, the driver changes the fix behavior automatically to use POSBUF. Signed-off-by: Takashi Iwai commit a76af199dc025e8f5cf6b9542efadc3de5163a7a Author: Takashi Iwai Date: Mon Sep 5 16:56:40 2005 +0200 [ALSA] Add snd_card_set_dev() ARM AACI PL041 driver,PARISC Harmony driver Added snd_card_set_dev() calls to register the device pointer for the card. Signed-off-by: Takashi Iwai commit 0ca21611b668eee9ac07bb85825ce30002976550 Author: Davide Libenzi Date: Mon Sep 5 11:56:47 2005 +0200 [ALSA] hda-codec - Bring the Vaio's RA826G HDA (82801) to life ... HDA Codec driver Add the subsystem PCI devid to the list (on top of 2.6.13). Signed-off-by: Davide Libenzi Signed-off-by: Takashi Iwai commit db67319ac29d2f35ece30bce6a9b611afd6b600f Author: Clemens Ladisch Date: Mon Sep 5 10:36:27 2005 +0200 [ALSA] opti93x: optimize a register access Opti9xx drivers When clearing some bits in a register, don't bother with the bits that won't be changed anyway. Signed-off-by: Clemens Ladisch commit 4d23359b7ec8b03da2154df935af7d625075f6cf Author: Clemens Ladisch Date: Mon Sep 5 10:35:20 2005 +0200 [ALSA] sparse address space annotations ALSA Core,RawMidi Midlevel,ALSA<-OSS emulation,ALSA sequencer RME32 driver,RME96 driver,EMU10K1/EMU10K2 driver,NM256 driver Add sparse annotations where we do strange this with __iomem/__user pointers. Signed-off-by: Clemens Ladisch commit 49045d3d4dc7c43310b1fca693e29fcdbe68faba Author: Clemens Ladisch Date: Mon Sep 5 10:31:05 2005 +0200 [ALSA] usb-audio: add SNDRV_PCM_INFO_BATCH flag USB generic driver Add the SNDRV_PCM_INFO_BATCH flag to the PCM hardware information to indicate that the driver uses double buffering. Signed-off-by: Clemens Ladisch commit 025cd2f6b1624f536d4df564add3d13ea5022f53 Author: James Courtier-Dutton Date: Sat Sep 3 12:05:47 2005 +0200 [ALSA] snd-ca0106, snd-emu10k1: Add symlink in the sys tree. CA0106 driver,EMU10K1/EMU10K2 driver A thread appeared on the LKML. This patch implements the fix. Question: in sysfs, /sys/bus/*/drivers lists the driver names, with their exported .name (eg. '.name = 'EMU10K1_Audigy'' in the module code, from now on 'driver name'). In /sys/modules, the kernel modules are listed with their module name, eg. snd_emu10k1. However, it seems to me that in sysfs, there is no way in particular to tell, which module has which .name. That is, that snd_emu10k1 is EMU10K1_Audigy and vice versa. I wonder whether it wouldn't be possible to add a symlink to the particular module from the driver, and/or from the module to the driver, so the list of devices handled by the module and the module name would be accessible. This way, I would know which driver name corresponds to which module name and vice versa. Answer: For PCI drivers, just add the line: .owner = THIS_MODULE, to their struct pci_driver definition and you will get the symlink created for you. Signed-off-by: James Courtier-Dutton commit a5022b0dc6e45254437b75289e773876bb43e262 Author: Takashi Iwai Date: Fri Sep 2 14:03:05 2005 +0200 [ALSA] Fix ALC658D support AC97 Codec Fix the internal speaker problem (e.g. Targa Traveller 826) with ALC658D codec. The info is taken from Cyberlink/realtek-modified code. Signed-off-by: Takashi Iwai commit b73c1c122a097500e1c3dd495045432a1c818b92 Author: Clemens Ladisch Date: Fri Sep 2 08:49:21 2005 +0200 [ALSA] hdsp: always initialize card name RME HDSP driver When using the kernel firmware loader, initialize the card shortname before registering the card with ALSA to prevent it from using a default card ID. Signed-off-by: Clemens Ladisch commit 84010e6f04a59e88e4eb784ff33f2da97ac022f4 Author: Clemens Ladisch Date: Fri Sep 2 07:57:59 2005 +0200 [ALSA] ad1889: add AD1889 driver docs Documentation move the AD1889 driver docs to the kernel tree, too Signed-off-by: Clemens Ladisch commit 5d529390dc944e5d17e46cb5ca93519153f9bf07 Author: Takashi Iwai Date: Thu Sep 1 13:56:23 2005 +0200 [ALSA] intel8x0 - Add quirk for IBM NetVisa A30p Intel8x0 driver Added ac97_quirk entry for IBM NetVisa A30p. Signed-off-by: Takashi Iwai commit 8e3d759d4b5d841c2a665cffe6cd237dab49e3b1 Author: Takashi Iwai Date: Thu Sep 1 11:56:34 2005 +0200 [ALSA] atiixp - Fix PM resume ATIIXP driver Fixed PM resume on atiixp driver. Signed-off-by: Takashi Iwai commit 12bb5b78e512898034cdd8813f2889743fa6fa3d Author: Clemens Ladisch Date: Thu Sep 1 08:14:40 2005 +0200 [ALSA] ad1889: add AD1889 driver PCI drivers,AD1889 driver move the AD1889 driver to the kernel tree Acked-by: Thibaut Varene Acked-by: Kyle McMartin Signed-off-by: Clemens Ladisch commit ee71508e7359c16b43d6232e52cd19ec328e1f7c Author: Takashi Iwai Date: Wed Aug 31 17:31:07 2005 +0200 [ALSA] Fix EAPD for MSI S270 AC97 Codec Fix pin47 setting for EAPD control on MSI S270 laptop. Signed-off-by: Takashi Iwai commit 9f566cfde14e185bcc3589ba7470788ed193535a Author: James Courtier-Dutton Date: Tue Aug 30 21:00:46 2005 +0200 [ALSA] snd-ca0106: Tidy up volume controls CA0106 driver Playback volume controls were appearing in both the playback and capture displays of alsamixer. Now those playback controls only appear in the playback display. Signed-off-by: James Courtier-Dutton commit c315b7e840a1f336ffefb21d3130f9799af2ecd6 Author: Wim Van Sebroeck Date: Mon Sep 12 00:21:19 2005 +0200 [WATCHDOG] pcwd_pci-include+WDIOC_SETOPTIONS-patch Clean-up includes Check results for start + stop in the WDIOC_SETOPTIONS ioctl call Signed-off-by: Wim Van Sebroeck commit 3908bb1867e7455c4ea132b758970c312513c37d Author: Wim Van Sebroeck Date: Sun Sep 11 23:58:22 2005 +0200 [WATCHDOG] sbc8360+w83977f_wdt-consolidate_CONFIG_WATCHDOG_NOWAYOUT_handling Attached patch removes #ifdef CONFIG_WATCHDOG_NOWAYOUT mess and replaces it with common define in linux/watchdog.h. Signed-Off-By: Wim Van Sebroeck commit b4cc4aa24ca47b6a2bdb9029020502cff7c6e774 Author: Jose Miguel Goncalves Date: Tue Sep 6 17:05:30 2005 -0700 [WATCHDOG] w83977f-watchdog-driver.patch In a project for my company I've needed to use the watchdog device in a PCM-5335 SBC from AAEON. The watchdog timer is from a Winbond's SuperIO chip, the W83977F. I've made this driver based on two others already on the kernel tree, the w83877f_wdt and the wdt977. Signed-off-by: Jose Goncalves Signed-off-by: Andrew Morton Signed-off-by: Wim Van Sebroeck commit 3809ad384af43ad883f47ee22a6faa33cedd61bc Author: Ian E. Morgan Date: Thu Sep 1 22:49:17 2005 +0200 [WATCHDOG] New SBC8360 watchdog driver (revised) New SBC8360 watchdog driver patch From: Ian E. Morgan Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit 266aa1c4b3d004123d330eb412cc26a3d10f9029 Author: Wim Van Sebroeck Date: Fri Aug 19 23:31:41 2005 +0200 [WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix2.patch The device/watchdog has a fixed timeout/heartbeat. So we don't support the WDIOC_SETTIMEOUT ioctl call and we also may not set the WDIOF_SETTIMEOUT flag. Cc: Andrey Panin Cc: Andrew Morton Signed-off-by: Wim Van Sebroeck commit cd7b80079b120406de902ee1eaa2dbdaa867dada Author: Andrew Morton Date: Fri Aug 19 23:21:01 2005 +0200 [WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix Add fixed timeout comments Cc: Andrey Panin Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit d532134d4cad1da0ad0efc1d5db9f74475df80c6 Author: Andrey Panin Date: Fri Aug 19 23:15:11 2005 +0200 [WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog.patch This patch adds driver for IBM Automatic Server Restart watchdog hardware found in some IBM eServer xSeries machines. This driver is based on the ugly driver provided by IBM. Driver was tested on IBM eServer 226. Signed-off-by: Andrey Panin Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit abda5c8bd20d3bd42718b0438b8a81a73ffa4372 Author: David Hardeman Date: Thu Sep 1 22:34:53 2005 +0200 [WATCHDOG] i6300.h-removal-patch the attached patch moves the content of drivers/char/watchdog/i6300.h into drivers/char/watchdog/i6300.c, since it is the only file using the defines there is no real reason to have a separate header. Also cleaned up the comments a bit and added myself to the copyright holders. Signed-off-by: David Hardeman Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit bb5dc36644975ca5237a415fb63f59f9803d84fa Author: Jiri Slaby Date: Mon Aug 22 09:05:03 2005 +0200 [WATCHDOG] i6300esb.c-2-bugs-little-cleanup.patch In i6300esb.c watchdog card driver were 2 bugs (misused pc_match_device and pci_dev_put wasn't called in one error case) and one little cleanup was done (long line was converted to a shorter one with using built-in macro). Signed-off-by: Jiri Slaby Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit 811f999160487c586917937e95506cb8528472a3 Author: Naveen Gupta Date: Sun Aug 21 13:02:41 2005 +0200 [WATCHDOG] i6300esb.c-pci_dev_put+nowayout-patch One pci_dev_put was misused (there was one case without putting the device). Changed nowayout according to other drivers. Signed-off-by: Jiri Slaby Signed-off-by: Naveen Gupta Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit ce2f50b4ae71f700c7b4b0bf0ff11c328611dae8 Author: Naveen Gupta Date: Wed Aug 17 09:11:46 2005 +0200 [WATCHDOG] i6300esb-set_correct_reload_register_bit This patch writes into bit 8 of the reload register to perform the correct 'Reload Sequence' instead of writing into bit 4 of Watchdog for Intel 6300ESB chipset. Signed-off-by: Naveen Gupta Signed-off-by: David Hardeman Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit 28562af3d4b21d687dd57c44006aeeed1036c781 Author: Naveen Gupta Date: Wed Aug 17 09:10:10 2005 +0200 [WATCHDOG] i6300esb.c-WDT_ENABLE-bug This patch sets the WDT_ENABLE bit of the Lock Register to enable the watchdog and WDT_LOCK bit only if nowayout is set. The old code always sets the WDT_LOCK bit of watchdog timer for Intel 6300ESB chipset. So, we end up locking the watchdog instead of enabling it. Signed-off-by: Naveen Gupta Signed-off-by: David Hardeman Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit c69af038cad5e6ea86e927a17b70b49af1f7cbfa Author: Jiri Slaby Date: Wed Aug 17 09:09:13 2005 +0200 [WATCHDOG] removes pci_find_device from i6300esb.c This patch changes pci_find_device to pci_get_device (encapsulated in for_each_pci_dev) in i6300esb watchdog card with appropriate adding pci_dev_put. Generated in 2.6.13-rc5-mm1 kernel version. Signed-off-by: Jiri Slaby Signed-off-by: Wim Van Sebroeck commit cc90ef0f9b24d1b017c8cfa22db5195c17b5c968 Author: David Hardeman Date: Wed Aug 17 09:07:44 2005 +0200 [WATCHDOG] i6300esb.patch I wrote earlier to the list[1] asking for a driver for the watchdog included in the 6300ESB chipset. I got a 2.4 driver via private email from Ross Biro which I've changed into what I hope resembles a 2.6 driver (which was done by looking a lot at the watchdog drivers already in the 2.6 tree). I've attached the result, and I'm hoping to get some feedback on the coding as a first step. I can't actually test it on the hardware right now as I won't have physical access until April. So my own tests have been limited to "compiles-without-warnings" and "can-be-insmodded-in-other-machine-without-oops". [1] http://marc.theaimsgroup.com/?l=linux-kernel&m=110711079825794&w=2 [2] http://marc.theaimsgroup.com/?l=linux-kernel&m=110711973917746&w=2 Signed-off-by: David Hardeman Signed-off-by: Andrew Morton Signed-off-by: Wim Van Sebroeck commit 3be10211abcb631ba9631274d6cfe6e5b1e8559c Author: James Chapman Date: Wed Aug 17 09:01:33 2005 +0200 [WATCHDOG] mv64x60_wdt.patch Add mv64x60 (Marvell Discovery) watchdog support. Signed-off-by: James Chapman Signed-off-by: Wim Van Sebroeck commit 180536f8274b76d69a589ab9af4b73d3b780e62f Author: Wim Van Sebroeck Date: Sat Sep 10 20:53:57 2005 +0200 [WATCHDOG] Kconfig+Makefile-clean2 Clean the Kconfig+Makefile according to a sorted list of the drivers of each architecture (and sub-architecture). Signed-off-by: Wim Van Sebroeck commit 7b4af953321fa65ae5705cb3becc742ab1ba1d6f Author: Arnaud Patard (Rtp) Date: Thu Sep 8 07:42:02 2005 +0200 [WATCHDOG] s3c2410_wdt.c-state_warning.patch I've noticed that the patch from Ben Dooks (commit af4bb822bc65efb087cd36b83789f22161a6515b on your git tree) is introducing a warning. It's using 'u32 state' instead of 'pm_message_t state'. I've attached a one liner to fix it. Signed-Off-By: Arnaud Patard Signed-off-by: Ben Dooks Signed-off-by: Wim Van Sebroeck commit b6ddc518520887a62728b0414efbf802a9dfdd55 Author: David Woodhouse Date: Tue Sep 6 08:09:03 2005 +0100 Fix build failure on ppc64 without CONFIG_AUDIT We shouldn't call audit_syscall_exit() unless it actually exists. Signed-off-by: David Woodhouse commit b01f2cc1c37ac3d5ca313c90370a586dffe5aca9 Author: David Woodhouse Date: Sat Aug 27 10:25:43 2005 +0100 [AUDIT] Allow filtering on system call success _or_ failure Signed-off-by: David Woodhouse commit 17888225c2f392bfdbac6c7f0713cbd9a4d02b05 Author: David Woodhouse Date: Sat Aug 27 10:23:46 2005 +0100 Fix missing audit_syscall_exit() on ppc64 sigsuspend exit path When we leave sigsuspend() directly into a signal handler, we don't want to go via the normal syscall exit path -- it'll corrupt r4 and r5 which are supposed to be giving information to the signal handler, and it'll give us one more single-step SIGTRAP than we need if single-stepping is in operation. However, we _should_ be calling audit_syscall_exit(), which would normally get invoked in that patch. It's not wonderfully pretty, but I suspect the best answer is just to call it directly... Signed-off-by: David Woodhouse commit 2c40579bdc2a94977fcff2521d5b53a97c33e77a Author: Adrian Bunk Date: Mon Aug 22 18:20:50 2005 +0200 [PATCH] SECURITY must depend on SYSFS CONFIG_SECURITY=y and CONFIG_SYSFS=n results in the following compile error: <-- snip --> ... LD vmlinux security/built-in.o: In function `securityfs_init': inode.c:(.init.text+0x1c2): undefined reference to `kernel_subsys' make: *** [vmlinux] Error 1 <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Chris Wright commit 3c789a19054034847afe80af2f23ebb0eebfbad6 Author: Amy Griffis Date: Wed Aug 17 16:05:35 2005 +0100 AUDIT: Prevent duplicate syscall rules The following patch against audit.81 prevents duplicate syscall rules in a given filter list by walking the list on each rule add. I also removed the unused struct audit_entry in audit.c and made the static inlines in auditsc.c consistent. Signed-off-by: Amy Griffis Signed-off-by: David Woodhouse commit c3896495942392f1a792da1cafba7a573cbf6fc2 Author: David Woodhouse Date: Wed Aug 17 14:49:57 2005 +0100 AUDIT: Speed up audit_filter_syscall() for the non-auditable case. It was showing up fairly high on profiles even when no rules were set. Make sure the common path stays as fast as possible. Signed-off-by: David Woodhouse commit 413a1c7520ad6207c9122a749983c500f29e3e32 Author: David Woodhouse Date: Wed Aug 17 14:45:55 2005 +0100 AUDIT: Fix task refcount leak in audit_filter_syscall() Signed-off-by: David Woodhouse commit ce625a801664d8ed7344117bbb57510e4e0e872c Author: David Woodhouse Date: Mon Jul 18 14:24:46 2005 -0400 AUDIT: Reduce contention in audit_serial() ... by generating serial numbers only if an audit context is actually _used_, rather than doing so at syscall entry even when the context isn't necessarily marked auditable. Signed-off-by: David Woodhouse commit d5b454f2c40c9efd0cc113bc3220ebcb66b7c022 Author: David Woodhouse Date: Fri Jul 15 12:56:03 2005 +0100 AUDIT: Fix livelock in audit_serial(). The tricks with atomic_t were bizarre. Just do it sensibly instead. Signed-off-by: David Woodhouse commit 351bb722590b2329ac5e72c4b824b8b6ce6e3082 Author: David Woodhouse Date: Thu Jul 14 14:40:06 2005 +0100 AUDIT: Fix compile error in audit_filter_syscall We didn't rename it to audit_tgid after all. Except once... Doh. Signed-off-by: David Woodhouse commit f55619642e863990d5a46cf2c2c840170d22a9f9 Author: David Woodhouse Date: Wed Jul 13 22:47:07 2005 +0100 AUDIT: Avoid scheduling in idle thread When we flush a pending syscall audit record due to audit_free(), we might be doing that in the context of the idle thread. So use GFP_ATOMIC Signed-off-by: David Woodhouse commit 582edda586120004d0fb67113115fa442a0a1571 Author: David Woodhouse Date: Wed Jul 13 22:39:34 2005 +0100 AUDIT: Exempt the whole auditd thread-group from auditing and not just the one thread. Signed-off-by: David Woodhouse commit 6c8c8ba5d7e31b37d0184c388183a6039a672417 Author: Victor Fusco Date: Wed Jul 13 22:26:57 2005 +0100 [AUDIT] Fix sparse warning about gfp_mask type Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit ad3f9a2238e401a1fc493b8c91341f9e57940eda Author: David Woodhouse Date: Wed Jul 13 15:28:29 2005 +0100 Fix positioning of audit in MAINTAINERS. Signed-off-by: David Woodhouse commit 5a73c308754e27829c94544e010f133019cbd432 Author: serue@us.ibm.com Date: Fri Jul 8 15:44:19 2005 -0500 [PATCH] seclvl securityfs Once again, the simple_attr in libfs was actually sufficient - I'd thought the __attribute__(format(printk(1,2))) was more mysterious than it really is. At last, here is the full patch to make seclvl use securityfs. Signed-off-by: Serge Hallyn Signed-off-by: Chris Wright -- seclvl.c | 228 +++++++++++++++++++-------------------------------------------- 1 files changed, 70 insertions(+), 158 deletions(-) Index: linux-2.6.13-rc1/security/seclvl.c =================================================================== commit b67dbf9d4c1987c370fd18fdc4cf9d8aaea604c2 Author: Greg KH Date: Thu Jul 7 14:37:53 2005 -0700 [PATCH] add securityfs for all LSMs to use Here's a small patch against 2.6.13-rc2 that adds securityfs, a virtual fs that all LSMs can use instead of creating their own. The fs should be mounted at /sys/kernel/security, and the fs creates that mount point. This will make the LSB people happy that we aren't creating a new /my_lsm_fs directory in the root for every different LSM. It has changed a bit since the last version, thanks to comments from Mike Waychison. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright commit 21af6c4f2aa5f63138871b4ddd77d7ebf2588c9d Author: David Woodhouse Date: Sat Jul 2 14:10:46 2005 +0100 AUDIT: Really don't audit auditd. The pid in the audit context isn't always set up. Use tsk->pid when checking whether it's auditd in audit_filter_syscall(), instead of ctx->pid. Remove a band-aid which did the same elsewhere. Signed-off-by: David Woodhouse commit ac4cec443a80bfde829516e7a7db10f7325aa528 Author: David Woodhouse Date: Sat Jul 2 14:08:48 2005 +0100 AUDIT: Stop waiting for backlog after audit_panic() happens We force a rate-limit on auditable events by making them wait for space on the backlog queue. However, if auditd really is AWOL then this could potentially bring the entire system to a halt, depending on the audit rules in effect. Firstly, make sure the wait time is honoured correctly -- it's the maximum time the process should wait, rather than the time to wait _each_ time round the loop. We were getting re-woken _each_ time a packet was dequeued, and the timeout was being restarted each time. Secondly, reset the wait time after audit_panic() is called. In general this will be reset to zero, to allow progress to be made. If the system is configured to _actually_ panic on audit_panic() then that will already have happened; otherwise we know that audit records are being lost anyway. These two tunables can't be exposed via AUDIT_GET and AUDIT_SET because those aren't particularly well-designed. It probably should have been done by sysctls or sysfs anyway -- one for a later patch. Signed-off-by: David Woodhouse commit 7b430437c0de81681ecfa8efa8f55823df733529 Author: David Woodhouse Date: Sat Jul 2 13:50:40 2005 +0100 AUDIT: Fix definition of audit_log() if audit not enabled audit_log() also takes an extra argument, although it's a vararg function so the compiler didn't really notice. Signed-off-by: David Woodhouse commit 13774024da8ebdf17212c0f5a83f5b0681a649eb Author: Badari Pulavarty Date: Sat Jul 2 13:49:07 2005 +0100 AUDIT: Fix definition of audit_log_start() if audit not enabled audit_log_start() seems to take 3 arguments, but its defined to take only 2 when AUDIT is turned off. security/selinux/avc.c:553:75: macro "audit_log_start" passed 3 arguments, but takes just 2 Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit e1b09eba2686eca94a3a188042b518df6044a3c1 Author: David Woodhouse Date: Fri Jun 24 17:24:11 2005 +0100 AUDIT: Use KERN_NOTICE for printk of audit records They aren't errors. Signed-off-by: David Woodhouse commit 5bb289b5a0becb53ac3e1d60815ff8b779296b73 Author: David Woodhouse Date: Fri Jun 24 14:14:05 2005 +0100 AUDIT: Clean up user message filtering Don't look up the task by its pid and then use the syscall filtering helper. Just implement our own filter helper which operates solely on the information in the netlink_skb_parms. Signed-off-by: David Woodhouse commit 993e2d4106e94dae6e8cfbeb32073bd12cdee203 Author: David Woodhouse Date: Fri Jun 24 08:21:49 2005 +0100 AUDIT: Return correct result from audit_filter_rules() When the task refcounting was added to audit_filter_rules() it became more of a problem that this function was violating the 'only one return from each function' rule. In fixing it to use a variable to store 'ret' I stupidly neglected to actually change the 'return 1;' at the end. This makes it not work very well. Signed-off-by: David Woodhouse commit 9e94e66a5bc739ab525ec0a26ba75300aaf154f3 Author: David Woodhouse Date: Thu Jun 23 18:33:54 2005 +0100 AUDIT: No really, we don't want to audit auditd. Signed-off-by: David Woodhouse commit 9470178e620fe8f512928eed34994572c1c44be4 Author: David Woodhouse Date: Wed Jun 22 15:40:55 2005 +0100 AUDIT: Remove stray declaration of tsk from audit_receive_msg(). It's not used any more. Signed-off-by: David Woodhouse commit 9ad9ad385be27fcc7c16d290d972c6173e780a61 Author: David Woodhouse Date: Wed Jun 22 15:04:33 2005 +0100 AUDIT: Wait for backlog to clear when generating messages. Add a gfp_mask to audit_log_start() and audit_log(), to reduce the amount of GFP_ATOMIC allocation -- most of it doesn't need to be GFP_ATOMIC. Also if the mask includes __GFP_WAIT, then wait up to 60 seconds for the auditd backlog to clear instead of immediately abandoning the message. The timeout should probably be made configurable, but for now it'll suffice that it only happens if auditd is actually running. Signed-off-by: David Woodhouse commit 177bbc733a1d9c935bc3d6efd776a6699b29b1ca Author: David Woodhouse Date: Wed Jun 22 15:01:16 2005 +0100 Add audit subsystem to MAINTAINERS, for my sins. Signed-off-by: David Woodhouse commit 4a4cd633b575609b741a1de7837223a2d9e1c34c Author: David Woodhouse Date: Wed Jun 22 14:56:47 2005 +0100 AUDIT: Optimise the audit-disabled case for discarding user messages Also exempt USER_AVC message from being discarded to preserve existing behaviour for SE Linux. Signed-off-by: David Woodhouse commit f6a789d19858a951e7ff9e297a44b377c21b6c33 Author: David Woodhouse Date: Tue Jun 21 16:22:01 2005 +0100 AUDIT: Spawn kernel thread to list filter rules. If we have enough rules to fill the netlink buffer space, it'll deadlock because auditctl isn't ever actually going to read from the socket until we return, and we aren't going to return until it reads... so we spawn a kernel thread to spew out the list and then exit. Signed-off-by: David Woodhouse commit ae7b961b1c943367dfe179411f120d7bf8eaba89 Author: David Woodhouse Date: Mon Jun 20 16:11:05 2005 +0100 AUDIT: Report lookup flags with path/inode records. When LOOKUP_PARENT is used, the inode which results is not the inode found at the pathname. Report the flags so that this doesn't generate misleading audit records. Signed-off-by: David Woodhouse commit f7056d64ae101d910f965a2e39831f635ef7891b Author: David Woodhouse Date: Mon Jun 20 16:07:33 2005 +0100 AUDIT: Really exempt auditd from having its actions audited. We were only avoiding it on syscall exit before; now stop _everything_. Signed-off-by: David Woodhouse commit d6e0e1585a1a9a15e48ec47206a809828afe4450 Author: David Woodhouse Date: Mon Jun 20 16:02:09 2005 +0100 AUDIT: Drop user-generated messages immediately while auditing disabled. Signed-off-by: David Woodhouse commit 0f45aa18e65cf3d768082d7d86054a0d2a20bb18 Author: David Woodhouse Date: Sun Jun 19 19:35:50 2005 +0100 AUDIT: Allow filtering of user messages Turn the field from a bitmask to an enumeration and add a list to allow filtering of messages generated by userspace. We also define a list for file system watches in anticipation of that feature. Signed-off-by: David Woodhouse