commit 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 tree 525271129ff9c692defdd20566f1f7203b18ff24 parent 1f419cadff55f548e7356ffebdb9e1b5a8c22275 parent 0e1f60609258e18ec0a0477c646101212822d387 author Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 1f419cadff55f548e7356ffebdb9e1b5a8c22275 tree 07c04d053322e9913a6b445b2fe00510299e97cf parent 974f7bc5781d3fc16e32d8908c6e48592e767dd2 parent 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 author Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 tree eb7b222d73540590d25ea539cd691dd281753102 parent 50260b69bbec383058875de26dbde28b1a6f8d00 author Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 USB: fix up some odd parts due to partial merges Thanks to Andrew for doing the hard work on this. Signed-off-by: Greg Kroah-Hartman commit 974f7bc5781d3fc16e32d8908c6e48592e767dd2 tree ad36a9c4d93a138fbcd02c1df9fa3a3a321e0cc2 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a parent 64a0c1c81e300f0f56f26604c81040784e3717f0 author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6 commit 50260b69bbec383058875de26dbde28b1a6f8d00 tree 5e2ac6a032807373838710138edeba78fd056108 parent bde621854f1958a6000834c7c089b528118e5a9a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:53 -0700 [PATCH] USB: add nokia_dku2 driver This driver comes from the gnokii project. Was further cleaned up by me to match recent usb-serial core changes. Signed-off-by: Greg Kroah-Hartman commit bde621854f1958a6000834c7c089b528118e5a9a tree 0f4272704dae9aa37700f7f66359ee9fe62a6768 parent 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 author Martin Hagelin Wed, 26 Oct 2005 21:10:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: add new device id to ftdi_sio module This is a patch to get the ELV FHZ1000 Home Automation control device to work with Linux. The patch adds a new device ID to the ftdi_sio driver. It is for kernel version 2.6.13.4. Signed-off-by: Martin Hagelin Signed-off-by: Greg Kroah-Hartman commit 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 tree 4f923e2d8e83961ac931f8c4496081d873372088 parent 9a7834d06d553d02cc6e659e94772f69a8b5367f author Koen Kooi Wed, 26 Oct 2005 19:42:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix correct wording in drivers/usb/net/KConfig Signed-off-by: Koen Kooi commit 9a7834d06d553d02cc6e659e94772f69a8b5367f tree 9ca891740becd9a090565bc3d73f8da2c2ea54d3 parent db2d55b7f7f11823b8d2e5f0c706c7a264320d1b author Andrew Morton Sun, 23 Oct 2005 23:02:20 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 2 With CONFIG_PM=n: drivers/built-in.o(.text+0x1098c): In function `hub_thread': drivers/usb/core/hub.c:2673: undefined reference to `.dpm_runtime_resume' drivers/built-in.o(.text+0x10998):drivers/usb/core/hub.c:2674: undefined reference to `.dpm_runtime_resume' Please, never ever ever put extern decls into .c files. Use the darn header files :( Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit db2d55b7f7f11823b8d2e5f0c706c7a264320d1b tree 0bf92c677b80042eb2bad6012936f5584e2e4ecb parent 4f62efe67f077db17dad03a1d4c9665000a3eb45 author Andrew Morton Sun, 23 Oct 2005 23:04:25 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 1 With CONFIG_PM=n: drivers/built-in.o(.text+0x2a69c): In function `ohci_hub_control': drivers/usb/host/ohci-hub.c:539: undefined reference to `.usb_hcd_resume_root_hub' drivers/built-in.o(.text+0x2b920): In function `ohci_irq': drivers/usb/host/ohci-hcd.c:726: undefined reference to `.usb_hcd_resume_root_hub' Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 4f62efe67f077db17dad03a1d4c9665000a3eb45 tree 27f1837fd08ce3dccb94a88a5afef6eb1a5ed738 parent 16f16d117c1eb99451e4c73c87546eef05c66790 author Alan Stern Mon, 24 Oct 2005 16:24:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Fix handling of sysfs strings and other attributes This patch (as592) makes a few small improvements to the way device strings are handled, and it fixes some bugs in a couple of other sysfs attribute routines. (Look at show_configuration_string() to see what I mean.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 16f16d117c1eb99451e4c73c87546eef05c66790 tree 9f08a567e25f97a8d7ee0715657067013fb3467c parent 0a1ef3b5a765a6f20e7b8caf295aad3276243966 author Alan Stern Mon, 24 Oct 2005 15:41:19 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: Fix maxpacket length for ep0 on root hubs This patch (as591) fixes a rather innocuous bug that has been around for quite a long time: Virtual root hubs should have a maxpacket length of 64 for endpoint 0. I didn't realize it was wrong until I started looking through the endpoint attribute files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0a1ef3b5a765a6f20e7b8caf295aad3276243966 tree 31d2bc231306e3ed6ed81512e460e32d00bfc730 parent b724ae77969fd832be71419dca74bece9af287ff author Alan Stern Mon, 24 Oct 2005 15:38:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Use kzalloc instead of kmalloc/memset This patch (as590) fixes up all the remaining places where usbcore can use kzalloc rather than kmalloc/memset. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit b724ae77969fd832be71419dca74bece9af287ff tree a38ed0337bf012db4c8deec2c33d3e4ff78a2b6a parent 0e6c8e8db508fcb292836b23d039649c5de29090 author Alan Stern Mon, 24 Oct 2005 15:36:00 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Wrap lines before column 80 I can't stand text lines that wrap-around in my 80-column windows. This patch (as589) makes cosmetic changes to a couple of source files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0e6c8e8db508fcb292836b23d039649c5de29090 tree 5a65aa48c6dbc5c81d1665802d4e632c64b850e3 parent be69e5b1900a19a545becda822b18d6f09168ba5 author Alan Stern Mon, 24 Oct 2005 15:33:03 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: endpoint attributes track altsetting changes This patch (as588) fixes the way endpoint attribute files are registered and unregistered. Now they will correctly track along with altsetting changes. This fixes bugzilla entry #5467. In a separate but related change, when a usb_reset_configuration call fails, the device state is not changed to USB_STATE_ADDRESS. In the first place, failure means that we don't know what the state is, not that we know the device is unconfigured. In the second place, doing this can potentially lead to a memory leak, since usbcore might not realize there still is a current configuration that needs to be destroyed. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit be69e5b1900a19a545becda822b18d6f09168ba5 tree 7730b17e403cc03ea7c7cee8fc56f06171af0ebe parent e52783206ada0c0276c8dd74c0ecd0007ead7c00 author Alan Stern Tue, 25 Oct 2005 15:56:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] usbcore: Improve endpoint sysfs file handling This revised patch (as587b) improves the implementation of USB endpoint sysfs files. Instead of storing a whole bunch of attributes for every single endpoint, each endpoint now gets its own kobject and they can share a static list of attributes. The number of extra fields added to struct usb_host_endpoint has been reduced from 4 to 1. The bEndpointAddress field is retained even though it is redundant (it repeats the same information as the attributes' directory name). The code avoids calling kobject_register, to prevent generating unwanted hotplug events. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e52783206ada0c0276c8dd74c0ecd0007ead7c00 tree 6714a61666247613d585e1bad5f007da0de49056 parent 72129cd6577793408ff546b0ddd5794c33f32399 author Phil Dibowitz Sun, 23 Oct 2005 23:52:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] USB Storage: Expand range of Freecom unusual_devs entry Freecom seems to be one of those vendors that can't get the GET CAPACITY thing right. This expands the US_FL_FIX_CAPACITY flag for the entire range of their fccd product line. This is based on a patch sent by Stuart Black . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 72129cd6577793408ff546b0ddd5794c33f32399 tree c60564a0cd92d95d1c6d3830fee8c034df112abf parent 3f13e66e219238e025ff561d69826da9342c3f4a author Alexey Dobriyan Tue, 25 Oct 2005 23:34:03 +0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] mdc800: remove embrions of C++ exceptions Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 3f13e66e219238e025ff561d69826da9342c3f4a tree ff0fd93b0119975d45f2a55f49d2c897b0fc1ec0 parent ce2596df79ddbac605a290f4c7cf011cb40524fc author Alan Stern Sun, 23 Oct 2005 19:43:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: use kthread API This patch is originally from Alan Stern (as569). It has been rediffed against a current tree. This patch converts usb-storage to use the kthread API for creating its control and scanning threads. The new code doesn't use kthread_stop because the threads need (or will need in the future) to exit asynchronously. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit ce2596df79ddbac605a290f4c7cf011cb40524fc tree 59b4a7a91c429d6499d30fa74eeec8f3ad2bfa70 parent bbafa4668f37f5093a3ae2a8b0cbe327e24e12da author Alan Stern Sun, 23 Oct 2005 19:41:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: implement minimal PM This patch from Alan Stern started as as568. It has been rediffed against a current tree. This patch adds minimal suspend/resume support to usb-storage. Just enough for it to qualify as PM-aware. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit bbafa4668f37f5093a3ae2a8b0cbe327e24e12da tree e679db87309810e8da8092ffcb3df5a9dd7323e0 parent b876aef7f890d8c59a45b78858a36cf60fddf522 author Alan Stern Sun, 23 Oct 2005 19:40:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: allocate separate sense buffer This patch is from Alan Stern (as560). It has been rediffed against a current tree. This patch allocates a separate buffer for usb-storage to use when auto-sensing. Up to now we have been using the sense buffer embedded in a scsi_cmnd struct, which is dangerous on hosts that (a) don't do cache-coherent DMA or (b) have DMA alignment restrictions. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b876aef7f890d8c59a45b78858a36cf60fddf522 tree c8211d093fc0ab4ec04d3adaf8388253aa73d0bf parent 423e489d704d05c6e8c2927fb1854db85914912a author Alan Stern Sun, 23 Oct 2005 19:38:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: move GetMaxLUN later in time This patch is originally from Alan Stern (as557). It has been re-diffed against a current tree, and I also corrected a minor merging error. Some time ago we introduced a delay before device scanning, because many devices do not like to receive SCSI commands right after enumeration. Now it turns out there's a device that doesn't like to receive Get-Max-LUN right after enumeration either. Accordingly this patch delays the Get-Max-LUN request until the beginning of the scanning procedure. This fixes Bugzilla entry #5010. Three things are worth noting. First, I removed the locking code from usb_stor_acquire_resources. It's not needed, because the locking is to protect against disconnect events and acquire_resources is only called during probe (so the disconnect routine can't be called). Second, I initialized to 0 the buffer used for the Get-Max-LUN response. It's not really necessary, but it will prevent random values from showing up in the debugging log when the request fails. Third, I added a test against the SINGLE_LUN flag. This will allow us to use the flag to indicate Bulk-only devices that can't handle Get-Max-LUN. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 423e489d704d05c6e8c2927fb1854db85914912a tree a4045f348d2b2ddd232ae6eddf103ccc32e7c5a6 parent 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 author Alan Stern Wed, 19 Oct 2005 13:06:13 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] hid-core: Add Clear-Halt on the Interrupt-in endpoint This patch (as577) adds a Clear-Halt call on the Interrupt-in endpoint during input device configuration. Without it my HP USB keyboard doesn't work. Vojtech says it's worth trying, since it might help with some recalcitrant devices. On the other hand, it might interfere with others. I'm submitting it so that it can get tested by a range of users. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 tree 37e07a18952706e76b36c782ac095c17b0bc8e11 parent 46f116eab81b21c6ae8c4f169498c632b1f94bf1 author Alan Stern Wed, 19 Oct 2005 12:52:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Always do usb-handoff This revised patch (as586b) makes usb-handoff permanently true and no longer a kernel boot parameter. It also removes the piix3_usb quirk code; that was nothing more than an early version of the USB handoff code (written at a time when Intel's PIIX3 was about the only motherboard with USB support). And it adds identifiers for the three PCI USB controller classes to pci_ids.h. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 46f116eab81b21c6ae8c4f169498c632b1f94bf1 tree b5165e2e57748140be4dc3fbf7063fdba721c26c parent eb3c5ed8617d0aa67648cb7d1a486d14099129f2 author Oliver Neukum Mon, 24 Oct 2005 22:42:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: cdc-acm patch to use kzalloc another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit eb3c5ed8617d0aa67648cb7d1a486d14099129f2 tree 60eafa678fb9c73169a5e5a83fc70aa8a74ad50d parent f2d45cd976682a3566c8cf30cefe91eb43ab6005 author David Eriksson Tue, 18 Oct 2005 20:12:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Improving the set of vendor/product IDs in the ipaq driver This is a patch improving the set of vendor/product IDs used in the "ipaq" USB serial device driver. The patch size is because I sorted the ids this time, forgot about that last time. Changes: - Added vendor/product identifiers for Psion Teklogix devices - Restored Microsoft's identifier pair 045e/00ce - Sorted list of vendor/product identifiers Signed-off-by: David Eriksson Signed-off-by: Ganesh Varadarajan Signed-off-by: Greg Kroah-Hartman commit f2d45cd976682a3566c8cf30cefe91eb43ab6005 tree 325133a80bc8a2b6ce826ac7caa930d19825bbc1 parent 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a author Guillaume GOURAT / Fri, 21 Oct 2005 14:01:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Kaweth.c udelay patch On some arch (like arm) udelay cannot be called with value greater that 2000. Signed-off-by: Guillaume GOURAT / guillaume.gourat@nexvision.fr Signed-off-by: Oliver Neukum commit 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a tree 60310714bf8575fd7ada76581793dfe6871fa3b2 parent dcab4eaf77ccd8779c715da3c5db0a82874fa645 author Oliver Neukum Mon, 24 Oct 2005 22:37:20 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: microtek patch to use kzalloc here is another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit dcab4eaf77ccd8779c715da3c5db0a82874fa645 tree e620490b32f02ebefe5db448b3545f71732e1863 parent 7521803dcc0137668bb30483383092a647671d8b author Simeon Simeonov Wed, 19 Oct 2005 11:32:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: storage patch for LEICA camera On Tue, 18 Oct 2005, Simeon Simeonov wrote: > Attached is a patch that solves mounting problems for > LEICA D-LUX camera with FC4 2.6.13 kernel. > > Let me know if you have some questions. Looks okay to me. Given that the previous entry uses the full 0000 - 9999 range, I guess this one can also. The vendor name is a little odd (it will give us three different vendor names all in entries with the same vendor ID) but that doesn't really matter either. Signed-off-by: Alan Stern Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 7521803dcc0137668bb30483383092a647671d8b tree ab260e1d91991fa6d8bf5fd78321bb9c163a6b13 parent 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: always export interface information for modalias This fixes a problem with some cdc acm devices that were not getting automatically loaded as the module alias was not being reported properly. This check was for back in the days when we only reported hotplug events for the main usb device, not the interfaces. We should always give the interface information for MODALIAS/modalias as it can be needed. Signed-off-by: Greg Kroah-Hartman commit 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 tree 64b0bead1565c9f41b1eea69e9bcbfad997459ad parent 269bda1c123c7caf88e1deb2264f9086f0344192 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: remove driver version from a few drivers These numbers are pointless, as they have not been changed in _years_, so we should just remove them to stop pretending there is an actual "version number" for these drivers. This should also help reduce confusion when people try to ask for support of a specific driver version, as there has been no way to tell what they are talking about. Signed-off-by: Greg Kroah-Hartman commit 269bda1c123c7caf88e1deb2264f9086f0344192 tree c83d9944e0acdc40c9040cbccfb9ec7d606bdd2c parent 502b95c1cc9e2c855a26f90fc999c5211b8ba957 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move name to driver structure This fixes up a lot of problems in sysfs with some of the usb serial drivers, they had incorrect driver names. Also saves a tiny ammount of memory. Signed-off-by: Greg Kroah-Hartman commit 502b95c1cc9e2c855a26f90fc999c5211b8ba957 tree 6fbbd76930a955728363fb3e3e58bc2aaee7be53 parent 18fcac353fdc7cd072b0d24c8667042e675a4c11 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move old changelog comments out of source code Create a new file just for these things, as they just get in the way in the source files. Signed-off-by: Greg Kroah-Hartman commit 18fcac353fdc7cd072b0d24c8667042e675a4c11 tree 7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf parent ea65370d025f5005649e5cb37c4d025e92c6fc38 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: get rid of the .owner field in usb_serial_driver Don't duplicate something that's already in struct driver. Signed-off-by: Greg Kroah-Hartman commit ea65370d025f5005649e5cb37c4d025e92c6fc38 tree 554476fb8c69fc0f0f7dc5e2287f4c9cec1a26d6 parent a6c82600d4058346ea6fd801bc21d7abcc1350d8 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB Serial: rename usb_serial_device_type to usb_serial_driver I'm tired of trying to explain why a "device_type" is really a driver. This better describes exactly what this structure is. Signed-off-by: Greg Kroah-Hartman commit a6c82600d4058346ea6fd801bc21d7abcc1350d8 tree 7606fe0113b4548d4d25fc846c5973a603457826 parent c36fc889b5a4fd66cfd9ba80d9e038745d349567 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB: delete the bluetty driver We have a real Bluetooth system in Linux, lets finally delete this driver as no one is using it (and if they are, they are using a closed source bluetooth stack, which I can't support anyway.) Marcel, you owe me a beer :) Signed-off-by: Greg Kroah-Hartman commit c36fc889b5a4fd66cfd9ba80d9e038745d349567 tree c49f295dfdf53a4c6f495be8414497f2cdf4a4d3 parent 72adaa962741e8e910300b66bb123b1a9c31a8a8 author Pete Zaitcev Mon, 17 Oct 2005 18:15:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] usb: Patch for USBDEVFS_IOCTL from 32-bit programs Dell supplied me with the following test: #include #include #include #include #include main(int argc,char*argv[]) { struct usbdevfs_hub_portinfo hubPortInfo = {0}; struct usbdevfs_ioctl command = {0}; command.ifno = 0; command.ioctl_code = USBDEVFS_HUB_PORTINFO; command.data = (void*)&hubPortInfo; int fd, ret; if(argc != 2) { fprintf(stderr,"Usage: %s /proc/bus/usb//\n",argv[0]); fprintf(stderr,"Example: %s /proc/bus/usb/001/001\n",argv[0]); exit(1); } errno = 0; fd = open(argv[1],O_RDWR); if(fd < 0) { perror("open failed:"); exit(errno); } errno = 0; ret = ioctl(fd,USBDEVFS_IOCTL,&command); printf("IOCTL return status:%d\n",ret); if(ret<0) { perror("IOCTL failed:"); close(fd); exit(3); } else { printf("IOCTL passed:Num of ports %d\n",hubPortInfo.nports); close(fd); exit(0); } return 0; } I have verified that it breaks if built in 32 bit mode on x86_64 and that the patch below fixes it. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 72adaa962741e8e910300b66bb123b1a9c31a8a8 tree 3847dca1d8dadc31df3c7e3275cac8592603be33 parent 54a5c4cd2e4ec0b27c2c3731727f52591456086c author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbmon to use usb notifiers This also removes 2 usbmon callbacks. Signed-off-by: Greg Kroah-Hartman commit 54a5c4cd2e4ec0b27c2c3731727f52591456086c tree 7a76e82b85594a3feefc0210bfdeea94d279300c parent a7b986b3e107727dd1c1af0ead0b5e52d7726db3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/inode.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit a7b986b3e107727dd1c1af0ead0b5e52d7726db3 tree bc9b81342469fa5c4eddaf16b852e7f45b734b26 parent 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/devio.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a tree 8b1e7e5ddf097b347717e64aefb14ab33c9b2f90 parent 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: add notifier functions to the USB core for devices and busses This should let us get rid of all of the different hooks in the USB core for when something has changed. Also, some other parts of the kernel have wanted to know this kind of information at times. Signed-off-by: Greg Kroah-Hartman commit 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec tree ae30096f376f6922367fd427bcd6594bd866796a parent 3e8a556a02d5aa16375d4d74aad0f67cd844c047 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: remove the global function usbdev_lookup_minor It's only used locally. Signed-off-by: Greg Kroah-Hartman commit 3e8a556a02d5aa16375d4d74aad0f67cd844c047 tree 6b89e900d6847916e50cb30efd25e38721db6558 parent efa400db5332ba341cc354c9d8a5298ff57faa98 author Alan Stern Tue, 18 Oct 2005 10:08:31 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Missing transfer_flags setting in usbtest This patch (as582) adds a missing transfer_flags setting to the usbtest driver. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit efa400db5332ba341cc354c9d8a5298ff57faa98 tree c7c5084e0a329813b38ca2d43f9d04c3eef2a0f4 parent d0d5049fb02fc1082c17e08deecd6fed8db549b6 author Ben Dooks Mon, 10 Oct 2005 02:32:15 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: add owner initialisation to host drivers Add .owner initialisation to the device drivers in drivers/usb/host so that when built as module the device_driver refers to the owning module Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit d0d5049fb02fc1082c17e08deecd6fed8db549b6 tree 831b9345598e4074ca6168d65c393229130be866 parent a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 author Ben Dooks Mon, 10 Oct 2005 10:52:33 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: gadget drivers - add .owner initialisation Ensure the the device_driver and usb_gadget_driver have their .owner fields initialised to associate the module owner to the driver. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 tree 918db1cf85b59641ff3802273b7a27d32ecd3303 parent 4e67185a7ac3ecb1710e636e2f7e318e99298c7a author Ben Dooks Mon, 10 Oct 2005 01:23:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: S3C2410 OHCI - add driver owner field Initialise the .owner field of the driver with the module that owns it, to aid in linking drivers to modules. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit 4e67185a7ac3ecb1710e636e2f7e318e99298c7a tree 035fa1745baa6490425d44dc126c72ddc366497f parent f37be9b9be3ebc02d2d075d7f53f7802f3e005db author Juha Yrj?l? Sun, 16 Oct 2005 15:47:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] add usb transceiver set_suspend() method When a USB device is put into suspend mode, the current drawn from VBUS has to be less than 500 uA. Some transceivers need to be put into a special power-saving mode to accomplish this, and won't have a separate OTG driver handling that. This adds a suspend method to the "otg_transceiver" struct -- misnamed, it's not only for OTG -- and calls it from the OMAP UDC driver. Signed-off-by: Juha Yrj?l? Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f37be9b9be3ebc02d2d075d7f53f7802f3e005db tree 5e1ece040e94e2453d828c7f203d4d23a7b84d5c parent cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 author Alan Stern Mon, 17 Oct 2005 10:42:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Fix hcd->state assignments in uhci-hcd This patch (as581) changes the assignments to hcd->state in the uhci-hcd driver. It fixes part of bugzilla entry #5227. The problem was revealed by David's large suite of USB suspend/resume patches; this patch should go to Linus at the same time those do. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 tree 825fd67b5f945b31a5649bcfa1eaf5543cf93e5c parent 1fcb4454cbada6dc495302172ac0412aa7d35fd4 author David Brownell Sun, 16 Oct 2005 15:06:51 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] omap_udc dma off-by-one fix The change to make DMA work two bytes at a time omitted an important tweak that affects the file_storage gadget: it needs to recognize when the host writes an odd number of bytes. (The network layer ignores such extra bytes.) This patch resolves that issue by checking the relevant bit and adjusting the rx byte count, so that for example a legal 13 byte request doesn't morph into an illegal 14 byte one any more. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1fcb4454cbada6dc495302172ac0412aa7d35fd4 tree f8e441fe2466e8632214f36bc11316131ce01ed6 parent af64a5ebb817532965d18b792d6d74afecfb0bcf author Randy Dunlap Sat, 15 Oct 2005 22:03:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] usb doc: fix kernel-doc warning usb/core/buffer.c doesn't export any symbols, so it should use !I instead of !E to eliminate this warning message: Warning(/var/linsrc/linux-2614-rc4//drivers/usb/core/buffer.c): no structured comments found Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit af64a5ebb817532965d18b792d6d74afecfb0bcf tree 7ecbcf59e4a79fdd8bef4e0874aa5abce8b91add parent b81d34363c0b17c47f4ef63d5888c4f47f315d29 author Henk Wed, 12 Oct 2005 15:02:56 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Buffer overflow patch for Yealink driver Just a small patch that fixes a small parameter validation bug. drivers/usb/input/map_to_7segment.h: This patch fixes the broken parameter validation in the char to seg7 conversion. This could cause out-of-bounds memory references. MAINTAINERS: Yealink maintainer info now in sorted order. Documentation/input/yealink.txt: Added a Q&A section that answers some common questions. Signed-off-by: Henk Signed-off-by: Greg Kroah-Hartman 006491df1a13f85ad245d1039dfdf20e49c394fd commit b81d34363c0b17c47f4ef63d5888c4f47f315d29 tree af4151e7d296da8f9e9a493ed81c5513f2454618 parent 0c0382e32d46f606951010b202382be14d180a17 author Alan Stern Thu, 13 Oct 2005 17:00:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: Improve handling of iso TDs The uhci-hcd driver is fairly lax about the way it handles isochronous transfers. This patch (as579) improves it in three respects: TDs for a new URB aren't added to the schedule until all of them have been allocated. This way there's no risk of the controller executing some of them when an allocation fails. TDs for an unlinked URB are removed from the schedule as soon as the URB is unlinked, rather than waiting until the URB is given back. This way there's no risk of the controller still executing a TD after the URB completes. The urb->error_count values are now reported correctly. Although since they aren't used in any drivers except for debug messages in the system log, probably nobody cares. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0c0382e32d46f606951010b202382be14d180a17 tree 078327baa96637ca6d70bae3c59a16b0ff46f1f1 parent bb200f6eac6372839921be1fe87c1f5c292a7bd6 author Alan Stern Thu, 13 Oct 2005 17:08:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Rename hcd->hub_suspend to hcd->bus_suspend This patch (as580) is perhaps the only result from the long discussion I had with David about his changes to the root-hub suspend/resume code. It renames the hub_suspend and hub_resume methods in struct usb_hcd to bus_suspend and bus_resume. These are more descriptive names, since the methods really do suspend or resume an entire USB bus, and less likely to be confused with the hub_suspend and hub_resume routines in hub.c. It also takes David's advice about removing the layer of bus glue, where those methods are called. And it implements a related change that David made to the other HCDs but forgot to put into dummy_hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bb200f6eac6372839921be1fe87c1f5c292a7bd6 tree d55cd6ac5d8b52b96ad766cbd8f31ca85e0e4f8b parent a922c68732725866c88457026cf06a7620846506 author Alan Stern Mon, 03 Oct 2005 16:36:29 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: unify BIOS handoff and driver reset code This patch (as574) updates the PCI BIOS usb-handoff code for UHCI controllers, making it work like the reset routines in uhci-hcd. This allows uhci-hcd to drop its own routines in favor of the new ones (code-sharing). Once the patch is merged we can turn the usb-handoff option on permanently, as far as UHCI is concerned. OHCI and EHCI may still have some issues. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a922c68732725866c88457026cf06a7620846506 tree e859a07f850fa62fc7e8494737b9a4830fdb936c parent 3f8c03ee05801bf8539dd136d9246a416c45052a author Alan Stern Thu, 06 Oct 2005 16:38:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] g_file_storage: fix obscure race condition This patch (as575) fixes an unlikely race in the g_file_storage driver. The problem can occur only when the driver is unbound before its initialization routine has finished. I also took the opportunity to replace kmalloc/memset with kzalloc. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3f8c03ee05801bf8539dd136d9246a416c45052a tree 9438829a88eb7229b9eb88a2943b592b7f0f4af8 parent 880a9b5e7f70632ab60131ce3027da1c63fcd39e author Daniel Ritz Wed, 28 Sep 2005 21:30:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb/input/touchkit: add more device IDs add two more device IDs from eGalax' programming guide. thanks to Jonathan Hopper for pointing out. Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman drivers/usb/input/touchkitusb.c | 2 ++ 1 file changed, 2 insertions(+) commit 880a9b5e7f70632ab60131ce3027da1c63fcd39e tree 8f2f7b2fa8714d66e42ea0dafb2dce87482af874 parent e4a16e0c10a272e53c4a129b155dd711196b1d93 author Phil Dibowitz Fri, 30 Sep 2005 00:27:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_devs for iPod Nano This adds US_FL_FIX_CAPACITY for yet _another_ entire block of Apple productIds. They really can't seem to get this right. This one is for the iPod Nano. Reported by Tyson Vinson . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e4a16e0c10a272e53c4a129b155dd711196b1d93 tree 61a4b724cd3a0810d22062013a80c0a467afddeb parent 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 author Phil Dibowitz Fri, 30 Sep 2005 00:20:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_dev for iBeat This patch adds the US_FL_IGNORE_RESIDUE flag for the TrekStor i.Beat Joy 2.0. Original version of this patch was sent by Stefan Werner with test/rediff/etc. by me. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 tree e689462fdaa7ce4acec8b333261927a7761121ff parent b7b1e65588b8576c66a429a2623c91504efcf751 author Daniel Drake Fri, 30 Sep 2005 12:58:13 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry Just noticed that the SDDR-05b entry is missing for the shuttle_usbat driver. Looking through BK history it was removed in this patch: http://linux.bkbits.net:8080/linux-2.6/gnupatch@42435730FZQ2XCA6Qv5GPGD4pC4laQ However, at merge time, it looks like the duplicate was already removed, compare these two revisions: http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.152 http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.153 Signed-off-by: Daniel Drake Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit b7b1e65588b8576c66a429a2623c91504efcf751 tree 56e1096beea51b60c30f6370ab187d0b8ffe7fa9 parent a8798533c1f876b97566588cf2bf52458cb4a35d author Daniel Drake Fri, 30 Sep 2005 12:49:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Some minor shuttle_usbat cleanups A while ago, Matthew Dharm wrote: > Looks good. Tho, I would like to see a future patch to do two things: > 1) Change comments from C++ style to C-style > 2) Make sure we're naming consistently everywhere SCM, USBAT, > USBAT-02 (most noticably needing fixing is the string used at > transport-selection time, but a sweep of all uses to be consistent > would be in order). Sorry for the long delay, here is a patch to address this. I also clarified some ATA/ATAPI wording + function names. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 306 ++++++++++++++++++++---------------- drivers/usb/storage/shuttle_usbat.h | 66 +++---- drivers/usb/storage/transport.h | 2 drivers/usb/storage/unusual_devs.h | 10 - drivers/usb/storage/usb.c | 4 5 files changed, 213 insertions(+), 175 deletions(-) commit a8798533c1f876b97566588cf2bf52458cb4a35d tree 076e498708a5efeb3e9234facb86ed15bc5a2dd0 parent d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 author Daniel Drake Thu, 29 Sep 2005 00:14:21 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] USB Storage: HP8200: Another device type detection fix There appears to be one more case where the HP8200 CD writer devices are detected as flash readers - when the USB cable is replugged after use, with the power cable still connected. Oddly enough, the identify device command appears to 'fall through' when the devices are in this state, the status register reading exactly the same opcode as the command (0xA1) that was just executed. I think it's safe to label this behaviour as specific to HP8200 devices, I can't get the flash devices to respond like this. This patch should solve the last of the HP8200 issues which have cropped up recently. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 tree 02cc91c3ce92e5b9d9ae07130c3c83b6fc81e283 parent 521daed8db4443a1574a98fc3abae8e230f09eaa author Borislav Petkov Wed, 28 Sep 2005 18:06:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make usb storage note visible in Kconfig the following patch splits the NOTE: in the Device Drivers->USB submenu of Kconfig thus making the whole of it readable on 600x800 terminals. (Otherwise, the line was too big and disappeared into nowhere.) Signed-off-by: Borislav Petkov Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 521daed8db4443a1574a98fc3abae8e230f09eaa tree 3ae6f6f3a7e5688886aaa4be3fea163a5372986b parent ddcad752f206be7a0091a041403c3188f2febd16 author Randy Dunlap Sun, 02 Oct 2005 17:15:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] safe_serial: use preprocessor directive for error Use valid #preprocessor instruction to generate an error. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/safe_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddcad752f206be7a0091a041403c3188f2febd16 tree b791211f5b1f3e324e0778efd08324238dd7faf5 parent 207c47e1fbc8d51500997bfa67c26c00114fab04 author Petko Manolov Mon, 03 Oct 2005 17:24:11 +0300 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] pegasus.h This one is a tiny patch adding one more device to the list. Please apply. :) Signed-off-by: Greg Kroah-Hartman drivers/usb/net/pegasus.h | 2 ++ 1 file changed, 2 insertions(+) commit 207c47e1fbc8d51500997bfa67c26c00114fab04 tree 1a58c41d312e4facbfb53a75decd7c05960105ae parent 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 author Thomas Riewe Thu, 29 Sep 2005 14:57:29 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] drivers/usb/serial/ftdi_sio: add PID/VID We would like to add a PID for the Pyramid Appliance Display, which works on USB via FTDI_SIO. Signed-off-by: Thomas Riewe Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio.h | 3 +++ 2 files changed, 4 insertions(+) commit 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 tree 28cf74beab3fcf7f29c4d88bd704f4abfa235601 parent 22efcf4adec4262e0f49e6225f6cd070e4a85d20 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make wHubCharacteristics __le16 to match other usb descriptor fields Also has the nice benefit of making sparc alignment issues go away. Thanks to David Miller for pointing out the problems here. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 22 ++++++++++++---------- drivers/usb/core/hub.h | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) commit 22efcf4adec4262e0f49e6225f6cd070e4a85d20 tree 416d2fbb46995ad9483e1dee758ee818292e2ed9 parent dabb592816444fcba1a771e27d4f72a2b8218374 author Alan Stern Mon, 26 Sep 2005 16:12:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: File-Storage gadget: use the kthread API This patch (as566) converts the File-Storage gadget over to the kthread API. The new code doesn't use kthread_stop because the control thread needs to terminate asynchronously when it receives a signal. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/gadget/file_storage.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) commit dabb592816444fcba1a771e27d4f72a2b8218374 tree fe2162cf45018321bf334d1080bda926de10ad69 parent 8b262bd25580e165710e8a27df19cd60c2ef58a3 author Andrew Morton Thu, 22 Sep 2005 23:55:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: sisusb warning fix drivers/usb/misc/sisusbvga/sisusb.c: In function `sisusb_reset_text_mode': drivers/usb/misc/sisusbvga/sisusb.c:2461: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/usb/misc/sisusbvga/sisusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b262bd25580e165710e8a27df19cd60c2ef58a3 tree 60cd292d40e4073308ce3189a1217314df0e3a8b parent d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 author Alan Stern Mon, 26 Sep 2005 16:31:15 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: UHCI: Spruce up some comments This patch (as570) changes some comments in the uhci-hcd header file and removes an unused declaration (something I forgot to erase in an earlier patch). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.h | 91 +++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 42 deletions(-) commit d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 tree 4a41ade8dc775ea6dc9154bc4fe006f75557f579 parent b13296c6617f22e8c0174a7af32780617db0e680 author Alan Stern Mon, 26 Sep 2005 16:22:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: usb_bulk_message() handles interrupts endpoints Because there is no bulk_interrupt_message() routine and no USBDEVFS_INTERRUPT ioctl, people have been forced to abuse the usb_bulk_message() routine and USBDEVFS_BULK by using them for interrupt transfers as well as bulk transfers. This patch (as567) formalizes this practice and adds code to usb_bulk_message() for detecting when the target is really an interrupt endpoint. If it is, the routine submits an interrupt URB (using the default interval) instead of a bulk URB. In theory this should help HCDs that don't like it when people try to mix transfer types, queuing both periodic and non-periodic types for the same endpoint. Not fully tested -- I don't have any programs that use USBDEVFS_BULK for interrupt transfers -- but it compiles okay and normal bulk messages work as well as before. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/core/message.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit b13296c6617f22e8c0174a7af32780617db0e680 tree 980ed483e5df92335894405ac7eb37380598190d parent 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 author David Brownell Tue, 27 Sep 2005 10:38:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] updates for "controller suspended" handling Reject URBs to _all_ devices when their host controllers are suspended; even root hub registers will be unavailable. Also, don't reject urbs to root hubs in other cases; the only upstream link is through that controller (on PCI or whatever SOC bus is in use). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 28 ++++++++++++---------------- drivers/usb/core/urb.c | 3 ++- 2 files changed, 14 insertions(+), 17 deletions(-) commit 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 tree 497ba94999eb10524dd0d6d98ba708e83cae75d8 parent ccdcf77ae32e3d3347fdf3810b27f899e98c34fb author David Brownell Thu, 22 Sep 2005 22:45:26 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] stop exporting two functions The way we're looking at USB suspend lately doesn't expect drivers to call usb_suspend_device() or usb_resume_device() directly; that'll be implicit when no interfaces are in use. This patch removes those APIs from visibility outside usbcore. Signed-off-by: David Brownell drivers/usb/core/hub.c | 12 ++++-------- drivers/usb/core/usb.h | 4 ++++ include/linux/usb.h | 5 ----- 3 files changed, 8 insertions(+), 13 deletions(-) commit ccdcf77ae32e3d3347fdf3810b27f899e98c34fb tree 88e49a51a4778966aa64a138896f3a3321cc97fe parent a7f72abe8fac9b919135005e06216be8eef945a2 author David Brownell Thu, 22 Sep 2005 22:45:13 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] ISP116x PM updates This makes the isp116x driver stop using usb_suspend_device() and usb_resume_device() ... usbcore now calls to the root hub methods, removing the need for this. It also switches from keventd to khubd for remote wakeup. (Compile tested.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/isp116x-hcd.c | 29 ++++------------------------- drivers/usb/host/isp116x.h | 1 - 2 files changed, 4 insertions(+), 26 deletions(-) commit a7f72abe8fac9b919135005e06216be8eef945a2 tree 2cc4ca35130559348fb2985224ccb6a570eb3e5a parent f2cb36c1df427431a8c6096b4ad113df767c1bd9 author David Brownell Thu, 22 Sep 2005 22:44:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] UHCI PM updates This removes suspend and resume path recursion in UHCI. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.c | 9 --------- 1 file changed, 9 deletions(-) commit f2cb36c1df427431a8c6096b4ad113df767c1bd9 tree 8a5b07e0ea2e177e01e72ec8554f58d521beaaef parent f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 author David Brownell Thu, 22 Sep 2005 22:43:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] update PCI early-handoff handling for OHCI The PCI "early usb handoff" quirk logic didn't work like "ohci-hcd" ... This patch makes it do so by: - Resetting the controller after kicking BIOS off, matching the normal "chip in hardware reset" startup mode; - Reporting any BIOS that borks this simple handoff; it's likely got a few other surprises for us too. - Ignoring that handoff on HPPA; The diagnostic string is mostly shared with EHCI, saving a few bytes. Signed-off-by: Greg Kroah-Hartman drivers/usb/host/pci-quirks.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 tree a5a4da41e38d8681977a9f3b52fa2e5f1db278ea parent 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 author David Brownell Thu, 22 Sep 2005 22:42:53 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] OHCI PM updates This simplifies the OHCI root hub suspend logic: - Uses new usbcore root hub calls to make autosuspend work again: * Uses a newish usbcore root hub wakeup mechanism, making requests to khubd not keventd. * Uses an even newer sibling suspend hook. - Expect someone always made usbcore call ohci_hub_suspend() before bus glue fires; and that ohci_hub_resume() is only called after that bus glue ran. Previously, only CONFIG_USB_SUSPEND promised those things. (Includes updates to PCI and OMAP bus glue.) - Handle a not-noticed-before special case during resume from one of the swsusp snapshots when using "usb-handoff": the controller isn't left in RESET state. (A bug to fix in the usb-handoff code...) Also cleans up a minor debug printk glitch, and switches an mdelay over to an msleep (how did that stick around for so long?). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ohci-dbg.c | 4 ---- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 42 ++++++++++++------------------------------ drivers/usb/host/ohci-mem.c | 1 - drivers/usb/host/ohci-omap.c | 36 ++++++++++++------------------------ drivers/usb/host/ohci-pci.c | 40 ++++++++-------------------------------- drivers/usb/host/ohci.h | 1 - 7 files changed, 33 insertions(+), 93 deletions(-) commit 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 tree 7bd8a0f12f83c219cab6da7e30e8d0e1d94df57d parent f3f3253d644d36a2ea5464005a9c2cf28804d200 author David Brownell Thu, 22 Sep 2005 22:38:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] usbcore PCI glue updates for PM This updates the PCI glue to address the new and simplified usbcore suspend semantics, where CONFIG_USB_SUSPEND becomes irrelevant to HCDs because hcd->hub_suspend() will always be called. - Removes now-unneeded recursion support - Go back to ignoring faults reported by the wakeup calls; we expect them to fail sometimes, and that's just fine. The PCI HCDs will need simple changes to catch up to this, like being able to ignore the setting of CONFIG_USB_SUSPEND. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd-pci.c | 106 +++++++++++++++++++++------------------------ drivers/usb/core/hcd.h | 6 +- 2 files changed, 53 insertions(+), 59 deletions(-) commit f3f3253d644d36a2ea5464005a9c2cf28804d200 tree 913d5d38de9acea02b95c43ea23dc6a28f791236 parent 979d5199fee9e80290ddeb532e5993bd15506712 author David Brownell Thu, 22 Sep 2005 22:37:29 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub updates (greater half) This patch associates hub suspend and resume logic (including for root hubs) with CONFIG_PM -- instead of CONFIG_USB_SUSPEND as before -- thereby unifying two troublesome versions of suspend logic into just one. It'll be easier to keep things right from now on. - Now usbcore _always_ calls hcd->hub_suspend as needed, instead of only when USB_SUSPEND is enabled: * Those root hub methods are now called from hub suspend/resume; no more skipping between layers during device suspend/resume; * It now handles cases allowed by sysfs or autosuspended root hubs, by forcing the hub interface to resume too. - All devices, including virtual root hubs, now get the same treatment on their resume paths ... including re-activating all their interfaces. Plus it gets rid of those stub copies of usb_{suspend,resume}_device(), and updates the Kconfig to match the new definition of USB_SUSPEND: it provides (a) selective suspend, downstream from hubs; and (b) remote wakeup, upstream from any device configuration which supports it. This calls for minor followup patches for most HCDs (and their PCI glue). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/Kconfig | 11 ++- drivers/usb/core/hub.c | 163 +++++++++++++++++++++++++---------------------- 2 files changed, 97 insertions(+), 77 deletions(-) commit 979d5199fee9e80290ddeb532e5993bd15506712 tree 6987772d41ec540b7e32beaa50c1493a95e3e2c8 parent 9293677af3dace2645dec0d0808efa02d36bf47b author David Brownell Thu, 22 Sep 2005 22:32:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub changes (lesser half) This patch collects various small updates related to root hubs, to shrink later patches which build on them. - For root hub suspend/resume support: * Make the existing usb_hcd_resume_root_hub() routine respect pmcore locking, exporting and using the dpm_runtime_resume() method. * Add a new usb_hcd_suspend_root_hub() to pair with that routine. (Essential to make OHCI autosuspend behave again...) * HC_SUSPENDED by itself only refers to the root hub's downstream ports. So let HCDs see root hub URBs unless the parent device is suspended. - Remove an assertion we no longer need (and now, also don't want). - Generic suspend/resume updates to work better with swsusp. * Ignore the FREEZE vs SUSPEND distinction for hardware; trying to use it breaks the swsusp snapshots it's supposed to help (sigh). * On resume, mark devices as resumed right away, but then do nothing else if the device is marked NOTATTACHED. These changes shouldn't be very noticable by themselves. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/runtime.c | 1 drivers/usb/core/hcd.c | 64 ++++++++++++++++++++++++++++++++++++++----- drivers/usb/core/hcd.h | 1 drivers/usb/core/hub.c | 45 ++++++++++++++++++++++++------ drivers/usb/core/usb.c | 20 +++++++++---- drivers/usb/core/usb.h | 1 6 files changed, 111 insertions(+), 21 deletions(-) commit 9293677af3dace2645dec0d0808efa02d36bf47b tree 1300a91bd6d6b20a69e35f67e7ff71b5a5d776e6 parent 7ff71d6adf81a43505b7cbaa034e4063d3439182 author David Brownell Thu, 22 Sep 2005 22:32:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] all HCDs provide root hub suspend/resume methods This cleans up a small recent FIXME, ensuring that all the HCDs provide root hub suspend/resume methods. It also wraps the calls to those root suspend routines just like on the PCI "USB_SUSPEND not defined" cases, so non-PCI bus glue won't be as tempted to behave very differently. Several of the SOC based OHCI drivers forgot to list those methods; the patch also adds those missing declarations. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 42 +++++++++++++++++++++++++--------------- drivers/usb/host/ohci-au1xxx.c | 5 ++++ drivers/usb/host/ohci-lh7a404.c | 5 ++++ drivers/usb/host/ohci-pxa27x.c | 1 drivers/usb/host/ohci-s3c2410.c | 1 drivers/usb/host/ohci-sa1111.c | 1 6 files changed, 40 insertions(+), 15 deletions(-) commit 7ff71d6adf81a43505b7cbaa034e4063d3439182 tree ea7edb953d9fb47f6132e52e1e8d422d8bdae06b parent e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 author Matt Porter Thu, 22 Sep 2005 22:31:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] EHCI, split out PCI glue This splits BIOS and PCI specific support out of ehci-hcd.c into ehci-pci.c. It follows the model already used in the OHCI driver so support for non-PCI EHCI controllers can be more easily added. Signed-off-by: Matt Porter Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 543 ++++++-------------------------------------- drivers/usb/host/ehci-pci.c | 414 +++++++++++++++++++++++++++++++++ drivers/usb/host/ehci.h | 1 3 files changed, 492 insertions(+), 466 deletions(-) commit e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 tree 03eb4c6ae1529c904a3aca42fa597f8548bddcb4 parent a1d59ce842a35b552f22868404e4e7c923242257 author David Brownell Thu, 22 Sep 2005 22:30:48 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] one less word in struct device This saves a word from "struct device" ... there's a refcounting mechanism stub that's rather ineffective (the values are never even tested!), which can safely be deleted. With this patch it uses normal device refcounting, so any potential users of the pm_parent mechanism will be more correct. (That mechanism is actually unusable for now though; it does nothing.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/main.c | 26 +++----------------------- include/linux/pm.h | 1 - 2 files changed, 3 insertions(+), 24 deletions(-) commit a1d59ce842a35b552f22868404e4e7c923242257 tree ee92b9406d1d10e07dcc433ae403dc6574f3013c parent 8b4cd42134fbd3c9a9a5c3467d31717798219b1b author Alan Stern Fri, 16 Sep 2005 14:22:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Split apart the physical and logical framelist arrays This patch (as563) splits the physical and logical framelist arrays in uhci-hcd into two separate pieces. This will allow slightly better memory utilization, since each piece is no larger than a single page whereas before the whole thing was a little bigger than two pages. It also allows the logical array to be allocated in non-DMA-coherent memory. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8b4cd42134fbd3c9a9a5c3467d31717798219b1b tree aec7570ecc2f481b2a3357f05810be8c3d897669 parent e08fb39b771dd7dcba405669b5384fe9929e1caf author Alan Stern Fri, 16 Sep 2005 14:17:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL This patch (as562) removes from the uhci-hcd driver a few unused fields and some unnecessary tests against NULL and assignments to NULL. In fact it wasn't until fairly recently that the tests became unnecessary. Before last winter it was possible that the driver's stop() routine would get called even if the start() routine returned an error, but now that can't happen. Hence there's no longer any need to check for partial initialization. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e08fb39b771dd7dcba405669b5384fe9929e1caf tree 3f83d9925c9561394844f8124dbbb475d7e8e723 parent 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 author Matt Porter Mon, 19 Sep 2005 09:40:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: Fix usb hub build Signed-off-by: Matt Porter Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 tree 7bd854843d6d61756a16421368aa6cb1428b23c8 parent dbc3887e7df4be78b33a83b97fde5d5f9a389859 author David Brownell Tue, 13 Sep 2005 19:59:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove some USB_SUSPEND dependencies This simplifies some of the PM-related #ifdeffing by recognizing that USB_SUSPEND depends on PM. Also, OHCI drivers were often testing for USB_SUSPEND when they should have tested just PM. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 4 ++-- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- drivers/usb/host/ohci-ppc-soc.c | 4 ++-- drivers/usb/host/ohci-pxa27x.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 3 +-- drivers/usb/host/ohci-sa1111.c | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-) commit dbc3887e7df4be78b33a83b97fde5d5f9a389859 tree d0b037dbf3971bbd95d038429857ef9f78a19879 parent 390a8c345e6415cbf811232feedac70b56c9fc8d author David Brownell Tue, 13 Sep 2005 19:57:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove duplicated resume path code This gets rid of some inconsistently duplicated logic to resume interfaces. Similar code was in both finish_port_resume() and in usb_generic_resume(). Now there is just one copy of that code, accessed regardless of whether CONFIG_USB_SUSPEND is enabled. Fault handling is also more consistent. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 390a8c345e6415cbf811232feedac70b56c9fc8d tree 5a27e9421575c080d31884c4eedeed710d7134f1 parent c9f89fa40cf274130b56475175a35af961d4b165 author David Brownell Tue, 13 Sep 2005 19:57:27 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove usb_suspend_device() parameter This patch removes the extra usb_suspend_device() parameter. The original reason to pass that parameter was so that this routine could suspend any active children. A previous patch removed that functionality ... leaving no reason to pass the parameter. A close analogy is pci_set_power_state, which doesn't need a pm_message_t either. On the internal code path that comes through the driver model, the parameter is now used to distinguish cases where USB devices need to "freeze" but not suspend. It also checks for an error case that's accessible through sysfs: attempting to suspend a device before its interfaces (or for hubs, ports). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 34 +++++++++++++++++++++------------- drivers/usb/core/usb.c | 23 +++++++++++++++++++++-- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/isp116x-hcd.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- include/linux/usb.h | 2 +- 6 files changed, 46 insertions(+), 19 deletions(-) commit c9f89fa40cf274130b56475175a35af961d4b165 tree 9d02038c4e5589a2b13df98da647a59d46b69567 parent db69087437dd5135a9362da1c37fe072070e8f60 author David Brownell Tue, 13 Sep 2005 19:57:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove suspend-path recursion This patch removes some recursion in the CONFIG_USB_SUSPEND logic, which suspended children (of devices or hubs) that weren't already suspended. When it sees such cases, suspend now just fails cleanly. That logic was not needed during system-wide sleep state transitions; and given the current notions of how to manage selective suspend transitions, we don't want it there either. Where it was particularly handy was coping with various limitations of the sysfs "echo -n N > power/state" support. (These include assuming that "N" is always meaningful to the driver; and that drivers can only transition to state N from state zero.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit db69087437dd5135a9362da1c37fe072070e8f60 tree 1affacd290eff29b5dc589bbf47369e20d6101db parent 7586269c0b52970f60bb69fcb86e765fc1d72309 author David Brownell Tue, 13 Sep 2005 19:56:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] usb_interface power state This updates the handling of power state for USB interfaces. - Formalizes an existing invariant: interface "power state" is a boolean: ON when I/O is allowed, and FREEZE otherwise. It does so by defining some inlined helpers, then using them. - Adds a useful invariant: the only interfaces marked active are those bound to non-suspended drivers. Later patches build on this invariant. - Simplifies the interface driver API (and removes some error paths) by removing the requirement that they record power state changes during suspend and resume callbacks. Now usbcore does that. A few drivers were simplified to address that last change. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 33 +++++++++------------ drivers/usb/core/message.c | 1 drivers/usb/core/usb.c | 65 +++++++++++++++++++++++++++++++++---------- drivers/usb/core/usb.h | 18 +++++++++++ drivers/usb/input/hid-core.c | 2 - drivers/usb/misc/usbtest.c | 10 ------ drivers/usb/net/pegasus.c | 2 - drivers/usb/net/usbnet.c | 2 - 8 files changed, 85 insertions(+), 48 deletions(-) commit 7586269c0b52970f60bb69fcb86e765fc1d72309 tree a0cb04f9527101e8b9331350e4dd9d57e6e019e7 parent 38ffdd62b0f466ef9126ac9f060ade5f218b4887 author David Brownell Fri, 23 Sep 2005 17:14:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: move handoff code This moves the PCI quirk handling for USB host controllers from the PCI directory to the USB directory. Follow-on patches will need to: (a) merge these copies with the originals in the HCD reset methods. they don't wholly agree, despite doing the very same thing; and (b) eventually change it so "usb-handoff" is the default, to help get more robust USB/BIOS/input/... interactions. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/Makefile | 2 drivers/pci/quirks.c | 253 --------------------------------------- drivers/usb/Makefile | 1 drivers/usb/host/Makefile | 5 drivers/usb/host/pci-quirks.c | 272 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 253 deletions(-) commit 38ffdd62b0f466ef9126ac9f060ade5f218b4887 tree 4f636beb7bcc713e0f454058541850b4cabf69fa parent e639dd3f4edd4847d160899b19e95ee1a06a6dcb author Pete Zaitcev Sat, 24 Sep 2005 13:10:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] ub: suppress gcc warnings for pointer casts When building on a 64-bit platform, gcc produces a warning "cast of a pointer to an integer of a different size". The scatterlist.offset on the LHS is unsigned int, so I used that originally. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman drivers/block/ub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e639dd3f4edd4847d160899b19e95ee1a06a6dcb tree c5d99cf857c77005af27b688d3935f90c3c8536a parent d6e5bcf4a7ebbe258124a931f1449338340a99b5 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: add more snooping hooks in devio.c Now we can log the urbs travelling through usbfs Signed-off-by: Greg Kroah-Hartman commit d6e5bcf4a7ebbe258124a931f1449338340a99b5 tree e36249673c11e20f90ad837831c104b1dfce9947 parent 094f1649577dfc7f2c7407a8380e05a506b31f7f author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed Also fixes all drivers that set this field, and removes some other devfs specfic USB logic. Signed-off-by: Greg Kroah-Hartman drivers/usb/class/usblp.c | 3 +-- drivers/usb/core/file.c | 19 ++++--------------- drivers/usb/image/mdc800.c | 3 +-- drivers/usb/input/aiptek.c | 2 +- drivers/usb/input/hiddev.c | 3 +-- drivers/usb/media/dabusb.c | 3 +-- drivers/usb/misc/auerswald.c | 3 +-- drivers/usb/misc/idmouse.c | 5 ++--- drivers/usb/misc/legousbtower.c | 5 ++--- drivers/usb/misc/rio500.c | 3 +-- drivers/usb/misc/sisusbvga/sisusb.c | 5 ----- drivers/usb/misc/usblcd.c | 9 ++++----- drivers/usb/usb-skeleton.c | 3 +-- include/linux/usb.h | 7 ++----- 14 files changed, 22 insertions(+), 51 deletions(-) commit 094f1649577dfc7f2c7407a8380e05a506b31f7f tree 5775c40d5c05f5427bb36c3c61d0db143c719bdd parent 8da608caa07d5c9745ec86bf7c25ad423352f9a4 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: add endpoint information to sysfs This patch adds endpoint information for both devices and interfaces to sysfs. Previously it was only possible to get the endpoint information from usbfs, and never possible to get any information on endpoint 0. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/sysfs.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++- include/linux/usb.h | 4 2 files changed, 197 insertions(+), 2 deletions(-) commit 8da608caa07d5c9745ec86bf7c25ad423352f9a4 tree cc8f60e24846a4fbc5c9dd5afb8fd676a6adc73f parent c9c7746dd333c12f482af2f1e63ea7eafc7cd529 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: disable tasklet if rtl8150 device is removed while active. This fixes a oops seen in the wild. Signed-off-by: Greg Kroah-Hartman commit c9c7746dd333c12f482af2f1e63ea7eafc7cd529 tree df7ed40559585aee2e394dbadf3f0449616eabf6 parent 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 author Rui Santos Fri, 23 Sep 2005 20:06:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ftdi: Artemis and ATIK based USB astronomical CCD cameras This patch enables direct kernel support for the Artemis and ATIK astronomical based USB CCD cameras. Since all communications with this camera are done via an FTDI 245BM chip, it was only needed to specify the ProductID and VendorID of all three devices. In what tests are concerned, data was transfered from and to the FTDI at the chips Top speed (360KB/s). Signed-off-by: Rui Santos Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 3 +++ drivers/usb/serial/ftdi_sio.h | 13 +++++++++++++ 2 files changed, 16 insertions(+) commit 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 tree 21f2785ff8dbd4c612f1f01cd9d2f8c6baef3dd5 parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a author David Brownell Tue, 27 Sep 2005 10:19:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ehci.patch (earlier irq disable) This tweaks the EHCI reboot notifier to also halt the EHCI controller, and makes that halt code force IRQs off. Both should always have been done. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 89fbb69c4f285019ba5e029963dc11cc6beb078a tree d918cd1ba0ef9afa692cef281afee2f6d6634a1e parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a parent 4cce3390c998600f6648e075e475cf8f6dd8cebe author Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 4cce3390c998600f6648e075e475cf8f6dd8cebe tree 2b800e2e2d890e98db792ca67590e65d22384926 parent a4da0628efd788eb199dd9df225e296035ec2539 author Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 committer Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 [IB] fix up class_device_create() calls Fix class_device_create() calls to match the new prototype which takes a parent device pointer. Signed-off-by: Roland Dreier commit 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a tree 2e246004dfc130947574e340a4968239b3f2d20b parent dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 parent f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 author Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 commit dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 tree e8c0e8fb951226d470e11aca5bad555f79d8d558 parent 20731945ae743034353a88c307920d1f16cf8ac8 parent 19c1f3ca4272008a256cc153f3e3feb097799070 author Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 0e1f60609258e18ec0a0477c646101212822d387 tree 22f05f9f0f396d19ecffa5cec952cc8fadad802b parent fb5f329d58c67cadc8ff07193ea7556923d49d1b author Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 committer Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 [IA64] fix warning unused variable `g' 4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck commit a4da0628efd788eb199dd9df225e296035ec2539 tree 1e611030c993e1480dc2f07f26976d2d33002b0d parent 70a30e16a8a9d22396a4d1e96af86e43594df584 parent 20731945ae743034353a88c307920d1f16cf8ac8 author Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 64a0c1c81e300f0f56f26604c81040784e3717f0 tree 845863e5b3fc06a9de54104f32e28bbe914ee44a parent 96a339985d4c6874d32909e8f1903e6e6c141399 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:39:02 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:39:02 -0700 [SCTP] Do not allow unprivileged programs initiating new associations on privileged ports. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 70a30e16a8a9d22396a4d1e96af86e43594df584 tree 0d8582567c62f7929620ec03128c79f9d8c65a58 parent a74968f8c3b1166cfe0942901b56165f06ab6f60 author Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 [IB] uverbs: Fix device lifetime problems Move ib_uverbs module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit a74968f8c3b1166cfe0942901b56165f06ab6f60 tree 8b6bfdad7c5a56186bb84a8f282270998f64db0f parent 1993d683f39f77ddb46a662d7146247877d50b8f author Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 [IB] umad: Fix device lifetime problems Move ib_umad module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 tree 13af729851215bdbc2291b752f2000a94dff6abb parent 2f028234f2c7f31dc0ff0784e20f14be11f7035c author Jesse Barnes Tue, 25 Oct 2005 10:28:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] PCI fixup for Toshiba laptops and ohci1394 This is a fix for a bug I see on my Toshiba laptop, where the ohci1394 controller gets initialized improperly. The patch adds two PCI fixups to arch/i386/pci/fixup.c, one that happens early on to cache the value of the PCI_CACHE_LINE_SIZE config register, and another that later restores the value, along with a valid IRQ number and some BAR values. I've tested it on my laptop, and it prevents me from running into what I consider to be a major bug: IRQ 11 is disabled by the IRQ debug code, causing my wireless to break. Thanks to Rob for the original patch to ohci1394.c and Stefan for lots of proofreading (and a last minute bug caught in review!) and additional information collection. I think the DMI system list is correct, but we may need to add some more PCI IDs to the PCI_FIXUP macros over time. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit 2f028234f2c7f31dc0ff0784e20f14be11f7035c tree 8aa60f015a1bc8d4579bbfa4b7ba6066bfdd4990 parent 8f7020d36374dda9366fee1343f8eacfe8f5e641 author Grant Coady Thu, 20 Oct 2005 09:55:32 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] pci_ids: cleanup comments pci_ids.h cleanup: convert // comment to /* comment */ Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 8f7020d36374dda9366fee1343f8eacfe8f5e641 tree fb9531fed55030c6334957ff38235421c83377b9 parent f05aab8ef653abcbd454739264a9f5cf63f6f9f8 author Randy Dunlap Sun, 23 Oct 2005 11:57:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: PCI fixes PCI: add descriptions for missing function parameters. Eliminate all kernel-doc warnings here. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit f05aab8ef653abcbd454739264a9f5cf63f6f9f8 tree d114ce10cac5702e543210b9c539692c8d2fad59 parent 8e5dce35221850759671b2847a2e51030f7626bd author Randy Dunlap Sun, 23 Oct 2005 11:58:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: fix PCI hotplug PCI hotplug.c: does not contain kernel-doc, so don't process it for now. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 8e5dce35221850759671b2847a2e51030f7626bd tree 209dba22e714697336158ef43a2460068a65566b parent 5457b6a6013516a73b8f48ec1adb9984b577a5c1 author Kristen Accardi Tue, 18 Oct 2005 17:21:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] acpiphp: allocate resources for adapters with bridges Allocate resources for adapters with bridges on them. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 5457b6a6013516a73b8f48ec1adb9984b577a5c1 tree a0571bc80cfd4256a3e7a995480e6fb6e1f3cde6 parent a1720fdbd0f90e64668a59a304d01c5ba001b450 author Russell King Sun, 16 Oct 2005 21:32:46 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Convert megaraid to use pci_driver shutdown method Convert megaraid to use pci_driver's shutdown method rather than the generic device_driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a1720fdbd0f90e64668a59a304d01c5ba001b450 tree 598e37eb0e64f78f29e27f85cfb63b60912994b7 parent d10211b278c70fbebb83fb9e4ee717ca13f69b2d author Russell King Sun, 16 Oct 2005 21:31:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Fixup PCI driver shutdown Add a warning to pci driver registration code so that we know whether we have drivers using the obsolete driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit d10211b278c70fbebb83fb9e4ee717ca13f69b2d tree 65ad1bb2de1a48d024e57563562678c5c4cbd5f0 parent c2608a111b621d5cf0e4c2876d79e67333ce5341 author Andrew Morton Sat, 15 Oct 2005 22:02:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: fix edac drivers for radisys 82600 borkage I told you that the pci_ids.h cleanup was a bad idea ;) Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit c2608a111b621d5cf0e4c2876d79e67333ce5341 tree 0e90b0bc85f026c74434f132760d7a4e12cf4eab parent 7c8942f993dc069db0e0327a343bbec8a6e96074 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:44 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] shpchp: fix oops at driver unload At unload time, the shpchp driver does not remove sysfs files it had created in the driver's probe entry point. This patch fixes this problem. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7c8942f993dc069db0e0327a343bbec8a6e96074 tree 22e617e853e1af63ebd3953e34cee56f573d442b parent ee138334d5eb5ca662b2d69228420c1ccc051e0e author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce debug message verbosity Reduce the number of debug messages generated if shpchp debug is enabled. I tried to restrict this to removing debug messages that are either early-driver-debug type messages, or print information that can be inferred through other debug prints. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit ee138334d5eb5ca662b2d69228420c1ccc051e0e tree 6c8f0d28ab39f4ea9abb0e9986f8c9a3fca6f470 parent 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: miscellaneous cleanups Remove un-necessary header includes, remove dead code, remove some type casts, receive function return in the correct data type... Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 tree 9a58ee4a73e36b31edd8b5660966403d7c6c5562 parent 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:41 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: remove redundant data structures State information is currently stored in per-slot as well as per-pci-function data structures in shpchp. There's a lot of overlap in the information kept, and some of it is never used. This patch consolidates the state information to per-slot and eliminates unused data structures. The biggest change is to eliminate the pci_func structure and the code around managing its lists. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe tree b61b3262529be1b03cabac951bac5cf764e2daf2 parent 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: dont save PCI config for hotplug slots/devices This patch eliminates saving the PCI config header for devices in hotplug capable slots. We now use the PCI core to get the specific parts of the config header as required. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 tree dffc17757791d79f2a83b5a85cf21278f3803448 parent 424600f9706b20a8a33ad928d3d0326bd88679bc author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: detect SHPC capability before doing a lot of work The shpc driver registers its probe function for all pci-pci bridges in the system. Not all of them will be shpc capable, so look for this capability early in the probe function and return if there's no work to do on this bridge. The old shpc driver did some initialization work on all bridges before detecting that shpc is not supported and unwinds the work it's already done in that case. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 424600f9706b20a8a33ad928d3d0326bd88679bc tree 364509b512ff4f522b38329df582553a9c8fb6ff parent 7e88ed199689f333668b62348051202706b6a74a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce dependence on ACPI Reduce the SHPC hotplug driver's dependence on ACPI. We don't walk the acpi namespace anymore to build a list of bridges and devices. The remaining interaction with ACPI is to run the _OSHP method to transition control of hotplug hardware from system BIOS to the shpc hotplug driver, and to run the _HPP method to get hotplug device parameters like cache line size, latency timer and SERR/PERR enable from BIOS. Note that one of the side effects of this patch is that shpchp does not enable the hot-added device or its DMA bus mastering automatically now. It expects the device driver to do that. This may break some drivers and we will have to fix them as they are reported. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7e88ed199689f333668b62348051202706b6a74a tree 5dd9d1f727a1b6b1435e475dcc62e7fde26d99f5 parent dbd7a78818d125a0ebd5507d4edb4dd5900006ab author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: remove redundant display of PCI device resources Info about resources assigned to PCI devices is already available through sysfs and pci utilities. There's no need for shpchp to create another sysfs file to display the same information. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit dbd7a78818d125a0ebd5507d4edb4dd5900006ab tree 682a1681aad47f70bfb760fca077f54589be92c6 parent e3b1bd572f1cdb247bb4266a593b6894dc578d6a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: use the PCI core for hotplug resource management This patch converts the standard hotplug controller driver to use the PCI core for resource management. This eliminates a whole lot of duplicated code, and integrates shpchp in the system's normal PCI handling code. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit e3b1bd572f1cdb247bb4266a593b6894dc578d6a tree a3f4fe0abd9700d90ff8b6f349e9f639a4234be1 parent 934199e95d6ac28f42686fe3009877eff33e06c3 author Jean Delvare Wed, 21 Sep 2005 22:26:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] PCI: Add quirk for SMBus on HP D530 One more SMBus unhiding quirk, this time for the HP D530. Requested and successfully tested by Ben Cranston. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 934199e95d6ac28f42686fe3009877eff33e06c3 tree 607f305d0a7841484bd7b1e1adf956c7231db2de parent b7924c38c9a9c6151213bc0d91776eace614e761 author linas Wed, 28 Sep 2005 19:33:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] ppc64 PCI Hotplug: cleanup unsymmetric API routines This is a minor patch to the ppc64 PCI hotplug code; it makes the call to rpaphp_unconfig_pci_adapter() symmetric with respect to the call to rpaphp_config_pci_adapter(). I discussed this with John Rose, who had provided the last round of changes for these functions; he appearently had this patch but somehow failed to mail it out. Tested. (added/removed device). Signed-off-by: Linas Vepstas drivers/pci/hotplug/rpaphp.h | 3 ++- drivers/pci/hotplug/rpaphp_core.c | 5 ++++- drivers/pci/hotplug/rpaphp_pci.c | 11 +++-------- 3 files changed, 9 insertions(+), 10 deletions(-) commit b7924c38c9a9c6151213bc0d91776eace614e761 tree 68609a74c3bc43e510f58f9c808a0a74e9d23452 parent 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 author Grant Coady Thu, 29 Sep 2005 11:06:40 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove non-referenced symbols from pci_ids.h pci_ids.h cleanup: removed non-referenced symbols, compile tested with 'make allmodconfig' Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 540 ------------------------------------------------ 1 file changed, 540 deletions(-) commit 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 tree d56a554c172635f2d9e2fff7b8f30f8daa84d5ac parent b135c4815051bad6b2472e4ad0152f205918d2c5 author Grant Coady Thu, 29 Sep 2005 10:40:52 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: macros: replace partial with whole symbols pci_ids cleanup: replace symbols built by macros with whole symbols to aid grep searches. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman drivers/video/cirrusfb.c | 24 ++++++++++++------------ sound/oss/ymfpci.c | 17 +++++++++-------- sound/pci/bt87x.c | 11 +++++++---- 3 files changed, 28 insertions(+), 24 deletions(-) commit b135c4815051bad6b2472e4ad0152f205918d2c5 tree 5f82d14946fca89161deb4beb9c71c0305da845e parent acc06632e387fd05d2bf3480f6a2f4d1a62734b8 author Grant Coady Thu, 29 Sep 2005 10:39:46 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove duplicates from pci_ids.h pci_ids.h cleanup: remove duplicated entries and change some defines to explicit value rather than in terms of another constant, preparation for removing unused symbols Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) commit acc06632e387fd05d2bf3480f6a2f4d1a62734b8 tree c578620b9d6ae0c817fae385435c8d2bfad97ffe parent fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 author R.Marek@sh.cvut.cz Thu, 29 Sep 2005 08:35:41 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] unhide ICH6 SMBus - take 2 This patch unhides hidden SMBus on ICH6 chipset installed in Asus M6V notebook. I would like to thank Michal Mleczko for testing and help. Signed-Off-By: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 tree 496c9092452395e6d616adedab53e7ac85b199b6 parent c8920f0c8b3b42537ab4a54ff92c11daf48fdfec author Bjorn Helgaas Wed, 28 Sep 2005 14:03:08 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpqphp: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpqphp relies on it. This fixes a problem reported by Bruno Redondi. He reported a flood of ACPI interrupts, that caused kacpid to run 100% of the time: http://bugzilla.kernel.org/show_bug.cgi?id=5312 Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpqphp_core.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit c8920f0c8b3b42537ab4a54ff92c11daf48fdfec tree f8ee6aaf2a90e46a630a113cca127b04ab1f5e2a parent d3535fbbce0eef8faa8de30d187fc83b11b858ef author Bjorn Helgaas Wed, 28 Sep 2005 15:15:16 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpcihp_zt5550: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpcihp_zt5550 relies on it. Compiled but untested, since I don't have the hardware. Signed-off-by: Bjorn Helgaas Signed-off-by: Scott Murray Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpcihp_zt5550.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit d3535fbbce0eef8faa8de30d187fc83b11b858ef tree e0bad970776d58a8a79bfeb12d310acabe05aa61 parent b30197d2c07b396907b81673354a015a9d2b216c author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] pci: cleanup need_restore switch statement Cleanup the need_restore switch statement in pci_set_power_state(). This makes it more safe by explicitly handling all the PCI power states instead of handling them as the default case. It also reads a little better IMHO. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit b30197d2c07b396907b81673354a015a9d2b216c tree eb70ae0b28d7164510a4a9e78444cc7f81616490 parent e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b author Brian King Tue, 27 Sep 2005 01:21:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ipr: Block config access during BIST IPR scsi adapter have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch makes use of some newly added PCI layer APIs that allow for protection from userspace accessing config space of a device in scenarios such as this. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/scsi/ipr.c | 2 ++ 1 file changed, 2 insertions(+) commit e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b tree 75937e50de883f69e906a4c8bc9f119d86c14411 parent 2cea752f683af1be58ee8f25717c0a8118e0ac5b author Brian King Tue, 27 Sep 2005 01:21:55 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: Block config access during BIST Some PCI adapters (eg. ipr scsi adapters) have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch is an attempt to close that exposure by introducing some blocking code in the PCI code. When blocked, writes will be humored and reads will return the cached value. Ben Herrenschmidt has also mentioned that he plans to use this in PPC power management. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/pci/access.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/pci/pci-sysfs.c | 20 +++++----- drivers/pci/pci.h | 7 +++ drivers/pci/proc.c | 28 +++++++-------- drivers/pci/syscall.c | 14 +++---- include/linux/pci.h | 7 +++ 6 files changed, 134 insertions(+), 31 deletions(-) commit 2cea752f683af1be58ee8f25717c0a8118e0ac5b tree a0d40566377824eb6cfe5faac802140392dcee28 parent 20731945ae743034353a88c307920d1f16cf8ac8 author R.Marek@sh.cvut.cz Tue, 27 Sep 2005 21:54:51 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ICH6 ACPI and GPIO quirk This patch just adds ACPI and GPIO regions to its LPC bridge, similar way as ICH4 did. I would like to thank Michal Mleczko for testing. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 96a339985d4c6874d32909e8f1903e6e6c141399 tree d3eb8006efa5e03bb0ef875bf8dc2ed1d90ecb21 parent a1ab3582699def352dab1355adcadd3d47f79f0f author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:36:12 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:36:12 -0700 [SCTP] Allow SCTP_MAXSEG to revert to default frag point with a '0' value. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit a1ab3582699def352dab1355adcadd3d47f79f0f tree 48faf33fae1b82f15df770e6340f58a858393e43 parent eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:33:24 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:33:24 -0700 [SCTP] Fix SCTP_SETADAPTION sockopt to use the correct structure. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 1993d683f39f77ddb46a662d7146247877d50b8f tree 608391d9daa25e13b70cc11d6b99f800a7079050 parent cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 author Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 [IPoIB] Drop RX packets when out of memory Change the way IPoIB handles RX packets when it can't allocate a new receive skbuff. If the allocation of a new receive skb fails, we now drop the packet we just received and repost the original receive skb. This means that the receive ring always stays full and we don't have to monkey around with trying to schedule a refill task for later. Signed-off-by: Roland Dreier commit fb5f329d58c67cadc8ff07193ea7556923d49d1b tree f26147586d353afc5f5979693769379186280736 parent 9590204d31f8a5f47e890fbbdbcd37dd78f0581a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 committer Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 Auto-update from upstream commit 9590204d31f8a5f47e890fbbdbcd37dd78f0581a tree 670235feba2ca1fffe0bd26ddecdf1c08f87618c parent 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 parent 4ac0068f44f192f2de95a7bb36df3e19767a45fb author Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 Pull optimize-ptrace-threads into release branch commit 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 tree 18a772d7a4c42ec325539b52d2053dabc99c460a parent 2d8f6a521908e3563478347aecad4ab20dc48155 parent c1902aae322952f8726469a6657df7b9d5c794fe author Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 Pull fix-slow-tlb-purge into release branch commit 2d8f6a521908e3563478347aecad4ab20dc48155 tree 0eb0fa70b50807130f94dbe228d09d20707368a1 parent fac84ef26759a3725bfc53ae3abf21976360aff3 parent e7f98dbbb89b68b23a5115708412a820a713fbf1 author Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 Pull fix-bte-copy into release branch commit fac84ef26759a3725bfc53ae3abf21976360aff3 tree 94aa9362e72a0736948adc78cb43ebf44f59580b parent d73dee6ee4b554074f88e4ebd956ea4db8552d52 parent 279290294662d4a35d209fb7d7c46523cfa3d63d author Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 Pull xpc-disengage into release branch commit d73dee6ee4b554074f88e4ebd956ea4db8552d52 tree 9f4468c7b54d0796d7659ce3ae30b756217522e9 parent 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 parent ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 author Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 committer Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 Pull for-each-cpu into release branch commit eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 tree 4047a75f7f74d978bad9c4862afbd47c8cda595a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:10:00 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:10:00 -0700 [SCTP] Rename SCTP specific control message flags. Rename SCTP specific control message flags to use SCTP_ prefix rather than MSG_ prefix as per the latest sctp sockets API draft. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 tree fefb8d52a8ef074d59f2b342d18b4372dde8952c parent 5a2b1722e1051b84485a77006abe9b929aedef32 parent 9c184a073bfd650cc791956d6ca79725bb682716 author Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 Pull asm-slot-fix into release branch commit 5a2b1722e1051b84485a77006abe9b929aedef32 tree 0f61eff618b22c698a97563c881ccea271464a0b parent 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b parent ce6e71ad4866dad366be135b024b776c00ec9ec8 author Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 Pull proc-cpuinfo-siblings into release branch commit 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b tree 654544984d640037f1fd6b5258f158cb9adaed5b parent c87ff94333642ce3db4fc0857ad1f723cb42c1dd parent b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 author Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 Pull big-sim-disk into release branch commit c87ff94333642ce3db4fc0857ad1f723cb42c1dd tree 9577010b5ca20b692904c4728b305a9cbde5373e parent 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 parent 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a author Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 Pull sparsemem-v5 into release branch commit 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 tree 0327adc0cb1a4ae608ea293ae7d80a0948211b06 parent 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 parent 36735554571ea619e38210a20f429798de90adc1 author Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 Pull remove-sn-bist-lock into release branch commit 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 tree ccb3933b3c694ba4724c3a392d6e275d992ed86b parent a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 parent d719948e623622cf9fc8016f7ec63422d929eb3b author Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 Pull new-efi-memmap into release branch commit 20731945ae743034353a88c307920d1f16cf8ac8 tree 132c796fe3a167dece8cec7a40b1d5dd83a68bc8 parent 406119f49d4a6cf8b6eee639128e0575a95065e3 parent a9d1b24d91f91b77db3da8aeacb414764f789b9c author Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 committer Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit a9d1b24d91f91b77db3da8aeacb414764f789b9c tree a7400c6154b7e5b6839b3c25fecc2daac75c4a2b parent 0dc9a32d9a975ccd25b9f531451165c93e1c7313 author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:15 -0700 [PATCH] I2C: add i2c module alias for i2c drivers to use This is the start of adding hotplug-like support for i2c devices. Signed-off-by: Greg Kroah-Hartman commit 0dc9a32d9a975ccd25b9f531451165c93e1c7313 tree df2c1fd2bd0f98d305a9630da86737a91201d8f9 parent b890a07f7b002ee473986fa85ae3582de399a4cf author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] I2C: remove devfs support from i2c-dev driver as devfs is gone, this isn't needed anymore. Signed-off-by: Greg Kroah-Hartman commit b890a07f7b002ee473986fa85ae3582de399a4cf tree d29b5a2d41d0a6ce7b5da57576cb876f53e29eac parent 90209b42d0498d57a804bf81fea427bf39c5315c author Jean Delvare Wed, 26 Oct 2005 22:21:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: smsc47m1 documentation update The SMSC LPC47M997 Super-I/O chip seems to be compatible with the LPC47M192, so it is supported by the smsc47m1 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 90209b42d0498d57a804bf81fea427bf39c5315c tree e6668317e71a45ed585ecdb27eafa0b285dc9f33 parent c3df5806cdae6fac678c662b527cb974bef4b60c author Jean Delvare Wed, 26 Oct 2005 22:20:21 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: lm90 documentation update Update the I2C addresses for the ADM1032 and ADT7461 chips. Also update the links to the Analog Devices web site. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c3df5806cdae6fac678c662b527cb974bef4b60c tree a510da8447852247907dd6896cdf51c7e3d60844 parent 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d author Jean Delvare Wed, 26 Oct 2005 21:39:40 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Add PEC support to the lm90 driver Add PEC support to the lm90 driver. Only the ADM1032 chip supports it, and in a rather tricky way, which is why this patch comes with documentation reinforcements. At least, this demonstrates that the new PEC support logic in i2c-core can properly deal with chips with partial PEC support. As enabling PEC causes a significant performance drop, it can be disabled through a sysfs file (unsurprisingly named "pec"). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d tree 7a61802fe469ad3f199506ed832ad460d32b3649 parent e8aac4a9b417643dd9739b48473790a09b8b6cbe author Jean Delvare Wed, 26 Oct 2005 21:37:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Separate the lm90 register read function Preparatory patch to add PEC support to the lm90 driver. We need a centralized function to read register values, where the PEC code will be later inserted. A positive side effect is that read errors are now handled properly. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aac4a9b417643dd9739b48473790a09b8b6cbe tree 70934ffa1a7327c62d13f09d0e1d8b74277b0a62 parent 585b3160f8212e58325bc1c0292c2ec01ac5db84 author Jean Delvare Wed, 26 Oct 2005 21:34:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: i2c-i801 PEC code cleanups The tests leading to the use of hardware PEC in the i2c-i801 driver can be simplified. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 585b3160f8212e58325bc1c0292c2ec01ac5db84 tree 368c38952dc1ee6b514266f6b25a285d6bc5d98c parent 421ef47be20c5454b12ae0ec918d5073a9d2b938 author Jean Delvare Wed, 26 Oct 2005 21:31:15 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 3 of 3 The new SMBus PEC implementation doesn't support PEC emulation on non-PEC non-I2C SMBus masters, so we can drop all related code. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 421ef47be20c5454b12ae0ec918d5073a9d2b938 tree a7225bd055acb418693d0e6ed4f8d886dc68ec55 parent b8095544bc27044a7aa79e1e073b781a249910c3 author Jean Delvare Wed, 26 Oct 2005 21:28:55 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 2 of 3 This is my rewrite of the SMBus PEC support. The original implementation was known to have bugs (credits go to Hideki Iwamoto for reporting many of them recently), and was incomplete due to a conceptual limitation. The rewrite affects only software PEC. Hardware PEC needs very little code and is mostly untouched. Technically, both implementations differ in that the original one was emulating PEC in software by modifying the contents of an i2c_smbus_data union (changing the transaction to a different type), while the new one works one level lower, on i2c_msg structures (working on message contents). Due to the definition of the i2c_smbus_data union, not all SMBus transactions could be handled (at least not without changing the definition of this union, which would break user-space compatibility), and those which could had to be implemented individually. At the opposite, adding PEC to an i2c_msg structure can be done on any SMBus transaction with common code. Advantages of the new implementation: * It's about twice as small (from ~136 lines before to ~70 now, only counting i2c-core, including blank and comment lines). The memory used by i2c-core is down by ~640 bytes (~3.5%). * Easier to validate, less tricky code. The code being common to all transactions by design, the risk that a bug can stay uncovered is lower. * All SMBus transactions have PEC support in I2C emulation mode (providing the non-PEC transaction is also implemented). Transactions which have no emulation code right now will get PEC support for free when they finally get implemented. * Allows for code simplifications in header files and bus drivers (patch follows). Drawbacks (I guess there had to be at least one): * PEC emulation for non-PEC capable non-I2C SMBus masters was dropped. It was based on SMBus tricks and doesn't quite fit in the new design. I don't think it's really a problem, as the benefit was certainly not worth the additional complexity, but it's only fair that I at least mention it. Lastly, let's note that the new implementation does slightly affect compatibility (both in kernel and user-space), but doesn't actually break it. Some defines will be dropped, but the code can always be changed in a way that will work with both the old and the new implementations. It shouldn't be a problem as there doesn't seem to be many users of SMBus PEC to date anyway. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b8095544bc27044a7aa79e1e073b781a249910c3 tree 2e7f92c1d6765d44531a5d5c830e53fc2f8d760f parent 142078f6f09986c2b8f5ebe215ce405438080317 author Jean Delvare Wed, 26 Oct 2005 21:25:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: SMBus PEC support rewrite, 1 of 3 Discard I2C_FUNC_SMBUS_*_PEC defines. i2c clients are not supposed to check for PEC support of i2c bus drivers on individual SMBus transactions, and i2c bus drivers are not supposed to advertise them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 142078f6f09986c2b8f5ebe215ce405438080317 tree 4dbfcd958b06e3935ba64f3ba6bbbd12c5b26f5b parent eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc author Jean Delvare Wed, 26 Oct 2005 21:21:50 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: i2c-i810 documentation update Update the documented list of devices supported by the i2c-i810 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc tree 002802351fdc91eacce8de3a6fe442c2299a99f0 parent cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 author Jean Delvare Wed, 26 Oct 2005 21:20:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Drop unused parport i2c IDs Drop unused i2c-over-parallel-port i2c IDs: * I2C_HW_B_LPC was never actually used as far as I could search. * I2C_HW_B_ELV and I2C_HW_B_VELLE are no more used since the introduction of the unified i2c-parport driver in Linux 2.6.2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 tree a904941e7033eac700530cdecdd759f933f6c9f0 parent 6344a8ece0bacccf61817450e8ccf78c973fc0c5 author Jean Delvare Wed, 26 Oct 2005 21:14:16 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: ID redefinition cleanups Fix several redefinitions of i2c IDs. i2c IDs must not be defined outside of i2c-id.h. Signed-off-by: Jean Delvare Signed-off-by: Henk Vergonet Acked-by: Mark McClelland Signed-off-by: Greg Kroah-Hartman commit 6344a8ece0bacccf61817450e8ccf78c973fc0c5 tree 2cfb965523a097ce90163dee5482ffa5fd5ab009 parent c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 author Ben Dooks Wed, 26 Oct 2005 21:09:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Static function fixes, 4 of 4 Fix functions declared static and then implemented without the static in drivers/i2c/chips. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 tree e7b0124f85ad5563875c92679545f4c2fb38c956 parent d8d2061590c87c20bf78133461bc74df78803ecb author Ben Dooks Wed, 26 Oct 2005 21:07:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 3 of 4 Fixup functions that have been declared static and then actually defined without the static on. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d8d2061590c87c20bf78133461bc74df78803ecb tree 39ca3da820be362cabfff53f9d5446f6c3dc8059 parent 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e author Ben Dooks Wed, 26 Oct 2005 21:05:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 2 of 4 lm78.c and lm85.c have a number of items declared static then implemented without the static on them. The following patch fixes these sparse errors. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e tree 6286f837ae9b7109aae92658f2b676e0151c2766 parent 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 author Ben Dooks Wed, 26 Oct 2005 21:04:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Static function fixes, 1 of 4 eeprom_detect is first declared static and then when the function is actually implemented, there is no static. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 tree d378cbfddb05c37d09cf03c71f070b02aed7a9cc parent deb875c7ff2ef417a2daff41ee4b357098b7ab10 author Jean Delvare Mon, 17 Oct 2005 23:16:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Documentation update Update the i2c documentation: kzalloc should be used instead of kmalloc. I also fixed a couple other things nearby in writing-clients, as several past changes had never been reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit deb875c7ff2ef417a2daff41ee4b357098b7ab10 tree aad952c341d91e9c6bda7653d73bb8f2624dd8a0 parent 078d9fe4fe8dada13e37d2e2790b0ad780324097 author Jean Delvare Mon, 17 Oct 2005 23:14:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 2 of 2 Use kzalloc instead of kmalloc in the S4882 SMBus multiplexing driver. I guess it's safer that way. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 078d9fe4fe8dada13e37d2e2790b0ad780324097 tree dc878bab118133d65a78eb553d7eaa7ccb21cc84 parent 5263ebb51eb098b01caf229498c954999117e4a7 author Jean Delvare Mon, 17 Oct 2005 23:12:36 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 1 of 2 Drop useless casts on kzalloc returned values, as suggested by Jiri Slaby. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5263ebb51eb098b01caf229498c954999117e4a7 tree f18933c0b38a51ba9f100e7be4f5f5d54838cf45 parent ba9c2e8d15da029ea3051c95e446b2d638ef02e2 author Deepak Saxena Mon, 17 Oct 2005 23:09:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, other drivers Use kzalloc instead of kmalloc+memset in all remaining i2c bus and chip drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ba9c2e8d15da029ea3051c95e446b2d638ef02e2 tree 28272b92080f18f16008c09464190939183c8698 parent 2286066faf51890e49ad61e2ceab683666cd9108 author Deepak Saxena Mon, 17 Oct 2005 23:08:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] hwmon: kzalloc conversion Use kzalloc instead of kmalloc+memset in all hardware monitoring drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2286066faf51890e49ad61e2ceab683666cd9108 tree fc9e7dc7a898e80485ea25065ff9143ec0e6407e parent 4d4e5ce8648561b964699afb2df5e7268a84599b author Deepak Saxena Mon, 17 Oct 2005 23:07:05 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, ixp bus drivers Use kzalloc instead of kmalloc+memzero in the ixp2000 and ixp4xx I2C bus drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4d4e5ce8648561b964699afb2df5e7268a84599b tree 95d88cfc63db1e14cba71074a6108ed9a4b16737 parent ddec748f328af6b67e4d0ce0248a8e9f36751827 author Alessandro Zummo Mon, 17 Oct 2005 23:04:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: New Xicor X1205 RTC driver New driver for the Xicor X1205 RTC chip. Signed-off-by: Alessandro Zummo Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ddec748f328af6b67e4d0ce0248a8e9f36751827 tree ce99658260e0a5f3d56e67d5d33ce8e498947990 parent 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae author Jean Delvare Mon, 17 Oct 2005 23:02:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: Missing class check in two hwmon drivers The atxp1 and ds1621 drivers should make sure they do not probe non-hwmon i2c adapters. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae tree e76341e6617eac19514ce2e41768514f7c9acedb parent 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 author Mark M. Hoffman Mon, 17 Oct 2005 23:01:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: New device ID for the smsc47b397 driver This patch adds a new ID to the SMSC LPC47B397-NC hardware monitoring driver - for a chip that is claimed to be 100% compatible otherwise. Signed-off-by: Bryan Young (Utilitek Systems, Inc.) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 tree 3f436cabbffd56f103ea9464f5056597b474ebd9 parent 6586bcd7b2bbe255110b2db772da4415c7865a2a author Laurent Riffard Mon, 17 Oct 2005 22:58:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 5 of 5 In function i2c_isa_add_driver, copied driver should inherit the owner field as well as the name field. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6586bcd7b2bbe255110b2db772da4415c7865a2a tree 0f5b10ccc7656fef1817c8fb7489aff51389de54 parent e78f857cc5299c3f6b3d046084696ef205948837 author Laurent Riffard Mon, 17 Oct 2005 22:54:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 4 of 5 This patch updates the .owner field for the i2c core struct xxxx_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e78f857cc5299c3f6b3d046084696ef205948837 tree ff83d0b12d252becaa211f99da5b9e1f9c74f9b7 parent 0cf3628181660be4e21fe520766dcbc3da9d71c8 author Laurent Riffard Mon, 17 Oct 2005 22:53:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 3 of 5 This patch updates the .owner field for various struct xxxx_driver variables which are available on PPC_MAC arch. This one was _not_ even compile-tested... Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0cf3628181660be4e21fe520766dcbc3da9d71c8 tree 0537200cc49c93bb2d2f3630f589ff2b87718f91 parent ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 author Laurent Riffard Mon, 17 Oct 2005 22:51:37 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 2 of 5 This patch updates the .owner field for various struct xxxx_driver variables, other than pci_driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Ben Dooks Acked-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 tree da13f4e66aeb206019d5a1a5796b5a30ac65da7d parent fe3d6a99782d5345b1927e872d77d1778668094b author Laurent Riffard Mon, 17 Oct 2005 22:47:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 1 of 5 This patch updates .owner field for various struct pci_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fe3d6a99782d5345b1927e872d77d1778668094b tree d275d3abee80c0ec19193350ede05308697b51fe parent 3634ff6a32e90d9db0ec19297e80059143c1aa7f author Stig Telfer Sat, 08 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Big i2c-elektor cleanup Cleanups to the i2c-elektor driver: * Set the i2c_adapter name field to "i2c-elektor" and use this string in all resource requests and printks. * Change space-padding for tab indentation, kill trailing white space, remove space before comma. * Use dev_info, pr_info and pr_debug instead of printk. * Lines chopped to 80 columns. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3634ff6a32e90d9db0ec19297e80059143c1aa7f tree c07cf34e839b70d9ab1c604b179943b199d542f3 parent 00bffb6e29c5ef12cea7904905f8b959187076c9 author Stig Telfer Sat, 08 Oct 2005 00:21:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Fix i2c-elektor on Alpha This patch updates the i2c-elektor driver, enabling it to compile cleanly, load and run. The key change is that it uses the new __iomem/iowrite8/ioread8 functions to abstract the direct or memory-mapped variants of register access. Also, the original driver would crash on module load on the Alpha because the PCI memory region was not remapped into kernel memory. I have managed the following testing: * compiled and tested it on my Alpha UP2000+ system. * compiles cleanly for x86 but I don't have the hardware to test. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 00bffb6e29c5ef12cea7904905f8b959187076c9 tree 76da2f90a3ae3bd697cfbe8d7be358e9892b4f89 parent 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 author Jean Delvare Sat, 08 Oct 2005 00:19:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop meaningless use of I2C_DF_NOTIFY in i2c_client structures I2C_DF_NOTIFY is an i2c_driver flag, using it as an i2c_client flag doesn't make any sense. Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 tree ee63ddf9651ae49a2b48615135ea338ba9e12bb9 parent 30dac7469741906436b50f9413dccd446366d371 author Jean Delvare Sat, 08 Oct 2005 00:17:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Rename i2c-parport variable to avoid confusion It's a bit confusing to name a variable the same as an unrelated structure. The compiler doesn't complain, but it certainly makes the code harder to understand, and could confuse grep and LXR among others. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 30dac7469741906436b50f9413dccd446366d371 tree b5285192cd8b4274781d2dabd3bf89ceefadba82 parent d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e author Jean Delvare Sat, 08 Oct 2005 00:15:59 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX Drop I2C_SMBUS_I2C_BLOCK_MAX, use I2C_SMBUS_BLOCK_MAX instead. I2C_SMBUS_I2C_BLOCK_MAX has always been defined to the same value as I2C_SMBUS_BLOCK_MAX, and this will never change: setting it to a lower value would make no sense, setting it to a higher value would break i2c_smbus_data compatibility. There is no point in changing i2c_smbus_data to support larger block transactions in SMBus mode, as no SMBus hardware supports more than 32 byte blocks. Thus, for larger transactions, direct I2C transfers are the way to go. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e tree 34015428b2b1eee320130b7fea86504ff41834d0 parent 862bc36f682b25dd97833f702b4f8c97661b8811 author Jean Delvare Sat, 08 Oct 2005 00:14:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop unused per-i2c-algorithm adapter max There are no more per-i2c-algorithm adapter max. Last time there were was in July 1999. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 862bc36f682b25dd97833f702b4f8c97661b8811 tree bdafe5326e72ec7cc9a677746ca7332ae73e7bd3 parent 91749996287c230671788014f422f72e594e7b86 author Jean Delvare Sat, 08 Oct 2005 00:12:01 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] hwmon: Drop useless w83627hf initialization step Drop a useless initialization step in the w83627hf driver. The comment says that the W83627HF PWM2 can be disabled, but it can't. I suppose this is a leftover from the w83781d driver (from which the w83627hf driver is derived), as for example the W83782D had the ability to disable PWM2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 91749996287c230671788014f422f72e594e7b86 tree 65da0e02eba42ad395db31e36cc673b65a2c5706 parent 80ce3b7d0f52877b80cddc3ace8b332d888f0131 author Jean Delvare Sat, 08 Oct 2005 00:10:00 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Drop legacy ISA address support from it87 Drop legacy ISA address support from the it87 driver. All supported chips are Super-I/O chips, so the device ISA address can be safely read from Super-I/O space rather than blindly assumed. Two nearby inaccurate documentation statements have been fixed as well: * The IT8705F doesn't have an SMBus interface. * The SiS950 doesn't have a distinct prefix. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 80ce3b7d0f52877b80cddc3ace8b332d888f0131 tree 8ca3be85ad953a8a9c874e1c0e805dcd7314c19a parent 31ec5bc57146a479fac6f6878146059180413e43 author Jean Delvare Sat, 08 Oct 2005 00:06:09 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop out-of-date, colliding ioctl definitions Delete 2 out-of-date, colliding ioctl defines. I2C_UDELAY and I2C_MDELAY are supposed to be used by i2c-algo-bit, but actually aren't (and I suspect never were). Moreover, their values are the same as I2C_FUNCS and I2C_SLAVE_FORCE, respectively, which *are* widely used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 31ec5bc57146a479fac6f6878146059180413e43 tree 1d07157c39a0ed694c5a2cfb97254b1a2f04d25a parent 7865e24935ec7e76fb482c749015a23052e51f76 author Jean Delvare Sat, 08 Oct 2005 00:04:13 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Fix misplaced i2c.h comment Fix a misplaced comment in i2c.h. Spotted by Hideki Iwamoto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7865e24935ec7e76fb482c749015a23052e51f76 tree 9a5fc835415cccc57ec2b7bf86365d4d6ac3f2ba parent 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 author Jean Delvare Sat, 08 Oct 2005 00:00:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Documentation fixes i2c documentation fixes. >From Hideki Iwamoto: * i2c_smbus_read_i2c_block_data is not deleted in 2.6.10. It still exists. * The name which can be set to i2c_driver is up to 31 characters. >From Jean Delvare: * Reword the paragraph about i2c_driver.name, to reflect the "new" naming policy. * Delete the out-of-date note about now gone inc_use and dec_use fields. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 tree 477c11eeef2a45ac5c7dfeb761de50b2d89eeb9d parent ada0c2f8fa087dc1dbc34e096c318739b1d6381a author Jean Delvare Fri, 07 Oct 2005 23:56:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Cleanup i2c-i801 ifdefs No more need to check for PEC support being available now that both the i2c-core and the i2c-i801 drivers are part of the Linux kernel source tree. It's just there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ada0c2f8fa087dc1dbc34e096c318739b1d6381a tree e7f80d1336e2190c138fd4226438195e2f67839d parent bf813b314a2271c3f3903eb3279ebf5e09b3d27a author Petr Vandrovec Fri, 07 Oct 2005 23:11:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Fix w83627ehf/hf vs PNPACPI conflict (bug #4014) This patch changes w83627hf and w83627ehf drivers to reserve only ports 0x295-0x296, instead of full 0x290-0x297 range. While some other sensors chips respond to all addresses in 0x290-0x297 range, Winbond chips respond to 0x295-0x296 only (this behavior is implied by documentation, and matches behavior observed on real systems). This is not problem alone, as no BIOS was found to put something at these unused addresses, and sensors chip itself provides nothing there as well. But in addition to only respond to these two addresses, also BIOS vendors report in their ACPI-PnP structures that there is some resource at I/O address 0x295 of length 2. And when later this hwmon driver attempts to request region with base 0x290/length 8, it fails as one request_region cannot span more than one device. Due to this we have to ask only for region this hardware really occupies, otherwise driver cannot be loaded on systems with ACPI-PnP enabled. Signed-off-by: Petr Vandrovec Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit bf813b314a2271c3f3903eb3279ebf5e09b3d27a tree da029880a66422cd5aebe0191287a215e9d273b0 parent e8aafcb2bba1fe122907161701a167e38174c7a5 author Jean Delvare Fri, 07 Oct 2005 23:09:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop useless CVS revision IDs CVS revision IDs are totally useless and irrelevant by now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aafcb2bba1fe122907161701a167e38174c7a5 tree 1353e18055286d52d7f4f3a1d4a5cf028f024f5f parent 8a1b028bca95b5af36e94a660c4d284fe3313f74 author Jean Delvare Fri, 07 Oct 2005 23:06:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Cleanup i2c-dev ioctl debug message Cleanup the ioctl debug message in i2c-dev. In particular, the minor number is redundant now that the minor number and the adapter number are kept in sync. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a1b028bca95b5af36e94a660c4d284fe3313f74 tree 8fc0193e66117776b4112cb9484e61a51bf48a21 parent ca68f1193e8fc86470d4222d563d13b5584dc4f8 author Jean Delvare Fri, 07 Oct 2005 23:04:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Add missing i2c-ixp2000/4xx adapter name The ixp4xx and ixp2000 i2c bus drivers omit to fill the required i2c_adapter name field. Copy the device driver name field there. Signed-off-by: Jean Delvare Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ca68f1193e8fc86470d4222d563d13b5584dc4f8 tree 6bfb26f76e4a0986bfed32080d6aa6cec45f1b38 parent ed5453e54f0c4a29605fd8399f58649d8739f5f0 author Greg KH Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Cleanup ifdef usage It's not nice to put #ifdef in the middle of functions. CC: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit ed5453e54f0c4a29605fd8399f58649d8739f5f0 tree 935b4cb15b7baefb836cc80b45c814be51a8ce8c parent 50c1cc339ca72f7cb95d440d384346f4238dc494 author Jean Delvare Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Improve register dump Improve the register dump used to debug the i2c-viapro driver. The original dump was missing the HSTSTS register and the block data buffer. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) commit 50c1cc339ca72f7cb95d440d384346f4238dc494 tree 061a3c28705b77386f9598bee2c154d688d6d4cd parent aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 author Jean Delvare Thu, 22 Sep 2005 22:15:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Refactor control outb By slightly shifting the interface between vt596_access and vt596_transaction, we can save two I/O accesses per SMBus transaction. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 tree 116946873388e7d90a70823a9211be76a9dd6316 parent c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 author Jean Delvare Thu, 22 Sep 2005 22:09:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Update supported devices list Make it clearer which chips are supported by the i2c-viapro driver, and which support I2C block transactions. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++++++------ drivers/i2c/busses/i2c-viapro.c | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 15 deletions(-) commit c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 tree 96af915d018b5145b6e57bf450f5cd29cebeca79 parent f118301416953d677de738100c33eb8cfb7adecb author Jean Delvare Thu, 22 Sep 2005 22:01:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Code cleanups Cleanups to the i2c-viapro driver: * Kill unused defines. * Kill interrupt-related code, as the driver doesn't use interrupts. * Fix broken comments (some copied from i2c-piix4.) * Centralize the unsupported command error case in vt596_access. That way we'll catch all unsupported commands, not only I2C_SMBUS_PROC_CALL. * Refactor some code. * Convert some dev_dbg into dev_err. Errors better be reported even in non-debug mode. * Do not verify that the final reset succeeded. It'll be checked at the beginning of the next transaction anyway. * Use the driver name to reserve the I/O region. * Do not print the contents of the SMBREV register, it reads 0 on all chips I've seen so far. * Some other minor fixes all over the place. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 122 +++++++++++++--------------------------- 1 file changed, 41 insertions(+), 81 deletions(-) commit f118301416953d677de738100c33eb8cfb7adecb tree 145997f9c2159d1657dcaca8c56ee93341d8b5f9 parent 5f49ef8e8cefe0a95948b4270db28507c1c287d4 author Jean Delvare Thu, 22 Sep 2005 21:58:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Implement I2C Block transactions Implement the I2C block transactions on VIA chips which support them: VT82C686B, VT8233, VT8233A, VT8235 and VT8237R. This speeds up EEPROM accesses by a factor 10 or so. I would like to thank Antonino A. Daplas, Hinko Kocevar, Salah Coronya and Andreas Henriksson for their help in testing this new feature. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 7 +++++- drivers/i2c/busses/i2c-viapro.c | 39 +++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 4 deletions(-) commit 5f49ef8e8cefe0a95948b4270db28507c1c287d4 tree ea50363d9480a9ccae000bd46633866561a62cea parent 32c0a520f506c046f241de2a3a9b02a395ef76d2 author Jean Delvare Thu, 22 Sep 2005 21:50:47 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: Coding style fixes Before I go on cleaning up and improving the i2c-viapro driver, let's fix all the coding style issues: mostly trailing white space, and spaces used where tabs should be. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++--- drivers/i2c/busses/i2c-viapro.c | 76 ++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 45 deletions(-) commit 32c0a520f506c046f241de2a3a9b02a395ef76d2 tree 4af8da918c808be2d0dc444cf96df0a829c5ccf6 parent 5c50d1885981537ff3b8df6433951de6c9cb72cb author Jean Delvare Thu, 22 Sep 2005 21:47:58 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: New maintainer I am taking over the maintenance of the i2c-viapro SMBus driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) commit 5c50d1885981537ff3b8df6433951de6c9cb72cb tree 1440c92b1716fb27a93c96fc9494aa7980421d95 parent 0f69a612f950f7508e556bf1b09390087d112115 author Hideki Iwamoto Sun, 25 Sep 2005 17:01:11 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Several PEC-related fixes in software SMBus emulation Fix several errors in I2C SMBus emulation when PEC is used: * Weird logic error in SMBus Write Word transactions. * Wrong buffer size, affecting SMBus Block Write transactions. * Potential buffer overrun in SMBus Block Write transactions. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0f69a612f950f7508e556bf1b09390087d112115 tree f27080ba61dd0f51e328c25add031c61204f1c7f parent 332bf92b3338e140cbcfc25f69911e8ca59788c7 author Jean Delvare Sun, 25 Sep 2005 16:58:22 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Minor i2c-amd8111 cleanup I noticed a useless instruction in the i2c-amd8111 driver. Signed-off-by: Jean Delvare CC: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-amd8111.c | 1 - 1 file changed, 1 deletion(-) commit 332bf92b3338e140cbcfc25f69911e8ca59788c7 tree d6d8a3ee39fc08a3bc23b76c62403dbfe0fad36d parent d057c96cab72bc6b70570d25b90404f81d98e886 author Hideki Iwamoto Sun, 25 Sep 2005 16:56:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix union i2c_smbus_data definition The i2c_smbus_data union block member has a comment stating that an extra byte is required for SMBus Block Process Call transactions. This has been true for three weeks around June 2002, but no more since, so it is about time that we drop this comment and fix the definition. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman include/linux/i2c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d057c96cab72bc6b70570d25b90404f81d98e886 tree db7b1b5403693ac84fc1b84619a2fc3317bc2176 parent 4366dc946c01305cff49b07dabb806d2364f1edb author Hideki Iwamoto Sun, 25 Sep 2005 16:53:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix I2C_FUNC_PROTOCOL_MANGLING documentation Fix the description of I2C_FUNC_PROTOCOL_MANGLING. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/functionality | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4366dc946c01305cff49b07dabb806d2364f1edb tree 0cc9f6a086d47f3b8688f2f8c8ce6d924be97d03 parent cb929eae78ec0b243dbf58039bce4af354f6020c author Jean Delvare Sun, 25 Sep 2005 16:50:06 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK Move the check for SMBUS_QUICK in i2c_probe() after the forced addresses have been handled. This makes it possible for a driver to leave the probed address lists empty, only providing forced addresses, and get i2c_probe to work even if the bus doesn't support SMBUS_QUICK. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit cb929eae78ec0b243dbf58039bce4af354f6020c tree bdd5d708bac06c95c4ff067ff8f21688e9b31143 parent 709439a284bc5b7d42a70fee7119feb186c1ca99 author Jean Delvare Sun, 25 Sep 2005 16:45:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] hwmon: Minor w83l785ts optimization Using s8 instead of u8 to store temperature register values saves a few instructions on sysfs file read. The very same was done for several other drivers a while ago (lm63, lm83, lm90...) Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 709439a284bc5b7d42a70fee7119feb186c1ca99 tree 12b41b5091cac96e2cff9d3ee878944689642616 parent d6072f842a77014220683ee5b781b7cee8f020d1 author Jean Delvare Sun, 25 Sep 2005 16:41:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: w83l785ts converted to dynamic sysfs callbacks Convert the w83l785ts driver to use dynamic sysfs callbacks. This is a small driver so the benefit is thin, but still worth it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit d6072f842a77014220683ee5b781b7cee8f020d1 tree d9409d911987815a73f6c08e1f1f67fe4d16bb3a parent 7d845b10d06fa20a595a5161edabc5e846ed28a6 author Jean Delvare Sun, 25 Sep 2005 16:37:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Reuse name strings in i2c bus drivers Clean up name string usage in 12 i2c bus drivers: * Use the i2c_adapter name for requesting the I/O region rather than redefining a new string. * Do not initialize the i2c_adapter name to "unset". This should save a few data bytes here and there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-ali1535.c | 6 +++--- drivers/i2c/busses/i2c-ali1563.c | 6 ++++-- drivers/i2c/busses/i2c-ali15x3.c | 5 +++-- drivers/i2c/busses/i2c-amd756.c | 5 ++--- drivers/i2c/busses/i2c-amd8111.c | 4 +++- drivers/i2c/busses/i2c-i801.c | 4 ++-- drivers/i2c/busses/i2c-nforce2.c | 4 ++-- drivers/i2c/busses/i2c-piix4.c | 4 ++-- drivers/i2c/busses/i2c-sis5595.c | 5 +++-- drivers/i2c/busses/i2c-sis630.c | 6 ++++-- drivers/i2c/busses/i2c-sis96x.c | 5 +++-- drivers/i2c/busses/i2c-via.c | 4 ++-- 12 files changed, 33 insertions(+), 25 deletions(-) commit 7d845b10d06fa20a595a5161edabc5e846ed28a6 tree 93082c4be645f1d7a242e34de74d343e1aa3ff46 parent 0200296310a454b39efc995e676f9ff60e641edb author Jean Delvare Sun, 25 Sep 2005 16:29:38 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard bogus comment about init setting limits Discard a common out-of-date comment in 5 hardware monitoring drivers. The hardware monitoring chip drivers are no more setting sensor limits at initialization time, for quite some time already. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/lm78.c | 1 - drivers/hwmon/via686a.c | 1 - drivers/hwmon/w83627hf.c | 1 - drivers/hwmon/w83781d.c | 1 - drivers/hwmon/w83792d.c | 1 - 5 files changed, 5 deletions(-) commit 0200296310a454b39efc995e676f9ff60e641edb tree 9567c8d36528a4118e45c4d589dc40ea4af1cc85 parent 605070952f0b41caaa211c47b02eeac703529008 author Jean Delvare Sun, 25 Sep 2005 16:26:44 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 2 hwmon drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm1021.c | 2 +- drivers/hwmon/via686a.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 605070952f0b41caaa211c47b02eeac703529008 tree 2fd15a6609ed602877164eec399fcae0919f64ea parent b918ecd2429e1a89b846d9e49ca4520b963c13e8 author Jean Delvare Sun, 25 Sep 2005 16:23:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 10 i2c drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/algos/i2c-algo-pca.c | 2 +- drivers/i2c/algos/i2c-algo-sibyte.c | 2 +- drivers/i2c/busses/i2c-ali15x3.c | 4 ++-- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-iop3xx.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 8 ++++---- drivers/i2c/busses/i2c-sis5595.c | 4 ++-- drivers/i2c/busses/i2c-sis630.c | 2 +- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) commit b918ecd2429e1a89b846d9e49ca4520b963c13e8 tree 396e8a1f2e958f713722b53c2ab68c66e9b265b3 parent e415e48b68155bea8b5452113dedba4ec486f3f6 author Jean Delvare Sun, 25 Sep 2005 16:18:49 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Do not forcibly enable via686a by default Do not enable the VIA VT82C686A/B integrated sensors by default, as disabled sensors usually means that this feature is not used so the values won't make any sense. This has been confusing many users in the past: http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1786 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1811 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=2052 It is still possible to forcibly enable the sensors by using the force_addr module parameter. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/hwmon/via686a | 17 +++++++++++++++-- drivers/hwmon/via686a.c | 18 +++++++++++------- 2 files changed, 26 insertions(+), 9 deletions(-) commit e415e48b68155bea8b5452113dedba4ec486f3f6 tree 6da1a29383371ab143d0ae5b3d5e6fd9f7d3d0fd parent 088341bd0c78143bf82ff21f7f0a715f99568c73 author Jean Delvare Sun, 25 Sep 2005 16:14:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: adm9240 whitespace cleanups This whitespace cleanup patch removes one trailing space and breaks lines longer than 80 characters. Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm9240.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 088341bd0c78143bf82ff21f7f0a715f99568c73 tree 5044d28b37f1a7f46575810e5e2bb8bcee78d965 parent c7461a6652f40ce4f8e19d7368c7a807a618fb68 author Jean Delvare Sat, 10 Sep 2005 23:00:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: via686a: save 0.5k by long v[256] -> s16 v[256] We can save 0.5kB of data in the via686a driver. From: Denis Vlasenko Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c7461a6652f40ce4f8e19d7368c7a807a618fb68 tree b70812c3be404c00d6733c0cf95a8f0bcbab0ab7 parent 205cf13e0b57500e2cc6442effa991c1a63f4db7 author Grant Coady Sat, 17 Sep 2005 05:32:57 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - dynamic sysfs hwmon: adm9240 update 2/2: convert to use dynamic sysfs accessors This patch converts adm9240 to use Yani Ioannou's dynamic sysfs callbacks, reducing driver memory footprint from 16312 to 14104 bytes on 2.6.14-rc1, removing the old driver macro mess. Run tested on Intel SE440BX-2 mobo. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 205cf13e0b57500e2cc6442effa991c1a63f4db7 tree 8519455083b045e270e0513646a76d351567b3bb parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Grant Coady Sat, 17 Sep 2005 05:32:55 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - cleanups hwmon: adm9240 update 1/2: cleanups: o remove i2c read/write wrapper interface as it does nothing, o change kmalloc + memset to kzalloc Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 406119f49d4a6cf8b6eee639128e0575a95065e3 tree 18e6717629212508d1dfd5a7c896af26bcb5412a parent 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 author Trond Myklebust Thu, 27 Oct 2005 14:46:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Ensure that 'make distclean' does not delete files in '.git' Currently, 'make distclean' causes stgit to barf since it may delete files in .git/patches. We really shouldn't allow 'make distclean' anywhere near .git... Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 tree 2b74bb4c3d7da82abe39ec2992ac951d3effa1b2 parent 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 author Peter Osterlund Fri, 28 Oct 2005 20:23:39 +0200 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Fix ext3 warning for unused var Fix compile warning in ext3 quota code. Signed-off-by: Peter Osterlund Signed-off-by: Linus Torvalds commit 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 tree b9e72ed55f0c41984acbc616f934f653296fb937 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 pcmcia: add socket register data to sysfs for yenta devices It's simple, and it's a good debugging aid. Signed-off-by: Linus Torvalds commit 19c1f3ca4272008a256cc153f3e3feb097799070 tree af788b540d68396d9a94d6abf2379c1efc8e4e08 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Pierre Ossman Fri, 28 Oct 2005 21:37:29 +0100 committer Russell King Fri, 28 Oct 2005 21:37:29 +0100 [MMC] wbsd suspend support Proper handling of suspend/resume in the wbsd driver. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 tree 5793f26d8787ee8462a0ac4316b4a07d7cfa04af parent fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f parent 59c422358d6573716f2bf2e78e5b12c20eff5a31 author Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 committer Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 Pull define-node-cleanup into release branch commit fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f tree 9e6df2bc4b9dfdc795c4ba1b0c4385fdd9635fca parent 9472d8ce147fecb80a2f29ad8ab781e596858916 parent 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 author Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 Pull sn_pci_legacy_read-write into release branch commit 9472d8ce147fecb80a2f29ad8ab781e596858916 tree 9a968623af92f932f1353f0470a4bff5a0cd4460 parent 3168c31abe0c11fd3edcefa110d6f590fe8c909f parent 463eb297401eeb174db3fdf37a87911b576b3993 author Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 Pull acpi-produce-consume into release branch commit 3168c31abe0c11fd3edcefa110d6f590fe8c909f tree 6676e3bbfd09bf8dabe7dac33dd4ed7f05a60061 parent dbcb25e621136e377dbc44bd7402e21c6641c43d parent f2b518d71636c2bda65a837b0a93c3365207a4f0 author Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 Pull update-default-configs into release branch commit dbcb25e621136e377dbc44bd7402e21c6641c43d tree f6f7cb9f415b35dbdefda8d5c1b03c3a36d26f9b parent 0ace57a96bf299f6d46fd49e3edbaf79f500d160 parent 650316f1228c0dc5e45c17765caef30db62468cd author Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 committer Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 Pull move-iosapic-to-acpi into release branch commit 84860bf0644d7c45afe7ddbd30731c3e3c371fae tree d6c4b98a9c3fd9981e7fcc5d7729c9e01e327767 parent 8caf89157d64f1eedba37113afb4b303b2b3e301 parent 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 author Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit 8caf89157d64f1eedba37113afb4b303b2b3e301 tree a72038508368f81e5b3f1b82ad14918df8c7be7a parent f12baeab9d65e2fe1b43b09b666f5efcb81b9369 parent 7038f1cbac899654cf0515e60dbe3e44d58271de author Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 committer Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit f12baeab9d65e2fe1b43b09b666f5efcb81b9369 tree 88e06b93cad95fef0ebb4a60d2b195884fe79d4f parent e89e9cf539a28df7d0eb1d0a545368e9920b34ac author Yan Zheng Sat, 29 Oct 2005 00:02:32 +0800 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:35:18 -0200 [MCAST] IPv6: Fix algorithm to compute Querier's Query Interval 5.1.3. Maximum Response Code The Maximum Response Code field specifies the maximum time allowed before sending a responding Report. The actual time allowed, called the Maximum Response Delay, is represented in units of milliseconds, and is derived from the Maximum Response Code as follows: If Maximum Response Code < 32768, Maximum Response Delay = Maximum Response Code If Maximum Response Code >=32768, Maximum Response Code represents a floating-point value as follows: 0 1 2 3 4 5 6 7 8 9 A B C D E F +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Maximum Response Delay = (mant | 0x1000) << (exp+3) 5.1.9. QQIC (Querier's Query Interval Code) The Querier's Query Interval Code field specifies the [Query Interval] used by the Querier. The actual interval, called the Querier's Query Interval (QQI), is represented in units of seconds, and is derived from the Querier's Query Interval Code as follows: If QQIC < 128, QQI = QQIC If QQIC >= 128, QQIC represents a floating-point value as follows: 0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+ QQI = (mant | 0x10) << (exp + 3) -- rfc3810 #define MLDV2_QQIC(value) MLDV2_EXP(0x80, 4, 3, value) #define MLDV2_MRC(value) MLDV2_EXP(0x8000, 12, 3, value) Above macro are defined in mcast.c. but 1 << 4 == 0x10 and 1 << 12 == 0x1000. So the result computed by original Macro is larger. Signed-off-by: Yan Zheng Acked-by: David L Stevens Signed-off-by: Arnaldo Carvalho de Melo commit e89e9cf539a28df7d0eb1d0a545368e9920b34ac tree aae6a825f351ce931fcd30f1a865ebe65227c4b8 parent de5144164f6242ccfa8c9b64eec570564f5eaf14 author Ananda Raju Tue, 18 Oct 2005 15:46:41 -0700 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:30:00 -0200 [IPv4/IPv6]: UFO Scatter-gather approach Attached is kernel patch for UDP Fragmentation Offload (UFO) feature. 1. This patch incorporate the review comments by Jeff Garzik. 2. Renamed USO as UFO (UDP Fragmentation Offload) 3. udp sendfile support with UFO This patches uses scatter-gather feature of skb to generate large UDP datagram. Below is a "how-to" on changes required in network device driver to use the UFO interface. UDP Fragmentation Offload (UFO) Interface: ------------------------------------------- UFO is a feature wherein the Linux kernel network stack will offload the IP fragmentation functionality of large UDP datagram to hardware. This will reduce the overhead of stack in fragmenting the large UDP datagram to MTU sized packets 1) Drivers indicate their capability of UFO using dev->features |= NETIF_F_UFO | NETIF_F_HW_CSUM | NETIF_F_SG NETIF_F_HW_CSUM is required for UFO over ipv6. 2) UFO packet will be submitted for transmission using driver xmit routine. UFO packet will have a non-zero value for "skb_shinfo(skb)->ufo_size" skb_shinfo(skb)->ufo_size will indicate the length of data part in each IP fragment going out of the adapter after IP fragmentation by hardware. skb->data will contain MAC/IP/UDP header and skb_shinfo(skb)->frags[] contains the data payload. The skb->ip_summed will be set to CHECKSUM_HW indicating that hardware has to do checksum calculation. Hardware should compute the UDP checksum of complete datagram and also ip header checksum of each fragmented IP packet. For IPV6 the UFO provides the fragment identification-id in skb_shinfo(skb)->ip6_frag_id. The adapter should use this ID for generating IPv6 fragments. Signed-off-by: Ananda Raju Signed-off-by: Rusty Russell (forwarded) Signed-off-by: Arnaldo Carvalho de Melo commit 7038f1cbac899654cf0515e60dbe3e44d58271de tree 73909f95989f10bd85929073395e494ceb1a6b3f parent b6a47fd8ff08a9d5cd279cdb8d97a619983575fa author Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 committer Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 JFS: make sure right-most xtree pages have header.next set to zero The xtTruncate code was only doing this for leaf pages. When a file is horribly fragmented, we may truncate a file leaving an internal page with an invalid head.next field, which may cause a stale page to be referenced. Signed-off-by: Dave Kleikamp commit 0ace57a96bf299f6d46fd49e3edbaf79f500d160 tree a86301a5c9f1e0313e6e3b79d3618dab784ef97b parent 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 parent 44c451208da397438e7062393aeb3a19ddb76a60 author Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 Pull ar-k0-usage into release branch commit 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 tree 4e50fac4d14755c2206c48999c9b6fad3c920482 parent c85749e6d1df55ca5b23cb1d220ed7df92df8d78 parent 54703d3678d13e7406d0b5aa451abb9526d53b9d author Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 Pull 1024-cpu into release branch commit c85749e6d1df55ca5b23cb1d220ed7df92df8d78 tree 1f6e41a9d85bc288447e6c71981c5515862f9879 parent 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 parent 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc author Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 Pull hp-machvec into release branch commit 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 tree 2e914c8afe019302199b5d807114e5b15835dc90 parent 9189674026e86e624b1ef1b4eb430e9ad19f9641 parent 1fa92957282e4595727c1a21bf6687ea5a2d612f author Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 Pull altix-mmr into release branch commit 9189674026e86e624b1ef1b4eb430e9ad19f9641 tree d93acb6c3b2c127e997c132db61025a5653260ec parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 parent 25732ad493b22b7d9f0d250c5a9ad17219f96a47 author Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 committer Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 Pull altix-fpga-reset into release branch commit de5144164f6242ccfa8c9b64eec570564f5eaf14 tree 56ea0f4e21ca74b14e1546e70ac92617dfb27dd1 parent 8ed575904373d7aaab7f15a8db2edc317a44df43 parent 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6 commit 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee tree e5b2594ccdad0af1901efd5f6109d9e28391e882 parent dd7f5527b3e68a7b2f715ae1a21164383f418013 author Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 [Bluetooth] Ignore additional interfaces of BPA 100/105 devices If a BPA 100/105 device contains more then one interface then ignore the additional interfaces, because they are unused. Signed-off-by: Marcel Holtmann commit dd7f5527b3e68a7b2f715ae1a21164383f418013 tree f0be8a5ab9368e24ecf59b82aa183d7b3546ec87 parent 6516455d3b42b33759a33a8102c1b8b48af4d9c9 author Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 [Bluetooth] Update security filter for Extended Inquiry Response This patch updates the HCI security filter with support for the Extended Inquiry Response (EIR) feature. Signed-off-by: Marcel Holtmann commit 6516455d3b42b33759a33a8102c1b8b48af4d9c9 tree e7395ebcfa68c4a5aa25d80e4b279313f3fdea3e parent 0372a6627f862f90a2c43772befeecef508cfd7b author Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 [Bluetooth] Make more functions static This patch makes another bunch of functions static. Signed-off-by: Marcel Holtmann commit 0372a6627f862f90a2c43772befeecef508cfd7b tree 8e2d141927ac8d63663d8c88a6a0eb7e096d8a8b parent 20dd6f59d6ea5fe47397c5254606c76b1d047727 author Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 [Bluetooth] Cleanup of the HCI UART driver This patch contains the big cleanup of the HCI UART driver. The uneeded header files are removed and their structure declarations are moved into the protocol implementations. Signed-off-by: Marcel Holtmann commit 20dd6f59d6ea5fe47397c5254606c76b1d047727 tree ffc9b0a7f3d582120c997ec4277f561f9d8c6f87 parent 408c1ce2716c7a004851c93f9f9dcf3d763bc240 author Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 [Bluetooth] Remove TXCRC compile option for BCSP driver The TXCRC compile option is not really useful and thus change it into a module parameter. Signed-off-by: Marcel Holtmann commit 408c1ce2716c7a004851c93f9f9dcf3d763bc240 tree 11e086c44c2f313e27cec46c7ad799b7614b01c9 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 [Bluetooth] Move CRC table into RFCOMM core This patch moves rfcomm_crc_table[] into the RFCOMM core, because there is no need to keep it in a separate file. Signed-off-by: Marcel Holtmann commit 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 tree c0414e89678fcef7ce3493e048d855bde781ae8d parent 1a222bca26ca691e83be1b08f5e96ae96d0d8cae parent 27d1097d39509494706eaa2620ef3b1e780a3224 author Greg KH Fri, 28 Oct 2005 10:13:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 10:13:16 -0700 Merge ../bleed-2.6 commit 8ed575904373d7aaab7f15a8db2edc317a44df43 tree 3b2e92a396a1bbec8e1fb499f25e8aed93ab5692 parent 27d1097d39509494706eaa2620ef3b1e780a3224 parent 210cc679faf0e1cabda9fc5d1279644f5e52aecb author Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 committer Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 Merge branch 'forlinus' of git://parisc-linux.org/home/kyle/git/parisc-2.6 commit 1a222bca26ca691e83be1b08f5e96ae96d0d8cae tree b9b09b285b5790ee8d38328cbffe289199abea94 parent c41455fbac06712992da491844449775cf9a8c80 author Takashi Iwai Fri, 28 Oct 2005 16:45:34 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:57 -0700 [PATCH] Fix documentation of driver suspend/resume callbacks Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman commit c41455fbac06712992da491844449775cf9a8c80 tree cb315b4afd3af2882e955dbfbf7f3828a8b2e610 parent 9480e307cd88ef09ec9294c7d97ebec18e6d2221 author Randy Dunlap Sun, 23 Oct 2005 11:59:14 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] kernel-doc: drivers/base fixes driver/base: add missing function parameters; eliminate all warnings. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 9480e307cd88ef09ec9294c7d97ebec18e6d2221 tree 967e26d3a23c24dd52b114d672312c207714308c parent a3a3395e487abc4c1371fe319a8ecbb3913a70a4 author Russell King Fri, 28 Oct 2005 09:52:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a3a3395e487abc4c1371fe319a8ecbb3913a70a4 tree 81caf424dcae1b2231946a9cebd83d5b067f32b4 parent ad7e14a55ed7648d02a4df8e460e291d80a18c98 author Jesper Juhl Thu, 13 Oct 2005 21:31:08 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] Driver Core: Big kfree NULL check cleanup - Documentation This is the Documentation/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in example code in Documentation/. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit ad7e14a55ed7648d02a4df8e460e291d80a18c98 tree 3f79fb375fd5a5145458cd77939e5826956565ac parent a1bdc7aad8b557176ccecff1da137ebe3090871e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] update required version of udev The 071 release is needed to handle the input changes. Older versions will work properly with module-based systems, but not for users that build input stuff into the kernel. Signed-off-by: Greg Kroah-Hartman commit a1bdc7aad8b557176ccecff1da137ebe3090871e tree 191866ea2adb807a9fef6305a8e745a8b3ceeea3 parent a7fadbe10ccf430e7a8add8b45c561d864087343 author Ben Dooks Thu, 13 Oct 2005 17:54:41 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] drivers/base - fix sparse warnings There are a number of sparse warnings from the latest sparse snapshot being generated from the drivers/base build. The main culprits are due to the initialisation functions not being declared in a header file. Also, the firmware.c file should include to get the prototype of firmware_register() and firmware_unregister(). This patch moves the init function declerations from the init.c file to the base.h, and ensures it is included in all the relevant c sources. It also adds to the included headers for firmware.c. The patch does not solve all the sparse errors generated, but reduces the count significantly. drivers/base/core.c:161:1: warning: symbol 'devices_subsys' was not declared. Should it be static? drivers/base/core.c:417:12: warning: symbol 'devices_init' was not declared. Should it be static? drivers/base/sys.c:253:6: warning: symbol 'sysdev_shutdown' was not declared. Should it be static? drivers/base/sys.c:326:5: warning: symbol 'sysdev_suspend' was not declared. Should it be static? drivers/base/sys.c:428:5: warning: symbol 'sysdev_resume' was not declared. Should it be static? drivers/base/sys.c:450:12: warning: symbol 'system_bus_init' was not declared. Should it be static? drivers/base/bus.c:133:1: warning: symbol 'bus_subsys' was not declared. Should it be static? drivers/base/bus.c:667:12: warning: symbol 'buses_init' was not declared. Should it be static? drivers/base/class.c:759:12: warning: symbol 'classes_init' was not declared. Should it be static? drivers/base/platform.c:313:12: warning: symbol 'platform_bus_init' was not declared. Should it be static? drivers/base/cpu.c:110:12: warning: symbol 'cpu_dev_init' was not declared. Should it be static? drivers/base/firmware.c:17:5: warning: symbol 'firmware_register' was not declared. Should it be static? drivers/base/firmware.c:23:6: warning: symbol 'firmware_unregister' was not declared. Should it be static? drivers/base/firmware.c:28:12: warning: symbol 'firmware_init' was not declared. Should it be static? drivers/base/init.c:28:13: warning: symbol 'driver_init' was not declared. Should it be static? drivers/base/dmapool.c:174:10: warning: implicit cast from nocast type drivers/base/attribute_container.c:439:1: warning: symbol 'attribute_container_init' was not declared. Should it be static? drivers/base/power/runtime.c:76:6: warning: symbol 'dpm_set_power_state' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a7fadbe10ccf430e7a8add8b45c561d864087343 tree c54c302ecc09c0aa80f462953d82f00a1b0afc64 parent c9bcd582dfeec845b83bc948a430c9958bf839e6 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:57 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] input core: remove custom-made hotplug handler Input: remove custom-made hotplug handler Now that all input devices are registered with sysfs we can remove old custom-made hotplug handler and crate a standard one. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c9bcd582dfeec845b83bc948a430c9958bf839e6 tree d17bffdfc868aa355ebd9cc56d1eeb481c0b80d8 parent ea9f240bd819f9299703283e5326da606bbb4b05 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: Create symlinks for backwards compatibility This creates symlinks in /sys/class/input/ to the nested class devices to help userspace cope with the nesting. Unfortunatly udev still needs to be updated as it can't handle symlinks properly here :( Signed-off-by: Greg Kroah-Hartman commit ea9f240bd819f9299703283e5326da606bbb4b05 tree 68b83a2a093a332c8fda8dfc695c73ebe084b014 parent b0fdfebb205fcbf394c3db39679a766b8fc4f07d author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: rename input_dev_class to input_class to be correct. Signed-off-by: Greg Kroah-Hartman commit b0fdfebb205fcbf394c3db39679a766b8fc4f07d tree 4f3c84c075c5ebd13b2c0a9bf9823df90358907b parent 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: remove the input_class structure, as it is unused. Signed-off-by: Greg Kroah-Hartman commit 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f tree 1f4d97255d27ac036e682b882f792afaf8c3ef53 parent 967ca692161d8c4e894932599592af8d62c0a895 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: Fix oops when accessing sysfs files of nested input devices Signed-off-by: Greg Kroah-Hartman commit 967ca692161d8c4e894932599592af8d62c0a895 tree d1cb14bddd9484c0f9e58e9dd52881f172e235b9 parent 23d50901617c2a8bdef509279a42d2e90f523db9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: move the input class devices under their new input_dev devices Signed-off-by: Greg Kroah-Hartman commit 23d50901617c2a8bdef509279a42d2e90f523db9 tree 9e8602bb82cbd2d56738fb93d34594d02e8d0476 parent 102040204f1949562406b72007c14a2a241cb0d9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: export input_dev_class so that input drivers can use it. Signed-off-by: Greg Kroah-Hartman commit 102040204f1949562406b72007c14a2a241cb0d9 tree 3ede0afbcb9182f346f5b61592005ad553c8e4d7 parent 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: register the input class device sooner This is needed so we can actually use the class device within the input handlers. Signed-off-by: Greg Kroah-Hartman commit 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 tree c195b9268e80d9e533386f7160abbc3531662f71 parent 051b2feaa4a92592d160dcb8715cc4a5faaaa52f author Dmitry Torokhov Thu, 15 Sep 2005 02:01:55 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: export input_dev data via sysfs attributes Input: export various input device attributes via sysfs The following structure is exported: input0/ |-- name |-- phys |-- uniq |-- id/{bustype|vendor|product|version} `-- capabilities/{ev|abs|rel|key|led|msc|ff|sw} Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 051b2feaa4a92592d160dcb8715cc4a5faaaa52f tree 25193f78dd47029b6e6ac13ab8f8a1f6b10db8d2 parent 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:54 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: show sysfs path in /proc/bus/input/devices Input: show sysfs path in /proc/bus/input/devices Show that sysfs and phys path are different objects. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb tree 54adf58d59b5d95f5a0e68d27ebd88a8529564bb parent 34abf91f4036c01669e298e649b7ba85cadf82eb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:49 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert sound/ppc/beep to dynamic input_dev allocation Input: convert sound/ppc/beep to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 34abf91f4036c01669e298e649b7ba85cadf82eb tree fa17affbf6f71c9759110ceac41f9897b61b6d1c parent 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:40 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert net/bluetooth to dynamic input_dev allocation Input: convert net/bluetooth to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b tree 261580f0229e6365f044cd26925dfb2735e0754d parent 0259567ad60df13a55583b84d2cddb5526705907 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:52 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/joystick: convert to dynamic input_dev allocation Input: convert drivers/input/joystick to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 0259567ad60df13a55583b84d2cddb5526705907 tree 232e066c323f82bf5063538d89e847f05317f79b parent c7f7a569d9b4ea7c53ab6fcd1377895312d8372b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:42 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert konicawc to dynamic input_dev allocation Input: convert konicawc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c7f7a569d9b4ea7c53ab6fcd1377895312d8372b tree 554febf346b80a93c8dad5dff57fa60c4ea675b8 parent b7df3910c1298fee8ed7b9dfd2da74b85df5539c author Dmitry Torokhov Thu, 15 Sep 2005 02:01:41 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert drivers/macintosh to dynamic input_dev allocation Input: convert drivers/macntosh to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b7df3910c1298fee8ed7b9dfd2da74b85df5539c tree 1948ee697c23a384dd0be625ebeee13062d73882 parent 76b7cddfd576331761e945a508254abad11039e9 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:53 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/media: convert to dynamic input_dev allocation Input: convert drivers/media to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 76b7cddfd576331761e945a508254abad11039e9 tree 83872a999a710df1de5ded7acf966dd2a4221121 parent 88789672424375882166df86adde9dd77ead630e author Dmitry Torokhov Thu, 15 Sep 2005 02:01:51 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert driver/input/misc to dynamic input_dev allocation Input: convert driver/input/misc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 88789672424375882166df86adde9dd77ead630e tree e8276230a2add44082522e94545ccd784b55a554 parent b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:43 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert onetouch to dynamic input_dev allocation Input: convert onetouch to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 tree 01f69d80d4d9c75ce88e5f26d373a4a7b38fbe36 parent eca1ed196cd5b523c1057204cd3672555ad58dfe author Dmitry Torokhov Thu, 15 Sep 2005 02:01:50 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert sonypi to dynamic input_dev allocation Input: convert sonypi to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit eca1ed196cd5b523c1057204cd3672555ad58dfe tree bf60f0c3ab6cbaf3235fe01387009e7df4b0926c parent bd622663192e8ebebb27dc1d9397f352a82d2495 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:46 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/touchscreen: convert to dynamic input_dev allocation Input: convert drivers/input/touchscreen to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit bd622663192e8ebebb27dc1d9397f352a82d2495 tree b7d8e7ca6318e08238fb49dc1906b9f155daa115 parent c5b7c7c395a34f12cdf246d66c1feeff2933d584 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:48 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: convert ucb1x00-ts to dynamic input_dev allocation Input: convert ucb1x00-ts to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c5b7c7c395a34f12cdf246d66c1feeff2933d584 tree 8af335c30bb92991f4bfd8251de4fed9907b07bd parent 3c42f0c3dde8feb59fc87df45cadb847d5511c0a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:47 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/usb/input: convert to dynamic input_dev allocation Input: convert drivers/iusb/input to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 3c42f0c3dde8feb59fc87df45cadb847d5511c0a tree e4f9f644473c3d9c7fe78f5df68bc42c8fa5850e parent 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace author Dmitry Torokhov Thu, 15 Sep 2005 02:01:45 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace tree 059a2078d7b11713cad4675a9d8a062337957102 parent d19fbe8a763634395d4bef40fc88cdb61c4a6274 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:44 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/mouse: convert to dynamic input_dev allocation Input: convert drivers/input/mouse to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit d19fbe8a763634395d4bef40fc88cdb61c4a6274 tree 476cedefc829d1523507aebb2093b0d3b58469b0 parent 4f00469c16b86a3dd6ed66b28c605c8430d58eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:39 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: prepare to sysfs integration Input: prepare to sysfs integration Add struct class_device to input_dev; add input_allocate_dev() to dynamically allocate input devices; dynamically allocated devices are automatically registered with sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 4f00469c16b86a3dd6ed66b28c605c8430d58eeb tree 2129fe4c1914c69d2f5acdd07c112a92a6b59339 parent 74be227f728ed68bfc270153665b43fc1f0fa845 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: kill devfs references Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 74be227f728ed68bfc270153665b43fc1f0fa845 tree c10fbdaa10a57162885881e080ac1cee71c0d9c1 parent 53f4654272df7c51064825024340554b39c9efba author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: document struct class_device properly Signed-off-by: Greg Kroah-Hartman commit 53f4654272df7c51064825024340554b39c9efba tree e3e7b82a6bb0040ffbd267b250be2720704b98f2 parent 51d172d5f3a193e4b8f76179b2e55d7a36b94117 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: fix up all callers of class_device_create() The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman commit 51d172d5f3a193e4b8f76179b2e55d7a36b94117 tree 4bb508d85d9de2588235caddf197da57a47b5d6e parent a7fd67062efc5b0fc9a61368c607fa92d1d57f9e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver Core: add the ability for class_device structures to be nested This patch allows struct class_device to be nested, so that another struct class_device can be the parent of a new one, instead of only having the struct class be the parent. This will allow us to (hopefully) fix up the input and video class subsystem mess. But please people, don't go crazy and start making huge trees of class devices, you should only need 2 levels deep to get everything to work (remember to use a class_interface to get notification of a new class device being added to the system.) Oh, this also allows us to have the possibility of potentially, someday, moving /sys/block into /sys/class. The main hindrance is that pesky /dev numberspace issue... Signed-off-by: Greg Kroah-Hartman commit a7fd67062efc5b0fc9a61368c607fa92d1d57f9e tree 8b91f198640608bd99f4e4764394e5134220abcf parent d8539d81aeee4dbdc0624a798321e822fb2df7ae author Kay Sievers Sat, 01 Oct 2005 14:49:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] add sysfs attr to re-emit device hotplug event A "coldplug + udevstart" can be simple like this: for i in /sys/block/*/*/uevent; do echo 1 > $i; done for i in /sys/class/*/*/uevent; do echo 1 > $i; done for i in /sys/bus/*/devices/*/uevent; do echo 1 > $i; done Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit d8539d81aeee4dbdc0624a798321e822fb2df7ae tree 3fc46e80f2fdec0a7ca714dfa3fb8f08648d3bb8 parent 7bd7b091429705eb281d60c553cc643aada8045a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:36 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver core: pass interface to class interface methods Driver core: pass interface to class intreface methods Pass interface as argument to add() and remove() class interface methods. This way a subsystem can implement generic add/remove handlers and then call interface-specific ones. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 7bd7b091429705eb281d60c553cc643aada8045a tree 09f4559ad780b81a3c3a72a5d8d1d3278b01807b parent 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 author Dmitry Torokhov Thu, 29 Sep 2005 00:40:07 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: remove i2o_device_class I2O: cleanup - remove i2o_device_class I2O devices reside on their own bus so there should be no reason to also have i2c_device class that mirros i2o bus. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 tree c2cf3566c79d9879270a6f0a3c119065785183dc parent 4f5ca09e0b854a29b17401f59487664ae3b21aa4 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: Clean up some pretty bad driver model abuses in the i2o code Signed-off-by: Greg Kroah-Hartman commit 4f5ca09e0b854a29b17401f59487664ae3b21aa4 tree 8ad3a3785a73b2f993392b2ef32d4079f1d79768 parent dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa author Dmitry Torokhov Thu, 15 Sep 2005 02:01:32 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] I2O: remove class interface I2O: remove i2o_device_class_interface misuse The intent of class interfaces was to provide different 'views' at the same object, not just run some code every time a new class device is registered. Kill interface structure, make class core register default attributes and set up sysfs links right when registering class devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa tree 56e46e581e95ae3bc8ca5473b4fd147c8b6d1f03 parent b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:37 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] Driver core: send hotplug event before adding class interfaces Move call to kobject_hotplug() above code that adds interfaces to a class device, otherwise children's hotplug events may reach userspace first. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b tree 738e4214f3168544bfcde2c46e369b3da5845dfe parent 0ac85241ebc7bf6b86ab498960cc121d53ef69ae author David Brownell Mon, 12 Sep 2005 19:39:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] usb device wakeup flags This patch teaches "usb_device" about the new driver model wakeup support: - It updates device wakeup capabilities when entering a configuration with the WAKEUP attribute; - During suspend processing it consults the policy bit to see whether it should enable wakeup for that device. (This resolves a FIXME to not assume the answer is always "yes"; some devices lie about supporting remote wakeup.) Support for root hubs and the HCDs is separate (and more complex). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0ac85241ebc7bf6b86ab498960cc121d53ef69ae tree 8b5d9d5a3e475c49d771d1a4bd597ea561331ff7 parent 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 author David Brownell Mon, 12 Sep 2005 19:39:34 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] driver model wakeup flags This is a refresh of an earlier patch to add "wakeup" support to the PM core model. This provides per-device bus-neutral control of the use of wakeup events. * "struct device_pm_info" has two bits that are initialized as part of setting up the enclosing struct device: - "can_wakeup", reflecting hardware capabilities - "may_wakeup", the policy setting (when CONFIG_PM) * There's a writeable sysfs "wakeup" file, with one of two values: - "enabled", when the policy is to allow wakeup - "disabled", when the policy is not to allow it - "" if the device can't currently issue wakeups By default, wakeup is enabled on all devices that support it. If its driver doesn't support it ... treat it as a bug. :) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 tree 1808e0383651b708d22038756f87796b5806a9fc parent 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea author Erik Hovland Thu, 06 Oct 2005 10:47:49 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] changes device to driver in porting.txt The document porting.txt in Documentation/driver-model says: When a device is successfully bound to a device I think it should say: When a device is successfully bound to a driver Signed-off-by: Greg Kroah-Hartman commit 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea tree 4b60b003d447d63a370564a7059ed2b91b7f119f parent d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf author Erik Hovland Thu, 06 Oct 2005 10:45:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] kobject_uevent.c has a typo in a comment This patch changes trough to through in a comment in kobject_uevent.c. Signed-off-by: Greg Kroah-Hartman commit d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf tree e7983a7c7dce4213431a1b951d3d803167ed41f9 parent 3dc7c555636e46bb64b4da3570a345f4b247eaf0 author Will Dyson Fri, 16 Sep 2005 02:55:07 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] add sysfs support for ide tape I was recently given an old Travan tape drive and asked to do something useful with it. The ide-scsi + st (+serverworks ide controller) combo results in a hard lockup of the machine which I have not had the energy to debug, so I turned to ide-tape (which seems to work). The system in question debian stable, using udev to manage /dev. The following patch to ide-tape.c allows udev to create the cdev nodes for my drive. Cc: Gadi Oxman Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3dc7c555636e46bb64b4da3570a345f4b247eaf0 tree 9ef2a3d1fff7584bf8ffc4513500e4af580d2fb7 parent 475172fb18853c31c24a8519b06a3bd5712b2cfe author Ed L. Cashin Thu, 29 Sep 2005 12:47:55 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] aoe: update to version 14 Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman Update driver version number to 14. commit 475172fb18853c31c24a8519b06a3bd5712b2cfe tree 2a2d7be04f20f9c3a2d133eaa37d33797d7e27da parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ed L. Cashin Thu, 29 Sep 2005 12:47:40 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:49 -0700 [PATCH] aoe: use get_unaligned for accesses in ATA id buffer Signed-off-by: "Ed L. Cashin" Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Use get_unaligned for possibly-unaligned multi-byte accesses to the ATA device identify response buffer. commit 27d1097d39509494706eaa2620ef3b1e780a3224 tree 69782da9f8f2e5fcf20fa7ce11832085825563af parent 83928e17b92b7a667bfe674f1b330619adc2ac88 parent 8573b80f020dce7aefa3237f1e932d562b65323d author Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 83928e17b92b7a667bfe674f1b330619adc2ac88 tree bdfc0fd037ad1380d75cefa0e47be24e344d977c parent 9be16a03928642f944915b8c05945fd87b7a15cb parent 50f4c001bc1534db77663592496204ceba151e97 author Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm Minor manual fixups for gfp_t clashes. commit 210cc679faf0e1cabda9fc5d1279644f5e52aecb tree f0816c90ae937a159f8bfec6018a6271223b954a parent e0f998930eb67c49f2862c58a45262ad0bc03eca parent 260b23674fdb570f3235ce55892246bef1c24c2a author Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 committer Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 Auto-update from upstream commit 9be16a03928642f944915b8c05945fd87b7a15cb tree 85bc5a5886e9873a7f424012de3bd908a70ab115 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e parent cb650116a030dd5cf12f30651e29ceb990d42e4a author Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 Merge branch 'sx8' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 commit 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e tree 73924189ef46511301d004946fbdd9937b00c484 parent e5dfa9282f3db461a896a6692b529e1823ba98c6 parent 26ba2a7a9f4d8921f095af646a7d22c15a148028 author Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit e5dfa9282f3db461a896a6692b529e1823ba98c6 tree 574d23cebc57c657373b0e1b6692c047aba8dd6e parent 5dd962494f76fb3ef1196cd420b5d6260d7a3766 parent b2ab040db85835e54c7559533df7f85902617926 author Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 5dd962494f76fb3ef1196cd420b5d6260d7a3766 tree f6eda4fcea880e420420a2886b84ad35a6b00f28 parent 28d721e24c88496ff8e9c4a0959bdc1415c0658e parent 772eca7825358f52cf208afd7ab8ce22722ce41a author Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-block Manual fixup for trivial "gfp_t" changes. commit 28d721e24c88496ff8e9c4a0959bdc1415c0658e tree 0652161bbbcbfddf47c7ddb25d2db8ecd4cbec89 parent 0ee40c6628434f0535da31deeacc28b61e80d810 parent cb19833dccb32f97cacbfff834b53523915f13f6 author Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 Merge branch 'generic-dispatch' of git://brick.kernel.dk/data/git/linux-2.6-block commit 0ee40c6628434f0535da31deeacc28b61e80d810 tree 2873b9c932a63943fad22617b8385866e45347f5 parent 236fa08168dd82af29a76c31c40b4148403774c0 parent 2824bc9328467127083c1325f54b67d298c333b2 author Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block commit 50f4c001bc1534db77663592496204ceba151e97 tree 5391f9f8728bd489a5eaa1523e6c198e537db1ba parent 049eb3298a832a63c55bc8d8ea4cc881ab99f84b author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3042/1: AAED-2000 - LCD panel informations Patch from Bellido Nicolas The AAED-2000 is equiped with an 640x480 LCD. This adds the parameters that will be passed to the AAEC-2000 platform code. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 049eb3298a832a63c55bc8d8ea4cc881ab99f84b tree 93de3e93882c8e44ec9bd469c58bd999c12914d0 parent 4224b67c9a1d6cbf47b073970bd2db5a89557f92 author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3041/1: AAEC-2000 - CLCD controller platform glue Patch from Bellido Nicolas The AAEC-2000 has an ARM PrimeCell PL110 Color LCD Controller. This patch contains the platform glue that will be used by specific boards. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4224b67c9a1d6cbf47b073970bd2db5a89557f92 tree c2e37463f5844f2f64dcfc8aff4620d903c6e647 parent 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 author Bellido Nicolas Fri, 28 Oct 2005 16:51:43 +0100 committer Russell King Fri, 28 Oct 2005 16:51:43 +0100 [ARM] 3040/1: AAEC-2000 - Preliminary clock interface support Patch from Bellido Nicolas Here is a preliminary clock interface support for the AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 tree 6b4a49b970dcc2091eb4e536744a36559d50b441 parent f0904e29369a940080487fece700e59295196d79 author Bellido Nicolas Fri, 28 Oct 2005 16:51:42 +0100 committer Russell King Fri, 28 Oct 2005 16:51:42 +0100 [ARM] 3039/1: AAEC-2000 - Add MTD support Patch from Bellido Nicolas This adds platform code for MTD devices on AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit f0904e29369a940080487fece700e59295196d79 tree bb024b7a1ac225d1221d91e57ee0a7eea4a782f6 parent 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f author Bellido Nicolas Fri, 28 Oct 2005 16:51:41 +0100 committer Russell King Fri, 28 Oct 2005 16:51:41 +0100 [ARM] 3038/1: AAEC-2000 - Proper includes in hardware.h Patch from Bellido Nicolas linux/config.h is not necessary in hardware.h, while asm/sizes.h and asm/arch//aaec2000.h will be used later. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f tree 03d87c15a85caaf918e40abc8ab0245a37b362ad parent 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3037/1: AAED-2000 - Add defines for GPIO registers on external port. Patch from Bellido Nicolas The AAED-2000 board has GPIO pins on an external port. This patch adds the defines, and do the necessary mapping. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba tree 5aa42a89be27a05d77e17920e3fd566669b23051 parent 6f475c0133eb91c7df3b056843dc33d2824368a2 author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3036/1: AAEC-2000 - Add defines for GPIO registers Patch from Bellido Nicolas Add defines for GPIO registers on the AAEC-2000 processor. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 236fa08168dd82af29a76c31c40b4148403774c0 tree 73456604747ede3536a5b851ce4615aab96237f7 parent 260b23674fdb570f3235ce55892246bef1c24c2a parent dcab5e1eeccf5e226c771ecc013631cde157435f author Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.15 commit 6f475c0133eb91c7df3b056843dc33d2824368a2 tree 051e35468fb1965c72e6fa5b679fac48975508b8 parent a999cb04b4bfb4a2243383f00d5714b8d7163035 author Nicolas Pitre Fri, 28 Oct 2005 16:39:33 +0100 committer Russell King Fri, 28 Oct 2005 16:39:33 +0100 [ARM] 2897/2: PXA2xx IRDA support Patch from Nicolas Pitre This is the PXA2xx common IRDA driver, plus platform support for Lubbock and Mainstone. Signed-off-by: Nicolas Pitre Acked-by: Jean Tourrilhes Signed-off-by: Russell King commit a999cb04b4bfb4a2243383f00d5714b8d7163035 tree 951b848e666ed00b90c2ac55bce1b2664dd51c27 parent dd5b295ff880d5a0699a52f84106f16702c298f2 author Nicolas Pitre Fri, 28 Oct 2005 16:35:46 +0100 committer Russell King Fri, 28 Oct 2005 16:35:46 +0100 [ARM] 3035/1: RISCOS compat code fix Patch from Nicolas Pitre From: Daniel Jacobowitz > I also fixed a bug that confused me greatly while trying to debug: one > SIGILL has long been a SIGSEGV because of some broken RISCOS > compatibility code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8573b80f020dce7aefa3237f1e932d562b65323d tree 46942f2fb052072b44bee5d98a4222f31374c6a5 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Erik Hovland Fri, 28 Oct 2005 16:28:04 +0100 committer Russell King Fri, 28 Oct 2005 16:28:04 +0100 [ARM] 3031/1: fix typos in comments of mmc.h Patch from Erik Hovland I noticed that the same typo (i before c in associated) showed up twice in the file kernel/include/linux/mmc/mmc.h. This patch fixes both of the instances I found with this mistake. The typos are in comments and should have no affect on working code. E Signed-off-by: Erik Hovland Signed-off-by: Russell King commit dd5b295ff880d5a0699a52f84106f16702c298f2 tree 2d2039394e0751034751b72887b1d2b66ed6166d parent d9e29649875df82828167dd45c802d942db863ba author Jon Ringle Fri, 28 Oct 2005 16:27:24 +0100 committer Russell King Fri, 28 Oct 2005 16:27:24 +0100 [ARM] 2921/1: Support for the RTC / nvram on the Comdial MP1000 Patch from Jon Ringle This adds support for the RTC and nvram on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit d9e29649875df82828167dd45c802d942db863ba tree 8ce0d5d46bde4a92e212aabe18a3a86f508c8fd4 parent 80a18573cea2e6d8e95abe4d42bfc5f97761999a author Matt Reimer Fri, 28 Oct 2005 16:25:02 +0100 committer Russell King Fri, 28 Oct 2005 16:25:02 +0100 [ARM] 3029/1: Add HWUART support for PXA 255/26x Patch from Matt Reimer Adds support for HWUART on PXA 255 / 26x. This patch originally came from http://svn.rungie.com/svn/gumstix-buildroot/trunk/sources/kernel-patches/000-gumstix-hwuart.patch and has been tweaked by me. Signed-off-by: Matt Reimer Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 80a18573cea2e6d8e95abe4d42bfc5f97761999a tree 169773f6b106c22e9df10d14a14f538299915b51 parent 917f68f8163eb877a6d71c5b446ee236645c2944 author Todd Poynor Fri, 28 Oct 2005 16:25:01 +0100 committer Russell King Fri, 28 Oct 2005 16:25:01 +0100 [ARM] 2787/2: PXA27x low power modes support Patch from Todd Poynor Add symbols for PXA2xx PWRMODE register M field that selects low-power mode, replace unadorned constants. Honor power mode parameter of pxa_cpu_suspend(mode), no longer force to 3 (sleep). Full Deep Sleep low-power mode support for PXA27x is pending generic PM interfaces to select more than 2 suspend-to-RAM-style power modes, but this is expected soon. This can be hardcoded in the meantime by replacing the pxa_cpu_suspend() parameter value. From David Burrage and Todd Poynor. Try #2 removes one of the register copies and moves the code to save the pxa_cpu_suspend parameter to immediately surround the call that requires the parameter value be preserved. Signed-off-by: Todd Poynor Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 917f68f8163eb877a6d71c5b446ee236645c2944 tree d4bab9fc7a2022d9f068ae6c0ca42575ffd4ba08 parent 0b83f1400fa6e5f0d4afcff033628a16c163862a author Jon Ringle Fri, 28 Oct 2005 16:19:38 +0100 committer Russell King Fri, 28 Oct 2005 16:19:38 +0100 [ARM] 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000 Patch from Jon Ringle This patch gives support for the CS8900A ethernet chip on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 0b83f1400fa6e5f0d4afcff033628a16c163862a tree c6fa01fd5a8d156b415ba9203f8ad349165de8ec parent b57235215933d5fde4013e2448223b934b4ac2b7 author Jon Ringle Fri, 28 Oct 2005 16:19:37 +0100 committer Russell King Fri, 28 Oct 2005 16:19:37 +0100 [ARM] 2918/1: [update] Base port of Comdial MP1000 platfrom Patch from Jon Ringle Updated 2898/1 per comments: - Removed fixup - Moved code in mach-mp1000/ to mach-clps711x/ - Cleaned up code in mp1000-seprom.c. Eliminated code that displayed the contents of the eeprom Please comment. Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 260b23674fdb570f3235ce55892246bef1c24c2a tree 471e7b546cbf1f7ee4a165e5bd9a2de0770e53be parent c4cdd038318863e912e9b992489f61497f98b442 author Al Viro Fri, 21 Oct 2005 03:22:44 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: the rest zone handling, mapping->flags handling Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c4cdd038318863e912e9b992489f61497f98b442 tree 07ebd1d1d5d27be8adcca5b81991af077f6044f8 parent b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca author Al Viro Fri, 21 Oct 2005 03:22:39 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca tree 51c609f9a954cd5d4732c4b512f9ff2e19546d47 parent 9e24974db6b01ec067c24de09588282b6a1407f0 author Al Viro Fri, 21 Oct 2005 03:22:34 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of drivers/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9e24974db6b01ec067c24de09588282b6a1407f0 tree 5ed1cc85738f76bfab07e61df84f55e35d642aca parent 53f9fc93f90a43701d6aaf3919be0614bb088b83 author Al Viro Fri, 21 Oct 2005 03:22:29 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: drivers/net Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 53f9fc93f90a43701d6aaf3919be0614bb088b83 tree b86e4ef9ef7ae1f54b64d19ca1e35c3607c36845 parent 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 author Al Viro Fri, 21 Oct 2005 03:22:24 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of arch/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 tree b024df98dcbe0bc28c967559da27a14254698887 parent 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 author Al Viro Fri, 21 Oct 2005 03:22:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: sound Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 tree a76309b353fc5c04eca8f6b5753b65e68f00c4d3 parent c53033f6b0bd7cc133b7f433083f0394cf29ac70 author Al Viro Fri, 21 Oct 2005 03:22:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/infiniband Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c53033f6b0bd7cc133b7f433083f0394cf29ac70 tree 0e53b6f65b41f69de987e6b2a96248218933d497 parent 9796fdd829da626374458e8706daedcc0e432ddd author Al Viro Fri, 21 Oct 2005 03:22:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/scsi Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9796fdd829da626374458e8706daedcc0e432ddd tree a0b4af7f45267cdcdfb677c2167906c6ef981b76 parent 55016f10e31bb15b85d8c500f979dfdceb37d548 author Al Viro Fri, 21 Oct 2005 03:22:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: kernel/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55016f10e31bb15b85d8c500f979dfdceb37d548 tree 39bbbd7deb4a61e6c7d3ace28de8e069ffe407bc parent 970a9e73f9036ef89d46b8240f99463f6d244c1d author Al Viro Fri, 21 Oct 2005 03:21:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: drivers/usb Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 970a9e73f9036ef89d46b8240f99463f6d244c1d tree 0a55b5f311024661468a96fb01cb1063816f8d95 parent 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 author Al Viro Fri, 21 Oct 2005 03:21:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (simple cases) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 tree eac92d644ee7a11538f52017756687a755d48ee5 parent f80aabb03a33702d934fbc3c02fd96471816d82e author Al Viro Fri, 21 Oct 2005 03:21:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (xtensa) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f80aabb03a33702d934fbc3c02fd96471816d82e tree 05e8dfb302367349d16f45269e28cb77858392fb parent 6dae2c2306684d9e76a04c22dc090380a9009f12 author Al Viro Fri, 21 Oct 2005 03:21:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (amd64) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6dae2c2306684d9e76a04c22dc090380a9009f12 tree f15fae33cf83d5e3eb57a3399cd61da59adb1ba5 parent e82dd4d6472304495afa271b2f63b572868b23d9 author Al Viro Fri, 21 Oct 2005 03:21:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (sh) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e82dd4d6472304495afa271b2f63b572868b23d9 tree 9b3dec842d9e8ff932392c723fd61580a3bcfc39 parent 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 author Al Viro Fri, 21 Oct 2005 03:21:33 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (ppc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 tree fcd42c30e7d7f4663702afdc94d252610a537300 parent 185a8ff52875d8db31b9346ab186f75baa616dee author Al Viro Fri, 21 Oct 2005 03:21:28 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (parisc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 185a8ff52875d8db31b9346ab186f75baa616dee tree c139d90dae1184917abdb35f5f3c2514c688390d parent a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb author Al Viro Fri, 21 Oct 2005 03:21:23 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (mips) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb tree ce17675418c32fbf62073a3c809390e9518d3555 parent 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 author Al Viro Fri, 21 Oct 2005 03:21:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (frv) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 tree 99ea40aa04b3d77e90df415d54c40f2a812b88a8 parent 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 author Al Viro Fri, 21 Oct 2005 03:21:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (cris) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 tree 192a7cbb093b1bc0548a249758fd48a4f0458028 parent 06a544971fad0992fe8b92c5647538d573089dd4 author Al Viro Fri, 21 Oct 2005 03:21:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (alpha) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 06a544971fad0992fe8b92c5647538d573089dd4 tree b51e38c66fcf65d4023a5627228861bd061c9c5c parent f9e3214a7964f523e12b4f30b6bd6396794818bd author Al Viro Fri, 21 Oct 2005 03:21:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (ia64) ... and related annotations for amd64 - swiotlb code is shared, but prototypes are not. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f9e3214a7964f523e12b4f30b6bd6396794818bd tree 1a10942dbaed7395f561e6698ce194a077bd7d7b parent 8267e268e0914ac9371d07f711fcf20cc572993c author Al Viro Fri, 21 Oct 2005 03:20:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (arm) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8267e268e0914ac9371d07f711fcf20cc572993c tree 6f83cbcb95187544ed9075470c14cc12128272c8 parent 27496a8c67bef4d789d8e3c8317ca35813a507ae author Al Viro Fri, 21 Oct 2005 03:20:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: block layer core Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 27496a8c67bef4d789d8e3c8317ca35813a507ae tree fe99a34fe5a800e41af61853e7444ddddf45d014 parent 7d877f3bda870ab5f001bd92528654471d5966b3 author Al Viro Fri, 21 Oct 2005 03:20:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: fs/* - ->releasepage() annotated (s/int/gfp_t), instances updated - missing gfp_t in fs/* added - fixed misannotation from the original sweep caught by bitwise checks: XFS used __nocast both for gfp_t and for flags used by XFS allocator. The latter left with unsigned int __nocast; we might want to add a different type for those but for now let's leave them alone. That, BTW, is a case when __nocast use had been actively confusing - it had been used in the same code for two different and similar types, with no way to catch misuses. Switch of gfp_t to bitwise had caught that immediately... One tricky bit is left alone to be dealt with later - mapping->flags is a mix of gfp_t and error indications. Left alone for now. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7d877f3bda870ab5f001bd92528654471d5966b3 tree 1c05b62abead153956c4ca250ffb1891887e77c9 parent fd4f2df24bc23e6b8fc069765b425c7dacf52347 author Al Viro Fri, 21 Oct 2005 03:20:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: net/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fd4f2df24bc23e6b8fc069765b425c7dacf52347 tree f7e993817030747c5e1000d46685ebd2eef11085 parent 6daa0e28627abf362138244a620a821a9027d816 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: lib/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6daa0e28627abf362138244a620a821a9027d816 tree 5ca9cbc421cc1adf228cdd30cd627bca8be6242c parent af4ca457eaf2d6682059c18463eb106e2ce58198 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: mm/* (easy parts) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit af4ca457eaf2d6682059c18463eb106e2ce58198 tree 399ca5ab3b15d723a6aefd04c764a2a06089ed06 parent 434f1d10c1adb6c2e333d501ce1e42be610e0723 author Al Viro Fri, 21 Oct 2005 02:55:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:46 -0700 [PATCH] gfp_t: infrastructure Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b57235215933d5fde4013e2448223b934b4ac2b7 tree 01971ad7db6d51a78e71e9099a799536d6c87631 parent 57718976141c2929bddd6219efb32c2abea8360c author Ian Campbell Fri, 28 Oct 2005 15:31:48 +0100 committer Russell King Fri, 28 Oct 2005 15:31:48 +0100 [ARM] 3048/1: register i2s resources not i2c resources for the pxa i2s platform device Patch from Ian Campbell As noted by Uli Luckas in the comments of 3025 there is a typo in the i2s platform device. The i2s platform device refers to the i2c resources. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit 57718976141c2929bddd6219efb32c2abea8360c tree 80204c47b9ac6e23eeefc1305cd729a930216cc5 parent 58c8d570f30d65836b53903fbdf355707a19aa52 author Ben Dooks Fri, 28 Oct 2005 15:31:47 +0100 committer Russell King Fri, 28 Oct 2005 15:31:47 +0100 [ARM] 3047/1: SMDK2440 - add framebuffer platform data Patch from Ben Dooks Add platform data for framebuffer for the onboard LCD module Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 58c8d570f30d65836b53903fbdf355707a19aa52 tree 3909aab14e088f4982aa5dd88a47b640075f38a1 parent 893b03094c2ed929648d76a29cbbfc9e215e8636 author Ben Dooks Fri, 28 Oct 2005 15:31:46 +0100 committer Russell King Fri, 28 Oct 2005 15:31:46 +0100 [ARM] 3046/1: BAST - add framebuffer platform data Patch from Ben Dooks Add framebuffer platform data Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 893b03094c2ed929648d76a29cbbfc9e215e8636 tree aff67b68cf24ac83316514051568f3643a48ebc6 parent 3b90c9c33361d49893645ffcebe6ca230f434705 author Ben Dooks Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 3045/2: S3C2410 - change init for lcd platform data Patch from Ben Dooks Change set_s3c2410fb_info to s3c2410_fb_set_platdata and use kmalloc() for the copy of the information it is passed. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 3b90c9c33361d49893645ffcebe6ca230f434705 tree bf51c431a2730e6a6ec48cedbbfe24db6323172e parent 63a4b52c9ddca944afc1b78aacbf641c650780d7 author Lennert Buytenhek Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 2908/1: add register definitions for ixp2000 msf Patch from Lennert Buytenhek We already had a mapping for the msf, but we didn't have any register definitions for it yet. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 63a4b52c9ddca944afc1b78aacbf641c650780d7 tree bc782e17f3f13de7fd6a7543c9806eaeec692f8f parent a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 author Ian Campbell Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3044/1: Fix sparse warnings about incompatible pointer types for register defined in pxa-regs.h Patch from Ian Campbell The sparse warning initially surfaced in sound/arm/pxa2xx-ac97.c because it was using u32 * variables to hold the unsigned long * register addresses. I submitted an ALSA patch for this http://thread.gmane.org/gmane.linux.alsa.devel/27804 issue and it was suggested that it might be preferable to change the register definitions to use u32. Most other subarches seem to use u32 for their register type, at least the ones which use a __REG macro (like the PXA) do. Nico indicated in the thread above that he wouldn't mind this patch. Changing the type required fixes for opposite warnings in the pxa2xx usb gadget code but that was the only new warning introduced on defconfig or lubbock, mainstone and our own PXA255 boards. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 tree 26c736c20c8d05bb8239cc68b427eccdadd0e341 parent 42d3a120fe9a1831b88e7037ce0b048d82433b09 author Ben Dooks Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3034/1: S3C2410 - fix size of devices in devs.c Patch from Ben Dooks From: Guillaume GOURAT A number of devices have an extra byte on the end of their areas due to mis-calculating the .end field of their resources Signed-off-by: Guillaume GOURAT Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 42d3a120fe9a1831b88e7037ce0b048d82433b09 tree 0fef604e20da25b1c6254ebda98d00cfce2498e2 parent c09f98271f685af349d3f0199360f1c0e85550e0 author Ben Dooks Fri, 28 Oct 2005 15:26:41 +0100 committer Russell King Fri, 28 Oct 2005 15:26:41 +0100 [ARM] 3033/1: S3C2410 - add generic gpio_cfgpin options Patch from Ben Dooks Add generic values for the parameters to the s3c2410_gpio_cfgpin() function, so that a caller does not need to know the exact constant for the specified pin. This is very useful for the case where a driver is passed a gpio pin number and needs to reconfigure the pin's function. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c09f98271f685af349d3f0199360f1c0e85550e0 tree 2e8a393d76e386ff64af2a786cf5baf370f3823b parent 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b author Nicolas Pitre Fri, 28 Oct 2005 15:26:40 +0100 committer Russell King Fri, 28 Oct 2005 15:26:40 +0100 [ARM] 2930/1: optimized sha1 implementation for ARM Patch from Nicolas Pitre Here's an ARM assembly SHA1 implementation to replace the default C version. It is approximately 50% faster than the generic C version. On an XScale processor running at 400MHz: generic C version: 9.8 MB/s my version: 14.5 MB/s This code is useful to quite a few callers in the tree: crypto/sha1.c: sha_transform(sctx->state, sctx->buffer, temp); crypto/sha1.c: sha_transform(sctx->state, &data[i], temp); drivers/char/random.c: sha_transform(buf, (__u8 *)r->pool+i, buf + 5); drivers/char/random.c: sha_transform(buf, (__u8 *)data, buf + 5); net/ipv4/syncookies.c: sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5); Signed-off-by: Nicolas Pitre Seems to work fine on big-endian as well. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b tree 3769b043ea6b15ffe7b74a1a5d42903e08b126bc parent 9769c2468d423a1562dd59a5db250bd0a5533ec9 author Deepak Saxena Fri, 28 Oct 2005 15:19:12 +0100 committer Russell King Fri, 28 Oct 2005 15:19:12 +0100 [ARM] 3017/1: Add support for 36-bit addresses to create_mapping() Patch from Deepak Saxena This patch adds support for 36-bit static mapped I/O. While there are no platforms in the tree ATM that use it, it has been tested tested on the IXP2350 NPU and I would like to get the support for that chipset upstream one piece at a time. There are also other Intel chipset ports in development that are waiting on this to go upstream. The patch replaces the print formats for physical addresses with %016llx which will create a bit extraneous output on 32-bit systems, but I think that is cleaner than having #ifdefs, specially since users will only see the output in error cases. Depends on 3016/1. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9769c2468d423a1562dd59a5db250bd0a5533ec9 tree d584ad444ed8bd5d1abfc197c918dfc6a9af7ddb parent c8d2729858d76de4ef7522c8171004fc1959cc44 author Deepak Saxena Fri, 28 Oct 2005 15:19:11 +0100 committer Russell King Fri, 28 Oct 2005 15:19:11 +0100 [ARM] 3016/1: Replace map_desc.physical with map_desc.pfn Patch from Deepak Saxena Convert map_desc.physical to map_desc.pfn. This allows us to add support for 36-bit addressed physical devices in the static maps without having to resort to u64 variables. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c8d2729858d76de4ef7522c8171004fc1959cc44 tree 1ee360c926ef6544b7a1701fe4558ddab1824733 parent adecef744fc5b4e9316c851feec2a4d2640dd7ae author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3001/1: Replace map_desc.physical with map_desc.pfn: Integrator Patch from Deepak Saxena Integrator map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit adecef744fc5b4e9316c851feec2a4d2640dd7ae tree c1b5ed76a45b6302a7ba93c3814f4583ea70d505 parent 3e9635e4060238549ffac239de34f6122b053653 author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3000/1: Replace map_desc.physical with map_desc.pfn: iMX Patch from Deepak Saxena iMX map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3e9635e4060238549ffac239de34f6122b053653 tree fcf6165518ae52782c2627eed050bcb5ade4aa57 parent a427ceef934d8162c8c61d152e969bc3ec21a4e5 author Deepak Saxena Fri, 28 Oct 2005 15:19:09 +0100 committer Russell King Fri, 28 Oct 2005 15:19:09 +0100 [ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x Patch from Deepak Saxena H720x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a427ceef934d8162c8c61d152e969bc3ec21a4e5 tree a9685eae50591734deefa30e8e395002b2340fb9 parent 6cb1907c1a88563c84123c923b46424ea68b53eb author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2998/1: Replace map_desc.physical with map_desc.pfn: Footbridge Patch from Deepak Saxena Footbridge map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6cb1907c1a88563c84123c923b46424ea68b53eb tree 0dd89d69e94e859ea60866490bbeee252e78f2de parent 7a557e246f5c24f4c7218f41f8caf03c492f40f9 author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2997/1: Replace map_desc.physical with map_desc.pfn: EBSA110 Patch from Deepak Saxena EBSA110 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7a557e246f5c24f4c7218f41f8caf03c492f40f9 tree 6e9dfb55c02c67a31cc41a84c5be7b2058b97386 parent 1311521fb1b8ebbb0b470d028df13f2cbc643e51 author Deepak Saxena Fri, 28 Oct 2005 15:19:07 +0100 committer Russell King Fri, 28 Oct 2005 15:19:07 +0100 [ARM] 2996/1: Replace map_desc.physical with map_desc.pfn: EPXA10DB Patch from Deepak Saxena EPXA10DB mapd_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1311521fb1b8ebbb0b470d028df13f2cbc643e51 tree 9f18d38f8948b2b3b243c5bbfd4e26f46d5553fb parent d157e9ecec59383a676d676e2bb39367430396a2 author Deepak Saxena Fri, 28 Oct 2005 15:19:06 +0100 committer Russell King Fri, 28 Oct 2005 15:19:06 +0100 [ARM] 2995/1: Replace map_desc.physical with map_desc.pfn: Versatile Patch from Deepak Saxena Versatile map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit d157e9ecec59383a676d676e2bb39367430396a2 tree c7947a901355530a047258c876104e96ec605725 parent f10083f5a6f4a2735cca3a8c762457272ea66bf0 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2994/1: Replace map_desc.physical with map_desc.pfn: CLPS7500 Patch from Deepak Saxena CLSP7500 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f10083f5a6f4a2735cca3a8c762457272ea66bf0 tree fcfe67bcb1b14305ffdad376a2b0ee10377a1916 parent 92519d82828a93743adc31202927f411601c0d04 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x Patch from Deepak Saxena CLSP711x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 92519d82828a93743adc31202927f411601c0d04 tree 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 parent cd5fc8bffd70b2d87953334b6195db4bc2125ff9 author Deepak Saxena Fri, 28 Oct 2005 15:19:04 +0100 committer Russell King Fri, 28 Oct 2005 15:19:04 +0100 [ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100 Patch from Deepak Saxena SA1100 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit cd5fc8bffd70b2d87953334b6195db4bc2125ff9 tree e6245d10dc73176c6298b55cd6cf237b1353621a parent 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e author Deepak Saxena Fri, 28 Oct 2005 15:19:03 +0100 committer Russell King Fri, 28 Oct 2005 15:19:03 +0100 [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark Patch from Deepak Saxena Shark map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e tree cade01987d4749200335f6c19e5e6cb381f75b16 parent f9258f226baf663099acb7972287ea0e26ce05a7 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410 Patch from Deepak Saxena S3C2410 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f9258f226baf663099acb7972287ea0e26ce05a7 tree 107f3597d7e9af9f58219e5f30ac3b7131da78ce parent 6f9182eb32a4e6c46813928bee50df71e3fd1c74 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2989/1: Replace map_desc.physical with map_desc.pfn: RiscPC Patch from Deepak Saxena RiscPC map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6f9182eb32a4e6c46813928bee50df71e3fd1c74 tree 6d5579e43a5bdb8acc7dfe301906e31087f2e741 parent 9fe133b149e8a48742a64b72f22041bcd31fe827 author Deepak Saxena Fri, 28 Oct 2005 15:19:01 +0100 committer Russell King Fri, 28 Oct 2005 15:19:01 +0100 [ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA Patch from Deepak Saxena PXA map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9fe133b149e8a48742a64b72f22041bcd31fe827 tree f1e61e32613c0c972f88a1ee8886dcefaa8ca3d5 parent 36d28c03d17506dd30aeed9d68a4023f3e7631dc author Deepak Saxena Fri, 28 Oct 2005 15:19:00 +0100 committer Russell King Fri, 28 Oct 2005 15:19:00 +0100 [ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP Patch from Deepak Saxena OMAP map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 36d28c03d17506dd30aeed9d68a4023f3e7631dc tree b5e0dc704946127a530615de8af8010b74b96983 parent 87fe04bd2a39f263211cc232da9f4f094eaffea0 author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2986/1: Replace map_desc.physical with map_desc.pfn: LH7A40x Patch from Deepak Saxena LH7A40x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 87fe04bd2a39f263211cc232da9f4f094eaffea0 tree d6b74cf34b442ae3e0a519dec4d2aed1dea406d9 parent db0d087e34d251254f6349e607c2a2ec295cd90b author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2985/1: Replace map_desc.physical with map_desc.pfn: IXP4xx Patch from Deepak Saxena IXP4xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit db0d087e34d251254f6349e607c2a2ec295cd90b tree 749c707ea000588417bf0236bdf2452dc0c9db48 parent 4835e64a5f44366e97dde9b6e26ede2ec16249da author Deepak Saxena Fri, 28 Oct 2005 15:18:58 +0100 committer Russell King Fri, 28 Oct 2005 15:18:58 +0100 [ARM] 2984/1: Replace map_desc.physical with map_desc.pfn: IXP2000 Patch from Deepak Saxena IXP2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 4835e64a5f44366e97dde9b6e26ede2ec16249da tree f9bb1db7e27d86b2cb40612468bca9338b6280eb parent f70cd65658388ca2a06071bdbd8a5a6beac5aa47 author Deepak Saxena Fri, 28 Oct 2005 15:18:57 +0100 committer Russell King Fri, 28 Oct 2005 15:18:57 +0100 [ARM] 2983/1: Replace map_desc.physical with map_desc.pfn: IOP3xx Patch from Deepak Saxena IOP3xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f70cd65658388ca2a06071bdbd8a5a6beac5aa47 tree 25e49869ae2ef81f1b66740efc9e179d693e8f37 parent c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 author Deepak Saxena Fri, 28 Oct 2005 15:18:56 +0100 committer Russell King Fri, 28 Oct 2005 15:18:56 +0100 [ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000 Patch from Deepak Saxena aaec2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 tree 111b89d53b0d66d1220d20aaa37f9dbd29658ab4 parent 55f052341ff75e5815b1f7f4d2d3b69314ea8712 author Russell King Fri, 28 Oct 2005 14:56:04 +0100 committer Russell King Fri, 28 Oct 2005 14:56:04 +0100 [ARM] 4/4 Combine oprofile common and init code There is nothing special about having the init code separate from the common code, so combine the two. Signed-off-by: Russell King commit 55f052341ff75e5815b1f7f4d2d3b69314ea8712 tree 12b2bf8b6cd272305bddf39f542ddbf5230d90bc parent 7c5b3fc20807279d8f8e78f1e2ef275128668796 author Russell King Fri, 28 Oct 2005 14:54:21 +0100 committer Russell King Fri, 28 Oct 2005 14:54:21 +0100 [ARM] 3/4 Rename common oprofile code The common oprofile code assumes the name "PMU" (from Intel's performance management unit). This is misleading when we start adding oprofile support for other machine types which don't use the same terminology. Call it op_arm_* instead of pmu_*. Signed-off-by: Russell King commit 7c5b3fc20807279d8f8e78f1e2ef275128668796 tree 393e609ef9e6cd32c9fbce258686a462b33b4ce8 parent b5893c56ca7e664aef010a71c2638db768d4e996 author Russell King Fri, 28 Oct 2005 14:52:30 +0100 committer Russell King Fri, 28 Oct 2005 14:52:30 +0100 [ARM] 2/4 Fix oprofile suspend/resume The oprofile suspend/resume was missing locking. If we failed to start oprofile on resume, we still reported that it was enabled. Instead, disable oprofile on error. Signed-off-by: Russell King commit b5893c56ca7e664aef010a71c2638db768d4e996 tree 0e7478849d0f37fbf199fe2c2005828492a280c4 parent 90072059d2963dec237ae0cf49831ef77ddb5739 author Russell King Fri, 28 Oct 2005 14:51:15 +0100 committer Russell King Fri, 28 Oct 2005 14:51:15 +0100 [ARM] 1/4 Move oprofile driver model code Signed-off-by: Russell King commit 90072059d2963dec237ae0cf49831ef77ddb5739 tree 5ec0cc3e9759599957ea98eb9f5c372ffabca00f parent f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c author Russell King Fri, 28 Oct 2005 14:48:37 +0100 committer Russell King Fri, 28 Oct 2005 14:48:37 +0100 [ARM] Re-jig bootmem initialisation Make ARM independent of the way bootmem operates internally. We now map each node as we initialise it, and place the bootmem bitmap inside each node, rather than all in the first node. Signed-off-by: Russell King commit f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c tree c17ec50ffe9544c8c67a6532644bb0a1cedc53b7 parent 674c04538284736c4a44224c78cb784b2c972f98 author Russell King Fri, 28 Oct 2005 14:29:43 +0100 committer Russell King Fri, 28 Oct 2005 14:29:43 +0100 [ARM] Fix sparse warnings Fix sparse warnings in arch/arm/kernel/module.c, arch/arm/mm/consistent.c, drivers/pcmcia/sa1111_generic.c, and platform support files. Signed-off-by: Russell King commit 674c04538284736c4a44224c78cb784b2c972f98 tree b975860890debe5fadcafd4137ad3112f1784849 parent c6b8fdad144bbb915d124ffd95011ad55730bf9f author Russell King Fri, 28 Oct 2005 14:25:28 +0100 committer Russell King Fri, 28 Oct 2005 14:25:28 +0100 [ARM] 3/4: Remove asm/hardware.h from SA1100 io.h Signed-off-by: Russell King commit c6b8fdad144bbb915d124ffd95011ad55730bf9f tree 060b83a573584c69f3fad1f5eec723ae1cbbca28 parent 766529fa2c95e2006ad4c4485c4cde0912d21f12 author Russell King Fri, 28 Oct 2005 14:05:16 +0100 committer Russell King Fri, 28 Oct 2005 14:05:16 +0100 [ARM] 3/4: Remove asm/hardware.h from Versatile and Integrator io.h Signed-off-by: Russell King commit 766529fa2c95e2006ad4c4485c4cde0912d21f12 tree e132878cdc98927f9df4625d9a288ee8965fb562 parent 7fca0aa489c82bef85514b5447f6a0be81543115 author Russell King Fri, 28 Oct 2005 10:29:21 +0100 committer Russell King Fri, 28 Oct 2005 10:29:21 +0100 [ARM] 2/4: Remove asm/hardware.h from asm-arm/arch-ebsa110/io.h EBSA110 only requires hardware.h to be included for a couple of files. Move the include there. Signed-off-by: Russell King commit 7fca0aa489c82bef85514b5447f6a0be81543115 tree 7f781dd06d93d629e49de0f9484b3a4e7b7707c0 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Russell King Fri, 28 Oct 2005 10:20:25 +0100 committer Russell King Fri, 28 Oct 2005 10:20:25 +0100 [ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h Including asm/hardware.h into asm/io.h can cause #define clashes between platform specific definitions and driver local definitions. Signed-off-by: Russell King commit 772eca7825358f52cf208afd7ab8ce22722ce41a tree 682daf64192f8753517e35a5683ac521583d107d parent 64521d1a3ba7cc7fe4ab5640da83d88144f05340 author Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 committer Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 [BLOCK] Leftover reference to ->max_back_kb Signed-off-by: Jens Axboe commit 64521d1a3ba7cc7fe4ab5640da83d88144f05340 tree 566f61ed9bbdc1c6ad245cb186fdd8c810a58f25 parent cb98fc8bb9c141009e2bda99c0db39d387e142cf author Jens Axboe Fri, 28 Oct 2005 08:30:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:23 +0200 [BLOCK] elevator switch fixes/cleanup - 100msec sleep is a little excessive, lots of requests can complete in that timeframe. Use 10msec instead. - Rename QUEUE_FLAG_BYPASS to QUEUE_FLAG_ELVSWITCH to indicate what is going on. Signed-off-by: Jens Axboe commit cb98fc8bb9c141009e2bda99c0db39d387e142cf tree 8957f8a79f39c3e6633a0dbb165ced8b530aca0c parent cb19833dccb32f97cacbfff834b53523915f13f6 author Tejun Heo Fri, 28 Oct 2005 08:29:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:12 +0200 [BLOCK] Reimplement elevator switch This patch reimplements elevator switch. This patch assumes generic dispatch queue patchset is applied. * Each request is tagged with REQ_ELVPRIV flag if it has its elevator private data set. * Requests which doesn't have REQ_ELVPRIV flag set never enter iosched. They are always directly back inserted to dispatch queue. Of course, elevator_put_req_fn is called only for requests which have its REQ_ELVPRIV set. * Request queue maintains the current number of requests which have its elevator data set (elevator_set_req_fn called) in q->rq->elvpriv. * If a request queue has QUEUE_FLAG_BYPASS set, elevator private data is not allocated for new requests. To switch to another iosched, we set QUEUE_FLAG_BYPASS and wait until elvpriv goes to zero; then, we attach the new iosched and clears QUEUE_FLAG_BYPASS. New implementation is much simpler and main code paths are less cluttered, IMHO. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit cb19833dccb32f97cacbfff834b53523915f13f6 tree 24fb8d125bcfdf5209ac6f502b78160d0193428c parent 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef author Tejun Heo Mon, 24 Oct 2005 08:35:58 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:46:01 +0200 [BLOCK] kill generic max_back_kb handling This patch kills max_back_kb handling from elv_dispatch_sort() and kills max_back_kb field from struct request_queue. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef tree 9ed099a117a24bee56a5e920ea95f9e2bb82add6 parent 98b11471d72a374f346bec50a00d0887719b85b3 author Tejun Heo Thu, 20 Oct 2005 16:47:40 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:47 +0200 [PATCH] 05/05 update biodoc to match new generic dispatch api Updates biodoc to reflect changes in elevator API Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 98b11471d72a374f346bec50a00d0887719b85b3 tree 875feb99eacd983fdc9107eb1c3b68f24e641aa4 parent 06b86245c052963029bfd9020ca1f08ceb66f85a author Tejun Heo Thu, 20 Oct 2005 16:46:54 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:35 +0200 [PATCH] 04/05 remove last_merge handling from ioscheds Remove last_merge handling from all ioscheds. This patch removes merging capability of noop iosched. Signed-off-by: Tejun Heo commit 06b86245c052963029bfd9020ca1f08ceb66f85a tree 1bd2675aceca74398f5fcf148f6cf2f551d63b52 parent b4878f245ec8e168cdd1f170f823a750b7dd4af5 author Tejun Heo Thu, 20 Oct 2005 16:46:23 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:20 +0200 [PATCH] 03/05 move last_merge handlin into generic elevator code Currently, both generic elevator code and specific ioscheds participate in the management and usage of last_merge. This and the following patches move last_merge handling into generic elevator code. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b4878f245ec8e168cdd1f170f823a750b7dd4af5 tree de784c2a7e1174e4843807998f0356bf92ee78be parent d9ebb192aa13a026edc6faff137dcb14f2c91731 author Jens Axboe Thu, 20 Oct 2005 16:42:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:08 +0200 [PATCH] 02/05: update ioscheds to use generic dispatch queue This patch updates all four ioscheds to use generic dispatch queue. There's one behavior change in as-iosched. * In as-iosched, when force dispatching (ELEVATOR_INSERT_BACK), batch_data_dir is reset to REQ_SYNC and changed_batch and new_batch are cleared to zero. This prevernts AS from doing incorrect update_write_batch after the forced dispatched requests are finished. * In cfq-iosched, cfqd->rq_in_driver currently counts the number of activated (removed) requests to determine whether queue-kicking is needed and cfq_max_depth has been reached. With generic dispatch queue, I think counting the number of dispatched requests would be more appropriate. * cfq_max_depth can be lowered to 1 again. Original from Tejun Heo, modified version applied. Signed-off-by: Jens Axboe commit d9ebb192aa13a026edc6faff137dcb14f2c91731 tree cbe0fa0baec9c06157e9c95370ff3f04384e253c parent 1b47f531e244e339b648dfff071c086f936e49e1 author Jens Axboe Thu, 20 Oct 2005 16:37:38 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:52 +0200 [PATCH] elevator: leftover function declaration Signed-off-by: Jens Axboe commit 1b47f531e244e339b648dfff071c086f936e49e1 tree 4ecbec3d9ade19e01a47c562772db550daadcef2 parent 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc author Jens Axboe Thu, 20 Oct 2005 16:37:00 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:37 +0200 [PATCH] generic dispatch fixes - Split elv_dispatch_insert() into two functions - Rename rq_last_sector() to rq_end_sector() Signed-off-by: Jens Axboe commit 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc tree 272bff0b53bf6fe4a7787728a45a26a282ba2976 parent 2824bc9328467127083c1325f54b67d298c333b2 author Tejun Heo Thu, 20 Oct 2005 16:23:44 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:24 +0200 [PATCH] 01/05 Implement generic dispatch queue Implements generic dispatch queue which can replace all dispatch queues implemented by each iosched. This reduces code duplication, eases enforcing semantics over dispatch queue, and simplifies specific ioscheds. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 2824bc9328467127083c1325f54b67d298c333b2 tree 0d19aeb555c35ddbdbcf195b976964523fecc404 parent b2982649ce38293b14684b26bcda20cfc54164e6 author Tejun Heo Thu, 20 Oct 2005 10:56:41 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:58 +0200 [PATCH] fix try_module_get race in elevator_find This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spin_unlock_irq and try_module_get. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b2982649ce38293b14684b26bcda20cfc54164e6 tree 8208c0cd33f2565f0f193d0afab282a7d0778382 parent 20e5c81fcff89535dced2ed71cf24c6c648ff40e author Chen, Kenneth W Thu, 13 Oct 2005 21:49:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:43 +0200 Following the same idea, it occurs to me that we should only update disk stat when "now" is different from disk->stamp. Otherwise, we are again needlessly adding zero to the stats. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit 20e5c81fcff89535dced2ed71cf24c6c648ff40e tree c19edf4ce636f0e4713e39dd918c7d3772cda64a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Chen, Kenneth W Thu, 13 Oct 2005 21:48:42 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:30 +0200 [patch] remove gendisk->stamp_idle field struct gendisk has these two fields: stamp, stamp_idle. Update to stamp_idle is always in sync with stamp and they are always the same. Therefore, it does not add any value in having two fields tracking same timestamp. Suggest to remove it. Also, we should only update gendisk stats with non-zero value. Advantage is that we don't have to needlessly calculate memory address, and then add zero to the content. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 tree fe34505915c31b3b77296e3828cd7675f4616ba9 parent 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 author Sean Hefty Thu, 27 Oct 2005 20:48:11 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:48:11 -0700 [IB] ib_umad: various cleanups Simplify user_mad.c code in a few places, and convert from kmalloc() + memset() to kzalloc(). This also fixes a theoretical race window by not accessing packet->length after posting the send buffer (the send could complete and packet could be freed before we get to the return statement at the end of ib_umad_write()). Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 tree d2bad46f16a76769b1f8d87aad369d50b4966cb6 parent 3d155f8cd0d077938d271225d26ee52f8eb26082 author Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 [IB] ib_umad: fix crash when freeing send buffers The conversion of user_mad.c to the new MAD send API was slightly off: in a few places, we used packet->msg instead of packet->msg->mad when referring to the actual data buffer, which ended up corrupting the underlying data structure and crashing when we free an invalid pointer. Signed-off-by: Roland Dreier commit 434f1d10c1adb6c2e333d501ce1e42be610e0723 tree a43f1e6f40ea1530e648ae72709a2c45442891aa parent 6070fe6f82c67021367092855c0812a98becf0fa parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 6070fe6f82c67021367092855c0812a98becf0fa tree e3269c7d155bbed9dc701ca00bfb253ed2f7c2c0 parent bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 author Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 RPC: Ensure that nobody can queue up new upcalls after rpc_close_pipes() Signed-off-by: Trond Myklebust commit bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 tree 76013e5926f02d476b47812eb4c49b5dff8264a3 parent 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFS: Allow files that are open for write to invalidate caches Signed-off-by: Trond Myklebust commit 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 tree e927cb187666c87ccd7c15c1c1367d015a623ef6 parent 4f9838c7ecd14f31f701f64fa65ded132fc0db8a author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFSv4: Convert unnecessary XDR warning messages into dprintk() Signed-off-by: Trond Myklebust commit 4f9838c7ecd14f31f701f64fa65ded132fc0db8a tree f3fee5b744efb072f44591208541554976bf41d7 parent 16e429596dec4d28e16812b3a9be27f18412c567 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to NFSv4 write and commit callbacks. Signed-off-by: Trond Myklebust commit 16e429596dec4d28e16812b3a9be27f18412c567 tree b11c0f3829ae1225794a3d1fca68a1878a87a46d parent 6caf2c8276d371679a798058e8fdf49f5ff831a3 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to nfs4_proc_remove() Signed-off-by: Trond Myklebust commit 6caf2c8276d371679a798058e8fdf49f5ff831a3 tree ff53620d5879644df543dcce2ce86db863dad21c parent 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 author Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 NFSv4: Add post-op attributes to nfs4_proc_rename() Signed-off-by: Trond Myklebust commit 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 tree 9157b8bfe90fed0b472da3ec71dadfb0c587e566 parent cf809556149f076b7a020c10e066b2b96e79b6a1 author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFSv4: Add post-op attributes to nfs4_proc_link() Optimise attribute revalidation when hardlinking. Add post-op attributes for the directory and the original inode. Signed-off-by: Trond Myklebust commit cf809556149f076b7a020c10e066b2b96e79b6a1 tree 714d3e58b4fe5af9b144c735601946949b217820 parent 516a6af641bb50c608329a5bd751acd0d65cc4ab author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFS: Ensure that nfs_link() instantiates the dentry correctly Signed-off-by: Trond Myklebust commit 516a6af641bb50c608329a5bd751acd0d65cc4ab tree 93b240cb19460073cac3363517fcc0e253fb48d9 parent 3338c143b4fde2d256016b63043ec8e2c93eba19 author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Add optional post-op getattr instruction to the NFSv4 file close. "Optional" means that the close call will not fail if the getattr at the end of the compound fails. If it does succeed, try to refresh inode attributes. Signed-off-by: Trond Myklebust commit 3338c143b4fde2d256016b63043ec8e2c93eba19 tree babfe2188e64ea0bb37c9838f5bcd3337c0c7504 parent 56ae19f38f10aad4f27f7e12138a29b295dff07a author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Optimise attribute revalidation on close(). Only force a getattr in nfs_file_flush() if the attribute cache is stale. Signed-off-by: Trond Myklebust commit 56ae19f38f10aad4f27f7e12138a29b295dff07a tree 79ada0dacbcf6470b4469c537d3bae02bb81069d parent 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 author Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFSv4: Add directory post-op attributes to the CREATE operations. Since the directory attributes change every time we CREATE a file, we might as well pick up the new directory attributes in the same compound. Signed-off-by: Trond Myklebust commit 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 tree 292d31ce5378edb856076d2c610c323b76af0b09 parent decf491f3076190262d4c649bed877650623903a author Chuck Lever Tue, 25 Oct 2005 11:48:36 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFS: nfs_lookup doesn't need to revalidate the parent directory's inode nfs_lookup() used to consult a lookup cache before trying an actual wire lookup operation. The lookup cache would be invalid, of course, if the parent directory's mtime had changed, so nfs_lookup performed an inode revalidation on the parent. Since nfs_lookup() doesn't use a cache anymore, the revalidation is no longer necessary. There are cases where it will generate a lot of unnecessary GETATTR traffic. See http://bugzilla.linux-nfs.org/show_bug.cgi?id=9 Test-plan: Use lndir and "rm -rf" and watch for excess GETATTR traffic or application level errors. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit decf491f3076190262d4c649bed877650623903a tree 8f67577349fe451b0267b68435db1578ec1273a4 parent 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Don't let nfs_end_data_update() clobber attribute update information Since we almost always call nfs_end_data_update() after we called nfs_refresh_inode(), we now end up marking the inode metadata as needing revalidation immediately after having updated it. This patch rearranges things so that we mark the inode as needing revalidation _before_ we call nfs_refresh_inode() on those operations that need it. Signed-off-by: Trond Myklebust commit 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 tree 5311fb4714f0a24b7d7666b04250205025e18d15 parent 913a70fc170530f7e1ff0693595155457cc6d0ca author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Optimise inode attribute cache updates Allow nfs_refresh_inode() also to update attributes on the inode if the RPC call was sent after the last call to nfs_update_inode(). Signed-off-by: Trond Myklebust commit 913a70fc170530f7e1ff0693595155457cc6d0ca tree 1f3d5db26462d02ecca383794b3061a5eae8d9cc parent 0e574af1be5f569a5d7f2800333b0bfb358a5e34 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Convert cache_change_attribute into a jiffy-based value Signed-off-by: Trond Myklebust commit 0e574af1be5f569a5d7f2800333b0bfb358a5e34 tree bb5b62dece21b8906222dfee022020ed6f81e34c parent 4c2cb58c552a34744979a99ccf01762d5eb7e288 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Cleanup initialisation of struct nfs_fattr Signed-off-by: Trond Myklebust commit cb650116a030dd5cf12f30651e29ceb990d42e4a tree 6cac1c4ea615d1a3893f82a4c950623b38421872 parent 7bbaa75452c77cbaa016b987765c5d6c8b744587 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 Merge branch 'master' commit 26ba2a7a9f4d8921f095af646a7d22c15a148028 tree 1e694da6999653551bc61eb9cc6db2eb4645fcd1 parent 91190758d410a5d33c6051ba9ca95baa430256bb parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 Merge branch 'master' commit b2ab040db85835e54c7559533df7f85902617926 tree b23cbdca55935c497cb88b588e4e8b088d6ab7ab parent 1f57389a38dc1e8be167ec601f39f78f0bed3a96 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 Merge branch 'master' commit 4ac0068f44f192f2de95a7bb36df3e19767a45fb tree 7971afe201d63657fceeb5770eb8247711ce69aa parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Cliff Wickman Thu, 27 Oct 2005 10:29:08 -0500 committer Tony Luck Thu, 27 Oct 2005 16:15:03 -0700 [IA64] ptrace - find memory sharers on children list In arch/ia64/kernel/ptrace.c there is a test for a peek or poke of a register image (in register backing storage). The test can be unnecessarily long (and occurs while holding the tasklist_lock). Especially long on a large system with thousands of active tasks. The ptrace caller (presumably a debugger) specifies the pid of its target and an address to peek or poke. But the debugger could be attached to several tasks. The idea of find_thread_for_addr() is to find whether the target address is in the RBS for any of those tasks. Currently it searches the thread-list of the target pid. If that search does not find a match, and the shared mm-struct's user count indicates that there are other tasks sharing this address space (a rare occurrence), a search is made of all the tasks in the system. Another approach can drastically shorten this procedure. It depends upon the fact that in order to peek or poke from/to any task, the debugger must first attach to that task. And when it does, the attached task is made a child of the debugger (is chained to its children list). Therefore we can search just the debugger's children list. Signed-off-by: Cliff Wickman Signed-off-by: Tony Luck commit 4c2cb58c552a34744979a99ccf01762d5eb7e288 tree fd35360eb0cb08b07f3a5f4bdf1ebd90a769311d parent 34123da66e613602de5a886b05c875b6a91b8ed2 parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 34123da66e613602de5a886b05c875b6a91b8ed2 tree 150149bf91537d302da6c50a5b8eed19ec2c2400 parent 6fa05b17367f04ada501e89d3b9cb56adec0d930 author Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 NFS: Fix a bad cast in nfs3_read_done Signed-off-by: Trond Myklebust commit 6fa05b17367f04ada501e89d3b9cb56adec0d930 tree 46493ddc5ab130108e2f0b9d5fd81dae367a4cb0 parent ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 author Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 Revert "RPC: stops the release_pipe() funtion from being called twice" This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit. commit c1902aae322952f8726469a6657df7b9d5c794fe tree 5c78f21c19597b64faf06e0faee7726ae01f7bbb parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Dean Roe Thu, 27 Oct 2005 15:41:04 -0500 committer Tony Luck Thu, 27 Oct 2005 14:44:58 -0700 [IA64] - Avoid slow TLB purges on SGI Altix systems flush_tlb_all() can be a scaling issue on large SGI Altix systems since it uses the global call_lock and always executes on all cpus. When a process enters flush_tlb_range() to purge TLBs for another process, it is possible to avoid flush_tlb_all() and instead allow sn2_global_tlb_purge() to purge TLBs only where necessary. This patch modifies flush_tlb_range() so that this case can be handled by platform TLB purge functions and updates ia64_global_tlb_purge() accordingly. sn2_global_tlb_purge() now calculates the region register value from the mm argument introduced with this patch. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 3d155f8cd0d077938d271225d26ee52f8eb26082 tree 28f65ed2dc5e9f12884daf2a97f50367f145d8a0 parent 7cc656efb560cda66b5ed48444cad7556ea4fe99 author Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 committer Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 [IB] mthca: first pass at catastrophic error reporting Add some initial support for detecting and reporting catastrophic errors reported by Mellanox HCAs. We start a periodic timer which polls the catastrophic error reporting buffer in device memory. If an error is detected, we dump the contents of the buffer for port-mortem debugging, and report a fatal asynchronous error to higher levels. In the future we can try to recover from these errors by resetting the device, but this will require some work in higher-level code as well. Let's get this in now, so that we at least get catastrophic errors reported in logs. Signed-off-by: Roland Dreier commit e0f998930eb67c49f2862c58a45262ad0bc03eca tree d2bc6cbe11a00a05f96da01b1d4ac27adaabd546 parent 6958ae318bb1af5e0b77968384700fb184fb8893 parent 7a4ed937aa44acdeb8c6ba671509dc7b54b09d3a author Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 committer Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 Auto-update from upstream commit 91190758d410a5d33c6051ba9ca95baa430256bb tree 2c9610004670f233a082549700376ded2a219261 parent ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 author Alan Cox Wed, 26 Oct 2005 12:17:46 -0400 committer Jeff Garzik Wed, 26 Oct 2005 12:17:46 -0400 [libata] ata_timing fix commit ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 tree 33b13cd5582c419f8ae098edb24ca355974a7ccf parent 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 Merge branch 'master' commit 1f57389a38dc1e8be167ec601f39f78f0bed3a96 tree 5f33d00a046597ae33855cee13d17d77048ba712 parent 077783f87708b24054452e5c07685ead2c28b1eb parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 Merge branch 'master' commit 077783f87708b24054452e5c07685ead2c28b1eb tree 998c73ed67ac6a209541941cdde4df20e9f12747 parent ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 author James Ketrenos Mon, 24 Oct 2005 10:27:46 -0500 committer Jeff Garzik Wed, 26 Oct 2005 00:54:23 -0400 [PATCH] ieee80211 build fix James Ketrenos wrote: > [3/4] Use the tx_headroom and reserve requested space. This patch introduced a compile problem; patch below corrects this. Fixed compilation error due to not passing tx_headroom in ieee80211_tx_frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 tree 802058729c3d2401ec73c580c670d8b924b17954 parent 9789089703c244ad766a13f441936736b6b1e709 author Ayaz Abdulla Wed, 26 Oct 2005 00:51:24 -0400 committer Jeff Garzik Wed, 26 Oct 2005 00:51:24 -0400 [netdrvr forcedeth] scatter gather and segmentation offload support also: - eliminate use of pointless get_nvpriv() wrapper, and use netdev_priv() directly. - use NETDEV_TX_xxx return codes commit dcab5e1eeccf5e226c771ecc013631cde157435f tree d0e6f0c63caee92c8ac86d24fb280a0c65be11d9 parent 95df1c04ab3f7ca617774930df62c0893a188c2c author David Engel Fri, 21 Oct 2005 22:09:16 -0500 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:20:21 -0200 [IPV4]: Fix setting broadcast for SIOCSIFNETMASK Fix setting of the broadcast address when the netmask is set via SIOCSIFNETMASK in Linux 2.6. The code wanted the old value of ifa->ifa_mask but used it after it had already been overwritten with the new value. Signed-off-by: David Engel Signed-off-by: Arnaldo Carvalho de Melo commit 95df1c04ab3f7ca617774930df62c0893a188c2c tree c37783ed5a57ebf90fb3645ed18b3b0005fe58ff parent c83c24861882758b9731e8550225cd1e52a4cd1c author Ralf Baechle Tue, 18 Oct 2005 21:39:33 +0100 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:14:09 -0200 [AX.25]: Use constant instead of magic number Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Arnaldo Carvalho de Melo commit c83c24861882758b9731e8550225cd1e52a4cd1c tree a6161031466786ec726532a822fdb63104613b5f parent 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 author Randy Dunlap Tue, 18 Oct 2005 22:07:41 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:10:18 -0200 [SK_BUFF] kernel-doc: fix skbuff warnings Add kernel-doc to skbuff.h, skbuff.c to eliminate kernel-doc warnings. Signed-off-by: Randy Dunlap Signed-off-by: Arnaldo Carvalho de Melo commit 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 tree 6f678dcabc60e41a07e1d6948d798e3b2644cea5 parent ea7ce406490cb248f44f510f7c0bcc357184640a author Jayachandran C Thu, 13 Oct 2005 11:43:02 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:58:54 -0200 [IPV4]: Remove dead code from ip_output.c skb_prev is assigned from skb, which cannot be NULL. This patch removes the unnecessary NULL check. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit ea7ce406490cb248f44f510f7c0bcc357184640a tree 94865798286a5b9faeca5faa63885d9840c2d8ed parent 80b30c1023dbd795faf948dee0cfb3b270b56d47 author Jayachandran C Thu, 13 Oct 2005 11:43:05 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:54:46 -0200 [NETLINK]: Remove dead code in af_netlink.c Remove the variable nlk & call to nlk_sk as it does not have any side effect. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit 80b30c1023dbd795faf948dee0cfb3b270b56d47 tree 18a6c4d4647e6b52ea9b53e1f938b5e7f7e97f8f parent 1371e37da299d4df6267ad0ddf010435782c28e9 author Herbert Xu Sat, 15 Oct 2005 10:58:30 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:48:45 -0200 [IPSEC]: Kill obsolete get_mss function Now that we've switched over to storing MTUs in the xfrm_dst entries, we no longer need the dst's get_mss methods. This patch gets rid of them. It also documents the fact that our MTU calculation is not optimal for ESP. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit 1371e37da299d4df6267ad0ddf010435782c28e9 tree a8b1706d73d86e5f732b132d99b90e1107eafb68 parent eed75f191d8318a2b144da8aae9774e1cfcae492 author Herbert Xu Sat, 15 Oct 2005 09:42:39 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:25:03 -0200 [IPV4]: Kill redundant rcu_dereference on fa_info This patch kills a redundant rcu_dereference on fa->fa_info in fib_trie.c. As this dereference directly follows a list_for_each_entry_rcu line, we have already taken a read barrier with respect to getting an entry from the list. This read barrier guarantees that all values read out of fa are valid. In particular, the contents of structure pointed to by fa->fa_info is initialised before fa->fa_info is actually set (see fn_trie_insert); the setting of fa->fa_info itself is further separated with a write barrier from the insertion of fa into the list. Therefore by taking a read barrier after obtaining fa from the list (which is given by list_for_each_entry_rcu), we can be sure that fa->fa_info contains a valid pointer, as well as the fact that the data pointed to by fa->fa_info is itself valid. Signed-off-by: Herbert Xu Acked-by: Paul E. McKenney Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit eed75f191d8318a2b144da8aae9774e1cfcae492 tree 512e66c1a83911c5944270a68bf950ddc1cbde0d parent d50a6b56f0f239cf061630c85add121dc3555339 author Harald Welte Sun, 16 Oct 2005 14:22:59 +0200 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:19:27 -0200 [NETFILTER] ip_conntrack: Make "hashsize" conntrack parameter writable It's fairly simple to resize the hash table, but currently you need to remove and reinsert the module. That's bad (we lose connection state). Harald has even offered to write a daemon which sets this based on load. Signed-off-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit d50a6b56f0f239cf061630c85add121dc3555339 tree 98012391b898e4ef4ccd59a41e75cdf65114353c parent b4099fab75d5e3eae8d207c0d7159e2f3348686e author Stephen Hemminger Fri, 14 Oct 2005 15:42:33 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:12:18 -0200 [PKTGEN]: proc interface revision The code to handle the /proc interface can be cleaned up in several places: * use seq_file for read * don't need to remember all the filenames separately * use for_online_cpu's * don't vmalloc a buffer for small command from user. Committer note: This patch clashed with John Hawkes's "[NET]: Wider use of for_each_*cpu()", so I fixed it up manually. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b4099fab75d5e3eae8d207c0d7159e2f3348686e tree 62e1e42f5422c14491a5b7bd90d48da057912b17 parent 2845b63b504b051a9cb4d78bed8b3594451a1f6f author Stephen Hemminger Fri, 14 Oct 2005 15:32:22 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:08:10 -0200 [PKTGEN]: Spelling and white space Fix some cosmetic issues. Indentation, spelling errors, and some whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 2845b63b504b051a9cb4d78bed8b3594451a1f6f tree 6de91ce8e5c07ec3bfd670605e8de916eec3b9ad parent b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 author Stephen Hemminger Fri, 14 Oct 2005 15:29:48 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:05:32 -0200 [PKTGEN]: Use kzalloc These are cleanup patches for pktgen that can go in 2.6.15 Can use kzalloc in a couple of places. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 tree 8b3fcc1f10d297ddde054f8be887cd09129e0320 parent 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 author Stephen Hemminger Fri, 14 Oct 2005 15:26:34 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:03:12 -0200 [PKTGEN]: Sleeping function called under lock pktgen is calling kmalloc GFP_KERNEL and vmalloc with lock held. The simplest fix is to turn the lock into a semaphore, since the thread lock is only used for admin control from user context. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 tree a6e7d773d72e2716bf675dbb2679e8ada21b4e21 parent 900e0143a575406146ac531fcb91790f166ce52f author John Hawkes Thu, 13 Oct 2005 09:30:31 -0700 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:54:01 -0200 [NET]: Wider use of for_each_*cpu() In 'net' change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 900e0143a575406146ac531fcb91790f166ce52f tree d75e7e5cbf6303dddafe4f123a7f4bbba7146570 parent 5ed688a7162ff8d28d7cf98b34a1f825e4c2c2ac author Patrick Caulfield Tue, 11 Oct 2005 08:22:33 +0100 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:49:29 -0200 [DECNET]: Remove some redundant ifdeffed code Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit e7f98dbbb89b68b23a5115708412a820a713fbf1 tree ec373399557962045efa884d17b4a094b701c45b parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Russ Anderson Tue, 25 Oct 2005 17:34:19 -0500 committer Tony Luck Tue, 25 Oct 2005 16:53:38 -0700 [IA64-SGI] fix bte_copy() calling get_nasid() while preemptible bte_copy() calls calls get_nasid(), which will get flagged if preemption if enabled. raw_smp_processor_id() is used instead. It is OK if we migrate off node. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 279290294662d4a35d209fb7d7c46523cfa3d63d tree e321f7bfe1d684b769a55917aea61b65def09c20 parent 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 author Dean Nelson Tue, 25 Oct 2005 14:11:53 -0500 committer Tony Luck Tue, 25 Oct 2005 16:33:22 -0700 [IA64-SGI] cleanup the way XPC locates the reserved page Eliminate the passing in of a scratch buffer used for locating the reserved page setup for XPC. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 tree 2125f5d9689e5bdc64ce2e4f35d8a8220c2e0054 parent e54af724c1ae3530c95135157776c9be65cdb747 author Dean Nelson Tue, 25 Oct 2005 14:09:51 -0500 committer Tony Luck Tue, 25 Oct 2005 16:32:39 -0700 [IA64-SGI] XPC changes to support more than 2k nasids XPC needs to be changed to support up to 16k nasids on an SGI Altix system. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit e54af724c1ae3530c95135157776c9be65cdb747 tree 99623edaf5d8fb34c8b43cbd19cf3d7b47d8b8f8 parent a607c38971fd078865fa9bef39e6c1d4435680c8 author Dean Nelson Tue, 25 Oct 2005 14:07:43 -0500 committer Tony Luck Tue, 25 Oct 2005 16:27:37 -0700 [IA64-SGI] fixes for XPC disengage and open/close protocol This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7cc656efb560cda66b5ed48444cad7556ea4fe99 tree bfc4d1e256e755623c9782b1a0883fc337d88e6e parent 547e3090738b04be650770b64265835dbb6ddf92 author Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 committer Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 [IB] simplify mad_rmpp.c:alloc_response_msg() Change alloc_response_msg() in mad_rmpp.c to return the struct it allocates directly (or an error code a la ERR_PTR), rather than returning a status and passing the struct back in a pointer param. This simplifies the code and gets rid of warnings like drivers/infiniband/core/mad_rmpp.c: In function nack_recv: drivers/infiniband/core/mad_rmpp.c:192: warning: msg may be used uninitialized in this function with newer versions of gcc. Signed-off-by: Roland Dreier commit ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 tree b9b426b6d618685fe69a09f62a081fa210204abc parent dc565b525d4b7091a3abb6616d210c8a896a11d7 author hawkes@sgi.com Thu, 13 Oct 2005 12:01:18 -0700 committer Tony Luck Tue, 25 Oct 2005 15:12:05 -0700 [IA64] another place to use for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of a for-loop using NR_CPUS into the general for_each_online_cpu() construct. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit dc565b525d4b7091a3abb6616d210c8a896a11d7 tree 6bd7e8f5cd4e912bfe7f704b1a7b084bfc3cc123 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author hawkes@sgi.com Mon, 10 Oct 2005 08:43:26 -0700 committer Tony Luck Tue, 25 Oct 2005 15:10:08 -0700 [IA64] wider use of for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(). Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit 9c184a073bfd650cc791956d6ca79725bb682716 tree d12206902d58d98c059a0a7b1aa8568253bc39c3 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author H. J. Lu Fri, 07 Oct 2005 11:01:19 -0700 committer Tony Luck Tue, 25 Oct 2005 15:05:45 -0700 [IA64] Fix 2.6 kernel for the new ia64 assembler The new ia64 assembler uses slot 1 for the offset of a long (2-slot) instruction and the old assembler uses slot 2. The 2.6 kernel assumes slot 2 and won't boot when the new assembler is used: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1433 This patch will work with either slot 1 or 2. Patch provided by H.J. Lu Signed-off-by: Tony Luck commit ce6e71ad4866dad366be135b024b776c00ec9ec8 tree cefc2f4d639726053cc57f557fc4cca812cf0c76 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Siddha, Suresh B Tue, 04 Oct 2005 16:35:31 -0700 committer Tony Luck Tue, 25 Oct 2005 15:00:36 -0700 [IA64] fix siblings field value in /proc/cpuinfo Fix the "siblings" field value in /proc/cpuinfo so that it now shows the number of siblings as seen by OS, instead of what is available from hardware perspective. Signed-off-by: Suresh Siddha Signed-off-by: Tony Luck commit b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 tree 682b8cf7e11ca49693b9a73420c050700b0774c7 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Peter Chubb Thu, 20 Oct 2005 12:31:19 +1000 committer Tony Luck Tue, 25 Oct 2005 14:36:55 -0700 [IA64] Allow simulator to use bigger disks The simscsi code at present overflows an int if it's given a large disk image. The attached patch increases the possible size to 128G. While it's unlikely that anyone will want to use SKI with such a large drive, the same framework is currently being used for various virtualisation experiments. Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 547e3090738b04be650770b64265835dbb6ddf92 tree 9329491379623349a7ef3a42be9bad302eea011d parent 34816ad98efe4d47ffd858a0345321f9d85d9420 author Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 [IB] mthca: correct modify QP attribute masks for UC The UC transport does not support RDMA reads or atomic operations, so we shouldn't require or even allow the consumer to set attributes relating to these operations for UC QPs. Signed-off-by: Roland Dreier commit 34816ad98efe4d47ffd858a0345321f9d85d9420 tree 8a5ed6a9b80e667c4c02d9993711ced06d158555 parent ae7971a7706384ca373fb7e212fe195698e6c5a1 author Sean Hefty Tue, 25 Oct 2005 10:51:39 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:51:39 -0700 [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped The MAD layer was violating the DMA API by touching data buffers used for sends after the DMA mapping was done. This causes problems on non-cache-coherent architectures, because the device doing DMA won't see updates to the payload buffers that exist only in the CPU cache. Fix this by having all MAD consumers use ib_create_send_mad() to allocate their send buffers, and moving the DMA mapping into the MAD layer so it can be done just before calling send (and after any modifications of the send buffer by the MAD layer). Tested on a non-cache-coherent PowerPC 440SPe system. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe tree 1d700a0fe5f1065b1e60d09587111f66ef2b19eb parent 057ace5e79da9ebf2aa82833cfea825533ac06fb author Randy Dunlap Tue, 25 Oct 2005 01:44:30 -0400 committer Jeff Garzik Tue, 25 Oct 2005 01:44:30 -0400 [PATCH] libata kernel-doc fixes Correct some function names in kernel-doc. Add some kernel-doc descriptions. Fix some typos. Remove a few blank lines. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit ae7971a7706384ca373fb7e212fe195698e6c5a1 tree 5c0d0fecf3faa6c899f8438c4589fa8dede9da72 parent ec329a135974f1c400214dab02f09584d4beeba9 author Sean Hefty Mon, 24 Oct 2005 12:33:56 -0700 committer Roland Dreier Mon, 24 Oct 2005 12:33:56 -0700 [IB] CM: Fix initialization of QP attributes for UC QPs. Fix cm_init_qp_init_attr(), cm_init_qp_rtr_attr() and cm_init_qp_rts_attr() so that they correctly handle the differences between UC and RC QPs. This fixes problems with setting up UC QPs through the CM. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ec329a135974f1c400214dab02f09584d4beeba9 tree 235be754f76f4e7d51975d2434f226cfc75cdd08 parent bbf207860931b6a033d0fbcd170ae2332c0d8216 parent 5d7edb3c1a01310725d86f0d83fb3be45685dc82 author Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 Manual merge of for-linus to upstream (fix conflicts in drivers/infiniband/core/ucm.c) commit 5d7edb3c1a01310725d86f0d83fb3be45685dc82 tree bbe21779313fea41eb644e0e0f06d5949cd4ed49 parent e7d311da9cba1e113f82176130d3af1be77dc3ee author Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 [IB] Add idr_destroy() calls on module unload Add idr_destroy() calls to the module_exit() functions of the four IB driver modules that use idrs, so we don't leak idr_layer_cache objects when these modules are unloaded. Signed-off-by: Roland Dreier commit e7d311da9cba1e113f82176130d3af1be77dc3ee tree 05b4baf382124a9a0342777127c09832dcbd88c0 parent c8e0ca683dfea7242ff29814561dfe761945e5b3 parent ba9e358fd04190a59e605c2963a15e014139a707 author Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 committer Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 057ace5e79da9ebf2aa82833cfea825533ac06fb tree f27ed6cbd9a185041862471ef421e6415e099344 parent cf482935c6abe5245e481213c6e6df808c976f56 author Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 committer Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 libata: const-ification bombing run Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect. commit c8e0ca683dfea7242ff29814561dfe761945e5b3 tree 9c7be6ca5f815f72c6be614576ad6ef6c3110f8c parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 committer Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 [IB] mthca: Always re-arm EQs in mthca_tavor_interrupt() We should always re-arm an event queue's interrupt in mthca_tavor_interrupt() if the corresponding bit is set in the event cause register (ECR), even if we didn't find any entries in the EQ. If we don't, then there's a window where we miss an EQ entry and then get stuck because we don't get another EQ event. Signed-off-by: Roland Dreier commit 7bbaa75452c77cbaa016b987765c5d6c8b744587 tree e7332fa7baaa1b7fa777c49acf07f26cd2eb3915 parent 2d5a2ae52d8863275e2d26398bc010249ea709d1 author Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 committer Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 drivers/block/sx8: kill unused variable commit cf482935c6abe5245e481213c6e6df808c976f56 tree 076ce597d2a7a07039e7834f2d15411fa3e2d0b7 parent 452503f993feffe96e8cc9fbff4888b96e2c5e40 author Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 libata: turn on block layer clustering commit 2d5a2ae52d8863275e2d26398bc010249ea709d1 tree d616b75e3ca5b317db905984aea16ebe777e4a2d parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 drivers/block/sx8: several minor changes * Newer hardware doesn't corrupt data when the queue depth is greater than one. Rather than force the user to recompile with a greater queue depth, make it a module parameter. * update copyright date * add MODULE_VERSION() * trim trailing whitespace * move CARM_SG_BOUNDARY to a separate enum, since its unsigned long * bump to version 1.0 commit 6958ae318bb1af5e0b77968384700fb184fb8893 tree 3abd55711f92ca14caf2617d79957d6f429f456a parent 27678201333e1b9a9a7fc8e685d858132956113e author Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 [PARISC] Update MAINTAINERS and CREDITS Add Kyle McMartin and Thibaut Varene as maintainers for ALSA ad1889 driver. Add myself to CREDITS. Signed-off-by: Kyle McMartin commit 27678201333e1b9a9a7fc8e685d858132956113e tree 1aaf6756d92bd6b0e10046ab85b724c26d1eacca parent 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c author Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 [PARISC] defconfig updates defconfig updates from Kyle McMartin, Grant Grundler, and Matthew Wilcox. Signed-off-by: Kyle McMartin commit 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c tree d89c5f47149b443e05345ed8e7c8c9d8960cfa15 parent ae8c75c1c47029a64976690c37336a2be6b49778 author Matthew Wilcox Fri, 21 Oct 2005 22:58:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:51 -0400 [PARISC] Update parisc specific input code from parisc tree Update drivers to new input layer changes. Signed-off-by: Helge Deller Signed-off-by: Matthew Wilcox Reorder code in gscps2_interrupt() and only enable ports when opened. This fixes issues with hangs booting an SMP kernel on my C360. Previously serio_interrupt() could be called before the lock in struct serio was initialised. Signed-off-by: Richard Hirst Signed-off-by: Kyle McMartin commit ae8c75c1c47029a64976690c37336a2be6b49778 tree 4af797b490b210f40770d685cf89f760efe15199 parent 27ee073cd2f72aa794299ef1ead31072f5176533 author Matthew Wilcox Fri, 21 Oct 2005 22:58:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:03 -0400 [PARISC] Fix mux.c driver Missing spin_lock_init() made the Mux driver hang on SMP systems. Fix up users of ->hpa to use ->hpa.start instead Remove warning in 8250_gsc.c by eliminating serial_line_nr Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 27ee073cd2f72aa794299ef1ead31072f5176533 tree 9a9bec76bbcf934454e0d9fef70c77f9ac6ca286 parent abff75439fd6e9b5774e5984d4c3b3b59cb3038b author Matthew Wilcox Fri, 21 Oct 2005 22:57:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:43 -0400 [PARISC] Update scsi drivers from parisc tree Fix lasi700 for James's ioread*be() changes Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit abff75439fd6e9b5774e5984d4c3b3b59cb3038b tree 2388b814d69621ce9d3ee0d37776f51b4aa86133 parent e55fb3e787ccfbbdb3198ec859d5689e5413c7bd author Randolph Chung Fri, 21 Oct 2005 22:57:13 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:13 -0400 [PARISC] Avoid use of floating point in the kernel don't use *printf %f in the kernel, mm'kay? Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit e55fb3e787ccfbbdb3198ec859d5689e5413c7bd tree 09d3def62c8d2e268655afc10f8f6f3647c1fea6 parent 61520e1f8f5ec3a78510a3254947324711944b98 author Grant Grundler Fri, 21 Oct 2005 22:56:53 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:53 -0400 [PARISC] Properly specify section alignment for real2.S .align applies to the current section - ie section directives come first. Thanks to Joel Soete for catching this. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 61520e1f8f5ec3a78510a3254947324711944b98 tree f3fae16fc105543b505a2e9f6d4de2b852d44655 parent e635c96ed6c972e1b3cb0c0fc3681c1204697287 author Grant Grundler Fri, 21 Oct 2005 22:56:35 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:35 -0400 [PARISC] Specify level to fix binutils level promotion bug fixup.S needs to specify .level and use correct LDREG macro. New binutils has a bug where it doesn't "promote" from PA1.0 to PA1.1 correctly when using ",s" completer. remove use of __LP64__ in assembly.h and add some white space. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit e635c96ed6c972e1b3cb0c0fc3681c1204697287 tree 7bae8401ea7ed96881341b6c4793985d79cf6839 parent 9b3b331d0322b60de1bde20528bf974f62804ffa author Matthew Wilcox Fri, 21 Oct 2005 22:56:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:14 -0400 [PARISC] Explicitly specify sr4 when flushing kernel space Specify sr4 when flushing kernel space (we could equally well use sr5-7, but must not use sr0). Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 9b3b331d0322b60de1bde20528bf974f62804ffa tree 6c9f07131f4985f8b48ccd198a88d6405fc43869 parent 37318a3cb1028933417533084ddbf9d84be06878 author Grant Grundler Fri, 21 Oct 2005 22:55:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:51 -0400 [PARISC] Properly specify index field to I/D cache flush ops replace use of "0" with "%r0" since PA 1.1 I/D flush ops only take a general register and not an immediate value for the index field. This just forces the code to always be PA 1.1 "clean". From: Joel Soete Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 37318a3cb1028933417533084ddbf9d84be06878 tree 2806c46b71e68f2c5da2cff54adfc0407a5b7cce parent c2709020adb442f7d25f0805af08a3b6cfedd7be author Grant Grundler Fri, 21 Oct 2005 22:55:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:34 -0400 [PARISC] Fix copy_user_page_asm to NOT access past end of page 2.6.12-rc2-pa3 fix copy_user_page_asm to NOT access past end of page. My bad. /o\ Lamont confirmed that instructions following a conditional branch are *alway* executed regardless if the branch is taken or not. Unless they are nullified (which was missing in this case). He also noted: Conditional branches nullify on forward taken branch, and on non-taken backward branch. Note that .+4 is a backwards branch. This makes alot more sense than the giberish in the PA20 arch book. Compiles and boots on both 64-bit (a500) and 32-bit (j6k). Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c2709020adb442f7d25f0805af08a3b6cfedd7be tree abebd5eb62274e79c5084c94bef2c0495529acce parent dd0fd51dc1585941c2edccdb40e5f11ea3a64496 author Sven Schnelle Fri, 21 Oct 2005 22:55:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:15 -0400 [PARISC] Add NETPOLL support to lasi_82596 add netpoll support Patch by Sven Schnelle Signed-off-by: Sven Schnelle Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit dd0fd51dc1585941c2edccdb40e5f11ea3a64496 tree 4da7851b8972bb7251789b3862642aca8274aa07 parent 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a author James Bottomley Fri, 21 Oct 2005 22:54:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:38 -0400 [PARISC] Remove the spurious do_softirq calls from entry.S remove the spurious do_softirq calls from entry.S With these in we were calling do_softirq twice; plus the calls in entry.S took no account of nesting. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a tree 997f10729a93f9058e999dffc88882c4d54f8351 parent b4b45313e58bf25886072a4ab111fac553747802 author Grant Grundler Fri, 21 Oct 2005 22:54:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:20 -0400 [PARISC] Define pgprot_noncached macro in pgtable.h drivers/infiniband depends on definition of pgprot_noncached() macro. Someone else will have to fix it's wrong. Signed-off-by: Grant Grundler commit b4b45313e58bf25886072a4ab111fac553747802 tree 8e3ea1a166462a7630cba054e66ef7ba7268d4ae parent 05aa10de701409b893484d2901c8974b3382f8fe author Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 [PARISC] Add other CRT_ID for newer cards to grfioctl.h Add IDs for some other STI graphics cards found on HP PA-RISC machines. Signed-off-by: Kyle McMartin commit 05aa10de701409b893484d2901c8974b3382f8fe tree e4cd05811271e2f6052139b58a533d8df37710f6 parent 618febd6784054eea928d712b7e564558a7cefd5 author Grant Grundler Fri, 21 Oct 2005 22:53:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:43 -0400 [PARISC] Add ECANCELED to errno.h add ECANCELED - SuSv3 wants one L. IB/SDP actually returns this error. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 618febd6784054eea928d712b7e564558a7cefd5 tree 13a60c377dc5a17f44e9b3b227e5996e0ba7e5a4 parent b2450cc1b7ce07d73545ece32db50197d649e230 author James Bottomley Fri, 21 Oct 2005 22:53:26 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:26 -0400 [PARISC] Fix the alloc_slabmgmt panic Fix the alloc_slabmgmt panic Hopefully this should also fix a lot of other intermittent kernel bugs. The problem has been around since 2.6.9-rc2-pa6 when we allowed floating point registers to be used in kernel code. The essence of the problem is that gcc prefers to use floating point for integer divides and multiples. Further, it can rely on the values in the no clobber fp regs being correct across a function call. Unfortunately, our task switch function only saves the integer no clobber registers, not the fp ones, so if gcc makes a function call to any function in the kernel which could sleep, the values it is relying on in any no clobber floating point register may be lost. In the case of alloc_slabmgmt, the value of the page offset is being stored in %fr12 across a call to kmem_getpages(), which sleeps if no pages are available. Thus, the offset can be trashed and the slab code can end up with a completely bogus address leading to corruption. Kudos to Randolph who came up with the program to trip this problem at will and thus allowed it to be tracked and fixed. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit b2450cc1b7ce07d73545ece32db50197d649e230 tree 6cde982570c3989ee417c83115bdce4f74f858b8 parent 8b631342dd9db9ca272e11814e041e4ee3d1a948 author Carlos O'Donell Fri, 21 Oct 2005 22:53:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:04 -0400 [PARISC] Implement 5 argument clone. * arch/parisc/kernel/process.c (sys_clone): Use 5 args, and process CLONE_PARENT_SETTID, CLONE_CHILD_SETTID, CLONE_CHILD_CLEARTID. (copy_thread): First cut at CLONE_SETTLS. Signed-off-by: Carlos O'Donell Signed-off-by: Kyle McMartin commit 8b631342dd9db9ca272e11814e041e4ee3d1a948 tree 52d7975960c6f018ce0bdab1566e9b41511b7cbf parent 5beb5f32c56b70f79117e13a1abd54824a78466c author Grant Grundler Fri, 21 Oct 2005 22:52:46 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:46 -0400 [PARISC] Update Kconfig for itimer selection 2.6.14-rc2-pa1: enable 100/250/1000HZ itimer selection Signed-off-by: Grant Grundler Mark floppy as broken. Thanks Joel Signed-off-by: Matthew Wilcox make DISCONTIGMEM depend on 64BIT Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 5beb5f32c56b70f79117e13a1abd54824a78466c tree a0dd70e130a735f6ffacc82ee6928ec34d7445b0 parent 675ec7a56a77da2dda27180c95ee82ae4879142a author Randolph Chung Fri, 21 Oct 2005 22:52:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:00 -0400 [PARISC] Update minimum compiler version and CROSS_COMPILE for parisc64 Prefix changed in debian, include "gnu" in the commandline. Signed-off-by: Carlos O'Donell Ensure the compiler version is new enough (>= 3.3) Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 675ec7a56a77da2dda27180c95ee82ae4879142a tree 2b31efafa8306c1e60d9773a0cc61b5eb3f16b4c parent c8e8b1937a788ec46ee11d84437311d4cb8be218 author Grant Grundler Fri, 21 Oct 2005 22:51:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:40 -0400 [PARISC] Document history of PDC_NARROW as it is now obsolete Document history of PDC_NARROW a bit as it will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c8e8b1937a788ec46ee11d84437311d4cb8be218 tree 6095b828530f992d03825fc7dd379bfda0ee8751 parent b8db800295fd31f8beb39fd1de63660aa7aef47b author Jesper Juhl Fri, 21 Oct 2005 22:51:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:23 -0400 [PARISC] kfree cleanups to ioctl32.c 2.6.12-rc2-pa2 kfree cleanups from Jesper Juhl Signed-off-by: Jesper Juhl Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b8db800295fd31f8beb39fd1de63660aa7aef47b tree 0c1a00f6dcc0c8950ceffce45323b606a70db471 parent 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef author Grant Grundler Fri, 21 Oct 2005 22:50:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:48 -0400 [PARISC] Cleanup whitespace and handle proc_mkdir() failures in pci-dma.c 1) cleanup whitespace and handle proc_mkdir() failures. From: Christophe Lucas 2) rename "dino" entry to "pcxl_dma"...also seems like it's in the wrong location. 3) don't dump resource bitmap in /proc/pcxl_dma output 4) fixup compiler warning Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef tree e476059c88991ecbf1a7ffafb0b9e21ceb95204a parent 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f author Grant Grundler Fri, 21 Oct 2005 22:50:33 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:33 -0400 [PARISC] More informative error message in pcibios_link_hba_resources Generate a more informative message when a resource does not have a parent. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f tree bd2d132c35e044e31dcab92915f202265f9d7929 parent 40c72f20e89300dfaea28300ee17aa56d230d63f author Matthew Wilcox Fri, 21 Oct 2005 22:50:06 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:06 -0400 [PARISC] Update pdc console from parisc tree Get rid of some unnecessary includes Remove a layer of macro indirection around pdc_console_device Delete pdc_console_die() as it is unused Avoid double-printing on panic by clearing CON_PRINTBUFFER rather than setting con_start to be log_end Make con_start and log_end static again Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 40c72f20e89300dfaea28300ee17aa56d230d63f tree 9303278860122e15e1def56caac7a73a556429c1 parent eba917273eb8579dd8ae36f6645518ca5579a2ab author Randolph Chung Fri, 21 Oct 2005 22:49:47 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:47 -0400 [PARISC] Prevent signal loops if we have a problem setting up a frame 2.6.13-rc6-pa2 use force_sigsegv() if we have a problem setting up a frame. This is required to prevent SIGSEGV loops. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit eba917273eb8579dd8ae36f6645518ca5579a2ab tree e2f6e86ea96e42bcfa78661a5d69e4c050218f2c parent 74d13f84a9905e02a025d952ced6abb2e064f1c1 author Thibaut Varene Fri, 21 Oct 2005 22:49:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:25 -0400 [PARISC] Add printing of fpregs state to stack dump We're using fp regs now in the kernel, so we want to print them on stack dump Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 74d13f84a9905e02a025d952ced6abb2e064f1c1 tree f1ea8ccd5a19db2402ec85c48a136ebed2c31e6e parent fa681a1800a58234afe4d876c1752c0751826d22 author Matthew Wilcox Fri, 21 Oct 2005 22:49:05 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:05 -0400 [PARISC] Fix compile warning in pci.h Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit fa681a1800a58234afe4d876c1752c0751826d22 tree 121863680509f24c2edc94009a703486b16e8768 parent 7efe1611b2db9025ffc52a686897ab91820caeb4 author Randolph Chung Fri, 21 Oct 2005 22:48:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:34 -0400 [PARISC] Disable use of fpregs in pa_memcpy Disable use of fpregs in pa_memcpy, and turn on the -mdisable-fpregs flag. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 7efe1611b2db9025ffc52a686897ab91820caeb4 tree 83e44db7a424f40cc4259780be029eab4d8d6179 parent 91313d60d8ad96fa79a833e55e8c13b56f893614 author Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 [PARISC] Initialize serial spinlocks in superio.c git commit 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 changed our locking characteristics, and put the onus of spin_lock_init on superio.c. Signed-off-by: Kyle McMartin commit 91313d60d8ad96fa79a833e55e8c13b56f893614 tree 4808780dd7837cbbb2e242686d026caa26178e1c parent 3aa0862ce7c120e035bc2aa25997fd000d964d6e author Grant Grundler Fri, 21 Oct 2005 22:47:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:40 -0400 [PARISC] Add sync required after fdc to enforce insn ordering PA20 arch book (page 7-52 and 7-55) indicate a "sync" is required after the FDC "to enforce instruction ordering". And we want to make sure FIC is executed after FDC has retired. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3aa0862ce7c120e035bc2aa25997fd000d964d6e tree 2e477339f4d91467fbcaa3c873776e759fb7942f parent 413059f28e9949d9ad2d04d1070c63169798176e author Grant Grundler Fri, 21 Oct 2005 22:47:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:04 -0400 [PARISC] Minor iosapic.c cleanup minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 413059f28e9949d9ad2d04d1070c63169798176e tree c4609bc151c3f88f7e8f2128e81c32356f842063 parent 3499495205a676d85fcc2f3c28e35ec9b43c47e3 author Grant Grundler Fri, 21 Oct 2005 22:46:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:48 -0400 [PARISC] Replace uses of __LP64__ with CONFIG_64BIT 2.6.12-rc4-pa3 s/__LP64__/CONFIG_64BIT/ and fixup config.h usage Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 tree a22c976db8b5c81f3f42b283a37954f9381f3f9f parent ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e author Grant Grundler Fri, 21 Oct 2005 22:46:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:18 -0400 [PARISC] Use work queue in LED/LCD driver instead of tasklet. 2.6.12-rc1-pa6 use work queue in LED/LCD driver instead of tasklet. Main advantage is it allows use of msleep() in the led_LCD_driver to "atomically" perform two MMIO writes (CMD, then DATA). Lead to nice cleanup of the main led_work_func() and led_LCD_driver(). Kudos to David for being persistent. From: David Pye Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e tree ddae7480dbac1c18cd5377b7ffcbf19426448f9f parent a366064c3ff46c985a3c7243468be197d29874dc author Jens Axboe Fri, 21 Oct 2005 22:45:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:57 -0400 [PARISC] Add new ioprio_{set,get} syscalls add syscall entries for ioprio_set/get as per Jens Axboe. Signed-off-by: Jens Axboe Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit a366064c3ff46c985a3c7243468be197d29874dc tree 379418f6bbbfcfb8ebd6a53786e8d5e0a19d0327 parent 2464212f68136527f6364d63c23a529e1fd7d168 author Grant Grundler Fri, 21 Oct 2005 22:45:22 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:22 -0400 [PARISC] Update bitops from parisc tree Optimize ext2_find_next_zero_bit. Gives about 25% perf improvement with a rsync test with ext3. Signed-off-by: Randolph Chung fix ext3 performance - ext2_find_next_zero() was culprit. Kudos to jejb for pointing out the the possibility that ext2_test_bit and ext2_find_next_zero() may in fact not be enumerating bits in the bitmap because of endianess. Took sparc64 implementation and adapted it to our tree. I suspect the real problem is ffz() wants an unsigned long and was getting garbage in the top half of the unsigned int. Not confirmed but that's what I suspect. Signed-off-by: Grant Grundler Fix find_next_bit for 32-bit Make masking consistent for bitops From: Joel Soete Signed-off-by: Randolph Chung Add back incorrectly removed ext2_find_first_zero_bit definition Signed-off-by: James Bottomley Fixup bitops.h to use volatile for *_bit() ops Based on this email thread: http://marc.theaimsgroup.com/?t=108826637900003 In a nutshell: *_bit() want use of volatile. __*_bit() are "relaxed" and don't use spinlock or volatile. other minor changes: o replaces hweight64() macro with alias to generic_hweight64() (Joel Soete) o cleanup ext2* macros so (a) it's obvious what the XOR magic is about and (b) one version that works for both 32/64-bit. o replace 2 uses of CONFIG_64BIT with __LP64__. bitops.h used both. I think header files that might go to user space should use something userspace will know about (__LP64__). Signed-off-by: Grant Grundler Move SHIFT_PER_LONG to standard location for BITS_PER_LONG (asm/types.h) and ditch the second definition of BITS_PER_LONG in bitops.h Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 2464212f68136527f6364d63c23a529e1fd7d168 tree 5a7a9b56570be465c87047a28d38aadf1357e698 parent f053725b8985d10c2cc4b837a80a381104c936a4 author Stuart Brady Fri, 21 Oct 2005 22:44:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:44:14 -0400 [PARISC] Fix parisc_setup_cache_timing to choose a better flush threshold update comment about CAFL_STRIDE Signed-off-by: Kyle McMartin Fixed a bug in parisc_setup_cache_timing() which caused it to calculate a poor value for parisc_cache_flush_threshold. Thanks to Joel Soete for spotting the bug. Thanks to James Bottomley for pointing out the clean way to fix this. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit f053725b8985d10c2cc4b837a80a381104c936a4 tree b9539783ec2f608638dd0d92c2c56d49eb19d93e parent 99ac79479928bae42d694b7cb53644be5d3b6dd2 author Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 [PARISC] Add ability for prctl to change unaligned trap behaviour Add support for changing unaligned trap behaviour on a per-thread basis. Signed-off-by: Kyle McMartin commit 99ac79479928bae42d694b7cb53644be5d3b6dd2 tree f7f8793f2d5df8d3179f86c1eb75c93a2c94749b parent 3a165680168758733b7a9f7fb835954fbe6b91a8 author Randolph Chung Fri, 21 Oct 2005 22:42:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:57 -0400 [PARISC] Replace some calls to bl with b,l or bv to use longer offsets convert some bl calls to b,l or bv to use longer offsets Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 3a165680168758733b7a9f7fb835954fbe6b91a8 tree 634b8e305fd9de734f77ac224d404abd574b9d0a parent 5cd55b0edee7f979530c86b23728d461ddeb9f3f author Stuart Brady Fri, 21 Oct 2005 22:42:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:38 -0400 [PARISC] Update harmony from parisc tree o Added a control for the input source (which can be either "line" or "mic") o Mute the speaker/line-out/headphone outputs by default. o Increased the buffer size from 10 pages to 16. Signed-off-by: Stuart Brady ALSA Harmony was resetting the capture position when preparing the capture substream, which it shouldn't do. This should fix the problem. Signed-off-by: Stuart Brady ALSA Harmony should no longer play junk (left in the buffers from a previous stream) at the start of a new stream. Implement the monitor mixer channel for ALSA Harmony. Also prevent snd_harmony_volume_get from returning negative values. Signed-off-by: Stuart Brady Use the graveyard/silence buffers in ALSA Harmony. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 5cd55b0edee7f979530c86b23728d461ddeb9f3f tree a279495f59c8de8bbfdd1bbdfd0b0927160fa669 parent 951a0150135c46c7791d68e0d1112900d99302d7 author Randolph Chung Fri, 21 Oct 2005 22:42:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:18 -0400 [PARISC] Take into account nullified insn and lock functions for profiling export profile_pc() symbol - oprofile needs it when built as a module. Signed-off-by: Grant Grundler Take into account nullified insn and lock functions for profiling This is needed at the end of functions; it is typical that the return branch nullifies the next insn, which is in the next function. This causes profiling data to show up against the "wrong" function. We also count lock times against the locker. This is consistent with other architectures. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 951a0150135c46c7791d68e0d1112900d99302d7 tree 19ca9f01cc7159814f3db9566061be3afeb3033e parent 14e256c107304367eff401d20f2ab9fa72e33136 author Matthew Wilcox Fri, 21 Oct 2005 22:41:49 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:49 -0400 [PARISC] Reorganize sticore probe routine to be a little less convoluted Fix some whitespace issues Reorganise parisc_device probe routine to be a little less convoluted Use ->hpa.start instead of ->hpa Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 14e256c107304367eff401d20f2ab9fa72e33136 tree beff45e23977abbb89aa3cc4851ad4f98b283bff parent 04d472dc83388c59deb6241e9aed841926aa1c8c author Matthew Wilcox Fri, 21 Oct 2005 22:41:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:25 -0400 [PARISC] Update spinlocks from parisc tree Neaten up the CONFIG_PA20 ifdefs More merge fixes, this time for SMP Signed-off-by: Matthew Wilcox Prettify the CONFIG_DEBUG_SPINLOCK __SPIN_LOCK_UNLOCKED initializers. Clean up some warnings with CONFIG_DEBUG_SPINLOCK enabled. Fix build with spinlock debugging turned on. Patch is cleaner like this, too. Remove mandatory 16-byte alignment requirement on PA2.0 processors by using the ldcw,CO completer. Provides a nice insn savings. Signed-off-by: Kyle McMartin commit 04d472dc83388c59deb6241e9aed841926aa1c8c tree b6ebff62c0f62416f9c84bb24e1d6b2901661e02 parent 896a375623c3643a3f189353e7d4828c48a7fdf8 author Grant Grundler Fri, 21 Oct 2005 22:40:24 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:24 -0400 [PARISC] Move pa_tlb_lock to tlb_flush.h move pa_tlb_lock and it's primary consumers to tlb_flush.h Future step will be to move spinlock_t definition out of system.h. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 896a375623c3643a3f189353e7d4828c48a7fdf8 tree bb79535f843110f9b2b199890157fcabb0504b43 parent b2c1fe81df7471de9f7e2918877ac04ec9cde35f author Grant Grundler Fri, 21 Oct 2005 22:40:07 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:07 -0400 [PARISC] Make sure use of RFI conforms to PA 2.0 and 1.1 arch docs 2.6.12-rc4-pa3 : first pass at making sure use of RFI conforms to PA 2.0 arch pages F-4 and F-5, PA 1.1 Arch page 3-19 and 3-20. The discussion revolves around all the rules for clearing PSW Q-bit. The hard part is meeting all the rules for "relied upon translation". .align directive is used to guarantee the critical sequence ends more than 8 instructions (32 bytes) from the end of page. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b2c1fe81df7471de9f7e2918877ac04ec9cde35f tree 742a0a30608828b379e911c40ffa80cf576c93b4 parent 92b919fe46509820c639a08962cbf78bc8d227d9 author Grant Grundler Fri, 21 Oct 2005 22:39:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:39:43 -0400 [PARISC] Allow STI_CONSOLE access to some FONTS add || STI_CONSOLE to some of the basic FONTs. May need to get at least one of them to default to "Y" for parisc. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 92b919fe46509820c639a08962cbf78bc8d227d9 tree a4c138f9b224129b0bebbea4533cfe7e1a1dba07 parent 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 author Matthew Wilcox Fri, 21 Oct 2005 22:38:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:38:23 -0400 [PARISC] Update dino from parisc tree Fix card-mode Dino crashes on 725 (and probably other Snake) systems. Dino was coming up in fatal mode after a warm reboot. Resetting Dino brings it out of fatal mode, so do that if the status register indicates we're in fatal mode. Since this was never observed on any later systems, I presume firmware does this for us on those. Signed-off-by: Matthew Wilcox Add debug statements in the cfg_read and cfg_write functions Fix debug statements from the IRQ overhaul last winter Rename dino_driver_callback() to dino_probe() Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 tree d9289057621307b63d5f0f902ab0f37826ccb1f8 parent 64908ad95c34f25849412d6d4735ac10f8fb6575 author Grant Grundler Fri, 21 Oct 2005 22:37:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:43 -0400 [PARISC] Update ccio-dma from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 fdc/lci should be %r0 instead 0 for index (PA 1.1 compliance) From: Joel Soete Signed-off-by: Grant Grundler Explain why we need insert_resource() instead of request_resource(). Fundementally, this is more convoluted for ccio driver because of o legacy (HP-PB) transperant bridges. o support for MMIO behind card-mode Dino (PCI) o support for above bridges without ccio in the box SBA driver doesn't have to worry about those issues. Signed-off-by: Grant Grundler Use insert_resource instead of request_resource now that the subdevices will already have their resources claimed Signed-off-by: Matthew Wilcox re-enable use of "inline" for perf critical functions. Signed-off-by: Grant Grundler 2.6.12-rc4-pa5 fix sign extension of MMIO range Fixes the problem of claiming a range that is disabled on 64-bit kernel: ccio_init_resource() claimed CCIO bus address space (ffffffff00000000, ffffffffffffffff) also removes use of __FILE__. Tested on both 32 and 64-bit systems by Joel. From: Joel Soete Signed-off-by: Grant Grundler 2.6.12-rc1-pa7 incorrect BUG_ON in ccio ccio-dma.c line 1317 was preventing K-class with 4GB RAM from booting. Any ccio machine with >=2GB of RAM would have (incorrectly) triggered this. Signed-off-by: Grant Grundler Convert to ioremap and __raw_read/write Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 64908ad95c34f25849412d6d4735ac10f8fb6575 tree 544173d34dadfb80339e3d4ba147875ad1f5c731 parent 53f01bba49938f115237fe43a261c31ac13ae5c6 author Grant Grundler Fri, 21 Oct 2005 22:37:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:20 -0400 [PARISC] Update sba_iommu from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 move "sync" outside the main loop that fills IO Pdir. Signed-off-by: Grant Grundler remove explicit use of sr0 in fdc ops. Thanks to Joel Soete for reminding me were I added those... Signed-off-by: Grant Grundler 2.6.14-rc2-pa2 - make SBA more anal about invalidating pdir entries Previous code cleared the valid flag a pdir entry but it did NOT guarantee this change was visible to the PDIR before writing the PCOM register. Ie the SBA could pick up a stale entry if the write happened to hit the SBA before the cacheline was flushed from the cache. Long term, I think I want to make this a compile time flag. Developement tree should enable anal pdir checking by default and Debian can disable it with either a CONFIG option or one-line patch. fdc/sync options can only negatively affect performance though I haven't measure how much yet. If someone can run netperf TCP_RR across gige and compare -pa1 and -pa2, that would be sufficient. Cleaned up the use of "fdc" to make sure it's using "kernel" space id (specify sr0 but maps to sr4-7). It seems a bit fragile to assume "sr1" gets loaded with KERNEL_SPACE which is how the code works today. Tested on 32 and 64-bit SMP kernels on j6k. Signed-off-by: Grant Grundler remove PDC_NARROW from SBA and document history of PDC_NARROW a bit. It will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler if/ifdef cleanups from Joel Soete. Signed-off-by: Grant Grundler 2.6.12-rc4-pa2 fix 32-bit support for Astro platforms o Since my last SBA code change, SBA could allocate more than 1GB of IOVA space on Astro boxes with more than 1GB of RAM when running 32-bit kernel. This is bad since IOMMU can only talk to the first 1GB at most. Kudos to jejb for quickly spotting that bug. o jejb also noted SBA should *always* reject DMA masks > 32-bits since DMA-mapping.txt indicates caller should try again with 32-bits. o off-by-one error when comparing the mask to IOVA space size. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 53f01bba49938f115237fe43a261c31ac13ae5c6 tree df2a5fa9d95c7e69447ac0c89d6e149888c9bd1c parent bdad1f836ab1ca2b18a625222f63f630cfd14e41 author Matthew Wilcox Fri, 21 Oct 2005 22:36:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:40 -0400 [PARISC] Convert parisc_device to use struct resource for hpa Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit bdad1f836ab1ca2b18a625222f63f630cfd14e41 tree b52b796d4f93b56b8cf23b23219c7083e363c96b parent 5658374766d9e0249bd04e9d62bdb8456b916b64 author Matthew Wilcox Fri, 21 Oct 2005 22:36:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:23 -0400 [PARISC] Change the driver names so /sys/bus/parisc/drivers/ looks better Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver names. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 5658374766d9e0249bd04e9d62bdb8456b916b64 tree 61ae77a2c8faf7bb420be00d989b89c5ffd1f4ee parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Matthew Wilcox Fri, 21 Oct 2005 22:33:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:33:38 -0400 [PARISC] Convert parisc_device tree to use struct device klists Fix parse_tree_node. much more needs to be done to fix this file. Signed-off-by: Matthew Wilcox Make drivers.c compile based on a patch from Pat Mochel. From: Patrick Mochel Signed-off-by: Kyle McMartin Fix drivers.c to create new device tree nodes when no match is found. Signed-off-by: Richard Hirst Do a proper depth-first search returning parents before children, using the new klist infrastructure. Signed-off-by: Richard Hirst Fixed parisc_device traversal so that pdc_stable works again Fixed check_dev so it doesn't dereference a parisc_device until it has verified the bus type Signed-off-by: Randolph Chung Convert pa_dev->hpa from an unsigned long to a struct resource. Use insert_resource() instead of request_mem_region(). Request resources at bus walk time instead of driver probe time. Don't release the resources as we don't have any hotplug parisc_device support yet. Add parisc_pathname() to conveniently get the textual representation of the hwpath used in sysfs. Inline the remnants of claim_device() into its caller. Signed-off-by: Matthew Wilcox I noticed that some of the STI regions weren't showing up in iomem. Reading the STI spec indicated that all STI devices occupy at least 32MB. So check for STI HPAs and give them 32MB instead of 4kB. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 452503f993feffe96e8cc9fbff4888b96e2c5e40 tree 83163004da490ea8521ec753df71121b62de200a parent 11e29e21514517f3022a1f30998ac4c7b1197658 author Alan Cox Fri, 21 Oct 2005 19:01:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 19:01:32 -0400 Add ide-timing functionality to libata. This is needed for full AMD and VIA drivers and possibly more. Functions to turn actual clocking and cycle timings into register values. Also to merge shared timings to compute an optimal timing set. Built from the drivers/ide version by Vojtech Pavlik Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 11e29e21514517f3022a1f30998ac4c7b1197658 tree 195f9ce419f5141d6bab4676184d16fd600cf139 parent 307e4dc28ee255bf22b431f242f847c9d96fe3fa author Alan Cox Fri, 21 Oct 2005 18:46:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 18:46:32 -0400 libata: handle early device PIO modes correctly commit 9789089703c244ad766a13f441936736b6b1e709 tree 096e552a197400429a033f235fadd4ccbe886f01 parent 59b81827071a8ae7f399da533d268e1e33bfeeb7 parent 519a62bb8a0b0b383e6022cad6242cf63efc015c author Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 committer Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit 519a62bb8a0b0b383e6022cad6242cf63efc015c tree 34c1caebdf145d79f31ff2a2537e29402952d5ec parent d3f7bf4fa9626d371f26cd310477202628a8126a author James Ketrenos Thu, 20 Oct 2005 15:57:03 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:40 -0500 Update version ieee80211 stamp to 1.1.6 commit d3f7bf4fa9626d371f26cd310477202628a8126a tree 7b12b1ed327ff6f8e9820979e302e23e6a157223 parent f0f15ab5542f73d07e35eeee713df289599427b2 author Michael Buesch Fri, 21 Oct 2005 12:39:52 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:28 -0500 ieee80211 subsystem: * Use GFP mask on TX skb allocation. * Use the tx_headroom and reserve requested space. Signed-off-by: Michael Buesch Signed-off-by: James Ketrenos commit ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 parent 654b1536b0927d189526b9063818e0790aa3ea23 author Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 committer Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit 307e4dc28ee255bf22b431f242f847c9d96fe3fa tree 939d7173d97c52680f3a63ff303ccf2f62f540cf parent 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_vsc) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 tree d9e663902fbc2f187bfc56ab16080c2b6d573e5f parent a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sil) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 tree 698aba1b97371d3fb6b3ece1ebda8e5e0e9ca741 parent 0420dd121d395e76f6b80fe232e7b4bc6a046f18 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sx4) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 0420dd121d395e76f6b80fe232e7b4bc6a046f18 tree b45a5dbd3e1dda91eb92f856063146563f8f6f2a parent b181d3b0121e141cb410ea3126b4dbe4f8e1751a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] enum safety (sata_qstor) sata_qstor strays into a nasty area - gcc handling of wide enums is full of bugs that got fixed between gcc versions creating portability nightmare. Single-member enums are safe, so are ones that stay within the range of int or unsigned int. Anything beyond that is asking for trouble. Declaration of constants split in two enums, taking the ~0UL one into a separate enum. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit b181d3b0121e141cb410ea3126b4dbe4f8e1751a tree aabb79a95405d4c14979fda3f0715bb63cdf6f1f parent 1e4f2a96aeb373000ccd783e0f5b40294b5e668a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_promise) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 1e4f2a96aeb373000ccd783e0f5b40294b5e668a tree cdd94e8f5f49e6ac42391e71effe0b6a2892d507 parent 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (ahci) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 tree f6c1cb2d94b819a685687bc83110123023d1f099 parent 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_nv) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 654b1536b0927d189526b9063818e0790aa3ea23 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ec073428281b401f1142cb84b277a5b00c7994c9 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ec073428281b401f1142cb84b277a5b00c7994c9 tree c96e6d10af61dc3fd678c46dda505791812ca985 parent 4e51336a00bdcb42960acca52c23e90e9f4e6959 author Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 NFSv4: Fix up locking for nfs4_state_owner Signed-off-by: Trond Myklebust commit 4e51336a00bdcb42960acca52c23e90e9f4e6959 tree 87d619bcd796a0c272abe2499bcc56bc3eda30b4 parent a0857d03b21fa54653c9d2fe7a315381176015b4 author Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 NFSv4: Final tweak to sequence id Sacrifice queueing fairness for performance. Signed-off-by: Trond Myklebust commit 59b81827071a8ae7f399da533d268e1e33bfeeb7 tree 71b98092ae01162cc33c08617d24b7803f1f89de parent 902f90735b693550eb51a3989895f3148b8229d8 author Ralf Baechle Thu, 20 Oct 2005 12:01:28 +0100 committer Jeff Garzik Thu, 20 Oct 2005 16:06:11 -0400 [PATCH] sb1250-mac: PHY probing fixes. Improve sb1250-mac driver to probe for PHYs at addresses other than 1, such as the PHYs on BigSur. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc tree 098dec14f0b7c30193aace90974e1f17a68cd4b8 parent 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 author Brett Russ Thu, 20 Oct 2005 08:39:43 -0400 committer Jeff Garzik Thu, 20 Oct 2005 16:04:22 -0400 [PATCH] libata: Marvell endian fix Jeff found an endian bug in the Marvell driver (thanks!). Here's the fix for it. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit bbf207860931b6a033d0fbcd170ae2332c0d8216 tree 9ffa1c4d1b045e1b5bfbe23a8e8f07973d170c9a parent 2e0c512aff978a7040464e81fc9c0dfdf4639c23 author Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 [IB] user_mad: Use class_device.devt Use devt member of struct class_device so that we don't have to create our own "dev" file in sysfs. Signed-off-by: Roland Dreier commit 2e0c512aff978a7040464e81fc9c0dfdf4639c23 tree 0b278a811609e159bcaa134099af1692cdabd3ee parent 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 author Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 [IB] user_mad: trivial coding style fixes Add spaces after "sizeof" operator to match the rest of file. Signed-off-by: Roland Dreier commit 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 tree 5dd548fbe2fdabecebde7e6cca0665730f3c767b parent 7150bf8a98f14f1ba67e090ef2778004c746f465 author Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 [IB] cm: Add missing break in switch Add missing "break" in switch statement. Without the break, the CM ended up always falling through and setting every connection request to use RC transport, which meant that UC connections didn't work. Signed-off-by: Roland Dreier commit f0f15ab5542f73d07e35eeee713df289599427b2 tree 4e511a4d571f5cf9838c99bd9bb5b6e06a06e263 parent 5b74eda78db410b979b7d450221c971fdebf5d29 author Hong Liu Thu, 20 Oct 2005 11:06:36 -0500 committer James Ketrenos Thu, 20 Oct 2005 11:06:36 -0500 Fixed oops if an uninitialized key is used for encryption. Without this patch, if you try and use a key that has not been configured, for example: % iwconfig eth1 key deadbeef00 [2] without having configured key [1], then the active key will still be [1], but privacy will now be enabled. Transmission of a packet in this situation will result in a kernel oops. Signed-off-by: James Ketrenos commit 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 tree 01c9fc4f3d6757705d0c286da2aa153704c2a3bc parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 Merge branch 'master' commit 902f90735b693550eb51a3989895f3148b8229d8 tree faddc60f0b27ed6d2a26f20c2c09f365dc4a2d7d parent 07b8fede6da76ae6a0f547716c44b801a116bb4a parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 Merge branch 'master' commit 07b8fede6da76ae6a0f547716c44b801a116bb4a tree 5f8e41799fc42343ee67b35a945b12b0a5864b09 parent b06c093ed2dc968b3c140dafa55fa6c7b72169e5 author Mallikarjuna R Chilakala Wed, 19 Oct 2005 10:40:08 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] e1000: Driver version, white space, comments, device id & other Driver version, white space, comments, device id & other Originally posted on 8/31 (and perhaps before)...I think it has not been committed because the patch from that posting was damaged. I'm reposting to make sure it gets in... :-) Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b06c093ed2dc968b3c140dafa55fa6c7b72169e5 tree 1452c7664692586d65d0a8bfc17cd3b75936d0eb parent 74b0247fbd4b6ed1693a420d85cf50267d840ef4 author John W. Linville Wed, 19 Oct 2005 08:07:34 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] sundance: include MII address 0 in PHY probe Include MII address 0 at the end of the PHY scan. This covers the entire range of possible MII addresses. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 74b0247fbd4b6ed1693a420d85cf50267d840ef4 tree 2491ea6e4213531fc05a2beb612e175dd3e10dda parent 2039973af59889fea0d14362eae56792cfe8d25a author Ralf Baechle Wed, 19 Oct 2005 15:40:02 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Whitespace cleanup. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 1030 +++++++++++++++++++++++------------------------ 1 files changed, 515 insertions(+), 515 deletions(-) Signed-off-by: Jeff Garzik commit 2039973af59889fea0d14362eae56792cfe8d25a tree 589acab53824f20a4cdd4cd5052ec9c6dc410abf parent ab7a435a01a9995359a72851ff6896dc110c243f author Ralf Baechle Wed, 19 Oct 2005 15:39:05 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Get rid of all the funny SBMAC_WRITECSR and SBMAC_READCSR macros. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 303 ++++++++++++++++++++--------------------------- 1 files changed, 132 insertions(+), 171 deletions(-) Signed-off-by: Jeff Garzik commit ab7a435a01a9995359a72851ff6896dc110c243f tree 083a81fae56e6f72ec98715caeb9902305195e8f parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Ralf Baechle Tue, 18 Oct 2005 21:01:29 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] Remove unused header. mkiss.h has been integrated into mkiss.c earlier. Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.h | 62 ------------------------------------------- 1 files changed, 62 deletions(-) Signed-off-by: Jeff Garzik commit 5b74eda78db410b979b7d450221c971fdebf5d29 tree 4dd2ee158b10bf11e4f34ba00a28e09cdacbf272 parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Hong Liu Wed, 19 Oct 2005 16:31:34 -0500 committer James Ketrenos Wed, 19 Oct 2005 16:49:03 -0500 Fixed problem with not being able to decrypt/encrypt broadcast packets. Signed-off-by: James Ketrenos commit a0857d03b21fa54653c9d2fe7a315381176015b4 tree ac7fcc4415795b9d4530de300ef555cd624727d8 parent 00fd6e14255fe7a249315746386d640bc4e9e758 author J. Bruce Fields Thu, 13 Oct 2005 16:55:23 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS: krb5 cleanup Remove some senseless wrappers. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 00fd6e14255fe7a249315746386d640bc4e9e758 tree 36d8fad57404c5ea96cdb6e5579f4241e2cd8188 parent 14ae162c24d985593d5b19437d7f3d8fd0062b59 author J. Bruce Fields Thu, 13 Oct 2005 16:55:18 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS remove all qop parameters Not only are the qop parameters that are passed around throughout the gssapi unused by any currently implemented mechanism, but there appears to be some doubt as to whether they will ever be used. Let's just kill them off for now. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 14ae162c24d985593d5b19437d7f3d8fd0062b59 tree 750fbc08e6a6e0cb00bfad7c871144a757ac43de parent bfa91516b57483fc9c81d8d90325fd2c3c16ac48 author J. Bruce Fields Thu, 13 Oct 2005 16:55:13 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:46 -0700 RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. Add support for privacy to the krb5 rpcsec_gss mechanism. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit bfa91516b57483fc9c81d8d90325fd2c3c16ac48 tree ed5c63ec1aa88152b0991370f4a1dbcfff0cd15a parent f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 author J. Bruce Fields Thu, 13 Oct 2005 16:55:08 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: krb5 pre-privacy cleanup The code this was originally derived from processed wrap and mic tokens using the same functions. This required some contortions, and more would be required with the addition of xdr_buf's, so it's better to separate out the two code paths. In preparation for adding privacy support, remove the last vestiges of the old wrap token code. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 tree fee45429f16e5b548356f50dc64eb4e71bca1a9d parent 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf author J. Bruce Fields Thu, 13 Oct 2005 16:55:03 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: Simplify rpcsec_gss crypto code Factor out some code that will be shared by privacy crypto routines Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf tree 4b9df421a02217e1cd23b601b6c05c592d0bdf02 parent 24b2605becc10ca63c4c30808fa59a8abbf68727 author J. Bruce Fields Thu, 13 Oct 2005 16:54:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: client-side privacy support Add the code to the client side to handle privacy. This is dead code until we actually add privacy support to krb5. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 24b2605becc10ca63c4c30808fa59a8abbf68727 tree 64634bf6a5427f9a7253c9cb5b4d55550ef8b18d parent f3680312a737355ddf35c1b68af25e384d7ef0a8 author J. Bruce Fields Thu, 13 Oct 2005 16:54:53 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: cleanup au_rslack calculation Various xdr encode routines use au_rslack to guess where the reply argument will end up, so we can set up the xdr_buf to recieve data into the right place for zero copy. Currently we calculate the au_rslack estimate when we check the verifier. Normally this only depends on the verifier size. In the integrity case we add a few bytes to allow for a length and sequence number. It's a bit simpler to calculate only the verifier size when we check the verifier, and delay the full calculation till we unwrap. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f3680312a737355ddf35c1b68af25e384d7ef0a8 tree 6b447f0a58bf1c1acfa8b1731ef06580d275b983 parent ead5e1c26fdcd969cf40c49cb0589d56879d240d author J. Bruce Fields Thu, 13 Oct 2005 16:54:48 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Retry wrap in case of memory allocation failure. For privacy we need to allocate extra pages to hold encrypted page data when wrapping requests. This allocation may fail, and we handle that case by waiting and retrying. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit ead5e1c26fdcd969cf40c49cb0589d56879d240d tree af0e04aed32eac60b35c987b933dbc132f0e780b parent 293f1eb551a77fe5c8956a559a3c0baea95cd9bc author J. Bruce Fields Thu, 13 Oct 2005 16:54:43 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Provide a callback to allow free pages allocated during xdr encoding For privacy, we need to allocate pages to store the encrypted data (passed in pages can't be used without the risk of corrupting data in the page cache). So we need a way to free that memory after the request has been transmitted. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 293f1eb551a77fe5c8956a559a3c0baea95cd9bc tree 03c770935eb42f6deccb275be0326d2f4b17c80c parent 1d95db8e1688ed54e143a597c5570631a42fa594 author J. Bruce Fields Thu, 13 Oct 2005 16:54:37 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:42 -0700 SUNRPC: Add support for privacy to generic gss-api code. Add support for privacy to generic gss-api code. This is dead code until we have both a mechanism that supports privacy and code in the client or server that uses it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 1d95db8e1688ed54e143a597c5570631a42fa594 tree b0b0a667cf9ecccabc26cd7afceed05815066aa6 parent 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 author J. Bruce Fields Thu, 13 Oct 2005 16:54:32 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: Fix acl buffer size resp_len is passed in as buffer size to decode routine; make sure it's set right in case where userspace provides less than a page's worth of buffer. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 tree c2d0e2d58e0fe1c2ab332802caa77046fcaac348 parent 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 author J. Bruce Fields Thu, 13 Oct 2005 16:54:27 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: handle no acl attr Stop handing garbage to userspace in the case where a weird server clears the acl bit in the getattr return (despite the fact that they've already claimed acl support.) Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 tree 26b2343b7c941a4fa148f85df844557153971cd9 parent 7f709a48fa798cfa0f2f777c8752e12995054f78 author Steve Dickson Tue, 18 Oct 2005 23:19:40 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:40 -0700 RPC: stops the release_pipe() funtion from being called twice This patch stops the release_pipe() funtion from being called twice by invalidating the ops pointer in the rpc_inode when rpc_pipe_release() is called. Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust commit 7f709a48fa798cfa0f2f777c8752e12995054f78 tree fde5f4b4918205ba4c547ecaac95acbc8a37caa0 parent cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 author Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 NFSv4: Fix an oopsable condition in nfs_free_seqid Storing a pointer to the struct rpc_task in the nfs_seqid is broken since the nfs_seqid may be freed well after the task has been destroyed. Signed-off-by: Trond Myklebust commit c4cfe567b92d5663f98e2f82f28ffc3069fc982f tree aea6ab8810c74be573d4e5f032b6aac46e16dbd2 parent 2aa1d82db7a967b748c4b41854c4222cd0484114 author Andrew Morton Sat, 15 Oct 2005 00:32:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 23:57:26 -0400 [PATCH] e1000 build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 2aa1d82db7a967b748c4b41854c4222cd0484114 tree 1f33849dad8fff3a9d287350126794f1cbfa0ef0 parent 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: expand reset mask Expand the mask used when reseting the chip to include the GlobalReset bit. This fix comes from ICPlus and seems to be required for some cards. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 tree 5cfe4895d39172cdc8afa192932d436322ca3be7 parent 36841c9d02870983c2b08c85d56572c1ff011997 author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: remove if (1) { ... } block in sundance_probe1 Remove an if (1) { ... } block in sundance_probe1. Its purpose seems to be only to allow for delaring some extra local variables. But, it also adds ugly indentation without adding any meaning to the code. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 36841c9d02870983c2b08c85d56572c1ff011997 tree 367bdf81afd8fdc64147f95cb23493432449c05b parent 9f38c636ababfb41e58c9ec1e9719492ef7f0479 author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:14 -0400 [PATCH] orinoco: remove redundance skb length check before padding Checking the skb->len value before calling skb_padto is redundant. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9f38c636ababfb41e58c9ec1e9719492ef7f0479 tree 52a0d64efd7a0f814dd327f2bd983a5c8260b1be parent df49898a47061e82219c991dfbe9ac6ddf7a866b author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] b44: alternate allocation option for DMA descriptors This is a (final?) hack to support the odd DMA allocation requirements of the b44 hardware. The b44 hardware has a 30-bit DMA mask. On x86, anything less than a 32-bit DMA mask forces allocations into the 16MB GFP_DMA range. The memory there is somewhat limited, often resulting in an inability to initialize the b44 driver. This hack uses streaming DMA allocation APIs in order to provide an alternative in case the GFP_DMA allocation fails. It is somewhat ugly, but not much worse than the similar existing hacks to support SKB allocations in the same driver. FWIW, I have received positive feedback on this from several Fedora users. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df49898a47061e82219c991dfbe9ac6ddf7a866b tree 4f0c2445eb5ddb49c622a9d368a9773bd4fb0f7a parent 7645baec58b9661366e2038c4ea02bd06aaf1fbc author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] bonding: cleanup comment for mode 1 IGMP xmit hack Expand comment explaining MAC address selection for replicated IGMP frames transmitted in bonding mode 1 (active-backup). Also, a small whitespace cleanup. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 7645baec58b9661366e2038c4ea02bd06aaf1fbc tree 03f977ac534403468a670140c0c05085fa95844f parent 4cac018ae30dac8f7fc089a8ff4963904c99725e author John W. Linville Tue, 18 Oct 2005 21:31:00 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] 8139too: fix resume for Realtek 8100B/8139D Add "HasHltClk" flag for RTL-8100B/8139D hardware in order to fix problems resuming from suspend-to-RAM. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 4cac018ae30dac8f7fc089a8ff4963904c99725e tree f2a393f0ec57563379366fa2f150671232318675 parent b7b1d2021452d0a3562807b6a90dfa5124147a79 author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] bonding: fix typos in bonding documentation Fix some simple typos in the bonding.txt file. The typos are in areas relating to loading the bonding driver multiple times. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b7b1d2021452d0a3562807b6a90dfa5124147a79 tree 9c18a41353b2d40dfa844e955619e7d931ce853d parent 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] epic100: fix counting of work_done in epic_poll work_done is overwritten each time through the rx_action loop in epic_poll. This screws-up the NAPI accounting if the loop is executed more than once. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec tree 745daba38635eca9466319f8c8940d1fb3e8ed3c parent 923833405d8d81b5be036093773d88d87fc7e1bd author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] via-rhine: change mdelay to msleep and remove from ISR path Get rid of the mdelay call in rhine_disable_linkmon. The function is called from the via-rhine versions of mdio_read and mdio_write. Those functions are indirectly called from rhine_check_media and rhine_tx_timeout, both of which can be called in interrupt context. So, create tx_timeout_task and check_media_task as instances of struct work_struct inside of rhine_private. Then, change rhine_tx_timeout to invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task), moving the work to process context. Also, change rhine_error (invoked from rhine_interrupt) to invoke schedule_work for check_media_task (i.e. rhine_check_media_task), which simply calls rhine_check media in process context. Finally, add a call to flush_scheduled_work in rhine_close to avoid any resource conflicts with pending work items. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 923833405d8d81b5be036093773d88d87fc7e1bd tree 53cef37e2cdfdad21b3b375f57ba6d63ce341252 parent 166d823d397b9f5404648cedfdefe13e10683694 author Andrew Morton Sun, 16 Oct 2005 00:11:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:33:42 -0400 [PATCH] s2io build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 166d823d397b9f5404648cedfdefe13e10683694 tree de09a5a87b3c42925c70228ef2702eab5b891c3f parent dcbf8477567c312c9f0512545d07e05175d740a4 author Andrew Morton Sun, 16 Oct 2005 13:32:14 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:32:34 -0400 [PATCH] e1000_intr build fix drivers/net/e1000/e1000_main.c: In function `e1000_intr': drivers/net/e1000/e1000_main.c:3156: error: `i' undeclared (first use in this function) drivers/net/e1000/e1000_main.c:3156: error: (Each undeclared identifier is reported only once drivers/net/e1000/e1000_main.c:3156: error: for each function it appears in.) This function is foul. Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit dcbf8477567c312c9f0512545d07e05175d740a4 tree f3eab7df501b02de7bf09bc6b5c0b62cbabe27af parent 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 author Ralf Baechle Mon, 10 Oct 2005 14:51:27 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] mipsnet: Virtual ethernet driver for MIPSsim. Signed-off-by: Ralf Baechle drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 drivers/net/mipsnet.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/mipsnet.h | 127 +++++++++++++++++ 4 files changed, 507 insertions(+) Signed-off-by: Jeff Garzik commit 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 tree 133c9a5830efd71f28c0e2ae544533e17e350624 parent 36156cdff17a5ab822898d33cd890a6f8287c43c author Ralf Baechle Mon, 10 Oct 2005 14:51:21 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] ne: Support for RBHMA4500 eval board. Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle drivers/net/ne.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+) Signed-off-by: Jeff Garzik commit 36156cdff17a5ab822898d33cd890a6f8287c43c tree 256f8f15cb24067fd69243759a078f30965d085e parent 4569504a36cb6223e2b7ad6530326a1563a8f456 author Ralf Baechle Mon, 10 Oct 2005 14:51:16 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Use physical addresses at the interface level. Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle drivers/net/declance.c | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) Signed-off-by: Jeff Garzik commit 4569504a36cb6223e2b7ad6530326a1563a8f456 tree c4693f214012ce7a810a4f82c36d04557af3c2af parent 6684b4e28247f31543edf86ba785aa87e8fa3b39 author Ralf Baechle Mon, 10 Oct 2005 14:51:11 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 6684b4e28247f31543edf86ba785aa87e8fa3b39 tree 58c93078ea5a4fe1492172f14d39214ff0066e4e parent da848ec37d9cf9edbe269f8be9b3de52f90d70da author Ralf Baechle Mon, 10 Oct 2005 14:51:06 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Fix mapping of device. These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle drivers/net/declance.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit da848ec37d9cf9edbe269f8be9b3de52f90d70da tree 09db5571eca2971dee69423aacf0376e9e4742b8 parent 302a5c4b3d4d6aff7772a4b3431bb772586e6011 author Ralf Baechle Mon, 10 Oct 2005 14:51:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] declance: Convert to irqreturn_t. Signed-off-by: Ralf Baechle drivers/net/declance.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit 302a5c4b3d4d6aff7772a4b3431bb772586e6011 tree 0f08e4c1419dae13e86039b53db2271d57bde4e3 parent 2891439e7378e35534d7eb32f77671dc4d61db4c author Ralf Baechle Mon, 10 Oct 2005 14:50:56 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Configure PIO and DMA timing requests. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 28 ++++++++++++++-------------- include/asm-mips/sgi/hpc3.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 34 deletions(-) Signed-off-by: Jeff Garzik commit 2891439e7378e35534d7eb32f77671dc4d61db4c tree d2cba6b9391f5488f2b6d8d6418b43e9ae3c2969 parent bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 author Ralf Baechle Mon, 10 Oct 2005 14:50:51 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Fix resource handling. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 tree 1512d6f1f84744212c6138e02fde5c2f21227f8e parent 7f553e3db46b36d2662e1118f8b8fdbf086b76df author Ralf Baechle Mon, 10 Oct 2005 14:50:46 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] de2104x: Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle drivers/net/tulip/de2104x.c | 5 +++++ 1 files changed, 5 insertions(+) Signed-off-by: Jeff Garzik commit 7f553e3db46b36d2662e1118f8b8fdbf086b76df tree 72a243aa23c3ff32797b5b2e2269df8575a8d721 parent 04115def6ad7ef51440365b65a7324fcb82d5d1d author Ralf Baechle Mon, 10 Oct 2005 14:50:41 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] au1000_eth: Misc Au1000 net driver fixes. o Add support for DP83847 MII. o remove unused variable. o Add some initialisations so even an unknown MII won't result in a crash. o Correct error message to "no known MIIs found". Signed-off-by: Ralf Baechle drivers/net/au1000_eth.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 04115def6ad7ef51440365b65a7324fcb82d5d1d tree 14e7113cad4264ec4cf6f26730437c293f182802 parent f567ef935094003ee70ea3fd10f5695d349c0f48 author Ralf Baechle Mon, 10 Oct 2005 14:50:36 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Ensure 16-byte alignment of the descriptor ring. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit f567ef935094003ee70ea3fd10f5695d349c0f48 tree 6259ac64133506c683c9449e6fcb93a490d2f445 parent 757d18faee58aa4c43bcaf9a44decf17fa68adeb author Ralf Baechle Mon, 10 Oct 2005 14:50:24 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 7150bf8a98f14f1ba67e090ef2778004c746f465 tree 6fd181880b24748b91029fddc629d1dd6f47d1c3 parent ba8e9310244180bbc820e865d2e4378809b4a443 author Jack Morgenstein Tue, 18 Oct 2005 14:46:38 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:46:38 -0700 [IB] mthca: Don't enter QP into MCG more than once. Avoid entering a QP as member of a multicast group multiple times. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 757d18faee58aa4c43bcaf9a44decf17fa68adeb tree 307ccb9b815b2b53ad79bb0b0bc5d17a6f39aed0 parent 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 author Jiri Benc Mon, 10 Oct 2005 19:16:53 +0200 committer Jeff Garzik Tue, 18 Oct 2005 17:25:36 -0400 [PATCH] ieee80211: division by zero fix This fixes division by zero bug in ieee80211_wx_get_scan(). Signed-off-by: Jiri Benc Signed-off-by: Jeff Garzik commit cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 tree 19045178e6c4271c86ff81e51d8e21ec12520f03 parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 parent bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f author Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent c8f32be3874a310fa963d47b534a98be1a05a4cc parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 author Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent 4c780a4688b421baa896b59778c05d7e068e479f author Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 NFS: Fix rename of directory onto empty directory If someone tries to rename a directory onto an empty directory, we currently fail and return EBUSY. This patch ensures that we try the rename if both source and target are directories, and that we fail with a correct error of EISDIR if the source is not a directory. Signed-off-by: Trond Myklebust commit 4c780a4688b421baa896b59778c05d7e068e479f tree 5d7727971fc92e037857d6c560a6af8f4196df8b parent 550f57470c6506f5ef3c708335dea6bd48bf3dc4 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 Fix Connectathon locking test failure We currently fail Connectathon test 6.10 in the case of 32-bit locks due to incorrect error checking. Also add support for l->l_len < 0 to 64-bit locks. Signed-off-by: Trond Myklebust commit 550f57470c6506f5ef3c708335dea6bd48bf3dc4 tree be34cc170cce1e103baec1976f7903528eb4ff4d parent b8e5c4c2978fa666287525a9de2fa648a7581262 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 NFSv4: Ensure that we recover from the OPEN + OPEN_CONFIRM BAD_STATEID race If the server is in the unconfirmed OPEN state for a given open owner and receives a second OPEN for the same open owner, it will cancel the state of the first request and set up an OPEN_CONFIRM for the second. This can cause a race that is discussed in rfc3530 on page 181. The following patch allows the client to recover by retrying the original open request. Signed-off-by: Trond Myklebust commit b8e5c4c2978fa666287525a9de2fa648a7581262 tree b90d9aca86dcb187d985be1eb39e5f691dfcf187 parent 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 author Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 NFSv4: If a delegated open fails, ensure that we return the delegation Unless of course the open fails due to permission issues. Signed-off-by: Trond Myklebust commit 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 tree 3dbcbbff050551854b29e020f8453306053ae9bb parent cae7a073a4c5484cc5713eab606bf54b46724ab3 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegations in case we're changing ACLs Signed-off-by: Trond Myklebust commit cae7a073a4c5484cc5713eab606bf54b46724ab3 tree e5cdcf0376da5b04bca9bbbf8f226abe13f33275 parent cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegation upon rename or removal of file. Signed-off-by: Trond Myklebust commit cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 tree e98ec006186a5d18fac2189dc1d6ece1fda9541f parent 6f926b5ba75c568296ec227e7d782db4ddbdca5c author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 VFS: Make link_path_walk set LOOKUP_CONTINUE before calling permission(). This will allow nfs_permission() to perform additional optimizations when walking the path, by folding the ACCESS(MAY_EXEC) call on the directory into the lookup revalidation. Signed-off-by: Trond Myklebust commit 6f926b5ba75c568296ec227e7d782db4ddbdca5c tree 6c9aad3139ae4e54210ab5ff37446c357c54b521 parent 02a913a73b52071e93f4b76db3e86138d19efffd author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 [NFS]: Check that the server returns a valid regular file to our OPEN request Since it appears that some servers don't... Signed-off-by: Trond Myklebust commit 02a913a73b52071e93f4b76db3e86138d19efffd tree 1dc1abbd2d8f57a6fd593dd252d6d7ecc7c811c5 parent 834f2a4a1554dc5b2598038b3fe8703defcbe467 author Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 NFSv4: Eliminate nfsv4 open race... Make NFSv4 return the fully initialized file pointer with the stateid that it created in the lookup w/intent. Signed-off-by: Trond Myklebust commit 834f2a4a1554dc5b2598038b3fe8703defcbe467 tree d27a000a2dd03029e6e2472c6e13801688185b51 parent 039c4d7a82d8268ec71f59679460b41d0dd9b225 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 VFS: Allow the filesystem to return a full file pointer on open intent This is needed by NFSv4 for atomicity reasons: our open command is in fact a lookup+open, so we need to be able to propagate open context information from lookup() into the resulting struct file's private_data field. Signed-off-by: Trond Myklebust commit 039c4d7a82d8268ec71f59679460b41d0dd9b225 tree a2f76afdda97f92df432b5d04e335ee90c42ced6 parent 06735b3454824bd561decbde46111f144e905923 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 NFS: Fix up a race in the NFS implementation of GETLK ...and fix a memory corruption bug due to improper use of memcpy() on a struct file_lock. Signed-off-by: Trond Myklebust commit 06735b3454824bd561decbde46111f144e905923 tree 2c9e9f18ba8d3700a181b44d2b1f0ce6a62612f8 parent faf5f49c2d9c0af2847837c232a432cc146e203b author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Fix up handling of open_to_lock sequence ids Signed-off-by: Trond Myklebust commit faf5f49c2d9c0af2847837c232a432cc146e203b tree f0c097ae68ca3ec3cd5ee0a904916493b00b9c1b parent 0a8838f972883112f0a7b259141b24db17583c2d author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Make NFS clean up byte range locks asynchronously Currently we fail to do so if the process was signalled. Signed-off-by: Trond Myklebust commit 0a8838f972883112f0a7b259141b24db17583c2d tree 80b047e5223f8cbaaa68b03ba1b4914b437e3f59 parent 83c9d41e456033000ccfadf535f3098d8739488d author Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 NFSv4: Add missing handling of OPEN_CONFIRM requests on CLAIM_DELEGATE_CUR. Signed-off-by: Trond Myklebust commit 83c9d41e456033000ccfadf535f3098d8739488d tree 09f5573ba348225bb7eed14c20b3305f49449e06 parent e6dfa553cffcb9740f932311dff42f81d6ac63bb author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove nfs4_client->cl_sem from close() path We no longer need to worry about collisions between close() and the state recovery code, since the new close will automatically recheck the file state once it is done waiting on its sequence slot. Ditto for the nfs4_proc_locku() procedure. Signed-off-by: Trond Myklebust commit e6dfa553cffcb9740f932311dff42f81d6ac63bb tree d5519b749b6a7fb6e25b0459385011cd69a6caaf parent 9512135df14f8293b9bc5e8fb22d4279dee5ff66 author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove obsolete state_owner and lock_owner semaphores OPEN, CLOSE, etc no longer need these semaphores to ensure ordering of requests. Signed-off-by: Trond Myklebust commit 9512135df14f8293b9bc5e8fb22d4279dee5ff66 tree 83fb778ed53ba10c46734968f538aa0a57d376a1 parent cee54fc944422c44e476736c045a9e8053cb0644 author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Fix a potential CLOSE race Once the state_owner and lock_owner semaphores get removed, it will be possible for other OPEN requests to reopen the same file if they have lower sequence ids than our CLOSE call. This patch ensures that we recheck the file state once nfs_wait_on_sequence() has completed waiting. Signed-off-by: Trond Myklebust commit cee54fc944422c44e476736c045a9e8053cb0644 tree 95f4728b3ffa8a2456727b10cd3a68f2a3065415 parent 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Add functions to order RPC calls NFSv4 file state-changing functions such as OPEN, CLOSE, LOCK,... are all labelled with "sequence identifiers" in order to prevent the server from reordering RPC requests, as this could cause its file state to become out of sync with the client. Currently the NFS client code enforces this ordering locally using semaphores to restrict access to structures until the RPC call is done. This, of course, only works with synchronous RPC calls, since the user process must first grab the semaphore. By dropping semaphores, and instead teaching the RPC engine to hold the RPC calls until they are ready to be sent, we can extend this process to work nicely with asynchronous RPC calls too. This patch adds a new list called "rpc_sequence" that defines the order of the RPC calls to be sent. We add one such list for each state_owner. When an RPC call is ready to be sent, it checks if it is top of the rpc_sequence list. If so, it proceeds. If not, it goes back to sleep, and loops until it hits top of the list. Once the RPC call has completed, it can then bump the sequence id counter, and remove itself from the rpc_sequence list, and then wake up the next sleeper. Note that the state_owner sequence ids and lock_owner sequence ids are all indexed to the same rpc_sequence list, so OPEN, LOCK,... requests are all ordered w.r.t. each other. Signed-off-by: Trond Myklebust commit 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f tree fc6e0397c8e17dad5f3f038fb1b3526a114b5244 parent ea635a517e350eb03ab5f01618417f31b82a9a4d author Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 RPC: allow call_encode() to delay transmission of an RPC call. Currently, call_encode will cause the entire RPC call to abort if it returns an error. This is unnecessarily rigid, and gets in the way of attempts to allow the NFSv4 layer to order RPC calls that carry sequence ids. Signed-off-by: Trond Myklebust commit ea635a517e350eb03ab5f01618417f31b82a9a4d tree f2c506b1dec60259ab9d6cfd0b092433cf91774f parent cff6bf970965c98c62007fc8a36527fd147fe233 author Chuck Lever Thu, 06 Oct 2005 23:12:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 14:20:10 -0700 SUNRPC: Retry rpcbind requests if the server's portmapper isn't up After a server crash/reboot, rebinding should always retry, otherwise requests on "hard" mounts will fail when they shouldn't. Test plan: Run a lock-intensive workload against a server while rebooting the server repeatedly. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 59a10b172fccaea793352c00fd9065f0a5b4ef70 tree fc0acf367b9fca2ff2c5f8062288f8e271771862 parent 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f author Albert Lee Wed, 12 Oct 2005 15:09:42 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:14 -0400 [PATCH] libata CHS: reread device identify info (revise #6) problem: id[53-58] might be changed after initializing device CHS settings. changes: - call ata_dev_reread_id() to reread the identify device info, after initializing device CHS settings. Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f tree c460778581293ad479ec4983690ccc46bcb4df56 parent 07506697d1c615924298406f2357810709c09bcd author Albert Lee Wed, 12 Oct 2005 15:06:27 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: calculate read/write commands and protocol on the fly (revise #6) - merge ata_prot_to_cmd() and ata_dev_set_protocol() as ata_rwcmd_protocol() - pave road for read/write multiple support - remove usage of pre-cached command and protocol values and call ata_rwcmd_protocol() instead Signed-off-by: Albert Lee ============== Signed-off-by: Jeff Garzik commit 07506697d1c615924298406f2357810709c09bcd tree bd4f223231a92245b8247c6fb8eb23d9b5c3f3be parent 5a476deff3d17093da39c4eccb2692ba714dcb11 author Albert Lee Wed, 12 Oct 2005 15:04:18 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: move the initialization of taskfile LBA flags (revise #6) move the initialization of taskfile LBA flags "ATA_TFLAG_LBA" and "ATA_TFLAG_LBA48 flags" to the SCSI translation functions Signed-off-by: Albert Lee ============= Signed-off-by: Jeff Garzik commit 5a476deff3d17093da39c4eccb2692ba714dcb11 tree 16f5c745a3c8ac780a218ad3d43e32f33164bcf5 parent dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 Merge branch 'master' commit ba8e9310244180bbc820e865d2e4378809b4a443 tree 407dc58bb932a7cd09df5c5b0c13f28cfd7f1c61 parent d476306f1cc9156ce4b42586aacce70a356ef656 author Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 [IB] Fail sysfs queries after device is unregistered We keep IB device structures around until the last sysfs reference is gone, but we shouldn't ask the low-level driver to do anything after the LLD unregisters the device. To handle this, check the reg_state field and just fail sysfs show() requests if the device has already been unregistered. Signed-off-by: Roland Dreier commit 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 tree ea27df5ab7b728496a15602e0a7da74ff188378f parent 74cfe03f80adc320bde4dd37616354aefe2271aa parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 Merge branch 'master' commit d476306f1cc9156ce4b42586aacce70a356ef656 tree 045da3b196f276bbe83cd25f08956578d5e918f6 parent c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb author Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 [IB] mthca: Add struct pci_driver.owner field Set mthca_driver.owner to THIS_MODULE. Signed-off-by: Roland Dreier commit 74cfe03f80adc320bde4dd37616354aefe2271aa tree a5b58d998d2f653d34f331e17db92b8c3692e09e parent 5793f4be23f0171b4999ca68a39a9157b44139f3 author Ralf Baechle Wed, 12 Oct 2005 23:11:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:03:28 -0400 [PATCH] Initialize the .owner field the tty_ldisc structure. If .owner isn't set the module can be unloaded even while still active. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit 5793f4be23f0171b4999ca68a39a9157b44139f3 tree 01455dae41fc5c025341e4d31b8013a2e727e66d parent bc0a7438605c5e0cafdb32a3caf46254e146b116 author Ralf Baechle Fri, 14 Oct 2005 14:28:09 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:02:14 -0400 [PATCH] SMACK support for mkiss SMACK (Stuttgart Modified Amateurradio CRC KISS) is a KISS variant that uses CRC16 checksums to secure data transfers between the modem and host. It's also used to communicate over a pty to applications such as Wampes. Patches for Linux 2.4 by Thomas Osterried DL9SAU, upgraded to the latest mkiss 2.6 mkiss driver by me. Signed-off-by: Thomas Osterried DL9SAU Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit bc0a7438605c5e0cafdb32a3caf46254e146b116 tree 7331f97459c13f1f4bb18d8d2db6abd724ad6f7f parent ad4ebed00fbf570411edbf6eb6c391e16b71df25 author Ralf Baechle Mon, 17 Oct 2005 12:42:32 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:01:27 -0400 [PATCH] rcu in bpqether driver. From Suzanne Wood : Clarify RCU implementation in bpqether.c. Because bpq_new_device() calls list_add_rcu() and bpq_free_device() calls list_del_rcu(), substitute list_for_each_entry_rcu() for list_for_each_entry() in bpq_get_ax25_dev() and in bpq_seq_start(). Add rcu dereference protection in bpq_seq_next(). The rcu_read_lock()/unlock() in bpq_device_event() are removed because netdev event handlers are called with RTNL locking in place. FYI: bpq_free_device() calls list_del_rcu() which, per list.h, requires synchronize_rcu() which can block or call_rcu() or call_rcu_bh() which cannot block. Herbert Xu notes that synchronization is done here by unregister_netdevice(). This calls synchronize_net() which in turn uses synchronize_rcu(). Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit ad4ebed00fbf570411edbf6eb6c391e16b71df25 tree 37f236700d5e831fee6bf8494cd57753231ddf14 parent 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f author ravinandan.arakali@neterion.com Mon, 17 Oct 2005 18:26:20 -0700 committer Jeff Garzik Tue, 18 Oct 2005 16:58:27 -0400 [PATCH] S2io: Offline diagnostics fixes This patch fixes the following bugs with offline diagnostics code(run with "ethtool -t"). 1. After running offline diagnostics, adapter would report corrupted packets on receive. This was because of adapter not being brought out of "RLDRAM test mode". 2. Current EEPROM test works only for Xframe I. Since Xframe II uses different interface(SPI), support for this interface has been added. Also, since SPI supports write access to all areas of EEPROM, negative testing is done only for Xframe I. 3. Return values from subfunctions of offline diagnostics have been corrected. 4. In register test, expected value from rx_queue_cfg register is made to depend on adapter type. 5. After the test, need to restore values at EEPROM offsets 0x4F0 and 0x7F0. These locations were modified as part of test. 6. Use macro SPECIAL_REG_WRITE for write access to mc_rldram_test_ctrl register. Also, couple of unnecessary writes to mc_rldram_test_ctrl have been removed. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cff6bf970965c98c62007fc8a36527fd147fe233 tree 2791f2208b54ade86625af416ff5342f11282f0c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 committer Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb tree 37446873b146ad0e8a4d3c5c6378e4400e797544 parent 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 author Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 committer Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 [IB] mthca: Use enum in mthca_alloc_db() prototype Make the type parameter of mthca_alloc_db() be an enum mthca_db_type instead of an int. This doesn't have any practical effect but documents the functions a little better. Signed-off-by: Roland Dreier commit 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 tree e54ac6da33e561bb38cf31d2d1ba43b913983cab parent 762a03e21ed08daa5170d9cd98e83539861e7692 author Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 committer Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 [IPoIB] Improve ipoib_timeout() output Use jiffies_to_msecs() so we print a human-readable time so we don't have to worry about what HZ is configured to, and print out a few values to make post-mortem analysis easier. Signed-off-by: Roland Dreier commit 762a03e21ed08daa5170d9cd98e83539861e7692 tree 43c626e5100387e9e66b8cc152194f51701a08db parent 07d357d0cbf89d9980b1769d5444a3c70f000e00 author Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 [IB] ucm: quiet sparse warnings Make ctx_id_mutex and ctx_id_table static to quiet sparse warnings. Signed-off-by: Roland Dreier commit 07d357d0cbf89d9980b1769d5444a3c70f000e00 tree cc7bcdee52b4e79e2115295e763f2e3d49c68a86 parent 595e726a1f28420c5fc7970b1a87cbce77a1cd45 author Sean Hefty Mon, 17 Oct 2005 15:37:43 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:37:43 -0700 [IB] CM: bind IDs to a specific device Bind communication identifiers to a device to support device removal. Export per HCA CM devices to userspace. Signed-off-by: Sean Hefty commit 595e726a1f28420c5fc7970b1a87cbce77a1cd45 tree 743f39eb3f33c9f0a58a96cf4c7213ca06af50a9 parent 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 author Sean Hefty Mon, 17 Oct 2005 15:33:47 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:33:47 -0700 [IB] merge ucm.h into ucm.c Eliminate ucm.h. Replace ucm_dbg with direct call to printk KERN_ERR. Signed-off-by: Sean Hefty commit 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 tree fc0ecdf4e2c39db11849c79c594711c9e8e76a13 parent 91ecd4ae178bed83da4f6a94ced7992e4d7711eb author Roland Dreier Fri, 14 Oct 2005 15:26:04 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:31 -0700 [IB] uverbs: Implement more commands Add kernel support for userspace calling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 91ecd4ae178bed83da4f6a94ced7992e4d7711eb tree bb1758547300968ceb47cc929c9c50b96060c759 parent 883a99c7024c5763d6d4f22d9239c133893e8d74 author Roland Dreier Fri, 14 Oct 2005 15:21:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add ABI structures for more commands Add kernel/user ABI structures for marshalling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 883a99c7024c5763d6d4f22d9239c133893e8d74 tree 659a7982a51d0ba187dac826a5b1e5ef319692fd parent 56c202d6e4f542468fe79b8a735cf128898b87fb author Roland Dreier Fri, 14 Oct 2005 14:00:58 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add a mask of device methods allowed for userspace Give each device a uverbs_cmd_mask, so that a low-level driver can control which methods may be called on behalf of userspace. Signed-off-by: Roland Dreier commit 56c202d6e4f542468fe79b8a735cf128898b87fb tree 3080b34f6080d71b88ae26f665b5e23d7f485c69 parent 305a7e87055dde2466a855c24ef51a606915d149 author Roland Dreier Thu, 13 Oct 2005 10:45:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] fail SA queries if device initialization failed If the SA query module's initialization fails for a device, then that device won't have a struct ib_sa_device associated. We should fail SA queries in that case, rather than blindly dereferencing the NULL pointer we get back from ib_get_client_data(). Signed-off-by: Roland Dreier commit 305a7e87055dde2466a855c24ef51a606915d149 tree 7cfe3df3901ad99677dc1794d684894db8bf5a38 parent 5b6810e048435de508ef66aebd6b78db13d651b8 author Roland Dreier Tue, 11 Oct 2005 15:39:38 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] uverbs: unlock correctly in error paths A couple of functions were missing spin_unlock calls in error paths. Signed-off-by: Roland Dreier commit 5b6810e048435de508ef66aebd6b78db13d651b8 tree b54df96d5821a6ed41d778bf1ecfb54dbc7a4999 parent efaae8f71f3088cc73c9e5ceabbd314aa82ac768 author Roland Dreier Tue, 11 Oct 2005 11:08:24 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IPoIB] Rename ipoib_create_qp() -> ipoib_init_qp() and fix error cleanup ipoib_create_qp() no longer creates IPoIB's QP, so it shouldn't destroy the QP on failure -- that unwinding happens elsewhere, so the current code can cause a double free. While we're at it, the function's name should match what it actually does, so rename it to ipoib_init_qp(). Signed-off-by: Roland Dreier commit efaae8f71f3088cc73c9e5ceabbd314aa82ac768 tree b19084ae0a9dc6837cb2837cbd21386c9f1b2e0e parent 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 author Jack Morgenstein Mon, 10 Oct 2005 13:48:07 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] mthca: Better limit checking and reporting Check the sizes of CQs, QPs and SRQs when creating objects, and fail instead of creating too-big queues. Also return real limits instead of just plausible-sounding values from mthca_query_device(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 tree 3a78a17d4499bf95cc23be72ffb88bd49c8e7852 parent e23d6d2b090658007732770720a44375cba23200 author Roland Dreier Thu, 06 Oct 2005 13:28:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] Fix leak on MAD initialization failure There is a bug in ib_mad_init_device(): if ib_agent_port_open() fails for a given port, then the current code doesn't call ib_mad_port_close() for that port. Signed-off-by: Roland Dreier commit e23d6d2b090658007732770720a44375cba23200 tree 277afdc20477a3ab8ca9a1ff26c478e047a3a581 parent 90f104da22bbf2e2b8a2136c12fb4e013fccf504 author Roland Dreier Thu, 06 Oct 2005 13:25:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: detect SRQ overflow The hardware relies on us keeping one extra work request that never gets used in SRQs. Add checks to the SRQ work request posting functions so that they fail when someone is about to use up that extra work request, rather than when someone uses the very last work request. Signed-off-by: Roland Dreier commit 90f104da22bbf2e2b8a2136c12fb4e013fccf504 tree d720f4b226cd72903ee878096707578ccc7abc0c parent 116c0074ecfd6f061570856bec52b691d54dbd3c author Roland Dreier Thu, 06 Oct 2005 13:15:56 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: SRQ limit reached events Our hardware supports generating an event when the number of receives posted to a shared receive queue (SRQ) falls below a user-specified limit. Implement mthca_modify_srq() to arm the limit, and add code to handle dispatching SRQ events when they occur. Signed-off-by: Roland Dreier commit 116c0074ecfd6f061570856bec52b691d54dbd3c tree 0f9524538accf39d965d270d63728ec43a5f26b8 parent f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 author Roland Dreier Mon, 03 Oct 2005 09:32:33 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] Check port number in ib_query_port()/ib_modify_port() Check port number before passing query_port or modify_port operations on to device driver. Signed-off-by: Roland Dreier commit f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 tree b9ffc5983cbba3acbb8d7233d26101c38f4d7e61 parent 9825051e8c81cbd4400333e7cdc04be77a0bab75 author Roland Dreier Mon, 03 Oct 2005 09:18:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] uverbs: reject invalid memory registration permission flags Reject userspace memory registrations with invalid permission flags: "local write" is required if "remote write" or "remote atomic" is also requested. Pointed out by Jack Morgenstein Signed-off-by: Roland Dreier commit 9825051e8c81cbd4400333e7cdc04be77a0bab75 tree 0b14750f603b1feece6c147cb95f31619bfb67c2 parent 274c0891637c44ac71f3ac40be91b43c2318883a author Jack Morgenstein Sat, 01 Oct 2005 13:09:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] mthca: Fill in more fields in query_port method Add code to fill in the bad_pkey_cntr, max_mtu, active_mtu and subnet_timeout fields in mthca_query_port(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 274c0891637c44ac71f3ac40be91b43c2318883a tree fc7d9f07ab7e663a8acb771069cb9f1053ca2302 parent eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 author Roland Dreier Thu, 29 Sep 2005 14:17:48 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] uverbs: Add device-specific ABI version attribute Add abi_version attribute to uverbs class devices to allow for ABI versioning of device-specific interfaces. Signed-off-by: Roland Dreier commit eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 tree 2d0de42bc6c7777c66ee76d5817312bcfd161718 parent 6b73597e7062118c0549c2702bfb7d273518c906 author Roland Dreier Tue, 27 Sep 2005 15:07:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: Fix up resource creation error paths By waiting to add resources to our lists until after the last operation that can fail, we don't have to remove them from their lists in the error path. Also, we should hold the idr mutex until we know whether resource creation has succeed or failed, to avoid someone finding a resource in our table before we're ready. Loosely based on work by Robert Walsh . Signed-off-by: Roland Dreier commit 6b73597e7062118c0549c2702bfb7d273518c906 tree 6034aae7493b32d75d1c8818a801b09b77979acd parent 33033b797225553e48ca68d8d8dc5e64ec22e02b author Roland Dreier Mon, 26 Sep 2005 13:53:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: ABI-breaking fixes for userspace verbs Introduce new userspace verbs ABI version 3. This eliminates some unneeded commands, and adds support for user-created completion channels. This cleans up problems with file leaks on error paths, and also makes sure that file descriptors are always installed into the correct process. Signed-off-by: Roland Dreier commit 33033b797225553e48ca68d8d8dc5e64ec22e02b tree f76970269a0a16eb6b301f3d048af7670232d652 parent 0c33aeedb2cf99d877ad9adc7c3df07870f60293 author Jack Morgenstein Mon, 26 Sep 2005 12:30:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] mthca: Report correct atomic capability Return correct atomic capability flag from mthca query function. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0c33aeedb2cf99d877ad9adc7c3df07870f60293 tree 7f6b23172b327ebd8b5d4f5d40aa216ba48600a2 parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Jack Morgenstein Mon, 26 Sep 2005 11:47:53 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] Add checks to multicast attach and detach Add checks so that we only allow multicast attach/detach with a valid multicast GID and the correct QP type. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a tree dd6e750c3e7228abb1f922de240b86d7d12d14bf parent 1a04392bd6439876b1552793389cbb5be356ea54 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 Merge branch 'master' commit 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f tree b337d73229a69e399d4e4f7128b33ce734660e35 parent 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 Merge branch 'master' commit c8f32be3874a310fa963d47b534a98be1a05a4cc tree d26d6760c0fdabda4f313f3b40172269b378bb48 parent 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e tree ed8ad2161ca664c9100cb3fc1f9b0d8c3762500c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit b6a47fd8ff08a9d5cd279cdb8d97a619983575fa tree 5e946b5a7c3f224d181525ca475fd3f29508c47d parent ac17b8b57013a3e38d1958f66a218f15659e5752 author Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 committer Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 JFS: Corrupted block map should not cause trap Replace assert statements with better error handling. Signed-off-by: Dave Kleikamp commit 1a04392bd6439876b1552793389cbb5be356ea54 tree 12af7b77e3b0848127f2d2871778c9c1f315578a parent 68399bb5080c1d96f2110b0a040b39d3ccd7a18a parent 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 author Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 Merge branch 'master' commit 68399bb5080c1d96f2110b0a040b39d3ccd7a18a tree 678151c01ea0277c6f7d1a7c5fcc5a3ebe54997b parent edea3ab58f8edd5f72d31f891ab4f34382e97e3a author Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 [libata pdc_adma] license update, minor cleanup from me: change from OSL+GPL to GPL (with approval) from Mark: Gets rid of an unneeded control bit, slightly increasing throughput. commit edea3ab58f8edd5f72d31f891ab4f34382e97e3a tree 28762fa95419037ed0b6aa8062334b45d7917bc7 parent 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 author Mark Lord Mon, 10 Oct 2005 17:53:58 -0400 committer Jeff Garzik Mon, 10 Oct 2005 17:53:58 -0400 libata: add new driver pdc_adma for PDC ADMA ATA cards commit 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 tree 9941b526bac21cb7445c75fe8edf995659c93780 parent e710245bb0f980adfb1dfe850e43761a8117c6be parent 042c21fd2c3aa553907020131caa553a9da24589 author Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 Merge branch 'sil24' commit e710245bb0f980adfb1dfe850e43761a8117c6be tree f74e4253af1649bd1ce5291f24c7ac8f78d31f8a parent ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 author Andy Currid Fri, 07 Oct 2005 08:53:39 -0700 committer Jeff Garzik Sun, 09 Oct 2005 09:38:28 -0400 [PATCH] Fix sata_nv handling of NVIDIA MCP51/55 Patch to fix sata_nv handling of NVIDIA MCP51/55 Signed-off-by: Andy Currid Signed-off-by: Jeff Garzik commit 042c21fd2c3aa553907020131caa553a9da24589 tree d2118086e12bb88f21d1fc0129e170d49b9b35ef parent 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 author Tejun Heo Sun, 09 Oct 2005 09:35:46 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:35:46 -0400 [libata sata_sil24] add support for 3131/3531 This patch adds support for sil_3131 and sil_3531. Both are identical to 3124 except that they have only one port. Bits 30 and 31 of ata_port_info->host_flags is used to encode available port numbers. Version number is bumped to 0.22. Edward Falk supplied all the necessary information and preliminary patch. Signed-off-by: Tejun Heo commit 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 tree 6b3aa2760497d63714e7742dc1bd213c5117b193 parent 7f726d125d570f38b9e7c8a2decebc39c0a343dc author Tejun Heo Sun, 09 Oct 2005 09:31:33 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:31:33 -0400 [libata sata_sil24] nit pickings This patch removes unused NR_PORTS macro and adds termination entry to sil24_pci_tbl. Signed-off-by: Tejun Heo commit ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 tree d30e0682d43a81803254cf4ae33a1f21bc1de207 parent 845c5834d0aa60eb1588397696e7fabbaab2d3b0 author Douglas Gilbert Sun, 09 Oct 2005 09:09:35 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:09:35 -0400 [libata scsi] improve scsi error handling with ata_scsi_set_sense() - change "xlat" and "fill" actors in libata-scsi so they are responsible for SCSI status and sense data when they return 1. This allows GOOD status or a specialized error to be set. - yield an error for mode sense requests for saved values [sat-r06] - remove static inlines for ata_bad_scsiop() and ata_bad_cdb() which are no longer used Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit 845c5834d0aa60eb1588397696e7fabbaab2d3b0 tree 963d4a2c132273cf6df68a3846326a08cdbe17f4 parent d95300758bed9e0f783f3e3b4fd037bf0a21abe0 author Douglas Gilbert Sun, 09 Oct 2005 08:55:41 -0400 committer Jeff Garzik Sun, 09 Oct 2005 08:55:41 -0400 [libata scsi] add ata_scsi_set_sense helper - add extern ata_scsi_set_sense() to build SCSI fixed sense data and corresponding SCSI status Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit d95300758bed9e0f783f3e3b4fd037bf0a21abe0 tree 994823b6e0b88597eded79f9eeb0f44b580c89e5 parent e12669e774be403c84baa651306d305752a35cd8 parent 829841146878e082613a49581ae252c071057c23 author Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 committer Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 Merge branch 'master' commit 7f726d125d570f38b9e7c8a2decebc39c0a343dc tree f7a830e7c93d0c182f8f2f5942f9c30d320dfd42 parent 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a author Tejun Heo Fri, 07 Oct 2005 01:43:19 +0900 committer Jeff Garzik Thu, 06 Oct 2005 13:15:02 -0400 [PATCH] sil24: implement tf_read callback Hello, guys. This patch implements ->tf_read callback for sil24. It didn't use to be necessary but new ata_gen_fixed_sense now makes use of ->tf_read callback. This patch is taken from Edward Falk's driver. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a tree 1472f5274023ca59eaff611e485ba6db2d0052bd parent 46b93e7bce80a08ea07e250d03b0b596cbd32595 author Tejun Heo Thu, 06 Oct 2005 11:43:39 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: implement proper TF register reading & caching 03_sil24_add-tf-reading.patch This patch implements proper TF register reading back and caching and bumps up version to 0.22. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit 46b93e7bce80a08ea07e250d03b0b596cbd32595 tree d140cda3f6acebcfc8d85907114747c6a8468975 parent ad6e90f6d0c4243cc35e07e2681a3323af533ce4 author Tejun Heo Thu, 06 Oct 2005 11:43:34 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: remove CMDERR clearing 02_sil24_remove-cmderr-clearing.patch CMDERR register doesn't need clearing. This is from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 4 ---- 1 file changed, 4 deletions(-) Signed-off-by: Jeff Garzik commit ad6e90f6d0c4243cc35e07e2681a3323af533ce4 tree 3f9af49242301e69b43e1bb151d173f2152cf310 parent 012e060c95e547eceea4a12c6f58592473bf4011 author Tejun Heo Thu, 06 Oct 2005 11:43:29 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: ignore non-error exception irqs 01_sil24_ignore-non-error-exception-irqs.patch Do not error-finish commands for non-error exception irqs - just ignore them. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 012e060c95e547eceea4a12c6f58592473bf4011 tree b57d3eafb50ce517577d2cf366c9ef0b4b286589 parent 923f122573851d18a3832ca808269fa2d5046fb1 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 committer Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 Merge branch 'master' commit e12669e774be403c84baa651306d305752a35cd8 tree d0ce83e8f41f6eb09e1a3771337bb7cd8c4ed0f9 parent 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 author Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 committer Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 libata: minor cleanups A few code shuffles, to make merging future code easier. Add (DRIVER_SENSE << 24) to certain result codes, as noted by Douglas Gilbert. commit 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 tree a581d2372074c4ddedee1888822b832f3d8c8bc7 parent 05b308e1df6d9d673daedb517969241f41278b52 author Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 [libata sata_mv] fix warning shuffle ifdef location to fix the following warning: drivers/scsi/sata_mv.c:471: warning: 'mv_dump_mem' defined but not used commit 05b308e1df6d9d673daedb517969241f41278b52 tree b7114fdbddb7fef974744a5281896c9e6bf6c1d4 parent afb0edd922c7ed6e73678730921dfcccebec17e8 author Brett Russ Wed, 05 Oct 2005 17:08:53 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell function headers adds helpful function header comments. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit afb0edd922c7ed6e73678730921dfcccebec17e8 tree cbe655b60569c7a649da8f1b8d6527aa1fca8322 parent a939c9631527053aa38aa8795a6f7203c7f20b69 author Brett Russ Wed, 05 Oct 2005 17:08:42 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell spinlock fixes and simplification This should fix up lockups that people were seeing due to improper spinlock placement. Also, the start/stop DMA routines put guarded trust in the cached state of DMA. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit a939c9631527053aa38aa8795a6f7203c7f20b69 tree ef7aabee7439909153ef05f2651d8f456dd39ce1 parent a15dbeb4772626a015337dea06da67095aec3862 author Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 libata: move atapi_request_sense() to libata-scsi module No content changes, just moving code around. commit a15dbeb4772626a015337dea06da67095aec3862 tree 2834c0f61b396c2eba008c176b49460c02a564f5 parent 67846b30171cc4d706125f630193a76a26bb334a author Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 committer Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 libata: ATAPI command completion tweaks and notes 1) note urgent bug, that completes command twice 2) only fix up INQUIRY data if the SCSI version is zero (typically indicates ATAPI MMC-ish device) 3) if there is a problem on the ATA bus, don't bother with REQUEST SENSE, just directly handle the error based on Status/Error registers. commit 67846b30171cc4d706125f630193a76a26bb334a tree 5ba70c2b68086f471686eb1e56e38436eaf73416 parent 643736a58d2668af94aee05670c5e9ae76e7b85f author Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 libata: add ata_ratelimit(), use it in AHCI driver irq handler commit 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 tree be441bfa1e76035c00b66a3b06fea66cfd63d594 parent 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c parent 9bc39bec87ee3e35897fe27441e979e7c208f624 author Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 Merge branch 'master' commit 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a tree a4044665b479eba3506f448c6ae6115c3fbe600e parent 2d4b1fa234417b902c9d3034442387c1805bfa7b author Bob Picco Tue, 04 Oct 2005 15:14:05 -0400 committer Tony Luck Tue, 04 Oct 2005 13:22:07 -0700 [PATCH] V5 ia64 SPARSEMEM - gensparse_defconfig gensparse_defconfig is a config generated file for SPARSEMEM and GENERIC kernel configuration (defconfig). Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 2d4b1fa234417b902c9d3034442387c1805bfa7b tree 2ed92c7f82eec32a86f2047ac9e9534d7912e305 parent 1be7d9935b9c7fb9bd5964bfaf3ac543381277db author Bob Picco Tue, 04 Oct 2005 15:13:57 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:38 -0700 [PATCH] V5 ia64 SPARSEMEM - SPARSEMEM code changes This patch is the minimal set of changes required by ia64 to use SPARSEMEM. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 1be7d9935b9c7fb9bd5964bfaf3ac543381277db tree fe39c6d9e19fb890812318f5f3b318de6c3afc57 parent c678796cab4b5288ad578802a54cb1480ae20a08 author Bob Picco Tue, 04 Oct 2005 15:13:50 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:13 -0700 [PATCH] V5 ia64 SPARSEMEM - conditional changes for SPARSEMEM This patch introduces the conditional changes required for the three memory models. With [patch 1/4] there are three memory models; FLATMEM, DISCONTIG and SPARSEMEM. Also a new arch include file sparemem.h is introduced for defining SPARSEMEM parameters. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit c678796cab4b5288ad578802a54cb1480ae20a08 tree 6c821b09363b6f0fe4f6d529932fed1aa9f059e2 parent da9577c531f17f744f3eab40f700e07933d26361 author Bob Picco Tue, 04 Oct 2005 15:13:44 -0400 committer Tony Luck Tue, 04 Oct 2005 13:20:23 -0700 [PATCH] V5 ia64 SPARSEMEM - eliminate contig_page_data For FLATMEM contig_page_data has been made transparent to the arch code. This patch conforms to that change. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit da9577c531f17f744f3eab40f700e07933d26361 tree 388e426b9d387b5297b44a519d60bc9f093935d6 parent dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 author Bob Picco Tue, 04 Oct 2005 15:13:37 -0400 committer Tony Luck Tue, 04 Oct 2005 13:19:30 -0700 [PATCH] V5 ia64 SPARSEMEM - Kconfig and Makefile The patch modifies the Kconfig file to introduce the new memory model options and other related SPARSEMEM changes. There is also a minor change in the Makefile. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 643736a58d2668af94aee05670c5e9ae76e7b85f tree 9ffda5b1611bef0daec14faf051354a7cfde0016 parent 9d5b13021375cad2d64d56105e5f4b5f1509ced2 parent 3f19ee8cb3a1003cb5183696bc55934f5865f868 author Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 committer Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 Merge branch 'scsi-scan' commit 36735554571ea619e38210a20f429798de90adc1 tree 988510f4132ecdadcabc666931e8d428af754a51 parent ed39f731ab2e77e58122232f6e27333331d7793d author Dean Roe Mon, 03 Oct 2005 11:51:45 -0500 committer Tony Luck Tue, 04 Oct 2005 09:28:00 -0700 [IA64-SGI] Remove references to the SN bist_lock Remove all references to the bist_lock in the SN code as it is not used for anything. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 9d5b13021375cad2d64d56105e5f4b5f1509ced2 tree 58277dc135251c84cd0e7b858a5100a2886d4807 parent 3aef52311bcb1f88aa5c786302f1ae14a787f61e author Albert Lee Tue, 04 Oct 2005 08:48:17 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:48:17 -0400 [libata scsi] add CHS support to ata_scsi_start_stop_xlat() commit 3aef52311bcb1f88aa5c786302f1ae14a787f61e tree 12e62f0736c6678e0819543722b66f6813080190 parent c187c4b58a9caff660a4c8ae39d0def88cc449af author Albert Lee Tue, 04 Oct 2005 08:47:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:47:43 -0400 [libata scsi] tidy up SCSI lba and xfer len calculations move the redundant SCSI lba and transfer length calculation code from ata_scsi_verify_xlat() and ata_scsi_rw_xlat() to common functions. commit c187c4b58a9caff660a4c8ae39d0def88cc449af tree 1036c221b59e9763baba4e88d0f8e7c2deba601f parent 47a8659380d40d5c0786ddb62a89b3f7f1392430 author Albert Lee Tue, 04 Oct 2005 08:46:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:46:51 -0400 libata: minor whitespace, comment, debug message updates commit 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c tree fdab36f463a248d5be3bd46a5ad181f6d354ddde parent e2608361be343e6220e0a87e04ff224eb037df31 parent ff0037b259e8b47843176142131844bc80fd2887 author Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit e2608361be343e6220e0a87e04ff224eb037df31 tree 33c2e8f377d89c323b0ced10e1929912cee0ebb3 parent 075897ce3b1027fccb98f36dd1f18c07f5c374ef author Mateusz Berezecki Tue, 04 Oct 2005 08:14:00 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:14:00 -0400 [wireless ipw2200] remove redundant return statement commit 47a8659380d40d5c0786ddb62a89b3f7f1392430 tree 696e7f9874e6087e6aaec51fbe1d4a91cd3dfc64 parent fe998aa7e27f125f6768ec6b137b0ce2c9790509 author Alan Cox Tue, 04 Oct 2005 08:09:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:09:19 -0400 libata: bitmask based pci init functions for one or two ports This redoes the n_ports logic I proposed before as a bitmask. ata_pci_init_native_mode is now used with a mask allowing for mixed mode stuff later on. ata_pci_init_legacy_port is called with port number and does one port now not two. Instead it is called twice by the ata init logic which cleans both of them up. There are stil limits in the original code left over - IRQ/port mapping for legacy mode should be arch specific values - You can have one legacy mode IDE adapter per PCI root bridge on some systems - Doesn't handle mixed mode devices yet (but is now a lot closer to it) commit 075897ce3b1027fccb98f36dd1f18c07f5c374ef tree a795da3ac5c888f16b96082ddbd3d01c8c05493d parent 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a author John W. Linville Wed, 28 Sep 2005 17:50:53 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:57:38 -0400 [PATCH] bonding: replicate IGMP traffic in activebackup mode Replicate IGMP frames across all slaves in activebackup mode. This ensures fail-over is rapid for multicast traffic as well. Otherwise, multicast traffic will be lost until the next IGMP membership report poll timeout. This is conceptually similar to the treatment of IGMP traffic in bond_alb_xmit. In that case, IGMP traffic transmitted on any slave is re-routed to the active slave in order to ensure that multicast traffic continues to be directed to the active receiver. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a tree 2bcee321582d201510285d2cafff630a372761cd parent dbc2309d90b59fbb2676dc2e39150aa095e8c222 author John Linville Tue, 04 Oct 2005 07:51:45 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:51:45 -0400 [netdrvr s2io] Add a MODULE_VERSION entry commit dbc2309d90b59fbb2676dc2e39150aa095e8c222 tree 9d17c84d17c5a46e38fa07fef518f955c9944b5b parent 53232803241ae0f26b39897a4d4b37775837de00 author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:49:12 -0400 [PATCH] s2io: change strncpy length arg to use size of target Use the size of the target array for the length argument to strncpy instead of the size of the source or a magic number. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 53232803241ae0f26b39897a4d4b37775837de00 tree b4ab0478eb6b32d7c799d6161502c3d6f761e3d9 parent d5919586265d36c6694a5d10ba589c02806873b6 author Michal Schmidt Tue, 04 Oct 2005 07:46:21 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:46:21 -0400 airo: fix resume Cisco Aironet doesn't resume properly from swsusp, because the resume method confuses a PM_EVENT_* for a PCI power state. It thinks that it is resuming from PCI_D1 and doesn't do the necessary initialization of the card. Signed-off-by: Michal Schmidt commit d5919586265d36c6694a5d10ba589c02806873b6 tree b87f83c8215a65e1f1eb0b585d05afb21c15caaf parent 96eb549c0c20cf63ca13fac71d9d406701f744a6 author Ralf Baechle Tue, 04 Oct 2005 12:22:16 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:22 -0400 [PATCH] AX.25: Convert mkiss.c to DEFINE_RWLOCK Signed-off-by: Ingo Molnar Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 96eb549c0c20cf63ca13fac71d9d406701f744a6 tree 32c23d9653d164e2f631970859d7b2e6ee25a003 parent be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 author Ralf Baechle Tue, 04 Oct 2005 12:20:24 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:21 -0400 [PATCH] AX.25: Delete debug printk from mkiss driver Signed-off-by: Ralf Baechle DL5RB -- drivers/net/hamradio/mkiss.c | 1 - 1 files changed, 1 deletion(-) Signed-off-by: Jeff Garzik commit be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 tree 53a3edbaac116616c4bf9977f69a7b7a84749ffe parent a7990ba60adc46a808c737443393fdfecdc82593 author Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 e1000: fix warnings commit a7990ba60adc46a808c737443393fdfecdc82593 tree 5691856aa31edcf1ab15c12c777e9b1aff3a7d70 parent 352c9f854cb197581d7135d1276742fd76b53c25 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:08:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:08:19 -0400 e1000: Flush shadow RAM Flush shadow RAM to save updates to ASF related bits for 82573 controllers. These bits are past the first 63 words of NVM. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 352c9f854cb197581d7135d1276742fd76b53c25 tree 938d630ff6ef3de60fcb6111bbe253a832ca019f parent e4c811c9d2f2728ce15440c99b3b44b72799b43f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:07:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:07:24 -0400 e1000: Added msleep_interruptible delay added msleep_interruptible delay right before returning from diag_test to allow the phy to recover from reset Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit e4c811c9d2f2728ce15440c99b3b44b72799b43f tree 0806fd1239c088d970db38c9a5bfec9b35ce3477 parent 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:05:44 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:05:44 -0400 e1000: Fixes for packet split related issues Fixes for packet split related issues * On platforms where PAGE_SIZE > 4K, driver will use only required number of pages compared to always using 3 pages. * Packet split won't be used if the PAGE_SIZE is > 16K * Adds a statistics counter to splits. * Setting the non Null ptr to zero sized buffers to solve packet split receive descriptor error * When the no of pages needed is calculated, the header buffer is not included for a given MTU. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 tree 2f44f6d13bedba9235b1cc12aaa0f2cce61af78f parent 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:04:22 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:04:22 -0400 e1000: Enable custom configuration bits for 82571/2 controllers Enable custom configuration bits for 82571/2 controllers. The bits are required for correct functionality of these controllers. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 tree 4ab263116b31128c40dcad3e22b26a46fae87ab4 parent 581d708eb47cccb5f41bc0817e50c9b004011ba8 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:03:23 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:03:23 -0400 e1000: implementation of the multi-queue feature Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 581d708eb47cccb5f41bc0817e50c9b004011ba8 tree 960e94cc7df451c287f9bc92fd4016c5b362c54f parent 868d5309942927dc86f57009420c5d366ec05daa author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:01:55 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:01:55 -0400 e1000: multi-queue defines/modification to data structures defines/modifies data structures, function prototypes and changes to the driver rendering it capable of handling tx/rx queues Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 868d5309942927dc86f57009420c5d366ec05daa tree c251bfd8341b6bf30064dd0ae50d790d8df65f7e parent cc6e7c44f4b8ab13acf5521cd4b312848122179f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 06:58:59 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:58:59 -0400 e1000: Support for 82571 and 82572 controllers Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit cc6e7c44f4b8ab13acf5521cd4b312848122179f tree 9a95e57befa59f6a50e5eb8ef4c9f8ae26816b87 parent d9e34325fd62310b7b49243d02b774f3ef2452db author Ravinandan Arakali Tue, 04 Oct 2005 06:41:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:41:24 -0400 [PATCH] S2io: MSI/MSI-X support (runtime configurable) This patch adds support for MSI/MSI-X feature to the driver. It is a runtime parameter(for now, loadable parameter). Default is INTA. Patch has been tested on IA64 platform with Xframe II adapter, both of which support MSI-X feature. An improvement of about 7% in throughput(both Tx and Rx) was observed and a reduction by 7% in CPU utilization during Tx test. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit d9e34325fd62310b7b49243d02b774f3ef2452db tree d356eab72377f2576ad356de66daec23f28529a5 parent 500f83abdc83d6bd472f3d103a9a9cd85df29a29 parent 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d author Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 committer Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 Merge branch 'upstream-fixes' commit fe998aa7e27f125f6768ec6b137b0ce2c9790509 tree 124543efd939e2238d1b09a044969adbbef9b4bc parent 31961943e3110c5a1c36b1e0069c29f7c4380e51 author Tejun Heo Sun, 02 Oct 2005 11:54:29 +0900 committer Jeff Garzik Mon, 03 Oct 2005 22:11:29 -0400 [PATCH] libata: add ATA exceptions chapter to doc Hello, Jeff. This patch adds ATA errors & exceptions chapter to Documentation/DocBook/libata.tmpl. As suggested, the chapter is placed before low level driver specific chapters. Contents are unchanged from the last posting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 31961943e3110c5a1c36b1e0069c29f7c4380e51 tree d9b3b38afeb8f4e9736ba601b0265f584652a30f parent 2b235826098bb653982894dfc3f70fd029f6c2e4 author Brett Russ Fri, 30 Sep 2005 01:36:00 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:08:19 -0400 [PATCH] libata: Marvell SATA support (DMA mode) (resend: v0.22) This is my libata compatible low level driver for the Marvell SATA family. Currently it runs in DMA mode on a 6081 chip. The 5xxx series parts are not yet DMA capable in this driver because the registers have differences that haven't been accounted for yet. Basically, I'm focused on the 6xxx series right now. I apologize for those seeing problems on the 5xxx series, I've not had a chance to look at those problems yet. For those curious, the previous bug causing the SCSI timeout and subsequent panics was caused by an improper clear of hc_irq_cause in mv_host_intr(). This version is running well in my environment (6081 chips, with/without SW raid1) and is showing equal or better performance compared to the Marvell driver (mv_sata) in my initial tests (timed dd's of reads/writes to/from memory/disk). I still need to look at the causes of occasional problems such as this: ata11: translating stat 0x35 err 0x00 to sense ata11: status=0x35 { DeviceFault SeekComplete CorrectedError Error } SCSI error : <10 0 0 0> return code = 0x8000002 Current sda: sense key Hardware Error end_request: I/O error, dev sda, sector 3155010 and this, seen at init time: ATA: abnormal status 0x80 on port 0xE093911C but they aren't showstoppers. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit 500f83abdc83d6bd472f3d103a9a9cd85df29a29 tree 33e6c948592c7c9b77ad8ebdc489e32ffb9c4b70 parent 3c8c7b2f32c52b259daa7564fefd582146799b23 author Ursula Braun Fri, 30 Sep 2005 10:19:19 +0200 committer Jeff Garzik Mon, 03 Oct 2005 22:06:46 -0400 [PATCH] s390: introducing support in qeth for new OSA CHPID type OSN This patch introduces new feature in qeth: qeth enhancement provides the device driver support for the Communication Controller for Linux on System z9 and zSeries (CCL), which is software that enables running the Network Control Program (NCP) on a zSeries machine. The OSA CDLC support is based on a new IBM mainframe CHPID type called Open Systems Adaper for NCP (OSN). In case of OSN qeth communicates with the type-OSN OSA-card on one hand, and with the CCL-kernel-component Network Device Handler (NDH) on the other. Signed-off-by: Frank Pavlic Signed-off-by: Jeff Garzik commit 3c8c7b2f32c52b259daa7564fefd582146799b23 tree 59ff1ad0d6b7821d474d8fccafd884703684b6d7 parent 7cb3cd090c2725b80561958a362c2ba15a7a8c86 parent 9123e0d78990246304fe681167b8d8097f1e02d7 author Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 Merge branch 'upstream-fixes' commit 7cb3cd090c2725b80561958a362c2ba15a7a8c86 tree 9fc947ea92077967b3a0e6437d32130b3e9d772d parent c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 author Jouni Malinen Sun, 02 Oct 2005 17:19:01 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:09 -0400 [PATCH] hostap: Unregister netdevs before freeing local data Unregister all netdevs before freeing local data. I was unable to trigger any crashes without this change when running busy loops for driver operations when ejecting a Prism2 PC Card. Anyway, should there be a race condition with this, better make it less likely to happen by unregistering the netdevs first. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 tree f6de150b08f98540bf660cedffd77785ce75b479 parent f7a74447553d698795ba74b7e17e916000b0cb08 author Jouni Malinen Sun, 02 Oct 2005 17:19:00 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Do not free local->hw_priv before unregistering netdev local->hw_priv was being freed and set to NULL just before calling prism2_free_local_data(). However, this may expose a race condition in which something ends up trying to use hw_priv during shutdown. I haven't noticed this happening, but better be safe than sorry, so let's postpone hw_priv freeing to happen only after prism2_free_local_data() has returned. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit f7a74447553d698795ba74b7e17e916000b0cb08 tree 02143425097ceec545e4de3795a44e12531e8b78 parent bab76198b3111bd0328be3c1fa208237eb12f86e author Jouni Malinen Sun, 02 Oct 2005 17:18:59 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Fix hostap_pci build with PRISM2_IO_DEBUG The debug version of I/O functions in hostap_pci had not survived the change to start using hw_priv pointer, so let's fix them to actually define the local hw_priv variable. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit bab76198b3111bd0328be3c1fa208237eb12f86e tree 11f1e2ec911c48a1e74563979457e8d299e414e5 parent 2759c8d536efe3b853867f345627d89fb64c37af author Jouni Malinen Sun, 02 Oct 2005 17:18:58 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Remove hw specific dev_open/close handlers Host AP driver used hardware model specific dev_open/close handlers that were called on dev_open/close if the hardware driver had registered the handler. These were only used for hostap_cs and only for tracking whether any of the netdevs were UP. This information is already available from local->num_dev_open, so there is not need for the special open/close handler. Let's get rid of these handlers. In addition to cleaning up the code, this fixes a module refcounting issue for hostap_cs where ejecting the card while any of the netdevs were open did not decrement refcount properly. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 3f19ee8cb3a1003cb5183696bc55934f5865f868 tree 106eda632143805fcc4fccef4d601c4d5d579bd7 parent 644dd0cc494702ecd0698f467de113ace9593888 author Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 committer Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 [libata] improve device scan even more Since our max_lun is unconditionally set to 1, we might as well hardcode a LUN 0 probe, rather than a wildcard LUN scan. The ide-scsi driver sets max_lun to a value greater than under certain conditions: if ((drive->id->last_lun & 0x7) != 7) host->max_lun = (drive->id->last_lun & 0x7) + 1; else host->max_lun = 1; last_lun is Word 126 of IDENTIFY PACKET DEVICE, marked as obsolete and undocumented in non-ancient specs. We'll leave it out for now. Should the need arise to support multi-LUN ATAPI devices, we'll probably want to add the above code. Finally, there have been reports of REPORT LUNS commands locking up ATAPI drives. Eliminating the wildcard LUN scan could help reduce the trouble from problematic drives. commit 2b235826098bb653982894dfc3f70fd029f6c2e4 tree ec525ddba74f58017a3f145bb68cf94376648c1c parent b4b52db71529bbe46da914eda772fb574914c94d parent c77054e518d9163578cfcad09826d7b959f95ece author Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 committer Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 Merge branch 'master' commit ac17b8b57013a3e38d1958f66a218f15659e5752 tree f7a28ccd5bd5496f6a2284f3d77a5019dc75c820 parent ddea7be0ec8d1374f0b483a81566ed56ec9f3905 author Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 committer Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 JFS: make special inodes play nicely with page balancing This patch fixes up a few problems with jfs's reserved inodes. 1. There is no need for the jfs code setting the I_DIRTY bits in i_state. I am ashamed that the code ever did this, and surprised it hasn't been noticed until now. 2. Make sure special inodes are on an inode hash list. If the inodes are unhashed, __mark_inode_dirty will fail to put the inode on the superblock's dirty list, and the data will not be flushed under memory pressure. 3. Force writing journal data to disk when metapage_writepage is unable to write a metadata page due to pending journal I/O. Signed-off-by: Dave Kleikamp commit 644dd0cc494702ecd0698f467de113ace9593888 tree d49e781476dea85a4bfc1b05b6d15ed0a224a747 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 [libata] improve device scan Replace SCSI's legacy "bang at the door" method of probing with one directly controlled by the underlying ATA transport layer. We now only call scsi_scan_target() for devices we find, rather than probing every possible channel/id within a certain range. commit ff0037b259e8b47843176142131844bc80fd2887 tree ee5c9522e4f009c546aa2ab8d384d1455729a86e parent c1bda44a4aedf13251b2704e6e67afb4909195c8 author James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 Lindent and trailing whitespace script executed ieee80211 subsystem Signed-off-by: James Ketrenos commit c1bda44a4aedf13251b2704e6e67afb4909195c8 tree ff5bd9d92894bf777183447df3fad5615da51db7 parent ff9e00f1b09d594004f91700a371870f729ffc02 author Ivo van Doorn Mon, 03 Oct 2005 10:20:47 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:20:47 -0500 When an assoc_resp is received the network structure is not completely initialized which can cause problems for drivers that expect the network structure to be completely filled in. This patch will make sure the network is filled in as much as possible. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit ff9e00f1b09d594004f91700a371870f729ffc02 tree 44977fc59711d89871d69e3169f8bc2b2cc2b55e parent e846cbb11245e648983b50349a1c715202d5ccf0 author Ivo van Doorn Mon, 03 Oct 2005 10:19:25 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:19:25 -0500 Currently the info_element is parsed by 2 seperate functions, this results in a lot of duplicate code. This will move the parsing stage into a seperate function. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit e846cbb11245e648983b50349a1c715202d5ccf0 tree 7cdeea0d54e1fcf13cd2d2d372749e6f1936e2de parent 7c254d3dba0fae124b1d33f784ca23572ac386b0 author Randy Dunlap Mon, 03 Oct 2005 10:02:14 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:02:14 -0500 Fix implicit nocast warnings in ieee80211 code: net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: James Ketrenos commit 7c254d3dba0fae124b1d33f784ca23572ac386b0 tree 033b9cacdabd184bac9f543308976234ce97146b parent 604116a32eaef4e10d05ae3361450b3f4a4e6a90 author Ivo van Doorn Mon, 03 Oct 2005 09:50:40 -0500 committer James Ketrenos Mon, 03 Oct 2005 09:50:40 -0500 This will move the ieee80211_is_ofdm_rate function to the ieee80211.h header, and I also added the ieee80211_is_cck_rate counterpart. Various drivers currently create there own version of these functions, but I guess the ieee80211 stack is the best place to provide such routines. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit d719948e623622cf9fc8016f7ec63422d929eb3b tree 3ea5e18a0f6c1b43392d9abc76722095ce179e59 parent be379124c0a5abfbe57dab2823fe8a71ce797aee author Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 committer Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 [IA64] end of kernel 'data' is at _end, not _edata /proc/iomem describes a block of memory as "Kernel data", but the end address is derived from "_edata". The kernel actually has many other sections beyond _edata. Get the real end address from _end. Acked-by: Khalid Aziz Signed-off-by: Tony Luck commit 59c422358d6573716f2bf2e78e5b12c20eff5a31 tree c2845caccb2224e78d195056a0e8940d1bc066c1 parent 55642d36cd0f626c614f6dfa1151a5af1ff84f36 author Jack Steiner Tue, 27 Sep 2005 08:25:32 -0500 committer Tony Luck Wed, 28 Sep 2005 14:32:57 -0700 [IA64-SGI] Increase max system size of SGI SN systems Increase the maximum system size of SGI SN systems. Note that this is not the maximum SSI size. The maximum system size is the number of nodes in the numalink domain. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 604116a32eaef4e10d05ae3361450b3f4a4e6a90 tree 6e5a0667172ddafd366b745a53b4ff392927176e parent 2759c8d536efe3b853867f345627d89fb64c37af author Michael Wu Wed, 28 Sep 2005 15:16:46 -0500 committer James Ketrenos Wed, 28 Sep 2005 15:16:46 -0500 This patch fixes a typo in ieee80211.h: ieee82011_deauth -> ieee80211_deauth Signed-off-by: Michael Wu Signed-off-by: James Ketrenos commit b4b52db71529bbe46da914eda772fb574914c94d tree 3f29440fd0a5b16ef06cb04296682df269b478c2 parent a1213499b0ef75d8c627b461047805a235c9dd00 author Alan Cox Mon, 26 Sep 2005 12:48:41 +0100 committer Jeff Garzik Wed, 28 Sep 2005 13:29:56 -0400 [PATCH] ata: re-order speeds sensibly. Signed-off-by: Jeff Garzik commit a1213499b0ef75d8c627b461047805a235c9dd00 tree 89b39cb950138db7c2f9d65b1abe14e8993e3bc1 parent bfd00722ac230a39bc5234c5f7a514ea6a77996d author Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 committer Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 libata: move EH docs to separate DocBook chapter commit bfd00722ac230a39bc5234c5f7a514ea6a77996d tree 08b76d7cfe885f9cabd5a6502105f13c1b8cf6fb parent 64f09c98d7fce21dcb8da9f248e4159eb1ec245e author Tejun Heo Mon, 26 Sep 2005 11:28:47 +0900 committer Jeff Garzik Wed, 28 Sep 2005 12:16:54 -0400 [PATCH] libata EH document update Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 64f09c98d7fce21dcb8da9f248e4159eb1ec245e tree e03ed75665d536438fcb79b468a439caacd3d7dc parent 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 parent 98ed72deebfd2b55b7e1bb94c8175b1169999212 author Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 committer Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 /spare/repo/libata-dev branch 'chs-support' commit 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 tree 715ac051b4fd2e3d62219110be4fc71d2f1a06f8 parent ee500aabf10323a7e313731b8c0be7c2c6dd27c7 author Albert Lee Tue, 27 Sep 2005 17:36:35 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:58:39 -0400 [PATCH] libata: rename host states Changes: s/PIO_ST_/HSM_ST_/ and s/pio_task_state/hsm_task_state/. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit ee500aabf10323a7e313731b8c0be7c2c6dd27c7 tree 55a5b978ea433102c9c0febc977af3d0cde6dadd parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Albert Lee Tue, 27 Sep 2005 17:34:38 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:57:29 -0400 [PATCH] libata: indent and whitespace change Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 2759c8d536efe3b853867f345627d89fb64c37af tree e8dc66c8c5e2e5dbea9629f1405cdf9bada79985 parent e2e965072564e7aad8df963107677a6d22c41767 author Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 [wireless airo] remove needed dma_addr_t obfuscation Fixes bus address truncation bug for certain configs. commit e2e965072564e7aad8df963107677a6d22c41767 tree 92667c7ec98f96308f4eefd4ec3c1bdfbb5acd93 parent 596ff2e7c8db39c700e277f0bc267244be253f5b author Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 Remove WIRELESS_EXT ifdefs from several wireless drivers. commit 596ff2e7c8db39c700e277f0bc267244be253f5b tree 9f0f0897c0ef74f8d44510c0cc868ee0e314cbdd parent a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e author Jean Tourrilhes Fri, 23 Sep 2005 21:59:01 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Remove iwe_stream_add_event kludge Now that we are compiling with -fno-strict-aliasing (this is the kernel default), we can drop the following kludge for iwe_stream_add_event(). Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e tree ec30834a9f39a737d2f9d01d5c5b561015265ad1 parent c28df16ed70d1b6cefd12135e3c68bfccd1bb635 author Jean Tourrilhes Fri, 23 Sep 2005 21:59:00 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue This is the trace I got : Signed-off-by: Jeff Garzik commit c28df16ed70d1b6cefd12135e3c68bfccd1bb635 tree d1161f1c5523e9720f9bc58adf3b7495a5b1ac62 parent 7a716536c602be6050b4f3ece30f1fc3b64362b0 author Jean Tourrilhes Fri, 23 Sep 2005 21:58:59 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Add support for WE-19 This patch adds support for WE-19 to the HostAP driver. One of the major change is the use of an explicit flag to tell if iwstat is in dBm or not. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 7a716536c602be6050b4f3ece30f1fc3b64362b0 tree 58ed691a144e75b81b712ccdf5daccebbe58693a parent 8cee0cd5bec53b78dd3c43a73b27821a688133e6 author Pavel Roskin Fri, 23 Sep 2005 21:58:58 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Fix pci_driver name for hostap_plx and hostap_pci hostap_pci and hostap_plx drivers still use PCI driver names "prism2_pci" and "prism2_plx" respectively. This is unfriendly to linux-wlan-ng, which uses the same names. So, if e.g. hostap_pci and prism2_pci are loaded, they will "share" /sys/bus/pci/drivers/prism2_plx directory. Change PCI driver names of hostap_pci and hostap_plx to be equal to their module names. Signed-off-by: Pavel Roskin Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 98ed72deebfd2b55b7e1bb94c8175b1169999212 tree f1682a68f65e0a38159f55a58c054779d749f8df parent dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 committer Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 Merge /spare/repo/linux-2.6/ commit 8cee0cd5bec53b78dd3c43a73b27821a688133e6 tree 067920155bf3cf6896e88d1cff8c170d32768922 parent bb40dcbb0fcebe1df08ba261483fcc38b307d063 author Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 [netdrvr] delete CONFIG_PHYCONTROL commit bb40dcbb0fcebe1df08ba261483fcc38b307d063 tree aefeb8db397de215cf1ff1c5ff7a581cee2b2b4b parent acc4b985a6f8f22a0e826692894a4af234764001 author Andy Fleming Fri, 23 Sep 2005 22:54:21 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:54:21 -0400 [netdrvr gianfar] use new phy layer Signed-off-by: Andy Fleming Signed-off-by: Jeff Garzik commit 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 tree dd2f5c7a770005d13910ed581128542720ee8936 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Mark Maule Fri, 23 Sep 2005 12:31:53 -0500 committer Tony Luck Fri, 23 Sep 2005 11:21:59 -0700 [IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write This patch adds a #define for SN_SAL_IOIF_PCI_SAFE and makes that the preferred method of implementing sn_pci_legacy_read() and sn_pci_legacy_write(). This SAL call has been present in SGI proms since version 4.10. If the SN_SAL_IOIF_PCI_SAFE call fails, revert to the previous code for compatability with older proms. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 tree ef62460b3ea5bd9bd81cb243c20a7a64ed41b8e5 parent f134585a7343d71f9be7f0cf97e2145f21dd10c6 author Chuck Lever Thu, 22 Sep 2005 21:24:59 -0400 committer Trond Myklebust Fri, 23 Sep 2005 13:54:10 -0400 SUNRPC: fix bug in patch "portmapper doesn't need a reserved port" The in-kernel portmapper does in fact need a reserved port when registering new services, but not when performing bind queries. Ensure that we distinguish between the two cases. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 463eb297401eeb174db3fdf37a87911b576b3993 tree 1a0b2ffefc08cb4d3a2c591a5ff9bf9e5fb659ea parent 12f44f46bc9c6dc79255e661b085797af395d8da author Bjorn Helgaas Fri, 23 Sep 2005 11:39:07 -0600 committer Tony Luck Fri, 23 Sep 2005 10:50:09 -0700 [IA64] respect ACPI producer/consumer flag for PCI root bridges Address space resources for ACPI devices have a producer/consumer flag. All devices "consume" the indicated address space. If the resource is marked as a "producer", the range is also passed on to child devices. We currently ignore this flag when setting up MMIO and I/O port windows for PCI root bridges, so we could mistakenly interpret a "consumed-only" range, like CSR space for the device itself, as a window that is routed to children. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit f134585a7343d71f9be7f0cf97e2145f21dd10c6 tree f1eae77a5063e3748cd8deba9a13794ae0a9439c parent 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e author Trond Myklebust Fri, 23 Sep 2005 11:08:25 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:39:00 -0400 Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" This reverts 17f4e6febca160a9f9dd4bdece9784577a2f4524 commit. commit 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e tree e44b1e23f7a7c642d9ef5040a2bc0b753e0fad99 parent 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 author Trond Myklebust Thu, 25 Aug 2005 16:25:57 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:59 -0400 NFS: Make /proc/mounts display the protocol used by NFSv4 Signed-off-by: Trond Myklebust commit 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 tree fe1b62d1686c78659133d751393ab2d5acf38665 parent 470056c288334eb0b37be26c9ff8aee37ed1cc7a author Christoph Hellwig Sun, 24 Jul 2005 23:53:01 +0100 committer Trond Myklebust Fri, 23 Sep 2005 12:38:57 -0400 [PATCH] RPC,NFS: new rpc_pipefs patch Currently rpc_mkdir/rpc_rmdir and rpc_mkpipe/mk_unlink have an API that's a little unfortunate. They take a path relative to the rpc_pipefs root and thus need to perform a full lookup. If you look at debugfs or usbfs they always store the dentry for directories they created and thus can pass in a dentry + single pathname component pair into their equivalents of the above functions. And in fact rpc_pipefs actually stores a dentry for all but one component so this change not only simplifies the core rpc_pipe code but also the callers. Unfortuntately this code path is only used by the NFS4 idmapper and AUTH_GSSAPI for which I don't have a test enviroment. Could someone give it a spin? It's the last bit needed before we can rework the lookup_hash API Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust commit 470056c288334eb0b37be26c9ff8aee37ed1cc7a tree 8c76a17c31c5dadbd4438a11d64364cdbe164c40 parent 03bf4b707eee06706c9db343dd5c905b7ee47ed2 author Chuck Lever Thu, 25 Aug 2005 16:25:56 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:55 -0400 [PATCH] RPC: rationalize set_buffer_size In fact, ->set_buffer_size should be completely functionless for non-UDP. Test-plan: Check socket buffer size on UDP sockets over time. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03bf4b707eee06706c9db343dd5c905b7ee47ed2 tree 54f89b578758e2bf2650b647ae1c7100c882a757 parent 3167e12c0c424f3c323944701615343022d86418 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:53 -0400 [PATCH] RPC: parametrize various transport connect timeouts Each transport implementation can now set unique bind, connect, reestablishment, and idle timeout values. These are variables, allowing the values to be modified dynamically. This permits exponential backoff of any of these values, for instance. As an example, we implement exponential backoff for the connection reestablishment timeout. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 3167e12c0c424f3c323944701615343022d86418 tree 952961988fe19c19fc63f9cffb5edb4566f3527f parent 529b33c6db0120126b1381faa51406dc463acdc9 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:52 -0400 [PATCH] RPC: make sure to get the same local port number when reconnecting Implement a best practice: if the remote end drops our connection, try to reconnect using the same port number. This is important because the NFS server's Duplicate Reply Cache often hashes on the source port number. If the client reuses the port number when it reconnects, the server's DRC will be more effective. Based on suggestions by Mike Eisler, Olaf Kirch, and Alexey Kuznetsky. Test-plan: Destructive testing. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 529b33c6db0120126b1381faa51406dc463acdc9 tree 4856a23687aa891f6a5d1c45db80190b90b0fc68 parent 555ee3af161b037865793bd4bebc06b58daafde6 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:50 -0400 [PATCH] RPC: allow RPC client's port range to be adjustable Select an RPC client source port between 650 and 1023 instead of between 1 and 800. The old range conflicts with a number of network services. Provide sysctls to allow admins to select a different port range. Note that this doesn't affect user-level RPC library behavior, which still uses 1 to 800. Based on a suggestion by Olaf Kirch . Test-plan: Repeated mount and unmount. Destructive testing. Idle timeouts. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 555ee3af161b037865793bd4bebc06b58daafde6 tree 4c72474dabffab62234db158e5b6c86ace4f9d09 parent ed63c003701a314c4893c11eceb9d68f8f46c662 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:48 -0400 [PATCH] RPC: clean up after nocong was removed Clean-up: Move some macros that are specific to the Van Jacobson implementation into xprt.c. Get rid of the cong_wait field in rpc_xprt, which is no longer used. Get rid of xprt_clear_backlog. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ed63c003701a314c4893c11eceb9d68f8f46c662 tree c0567884d9cce53960061fece0ae9c2eabd0af77 parent a58dd398f5db4f73d5c581069fd70a4304cc4f0a author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:47 -0400 [PATCH] RPC: remove xprt->nocong Get rid of the "xprt->nocong" variable. Test-plan: Use WAN simulation to cause sporadic bursty packet loss with UDP mounts. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a58dd398f5db4f73d5c581069fd70a4304cc4f0a tree 09e290d351c043392e7a2f8e0bc77aba90ff88ad parent 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:45 -0400 [PATCH] RPC: add a release_rqst callout to the RPC transport switch The final place where congestion control state is adjusted is in xprt_release, where each request is finally released. Add a callout there to allow transports to perform additional processing when a request is about to be released. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee tree eee53757ac3e03d55b6c01bb0500996ba520a8bb parent 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:43 -0400 [PATCH] RPC: add generic interface for adjusting the congestion window A new interface that allows transports to adjust their congestion window using the Van Jacobson implementation in xprt.c is provided. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 tree 6b2993ff1cefb69cc3cc40c3605d088ea2af3c98 parent 49e9a89086b3cae784a4868ca852863e4f4ea3fe author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:41 -0400 [PATCH] RPC: separate xprt_timer implementations Allow transports to hook the retransmit timer interrupt. Some transports calculate their congestion window here so that a retransmit timeout has immediate effect on the congestion window. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 49e9a89086b3cae784a4868ca852863e4f4ea3fe tree 5ba197fc1767fee5590b892b2f19aeb3583494c4 parent 12a804698b29d040b7cdd92e8a44b0e75164dae9 author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:40 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next method we abstract is the one that releases a transport, allowing another task to have access to the transport. Again, one generic version of this is provided for transports that don't need the RPC client to perform congestion control, and one version is for transports that can use the original Van Jacobson implementation in xprt.c. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 12a804698b29d040b7cdd92e8a44b0e75164dae9 tree 9885cf95a0a2945ad8cd00de59633a0aa16a3599 parent fe3aca290f17ae4978bd73d02aa4029f1c9c024c author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:38 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next several patches introduce an API that allows transports to choose whether the RPC client provides congestion control or whether the transport itself provides it. The first method we abstract is the one that serializes access to the RPC transport to prevent the bytes from different requests from mingling together. This method provides proper request serialization and the opportunity to prevent new requests from being started because the transport is congested. The normal situation is for the transport to handle congestion control itself. Although NFS over UDP was first, it has been recognized after years of experience that having the transport provide congestion control is much better than doing it in the RPC client. Thus TCP, and probably every future transport implementation, will use the default method, xprt_lock_write, provided in xprt.c, which does not provide any kind of congestion control. UDP can continue using the xprt.c-provided Van Jacobson congestion avoidance implementation. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit fe3aca290f17ae4978bd73d02aa4029f1c9c024c tree 4fbaa255e9e7a85f41eacb7cf1214dc44a90bcea parent 43118c29dea2b23798bd42a147015cceee7fa885 author Chuck Lever Thu, 25 Aug 2005 16:25:50 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:36 -0400 [PATCH] RPC: add API to set transport-specific timeouts Prepare the way to remove the "xprt->nocong" variable by adding a callout to the RPC client transport switch API to handle setting RPC retransmit timeouts. Add a pair of generic helper functions that provide the ability to set a simple fixed timeout, or to set a timeout based on the state of a round- trip estimator. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 43118c29dea2b23798bd42a147015cceee7fa885 tree 4951a6777a3dc167d46c1373c02d21912b250e96 parent 808012fbb23a52ec59352445d2076d175ad4ab26 author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:35 -0400 [PATCH] RPC: get rid of xprt->stream Now we can fix up the last few places that use the "xprt->stream" variable, and get rid of it from the rpc_xprt structure. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 808012fbb23a52ec59352445d2076d175ad4ab26 tree 7175edb3917bc35f7f5484f567e91d7303a17663 parent 262965f53defd312a294b45366ea17907b6a616b author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:33 -0400 [PATCH] RPC: skip over transport-specific heads automatically Add a generic mechanism for skipping over transport-specific headers when constructing an RPC request. This removes another "xprt->stream" dependency. Test-plan: Write-intensive workload on a single mount point (try both UDP and TCP). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 262965f53defd312a294b45366ea17907b6a616b tree a5e0f194c02f230ff12d9d5b0933bad9eb8810ea parent b0d93ad511ce2f37823a07c7a3258117a431f5fb author Chuck Lever Thu, 11 Aug 2005 16:25:56 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:31 -0400 [PATCH] RPC: separate TCP and UDP socket write paths Split the RPC client's main socket write path into a TCP version and a UDP version to eliminate another dependency on the "xprt->stream" variable. Compiler optimization removes unneeded code from xs_sendpages, as this function is now called with some constant arguments. We can now cleanly perform transport protocol-specific return code testing and error recovery in each path. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Examine oprofile results for any changes before and after this patch is applied. Version: Thu, 11 Aug 2005 16:08:46 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b0d93ad511ce2f37823a07c7a3258117a431f5fb tree a9fc753bf821d1d71c345f58e056511dfd0cf5ac parent c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 author Chuck Lever Thu, 11 Aug 2005 16:25:53 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:29 -0400 [PATCH] RPC: separate TCP and UDP transport connection logic Create separate connection worker functions for managing UDP and TCP transport sockets. This eliminates several dependencies on "xprt->stream". Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:08:18 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 tree 95f561877d67eed80a823daa6ef0c00ad1c060eb parent 55aa4f58aa43dc9a51fb80010630d94b96053a2e author Chuck Lever Thu, 11 Aug 2005 16:25:50 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:28 -0400 [PATCH] RPC: separate TCP and UDP write space callbacks Split the socket write space callback function into a TCP version and UDP version, eliminating one dependence on the "xprt->stream" variable. Keep the common pieces of this path in xprt.c so other transports can use it too. Test-plan: Write-intensive workload on a single mount point. Version: Thu, 11 Aug 2005 16:07:51 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 55aa4f58aa43dc9a51fb80010630d94b96053a2e tree 7b3d79bdc15c76c25d8a53437b9e4173ebc68f24 parent 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 author Chuck Lever Thu, 11 Aug 2005 16:25:47 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:26 -0400 [PATCH] RPC: client-side transport switch cleanup Clean-up: change some comments to reflect the realities of the new RPC transport switch mechanism. Get rid of unused xprt_receive() prototype. Also, organize function prototypes in xprt.h by usage and scope. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:07:21 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 tree f256182f85b4fdf9185903d6f0531f877e311c8e parent 86b9f57dfdf455763d2be73a742a9a88bb664173 author Chuck Lever Thu, 11 Aug 2005 16:25:44 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:24 -0400 [PATCH] RPC: Add helper for waking tasks pending on a transport Clean-up: remove only reference to xprt->pending from the socket transport implementation. This makes a cleaner interface for other transport implementations as well. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:52 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 86b9f57dfdf455763d2be73a742a9a88bb664173 tree 4d153fb7e1452efcbfd170c8ce85f049257c558e parent 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e author Chuck Lever Thu, 11 Aug 2005 16:25:41 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:23 -0400 [PATCH] RPC: Eliminate socket.h includes in RPC client Clean-up: get rid of unnecessary socket.h and in.h includes in the generic parts of the RPC client. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:23 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e tree 5ae6bde4dd66da8932c23c780745c72cf38de722 parent 5dc07727f86b25851e95193a0c484ea21b531c47 author Chuck Lever Thu, 11 Aug 2005 16:25:38 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:21 -0400 [PATCH] RPC: rename the sockstate field Clean-up: get rid of a name reference to sockets in the generic parts of the RPC client by renaming the sockstate field in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5dc07727f86b25851e95193a0c484ea21b531c47 tree 813a8cb359fef51172ff67d9da8efdfc5fee4a83 parent 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a author Chuck Lever Thu, 11 Aug 2005 16:25:35 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:19 -0400 [PATCH] RPC: Rename xprt_lock Clean-up: Replace the xprt_lock with something more aptly named. This lock single-threads the XID and request slot reservation process. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:26 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a tree 6c6e142cfa37b984dcba6f785a4f886374a307c6 parent b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 author Chuck Lever Thu, 11 Aug 2005 16:25:32 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:17 -0400 [PATCH] RPC: Rename sock_lock Clean-up: replace a name reference to sockets in the generic parts of the RPC client by renaming sock_lock in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:00 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 tree 41b4a8d22847f816e555ad5e4566b9c33dea5c0f parent 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 author Chuck Lever Thu, 11 Aug 2005 16:25:29 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:16 -0400 [PATCH] RPC: Reduce stack utilization in xs_sendpages Reduce stack utilization of the RPC socket transport's send path. A couple of unlikely()s are added to ensure the compiler places the tail processing at the end of the csect. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Version: Thu, 11 Aug 2005 16:04:30 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 tree ad684d0ce47793f161839e2321f118206ef707f3 parent a246b0105bbd9a70a698f69baae2042996f2a0e9 author Chuck Lever Thu, 11 Aug 2005 16:25:26 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:14 -0400 [PATCH] RPC: transport switch function naming Introduce block header comments and a function naming convention to the socket transport implementation. Provide a debug setting for transports that is separate from RPCDBG_XPRT. Eliminate xprt_default_timeout(). Provide block comments for exposed interfaces in xprt.c, and eliminate the useless obvious comments. Convert printk's to dprintk's. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:04:04 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a246b0105bbd9a70a698f69baae2042996f2a0e9 tree 6c8831d8579a7fdc5201d3e9c20270cb1420eeda parent 094bb20b9fcab3a1652a77741caba6b78097d622 author Chuck Lever Thu, 11 Aug 2005 16:25:23 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:12 -0400 [PATCH] RPC: introduce client-side transport switch Move the bulk of client-side socket-specific code into a separate source file, net/sunrpc/xprtsock.c. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Destructive testing (unplugging the network temporarily, server reboots). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:03:38 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 094bb20b9fcab3a1652a77741caba6b78097d622 tree 85347e557be116ed1fa8bbf63555fcb83920baf5 parent 602f83273c89fdd25f24757564d8001cf723e740 author Chuck Lever Thu, 11 Aug 2005 16:25:20 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:11 -0400 [PATCH] RPC: extract socket logic common to both client and server Clean-up: Move some code that is common to both RPC client- and server-side socket transports into its own source file, net/sunrpc/socklib.c. Test-plan: Compile kernel with CONFIG_NFS enabled. Millions of fsx operations over UDP, client and server. Connectathon over UDP. Version: Thu, 11 Aug 2005 16:03:09 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 602f83273c89fdd25f24757564d8001cf723e740 tree 5268f27e143907ca08d265fdbc49e9c5c89e914d parent eab5c084b858fd95a873fc2b97de9a9ad937b4ed author Chuck Lever Thu, 11 Aug 2005 16:25:17 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:08 -0400 [PATCH] RPC: portmapper doesn't need a reserved port The in-kernel portmapper does not require a reserved port for making bind queries. Test-plan: Tens of runs of the Connectathon locking suite with TCP and UDP against several other NFS server implementations using NFSv3, not NFSv4 (which doesn't require rpcbind). Version: Thu, 11 Aug 2005 16:02:43 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit eab5c084b858fd95a873fc2b97de9a9ad937b4ed tree 6ba8287570ecc83fed1512bd4901df979221c2ab parent da35187801732397a7e05fb9e77f3700cc35f5db author Chuck Lever Thu, 11 Aug 2005 16:25:14 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:06 -0400 [PATCH] NFS: use a constant value for TCP retransmit timeouts Implement a best practice: don't use exponential backoff when computing retransmit timeout values on TCP connections, but simply retransmit at regular intervals. This also fixes a bug introduced when xprt_reset_majortimeo() was added. Test-plan: Enable RPC debugging and watch timeout behavior on a NFS/TCP mount. Version: Thu, 11 Aug 2005 16:02:19 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit da35187801732397a7e05fb9e77f3700cc35f5db tree 61307975e36112fd85b98d0df824386e209a5049 parent 23475d66bd8600e0c5353f86c1b74f68df27bdb5 author Chuck Lever Thu, 11 Aug 2005 16:25:11 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:04 -0400 [PATCH] RPC: proper soft timeout behavior for rpcbind Implement a best practice: for soft mounts, an rpcbind timeout should cause an RPC request to fail. This also provides an FSM hook for retrying an rpcbind with a different rpcbind protocol version. We'll use this later to try multiple rpcbind protocol versions when binding. To enable this, expose the RPC error code returned during a portmap request to the FSM so it can make some decision about how to report, retry, or fail the request. Test-plan: Hundreds of passes with connectathon NFSv3 locking suite, on the client and server. Version: Thu, 11 Aug 2005 16:01:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 23475d66bd8600e0c5353f86c1b74f68df27bdb5 tree 040565dacc08e99a86e2dd716b348f74e12e08db parent 9aa48b7e270d13c8781414dce081a42cae20a80d author Chuck Lever Thu, 11 Aug 2005 16:25:08 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:03 -0400 [PATCH] RPC: Report connection errors properly when mounting with "soft" Fix up xprt_connect_status: the soft timeout logic was clobbering tk_status, so TCP connect errors were not properly reported on soft mounts. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Version: Thu, 11 Aug 2005 16:01:28 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9aa48b7e270d13c8781414dce081a42cae20a80d tree 788749de63303b280155cd84c5a47434f029d6e0 parent 449231d6ddf50ca46b7fb2f76ecf790135222913 author Trond Myklebust Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:01 -0400 NFS: Don't expose internal READDIR errors to userspace Fixes a condition whereby the kernel is returning the non-POSIX error EBADCOOKIE to userspace. Signed-off-by: Trond Myklebust commit 449231d6ddf50ca46b7fb2f76ecf790135222913 tree 0c493d7f4fb68f1f639c56258bcd025d5b904fb0 parent 20509f1bc553ed7fafa88fa8d01c6212d1876d9f author Olaf Kirch Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:59 -0400 From: Olaf Kirch [PATCH] Fix miscompare in __posix_lock_file If an application requests the same lock twice, the kernel should just leave the existing lock in place. Currently, it will install a second lock of the same type. Signed-off-by: Olaf Kirch Signed-off-by: Trond Myklebust commit 20509f1bc553ed7fafa88fa8d01c6212d1876d9f tree da10ad62009995269dc0733a254a0bc1f6293aa2 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Trond Myklebust Thu, 25 Aug 2005 16:25:34 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:58 -0400 NFS: Drop inode after rename When doing a rename on top of an existing file that is not in use, the inode of the overwritten file will remain in the icache. The fix is to decrement i_nlink of the overwritten inode, like we do for unlink, rmdir etc already. Problem diagnosed by Olaf Kirch. This patch is a slight variation on his fix. Signed-off-by: Trond Myklebust commit acc4b985a6f8f22a0e826692894a4af234764001 tree 4615a3494ce14ed78d592599fd29605425b9c986 parent 48ca703807eba616ad5e384b40e27514bd341a3d author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:14 -0400 [PATCH] orinoco: Bump version to 0.15rc3. Signed-off-by: Pavel Roskin Bump version to 0.15rc3. Signed-off-by: Jeff Garzik commit 48ca703807eba616ad5e384b40e27514bd341a3d tree ca4a41c2a653ff89ff1e713109e9afe4978a12e6 parent d133ae4cd6a3c75c31b1630f906cc9979a11077f author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Read only needed data in __orinoco_ev_txexc(). Signed-off-by: Pavel Roskin Read only needed data in __orinoco_ev_txexc(). Don't read the 802.11 header beyond addr1. The rest of the frame is not used currently. Signed-off-by: Jeff Garzik commit d133ae4cd6a3c75c31b1630f906cc9979a11077f tree 4b292054c342e6e8c5b2594c62cbf3534eea1edf parent 393da59834eef526fc6fd0df321e94344d7c49e3 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Annotate endianess of variables and structure members. Signed-off-by: Pavel Roskin Annotate endianess of variables and structure members. Don't reuse variables for both host-endian and little-endian data. Minor comment changes in affected structures. Signed-off-by: Jeff Garzik commit 393da59834eef526fc6fd0df321e94344d7c49e3 tree bf4285c3f2064b56c2b188d4f24fe2b3d740290b parent 8aeabc375041a5fe9c9be315472497b2e0547eed author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove unneeded forward declarations. Signed-off-by: Pavel Roskin Remove unneeded forward declarations. Also reorder struct pcmcia_driver initialization to keep attach and detach together. Signed-off-by: Jeff Garzik commit 8aeabc375041a5fe9c9be315472497b2e0547eed tree 27f79b27bc015596395c03ecd9c6ae72964fb322 parent f3cb4cc120177090b0ccc9fb20a12010de39ac8a author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: orinoco_send_wevents() could return without unlocking. Signed-off-by: Pavel Roskin orinoco_send_wevents() could return without unlocking. Failure to read BSSID from the hardware would cause orinoco_send_wevents() to return with lock held. Found by sparse. Signed-off-by: Jeff Garzik commit f3cb4cc120177090b0ccc9fb20a12010de39ac8a tree 368c76f705f9512f5016288b607e3a0e4b36d54d parent 4c08202547111e503eca4031ae9443159a79e2b2 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Fix memory leak and unneeded unlock in orinoco_join_ap() Signed-off-by: Pavel Roskin Fix memory leak and unneeded unlock in orinoco_join_ap() If orinoco_lock() fails, the code would still run orinoco_unlock(), instead of freeing the allocated memory. Found by sparse. Signed-off-by: Jeff Garzik commit 4c08202547111e503eca4031ae9443159a79e2b2 tree 16e191f069d0d722a61cbab76ab77fa587162386 parent ef846bf04f4c9e1a68ab841e89931f8c26100874 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Make nortel_pci_hw_init() static. Signed-off-by: Pavel Roskin Make nortel_pci_hw_init() static. Found by sparse. Signed-off-by: Jeff Garzik commit ef846bf04f4c9e1a68ab841e89931f8c26100874 tree 20a1f3808166d65f98db97944870e20143c05067 parent da192bb50cc9a7fe7d95e048422d51777bad0bba author Pavel Roskin Fri, 23 Sep 2005 04:18:07 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove inneeded system includes. Signed-off-by: Pavel Roskin Remove inneeded system includes. Most system includes are not needed. In particular, the hardware backends don't need anything network related. Some includes have been moved from local headers to the C files where they are actually used. Includes that have to be in the local headers are no longer from the C sources. Signed-off-by: Jeff Garzik commit da192bb50cc9a7fe7d95e048422d51777bad0bba tree 560986cb68a747de281f82ca605c7125ccc65c1c parent af9288a707b609cdb1069cfe5bde0d6567c12c31 parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da author Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 Merge /spare/repo/linux-2.6/ commit af9288a707b609cdb1069cfe5bde0d6567c12c31 tree 32ee8fee982736729524f34ece457449ab1356d3 parent 6eb6edf04acd09e3cea09456913e8da59323b89e author James Ketrenos Thu, 22 Sep 2005 15:43:07 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:07 -0400 ieee80211: update orinoco, wl3501 drivers for latest struct naming commit 6eb6edf04acd09e3cea09456913e8da59323b89e tree 7cf648aba7823b1b7cc9419f682a2dca60cc2e82 parent e5658d3e8a347f4393a9403b0cec8d43fa6214b1 author James Ketrenos Thu, 22 Sep 2005 10:34:15 +0000 committer Jeff Garzik Thu, 22 Sep 2005 15:40:59 -0400 [PATCH] ieee80211: in-tree driver updates to sync with latest ieee80211 series Changed crypto method from requiring a struct ieee80211_device reference to the init handler. Instead we now have a get/set flags method for each crypto component. Setting of TKIP countermeasures can now be done via set_flags(IEEE80211_CRYPTO_TKIP_COUNTERMEASURES) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e5658d3e8a347f4393a9403b0cec8d43fa6214b1 tree ae957738fa0a95a656e26b8ea48728b6c4267604 parent 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 author James Ketrenos Wed, 21 Sep 2005 11:58:56 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: added IE comments, reason_code to reason, removed info_element from ieee80211_disassoc tree 0254e7c97cece038cd11b47a16027c6379e464fe parent a84f7713dc87ca1b51c6d53b391087663425a080 author James Ketrenos 1126661324 -0500 committer James Ketrenos 1127319069 -0500 Updated based on Michael Wu's patch and comments sent to netdev. Added IE comments to ieee80211_* frame structures. Changed reason_code to reason (consistency) Removed info_element from ieee80211_disassoc Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 tree 5ab119a07e98aaf623dc8ce6f04f7b3403b6b971 parent 31696160c7415b5a7efa650c7f1ca5c9623f5d8f author James Ketrenos Wed, 21 Sep 2005 11:58:49 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added handle_deauth() callback, enhanced tkip/ccmp support of varying hw/sw offload tree de81b55e78e85997642c651ea677078d0554a14f parent c8030da8c159f8b82712172a6748a42523aea83a author James Ketrenos 1127104380 -0500 committer James Ketrenos 1127315225 -0500 Added handle_deauth() callback. Enhanced crypt_{tkip,ccmp} to support varying splits of HW/SW offload. Changed channel freq to u32 from u16. Signed-off-by: Jeff Garzik commit 31696160c7415b5a7efa650c7f1ca5c9623f5d8f tree 1f82e3a1e477374c78240ec2e95cece4859d9e81 parent 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d author James Ketrenos Wed, 21 Sep 2005 11:58:46 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added subsystem version string and reporting via MODULE_VERSION tree c1b50ac5d2d1f9b727c39c6bd86a7872f25a1127 parent 1bb997a3ac7dd1941e02426d2f70bd28993a82b7 author James Ketrenos 1126720779 -0500 committer James Ketrenos 1127314674 -0500 Added subsystem version string and reporting via MODULE_VERSION and pritnk during load. NOTE: This is the version support split out from patch 24/29 of the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d tree 560df923cbd6dcee66352e1d55c8b170ebd57b36 parent 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 author Manfred Spraul Wed, 21 Sep 2005 23:22:10 -0400 committer Jeff Garzik Wed, 21 Sep 2005 23:22:10 -0400 forcedeth: add hardware tx checksumming Recent forcedeth nics support checksum offloading for tx. The attached patch, written by Ayaz Abdulla, adds the support to the driver. It also cleans up the handling of the three dma ring entry formats that are supported by the driver. Signed-off-By: Manfred Spraul Signed-off-By: Jeff Garzik commit 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 tree 6f1235f312251cccbb7f7d28f1e9c3f7fae0d0a2 parent 5bfc819b53ed67c76f33f969ab627070e85d87c1 author James Ketrenos Wed, 21 Sep 2005 14:33:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:19:09 -0400 [PATCH] ieee82011: Remove WIRELESS_EXT ifdefs Remove old WIRELESS_EXT version compatibility In-tree doesn't need to maintain backward compatibility. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 5bfc819b53ed67c76f33f969ab627070e85d87c1 tree a50aa1fd2c5cd51d934883b4f7cf559157c8f592 parent d041674d62e1ad565f2fb6d53ae80b31d6656033 author James Ketrenos Wed, 21 Sep 2005 12:23:51 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with extra_prefix_len changes tree 8c1676c8a15c08e6d4c718fc7cd42d9bf4cd8235 parent 0ccc3dd6469ed492578c184f47dde2baccde3593 author James Ketrenos 1126715240 -0500 committer James Ketrenos 1127316717 -0500 Updated hostap to be compatible with extra_prefix_len changes. Accomplished via: for i in hostap_ap.c hostap_80211_tx.c; do sed -i -e "s:\([.>]\)extra_prefix_len:\1extra_mpdu_prefix_len:g" \ -e "s:\([.>]\)extra_postfix_len:\1extra_mpdu_postfix_len:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit d041674d62e1ad565f2fb6d53ae80b31d6656033 tree fe63cb09606c2c23485092bac7298c85677fea92 parent ebeaddcc02fd47d1dbb7f25318d046461d90e4af author James Ketrenos Wed, 21 Sep 2005 12:23:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with ieee80211_hdr changes tree 8ec97d9056ceaf0f845ed51175dd842b700baadd parent 329128457008ace3110c96971addf85a767dd5af author James Ketrenos 1126714484 -0500 committer James Ketrenos 1127316636 -0500 Updated hostap to be compatible with ieee80211_hdr changes. Change accomplished via: for i in hostap_ap.{c,h} hostap_80211_{t,r}x.c; do sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ebeaddcc02fd47d1dbb7f25318d046461d90e4af tree f623693884cb482dcbf3c5e3974442ddd31ca6de parent 7dc888fefc053996354ca40602159e0ce5669f86 author James Ketrenos Wed, 21 Sep 2005 11:58:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:58 -0400 [PATCH] ieee80211: Updated copyright dates tree 0d3e41e574fcb41b9da7f0b7e1d27ec350726654 parent dbe2885fe2f454d538eaaabefc741ded1026f476 author James Ketrenos 1126720499 -0500 committer James Ketrenos 1127314531 -0500 Updated copyright dates. NOTE: This is a split out of just the copyright updates from patch 24/29 in the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7dc888fefc053996354ca40602159e0ce5669f86 tree a92b0c4d487649958d908fbd2ce60425ca5ac8e8 parent ccd0fda3a6d9186d067893114f65b8df758d5a1f author James Ketrenos Wed, 21 Sep 2005 11:58:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Keep auth mode unchanged after iwconfig key off/on cycle tree 2e6f6e7dc4f4eeb8e3dc265020016dd53e40578a parent ba2075794a089430b3dd7c90ff46ce1b67e9c7cc author Zhu Yi 1125551043 +0800 committer James Ketrenos 1127314475 -0500 [Bug 768] Keep auth mode unchanged after iwconfig key off/on cycle. Signed-off-by: Zhu Yi Signed-off-by: Jeff Garzik commit ccd0fda3a6d9186d067893114f65b8df758d5a1f tree 2a6301d4762851c7253a21b50e10818cc1bab5b3 parent 42c94e43be27f8b9be9b5be491bae8af05e54dbd author James Ketrenos Wed, 21 Sep 2005 11:58:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Mixed PTK/GTK CCMP/TKIP support tree 5c7559a1216ae1121487f6aed94a6017490729b3 parent c1ff4c22e5622c8987bf96c09158c4924cde98c2 author Hong Liu 1125482767 +0800 committer James Ketrenos 1127314427 -0500 Mixed PTK/GTK CCMP/TKIP support. Signed-off-by: Hong Liu Signed-off-by: Jeff Garzik commit 42c94e43be27f8b9be9b5be491bae8af05e54dbd tree 83ec8abd98a18e1539c6b99979f11b5d6c3341bc parent 9ba7e0d1579485ce231594651b39c169029f5d67 author James Ketrenos Wed, 21 Sep 2005 11:58:29 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Type-o, capbility definition for QoS, and ERP parsing tree 3ac0dd07b9972dfd68fee47ec2152d3d378de000 parent 9ada1d971d9829c34a14d98840080b7e69fdff6b author Mohamed Abbad 1126054379 -0500 committer James Ketrenos 1127314340 -0500 Type-o, capbility definition for QoS, and ERP parsing Added WLAN_CAPABILITY_QOS Fixed type-o WLAN_CAPABILITY_OSSS_OFDM -> WLAN_CAPABILITY_DSSS_OFDM Added ERP IE parsing to ieee80211_rx Added handle_probe_request callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9ba7e0d1579485ce231594651b39c169029f5d67 tree a00b1757d7a2d548b0e3cd13589aaadeb88d1d3c parent cdcfc210820b8e043cb606eddc145906185c6743 author James Ketrenos Wed, 21 Sep 2005 11:58:24 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: "extern inline" to "static inline" tree bce04549ce0a8239d8083d8da5c3d12f7e1aecd9 parent b15a5153d5f1c75d9435d5ce19b52287059d5d54 author Adrian Bunk 1125026386 -0500 committer James Ketrenos 1127313953 -0500 "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit cdcfc210820b8e043cb606eddc145906185c6743 tree 96765d7169945c83d8ace4db8d5bde187ec2d812 parent 3905ec4561b7b049e9c2e27311d072c356dbdee2 author James Ketrenos Wed, 21 Sep 2005 11:56:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Additional fixes for endian-aware types tree 589bbb92ce7cdf7c2ae820b0ebd3f8fbf1baeee9 parent c6ce9081e79e8836a11e86e3d38297521a2420be author Jiri Benc 1125015310 -0400 committer James Ketrenos 1127313914 -0500 Additional fixes for endian-aware types Based on the application of __le16/__be16 changes already made w/ a prior patch by Michael Wu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3905ec4561b7b049e9c2e27311d072c356dbdee2 tree 81a34fc3ce8f5bf8aa937023e23f90c7e2ed6760 parent 02cda6ae01814f58422c45259fb48136fbd7bcc1 author James Ketrenos Wed, 21 Sep 2005 11:56:42 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_radiotap.h tree 383c59b2516a61f2683f02dfebbed0caf6ee5dc3 parent a04948f63fd96c4b875a43f78afad1a0874cc441 author Mike Kershaw 1124447833 -0500 committer James Ketrenos 1127313883 -0500 Added ieee80211_radiotap.h to enhance statistic reporting to user space from wireless drivers. Signed-off-by: Mike Kershaw Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 02cda6ae01814f58422c45259fb48136fbd7bcc1 tree 3efdd946b19928c4dbe039f68ee1cfc65fe57355 parent 9e8571affd1c54b9638b4ff9844e47aae07310f6 author James Ketrenos Wed, 21 Sep 2005 11:56:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_geo to provide helper functions tree 385b391fc0d7c124cd0547fdb6183e9a0c333391 parent 97d7a47f76e72bedde7f402785559ed4c7a8e8e8 author James Ketrenos 1124447590 -0500 committer James Ketrenos 1127313735 -0500 Added ieee80211_geo to provide helper functions to drivers for implementing supported channel maps. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9e8571affd1c54b9638b4ff9844e47aae07310f6 tree f6e568913c2d8aa1bf6bfedb3d90a78f2ade747b parent 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 author James Ketrenos Wed, 21 Sep 2005 11:56:33 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Add QoS (WME) support to the ieee80211 subsystem tree a3ad796273e98036eb0e9fc063225070fa24508a parent 1b9c0aeb377abf8e4a43a86cff42382f74ca0259 author Mohamed Abbas 1124447069 -0500 committer James Ketrenos 1127313435 -0500 Add QoS (WME) support to the ieee80211 subsystem. NOTE: This requires drivers that use the ieee80211 hard_start_xmit (ipw2100 and ipw2200) to add the priority parameter to their callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 tree a9f949b6dc6a5e68086c06dfeb459a14608227a3 parent 1264fc0498e1e20f97b1ab690e523e7a7fc50eab author James Ketrenos Wed, 21 Sep 2005 11:56:27 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Return NETDEV_TX_BUSY when QoS buffer full tree ba6509c7cd1dd4244a2f285f2da5d632e7ffbb25 parent 7b5f9f2ddcabdaea214527a895e6e8445cafdd80 author James Ketrenos 1124447000 -0500 committer James Ketrenos 1127313383 -0500 Per the conversations with folks at OLS, the QoS layer in 802.11 drivers can now result in NETDEV_TX_BUSY being returned when the queue a packet is targetted for is full. To implement this, ieee80211_xmit will now call the driver's is_queue_full to determine if the current priority queue is full. If so, NETDEV_TX_BUSY is returned to the kernel and no processing is done on the frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 1264fc0498e1e20f97b1ab690e523e7a7fc50eab tree 000b8528685f3ca250d0581df88abef03417941d parent 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 author James Ketrenos Wed, 21 Sep 2005 11:54:53 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee80211: Fix TKIP, repeated fragmentation problem, and payload_size reporting tree 8428e9f510e6ad6c77baec89cb57374842abf733 parent d78bfd3ddae9c422dd350159110f9c4d7cfc50de author Liu Hong 1124446520 -0500 committer James Ketrenos 1127313183 -0500 Fix TKIP, repeated fragmentation problem, and payload_size reporting 1. TKIP encryption Originally, TKIP encryption issues msdu + mpdu encryption on every fragment. Change the behavior to msdu encryption on the whole packet, then mpdu encryption on every fragment. 2. Avoid repeated fragmentation when !host_encrypt. We only need do fragmentation when using host encryption. Otherwise we only need pass the whole packet to driver, letting driver do the fragmentation. 3. change the txb->payload_size to correct value FW will use this value to determine whether to do fragmentation. If we pass the wrong value, fw may cut on the wrong bound which will make decryption fail when we do host encryption. NOTE: This requires changing drivers (hostap) that have extra_prefix_len used within them (structure member name change). Signed-off-by: Hong Liu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 tree 9721d4dc2d53579d7c324fa0b98eddc964149ab4 parent 3cdd00c5827621cd0b1bb0665aa62ef9a724297d author James Ketrenos Wed, 21 Sep 2005 11:54:47 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee82011: Added ieee80211_tx_frame to convert generic 802.11 data frames, and callbacks tree 40adc78b623ae70d56074934ec6334eb4f0ae6a5 parent db43d847bcebaa3df6414e26d0008eb21690e8cf author James Ketrenos 1124445938 -0500 committer James Ketrenos 1127313102 -0500 Added ieee80211_tx_frame to convert generic 802.11 data frames into txbs for transmission. Added several purpose specific callbacks (handle_assoc, handle_auth, etc.) which the driver can register with for being notified on reception of variouf frame elements. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3cdd00c5827621cd0b1bb0665aa62ef9a724297d tree 03d3a7cfa9fb645b052bac748c5398430ab2c9ca parent ee34af37c095482b9dba254b9cd7cb5e65e9a25e author James Ketrenos Wed, 21 Sep 2005 11:54:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: adds support for the creation of RTS packets tree b45c9c1017fd23216bfbe71e441aed9aa297fc84 parent 04aacdd71e904656a304d923bdcf57ad3bd2b254 author Ivo van Doorn 1124445405 -0500 committer James Ketrenos 1127313029 -0500 This patch adds support for the creation of RTS packets when the config flag CFG_IEEE80211_RTS has been set. Signed-Off-By: Ivo van Doorn Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ee34af37c095482b9dba254b9cd7cb5e65e9a25e tree eed75aee11663053e658d839fb91bc8dfae56ecb parent e0d369d1d969fc9e4fd08a20f6dad04d369aceea author James Ketrenos Wed, 21 Sep 2005 11:54:36 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: Renamed ieee80211_hdr to ieee80211_hdr_3addr tree e9c18b2c8e5ad446a4d213243c2dcf9fd1652a7b parent 4e97ad6ae7084a4f741e94e76c41c68bc7c5a76a author James Ketrenos 1124444315 -0500 committer James Ketrenos 1127312922 -0500 Renamed ieee80211_hdr to ieee80211_hdr_3addr and modified ieee80211_hdr to just contain the frame_ctrl and duration_id. Changed uses of ieee80211_hdr to ieee80211_hdr_4addr or ieee80211_hdr_3addr based on what was expected for that portion of code. NOTE: This requires changes to ipw2100, ipw2200, hostap, and atmel drivers. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e0d369d1d969fc9e4fd08a20f6dad04d369aceea tree 9ce4d6a3938960b35c3d7c7b3da4bb546f8b1d95 parent 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d author James Ketrenos Wed, 21 Sep 2005 11:54:30 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee82011: Added WE-18 support to default wireless extension handler tree 1536f39c18756698d033da72c49300a561be1289 parent 07172d7c9f10ee3d05d6f6489ba6d6ee2628da06 author Liu Hong 1124436225 -0500 committer James Ketrenos 1127312664 -0500 Added WE-18 support to default wireless extension handler in ieee80211 subsystem. Updated patch since last send to account for ieee80211_device parameter being added to the crypto init method. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d tree 6c59c778280f899929c3d09c7f5564d80da830c2 parent 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 author James Ketrenos Wed, 21 Sep 2005 11:54:22 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Allow drivers to fix an issue when using wpa_supplicant with WEP tree 898fedef6ca1b5b58b8bdf7e6d8894a78bbde4cd parent 8720fff53090ae428d2159332b6f4b2749dea10f author Zhu Yi 1124435746 -0500 committer James Ketrenos 1127312509 -0500 Allow drivers to fix an issue when using wpa_supplicant with WEP. The problem is introduced by the hwcrypto patch. We changed indicator of the encryption request from the upper layer (i.e. wpa_supplicant): In the original host based crypto the driver could use: crypt && crypt->ops. In the new hardware based crypto, the driver should use the flags specified in ieee->sec.encrypt. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 tree 4ff20e24d22523603c51d9cd876ae0e5b1714531 parent 42e349fd10d471d9ae6955a7f12523291c0193e6 author James Ketrenos Wed, 21 Sep 2005 11:54:15 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix kernel Oops when module unload tree b69e983266840983183a00f5ac02c66d5270ca47 parent cdd6372949b76694622ed74fe36e1dd17a92eb71 author Zhu Yi 1124435425 -0500 committer James Ketrenos 1127312421 -0500 Fix kernel Oops when module unload. Export a new function ieee80211_crypt_quiescing from ieee80211. Device drivers call it to make the host crypto stack enter the quiescence state, which means "process existing requests, but don't accept new ones". This is usually called during a driver's host crypto data structure free (module unload) path. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 42e349fd10d471d9ae6955a7f12523291c0193e6 tree 9c7ce6a08a8b237b3fb9c53b7ad506d0343f0a02 parent f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f author James Ketrenos Wed, 21 Sep 2005 11:54:07 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix time calculation, switching to use jiffies_to_msecs tree b9cdd7058b787807655ea6f125e2adbf8d26c863 parent 85d9b2bddfcf3ed2eb4d061947c25c6a832891ab author Zhu Yi 1124435212 -0500 committer James Ketrenos 1127312152 -0500 Fix time calculation, switching to use jiffies_to_msecs. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f tree 5cf2dca63f88c1709ae8ee9d913c7f819bfc6ce8 parent 20d64713ae71c0b0aa06084acbef2244021baaca author James Ketrenos Wed, 21 Sep 2005 11:53:54 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Hardware crypto and fragmentation offload support tree 5322d496af90d03ffbec27292dc1a6268a746ede parent 6c9364386ccb786e4a84427ab3ad712f0b7b8904 author James Ketrenos 1124432367 -0500 committer James Ketrenos 1127311810 -0500 Hardware crypto and fragmentation offload support added (Zhu Yi) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 20d64713ae71c0b0aa06084acbef2244021baaca tree f9af562b0bc70f7f75d0195aacf155fd3ec6628a parent 4ca5253d573d7b3785dbb2f123f948fdca6ee235 author James Ketrenos Wed, 21 Sep 2005 11:53:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fixed a kernel oops on module unload tree 367069f24fc38b4aa910e86ff40094d2078d8aa7 parent a33a1982012e9070736e3717231714dc9892303b author James Ketrenos 1124430800 -0500 committer James Ketrenos 1127310571 -0500 Fixed a kernel oops on module unload by adding spin lock protection to ieee80211's crypt handlers (thanks to Zhu Yi) Modified scan result logic to report WPA and RSN IEs if set (vs.being based on wpa_enabled) Added ieee80211_device as the first parameter to the crypt init() method. TKIP modified to use that structure for determining whether to countermeasures are active. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 4ca5253d573d7b3785dbb2f123f948fdca6ee235 tree 51092301c2553b9c977cbb6d77e272750ccfd068 parent c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 author James Ketrenos Wed, 21 Sep 2005 12:23:46 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:58 -0400 [PATCH] ieee80211: Updated atmel to be compatible with ieee80211_hdr changes tree d7be83000b058b14450d76f99c432b1fb2a1c177 parent 322201093e03830fceedfc24931420b1ea855a8c author James Ketrenos 1127316330 -0500 committer James Ketrenos 1127316330 -0500 Updated atmel to be compatible with ieee80211_hdr changes. Change accomplished via: sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/atmel.c Compile tested only. CC: simon@thekelleys.org.uk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 tree c79676c91d5f8fc12b7ef54625e1bcff8bdab14f parent 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 author James Ketrenos Wed, 21 Sep 2005 12:23:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. tree 713b6ff3311decfe42d5209f7b2508736d144b85 parent 6465beff0e89779330450dffc2a5e6dc5154eebf author James Ketrenos 1126716726 -0500 committer James Ketrenos 1127316162 -0500 Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 tree 1c3e6ddedd1032ef26a4e0f45e8d3b1fa3fd8d96 parent 3a5becf720d6346ffca2d6be6473f603b39322a2 author James Ketrenos Wed, 21 Sep 2005 12:23:41 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211_hdr changes tree 9f86c7b4f59249c05c96c360dfaa817995e8a44f parent 9b09701b2c6254f2fddb009004a14eb5a908714f author James Ketrenos 1126714305 -0500 committer James Ketrenos 1127316074 -0500 Updated ipw2200 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3a5becf720d6346ffca2d6be6473f603b39322a2 tree 0084320b04b04b2d61e4630505803104251205a6 parent 99a4b232b6682a847c70d877e4a3c15e9138c8f6 author James Ketrenos Wed, 21 Sep 2005 12:23:37 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change tree ee48cbe413b795d6be454b9baf4f3bd3d74814cb parent 49856b147763bd6847e0d8f53aee1ddd61385638 author James Ketrenos 1126716634 -0500 committer James Ketrenos 1127316024 -0500 Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 99a4b232b6682a847c70d877e4a3c15e9138c8f6 tree 7dacb727771de8dc9318beb81752f3c5f22adab2 parent a3536c839f04682ed06c84a7f75968c27c6108c8 author James Ketrenos Wed, 21 Sep 2005 12:23:25 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211_hdr changes tree 992b203395c50342f1cced415acae6177344e270 parent c59bb604a2ff4e40232ff0422e7adc44e3b007a0 author James Ketrenos 1126714006 -0500 committer James Ketrenos 1127315910 -0500 Updated ipw2100 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit a3536c839f04682ed06c84a7f75968c27c6108c8 tree 92c26ea74c0ffb9b83a2285ad2539cc271b09856 parent a33a1982012e9070736e3717231714dc9892303b parent efb0372bbaf5b829ff8c39db372779928af542a7 author Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 committer Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 Merge /spare/repo/linux-2.6/ commit 650316f1228c0dc5e45c17765caef30db62468cd tree 236a5eb89130ef3857d37da00fcda294f3a0c827 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:45 -0600 committer Tony Luck Mon, 19 Sep 2005 15:57:48 -0700 [IA64] move ACPI IOSAPIC locality domain mapping from pci.c to acpi.c Move acpi_map_iosapics() from pci.c to acpi.c, since it doesn't have anything to do with PCI. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 44c451208da397438e7062393aeb3a19ddb76a60 tree b6478dc02cab1a189e25c7b9ea0586ccf4c9f8e9 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:10 -0600 committer Tony Luck Mon, 19 Sep 2005 15:55:48 -0700 [IA64] ia64: add ar.k0 usage note Update comment about how ar.k0 is used. Make the initialization the same as in start_secondary() (no functional change, just make it look more similar). Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit be379124c0a5abfbe57dab2823fe8a71ce797aee tree c16b8dce920a001431add24bcd12cc1f12bf824d parent d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 author Khalid Aziz Mon, 19 Sep 2005 15:42:36 -0700 committer Tony Luck Mon, 19 Sep 2005 15:42:36 -0700 [IA64] include EFI memory information in /proc/iomem User mode kexec tools expect to find information about physical memory in /proc/iomem (as they do on x86) to validate the addresses that the new kernel will use. Signed-off-by: Khalid Aziz Signed-off-by: Tony Luck commit 54703d3678d13e7406d0b5aa451abb9526d53b9d tree d7064aec7aa78d73879a26fd8dcc9c5add26b520 parent 06168d8a10ceccced51380d683245b33474d428a author Jack Steiner Wed, 14 Sep 2005 10:33:40 -0500 committer Tony Luck Fri, 16 Sep 2005 11:51:27 -0700 [IA64] Increase max NR_CPUS on IA64 from 512 to 1024 This patch increases the maximum number of cpus supported on IA64 to 1024. No changes are made to the default SSI size. The patch simply allows specifying up to 1024p. There are certainly scaling (& other) issues that also need to be addressed!!! Additional patches will follow..... Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit a33a1982012e9070736e3717231714dc9892303b tree 83ff248e8019cd6036f01db43a9627da1b703bae parent 3bc5ed684253f407b1567799d13cb06a0d86fe80 author James Ketrenos Wed, 14 Sep 2005 14:28:59 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change author James Ketrenos 1126713327 -0500 committer James Ketrenos 1126713327 -0500 Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3bc5ed684253f407b1567799d13cb06a0d86fe80 tree fec657fe7a87aedc5a60e5c1128c6ba509ae18f8 parent 262d8e467710a1c870717bc432caaf74cde3ce20 author James Ketrenos Tue, 13 Sep 2005 17:48:54 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] ieee80211 Fixed type-o of abg_ture -> abg_true [PATCH 14/29] Fixed type-o of abg_ture -> abg_true. Signed-off-by: James Ketrenos NOTE: This patch requires drivers using abg_ture to be updated. Signed-off-by: Jeff Garzik commit 262d8e467710a1c870717bc432caaf74cde3ce20 tree 17ce405907e553bdb8691a60df3d4805461bec72 parent 18294d8727b825eb2f3f98d6b6ae4a999dff854a author James Ketrenos Tue, 13 Sep 2005 17:42:53 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Switched to sscanf in store_debug_level Switched to sscanf as per friendly comment in store_debug_level. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 18294d8727b825eb2f3f98d6b6ae4a999dff854a tree 869c9254e4211fb2cea8184575f65184f207ec60 parent 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 author James Ketrenos Tue, 13 Sep 2005 17:40:29 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Cleanup memcpy parameters. Cleanup memcpy parameters. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 tree 01bd894cfcca1a9bc70de6bf3163e379244ee46e parent 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf author James Ketrenos Tue, 13 Sep 2005 17:38:13 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] ieee80211 Removed ieee80211_info_element_hdr Removed ieee80211_info_element_hdr structure as ieee80211_info_element provides the same use. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf tree a5fe3c6c7ef9fa132b5719790f7c1fc0084da083 parent 74079fdce472a2b16d502fe39e06b135ef06c69b author James Ketrenos Tue, 13 Sep 2005 17:37:22 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] Changed 802.11 headers to use ieee80211_info_element[0] Changed 802.11 headers to use ieee80211_info_element as zero sized array so that sizeof calculations do not account for IE sizes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 74079fdce472a2b16d502fe39e06b135ef06c69b tree a2f097836efccc5b4758888bd97599aecd56e37e parent b1b508e1b13529b3cc5b59c352f49b9b58a302b6 author James Ketrenos Tue, 13 Sep 2005 17:35:21 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 Added wireless spy support Added wireless spy support to Rx code path. Signed-off-by: James Ketrenos NOTE: Looks like scripts/Lindent generated output different than the Lindented version already in-kernel, hence all the whitespace deltas... *sigh* Signed-off-by: Jeff Garzik commit b1b508e1b13529b3cc5b59c352f49b9b58a302b6 tree 6321572a9bca16928b57e936376af616a1868dc0 parent fd27817ce941c7134adefd2852f8a5f274315ff4 author James Ketrenos Tue, 13 Sep 2005 17:27:19 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 quality scaling algorithm extension handler Incorporated Bill Moss' quality scaling algorithm into default wireless extension handler. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit fd27817ce941c7134adefd2852f8a5f274315ff4 tree 152c2194e03c104bb34fc105494ee5238f31acb9 parent 9c8a11d7c2298680ff3ee8acda54575c88668bfc author James Ketrenos Tue, 13 Sep 2005 17:25:51 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:31 -0400 [PATCH] Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9c8a11d7c2298680ff3ee8acda54575c88668bfc tree a183ce73c486bfe86ea5e96e9619f2088784bbae parent 27c91efba4c121f90c0e6d371c7064733b286a69 author Pavel Roskin Fri, 16 Sep 2005 02:18:31 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Update PCMCIA ID's. Author: Pavel Roskin Date: Fri Sep 16 01:07:47 2005 -0400 Update PCMCIA ID's. Intel Pro/Wireless 2011 and 2011B have the same numeric ID, so use strings instead. Take all entries from *.conf for Orinoco, HostAP and linux-wlan-ng and adds them with minimal changes (e.g. we don't need a revision string after a string that identifies the chipset). Add comments with card names to all numeric entries. Note: the comments don't and cannot cover all cards, since the main reason of having numeric IDs is to cover cards that are often rebranded. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 27c91efba4c121f90c0e6d371c7064733b286a69 tree 78dd96949dcb026a37f182255db3d804a4274706 parent 65853b133d0256786df25f03eea0e5a6799e8d17 author Pavel Roskin Fri, 16 Sep 2005 02:16:52 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Don't include twice. Author: Pavel Roskin Date: Fri Sep 16 00:50:00 2005 -0400 Don't include twice. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 65853b133d0256786df25f03eea0e5a6799e8d17 tree 38c3d8007e70992829271a2fcf453624d4afadd2 parent 76209926e3756f66c9cdc8a4becbf34df8c47799 author Pavel Roskin Fri, 16 Sep 2005 02:15:13 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Remove conditionals that are useless in the kernel drivers. Author: Pavel Roskin Date: Fri Sep 16 00:49:05 2005 -0400 Remove conditionals that are useless in the kernel drivers. Kernel drivers are never compiled against pcmcia-cs headers. Firmware is never embedded into spectrum_cs module. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 76209926e3756f66c9cdc8a4becbf34df8c47799 tree 173b55358f0864026fe9957407409f8613448ed4 parent eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 author Hubert WS Lin Wed, 14 Sep 2005 11:39:27 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set min ring size to 4 Don Fry reminded me that the pcnet32_loopback_test() asssumes the ring size is no less than 4. The minimum ring size was changed to 4 in pcnet32_set_ringparam() to allow the loopback test to work unchanged. - Set minimum ring size to 4 to allow loopback test to work unchanged - Moved variable init_block to first field in struct pcnet32_private Signed-off-by: Hubert WS Lin Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 tree 82e41403e8b3f0dbf8f4a47bd90a5afc57142e36 parent f89efd523b25cc1702e074dafdcac283da657002 author Hubert WS Lin Wed, 14 Sep 2005 11:39:25 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set_ringparam implementation This patch implements the set_ringparam(), one of the ethtool operations, which allows changing tx/rx ring sizes via ethtool. - Changed memery allocation of tx/rx ring from static to dynamic - Implemented set_ringparam() - Tested on i386 and ppc64 Signed-off-by: Hubert WS Lin Signed-off-by: Jay Vosburgh Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 55642d36cd0f626c614f6dfa1151a5af1ff84f36 tree 2f167337a389371f21a5f980f8fddc3110e11c10 parent 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 author Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 committer Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 [IA64] Two more uses of cpuid_to_cnodeid() must go. s/cpuid_to_cnodeid/cpu_to_node/ Signed-off-by: Tony Luck commit 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 tree b57e06db620c9de7143baa58fc24a36ac24d5a79 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Jack Steiner Mon, 12 Sep 2005 12:15:43 -0500 committer Tony Luck Thu, 15 Sep 2005 16:31:12 -0700 [IA64] Cleanup use of various #defines related to nodes Some of the SN code & #defines related to compact nodes & IO discovery have gotten stale over the years. This patch attempts to clean them up. Some of the various SN MAX_xxx #defines were also unclear & misused. The primary changes are: - use MAX_NUMNODES. This is the generic linux #define for the number of nodes that are known to the generic kernel. Arrays & loops for constructs that are 1:1 with linux-defined nodes should use the linux #define - not an SN equivalent. - use MAX_COMPACT_NODES for MAX_NUMNODES + NUM_TIOS. This is the number of nodes in the SSI system. Compact nodes are a hack to get around the IA64 architectural limit of 256 nodes. Large SGI systems have more than 256 nodes. When we upgrade to ACPI3.0, I _hope_ that all nodes will be real nodes that are known to the generic kernel. That will allow us to delete the notion of "compact nodes". - add MAX_NUMALINK_NODES for the total number of nodes that are in the numalink domain - all partitions. - simplified (understandable) scan_for_ionodes() - small amount of cleanup related to cnodes Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit f2b518d71636c2bda65a837b0a93c3365207a4f0 tree 1d9cd87016bc12cfdfddd161e63c0b7c584e9a71 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Bjorn Helgaas Wed, 14 Sep 2005 16:50:19 -0600 committer Tony Luck Thu, 15 Sep 2005 14:34:31 -0700 [IA64] Update default configs PNP and PNPACPI turned on i8042 recently changed from ACPI to PNP detection. Without PNP, it probes legacy I/O ports for the keyboard controller, which causes an MCA on HP boxes. Also, I'm about to remove 8250_acpi.c, so we'll need PNP to detect non-PCI serial ports. Until 8250_acpi.c is removed, some systems will see serial ports reported twice (once from 8250_acpi.c and again from 8250_pnp.c). This is harmless. PNPACPI is still marked EXPERIMENTAL, but I'm not aware of any outstanding issues on ia64. IDE_GENERIC turned off (except for SGI simulator, all ia64 IDE is PCI) ide-generic probes compiled-in legacy I/O ports for IDE devices, which again causes an MCA. It would be nicer to just get rid of all the legacy junk from include/asm-ia64/ide.h, but that is a bit riskier because it could break ide-cs and the HDIO_REGISTER_HWIF ioctl (http://www.ussg.iu.edu/hypermail/linux/kernel/0508.2/0049.html). Here's the essence of the patch: -# CONFIG_PNP is not set +CONFIG_PNP=y +CONFIG_PNPACPI=y -CONFIG_IDE_GENERIC=y +# CONFIG_IDE_GENERIC is not set Tested on tiger, bigsur, and zx1. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc tree 95f55e1219eed9c3fd2458ddbf960307c631114e parent 1619cca2921f6927f4240e03f413d4165c7002fc author Alex Williamson Tue, 06 Sep 2005 11:20:49 -0600 committer Tony Luck Wed, 14 Sep 2005 16:22:11 -0700 [IA64] more robust zx1/sx1000 machvec support Machine vector selection has always been a bit of a hack given how early in system boot it needs to be done. Services like ACPI namespace are not available and there are non-trivial problems to moving them to early boot. However, there's no reason we can't change to a different machvec later in boot when the services we need are available. By adding a entry point for later initialization of the swiotlb, we can add an error path for the hpzx1 machevec initialization and fall back to the DIG machine vector if IOMMU hardware isn't found in the system. Since ia64 uses 4GB for zone DMA (no ISA support), it's trivial to allocate a contiguous range from the slab for bounce buffer usage. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit f89efd523b25cc1702e074dafdcac283da657002 tree f33440ed3f4ba3594d6c3316bdcdda420ce11801 parent 43ec6e95e4d8a73afc2405a44b955c380aeeb65a author Matt Porter Fri, 09 Sep 2005 12:10:10 -0700 committer Jeff Garzik Wed, 14 Sep 2005 09:18:21 -0400 [PATCH] Add rapidio net driver Adds an "Ethernet" driver which sends Ethernet packets over the standard RapidIO messaging. This depends on the core RIO patch for mailbox/doorbell access. Signed-off-by: Matt Porter Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 tree 8641efeba632bddfa0e486b41a5f19578b1a1a31 parent 142e27fc8a3619471669d6241784eec9167c47d1 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 Merge /spare/repo/linux-2.6/ commit 43ec6e95e4d8a73afc2405a44b955c380aeeb65a tree e42008bc2e42ea42498229360f995d39357d6c62 parent 7a700fafbed55eee2cc766fbe47cf68e229da281 author Dale Farnsworth Tue, 23 Aug 2005 10:30:29 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:46:21 -0400 [PATCH] mii: Add test for GigE support Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7a700fafbed55eee2cc766fbe47cf68e229da281 tree b52a9c14808a61c1ff5c320d380fea08793968d9 parent 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 20:40:23 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:49 -0400 [PATCH] C99 initializers in ray_cs.c Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad tree aa18b1e9c91b43cccc76949bba8b2c56b5b8cfed parent 7665a08928f241247afe8c76865cdbe4ef5489bf author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 17:22:14 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:31 -0400 [PATCH] lne390 bogus casts We already have the iomem pointer we need... Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 7665a08928f241247afe8c76865cdbe4ef5489bf tree 99b4dceff3f8210e7c0420053b2433977d7f0322 parent 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd author Adrian Bunk Fri, 09 Sep 2005 23:17:28 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:36:54 -0400 [PATCH] drivers/net/wan/: possible cleanups This patch contains possible cleanups including the following: - make needlessly global code static - #if 0 the following unused global function: - sdladrv.c: sdla_intde - remove the following unused global variable: - lmc_media.c: lmc_t1_cables - remove the following unneeded EXPORT_SYMBOL's: - cycx_drv.c: cycx_inten - sdladrv.c: sdla_inten - sdladrv.c: sdla_intde - sdladrv.c: sdla_intack - sdladrv.c: sdla_intr - syncppp.c: sppp_input - syncppp.c: sppp_change_mtu Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd tree c17ceb7190fa7dfd5ad743a9af8b7a4b43aa2d7b parent 3173c8907ffb2c64456142da3df2bd0500bd59e0 author Tobias Klauser Sat, 10 Sep 2005 14:45:00 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:35:09 -0400 [PATCH] Replace drivers/net/wan custom ctype macros with standard ones Replace the custom is_digit()/is_hex_digit() macros with isdigit()/isxdigit() from Additionaly remove unused macro is_alpha() from Signed-off-by: Tobias Klauser Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3173c8907ffb2c64456142da3df2bd0500bd59e0 tree dcd3700a2c37e24a2b5911bb5429aee715684926 parent 343c686c04eec556645f251f7d6c9b3d7335dae0 author Nishanth Aravamudan Sun, 11 Sep 2005 02:09:55 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:33:24 -0400 [PATCH] drivers/net: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Jeff Garzik Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 343c686c04eec556645f251f7d6c9b3d7335dae0 tree 2713fbd5e71f7a7dbe94634a1bc4eb81a1ed8af5 parent b81e8e1f4a51556586f72711a165bc3a0de230f3 author Pavel Roskin Fri, 09 Sep 2005 18:43:02 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:54 -0400 [PATCH] orinoco: WE-18 support Author: Jean Tourrilhes Signed-off-by: Pavel Roskin Use new Wireless Extension API for wireless stats. Signed-off-by: Jeff Garzik commit b81e8e1f4a51556586f72711a165bc3a0de230f3 tree f57c521eb64c3124637b593932317ab1574518b9 parent 30d60a8288ab6f59939736f5775a7110a8bfff9a author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] via-rhine: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to via-rhine. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 30d60a8288ab6f59939736f5775a7110a8bfff9a tree 9d396b32f8f898dd56f5428d4401c9338d6d2a1d parent 56230d538233ba037eb679b0fc0b218d33b9b8b8 author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] sundance: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to sundance. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 56230d538233ba037eb679b0fc0b218d33b9b8b8 tree 93426d6062682766763ecbfe2486727aad06867c parent 6d6525b7f74f9593e647f8c17b1de0f652e1f177 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] skge: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to skge. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6d6525b7f74f9593e647f8c17b1de0f652e1f177 tree 229b049c611c79b9667b222ed306f662d0fcd2f0 parent db0276b060918fac94c9d216213a31ee02cdd73e author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] r8169: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to r8169. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit db0276b060918fac94c9d216213a31ee02cdd73e tree 0aff024589d97fbf54cfc8596b23d9df7726323c parent 78b345890a91dc57fecea8b6792012e0098c058f author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:01 -0400 [PATCH] pcnet32: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to pcnet32. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 78b345890a91dc57fecea8b6792012e0098c058f tree 44ff0982df849e25efb6d5835f8bd1a0dd4bfb4a parent df859c519ef7b72d9be7396443316da87272e8b6 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ne2k-pci: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ne2k-pci. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df859c519ef7b72d9be7396443316da87272e8b6 tree b4da7767fd6de6881a1339386d04222f7b212f26 parent c704b8566b060695e90ac401833db4b62813ad8a author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ixgb: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ixgb. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit c704b8566b060695e90ac401833db4b62813ad8a tree b9f9c947689f21b4de558e6ef00a1ddf24841a6b parent a92dd9233ad185904daf95d040cf88c3da2d7ef6 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] forcedeth: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to forcedeth. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit a92dd9233ad185904daf95d040cf88c3da2d7ef6 tree c43b02acd9e16948a889d5a4be80358428920945 parent 9beb0ac17bcfed23feb0a6fac328216568b74bc1 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] e100: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e100. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9beb0ac17bcfed23feb0a6fac328216568b74bc1 tree f4caff544ae7816cc02857d7b24f9694418eb43c parent 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] e1000: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e1000. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 tree 398073edc9425debbee57d6bcd844f6291a411e5 parent 62a720b889a37496d5f36d09875578956745d196 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] b44: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to b44. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 62a720b889a37496d5f36d09875578956745d196 tree b1d85cf0fd796e7331f86a3dc1509fcd63a9069e parent bb0ce608a3386268bd76ee6642a4cc8e6818a29b author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139too: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139too. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit bb0ce608a3386268bd76ee6642a4cc8e6818a29b tree 00648bee47898e3ef84448b6e6e30feba1fec2c6 parent d8ac10639b6a1ed900efbee38c18baaca31e64dc author John W. Linville Mon, 12 Sep 2005 10:48:54 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139cp: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139cp. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 923f122573851d18a3832ca808269fa2d5046fb1 tree 41f30af97a513387389429ad45037651e08d513d parent 905ec87e93bc9e01b15c60035cd6a50c636cbaef author Tejun Heo Tue, 13 Sep 2005 13:21:29 +0900 committer Jeff Garzik Wed, 14 Sep 2005 08:19:27 -0400 [PATCH] sil24: initialization fix sil24 0.20 didn't use to perform (what seems to be) port multiplier initialization and controller reset 0.10 driver does. This makes some sil24 controllers malfunction. This patch adds PM initialization and controller resetting to initilization and bumps version to 0.21. Please refer to the following thread for more information. http://marc.theaimsgroup.com/?l=linux-ide&m=112582819830324&w=2 http://marc.theaimsgroup.com/?l=linux-ide&m=112636045531060&w=2 Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 905ec87e93bc9e01b15c60035cd6a50c636cbaef tree 46fd7618d6511611ffc19eb0dd4d7bc6b90a41c2 parent 1d6ae775d7a948c9575658eb41184fd2e506c0df parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 Merge /spare/repo/linux-2.6/ commit 1fa92957282e4595727c1a21bf6687ea5a2d612f tree 96d7bc1c5b138fdd27f8296e8e7e7b6ba85a91cf parent 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d author Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 committer Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 [IA64] Need to include in a few more places. Signed-off-by: Tony Luck commit d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 tree cb71557f43084027559762f58e51f2df5d5e5c46 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 committer Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 [IA64] simplified efi memory map parsing New version leaves the original memory map unmodified. Also saves any granule trimmings for use by the uncached memory allocator. Inspired by Khalid Aziz (various traces of his patch still remain). Fixes to uncached_build_memmap() and sn2 testing by Martin Hicks. Signed-off-by: Tony Luck commit 1d6ae775d7a948c9575658eb41184fd2e506c0df tree 8128a28e89d82f13bb8e3a2160382240c66e2816 parent 739cdbf1d8f0739b80035b80d69d871e33749b86 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 Merge /spare/repo/linux-2.6/ commit 142e27fc8a3619471669d6241784eec9167c47d1 tree e88850b63ec910ee28874f93c43fb66421bb8119 parent a9053d0494d3c92807701c0f47df61d50c971581 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 Merge /spare/repo/linux-2.6/ commit 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d tree 2da130b000e5c442345e473b4f53104b92a76e4c parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Mark Maule Tue, 06 Sep 2005 13:03:51 -0500 committer Tony Luck Wed, 07 Sep 2005 16:23:41 -0700 [IA64-SGI] volatile semantics in places where it seems necessary Resend using accessors instead of volatile qualifiers per hch comments, and easier to understand convenience macros per rja comments. Patch to apply volatile semantics when accessing MMR's in various SN files. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit a607c38971fd078865fa9bef39e6c1d4435680c8 tree cb7853f0d74ee6a9cd92ccc721096b57367d0390 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Dean Nelson Thu, 01 Sep 2005 14:01:37 -0500 committer Tony Luck Tue, 06 Sep 2005 16:15:38 -0700 [IA64-SGI] get XPC to cleanly disengage from remote memory references When XPC is being shutdown (i.e., rmmod, reboot) it doesn't ensure that other partitions with whom it was connected have completely disengaged from any attempt at cross-partition memory references. This can lead to MCAs in any of these other partitions when the partition is reset. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 25732ad493b22b7d9f0d250c5a9ad17219f96a47 tree 6d2c753c248977fdca4b5d423b65d7fbf2f70186 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Bruce Losure Fri, 02 Sep 2005 15:16:35 -0500 committer Tony Luck Tue, 06 Sep 2005 14:16:01 -0700 [IA64] Altix patch for fpga reset 1) workaround a h/w reset issue 2) to improve the determination of FPGA-based h/w in the arch/ia64/sn/kernel/tiocx code. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit a9053d0494d3c92807701c0f47df61d50c971581 tree 28cfb17d88d6491c5efd51e00e6937d57b1e81da parent 4dd9e909e3b834b66fd48d6eac50c6557cc50275 parent 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 author Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 committer Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 /spare/repo/libata-dev branch 'master' commit 4dd9e909e3b834b66fd48d6eac50c6557cc50275 tree 08315c79b1fbd8e3344881c260dce730e5ebea3c parent 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 parent 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 author Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 committer Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 /spare/repo/libata-dev branch 'master' commit 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 tree 49cd36d6e980044c2a88f2c14cdc9259e0f0f1b4 parent 2fca877b68b2b4fc5b94277858a1bedd46017cde parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 Merge libata branch 'chs-support' to latest upstream kernel. commit 739cdbf1d8f0739b80035b80d69d871e33749b86 tree 15134df8723ab7d7a5524c99070f02d5739bad0d parent 83bbecc905b3431c60fe282830e09aaaab97b26a parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 Merge /spare/repo/linux-2.6/ commit 2fca877b68b2b4fc5b94277858a1bedd46017cde tree fd02725406299ba2f26354463b3c261721e9eb6b parent ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef parent 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b author Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 committer Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 /spare/repo/libata-dev branch 'v2.6.13' commit 83bbecc905b3431c60fe282830e09aaaab97b26a tree d3f11fc4b8672ee57f5234bf6c8616de5f080ab5 parent e382eb1dbdb2dec69806a72551bcb4a736142f6d author Tejun Heo Wed, 17 Aug 2005 13:09:18 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add more comments for constants 08_sil24_add-comments-for-constants.patch Add more comments to constants. Signed-off-by: Edward Falk sata_sil24.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit e382eb1dbdb2dec69806a72551bcb4a736142f6d tree c994010074ee6771f0a9edc4b40ea916ffb8deb5 parent 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f author Tejun Heo Wed, 17 Aug 2005 13:09:13 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: fix PORT_CTRL_STAT constants 07_sil24_fix-PORT_CTRL_STAT-constants.patch PORT_CTRL_STAT constants were copied incorrectly from the preview driver. Signed-off-by: Edward Falk sata_sil24.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Jeff Garzik commit 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f tree cee924a7ae1c571c76a73b8c021d503b3dbe8237 parent 33d015b9f24d143859bb40dbe7bbb4c7805cee7d author Tejun Heo Wed, 17 Aug 2005 13:09:07 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: replace pp->port w/ ap->ioaddr.cmd_addr 06_sil24_remove-pp-port.patch As ap->ioaddr.cmd_addr isn't used for PORT_TF anymore, replace pp->port w/ it as AHCI does. Signed-off-by: Tejun Heo sata_sil24.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) Signed-off-by: Jeff Garzik commit 33d015b9f24d143859bb40dbe7bbb4c7805cee7d tree 5a9471333c9c265686df2b3a3a2f13eeab6ef8e5 parent 8746618d4f18fab25916686b0d8a6be2c2912de1 author Tejun Heo Wed, 17 Aug 2005 13:09:02 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove PORT_TF 05_sil24_remove-PORT_TF.patch Remove PORT_TF, as taskfile isn't located at PORT_TF. Signed-off-by: Tejun Heo sata_sil24.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) Signed-off-by: Jeff Garzik commit 8746618d4f18fab25916686b0d8a6be2c2912de1 tree 93b4479715179b22311d9857358e250be08f8006 parent 06460aeaa26ed4a86b92c8451365d3f48abd3786 author Tejun Heo Wed, 17 Aug 2005 13:08:57 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: move error handling out of hot interrupt path 04_sil24_add-error_intr-function.patch Move error handling from sil24_host_intr into separate function - sil24_error_intr. Signed-off-by: Tejun Heo sata_sil24.c | 55 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 31 insertions(+), 24 deletions(-) Signed-off-by: Jeff Garzik commit 06460aeaa26ed4a86b92c8451365d3f48abd3786 tree 050791de806b74054f760b9debbddb7cac9caf75 parent 3cc4571c4106735665e048850ff6656de9558d60 author Tejun Heo Wed, 17 Aug 2005 13:08:52 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add testing for PCI fault 03_sil24_add-pci-fault-check.patch On entry to interrupt handler, PORT_SLOT_STAT register is read first. Check if PCI fault or device removal has occurred by testing the value for 0xffffffff. Signed-off-by: Tejun Heo sata_sil24.c | 6 ++++++ 1 files changed, 6 insertions(+) Signed-off-by: Jeff Garzik commit 3cc4571c4106735665e048850ff6656de9558d60 tree ce7dc0f5d02af9b247a0a2867010e555dc26834c parent 1483467faa0170cf401955b3d8d3486ea0fe802d author Tejun Heo Wed, 17 Aug 2005 13:08:47 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove irq disable code on spurious interrupt 02_sil24_remove-irq-disable-on-spurious-intr.patch If interrupt occurs on a disabled port, the driver used to mask the port's interrupt, but we don't know if such action is necessary yet and that's not what other drives do. So, just do nothing and tell IRQ subsystem that it's not our interrupt. Signed-off-by: Tejun Heo sata_sil24.c | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) Signed-off-by: Jeff Garzik commit 1483467faa0170cf401955b3d8d3486ea0fe802d tree fd159d18cdc2d99336044ee9cb70131aec4d7744 parent a2e30e529a48ef4e106e405f91cf4ae525bb01c4 author Tejun Heo Wed, 17 Aug 2005 13:08:42 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add FIXME comment above ata_device_add 01_sil24_add-FIXME-comment.patch Add FIXME comment above ata_device_add. Signed-off-by: Tejun Heo sata_sil24.c | 1 + 1 files changed, 1 insertion(+) Signed-off-by: Jeff Garzik commit a2e30e529a48ef4e106e405f91cf4ae525bb01c4 tree 2def96ef17c0672c30f1a10287552978bf1d0b1c parent edb3366703224d5d8df573ae698ccd6b488dc743 parent 2ad56496627630ebc99f06af5f81ca23e17e014e author Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 committer Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 Merge /spare/repo/linux-2.6/ commit edb3366703224d5d8df573ae698ccd6b488dc743 tree 7c70fd03a94733fe012700637aacf800bcd2c2c5 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Tejun Heo Thu, 28 Jul 2005 10:36:22 +0900 committer Jeff Garzik Thu, 28 Jul 2005 16:04:18 -0400 [PATCH] SATA: rewritten sil24 driver This is rewritten sil24 driver against v2.6.13-rc3. Rewritten based on driver originally submitted by Silicon Image. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef tree 3666d029b4bd4df2909dbefd9c7a09e6042b7d32 parent 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 Merge upstream kernel changes into 'C/H/S support' branch of libata. commit 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 tree a3da6e695fc5a71ac7f3246707380a9ac22f6402 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Albert Lee Thu, 12 May 2005 15:29:42 -0400 committer Jeff Garzik Thu, 12 May 2005 15:29:42 -0400 [libata] C/H/S support, for older devices