commit 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e tree 42a7deda7589edf704fe60dc262046755bd3f6a8 parent fb395884576684ebb54b19b1054f4caed589d5f0 parent 87c8a4433b608261a9becdb0ce2d2f2ed4b71d05 author Linus Torvalds Mon, 20 Jun 2005 16:00:33 -0700 committer Linus Torvalds Mon, 20 Jun 2005 16:00:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit fb395884576684ebb54b19b1054f4caed589d5f0 tree c941073819d504fb967e4d107e382ec92f51ecf0 parent 91b90475e793e84a57d956af8c52645e292badcb parent 246955fe4c38bd706ae30e37c64892c94213775d author Linus Torvalds Mon, 20 Jun 2005 15:58:58 -0700 committer Linus Torvalds Mon, 20 Jun 2005 15:58:58 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 87c8a4433b608261a9becdb0ce2d2f2ed4b71d05 tree c3ddd09b1ad6312fccecc67d26098bd634ea17de parent 4893e9d1cfeb614b5155c43eefbb338b4f02cb34 author Greg Kroah-Hartman Sun, 19 Jun 2005 12:21:43 +0200 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:28:51 -0700 [PATCH] PCI: fix show_modalias() function due to attribute change Signed-off-by: Greg Kroah-Hartman commit 4893e9d1cfeb614b5155c43eefbb338b4f02cb34 tree 4f6637cf3496fa9d6d645d38680d542c21e8b263 parent 9d9d27fb651a7c95a46f276bacb4329db47470a6 author Greg Kroah-Hartman Sun, 19 Jun 2005 12:21:43 +0200 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:27:35 -0700 [PATCH] USB: fix show_modalias() function due to attribute change Signed-off-by: Greg Kroah-Hartman commit 9d9d27fb651a7c95a46f276bacb4329db47470a6 tree cf25134082cb61e860f65af73adc91674ec74258 parent 42b16c051c3f462095fb8c9bad1bc05b34518cb9 author Jon Smirl Tue, 14 Jun 2005 09:54:54 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:38 -0700 [PATCH] SYSFS: fix PAGE_SIZE check Without this change I can't set an attribute exactly PAGE_SIZE in length. There is no need for zero termination because the interface uses lengths. From: Jon Smirl Signed-off-by: Greg Kroah-Hartman commit 988d186de5b6966a71a8cc52e6cb4895fd2f7799 tree 428cb6c29cbe2563eb91f9f2a03512b7eafa9449 parent 6fa5c828c7fb6beef7035864bd2b18e7386fbdd5 author Maneesh Soni Tue, 31 May 2005 10:39:14 +0530 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:37 -0700 [PATCH] sysfs-iattr: add sysfs_setattr o This adds ->i_op->setattr VFS method for sysfs inodes. The changed attribues are saved in the persistent sysfs_dirent structure as a pointer to struct iattr. The struct iattr is allocated only for those sysfs_dirent's for which default attributes are getting changed. Thanks to Jon Smirl for this suggestion. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 8215534ce7d073423bfa9c17405c43ab7636ca03 tree b53aed1111cf10a7d42ef0695308c4a70b820747 parent 988d186de5b6966a71a8cc52e6cb4895fd2f7799 author Maneesh Soni Tue, 31 May 2005 10:39:52 +0530 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:37 -0700 [PATCH] sysfs-iattr: set inode attributes o Following patch sets the attributes for newly allocated inodes for sysfs objects. If the object has non-default attributes, inode attributes are set as saved in sysfs_dirent->s_iattr, pointer to struct iattr. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 42b16c051c3f462095fb8c9bad1bc05b34518cb9 tree 3178bf5b2e3b516b6aea270c757adf728db83836 parent 8215534ce7d073423bfa9c17405c43ab7636ca03 author Benjamin Herrenschmidt Tue, 31 May 2005 17:08:49 +1000 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:37 -0700 [PATCH] Driver core: Don't "lose" devices on suspend on failure I think we need this patch or we might "lose" devices to the dpm_irq_off list if a failure occurs during the suspend process. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 6fa5c828c7fb6beef7035864bd2b18e7386fbdd5 tree 88c7c0a03fe13ad802721dcd54b9b93733e964fe parent 050480f12aeab62d39a1a07546606a47217ebefa author Maneesh Soni Tue, 31 May 2005 10:38:12 +0530 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:36 -0700 [PATCH] sysfs-iattr: attach sysfs_dirent before new inode o The following patch makes sure to attach sysfs_dirent to the dentry before allocation a new inode through sysfs_create(). This change is done as preparatory work for implementing ->i_op->setattr() functionality for sysfs objects. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f tree 0cab827910fe12199d666b84919d88fb881fb82d parent f2d03e1b3f00f1c5971463ab0101bef0c521ad3b author Yani Ioannou Tue, 17 May 2005 22:59:05 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:36 -0700 [PATCH] I2C: add i2c sensor_device_attribute and macros This patch creates a new header with a potential standard i2c sensor attribute type (which simply includes an int representing the sensor number/index) and the associated macros, SENSOR_DEVICE_ATTR to define a static attribute and to_sensor_dev_attr to get a sensor_device_attribute reference from an embedded device_attribute reference. Signed-off-by: Yani Ioannou commit 050480f12aeab62d39a1a07546606a47217ebefa tree ffae2c627f613c6da54599f0752d38039c22a011 parent 0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f author Yani Ioannou Sun, 05 Jun 2005 10:51:46 +0200 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:36 -0700 [PATCH] I2C: drivers/i2c/chips/adm1026.c: use dynamic sysfs callbacks Finally (phew!) this patch demonstrates how to adapt the adm1026 to take advantage of the new callbacks, and the i2c-sysfs.h defined structure/macros. Most of the other sensor/hwmon drivers could be updated in the same way. The odd few exceptions (bmcsensors for example) however might be better off with their own custom attribute structure. Signed-off-by: Yani Ioannou Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f2d03e1b3f00f1c5971463ab0101bef0c521ad3b tree 44b0daa72e356e830066d0027f128106d7476ddb parent 060b8845e6bea938d65ad6f89e83507e5ff4fec4 author Yani Ioannou Tue, 17 May 2005 06:44:59 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:35 -0700 [PATCH] Driver Core: include: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 10523b3b82456e416cbaffcc24ea2246980aa746 tree fab3ac16bffb04cc25683e83a583b1cae3f0d450 parent 3fd3c0a5f53a0f9d8987b90acbd84f7dd8ef606e author Yani Ioannou Tue, 17 May 2005 06:43:37 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:35 -0700 [PATCH] Driver Core: drivers/s390/net/qeth_sys.c - drivers/usb/gadget/pxa2xx_udc.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 060b8845e6bea938d65ad6f89e83507e5ff4fec4 tree ba82ce7d7a532b045f02e29788ece53d6be693e6 parent 10523b3b82456e416cbaffcc24ea2246980aa746 author Yani Ioannou Tue, 17 May 2005 06:44:04 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:35 -0700 [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit e404e274f62665f3333d6a539d0d3701f678a598 tree ef6618291524edaab45c4123274730c7d57ae852 parent a5099cfc2e82240b0a3e72ad79a5969d5af1a7dc author Yani Ioannou Tue, 17 May 2005 06:42:58 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:34 -0700 [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 3fd3c0a5f53a0f9d8987b90acbd84f7dd8ef606e tree 46a9050abe4c11375a78b51f07e524682722bf70 parent e404e274f62665f3333d6a539d0d3701f678a598 author Yani Ioannou Tue, 17 May 2005 06:43:27 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:34 -0700 [PATCH] Driver Core: drivers/char/raw3270.c - drivers/net/netiucv.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit a5099cfc2e82240b0a3e72ad79a5969d5af1a7dc tree aca3273e927a4d65f8f5fdf4cf5d8283969a3b43 parent 8627f9ba531269d8850919c62af1b017438e2e79 author Yani Ioannou Tue, 17 May 2005 06:42:25 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:33 -0700 [PATCH] Driver Core: drivers/i2c/chips/pc87360.c - w83627hf.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 8627f9ba531269d8850919c62af1b017438e2e79 tree ed560594954e5e2303c98bbc8fb83ec7e0dec661 parent 30f74292e50d6c4ae438dbee5cb45d77bf774351 author Yani Ioannou Tue, 17 May 2005 06:42:03 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:33 -0700 [PATCH] Driver Core: drivers/i2c/chips/lm77.c - max1619.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 30f74292e50d6c4ae438dbee5cb45d77bf774351 tree 4bfa1b6715ecd597e196a9f448c825ef0c12d8e3 parent 74880c063b06efd103c924abfe19d9d8fa4864c4 author Yani Ioannou Tue, 17 May 2005 06:41:35 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:33 -0700 [PATCH] Driver Core: drivers/i2c/chips/adm1031.c - lm75.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit ff381d2223a30ee70752791fd9c3588d8f1cab77 tree 124dab1e725ad0d16f1122696a67f1657ea97a8f parent 3eb8c7836eb074b61d63597be3e4f085814ac4c0 author Yani Ioannou Tue, 17 May 2005 06:40:51 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:32 -0700 [PATCH] Driver Core: arch: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 74880c063b06efd103c924abfe19d9d8fa4864c4 tree 7d0995426cec1f3577a5f8e5f61ada43a0df9813 parent ff381d2223a30ee70752791fd9c3588d8f1cab77 author Yani Ioannou Tue, 17 May 2005 06:41:12 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:32 -0700 [PATCH] Driver Core: drivers/base - drivers/i2c/chips/adm1026.c: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit 3eb8c7836eb074b61d63597be3e4f085814ac4c0 tree 41256899f1451a7e4fe0c764e15195c967e988ca parent 54b6f35c99974e99e64c05c2895718355123c55f author Yani Ioannou Tue, 17 May 2005 06:40:28 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:32 -0700 [PATCH] Driver core: Documentation: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit ca2b94ba12f3c36fd3d6ed9d38b3798d4dad0d8b tree d9b85e0f423d1cd0a9ad1c72cec7464bcf50c126 parent acaefc25d21f850e47ecc5098d1e0bc442c526be author Hannes Reinecke Wed, 18 May 2005 10:42:23 +0200 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:31 -0700 [PATCH] driver core: fix error handling in bus_add_device The error handling in bus_add_device() and device_attach() is simply non-existing. This patch propagates any error from device_attach to the upper layers to allow for a proper recovery. From: Hannes Reinecke Signed-off-by: Greg Kroah-Hartman commit 54b6f35c99974e99e64c05c2895718355123c55f tree 321d08c397bc26b49c706ca5b86de7003c2329c0 parent ca2b94ba12f3c36fd3d6ed9d38b3798d4dad0d8b author Yani Ioannou Tue, 17 May 2005 06:39:34 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:31 -0700 [PATCH] Driver core: change device_attribute callbacks This patch adds the device_attribute paramerter to the device_attribute store and show sysfs callback functions, and passes a reference to the attribute when the callbacks are called. Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman commit acaefc25d21f850e47ecc5098d1e0bc442c526be tree fbc7aa605c71667507b54d3b3320f9a999458dd4 parent 4109aca06cb7b042ea791d0f9d3c9615bc3bf5cd author Arnd Bergmann Wed, 18 May 2005 14:40:59 +0200 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:30 -0700 [PATCH] libfs: add simple attribute files Based on the discussion about spufs attributes, this is my suggestion for a more generic attribute file support that can be used by both debugfs and spufs. Simple attribute files behave similarly to sequential files from a kernel programmers perspective in that a standard set of file operations is provided and only an open operation needs to be written that registers file specific get() and set() functions. These operations are defined as void foo_set(void *data, u64 val); and u64 foo_get(void *data); where data is the inode->u.generic_ip pointer of the file and the operations just need to make send of that pointer. The infrastructure makes sure this works correctly with concurrent access and partial read calls. A macro named DEFINE_SIMPLE_ATTRIBUTE is provided to further simplify using the attributes. This patch already contains the changes for debugfs to use attributes for its internal file operations. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman commit f409661877a25d11c2495bcd879807f17c286684 tree ce14b7c16191af662d087c9be4a3fcbe642a63af parent c95a6b057b108c2b7add35cba1354f9af921349e author Alan Stern Fri, 06 May 2005 15:41:08 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:29 -0700 [PATCH] usbcore: Don't call device_release_driver recursively This patch fixes usb_driver_release_interface() to make it avoid calling device_release_driver() recursively, i.e., when invoked from within the disconnect routine for the same device. The patch applies to your "driver" tree. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 4b45099b75832434c5113b9aed1499f8a69d13d5 tree dbb6cf4a3937120be0cfd6f4699926fa4689ac8d parent f409661877a25d11c2495bcd879807f17c286684 author Keiichiro Tokunaga Sun, 08 May 2005 21:28:53 +0900 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:29 -0700 [PATCH] Driver core: unregister_node() for hotplug use This adds a generic function 'unregister_node()'. It is used to remove objects of a node going away for hotplug. All the devices on the node must be unregistered before calling this function. Signed-off-by: Keiichiro Tokunaga Signed-off-by: Greg Kroah-Hartman diff -puN drivers/base/node.c~numa_hp_base drivers/base/node.c commit 4109aca06cb7b042ea791d0f9d3c9615bc3bf5cd tree 36312d5fe016d507ec0682de914e1ac6b66c3246 parent 4b45099b75832434c5113b9aed1499f8a69d13d5 author David Brownell Mon, 16 May 2005 17:19:55 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:29 -0700 [PATCH] Driver Core: driver model doc update This updates some driver data documentation: - removes references to some fields that haven't been there for a long time now, e.g. pre-kobject or even older; - giving more information about the probe() method; - adding an example of how platform_data is used Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit c95a6b057b108c2b7add35cba1354f9af921349e tree 5a312f634b0aec295201a93020ba025d840e5f21 parent 6623415687eaffef49429292ab062bb046ee3311 author Alan Stern Fri, 06 May 2005 15:38:33 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:28 -0700 [PATCH] driver core: Fix races in driver_detach() This patch is intended for your "driver" tree. It fixes several subtle races in driver_detach() and device_release_driver() in the driver-model core. The major change is to use klist_remove() rather than klist_del() when taking a device off its driver's list. There's no other way to guarantee that the list pointers will be updated before some other driver binds to the device. For this to work driver_detach() can't use a klist iterator, so the loop over the devices must be written out in full. In addition the patch protects against the possibility that, when a driver and a device are unregistered at the same time, one may be unloaded from memory before the other is finished using it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6623415687eaffef49429292ab062bb046ee3311 tree f969c9683cf152a2709ca00b558b2cc65b36f7dc parent 273971bade8a6d37c1b162146de1a53965cdc245 author Patrick Mochel Thu, 28 Apr 2005 17:11:52 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:28 -0700 [PATCH] sn: fixes due to driver core changes Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 273971bade8a6d37c1b162146de1a53965cdc245 tree ef78c4a7c1b8ab39c9b6f47fef82278d5145e74d parent 12eac738e5889a10da5b391c02eeb61229c796dc author Patrick Mochel Mon, 20 Jun 2005 15:15:28 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:28 -0700 [PATCH] usb: klist_node_attached() fix The original code looks like this: /* if interface was already added, bind now; else let * the future device_add() bind it, bypassing probe() */ if (!list_empty (&dev->bus_list)) device_bind_driver(dev); IOW, it's checking to see if the device is attached to the bus or not and binding the driver if it is. It's checking the device's bus list, which will only appear empty when the device has been initialized, but not added. It depends way too much on the driver model internals, but it seems to be the only way to do the weird crap they want to do with interfaces. When I converted it to use klists, I accidentally inverted the logic, which led to bad things happening. This patch returns the check to its orginal value. From: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/usb/core/usb.c =================================================================== commit b86c1df1f98d16c999423a3907eb40a9423f481e tree 02cf0b54f3c1d9b987268f2d4737af1a67dd4056 parent d0e2b4a0a9dd3eed71b56c47268bf4e40cff6d0f author gregkh@suse.de Thu, 31 Mar 2005 12:53:00 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:27 -0700 [PATCH] Driver core: Fix up the driver and device iterators to be quieter Also stops looping over the lists when a match is found. Signed-off-by: Greg Kroah-Hartman Wed, 30 Mar 2005 13:19:54 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:27 -0700 [PATCH] Fix typo in scdrv_init() Fix a typo in scdrv_init() which was breaking the build for SGI sn2. Signed-off-by: Jason Uhlenkott Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 0d3e5a2e39b6ba2974e9e7c2a429018c45de8e76 tree 30e584b73c356adce49dcc9df75332abaef95470 parent b86c1df1f98d16c999423a3907eb40a9423f481e author Patrick Mochel Tue, 05 Apr 2005 23:46:33 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:27 -0700 [PATCH] Driver Core: fix bk-driver-core kills ppc64 There's no check to see if the device is already bound to a driver, which could do bad things. The first thing to go wrong is that it will try to match a driver with a device already bound to one. In some cases (it appears with USB with drivers/usb/core/usb.c::usb_match_id()), some drivers will match a device based on the class type, so it would be common (especially for HID devices) to match a device that is already bound. The fun comes when ->probe() is called, it fails, then driver_probe_device() does this: dev->driver = NULL; Later on, that pointer could be be dereferenced without checking and cause hell to break loose. This problem could be nasty. It's very hardware dependent, since some devices could have a different set of matching qualifiers than others. Now, I don't quite see exactly where/how you were getting that crash. You're dereferencing bad memory, but I'm not sure which pointer was bad and where it came from, but it could have come from a couple of different places. The patch below will hopefully fix it all up for you. It's against 2.6.12-rc2-mm1, and does the following: - Move logic to driver_probe_device() and comments uncommon returns: 1 - If device is bound 0 - If device not bound, and no error error - If there was an error. - Move locking to caller of that function, since we want to lock a device for the entire time we're trying to bind it to a driver (to prevent against a driver being loaded at the same time). - Update __device_attach() and __driver_attach() to do that locking. - Check if device is already bound in __driver_attach() - Update the converse device_release_driver() so it locks the device around all of the operations. - Mark driver_probe_device() as static and remove export. It's an internal function, it should stay that way, and there are no other callers. If there is ever a need to export it, we can audit it as necessary. Signed-off-by: Andrew Morton commit ff710710eae73990dd484ea8e37dba636452502b tree c764773894a10b5650f81b32e86751b97e54706e parent 126eddfbf8cae8a20c22708192bffcbd77c8a889 author gregkh@suse.de Thu, 24 Mar 2005 00:44:28 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:26 -0700 [PATCH] USB: fix build warning in usb core as pointed out by Andrew. Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/usb/core/usb.c =================================================================== commit d0e2b4a0a9dd3eed71b56c47268bf4e40cff6d0f tree 567d849ed870807599d439e459e1bbe3cfec2877 parent 64360322ab3330d4881166380ad43a1eec2f123d author long Tue, 29 Mar 2005 13:36:43 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:26 -0700 [PATCH] use device_for_each_child() to properly access child devices. On Friday, March 25, 2005 8:47 PM Greg KH wrote: >Here's a fix for pci express. For some reason I don't think they are >using the driver model properly here, but I could be wrong... Thanks for making the changes. However, changes in functions: void pcie_port_device_remove(struct pci_dev *dev) and static int remove_iter(struct device *dev, void *data) are not correct. Please use the patch, which is based on kernel 2.6.12-rc1, below for a fix for these. Signed-off-by: Greg Kroah-Hartman commit 64360322ab3330d4881166380ad43a1eec2f123d tree cfb876990acbe4669e9ba45d6252c75538288f24 parent ff710710eae73990dd484ea8e37dba636452502b author gregkh@suse.de Fri, 25 Mar 2005 11:45:31 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:26 -0700 [PATCH] Use device_for_each_child() to unregister devices in nodemgr_remove_host_dev() Signed-off-by: Greg Kroah-Hartman diff -Nru a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c commit 126eddfbf8cae8a20c22708192bffcbd77c8a889 tree 204287a611f015bb68f96d3be1135d2e93826b35 parent 4d12d2d953ca5e299de6a653f1d0478f670d7bc6 author gregkh@suse.de Tue, 22 Mar 2005 12:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:24 -0700 [PATCH] driver core: change export symbol for driver_for_each_device() Signed-off-by: Greg Kroah-Hartman Index: linux-2.6.12-rc2/drivers/base/driver.c =================================================================== commit 4d12d2d953ca5e299de6a653f1d0478f670d7bc6 tree ba89978abb57da6a24cc141b869a14b6d6c76884 parent 36239577cfb6b9a7c111209536b54200b0252ebf author mochel@digitalimplant.org Thu, 24 Mar 2005 20:08:04 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:23 -0700 [PATCH] Fix up bogus comment. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman diff -Nru a/drivers/base/driver.c b/drivers/base/driver.c commit 36239577cfb6b9a7c111209536b54200b0252ebf tree f8fa5034fbb31d273d0889119cbc20e4c4b0c983 parent 9a881f166f473373589ce6f3fdc47b44a1450e2d author mochel@digitalimplant.org Thu, 24 Mar 2005 19:08:30 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:23 -0700 [PATCH] Use a klist for device child lists. - Use klist iterator in device_for_each_child(), making it safe to use for removing devices. - Remove unused list_to_dev() function. - Kills all usage of devices_subsys.rwsem. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 9a881f166f473373589ce6f3fdc47b44a1450e2d tree 7f845c4f30aec7df6052a4503d3a76bf2a4362c0 parent 20b1e674230b642be662c5975923a0160ab9cbdc author gregkh@suse.de Fri, 25 Mar 2005 15:52:00 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:22 -0700 [PATCH] use device_for_each_child() to properly access child devices. Signed-off-by: Greg Kroah-Hartman commit 20b1e674230b642be662c5975923a0160ab9cbdc tree 749e1384c57576bfbe3ffd1414df321cc783296f parent 0293a509405dccecc30783a5d729d615b68d6a77 author mochel@digitalimplant.org Thu, 24 Mar 2005 19:03:59 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:19 -0700 [PATCH] Use device_for_each_child() to unregister devices in scsi_remove_target(). Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/scsi/scsi_sysfs.c =================================================================== commit 0956af53afea290c5676c75249fc2c180d831375 tree 43ba929157462d22b6320a8924823a56cb292569 parent 63c4f204ffc8219696bda88eb20c9873d007a2fc author mochel@digitalimplant.org Thu, 24 Mar 2005 18:58:45 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:19 -0700 [PATCH] Call klist_del() instead of klist_remove(). - Can't wait on removing the current item in the list (the positive refcount *because* we are using it causes it to deadlock). Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 0293a509405dccecc30783a5d729d615b68d6a77 tree 69856eefdaba010e35dd7fbe2e5bb152a110d186 parent 0956af53afea290c5676c75249fc2c180d831375 author mochel@digitalimplant.org Thu, 24 Mar 2005 18:59:59 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:19 -0700 [PATCH] Don't reference NULL klist pointer in klist_remove(). Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman diff -Nru a/lib/klist.c b/lib/klist.c commit 7dc35cdf69149a7f2b5216ada9bafe359746ac1c tree bdbcaff7bc9d2ac391aae54bc4cb23ecbf93038f parent 6eded061b1263847aedac7469339e99579aec5e5 author mochel@digitalimplant.org Thu, 24 Mar 2005 13:03:35 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:18 -0700 [PATCH] Remove struct device::bus_list. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 6eded061b1263847aedac7469339e99579aec5e5 tree 849eadc1c02df67e2d327880ce2ecc20975a856f parent d4a7537122fa47a6ce41c5fdab53d844c78d7023 author mochel@digitalimplant.org Thu, 24 Mar 2005 13:02:28 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:18 -0700 [PATCH] Fix up bus code and remove use of rwsem. - Don't add devices to bus's embedded kset, since it's not used by anyone anymore. - Don't need to take the bus rwsem when calling {device,driver}_attach(), since those functions use the klists and the klists' spinlocks. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 63c4f204ffc8219696bda88eb20c9873d007a2fc tree 4a787908743ae0360b4e4356326c8912e6954a40 parent 7dc35cdf69149a7f2b5216ada9bafe359746ac1c author mochel@digitalimplant.org Thu, 24 Mar 2005 13:08:05 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:18 -0700 [PATCH] Remove struct device::driver_list. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit d4a7537122fa47a6ce41c5fdab53d844c78d7023 tree e4ae3e20f27497c90fca268260c591f117356a3e parent 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 author mochel@digitalimplant.org Thu, 24 Mar 2005 13:00:16 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:17 -0700 [PATCH] Fix up USB to use klist_node_attached() instead of list_empty() on lists that will go away. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/usb/core/usb.c =================================================================== commit 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 tree 17935d1064101df10ad7bb2f7ed94e6a88af295c parent 2287c322b61fced7e0c326a1a9606aa73147e3df author mochel@digitalimplant.org Thu, 24 Mar 2005 12:58:57 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:17 -0700 [PATCH] add klist_node_attached() to determine if a node is on a list or not. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman diff -Nru a/include/linux/klist.h b/include/linux/klist.h commit 2287c322b61fced7e0c326a1a9606aa73147e3df tree 8241c7cab4172969f38d8b55852aca2e071a494f parent cb85b6f1cc811ecb9ed4b950206d8941ba710e68 author mochel@digitalimplant.org Thu, 24 Mar 2005 10:50:24 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:17 -0700 [PATCH] Use bus_for_each_{dev,drv} for driver binding. - Now possible, since the lists are locked using the klist lock and not the global rwsem. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit cb85b6f1cc811ecb9ed4b950206d8941ba710e68 tree f017c851e25078c8445ec7045556eb41e364ffdb parent 94e7b1c5ff2055571703e38b059afffe17658432 author mochel@digitalimplant.org Thu, 24 Mar 2005 10:48:35 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:16 -0700 [PATCH] Remove the unused device_find(). Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 94e7b1c5ff2055571703e38b059afffe17658432 tree 469dbd920087ec62acd88b4985437a78c6786c0e parent 38fdac3cdce276554b4484a41f8ec2daf81cb2ff author mochel@digitalimplant.org Mon, 21 Mar 2005 12:25:36 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:16 -0700 [PATCH] Add a klist to struct device_driver for the devices bound to it. - Use it in driver_for_each_device() instead of the regular list_head and stop using the bus's rwsem for protection. - Use driver_for_each_device() in driver_detach() so we don't deadlock on the bus's rwsem. - Remove ->devices. - Move klist access and sysfs link access out from under device's semaphore, since they're synchronized through other means. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 9a19fea43616066561e221359596ce532e631395 tree f776bee1bcb1051bf75323b65fa887347412409e parent 6034a080f98b0bbc0a058e2ac65a538f75cffeee author mochel@digitalimplant.org Mon, 21 Mar 2005 11:45:16 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:14 -0700 [PATCH] Add initial implementation of klist helpers. This klist interface provides a couple of structures that wrap around struct list_head to provide explicit list "head" (struct klist) and list "node" (struct klist_node) objects. For struct klist, a spinlock is included that protects access to the actual list itself. struct klist_node provides a pointer to the klist that owns it and a kref reference count that indicates the number of current users of that node in the list. The entire point is to provide an interface for iterating over a list that is safe and allows for modification of the list during the iteration (e.g. insertion and removal), including modification of the current node on the list. It works using a 3rd object type - struct klist_iter - that is declared and initialized before an iteration. klist_next() is used to acquire the next element in the list. It returns NULL if there are no more items. This klist interface provides a couple of structures that wrap around struct list_head to provide explicit list "head" (struct klist) and list "node" (struct klist_node) objects. For struct klist, a spinlock is included that protects access to the actual list itself. struct klist_node provides a pointer to the klist that owns it and a kref reference count that indicates the number of current users of that node in the list. The entire point is to provide an interface for iterating over a list that is safe and allows for modification of the list during the iteration (e.g. insertion and removal), including modification of the current node on the list. It works using a 3rd object type - struct klist_iter - that is declared and initialized before an iteration. klist_next() is used to acquire the next element in the list. It returns NULL if there are no more items. Internally, that routine takes the klist's lock, decrements the reference count of the previous klist_node and increments the count of the next klist_node. It then drops the lock and returns. There are primitives for adding and removing nodes to/from a klist. When deleting, klist_del() will simply decrement the reference count. Only when the count goes to 0 is the node removed from the list. klist_remove() will try to delete the node from the list and block until it is actually removed. This is useful for objects (like devices) that have been removed from the system and must be freed (but must wait until all accessors have finished). Internally, that routine takes the klist's lock, decrements the reference count of the previous klist_node and increments the count of the next klist_node. It then drops the lock and returns. There are primitives for adding and removing nodes to/from a klist. When deleting, klist_del() will simply decrement the reference count. Only when the count goes to 0 is the node removed from the list. klist_remove() will try to delete the node from the list and block until it is actually removed. This is useful for objects (like devices) that have been removed from the system and must be freed (but must wait until all accessors have finished). Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman diff -Nru a/include/linux/klist.h b/include/linux/klist.h commit 465c7a3a3a5aabcedd2e43612cac5a12f23da19a tree 392dabbfe84d1de3e84b1eb238bfd09d0ade6c4c parent 9a19fea43616066561e221359596ce532e631395 author mochel@digitalimplant.org Mon, 21 Mar 2005 11:49:14 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:14 -0700 [PATCH] Add a klist to struct bus_type for its devices. - Use it for bus_for_each_dev(). - Use the klist spinlock instead of the bus rwsem. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 38fdac3cdce276554b4484a41f8ec2daf81cb2ff tree 1bdd0b8b69bd8e13de53036c8ef8b968a0dacc1d parent 465c7a3a3a5aabcedd2e43612cac5a12f23da19a author mochel@digitalimplant.org Mon, 21 Mar 2005 12:00:18 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:14 -0700 [PATCH] Add a klist to struct bus_type for its drivers. - Use it in bus_for_each_drv(). - Use the klist spinlock instead of the bus rwsem. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit fae3cd00255e3e51ffd59fedb1bdb91ec96be395 tree 59e56a65f4b01f496436bd9b0720737ce1937db4 parent 07e4a3e27fe414980ddc85a358e5a56abc48b363 author mochel@digitalimplant.org Mon, 21 Mar 2005 10:59:56 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:13 -0700 [PATCH] Add driver_for_each_device(). Now there's an iterator for accessing each device bound to a driver. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman Index: linux-2.6.12-rc2/drivers/base/driver.c =================================================================== commit 8d618afdd61ccaacbab4976a556c0ddcf36e2d8a tree abe9d05aacee69b9b59375e867db295982222e65 parent fae3cd00255e3e51ffd59fedb1bdb91ec96be395 author mochel@digitalimplant.org Mon, 21 Mar 2005 11:07:54 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:13 -0700 [PATCH] Use driver_for_each_device() in drivers/pnp/driver.c instead of manually walking list. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman diff -Nru a/drivers/pnp/driver.c b/drivers/pnp/driver.c commit 6034a080f98b0bbc0a058e2ac65a538f75cffeee tree 3e3bb5b4afcce4aafd4cf287377c5298bd7211b2 parent 8d618afdd61ccaacbab4976a556c0ddcf36e2d8a author mochel@digitalimplant.org Mon, 21 Mar 2005 11:09:40 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:13 -0700 [PATCH] Use driver_for_each_device() instead of manually walking list. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/drivers/usb/core/usb.c =================================================================== commit 07e4a3e27fe414980ddc85a358e5a56abc48b363 tree eb32858e7facf8b24a2f0fc2d4e829d6ee715c09 parent af70316af182f4716cc5eec7e0d27fc731d164bd author mochel@digitalimplant.org Mon, 21 Mar 2005 10:52:54 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:13 -0700 [PATCH] Move device/driver code to drivers/base/dd.c This relocates the driver binding/unbinding code to drivers/base/dd.c. This is done for two reasons: One, it's not code related to the bus_type itself; it uses some from that, some from devices, and some from drivers. And Two, it will make it easier to do some of the upcoming lock removal on that code.. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit eb51b65005737b777e0709683b061d5f82aefd97 tree 1e458e31a6c07da7c245c3e10293c7c7459c390f parent 733a366c34aea88def75dee478f92233410ab3c4 author Andrew Morton Thu, 05 May 2005 15:06:38 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:12 -0700 [PATCH] fix up ipmi code after class_simple.c removal Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit af70316af182f4716cc5eec7e0d27fc731d164bd tree 22fa4732c8270db8fd3f681355cd83e4b8088847 parent eb51b65005737b777e0709683b061d5f82aefd97 author mochel@digitalimplant.org Mon, 21 Mar 2005 10:41:04 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:12 -0700 [PATCH] Add a semaphore to struct device to synchronize calls to its driver. This adds a per-device semaphore that is taken before every call from the core to a driver method. This prevents e.g. simultaneous calls to the ->suspend() or ->resume() and ->probe() or ->release(), potentially saving a whole lot of headaches. It also moves us a step closer to removing the bus rwsem, since it protects the fields in struct device that are modified by the core. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 733a366c34aea88def75dee478f92233410ab3c4 tree a122298da923d63cad0837b56c51b69391ac6b8d parent cd987d38cc59053e0bab8150ffaca33b109067f3 author Adrian Bunk Thu, 05 May 2005 15:06:38 -0700 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:12 -0700 [PATCH] fix "make mandocs" after class_simple.c removal Due to the removal of class_simple.c, "make mandocs" no longer works. This patch fixes this issue. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit cd987d38cc59053e0bab8150ffaca33b109067f3 tree 68cf99616bd548bff80ca12f37912d9cc4b31edd parent 2fc68447df5c76cf254037047b4b02551bd5d760 author gregkh@suse.de Wed, 23 Mar 2005 11:12:38 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:11 -0700 [PATCH] class: remove class_simple code, as no one in the tree is using it anymore. Signed-off-by: Greg Kroah-Hartman commit 2fc68447df5c76cf254037047b4b02551bd5d760 tree ce39dc9db7465fc0c1808b6216c2a835739cecfa parent 1db560afe629b682c45a7f4ba7edf98b4ee28518 author gregkh@suse.de Wed, 23 Mar 2005 10:02:56 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:11 -0700 [PATCH] class: add kerneldoc for the new class functions. Signed-off-by: Greg Kroah-Hartman commit 1db560afe629b682c45a7f4ba7edf98b4ee28518 tree d48ed2d5458b86bf65c78f8e738c6510fdec3917 parent 5cebfb759cc75208c04590ad7f4485cdd822cf46 author gregkh@suse.de Wed, 23 Mar 2005 10:02:26 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:11 -0700 [PATCH] class: convert the remaining class_simple users in the kernel to usee the new class api Signed-off-by: Greg Kroah-Hartman commit 8874b414ffe037c39e73bb262ddf69653a13c0a4 tree d7a7b021ab3b4319cc65f1b4fd2f76eb757dfb69 parent d253878b3d9ae523c76118f5336a662780ad3757 author gregkh@suse.de Wed, 23 Mar 2005 09:56:34 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:09 -0700 [PATCH] class: convert arch/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit 5cebfb759cc75208c04590ad7f4485cdd822cf46 tree df6589c03ea968b674249f5092fbb021f71df157 parent 56b2293595b2eb52cc2aa2baf92c6cfa8265f9d5 author Mark M. Hoffman Mon, 02 May 2005 23:35:45 -0400 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:09 -0700 [PATCH] USB: trivial error path fix Trivial fix to USB class-creation error path; please apply. Signed-off-by: Mark M. Hoffman Signed-off-by: Greg Kroah-Hartman commit 56b2293595b2eb52cc2aa2baf92c6cfa8265f9d5 tree 5cbada5b35b1b87dfd75852c9397a2b14dfbb9d9 parent 8874b414ffe037c39e73bb262ddf69653a13c0a4 author gregkh@suse.de Wed, 23 Mar 2005 10:01:41 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:09 -0700 [PATCH] class: convert drivers/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit d253878b3d9ae523c76118f5336a662780ad3757 tree 398e59c1d242183269dc8f4a9dd3d7a8057afa16 parent 7e25ab9155aef04e83da69545742cf65c9b801ce author gregkh@suse.de Wed, 23 Mar 2005 09:55:22 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:08 -0700 [PATCH] class: convert drivers/scsi/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit ca8eca6884861c1ce294b05aacfdf9045bba9aff tree d155207bb52a56683160aa192765a19d67161c01 parent deb3697037a7d362d13468a73643e09cbc1615a8 author gregkh@suse.de Wed, 23 Mar 2005 09:53:09 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:08 -0700 [PATCH] class: convert drivers/char/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit 7e25ab9155aef04e83da69545742cf65c9b801ce tree 0bed979a54852dda1459d60ba680a02a912955c4 parent ca8eca6884861c1ce294b05aacfdf9045bba9aff author gregkh@suse.de Wed, 23 Mar 2005 09:53:36 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:08 -0700 [PATCH] class: convert drivers/ieee1394/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit deb3697037a7d362d13468a73643e09cbc1615a8 tree 1123942229b7edc193045300d1badb2018dc2bf0 parent 619e666b7e9d2b0545ab60a9c824ae5f77c20c3b author gregkh@suse.de Wed, 23 Mar 2005 09:52:10 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:07 -0700 [PATCH] class: convert drivers/block/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit 8561b10f6e7ef0a085709ffc844f74130a067abe tree b25d023ce2d7397081735d20fd0c11ebdfcd603c parent 1235686f6e67cf30c460eb77d90a6cb4be57b92f author gregkh@suse.de Tue, 15 Mar 2005 15:10:13 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:07 -0700 [PATCH] USB: move the usb hcd code to use the new class code. This moves a kref into the main hcd structure, which detaches it from the class device structure. Signed-off-by: Greg Kroah-Hartman commit 619e666b7e9d2b0545ab60a9c824ae5f77c20c3b tree a2c6d9bb6b8f66fdda8cc6cd8422f062e557922d parent 8561b10f6e7ef0a085709ffc844f74130a067abe author gregkh@suse.de Wed, 23 Mar 2005 09:51:41 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:07 -0700 [PATCH] class: convert sound/* to use the new class api instead of class_simple Signed-off-by: Greg Kroah-Hartman commit e9ba6365fd4f0d9e7d022c883bd044fbaa48257f tree 062476167b5c9cd5ed08a01f223e71c2ece795ee parent 70f2817a43c89b784dc2ec3d06ba5bf3064f8235 author gregkh@suse.de Tue, 15 Mar 2005 11:54:21 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:04 -0700 [PATCH] CLASS: move a "simple" class logic into the class core. One step on improving the class api so that it can not be used incorrectly. This also fixes the module owner issue with the dev files that happened when the devt logic moved to the class core. Based on a patch originally written by Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 7fe845d11ad1b4aac098d40c55275569e143c483 tree db94f76a6de7ec45fbdea8dfdb65316a7452b3b5 parent e9ba6365fd4f0d9e7d022c883bd044fbaa48257f author gregkh@suse.de Tue, 15 Mar 2005 14:23:15 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:04 -0700 [PATCH] tty: move to use the new class code, instead of class_simple Signed-off-by: Greg Kroah-Hartman commit 1235686f6e67cf30c460eb77d90a6cb4be57b92f tree c7ef368a38c8e0c64e09d9e0e8a2a93392a1732c parent 7fe845d11ad1b4aac098d40c55275569e143c483 author gregkh@suse.de Tue, 15 Mar 2005 14:26:30 -0800 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:04 -0700 [PATCH] INPUT: move to use the new class code, instead of class_simple Signed-off-by: Greg Kroah-Hartman commit 70f2817a43c89b784dc2ec3d06ba5bf3064f8235 tree 210bbd16599d4e402051e4ec30c82e70b8b427ef parent 6c1852a08e444a2e66367352a99c0e93c8bf3e97 author Dmitry Torokhov Fri, 29 Apr 2005 01:27:34 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:03 -0700 [PATCH] sysfs: (rest) if show/store is missing return -EIO sysfs: fix the rest of the kernel so if an attribute doesn't implement show or store method read/write will return -EIO instead of 0 or -EINVAL or -EPERM. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 6c1852a08e444a2e66367352a99c0e93c8bf3e97 tree ffa075f75b7eb0e5b1399aeb8e34e6cf9a631a10 parent fc7e4828995d8c9e4c9597f8a19179e4ab53f73e author Dmitry Torokhov Fri, 29 Apr 2005 01:26:06 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:03 -0700 [PATCH] sysfs: (driver/block) if show/store is missing return -EIO sysfs: fix drivers/block so if an attribute doesn't implement show or store method read/write will return -EIO instead of 0 or -EINVAL. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit fc7e4828995d8c9e4c9597f8a19179e4ab53f73e tree 0ca83b71052eb241acc64d0152bff21188944b9c parent 4a0c20bf8c0fe2116f8fd7d3da6122bf8a01f026 author Dmitry Torokhov Fri, 29 Apr 2005 01:26:27 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:02 -0700 [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO sysfs: fix drivers/pci so if an attribute does not implement show or store method read/write will return -EIO instead of 0. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c76d0abd07a9c9cf72bbb5b641e1e97f92ea8f3e tree c5f3c752031dfb8b7c5a624d06b129661eec5665 parent d48593bf208e0d046c35fb0707ae5b23fef8c4ff author Dmitry Torokhov Fri, 29 Apr 2005 01:22:00 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:02 -0700 [PATCH] sysfs: if show/store is missing return -EIO sysfs: if attribute does not implement show or store method read/write should return -EIO instead of 0 or -EINVAL. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 4a0c20bf8c0fe2116f8fd7d3da6122bf8a01f026 tree 48b6108a889f7cc007633c4d7d6f2c9fafe18082 parent c76d0abd07a9c9cf72bbb5b641e1e97f92ea8f3e author Dmitry Torokhov Fri, 29 Apr 2005 01:23:47 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:02 -0700 [PATCH] sysfs: (driver/base) if show/store is missing return -EIO sysfs: fix drivers/base so if an attribute doesn't implement show or store method read/write will return -EIO instead of 0. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit d48593bf208e0d046c35fb0707ae5b23fef8c4ff tree 8ee1375b7c7725c11238716646266d9a6d7fbc9f parent 8d790d74085833ba2a3e84b5bcd683be4981c29a author Dmitry Torokhov Fri, 29 Apr 2005 00:58:46 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:01 -0700 [PATCH] Make attributes names const char * sysfs: make attributes and attribute_group's names const char * Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 8d790d74085833ba2a3e84b5bcd683be4981c29a tree fe3be944882cb1ec272e4fb6782c6caa404a6187 parent 419cab3fc69588ebe35b845cc3a584ae172463de author Dmitry Torokhov Tue, 26 Apr 2005 02:34:05 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:01 -0700 [PATCH] make driver's name be const char * Driver core: change driver's, bus's, class's and platform device's names to be const char * so one can use const char *drv_name = "asdfg"; when initializing structures. Also kill couple of whitespaces. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 419cab3fc69588ebe35b845cc3a584ae172463de tree 7886076bcc4970005cbd39c886eb414bb61242a4 parent f3b4f3c6dec04c6c8261fe22645f07b39976595a author Dmitry Torokhov Tue, 26 Apr 2005 02:32:54 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:01 -0700 [PATCH] kset_hotplug_ops->name shoudl return const char * kobject: change name() method in kset_hotplug_ops return const char * since users shoudl not try to modify returned data. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit f3b4f3c6dec04c6c8261fe22645f07b39976595a tree 9c4ad15f5d5fc7d3a8006396b185bb615386a61c parent e3a15db2415579d5136b9ba9b52fe27c66da8780 author Dmitry Torokhov Tue, 26 Apr 2005 02:32:00 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:00 -0700 [PATCH] Make kobject's name be const char * kobject: make kobject's name const char * since users should not attempt to change it (except by calling kobject_rename). Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit eb11d8ffceead1eb3d84366f1687daf2217e883e tree aedf84638f2bb8cc2d6f90120199191b917efa35 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Dmitry Torokhov Tue, 26 Apr 2005 02:29:58 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:00 -0700 [PATCH] kobject_hotplug() should use kobject_name() kobject: kobject_hotplug should use kobject_name() instead of accessing kobj->name directly since for objects with long names it can contain garbage. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit e3a15db2415579d5136b9ba9b52fe27c66da8780 tree 55a431608174bc96f34233d9ef3e699b1f982183 parent eb11d8ffceead1eb3d84366f1687daf2217e883e author Dmitry Torokhov Tue, 26 Apr 2005 02:31:08 -0500 committer Greg Kroah-Hartman Mon, 20 Jun 2005 15:15:00 -0700 [PATCH] sysfs_{create|remove}_link should take const char * sysfs: make sysfs_{create|remove}_link to take const char * name. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 246955fe4c38bd706ae30e37c64892c94213775d tree 23583698ce7c58e1643414245690afca33618540 parent f6e276ee67c0ac9efafd24bc6f7a84aa359656df author Robert Olsson Mon, 20 Jun 2005 13:36:39 -0700 committer David S. Miller Mon, 20 Jun 2005 13:36:39 -0700 [NETLINK]: fib_lookup() via netlink Below is a more generic patch to do fib_lookup via netlink. For others we should say that we discussed this as a way to verify route selection. It's also possible there are others uses for this. In short the fist half of struct fib_result_nl is filled in by caller and netlink call fills in the other half and returns it. In case anyone is interested there is a corresponding user app to compare the full routing table this was used to test implementation of the LC-trie. Signed-off-by: David S. Miller commit f6e276ee67c0ac9efafd24bc6f7a84aa359656df tree 33e3377739fb67573ef7cba8312f142765ccff79 parent f852640e74f71e6dd38146e1149ec1fe6da2fb07 author Alexey Dobriyan Mon, 20 Jun 2005 13:32:05 -0700 committer David S. Miller Mon, 20 Jun 2005 13:32:05 -0700 [ATALK]: endian annotations Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit f852640e74f71e6dd38146e1149ec1fe6da2fb07 tree 4ddd00e408f5eb1c2973f1077298cf34eaab4f4e parent dd87147eed934eaff92869f3d158697c7239d1d2 author Alexey Dobriyan Mon, 20 Jun 2005 13:31:11 -0700 committer David S. Miller Mon, 20 Jun 2005 13:31:11 -0700 [AX25]: endian-annotate ax25_type_trans() Signed-off-by: Alexey Dobriyan Acked-by: Ralf Baechle Signed-off-by: David S. Miller commit dd87147eed934eaff92869f3d158697c7239d1d2 tree 5a5d59c2678767530c2a3299a70ccfc14062b347 parent d094cd83c06e06e01d8edb540555f3f64e4081c2 author Herbert Xu Mon, 20 Jun 2005 13:21:43 -0700 committer David S. Miller Mon, 20 Jun 2005 13:21:43 -0700 [IPSEC]: Add XFRM_STATE_NOPMTUDISC flag This patch adds the flag XFRM_STATE_NOPMTUDISC for xfrm states. It is similar to the nopmtudisc on IPIP/GRE tunnels. It only has an effect on IPv4 tunnel mode states. For these states, it will ensure that the DF flag is always cleared. This is primarily useful to work around ICMP blackholes. In future this flag could also allow a larger MTU to be set within the tunnel just like IPIP/GRE tunnels. This could be useful for short haul tunnels where temporary fragmentation outside the tunnel is desired over smaller fragments inside the tunnel. Signed-off-by: Herbert Xu Acked-by: James Morris Signed-off-by: David S. Miller commit d094cd83c06e06e01d8edb540555f3f64e4081c2 tree c9aad8ebaebbf0cde7c535bb764a6d6e859125fb parent 72cb6962a91f2af9eef69a06198e1949c10259ae author Herbert Xu Mon, 20 Jun 2005 13:19:41 -0700 committer David S. Miller Mon, 20 Jun 2005 13:19:41 -0700 [IPSEC]: Add xfrm_state_afinfo->init_flags This patch adds the xfrm_state_afinfo->init_flags hook which allows each address family to perform any common initialisation that does not require a corresponding destructor call. It will be used subsequently to set the XFRM_STATE_NOPMTUDISC flag in IPv4. It also fixes up the error codes returned by xfrm_init_state. Signed-off-by: Herbert Xu Acked-by: James Morris Signed-off-by: David S. Miller commit 72cb6962a91f2af9eef69a06198e1949c10259ae tree 3ae65d1c4e7d7cb7ac05bfc6f457312df45f6996 parent 3f7a87d2fa9b42f7aade43914f060df68cc89cc7 author Herbert Xu Mon, 20 Jun 2005 13:18:08 -0700 committer David S. Miller Mon, 20 Jun 2005 13:18:08 -0700 [IPSEC]: Add xfrm_init_state This patch adds xfrm_init_state which is simply a wrapper that calls xfrm_get_type and subsequently x->type->init_state. It also gets rid of the unused args argument. Abstracting it out allows us to add common initialisation code, e.g., to set family-specific flags. The add_time setting in xfrm_user.c was deleted because it's already set by xfrm_state_alloc. Signed-off-by: Herbert Xu Acked-by: James Morris Signed-off-by: David S. Miller commit 3f7a87d2fa9b42f7aade43914f060df68cc89cc7 tree 15162d2dd770428f98a0d39f8dc6063aba0ad1e6 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Frank Filz Mon, 20 Jun 2005 13:14:57 -0700 committer David S. Miller Mon, 20 Jun 2005 13:14:57 -0700 [SCTP] sctp_connectx() API support Implements sctp_connectx() as defined in the SCTP sockets API draft by tunneling the request through a setsockopt(). Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 91b90475e793e84a57d956af8c52645e292badcb tree 8de670e02f99a2a2bde82384104dcb8cb09cdadf parent bcc408b75b707f46da1f81058ffa3c9df6f0170f parent f0ffeddc897a5cc5d5c6cc1b99a8799a8b34b28f author Linus Torvalds Mon, 20 Jun 2005 11:37:49 -0700 committer Linus Torvalds Mon, 20 Jun 2005 11:37:49 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit f0ffeddc897a5cc5d5c6cc1b99a8799a8b34b28f tree 0ced41d139a7e52eb7e8e2fef3c38ee3cacda420 parent d67947a1bd6530791ad3663b93d91b44de89c2ca author Lennert Buytenhek Mon, 20 Jun 2005 18:51:08 +0100 committer Russell King Mon, 20 Jun 2005 18:51:08 +0100 [PATCH] ARM: 2719/1: enable module support in ixp2000 defconfigs by default Patch from Lennert Buytenhek The ixp2000 defconfigs are among the few that do not enable module support by default. I keep enabling module support by hand for every new kernel version, so let's just make this change upstream. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e4fe19819ef32950541503042f32e71b67edffc7 tree 57c68008ba8c3b3a9f6ab8950c620175e9405569 parent c0da085ad2e6b1419b8a7439538f7f15eb5c4777 author Lennert Buytenhek Mon, 20 Jun 2005 18:51:07 +0100 committer Russell King Mon, 20 Jun 2005 18:51:07 +0100 [PATCH] ARM: 2701/1: free up ixp2000 timer 4 for the watchdog Patch from Lennert Buytenhek The IXP2000 has four timers, but if we're on an A-step IXP2800, timer 2 and 3 don't work. We need two timers for timekeeping (one for the timer interrupt and one for tracking missed jiffies), so on early IXP2800s we have no other choice but to use timer 1 and 4 for that, but on all other IXP2000s we'd rather leave timer 4 free since that's the only timer we can use for the watchdog. So, on buggy IXP2000s (i.e. the A-step IXP2800) we use timer 4 for tracking missed jiffies, and on all all non-buggy IXP2000s (i.e. everything but the A-step IXP2800) we use timer 2. On a pre-production IXP2800, this patch should print these messages on boot: Enabling IXP2800 erratum #25 workaround Unable to use IXP2000 watchdog due to IXP2800 erratum #25 On any non-buggy IXP2800 (as well as on IXP2400s) you shouldn't see anything at all, and the watchdog should be usable again. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit d67947a1bd6530791ad3663b93d91b44de89c2ca tree 7a95dd5f4cc2cf54be1925651c7fc07dd4f2f9ef parent e4fe19819ef32950541503042f32e71b67edffc7 author Richard Purdie Mon, 20 Jun 2005 18:51:07 +0100 committer Russell King Mon, 20 Jun 2005 18:51:07 +0100 [PATCH] ARM: 2716/1: SharpSL Param: Fix typo Patch from Richard Purdie Fix typo in sharpsl_param.c so it works correctly on collie. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit c0da085ad2e6b1419b8a7439538f7f15eb5c4777 tree 3694dc0cc57af4e98dae449eeead8f8f421bc2a7 parent 038c5b602524b33447008492e932cdd0a1e806c9 author Catalin Marinas Mon, 20 Jun 2005 18:51:06 +0100 committer Russell King Mon, 20 Jun 2005 18:51:06 +0100 [PATCH] ARM: 2693/1: Add PCI support for Versatile/PB Patch from Catalin Marinas This patch adds PCI support for the Versatile PB926 platform. Signed-off-by: Colin King Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 038c5b602524b33447008492e932cdd0a1e806c9 tree a2a474e180e370dfbc966bfd7f0050469aff4b98 parent 09f0551d20ddf6d22c333adcc59f2b1148734273 author Bellido Nicolas Mon, 20 Jun 2005 18:51:05 +0100 committer Russell King Mon, 20 Jun 2005 18:51:05 +0100 [PATCH] ARM: 2686/2: AAEC-2000 Core support Patch from Bellido Nicolas Core support for AAEC-2000 based platforms. This is an updated version of the previous patch, and takes into account Russell's comments. AAED-2000 default configuration will follow as soon as some problems with the bootloader are sorted out... Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 09f0551d20ddf6d22c333adcc59f2b1148734273 tree 321c877843fc24ef6047225569a66479d9d6269b parent a507ef3ac68f0671fdd3f824885cd7f1ea1040b1 author Russell King Mon, 20 Jun 2005 18:44:37 +0100 committer Russell King Mon, 20 Jun 2005 18:44:37 +0100 [PATCH] ARM: Add iomap support for ARM Signed-off-by: Russell King commit a507ef3ac68f0671fdd3f824885cd7f1ea1040b1 tree 943969bf51e7feb8fd362c551ea5446c458b6ec6 parent 14eb75b6f83e3213d752dfe821df2fa57efbe519 author Russell King Mon, 20 Jun 2005 16:57:17 +0100 committer Russell King Mon, 20 Jun 2005 16:57:17 +0100 [PATCH] ARM: Remove nmi_tick() from Integrator. Signed-off-by: Russell King commit 14eb75b6f83e3213d752dfe821df2fa57efbe519 tree 112df7e0b511d1732639873d75119521cbd740eb parent 3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5 author Russell King Mon, 20 Jun 2005 16:56:08 +0100 committer Russell King Mon, 20 Jun 2005 16:56:08 +0100 [PATCH] ARM: Add missed include for dmabounce.c Signed-off-by: Russell King commit 3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5 tree 495ace47f01695acc4effdc8d71e3961689c52e5 parent f29481c0e7e55efc25598c1a6c503015cfe45245 author Russell King Mon, 20 Jun 2005 16:45:32 +0100 committer Russell King Mon, 20 Jun 2005 16:45:32 +0100 [PATCH] ARM: Lindent GCC helper functions Signed-off-by: Russell King commit bcc408b75b707f46da1f81058ffa3c9df6f0170f tree 2712a2f739bd67f3c200f953342d441ddf8b763a parent 6f85fb8154057352df2080a7ff1c55bc5c583985 parent d3588ba9bbade7f1fde59726c9af43eeeb08e092 author Linus Torvalds Mon, 20 Jun 2005 08:17:59 -0700 committer Linus Torvalds Mon, 20 Jun 2005 08:17:59 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 commit f29481c0e7e55efc25598c1a6c503015cfe45245 tree 6ff6a52e54e5ec46648260df9cfb97308f8c05c2 parent 34c8eacab670e578a2aaafdf1061efd214b2f639 author Russell King Mon, 20 Jun 2005 15:49:59 +0100 committer Russell King Mon, 20 Jun 2005 15:49:59 +0100 [PATCH] ARM: Remove gcc type-isms from GCC helper functions Convert ugly GCC types to Linux types: UQImode -> u8 SImode -> s32 USImode -> u32 DImode -> s64 UDImode -> u64 word_type -> int Signed-off-by: Russell King commit 34c8eacab670e578a2aaafdf1061efd214b2f639 tree f535381c78e5ee58328982808becd2e05a9c076d parent 5abc100e882a979f8f5be8184938305b3fb2df2b author Russell King Mon, 20 Jun 2005 12:56:40 +0100 committer Russell King Mon, 20 Jun 2005 12:56:40 +0100 [PATCH] ARM: Remove obsolete arch/arm/kernel/arch.c This is not used anymore - RiscPC now contains the necessary supporting code. Signed-off-by: Russell King commit d3588ba9bbade7f1fde59726c9af43eeeb08e092 tree 13018804984c735be26325a234c09b1d6c4f6d4b parent 0231c290d817513d448963520a97eadd51a370b7 author John Rose Mon, 20 Jun 2005 21:43:48 +1000 committer Paul Mackerras Mon, 20 Jun 2005 21:43:48 +1000 [PATCH] initialize TCE tables A fairly recent platform requirement states that the OS must clear the whole TCE table at setup time, in case firmware left any active mappings in it. Without this initialization, dynamic bus removes can fail. Firmware rejects these requests if active mappings still exist for a slot that has been deallocated by the OS. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit 0231c290d817513d448963520a97eadd51a370b7 tree acb1fa2c9e7484d43905d460328d58268ef3b267 parent ad21798e0ecc3b54720a2420b341f51dfb254706 author Anton Blanchard Mon, 20 Jun 2005 21:43:15 +1000 committer Paul Mackerras Mon, 20 Jun 2005 21:43:15 +1000 [PATCH] ppc64: use cpu_has_feature macro Use the new cpu_has_feature macros instead of open coding it. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit ad21798e0ecc3b54720a2420b341f51dfb254706 tree 1bf389895edbfbd5c0cd0cfec660c85a486955d6 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Anton Blanchard Mon, 20 Jun 2005 21:43:07 +1000 committer Paul Mackerras Mon, 20 Jun 2005 21:43:07 +1000 [PATCH] ppc64: quieten RTAS printks Some rtasd printks were too loud. They would appear on a quiet boot even though they were only informational. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 5abc100e882a979f8f5be8184938305b3fb2df2b tree 75c19f3780250773c4457cf55a0c08ebcde480a0 parent b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0 author Russell King Mon, 20 Jun 2005 12:31:14 +0100 committer Russell King Mon, 20 Jun 2005 12:31:14 +0100 [PATCH] ARM: Ensure DMA-bounced buffers are properly written to RAM When DMA bounce buffers were unmapped and the data was memcpy'd to the original buffer, we were not ensuring that the data was written to RAM. This means that there was the potential for page cache pages to have different cache states depending whether they've been bounced or not. Signed-off-by: Russell King commit b8a9b66fbee09d0cc71c272b5c1d1f3320afbbf0 tree 25be8fc2ef91f6dcbb7f7dd2b9e3db2a95963477 parent 8830f04a092b47f3d246271b24685cd9eab82027 author Russell King Mon, 20 Jun 2005 11:31:09 +0100 committer Russell King Mon, 20 Jun 2005 11:31:09 +0100 [PATCH] ARM: Add common CACHE_COLOUR macro Signed-off-by: Russell King commit 8830f04a092b47f3d246271b24685cd9eab82027 tree 8258af450ec736fd0ff3cf0864eb5407b3f8b5ff parent d411b845dcc8e1d97e8b02a345e765af5134700f author Russell King Mon, 20 Jun 2005 09:51:03 +0100 committer Russell King Mon, 20 Jun 2005 09:51:03 +0100 [PATCH] ARM: Fix delayed dcache flush for ARMv6 non-aliasing caches flush_dcache_page() did nothing for these caches, but since they suffer from I/D cache coherency issues, we need to ensure that data is written back to RAM. Signed-off-by: Russell King commit 6f85fb8154057352df2080a7ff1c55bc5c583985 tree fe52de06de82d59d6618e53f61959555428b8fab parent d411b845dcc8e1d97e8b02a345e765af5134700f parent e632ba11b8ea34cc877689dba1e02f8657ddbc0b author Linus Torvalds Sun, 19 Jun 2005 20:58:13 -0700 committer Linus Torvalds Sun, 19 Jun 2005 20:58:13 -0700 Merge 'scsi-fixes' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6 commit e632ba11b8ea34cc877689dba1e02f8657ddbc0b tree aafaa0f78e56d0eeea753b9d2f105d91ba230b4a parent 98f72a1c51cbf65f3eee54b5324863b3a70a4e61 author Jeff Garzik Sun, 19 Jun 2005 21:50:12 -0400 committer Jeff Garzik Sun, 19 Jun 2005 21:50:12 -0400 aic7xxx/aic79xx_osm: revert completely bogus ahd_linux_queue() patch commit 98f72a1c51cbf65f3eee54b5324863b3a70a4e61 tree b40996c7a0a5446875aa3664045af7e377451bf6 parent 7df551254add79a445d2e47e8f849cef8fee6e38 author Jeff Garzik Sun, 19 Jun 2005 21:47:56 -0400 committer Jeff Garzik Sun, 19 Jun 2005 21:47:56 -0400 fc4/fc: fix warnings and errors related to recent SCSI EH updates commit d411b845dcc8e1d97e8b02a345e765af5134700f tree f3bd28fb012e2c3a15b2b4870d04eae6b61cd961 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 parent 0908db22b189b28664cba3965ebb7e0df59c749a author Russell King Sun, 19 Jun 2005 21:50:20 +0100 committer Russell King Sun, 19 Jun 2005 21:50:20 +0100 Merge with ../linux-2.6-smp commit 8b22c249e7de453961e4d253b19fc2a0bdd65d53 tree df4be07322c1bee5aa47e283a15377843ca2b05e parent 7df551254add79a445d2e47e8f849cef8fee6e38 parent ea4423c3b6c1dbd116c91be876b3ad07067c77c8 author Linus Torvalds Sun, 19 Jun 2005 11:53:06 -0700 committer Linus Torvalds Sun, 19 Jun 2005 11:53:06 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0908db22b189b28664cba3965ebb7e0df59c749a tree 571b737f22c8e6f2fecc18194f073d79934ce2ef parent ea4423c3b6c1dbd116c91be876b3ad07067c77c8 author Russell King Sun, 19 Jun 2005 19:48:16 +0100 committer Russell King Sun, 19 Jun 2005 19:48:16 +0100 [PATCH] ARM SMP: Messages about CPUs should be prefixed by CPU%u Signed-off-by: Russell King commit ea4423c3b6c1dbd116c91be876b3ad07067c77c8 tree d4132a9ffc173be69b2e7abf0b52a52eb61bffcc parent 36c5ed23b9f535d1c79986efb45f9c1f115e0997 parent fe6ef2daa29df8fef1a95446faccd18ab163993e author Russell King Sun, 19 Jun 2005 19:26:54 +0100 committer Russell King Sun, 19 Jun 2005 19:26:54 +0100 Merge with ../linux-2.6-smp commit 36c5ed23b9f535d1c79986efb45f9c1f115e0997 tree 5a493a7b19b02a8c7ccadafc5a3f55ca9da6605e parent 3aa3dfb372576f30835a94409556e3c8681b5756 author Russell King Sun, 19 Jun 2005 18:39:33 +0100 committer Russell King Sun, 19 Jun 2005 18:39:33 +0100 [PATCH] ARM SMP: Fix PXA/SA11x0 suspend resume crash We need to re-initialise the stack pointers for undefined, IRQ and abort mode handlers whenever we resume. Signed-off-by: Russell King commit fe6ef2daa29df8fef1a95446faccd18ab163993e tree 98806123cf57dee96c3ec877eb55128bdc78ed60 parent 20cf33ea16253b9eed387cba022cb014563db40e author Russell King Sun, 19 Jun 2005 09:52:07 +0100 committer Russell King Sun, 19 Jun 2005 09:52:07 +0100 [PATCH] ARM SMP: Add missed files from Integrator/CP platform Add missed new files from basic SMP support for the Integrator/CP platform. Signed-off-by: Russell King commit 7df551254add79a445d2e47e8f849cef8fee6e38 tree 468a43ac3f94b9bf8618b102a7d609e29d3900f5 parent f7d7fc0322c1770fe7ee836ca2732c2f88e2e1a4 author David S. Miller Sat, 18 Jun 2005 23:01:10 -0700 committer David S. Miller Sat, 18 Jun 2005 23:01:10 -0700 [TCP]: Fix sysctl_tcp_low_latency When enabled, this should disable UCOPY prequeue'ing altogether, but it does not due to a missing test. Signed-off-by: David S. Miller commit f7d7fc0322c1770fe7ee836ca2732c2f88e2e1a4 tree e156e26ed6a756ab347c9c4d688d9328ec44b633 parent 93765d8a435fa021c4b7cd0521b7959239d7158a author Jesper Juhl Sat, 18 Jun 2005 23:00:34 -0700 committer David S. Miller Sat, 18 Jun 2005 23:00:34 -0700 [IPV4]: [4/4] signed vs unsigned cleanup in net/ipv4/raw.c This patch changes the type of the third parameter 'length' of the raw_send_hdrinc() function from 'int' to 'size_t'. This makes sense since this function is only ever called from one location, and the value passed as the third parameter in that location is itself of type size_t, so this makes the recieving functions parameter type match. Also, inside raw_send_hdrinc() the 'length' variable is used in comparisons with unsigned values and passed as parameter to functions expecting unsigned values (it's used in a single comparison with a signed value, but that one can never actually be negative so the patch also casts that one to size_t to stop gcc worrying, and it is passed in a single instance to memcpy_fromiovecend() which expects a signed int, but as far as I can see that's not a problem since the value of 'length' shouldn't ever exceed the value of a signed int). Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit 93765d8a435fa021c4b7cd0521b7959239d7158a tree 05858c1b7f3c8bf069a2b45051af9d9db8e0804b parent 926d4b8122fb324de294a09a7d96d8af7cfc6861 author Jesper Juhl Sat, 18 Jun 2005 23:00:15 -0700 committer David S. Miller Sat, 18 Jun 2005 23:00:15 -0700 [IPV4]: [3/4] signed vs unsigned cleanup in net/ipv4/raw.c This patch changes the type of the local variable 'i' in raw_probe_proto_opt() from 'int' to 'unsigned int'. The only use of 'i' in this function is as a counter in a for() loop and subsequent index into the msg->msg_iov[] array. Since 'i' is compared in a loop to the unsigned variable msg->msg_iovlen gcc -W generates this warning : net/ipv4/raw.c:340: warning: comparison between signed and unsigned Changing 'i' to unsigned silences this warning and is safe since the array index can never be negative anyway, so unsigned int is the logical type to use for 'i' and also enables a larger msg_iov[] array (but I don't know if that will ever matter). Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit 926d4b8122fb324de294a09a7d96d8af7cfc6861 tree 1274e11e3e617936a1b5b6bda9e0978d678687fa parent 5418c6926fcb0e5a324cd5bc1106fc0941db7aae author Jesper Juhl Sat, 18 Jun 2005 23:00:00 -0700 committer David S. Miller Sat, 18 Jun 2005 23:00:00 -0700 [IPV4]: [2/4] signed vs unsigned cleanup in net/ipv4/raw.c This patch gets rid of the following gcc -W warning in net/ipv4/raw.c : net/ipv4/raw.c:387: warning: comparison of unsigned expression < 0 is always false Since 'len' is of type size_t it is unsigned and can thus never be <0, and since this is obvious from the function declaration just a few lines above I think it's ok to remove the pointless check for len<0. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit 5418c6926fcb0e5a324cd5bc1106fc0941db7aae tree 0d5a679faaac6e424a7df345d0f491267d6b7792 parent 94df109a8c802263837baccc1a3eeab9ab9e88db author Jesper Juhl Sat, 18 Jun 2005 22:59:45 -0700 committer David S. Miller Sat, 18 Jun 2005 22:59:45 -0700 [IPV4]: [1/4] signed vs unsigned cleanup in net/ipv4/raw.c This patch silences these two gcc -W warnings in net/ipv4/raw.c : net/ipv4/raw.c:517: warning: signed and unsigned type in conditional expression net/ipv4/raw.c:613: warning: signed and unsigned type in conditional expression It doesn't change the behaviour of the code, simply writes the conditional expression with plain 'if()' syntax instead of '? :' , but since this breaks it into sepperate statements gcc no longer complains about having both a signed and unsigned value in the same conditional expression. Signed-off-by: David S. Miller commit 94df109a8c802263837baccc1a3eeab9ab9e88db tree a0f1eb16aed1a651f296eba06e2a620f54668504 parent f87a9c3ddf08c10d8427bcedf3f53098113136d0 author Thomas Graf Sat, 18 Jun 2005 22:59:08 -0700 committer David S. Miller Sat, 18 Jun 2005 22:59:08 -0700 [PKT_SCHED]: noop/noqueue qdisc style cleanups Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit f87a9c3ddf08c10d8427bcedf3f53098113136d0 tree 69d791f5e29399793667f327c2e2d591d180bbe7 parent 321090e7a468ab33917a0af839a3ae923b1c1bc5 author Thomas Graf Sat, 18 Jun 2005 22:58:53 -0700 committer David S. Miller Sat, 18 Jun 2005 22:58:53 -0700 [PKT_SCHED]: Cleanup pfifo_fast qdisc and remove unnecessary code Removes the skb trimming code which is not needed since we never touch the skb upon failure. Removes unnecessary initializers, and simplifies the code a bit. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 321090e7a468ab33917a0af839a3ae923b1c1bc5 tree 70bf124595a2e8cdbafbf3987820231b11ce7386 parent 821d24ae741f83ef0754a98b4b8aef7231856543 author Thomas Graf Sat, 18 Jun 2005 22:58:35 -0700 committer David S. Miller Sat, 18 Jun 2005 22:58:35 -0700 [PKT_SCHED]: Add and use prio2list() in the pfifo_fast qdisc prio2list() returns the relevant sk_buff_head for the band specified by the priority for a given skb. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 821d24ae741f83ef0754a98b4b8aef7231856543 tree 74c3241b1caf60309840fdc8a976e2d0713d1052 parent 6fc8e84f4cf8d623f98aebfd6996dc3848bcf964 author Thomas Graf Sat, 18 Jun 2005 22:58:15 -0700 committer David S. Miller Sat, 18 Jun 2005 22:58:15 -0700 [PKT_SCHED]: Transform pfifo_fast to use generic queue management interface Gives pfifo_fast a byte based backlog. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 6fc8e84f4cf8d623f98aebfd6996dc3848bcf964 tree 7c57592eb5c394661efee21f428a56a3e182d514 parent aaae3013d186d71a01e1059c9633c4ec8729d891 author Thomas Graf Sat, 18 Jun 2005 22:58:00 -0700 committer David S. Miller Sat, 18 Jun 2005 22:58:00 -0700 [PKT_SCHED]: Cleanup fifo qdisc and remove unnecessary code Removes the skb trimming code which is not needed since we never touch the skb upon failure. Removes unnecessary includes, initializers, and simplifies the code a bit. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit aaae3013d186d71a01e1059c9633c4ec8729d891 tree 533e5512f5f8497ae293db9bd828a771e957fd8a parent 9972b25d0c6e7f8f893eb3444dea37b42b1201de author Thomas Graf Sat, 18 Jun 2005 22:57:42 -0700 committer David S. Miller Sat, 18 Jun 2005 22:57:42 -0700 [PKT_SCHED]: Transform fifo qdisc to use generic queue management interface The simplicity of the fifo qdisc allows several qdisc operations to be redirected to the relevant queue management function directly. Saves a lot of code lines and gives the pfifo a byte based backlog. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 9972b25d0c6e7f8f893eb3444dea37b42b1201de tree 1f94d7bc245178d815669d4cf7db0f56ac71b752 parent 1e061ab2e5aa50a84d68ca654773632f9c425bb6 author Thomas Graf Sat, 18 Jun 2005 22:57:26 -0700 committer David S. Miller Sat, 18 Jun 2005 22:57:26 -0700 [PKT_SCHED]: Generic queue management interface for qdiscs using internal skb queues Implements an interface to be used by leaf qdiscs maintaining an internal skb queue. The interface maintains a backlog in bytes additionaly to the skb_queue_len() maintained by the queue itself. Relevant statistics get incremented automatically. Every function comes in two variants, one assuming Qdisc->q is used as queue and the second taking a sk_buff_head as argument. Be aware that, if you use multiple queues, you still have to maintain the Qdisc->q.qlen counter yourself. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 1e061ab2e5aa50a84d68ca654773632f9c425bb6 tree 1406328bddda29edb7548dd9a43d6168cd8acc1a parent e0f9f8586a0b21fb3c7a4ead3804008d57dfdef7 author Herbert Xu Sat, 18 Jun 2005 22:56:42 -0700 committer David S. Miller Sat, 18 Jun 2005 22:56:42 -0700 [SCTP]: Replace spin_lock_irqsave with spin_lock_bh This patch replaces the spin_lock_irqsave call on the receive queue lock in SCTP with spin_lock_bh. Despite the proliferation of spin_lock_irqsave calls in this stack, it is only entered from the IPv4/IPv6 stack and user space. That is, it is never entered from hardirq context. The call in question is only called from recvmsg which means that IRQs aren't disabled. Therefore it is safe to replace it with spin_lock_bh. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit e0f9f8586a0b21fb3c7a4ead3804008d57dfdef7 tree 123a01b6719bf2077dc4ad79a8c80f18d4fe0246 parent 9ed19f339e12e731986de84134ac293cd15910a7 author Herbert Xu Sat, 18 Jun 2005 22:56:18 -0700 committer David S. Miller Sat, 18 Jun 2005 22:56:18 -0700 [IPV4/IPV6]: Replace spin_lock_irq with spin_lock_bh In light of my recent patch to net/ipv4/udp.c that replaced the spin_lock_irq calls on the receive queue lock with spin_lock_bh, here is a similar patch for all other occurences of spin_lock_irq on receive/error queue locks in IPv4 and IPv6. In these stacks, we know that they can only be entered from user or softirq context. Therefore it's safe to disable BH only. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 9ed19f339e12e731986de84134ac293cd15910a7 tree 6a39cb14e7b51dcc3d1f31b0cf30801f27da9618 parent e431b8c004af6be03783dddea31b6e514118051d author Jamal Hadi Salim Sat, 18 Jun 2005 22:55:51 -0700 committer David S. Miller Sat, 18 Jun 2005 22:55:51 -0700 [NETLINK]: Set correct pid for ioctl originating netlink events This patch ensures that netlink events created as a result of programns using ioctls (such as ifconfig, route etc) contains the correct PID of those events. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit e431b8c004af6be03783dddea31b6e514118051d tree 8868ed04de7026ddad6201a5c04d38c12e6a3509 parent 58b82150da90681a4179db1bc94d412938e81b31 author Jamal Hadi Salim Sat, 18 Jun 2005 22:55:31 -0700 committer David S. Miller Sat, 18 Jun 2005 22:55:31 -0700 [NETLINK]: Explicit typing This patch converts "unsigned flags" to use more explict types like u16 instead and incrementally introduces NLMSG_NEW(). Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 58b82150da90681a4179db1bc94d412938e81b31 tree e0af649ce2e5fae27406ff5d2ba5aa1876f072d8 parent 0603eac0d6b77acac5924a2734228cbaf072f993 author Thomas Graf Sat, 18 Jun 2005 22:55:02 -0700 committer David S. Miller Sat, 18 Jun 2005 22:55:02 -0700 [DECNET]: Remove unnecessary initilization of unused variable entries This patch was supposed to be part of the neighbour tables related patchset but apparently got lost. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 0603eac0d6b77acac5924a2734228cbaf072f993 tree e51536aab48997cc74f83bc618b95a9d88df12f2 parent b6544c0b4cf2bd96195f3cdb7cebfb35090fc557 author Herbert Xu Sat, 18 Jun 2005 22:54:36 -0700 committer David S. Miller Sat, 18 Jun 2005 22:54:36 -0700 [IPSEC]: Add XFRMA_SA/XFRMA_POLICY for delete notification This patch changes the format of the XFRM_MSG_DELSA and XFRM_MSG_DELPOLICY notification so that the main message sent is of the same format as that received by the kernel if the original message was via netlink. This also means that we won't lose the byid information carried in km_event. Since this user interface is introduced by Jamal's patch we can still afford to change it. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit b6544c0b4cf2bd96195f3cdb7cebfb35090fc557 tree 717f69a0c204b12eeedb8035fb66c8e9bb2d5a09 parent 1797754ea7ee5e0d859b0a32506ff999f8d5fb71 author Jamal Hadi Salim Sat, 18 Jun 2005 22:54:12 -0700 committer David S. Miller Sat, 18 Jun 2005 22:54:12 -0700 [NETLINK]: Correctly set NLM_F_MULTI without checking the pid This patch rectifies some rtnetlink message builders that derive the flags from the pid. It is now explicit like the other cases which get it right. Also fixes half a dozen dumpers which did not set NLM_F_MULTI at all. Signed-off-by: Jamal Hadi Salim Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 1797754ea7ee5e0d859b0a32506ff999f8d5fb71 tree a35d05f9106d903412a6fff714be38427fc4d0fa parent af0d114176720c2100dfa624ab433796d333d730 author Thomas Graf Sat, 18 Jun 2005 22:53:48 -0700 committer David S. Miller Sat, 18 Jun 2005 22:53:48 -0700 [NETLINK]: Introduce NLMSG_NEW macro to better handle netlink flags Introduces a new macro NLMSG_NEW which extends NLMSG_PUT but takes a flags argument. NLMSG_PUT stays there for compatibility but now calls NLMSG_NEW with flags == 0. NLMSG_PUT_ANSWER is renamed to NLMSG_NEW_ANSWER which now also takes a flags argument. Also converts the users of NLMSG_PUT_ANSWER to use NLMSG_NEW_ANSWER and fixes the two direct users of __nlmsg_put to either provide the flags or use NLMSG_NEW(_ANSWER). Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit af0d114176720c2100dfa624ab433796d333d730 tree 8a54882d3dd2d23dc2ecbbf66aeb2619321e9f45 parent 02f23f095f1d9534873ecb5d94bbdb0ab67f1d8e author Thomas Graf Sat, 18 Jun 2005 22:53:29 -0700 committer David S. Miller Sat, 18 Jun 2005 22:53:29 -0700 [PKT_SCHED]: Logic simplifications and codingstyle/whitespace cleanups Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 02f23f095f1d9534873ecb5d94bbdb0ab67f1d8e tree f411ec540945f539506fc883e7005a1317ebada3 parent 758cc43c6d7326c62751fb516485e8e188854637 author Thomas Graf Sat, 18 Jun 2005 22:53:12 -0700 committer David S. Miller Sat, 18 Jun 2005 22:53:12 -0700 [PKT_SCHED]: Make dsmark use the new dumping macros Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 758cc43c6d7326c62751fb516485e8e188854637 tree 5f5f2a9a9c9737f0461519dbaf8aae579ee6c87b parent 8f48bcd4ef11a69add178fc3111a77e7ee95bacd author Thomas Graf Sat, 18 Jun 2005 22:52:54 -0700 committer David S. Miller Sat, 18 Jun 2005 22:52:54 -0700 [PKT_SCHED]: Fix dsmark to apply changes consistent Fixes dsmark to do all configuration sanity checks first and only apply the changes if all of them can be applied without any errors. Also fixes the weak sanity checks for DSMARK_VALUE and DSMASK_MASK. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 8f48bcd4ef11a69add178fc3111a77e7ee95bacd tree 01891abeb950c721d37ac9247a669e4f2c904f5f parent e386c6eb431ca2e435d0202ad6997f3d2ccab2ce author Thomas Graf Sat, 18 Jun 2005 22:52:36 -0700 committer David S. Miller Sat, 18 Jun 2005 22:52:36 -0700 [RTNETLINK]: Add RTA_(PUT|GET) shortcuts for u8, u16, and flag Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e386c6eb431ca2e435d0202ad6997f3d2ccab2ce tree f8d3145d017b3918f632595b2e14a5547956597c parent 4b6ea82dd18c97598c3caaa8d0b1feec87857e70 author Thomas Graf Sat, 18 Jun 2005 22:52:09 -0700 committer David S. Miller Sat, 18 Jun 2005 22:52:09 -0700 [NEIGH]: Fix use of uninitialized variable when trimming in neightbl_fill_parms Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 4b6ea82dd18c97598c3caaa8d0b1feec87857e70 tree df97813ff895311f89824b3976a28a0a28eb7f98 parent c52a3f89f882b84fc422000655c023fe73e701cf author Thomas Graf Sat, 18 Jun 2005 22:51:43 -0700 committer David S. Miller Sat, 18 Jun 2005 22:51:43 -0700 [NETLINK]: Kill bogus NLMSG_SET_MULTIPART uses. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit c52a3f89f882b84fc422000655c023fe73e701cf tree 25069c0f52b19bc0ffef80aa0cb41193e0a483f6 parent 88121aea7bdb5fdc527388e262381829c4e1db16 author Thomas Graf Sat, 18 Jun 2005 22:51:26 -0700 committer David S. Miller Sat, 18 Jun 2005 22:51:26 -0700 [NETLINK]: Fix RTA_NEST_CANCEL(). Only skb_trim() if 'start' is non-NULL. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 88121aea7bdb5fdc527388e262381829c4e1db16 tree 9b5a020b737a6d13c1ecd131baf08fe873fbd446 parent c7fb64db001f83ece669c76a02d8ec2fdb1dd307 author Thomas Graf Sat, 18 Jun 2005 22:51:12 -0700 committer David S. Miller Sat, 18 Jun 2005 22:51:12 -0700 [NEIGHBOUR]: Remove unused fields in struct neigh_parms and neigh_table Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit c7fb64db001f83ece669c76a02d8ec2fdb1dd307 tree f8b8375b8b619c00db3399a4ef6f67e2636dfac7 parent 00768244923f66801958a8d2d103f7b65608c9b6 author Thomas Graf Sat, 18 Jun 2005 22:50:55 -0700 committer David S. Miller Sat, 18 Jun 2005 22:50:55 -0700 [NETLINK]: Neighbour table configuration and statistics via rtnetlink To retrieve the neighbour tables send RTM_GETNEIGHTBL with the NLM_F_DUMP flag set. Every neighbour table configuration is spread over multiple messages to avoid running into message size limits on systems with many interfaces. The first message in the sequence transports all not device specific data such as statistics, configuration, and the default parameter set. This message is followed by 0..n messages carrying device specific parameter sets. Although the ordering should be sufficient, NDTA_NAME can be used to identify sequences. The initial message can be identified by checking for NDTA_CONFIG. The device specific messages do not contain this TLV but have NDTPA_IFINDEX set to the corresponding interface index. To change neighbour table attributes, send RTM_SETNEIGHTBL with NDTA_NAME set. Changeable attribute include NDTA_THRESH[1-3], NDTA_GC_INTERVAL, and all TLVs in NDTA_PARMS unless marked otherwise. Device specific parameter sets can be changed by setting NDTPA_IFINDEX to the interface index of the corresponding device. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 00768244923f66801958a8d2d103f7b65608c9b6 tree 8d4ec56bd4edd9e3bb47938d01ef809d60a83aa3 parent f88a10d65620d97b6d0a7e352a3493c1b7e7409b author Thomas Graf Sat, 18 Jun 2005 22:50:38 -0700 committer David S. Miller Sat, 18 Jun 2005 22:50:38 -0700 [NETLINK] Routing attribute related shortcuts RTA_GET_U(32|64)(tlv) Assumes TLV is a u32/u64 field and returns its value. RTA_GET_[M]SECS(tlv) Assumes TLV is a u64 and transports jiffies converted to seconds or milliseconds and returns its value. RTA_PUT_U(32|64)(skb, type, value) Appends %value as fixed u32/u64 to %skb as TLV %type. RTA_PUT_[M]SECS(skb, type, jiffies) Converts %jiffies to secs/msecs and appends it as u64 to %skb as TLV %type. RTA_PUT_STRING(skb, type, string) Appends %NUL terminated %string to %skb as TLV %type. RTA_NEST(skb, type) Starts a nested TLV %type and returns the nesting handle. RTA_NEST_END(skb, nesting_handle) Finishes the nested TLV %nesting_handle, must be called symmetric to RTA_NEST(). Returns skb->len RTA_NEST_CANCEL(skb, nesting_handle) Cancel the nested TLV %nesting_handle and trim nested TLV from skb again, returns -1. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit f88a10d65620d97b6d0a7e352a3493c1b7e7409b tree 8d38311e479d5deb11cfab2c052c83c8b1321132 parent e52c1f17e4ea8e61bd26eb25f1a184202693c2b9 author Thomas Graf Sat, 18 Jun 2005 22:50:12 -0700 committer David S. Miller Sat, 18 Jun 2005 22:50:12 -0700 [NETLINK]: New message building macros NLMSG_PUT_ANSWER(skb, nlcb, type, length) Start a new netlink message as answer to a request, returns the message header. NLMSG_END(skb, nlh) End a netlink message, fixes total message length, returns skb->len. NLMSG_CANCEL(skb, nlh) Cancel the building process and trim whole message from skb again, returns -1. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e52c1f17e4ea8e61bd26eb25f1a184202693c2b9 tree d6094325ad30bf48f5296fd0faab85e8b9d76227 parent 2ad69c55a282315e6119cf7fd744f26a925bdfd2 author David S. Miller Sat, 18 Jun 2005 22:49:40 -0700 committer David S. Miller Sat, 18 Jun 2005 22:49:40 -0700 [NET]: Move sysctl_max_syn_backlog into request_sock.c This fixes the CONFIG_INET=n build failure noticed by Andrew Morton. Signed-off-by: David S. Miller commit 2ad69c55a282315e6119cf7fd744f26a925bdfd2 tree 85350a384e5c1c6646bd8f9e75c6f11c1f6752ff parent 0e87506fcc734647c7b2497eee4eb81e785c857a author Arnaldo Carvalho de Melo Sat, 18 Jun 2005 22:48:55 -0700 committer David S. Miller Sat, 18 Jun 2005 22:48:55 -0700 [NET] rename struct tcp_listen_opt to struct listen_sock Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0e87506fcc734647c7b2497eee4eb81e785c857a tree bb8863c59fdef2628f17b6773c52801792a57722 parent 60236fdd08b2169045a3bbfc5ffe1576e6c3c17b author Arnaldo Carvalho de Melo Sat, 18 Jun 2005 22:47:59 -0700 committer David S. Miller Sat, 18 Jun 2005 22:47:59 -0700 [NET] Generalise tcp_listen_opt This chunks out the accept_queue and tcp_listen_opt code and moves them to net/core/request_sock.c and include/net/request_sock.h, to make it useful for other transport protocols, DCCP being the first one to use it. Next patches will rename tcp_listen_opt to accept_sock and remove the inline tcp functions that just call a reqsk_queue_ function. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 60236fdd08b2169045a3bbfc5ffe1576e6c3c17b tree 4541c682cc72daf560ec516e2b5868089a88b6ea parent 2e6599cb899ba4b133f42cbf9d2b1883d2dc583a author Arnaldo Carvalho de Melo Sat, 18 Jun 2005 22:47:21 -0700 committer David S. Miller Sat, 18 Jun 2005 22:47:21 -0700 [NET] Rename open_request to request_sock Ok, this one just renames some stuff to have a better namespace and to dissassociate it from TCP: struct open_request -> struct request_sock tcp_openreq_alloc -> reqsk_alloc tcp_openreq_free -> reqsk_free tcp_openreq_fastfree -> __reqsk_free With this most of the infrastructure closely resembles a struct sock methods subset. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2e6599cb899ba4b133f42cbf9d2b1883d2dc583a tree b5d4fcca4d2a515fc3d3d20cefaaeebd8dbf661f parent 1944972d3bb651474a5021c9da8d0166ae19f1eb author Arnaldo Carvalho de Melo Sat, 18 Jun 2005 22:46:52 -0700 committer David S. Miller Sat, 18 Jun 2005 22:46:52 -0700 [NET] Generalise TCP's struct open_request minisock infrastructure Kept this first changeset minimal, without changing existing names to ease peer review. Basicaly tcp_openreq_alloc now receives the or_calltable, that in turn has two new members: ->slab, that replaces tcp_openreq_cachep ->obj_size, to inform the size of the openreq descendant for a specific protocol The protocol specific fields in struct open_request were moved to a class hierarchy, with the things that are common to all connection oriented PF_INET protocols in struct inet_request_sock, the TCP ones in tcp_request_sock, that is an inet_request_sock, that is an open_request. I.e. this uses the same approach used for the struct sock class hierarchy, with sk_prot indicating if the protocol wants to use the open_request infrastructure by filling in sk_prot->rsk_prot with an or_calltable. Results? Performance is improved and TCP v4 now uses only 64 bytes per open request minisock, down from 96 without this patch :-) Next changeset will rename some of the structs, fields and functions mentioned above, struct or_calltable is way unclear, better name it struct request_sock_ops, s/struct open_request/struct request_sock/g, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 1944972d3bb651474a5021c9da8d0166ae19f1eb tree cc638b40d8a7dfb4949d4a84a695ec8915c0fc2b parent ee57eef99b9e19194677f552ebc0690ec35d62db author Arnaldo Carvalho de Melo Sat, 18 Jun 2005 22:46:19 -0700 committer David S. Miller Sat, 18 Jun 2005 22:46:19 -0700 [SLAB] Introduce kmem_cache_name This is for use with slab users that pass a dynamically allocated slab name in kmem_cache_create, so that before destroying the slab one can retrieve the name and free its memory. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ee57eef99b9e19194677f552ebc0690ec35d62db tree f7a6568dc56d60bba6d68d427bd019f491dc81d1 parent 7d6dfe1f5bc4c56e0c31173014a099ec3fa35907 author Jamal Hadi Salim Sat, 18 Jun 2005 22:45:56 -0700 committer David S. Miller Sat, 18 Jun 2005 22:45:56 -0700 [IPSEC] Use NLMSG_LENGTH in xfrm_exp_state_notify Small fixup to use netlink macros instead of hardcoding. Signed-off-by: Jamal Hadi Salim Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 7d6dfe1f5bc4c56e0c31173014a099ec3fa35907 tree a6b04337c4f6d1ff7b050082dc7e69dc5617d3d0 parent f60f6b8f70c756fc786d68f02ec17a1e84db645f author Patrick McHardy Sat, 18 Jun 2005 22:45:31 -0700 committer David S. Miller Sat, 18 Jun 2005 22:45:31 -0700 [IPSEC] Fix xfrm_state leaks in error path Herbert Xu wrote: > @@ -1254,6 +1326,7 @@ static int pfkey_add(struct sock *sk, st > if (IS_ERR(x)) > return PTR_ERR(x); > > + xfrm_state_hold(x); This introduces a leak when xfrm_state_add()/xfrm_state_update() fail. We hold two references (one from xfrm_state_alloc(), one from xfrm_state_hold()), but only drop one. We need to take the reference because the reference from xfrm_state_alloc() can be dropped by __xfrm_state_delete(), so the fix is to drop both references on error. Same problem in xfrm_user.c. Signed-off-by: Patrick McHardy Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit f60f6b8f70c756fc786d68f02ec17a1e84db645f tree 8eee05de129439e4ffde876d2208a613178acfe3 parent e7443892f656d760ec1b9d92567178c87e100f4a author Herbert Xu Sat, 18 Jun 2005 22:44:37 -0700 committer David S. Miller Sat, 18 Jun 2005 22:44:37 -0700 [IPSEC] Use XFRM_MSG_* instead of XFRM_SAP_* This patch removes XFRM_SAP_* and converts them over to XFRM_MSG_*. The netlink interface is meant to map directly onto the underlying xfrm subsystem. Therefore rather than using a new independent representation for the events we can simply use the existing ones from xfrm_user. Signed-off-by: Herbert Xu commit e7443892f656d760ec1b9d92567178c87e100f4a tree 1fafb0ca8fd4b81af36a2460b4acad3f68bef8ab parent bf08867f91a43aa3ba2e4598c06c4769a6cdddf6 author Herbert Xu Sat, 18 Jun 2005 22:44:18 -0700 committer David S. Miller Sat, 18 Jun 2005 22:44:18 -0700 [IPSEC] Set byid for km_event in xfrm_get_policy This patch fixes policy deletion in xfrm_user so that it sets km_event.data.byid. This puts xfrm_user on par with what af_key does in this case. Signed-off-by: Herbert Xu commit bf08867f91a43aa3ba2e4598c06c4769a6cdddf6 tree 316504b4756a32d802ea037815f2d9022ab88bfe parent 4f09f0bbc1cb3c74e8f2047ad4be201a059829ee author Herbert Xu Sat, 18 Jun 2005 22:44:00 -0700 committer David S. Miller Sat, 18 Jun 2005 22:44:00 -0700 [IPSEC] Turn km_event.data into a union This patch turns km_event.data into a union. This makes code that uses it clearer. Signed-off-by: Herbert Xu commit 4f09f0bbc1cb3c74e8f2047ad4be201a059829ee tree d5ceba89f401b073cea383fa245c2b6299b7d07e parent 4666faab095230ec8aa62da6c33391287f281154 author Herbert Xu Sat, 18 Jun 2005 22:43:43 -0700 committer David S. Miller Sat, 18 Jun 2005 22:43:43 -0700 [IPSEC] Fix xfrm to pfkey SA state conversion This patch adjusts the SA state conversion in af_key such that XFRM_STATE_ERROR/XFRM_STATE_DEAD will be converted to SADB_STATE_DEAD instead of SADB_STATE_DYING. According to RFC 2367, SADB_STATE_DYING SAs can be turned into mature ones through updating their lifetime settings. Since SAs which are in the states XFRM_STATE_ERROR/XFRM_STATE_DEAD cannot be resurrected, this value is unsuitable. Signed-off-by: Herbert Xu commit 4666faab095230ec8aa62da6c33391287f281154 tree 36d61925bb02dd7de537ff65d35190eeebbf47fa parent 26b15dad9f1c19d6d4f7b999b07eaa6d98e4b375 author Herbert Xu Sat, 18 Jun 2005 22:43:22 -0700 committer David S. Miller Sat, 18 Jun 2005 22:43:22 -0700 [IPSEC] Kill spurious hard expire messages This patch ensures that the hard state/policy expire notifications are only sent when the state/policy is successfully removed from their respective tables. As it is, it's possible for a state/policy to both expire through reaching a hard limit, as well as being deleted by the user. Note that this behaviour isn't actually forbidden by RFC 2367. However, it is a quality of implementation issue. As an added bonus, the restructuring in this patch will help eventually in moving the expire notifications from softirq context into process context, thus improving their reliability. One important side-effect from this change is that SAs reaching their hard byte/packet limits are now deleted immediately, just like SAs that have reached their hard time limits. Previously they were announced immediately but only deleted after 30 seconds. This is bad because it prevents the system from issuing an ACQUIRE command until the existing state was deleted by the user or expires after the time is up. In the scenario where the expire notification was lost this introduces a 30 second delay into the system for no good reason. Signed-off-by: Herbert Xu commit 26b15dad9f1c19d6d4f7b999b07eaa6d98e4b375 tree 2ca3039488d9df023fb84eaa7c1f52aa8d1ce69c parent 3aa3dfb372576f30835a94409556e3c8681b5756 author Jamal Hadi Salim Sat, 18 Jun 2005 22:42:13 -0700 committer David S. Miller Sat, 18 Jun 2005 22:42:13 -0700 [IPSEC] Add complete xfrm event notification Heres the final patch. What this patch provides - netlink xfrm events - ability to have events generated by netlink propagated to pfkey and vice versa. - fixes the acquire lets-be-happy-with-one-success issue Signed-off-by: Jamal Hadi Salim Signed-off-by: Herbert Xu commit 3aa3dfb372576f30835a94409556e3c8681b5756 tree d54ad92c1680a332c6232d3d06315ccb51a74d32 parent 19fa95e9e999ee2b0d7adfbd1a687b136afcd6f1 parent 5ab6091db0b644f59c2f16c5e41028496b709160 author Linus Torvalds Sat, 18 Jun 2005 16:06:50 -0700 committer Linus Torvalds Sat, 18 Jun 2005 16:06:50 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 19fa95e9e999ee2b0d7adfbd1a687b136afcd6f1 tree 99bd4cf3f47965b52f43a5fde01b2e53e01f77ba parent ba483d574b43b05fa4c78550b874c7e24424ff2a parent 0107b3cf3225aed6ddde4fa8dbcd4ed643b34f4d author Linus Torvalds Sat, 18 Jun 2005 13:54:12 -0700 committer Linus Torvalds Sat, 18 Jun 2005 13:54:12 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6 commit cc63b1e12b378c44e074571d5688c23be823b04c tree f8feb187a8e8e12c822bb9fc18804f76341b1c45 parent 43fde784a698aff26de0fc1dbd84aa075b8cfb5f author Jan Beulich Fri, 17 Jun 2005 13:20:58 -0700 committer Linus Torvalds Sat, 18 Jun 2005 13:33:01 -0700 [PATCH] console blanking oops fix When significant delays happen during boot (e.g. with a kernel debugger, but the problem has also seen in other cases) the timeout for blanking the console may trigger, but the work scheduler may not have been initialized, yet. schedule_work() will oops over the null keventd_wq. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba483d574b43b05fa4c78550b874c7e24424ff2a tree e902a7015f1ea134c9877c9dcb201a913b4260ce parent cc63b1e12b378c44e074571d5688c23be823b04c author Martin Waitz Fri, 17 Jun 2005 13:20:59 -0700 committer Linus Torvalds Sat, 18 Jun 2005 13:33:01 -0700 [PATCH] DocBook: MAINTAINER entry Martin can maintain the DocBook system for us. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43fde784a698aff26de0fc1dbd84aa075b8cfb5f tree 948ad7acecc67e1e13acc7895a3028cdfb2a6560 parent c2a0f5943d8935766a42b2d0870aa4c645e3423d parent f9d1fe9630b94007902987c39d19f04dc6256eac author Linus Torvalds Sat, 18 Jun 2005 13:08:39 -0700 committer Linus Torvalds Sat, 18 Jun 2005 13:08:39 -0700 Merge 'upstream-2.6.13' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev commit c2a0f5943d8935766a42b2d0870aa4c645e3423d tree e3a0b1bd202725989d908cc4686dab4b1d9855d9 parent c83d9945c05570ba6b8ec5460c99d1ab7c6e6671 author Linus Torvalds Sat, 18 Jun 2005 13:06:22 -0700 committer Linus Torvalds Sat, 18 Jun 2005 13:06:22 -0700 Clean up subthread exec Make sure we re-parent itimers, and use BUG_ON() instead of an explicit conditional BUG(). commit c83d9945c05570ba6b8ec5460c99d1ab7c6e6671 tree d0fcc3a7791ebdb28125ee5f210209e88755f2f7 parent 0e396ee43e445cb7c215a98da4e76d0ce354d9d7 author Mika Kukkonen Sat, 18 Jun 2005 22:49:56 +0300 committer Linus Torvalds Sat, 18 Jun 2005 12:59:33 -0700 [PATCH] Fix typo in drivers/pci/pci-driver.c The git commit 794f5bfa77955c4455f6d72d8b0e2bee25f1ff0c accidentally suffers from a previous typo in that file (',' instead of ';' in end of line). Patch included. Signed-off-by: Mika Kukkonen (mikukkon@iki.fi) Signed-off-by: Linus Torvalds commit 0e396ee43e445cb7c215a98da4e76d0ce354d9d7 tree a6fde6a33965abb6077420cda31e3f1fbe8d3891 parent b8112df71cae7d6a86158caeb19d215f56c4f9ab parent 2089a0d38bc9c2cdd084207ebf7082b18cf4bf58 author Linus Torvalds Sat, 18 Jun 2005 11:42:35 -0700 committer Linus Torvalds Sat, 18 Jun 2005 11:42:35 -0700 Manual merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git This is a fixed-up version of the broken "upstream-2.6.13" branch, where I re-did the manual merge of drivers/net/r8169.c by hand, and made sure the history is all good. commit f9d1fe9630b94007902987c39d19f04dc6256eac tree 1fbe757adc72469ddbc3c1e4132392164b2e0271 parent 54258a8a2e81b11e486068f1cfab9fe4746b8420 parent 9ee1c939d1cb936b1f98e8d81aeffab57bae46ab author Jeff Garzik Sat, 18 Jun 2005 13:21:24 -0400 committer Jeff Garzik Sat, 18 Jun 2005 13:21:24 -0400 Merge /spare/repo/linux-2.6/ commit 20cf33ea16253b9eed387cba022cb014563db40e tree c553955752fd769e8b71d50ed0ed32324d9fd73f parent e65f38ed0bb7af367ff919c573cf29643fc5f9e8 author Russell King Sat, 18 Jun 2005 10:15:46 +0100 committer Russell King Sat, 18 Jun 2005 10:15:46 +0100 [PATCH] ARM SMP: Add basic support Integrator/CP platform Add basic SMP support for the Integrator/CP platform. Signed-off-by: Russell King commit e65f38ed0bb7af367ff919c573cf29643fc5f9e8 tree 2b89f5f0a9175cf1107bc52c7302eb1acf8aa1a1 parent 5ab6091db0b644f59c2f16c5e41028496b709160 author Russell King Sat, 18 Jun 2005 09:33:31 +0100 committer Russell King Sat, 18 Jun 2005 09:33:31 +0100 [PATCH] ARM SMP: Add support for startup of secondary processors Create a temporary page table to startup secondary processors. This page table must have a 1:1 virtual/physical mapping for the kernel in addition to the standard mappings to ensure that the secondary CPU can enable its MMU safely. Signed-off-by: Russell King commit 5ab6091db0b644f59c2f16c5e41028496b709160 tree d81a8e028cccd80a52fbe9b6386e2751949b978f parent 9ee1c939d1cb936b1f98e8d81aeffab57bae46ab parent ccea7a19e54349d4f40778304e1bb88da83d39e7 author Russell King Sat, 18 Jun 2005 09:06:59 +0100 committer Russell King Sat, 18 Jun 2005 09:06:59 +0100 Merge with ../linux-2.6-smp commit 0107b3cf3225aed6ddde4fa8dbcd4ed643b34f4d tree 9b9337ae627fc56a0eda43c60860765f25efaa0b parent 1c3f45ab2f7f879ea482501c83899505c31f7539 parent 9ee1c939d1cb936b1f98e8d81aeffab57bae46ab author David Woodhouse Sat, 18 Jun 2005 08:36:46 +0100 committer David Woodhouse Sat, 18 Jun 2005 08:36:46 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit b8112df71cae7d6a86158caeb19d215f56c4f9ab tree 19853b3182ed1a360237264caa360f8eb84beb96 parent 5d497cecdeae75351567d20b86d8a3a05e7f48ed author Lee Revell Wed, 15 Jun 2005 14:19:03 -0400 committer James Bottomley Fri, 17 Jun 2005 20:37:11 -0500 [SCSI] Add DMA mask constants other than 32 and 64 bit Signed-Off-By: Lee Revell Signed-off-by: James Bottomley commit 5d497cecdeae75351567d20b86d8a3a05e7f48ed tree f46400c6817f0e6576e3825ea6fa5b7dc02527df parent 3afa294c40013be5d8180005002e3f648d04d942 author Mark Haverkamp Fri, 17 Jun 2005 13:38:04 -0700 committer James Bottomley Fri, 17 Jun 2005 20:36:28 -0500 [SCSI] aacraid: regression fix The fixes for sparse warnings mixed in with the fixups for the raw_srb handler resulted in a bug that showed up in the 32 bit environments when trying to issue calls directly to the physical devices that are part of the arrays (ioctl scsi passthrough). Received from Mark Salyzyn at adaptec. Applied comment from Christoph to remove cpu_to_le32(0) Applied Mark S fix of missing memcpy. It applies to the scsi-misc-2.6 git tree. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 3afa294c40013be5d8180005002e3f648d04d942 tree 8a8b7464fd8ee4901288afb3e9e8d761ef45647d parent a1541d5af66d02426655b1498f814c52347dd7d3 parent 3237ee78fc00f786d5f5aec6f9310b0e39069f15 author James Bottomley Fri, 17 Jun 2005 19:04:18 -0500 committer James Bottomley Fri, 17 Jun 2005 19:04:18 -0500 merge by hand (qla_os.c mismerge) commit 3237ee78fc00f786d5f5aec6f9310b0e39069f15 tree 4c94e70ab846ffcb8bb5715fb3c8d8473358a323 parent 9ee1c939d1cb936b1f98e8d81aeffab57bae46ab parent df0ae2497ddefd72a87f3a3b34ff32455d7d4ae0 author James Bottomley Fri, 17 Jun 2005 18:42:23 -0500 committer James Bottomley Fri, 17 Jun 2005 18:42:23 -0500 merge by hand (fix up qla_os.c merge error) commit df0ae2497ddefd72a87f3a3b34ff32455d7d4ae0 tree 552e02a44a21bd38db91729c85219542c2930ae2 parent 68b3aa7c9805aee9005a8ca53c5e99177961fbb9 author Jeff Garzik Sat, 28 May 2005 07:57:14 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:05:18 -0500 [SCSI] allow sleeping in ->eh_host_reset_handler() Signed-off-by: James Bottomley commit 68b3aa7c9805aee9005a8ca53c5e99177961fbb9 tree 3f28891df0b3a1ecdfe6a98547d8f3c43b74e905 parent 94d0e7b805961c44e4dc486ffc21075084bb7175 author Jeff Garzik Sat, 28 May 2005 07:56:31 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:05:10 -0500 [SCSI] allow sleeping in ->eh_bus_reset_handler() Signed-off-by: James Bottomley commit 94d0e7b805961c44e4dc486ffc21075084bb7175 tree 1609752ea7a9adb28583147f0bea33a9f10877d7 parent 8fa728a26886f56a9ee10a44fea0ddda301d21c3 author Jeff Garzik Sat, 28 May 2005 07:55:48 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:05:03 -0500 [SCSI] allow sleeping in ->eh_device_reset_handler() Signed-off-by: James Bottomley commit 8fa728a26886f56a9ee10a44fea0ddda301d21c3 tree 105ead5c90057400abae0c8aa9e2b5ba1818c327 parent 3471c288036bf0835a82d0b1bbce2002f6e68390 author Jeff Garzik Sat, 28 May 2005 07:54:40 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:04:55 -0500 [SCSI] allow sleeping in ->eh_abort_handler() Signed-off-by: James Bottomley commit 3471c288036bf0835a82d0b1bbce2002f6e68390 tree 9a646a16877b7c600c583a32f703dd02a621c603 parent e3df715501be3329986e5d9dfa9a477f49e7996b author Jeff Garzik Sat, 28 May 2005 07:52:51 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:04:45 -0500 [SCSI] Remove no-op implementations of SCSI EH hooks Drivers need not implement a hook that returns FAILED, and does nothing else, since the SCSI midlayer code will do that for us. Signed-off-by: James Bottomley commit e3df715501be3329986e5d9dfa9a477f49e7996b tree 3602c4bbca8bca9b615b93099de53717bc932591 parent 12021fff2bae7fab01c4bf283f3cd9bc6997d8c4 author Jeff Garzik Sat, 28 May 2005 07:47:39 -0400 committer Jeff Garzik Fri, 17 Jun 2005 12:04:37 -0500 [SCSI] Remove unnecessary locking around completion function calls The SCSI ->done() hook should not be called from inside a spinlock. Drivers that do this are mostly cut-n-paste from 2.2.x-era. Signed-off-by: James Bottomley commit 12021fff2bae7fab01c4bf283f3cd9bc6997d8c4 tree 9c0b0844afa76da7a1c8d7cdfef67f8bf1144453 parent d736a27b7efbc835c7b83db5c1bbd41edbadf32e author James Bottomley Mon, 13 Jun 2005 20:58:56 -0500 committer James Bottomley Mon, 13 Jun 2005 21:37:27 -0500 [SCSI] aic7xxx: fix the BIOS limits setting routines Following the go around over the SONY DVD that needs artificial limits, this should be the correct code for all cases (minus the debugging prints). Signed-off-by: James Bottomley commit d736a27b7efbc835c7b83db5c1bbd41edbadf32e tree cefcc6dfb1853b6d008d67124b032bdfd6ff990b parent cd8a383ebc93f8ded9cefee53a337542c3aacad7 author Andreas Herrmann Mon, 13 Jun 2005 13:23:57 +0200 committer James Bottomley Mon, 13 Jun 2005 21:37:01 -0500 [SCSI] zfcp: fix handling of port boxed and lun boxed fsf states From: Maxim Shchetynin Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit cd8a383ebc93f8ded9cefee53a337542c3aacad7 tree f5a86536382783893f88df2ed082fec11d391285 parent 1db2c9c0931a53fe013db55fd2ff58859db31e8d author Andreas Herrmann Mon, 13 Jun 2005 13:22:25 +0200 committer James Bottomley Mon, 13 Jun 2005 21:34:35 -0500 [SCSI] zfcp: fix module parameter parsing From: Heiko Carstens Fixes module parameter parsing for "device" parameter. The original module parameter was changed while parsing it. This corrupted the output in sysfs (/sys/module/zfcp/parameters/device). Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 1db2c9c0931a53fe013db55fd2ff58859db31e8d tree 1134627ac98d91896dcdb161d5df7ecef60a4de3 parent 64b29a130901d5b8578e9f602cf2dae56aaff224 author Andreas Herrmann Mon, 13 Jun 2005 13:20:35 +0200 committer James Bottomley Mon, 13 Jun 2005 21:32:48 -0500 [SCSI] zfcp: fix bug during adapter shutdown Fixes a race between zfcp_fsf_req_dismiss_all and zfcp_qdio_reqid_check. During adapter shutdown it occurred that a request was cleaned up twice. First during its normal completion. Second when dismiss_all was called. The fix is to serialize access to fsf request list between zfcp_fsf_req_dismiss_all and zfcp_qdio_reqid_check and delete a fsf request from the list if its completion is triggered. (Additionally a rwlock was replaced by a spinlock and fsf_req_cleanup was eliminated.) Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 64b29a130901d5b8578e9f602cf2dae56aaff224 tree fb543d8a7c007416d99128246d4e71580ecd94ff parent 516a4201bacfd61ea957039d6f47276ee9c32a0d author Andreas Herrmann Mon, 13 Jun 2005 13:18:56 +0200 committer James Bottomley Mon, 13 Jun 2005 21:30:05 -0500 [SCSI] zfcp: fix: problem in send_els_handler when D_ID assignment changes From: Maxim Shchetynin Fixes a bug in zfcp_send_els_handler. If D_ID assignments for ports are changing between initiation of one ELS request and its completion the wrong port might be accessed in the completion for that ELS request. Thus a pointer to the port has to be passed for ELS requests to identify the port structure if required. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 516a4201bacfd61ea957039d6f47276ee9c32a0d tree 2cd30258cf21fd3f2fa115d4f8becac8a2b78a55 parent 65a8d4e1a3754f0bfaa62949ebe919930e3127a1 author Andreas Herrmann Mon, 13 Jun 2005 13:17:44 +0200 committer James Bottomley Mon, 13 Jun 2005 21:29:14 -0500 [SCSI] zfcp: fix: mark fsf request failed when receiving unknown status qualifier From: Maxim Shchetynin Correct a bug in zfcp_fsf_send_fcp_command_handler. An fsf request was not marked as failed if an unknown status qualifier was returned. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 65a8d4e1a3754f0bfaa62949ebe919930e3127a1 tree d1398c39556ece53c1ba5788d1f585a8673dd28d parent 22753fa514aad02342e647ad13048caa282d9238 author Andreas Herrmann Mon, 13 Jun 2005 13:16:27 +0200 committer James Bottomley Mon, 13 Jun 2005 21:28:17 -0500 [SCSI] zfcp: fix: reopen port only if link-test fails From: Maxim Shchetynin Reopen a remote port only if the link-test fails. This avoids that a port is unnecessarily reopened. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 22753fa514aad02342e647ad13048caa282d9238 tree c21c84da406344fd055e226a2fb066bb19a3e673 parent 66c8684abf80a9999392d639627afea80ac62e06 author Andreas Herrmann Mon, 13 Jun 2005 13:15:15 +0200 committer James Bottomley Mon, 13 Jun 2005 21:26:41 -0500 [SCSI] zfcp: fix: allow more time for adapter initialization From: Maxim Shchetynin Extend the time for adapter initialization: In case of protocol status HOST_CONNECTION_INITIALIZING for the exchange config data command do a first retry in 1 second, then double the sleep time for each following retry until recovery exceeds 2 minutes. The old behaviour of allowing 6 retries with .5 seconds delay between retries was insufficient and qdio queues were shut down too erarly. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 66c8684abf80a9999392d639627afea80ac62e06 tree 7c6aec32754b0fba3986289263a8bd85a6ea1b77 parent d6cbbad7296538b6a38c0fe36e6ecf67f1e600a7 author Andreas Herrmann Mon, 13 Jun 2005 13:13:45 +0200 committer James Bottomley Mon, 13 Jun 2005 21:23:37 -0500 [SCSI] zfcp: fix wrong handling of failed requests for GID_PN command Fixes the handling of failed requests for GID_PN nameserver command: Set ZFCP_STATUS_PORT_INVALID_WWPN only if indicated by response payload for GID_PN nameserver command and not if fsf request fails. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit d6cbbad7296538b6a38c0fe36e6ecf67f1e600a7 tree 9cf9cfeedd3b5aaa2af0a548cc1c84b06bc76d48 parent 8eb379425765bfc9a44f06f210224b10066fc46f author Christoph Hellwig Sat, 11 Jun 2005 00:17:03 +0200 committer James Bottomley Sat, 11 Jun 2005 18:45:06 -0500 [SCSI] aic7xxx: clean up eisa support - the eisa layer only probes when it's actually safe, no need for a driver option - store the id table directly in linux format instead of convering at runtime Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 8eb379425765bfc9a44f06f210224b10066fc46f tree 267308a971306ca9c510b6ecff410263ae18af9c parent 3d65692aed727c7fb4105f03795781ace437a84e author Christoph Hellwig Sat, 11 Jun 2005 00:13:30 +0200 committer James Bottomley Sat, 11 Jun 2005 18:44:12 -0500 [SCSI] aic7xxx: remove some dead wood especially the now dead scsi_cmnd overlay Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 3d65692aed727c7fb4105f03795781ace437a84e tree adbbd860235025d102a2aeeec130f0687d180d1e parent 6bc9dace767f1fffdf975b3398b3c4e37cd5ae18 author Christoph Hellwig Sat, 11 Jun 2005 00:14:30 +0200 committer James Bottomley Sat, 11 Jun 2005 18:43:48 -0500 [SCSI] aic7xxx: remove ahc_find_softc there's absolutely no reason not to trust the driver private data Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6bc9dace767f1fffdf975b3398b3c4e37cd5ae18 tree e4b65d5bb76c34e6df7b9b5950a0cbd1413d676d parent eb0df9962d97f7156a0870aced9018bf5c8f54c1 author Andreas Herrmann Fri, 10 Jun 2005 10:16:33 +0200 committer James Bottomley Sat, 11 Jun 2005 18:42:50 -0500 [SCSI] zfcp: remove flags_dump feature Removes the rarely used "flags_dump" mechanism of zfcp. Equivalent debug information will be provided with a reworking of zfcp's s390dbf-facilities which is in preparation. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit eb0df9962d97f7156a0870aced9018bf5c8f54c1 tree 6f31b8449de63c303f3a355d367808c4e933387b parent e431223eca7e0785a5402999b43b16622409017f author mike.miller@hp.com Fri, 10 Jun 2005 14:51:04 -0500 committer James Bottomley Sat, 11 Jun 2005 18:41:56 -0500 [SCSI] cciss 2.6 DMA mapping Patch removes our homegrown DMA masks and uses the ones defined in the kernel. This patch replaces the broken one I sent in earlier. It has been tested and works. Please discard the first submission. Signed-off-by: Mike Miller Signed-off-by: James Bottomley commit e431223eca7e0785a5402999b43b16622409017f tree 8afb603aff3bad2bd97607f14f11b6e2c44f9116 parent 765c4d45b8cae32faff358aa760a33cde38ea1a7 author Christoph Hellwig Sat, 11 Jun 2005 00:15:31 +0200 committer James Bottomley Sat, 11 Jun 2005 18:38:41 -0500 [SCSI] aic7xxx: do not check for duplicate pci ids pci layer handles this just fine for us Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 765c4d45b8cae32faff358aa760a33cde38ea1a7 tree 4662b577ae8f31161fefc97411cc185451c63e2e parent 0bb14afe10dddbc05c3244bd224b6858de0ee319 author Christoph Hellwig Sat, 11 Jun 2005 00:26:00 +0200 committer James Bottomley Sat, 11 Jun 2005 18:38:21 -0500 [SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit a1541d5af66d02426655b1498f814c52347dd7d3 tree 02d041e54ebaec744d30ebf6012e305b9673bec0 parent 27198d855abbfc82df69e81b6c8d2f333580114c author Andrew Vasquez Thu, 09 Jun 2005 17:21:28 -0700 committer James Bottomley Sat, 11 Jun 2005 13:06:22 -0500 [SCSI] qla2xxx: Pull-down scsi-host-addition to follow board initialization. Return to previous held-logic of calling scsi_add_host() only after the board has been completely initialized. Also return pci_*() error-codes during probe failure paths. This also corrects an issue where only lun 0 is being scanned for a given port. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 54258a8a2e81b11e486068f1cfab9fe4746b8420 tree 9d5f7b5bf00439b95fbb4bd68ef21d2c1cfad7fa parent a0ea7328e3f4971bbc2287c344650b08c2cec375 author Narendra Sankar Tue, 07 Jun 2005 11:55:14 -0700 committer Jeff Garzik Thu, 09 Jun 2005 03:10:56 -0400 [PATCH] sata_svw: bump version number Bump sata_svw.c version number to indicate support for BCM5785(HT1000) Southbridge SATA controller. Signed-off-by: Narendra Sankar diff -uNr linux-2.6.12-rc5/drivers/scsi/sata_svw.c linux-2.6.12-rc5.brcm/drivers/scsi/sata_svw.c commit 2089a0d38bc9c2cdd084207ebf7082b18cf4bf58 tree ecdbd64b6587bab6f5c4dac03a0fd10f70cf3026 parent 03d661d3d7dd2c20330d775c13157419049f1617 parent 0b2d7fea1c3893c3790e0b89c310ec1321f1b8c0 author Sat, 04 Jun 2005 17:54:39 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:54:39 -0400 Automatic merge of /spare/repo/netdev-2.6 branch skge commit 03d661d3d7dd2c20330d775c13157419049f1617 tree f4f85c70a56706b9966f24b638ffdfa6a9f98502 parent 1a9505996dd0c12a2e56d2c6af00846e75a3850d parent fdecea66687d76c7d19be6559586df5c51023d11 author Sat, 04 Jun 2005 17:19:42 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:19:42 -0400 Automatic merge of /spare/repo/netdev-2.6 branch starfire commit 1a9505996dd0c12a2e56d2c6af00846e75a3850d tree 311e431cad5a6acd09442d92fed36c1bd4d0c54c parent bdb7a3427be1e31327df0543cc397bf3c994b039 parent ea9375607f8b312cf4389d68909330ed32a622ef author Sat, 04 Jun 2005 17:15:04 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:15:04 -0400 Automatic merge of /spare/repo/netdev-2.6 branch smc91x commit bdb7a3427be1e31327df0543cc397bf3c994b039 tree a5cc2585912388a454e23177181c6dd365983681 parent 140fedb5f2efd1f23b26afb2d812004556ba9515 parent 5aa83a4c0a1568257ff7e249d39af64f75978b97 author Sat, 04 Jun 2005 17:12:32 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:12:32 -0400 Automatic merge of /spare/repo/netdev-2.6 branch remove-drivers commit 140fedb5f2efd1f23b26afb2d812004556ba9515 tree e645668185518a7947c3cd71b203efaa89c2332b parent 91bcc018f9fc5547875e9ec5a3dc09cbc70d4f8e parent 7d17c1d606f6e89778f05554ddea43791d5c92a0 author Sat, 04 Jun 2005 17:11:28 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:11:28 -0400 Automatic merge of /spare/repo/netdev-2.6 branch iff-running commit 91bcc018f9fc5547875e9ec5a3dc09cbc70d4f8e tree 91e65ca2471e1ea570ddc2cbb23f67c6d89fb91d parent 105adfc63f921a9976c5abc4ff079e9fec197ed7 parent 1f15d694522af9cd7492695f11dd2dc77b6cf098 author Sat, 04 Jun 2005 17:08:24 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:08:24 -0400 Automatic merge of /spare/repo/netdev-2.6 branch we18 commit 105adfc63f921a9976c5abc4ff079e9fec197ed7 tree 0f1360ea40543ebaa3f93451d18b1333a403cbdd parent 7f6a57a907c8655e78a654ab62da86e61ef7f2c9 parent 99417769bae55d34348320d7a05615e8a891fd3d author Sat, 04 Jun 2005 17:07:40 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:07:40 -0400 Automatic merge of /spare/repo/netdev-2.6 branch viro commit 7f6a57a907c8655e78a654ab62da86e61ef7f2c9 tree e7a41476834e4ac7f12225f7370dc219c9d8d291 parent 4d8e11dcc29f4983bec67506d77728a04082e92d parent befc9e10d64f93472aff0b0280968f447f5402df author Sat, 04 Jun 2005 17:06:57 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:06:57 -0400 Automatic merge of /spare/repo/netdev-2.6 branch r8169 commit 4d8e11dcc29f4983bec67506d77728a04082e92d tree 0d0041dd9c53593d154514e16c18413d3e2da630 parent 21035ffeb7fa5abf6f178befc8b34752a629e1bf parent 84d8a2fb56b1d3c915591a2c1aa321b783c7d00f author Sat, 04 Jun 2005 17:05:05 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:05:05 -0400 Automatic merge of /spare/repo/netdev-2.6 branch orinoco-hch commit 21035ffeb7fa5abf6f178befc8b34752a629e1bf tree 9e8d0150ffcc94ada7dbf52b28e39000e76d3458 parent 14d8ce70d5c2634982ca564039466bce70f4ff18 parent 516cd15f1c0dd6eada3619915b113b4e5baccc7a author Sat, 04 Jun 2005 17:03:55 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:03:55 -0400 Automatic merge of /spare/repo/netdev-2.6 branch ppp commit 14d8ce70d5c2634982ca564039466bce70f4ff18 tree 4165b27d1b06152d141d2fea12bce10efc8e7c4f parent 79121839aad7153907b92462759675266f1f2ac4 parent b3dd65f958354226275522b5a64157834bdc5415 author Sat, 04 Jun 2005 17:03:09 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:03:09 -0400 Automatic merge of /spare/repo/netdev-2.6 branch hdlc commit 79121839aad7153907b92462759675266f1f2ac4 tree 04193828c34aa1b46149840b2b24cdb703aaab5c parent b00b2f70ddde86b0a4674b8518c78d3ad5dc68b7 parent a1365275e745bb0a173c918a52bcdfa6ce122f7e author Sat, 04 Jun 2005 17:02:29 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:02:29 -0400 Automatic merge of /spare/repo/netdev-2.6 branch dm9000 commit b00b2f70ddde86b0a4674b8518c78d3ad5dc68b7 tree ab7bf9390c57c8e2d7b935a8b425f7fd8f42289c parent df77cc44dcc938d53c89f1cc2b79410f69236335 parent 22f714b64b55012fa4e0d77132fa82719180f994 author Sat, 04 Jun 2005 17:01:45 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:01:45 -0400 Automatic merge of /spare/repo/netdev-2.6 branch 8139too-iomap commit df77cc44dcc938d53c89f1cc2b79410f69236335 tree cf47d6fd8349441a6b07aaa7d141c62b4418555b parent 8be3de3fd8469154a2b3e18a4712032dac5b4a53 parent a78d8927966dcc41bba52da3a10935072a592417 author Sat, 04 Jun 2005 17:01:33 -0400 committer Jeff Garzik Sat, 04 Jun 2005 17:01:33 -0400 Automatic merge of /spare/repo/netdev-2.6 branch 8139cp commit a0ea7328e3f4971bbc2287c344650b08c2cec375 tree dfc70d052a2f78aaed66fcffb6b7bfaf9b6a0d67 parent 70c85233814949184070ee35f8929dde64402dc9 author Jeff Garzik Sat, 04 Jun 2005 01:13:15 -0400 committer Jeff Garzik Sat, 04 Jun 2005 01:13:15 -0400 [libata] ahci: finish ATAPI support (hopefully) commit 70c85233814949184070ee35f8929dde64402dc9 tree 4a44a9a886be12b9477fd254d693f4fbb0297527 parent 31c94a6e987af162ac5ede83cddf49870cd1f2ed parent 73561695b2e77473e353a5ae63bab81ed5098d8e author Sat, 04 Jun 2005 01:02:00 -0400 committer Jeff Garzik Sat, 04 Jun 2005 01:02:00 -0400 Merge of /spare/repo/libata-dev branch bridge-detect commit 31c94a6e987af162ac5ede83cddf49870cd1f2ed tree 9e4bb09503eed0692082a1cd0afa3c7b39afcba9 parent 1700c80d8778cf0d024bf6cbdd1c9e9014764530 parent 60bf09a366c873aab36e3b3110ee9f5bd89a1a6d author Sat, 04 Jun 2005 00:59:09 -0400 committer Jeff Garzik Sat, 04 Jun 2005 00:59:09 -0400 Automatic merge of /spare/repo/libata-dev branch svw commit 1700c80d8778cf0d024bf6cbdd1c9e9014764530 tree 2e76ad184a07b16abcd8f09d4d198d160e762d16 parent d3c39d14d1369c520916ff7a77b2b063e7a75557 parent ae20ea8525a80a863f70d332cf47b71bd9f54c1f author Sat, 04 Jun 2005 00:58:52 -0400 committer Jeff Garzik Sat, 04 Jun 2005 00:58:52 -0400 Merge of /spare/repo/libata-dev branch pdc20619 commit d3c39d14d1369c520916ff7a77b2b063e7a75557 tree 02daeb8af1f5db2451810a9a6407249aaf5c3e6e parent 8be3de3fd8469154a2b3e18a4712032dac5b4a53 parent 4b0060f4bdec7484e8d1ad68f7b28b3f1c2e6bf8 author Sat, 04 Jun 2005 00:52:59 -0400 committer Jeff Garzik Sat, 04 Jun 2005 00:52:59 -0400 Automatic merge of /spare/repo/libata-dev branch ahci-msi commit 4b0060f4bdec7484e8d1ad68f7b28b3f1c2e6bf8 tree f8037f79b3a02aacf7d934229302a6845728aedb parent ead5de996fc35f97fa120b414bfc098f1bca29d2 author Jeff Garzik Sat, 04 Jun 2005 00:50:22 -0400 committer Jeff Garzik Sat, 04 Jun 2005 00:50:22 -0400 [libata] ahci: minor PCI MSI cleanup Replace 'have_msi' variable with a bit in the existing 'flags' variable,. AHCI_FLAG_MSI. commit ae20ea8525a80a863f70d332cf47b71bd9f54c1f tree 9d3cedeb65db521a8436b545bd91641549a18d24 parent f497ba735fc9ff4e35a19641143708b3be1c7061 parent 8be3de3fd8469154a2b3e18a4712032dac5b4a53 author Sat, 04 Jun 2005 00:40:40 -0400 committer Jeff Garzik Sat, 04 Jun 2005 00:40:40 -0400 Automatic merge of /spare/repo/linux-2.6/.git branch HEAD commit 73561695b2e77473e353a5ae63bab81ed5098d8e tree d039affaa54d38985e41566e4d62e0aa6a170287 parent 6f2f38128170814e151cfedf79532e19cd179567 parent 8be3de3fd8469154a2b3e18a4712032dac5b4a53 author Fri, 03 Jun 2005 23:54:56 -0400 committer Jeff Garzik Fri, 03 Jun 2005 23:54:56 -0400 Automatic merge of /spare/repo/linux-2.6/.git branch HEAD commit 0bb14afe10dddbc05c3244bd224b6858de0ee319 tree 08abf734eaedc75801f43dfac3e0474de770741d parent 9a8bc9b84b783fd92315e56ce4d4ee78a2c6819c author Mark Haverkamp Wed, 01 Jun 2005 10:24:38 -0700 committer James Bottomley Fri, 03 Jun 2005 12:44:12 -0500 [SCSI] 2.6 aacraid: updated sysfs files This patch adds some files into the /sys/class/scsi_host/hostN directories for aacraid adapters: model vendor hba_kernel_version hba_monitor_version hba_bios_version serial_number Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 9a8bc9b84b783fd92315e56ce4d4ee78a2c6819c tree 752bf5545d8a7a9c6045cf6994deff1f96636391 parent 597487b9ba875785f3ee9bd541073e9edd2e700a author James Bottomley Tue, 31 May 2005 18:35:39 -0500 committer James Bottomley Fri, 03 Jun 2005 12:39:53 -0500 [SCSI] update spi transport class so that u320 Domain Validation works There are several extra things that have to be considered when running Domain Validation on a u320 target (notably how you fall back). Hopefully this should help us when someone adds this transport class to aic79xx. I've tested this on the lsi1030, so I know it works correctly up to u320. Signed-off-by: James Bottomley commit 597487b9ba875785f3ee9bd541073e9edd2e700a tree f573d4cf734042b0424b653fdc5ae2602eb2eb2d parent 521314c122ea0cd58e5184443b8cc28f82ee2136 author James Bottomley Fri, 03 Jun 2005 09:49:01 -0500 committer James Bottomley Fri, 03 Jun 2005 12:38:39 -0500 [SCSI] fix aic7xxx coupled parameter problem For setting coupled parameters, we need to be comparing against the goal settings, not the current ones. Signed-off-by: James Bottomley commit 521314c122ea0cd58e5184443b8cc28f82ee2136 tree 257d5792baa0f957b4fe1f71607a6882a5032dc9 parent b1abb4d67f2a706f52a95064001e0c55d9be2d26 author brking@us.ibm.com Tue, 24 May 2005 09:49:59 -0500 committer James Bottomley Fri, 03 Jun 2005 12:25:35 -0500 [SCSI] sg: Command completion after remove oops A problem exists todayin the sg driver that if an SG_IO request is outstanding to a device when it is removed from the system. The system may oops if that command completes later in time. 1. sg_remove gets called 2. sg_remove calls sg_finish_req_req on all pending requests This removes the Sg_request's from the headrp list in the Sg_fd 3. The sleeping SG_IO ioctl is woken. It does nothing and returns. 4. The caller closes the fd, which invokes sg_release 5. sg_release calls sg_remove_sfp. It finds no outstanding commands since the headrp list is empty, so it calls __sg_remove_sfp, which frees the sfp. 6. Now when sg_cmd_done gets called, sg uses upper_private_data in the Scsi_Request, which should point to the srp, which has been freed, so it points to freed memory. 7. sg then dereferences the srp pointer to get the sfp, and we oops. The fix is to NULL out the upper_private_data field in this path, which sg_cmd_done already checks for, which will prevent the oops from occurring. cpu 0x1: Vector: 300 (Data Access) at [c00000000fff7aa0] pc: d0000000002bbea8: .sg_cmd_done+0x70/0x394 [sg] lr: d000000000073304: .scsi_finish_command+0x10c/0x130 [scsi_mod] sp: c00000000fff7d20 msr: 8000000000009032 dar: 2f70726f63202f78 dsisr: 40000000 current = 0xc0000000024589b0 paca = 0xc0000000003da800 pid = 7, comm = events/1 [c00000000fff7dc0] d000000000073304 .scsi_finish_command+0x10c/0x130 [scsi_mod] [c00000000fff7e50] d00000000007317c .scsi_softirq+0x140/0x168 [scsi_mod] [c00000000fff7ef0] c0000000000634dc .__do_softirq+0xa0/0x17c [c00000000fff7f90] c000000000018430 .call_do_softirq+0x14/0x24 [c00000000ed472e0] c0000000000142e0 .do_softirq+0x74/0x9c [c00000000ed47370] c000000000013c9c .do_IRQ+0xe8/0x100 [c00000000ed473f0] c00000000000ae34 HardwareInterrupt_entry+0x8/0x54 c00000000003df28 .smp_call_function+0 x100/0x1d0 [c00000000ed47780] c0000000000ba99c .invalidate_bh_lrus+0x30/0x70 [c00000000ed47810] c0000000000b91a0 .invalidate_bdev+0x18/0x3c [c00000000ed478a0] c0000000000da7b8 .__invalidate_device+0x70/0x94 [c00000000ed47930] c0000000001d40bc .invalidate_partition+0x4c/0x7c [c00000000ed479c0] c00000000010a944 .del_gendisk+0x48/0x15c [c00000000ed47a50] d00000000003d55c .sd_remove+0x34/0xe4 [sd_mod] [c00000000ed47ae0] c0000000001c5d30 .device_release_driver+0x90/0xb4 [c00000000ed47b70] c0000000001c6130 .bus_remove_device+0xb0/0x12c [c00000000ed47c00] c0000000001c4378 .device_del+0x120/0x198 [c00000000ed47ca0] d00000000007dcdc .scsi_remove_device+0xb4/0x194 [scsi_mod] [c00000000ed47d30] d0000000000a5864 .ipr_worker_thread+0x1d4/0x27c [ipr] [c00000000ed47dd0] c0000000000734c4 .worker_thread+0x238/0x2f4 [c00000000ed47ee0] c0000000000796c0 .kthread+0xcc/0x11c [c00000000ed47f90] c000000000018ad0 .kernel_thread+0x4c/0x6c Signed-off-by: Brian King Signed-off-by: James Bottomley commit 1c3f45ab2f7f879ea482501c83899505c31f7539 tree 672465b3b9b3e2e26a8caf74ed64aa6885c52c13 parent 4bcff1b37e7c3aed914d1ce5b45994adc7dbf455 parent e0d6d71440a3a35c6fc2dde09f8e8d4d7bd44dda author David Woodhouse Thu, 02 Jun 2005 16:39:11 +0100 committer David Woodhouse Thu, 02 Jun 2005 16:39:11 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4bcff1b37e7c3aed914d1ce5b45994adc7dbf455 tree 0ab25e1679752cd6feaba64e7c7a495afc9d6a28 parent 8f37d47c9bf74cb48692691086b482e315d07f40 author David Woodhouse Thu, 02 Jun 2005 12:13:21 +0100 committer David Woodhouse Thu, 02 Jun 2005 12:13:21 +0100 AUDIT: Fix user pointer deref thinko in sys_socketcall(). I cunningly put the audit call immediately after the copy_from_user().... but used the _userspace_ copy of the args still. Let's not do that. Signed-off-by: David Woodhouse commit ccea7a19e54349d4f40778304e1bb88da83d39e7 tree dd42dbff31b2dff8b226f1b61eff4b958fca5496 parent 49f680ea7bac5c679fb6374a326a164a3fba07cc author Russell King Tue, 31 May 2005 22:22:32 +0100 committer Russell King Tue, 31 May 2005 22:22:32 +0100 [PATCH] ARM SMP: Fix vector entry The current vector entry system does not allow for SMP. In order to work around this, we need to eliminate our reliance on the fixed save areas, which breaks the way we enable alignment traps. This patch changes the way we handle the save areas such that we can have one per CPU. Signed-off-by: Russell King commit 49f680ea7bac5c679fb6374a326a164a3fba07cc tree 3555b494abcdbd9fdaa1c3722a81c1923af3c922 parent 791be9b976ba621b21745c30a7fca225fada9110 author Russell King Tue, 31 May 2005 18:02:00 +0100 committer Russell King Tue, 31 May 2005 18:02:00 +0100 [PATCH] ARM SMP: convert alignment enable The current vector entry system does not allow for SMP. In order to work around this, we need to eliminate our reliance on the fixed save areas, which breaks the way we enable alignment traps. This patch makes the alignment trap enable code independent of the way we handle the save areas. Signed-off-by: Russell King commit ead5de996fc35f97fa120b414bfc098f1bca29d2 tree a9ec0a6394f6cb6cabe4e7d204aa350d631daea3 parent edb3e182b6f33c91ba8778e2198220c12712d3ad author Jeff Garzik Tue, 31 May 2005 11:53:57 -0400 committer Jeff Garzik Tue, 31 May 2005 11:53:57 -0400 [libata] ahci: Update for recent ->host_stop() API change commit edb3e182b6f33c91ba8778e2198220c12712d3ad tree 6b741e144c2c83e901a325e5373dc0b8baf88534 parent 8973a585aec125beb2a3de50bb491004299f53d5 parent 5e485b7975472ba4a408523deb6541e70c451842 author Tue, 31 May 2005 11:50:32 -0400 committer Jeff Garzik Tue, 31 May 2005 11:50:32 -0400 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD commit ea9375607f8b312cf4389d68909330ed32a622ef tree 20a508ac2a259790095668450e47d7d2e935e891 parent 8de901150f3c58b019b2a3ce497d23ab662dbb8b author Nicolas Pitre Tue, 12 Apr 2005 16:26:40 -0400 committer Jeff Garzik Fri, 27 May 2005 22:21:16 -0400 [PATCH] smc91x: more tweaks to help with RX overruns Signed-off-by: Nicolas Pitre Index: linux-2.6/drivers/net/smc91x.c =================================================================== commit 8de901150f3c58b019b2a3ce497d23ab662dbb8b tree 87f9bd69ab2b40cd51041a13022bfaa5755d516b parent eb1d6988130d5f2716ba1d53197caab0fdc31b94 author Nicolas Pitre Tue, 12 Apr 2005 16:21:11 -0400 committer Jeff Garzik Fri, 27 May 2005 22:21:16 -0400 [PATCH] smc91x: improve diagnostic info ... and remove duplicate status defines. Signed-off-by: Nicolas Pitre Index: linux-2.6/drivers/net/smc91x.c =================================================================== commit 1f15d694522af9cd7492695f11dd2dc77b6cf098 tree 7f67a4c38456ec73359d576a5c602d18c3c3ef72 parent fff9cfd99c0f88645c3f50d7476d6c8cef99f140 parent 254feb882a7c6e4e51416dff6a97d847fbbba551 author Fri, 27 May 2005 22:07:02 -0400 committer Jeff Garzik Fri, 27 May 2005 22:07:02 -0400 Automatic merge of /spare/repo/netdev-2.6 branch master commit befc9e10d64f93472aff0b0280968f447f5402df tree d0b20bb986cf87b000e291ad7bb77427f6c14161 parent 07b08a16186bd083ba06c37c621ea91fc580eb97 parent 4dcb7d33770541ae3e65a57351f3875df64e8af6 author Fri, 27 May 2005 20:12:17 -0400 committer Jeff Garzik Fri, 27 May 2005 20:12:17 -0400 Automatic merge of rsync://www.fr.zoreil.com/linux-2.6.git branch HEAD commit 07b08a16186bd083ba06c37c621ea91fc580eb97 tree 7374b11612cacdccb51cd386c6e40beaee8a692c parent 462cee296476278acaa54c41925b3273e0e4dd40 parent 254feb882a7c6e4e51416dff6a97d847fbbba551 author Fri, 27 May 2005 20:09:40 -0400 committer Jeff Garzik Fri, 27 May 2005 20:09:40 -0400 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD commit 4dcb7d33770541ae3e65a57351f3875df64e8af6 tree d18f1f2d97bd658b3b89dc32d8ae92817139943b parent d4a3a0fc9c2d012093cf75a8d95034966c17e71e author Richard Dawe Fri, 27 May 2005 21:12:00 +0200 committer Francois Romieu Fri, 27 May 2005 21:12:00 +0200 [PATCH] r8169: minor cleanup - more consistent prototypes; - rtl8169_rx_interrupt() o the error condition should be rare; o goto removal. Signed-off-by: Richard Dawe Signed-off-by: Francois Romieu commit d4a3a0fc9c2d012093cf75a8d95034966c17e71e tree 38caaccf7d8a4f69e099aca4515296a0f3f14019 parent b57b7e5a11c4e45565cf34d786d74ad35483fe83 author Stephen Hemminger Fri, 27 May 2005 21:11:56 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:56 +0200 [PATCH] r8169: add ethtool support for dumping the chip statistics There aren't lots of statistics available, but this is what is available according to the RealTek documentation. Signed-off-by: Stephen Hemminger Signed-off-by: Francois Romieu commit b57b7e5a11c4e45565cf34d786d74ad35483fe83 tree acfc1d5e622352341327bede1e25c1106ad5e520 parent df0a1bf63403c2decec2c11cdd1b304363174e90 author Stephen Hemminger Fri, 27 May 2005 21:11:52 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:52 +0200 [PATCH] r8169: ethtool message level control support Also: - ratelimit the too much work at interrupt message, so if under massive packet load the console doesn't get flooded; - removal of a few PFX used in contexts where dev->name is available; - s/->slot_name/pci_name/; - printed_version is redundant with the debug option. Remove it and let the user decide. Signed-off-by: Stephen Hemminger Signed-off-by: Francois Romieu commit df0a1bf63403c2decec2c11cdd1b304363174e90 tree a889398704650eb3bdccec46591969740022c987 parent 1b7efd58bb2c89f408118888b659b51ff66c47b9 author Francois Romieu Fri, 27 May 2005 21:11:49 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:49 +0200 [PATCH] r8169: add module parameter (media) Add module parameter description for the media option. Signed-off-by: Francois Romieu commit 1b7efd58bb2c89f408118888b659b51ff66c47b9 tree bdd823a5f9f78526f6949e4652e3727261e5f82c parent f7ccf420e5d5553d2cb25d21f8bb77e7747f1c35 author Stephen Hemminger Fri, 27 May 2005 21:11:45 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:45 +0200 [PATCH] r8169: add module parameter (copybreak) Add module parameter description for copybreak. Signed-off-by: Stephen Hemminger Signed-off-by: Francois Romieu commit f7ccf420e5d5553d2cb25d21f8bb77e7747f1c35 tree d532a80b9238d9c28b02c78816cc8cb108ddb274 parent 53456f607a7ec02905823dc92a94c7e36d4ded1a author Stephen Hemminger Fri, 27 May 2005 21:11:41 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:41 +0200 [PATCH] r8169: identify the napi version To tell if driver is configured for NAPI or not, put -NAPI on driver version. Remove the NAPI printk since the complete version information is displayed once in the pci probe routine or returned via ethtool. Signed-off-by: Stephen Hemminger Signed-off-by: Francois Romieu commit 53456f607a7ec02905823dc92a94c7e36d4ded1a tree 1643b77fc11b438ae49fc477c63f8d8d5cb2753d parent a7b6459de19c85432f791728317089459316da32 author Francois Romieu Fri, 27 May 2005 21:11:37 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:37 +0200 [PATCH] r8169: de-obfuscate supported PCI ID De-obfuscate supported PCI ID Signed-off-by: Francois Romieu commit a7b6459de19c85432f791728317089459316da32 tree 3dbdc17e74ac7f3219b0d6215dd02973b6013f30 parent 126fa4b9ca5d9d7cb7d46f779ad3bd3631ca387c author Francois Romieu Fri, 27 May 2005 21:11:33 +0200 committer Francois Romieu Fri, 27 May 2005 21:11:33 +0200 [PATCH] r8169: new PCI id The USR 997902 is based on the 8169 chipset. The value has been extracted from the sources of the driver which comes with the manufacturer's cdrom. Heads-up and test by TommyDrum . Signed-off-by: Francois Romieu commit 8f37d47c9bf74cb48692691086b482e315d07f40 tree b7d35bbd8e78d124455f3abbc9c50134bc9cee0a parent 7551ced334ce6eb2a7a765309871e619f645add1 author David Woodhouse Fri, 27 May 2005 12:17:28 +0100 committer David Woodhouse Fri, 27 May 2005 12:17:28 +0100 AUDIT: Record working directory when syscall arguments are pathnames Signed-off-by: David Woodhouse commit b1abb4d67f2a706f52a95064001e0c55d9be2d26 tree 4095e216afd32cc1681718fa41ad8ca4e37b77fb parent 153b1e1fd957861e2c185473dd3c3d93561066e4 author James Bottomley Tue, 24 May 2005 17:15:43 -0500 committer James Bottomley Thu, 26 May 2005 14:28:31 -0400 [SCSI] aic7xxx: remove separate target and device allocations Since the aic driver is now taught to speak in terms of the generic linux devices, we can now also dispense with the transport class get routines (since we update the parameters when the driver sees they change) and also plumb it into the spi transport transfer agreement reporting infrastructure. Signed-off-by: James Bottomley commit 153b1e1fd957861e2c185473dd3c3d93561066e4 tree c296359e8212ed83c2834b20a62b7a650f3d0fc2 parent cdbbde14cb55dd10771ce79154f787322d88411b parent c3e9dda4f5702ee5b346f4770de53f79e8ad1d8d author James Bottomley Thu, 26 May 2005 14:14:55 -0400 committer James Bottomley Thu, 26 May 2005 14:14:55 -0400 Automatic merge of ../scsi-misc-2.6-old/ commit 8973a585aec125beb2a3de50bb491004299f53d5 tree 3f069a9c7eff2c916e02427fd9800ce2b55a4a90 parent 907f4678c114a125fe4584758681c31bf3d627da parent bef9c558841604116704e10b3d9ff3dbf4939423 author Thu, 26 May 2005 13:03:24 -0400 committer Jeff Garzik Thu, 26 May 2005 13:03:24 -0400 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD commit c3e9dda4f5702ee5b346f4770de53f79e8ad1d8d tree e9925c556434a7f029678b2e3aa102b845d27c5d parent 644e02ea147f8bea18800107f443ea5fa7f17f4f author James Bottomley Tue, 24 May 2005 16:57:31 -0500 committer James Bottomley Thu, 26 May 2005 11:49:20 -0400 [SCSI] allow the HBA to reserve target and device private areas This patch basically allows any HBA attached to the SPI transport class to declare an extra area which the mid-layer will allocate as part of its device and target allocations. Signed-off-by: James Bottomley commit 644e02ea147f8bea18800107f443ea5fa7f17f4f tree d2e0bdf7b4090f57a8acf6e4245041deb5b03b46 parent a283bd37d00e92e8874ca6325ae071691d4db388 author Andrew Morton Tue, 24 May 2005 02:05:24 -0700 committer James Bottomley Thu, 26 May 2005 11:30:57 -0400 [SCSI] git-scsi-misc-sbp2-warning-fix drivers/ieee1394/sbp2.c: In function `sbp2_check_sbp2_response': drivers/ieee1394/sbp2.c:2154: warning: unused variable `device_type' Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit a283bd37d00e92e8874ca6325ae071691d4db388 tree 4c436d59fc326e3545c575a88b92fd31ace841a5 parent 631e8a1398ce4cfef8b30678d51daf0c64313a09 author James Bottomley Tue, 24 May 2005 12:06:38 -0500 committer James Bottomley Thu, 26 May 2005 11:27:53 -0400 [SCSI] Add target alloc/destroy callbacks to the host template This gives the HBA driver notice when a target is created and destroyed to allow it to manage its own target based allocations accordingly. This is a much reduced verson of the original patch sent in by James.Smart@Emulex.com Signed-off-by: James Bottomley commit 631e8a1398ce4cfef8b30678d51daf0c64313a09 tree 14d3b601b4a7160568c58d53a94a0a4711094588 parent 53222b906903fd861dc24ebccfa07ee125941313 author Al Viro Mon, 16 May 2005 01:59:55 +0100 committer James Bottomley Thu, 26 May 2005 08:41:15 -0500 [SCSI] TYPE_RBC cache fixes (sbp2.c affected) a) TYPE_SDAD renamed to TYPE_RBC and taken to scsi.h b) in sbp2.c remapping of TYPE_RPB to TYPE_DISK turned off c) relevant places in midlayer and sd.c taught to accept TYPE_RBC d) sd.c::sd_read_cache_type() looks into page 6 when dealing with TYPE_RBC - these guys have writeback cache flag there and are not guaranteed to have page 8 at all. e) sd_read_cache_type() got an extra sanity check - it checks that it got the page it asked for before using its contents. And screams if mismatch had happened. Rationale: there are broken devices out there that are "helpful" enough to go for "I don't have a page you've asked for, here, have another one". For example, PL3507 had been caught doing just that... f) sbp2 sets sdev->use_10_for_rw and sdev->use_10_for_ms instead of bothering to remap READ6/WRITE6/MOD_SENSE, so most of the conversions in there are gone now. Incidentally, I wonder if USB storage devices that have no mode page 8 are simply RBC ones. I haven't touched that, but it might be interesting to check... Signed-off-by: Al Viro Signed-off-by: James Bottomley commit 53222b906903fd861dc24ebccfa07ee125941313 tree a39e9a20718d01b67e89c14baa0e11411643c993 parent 7c00ffa314bf0fb0e23858bbebad33b48b6abbb9 author Matthew Wilcox Fri, 20 May 2005 19:15:43 +0100 committer James Bottomley Thu, 26 May 2005 08:41:14 -0500 [SCSI] sym2 version 2.2.1 sym2 version 2.2.1: - Fix MMIO BAR detection (Thanks to Bob Picco) - Fix odd-sized transfers with a wide bus (Thanks to Larry Stephens) - Write posting fixes (Thanks to Thibaut Varene) - Change one of the GFP_KERNEL allocations back into a GFP_ATOMIC - Make CCB_BA() return a script-endian address - Move range checks and disabling of devices from the queuecommand path to slave_alloc() - Remove a warning in sym_setup_cdb() - Keep a pointer to the scsi_target instead of the scsi_dev in the tcb - Remove a check for the upper layers passing an oversized cmd - Replace CAM_REQ_ constants with the Linux DID_ constants - Replace CAM_DIR_ constants with the Linux DMA_ constants - Inline sym_read_parisc_pdc() on non-parisc systems Signed-off-by: James Bottomley commit 7551ced334ce6eb2a7a765309871e619f645add1 tree b34088792efdf335e6a2c02a9c97768da84a695a parent 37ca5389b863e5ffba6fb7c22331bf57dbf7764a author David Woodhouse Thu, 26 May 2005 12:04:57 +0100 committer David Woodhouse Thu, 26 May 2005 12:04:57 +0100 AUDIT: Defer freeing aux items until audit_free_context() While they were all just simple blobs it made sense to just free them as we walked through and logged them. Now that there are pointers to other objects which need refcounting, we might as well revert to _only_ logging them in audit_log_exit(), and put the code to free them properly in only one place -- in audit_free_aux(). Signed-off-by: David Woodhouse ---------------------------------------------------------- commit 60bf09a366c873aab36e3b3110ee9f5bd89a1a6d tree 562796542209980e96c184c2956e33269cff7794 parent 2a24ab628aa7b190be32f63dfb6d96f3fb61580a author Narendra Sankar Wed, 25 May 2005 16:51:00 -0700 committer Jeff Garzik Wed, 25 May 2005 20:10:58 -0400 [PATCH] sata_svw: Add support for new device IDs BCM5785 (HT1000) is a new southbridge from Serverworks/Broadcom that incorporates 4 SATA ports in a single PCIX function. Functionally these ports are similar to that in older devices like the Apple K2 and the Frodo4/8. This patch adds support for the new PCI device ID along with a blurb on what the various device IDs mean. Additionally in all devices based on this SATA controller, the SATA ports appear as a single PCI function. This is true for older Frodo8 devices as well. Hence the init function should init all the ports present in the detected controller (which could be 4 or 8). Signed-off-by: Narendra Sankar commit 37ca5389b863e5ffba6fb7c22331bf57dbf7764a tree 4869477a27fbd8ad91b0ce42f0b2e4b6817e5105 parent 99e45eeac867d51ff3395dcf3d7aedf5ac2812c8 author Stephen Smalley Tue, 24 May 2005 21:28:28 +0100 committer David Woodhouse Tue, 24 May 2005 21:28:28 +0100 AUDIT: Fix remaining cases of direct logging of untrusted strings by avc_audit Per Steve Grubb's observation that there are some remaining cases where avc_audit() directly logs untrusted strings without escaping them, here is a patch that changes avc_audit() to use audit_log_untrustedstring() or audit_log_hex() as appropriate. Note that d_name.name is nul- terminated by d_alloc(), and that sun_path is nul-terminated by unix_mkname(), so it is not necessary for the AVC to create nul- terminated copies or to alter audit_log_untrustedstring to take a length argument. In the case of an abstract name, we use audit_log_hex() with an explicit length. Signed-off-by: Stephen Smalley Signed-off-by: David Woodhouse commit 99e45eeac867d51ff3395dcf3d7aedf5ac2812c8 tree 6cad4f59214ed4563ddc189bc98f05d1e2b1a5cc parent bccf6ae083318ea08094d6ab185fdf7c49906b3a author David Woodhouse Mon, 23 May 2005 21:57:41 +0100 committer David Woodhouse Mon, 23 May 2005 21:57:41 +0100 AUDIT: Escape comm when logging task info It comes from the user; it needs to be escaped. Signed-off-by: David Woodhouse commit bccf6ae083318ea08094d6ab185fdf7c49906b3a tree 0dc4fabe9004aa666e646c69e976fda989c08565 parent bfb4496e7239c9132d732a65cdcf3d6a7431ad1a author David Woodhouse Mon, 23 May 2005 21:35:28 +0100 committer David Woodhouse Mon, 23 May 2005 21:35:28 +0100 AUDIT: Unify auid reporting, put arch before syscall number These changes make processing of audit logs easier. Based on a patch from Steve Grubb Signed-off-by: David Woodhouse commit bfb4496e7239c9132d732a65cdcf3d6a7431ad1a tree 72a2068a1008a66db09ad6eebfdeb490f1a33308 parent 7b5d781ce1f19fb7382d3d3fb7af48e429bed12d author David Woodhouse Sat, 21 May 2005 21:08:09 +0100 committer David Woodhouse Sat, 21 May 2005 21:08:09 +0100 AUDIT: Assign serial number to non-syscall messages Move audit_serial() into audit.c and use it to generate serial numbers on messages even when there is no audit context from syscall auditing. This allows us to disambiguate audit records when more than one is generated in the same millisecond. Based on a patch by Steve Grubb after he observed the problem. Signed-off-by: David Woodhouse commit 791be9b976ba621b21745c30a7fca225fada9110 tree 9e3c8d3a0bbb0b614de7daac35f7452f077464fd parent 706fdd9faaad5bd52c774190a54c0fd1dfc0f418 author Russell King Sat, 21 May 2005 18:16:44 +0100 committer Russell King Sat, 21 May 2005 18:16:44 +0100 [PATCH] ARM SMP: add IPI support Add support for inter-processor interrupts to the main IRQ handling code. Signed-off-by: Russell King commit 706fdd9faaad5bd52c774190a54c0fd1dfc0f418 tree 7f4cdbb7471348a95e48f7f7a0a80f86fb65a28e parent 187a51ad11351b009abab688fb7f6d6f3210a45f author Russell King Sat, 21 May 2005 18:15:45 +0100 committer Russell King Sat, 21 May 2005 18:15:45 +0100 [PATCH] ARM SMP: reallocate main IRQ handler code registers By changing r9 -> r8 and r8 to 'tsk' (r9) we are able to remove one instruction from the preempt path. Signed-off-by: Russell King commit 187a51ad11351b009abab688fb7f6d6f3210a45f tree a867fb0a99c1eee549404fe9f47f5d7ead066604 parent 9636273dae265b9354b861b373cd43cd76a6d0fe author Russell King Sat, 21 May 2005 18:14:44 +0100 committer Russell King Sat, 21 May 2005 18:14:44 +0100 [PATCH] ARM SMP: consolidate main IRQ handler code Signed-off-by: Russell King commit 7b5d781ce1f19fb7382d3d3fb7af48e429bed12d tree 8ab8eef2e8c3629c46d29ffb9c618d87c5e1a02c parent 326e9c8ba6a149f47e020719b23b24a14ba740d6 author David Woodhouse Sat, 21 May 2005 16:52:57 +0100 committer David Woodhouse Sat, 21 May 2005 16:52:57 +0100 Fix oops due to thinko in avc_audit() When I added the logging of pid= and comm= back to avc_audit() I screwed it up. Put it back how it should be. Signed-off-by: David Woodhouse commit 326e9c8ba6a149f47e020719b23b24a14ba740d6 tree 279ace274d6a5e7c696c95f397bfbf5d5d5c347a parent 05474106a41f44d16d649bc8c7687fc24ce4370a author Steve Grubb Sat, 21 May 2005 00:22:31 +0100 committer David Woodhouse Sat, 21 May 2005 00:22:31 +0100 AUDIT: Fix inconsistent use of loginuid vs. auid, signed vs. unsigned The attached patch changes all occurrences of loginuid to auid. It also changes everything to %u that is an unsigned type. Signed-off-by: Steve Grubb Signed-off-by: David Woodhouse commit 05474106a41f44d16d649bc8c7687fc24ce4370a tree 0c6893b88d843795d60eb03e929bac3e8937bc9c parent 011161051bbc25f7f8b7df059dbd934c534443f0 author Steve Grubb Sat, 21 May 2005 00:18:37 +0100 committer David Woodhouse Sat, 21 May 2005 00:18:37 +0100 AUDIT: Fix AVC_USER message passing. The original AVC_USER message wasn't consolidated with the new range of user messages. The attached patch fixes the kernel so the old messages work again. Signed-off-by: Steve Grubb Signed-off-by: David Woodhouse commit 011161051bbc25f7f8b7df059dbd934c534443f0 tree f1ca3727e4130cacad86dfdae65e7533fcb67784 parent fb19b4c6aa024837a0071f07baa07dbf49d07151 author Stephen Smalley Sat, 21 May 2005 00:15:52 +0100 committer David Woodhouse Sat, 21 May 2005 00:15:52 +0100 AUDIT: Avoid sleeping function in SElinux AVC audit. This patch changes the SELinux AVC to defer logging of paths to the audit framework upon syscall exit, by saving a reference to the (dentry,vfsmount) pair in an auxiliary audit item on the current audit context for processing by audit_log_exit. Signed-off-by: Stephen Smalley Signed-off-by: David Woodhouse commit 7c00ffa314bf0fb0e23858bbebad33b48b6abbb9 tree 4d6b65bb5a2c8fecf48a8c6402c2cc867aa2fe6c parent 672b2d38da4fff4c4452685a25fb88b65243d1a6 author Mark Haverkamp Mon, 16 May 2005 18:28:42 -0700 committer James Bottomley Fri, 20 May 2005 15:48:00 -0500 [SCSI] 2.6 aacraid: Variable FIB size (updated patch) New code from the Adaptec driver. Performance enhancement for newer adapters. I hope that this isn't too big for a single patch. I believe that other than the few small cleanups mentioned, that the changes are all related. - Added Variable FIB size negotiation for new adapters. - Added support to maximize scatter gather tables and thus permit requests larger than 64KB/each. - Limit Scatter Gather to 34 elements for ROMB platforms. - aac_printf is only enabled with AAC_QUIRK_34SG - Large FIB ioctl support - some minor cleanup Passes sparse check. I have tested it on x86 and ppc64 machines. Signed-off-by: James Bottomley commit 672b2d38da4fff4c4452685a25fb88b65243d1a6 tree 49d12244bc6a9250cabd4e512b58c675291e1f03 parent 7e8a226147eec1a874ed371832bc0b0e11fdfd19 author Ju, Seokmann Mon, 16 May 2005 18:32:17 -0400 committer James Bottomley Fri, 20 May 2005 15:47:59 -0500 [SCSI] megaraid version 2.20.4.6 Signed-off by: Seokmann Ju Signed-off-by: James Bottomley commit 7e8a226147eec1a874ed371832bc0b0e11fdfd19 tree 3fbb40d4139c4f887e1b098b4a5525368230518b parent c1a71d1c0440c47e006845f8accc1f212ca86852 author Moore, Eric Dean Wed, 11 May 2005 17:37:43 -0600 committer James Bottomley Fri, 20 May 2005 15:47:58 -0500 [SCSI] fusion - bump driver version to 3.03.02 Bump driver version to 3.03.02 Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c1a71d1c0440c47e006845f8accc1f212ca86852 tree ae20bd33ede7cc1be832edc6c7b711c310af7573 parent 51bbc9c3e85598ffe72caf99f88db767952f2a57 author Moore, Eric Dean Wed, 11 May 2005 17:37:38 -0600 committer James Bottomley Fri, 20 May 2005 15:47:57 -0500 [SCSI] fusion - mpi headers version 1.5.9 This patch contains update for mpi headers 1.5.9. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 51bbc9c3e85598ffe72caf99f88db767952f2a57 tree 13076a6d17603fc8f52d35f7e10ddc9c0ab5dbcc parent d485eb830576eef911727b1347402e9a708998a2 author Moore, Eric Dean Wed, 11 May 2005 17:37:29 -0600 committer James Bottomley Fri, 20 May 2005 15:47:55 -0500 [SCSI] fusion-kconfig-cleanup * This patch clarifies help section in FUSION_MAX_SGE entry. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d485eb830576eef911727b1347402e9a708998a2 tree 497abb8f1cf8f82969647e0844da6752042f220a parent 3fadc59d603caf70e7a5295158e4f6eb06dffb8f author Moore, Eric Dean Wed, 11 May 2005 17:37:26 -0600 committer James Bottomley Fri, 20 May 2005 15:47:54 -0500 [SCSI] fusion-kfree-cleanup This patch is originally From: Jesper Juhl This patch gets rid of redundant NULL checks prior to calling kfree() in drivers/message/* There are also a few small whitespace changes in there. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 3fadc59d603caf70e7a5295158e4f6eb06dffb8f tree 1f8de49cf6af0972c8cca2cfd13dc5a95e2b79b3 parent 793698ce28e20f4736250a9766270368beae5668 author Moore, Eric Dean Wed, 11 May 2005 17:46:52 -0600 committer James Bottomley Fri, 20 May 2005 15:47:53 -0500 [SCSI] fusion - Adding pci recog support for Fibre 949X and 939X chips * adding pci id support for new Fibre chips, 949X and 939X * adding errata workaround - disabling PIO access except during fwdlb. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 793698ce28e20f4736250a9766270368beae5668 tree 10792e002a1a8562945c3b0ad855deca95abb70c parent ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672 author Patrick Mansfield Mon, 16 May 2005 17:42:15 -0700 committer James Bottomley Fri, 20 May 2005 15:47:52 -0500 [SCSI] saved and restore result for timed out commands Save and restore the scmd->result, so that timed out commands do not return the result of the TEST UNIT READY or the start/stop commands. Code is already in place to save and restore the result for the request sense case. The previous version of this patch erroneously removed the "if" check, instead add a comment as to why the "if" is needed. Signed-off-by: Patrick Mansfield Signed-off-by: James Bottomley commit ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672 tree ad434400f5ecaa33b433c8f830e40792d8d6c05c parent 90356ac3194bf91a441a5f9c3067af386ef62462 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author James Bottomley Fri, 20 May 2005 15:27:44 -0500 committer James Bottomley Fri, 20 May 2005 15:27:44 -0500 merge by hand - fix up rejections in Documentation/DocBook/Makefile commit 90356ac3194bf91a441a5f9c3067af386ef62462 tree 16ebe05cdc674901e510ab0b4820c55cd225ba00 parent d8c37e7b9a619855e05d5d4e56c68f799b1f539c author Christoph Hellwig Sun, 15 May 2005 17:20:56 +0200 committer James Bottomley Fri, 20 May 2005 12:53:55 -0500 [SCSI] remove Documentation/DocBook/scsidrivers.tmpl This document is rather rudimentary and totally outdated. Fortunately Documentation/scsi/scsi_mid_low_api.txt replaces it quite nicely. Signed-off-by: James Bottomley commit d8c37e7b9a619855e05d5d4e56c68f799b1f539c tree f32bcada38a55c16b8c0040043cd0ee087f48aec parent 5b8ef8425898e957243053c26ac2b68bd4bc42ec author Tejun Heo Sat, 14 May 2005 00:46:08 +0900 committer James Bottomley Fri, 20 May 2005 12:53:54 -0500 [SCSI] remove a timer race in scsi_queue_insert() scsi_queue_insert() has four callers. Three callers call with timer disabled and one (the second invocation in scsi_dispatch_cmd()) calls with timer activated. scsi_queue_insert() used to always call scsi_delete_timer() and ignore the return value. This results in race with timer expiration. Remove scsi_delete_timer() call from scsi_queue_insert() and make the caller delete timer and check the return value. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 5b8ef8425898e957243053c26ac2b68bd4bc42ec tree 258db4841aca495cf8c3f0384d8db0e20c235721 parent 0155a37ea5459f5bf1113c6fa519f943ef77d730 author Tejun Heo Sat, 14 May 2005 00:46:18 +0900 committer James Bottomley Fri, 20 May 2005 12:53:53 -0500 [SCSI] remove spurious if tests from scsi_eh_{times_out|done} 'if' tests which check if eh_action isn't NULL in both functions are always true. Remove the redundant if's as it can give wrong impressions. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 0155a37ea5459f5bf1113c6fa519f943ef77d730 tree 371c9e711d842095ef039ba431332ed616a85e2b parent 21feb5ccd5d054b8a17fe86b1b5df1e16809df64 author Tejun Heo Sat, 14 May 2005 00:46:13 +0900 committer James Bottomley Fri, 20 May 2005 12:53:52 -0500 [SCSI] remove unnecessary scsi_delete_timer() call in scsi_reset_provider() scsi_reset_provider() calls scsi_delete_timer() on exit which isn't necessary. Remove it. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 21feb5ccd5d054b8a17fe86b1b5df1e16809df64 tree 3d616a700dfeaada445049dddee91f7b13d53f7d parent daa6eda65a53e5addf86c6bc829129ff51b08bda author Gerd Knorr Thu, 12 May 2005 10:25:26 +0200 committer James Bottomley Fri, 20 May 2005 12:53:51 -0500 [SCSI] convert scsi changer driver from class simple Here is a incremental patch which switches the driver over to the new non-simple functions. Compile-tested. Signed-off-by: Gerd Knorr Signed-off-by: James Bottomley commit daa6eda65a53e5addf86c6bc829129ff51b08bda tree 19ecc387d09110aedc9f48927b78079f3f595ace parent 5cbf5eaef7e4430f60844748fd33e22a5fb15167 author Gerd Knorr Tue, 10 May 2005 10:59:13 +0200 committer James Bottomley Fri, 20 May 2005 12:53:50 -0500 [SCSI] add scsi changer driver This patch adds a device driver for scsi media changer devices. Signed-off-by: Gerd Knorr Signed-off-by: James Bottomley commit 5cbf5eaef7e4430f60844748fd33e22a5fb15167 tree b19ccfeff04a36519871fde63c41803d78be6b37 parent 380c3877ae5de888cfb7a59990b9aee5a415295f author brking@us.ibm.com Mon, 02 May 2005 19:50:47 -0500 committer James Bottomley Fri, 20 May 2005 12:53:48 -0500 [SCSI] ipr: Fix ipr PCI hotplug hang with CDROM attach Currently, during PCI hotplug remove, if the upper layer drivers of the attached devices send commands down as part of the remove action, like a CDROM, the hotplug action will hang forever due to the ipr driver returning SCSI_MLQUEUE_HOST_BUSY. Patch fixes this. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 380c3877ae5de888cfb7a59990b9aee5a415295f tree f66e529dc2d25c06fb97d181f3e45f72fc7c3699 parent 16c4b3e2071ad73e5cd2aa82961eed0414df6a7d author Adrian Bunk Mon, 02 May 2005 01:47:10 +0200 committer James Bottomley Fri, 20 May 2005 12:53:47 -0500 [SCSI] drivers/scsi/sym53c416.c: fix a wrong check The Coverity checker found that this for loop was wrong. This patch changes it to what seems to be intended. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 16c4b3e2071ad73e5cd2aa82961eed0414df6a7d tree 4083223806465884f775c6df142b8772e51073f7 parent f80ed139343c37c897ae89c70f7736a6937172f5 author Kai Makisara Sun, 01 May 2005 18:11:55 +0300 committer James Bottomley Fri, 20 May 2005 12:53:46 -0500 [SCSI] SCSI tape: fix permissions for SG_IO, etc. This patch is against 2.6.12-rc3 + linus-patch from April 30. The patch contains the following fixes: - CAP_SYS_RAWIO is used instead of CAP_SYS_ADMIN; fix from Alan Cox - only direct sending of SCSI commands requires this permission - the st status is modified is successful unload is performed using SCSI_IOCTL_STOP_UNIT Signed-off-by: Kai Makisara Signed-off-by: James Bottomley commit f80ed139343c37c897ae89c70f7736a6937172f5 tree 980995ff0b6a1a5f1e2ce2b7352f577b35b8e7a3 parent 1b69f645f224d9bab7fd5988aca818c9445f11d0 author brking@us.ibm.com Mon, 02 May 2005 19:51:06 -0500 committer James Bottomley Fri, 20 May 2005 12:53:45 -0500 [SCSI] ipr: Driver version 2.0.14 Bump driver version Signed-off-by: Brian King Signed-off-by: James Bottomley commit 1b69f645f224d9bab7fd5988aca818c9445f11d0 tree 4c1c4ea04b63a95b529fd112dc0a7eed6e65fe66 parent 7d0e11fb20b08790c71f5336b493662f952641c9 author brking@us.ibm.com Mon, 02 May 2005 19:50:59 -0500 committer James Bottomley Fri, 20 May 2005 12:53:44 -0500 [SCSI] ipr: Array error logging fix Bugme 4547. The following patch fixes a bug in ipr's error logging. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 7d0e11fb20b08790c71f5336b493662f952641c9 tree e453c5d312cd7778b7ce8e11a4920ef0b0226b8a parent d335cc38c75e28407455463444b912b09c92daec author Jeremy Higdon Sun, 01 May 2005 05:18:48 -0700 committer James Bottomley Fri, 20 May 2005 12:53:43 -0500 [SCSI] qla1280.c - fix result for device Busy and Queue Full I discovered that the qla1280 driver does not send the correct status to the midlayer when it gets Queue Full or Busy from a device. Signed-off-by: Jeremy Higdon Signed-off-by: James Bottomley commit d335cc38c75e28407455463444b912b09c92daec tree 031810afee4004df4797a641d9d02fe3955a3b9b parent 4e33bd874bce8b3df2ab52538db59730196383c3 author Moore, Eric Dean Sat, 30 Apr 2005 17:09:38 -0500 committer James Bottomley Fri, 20 May 2005 12:53:42 -0500 [SCSI] mptfusion: fix panic loading driver statically compiled Adjust link ordering in the Makefile. Also, the ioc->DoneCtx handles for mptspi/mptfc in the message frame. And I'm now not seeing the panic. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4e33bd874bce8b3df2ab52538db59730196383c3 tree 6145d5b829388a06f52258d40e13ce5c4099499b parent 93fc4294fc112ce4e518a3f62dea8681dc39d9cf author James Bottomley Sat, 30 Apr 2005 17:05:20 -0500 committer James Bottomley Fri, 20 May 2005 12:53:40 -0500 [SCSI] ultrastor: fix compile failure Signed-off-by: James Bottomley commit 93fc4294fc112ce4e518a3f62dea8681dc39d9cf tree 39d26ce68f9c63ed70aac9b5621aef565cce2f35 parent 56b5871223f66d4a34e6e1069f241077e9f0a154 author Al Viro Wed, 27 Apr 2005 06:05:56 -0700 committer James Bottomley Fri, 20 May 2005 12:53:39 -0500 [SCSI] qla trivial iomem annotation Signed-off-by: Al Viro Signed-off-by: James Bottomley commit 56b5871223f66d4a34e6e1069f241077e9f0a154 tree 8a259fd9d1544dd6d8b3a607b8589ffd2f935693 parent 1c2fb3f38e250dd3b88612435869acf92b4f51e2 author Mark Haverkamp Wed, 27 Apr 2005 06:05:51 -0700 committer James Bottomley Fri, 20 May 2005 12:53:38 -0500 [SCSI] aacraid: remove sparse warnings This patch addresses the sparse -Wbitwise warnings that Christoph wanted me to eliminate. This mostly consisted of making data structure elements of hardware associated structures the __le* equivalent. Although there were a couple places where there was mixing of cpu and le variable math. These changes have been tested on both an x86 and ppc machine running bonnie++. The usage of the LE32_ALL_ONES macro has been eliminated. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 1c2fb3f38e250dd3b88612435869acf92b4f51e2 tree 41ee2ec3181c297a1daae030de3c21961c27c1f6 parent 23a2bc2289ad3bbc41093c2b50a9c17b37b4d73d author Benoit Boissinot Mon, 25 Apr 2005 19:46:48 -0700 committer James Bottomley Fri, 20 May 2005 12:53:37 -0500 [SCSI] drivers/scsi/dpt_i2o.c: fix compile warnings This patch fixes the following warnings: drivers/scsi/dpt_i2o.c: In function ‘adpt_isr’: drivers/scsi/dpt_i2o.c:2030: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2031: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2042: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2043: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2046: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2048: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2055: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2062: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2069: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c: In function ‘adpt_i2o_to_scsi’: drivers/scsi/dpt_i2o.c:2239: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2243: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2248: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast drivers/scsi/dpt_i2o.c:2259: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast It define variables which are only used with a type of 'void __iomem *' with this type instead of the incorrect 'unsigned long' type. It also remove pointless casts. Signed-off-by: Benoit Boissinot Signed-off-by: James Bottomley commit 23a2bc2289ad3bbc41093c2b50a9c17b37b4d73d tree f3a62efa60a14eee710142cc97ed7ec6ae5b3787 parent 4833869e6e6c2315e301c256e393dfb949c10076 author Benoit Boissinot Mon, 25 Apr 2005 19:46:30 -0700 committer James Bottomley Fri, 20 May 2005 12:53:36 -0500 [SCSI] drivers/scsi/dpt_i2o.c: cleanup useless code This patch removes the array 'hbas' as it seems to be useless and redundant with the linked list hbas_chain. Signed-off-by: Benoit Boissinot Signed-off-by: James Bottomley commit 4833869e6e6c2315e301c256e393dfb949c10076 tree 1046a11787dd5d1683e5184dec3f24f0d18f610d parent 47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129 author Adrian Bunk Mon, 25 Apr 2005 19:45:58 -0700 committer James Bottomley Fri, 20 May 2005 12:53:35 -0500 [SCSI] drivers/scsi/aacraid/: make some functions static This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129 tree fe7b76c571de6ce105fb0b8917e0fb94a6895f55 parent 7dfaa5f40da87e85b3883b102bbf1bf3f3b42534 author James Bottomley Sun, 24 Apr 2005 02:38:05 -0500 committer James Bottomley Fri, 20 May 2005 12:53:34 -0500 [SCSI] drivers/scsi/FlashPoint.c: cleanups From: Adrian Bunk This patch contains cleanups including the following: - remove #ifdef'ed code for other OS's - remove other unused code - make needlessly global code static Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 7dfaa5f40da87e85b3883b102bbf1bf3f3b42534 tree 671329b0b2ed2aab270ec66879044051f63fd381 parent 420b4a73de8e36f0da486056189da66b0a164398 author Adrian Bunk Sun, 24 Apr 2005 02:34:29 -0500 committer James Bottomley Fri, 20 May 2005 12:53:32 -0500 [SCSI] drivers/scsi/NCR53C9x.c: make a struct static This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 420b4a73de8e36f0da486056189da66b0a164398 tree c68357adbed9e7e821ff2b43f75bd1595d386eae parent a1bf9d1d9272708922e83e465104106131f6415f author Adrian Bunk Sun, 24 Apr 2005 02:34:17 -0500 committer James Bottomley Fri, 20 May 2005 12:53:31 -0500 [SCSI] drivers/scsi/atp870u.c: make a function static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit a1bf9d1d9272708922e83e465104106131f6415f tree b89ce430de2a2b2f454c1c89af586cdde13a480c parent 283369ccc26705bd9585a0e533c92bd7364c28d1 author Tejun Heo Sun, 24 Apr 2005 02:08:52 -0500 committer James Bottomley Fri, 20 May 2005 12:53:30 -0500 [SCSI] make scsi_queue_insert() use blk_requeue_request() scsi_queue_insert() used to use blk_insert_request() for requeueing requests. This depends on the unobvious behavior of blk_insert_request() setting REQ_SPECIAL and REQ_SOFTBARRIER when requeueing. This patch makes scsi_queue_insert() use blk_requeue_request(). As REQ_SPECIAL means special requests and REQ_SOFTBARRIER is automatically handled by blk layer now, no flag needs to be set. Note that scsi_queue_insert() now calls scsi_run_queue() itself, and the prototype of the function is added right above scsi_queue_insert(). This is temporary, as later requeue path consolidation patchset removes scsi_queue_insert(). By adding temporary prototype, we can do away with unnecessarily moving functions. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 283369ccc26705bd9585a0e533c92bd7364c28d1 tree ab48a0466020040d7476c9b0c8d245629c65f545 parent 867d1191fca388a79e4bb500dd85a9e871c96b99 author Tejun Heo Sun, 24 Apr 2005 02:06:36 -0500 committer James Bottomley Fri, 20 May 2005 12:53:29 -0500 [SCSI] make scsi_requeue_request() use blk_requeue_request() scsi_requeue_request() used to use blk_insert_request() for requeueing requests. This depends on the unobvious behavior of blk_insert_request() setting REQ_SPECIAL and REQ_SOFTBARRIER when requeueing. This patch makes scsi_queue_insert() use blk_requeue_request(). As REQ_SPECIAL means special requests and REQ_SOFTBARRIER is automatically handled by blk layer now, no flag needs to be set. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 867d1191fca388a79e4bb500dd85a9e871c96b99 tree 303533d15c553ff5dbd6053a98fb0561bdda2995 parent beb6617d994161a6b12c5f69afc6fb154f085447 author Tejun Heo Sun, 24 Apr 2005 02:06:05 -0500 committer James Bottomley Fri, 20 May 2005 12:53:28 -0500 [SCSI] remove requeue feature from blk_insert_request() blk_insert_request() has a unobivous feature of requeuing a request setting REQ_SPECIAL|REQ_SOFTBARRIER. SCSI midlayer was the only user and as previous patches removed the usage, remove the feature from blk_insert_request(). Only special requests should be queued with blk_insert_request(). All requeueing should go through blk_requeue_request(). Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit beb6617d994161a6b12c5f69afc6fb154f085447 tree 82a1f0ed33648566bc7aeac3ecb2b458b4f48c0a parent 2e759cd4fa60c6df4cb117848274f444c2c0a12d author Tejun Heo Sun, 24 Apr 2005 02:04:53 -0500 committer James Bottomley Fri, 20 May 2005 12:53:27 -0500 [SCSI] remove REQ_SPECIAL in scsi_init_io() scsi_init_io() used to set REQ_SPECIAL when it fails sg allocation before requeueing the request by returning BLKPREP_DEFER. REQ_SPECIAL is being updated to mean special requests. So, remove REQ_SPECIAL setting. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 2e759cd4fa60c6df4cb117848274f444c2c0a12d tree 973c2fd1725208de2d0a0ccd99b9fadd93a845fc parent 354d6b2196c8e53e55e8f169804256ab9c72731d author Tejun Heo Sun, 24 Apr 2005 02:04:21 -0500 committer James Bottomley Fri, 20 May 2005 12:53:26 -0500 [SCSI] make blk layer set REQ_SOFTBARRIER on defer and requeue This is the reworked version of the patch. It sets REQ_SOFTBARRIER in two places - in elv_next_request() on BLKPREP_DEFER and in blk_requeue_request(). Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 354d6b2196c8e53e55e8f169804256ab9c72731d tree 2bdbd7618c154ab2614e6d1573cd0c348072d370 parent b86fff7368b139171edab66972ea1309092f519e author Andrew Vasquez Sat, 23 Apr 2005 02:47:27 -0400 committer James Bottomley Fri, 20 May 2005 12:53:25 -0500 [SCSI] remove some dead code in qla2xxx Original from: Christoph Hellwig Modified and Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit b86fff7368b139171edab66972ea1309092f519e tree 6702dfa6a80897497b0ae106eea9995db566db21 parent 2496af3945bdcc5fe774b8220a415086a47f40a0 author James Bottomley Sat, 23 Apr 2005 02:45:48 -0400 committer James Bottomley Fri, 20 May 2005 12:53:23 -0500 [SCSI] mptfusion: correct Kconfig problem The fusion Kconfig forgets to set CONFIG_FUSION, which is required to get the upper makefile to descend into the fusion directory. Add this back as a variable and make the two upper level modules select it. Signed-off-by: James Bottomley commit 2496af3945bdcc5fe774b8220a415086a47f40a0 tree 6f6fa28f4dbcb31ac5332e189615e99e08b424bb parent 243eabcf6b9ab86ec1bc44c2bbb1ee9766481d16 author Moore, Eric Dean Fri, 22 Apr 2005 18:02:41 -0400 committer James Bottomley Fri, 20 May 2005 12:53:22 -0500 [SCSI] mptfusion: mptfc Adding Stub Driver - Fiber Channel (1) mptfc.c: This driver is having module_init, module_exit, and probe. (2) mptfc.c: Registering for Fibre Channel pci ids are done from this module. (3) mptfc.c: Convert MODULE_PARM to module_param Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 243eabcf6b9ab86ec1bc44c2bbb1ee9766481d16 tree cd06c235994fb3a2460062a227598db1ba680ed5 parent 0d0c79747e362ff54adc6418d2990d49cad9395d author Moore, Eric Dean Fri, 22 Apr 2005 18:02:25 -0400 committer James Bottomley Fri, 20 May 2005 12:53:21 -0500 [SCSI] mptfusion: mptspi Adding Stub Driver - SCSI Parallel (1) mptspi.c: This driver is having module_init, module_exit, and probe. (2) mptspi.c: Registering for SCSI pci ids are done from this module. (3) mptspi.c: Convert MODULE_PARM to module_param Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 0d0c79747e362ff54adc6418d2990d49cad9395d tree 6c059a19ef84f482de191291d66b6e36fd038522 parent 748b77b1908efac1328d1125563b2fc0184df8a7 author Moore, Eric Dean Fri, 22 Apr 2005 18:02:09 -0400 committer James Bottomley Fri, 20 May 2005 12:53:20 -0500 [SCSI] mptfusion: mptscsih Split driver support (1) mptscsih.c: Remove credits, -sralston references , update copyright (2) mptscsih.c: split driver support (3) mptscsih.c: module_init, module_exit, and probe routines moved to new stub drivers, mptfc and mptspi (4) mptscsih.c: some global parameters are moved to MPT_SCSI_HOST (5) mptscsih.c: removed scsi_device_online check. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 748b77b1908efac1328d1125563b2fc0184df8a7 tree 5e5a9450261c17376b7edcc9c6f4d6ff50a057a7 parent b6fe4ddcf787026e5ae9105ce63e0f35f489a768 author Moore, Eric Dean Fri, 22 Apr 2005 18:01:52 -0400 committer James Bottomley Fri, 20 May 2005 12:53:19 -0500 [SCSI] mptfusion: mptlan Remove credits and update copyright (1) mptlan.c: Remove credits and update copyright (2) mptlan.c: Remove -sralston references Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit b6fe4ddcf787026e5ae9105ce63e0f35f489a768 tree 2156e6a07e49e477a8c08a60b4047ff2cd91ffa0 parent 7fadc87e5c3dd96a36cd9b9500d2ccff39048dd4 author Moore, Eric Dean Fri, 22 Apr 2005 18:01:34 -0400 committer James Bottomley Fri, 20 May 2005 12:53:18 -0500 [SCSI] mptfusion: mptctl Remove credits and update copyright (1) mptctl.c: Remove credits and update copyright (2) mptctl.c: cleanup in get_iocinfo Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 7fadc87e5c3dd96a36cd9b9500d2ccff39048dd4 tree 2bf83afab0cf54a5262c9e621bb2d505d4692614 parent 5f5affddad836978f057d316ba8083a5d553773c author Moore, Eric Dean Fri, 22 Apr 2005 18:01:16 -0400 committer James Bottomley Fri, 20 May 2005 12:53:17 -0500 [SCSI] mptfusion: mptbase cleanup, split driver support, DMA 32_BIT_MASK (1) mptbase.c: Move registering pci ids to scsi lld drivers (2) mptbase.c: Use the DMA_32BIT_MASK constant (3) mptbase.c: Fix for multiple pci domains (4) mptbase.c: Remove le32 conversion from BlockSize, which was u8 size (5) mptbase.c: Remove credits, -sralston references , update copyright (6) mptbase.c: split driver support Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5f5affddad836978f057d316ba8083a5d553773c tree 99d6ebec92379e5b52eef25395d58d46da871959 parent 099175c94a221fa2723b7273883c98cd32efe900 author Moore, Eric Dean Fri, 22 Apr 2005 18:00:52 -0400 committer James Bottomley Fri, 20 May 2005 12:53:16 -0500 [SCSI] mptfusion: Kconfig Adding new bus type drivers for fusion drivers. (1) Kconfig - added new mptspi and mptfc scsi lld drivers (2) Kconfig - increased MAX_SGE from 40 to 128 (2) Makefile - compilation support for split drivers (3) Makefile - cleaned up debug defines; e.g. removed obsolete, added others Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 099175c94a221fa2723b7273883c98cd32efe900 tree 367d0e08d62906aff04087d426d2dc8fccf7eb35 parent 608648cb40f01c337be69f965cf7740f8189c31c author James Bottomley Thu, 21 Apr 2005 22:50:33 -0400 committer James Bottomley Fri, 20 May 2005 12:53:15 -0500 [SCSI] remove PCI2000 and PCI2220i drivers From: Christoph Hellwig Both drivers are marked broken and haven't compiled since very early 2.5.x. And they're for IDE hardware so they shouldn't have been written to the SCSI layer at all. Signed-off-by: James Bottomley commit 608648cb40f01c337be69f965cf7740f8189c31c tree 2d3348a1056dbda49dd7a4a1e8da68308b2057f6 parent bd6ae2f6d61da0f90c6b66e9a4ab6c53ef8c159a author James Bottomley Thu, 21 Apr 2005 21:46:50 -0400 committer James Bottomley Fri, 20 May 2005 12:53:13 -0500 [SCSI] qla1280: update firmware Update SCSI firmware images: ql1040_fw.h: - * Firmware Version 7.65.00 (14:17 Jul 20, 1999) + * Firmware Version 7.65.06 (14:38 Jan 07, 2002) ql1280_fw.h: - * Firmware Version 8.15.00 (14:35 Aug 22, 2000) + * Firmware Version 8.15.11 (10:20 Jan 02, 2002) ql12160_fw.h: - * Firmware Version 10.04.32 (12:03 May 09, 2001) + * Firmware Version 10.04.42 (15:44 Apr 18, 2003) Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fb19b4c6aa024837a0071f07baa07dbf49d07151 tree 6062647cc9e84f81d679a5f3d27ceb8363e9822d parent 7063e6c717f6108c4b3fc3135a516c86ef944870 author David Woodhouse Thu, 19 May 2005 14:55:56 +0100 committer David Woodhouse Thu, 19 May 2005 14:55:56 +0100 AUDIT: Honour audit_backlog_limit again. The limit on the number of outstanding audit messages was inadvertently removed with the switch to queuing skbs directly for sending by a kernel thread. Put it back again. Signed-off-by: David Woodhouse commit 7063e6c717f6108c4b3fc3135a516c86ef944870 tree ec6eec10b4dc93474100e6e366df028bd3314fda parent 7ca0026495dbb644b4e32ede76be44072cb2bc7a parent 05d3794aa8bd3b2c9f7920a05003c331cdeb75c5 author David Woodhouse Thu, 19 May 2005 11:54:00 +0100 committer David Woodhouse Thu, 19 May 2005 11:54:00 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7ca0026495dbb644b4e32ede76be44072cb2bc7a tree 12c832161ebb98a7e7aec7edd8942e20809fafec parent cd77b8212d5473b800ac865364981d334ff564ea author David Woodhouse Thu, 19 May 2005 11:23:13 +0100 committer David Woodhouse Thu, 19 May 2005 11:23:13 +0100 AUDIT: Quis Custodiet Ipsos Custodes? Nobody does. Really, it gets very silly if auditd is recording its own actions. Signed-off-by: David Woodhouse commit cd77b8212d5473b800ac865364981d334ff564ea tree 334f44b05fc02039d67de5f9bfc26765e754b727 parent b7d1125817c9a46cc46f57db89d9c195e7af22f8 author David Woodhouse Thu, 19 May 2005 11:18:24 +0100 committer David Woodhouse Thu, 19 May 2005 11:18:24 +0100 Restore logging of pid= and comm= in AVC audit messages We turned this all off because the 'exe=' was causing deadlocks on dcache_lock. There's no need to leave the pid and comm out though. They'll all be logged correctly if full auditing is enabled, but we should still print them in case auditing _isn't_ enabled. Signed-off-by: David Woodhouse commit b7d1125817c9a46cc46f57db89d9c195e7af22f8 tree c1096ff7ae35b77bf8108c3a60b856551c50a9d7 parent 168b7173959f80d20720dd1f7ec909a88ef2689d author David Woodhouse Thu, 19 May 2005 10:56:58 +0100 committer David Woodhouse Thu, 19 May 2005 10:56:58 +0100 AUDIT: Send netlink messages from a separate kernel thread netlink_unicast() will attempt to reallocate and will free messages if the socket's rcvbuf limit is reached unless we give it an infinite timeout. So do that, from a kernel thread which is dedicated to spewing stuff up the netlink socket. Signed-off-by: David Woodhouse commit 168b7173959f80d20720dd1f7ec909a88ef2689d tree dc197062e11c003b330b5302535fd74407c2138b parent 209aba03243ee42a22f8df8d08aa9963f62aec64 author Steve Grubb Thu, 19 May 2005 10:24:22 +0100 committer David Woodhouse Thu, 19 May 2005 10:24:22 +0100 AUDIT: Clean up logging of untrusted strings * If vsnprintf returns -1, it will mess up the sk buffer space accounting. This is fixed by not calling skb_put with bogus len values. * audit_log_hex was a loop that called audit_log_vformat with %02X for each character. This is very inefficient since conversion from unsigned character to Ascii representation is essentially masking, shifting, and byte lookups. Also, the length of the converted string is well known - it's twice the original. Fixed by rewriting the function. * audit_log_untrustedstring had no comments. This makes it hard for someone to understand what the string format will be. * audit_log_d_path was never fixed to use untrustedstring. This could mess up user space parsers. This was fixed to make a temp buffer, call d_path, and log temp buffer using untrustedstring. From: Steve Grubb Signed-off-by: David Woodhouse commit 209aba03243ee42a22f8df8d08aa9963f62aec64 tree e45ee43e7af31f847377e8bb3a0a61581732b653 parent 3ec3b2fba526ead2fa3f3d7c91924f39a0733749 author David Woodhouse Wed, 18 May 2005 10:21:07 +0100 committer David Woodhouse Wed, 18 May 2005 10:21:07 +0100 AUDIT: Treat all user messages identically. It's silly to have to add explicit entries for new userspace messages as we invent them. Just treat all messages in the user range the same. Signed-off-by: David Woodhouse commit 3ec3b2fba526ead2fa3f3d7c91924f39a0733749 tree 12b9b3de4e0d5bb3c977ea3ef534ba4f7e556cb9 parent 69887ac1dcb79dfc773dabac2dd081fa6d6e2573 author David Woodhouse Tue, 17 May 2005 12:08:48 +0100 committer David Woodhouse Tue, 17 May 2005 12:08:48 +0100 AUDIT: Capture sys_socketcall arguments and sockaddrs Signed-off-by: David Woodhouse commit 69887ac1dcb79dfc773dabac2dd081fa6d6e2573 tree 23a4f685c71ff8666548b0a01b221928e46a9287 parent 5e014b10ef8477c32a939a48fa02aedcad35a226 parent 118326e940bdecef6c459d42ccf05256ba86daa7 author David Woodhouse Tue, 17 May 2005 12:04:46 +0100 committer David Woodhouse Tue, 17 May 2005 12:04:46 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit b3dd65f958354226275522b5a64157834bdc5415 tree 851d12ea34fb9e5e5eb439a774da5a6a862ca762 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Krzysztof Halasa Thu, 21 Apr 2005 15:57:25 +0200 committer Jeff Garzik Sun, 15 May 2005 22:24:12 -0400 [PATCH] Generic HDLC update The attached patch updates generic HDLC to version 1.18. FR Cisco LMI production-tested. Please apply to Linux 2.6. Thanks. Changes: - doc updates - added Cisco LMI support to Frame-Relay code - cleaned hdlc_fr.c a bit, removed some orphaned #defines etc. - fixed a problem with non-functional LMI in FR DCE mode. - changed diagnostic messages to better conform to FR standards - all protocols: information about carrier changes (DCD line) is now printed to kernel logs. Signed-Off-By: Krzysztof Halasa commit 99417769bae55d34348320d7a05615e8a891fd3d tree d471a20b966dd1321fa642be2f95512ba703096f parent 507ef165e8bc078e877db293a5e3048e692491fb author Al Viro Sun, 03 Apr 2005 09:15:52 +0100 committer Jeff Garzik Sun, 15 May 2005 22:21:07 -0400 [PATCH] pcnet_cs cleanup killed abuse of ->rmem_end Signed-off-by: Al Viro commit 507ef165e8bc078e877db293a5e3048e692491fb tree f1cc0031af8ffca373c9b8f7dd8bd4760d0784ae parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Al Viro Sun, 03 Apr 2005 09:15:52 +0100 committer Jeff Garzik Sun, 15 May 2005 22:21:07 -0400 [PATCH] etherh iomem annotations the usual echo Signed-off-by: Al Viro commit 4075400b8b2b279df1c2be38edb95ace7f75d772 tree 6c05365aeffb32683fd0d0f63d128fb20c01f511 parent baef58b1b09ac0e9339e021144b921560482c8bd author Al Viro Sun, 03 Apr 2005 09:15:52 +0100 committer Jeff Garzik Sun, 15 May 2005 22:19:48 -0400 [PATCH] skge missing include Signed-off-by: Al Viro commit 0b2d7fea1c3893c3790e0b89c310ec1321f1b8c0 tree 201e552b4c9642db16de31dc25d875d3e670a33f parent 4075400b8b2b279df1c2be38edb95ace7f75d772 author Al Viro Sun, 03 Apr 2005 09:15:52 +0100 committer Jeff Garzik Sun, 15 May 2005 22:19:48 -0400 [PATCH] skge 64bit portability ptrdiff_t is %td, not %d Signed-off-by: Al Viro commit a1365275e745bb0a173c918a52bcdfa6ce122f7e tree 81385d67fed6e10d177d1b26ae48966b33b037ef parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Sascha Hauer Thu, 05 May 2005 15:14:15 -0700 committer Jeff Garzik Sun, 15 May 2005 18:31:07 -0400 [PATCH] DM9000 network driver This patch adds support for the davicom dm9000 network driver. The dm9000 is found on some embedded arm boards such as the pimx1 or the scb9328. Signed-off-by: Sascha Hauer Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton diff -puN /dev/null drivers/net/dm9000.c commit ad8f451b41b3c3438ec4eef15527972bebd854eb tree e5d1ebc82d13c650792b6b8bc2cd30c8ee75257e parent 649e59e6ab7817bf1c556b1898356c1a17aa2650 author Christoph Hellwig Sat, 14 May 2005 17:30:17 +0200 committer Jeff Garzik Sun, 15 May 2005 17:53:26 -0400 [PATCH] orinoco: make orinoco_stop() static Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c =================================================================== commit 8551cb980086eb9952387a9f135d6f96af3b82ee tree 710844d186229cf2f708970bb245d779ee5c803e parent d0e3e87ff4516d1b9d7bc6734a99168838f79635 author Christoph Hellwig Sat, 14 May 2005 17:30:04 +0200 committer Jeff Garzik Sun, 15 May 2005 17:53:26 -0400 [PATCH] orinoco: disconnect the network device on reset errors Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c =================================================================== commit 84d8a2fb56b1d3c915591a2c1aa321b783c7d00f tree 351f0ba1ab4a0d9e15439efed03a62a91138789e parent ad8f451b41b3c3438ec4eef15527972bebd854eb author Christoph Hellwig Sat, 14 May 2005 17:30:22 +0200 committer Jeff Garzik Sun, 15 May 2005 17:53:26 -0400 [PATCH] orinoco: misc fixes small fixes from CVS that didn't fit elsewhere Index: linux-2.6/drivers/net/wireless/orinoco.c =================================================================== commit 649e59e6ab7817bf1c556b1898356c1a17aa2650 tree 9f77b2088abb15e62fd694e3d344b43b14d6c4aa parent 8551cb980086eb9952387a9f135d6f96af3b82ee author Christoph Hellwig Sat, 14 May 2005 17:30:10 +0200 committer Jeff Garzik Sun, 15 May 2005 17:53:26 -0400 [PATCH] orinoco: Symbol 3.0x firmware needs broken_disableport Patch from Pavel Roskin. Index: linux-2.6/drivers/net/wireless/orinoco.c =================================================================== commit d0e3e87ff4516d1b9d7bc6734a99168838f79635 tree 062f69e28e027411f9db68b7a637ddf84104a6a8 parent b24d4582fd93f3654d0a0a89f85e95140efc7fd4 author Christoph Hellwig Sat, 14 May 2005 17:29:58 +0200 committer Jeff Garzik Sun, 15 May 2005 17:53:25 -0400 [PATCH] orinoco: fix setting of 32 character ESSIDs Patch from Thomas Schulz Index: linux-2.6/drivers/net/wireless/orinoco.c =================================================================== commit 5e014b10ef8477c32a939a48fa02aedcad35a226 tree 8c314b8485aff98506402976c3bca1011735a633 parent 23f32d18aa589e228c5a9e12e0d0c67c9b5bcdce author David Woodhouse Fri, 13 May 2005 18:50:33 +0100 committer David Woodhouse Fri, 13 May 2005 18:50:33 +0100 AUDIT: fix max_t thinko. Der... if you use max_t it helps if you give it a type. Note to self: Always just apply the tested patches, don't try to port them by hand. You're not clever enough. Signed-off-by: David Woodhouse commit 23f32d18aa589e228c5a9e12e0d0c67c9b5bcdce tree fa8e1156035b871d446cdf9706898b761d6455e0 parent c04049939f88b29e235d2da217bce6e8ead44f32 author Steve Grubb Fri, 13 May 2005 18:35:15 +0100 committer David Woodhouse Fri, 13 May 2005 18:35:15 +0100 AUDIT: Fix some spelling errors I'm going through the kernel code and have a patch that corrects several spelling errors in comments. From: Steve Grubb Signed-off-by: David Woodhouse commit c04049939f88b29e235d2da217bce6e8ead44f32 tree 9bf3ab72b9939c529e7c96f8768bc8b7e1d768c9 parent 9ea74f0655412d0fbd12bf9adb6c14c8fe707a42 author Steve Grubb Fri, 13 May 2005 18:17:42 +0100 committer David Woodhouse Fri, 13 May 2005 18:17:42 +0100 AUDIT: Add message types to audit records This patch adds more messages types to the audit subsystem so that audit analysis is quicker, intuitive, and more useful. Signed-off-by: Steve Grubb --- I forgot one type in the big patch. I need to add one for user space originating SE Linux avc messages. This is used by dbus and nscd. -Steve --- Updated to 2.6.12-rc4-mm1. -dwmw2 Signed-off-by: David Woodhouse commit 9ea74f0655412d0fbd12bf9adb6c14c8fe707a42 tree 8c04a9c6ed0144ff217b227fbf354f41dbceb023 parent add671412021b68c3b4f2882b0d10a56e2dcdabe author David Woodhouse Fri, 13 May 2005 16:35:19 +0100 committer David Woodhouse Fri, 13 May 2005 16:35:19 +0100 AUDIT: Round up audit skb expansion to AUDIT_BUFSIZ. Otherwise, we will be repeatedly reallocating, even if we're only adding a few bytes at a time. Pointed out by Steve Grubb. Signed-off-by: David Woodhouse commit 5aa83a4c0a1568257ff7e249d39af64f75978b97 tree d7e2922e7a72b5083e2495616ac261c6ce300a80 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Adrian Bunk Thu, 12 May 2005 22:27:35 -0400 committer Jeff Garzik Thu, 12 May 2005 22:27:35 -0400 [PATCH] remove two obsolete net drivers The options FMV18X and SK_G16 do depend on the non-available CONFIG_OBSOLETE even in kernel 2.4 - IOW, the last time it was able to select them was in kernel 2.2 (or even before). Since it seems noone misses these drivers, this patch removes them. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit fff9cfd99c0f88645c3f50d7476d6c8cef99f140 tree 83ee9850fb74a01f57b27180d29ef501b8c28abe parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Thu, 12 May 2005 20:24:19 -0400 committer Jeff Garzik Thu, 12 May 2005 20:24:19 -0400 [PATCH] Wireless Extensions 18 (aka WPA) This is version 18 of the Wireless Extensions. The main change is that it adds all the necessary APIs for WPA and WPA2 support. This work was entirely done by Jouni Malinen, so let's thank him for both his hard work and deep expertise on the subject ;-) This APIs obviously doesn't do much by itself and works in concert with driver support (Jouni already sent you the HostAP changes) and userspace (Jouni is updating wpa_supplicant). This is also orthogonal with the ongoing work on in-kernel IEEE support (but potentially useful). The patch is attached, tested with 2.6.11. Normally, I would ask you to push that directly in the kernel (99% of the patch has been on my web page for ages and it does not affect non-WPA stuff), but Jouni convinced me that it should bake a few weeks in wireless-2.6 first, so that other driver maintainers can get up to speed with it. Signed-off-by: Jeff Garzik commit eb1d6988130d5f2716ba1d53197caab0fdc31b94 tree 3e84d1d21b77d739af7bca35a0da7ef481f7e6d6 parent 53155109b6ac611d9bb4a4ef9d3109b219b8d0e1 author Nicolas Pitre Thu, 12 May 2005 20:19:09 -0400 committer Jeff Garzik Thu, 12 May 2005 20:19:09 -0400 [PATCH] smc91x warning fix A few IO addr type conversions were missing. Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit 53155109b6ac611d9bb4a4ef9d3109b219b8d0e1 tree f652feb315954c9569870518ec7502d56154b6e3 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Nicolas Pitre Thu, 12 May 2005 20:18:19 -0400 committer Jeff Garzik Thu, 12 May 2005 20:18:19 -0400 [PATCH] smc91x addr config check The PAGE_SIZE mask is indeed confusing. Use the exact mask for this context which has nothing to do with memory pages at all. Also cast to int since the value to compare with is an int. Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit fdecea66687d76c7d19be6559586df5c51023d11 tree a49d87a77a86b5c2d3887d0eacc70b3c8a30b5ba parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Jeff Garzik Thu, 12 May 2005 20:16:24 -0400 committer Jeff Garzik Thu, 12 May 2005 20:16:24 -0400 [netdrvr starfire] Add GPL'd firmware, remove compat code Contributed by Ion Badulescu , further fixed up by me. commit baef58b1b09ac0e9339e021144b921560482c8bd tree b3375c3b188a01734b681fdd4e2aa27cd64ef176 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Stephen Hemminger Thu, 12 May 2005 20:14:36 -0400 committer Jeff Garzik Thu, 12 May 2005 20:14:36 -0400 [netdrvr] new driver skge, for SysKonnect cards commit b24d4582fd93f3654d0a0a89f85e95140efc7fd4 tree 0226b89570a1f806f3f650612708f1d4aa214357 parent d51d8b1f249b23a717ae489d6ccf2c25030988e6 author David Gibson Thu, 12 May 2005 20:04:16 -0400 committer Jeff Garzik Thu, 12 May 2005 20:04:16 -0400 [PATCH] Orinoco: consolidate allocation code Consolidate allocation of firmware buffers. In the process, remove duplication of a workaround for an old symbol firmware bug, and fix a bug where we could retry the workaround, even if it already failed to help. Signed-off-by: David Gibson Signed-off-by: Jeff Garzik commit d51d8b1f249b23a717ae489d6ccf2c25030988e6 tree 2fe062e1eb563e0223193c851ddacd9bf6791203 parent 1fc5eb642805fa724b67fd17f008b582b0400919 author David Gibson Thu, 12 May 2005 20:03:36 -0400 committer Jeff Garzik Thu, 12 May 2005 20:03:36 -0400 [PATCH] Orinoco: don't set channel in managed mode Don't attempt to manually set the channel in infrastructure mode, the firmware doesn't like that much. Also don't attempt to override the firmware's default channel number for IBSS mode (I believe default channel can vary by regulatory domain). Signed-off-by: David Gibson Signed-off-by: Jeff Garzik commit 1fc5eb642805fa724b67fd17f008b582b0400919 tree 10d6b550196126e7d948210cb17bc2989aa09180 parent 7bb7c3a326f509acbdaf550b54fba565544ef200 author David Gibson Thu, 12 May 2005 20:02:58 -0400 committer Jeff Garzik Thu, 12 May 2005 20:02:58 -0400 [PATCH] Orinoco: kill dump_recs Remove the dump_recs debugging iwpriv command. It will be replaced later with the simpler and more flexible get_rid command. Signed-off-by: David Gibson Signed-off-by: Jeff Garzik commit 7bb7c3a326f509acbdaf550b54fba565544ef200 tree e45c81d6df74f73d970948f868a00b4f94a54f36 parent e67d9d9d9e3934fc2844b795ed68f2d87e9a047a author David Gibson Thu, 12 May 2005 20:02:10 -0400 committer Jeff Garzik Thu, 12 May 2005 20:02:10 -0400 [PATCH] Orinoco: ignore_disconnect flag Adds an ignore_disconnect module parameter. When enabled, the driver will continue attempting to send packets even when the firmware has told us we've lost our link to the AP. On some firmwares this substantially increases the usable range of the card (presumably because we have an interrmittent connection, but the firmware is able to queue the packets for us until we're connected again). On some other cards, it causes the firmware to fall in a screaming heap :( (hence, default off). Signed-off-by: David Gibson Signed-off-by: Jeff Garzik commit e67d9d9d9e3934fc2844b795ed68f2d87e9a047a tree 4252674efb4afd5ea1b7958297e3624b4a29a906 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author David Gibson Thu, 12 May 2005 20:01:22 -0400 committer Jeff Garzik Thu, 12 May 2005 20:01:22 -0400 [PATCH] Orinoco: wireless stats updates Minor updates/bugfixes to the handling of wireless statistics. commit 516cd15f1c0dd6eada3619915b113b4e5baccc7a tree 0ca69fcdeff9aa93b3b76722f97b512cbb5e403b parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Paul Mackerras Thu, 12 May 2005 19:47:12 -0400 committer Jeff Garzik Thu, 12 May 2005 19:47:12 -0400 [PATCH] PPP multilink fragmentation improvements Here's a patch for -mm for now. Not sure whose territory this falls in, so I'm sending it to everyone I can think of. :) Some time ago I did some experiments with using PPP multilink over largish numbers of channels (up to 32). The TCP performance was woeful due to wildly fluctuating packet latencies, which turned out to be because we would sometimes split a packet across all 32 channels, and sometimes we would send a whole packet down a single channel. This patch fixes those problems by being a bit cleverer about how the packets are split across the available channels, and in particular, it waits until at least half of the channels can take another fragment before starting to split up the next packet. The patch also fixes a buglet in the multilink reconstruction code where it would discard incoming packets that had just the multilink header and no data. Such packets are valid and shouldn't be discarded. Signed-off-by: Paul Mackerras Signed-off-by: Jeff Garzik commit 7d17c1d606f6e89778f05554ddea43791d5c92a0 tree a81b20746b27d8fb0211b9a3cb4a20a4a0d3df08 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Thu, 12 May 2005 19:45:25 -0400 committer Jeff Garzik Thu, 12 May 2005 19:45:25 -0400 [netdrvrs] Use netif_carrier_* instead of IFF_RUNNING commit 22f714b64b55012fa4e0d77132fa82719180f994 tree df18ecd5eafced6d770d6a15163743c08d9376d9 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Pekka Enberg Thu, 12 May 2005 19:38:47 -0400 committer Jeff Garzik Thu, 12 May 2005 19:38:47 -0400 [PATCH] 8139too: use iomap for pio/mmio This patch converts the 8139too driver to use the iomap infrastructure for PIO and MMIO instead of playing macro tricks. I also had to fix read_eeprom(), mdio_sync(), mdio_read(), and mdio_write() to not pass PIO base address to MMIO read() and write() functions. In addition, the patch adds proper __iomem annotations for the driver. Both modes, PIO and MMIO, were tested with a RealTel RTL8139 card on an x86 box. The 8129 support remains untested due to lack of hardware. Signed-off-by: Pekka Enberg Signed-off-by: Jeff Garzik commit a78d8927966dcc41bba52da3a10935072a592417 tree 455b193a8c782336e3ed4d21c5102d4949d68594 parent 7502cd1058152791fec94f32b719fec45e7f5de2 author Thu, 12 May 2005 19:35:42 -0400 committer Jeff Garzik Thu, 12 May 2005 19:35:42 -0400 [PATCH] 8139cp net driver: add MODULE_VERSION commit 7502cd1058152791fec94f32b719fec45e7f5de2 tree 7ccc018d8125fde70ed7fe5a880f50d16b3828eb parent e21ba28262037f5fe7ca8746502c7c03c3da817f author Steffen Klassert Thu, 12 May 2005 19:34:31 -0400 committer Jeff Garzik Thu, 12 May 2005 19:34:31 -0400 [PATCH] 8139cp - add netpoll support Patch adds netpoll support to the 8139cp driver. The patch needs some tests because I have no NIC of this type for testing. Applies against linux-2.6.9-rc2-mm3 Signed-off-by: Steffen Klassert commit e21ba28262037f5fe7ca8746502c7c03c3da817f tree 6124dc6ead01c381c120ca98473d4b0ee70053fd parent 5734418d4f3420352eae38c8fcec699bf09874c1 author Stephen Hemminger Thu, 12 May 2005 19:33:26 -0400 committer Jeff Garzik Thu, 12 May 2005 19:33:26 -0400 [PATCH] 8139cp - module_param Not sure if I sent this already... Convert 8139cp to use new module_param() not old MODULE_PARM Signed-off-by: Stephen Hemminger commit 5734418d4f3420352eae38c8fcec699bf09874c1 tree 3f9e087502565aeae22a6ac9a40cbc7ff67adbfc parent fcec34565827f2edb29d124498aa8f561455f15d author Francois Romieu Thu, 12 May 2005 19:31:31 -0400 committer Jeff Garzik Thu, 12 May 2005 19:31:31 -0400 [PATCH] 8139cp: SG support fixes - suspicious length in pci_unmap_single; - wait for the last frag before freeing the relevant skb; - no need to crash when facing some unexpected csum combination. commit fcec34565827f2edb29d124498aa8f561455f15d tree 52c1c3ff75859ce740da9a2704bb9f63ea71de5a parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Jeff Garzik Thu, 12 May 2005 19:28:49 -0400 committer Jeff Garzik Thu, 12 May 2005 19:28:49 -0400 [netdrvr 8139cp] TSO support commit f497ba735fc9ff4e35a19641143708b3be1c7061 tree c4762d5796283c3b8fac0ec476e279ed0c5307a8 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Tobias Lorenz Thu, 12 May 2005 15:51:01 -0400 committer Jeff Garzik Thu, 12 May 2005 15:51:01 -0400 [libata sata_promise] pdc20619 (PATA) support commit 6f2f38128170814e151cfedf79532e19cd179567 tree 6728b987c6d4199c4d03335407f5b55859b34a86 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Brad Campbell Thu, 12 May 2005 15:07:47 -0400 committer Jeff Garzik Thu, 12 May 2005 15:07:47 -0400 [PATCH] libata basic detection and errata for PATA->SATA bridges This patch works around an issue with WD drives (and possibly others) over SiL PATA->SATA Bridges on SATA controllers locking up with transfers > 200 sectors. Signed-off-by: Brad Campbell commit 907f4678c114a125fe4584758681c31bf3d627da tree 630fac16df73c923db4ae4dd1ab8a24b1a8a4688 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Jeff Garzik Thu, 12 May 2005 15:03:42 -0400 committer Jeff Garzik Thu, 12 May 2005 15:03:42 -0400 [libata ahci] support PCI MSI interrupt vector commit add671412021b68c3b4f2882b0d10a56e2dcdabe tree 28463bc2721725fadcfb62a9657c39c91cc2fb05 parent c1b773d87eadc3972d697444127e89a7291769a2 author David Woodhouse Wed, 11 May 2005 11:36:21 +0100 committer David Woodhouse Wed, 11 May 2005 11:36:21 +0100 Add missing asm-ppc/seccomp.h. Must learn to use git properly. Signed-off-by: David Woodhouse commit c1b773d87eadc3972d697444127e89a7291769a2 tree edfce2e842c3b6be70f3b90584507aab9fb3de8f parent 197c69c6afd2deb7eec44040ff533d90d26c6161 author Chris Wright Wed, 11 May 2005 10:55:10 +0100 committer David Woodhouse Wed, 11 May 2005 10:55:10 +0100 Add audit_log_type Add audit_log_type to allow callers to specify type and pid when logging. Convert audit_log to wrapper around audit_log_type. Could have converted all audit_log callers directly, but common case is default of type AUDIT_KERNEL and pid 0. Update audit_log_start to take type and pid values when creating a new audit_buffer. Move sequences that did audit_log_start, audit_log_format, audit_set_type, audit_log_end, to simply call audit_log_type directly. This obsoletes audit_set_type and audit_set_pid, so remove them. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 197c69c6afd2deb7eec44040ff533d90d26c6161 tree a44d7170fe20d6119eff6e656d39be623ed6131a parent 804a6a49d874841a98ebea3247ad2e672812ad6a author Chris Wright Wed, 11 May 2005 10:54:05 +0100 committer David Woodhouse Wed, 11 May 2005 10:54:05 +0100 Move ifdef CONFIG_AUDITSYSCALL to header Remove code conditionally dependent on CONFIG_AUDITSYSCALL from audit.c. Move these dependencies to audit.h with the rest. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 804a6a49d874841a98ebea3247ad2e672812ad6a tree 84bd717927666811d55f31346387f8cb99dff346 parent 5a241d77039a2632e81070619d5733258728f8bd author Chris Wright Wed, 11 May 2005 10:52:45 +0100 committer David Woodhouse Wed, 11 May 2005 10:52:45 +0100 Audit requires CONFIG_NET Audit now actually requires netlink. So make it depend on CONFIG_NET, and remove the inline dependencies on CONFIG_NET. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 5a241d77039a2632e81070619d5733258728f8bd tree c0f1b643144e5f53d619f22df6afb031ed0aef45 parent eecb0a7338ef6504aa49def4dde6429853025801 author Chris Wright Wed, 11 May 2005 10:43:07 +0100 committer David Woodhouse Wed, 11 May 2005 10:43:07 +0100 AUDIT: Properly account for alignment difference in nlmsg_len. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit eecb0a7338ef6504aa49def4dde6429853025801 tree 078561cbf3e1fb3d8f837a96f2a6d49d85c6819a parent e3b926b4c1499ba7b1b9513aa6113944d572aba5 author David Woodhouse Tue, 10 May 2005 18:58:51 +0100 committer David Woodhouse Tue, 10 May 2005 18:58:51 +0100 AUDIT: Fix abuse of va_args. We're not allowed to use args twice; we need to use va_copy. Signed-off-by: David Woodhouse commit e3b926b4c1499ba7b1b9513aa6113944d572aba5 tree 6d4a230f3c02ebfd5073517fe8eb36f9a61dad22 parent 8c5aa40c94ef8bb7f7da95ecd5942e2d20fc3c9d author David Woodhouse Tue, 10 May 2005 18:56:08 +0100 committer David Woodhouse Tue, 10 May 2005 18:56:08 +0100 AUDIT: pass size argument to audit_expand(). Let audit_expand() know how much it's expected to grow the buffer, in the case that we have that information to hand. Signed-off-by: David Woodhouse commit 8c5aa40c94ef8bb7f7da95ecd5942e2d20fc3c9d tree 8cda8d1193dfc814a724406cdd0479c7f46c0487 parent ea9c102cb0a7969df5733d34f26e0b12c8a3c889 author Steve Grubb Tue, 10 May 2005 18:53:07 +0100 committer David Woodhouse Tue, 10 May 2005 18:53:07 +0100 AUDIT: Fix reported length of audit messages. We were setting nlmsg_len to skb->len, but we should be subtracting the size of the header. From: Steve Grubb Signed-off-by: David Woodhouse commit ea9c102cb0a7969df5733d34f26e0b12c8a3c889 tree 27383b18b9f62d3c4f1b5dd9f3daeffb10416c15 parent 13e652800d1644dfedcd0d59ac95ef0beb7f3165 author David Woodhouse Sun, 08 May 2005 15:56:09 +0100 committer David Woodhouse Sun, 08 May 2005 15:56:09 +0100 Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 Signed-off-by: David Woodhouse commit 13e652800d1644dfedcd0d59ac95ef0beb7f3165 tree 6cdd9771bd9a56de1b0246a330ccd916ecdb1d41 parent 4332bdd332a2dca93dc3b1d017b2dd27d5c8cef3 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author David Woodhouse Sun, 08 May 2005 13:23:54 +0100 committer David Woodhouse Sun, 08 May 2005 13:23:54 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4332bdd332a2dca93dc3b1d017b2dd27d5c8cef3 tree a1152698b795a215ec572942836be058ae65ef51 parent 5ac52f33b6f05fcb91a97124155183b779a4efdf author David Woodhouse Fri, 06 May 2005 15:59:57 +0100 committer David Woodhouse Fri, 06 May 2005 15:59:57 +0100 AUDIT: Honour gfp_mask in audit_buffer_alloc() Signed-off-by: David Woodhouse commit 5ac52f33b6f05fcb91a97124155183b779a4efdf tree 9987d074c840a7afa731660400f4d5a8a8bad973 parent 8fc6115c2a04099a6e846dc0b2d85cba43821b54 author Chris Wright Fri, 06 May 2005 15:54:53 +0100 committer David Woodhouse Fri, 06 May 2005 15:54:53 +0100 AUDIT: buffer audit msgs directly to skb Drop the use of a tmp buffer in the audit_buffer, and just buffer directly to the skb. All header data that was temporarily stored in the audit_buffer can now be stored directly in the netlink header in the skb. Resize skb as needed. This eliminates the extra copy (and the audit_log_move function which was responsible for copying). Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 8fc6115c2a04099a6e846dc0b2d85cba43821b54 tree 6dc6bf0f59f6ada9ed42c79b0e641f8668a9bf0b parent 16e1904e694d459ec2ca9b33c22b818eaaa4c63f author Chris Wright Fri, 06 May 2005 15:54:17 +0100 committer David Woodhouse Fri, 06 May 2005 15:54:17 +0100 AUDIT: expand audit tmp buffer as needed Introduce audit_expand and make the audit_buffer use a dynamic buffer which can be resized. When audit buffer is moved to skb it will not be fragmented across skb's, so we can eliminate the sklist in the audit_buffer. During audit_log_move, we simply copy the full buffer into a single skb, and then audit_log_drain sends it on. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 16e1904e694d459ec2ca9b33c22b818eaaa4c63f tree ca35b75b7d2e95b2ee11ba4b608549a5339b3cf0 parent c2f0c7c356dc9ae15419f00c725a2fcc58eeff58 author Chris Wright Fri, 06 May 2005 15:53:34 +0100 committer David Woodhouse Fri, 06 May 2005 15:53:34 +0100 AUDIT: Add helper functions to allocate and free audit_buffers. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit c2f0c7c356dc9ae15419f00c725a2fcc58eeff58 tree 2b765b791115e0e85b45bc98800fd2650b23155b parent 2512809255d018744fe6c2f5e996c83769846c07 author Steve Grubb Fri, 06 May 2005 12:38:39 +0100 committer David Woodhouse Fri, 06 May 2005 12:38:39 +0100 The attached patch addresses the problem with getting the audit daemon shutdown credential information. It creates a new message type AUDIT_TERM_INFO, which is used by the audit daemon to query who issued the shutdown. It requires the placement of a hook function that gathers the information. The hook is after the DAC & MAC checks and before the function returns. Racing threads could overwrite the uid & pid - but they would have to be root and have policy that allows signalling the audit daemon. That should be a manageable risk. The userspace component will be released later in audit 0.7.2. When it receives the TERM signal, it queries the kernel for shutdown information. When it receives it, it writes the message and exits. The message looks like this: type=DAEMON msg=auditd(1114551182.000) auditd normal halt, sending pid=2650 uid=525, auditd pid=1685 Signed-off-by: Steve Grubb Signed-off-by: David Woodhouse