commit b3e112bcc19abd8e9657dca34a87316786e096f3 tree 39040c7a05edd69381c0a25636a1a328d856cb9c parent f647a27417d2adc43d8c96d3d6f837422fbc076e parent 0a8b80c52f44a6e84206618a8a450ba13a5809dc author Linus Torvalds Fri, 24 Jun 2005 15:33:30 -0700 committer Linus Torvalds Fri, 24 Jun 2005 15:33:30 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f647a27417d2adc43d8c96d3d6f837422fbc076e tree 3cac5147575ba4cbd63cb8fa226b95e7886e1d7c parent 75043cb5b386e5a01fd03b88f647dd992de02f97 parent 2966207c7e5945947c4db3a48aa4fa819807c5be author Linus Torvalds Fri, 24 Jun 2005 15:32:01 -0700 committer Linus Torvalds Fri, 24 Jun 2005 15:32:01 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 7533fca8e866ee7355ca53f1216e3fa4c718f991 tree af4d8698fe1bc32854dcc0c81ed99211e4e53207 parent 79042f087b5ac7bba819de03dc3e7462bab8aad9 author Lennert Buytenhek Fri, 24 Jun 2005 23:11:31 +0100 committer Russell King Fri, 24 Jun 2005 23:11:31 +0100 [PATCH] ARM: 2747/1: allow platforms to provide their own iomap implementation Patch from Lennert Buytenhek This patch conditionalises the io{read,write}{8,16,32} defines and the prototypes for ioport_map/ioport_unmap in asm-arm/io.h on ioread8 not already having been defined. This is done so that platforms can provide their own implementation of the iomap API, ixp2000 for example needs this. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 2966207c7e5945947c4db3a48aa4fa819807c5be tree 07b447cf7769ae4be861650c24841ea9c12895ee parent 7533fca8e866ee7355ca53f1216e3fa4c718f991 author Lennert Buytenhek Fri, 24 Jun 2005 23:11:31 +0100 committer Russell King Fri, 24 Jun 2005 23:11:31 +0100 [PATCH] ARM: 2748/1: ixp2000 implementation of the iomap api Patch from Lennert Buytenhek A number of ixp2000 models have a bug where the byte lanes for PCI I/O transactions are swapped. We already work around this in our versions of {in,out}{b,w,l}, but we also need to perform these workarounds in a custom implementation of the new iomap API, provided in this patch. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 75043cb5b386e5a01fd03b88f647dd992de02f97 tree 334fd390af972a42407362cce4c2aacc7ac92b3e parent 793ae77469121227cd910c4b99f24be1de34bcca author Alexey Dobriyan Fri, 24 Jun 2005 20:52:52 +0000 committer Linus Torvalds Fri, 24 Jun 2005 14:14:24 -0700 [PATCH] fs/qnx4/*: fix sparse warnings This patch fixes sparse warnings in the qnx4fs (and might even make qnx4fs work on big-endian boxes) Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer Signed-off-by: Anders Larsen Signed-off-by: Linus Torvalds commit 79042f087b5ac7bba819de03dc3e7462bab8aad9 tree 0fb7ca4b0d690d59a4a0d5bc6774a345edb43284 parent 5932ae3f5d610fd8d047ef4693bab9f084e5c56d author Catalin Marinas Fri, 24 Jun 2005 21:27:39 +0100 committer Russell King Fri, 24 Jun 2005 21:27:39 +0100 [PATCH] ARM: 2698/1: Enable kernel r/w access to user pages on ARMv6 Patch from Catalin Marinas cpu_v6_set_pte() sets the kernel access rights to r/o for user pages (L_PTE_USER) when neither L_PTE_WRITE nor L_PTE_DIRTY are set. This causes a kernel data abort when writing the TLS value in the 0xffff0000 page. This patch enables the kernel r/w access. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit c4982887cacf2122bc256e901598b58caf4a34be tree 12f3ddeb179f6b6f4cc956b83c726ee9208e542a parent c6b56949de86694d837750a0a89c766b9871e81c author Lennert Buytenhek Fri, 24 Jun 2005 20:54:35 +0100 committer Russell King Fri, 24 Jun 2005 20:54:35 +0100 [PATCH] ARM: 2744/1: ixp2000 gpio irq support Patch from Lennert Buytenhek This patch cleans up the ixp2000 gpio irq code and implements the set_irq_type method for gpio irqs so that users can select for which events (falling edge/rising edge/level low/level high) on the gpio pin they want the corresponding gpio irq to be triggered. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 5932ae3f5d610fd8d047ef4693bab9f084e5c56d tree fc9d2d3b8b3a0144a33524bddc0cbf25e8aedd26 parent c4982887cacf2122bc256e901598b58caf4a34be author Deepak Saxena Fri, 24 Jun 2005 20:54:35 +0100 committer Russell King Fri, 24 Jun 2005 20:54:35 +0100 [PATCH] ARM: 2745/1: Fix IXP4xx debug macros Patch from Deepak Saxena Current IXP4xx debug macros do not work in the small window between the MMU being enabled and the call to map_io() b/c the standard peripheral mapping is not properly setup for use with the low-level debug code. This patch creates a new section-aligned mapping for the UART specifically for use with the debug macros. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c6b56949de86694d837750a0a89c766b9871e81c tree a017c6716addbca90f2ef332a2fea8555dae1a94 parent 59a49e38711a146dc0bef4837c825b5422335460 author Lennert Buytenhek Fri, 24 Jun 2005 20:54:34 +0100 committer Russell King Fri, 24 Jun 2005 20:54:34 +0100 [PATCH] ARM: 2740/1: ixp2000 align{b,w} need to parenthesize their arguments Patch from Lennert Buytenhek Two macros that are used on the ixp2000 to fixup byte lane enables for I/O space accesses, align{b,w}, use their arguments without parenthesizing them. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 0a8b80c52f44a6e84206618a8a450ba13a5809dc tree 0ac9a71b3820e6d5876266aa50fa55abcfc5bf5d parent 59a49e38711a146dc0bef4837c825b5422335460 author Russell King Fri, 24 Jun 2005 19:48:22 +0100 committer Russell King Fri, 24 Jun 2005 19:48:22 +0100 [PATCH] Serial: Eliminate magic numbers Use the existing macros instead. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 793ae77469121227cd910c4b99f24be1de34bcca tree ca8b6bbafab35c5c1099c54696c36dc0b8c17cf7 parent 59a49e38711a146dc0bef4837c825b5422335460 author Linus Torvalds Fri, 24 Jun 2005 10:39:17 -0700 committer Linus Torvalds Fri, 24 Jun 2005 10:39:17 -0700 Add "memory" clobbers to the x86 inline asm of strncmp and friends They don't actually clobber memory, but gcc doesn't even know they _read_ memory, so can apparently re-order memory accesses around them. Which obviously does the wrong thing if the memory access happens to change the memory that the compare function is accessing.. Verified to fix a strange boot problem by Jens Axboe. commit 59a49e38711a146dc0bef4837c825b5422335460 tree 7e6e3d1850159f94e5b05d1c5775bd3cc87c3690 parent 52c1da39534fb382c061de58b65f678ad74b59f5 parent f2d368fa3ef90f2159d9e542303901ebf68144dd author Linus Torvalds Fri, 24 Jun 2005 00:31:46 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:31:46 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 52c1da39534fb382c061de58b65f678ad74b59f5 tree 92b18695f23afbc99374f844445f555a198978f2 parent d763b7a4736e219528f77bf6bc75dd78b1d75c03 author Adrian Bunk Thu, 23 Jun 2005 22:05:33 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:43 -0700 [PATCH] make various thing static Another rollup of patches which give various symbols static scope Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe77ba6f4f97690baa4c756611a07f3cc033f6ae tree 01abe2ed3f1ed6f9340f7d9cbad461cbedb47e65 parent eb6fe0c388e43b02e261f0fdee60e42f6298d7f7 author Carsten Otte Thu, 23 Jun 2005 22:05:29 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:42 -0700 [PATCH] xip: madvice/fadvice: execute in place Make sys_madvice/fadvice return sane with xip. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d763b7a4736e219528f77bf6bc75dd78b1d75c03 tree 022b661841982e7b34ee5e6579df0c3d7989aa04 parent fe77ba6f4f97690baa4c756611a07f3cc033f6ae author Carsten Otte Thu, 23 Jun 2005 22:05:31 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:42 -0700 [PATCH] xip: description Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb6fe0c388e43b02e261f0fdee60e42f6298d7f7 tree 3924bfbbbb10afc19f3bcd4963af14121f2c0553 parent 6d79125bba55ee82701f1c7d4ebbc1aa20ecbe4e author Carsten Otte Thu, 23 Jun 2005 22:05:28 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:41 -0700 [PATCH] xip: reduce code duplication This patch reworks filemap_xip.c with the goal to reduce code duplication from mm/filemap.c. It applies agains 2.6.12-rc6-mm1. Instead of implementing the aio functions, this one implements the synchronous read/write functions only. For readv and writev, the generic fallback is used. For aio, we rely on the application doing the fallback. Since our "synchronous" function does memcpy immediately anyway, there is no performance difference between using the fallbacks or implementing each operation. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ceffc078528befc008c6f2c2c4decda79eabd534 tree a289e10162bdef0c0d9f6533f1a647b0fe1ed7a9 parent 420edbcc09008342c7b2665453f6b370739aadb0 author Carsten Otte Thu, 23 Jun 2005 22:05:25 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:41 -0700 [PATCH] xip: fs/mm: execute in place - generic_file* file operations do no longer have a xip/non-xip split - filemap_xip.c implements a new set of fops that require get_xip_page aop to work proper. all new fops are exported GPL-only (don't like to see whatever code use those except GPL modules) - __xip_unmap now uses page_check_address, which is no longer static in rmap.c, and defined in linux/rmap.h - mm/filemap.h is now much more clean, plainly having just Linus' inline funcs moved here from filemap.c - fix includes in filemap_xip to make it build cleanly on i386 Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d79125bba55ee82701f1c7d4ebbc1aa20ecbe4e tree fbd7f82fea19fd89e09312fe89919774b94a6efe parent ceffc078528befc008c6f2c2c4decda79eabd534 author Carsten Otte Thu, 23 Jun 2005 22:05:26 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:41 -0700 [PATCH] xip: ext2: execute in place These are the ext2 related parts. Ext2 now uses the xip_* file operations along with the get_xip_page aop when mounted with -o xip. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 420edbcc09008342c7b2665453f6b370739aadb0 tree 9eae7b2d378d4e280dcc5c1b6b159e18e5e5dbe0 parent 3d41088fa327782b14b5659dbcfff62ec704c23c author Carsten Otte Thu, 23 Jun 2005 22:05:23 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:41 -0700 [PATCH] xip: bdev: execute in place This is the block device related part. The block device operation direct_access now has a struct block_device as first parameter. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5bec39639d386e1893dc440dd536761136ab36b tree a608e207810d76a258d044ddda367c7aad33c889 parent ac19ecc6fa57b0ea320f01831175ff163f47d6a2 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:05:13 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:40 -0700 [PATCH] v4l: fix I2C detect after normal_i2c_range() This patch is necessary to correct I2C detect after normal_i2c_range removal in gregkh-i2c-i2c-address_range_removal.patch. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c988d2b2845495373f666a381d354a7f80981d62 tree aece734adc28728437c9c87ba53428e79ac4c25f parent f5bec39639d386e1893dc440dd536761136ab36b author Matt Domsch Thu, 23 Jun 2005 22:05:15 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:40 -0700 [PATCH] modules: add version and srcversion to sysfs This patch adds version and srcversion files to /sys/module/${modulename} containing the version and srcversion fields of the module's modinfo section (if present). /sys/module/e1000 |-- srcversion `-- version This patch differs slightly from the version posted in January, as it now uses the new kstrdup() call in -mm. Why put this in sysfs? a) Tools like DKMS, which deal with changing out individual kernel modules without replacing the whole kernel, can behave smarter if they can tell the version of a given module. The autoinstaller feature, for example, which determines if your system has a "good" version of a driver (i.e. if the one provided by DKMS has a newer verson than that provided by the kernel package installed), and to automatically compile and install a newer version if DKMS has it but your kernel doesn't yet have that version. b) Because sysadmins manually, or with tools like DKMS, can switch out modules on the file system, you can't count on 'modinfo foo.ko', which looks at /lib/modules/${kernelver}/... actually matching what is loaded into the kernel already. Hence asking sysfs for this. c) as the unbind-driver-from-device work takes shape, it will be possible to rebind a driver that's built-in (no .ko to modinfo for the version) to a newly loaded module. sysfs will have the currently-built-in version info, for comparison. d) tech support scripts can then easily grab the version info for what's running presently - a question I get often. There has been renewed interest in this patch on linux-scsi by driver authors. As the idea originated from GregKH, I leave his Signed-off-by: intact, though the implementation is nearly completely new. Compiled and run on x86 and x86_64. From: Matthew Dobson build fix From: Thierry Vignaud build fix From: Matthew Dobson warning fix Signed-off-by: Greg Kroah-Hartman Signed-off-by: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 597f6eea75ff3d089e6a627c07e1bf28923b8e7e tree c14036f60cc2d27d72cb643249ac2a3c5aef991e parent c988d2b2845495373f666a381d354a7f80981d62 author Jiri Slaby Thu, 23 Jun 2005 22:05:18 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:40 -0700 [PATCH] docbook build fix Fix documentation build with `make O=' Cc: Martin Waitz Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d41088fa327782b14b5659dbcfff62ec704c23c tree bd9a25f9ae7a0e232c9d5006849905e31a9dbc92 parent 363412b4f70a2ba19c76a01da7580472399312d4 author Martin Waitz Thu, 23 Jun 2005 22:05:21 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:40 -0700 [PATCH] DocBook: update comments This patch updates some comments to match code changes. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 363412b4f70a2ba19c76a01da7580472399312d4 tree f2877439d242f9bebf1694c9a690839b528d6db5 parent 597f6eea75ff3d089e6a627c07e1bf28923b8e7e author Martin Waitz Thu, 23 Jun 2005 22:05:20 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:40 -0700 [PATCH] DocBook: only use tabular style for long synopsis There was a complaint that function declarations are shown tabular in the documentation since switching to xmlto. This patch disables tabular mode when the function fits in one line. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b45009b0288a96a3458f4f8e93cb776678d41875 tree c912e8d3dcc625fe92cdd1bac97bab7539fce4d7 parent 2d03e289ea4b13d78ce55f1ea0b0d45b8f1b34c3 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:05:03 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:39 -0700 [PATCH] v4l: CX88 cards update This patch adds support for various CX88 cards and allows specifying card addresses. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Michael Krufky Signed-off-by: cybercide@f2s.com Signed-off-by: Catalin Climov Signed-off-by: Nickolay V Shmyrev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac19ecc6fa57b0ea320f01831175ff163f47d6a2 tree e57248fd223eddb98a43eed6abbac704863a0abd parent 56fc08ca375491b965cb76fad65bfb98973e80d8 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:05:09 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:39 -0700 [PATCH] v4l: update for SAA7134 cards This patch adds support for various SAA7134 cards and brings some fixes. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Fabrice Aeschbacher Signed-off-by: Hermann Pitton . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56fc08ca375491b965cb76fad65bfb98973e80d8 tree d19bb1d6e1d139dda8989188fae49cf124f3aaac parent b45009b0288a96a3458f4f8e93cb776678d41875 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:05:07 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:39 -0700 [PATCH] v4l: update for tuner cards and some V4L chips Tuner improvements and additions. TEA5767 FM tuner added. Several small fixes. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Nickolay V Shmyrev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d81ef559daf2a8afa9292035d58b00e7cb23dd1a tree 1da8e1ba04d4b5e80fc78f111524ca89d69e3a05 parent 59dcd9480d93aebdf41e29c46e6a8b4ceeaca75d author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:04:51 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:38 -0700 [PATCH] Video for Linux Documentation This patch synchronizes documentation from V4L CVS with current kernel release. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80d34362f391840dcb10c0ec261f765871a586f7 tree 0a269ba05f0a72f044fd714096ec852d57f49a16 parent 239df2e2b0e1f4f69fdf76fb67e865824029e8ab author Michael Krufky Thu, 23 Jun 2005 22:04:55 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:38 -0700 [PATCH] DViCO FusionHDTV3 Gold-T documentation fix Even though it says DViCO FusionHDTV3 Gold-Q on the box, Gold-T is printed on the card. This fix corrects the error in all places, and corrects the tuner name Thomson DDT 7611 (ATSC/NTSC) in the documentation. This applies against 2.6.12-rc5-mm2 after applying Manueal Capinha's patch "Add support for PixelView Ultra Pro in v4l" (because of the change from card=27 to card=28) Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c1d0185db6a44b6304c404f4da1a1a98746ca46 tree 8837af3c12bd6ab030c83666255ace841461c02e parent 80d34362f391840dcb10c0ec261f765871a586f7 author Michael Krufky Thu, 23 Jun 2005 22:04:56 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:38 -0700 [PATCH] v4l: support tuner for Thomson DDT 7611 (ATSC/NTSC) Add support for tuner#60: Thomson DDT 7611 (ATSC/NTSC) Change tuner in card#28 (DViCO FusionHDTV3 Gold-T) from tuner=52 (Tuner Thomson DDT 7610) to tuner=60 (Tuner Thomson DDT 7611) Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d03e289ea4b13d78ce55f1ea0b0d45b8f1b34c3 tree ca3aa14521fa75fd435e1d37ba0b06322a39244b parent 3c1d0185db6a44b6304c404f4da1a1a98746ca46 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:04:58 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:38 -0700 [PATCH] bttv update This patch synchronizes current bttv support on V4L with linux kernel and adds support to Adlink RTV24 card. It is asked that *every* patch to V4L stuff to be first submitted to video4linux-list@redhat.com. From: "J.A. Magallon" struct bttv defined after usage. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Peter Skipworth Signed-off-by: Nickolay V Shmyrev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 239df2e2b0e1f4f69fdf76fb67e865824029e8ab tree 57088068f1f464c9d1c71f9a4e9dccfcd5106c66 parent d81ef559daf2a8afa9292035d58b00e7cb23dd1a author Manuel Capinha Thu, 23 Jun 2005 22:04:53 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:38 -0700 [PATCH] v4l: add support for PixelView Ultra Pro The following patch adds support for the PixelView Ultra Pro video capture card in v4l. - It removes the remote control key definitions from ir-kbd-gpio.c and moves them to ir-common.c so that they can be shared between bt878 and cx88 based cards. - The patch also moves the FUSIONHDTV_3_GOLD_Q card from number 27 to 28 to regain compatibility with the V4L cvs. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f246a8172a9e403b78c34568f766990f1506a0ab tree 30f25ba91d7c8d7dbe293f5283e0a10de349104b parent 93b43f13b5bfeac09ef5743edf39eeeee3f4eeae author Michael Schimek Thu, 23 Jun 2005 22:04:47 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:37 -0700 [PATCH] v4l: saa7134 ntsc vbi fix This patch fixes NTSC VBI capturing in the saa7134 driver. Signed-off-by: Michael H. Schimek Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93b43f13b5bfeac09ef5743edf39eeeee3f4eeae tree 9993975474f4f033ab866586c8b0e6dba0fe67ac parent 097b750e6c0209b4b951996826ca0bd6707e357a author Peter Skipworth Thu, 23 Jun 2005 22:04:45 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:37 -0700 [PATCH] BTTV support for Adlink RTV24 capture card The bttv module currently lacks support for the Adlink RTV24 capture card. The following patch adds support for the Adlink RTV24 video capture card to the bttv module. Cc: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59dcd9480d93aebdf41e29c46e6a8b4ceeaca75d tree ff7a643f6ed0c2cc92355684c12b63231387afd6 parent f246a8172a9e403b78c34568f766990f1506a0ab author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:04:50 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:37 -0700 [PATCH] v4l: PAL-M support fix for CX88 chipsets This patch fixes PAL-M chroma subcarrier frequency (FSC) to its correct value of 3.5756115 MHz and adjusts horizontal total samples for PAL-M, according with formula Line Draw Time / (4*FSC). Signed-off-by: Mauro Carvalho Chehab Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097b750e6c0209b4b951996826ca0bd6707e357a tree 0eb2c40ccac049599249e35e6147caf233cdc624 parent d6988588e13616587aa879c2e0bd7cd811705e5d author Michael Krufky Thu, 23 Jun 2005 22:04:43 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:37 -0700 [PATCH] Fix for cx88-cards.c for DVICO-FusionHDTV 3 GOLD Q This patch allows full analog functionality for the DViCO FusionHDTV3 Gold-Q, 18ac:d820 which has a Conexant cx23882, Thompson7611, and LG 3202. It does NOT yet support digital decoding or digital audio without the internal analog audio jack connected to the sound board, but it works perfectly in analog mode. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6988588e13616587aa879c2e0bd7cd811705e5d tree feb7965b671e7fe1b85c43657ef6bf728c493511 parent c9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a author Adrian Bunk Thu, 23 Jun 2005 22:04:41 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:36 -0700 [PATCH] VIDEO_CX88_DVB must select DVB_CX22702 VIDEO_CX88_DVB must select DVB_CX22702 (due to its cx22702_attach usage). This patch fixes kernel Bugzilla #4594 (http://bugzilla.kernel.org/show_bug.cgi?id=4594). Signed-off-by: Adrian Bunk Acked-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a tree d0ca41fa75a8a6461ee241c5cc19d2b9c723ef61 parent a20758fa3238134ec9ac0a7e02446d9861dfe943 author Alexey Dobriyan Thu, 23 Jun 2005 22:04:37 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:36 -0700 [PATCH] saa7134: mark little endian ptr > - *ptr = sg_dma_address(list) - list->offset; > + *ptr = cpu_to_le32(sg_dma_address(list) - list->offset); Clearly mark pointers to little-endian things. Signed-off-by: Alexey Dobriyan Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7b9a45927e74c81d6562153f7fde9d32da00159 tree d21fb5d43052bce7469c168d1ad485c821a42079 parent 190e4fbf96037e5e526ba3210f2bcc2a3b6fe964 author NeilBrown Thu, 23 Jun 2005 22:04:30 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:36 -0700 [PATCH] knfsd: nfsd4: reboot recovery This patch adds the code to create and remove client subdirectories from the recovery directory, as described in the previous patch comment. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a20758fa3238134ec9ac0a7e02446d9861dfe943 tree 7e354178f8b2020ddfc974c6d53f893e3e14e6dd parent 0964a3d3f1aa96468091924f6b0c391a46dc6d0b author Gerd Knorr Thu, 23 Jun 2005 22:04:34 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:36 -0700 [PATCH] v4l: saa7134 byteorder fix Fix byteorder bug in the saa7134 driver. With that ObviouslyCorrect[tm] patch applied the driver reportly works on powerpc. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0964a3d3f1aa96468091924f6b0c391a46dc6d0b tree 0a6b0587d1922d64ca7e4aa7f306ad869bccf452 parent c7b9a45927e74c81d6562153f7fde9d32da00159 author NeilBrown Thu, 23 Jun 2005 22:04:32 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:36 -0700 [PATCH] knfsd: nfsd4 reboot dirname fix Set the recovery directory via /proc/fs/nfsd/nfs4recoverydir. It may be changed any time, but is used only on startup. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea1da636e956ad1591a74904f23d98bbc26a644b tree 193d0667adad25b094e209856dfcc1300d1d85dc parent 21ab45a480ec7705d177e959ebf452d62340c004 author NeilBrown Thu, 23 Jun 2005 22:04:17 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:35 -0700 [PATCH] knfsd: nfsd4: rename state list fields Trivial renaming patch: I can never remember, while looking at various lists relating the nfsd4 state structures, which are the "heads" and which are items on other lists, or which structures are actually on the various lists. The following convention helps me: given structures foo and bar, with foo containing the head of a list of bars, use "bars" for the name of the head of the list contained in the struct foo, and use "per_foo" for the entries in the struct bars. Already done for struct nfs4_file; go ahead and do it for the other nfsd4 state structures. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb36d6345752fa24827044c68e15f6708a40d9f6 tree adc6b7201525c87685815037cfa5fd1c248f6e95 parent 3e9e3dbe0fe36c824ce2c5d7b05997c87a64bbdc author NeilBrown Thu, 23 Jun 2005 22:04:23 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:35 -0700 [PATCH] knfsd: nfsd4: remove cb_parsed The cb_parsed field is only used by probe_callback, to determine whether the callback information has been filled in by setclientid. But there is no way that probe_callback() can be called without that having already happened, so that check is superfluous, as is cb_parsed. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e9e3dbe0fe36c824ce2c5d7b05997c87a64bbdc tree f8291afbbe83259c5309d1b4b968359f1bf63fd4 parent ea1da636e956ad1591a74904f23d98bbc26a644b author NeilBrown Thu, 23 Jun 2005 22:04:20 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:35 -0700 [PATCH] knfsd: nfsd4: allow multiple lockowners >From the language of rfc3530 section 8.1.3 (e.g., the suggestion that a "process id" might be a reasonable lockowner value) it's conceivable that a client might want to use the same lockowner string on multiple files, so we may as well allow that. We expect each use of open_to_lockowner to create a distinct seqid stream, though. For now we're also allowing multiple uses of open_to_lockowner with the same open, though it seems unlikely clients would actually do that. Also add a comment reminding myself of some very non-scalable data structures. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 190e4fbf96037e5e526ba3210f2bcc2a3b6fe964 tree 957fb35a6a2895622c4db0052160fd91d06153e8 parent cb36d6345752fa24827044c68e15f6708a40d9f6 author NeilBrown Thu, 23 Jun 2005 22:04:25 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:35 -0700 [PATCH] knfsd: nfsd4: initialize recovery directory NFSv4 clients are required to know what state they have on the server so that they can reclaim it on server reboot. However, it is possible for pathalogical combinations of server reboots and network partitions to leave a client in a state where it cannot know whether it has lost its state on the server. For this reason, rfc3530 requires that we store some information about clients to stable storage. So we maintain a directory /var/lib/nfs/v4recovery with a subdirectory for each client with active state. We leave open the possibility of including files underneath each such subdirectory with information about the client, but for now the subdirectories are empty. We create a client subdirectory whenever a client makes its first non-reclaim open_confirm. We remove a client subdirectory whenever either a) its lease expires, or b) the grace period ends without it reclaiming anything. When handling reclaims, we allow the reclaim if and only if the client doing the reclaim has a subdirectory. This patch adds just the code to scan the recovery directory on nfsd startup. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c79f7377cd4f2a50d51475f4c7966a3e60596a7 tree 96dbf206231739934ba95a76281dbea1504800d2 parent 08e8987c37cd04d2df211c1e019d8f165d44266e author NeilBrown Thu, 23 Jun 2005 22:04:13 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:34 -0700 [PATCH] knfsd: nfsd4: setclientid_confirm comments Trivial whitespace and comment fixes. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22de4d837439071a0bec897485d3911383b6ffad tree 060a06df409be203303f78d8be2adfe913e64249 parent 1a69c179a28a9bb9f4d086927b192d5cffe88e50 author NeilBrown Thu, 23 Jun 2005 22:04:09 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:34 -0700 [PATCH] knfsd: nfsd4: fix setclientid_confirm error return NFS4_INVAL is not a valid error for setclientid_confirm, and INUSE is the more logical error here anyway. From: Fred Isaman Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21ab45a480ec7705d177e959ebf452d62340c004 tree 019722d5b362e78ca50cf21823d1b8d6f221a9a7 parent 7c79f7377cd4f2a50d51475f4c7966a3e60596a7 author NeilBrown Thu, 23 Jun 2005 22:04:14 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:34 -0700 [PATCH] knfsd: nfsd4: miscellaneous setclientid_confirm cleanup Minor cleanup, remove some unnecessary printk's. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a69c179a28a9bb9f4d086927b192d5cffe88e50 tree e2155b4eb77f6d98f8643238b2836065abe1a836 parent 31f4a6c127f619886bf97f643e546f7788248f3f author NeilBrown Thu, 23 Jun 2005 22:04:08 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:34 -0700 [PATCH] knfsd: nfsd4: fix setclientid_confirm cases Setclientid_confirm code confused states 1 and 3 (numbering from the IMPLEMENTATION section of rfc3530, section 14.2.33). Fix this. State 1 allows the client to change the callback channel on the fly. We don't implement this currently, so just turn off the callback channel in this case. From: Fred Isaman Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08e8987c37cd04d2df211c1e019d8f165d44266e tree 5cce86377d0bcae663940acd2600d45b8dc4153d parent 22de4d837439071a0bec897485d3911383b6ffad author NeilBrown Thu, 23 Jun 2005 22:04:11 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:34 -0700 [PATCH] knfsd: nfsd4: setclientid_confirm gotoectomy Change from "goto" to "else if" format in setclientid_confirm. From: Fred Isaman Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd39ca9a808c6026989bc2188868a0574eb37108 tree 9dbb4df308afd32e1a913e3df9c828863c6f98ee parent a76b4319ca85b5e3a8098470c623a272d40271cd author NeilBrown Thu, 23 Jun 2005 22:04:03 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:33 -0700 [PATCH] knfsd: nfsd4: make needlessly global code static This patch contains the following possible cleanups: - make needlessly global code static Signed-off-by: Adrian Bunk Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a76b4319ca85b5e3a8098470c623a272d40271cd tree c9e862136b066c0bccf6a1a0d977a71b58542d87 parent 28ce6054f1de89834e5e9522f9e451cd88a35f85 author NeilBrown Thu, 23 Jun 2005 22:04:01 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:33 -0700 [PATCH] knfsd: nfsd4: grace period end For the purposes of reboot recovery, we want to do some work during the transition period at the end of the grace period. Some of that work must be guaranteed to have a certain relationship with the end of the grace period, so we want to control the transition there. Our approach is to modify the in_grace() checks to consult a global variable instead of checking the time directly, to schedule the first run of the laundromat thread at the end of the grace period, and to set the global end-of-grace-period there. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a55370a3c0106106a975c5a09cee800611d0cf50 tree 408d5dc0ecf970c103ef091388e66da267adb2e2 parent 7dea9d280c96f90382ec5d5709433e66a0993ec9 author NeilBrown Thu, 23 Jun 2005 22:03:52 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:33 -0700 [PATCH] knfsd: nfsd4: reboot hash For the purposes of reboot recovery we keep a directory with subdirectories each having a name that is the ascii hex representation of the md5 sum of a client identifier for an active client. This adds the code to calculate that name. We also use it for the purposes of comparing clients, so if someone ever manages to find two client names that are md5 collisions, then we'll return clid_inuse to the second. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31f4a6c127f619886bf97f643e546f7788248f3f tree 5c473562ea9051e42a53631f26486959d43fcaa4 parent fd39ca9a808c6026989bc2188868a0574eb37108 author NeilBrown Thu, 23 Jun 2005 22:04:06 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:33 -0700 [PATCH] knfsd: nfsd4: fix uncomfirmed list Setclientid code assumes there is only one match in unconfirmed list. Make sure that assumption holds. From: Fred Isaman Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28ce6054f1de89834e5e9522f9e451cd88a35f85 tree 653406eb3f3323fd15086007f1ced3a1f090c0e0 parent a55370a3c0106106a975c5a09cee800611d0cf50 author NeilBrown Thu, 23 Jun 2005 22:03:56 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:33 -0700 [PATCH] knfsd: nfsd4: add find_{un}conf_by_str functions to simplify setclientid Minor setclientid cleanup Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd0b1e954e3ba3e5d2cab941458cf98206471bd2 tree 3637bcc40dc0725becc5e47dc51a4ded1bf3f673 parent 707d4ab7b3aa6d1f7a7d2cd123fb83ba9a528205 author NeilBrown Thu, 23 Jun 2005 22:03:35 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:32 -0700 [PATCH] knfsd: nfsd4: idmap initialization Adopt standard kernel style by defining a no-op function instead of putting ifdef's in the code where the function is called. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac4d8ff2a57179de3ef7834c6ab3fac430b0a05d tree 8c0f7125177a47d4140a73e4b59309a5bb3ffd2c parent 76a3550ec50ed86885a10a767ebaebb7c9104721 author NeilBrown Thu, 23 Jun 2005 22:03:30 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:32 -0700 [PATCH] knfsd: nfsd4: clean up state initialization Separate out stuff that needs initialization on startup from stuff that only needs initialization on module init from static data. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7dea9d280c96f90382ec5d5709433e66a0993ec9 tree 046d0665956b1c37fbacaa12276bc8cc2c4b5049 parent bd0b1e954e3ba3e5d2cab941458cf98206471bd2 author NeilBrown Thu, 23 Jun 2005 22:03:42 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:32 -0700 [PATCH] knfsd: nfsd4: setclientid simplification We can be a little more concise here. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 707d4ab7b3aa6d1f7a7d2cd123fb83ba9a528205 tree b5b12bf45baacc0659fd419a5df93166710748f3 parent ac4d8ff2a57179de3ef7834c6ab3fac430b0a05d author NeilBrown Thu, 23 Jun 2005 22:03:32 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:32 -0700 [PATCH] knfsd: nfsd4: remove nfs4_reclaim_init nfs4_reclaim_init is no longer performing any useful function. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d99a05adf8490cc171b7709554936b8f3ac9e362 tree 64be372b75ff074a4220491a439add60d7d92323 parent 58da282b733cff4caef805c6555c7a3b90772946 author NeilBrown Thu, 23 Jun 2005 22:03:21 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:31 -0700 [PATCH] knfsd: nfsd4: simplify lease changing The only way the protocol gives to change the lease time on the fly is to simulate a reboot. We don't have that completely right in the current code; among other things, we should probably put lockd in grace too while we do this. For now, let's just keep this simple, and wait till the next time nfsd starts to register any changes in lease time. If the administrator really wants to change the lease time *now*, they can go ahead and bring nfsd down and then back up again after changing the lease time. Also remove the "if (reclaim_str_hashtbl_size == 0)" case, a shortcut which skips the grace period if we know of no clients in need of recovery. This isn't going to work well with nlm. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b190fecfa33d72bcf74c9473134c2ad14ae9545 tree 94769b846f9d4e38a831f6e343db34bbfdb403bc parent d99a05adf8490cc171b7709554936b8f3ac9e362 author NeilBrown Thu, 23 Jun 2005 22:03:23 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:31 -0700 [PATCH] knfsd: nfsd4: delegation recovery Allow recovery of delegations after reboot. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76a3550ec50ed86885a10a767ebaebb7c9104721 tree 0961d1eb0a61378852cf90f203dba09a22ac012d parent 7b190fecfa33d72bcf74c9473134c2ad14ae9545 author NeilBrown Thu, 23 Jun 2005 22:03:26 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:31 -0700 [PATCH] knfsd: nfsd4: rename nfs4_state_init Somewhat gratuitous rename to simplify following patch. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58da282b733cff4caef805c6555c7a3b90772946 tree 3defc7d637584c133421b6a0314756cb78467bc9 parent dfc8356570b6fcb4035c7d916ade5bbbe6c3b50a author NeilBrown Thu, 23 Jun 2005 22:03:19 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:31 -0700 [PATCH] knfsd: nfsd4: create separate laundromat workqueue We're running the laundromat work on the default kevent worker thread. But the laundromat takes the nfsv4 state semaphore, which is used for way too much stuff, and the potential for deadlocks is high. Better to have this on a separate workqueue. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfc8356570b6fcb4035c7d916ade5bbbe6c3b50a tree 97ee8450e6f0344cf484dfc70f9803fb85080598 parent 5ba266d6323e957588712f6a7d31252cd6b797bb author NeilBrown Thu, 23 Jun 2005 22:03:16 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:30 -0700 [PATCH] knfsd: nfsd4: nfs4_check_open_reclaim cleanup Minor cleanup. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e06b7f9e9537cb826f3cff95816fc4384b67806 tree b6f41e8c458756da5ccf82e075c76b1be329959b parent 46be925fa6f4796e732e16a020fa0ef9d48ea7c8 author NeilBrown Thu, 23 Jun 2005 22:03:13 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:30 -0700 [PATCH] knfsd: nfs4: hold filp while reading or writing We're trying to read and write from a struct file that we may not hold a reference to any more (since a close could be processed as soon as we drop the state lock). Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ba266d6323e957588712f6a7d31252cd6b797bb tree a66e7e0fbc99f67c93e7661e83a02e08e2868050 parent 7e06b7f9e9537cb826f3cff95816fc4384b67806 author NeilBrown Thu, 23 Jun 2005 22:03:15 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:30 -0700 [PATCH] knfsd: nfsd4: fix probe_callback rpc_create_client was modified recently to do its own (synchronous) NULL ping of the server. We'd rather do that on our own, asynchronously, so that we don't have to block the nfsd thread doing the probe, and so that setclientid handling (hence, client mounts) can proceed normally whether the callback is succesful or not. (We can still function fine without the callback channel--we just won't be able to give out delegations till it's verified to work.) Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46be925fa6f4796e732e16a020fa0ef9d48ea7c8 tree 7a2dddced28ad3382f41af54d0f311e9da593770 parent 13cd21845d6a9729ca95e36ae6e8c669623fbfd4 author NeilBrown Thu, 23 Jun 2005 22:03:11 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:30 -0700 [PATCH] knfsd: lockd: flush signals on shutdown Silence another annoying "failed to contact portmap (errno -512)" on shutdown. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13cd21845d6a9729ca95e36ae6e8c669623fbfd4 tree d60064a17994393bfdc412cc1a85ffdf2a5f5914 parent 8beefa249371f55432394ac96864c83b0b309c28 author NeilBrown Thu, 23 Jun 2005 22:03:10 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:30 -0700 [PATCH] nfsd4: reference count struct nfs4_file Add a struct kref to each nfs4_file and take a reference to it from each stateid and delegation that refers to it. The atomicity guarantees are overkill given that all this stuff is done under the single nfsd4 state lock, but a) we'd like finer-grained locking some day, and b) this simplifies the cleanup of the structures a bit, something that has previously been a bit complicated and bug-prone. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e60d4398a7c20fbe9c4a6cc39d7188ef9f65d2f1 tree d634acd73c61b04e873349eee638251fc433cd2c parent c815afc73eeef089922449857ca4ed4d2e8950cb author NeilBrown Thu, 23 Jun 2005 22:03:01 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:29 -0700 [PATCH] nfsd4: slabify nfs4_files The structures the server uses to keep track of various pieces of nfsv4 state (open files, outstanding delegations, etc.) are likely to be allocated and deallocated frequently and seem reasonable candidates for slab caches. While we're at it, the slab code keeps statistics that help catch leaks and such, so we may as well take this chance to eliminate some debugging counters that we've been keeping ourselves. Start with the struct nfs4_file. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8beefa249371f55432394ac96864c83b0b309c28 tree 1d31a36da779a930a6676bdfc7d8fe4fa564a05c parent 6fa305ded4cc859deb4727ad9b25df0bbc064e99 author NeilBrown Thu, 23 Jun 2005 22:03:08 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:29 -0700 [PATCH] nfsd4: rename nfs4_file fields Trivial renaming patch: I can never remember, while looking at various lists relating the nfsd4 state structures, which are the "heads" and which are items on other lists, or which structures are actually on the various lists. The following convention helps me: given structures foo and bar, with foo containing the head of a list of bars, use "bars" for the name of the head of the list contained in the struct foo, and use "per_foo" for the entries in the struct bars. Go ahead and do this for struct nfs4_file. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fa305ded4cc859deb4727ad9b25df0bbc064e99 tree aea444d9e9a348c73eba57b3ba0eb1cd3818f781 parent 5b2d21c1965859acc881dd862b6ebbfae67cdc14 author NeilBrown Thu, 23 Jun 2005 22:03:06 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:29 -0700 [PATCH] nfsd4: remove debugging counters These remaining debugging counters haven't proved that useful. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b2d21c1965859acc881dd862b6ebbfae67cdc14 tree 4d7879cd09f0d0efd5e19e9a008668879327efe9 parent 5ac049ac66416bbe84923f7c2384f23f6ee4aa88 author NeilBrown Thu, 23 Jun 2005 22:03:04 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:29 -0700 [PATCH] nfsd4: slabify delegations Allocate delegations from a slab cache. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac049ac66416bbe84923f7c2384f23f6ee4aa88 tree 060a781f1f246078c9e8c0c0096be7155771c46d parent e60d4398a7c20fbe9c4a6cc39d7188ef9f65d2f1 author NeilBrown Thu, 23 Jun 2005 22:03:03 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:29 -0700 [PATCH] nfsd4: slabify stateids Allocate stateid's from a slab cache. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c815afc73eeef089922449857ca4ed4d2e8950cb tree 7cdaa0ab416d54b1966c399f61b05510b6d7c7a9 parent 496400014f22c4dbdbc1e89249a2feba46939708 author NeilBrown Thu, 23 Jun 2005 22:03:00 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:28 -0700 [PATCH] nfsd4: block metadata ops during grace period We currently return err_grace if a user attempts a non-reclaim open during the grace period. But we also need to prevent renames and removes, at least, to ensure clients have the chance to recover state on files before they are moved or deleted. Of course, local users could also do renames and removes during the lease period, and there's not much we can do about that. This at least will help with remote users. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c44c5eeb2c022ddac98a8543c08dc8ff820561dc tree 17e5d443ec77c228c1881cf624f63e01933a3f03 parent 567d98292e81033182e3da4c33b41ada9c113447 author NeilBrown Thu, 23 Jun 2005 22:02:54 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:28 -0700 [PATCH] nfsd4: add open state code for CLAIM_DELEGATE_CUR State logic for OPEN with claim type CLAIM_DELEGATE_CUR, which the NFSv4 client uses to report local OPENs on a delegated file back to the NFSv4 server. nfs4_check_deleg() performs input delegation stateid lookup and sanity check. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 567d98292e81033182e3da4c33b41ada9c113447 tree 21319e7fb48cd374e917d0557cf7601d35187282 parent 4a6e43e6d4e43723699879f421d321e39eab5e41 author NeilBrown Thu, 23 Jun 2005 22:02:53 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:28 -0700 [PATCH] nfsd4: don't reopen for delegated client We don't really need to be doing a separate open for every stateid. And in the case of an open from a client that already has a delegation on a file, it unnecessarily results in a delegation recall. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 496400014f22c4dbdbc1e89249a2feba46939708 tree 1d05116cef2e6ecfeef9fab0a733a9f2cf2a18e3 parent 0dd3c19212961453817f219cd6200981c38564bc author NeilBrown Thu, 23 Jun 2005 22:02:58 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:28 -0700 [PATCH] nfsd4: fix fh_expire_type We're returning NFS4_FH_NOEXPIRE_WITH_OPEN | NFS4_FH_VOL_RENAME for the fh_expire_type attribute. This is incorrect: 1. The spec actually only allows NOEXPIRE_WITH_OPEN when VOLATILE_ANY is also set. 2. Filehandles for open files can expire, if the file is removed and there is a reboot. 3. Filehandles are only volatile on rename in the nosubtree check case. Unfortunately, there's no way to indicate that we only expire on remove. So our only choice is FH4_VOLATILE_ANY. Although it's redundant, we also set FH4_VOL_RENAME in the subtree check case, since subtreecheck does actually cause problems in practice and it seems possibly useful to give clients some way to distinguish that case. Fix a mispelled #define while we're at it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dd3c19212961453817f219cd6200981c38564bc tree dca7cbaf25a0f114a1b8475e935f33272762d273 parent c44c5eeb2c022ddac98a8543c08dc8ff820561dc author NeilBrown Thu, 23 Jun 2005 22:02:56 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:28 -0700 [PATCH] nfsd4: support CLAIM_DELEGATE_CUR Add OPEN claim type NFS4_OPEN_CLAIM_DELEGATE_CUR to nfsd4_open(). A delegation stateid and a name are provided. OPEN with O_CREAT is not legal with this claim type; otherwise, use the NFS4_OPEN_CLAIM_NULL code path to lookup the filename to be opened. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52f4fb43063c182f3ef7e257ab336a8be8066bb0 tree f7e551168995e5210a0706fb273f6c54ba6bffef parent 0c0a400d1debb172c596b24ab82efab4975990a9 author NeilBrown Thu, 23 Jun 2005 22:02:49 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:27 -0700 [PATCH] nfsd4: find_delegation_file() Factor out a bit of common code that will be useful elsewhere. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a6e43e6d4e43723699879f421d321e39eab5e41 tree 81de781defa837bc59c51725355181a94adb2652 parent 52f4fb43063c182f3ef7e257ab336a8be8066bb0 author NeilBrown Thu, 23 Jun 2005 22:02:50 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:27 -0700 [PATCH] nfsd4: nfs4_check_delegmode Additional minor code reshuffling to prepare for claim_deleg_cur support. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c0a400d1debb172c596b24ab82efab4975990a9 tree 58bd3604e46151662268bd558dce49ac8e72cca0 parent 391cd727eac2e10be7685efd739a3ea9de87393c author John Levon Thu, 23 Jun 2005 22:02:47 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:06:27 -0700 [PATCH] oprofile: report anonymous region samples The below patch passes samples from anonymous regions to userspace instead of just dropping them. This provides the support needed for reporting anonymous-region code samples (today: basic accumulated results; later: Java and other dynamically compiled code). As this changes the format, an upgrade to the just-released 0.9 release of the userspace tools is required. This patch is based upon an earlier one by Will Cohen Signed-off-by: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55f51efdb696ff6e9d2056377d05268a97f3d4e4 tree 980d8960fecb4db3bf337776bc2f53401e103bdf parent cc89c229d9d7ec63cd33e960c20e75b77bc987d0 author Johannes Stezenbach Thu, 23 Jun 2005 22:02:41 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:31 -0700 [PATCH] dvb: flexcop: add BCM3510 ATSC frontend support for Air2PC card Added support for the Broadcom BCM3510 ATSC (8VSB/16VSB & ITU J83 AnnexB FEC QAM64/256) demodulator used in the first generation of Air2PC ATSC PCI-cards/USB-boxes made by B2C2. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 391cd727eac2e10be7685efd739a3ea9de87393c tree 564ac5faefc87d6a8806d56a82d22a0404da0fdc parent 55f51efdb696ff6e9d2056377d05268a97f3d4e4 author Mauro Carvalho Chehab Thu, 23 Jun 2005 22:02:43 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:31 -0700 [PATCH] tuner-core.c improvments and Ymec Tvision TVF8533MF support tuner-core.c, tuner.h: - tuner-core changed to support multiple I2C devices used on some adapters; - Kconfig now has an option (CONFIG_TUNER_MULTI_I2C) to enable this new behavor; - By default, even enabling CONFIG_TUNER_MULTI_I2C, tuner-core emulates the old behavor, using first I2C device for both FM and TV; - There is a new i2c command (TUNER_SET_ADDR) to allow tuner clients to select I2C address for FM or TV tuner; - Tuner I2C dettach now generates a warning on syslog if failed. tuner-simple.c: - TVision TVF-8531MF and TVF-5533 MF tuner included. It uses, by default, I2C on 0xC2 address for TV and on 0xC0 for Radio. Both TV and FM Radio mode are working. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f756ead1366092b73467fe3b1fb23f61034e94f9 tree b9fd69ea85dfd708fe5017dfca4c126862c189d3 parent 776338e121b9db3156bfb4e21622a0219bbab9d4 author Johannes Stezenbach Thu, 23 Jun 2005 22:02:38 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:30 -0700 [PATCH] dvb-usb: fix init error checking Fix error checking during initialization. Thanks to Gerolf Wendland for discovering. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc89c229d9d7ec63cd33e960c20e75b77bc987d0 tree dfe3df3bd9ea201e92f4c10db4531cfad401a3ab parent f756ead1366092b73467fe3b1fb23f61034e94f9 author Johannes Stezenbach Thu, 23 Jun 2005 22:02:39 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:30 -0700 [PATCH] dvb: dvb_frontend: use time_after() Use time_after() macro. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6a235b1186dda0800c8bedc2526830a4a36b44e tree 6fedc0a9e65f7474954ee35888461701a0cb0399 parent 3e05d2b8d3dd34b0237f489e991ed081cb0bf007 author Johannes Stezenbach Thu, 23 Jun 2005 22:02:29 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:30 -0700 [PATCH] dvb: drop obsolete dibusb driver Remove the dibusb driver which has been obsoleted by the generalized dvb-usb driver. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 776338e121b9db3156bfb4e21622a0219bbab9d4 tree 5102272b708a9e8ff81165714870d3d38363cc23 parent b6a235b1186dda0800c8bedc2526830a4a36b44e author Johannes Stezenbach Thu, 23 Jun 2005 22:02:35 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:30 -0700 [PATCH] dvb: Add generalized dvb-usb driver Add generalized dvb-usb driver which supports a wide variety of devices. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f52bdbe9fcf2453d402376e22de1eca6dfc96890 tree 171ae59f656e5791d1b68bf34081fea8a3af1dca parent 718c31831aa134a97f6fef215c208cea80a8b480 author Andrew Morton Thu, 23 Jun 2005 22:02:26 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:29 -0700 [PATCH] i2o build fix LD .tmp_vmlinux1 drivers/built-in.o: In function `i2o_cfg_parms': config-osm.c:(.text+0x12764a): undefined reference to `i2o_parm_issue' Cc: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f33213ecf49c98da4e85121b592c3bea8057c2e6 tree da7e51e7204625f21371eac23a931f4fe479e9db parent 9e87545f06930c1d294423a8091d1077e7444a47 author Markus Lidel Thu, 23 Jun 2005 22:02:23 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:29 -0700 [PATCH] I2O: Lindent run and replacement of printk through osm printing functions Lindent run and replaced printk() through the corresponding osm_*() function Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e87545f06930c1d294423a8091d1077e7444a47 tree ef05fca1becfa0e1584f234ddf9b1a430b7d018e parent b2aaee33fbb354a2f08121aa1c1be55841102761 author Markus Lidel Thu, 23 Jun 2005 22:02:21 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:29 -0700 [PATCH] I2O: second code cleanup of sparse warnings and unneeded syncronization Changes: - Added header "core.h" for i2o_core.ko internal definitions - More sparse fixes - Changed display of TID's in sysfs attributes from XXX to 0xXXX - Use the right functions for accessing I/O and normal memory - Removed error handling of SCSI device errors and let the SCSI layer take care of it - Added new device / removed device handling to SCSI-OSM - Make status access volatile - Cleaned up activation of I2O controller - Removed unnecessary wmb() and rmb() calls - Use own struct i2o_io for I/O memory instead of struct i2o_dma Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718c31831aa134a97f6fef215c208cea80a8b480 tree 9c1716af1b8156d7debb9e3766683cb51ffb4720 parent f33213ecf49c98da4e85121b592c3bea8057c2e6 author Markus Lidel Thu, 23 Jun 2005 22:02:24 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:29 -0700 [PATCH] I2O: Limit max sector workaround for Promise controllers Set max sectors to 256 for Promise controllers. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e05d2b8d3dd34b0237f489e991ed081cb0bf007 tree d0e18c3c7ed42891bb67eb85c0cbbc34517921f6 parent f52bdbe9fcf2453d402376e22de1eca6dfc96890 author Yani Ioannou Thu, 23 Jun 2005 22:02:28 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:29 -0700 [PATCH] tpm: device attribute fixes This patch updates all the device attribute callbacks that weren't updated with the new parameter, I guess because they weren't in Greg's tree (including drivers/pcmcia/ds.c). Without the patch these callbacks are probably broken (and generate a warning along the lines of "assignment from incompatible pointer type"). Please see http://lkml.org/lkml/2005/5/19/40 for the scripts I used to update the attributes automatically. Signed-off-by: Yani Ioannou Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f88e119c4b824a5017456fa094950d0f4092d96c tree 7a0fea02c195732e299a576fd22fd439fbc38bdd parent 61fbfa8129c1771061a0e9f47747854293081c5b author Markus Lidel Thu, 23 Jun 2005 22:02:14 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:28 -0700 [PATCH] I2O: first code cleanup of spare warnings and unused functions Changes: - Removed unnecessary checking of NULL before calling kfree() - Make some functions static - Changed pr_debug() into osm_debug() - Use i2o_msg_in_to_virt() for getting a pointer to the message frame - Cleaned up some comments - Changed some le32_to_cpu() into readl() where necessary - Make error messages of OSM's look the same - Cleaned up error handling in i2o_block_end_request() - Removed unused error handling of failed messages in Block-OSM, which are not allowed by the I2O spec - Corrected the blocksize detection in i2o_block - Added hrt and lct sysfs-attribute to controller - Call done() function in SCSI-OSM after freeing DMA buffers - Removed unneeded variable for message size calculation in i2o_scsi_queuecommand() - Make some changes to remove sparse warnings - Reordered some functions - Cleaned up controller initialization - Replaced some magic numbers by defines - Removed unnecessary dma_sync_single_for_cpu() call on coherent DMA - Removed some unused fields in i2o_controller and removed some unused functions Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f10378fff658f61307496e0ae00095041725cf07 tree 0c0413649317677771fa325dded94f1e12a6a0b7 parent f88e119c4b824a5017456fa094950d0f4092d96c author Markus Lidel Thu, 23 Jun 2005 22:02:16 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:28 -0700 [PATCH] I2O: new sysfs attributes and Adaptec specific block device access and 64-bit DMA support Changes: - Added Bus-OSM which could be used by user space programs to reset a channel on the controller - Make ioctl's in Config-OSM obsolete in prefer for sysfs attributes and move those to its own file - Added sysfs attribute for firmware read and write access for I2O controllers - Added special handling of firmware read and write access for Adaptec controllers - Added vendor id and product id as sysfs-attribute to Executive classes - Added automatic notification of LCT change handling to Exec-OSM - Added flushing function to Block-OSM for later barrier implementation - Use PRIVATE messages for Block access on Adaptec controllers, which are faster then BLOCK class access - Cleaned up support for Promise controller - New messages are now detected using the IRQ status register as suggested by the I2O spec - Added i2o_dma_high() and i2o_dma_low() functions - Added facility for SG tablesize calculation when using 32-bit and 64-bit DMA addresses - Added i2o_dma_map_single() and i2o_dma_map_sg() which could build the SG list for 32-bit as well as 64-bit DMA addresses Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2aaee33fbb354a2f08121aa1c1be55841102761 tree 7567ca61aaf5eed8bb1acd01cd87aa235b854fd4 parent f10378fff658f61307496e0ae00095041725cf07 author Markus Lidel Thu, 23 Jun 2005 22:02:19 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:28 -0700 [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround Changes: - Provide SG_IO access to BLOCK and EXECUTIVE class on Adaptec controllers - Use PRIVATE messages in SCSI-OSM because on some controllers normal SCSI class commands like READ or READ CAPACITY cause errors - Use new DMA and SG list creation function - Added workaround to limit sectors per request for Adaptec 2400A controllers Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61fbfa8129c1771061a0e9f47747854293081c5b tree 03fe14c41e2a49d3841ae6820a2dd43a91fddee9 parent 34d6e07570ef74b965131452a862b13dfa779188 author Markus Lidel Thu, 23 Jun 2005 22:02:11 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:28 -0700 [PATCH] I2O: bugfixes and compability enhancements Changes: - Fixed sysfs bug where user and parent links where added to the I2O device itself - Fixed bug when calculating TID for the event handler and cleaned up the workflow of i2o_driver_dispatch() - Fixed oops when no I2O device could be found for an event delivered to Exec-OSM - Fixed initialization of spinlock in Exec-OSM - Fixed memory leak in i2o_cfg_passthru() and i2o_cfg_passthru() - Removed MTRR support - Added PCI ID of Promise SX6000 with firmware >= 1.20.x.x - Turn of caching for ioremapped memory of in_queue - Added initialization sequence for Promise controllers - Moved definition of u8 / u16 / u32 for raidutils before first use Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e234bc970451edc4021637fe2979b887da873f9a tree 37d27588e21bd686f1377d4cad207f4a06a4a9ff parent e1a23c6671f2bfd6e5e112848f01334ca39ea2b1 author Kylene Hall Thu, 23 Jun 2005 22:02:08 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:27 -0700 [PATCH] tpm: add debugging output Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1a23c6671f2bfd6e5e112848f01334ca39ea2b1 tree 9eae7fac05706a63ac3b486ecf4d9c686fa7dd54 parent a6df7da8f7ee99e6fd1995fad852bacb978a6447 author Kylene Hall Thu, 23 Jun 2005 22:02:06 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:27 -0700 [PATCH] tpm: replace odd LPC init function Realized the tpm_lpc_init function isn't really necessary. Replaced it with vendor specific logic to find out the address the BIOS mapped the TPM to. This patch removes the tpm_lpc_init function, enums associated with it and calls to it. The patch also implements the replacement functionality. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6df7da8f7ee99e6fd1995fad852bacb978a6447 tree df65fb612c3e372990ca1380098ba02d95247bee parent 5e976d5557d3dd1e835b8be52e6201556dcfa052 author Kylene Hall Thu, 23 Jun 2005 22:02:04 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:27 -0700 [PATCH] tpm: TPMs on additional LPC bus Add support for TPMs on additional LPC buses. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34d6e07570ef74b965131452a862b13dfa779188 tree 74086d4c88ed889ac1d0b26cc76d3fe42264e639 parent e234bc970451edc4021637fe2979b887da873f9a author Kylene Jo Hall Thu, 23 Jun 2005 22:02:10 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:27 -0700 [PATCH] tpm: improve output in sysfs files when the TPM fails Since after reconsideration this is more debug output than an error (the TPM is operating correctly given the current state) I have changed the statements to dbg rather than err. Also this patch corrects a memory leak if the error path is taken in the tpm_show_pubek function. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2fe90666a84e6a11c541424dfa9eec20cfe5fc1 tree f98ba19517fa71c726a11b9a27daf8be7e961717 parent fe3fd48384af79e7619d3c6b0a020f801ef63c3b author Kylene Hall Thu, 23 Jun 2005 22:01:57 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:26 -0700 [PATCH] tpm: use to_pci_dev Changes the container_of calls to 'to_pci_dev' as suggested previously. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9e5b6bf9cf19e6e9f2825228136ea17bc9a051a tree 4261c5ec342c9cdd56b214a9f1eb4c4b83465733 parent 6659ca2ab6730c3bbb9fa495f2327b95b955decd author Kylene Hall Thu, 23 Jun 2005 22:02:02 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:26 -0700 [PATCH] tpm: add cancel function This patch provides the logic to check if an operation has been canceled while waiting for the response to arrive. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81179bb6a54c2c626b4cbcc084ca974bb2d7f2a3 tree a58c98a91594eef0c1c681f706b196c8a0f613b5 parent e2fe90666a84e6a11c541424dfa9eec20cfe5fc1 author Kylene Hall Thu, 23 Jun 2005 22:01:59 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:26 -0700 [PATCH] tpm: remove unnecessary __force Remove the unnecessary use of __force. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6659ca2ab6730c3bbb9fa495f2327b95b955decd tree 1b8a9a09a830b0a5233c6e9f073c53260dbef819 parent 81179bb6a54c2c626b4cbcc084ca974bb2d7f2a3 author Kylene Hall Thu, 23 Jun 2005 22:02:00 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:26 -0700 [PATCH] tpm: sysfs owernship changes In the current driver all sysfs files end up owned by the base driver module rather than the module that actually owns the device this is a problem if the module is unloaded and the file is open. This patch fixes all that and lumps the files into an attribute_group. Signed-off-by: Kylene Hall Signed-off-by: Yani Ioannou Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e976d5557d3dd1e835b8be52e6201556dcfa052 tree 73f77bc349364eedbd2e3ceae8e9bf219f5bbd69 parent d9e5b6bf9cf19e6e9f2825228136ea17bc9a051a author Kylene Hall Thu, 23 Jun 2005 22:02:03 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:26 -0700 [PATCH] tpm: locking fixes Add a missing lock in the register hardware and fix a misplaced lock release release. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe3fd48384af79e7619d3c6b0a020f801ef63c3b tree 1caf9ce5470e3a18b70547d9bb046ee379faebff parent 2df7111fc6b0e050b06123379821ece2f8dd5bbc author Kylene Hall Thu, 23 Jun 2005 22:01:56 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:25 -0700 [PATCH] tpm: fix timer initialization Fix the timer to be inited and modified properly. This work depends on the fixing of the msleep stuff which in patch 1 of this set. Signed-of-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b44bd58063f7839f42a4047843e93e1fbf73cda tree 4973ce84fd225eec4333507f62192e3a5b8b4edd parent f87ea32ae2a986acc5258ad736ab0b55937c9489 author Kylene Hall Thu, 23 Jun 2005 22:01:53 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:25 -0700 [PATCH] tpm: read return code issue Replace an erroneous return code for the read function when no data is available. Signed-of-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2df7111fc6b0e050b06123379821ece2f8dd5bbc tree 76ef3f3bcfdd808101474143c2d174fcb64d5b90 parent 5b44bd58063f7839f42a4047843e93e1fbf73cda author Kylene Hall Thu, 23 Jun 2005 22:01:54 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:25 -0700 [PATCH] tpm: large stack objects Remove some large objects be declared on the the stack. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f87ea32ae2a986acc5258ad736ab0b55937c9489 tree 5640377015f42d048b4f93d7a4a3bf84406d12cb parent dff37e4b0ad7bca3616f829c84bcf4ddd385d2c4 author Kylene Hall Thu, 23 Jun 2005 22:01:51 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:24 -0700 [PATCH] tpm: remove unnecessary module stuff Description: Remove unnecessary (empty) module definitions. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dff37e4b0ad7bca3616f829c84bcf4ddd385d2c4 tree 242339896cd0abdba048a8701424cdf67f7ee83d parent 3122a88a242454efe72930e56a3e4d56ee534f3c author Kylene Hall Thu, 23 Jun 2005 22:01:50 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:24 -0700 [PATCH] tpm: address missing const defs Add "const" to several static arrays that were missing it in their definitions. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 700d8bdcd0fa815b08638b1e4d43b66d60cc6a8d tree c3defbf1cb77b9290a002cff04e1b2f054dfcb05 parent 6a94f9209762a6eb286f668e1346ad87985cc765 author Nishanth Aravamudan Thu, 23 Jun 2005 22:01:47 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:24 -0700 [PATCH] char/tpm: use msleep(), clean-up timers, The TPM driver unnecessarily uses timers when it simply needs to maintain a maximum delay via time_before(). msleep() is used instead of schedule_timeout() to guarantee the task delays as expected. While compile-testing, I found a typo in the driver, using tpm_chp instead of tpm_chip. Remove the now unused timer callback function and change TPM_TIMEOUT's units to milliseconds. Patch is compile-tested. Signed-off-by: Nishanth Aravamudan Acked-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a94f9209762a6eb286f668e1346ad87985cc765 tree 1dbff088e8340cde187fc581a549bacde26d798f parent 77cf3973f22c7e7158f5e2c3c3d6809125b77e4b author Andrew Morton Thu, 23 Jun 2005 22:01:45 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:24 -0700 [PATCH] ipmi: add 32-bit ioctl translations for 64-bit platforms ) From: Corey Minyard This contains the patch for supporting 32-bit compatible ioctls on x86_64 systems. The current x86_64 driver will not work with 32-bit applications. Signed-off-by: Jordan Hargave Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3122a88a242454efe72930e56a3e4d56ee534f3c tree 123d3c91c303d77702b392b7ac136312eb0b7ec2 parent 700d8bdcd0fa815b08638b1e4d43b66d60cc6a8d author Kylene Hall Thu, 23 Jun 2005 22:01:48 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:24 -0700 [PATCH] tpm: Fix concerns with TPM driver -- use enums Convert #defines to named enums where that preference has been indicated by other kernel developers. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdd5b29c6bc835dab71148afd5952f9cd278eef1 tree b184956460a06c3d07e7eca726459f53232db21d parent 7282bee78798294bb1f0211a842cdb9f4872db3d author Jan Kara Thu, 23 Jun 2005 22:01:37 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:23 -0700 [PATCH] Make reiserfs BUG on too big transaction Make reiserfs BUG() when somebody tries to start a larger transaction than it's allowed (currently the code just silently deadlocks). Signed-off-by: Jan Kara Acked-by: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f43f84f13a49fe5f0f7d1595082b6d7ec6daa85 tree 90ae2d056b5e0ad46a4ef88b8c7d76ff514bf5c4 parent 845e78a15726f238fe1398b8c07754726cd726a7 author Corey Minyard Thu, 23 Jun 2005 22:01:40 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:23 -0700 [PATCH] ipmi: timer shutdown cleanup Clean up the timer shutdown handling in the IPMI driver. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 845e78a15726f238fe1398b8c07754726cd726a7 tree 9de5bd95e14c5cd18b8033102fcb80d69e7a6cd0 parent bdd5b29c6bc835dab71148afd5952f9cd278eef1 author Corey Minyard Thu, 23 Jun 2005 22:01:39 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:23 -0700 [PATCH] ipmi: doc updates This cleans up the IPMI documentation to fix some problems and make it more accurate for the current drivers. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77cf3973f22c7e7158f5e2c3c3d6809125b77e4b tree 8c24abece4c6b3fb8d421e5ff94e21cc9a07f656 parent 3b6259432dee81f928c22c48c080d5f6325ed92e author Corey Minyard Thu, 23 Jun 2005 22:01:44 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:23 -0700 [PATCH] ipmi: use completions, not semaphores, in powerdown code Don't use semaphores for IPC in the poweroff code, use completions instead. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b6259432dee81f928c22c48c080d5f6325ed92e tree 4b22a1a9a547a6e3da9d1a45cd83d210d9398fcd parent 8f43f84f13a49fe5f0f7d1595082b6d7ec6daa85 author Corey Minyard Thu, 23 Jun 2005 22:01:42 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:23 -0700 [PATCH] ipmi: add power cycle capability This patch to adds "power cycle" functionality to the IPMI power off module ipmi_poweroff. It also contains changes to support procfs control of the feature. The power cycle action is considered an optional chassis control in the IPMI specification. However, it is definitely useful when the hardware supports it. A power cycle is usually required in order to reset a firmware in a bad state. This action is critical to allow remote management of servers. The implementation adds power cycle as optional to the ipmi_poweroff module. It can be modified dynamically through the proc entry mentioned above. During a power down and enabled, the power cycle command is sent to the BMC firmware. If it fails either due to non-support or some error, it will retry to send the command as power off. Signed-off-by: Christopher A. Poblete Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e344b63eeec7850b5e900e10c8a6c61d083fd3a4 tree 4871ace0c16423ce4697e4065841c3a0f55563c6 parent 9a8fd5589902153a134111ed7a40f9cca1f83254 author Chris Zankel Thu, 23 Jun 2005 22:01:30 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:22 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 7 The attached patches provides part 7 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a8fd5589902153a134111ed7a40f9cca1f83254 tree 6f7a06de25bdf0b2d94623794c2cbbc66b5a77f6 parent 3f65ce4d141e435e54c20ed2379d983d362a2cb5 author Chris Zankel Thu, 23 Jun 2005 22:01:26 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:22 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 6 The attached patches provides part 6 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7282bee78798294bb1f0211a842cdb9f4872db3d tree 7a659275aaa7f4c741bd24eeb9f827b2f0a926d5 parent e344b63eeec7850b5e900e10c8a6c61d083fd3a4 author Chris Zankel Thu, 23 Jun 2005 22:01:33 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:22 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8 The attached patches provides part 8 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f65ce4d141e435e54c20ed2379d983d362a2cb5 tree 1e86807b3f215d90d9cf57aa609f73f856515b30 parent 249ac17e96811acc3c6402317dd5d5c89d2cbf68 author Chris Zankel Thu, 23 Jun 2005 22:01:24 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:22 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 5 The attached patches provides part 5 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e1a6dd2fddcc73c9e933758361e3d9c076c688a tree 30d6c0cdc7f21d1357917517351a1c259f3eba4b parent 48b415ca13bac91f83db3b9d362fd5ae0ce275cb author Chris Zankel Thu, 23 Jun 2005 22:01:10 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:21 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 1 The attached patches provides part 1 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a0015d62668e64c8b6e02e360fbbea121bfd5e6 tree ed879f8cbe0efee21ad861f38c4024bdcf25df9b parent 4bedea94545165364618d403d03b61d797acba0b author Chris Zankel Thu, 23 Jun 2005 22:01:16 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:21 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3 The attached patches provides part 3 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4bedea94545165364618d403d03b61d797acba0b tree 04626bb71e0fb5ea5c5d5aa4fedc813301bea6a6 parent 8e1a6dd2fddcc73c9e933758361e3d9c076c688a author Chris Zankel Thu, 23 Jun 2005 22:01:12 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:21 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 2 The attached patches provides part 2 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48b415ca13bac91f83db3b9d362fd5ae0ce275cb tree 674d0561c371cdebdf5d0969c38a583392b16583 parent 556a2a45bce1740f035befaa7201e4ad836c7257 author Chris Zankel Thu, 23 Jun 2005 22:01:07 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:21 -0700 [PATCH] xtensa: Tensilica Xtensa CPU arch maintainer record Start of a patch series which adds support for the xtensa architecture to Linux. The Xtensa architecture is highly configurable and usually buried inside an SOC device. So, if you buy a new printer, digital camera, or cell phone, there is a chance that there is an Xtensa inside even though you don't know it (sometimes as a small audio-engine or as a control CPU). Linux hasn't been adopted widely with Xtensa yet, but with Linux growing in the embedded space, I am sure it will become much more important. The attached patch supplies the maintainer record for an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 249ac17e96811acc3c6402317dd5d5c89d2cbf68 tree 0a174065460de196861b85f1d9a48c88b2a2675a parent 5a0015d62668e64c8b6e02e360fbbea121bfd5e6 author Chris Zankel Thu, 23 Jun 2005 22:01:20 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:21 -0700 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 4 The attached patches provides part 4 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 556a2a45bce1740f035befaa7201e4ad836c7257 tree d4a85b6f2bd02ab5c7c194e351508b80035f07c5 parent 1f54587bea84a35125c95e19b98c2f464c50871b author Jan Kara Thu, 23 Jun 2005 22:01:06 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:20 -0700 [PATCH] quota: reiserfs: improve quota credit estimates Use improved credits estimates for quota operations. Also reserve space for a quota operation in a transaction only if filesystem was mounted with some quota option. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f54587bea84a35125c95e19b98c2f464c50871b tree 42f2467d6892be821271a2257e1259922bdafd45 parent 4e5117ba0af4582b6ec9164874f719d7f3f1eb2b author Jan Kara Thu, 23 Jun 2005 22:01:04 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:20 -0700 [PATCH] quota: ext3: Improve quota credit estimates Use improved credits estimates for quota operations. Also reserve a space for a quota operation in a transaction only if filesystem was mounted with some quota options. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd6a1f16fffdfe010fdc2979fd01f12357816762 tree 528e4ed005ee45936d8d8bd5cc490e0826bd27e9 parent 92198f7eaa5df3479341dd8fa20c2c81aa3b1e25 author Jan Kara Thu, 23 Jun 2005 22:01:01 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:19 -0700 [PATCH] reiserfs: add checking of journal_begin() return value Check return values of journal_begin() and journal_end() in the quota code for reiserfs. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92198f7eaa5df3479341dd8fa20c2c81aa3b1e25 tree b2b7f8c73b94b4179d5002eaaa30f683b6dc5132 parent 16c29b67fb3bbacfc2a71f9e5f7d85728ef45efa author Christoph Hellwig Thu, 23 Jun 2005 22:00:59 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:19 -0700 [PATCH] pass iocb to dio_iodone_t XFS will have to look at iocb->private to fix aio+dio. No other filesystem is using the blockdev_direct_IO* end_io callback. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e5117ba0af4582b6ec9164874f719d7f3f1eb2b tree d667e418571366ecea1188cb113e786a4a1d7f5c parent bd6a1f16fffdfe010fdc2979fd01f12357816762 author Jan Kara Thu, 23 Jun 2005 22:01:03 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:19 -0700 [PATCH] quota: improve credits estimates Improve estimates on the number of needed credits for quota transaction. Now we distinguish blocks that might need to be allocated and blocks that only need to be rewritten. Also we distinguish deleting of a quota structure and creating of a new one. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e30148c3d524a9c1c63ca28261bc24c457eb07a tree a2fcc46cc11fe871ad976c07476d934a07313576 parent 8589b4e00e352f983259140f25a262d973be6bc5 author David Howells Thu, 23 Jun 2005 22:00:56 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:19 -0700 [PATCH] Keys: Make request-key create an authorisation key The attached patch makes the following changes: (1) There's a new special key type called ".request_key_auth". This is an authorisation key for when one process requests a key and another process is started to construct it. This type of key cannot be created by the user; nor can it be requested by kernel services. Authorisation keys hold two references: (a) Each refers to a key being constructed. When the key being constructed is instantiated the authorisation key is revoked, rendering it of no further use. (b) The "authorising process". This is either: (i) the process that called request_key(), or: (ii) if the process that called request_key() itself had an authorisation key in its session keyring, then the authorising process referred to by that authorisation key will also be referred to by the new authorisation key. This means that the process that initiated a chain of key requests will authorise the lot of them, and will, by default, wind up with the keys obtained from them in its keyrings. (2) request_key() creates an authorisation key which is then passed to /sbin/request-key in as part of a new session keyring. (3) When request_key() is searching for a key to hand back to the caller, if it comes across an authorisation key in the session keyring of the calling process, it will also search the keyrings of the process specified therein and it will use the specified process's credentials (fsuid, fsgid, groups) to do that rather than the calling process's credentials. This allows a process started by /sbin/request-key to find keys belonging to the authorising process. (4) A key can be read, even if the process executing KEYCTL_READ doesn't have direct read or search permission if that key is contained within the keyrings of a process specified by an authorisation key found within the calling process's session keyring, and is searchable using the credentials of the authorising process. This allows a process started by /sbin/request-key to read keys belonging to the authorising process. (5) The magic KEY_SPEC_*_KEYRING key IDs when passed to KEYCTL_INSTANTIATE or KEYCTL_NEGATE will specify a keyring of the authorising process, rather than the process doing the instantiation. (6) One of the process keyrings can be nominated as the default to which request_key() should attach new keys if not otherwise specified. This is done with KEYCTL_SET_REQKEY_KEYRING and one of the KEY_REQKEY_DEFL_* constants. The current setting can also be read using this call. (7) request_key() is partially interruptible. If it is waiting for another process to finish constructing a key, it can be interrupted. This permits a request-key cycle to be broken without recourse to rebooting. Signed-Off-By: David Howells Signed-Off-By: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16c29b67fb3bbacfc2a71f9e5f7d85728ef45efa tree adf06d2e9db51a455038f189790bfceffc1e0218 parent 3e30148c3d524a9c1c63ca28261bc24c457eb07a author Michael Halcrow Thu, 23 Jun 2005 22:00:58 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:19 -0700 [PATCH] eCryptfs: export user key type Export this symbol to GPL modules for eCryptfs: an out-of-tree GPL'ed filesystem. Signed off by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8589b4e00e352f983259140f25a262d973be6bc5 tree d53c9b43ee0aaa2d7518a023c4b6373422117506 parent 7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a author David Howells Thu, 23 Jun 2005 22:00:53 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:18 -0700 [PATCH] Keys: Use RCU to manage session keyring pointer The attached patch uses RCU to manage the session keyring pointer in struct signal_struct. This means that searching need not disable interrupts and get a the sighand spinlock to access this pointer. Furthermore, by judicious use of rcu_read_(un)lock(), this patch also avoids the need to take and put refcounts on the session keyring itself, thus saving on even more atomic ops. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a tree abe428ecb966e1dae07fce17f38e3e0c0ab4f134 parent 76d8aeabfeb1c42641a81c44280177b9a08670d8 author David Howells Thu, 23 Jun 2005 22:00:51 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:18 -0700 [PATCH] Keys: Pass session keyring to call_usermodehelper() The attached patch makes it possible to pass a session keyring through to the process spawned by call_usermodehelper(). This allows patch 3/3 to pass an authorisation key through to /sbin/request-key, thus permitting better access controls when doing just-in-time key creation. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76d8aeabfeb1c42641a81c44280177b9a08670d8 tree 0a584439bb44e440717aa77a1398ba9eea24a137 parent 7286aa9b9ab35f20b1ff16d867f4535701df99b5 author David Howells Thu, 23 Jun 2005 22:00:49 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:18 -0700 [PATCH] keys: Discard key spinlock and use RCU for key payload The attached patch changes the key implementation in a number of ways: (1) It removes the spinlock from the key structure. (2) The key flags are now accessed using atomic bitops instead of write-locking the key spinlock and using C bitwise operators. The three instantiation flags are dealt with with the construction semaphore held during the request_key/instantiate/negate sequence, thus rendering the spinlock superfluous. The key flags are also now bit numbers not bit masks. (3) The key payload is now accessed using RCU. This permits the recursive keyring search algorithm to be simplified greatly since no locks need be taken other than the usual RCU preemption disablement. Searching now does not require any locks or semaphores to be held; merely that the starting keyring be pinned. (4) The keyring payload now includes an RCU head so that it can be disposed of by call_rcu(). This requires that the payload be copied on unlink to prevent introducing races in copy-down vs search-up. (5) The user key payload is now a structure with the data following it. It includes an RCU head like the keyring payload and for the same reason. It also contains a data length because the data length in the key may be changed on another CPU whilst an RCU protected read is in progress on the payload. This would then see the supposed RCU payload and the on-key data length getting out of sync. I'm tempted to drop the key's datalen entirely, except that it's used in conjunction with quota management and so is a little tricky to get rid of. (6) Update the keys documentation. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7286aa9b9ab35f20b1ff16d867f4535701df99b5 tree c816ea0350a0f0c7ac503c6020a6ea5398a59ee4 parent 16822e62053e73fa7def9decc38a7e287d27d980 author Andrea Arcangeli Thu, 23 Jun 2005 22:00:45 -0700 committer Linus Torvalds Fri, 24 Jun 2005 00:05:18 -0700 [PATCH] ppc64: fix seccomp with 32-bit userland The seccomp check has to happen when entering the syscall and not when exiting it or regs->gpr[0] contains garabge during signal handling in ppc64_rt_sigreturn (this actually might be a bug too, but an orthogonal one, since we really have to run the check before invoking the syscall and not after it). Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d368fa3ef90f2159d9e542303901ebf68144dd tree 99e963681f413a543e13c0324e496a8db46bc673 parent 65df877ab2e2328a4704af218efaed0a45176c86 author David S. Miller Thu, 23 Jun 2005 23:55:41 -0700 committer David S. Miller Thu, 23 Jun 2005 23:55:41 -0700 [PKT_SCHED]: Make NET_EMATCH_TEXT select TEXTSEARCh Signed-off-by: David S. Miller commit 65df877ab2e2328a4704af218efaed0a45176c86 tree ec7cf77ddc08fca3c007dc0ac209d1e7ba2953d3 parent a8acfbac75c2ffdd66fb5dfcdb7ab5aaced94fd8 author David S. Miller Thu, 23 Jun 2005 23:49:52 -0700 committer David S. Miller Thu, 23 Jun 2005 23:49:52 -0700 [LIB]: textsearch.o needs to be obj-y not lib-y. It exports symbols. Signed-off-by: David S. Miller commit a8acfbac75c2ffdd66fb5dfcdb7ab5aaced94fd8 tree 16d93b0ca58c048e7e1b524f15e97db3e5beb35c parent 9b200b02a6c9cddca5132d64aa41156bbcddcbaa author David S. Miller Thu, 23 Jun 2005 23:45:02 -0700 committer David S. Miller Thu, 23 Jun 2005 23:45:02 -0700 [TCP]: Need to declare 'tcp_reno' in net/tcp.h Signed-off-by: David S. Miller commit 9b200b02a6c9cddca5132d64aa41156bbcddcbaa tree 4e326c4fbe9b502c621149cd384b8a9a98642b8e parent d675c989ed2d4ba23dff615330b04371aea83534 author Jesper Juhl Thu, 23 Jun 2005 21:06:56 -0700 committer David S. Miller Thu, 23 Jun 2005 21:06:56 -0700 [SLIP]: Simplify sl_free_bufs() We can avoid assignments to the local variable 'tmp' and actually get rid of tmp alltogether in sl_free_bufs(). This patch does that. This is safe since both kfree() and slhc_free() handles NULL pointers gracefully. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit d675c989ed2d4ba23dff615330b04371aea83534 tree 856df6f7dc1fba81b134e2363e42dbf6022fa671 parent 3fc7e8a6d842f72d16d2623b1022814a635ab961 author Thomas Graf Thu, 23 Jun 2005 21:00:58 -0700 committer David S. Miller Thu, 23 Jun 2005 21:00:58 -0700 [PKT_SCHED]: Packet classification based on textsearch (ematch) Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 3fc7e8a6d842f72d16d2623b1022814a635ab961 tree 93f60c9af99b790c1d79bef1d3414fea3d7b9c5c parent 677e90eda3bd8cfde0b748daaa46476162a03950 author Thomas Graf Thu, 23 Jun 2005 21:00:17 -0700 committer David S. Miller Thu, 23 Jun 2005 21:00:17 -0700 [NET]: skb_find_text() - Find a text pattern in skb data Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 677e90eda3bd8cfde0b748daaa46476162a03950 tree 4b40614cf9cd125883d0430467be9172997ca184 parent 6408f79cce401e1bfecf923e7156f84f96e021e3 author Thomas Graf Thu, 23 Jun 2005 20:59:51 -0700 committer David S. Miller Thu, 23 Jun 2005 20:59:51 -0700 [NET]: Zerocopy sequential reading of skb data Implements sequential reading for both linear and non-linear skb data at zerocopy cost. The data is returned in chunks of arbitary length, therefore random access is not possible. Usage: from := 0 to := 128 state := undef data := undef len := undef consumed := 0 skb_prepare_seq_read(skb, from, to, &state) while (len = skb_seq_read(consumed, &data, &state)) != 0 do /* do something with 'data' of length 'len' */ if abort then /* abort read if we don't wait for * skb_seq_read() to return 0 */ skb_abort_seq_read(&state) return endif /* not necessary to consume all of 'len' */ consumed += len done Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 6408f79cce401e1bfecf923e7156f84f96e021e3 tree 203624ffacf60d364293adc47d2f59f6ba81dd35 parent df3fb93ad9ec0b20c785c0ad82d42d159a1af272 author Thomas Graf Thu, 23 Jun 2005 20:59:16 -0700 committer David S. Miller Thu, 23 Jun 2005 20:59:16 -0700 [LIB]: Naive finite state machine based textsearch A finite state machine consists of n states (struct ts_fsm_token) representing the pattern as a finite automation. The data is read sequentially on a octet basis. Every state token specifies the number of recurrences and the type of value accepted which can be either a specific character or ctype based set of characters. The available type of recurrences include 1, (0|1), [0 n], and [1 n]. The algorithm differs between strict/non-strict mode specyfing whether the pattern has to start at the first octect. Strict mode is enabled by default and can be disabled by inserting TS_FSM_HEAD_IGNORE as the first token in the chain. The runtime performance of the algorithm should be around O(n), however while in strict mode the average runtime can be better. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit df3fb93ad9ec0b20c785c0ad82d42d159a1af272 tree e29ba25f55cb77e24310999a949b433e98d7656e parent 2de4ff7bd658c97fb357efa3095a509674dacb5a author Thomas Graf Thu, 23 Jun 2005 20:58:37 -0700 committer David S. Miller Thu, 23 Jun 2005 20:58:37 -0700 [LIB]: Knuth-Morris-Pratt textsearch algorithm Implements a linear-time string-matching algorithm due to Knuth, Morris, and Pratt [1]. Their algorithm avoids the explicit computation of the transition function DELTA altogether. Its matching time is O(n), for n being length(text), using just an auxiliary function PI[1..m], for m being length(pattern), precomputed from the pattern in time O(m). The array PI allows the transition function DELTA to be computed efficiently "on the fly" as needed. Roughly speaking, for any state "q" = 0,1,...,m and any character "a" in SIGMA, the value PI["q"] contains the information that is independent of "a" and is needed to compute DELTA("q", "a") [2]. Since the array PI has only m entries, whereas DELTA has O(m|SIGMA|) entries, we save a factor of |SIGMA| in the preprocessing time by computing PI rather than DELTA. [1] Cormen, Leiserson, Rivest, Stein Introdcution to Algorithms, 2nd Edition, MIT Press [2] See finite automation theory Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 2de4ff7bd658c97fb357efa3095a509674dacb5a tree 49036dbf594317a6a17ff4e56f65158a6aeacbda parent 5f8ef48d240963093451bcf83df89f1a1364f51d author Thomas Graf Thu, 23 Jun 2005 20:49:30 -0700 committer David S. Miller Thu, 23 Jun 2005 20:49:30 -0700 [LIB]: Textsearch infrastructure. The textsearch infrastructure provides text searching facitilies for both linear and non-linear data. Individual search algorithms are implemented in modules and chosen by the user. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 5f8ef48d240963093451bcf83df89f1a1364f51d tree cecb30c2f59778f7f509a84b3aa7ea097c3f2b27 parent 51b0bdedb8e784d0d969a6b77151911130812400 author Stephen Hemminger Thu, 23 Jun 2005 20:37:36 -0700 committer David S. Miller Thu, 23 Jun 2005 20:37:36 -0700 [TCP]: Allow choosing TCP congestion control via sockopt. Allow using setsockopt to set TCP congestion control to use on a per socket basis. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 51b0bdedb8e784d0d969a6b77151911130812400 tree 2acfa2b696773e96c08641d73aadf6b83d93b10f parent 31aa02c53c84658f6694f319f09e232ede27be5a author Stephen Hemminger Thu, 23 Jun 2005 20:14:40 -0700 committer David S. Miller Thu, 23 Jun 2005 20:14:40 -0700 [NET]: Separate two usages of netdev_max_backlog. Separate out the two uses of netdev_max_backlog. One controls the upper bound on packets processed per softirq, the new name for this is netdev_budget; the other controls the limit on packets queued via netif_rx. Increase the max_backlog default to account for faster processors. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 31aa02c53c84658f6694f319f09e232ede27be5a tree 3af5cce958dcce744548b312a043aa4a0b769a50 parent 34008d8c631d067caffa136313260525f3ae48a2 author Stephen Hemminger Thu, 23 Jun 2005 20:12:48 -0700 committer David S. Miller Thu, 23 Jun 2005 20:12:48 -0700 [NET]: Eliminate netif_rx massive packet drops. Eliminate the throttling behaviour when the netif receive queue fills because it behaves badly when using high speed networks under load. The throttling cause multiple packet drops that cause TCP to go into slow start mode. The same effective patch has been part of BIC TCP and H-TCP as well as part of Web100. The existing code drops 100's of packets when the queue fills; this changes it to individual packet drop-tail. Signed-off-by: Stephen Hemmminger Signed-off-by: David S. Miller commit 34008d8c631d067caffa136313260525f3ae48a2 tree 171436c170fb7df649f8bf7cb95391f6d844bd03 parent c1ebcdb8c422cd73f54bcd2b9953e443a47667e5 author Stephen Hemminger Thu, 23 Jun 2005 20:10:00 -0700 committer David S. Miller Thu, 23 Jun 2005 20:10:00 -0700 [NET]: Remove obsolete netif_rx congestion sensing mechanism. Remove the congestion sensing mechanism from netif_rx, and always return either full or empty. Almost no driver checks the return value from netif_rx, and those that do only use it for debug messages. The original design of netif_rx was to do flow control based on the receive queue, but NAPI has supplanted this and no driver uses the feedback. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit c1ebcdb8c422cd73f54bcd2b9953e443a47667e5 tree 312664836ac20509cc15609b8b0c7d583e9fe32d parent 16822e62053e73fa7def9decc38a7e287d27d980 author Stephen Hemminger Thu, 23 Jun 2005 20:08:59 -0700 committer David S. Miller Thu, 23 Jun 2005 20:08:59 -0700 [NET]: Remove obsolete fastroute stats. Remove last vestiages of fastroute code that is no longer used. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 16822e62053e73fa7def9decc38a7e287d27d980 tree fc736377c5c7e23ee78569392ed31a6030289e44 parent a39451c17f53bbae053555670c7b678d46bcebba parent e608a8072b10258aa18c2e33324def225199ba1d author Linus Torvalds Thu, 23 Jun 2005 17:27:24 -0700 committer Linus Torvalds Thu, 23 Jun 2005 17:27:24 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit a39451c17f53bbae053555670c7b678d46bcebba tree 8bb6106ec7812a421c3d3eb9c8c273580cc703fc parent adb7ee3746b579a7fa7af7c4ec2c8164bc910ed4 parent 0e57976b6376f7fda6bef8b7dee2a3c8819ec9e9 author Linus Torvalds Thu, 23 Jun 2005 17:26:31 -0700 committer Linus Torvalds Thu, 23 Jun 2005 17:26:31 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit adb7ee3746b579a7fa7af7c4ec2c8164bc910ed4 tree d8a1f9223b3b7384af7f653a519032b69ef60e0c parent f46f6b20cb01508f5020142ff91021f8fb39550b parent 691027b91be99413dc60fab0902b366434555015 author Linus Torvalds Thu, 23 Jun 2005 17:19:56 -0700 committer Linus Torvalds Thu, 23 Jun 2005 17:19:56 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit f46f6b20cb01508f5020142ff91021f8fb39550b tree 30b8aa2014b03840a5f18d9196639cc80617c8c5 parent a8ad86f2dc46356f87be1327dabc18bdbda32f50 parent 67f7654ea1f11fac1cf4a33bf9a5d9079d122e70 author Linus Torvalds Thu, 23 Jun 2005 16:58:55 -0700 committer Linus Torvalds Thu, 23 Jun 2005 16:58:55 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit e608a8072b10258aa18c2e33324def225199ba1d tree 4b29a7e50c52a009ea7d38eb3935b57945edc88d parent a8ad86f2dc46356f87be1327dabc18bdbda32f50 author David Mosberger-Tang Wed, 22 Jun 2005 22:24:00 -0700 committer Tony Luck Thu, 23 Jun 2005 14:52:51 -0700 [IA64] Fix pfn_to_nid() so the kernel compiles again for !CONFIG_DISCONTIGMEM. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 67f7654ea1f11fac1cf4a33bf9a5d9079d122e70 tree a8909f33251ff04635f73d3f937f4ffbdb78aef4 parent 55d3b282b90620e02e825304a9433732a84c58a5 author Russell King Thu, 23 Jun 2005 22:26:43 +0100 committer Russell King Thu, 23 Jun 2005 22:26:43 +0100 [PATCH] Serial: Bugs are not capabilities Signed-off-by: Russell King commit 691027b91be99413dc60fab0902b366434555015 tree 63f35050022b8e9ebec7fe2d8142afa24854bef6 parent d97a666f36cf051e1b1c60505be3d6e9b51f785f author Ben Dooks Thu, 23 Jun 2005 21:56:48 +0100 committer Russell King Thu, 23 Jun 2005 21:56:48 +0100 [PATCH] ARM: 2730/1: S3C2410 default configuration update Patch from Ben Dooks Add support for the DM9000 and bring default configuration up-to-date with the latest 2.6.12 kernel release Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d97a666f36cf051e1b1c60505be3d6e9b51f785f tree 2a4c9fda11b55f86354566f8a1253eb62cb7b86a parent d9dc58049d3ed5c63c1a6ac82c217558b4ec623a author Ben Dooks Thu, 23 Jun 2005 21:56:47 +0100 committer Russell King Thu, 23 Jun 2005 21:56:47 +0100 [PATCH] ARM: 2729/1: DM9000 platform support for S3C2410 machines (BAST, VR1000) Patch from Ben Dooks Add platform_device information for DM9000 chip(s) on the Simtec BAST and the VR1000 board. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d9dc58049d3ed5c63c1a6ac82c217558b4ec623a tree fc42f673e83d98baa929e96d3de2f21af911d22f parent c1241c4c3a1507d76c7b987130f2f02f53ecc09f author Ben Dooks Thu, 23 Jun 2005 21:56:46 +0100 committer Russell King Thu, 23 Jun 2005 21:56:46 +0100 [PATCH] ARM: 2728/1: S3C2410 - fix constant warning on serial device name Patch from Ben Dooks Remove warning of casting `const char *` to a `char *` type. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c1241c4c3a1507d76c7b987130f2f02f53ecc09f tree 8b34e8bd30c94c279a3cdabf8b13e05d1ef3dc77 parent bf1b8ab6f21e1adbab1abd1b4e71c35fe65dc5fe author Nicolas Pitre Thu, 23 Jun 2005 21:56:46 +0100 committer Russell King Thu, 23 Jun 2005 21:56:46 +0100 [PATCH] ARM: 2722/1: remove reliance on udivdi3 for nwfpe Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit bf1b8ab6f21e1adbab1abd1b4e71c35fe65dc5fe tree ac1795e8529a5165458dafc94b230053f1ae92a4 parent b7c84c6ada2be942eca6722edb2cfaad412cd5de author Nicolas Pitre Thu, 23 Jun 2005 21:56:45 +0100 committer Russell King Thu, 23 Jun 2005 21:56:45 +0100 [PATCH] ARM: 2721/1: remove reliance on udivdi3 for pxafb driver Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 0e57976b6376f7fda6bef8b7dee2a3c8819ec9e9 tree 445642f773297a949674db45909542443e663263 parent a7868ea68d29eb2c037952aeb3b549cf05749a18 author John Heffner Thu, 23 Jun 2005 12:29:07 -0700 committer David S. Miller Thu, 23 Jun 2005 12:29:07 -0700 [TCP]: Add Scalable TCP congestion control module. This patch implements Tom Kelly's Scalable TCP congestion control algorithm for the modular framework. The algorithm has some nice scaling properties, and has been used a fair bit in research, though is known to have significant fairness issues, so it's not really suitable for general purpose use. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit a7868ea68d29eb2c037952aeb3b549cf05749a18 tree fff3d29309d29977f3ff55e941702407011af44c parent b87d8561d8667d221b728ccdcb18eb95b16a687b author Baruch Even Thu, 23 Jun 2005 12:28:11 -0700 committer David S. Miller Thu, 23 Jun 2005 12:28:11 -0700 [TCP]: Add H-TCP congestion control module. H-TCP is a congestion control algorithm developed at the Hamilton Institute, by Douglas Leith and Robert Shorten. It is extending the standard Reno algorithm with mode switching is thus a relatively simple modification. H-TCP is defined in a layered manner as it is still a research platform. The basic form includes the modification of beta according to the ratio of maxRTT to min RTT and the alpha=2*factor*(1-beta) relation, where factor is dependant on the time since last congestion. The other layers improve convergence by adding appropriate factors to alpha. The following patch implements the H-TCP algorithm in it's basic form. Signed-Off-By: Baruch Even Signed-off-by: David S. Miller commit b87d8561d8667d221b728ccdcb18eb95b16a687b tree 715b8e8d8442e418364498a12712106530031b96 parent 835b3f0c0d7e1f716c45ec576662eac7a68b8548 author Stephen Hemminger Thu, 23 Jun 2005 12:27:19 -0700 committer David S. Miller Thu, 23 Jun 2005 12:27:19 -0700 [TCP]: Add TCP Vegas congestion control module. TCP Vegas code modified for the new TCP infrastructure. Vegas now uses microsecond resolution timestamps for better estimation of performance over higher speed links. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 835b3f0c0d7e1f716c45ec576662eac7a68b8548 tree 317013e535451e6da065e37e691fad80e88b5004 parent a628d29b56d3f420bf3ff1d7543a9caf3ce3b994 author Daniele Lacamera <(root at danielinux.net)net> Thu, 23 Jun 2005 12:26:34 -0700 committer David S. Miller Thu, 23 Jun 2005 12:26:34 -0700 [TCP]: Add TCP Hybla congestion control module. TCP Hybla congestion avoidance. - "In heterogeneous networks, TCP connections that incorporate a terrestrial or satellite radio link are greatly disadvantaged with respect to entirely wired connections, because of their longer round trip times (RTTs). To cope with this problem, a new TCP proposal, the TCP Hybla, is presented and discussed in the paper[1]. It stems from an analytical evaluation of the congestion window dynamics in the TCP standard versions (Tahoe, Reno, NewReno), which suggests the necessary modifications to remove the performance dependence on RTT.[...]"[1] [1]: Carlo Caini, Rosario Firrincieli, "TCP Hybla: a TCP enhancement for heterogeneous networks", International Journal of Satellite Communications and Networking Volume 22, Issue 5 , Pages 547 - 566. September 2004. Signed-off-by: Daniele Lacamera (root at danielinux.net)net Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a628d29b56d3f420bf3ff1d7543a9caf3ce3b994 tree 251238b1abe5f8c77922b0953b268c81abd04387 parent 8727076289ec55298a05cabddf02b374d13c1624 author John Heffner Thu, 23 Jun 2005 12:24:58 -0700 committer David S. Miller Thu, 23 Jun 2005 12:24:58 -0700 [TCP]: Add High Speed TCP congestion control module. Sally Floyd's high speed TCP congestion control. This is useful for comparison and research. Signed-off-by: John Heffner Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8727076289ec55298a05cabddf02b374d13c1624 tree 37e6f68aac7be9cbbb4e90ca87a6e592c155eb35 parent 83803034f4233d810c4adc52008921da060c55d1 author Stephen Hemminger Thu, 23 Jun 2005 12:24:09 -0700 committer David S. Miller Thu, 23 Jun 2005 12:24:09 -0700 [TCP]: Add TCP Westwood congestion control module. This is the existing 2.6.12 Westwood code moved from tcp_input to the new congestion framework. A lot of the inline functions have been eliminated to try and make it clearer. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 83803034f4233d810c4adc52008921da060c55d1 tree 585269362b229dce9e70ded1a7bddb4d4628913a parent 9d7bcfc6b8586ee5a52043f061e0411965e71b88 author Stephen Hemminger Thu, 23 Jun 2005 12:23:25 -0700 committer David S. Miller Thu, 23 Jun 2005 12:23:25 -0700 [TCP]: Add TCP BIC congestion control module. TCP BIC congestion control reworked to use the new congestion control infrastructure. This version is more up to date than the BIC code in 2.6.12; it incorporates enhancements from BICTCP 1.1, to handle low latency links. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9d7bcfc6b8586ee5a52043f061e0411965e71b88 tree ef6aa8e6fd9dc0c7187b9cd1497d13e180ae36a8 parent 056ede6cface66b400cd3b8e60ed077cc5b85c18 author Stephen Hemminger Thu, 23 Jun 2005 12:22:36 -0700 committer David S. Miller Thu, 23 Jun 2005 12:22:36 -0700 [TCP]: Update sysctl and congestion control documentation. Update the documentation to remove the old sysctl values and include the new congestion control infrastructure. Includes changes to tcp.txt by Ian McDonald. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 056ede6cface66b400cd3b8e60ed077cc5b85c18 tree cb9ac506ae90158a804f8998d3e3907bc7d487ce parent 7c99c909fa69a183c1b80bd64fb9f0d11459aff3 author Stephen Hemminger Thu, 23 Jun 2005 12:21:28 -0700 committer David S. Miller Thu, 23 Jun 2005 12:21:28 -0700 [TCP]: Report congestion control algorithm in tcp_diag. Enhancement to the tcp_diag interface used by the iproute2 ss command to report the tcp congestion control being used by a socket. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 7c99c909fa69a183c1b80bd64fb9f0d11459aff3 tree ab0d06458ca3b1f78945557022a3c2f5098ed614 parent 317a76f9a44b437d6301718f4e5d08bd93f98da7 author Stephen Hemminger Thu, 23 Jun 2005 12:20:36 -0700 committer David S. Miller Thu, 23 Jun 2005 12:20:36 -0700 [TCP]: Change tcp_diag to use the existing __RTA_PUT() macro. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 317a76f9a44b437d6301718f4e5d08bd93f98da7 tree caeba9839dee264f59b035b81c3d13d6c61b638e parent a8ad86f2dc46356f87be1327dabc18bdbda32f50 author Stephen Hemminger Thu, 23 Jun 2005 12:19:55 -0700 committer David S. Miller Thu, 23 Jun 2005 12:19:55 -0700 [TCP]: Add pluggable congestion control algorithm infrastructure. Allow TCP to have multiple pluggable congestion control algorithms. Algorithms are defined by a set of operations and can be built in or modules. The legacy "new RENO" algorithm is used as a starting point and fallback. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a8ad86f2dc46356f87be1327dabc18bdbda32f50 tree a429e601d7e8f4d6f477c029f24772f55bbe45d7 parent 4749f32da939d4e4160541b2cadc22492bb507ec author Russell King Thu, 23 Jun 2005 14:23:35 +0100 committer Linus Torvalds Thu, 23 Jun 2005 10:04:15 -0700 [PATCH] Add removal schedule of register_serial/unregister_serial to appropriate file commit 4749f32da939d4e4160541b2cadc22492bb507ec tree a04b8d1d711f5f7c7dcc4dd43f6bfe17c54c306f parent 24665cd00dd06c741ef6268515ca9e6d3cda5c57 author Adrian Bunk Thu, 23 Jun 2005 11:36:56 +0200 committer Linus Torvalds Thu, 23 Jun 2005 10:04:15 -0700 [PATCH] better USB_MON dependencies This makes the USB_MON less confusing. Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds commit 24665cd00dd06c741ef6268515ca9e6d3cda5c57 tree d55e925db2b78bc6529965fa6b1df07a76b56610 parent fed2fc18a4567d613cd35115322257c6c6c710e9 parent d7152fe14cad075d6dd4ee4194acd131aed0244e author Linus Torvalds Thu, 23 Jun 2005 09:49:55 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:49:55 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 commit fed2fc18a4567d613cd35115322257c6c6c710e9 tree 937d8584966661b72cd7f71a6a6e4f0b97350760 parent 64ccd715d3cf498318b14b646ce5f97e7ab15bb5 author Telemaque Ndizihiwe Thu, 23 Jun 2005 00:10:33 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:36 -0700 [PATCH] sys_open() cleanup Clean up tortured logic in sys_open(). Signed-off-by: Telemaque Ndizihiwe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64ccd715d3cf498318b14b646ce5f97e7ab15bb5 tree b43bdaeec1b1175fe80ffe3648b1a98a2e21317b parent bfb07599da289881d3bcbb601a110e997fc7444b author Alexey Dobriyan Thu, 23 Jun 2005 00:10:33 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:36 -0700 [PATCH] Convert users to tty_unregister_ldisc() tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfb07599da289881d3bcbb601a110e997fc7444b tree 601c5e683c87e103de37bd68f014ec1f57d09bc7 parent 790a19cd5711133f40daad7c55bf148de2b1d12c author Alexey Dobriyan Thu, 23 Jun 2005 00:10:32 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:35 -0700 [PATCH] Introduce tty_unregister_ldisc() It's a bit strange to see tty_register_ldisc call in modules' exit functions. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9235e68be8bf8974b65a9bf733c9d12a52307839 tree 6d31812e14dcbfab9b6a6d7c11b3dade004fd8a5 parent 451512f3aed64573e912e68c94f240fec0e44438 author Eric Piel Thu, 23 Jun 2005 00:10:29 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:35 -0700 [PATCH] IDE CD reports current speed The current ide-cd driver reports the CDROM speed (as found in /proc/sys/dev/cdrom/info) as the current speed when loading the driver. Changing the speed of the cdrom drive (by "eject -x" for instance) doesn't update the speed reported by the kernel. Updating the info could be valuable for the user as it's the only way to know if the drive accepted the request or discarded it. It could even be used to list all the available speeds of the drive. The attached patch modifies the ide-cd driver so that after every speed change request the new speed is updated. Please note that the actual modification is very little but I had to touch quite a few lines in order to avoid to pre-declare the sub-functions. Signed-off-by: Eric Piel Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 790a19cd5711133f40daad7c55bf148de2b1d12c tree d8fcc88810ab6bb0fb6ff9a6d4f1bef53fa0395c parent 9235e68be8bf8974b65a9bf733c9d12a52307839 author Andrew Morton Thu, 23 Jun 2005 00:10:31 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:35 -0700 [PATCH] pwc-uncompress warning fix drivers/usb/media/pwc/pwc-uncompress.c: In function `pwc_decompress': drivers/usb/media/pwc/pwc-uncompress.c:140: warning: unreachable code at beginning of switch statement Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 451512f3aed64573e912e68c94f240fec0e44438 tree 742a06d8f3cf11407ff38069a4466d06a00aac49 parent c43dc2fd885b5658cfd7cedb7bcca20910c517a4 author Jesper Juhl Thu, 23 Jun 2005 00:10:28 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:35 -0700 [PATCH] add note about verify_area removal to feature-removal-schedule.txt Add note about the soon-to-come removal of verify_area() to Documentation/feature-removal-schedule.txt. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c43dc2fd885b5658cfd7cedb7bcca20910c517a4 tree 98b723badf4a71c9dbf04cfd0babcb02ac577982 parent 63e6880918e75dcb92d60aff218a76e063a471ef author Benjamin LaHaise Thu, 23 Jun 2005 00:10:27 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:34 -0700 [PATCH] aio: make wait_queue ->task ->private In the upcoming aio_down patch, it is useful to store a private data pointer in the kiocb's wait_queue. Since we provide our own wake up function and do not require the task_struct pointer, it makes sense to convert the task pointer into a generic private pointer. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63e6880918e75dcb92d60aff218a76e063a471ef tree 059a00899bdf96b255e2b60d6cf91968a9af485a parent 4452ea509e29df2f019bed2f7a1e0f5eea092b26 author Benjamin LaHaise Thu, 23 Jun 2005 00:10:27 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:34 -0700 [PATCH] aio: fix do_sync_(read|write) to properly handle aio retries When do_sync_(read|write) encounters an aio method that makes use of the retry mechanism, they fail to correctly retry the operation. This fixes that by adding the appropriate sleep and retry mechanism. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4452ea509e29df2f019bed2f7a1e0f5eea092b26 tree aecda6901c8126fdeabf823381f05f12f77d69a6 parent 152becd26e0563aefdbc4fd1fe491928efe92d1f author Andrew Morton Thu, 23 Jun 2005 00:10:26 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:34 -0700 [PATCH] dpt_i2o: fix waitqueue abuse The driver plays with waitqueue internals and fails to compile after Ben's "aio: make wait_queue ->task ->private" patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152becd26e0563aefdbc4fd1fe491928efe92d1f tree 713a5ff0a1610708babf7e57fd3141cd4b9f183e parent 9a59f452abe11f569e13ec16c51e6d61c54b9838 author Anton Altaparmakov Thu, 23 Jun 2005 00:10:21 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:34 -0700 [PATCH] Bug in error recovery in fs/buffer.c::__block_prepare_write() fs/buffer.c::__block_prepare_write() has broken error recovery. It calls the get_block() callback with "create = 1" and if that succeeds it immediately clears buffer_new on the just allocated buffer (which has buffer_new set). The bug is that if an error occurs and get_block() returns != 0, we break from this loop and go into recovery code. This code has this comment: /* Error case: */ /* * Zero out any newly allocated blocks to avoid exposing stale * data. If BH_New is set, we know that the block was newly * allocated in the above loop. */ So the intent is obviously good in that it wants to clear just allocated and hence not zeroed buffers. However the code recognises allocated buffers by checking for buffer_new being set. Unfortunately __block_prepare_write() as discussed above already cleared buffer_new on all allocated buffers thus no buffers will be cleared during error recovery and old data will be leaked. The simplest way I can see to fix this is to make the current recovery code work by _not_ clearing buffer_new after calling get_block() in __block_prepare_write(). We cannot safely allow buffer_new buffers to "leak out" of __block_prepare_write(), thus we simply do a quick loop over the buffers clearing buffer_new on each of them if it is set just before returning "success" from __block_prepare_write(). Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9fd27a253d5e0b23531d12ce7ad15b6535d4486 tree 1ff92c3b1ec8c707f71154313ce98e73423b6d54 parent 30aaa80885df5d1518d498a450e73282cea8d8b1 author Christoph Hellwig Thu, 23 Jun 2005 00:10:19 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:33 -0700 [PATCH] acl endianess annotations Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a59f452abe11f569e13ec16c51e6d61c54b9838 tree 0fc242afbf51aac7214e3a9b7620e83d0d4016f2 parent f9fd27a253d5e0b23531d12ce7ad15b6535d4486 author Christoph Hellwig Thu, 23 Jun 2005 00:10:19 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:33 -0700 [PATCH] remove This file duplicates , using slightly different names. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45778ca819accab1a4a3378b3566cab0f189164f tree 9214491346c8d2d91eb1a11cb6c2e6a9387e4290 parent 280dedb8d64ccfe1166ae03d3b254fc3b65de6a5 author Christoph Lameter Thu, 23 Jun 2005 00:10:17 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:33 -0700 [PATCH] Remove f_error field from struct file The following patch removes the f_error field and all checks of f_error. Trond said: f_error was introduced for NFS, and made sense when we were guaranteed always to have a file pointer around when write errors occurred. Since then, we have (for various reasons) had to introduce the nfs_open_context in order to track the file read/write state, and it made sense to move our f_error tracking there too. Signed-off-by: Christoph Lameter Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30aaa80885df5d1518d498a450e73282cea8d8b1 tree 7f001c8339bd9ed972bc570b78a800852cf4e4fa parent 45778ca819accab1a4a3378b3566cab0f189164f author William Lee Irwin III Thu, 23 Jun 2005 00:10:18 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:33 -0700 [PATCH] use drivers/Kconfig for sparc32 Kconfig is spitting out massive numbers of errors and so on. This patch switches arch/sparc/Kconfig to use drivers/Kconfig so those stop. Signed-off-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb93e3a52f8db7210258a1a2134cced0b78a46e1 tree b6def4c3fe5624769de64e242bb2007fffea55c8 parent 0d77e5a2c23da734f5a7925f64afa1c2ed92e0f9 author Arnd Bergmann Thu, 23 Jun 2005 00:10:15 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:32 -0700 [PATCH] block: add unlocked_ioctl support for block devices This patch allows block device drivers to convert their ioctl functions to unlocked_ioctl() like character devices and other subsystems. All functions that were called with the BKL held before are still used that way, but I would not be surprised if it could be removed from the ioctl functions in drivers/block/ioctl.c themselves. As a side note, I found that compat_blkdev_ioctl() acquires the BKL as well, which looks like a bug. I have checked that every user of disk->fops->compat_ioctl() in the current git tree gets the BKL itself, so it could easily be removed from compat_blkdev_ioctl(). Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 280dedb8d64ccfe1166ae03d3b254fc3b65de6a5 tree 2037bacf2eb32833a3b8b16701b906692ecf7b9b parent bb93e3a52f8db7210258a1a2134cced0b78a46e1 author Bjorn Helgaas Thu, 23 Jun 2005 00:10:16 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:32 -0700 [PATCH] PCDP: handle tables that don't supply baud rate The HCDP specs (i.e., PCDP revision < 3) allow zero as a default value for baud rate and data bits. So if firmware doesn't supply them, let early_serial_console_init() probe for them rather than telling it the baud rate is zero. Also, update the URL for the PCDP spec. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d77e5a2c23da734f5a7925f64afa1c2ed92e0f9 tree 1696bd7881e36381b9cdaafe713c413202727228 parent fa912bcb06d5dc9525d8912a145db2bf4b7668c5 author Stephen Rothwell Thu, 23 Jun 2005 00:10:14 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:32 -0700 [PATCH] compat: introduce compat_time_t This patch is based on work by Carlos O'Donell and Matthew Wilcox. It introduces/updates the compat_time_t type and uses it for compat siginfo structures. I have built this on ppc64 and x86_64. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa912bcb06d5dc9525d8912a145db2bf4b7668c5 tree 5c62d9a1ef416c83d3e149ca94c4e646eb29daf2 parent 7007cab53176dc906e67b4efa62f20ff1432805a author Daniel Ritz Thu, 23 Jun 2005 00:10:12 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:31 -0700 [PATCH] yenta TI: turn off interrupts during card power-on #2 - make boot-up card recognition more reliable (ie. redo interrogation always if there is no valid 'card inserted' state) (and yes, i saw it happening on an o2micro controller that both CB_CBARD and CB_16BITCARD bits were set at the same time) - also redo interrogation before probing the ISA interrupts. it's safer to do the probing with the socket in a clean state. - make card insert detect more reliable. yenta_get_status() now returns SS_PENDING as long as the card is not completley inserted and one of the voltage bits is set. also !CB_CBARD doesn't mean CB_16BITCARD. there is CB_NOTACARD as well, so make an explicit check for CB_16BITCARD. - for TI bridges: disable IRQs during power-on. in all-serial and tied interrupt mode the interrupts are always disabled for single-slot controllers. for two-slot contollers the disabling is only done when the other slot is empty. to force disabling there is a new module parameter now: pwr_irqs_off=Y (which is a regression for working setups. that's why it's an option, only use when required) - modparm to disable ISA interrupt probing (isa_probe, defaults to on) - remove unneeded code/cleanups (ie. merge yenta_events() into yenta_interrupts()) Signed-off-by: Daniel Ritz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9ad7ef1979d65a4200847ec91be5b9ad961eba8 tree 058dceba2670ee229a4fdf6992760260b0f0e002 parent 17abee3d50685b8ef4e38d37abacf8b650a3a387 author TINNES Julien RD-MAPS-ISS Thu, 23 Jun 2005 00:10:08 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:31 -0700 [PATCH] Potential null pointer dereference in amiga serial driver A pointer is dereferenced before it is null-checked. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7007cab53176dc906e67b4efa62f20ff1432805a tree ebcc9f01450e1fe0a541ed4932132e29586b7455 parent d9ad7ef1979d65a4200847ec91be5b9ad961eba8 author Michal Schmidt Thu, 23 Jun 2005 00:10:09 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:31 -0700 [PATCH] Add offset.h to dontdiff include/asm/offset.h is a generated file on x86_64 and mips. Let's add it to Documentation/dontdiff. Signed-off-by: Michal Schmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17abee3d50685b8ef4e38d37abacf8b650a3a387 tree fd5b12465402f77c4c5120b6da3cc1789c87aa92 parent b78755abcdf1d7667c51580a3783e16e981ed926 author Thierry Vignaud Thu, 23 Jun 2005 00:10:07 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:31 -0700 [PATCH] gconfig: only show scrollbars if needed gconfig: only show scrollbars if needed (which is more user friendly): Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b78755abcdf1d7667c51580a3783e16e981ed926 tree 7627ff8c029411b304575d892d4caccefa3904bd parent 0030cbf06c669b65e124414af51b5010fc53b760 author Manfred Spraul Thu, 23 Jun 2005 00:10:06 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:30 -0700 [PATCH] ipcsem: remove superflous decrease variable from sys_semtimedop Patrick noticed that the initial scan of the semaphore operations logs decrease and increase operations seperately, but then both cases are or'ed together and decrease is never used. The attached patch removes the decrease parameter - it shrinks sys_semtimedop() by 56 bytes. Signed-Of-By: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b030a4dd609e167da7f73c2d1fa5af864a0aea17 tree 543d65bcf9b0de3c69c8882e9eb6d8eae6556af8 parent 46c271bedd2c8444b1d05bc44928beec0c07debc author Pekka Enberg Thu, 23 Jun 2005 00:10:03 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:30 -0700 [PATCH] Remove eventpoll macro obfuscation This patch gets rid of some macro obfuscation from fs/eventpoll.c by removing slab allocator wrappers and converting macros to static inline functions. Signed-off-by: Pekka Enberg Acked-by: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71a2224d7d1cefc23a1ac80bba421cc069cc3257 tree 3b3bc52e592484f008b4f1035a0d2e9e16b029f3 parent b030a4dd609e167da7f73c2d1fa5af864a0aea17 author Christoph Lameter Thu, 23 Jun 2005 00:10:05 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:30 -0700 [PATCH] Optimize sys_times for a single thread process Avoid taking the tasklist_lock in sys_times if the process is single threaded. In a NUMA system taking the tasklist_lock may cause a bouncing cacheline if multiple independent processes continually call sys_times to measure their performance. Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46c271bedd2c8444b1d05bc44928beec0c07debc tree 2e28cad2355b62b01815d1acc10d35a806f10ea0 parent dfb388bf8a328f206bba33933dd97230f412238b author Peter Osterlund Thu, 23 Jun 2005 00:10:02 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:30 -0700 [PATCH] Improve CD/DVD packet driver write performance This patch improves write performance for the CD/DVD packet writing driver. The logic for switching between reading and writing has been changed so that streaming writes are no longer interrupted by read requests. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0030cbf06c669b65e124414af51b5010fc53b760 tree b7e57d9c8131590a7cbdd2c20dc82954697c485b parent 71a2224d7d1cefc23a1ac80bba421cc069cc3257 author Matthias Urlichs Thu, 23 Jun 2005 00:10:05 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:30 -0700 [PATCH] Turn off sibling call optimization w/ frame pointers Frame pointers are supposed to enable debuggers to reliably tell where a call comes from. That is defeated by GCC's sibling call optimization (aka tail recursion elimination). This patch turns this optimization off when compiling with frame pointers. Signed-Off-By: Matthias Urlichs Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfb388bf8a328f206bba33933dd97230f412238b tree 656cf4d7aba441667c4d25135ee70672738126e9 parent 01890a4c120f68366441bf5e193d1b9dd543d4d0 author Oleg Nesterov Thu, 23 Jun 2005 00:10:02 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:29 -0700 [PATCH] factor out common code in sys_fsync/sys_fdatasync This patch consolidates sys_fsync and sys_fdatasync. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01890a4c120f68366441bf5e193d1b9dd543d4d0 tree ed854da46009b0837485e8acd17dc9d944e8068f parent 8476994af7bd9352ecdf61ba760f7397f54e30a1 author Benjamin LaHaise Thu, 23 Jun 2005 00:10:01 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:29 -0700 [PATCH] mempool - only init waitqueue in slow path Here's a small patch to improve the performance of mempool_alloc by only initializing the wait queue when we're about to wait. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef3daeda7b58f046f94b26637d500354038d39f4 tree acce3fb6a4ef5fa5c4e6962490d6f0db434fbad3 parent 44e58a6a0bd604f46be9d808408a1cd880cc9b19 author Yoav Zach Thu, 23 Jun 2005 00:09:58 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:28 -0700 [PATCH] Don't force O_LARGEFILE for 32 bit processes on ia64 In ia64 kernel, the O_LARGEFILE flag is forced when opening a file. This is problematic for execution of 32 bit processes, which are not largefile aware, either by SW emulation or by HW execution. For such processes, the problem is two-fold: 1) When trying to open a file that is larger than 4G the operation should fail, but it's not 2) Writing to offset larger than 4G should fail, but it's not The proposed patch takes advantage of the way 32 bit processes are identified in ia64 systems. Such processes have PER_LINUX32 for their personality. With the patch, the ia64 kernel will not enforce the O_LARGEFILE flag if the current process has PER_LINUX32 set. The behavior for all other architectures remains unchanged. Signed-off-by: Yoav Zach Acked-by: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7ea4b31fd962b4baadb42c0b8d7c6851c584102 tree be097db5341cd09a4cf640a2bc3c5a189e989f0c parent ef3daeda7b58f046f94b26637d500354038d39f4 author Jan Beulich Thu, 23 Jun 2005 00:09:59 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:28 -0700 [PATCH] ide-floppy adjustments Fix a build problem when IDEFLOPPY_DEBUG_BUGS is turned off, and eliminate an access to memory that is no longer allocated (causing systems to fail booting when CONFIG_DEBUG_PAGEALLOC is turned on). Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8476994af7bd9352ecdf61ba760f7397f54e30a1 tree cff822a944162070b4e64c0b9990640383e4cad6 parent 11c80c8367db0a9d342529ed74464670cd86a1f6 author Jan Beulich Thu, 23 Jun 2005 00:10:00 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:28 -0700 [PATCH] apply quotation handling to Makefile.build Adding quotation handling to rule_cc_o_c in scripts/Makefile.build as used elsewhere. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11c80c8367db0a9d342529ed74464670cd86a1f6 tree d4625a9565866dc6565972b069c57cdedb7e0f27 parent c7ea4b31fd962b4baadb42c0b8d7c6851c584102 author Jan Beulich Thu, 23 Jun 2005 00:09:59 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:28 -0700 [PATCH] adjust per_cpu definition in non-SMP case Fix (in the architectures I'm actually building for) the UP definition of per_cpu so that the cpu specified may be any expression, not just an identifier or a suffix expression. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 618f06362ae3f60f95d7b0e666de25ee6ae35679 tree 4415b4e590913e16535704168ea74c6af5a93c48 parent 4fea2838aa00b9e59efde974dcdb455608192811 author Kirill Korotaev Thu, 23 Jun 2005 00:09:54 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:27 -0700 [PATCH] O(1) sb list traversing on syncs This patch removes O(n^2) super block loops in sync_inodes(), sync_filesystems() etc. in favour of using __put_super_and_need_restart() which I introduced earlier. We faced a noticably long freezes on sb syncing when there are thousands of super blocks in the system. Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fea2838aa00b9e59efde974dcdb455608192811 tree f5de626cd00b232c8d3183bfcf3a1a669c1ff738 parent af4d2ecbf007b7df3db7a41eedccdc05b8006d0b author Kirill Korotaev Thu, 23 Jun 2005 00:09:51 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:27 -0700 [PATCH] Software suspend and recalc sigpending bug fix This patch fixes recalc_sigpending() to work correctly with tasks which are being freezed. The problem is that freeze_processes() sets PF_FREEZE and TIF_SIGPENDING flags on tasks, but recalc_sigpending() called from e.g. sys_rt_sigtimedwait or any other kernel place will clear TIF_SIGPENDING due to no pending signals queued and the tasks won't be freezed until it recieves a real signal or freezed_processes() fail due to timeout. Signed-Off-By: Kirill Korotaev Signed-Off-By: Alexey Kuznetsov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44e58a6a0bd604f46be9d808408a1cd880cc9b19 tree a8cf955105a3a02504bdb6cccf36e4d21f5b2007 parent 328007b70c8e99c62eef5bc310d8a21d0e937342 author Martin Schitter Thu, 23 Jun 2005 00:09:55 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:27 -0700 [PATCH] parport: NetMos nm9855 fix kernel 2.6.12-rc2 adopted some code by Bjorn Helgaas supporting NetMos combo controller cards. this implementation doesn't work for nm9855 based cards! there are two reasons: a) the module 'parport_pc' doesn't want to give the resonsibility for the netmos_9855 to 'parport_serial' and can not handle the serial lines -- trivial to fix... http://lists.infradead.org/pipermail/linux-parport/2005-February/000250.html http://lkml.org/lkml/2005/3/24/199 b) the support for the nm9855 in 'parport_serial' still doesn't work because of wrong assumptions about the relevant BARs port address layout for this chip: 0000:00:09.0 Communication controller: NetMos Technology PCI 9855 Multi-I/O Controller (rev 01) (= 9710:9855) Subsystem: LSI Logic / Symbios Logic 1P4S (= 1000:0014) Flags: medium devsel, IRQ 177 I/O ports at a800 [size=8] (= parport) I/O ports at a400 [size=8] I/O ports at a000 [size=8] (= serial) I/O ports at 9800 [size=8] (= serial) I/O ports at 9400 [size=8] (= serial) I/O ports at 9000 [size=16] (= serial) the following patch will fix the problem. Cc: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 328007b70c8e99c62eef5bc310d8a21d0e937342 tree 65d1ccbcd0a79d331a8cf95498505b8829ec621f parent 618f06362ae3f60f95d7b0e666de25ee6ae35679 author Pat Gefre Thu, 23 Jun 2005 00:09:54 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:27 -0700 [PATCH] Altix: shut off xmit intr if done xmitting Small mod to shut off the xmit interrupt if we have nothing to transmit. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6e711448137ca3301512cec41a2c2ce852b3d0a tree f0765ebd90fdbdf270c05fcd7f3d32b24ba56681 parent 8b0914ea7475615c7c8965c1ac8fe4069270f25c author Alan Cox Thu, 23 Jun 2005 00:09:43 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:26 -0700 [PATCH] setuid core dump Add a new `suid_dumpable' sysctl: This value can be used to query and set the core dump mode for setuid or otherwise protected/tainted binaries. The modes are 0 - (default) - traditional behaviour. Any process which has changed privilege levels or is execute only will not be dumped 1 - (debug) - all processes dump core when possible. The core dump is owned by the current user and no security is applied. This is intended for system debugging situations only. Ptrace is unchecked. 2 - (suidsafe) - any binary which normally would not be dumped is dumped readable by root only. This allows the end user to remove such a dump but not access it directly. For security reasons core dumps in this mode will not overwrite one another or other files. This mode is appropriate when adminstrators are attempting to debug problems in a normal environment. (akpm: > > +EXPORT_SYMBOL(suid_dumpable); > > EXPORT_SYMBOL_GPL? No problem to me. > > if (current->euid == current->uid && current->egid == current->gid) > > current->mm->dumpable = 1; > > Should this be SUID_DUMP_USER? Actually the feedback I had from last time was that the SUID_ defines should go because its clearer to follow the numbers. They can go everywhere (and there are lots of places where dumpable is tested/used as a bool in untouched code) > Maybe this should be renamed to `dump_policy' or something. Doing that > would help us catch any code which isn't using the #defines, too. Fair comment. The patch was designed to be easy to maintain for Red Hat rather than for merging. Changing that field would create a gigantic diff because it is used all over the place. ) Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c663e5d80ebec426916ad2aa5400c7ec99aa572e tree 463dd4600525e536ed00579fa30bab9708c53824 parent 70f09f1fdf38cd7fca39913978d18cf998ab2c80 author Christoph Hellwig Thu, 23 Jun 2005 00:09:49 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:26 -0700 [PATCH] add some comments to lookup_create() In a duplicate of lookup_create in the af_unix code Al commented what's going on nicely, so let's bring that over to lookup_create before the copy is going away (I'll send a patch soon) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af4d2ecbf007b7df3db7a41eedccdc05b8006d0b tree 81c801b405278b53d99ad99b3c0f0468d2978deb parent c663e5d80ebec426916ad2aa5400c7ec99aa572e author Kirill Korotaev Thu, 23 Jun 2005 00:09:50 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:26 -0700 [PATCH] Fix of bogus file max limit messages This patch fixes incorrect and bogus kernel messages that file-max limit reached when the allocation fails Signed-Off-By: Kirill Korotaev Signed-Off-By: Denis Lunev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acfa1823d33859b0db77701726c9ca5ccc6e6f25 tree 356c2edeed8e8a505ed03c6f9d04dc659e84d341 parent d6e711448137ca3301512cec41a2c2ce852b3d0a author Andreas Dilger Thu, 23 Jun 2005 00:09:45 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:26 -0700 [PATCH] Support for dx directories in ext3_get_parent (NFSD) Henrik Grubbstrom noted: The 2.6.10 ext3_get_parent attempts to use ext3_find_entry to look up the entry "..", which fails for dx directories since ".." is not present in the directory hash table. The patch below solves this by looking up the dotdot entry in the dx_root block. Typical symptoms of the above bug are intermittent claims by nfsd that files or directories are missing on exported ext3 filesystems. cf https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D150759 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D144556 ext3_get_parent() is IMHO the wrong place to fix this bug as it introduces a lot of internals from htree into that function. Instead, I think this should be fixed in ext3_find_entry() as in the below patch. This has the added advantage that it works for any callers of ext3_find_entry() and not just ext3_lookup_parent(). Signed-off-by: Andreas Dilger Signed-off-by: Henrik Grubbstrom Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70f09f1fdf38cd7fca39913978d18cf998ab2c80 tree 33c18d78faefd0a9c29602acbb21cf063f58dc09 parent acfa1823d33859b0db77701726c9ca5ccc6e6f25 author Alexey Dobriyan Thu, 23 Jun 2005 00:09:47 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:26 -0700 [PATCH] Document the fact that linux-arm-kernel is subscribers-only. "Non-members are not allowed to post messages to this list. Blame the original poster for cross-posting to subscriber-only mailing lists. " Signed-off-by: Alexey Dobriyan Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e539c2331414e73a5a1b79fb57369d79447c1cf8 tree 1946fc1c1034c08d49b250fdba3db131f8b61643 parent 42cc20600a3450efcf1f724fa3891ffbff4fcb2b author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:39 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:25 -0700 [PATCH] kprobes: Temporary disarming of reentrant probe for sparc64 This patch includes sparc64 architecture specific changes to support temporary disarming on reentrancy of probes. Signed-of-by: Prasanna S Panchamukhi Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b0914ea7475615c7c8965c1ac8fe4069270f25c tree fb85ed3b08d9c61090bbc9dee9d06f54b945e52a parent 852caccc89d3883522e87a91bfa89fd9c9cfe15a author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:41 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:25 -0700 [PATCH] jprobes: allow a jprobe to coexist with muliple kprobes Presently either multiple kprobes or only one jprobe could be inserted. This patch removes the above limitation and allows one jprobe and multiple kprobes to coexist at the same address. However multiple jprobes cannot coexist with multiple kprobes. Currently I am working on the prototype to allow multiple jprobes coexist with multiple kprobes. Signed-off-by: Ananth N Mavinakayanhalli Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 852caccc89d3883522e87a91bfa89fd9c9cfe15a tree dbbb98df18b04f7624f72d4a80731d7309038b79 parent e539c2331414e73a5a1b79fb57369d79447c1cf8 author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:40 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:25 -0700 [PATCH] Kprobes/ia64: temporary disarming of reentrant probe This patch includes IA64 architecture specific changes(ported form i386) to support temporary disarming on reentrancy of probes. In case of reentrancy we single step without calling user handler. Signed-of-by: Anil S Keshavamurth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42cc20600a3450efcf1f724fa3891ffbff4fcb2b tree 4e2de36d8b49fd0aaad9c7bb07ad05e15130db02 parent aa3d7e3d782bbcf567b1da6101d8fbff7cf7e7a6 author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:38 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:25 -0700 [PATCH] kprobes: Temporary disarming of reentrant probe for ppc64 This patch includes ppc64 architecture specific changes to support temporary disarming on reentrancy of probes. Signed-of-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea32c65cc2d2294c04e9f81d0578a6f51febfdbf tree b301766bcc903f982b0ae85b5edffe9477a65408 parent 89cb14c0dd0e4a7d0315d19f449389c4d49237ee author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:36 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:24 -0700 [PATCH] kprobes: Temporary disarming of reentrant probe In situations where a kprobes handler calls a routine which has a probe on it, then kprobes_handler() disarms the new probe forever. This patch removes the above limitation by temporarily disarming the new probe. When the another probe hits while handling the old probe, the kprobes_handler() saves previous kprobes state and handles the new probe without calling the new kprobes registered handlers. kprobe_post_handler() restores back the previous kprobes state and the normal execution continues. However on x86_64 architecture, re-rentrancy is provided only through pre_handler(). If a routine having probe is referenced through post_handler(), then the probes on that routine are disarmed forever, since the exception stack is gets changed after the processor single steps the instruction of the new probe. This patch includes generic changes to support temporary disarming on reentrancy of probes. Signed-of-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa3d7e3d782bbcf567b1da6101d8fbff7cf7e7a6 tree c8eea0cc57d8374ab9c36ad7930836d89f282dca parent 417c8da6511b54843e6b557d94d8112d80e32156 author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:37 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:24 -0700 [PATCH] kprobes: Temporary disarming of reentrant probe for x86_64 This patch includes x86_64 architecture specific changes to support temporary disarming on reentrancy of probes. Signed-of-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89cb14c0dd0e4a7d0315d19f449389c4d49237ee tree 795e52fd30c5236c365be7a3eaedb316e5c8cad5 parent 708de8f11c2901cc49fd7725baf4a0fbd7264e73 author Keshavamurthy Anil S Thu, 23 Jun 2005 00:09:35 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:24 -0700 [PATCH] Kprobes/IA64: check jprobe break before handling Once the jprobe instrumented function returns, it executes a jprobe_break which is a break instruction with __IA64_JPROBE_BREAK value. The current patch checks for this break value, before assuming that jprobe instrumented function just completed. The previous code was not checking for this value and that was a bug. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708de8f11c2901cc49fd7725baf4a0fbd7264e73 tree a78c45c153c6414908104547292c177bcf309908 parent 1674eafcbd3e3c68556cf19fbf4a2c30f7add729 author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:34 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:24 -0700 [PATCH] Kprobes IA64: safe register kprobe The current kprobes does not yet handle register kprobes on some of the following kind of instruction which needs to be emulated in a special way. 1) mov r1=ip 2) chk -- Speculation check instruction This patch attempts to fail register_kprobes() when user tries to insert kprobes on the above kind of instruction. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 417c8da6511b54843e6b557d94d8112d80e32156 tree 427bf0c90612b9d2dfd1a3f8e9b855a4251f9e9d parent ea32c65cc2d2294c04e9f81d0578a6f51febfdbf author Prasanna S Panchamukhi Thu, 23 Jun 2005 00:09:37 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:24 -0700 [PATCH] kprobes: Temporary disarming of reentrant probe for i386 This patch includes i386 architecture specific changes to support temporary disarming on reentrancy of probes. Signed-of-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd2675bf65455a45b54228b7acc0c6a26a164cb6 tree 102dd9bdf79ce8a5728dd098fb2b3a574c113186 parent b2761dc262b428475890fffd979687051beb12ba author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:29 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:23 -0700 [PATCH] Kprobes/IA64: support kprobe on branch/call instructions This patch is required to support kprobe on branch/call instructions. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5403183d84d419651672f1aee5ff2273d185efa tree c9bcdf302b6dfc2e7230e486791ec48785d9d78f parent 13608d6433eb34840224ef632cc444f3eb59bc13 author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:32 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:23 -0700 [PATCH] Kprobes IA64: arch_prepare_kprobes() cleanup arch_prepare_kprobes() was doing lots of functionality in just one single function. This patch attempts to clean up arch_prepare_kprobes() by moving specific sub task to the following (new)functions 1)valid_kprobe_addr() -->> validate the given kprobe address 2)get_kprobe_inst(slot..)->> Retrives the instruction for a given slot from the bundle 3)prepare_break_inst() -->> Prepares break instruction within the bundle 3a)update_kprobe_inst_flag()-->>Updates the internal flags, required for proper emulation of the instruction at later point in time. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bc76772ad653bcaad1b0af72aafb6072ef0fa87 tree d778f0cc2640e078338d84cdc67cda403cc47d7b parent cd2675bf65455a45b54228b7acc0c6a26a164cb6 author Rusty Lynch Thu, 23 Jun 2005 00:09:30 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:23 -0700 [PATCH] Kprobes ia64 cleanup A cleanup of the ia64 kprobes implementation such that all of the bundle manipulation logic is concentrated in arch_prepare_kprobe(). With the current design for kprobes, the arch specific code only has a chance to return failure inside the arch_prepare_kprobe() function. This patch moves all of the work that was happening in arch_copy_kprobe() and most of the work that was happening in arch_arm_kprobe() into arch_prepare_kprobe(). By doing this we can add further robustness checks in arch_arm_kprobe() and refuse to insert kprobes that will cause problems. Signed-off-by: Rusty Lynch Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1674eafcbd3e3c68556cf19fbf4a2c30f7add729 tree d57a4698902a4bc2c2e6a08d24c42ec2a5c67706 parent a5403183d84d419651672f1aee5ff2273d185efa author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:33 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:23 -0700 [PATCH] Kprobes IA64: cmp ctype unc support The current Kprobes when patching the original instruction with the break instruction tries to retain the original qualifying predicate(qp), however for cmp.crel.ctype where ctype == unc, which is a special instruction always needs to be executed irrespective of qp. Hence, if the instruction we are patching is of this type, then we should not copy the original qp to the break instruction, this is because we always want the break fault to happen so that we can emulate the instruction. This patch is based on the feedback given by David Mosberger Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13608d6433eb34840224ef632cc444f3eb59bc13 tree 249c668170713eac16abe94877ff71628e04b360 parent 8bc76772ad653bcaad1b0af72aafb6072ef0fa87 author Rusty Lynch Thu, 23 Jun 2005 00:09:31 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:23 -0700 [PATCH] Kprobes ia64 qp fix Fix a bug where a kprobe still fires when the instruction is predicated off. So given the p6=0, and we have an instruction like: (p6) move loc1=0 we should not be triggering the kprobe. This is handled by carrying over the qp section of the original instruction into the break instruction. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Rusty Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd7b231ff98578308d8f5fb76a25a369ce1074ae tree 529490442b281ce08015376fa6247647ca232e69 parent 7213b2521889eb087eed8abaa48d1a692575da3e author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:28 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:22 -0700 [PATCH] Kprobes/IA64: arch specific handling This is an IA64 arch specific handling of Kprobes Signed-off-by: Anil S Keshavamurthy Signed-off-by: Rusty Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2761dc262b428475890fffd979687051beb12ba tree 088fcb3fb1a5e3fc73614dcbfcde9aa2ff7bc1ce parent fd7b231ff98578308d8f5fb76a25a369ce1074ae author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:28 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:22 -0700 [PATCH] Kprobes/IA64: architecture specific JProbes support This patch adds IA64 architecture specific JProbes support on top of Kprobes Signed-off-by: Anil S Keshavamurthy Signed-off-by: Rusty Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7213b2521889eb087eed8abaa48d1a692575da3e tree 8a9a0b5cfaa9824de97d9dae45b20d2a7309db5b parent 0aa55e4d7db822059fe8132fe9f2b7773c48216c author Anil S Keshavamurthy Thu, 23 Jun 2005 00:09:27 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:22 -0700 [PATCH] Kprobes/IA64: kdebug die notification mechanism As many of you know that kprobes exist in the main line kernel for various architecture including i386, x86_64, ppc64 and sparc64. Attached patches following this mail are a port of Kprobes and Jprobes for IA64. I have tesed this patches for kprobes and Jprobes and this seems to work fine. I have tested this patch by inserting kprobes on various slots and various templates including various types of branch instructions. I have also tested this patch using the tool http://marc.theaimsgroup.com/?l=linux-kernel&m=111657358022586&w=2 and the kprobes for IA64 works great. Here is list of TODO things and pathes for the same will appear soon. 1) Support kprobes on "mov r1=ip" type of instruction 2) Support Kprobes and Jprobes to exist on the same address 3) Support Return probes 3) Architecture independent cleanup of kprobes This patch adds the kdebug die notification mechanism needed by Kprobes. For break instruction on Branch type slot, imm21 is ignored and value zero is placed in IIM register, hence we need to handle kprobes for switch case zero. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Rusty Lynch From: Rusty Lynch At the point in traps.c where we recieve a break with a zero value, we can not say if the break was a result of a kprobe or some other debug facility. This simple patch changes the informational string to a more correct "break 0" value, and applies to the 2.6.12-rc2-mm2 tree with all the kprobes patches that were just recently included for the next mm cut. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b94cce926b2b902b79380ccba370d6f9f2980de0 tree da2680b1ec36eae6423ba446d09284d2642ae82b parent 2fa389c5eb8c97d621653184d2adf5fdbd4a3167 author Hien Nguyen Thu, 23 Jun 2005 00:09:19 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:21 -0700 [PATCH] kprobes: function-return probes This patch adds function-return probes to kprobes for the i386 architecture. This enables you to establish a handler to be run when a function returns. 1. API Two new functions are added to kprobes: int register_kretprobe(struct kretprobe *rp); void unregister_kretprobe(struct kretprobe *rp); 2. Registration and unregistration 2.1 Register To register a function-return probe, the user populates the following fields in a kretprobe object and calls register_kretprobe() with the kretprobe address as an argument: kp.addr - the function's address handler - this function is run after the ret instruction executes, but before control returns to the return address in the caller. maxactive - The maximum number of instances of the probed function that can be active concurrently. For example, if the function is non- recursive and is called with a spinlock or mutex held, maxactive = 1 should be enough. If the function is non-recursive and can never relinquish the CPU (e.g., via a semaphore or preemption), NR_CPUS should be enough. maxactive is used to determine how many kretprobe_instance objects to allocate for this particular probed function. If maxactive <= 0, it is set to a default value (if CONFIG_PREEMPT maxactive=max(10, 2 * NR_CPUS) else maxactive=NR_CPUS) For example: struct kretprobe rp; rp.kp.addr = /* entrypoint address */ rp.handler = /*return probe handler */ rp.maxactive = /* e.g., 1 or NR_CPUS or 0, see the above explanation */ register_kretprobe(&rp); The following field may also be of interest: nmissed - Initialized to zero when the function-return probe is registered, and incremented every time the probed function is entered but there is no kretprobe_instance object available for establishing the function-return probe (i.e., because maxactive was set too low). 2.2 Unregister To unregiter a function-return probe, the user calls unregister_kretprobe() with the same kretprobe object as registered previously. If a probed function is running when the return probe is unregistered, the function will return as expected, but the handler won't be run. 3. Limitations 3.1 This patch supports only the i386 architecture, but patches for x86_64 and ppc64 are anticipated soon. 3.2 Return probes operates by replacing the return address in the stack (or in a known register, such as the lr register for ppc). This may cause __builtin_return_address(0), when invoked from the return-probed function, to return the address of the return-probes trampoline. 3.3 This implementation uses the "Multiprobes at an address" feature in 2.6.12-rc3-mm3. 3.4 Due to a limitation in multi-probes, you cannot currently establish a return probe and a jprobe on the same function. A patch to remove this limitation is being tested. This feature is required by SystemTap (http://sourceware.org/systemtap), and reflects ideas contributed by several SystemTap developers, including Will Cohen and Ananth Mavinakayanahalli. Signed-off-by: Hien Nguyen Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Frederik Deweerdt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e1048b11c5afe79aac46a42e3ccec86b8365c6d tree 4f9caee0153e688f22d7e7b6fdc62e35be4fc3fe parent 73649dab0fd524cb8545a8cb83c6eaf77b107105 author Rusty Lynch Thu, 23 Jun 2005 00:09:25 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:21 -0700 [PATCH] Move kprobe [dis]arming into arch specific code The architecture independent code of the current kprobes implementation is arming and disarming kprobes at registration time. The problem is that the code is assuming that arming and disarming is a just done by a simple write of some magic value to an address. This is problematic for ia64 where our instructions look more like structures, and we can not insert break points by just doing something like: *p->addr = BREAKPOINT_INSTRUCTION; The following patch to 2.6.12-rc4-mm2 adds two new architecture dependent functions: * void arch_arm_kprobe(struct kprobe *p) * void arch_disarm_kprobe(struct kprobe *p) and then adds the new functions for each of the architectures that already implement kprobes (spar64/ppc64/i386/x86_64). I thought arch_[dis]arm_kprobe was the most descriptive of what was really happening, but each of the architectures already had a disarm_kprobe() function that was really a "disarm and do some other clean-up items as needed when you stumble across a recursive kprobe." So... I took the liberty of changing the code that was calling disarm_kprobe() to call arch_disarm_kprobe(), and then do the cleanup in the block of code dealing with the recursive kprobe case. So far this patch as been tested on i386, x86_64, and ppc64, but still needs to be tested in sparc64. Signed-off-by: Rusty Lynch Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73649dab0fd524cb8545a8cb83c6eaf77b107105 tree 70f43b37ba915de148c28008e275dacec200e33f parent b94cce926b2b902b79380ccba370d6f9f2980de0 author Rusty Lynch Thu, 23 Jun 2005 00:09:23 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:21 -0700 [PATCH] x86_64 specific function return probes The following patch adds the x86_64 architecture specific implementation for function return probes. Function return probes is a mechanism built on top of kprobes that allows a caller to register a handler to be called when a given function exits. For example, to instrument the return path of sys_mkdir: static int sys_mkdir_exit(struct kretprobe_instance *i, struct pt_regs *regs) { printk("sys_mkdir exited\n"); return 0; } static struct kretprobe return_probe = { .handler = sys_mkdir_exit, }; return_probe.kp.addr = (kprobe_opcode_t *) kallsyms_lookup_name("sys_mkdir"); if (register_kretprobe(&return_probe)) { printk(KERN_DEBUG "Unable to register return probe!\n"); /* do error path */ } unregister_kretprobe(&return_probe); The way this works is that: * At system initialization time, kernel/kprobes.c installs a kprobe on a function called kretprobe_trampoline() that is implemented in the arch/x86_64/kernel/kprobes.c (More on this later) * When a return probe is registered using register_kretprobe(), kernel/kprobes.c will install a kprobe on the first instruction of the targeted function with the pre handler set to arch_prepare_kretprobe() which is implemented in arch/x86_64/kernel/kprobes.c. * arch_prepare_kretprobe() will prepare a kretprobe instance that stores: - nodes for hanging this instance in an empty or free list - a pointer to the return probe - the original return address - a pointer to the stack address With all this stowed away, arch_prepare_kretprobe() then sets the return address for the targeted function to a special trampoline function called kretprobe_trampoline() implemented in arch/x86_64/kernel/kprobes.c * The kprobe completes as normal, with control passing back to the target function that executes as normal, and eventually returns to our trampoline function. * Since a kprobe was installed on kretprobe_trampoline() during system initialization, control passes back to kprobes via the architecture specific function trampoline_probe_handler() which will lookup the instance in an hlist maintained by kernel/kprobes.c, and then call the handler function. * When trampoline_probe_handler() is done, the kprobes infrastructure single steps the original instruction (in this case just a top), and then calls trampoline_post_handler(). trampoline_post_handler() then looks up the instance again, puts the instance back on the free list, and then makes a long jump back to the original return instruction. So to recap, to instrument the exit path of a function this implementation will cause four interruptions: - A breakpoint at the very beginning of the function allowing us to switch out the return address - A single step interruption to execute the original instruction that we replaced with the break instruction (normal kprobe flow) - A breakpoint in the trampoline function where our instrumented function returned to - A single step interruption to execute the original instruction that we replaced with the break instruction (normal kprobe flow) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0aa55e4d7db822059fe8132fe9f2b7773c48216c tree 84075ac377f29f393aff802f00def309a98bcf40 parent 7e1048b11c5afe79aac46a42e3ccec86b8365c6d author Hien Nguyen Thu, 23 Jun 2005 00:09:26 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:21 -0700 [PATCH] kprobes: moves lock-unlock to non-arch kprobe_flush_task This patch moves the lock/unlock of the arch specific kprobe_flush_task() to the non-arch specific kprobe_flusk_task(). Signed-off-by: Hien Nguyen Acked-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df164db5fd16888ddbe2a63a47b2f6dda9a428b5 tree cc9aaf42f93761083e58e1d9d8d22261e0ff3686 parent 5f45f1a78fbac3cc859ec10c5366e97d20d40fa2 author Alexander Nyberg Thu, 23 Jun 2005 00:09:13 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:20 -0700 [PATCH] avoid resursive oopses Prevent recursive faults in do_exit() by leaving the task alone and wait for reboot. This may allow a more graceful shutdown and possibly save the original oops. Signed-off-by: Alexander Nyberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84de856ed30c568c2bb7b9ac0679772bd2737d9b tree 532e4f6bcc0db2d1baf0455484ec7f64a2a51e71 parent df164db5fd16888ddbe2a63a47b2f6dda9a428b5 author Christoph Hellwig Thu, 23 Jun 2005 00:09:16 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:20 -0700 [PATCH] quota: consolidate code surrounding vfs_quota_on_mount Move some code duplicated in both callers into vfs_quota_on_mount Signed-off-by: Christoph Hellwig Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f45f1a78fbac3cc859ec10c5366e97d20d40fa2 tree bafacf11adbfb4eebf2d2d80d92e1fe2d9c02b18 parent ac20427ef6aa63da663bdc88b71d16f7394f5e23 author Christoph Hellwig Thu, 23 Jun 2005 00:09:12 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:20 -0700 [PATCH] remove duplicate get_dentry functions in various places Various filesystem drivers have grown a get_dentry() function that's a duplicate of lookup_one_len, except that it doesn't take a maximum length argument and doesn't check for \0 or / in the passed in filename. Switch all these places to use lookup_one_len. Signed-off-by: Christoph Hellwig Cc: Greg KH Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fa389c5eb8c97d621653184d2adf5fdbd4a3167 tree a958e6ab570003e81b91df986492ca60fd247006 parent 84de856ed30c568c2bb7b9ac0679772bd2737d9b author Christoph Hellwig Thu, 23 Jun 2005 00:09:16 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:20 -0700 [PATCH] quota: sanitize dentry handling in vfs_quota_on_mount Use lookup_one_len instead of opencoding a simplified lookup using lookup_hash with a fake hash. Also there's no need anymore for the d_invalidate as we have a completely valid dentry now. Signed-off-by: Christoph Hellwig Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcd497f99a1ef29a7c5e76142965be77e9dacabd tree 684d64753c6cd71917cf3c360023dd273be376b4 parent 35a82d1a53e1a9ad54efafcc940f9335beaed5c3 author Jesper Juhl Thu, 23 Jun 2005 00:09:07 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:19 -0700 [PATCH] streamline preempt_count type across archs The preempt_count member of struct thread_info is currently either defined as int, unsigned int or __s32 depending on arch. This patch makes the type of preempt_count an int on all archs. Having preempt_count be an unsigned type prevents the catching of preempt_count < 0 bugs, and using int on some archs and __s32 on others is not exactely "neat" - much nicer when it's just int all over. A previous version of this patch was already ACK'ed by Robert Love, and the only change in this version of the patch compared to the one he ACK'ed is that this one also makes sure the preempt_count member is consistently commented. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be5b4fbd017d12e0d09ea0528a5839ce2ed2c8c8 tree 212a43003d1c4265718f53502547f36acbec143d parent dcd497f99a1ef29a7c5e76142965be77e9dacabd author Jesper Juhl Thu, 23 Jun 2005 00:09:09 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:19 -0700 [PATCH] preempt_count is int - remove cast and don't assign to unsigned type In kernel/sched.c the return value from preempt_count() is cast to an int. That made sense when preempt_count was defined as different types on is not needed and should go away. The patch removes the cast. In kernel/timer.c the return value from preempt_count() is assigned to a variable of type u32 and then that unsigned value is later compared to preempt_count(). Since preempt_count() returns an int, an int is what should be used to store its return value. Storing the result in an unsigned 32bit integer made a tiny bit of sense back when preempt_count was different types on different archs, but no more - let's not play signed vs unsigned comparison games when we don't have to. The patch modifies the code to use an int to hold the value. While I was around that bit of code I also made two changes to a nearby (related) printk() - I modified it to specify the loglevel explicitly and also broke the line into a few pieces to avoid it being longer than 80 chars and clarified the text a bit. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac20427ef6aa63da663bdc88b71d16f7394f5e23 tree 49ba4f88c5cea42d59b386c508174f585efc8a01 parent 3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599 author Neil Horman Thu, 23 Jun 2005 00:09:11 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:19 -0700 [PATCH] add check to /proc/devices read routines Patch to add check to get_chrdev_list and get_blkdev_list to prevent reads of /proc/devices from spilling over the provided page if more than 4096 bytes of string data are generated from all the registered character and block devices in a system Signed-off-by: Neil Horman Cc: Christoph Hellwig Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599 tree d69ea17b71b309151914ef722d2159e0c780312c parent be5b4fbd017d12e0d09ea0528a5839ce2ed2c8c8 author Pekka Enberg Thu, 23 Jun 2005 00:09:09 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:19 -0700 [PATCH] remove redundant vm_flags clearing from madvise.c This patch removes redundant VM_ClearReadHint from mm/madvice.c which was left there by Prasanna's patch. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfe52244e004f5103478966cd88351feb5c50d79 tree e8642138b3ff31a799c208c0b2a6562885d76092 parent 543537bd922692bc978e2e356fcd8bfc9c2ee7d5 author Robert Love Thu, 23 Jun 2005 00:09:04 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:18 -0700 [PATCH] kstrdup: convert a few existing implementations Convert a bunch of strdup() implementations and their callers to the new kstrdup(). A few remain, for example see sound/core, and there are tons of open coded strdup()'s around. Sigh. But this is a start. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab4af03a4054bd78bcabfb2214c9597201beae35 tree 43d2b273cb84349bfdde6667f8d5fea1d2d87031 parent dfe52244e004f5103478966cd88351feb5c50d79 author Greg Edwards Thu, 23 Jun 2005 00:09:05 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:18 -0700 [PATCH] CON_CONSDEV bit not set correctly on last console According to include/linux/console.h, CON_CONSDEV flag should be set on the last console specified on the boot command line: 86 #define CON_PRINTBUFFER (1) 87 #define CON_CONSDEV (2) /* Last on the command line */ 88 #define CON_ENABLED (4) 89 #define CON_BOOT (8) This does not currently happen if there is more than one console specified on the boot commandline. Instead, it gets set on the first console on the command line. This can cause problems for things like kdb that look for the CON_CONSDEV flag to see if the console is valid. Additionaly, it doesn't look like CON_CONSDEV is reassigned to the next preferred console at unregister time if the console being unregistered currently has that bit set. Example (from sn2 ia64): elilo vmlinuz root= console=ttyS0 console=ttySG0 in this case, the flags on ttySG console struct will be 0x4 (should be 0x6). Attached patch against bk fixes both issues for the cases I looked at. It uses selected_console (which gets incremented for each console specified on the command line) as the indicator of which console to set CON_CONSDEV on. When adding the console to the list, if the previous one had CON_CONSDEV set, it masks it out. Tested on ia64 and x86. The problem with the current behavior is it breaks overriding the default from the boot line. In the ia64 case, there may be a global append line defining console=a in elilo.conf. Then you want to boot your kernel, and want to override the default by passing console=b on the boot line. elilo constructs the kernel cmdline by starting with the value of the global append line, then tacks on whatever else you specify, which puts console=b last. Signed-off-by: Greg Edwards Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 543537bd922692bc978e2e356fcd8bfc9c2ee7d5 tree 0089e3907e7d6c17c01cffc6ea4a8962ed053079 parent 991114c6fa6a21d1fa4d544abe78592352860c82 author Paulo Marques Thu, 23 Jun 2005 00:09:02 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:18 -0700 [PATCH] create a kstrdup library function This patch creates a new kstrdup library function and changes the "local" implementations in several places to use this function. Most of the changes come from the sound and net subsystems. The sound part had already been acknowledged by Takashi Iwai and the net part by David S. Miller. I left UML alone for now because I would need more time to read the code carefully before making changes there. Signed-off-by: Paulo Marques Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35a82d1a53e1a9ad54efafcc940f9335beaed5c3 tree 776d5b01970c5ce3e2c9fd4a2c4cf2168a0afa3c parent ab4af03a4054bd78bcabfb2214c9597201beae35 author Nick Piggin Thu, 23 Jun 2005 00:09:06 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:18 -0700 [PATCH] optimise loop driver a bit Looks like locking can be optimised quite a lot. Increase lock widths slightly so lo_lock is taken fewer times per request. Also it was quite trivial to cover lo_pending with that lock, and remove the atomic requirement. This also makes memory ordering explicitly correct, which is nice (not that I particularly saw any mem ordering bugs). Test was reading 4 250MB files in parallel on ext2-on-tmpfs filesystem (1K block size, 4K page size). System is 2 socket Xeon with HT (4 thread). intel:/home/npiggin# umount /dev/loop0 ; mount /dev/loop0 /mnt/loop ; /usr/bin/time ./mtloop.sh Before: 0.24user 5.51system 0:02.84elapsed 202%CPU (0avgtext+0avgdata 0maxresident)k 0.19user 5.52system 0:02.88elapsed 198%CPU (0avgtext+0avgdata 0maxresident)k 0.19user 5.57system 0:02.89elapsed 198%CPU (0avgtext+0avgdata 0maxresident)k 0.22user 5.51system 0:02.90elapsed 197%CPU (0avgtext+0avgdata 0maxresident)k 0.19user 5.44system 0:02.91elapsed 193%CPU (0avgtext+0avgdata 0maxresident)k After: 0.07user 2.34system 0:01.68elapsed 143%CPU (0avgtext+0avgdata 0maxresident)k 0.06user 2.37system 0:01.68elapsed 144%CPU (0avgtext+0avgdata 0maxresident)k 0.06user 2.39system 0:01.68elapsed 145%CPU (0avgtext+0avgdata 0maxresident)k 0.06user 2.36system 0:01.68elapsed 144%CPU (0avgtext+0avgdata 0maxresident)k 0.06user 2.42system 0:01.68elapsed 147%CPU (0avgtext+0avgdata 0maxresident)k Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f972be33ce6a08b5f096ba013c7459a3a82f5f39 tree 5d495cdfc82dce1b8017244563f2f5437c395433 parent fd450b7318b75343fd76b3d95416853e34e72c95 author Oleg Nesterov Thu, 23 Jun 2005 00:09:00 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:17 -0700 [PATCH] posix-timers: use try_to_del_timer_sync() sys_timer_settime/sys_timer_delete needs to delete k_itimer->real.timer synchronously while holding ->it_lock, which is also locked in posix_timer_fn. This patch removes timer_active/set_timer_inactive which plays with timer_list's internals in favour of using try_to_del_timer_sync(), which was introduced in the previous patch. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 991114c6fa6a21d1fa4d544abe78592352860c82 tree cc81f871756a70a3312552409ee5cacd6625aa1d parent f972be33ce6a08b5f096ba013c7459a3a82f5f39 author Alexander Viro Thu, 23 Jun 2005 00:09:01 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:17 -0700 [PATCH] fix for prune_icache()/forced final iput() races Based on analysis and a patch from Russ Weight There is a race condition that can occur if an inode is allocated and then released (using iput) during the ->fill_super functions. The race condition is between kswapd and mount. For most filesystems this can only happen in an error path when kswapd is running concurrently. For isofs, however, the error can occur in a more common code path (which is how the bug was found). The logic here is "we want final iput() to free inode *now* instead of letting it sit in cache if fs is going down or had not quite come up". The problem is with kswapd seeing such inodes in the middle of being killed and happily taking over. The clean solution would be to tell kswapd to leave those inodes alone and let our final iput deal with them. I.e. add a new flag (I_FORCED_FREEING), set it before write_inode_now() there and make prune_icache() leave those alone. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fde6ad22480cdc2eaa102b805a3ed3ee1d36a376 tree 17489dacb9dcd2fd16d6bd0137098d85520e59b7 parent 250dccc00805e755a6d80a73557034253da0831f author Nick Piggin Thu, 23 Jun 2005 00:08:53 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:16 -0700 [PATCH] blk: branch hints Sprinkle around a few branch hints in the block layer. Signed-off-by: Nick Piggin Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd450b7318b75343fd76b3d95416853e34e72c95 tree e747348f7d3c9f1615963dde4f2c8baaf842415f parent 55c888d6d09a0df236adfaf8ccf06ff5d0646775 author Oleg Nesterov Thu, 23 Jun 2005 00:08:59 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:16 -0700 [PATCH] timers: introduce try_to_del_timer_sync() This patch splits del_timer_sync() into 2 functions. The new one, try_to_del_timer_sync(), returns -1 when it hits executing timer. It can be used in interrupt context, or when the caller hold locks which can prevent completion of the timer's handler. NOTE. Currently it can't be used in interrupt context in UP case, because ->running_timer is used only with CONFIG_SMP. Should the need arise, it is possible to kill #ifdef CONFIG_SMP in set_running_timer(), it is cheap. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdd646a44672115c986593956aa4ef105485a184 tree 705b347a9c84fe7dcc040b468cadf28bde332bcf parent fde6ad22480cdc2eaa102b805a3ed3ee1d36a376 author Nick Piggin Thu, 23 Jun 2005 00:08:54 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:16 -0700 [PATCH] blk: unplug later get_request_wait needn't unplug the device immediately. Signed-off-by: Nick Piggin Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55c888d6d09a0df236adfaf8ccf06ff5d0646775 tree deb9434abe3cf7c9b714ccb267ef5d943a847dfe parent bdd646a44672115c986593956aa4ef105485a184 author Oleg Nesterov Thu, 23 Jun 2005 00:08:56 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:16 -0700 [PATCH] timers fixes/improvements This patch tries to solve following problems: 1. del_timer_sync() is racy. The timer can be fired again after del_timer_sync have checked all cpus and before it will recheck timer_pending(). 2. It has scalability problems. All cpus are scanned to determine if the timer is running on that cpu. With this patch del_timer_sync is O(1) and no slower than plain del_timer(pending_timer), unless it has to actually wait for completion of the currently running timer. The only restriction is that the recurring timer should not use add_timer_on(). 3. The timers are not serialized wrt to itself. If CPU_0 does mod_timer(jiffies+1) while the timer is currently running on CPU 1, it is quite possible that local interrupt on CPU_0 will start that timer before it finished on CPU_1. 4. The timers locking is suboptimal. __mod_timer() takes 3 locks at once and still requires wmb() in del_timer/run_timers. The new implementation takes 2 locks sequentially and does not need memory barriers. Currently ->base != NULL means that the timer is pending. In that case ->base.lock is used to lock the timer. __mod_timer also takes timer->lock because ->base can be == NULL. This patch uses timer->entry.next != NULL as indication that the timer is pending. So it does __list_del(), entry->next = NULL instead of list_del() when the timer is deleted. The ->base field is used for hashed locking only, it is initialized in init_timer() which sets ->base = per_cpu(tvec_bases). When the tvec_bases.lock is locked, it means that all timers which are tied to this base via timer->base are locked, and the base itself is locked too. So __run_timers/migrate_timers can safely modify all timers which could be found on ->tvX lists (pending timers). When the timer's base is locked, and the timer removed from ->entry list (which means that _run_timers/migrate_timers can't see this timer), it is possible to set timer->base = NULL and drop the lock: the timer remains locked. This patch adds lock_timer_base() helper, which waits for ->base != NULL, locks the ->base, and checks it is still the same. __mod_timer() schedules the timer on the local CPU and changes it's base. However, it does not lock both old and new bases at once. It locks the timer via lock_timer_base(), deletes the timer, sets ->base = NULL, and unlocks old base. Then __mod_timer() locks new_base, sets ->base = new_base, and adds this timer. This simplifies the code, because AB-BA deadlock is not possible. __mod_timer() also ensures that the timer's base is not changed while the timer's handler is running on the old base. __run_timers(), del_timer() do not change ->base anymore, they only clear pending flag. So del_timer_sync() can test timer->base->running_timer == timer to detect whether it is running or not. We don't need timer_list->lock anymore, this patch kills it. We also don't need barriers. del_timer() and __run_timers() used smp_wmb() before clearing timer's pending flag. It was needed because __mod_timer() did not lock old_base if the timer is not pending, so __mod_timer()->list_add() could race with del_timer()->list_del(). With this patch these functions are serialized through base->lock. One problem. TIMER_INITIALIZER can't use per_cpu(tvec_bases). So this patch adds global struct timer_base_s { spinlock_t lock; struct timer_list *running_timer; } __init_timer_base; which is used by TIMER_INITIALIZER. The corresponding fields in tvec_t_base_s struct are replaced by struct timer_base_s t_base. It is indeed ugly. But this can't have scalability problems. The global __init_timer_base.lock is used only when __mod_timer() is called for the first time AND the timer was compile time initialized. After that the timer migrates to the local CPU. Signed-off-by: Oleg Nesterov Acked-by: Ingo Molnar Signed-off-by: Renaud Lienhart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 250dccc00805e755a6d80a73557034253da0831f tree da9f94abed8dac7479507601694d9276b2dbaf28 parent 040c928c47b591d1cd9977cd6431cae213528b45 author Nick Piggin Thu, 23 Jun 2005 00:08:52 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:16 -0700 [PATCH] blk: no memory barrier This memory barrier is not needed because the waitqueue will only get waiters on it in the following situations: rq->count has exceeded the threshold - however all manipulations of ->count are performed under the runqueue lock, and so we will correctly pick up any waiter. Memory allocation for the request fails. In this case, there is no additional help provided by the memory barrier. We are guaranteed to eventually wake up waiters because the request allocation mempool guarantees that if the mem allocation for a request fails, there must be some requests in flight. They will wake up waiters when they are retired. Signed-off-by: Nick Piggin Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa72b903f75e4f0f0b2c2feed093005167da4023 tree 12087e87fb8d41d10013946e5b2c91e57265c29e parent 2bf0fdad51c6710bf15d0bf4b9b30b8498fe4ddd author Tejun Heo Thu, 23 Jun 2005 00:08:49 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:15 -0700 [PATCH] blk: remove blk_queue_tag->real_max_depth optimization blk_queue_tag->real_max_depth was used to optimize out unnecessary allocations/frees on tag resize. However, the whole thing was very broken - tag_map was never allocated to real_max_depth resulting in access beyond the end of the map, bits in [max_depth..real_max_depth] were set when initializing a map and copied when resizing resulting in pre-occupied tags. As the gain of the optimization is very small, well, almost nill, remove the whole thing. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7d37d028dfba90b1b747f8ac685bf0959aeda8b tree 38627ec042c05f42feddff2ada95290ebe73679e parent fa72b903f75e4f0f0b2c2feed093005167da4023 author Tejun Heo Thu, 23 Jun 2005 00:08:50 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:15 -0700 [PATCH] blk: remove BLK_TAGS_{PER_LONG|MASK} Replace BLK_TAGS_PER_LONG with BITS_PER_LONG and remove unused BLK_TAGS_MASK. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bf0fdad51c6710bf15d0bf4b9b30b8498fe4ddd tree e4dea0ce02413260ca4dfc3b7de0bb91570f331b parent 15d20bfd606c4b4454aeaa05fc86f77994e48c92 author Tejun Heo Thu, 23 Jun 2005 00:08:48 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:15 -0700 [PATCH] blk: use find_first_zero_bit() in blk_queue_start_tag() blk_queue_start_tag() hand-coded searching for the first zero bit in the tag map. Replace it with find_first_zero_bit(). With this patch, blk_queue_star_tag() doesn't need to fill remains of tag map with 1, thus allowing it to work properly with the next remove_real_max_depth patch. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15d20bfd606c4b4454aeaa05fc86f77994e48c92 tree b15262d9237fd221a31ba2823837b6a7dd843cf6 parent 76381fee7e8feb4c22be636aa5d4765dbe4fbf9e author Domen Puncer Thu, 23 Jun 2005 00:08:47 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:15 -0700 [PATCH] ptrace_h8300: condition bugfix Assignment doesn't make much sense here as condition would always be true. Signed-off-by: Domen Puncer Signed-off-by: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 040c928c47b591d1cd9977cd6431cae213528b45 tree ee19f099782d02ba929f57a8dc0e5f0989e99932 parent f7d37d028dfba90b1b747f8ac685bf0959aeda8b author Tejun Heo Thu, 23 Jun 2005 00:08:51 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:15 -0700 [PATCH] blk: cleanup generic tag support error messages Add KERN_ERR and __FUNCTION__ to generic tag error messages, and add a comment in blk_queue_end_tag() which explains the silent failure path. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa1e1bdf78d405f9905b8290ee9211e7a7bbc99b tree 92b63c9965beb9718cfe426f2c2a81f397eb87c4 parent 1cc6f12e03ebc064b74161c684f987284ce9d0cc author Vincent Hanquez Thu, 23 Jun 2005 00:08:44 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:14 -0700 [PATCH] xen: x86: Rename usermode macro Rename user_mode to user_mode_vm and add a user_mode macro similar to the x86-64 one. This is useful for Xen because the linux xen kernel does not runs on the same priviledge that a vanilla linux kernel, and with this we just need to redefine user_mode(). Signed-off-by: Vincent Hanquez Cc: Ian Pratt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9129e56e9ec50c0689eb4cf7a3ca132f1e776db tree 46ef37651b1d25afbe002e00d8c80c85df27d5fd parent 717b594a415bfaf2dbd5e8266636488f2564c689 author Vincent Hanquez Thu, 23 Jun 2005 00:08:46 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:14 -0700 [PATCH] xen: x86_64: Add macro for debugreg Add 2 macros to set and get debugreg on x86_64. This is useful for Xen because it will need only to redefine each macro to a hypervisor call. Signed-off-by: Vincent Hanquez Cc: Ian Pratt Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76381fee7e8feb4c22be636aa5d4765dbe4fbf9e tree e12d15d64acb25dc35b4ab9d022314243181bc10 parent e9129e56e9ec50c0689eb4cf7a3ca132f1e776db author Vincent Hanquez Thu, 23 Jun 2005 00:08:46 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:14 -0700 [PATCH] xen: x86_64: use more usermode macro Make use of the user_mode macro where it's possible. This is useful for Xen because it will need only to redefine only the macro to a hypervisor call. Signed-off-by: Vincent Hanquez Cc: Ian Pratt Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 717b594a415bfaf2dbd5e8266636488f2564c689 tree 3d5e1f0a5321c172d35473509a06cf833c916d3a parent fa1e1bdf78d405f9905b8290ee9211e7a7bbc99b author Vincent Hanquez Thu, 23 Jun 2005 00:08:45 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:14 -0700 [PATCH] xen: x86: Use more usermode macro Use the user_mode macro where it's possible. Signed-off-by: Vincent Hanquez Cc: Ian Pratt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5012310e35bd62fd39fce338ee44422c975ff3c tree c50cb94b050947c41f285f5b40896ad0a977777b parent 701067c4661ebcdc155cc8f696acb24c016c058b author Vincent Hanquez Thu, 23 Jun 2005 00:08:42 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:13 -0700 [PATCH] xen: x86: add macro for debugreg Add 2 macros to set and get debugreg on x86. This is useful for Xen because it will need only to redefine each macro to a hypervisor call. Signed-off-by: Vincent Hanquez Cc: Ian Pratt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 701067c4661ebcdc155cc8f696acb24c016c058b tree c3566fe8dd278707273480c2ecc653bd6d291705 parent 32ecd42b6f94d3ee320a22827b46bd19ccf924e5 author Natalie Protasevich Thu, 23 Jun 2005 00:08:41 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:13 -0700 [PATCH] x86_64: avoid wasting IRQs I suggest to change the way IRQs are handed out to PCI devices. Currently, each I/O APIC pin gets associated with an IRQ, no matter if the pin is used or not. It is expected that each pin can potentually be engaged by a device inserted into the corresponding PCI slot. However, this imposes severe limitation on systems that have designs that employ many I/O APICs, only utilizing couple lines of each, such as P64H2 chipset. It is used in ES7000, and currently, there is no way to boot the system with more that 9 I/O APICs. The simple change below allows to boot a system with say 64 (or more) I/O APICs, each providing 1 slot, which otherwise impossible because of the IRQ gaps created for unused lines on each I/O APIC. It does not resolve the problem with number of devices that exceeds number of possible IRQs, but eases up a tension for IRQs on any large system with potentually large number of devices. I only implemented this for the ACPI boot, since if the system is this big and using newer chipsets it is probably (better be!) an ACPI based system :). The change is completely "mechanical" and does not alter any internal structures or interrupt model/implementation. The patch works for both i386 and x86_64 archs. It works with MSIs just fine, and should not intervene with implementations like shared vectors, when they get worked out and incorporated. To illustrate, below is the interrupt distribution for 2-cell ES7000 with 20 I/O APICs, and an Ethernet card in the last slot, which should be eth1 and which was not configured because its IRQ exceeded allowable number (it actially turned out huge - 480!): zorro-tb2:~ # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 0: 65716 30012 30007 30002 30009 30010 30010 30010 IO-APIC-edge timer 4: 373 0 725 280 0 0 0 0 IO-APIC-edge serial 8: 0 0 0 0 0 0 0 0 IO-APIC-edge rtc 9: 0 0 0 0 0 0 0 0 IO-APIC-level acpi 14: 39 3 0 0 0 0 0 0 IO-APIC-edge ide0 16: 108 13 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb1 18: 0 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb3 19: 15 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb2 23: 3 0 0 0 0 0 0 0 IO-APIC-level ehci_hcd:usb4 96: 4240 397 18 0 0 0 0 0 IO-APIC-level aic7xxx 97: 15 0 0 0 0 0 0 0 IO-APIC-level aic7xxx 192: 847 0 0 0 0 0 0 0 IO-APIC-level eth0 NMI: 0 0 0 0 0 0 0 0 LOC: 273423 274528 272829 274228 274092 273761 273827 273694 ERR: 7 MIS: 0 Even though the system doesn't have that many devices, some don't get enabled only because of IRQ numbering model. This is the IRQ picture after the patch was applied: zorro-tb2:~ # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 0: 44169 10004 10004 10001 10004 10003 10004 6135 IO-APIC-edge timer 4: 345 0 0 0 0 244 0 0 IO-APIC-edge serial 8: 0 0 0 0 0 0 0 0 IO-APIC-edge rtc 9: 0 0 0 0 0 0 0 0 IO-APIC-level acpi 14: 39 0 3 0 0 0 0 0 IO-APIC-edge ide0 17: 4425 0 9 0 0 0 0 0 IO-APIC-level aic7xxx 18: 15 0 0 0 0 0 0 0 IO-APIC-level aic7xxx, uhci_hcd:usb3 21: 231 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb1 22: 26 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb2 23: 3 0 0 0 0 0 0 0 IO-APIC-level ehci_hcd:usb4 24: 348 0 0 0 0 0 0 0 IO-APIC-level eth0 25: 6 192 0 0 0 0 0 0 IO-APIC-level eth1 NMI: 0 0 0 0 0 0 0 0 LOC: 107981 107636 108899 108698 108489 108326 108331 108254 ERR: 7 MIS: 0 Not only we see the card in the last I/O APIC, but we are not even close to using up available IRQs, since we didn't waste any. Signed-off-by: Natalie Protasevich Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32ecd42b6f94d3ee320a22827b46bd19ccf924e5 tree ea74d38338f800940e630d075ca157149871f37d parent 0928d6ef7f204979749fb241a90a04a35dae133a author Jan Beulich Thu, 23 Jun 2005 00:08:38 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:13 -0700 [PATCH] eliminate duplicate rdpmc definition Eliminate duplicate definition of rdpmc in x86-64's mtrr.h. Signed-off-by: Jan Beulich Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cc6f12e03ebc064b74161c684f987284ce9d0cc tree fd22e53fa49ea211914ee12fb45df6c4a2d01ee3 parent f5012310e35bd62fd39fce338ee44422c975ff3c author Vincent Hanquez Thu, 23 Jun 2005 00:08:43 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:13 -0700 [PATCH] xen: x86: Use new macro for debugreg Make use of the 2 new macro set_debugreg and get_debugreg. Signed-off-by: Vincent Hanquez Cc: Ian Pratt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0928d6ef7f204979749fb241a90a04a35dae133a tree f91a3a4725a2e59ed3cfce4cabd31f61798b9342 parent a3a00751ad8970c13d0563c2e92ee68c655a8e6b author Roland McGrath Thu, 23 Jun 2005 00:08:37 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:13 -0700 [PATCH] x86_64: never block forced SIGSEGV This is the x86_64 version of the signal fix I just posted for i386. This problem was first noticed on PPC and has already been fixed there. But the exact same issue applies to other platforms in the same way. The signal blocking for sa_mask and the handled signal takes place after the handler setup. When the stack is bogus, the handler setup forces a SIGSEGV. But then this will be blocked, and returning to user mode will fault again and iterate. This patch fixes the problem by checking whether signal handler setup failed, and not doing the signal-blocking if so. This copies what was done in the ppc code. I think all architectures' signal handler setup code follows this pattern and needs the change. Signed-off-by: Roland McGrath Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c92c6ffdb16990872acf4ce8b24f82f98fcbbb68 tree 2d86650f91ef21d73b43b1ad88c6316eb3832fb2 parent a3a255e744dfa672e741dc24306491139d0de2d8 author Andrew Morton Thu, 23 Jun 2005 00:08:35 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:12 -0700 [PATCH] mtrr size-and-base debugging Consolidate the mtrr sanity checking, add a dump_stack(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a88c987878e533fc21fbf684198021a3b2c279 tree 93ba058223c8b6d97f4ed557a07308735ad2cd8a parent c92c6ffdb16990872acf4ce8b24f82f98fcbbb68 author Alexander Nyberg Thu, 23 Jun 2005 00:08:35 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:12 -0700 [PATCH] x86_64: i8259.c iso99 structure initialization Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3a00751ad8970c13d0563c2e92ee68c655a8e6b tree a351e629e1e29e2fef7d82ef53548d575f4a1fc4 parent c0a88c987878e533fc21fbf684198021a3b2c279 author john stultz Thu, 23 Jun 2005 00:08:36 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:12 -0700 [PATCH] x86_64: fix hpet for systems that don't support legacy replacement Currently the x86-64 HPET code assumes the entire HPET implementation from the spec is present. This breaks on boxes that do not implement the optional legacy timer replacement functionality portion of the spec. This patch fixes this issue, allowing x86-64 systems that cannot use the HPET for the timer interrupt and RTC to still use the HPET as a time source. I've tested this patch on a system systems without HPET, with HPET but without legacy timer replacement, as well as HPET with legacy timer replacement. This version adds a minor check to cap the HPET counter value in gettimeoffset_hpet to avoid possible time inconsistencies. Please ignore the A2 version I sent to you earlier. Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9ed8817966dd723754a990f1003264a21b5747e tree 8fe7560aaa06288c18a098db21591e51bbff925a parent 80bb82afea9eeb94ae3bfed418d079930da5d3b3 author Alexey Dobriyan Thu, 23 Jun 2005 00:08:32 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:11 -0700 [PATCH] x86: #include asm/uaccess.h in asm/checksum.h csum_and_copy_to_user is static inline and uses VERIFY_WRITE. Patch allows to remove asm/uaccess.h from i386_ksyms.c without dependency surprises. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3a255e744dfa672e741dc24306491139d0de2d8 tree c19348966183d3ed79f6e9593a40d95c736e0665 parent 129f69465b411592247c408f93d7106939223be1 author Andrew Morton Thu, 23 Jun 2005 00:08:34 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:11 -0700 [PATCH] x86: cpu_khz type fix x86_64's cpu_khz is unsigned int and there is no reason why x86 needs to use unsigned long. So make cpu_khz unsigned int on x86 as well. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80bb82afea9eeb94ae3bfed418d079930da5d3b3 tree bc02d1f85c2c3c227b9cfbef51d708f988b71156 parent c434b7a6aedfe428ad17cd61b21b125a7b7a29ce author Aleksey Gorelov Thu, 23 Jun 2005 00:08:29 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:11 -0700 [PATCH] VIA 82C586B IRQ routing fix According to the VIA 82C586B datasheet (still available from http://gkernel.sourceforge.net/specs/via/586b.pdf.bz2) this chip need a special PIRQ mapping. Signed-off-by: Karsten Keil Signed-off-by: Aleksey Gorelov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 129f69465b411592247c408f93d7106939223be1 tree f585dff5c44ffdd0ee4ce05dec56dbc8477eb909 parent a9ed8817966dd723754a990f1003264a21b5747e author Alexey Dobriyan Thu, 23 Jun 2005 00:08:33 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:11 -0700 [PATCH] Remove i386_ksyms.c, almost. * EXPORT_SYMBOL's moved to other files * #include , where needed * #include's in i386_ksyms.c cleaned up * After copy-paste, redundant due to Makefiles rules preprocessor directives removed: #ifdef CONFIG_FOO EXPORT_SYMBOL(foo); #endif obj-$(CONFIG_FOO) += foo.o * Tiny reformat to fit in 80 columns Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c434b7a6aedfe428ad17cd61b21b125a7b7a29ce tree 1b1fb9d7279e715b765d8a4dd8a439166d68c516 parent b5d23e5b8c7ecd97d32f6ad7680d9909977580a7 author Natalie Protasevich Thu, 23 Jun 2005 00:08:29 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:10 -0700 [PATCH] x86: avoid wasting IRQs for PCI devices I have submitted the patch for x86_64, this is submission for i386. The patch changes the way IRQs are handed out to PCI devices. Currently, each I/O APIC pin gets associated with an IRQ, no matter if the pin is used or not. This imposes severe limitation on systems that have designs that employ many I/O APICs, only utilizing couple lines of each, such as P64H2 chipset. It is used in ES7000, and currently, there is no way to boot the system with more that 9 I/O APICs. The simple change below allows to boot a system with say 64 (or more) I/O APICs, each providing 1 slot, which otherwise impossible because of the IRQ gaps created for unused lines on each I/O APIC. It does not resolve the problem with number of devices that exceeds number of possible IRQs, but eases up a tension for IRQs on any large system with potentually large number of devices. Signed-off-by: Natalie Protasevich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5d23e5b8c7ecd97d32f6ad7680d9909977580a7 tree 3155d7c690af52862991f25fbfaa0d467d0c5249 parent 59121003721a8fad11ee72e646fd9d3076b5679c author Christoph Lameter Thu, 23 Jun 2005 00:08:27 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:10 -0700 [PATCH] ia64: Selectable Timer Interrupt Frequency It allows a selectable timer interrupt frequency of 100, 250 and 1000 HZ. Reducing the timer frequency may have important performance benefits on large systems. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 799d19f6ec5ca2102c61122f5219a17f1c4e961a tree 5e33a045b5fcc003dae052e8f62e1e4b47f908a2 parent 7fbb4f6e6873593a2defb8f66512f55d08d88106 author Jan Beulich Thu, 23 Jun 2005 00:08:24 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:10 -0700 [PATCH] allow early printk to use more than 25 lines Allow early printk code to take advantage of the full size of the screen, not just the first 25 lines. Signed-off-by: Jan Beulich Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59121003721a8fad11ee72e646fd9d3076b5679c tree c9279c1b74cce81a9dbaf1e7fd038cd55caf26f2 parent 799d19f6ec5ca2102c61122f5219a17f1c4e961a author Christoph Lameter Thu, 23 Jun 2005 00:08:25 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:10 -0700 [PATCH] i386: Selectable Frequency of the Timer Interrupt Make the timer frequency selectable. The timer interrupt may cause bus and memory contention in large NUMA systems since the interrupt occurs on each processor HZ times per second. Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca05fea6db5259c6d62e517c41d448a4249175f4 tree fae2369b5a38a7b01be366129b5dc3105acfacf6 parent 7c1def1652c6c1a95eafca2991baace34afaed0f author Natalie Protasevich Thu, 23 Jun 2005 00:08:22 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:09 -0700 [PATCH] Do not enforce unique IO_APIC_ID check for xAPIC systems (i386) This patch is per Andi's request to remove NO_IOAPIC_CHECK from genapic and use heuristics to prevent unique I/O APIC ID check for systems that don't need it. The patch disables unique I/O APIC ID check for Xeon-based and other platforms that don't use serial APIC bus for interrupt delivery. Andi stated that AMD systems don't need unique IO_APIC_IDs either. Signed-off-by: Natalie Protasevich Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fbb4f6e6873593a2defb8f66512f55d08d88106 tree 7946f3ca697a5981d4599162572201213f3782f5 parent ca05fea6db5259c6d62e517c41d448a4249175f4 author Jan Beulich Thu, 23 Jun 2005 00:08:23 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:09 -0700 [PATCH] adjust i386 watchdog tick calculation Get the i386 watchdog tick calculation into a state where it can also be used on CPUs with frequencies beyond 4GHz, and it consolidates the calculation into a single place (for potential furture adjustments). Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c1def1652c6c1a95eafca2991baace34afaed0f tree 0175c6babb39233a5cbbdf3c8ca9027180f580ed parent 1946089a109251655c5438d92c539bd2930e71ea author Roland McGrath Thu, 23 Jun 2005 00:08:21 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:09 -0700 [PATCH] i386: never block forced SIGSEGV This problem was first noticed on PPC and has already been fixed there. But the exact same issue applies to other platforms in the same way. The signal blocking for sa_mask and the handled signal takes place after the handler setup. When the stack is bogus, the handler setup forces a SIGSEGV. But then this will be blocked, and returning to user mode will fault again and iterate. This patch fixes the problem by checking whether signal handler setup failed, and not doing the signal-blocking if so. This copies what was done in the ppc code. I think all architectures' signal handler setup code follows this pattern and needs the change. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1946089a109251655c5438d92c539bd2930e71ea tree 819a492d5a7c4e6e695b150a86abeb99d5ac46eb parent 8c5a09082f4e61a176382e96a831a0636b918602 author Christoph Lameter Thu, 23 Jun 2005 00:08:19 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:09 -0700 [PATCH] NUMA aware block device control structure allocation Patch to allocate the control structures for for ide devices on the node of the device itself (for NUMA systems). The patch depends on the Slab API change patch by Manfred and me (in mm) and the pcidev_to_node patch that I posted today. Does some realignment too. Signed-off-by: Justin M. Forbes Signed-off-by: Christoph Lameter Signed-off-by: Pravin Shelar Signed-off-by: Shobhit Dayal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e164f5573bef0e6caf53519719cf0228c9c15ce3 tree beb6820d42219d34fb83b008de774cebd5e7bac8 parent 4a35293667f8691b45fdb72770f087c086fb9702 author Christoph Lameter Thu, 23 Jun 2005 00:08:17 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:08 -0700 [PATCH] ppc64: pcibus_to_node fix asm-generic/topology.h must also be included if CONFIG_NUMA is set in order to provide the fall back pcibus_to_node function. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c5a09082f4e61a176382e96a831a0636b918602 tree 89a7086ebbec9d94dc7b7b3483d3750220ba979c parent e164f5573bef0e6caf53519719cf0228c9c15ce3 author Christoph Lameter Thu, 23 Jun 2005 00:08:18 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:08 -0700 [PATCH] x86/x86_64: pcibus_to_node Define pcibus_to_node to be able to figure out which NUMA node contains a given PCI device. This defines pcibus_to_node(bus) in include/linux/topology.h and adjusts the macros for i386 and x86_64 that already provided a way to determine the cpumask of a pci device. x86_64 was changed to not build an array of cpumasks anymore. Instead an array of nodes is build which can be used to generate the cpumask via node_to_cpumask. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a9e1b0f564615bd92ba50162623e25c2904e564 tree ff8fe9b280cc539e4a57826e2dee072d247d284a parent 0f8e2d62fa04441cd12c08ce521e84e5bd3f8a46 author Venkatesh Pallipadi Thu, 23 Jun 2005 00:08:13 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:08 -0700 [PATCH] Platform SMIs and their interferance with tsc based delay calibration Issue: Current tsc based delay_calibration can result in significant errors in loops_per_jiffy count when the platform events like SMIs (System Management Interrupts that are non-maskable) are present. This could lead to potential kernel panic(). This issue is becoming more visible with 2.6 kernel (as default HZ is 1000) and on platforms with higher SMI handling latencies. During the boot time, SMIs are mostly used by BIOS (for things like legacy keyboard emulation). Description: The psuedocode for current delay calibration with tsc based delay looks like (0) Estimate a value for loops_per_jiffy (1) While (loops_per_jiffy estimate is accurate enough) (2) wait for jiffy transition (jiffy1) (3) Note down current tsc (tsc1) (4) loop until tsc becomes tsc1 + loops_per_jiffy (5) check whether jiffy changed since jiffy1 or not and refine loops_per_jiffy estimate Consider the following cases Case 1: If SMIs happen between (2) and (3) above, we can end up with a loops_per_jiffy value that is too low. This results in shorted delays and kernel can panic () during boot (Mostly at IOAPIC timer initialization timer_irq_works() as we don't have enough timer interrupts in a specified interval). Case 2: If SMIs happen between (3) and (4) above, then we can end up with a loops_per_jiffy value that is too high. And with current i386 code, too high lpj value (greater than 17M) can result in a overflow in delay.c:__const_udelay() again resulting in shorter delay and panic(). Solution: The patch below makes the calibration routine aware of asynchronous events like SMIs. We increase the delay calibration time and also identify any significant errors (greater than 12.5%) in the calibration and notify it to user. Patch below changes both i386 and x86-64 architectures to use this new and improved calibrate_delay_direct() routine. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a35293667f8691b45fdb72770f087c086fb9702 tree d128481d011dab5c030ddea816ba518446fbc4dd parent 8a9e1b0f564615bd92ba50162623e25c2904e564 author Hirokazu Takata Thu, 23 Jun 2005 00:08:14 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:08 -0700 [PATCH] m32r: build fix for asm-m32r/topology.h Use asm-generic/topology.h to fix yet another pcibus_to_node() build error. Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0e7feb03d5ac48069c2fd57bbba61522e0ca493 tree 58630bb380e675709d9f83d90f632f9658487a31 parent 6f4e1e5061c44a93337338af4bf9bed10ee9f32e author H. Peter Anvin Thu, 23 Jun 2005 00:08:09 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:07 -0700 [PATCH] biarch compiler support for i386 This allows the i386 architecture to be built on a system with a biarch compiler that defaults to x86-64, merely by specifying ARCH=i386. As previously discussed, this uses the equivalent logic to the ppc port. Signed-Off-By: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbfceef47fb9467424113a004070bf37a806a97c tree 3c12cef85abaaa0ca42088fc7600ed687b74fb5e parent 2b97690f4cd960779fb351b7cd9974390afabb36 author Matt Tolentino Thu, 23 Jun 2005 00:08:07 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:07 -0700 [PATCH] add x86-64 specific support for sparsemem This patch adds in the necessary support for sparsemem such that x86-64 kernels may use sparsemem as an alternative to discontigmem for NUMA kernels. Note that this does no preclude one from continuing to build NUMA kernels using discontigmem, but merely allows the option to build NUMA kernels with sparsemem. Interestingly, the use of sparsemem in lieu of discontigmem in NUMA kernels results in reduced text size for otherwise equivalent kernels as shown in the example builds below: text data bss dec hex filename 2371036 765884 1237108 4374028 42be0c vmlinux.discontig 2366549 776484 1302772 4445805 43d66d vmlinux.sparse Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f4e1e5061c44a93337338af4bf9bed10ee9f32e tree 61979ba584861bfb828680a8494fcd3a14a24dd8 parent bbfceef47fb9467424113a004070bf37a806a97c author Martin J. Bligh Thu, 23 Jun 2005 00:08:08 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:07 -0700 [PATCH] add page_state info to show_mem This helps a lot when debugging out of memory stuff - useful especially to see if all the memory is sucked into slab, etc. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f8e2d62fa04441cd12c08ce521e84e5bd3f8a46 tree 74c607e8766d23b3573afced1f20272978a42133 parent d0e7feb03d5ac48069c2fd57bbba61522e0ca493 author Ian Campbell Thu, 23 Jun 2005 00:08:10 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:07 -0700 [PATCH] use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh The attached patch causes the various arch specific install.sh scripts to look for ${CROSS_COMPILE}installkernel rather than just installkernel (in both /sbin/ and ~/bin/ where the script already did this). This allows you to have e.g. arm-linux-installkernel as a handy way to install on your cross target. It also prevents the script picking up on the host /sbin/installkernel which causes the script to fall through and do the install itself (which is what I actually use myself, with $INSTALL_PATH set). I don't believe it causes back-compatibility problems since calling the host installkernel was never likely to work or be what you wanted when cross compiling anyway. If $CROSS_COMPILE isn't set then nothing changes. I only use ARM and i386 myself but I figured it couldn't hurt to do the whole lot. I've cc'd those who I hope are the arch maintainers for files that I've touched. Signed-off-by: Ian Campbell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b97690f4cd960779fb351b7cd9974390afabb36 tree 26a94d00bc67f3036cea966ba7435f8e1efd3779 parent 1035faf1b19efb83d5626985240f52cd149dd39b author Matt Tolentino Thu, 23 Jun 2005 00:08:06 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:06 -0700 [PATCH] reorganize x86-64 NUMA and DISCONTIGMEM config options In order to use the alternative sparsemem implmentation for NUMA kernels, we need to reorganize the config options. This patch effectively abstracts out the CONFIG_DISCONTIGMEM options to CONFIG_NUMA in most cases. Thus, the discontigmem implementation may be employed as always, but the sparsemem implementation may be used alternatively. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 145e664231648121026d470094c200851a446a73 tree c9362f4ec3e3114afb9b7134ae89152cbbc73cd4 parent 74b30be2e183bd9a12d0350698996e3d1969f290 author Andy Whitcroft Thu, 23 Jun 2005 00:08:03 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:06 -0700 [PATCH] ppc64: sparsemem memory model Provide the architecture specific implementation for SPARSEMEM for PPC64 systems. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz (in part) Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1035faf1b19efb83d5626985240f52cd149dd39b tree 955a3d44fa1135c9ad0f25d5913915b927b6675c parent 073326634bec2f36e165583d21fb0a9fad47ac0a author Matt Tolentino Thu, 23 Jun 2005 00:08:05 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:06 -0700 [PATCH] add x86-64 Kconfig options for sparsemem Add the requisite arch specific Kconfig options to enable the use of the sparsemem implementation for NUMA kernels on x86-64. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 073326634bec2f36e165583d21fb0a9fad47ac0a tree c72cfdd09647d5f709d26986155224ad6e27294c parent 145e664231648121026d470094c200851a446a73 author Matt Tolentino Thu, 23 Jun 2005 00:08:03 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:06 -0700 [PATCH] remove direct ref to contig_page_data for x86-64 This patch pulls out all remaining direct references to contig_page_data from arch/x86-64, thus saving an ifdef in one case. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74b30be2e183bd9a12d0350698996e3d1969f290 tree 4add891144d4f0122794ce4c7befa3db8cdb3b68 parent 510f8fa7ba18320d408dd3093663e58f5664f2f0 author Andy Whitcroft Thu, 23 Jun 2005 00:08:02 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:05 -0700 [PATCH] ppc64: add memory present Provide hooks for PPC64 to allow memory models to be informed of installed memory areas. This allows SPARSEMEM to instantiate mem_map for the populated areas. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 641c767389b19859a45e6de46d8e18cd935bdb60 tree b3ac95aaea213823c226b181b8a301e4ae95bd9d parent 05b79bdcb48c18cd9b580c39e3efb9a1ab078151 author Andy Whitcroft Thu, 23 Jun 2005 00:07:59 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:05 -0700 [PATCH] sparsemem swiss cheese numa layouts The part of the sparsemem patch which modifies memmap_init_zone() has recently become a problem. It changes behavior so that there is a call to pfn_to_page() for each individual page inside of a node's range: node_start_pfn through node_end_pfn. It used to simply do this once, at the beginning of the node, but having sparsemem's non-contiguous mem_map[]s inside of a node made it necessary to change. Mike Kravetz recently wrote a patch which made the NUMA code accept some new kinds of layouts. The system's memory was laid out like this, with node 0's memory in two pieces: one before and one after node 1's memory: Node 0: +++++ +++++ Node 1: +++++ Previous behavior before Mike's patch was to assign nodes like this: Node 0: 00000 XXXXX Node 1: 11111 Where the 'X' areas were simply thrown away. The new behavior was to make the pg_data_t span node 0 across all of its areas, including areas that are really node 1's: Node 0: 000000000000000 Node 1: 11111 This wastes a little bit of mem_map space, but ends up being OK, and more fully utilizes the system's memory. memmap_init_zone() initializes all of the "struct page"s for node 0, even for the "hole", but those never get used, because there is no pfn_to_page() that resolves to those pages. However, only calling pfn_to_page() once, memmap_init_zone() always uses the pages that were allocated for node0->node_mem_map because: struct page *start = pfn_to_page(start_pfn); // effectively start = &node->node_mem_map[0] for (page = start; page < (start + size); page++) { init_page_here();... page++; } Slow, and wasteful, but generally harmless. But, modify that to call pfn_to_page() for each loop iteration (like sparsemem does): for (pfn = start_pfn; pfn < < (start_pfn + size); pfn++++) { page = pfn_to_page(pfn); } And you end up trying to initialize node 1's pages too early, along with bogus data from node 0. This patch checks for those weird layouts and declines to touch the pages, making the more frequent pfn_to_page() calls OK to do. Signed-off-by: Dave Hansen Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 510f8fa7ba18320d408dd3093663e58f5664f2f0 tree e355a1268cc9f42fac7e4b904d67e450775fb91f parent 29751f6991e845f7d002a6ae520bf996b38c8dcd author Andy Whitcroft Thu, 23 Jun 2005 00:08:01 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:05 -0700 [PATCH] ppc64: add early_pfn_to_nid Provide an implementation of early_pfn_to_nid for PPC64. This is used by memory models to determine the node from which to take allocations before the memory allocators are fully initialised. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29751f6991e845f7d002a6ae520bf996b38c8dcd tree f76c4c660ac4d204436f68851979343d2a9ba224 parent 641c767389b19859a45e6de46d8e18cd935bdb60 author Andy Whitcroft Thu, 23 Jun 2005 00:08:00 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:05 -0700 [PATCH] sparsemem hotplug base Make sparse's initalization be accessible at runtime. This allows sparse mappings to be created after boot in a hotplug situation. This patch is separated from the previous one just to give an indication how much of the sparse infrastructure is *just* for hotplug memory. The section_mem_map doesn't really store a pointer. It stores something that is convenient to do some math against to get a pointer. It isn't valid to just do *section_mem_map, so I don't think it should be stored as a pointer. There are a couple of things I'd like to store about a section. First of all, the fact that it is !NULL does not mean that it is present. There could be such a combination where section_mem_map *is* NULL, but the math gets you properly to a real mem_map. So, I don't think that check is safe. Since we're storing 32-bit-aligned structures, we have a few bits in the bottom of the pointer to play with. Use one bit to encode whether there's really a mem_map there, and the other one to tell whether there's a valid section there. We need to distinguish between the two because sometimes there's a gap between when a section is discovered to be present and when we can get the mem_map for it. Signed-off-by: Dave Hansen Signed-off-by: Andy Whitcroft Signed-off-by: Jack Steiner Signed-off-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05b79bdcb48c18cd9b580c39e3efb9a1ab078151 tree 1767aaa7a4621ff4cf1a85c2078229de54272f30 parent d41dee369bff3b9dcb6328d4d822926c28cc2594 author Andy Whitcroft Thu, 23 Jun 2005 00:07:57 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:05 -0700 [PATCH] sparsemem memory model for i386 Provide the architecture specific implementation for SPARSEMEM for i386 SMP and NUMA systems. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d41dee369bff3b9dcb6328d4d822926c28cc2594 tree a0405f3b7af3ebca21838a7d427bd75a067bf850 parent af705362ab6018071310c5fcd436a6b457517d5f author Andy Whitcroft Thu, 23 Jun 2005 00:07:54 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:04 -0700 [PATCH] sparsemem memory model Sparsemem abstracts the use of discontiguous mem_maps[]. This kind of mem_map[] is needed by discontiguous memory machines (like in the old CONFIG_DISCONTIGMEM case) as well as memory hotplug systems. Sparsemem replaces DISCONTIGMEM when enabled, and it is hoped that it can eventually become a complete replacement. A significant advantage over DISCONTIGMEM is that it's completely separated from CONFIG_NUMA. When producing this patch, it became apparent in that NUMA and DISCONTIG are often confused. Another advantage is that sparse doesn't require each NUMA node's ranges to be contiguous. It can handle overlapping ranges between nodes with no problems, where DISCONTIGMEM currently throws away that memory. Sparsemem uses an array to provide different pfn_to_page() translations for each SECTION_SIZE area of physical memory. This is what allows the mem_map[] to be chopped up. In order to do quick pfn_to_page() operations, the section number of the page is encoded in page->flags. Part of the sparsemem infrastructure enables sharing of these bits more dynamically (at compile-time) between the page_zone() and sparsemem operations. However, on 32-bit architectures, the number of bits is quite limited, and may require growing the size of the page->flags type in certain conditions. Several things might force this to occur: a decrease in the SECTION_SIZE (if you want to hotplug smaller areas of memory), an increase in the physical address space, or an increase in the number of used page->flags. One thing to note is that, once sparsemem is present, the NUMA node information no longer needs to be stored in the page->flags. It might provide speed increases on certain platforms and will be stored there if there is room. But, if out of room, an alternate (theoretically slower) mechanism is used. This patch introduces CONFIG_FLATMEM. It is used in almost all cases where there used to be an #ifndef DISCONTIG, because SPARSEMEM and DISCONTIGMEM often have to compile out the same areas of code. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Adrian Bunk Signed-off-by: Yasunori Goto Signed-off-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b159d43fbf7eaaac6ecc647f51cf4257332db47b tree 968d856c1bd80b47c76d27da272d95bcaf97aa78 parent 368a0a3afad08069b2679ecaff80fc18c10a6e2a author Andy Whitcroft Thu, 23 Jun 2005 00:07:52 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:04 -0700 [PATCH] generify early_pfn_to_nid Provide a default implementation for early_pfn_to_nid returning node 0. Allow architectures to override this with their own implementation out of asm/mmzone.h. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af705362ab6018071310c5fcd436a6b457517d5f tree 429e505558ee98e19b08ade8d02eedc3fee2478b parent b159d43fbf7eaaac6ecc647f51cf4257332db47b author Andy Whitcroft Thu, 23 Jun 2005 00:07:53 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:04 -0700 [PATCH] generify memory present Allow architectures to indicate that they will be providing hooks to indice installed memory areas, memory_present(). Provide prototypes for the i386 implementation. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 368a0a3afad08069b2679ecaff80fc18c10a6e2a tree 7fbb6691a56b31705f6c4bf809784ba9d4f5db18 parent 785dcd44b60ec8ede76fed0af54333ab5f3e848c author Mike Kravetz Thu, 23 Jun 2005 00:07:51 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:04 -0700 [PATCH] ppc64: Kconfig memory models This patch changes some of the default behavior in the ppc64 Kconfig file that was recently changed/added to 2.6.12-rc2-mm1 by Dave Hansen in preparation for SPARSEMEM. Patch allows the display of both FLAT and DISCONTIG models on pseries. As before, default is DISCONTIG for SMP and PSERIES and FLAT for others. Signed-off-by: Mike Kravetz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1785e85b9c81c67b581b511ee4efac6c81e9edb tree 97d0470fec528f9c995674abd39c02c36ec2d110 parent 074ccf8016b61f4b40066f8d737ab31e17a6afd1 author Dave Hansen Thu, 23 Jun 2005 00:07:49 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:03 -0700 [PATCH] mm/Kconfig: hide "Memory Model" selection menu I got some feedback from users who think that the new "Memory Model" menu is a little invasive. This patch will hide that menu, except when CONFIG_EXPERIMENTAL is enabled *or* when an individual architecture wants it. An individual arch may want to enable it because they've removed their arch-specific DISCONTIG prompt in favor of the mm/Kconfig one. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93b7504e3e6c1d98586854806e51bea329ea3aa9 tree 7b0d6f3a6214960daf3136f8c418178405521c07 parent 0e19243e9a19ef8e5994852671bd06bb51630811 author Dave Hansen Thu, 23 Jun 2005 00:07:47 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:03 -0700 [PATCH] Introduce new Kconfig option for NUMA or DISCONTIG There is some confusion that arose when working on SPARSEMEM patch between what is needed for DISCONTIG vs. NUMA. Multiple pg_data_t's are needed for DISCONTIGMEM or NUMA, independently. All of the current NUMA implementations require an implementation of DISCONTIG. Because of this, quite a lot of code which is really needed for NUMA is actually under DISCONTIG #ifdefs. For SPARSEMEM, we changed some of these #ifdefs to CONFIG_NUMA, but that broke the DISCONTIG=y and NUMA=n case. Introducing this new NEED_MULTIPLE_NODES config option allows code that is needed for both NUMA or DISCONTIG to be separated out from code that is specific to DISCONTIG. One great advantage of this approach is that it doesn't require every architecture to be converted over. All of the current implementations should "just work", only the ones implementing SPARSEMEM will have to be fixed up. The change to free_area_init() makes it work inside, or out of the new config option. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 785dcd44b60ec8ede76fed0af54333ab5f3e848c tree d928787cd93c608f24a6366d0990cd962a5a0c16 parent e1785e85b9c81c67b581b511ee4efac6c81e9edb author Dave Hansen Thu, 23 Jun 2005 00:07:50 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:03 -0700 [PATCH] mm/Kconfig: give DISCONTIG more help text This gives DISCONTIGMEM a bit more help text to explain what it does, not just when to choose it. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44d0f805c77902a22dda244fd092b4567066b2b9 tree 62732a526b6ade8b9cc0f403130ddf4d4b4fdf46 parent 93b7504e3e6c1d98586854806e51bea329ea3aa9 author Dave Hansen Thu, 23 Jun 2005 00:07:47 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:03 -0700 [PATCH] sparsemem: fix minor "defaults" issue in mm/Kconfig The following patch applies on top of 2.6.12-rc2-mm1. It fixes a minor user interaction issue, and an early reference to SPARSEMEM. This "choice" menu would always default to FLATMEM, as it was listed first. Move it to the end so that the other defaults have a chance first. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 074ccf8016b61f4b40066f8d737ab31e17a6afd1 tree 324c6a228ceb24836cfd1a2b222b3d9772803014 parent 44d0f805c77902a22dda244fd092b4567066b2b9 author Dave Hansen Thu, 23 Jun 2005 00:07:48 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:03 -0700 [PATCH] mm/Kconfig: kill unused ARCH_FLATMEM_DISABLE This used to be used to disable FLATMEM selection, but I decided to change it to be done generically when DISCONTIG is enabled. The option is unused, so this kills it. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f22ab276b931b72ea04b184c155b34d0362bfc3 tree 013e6ba32f4b2fcb66f9726ba6b2c6dc64f6622d parent 3a9da7655d2d5b7f790a370328cf093440c80496 author Dave Hansen Thu, 23 Jun 2005 00:07:43 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:02 -0700 [PATCH] make each arch use mm/Kconfig For all architectures, this just means that you'll see a "Memory Model" choice in your architecture menu. For those that implement DISCONTIGMEM, you may eventually want to make your ARCH_DISCONTIGMEM_ENABLE a "def_bool y" and make your users select DISCONTIGMEM right out of the new choice menu. The only disadvantage might be if you have some specific things that you need in your help option to explain something about DISCONTIGMEM. Signed-off-by: Dave Hansen Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e19243e9a19ef8e5994852671bd06bb51630811 tree 6afcb567e6236a57ff20805f4d4d96c2e6655457 parent 3f22ab276b931b72ea04b184c155b34d0362bfc3 author Dave Hansen Thu, 23 Jun 2005 00:07:45 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:02 -0700 [PATCH] update all defconfigs for ARCH_DISCONTIGMEM_ENABLE This will at least suppress one prompt that users would have received the first time they compile with the new DISCONTIG arch option. They'll still get the "Memory Model" prompt, but 99% of them will have the default work there. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f167ec721108c9282d54424516a12c805e3c306 tree f7094a2524611ede76b32e4cc3c07987b7b0e275 parent c2ebaa425e6630adcbf757b004d257dd4204925b author Dave Hansen Thu, 23 Jun 2005 00:07:39 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:01 -0700 [PATCH] sparsemem base: simple NUMA remap space allocator Introduce a simple allocator for the NUMA remap space. This space is very scarce, used for structures which are best allocated node local. This mechanism is also used on non-NUMA ia64 systems with a vmem_map to keep the pgdat->node_mem_map initialized in a consistent place for all architectures. Issues: o alloc_remap takes a node_id where we might expect a pgdat which was intended to allow us to allocate the pgdat's using this mechanism; which we do not yet do. Could have alloc_remap_node() and alloc_remap_nid() for this purpose. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b505b90b2d54e526cc8d123bdef3b98c9f0bbc6 tree c56ce2547e654eb0a2166171ba8ca19eaa8cd65f parent 348f8b6c4837a07304d2f72b11ce8d96588065e0 author Dave Hansen Thu, 23 Jun 2005 00:07:41 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:01 -0700 [PATCH] sparsemem base: teach discontig about sparse ranges discontig.c has some assumptions that mem_map[]s inside of a node are contiguous. Teach it to make sure that each region that it's bringing online is actually made up of valid ranges of ram. Written-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a9da7655d2d5b7f790a370328cf093440c80496 tree 29fd39ee7dce0cfb4abc104a8492c22ff7f06111 parent 5b505b90b2d54e526cc8d123bdef3b98c9f0bbc6 author Dave Hansen Thu, 23 Jun 2005 00:07:42 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:01 -0700 [PATCH] create mm/Kconfig for arch-independent memory options With sparsemem being introduced, we need a central place for new memory-related .config options: mm/Kconfig. This allows us to remove many of the duplicated arch-specific options. The new option, CONFIG_FLATMEM, is there to enable us to detangle NUMA and DISCONTIGMEM. This is a requirement for sparsemem because sparsemem uses the NUMA code without the presence of DISCONTIGMEM. The sparsemem patches use CONFIG_FLATMEM in generic code, so this patch is a requirement before applying them. Almost all places that used to do '#ifndef CONFIG_DISCONTIGMEM' should use '#ifdef CONFIG_FLATMEM' instead. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 348f8b6c4837a07304d2f72b11ce8d96588065e0 tree f4c6c332b2c327630b284598325dff2f44e6c9cf parent 6f167ec721108c9282d54424516a12c805e3c306 author Dave Hansen Thu, 23 Jun 2005 00:07:40 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:01 -0700 [PATCH] sparsemem base: reorganize page->flags bit operations Generify the value fields in the page_flags. The aim is to allow the location and size of these fields to be varied. Additionally we want to move away from fixed allocations per field whilst still enforcing the overall bit utilisation limits. We rely on the compiler to spot and optimise the accessor functions. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2ebaa425e6630adcbf757b004d257dd4204925b tree 9314642388bbe86020e58932cf6bb46be88deb4e parent 408fde81c1bff15c875a3618481e93a01dcc79ea author Dave Hansen Thu, 23 Jun 2005 00:07:38 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:00 -0700 [PATCH] sparsemem base: early_pfn_to_nid() (works before sparse is initialized) The following four patches provide the last needed changes before the introduction of sparsemem. For a more complete description of what this will do, please see this patch: http://www.sr71.net/patches/2.6.11/2.6.11-bk7-mhp1/broken-out/B-sparse-150-sparsemem.patch or previous posts on the subject: http://marc.theaimsgroup.com/?t=110868540700001&r=1&w=2 http://marc.theaimsgroup.com/?l=linux-mm&m=109897373315016&w=2 Three of these are i386-only, but one of them reorganizes the macros used to manage the space in page->flags, and will affect all platforms. There are analogous patches to the i386 ones for ppc64, ia64, and x86_64, but those will be submitted by the normal arch maintainers. The combination of the four patches has been test-booted on a variety of i386 hardware, and compiled for ppc64, i386, and x86-64 with about 17 different .configs. It's also been runtime-tested on ia64 configs (with more patches on top). This patch: We _know_ which node pages in general belong to, at least at a very gross level in node_{start,end}_pfn[]. Use those to target the allocations of pages. Signed-off-by: Andy Whitcroft Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 408fde81c1bff15c875a3618481e93a01dcc79ea tree 89b173c5cccd69a17aa64bff8916c54bdcb2d6fe parent 29c31a3bf257e0723423f1f0f9afd1b840434c75 author Dave Hansen Thu, 23 Jun 2005 00:07:37 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:45:00 -0700 [PATCH] remove non-DISCONTIG use of pgdat->node_mem_map This patch effectively eliminates direct use of pgdat->node_mem_map outside of the DISCONTIG code. On a flat memory system, these fields aren't currently used, neither are they on a sparsemem system. There was also a node_mem_map(nid) macro on many architectures. Its use along with the use of ->node_mem_map itself was not consistent. It has been removed in favor of two new, more explicit, arch-independent macros: pgdat_page_nr(pgdat, pagenr) nid_page_nr(nid, pagenr) I called them "pgdat" and "nid" because we overload the term "node" to mean "NUMA node", "DISCONTIG node" or "pg_data_t" in very confusing ways. I believe the newer names are much clearer. These macros can be overridden in the sparsemem case with a theoretically slower operation using node_start_pfn and pfn_to_page(), instead. We could make this the only behavior if people want, but I don't want to change too much at once. One thing at a time. This patch removes more code than it adds. Compile tested on alpha, alpha discontig, arm, arm-discontig, i386, i386 generic, NUMAQ, Summit, ppc64, ppc64 discontig, and x86_64. Full list here: http://sr71.net/patches/2.6.12/2.6.12-rc1-mhp2/configs/ Boot tested on NUMAQ, x86 SMP and ppc64 power4/5 LPARs. Signed-off-by: Dave Hansen Signed-off-by: Martin J. Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29c31a3bf257e0723423f1f0f9afd1b840434c75 tree ff6d12f7854bb631e47a1483cb5220595aab00d0 parent ee98689be1b054897ff17655008c3048fe88be94 parent b2b3d8247951f298897b395599849957ee271c55 author Linus Torvalds Thu, 23 Jun 2005 09:25:04 -0700 committer Linus Torvalds Thu, 23 Jun 2005 09:25:04 -0700 Merge 'misc-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 55d3b282b90620e02e825304a9433732a84c58a5 tree ba48375ac5262a8587eb6237134ed0aa57e7174a parent 4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9 author Russell King Thu, 23 Jun 2005 15:05:41 +0100 committer Russell King Thu, 23 Jun 2005 15:05:41 +0100 [PATCH] Serial: Mobility's 16550A ports need a helping hand The Mobility 16550A serial ports don't behave the same as standard 16550A ports, and need a helping hand to get them going once the transmitter has drained and been disabled. Signed-off-by: Russell King commit 4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9 tree 26c52f5ff50c54f210c53e986f565c6f29409ca1 parent b7c84c6ada2be942eca6722edb2cfaad412cd5de author Russell King Thu, 23 Jun 2005 10:43:04 +0100 committer Russell King Thu, 23 Jun 2005 10:43:04 +0100 [PATCH] Serial: Convert 8250 revision-based bug fixes to bug bitmask For some 8250 port types, we used to check the type of the port, and then determine whether the chip revision means the device is buggy. Instead, introduce a bit array, and set the appropriate bit(s) when we discover a buggy device. Signed-off-by: Russell King commit b2b3d8247951f298897b395599849957ee271c55 tree e6e5f7698d06d83e861210e6cf427ce3262d78fc parent a4936044001694f033fe4ea94d6034d51a6b465c author Mitch Williams Thu, 23 Jun 2005 03:41:00 -0400 committer Jeff Garzik Thu, 23 Jun 2005 03:41:00 -0400 e1000: fix spinlock bug This patch fixes an obvious and nasty bug where we could exit the transmit routine while holding tx_lock. Signed-off-by: Mitch Williams commit d7152fe14cad075d6dd4ee4194acd131aed0244e tree eb814e3a04b0ca396eed9b1c1d30ebb3a667daff parent dad32bbf43b496bcd32a83f73a1e7fd0a02cfd3e author David Gibson Thu, 23 Jun 2005 17:14:39 +1000 committer Paul Mackerras Thu, 23 Jun 2005 17:14:39 +1000 [PATCH] Maple powerdown patch Currently reset and powerdown are not implemented on the Maple board, and attempting to do so will (incorrectly return). This implements the proper communication with the service processor, allowing correct reset and powerdown on the Maple board, by communicating with the service processor. If somehow it's unable to communicate with the service processor it will loop forever instead. Note that powerdown on the Maple will power down the CPUs, but not the fans or other board components due to hardware and firmware limitations. Signed-off-by: David Gibson Signed-off-by: Frank Rowand Signed-off-by: Paul Mackerras commit dad32bbf43b496bcd32a83f73a1e7fd0a02cfd3e tree 4be484d37e792c95815c74dda3b6d4968a979cfe parent 8f586b2243198194240626fd9695da5564ffa7ee author John Rose Thu, 23 Jun 2005 17:09:54 +1000 committer Paul Mackerras Thu, 23 Jun 2005 17:09:54 +1000 [PATCH] pSeries - read irqs dynamically For I/O DLPAR to work properly, the kernel needs to allow for dynamic assignment of the irq field of the pci_dev structure upon dynamic bus addition. This patch moves the assignment of that field from pSeries_final_fixup() to pcibios_fixup_bus(), which enables dynamic assignment for the children of a newly added bus. Currently, pci_devs receive their irq numbers in one of two ways. The irq line is either read at boot for all pci_devs, or read by the rpaphp module at slot enable time. The latter is no longer sufficient for DLPAR addition of slots that don't qualify as PCI-hotplug capable. This solution handles the cases of boot and dynamic add. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit ee98689be1b054897ff17655008c3048fe88be94 tree 413e8c09a51b5e4ee6850da2b7a65f9a9af0be9c parent 060de20e82195d404f7dc6a914685730376fdc80 parent d377e85b537a5e166272f937da6ba84350676b6e author Linus Torvalds Wed, 22 Jun 2005 23:18:10 -0700 committer Linus Torvalds Wed, 22 Jun 2005 23:18:10 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit 060de20e82195d404f7dc6a914685730376fdc80 tree f7b8499beaae104016b46e7583b2dbc1d6d7f901 parent b7c84c6ada2be942eca6722edb2cfaad412cd5de parent 2c4ee8f907fc4a3c69273a958f853bf4b358eb49 author Linus Torvalds Wed, 22 Jun 2005 23:11:50 -0700 committer Linus Torvalds Wed, 22 Jun 2005 23:11:50 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 8f586b2243198194240626fd9695da5564ffa7ee tree 716ba2e20edb04a354210f626b73b56e156f171b parent ae209cf10086b97e92e39af7cec0f84b21b6fca3 author Mike Strosaker Thu, 23 Jun 2005 16:09:41 +1000 committer Paul Mackerras Thu, 23 Jun 2005 16:09:41 +1000 [PATCH] correct printing to operator panel This patch corrects the printing of progress indicators to the op panel on p/iSeries ppc64 systems. Each discrete reference code should begin with a form feed char to clear the op panel, and the first and second lines should be separated with a CR/LF sequence. Padding with spaces is not necessary. Also, capitalize the hex value printed on the first line, to be consistent with the values printed by firmware, service processor, etc. It turns out that there's an ibm,form-feed property; this patch uses it in the pSeries-specific progress routine. This patch also checks the number of rows and the specific width of each row (the second row on power5 systems can actually hold 80 characters). If the displayed text is too wide for the physical display, it can be viewed in the ASM menus, or by selecting option 14 on the op panel. Signed-off-by: Mike Strosaker Signed-off-by: Paul Mackerras commit d377e85b537a5e166272f937da6ba84350676b6e tree f3e5f347cbaa72a1479d991f7cab83228dd44bf0 parent 479f6ea85e513551510ad52f37e69e1c596ad356 author Greg Kroah-Hartman Wed, 22 Jun 2005 16:09:05 -0700 committer Greg Kroah-Hartman Wed, 22 Jun 2005 23:01:10 -0700 [PATCH] driver core: Fix up the device_attach() error handling in bus_add_device() Don't error out if something "bad" happens when trying to bind a driver to a device. We want the sysfs attributes to be present for later when we try to tear down the device. Signed-off-by: Greg Kroah-Hartman commit 479f6ea85e513551510ad52f37e69e1c596ad356 tree 60eadfd85297f42be75be8863cacbc0ea9d82f3b parent b7c84c6ada2be942eca6722edb2cfaad412cd5de author Stelian Pop Wed, 22 Jun 2005 17:53:28 +0200 committer Greg Kroah-Hartman Wed, 22 Jun 2005 23:01:09 -0700 [PATCH] USB: fix hid core to return proper error code from probe Drivers need to return -ENODEV when they can't bind to a device. Anything else stops the "bind a device to a driver" search. From: Stelian Pop Signed-off-by: Greg Kroah-Hartman commit 2c4ee8f907fc4a3c69273a958f853bf4b358eb49 tree 79d56bc6cc1575111f7ffcee74067ecfa946f16e parent ebc3f64b864fc16a594c2e63bf55a55c7d42084b author Nishanth Aravamudan Wed, 22 Jun 2005 22:19:52 -0700 committer David S. Miller Wed, 22 Jun 2005 22:19:52 -0700 [LTPC]: Replace schedule_timeout() with ssleep()/msleep() Use ssleep() / msleep() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Acked-by: Arnaldo Carvalho de Melo Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit ebc3f64b864fc16a594c2e63bf55a55c7d42084b tree 95040f32ad5902051527b91966118e565d48865b parent cb65d506c34c86df5bcef939ce5a8666a451bd8b author Shaun Pereira Wed, 22 Jun 2005 22:16:17 -0700 committer David S. Miller Wed, 22 Jun 2005 22:16:17 -0700 [X25]: Fast select with no restriction on response This patch is a follow up to patch 1 regarding "Selective Sub Address matching with call user data". It allows use of the Fast-Select-Acceptance optional user facility for X.25. This patch just implements fast select with no restriction on response (NRR). What this means (according to ITU-T Recomendation 10/96 section 6.16) is that if in an incoming call packet, the relevant facility bits are set for fast-select-NRR, then the called DTE can issue a direct response to the incoming packet using a call-accepted packet that contains call-user-data. This patch allows such a response. The called DTE can also respond with a clear-request packet that contains call-user-data. However, this feature is currently not implemented by the patch. How is Fast Select Acceptance used? By default, the system does not allow fast select acceptance (as before). To enable a response to fast select acceptance, After a listen socket in created and bound as follows socket(AF_X25, SOCK_SEQPACKET, 0); bind(call_soc, (struct sockaddr *)&locl_addr, sizeof(locl_addr)); but before a listen system call is made, the following ioctl should be used. ioctl(call_soc,SIOCX25CALLACCPTAPPRV); Now the listen system call can be made listen(call_soc, 4); After this, an incoming-call packet will be accepted, but no call-accepted packet will be sent back until the following system call is made on the socket that accepts the call ioctl(vc_soc,SIOCX25SENDCALLACCPT); The network (or cisco xot router used for testing here) will allow the application server's call-user-data in the call-accepted packet, provided the call-request was made with Fast-select NRR. Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit cb65d506c34c86df5bcef939ce5a8666a451bd8b tree 4cf281ba2e90c9c20d28a80d1efc8292aaba699a parent 68d318720052154bc6b2513b0f15d0d947cc53c9 author Shaun Pereira Wed, 22 Jun 2005 22:15:01 -0700 committer David S. Miller Wed, 22 Jun 2005 22:15:01 -0700 [X25]: Selective sub-address matching with call user data. From: Shaun Pereira This is the first (independent of the second) patch of two that I am working on with x25 on linux (tested with xot on a cisco router). Details are as follows. Current state of module: A server using the current implementation (2.6.11.7) of the x25 module will accept a call request/ incoming call packet at the listening x.25 address, from all callers to that address, as long as NO call user data is present in the packet header. If the server needs to choose to accept a particular call request/ incoming call packet arriving at its listening x25 address, then the kernel has to allow a match of call user data present in the call request packet with its own. This is required when multiple servers listen at the same x25 address and device interface. The kernel currently matches ALL call user data, if present. Current Changes: This patch is a follow up to the patch submitted previously by Andrew Hendry, and allows the user to selectively control the number of octets of call user data in the call request packet, that the kernel will match. By default no call user data is matched, even if call user data is present. To allow call user data matching, a cudmatchlength > 0 has to be passed into the kernel after which the passed number of octets will be matched. Otherwise the kernel behavior is exactly as the original implementation. This patch also ensures that as is normally the case, no call user data will be present in the Call accepted / call connected packet sent back to the caller Future Changes on next patch: There are cases however when call user data may be present in the call accepted packet. According to the X.25 recommendation (ITU-T 10/96) section 5.2.3.2 call user data may be present in the call accepted packet provided the fast select facility is used. My next patch will include this fast select utility and the ability to send up to 128 octets call user data in the call accepted packet provided the fast select facility is used. I am currently testing this, again with xot on linux and cisco. Signed-off-by: Shaun Pereira (With a fix from Alexey Dobriyan ) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 68d318720052154bc6b2513b0f15d0d947cc53c9 tree c6b566a3a946cae0543cf9bd1fbc77fe9d5efd7d parent 285b3afefacff14bc98e5754b8b48a0a2b42f0df author James Lamanna Wed, 22 Jun 2005 22:12:57 -0700 committer David S. Miller Wed, 22 Jun 2005 22:12:57 -0700 [EBTABLES]: vfree() checking cleanups From: jlamanna@gmail.com ebtables.c vfree() checking cleanups. Signed-off by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 285b3afefacff14bc98e5754b8b48a0a2b42f0df tree 3294a65cafb6003455d9280ff630191d97a25e64 parent 7abaa27c1c54208bd76fa8bae55839c034aebfb2 author Nishanth Aravamudan Wed, 22 Jun 2005 22:11:44 -0700 committer David S. Miller Wed, 22 Jun 2005 22:11:44 -0700 [ATALK] aarp: replace schedule_timeout() with msleep() From: Nishanth Aravamudan Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. The current code is not wrong, but it does not account for early return due to signals, so I think msleep() should be appropriate. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 7abaa27c1c54208bd76fa8bae55839c034aebfb2 tree 48df0b622ae217be9dfc3779518f3dd6aab2fecb parent fbeec2e1552949002065435c9829dc244ad85407 author Chuck Short Wed, 22 Jun 2005 22:10:23 -0700 committer David S. Miller Wed, 22 Jun 2005 22:10:23 -0700 [IPV4]: Fix route.c gcc4 warnings Signed-off by: Chuck Short Signed-off-by: David S. Miller commit fbeec2e1552949002065435c9829dc244ad85407 tree d97dc663bbef4bf59a1858b23a327f14043c33d1 parent 115c1d6e61b70851d9a363328c3b8d4c2559a1d3 author Jeff Moyer Wed, 22 Jun 2005 22:05:59 -0700 committer David S. Miller Wed, 22 Jun 2005 22:05:59 -0700 [NETPOLL]: allow multiple netpoll_clients to register against one interface This patch provides support for registering multiple netpoll clients to the same network device. Only one of these clients may register an rx_hook, however. In practice, this restriction has not been problematic. It is worth mentioning, though, that the current design can be easily extended to allow for the registration of multiple rx_hooks. The basic idea of the patch is that the rx_np pointer in the netpoll_info structure points to the struct netpoll that has rx_hook filled in. Aside from this one case, there is no need for a pointer from the struct net_device to an individual struct netpoll. A lock is introduced to protect the setting and clearing of the np_rx pointer. The pointer will only be cleared upon netpoll client module removal, and the lock should be uncontested. Signed-off-by: Jeff Moyer Signed-off-by: David S. Miller commit 115c1d6e61b70851d9a363328c3b8d4c2559a1d3 tree 3bc37b036fd3ef72d188ff73da94472b40c05a44 parent 6ca4f65e6b390d09e1de7280cf9fd4f5d8e4b48b author Jeff Moyer Wed, 22 Jun 2005 22:05:31 -0700 committer David S. Miller Wed, 22 Jun 2005 22:05:31 -0700 [NETPOLL]: Introduce a netpoll_info struct This patch introduces a netpoll_info structure, which the struct net_device will now point to instead of pointing to a struct netpoll. The reason for this is two-fold: 1) fields such as the rx_flags, poll_owner, and poll_lock should be maintained per net_device, not per netpoll; and 2) this is a first step in providing support for multiple netpoll clients to register against the same net_device. The struct netpoll is now pointed to by the netpoll_info structure. As such, the previous behaviour of the code is preserved. Signed-off-by: Jeff Moyer Signed-off-by: David S. Miller commit 6ca4f65e6b390d09e1de7280cf9fd4f5d8e4b48b tree 1ca8b0d0126c5ce1cd7ffc0fe0ccd80235f3307b parent f31f5f051269746179b01017fc5e3dcf6b37c67e author Jeff Moyer Wed, 22 Jun 2005 22:04:55 -0700 committer David S. Miller Wed, 22 Jun 2005 22:04:55 -0700 [NETPOLL]: Set poll_owner to -1 before unlocking in netpoll_poll_unlock() This trivial patch moves the assignment of poll_owner to -1 inside of the lock. This fixes a potential SMP race in the code. Signed-off-by: Jeff Moyer Signed-off-by: David S. Miller commit b7c84c6ada2be942eca6722edb2cfaad412cd5de tree 06cba21e92755bf6b815221d5124ca0f9faf7985 parent a4936044001694f033fe4ea94d6034d51a6b465c author Christoph Lameter Wed, 22 Jun 2005 20:26:07 -0700 committer Linus Torvalds Wed, 22 Jun 2005 20:42:32 -0700 [PATCH] boot_pageset must not be freed. The boot_pageset needs to be preserved for hotplugging and for off line processors and nodes. Otherwise pointers will point into memory that has now a different use. /proc/zoneinfo is currently showing strange results if processors / nodes are not present. Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit ae209cf10086b97e92e39af7cec0f84b21b6fca3 tree 9373d6ce5baef7e3d1d65e3fb21c5d0bbcbeec15 parent cebf589c822b5de87098b57644024d16f8dbc1bb author Arnd Bergmann Thu, 23 Jun 2005 09:43:54 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:54 +1000 [PATCH] ppc64: Add driver for BPA iommu Implementation of software load support for the BE iommu. This is very different from other iommu code on ppc64, since we only do a static mapping. The mapping is currently hardcoded but should really be read from the firmware, but they don't set up the device nodes yet. There is a single 512MB DMA window for PCI, USB and ethernet at 0x20000000 for our RAM. The Cell processor can put the I/O page table either in memory like the hashed page table (hardware load) or have the operating system write the entries into memory mapped CPU registers (software load). I use the software load mechanism because I know that all I/O page table entries for the amount of installed physical memory fit into the IO TLB cache. At the point when we get machines with more than 4GB of installed memory, we can either use hardware I/O page table access like the other platforms do or dynamically update the I/O TLB entries when a page fault occurs in the I/O subsystem. The software load can then use the macros that I have implemented for the static mapping in order to do the TLB cache updates. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit cebf589c822b5de87098b57644024d16f8dbc1bb tree 609da06acf750cf91007bb0e2640dd0c3fd35ff8 parent fef1c772fa154c16e0a54577e9ecb5480f7b937e author Arnd Bergmann Thu, 23 Jun 2005 09:43:43 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:43 +1000 [PATCH] ppc64: Add driver for BPA interrupt controllers Add support for the integrated interrupt controller on BPA CPUs. There is one of those for each SMT thread. The mapping of interrupt numbers to HW interrupt sources is described in arch/ppc64/kernel/bpa_iic.h. This version hardcodes the 'Spider' chip as the secondary interrupt controller. That is not really generic for the architecture, but at the moment it is the only secondary PIC that exists. A little more work will be needed on this as soon as we have boards with multiple external interrupt controllers. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit fef1c772fa154c16e0a54577e9ecb5480f7b937e tree 7c1483966f984c822b58f761b9be873dce94999c parent 031f7edecf46d731673a5dd19ecb0de38f1a2219 author Arnd Bergmann Thu, 23 Jun 2005 09:43:37 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:37 +1000 [PATCH] ppc64: add BPA platform type This adds the basic support for running on BPA machines. So far, this is only the IBM workstation, and it will not run on others without a little more generalization. It should be possible to configure a kernel for any combination of CONFIG_PPC_BPA with any of the other multiplatform targets. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 031f7edecf46d731673a5dd19ecb0de38f1a2219 tree bfb58498e6c6ea8c69c7ea0abb3713fb27f86afa parent 5f5b4e669a59be1cf8fc9d6d04ff1ccad8ab6de0 author Utz Bacher Thu, 23 Jun 2005 09:43:34 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:34 +1000 [PATCH] ppc64: add a watchdog driver for rtas Add a watchdog using the RTAS OS surveillance service. This is provided as a simpler alternative to rtasd. The added value is that it works with standard watchdog client programs and can therefore also do user space monitoring. On BPA, rtasd is not really useful because the hardware does not have much to report with event-scan. The driver should also work on other platforms that support the OS surveillance rtas calls. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5f5b4e669a59be1cf8fc9d6d04ff1ccad8ab6de0 tree a0737b3295891def01228d11fec8e9cbb7b765b9 parent 6566c6f1f18d42affe73ccdd403e290b64d10473 author Utz Bacher Thu, 23 Jun 2005 09:43:31 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:31 +1000 [PATCH] ppc64: add a minimal nvram driver The firmware provides the location and size of the nvram in the device tree, so it does not really contain any hardware specific bits and could be used on other machines as well. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 6566c6f1f18d42affe73ccdd403e290b64d10473 tree 9c9cdea21d05e52a60044abf339e9750c6760f0a parent c5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3 author Arnd Bergmann Thu, 23 Jun 2005 09:43:28 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:28 +1000 [PATCH] ppc64: pSeries_progress -> rtas_progress The pSeries_progress function is called from some places in the rtas code, which may also be used by non-pSeries platforms. Though pSeries is currently the only platform type that implements display-character, the code is actually generic enough to be part of the rtas subsystem. I hit a bug here because the generic rtas code tried calling ppc_md.progress, which points to an __init function on most platforms. We could also clear the ppc_md.progress pointer when freeing the init memory to make it more explicit that ppc_md.progress must not be called after bootup. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit c5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3 tree e9a646214342f6cd0f003a1677ae57f4dc9be012 parent 773bf9c469c01f01280c9bd45ec2462dd94d08a0 author Arnd Bergmann Thu, 23 Jun 2005 09:43:23 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:23 +1000 [PATCH] ppc64: Split out generic rtas code from pSeries_pci.c. BPA is using rtas for PCI but should not be confused by pSeries code. This also avoids some #ifdefs. Other platforms that want to use rtas_pci.c could create their own platform_pci.c with platform specific fixups. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 773bf9c469c01f01280c9bd45ec2462dd94d08a0 tree 3a7969b96d7fcbf11d3ebbb9ef10fb081a448979 parent 10f7e7c15e6ce41799c5dba6925ae4bf8048c870 author Arnd Bergmann Thu, 23 Jun 2005 09:43:18 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:18 +1000 [PATCH] ppc64: rename pSeries rtc functions into rtas_* The rtc rtas functions are not pSeries specific but can also be used by BPA and other SLOF based platforms Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 10f7e7c15e6ce41799c5dba6925ae4bf8048c870 tree 505c9834749cd59bd8a075db7577c3b26a002f92 parent a4936044001694f033fe4ea94d6034d51a6b465c author Arnd Bergmann Thu, 23 Jun 2005 09:43:07 +1000 committer Paul Mackerras Thu, 23 Jun 2005 09:43:07 +1000 [PATCH] ppc64: consolidate calibrate_decr implementations pSeries and maple have almost the same code for calibrate_decr, and BPA would need yet another copy. Instead, I'm moving the code to arch/ppc64/kernel/time.c. Some of the related declarations were missing from header files, so I'm moving those as well. It makes sense to merge this with the pmac function of the same name, so we end up having just one implemetation for iSeries and one for Open Firmware based machines. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit a4936044001694f033fe4ea94d6034d51a6b465c tree 4f1caf9899c1859277082422b1fc37901c6097ac parent 9092131f7ea2f9e92a510ae13ac4d20165aa921c parent 92a8cbed29eb9bf6e8eec16ca29d54015bc0e8a2 author Linus Torvalds Wed, 22 Jun 2005 14:51:06 -0700 committer Linus Torvalds Wed, 22 Jun 2005 14:51:06 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit f31f5f051269746179b01017fc5e3dcf6b37c67e tree 9153d74203a18cd7239340e8d4b97d31a98f2ae0 parent 6a17944ca12229036a6d8d48be1b5eb51204fcf8 author Eric Dumazet Wed, 22 Jun 2005 14:32:51 -0700 committer David S. Miller Wed, 22 Jun 2005 14:32:51 -0700 [NET]: dont use strlen() but the result from a prior sprintf() Small patch to save an unecessary call to strlen() : sprintf() gave us the length, just trust it. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 9092131f7ea2f9e92a510ae13ac4d20165aa921c tree 4bcac80a227d320b69454057cdcef41ef43c6c85 parent f1b04770b0d073a9d70e5b3b873d274c1c19e1f6 parent eadf4598e7ec37a234e70e965bd335860e58bda4 author Linus Torvalds Wed, 22 Jun 2005 14:32:15 -0700 committer Linus Torvalds Wed, 22 Jun 2005 14:32:15 -0700 Merge rsync://client.linux-nfs.org/pub/linux/nfs-2.6 commit 92a8cbed29eb9bf6e8eec16ca29d54015bc0e8a2 tree 142314e2863863a1cbe1ea950ac688fc1aaeef6c parent 3a66941106855215127f8bf1afd06099b72dc75b author Russell King Wed, 22 Jun 2005 21:47:25 +0100 committer Russell King Wed, 22 Jun 2005 21:47:25 +0100 [PATCH] ARM: Remove explicit page-alignments in memory init Since meminfo.bank[] array contains page-aligned start/size, we no longer need to explicitly round up/down the addresses when converting to PFNs. Signed-off-by: Russell King commit 3a66941106855215127f8bf1afd06099b72dc75b tree 69a0ebb1143bcd2732b4d6e013207e8613ebc5b7 parent b46a58fd4e3cdd107ffccedaa5e233deeb94c5c0 author Russell King Wed, 22 Jun 2005 21:43:10 +0100 committer Russell King Wed, 22 Jun 2005 21:43:10 +0100 [PATCH] ARM: Ensure memory information is page aligned Ensure that meminfo.bank[] array contains page-aligned start/size information. Signed-off-by: Russell King commit 6a17944ca12229036a6d8d48be1b5eb51204fcf8 tree f3728d31d288746b85cd50883648a078c42b1850 parent dce907c00ff246a1fbb2b619964753ebc046591d author Herbert Xu Wed, 22 Jun 2005 13:29:03 -0700 committer David S. Miller Wed, 22 Jun 2005 13:29:03 -0700 [CRYPTO]: Use CPU cycle counters in tcrypt After using this facility for a while to test my changes to the cipher crypt() layer, I realised that I should've listend to Dave and made this thing use CPU cycle counters :) As it is it's too jittery for me to feel safe about relying on the results. So here is a patch to make it use CPU cycles by default but fall back to jiffies if the user specifies a non-zero sec value. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit dce907c00ff246a1fbb2b619964753ebc046591d tree b7cc3b9f5d8ee3ec52abf6b8960755569b4a4b07 parent ebfd9bcf16e4aaddcfe2d1b76b50e3dd6d3242e2 author Herbert Xu Wed, 22 Jun 2005 13:27:51 -0700 committer David S. Miller Wed, 22 Jun 2005 13:27:51 -0700 [CRYPTO]: Use template keys for speed tests if possible The existing keys used in the speed tests do not pass the 3DES quality check. This patch makes it use the template keys instead. Other algorithms can supply template keys through the same interface if needed. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ebfd9bcf16e4aaddcfe2d1b76b50e3dd6d3242e2 tree a82a4d627d339197846031e16e2de622c766fe5e parent 3cc3816f93e3f94f88503da8e6090302fa986bd6 author Harald Welte Wed, 22 Jun 2005 13:27:23 -0700 committer David S. Miller Wed, 22 Jun 2005 13:27:23 -0700 [CRYPTO]: Add cipher speed tests From: Reyk Floeter I recently had the requirement to do some benchmarking on cryptoapi, and I found reyk's very useful performance test patch [1]. However, I could not find any discussion on why that extension (or something providing a similar feature but different implementation) was not merged into mainline. If there was such a discussion, can someone please point me to the archive[s]? I've now merged the old patch into 2.6.12-rc1, the result can be found attached to this email. [1] http://lists.logix.cz/pipermail/padlock/2004/000010.html Signed-off-by: Harald Welte Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 3cc3816f93e3f94f88503da8e6090302fa986bd6 tree 4ff87e252277260f589836af0602c8e1fa6a99c4 parent ef2736fc741316913a457abd3731053071c86241 author Herbert Xu Wed, 22 Jun 2005 13:26:36 -0700 committer David S. Miller Wed, 22 Jun 2005 13:26:36 -0700 [CRYPTO]: Kill unnecessary strncpy from tcrypt It seems that bad code tends to get copied (see test_cipher_speed). So let's kill this idiom before it spreads any further. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ef2736fc741316913a457abd3731053071c86241 tree 849fd884621934ffe56eed023f8cd11ceff85013 parent dd7f0b80926befc8c70a873b5b0c0c7b5fd1e7b9 author Herbert Xu Wed, 22 Jun 2005 13:26:03 -0700 committer David S. Miller Wed, 22 Jun 2005 13:26:03 -0700 [CRYPTO]: White space and coding style clean up in tcrypt Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit b46a58fd4e3cdd107ffccedaa5e233deeb94c5c0 tree 20bcd914f4eb8f7b8150cb7a9fdfb7f31828c4c9 parent bdf042486a01aefaf29d74be1b4526daa70a5f0f author Russell King Wed, 22 Jun 2005 21:25:58 +0100 committer Russell King Wed, 22 Jun 2005 21:25:58 +0100 [PATCH] ARM: Use list_for_each_entry() for dmabounce Convert dmabounce.c to use list_for_each_entry() instead of list_for_each() + list_entry(). Signed-off-by: Russell King commit f1b04770b0d073a9d70e5b3b873d274c1c19e1f6 tree fc975ccebd712d1898871cdbcde10b6faeba4603 parent fb7a0e36532bc231bea8adfb1dddc3961eb38940 author Kumar Gala Wed, 22 Jun 2005 15:10:02 -0500 committer Linus Torvalds Wed, 22 Jun 2005 13:23:38 -0700 [PATCH] ppc32: Fix building MPC8555 CDS Adding support for MPC8548 w/o PCI support, broke building MPC8555 CDS by trying to remove a loop variable that was used when PCI is enabled. Signed-off-by: Kumar Gala Signed-off-by: Linus Torvalds Wed, 22 Jun 2005 17:16:39 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:44 -0400 [PATCH] NFS: Add debugging code to NFSv4 readdir Signed-off-by: Trond Myklebust commit 6ebf3656fd18430d90fbb3199b31d08178c37134 tree 3eddf4d1b67ffece40531d929b143a4fb30baaa3 parent 97d312d037e63e7c8ac004ffe3072f82a6d45495 author Manoj Naik Wed, 22 Jun 2005 17:16:39 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:44 -0400 [PATCH] NFSv4: Map a couple of NFSv4 errors to EINVAL. This shows up on running tar over NFSv4. Signed-off-by: Manoj Naik Signed-off-by: Trond Myklebust commit 97d312d037e63e7c8ac004ffe3072f82a6d45495 tree c5fb167f0a523763113b778c45f3e56367456dbd parent 8d0a8a9d0ec790086c64d210af413ac351d89e35 author Manoj Naik Wed, 22 Jun 2005 17:16:39 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:43 -0400 [PATCH] NFSv4: add support for rdattr_error in NFSv4 readdir requests. Request RDATTR_ERROR as an attribute in readdir to distinguish between a directory being within an absent filesystem or one (or more) of its entries. Signed-off-by: Manoj Naik Signed-off-by: Trond Myklebust commit ecdbf769b2cb8903e07cd482334c714d89fd1146 tree 9d02ce4daee662c2711762564662cebc521e3da3 parent 4f15e2b1f4f3a56e46201714b39436c32218d547 author Trond Myklebust Wed, 22 Jun 2005 17:16:31 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:42 -0400 [PATCH] NLM: fix a client-side race on blocking locks. If the lock blocks, the server may send us a GRANTED message that races with the reply to our LOCK request. Make sure that we catch the GRANTED by queueing up our request on the nlm_blocked list before we send off the first LOCK rpc call. Signed-off-by: Trond Myklebust commit 8d0a8a9d0ec790086c64d210af413ac351d89e35 tree 003a1481e4a8d8487956a6bf04db80dd93264b8b parent ecdbf769b2cb8903e07cd482334c714d89fd1146 author Trond Myklebust Wed, 22 Jun 2005 17:16:32 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:42 -0400 [PATCH] NFSv4: Clean up nfs4 lock state accounting Ensure that lock owner structures are not released prematurely. Signed-off-by: Trond Myklebust commit 4f15e2b1f4f3a56e46201714b39436c32218d547 tree db694827826cc80b27958f8b6eda99be44953a2c parent 80fec4c62e2cf544ac26e53f3e0d2f73df6820b9 author Trond Myklebust Wed, 22 Jun 2005 17:16:31 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:41 -0400 [PATCH] NLM: cleanup for blocked locks. Signed-off-by: Trond Myklebust commit 80fec4c62e2cf544ac26e53f3e0d2f73df6820b9 tree 00baef91b0025dba29b26fc83aa243ed7c52ed1c parent 3da28eb1c6545fe73263a24eba0996217490e1eb author Trond Myklebust Wed, 22 Jun 2005 17:16:31 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:40 -0400 [PATCH] VFS: Ensure that all the on-stack struct file_lock call fl_release_private Signed-off-by: Trond Myklebust commit c6a556b88adfacd2af90be84357c8165d716c27d tree b63d477180052d3d1edabffb51f3fdfe4f699866 parent ab0a3dbedc51037f3d2e22ef67717a987b3d15e2 author Trond Myklebust Wed, 22 Jun 2005 17:16:30 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:39 -0400 [PATCH] NFS: Make searching and waiting on busy writeback requests more efficient. Basically copies the VFS's method for tracking writebacks and applies it to the struct nfs_page. Signed-off-by: Trond Myklebust commit 3da28eb1c6545fe73263a24eba0996217490e1eb tree 944ccf9418c75a5c0b121f2c554c92dc93de1efa parent c6a556b88adfacd2af90be84357c8165d716c27d author Trond Myklebust Wed, 22 Jun 2005 17:16:31 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:39 -0400 [PATCH] NFS: Replace nfs_page insertion sort with a radix sort Signed-off-by: Trond Myklebust commit ab0a3dbedc51037f3d2e22ef67717a987b3d15e2 tree bda40d85d59a729fb7a9c2573a43d1820df9de3c parent fe51beecc55d0b0dce289e4758e7c529a642f63e author Trond Myklebust Wed, 22 Jun 2005 17:16:30 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:38 -0400 [PATCH] NFS: Write optimization for short files and small O_SYNC writes. Use stable writes if we can see that we are only going to put a single write on the wire. Signed-off-by: Trond Myklebust commit fe51beecc55d0b0dce289e4758e7c529a642f63e tree 9790d77fafbb52b9237ecd65c57002e87f914e12 parent 7d52e86274e09fce8ac8f963e3605a84d0a305a7 author Trond Myklebust Wed, 22 Jun 2005 17:16:30 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:37 -0400 [PATCH] NFS: Ensure that fstat() always returns the correct mtime Even if the file is open for writes. Signed-off-by: Trond Myklebust commit 7d52e86274e09fce8ac8f963e3605a84d0a305a7 tree b9ecc05bbdff94aa344f39b53756bfddbd9db123 parent 951a143b3fcf15cfa9d38250b7462f821db241db author Trond Myklebust Wed, 22 Jun 2005 17:16:30 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:37 -0400 [PATCH] NFS: Cleanup of caching code, and slight optimization of writes. Unless we're doing O_APPEND writes, we really don't care about revalidating the file length. Just make sure that we catch any page cache invalidations. Signed-off-by: Trond Myklebust commit 951a143b3fcf15cfa9d38250b7462f821db241db tree 6e4ea13c5f48cc3e1ac1c8649dd0f9f20c502e20 parent 08e9eac42edab63bce14b5c8419771f3c92aa3f4 author Trond Myklebust Wed, 22 Jun 2005 17:16:30 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:36 -0400 [PATCH] NFS: Fix the file size revalidation Instead of looking at whether or not the file is open for writes before we accept to update the length using the server value, we should rather be looking at whether or not we are currently caching any writes. Failure to do so means in particular that we're not updating the file length correctly after obtaining a POSIX or BSD lock. Signed-off-by: Trond Myklebust commit 08e9eac42edab63bce14b5c8419771f3c92aa3f4 tree 5dd77a7fa392710dab47d30ae42bfb88b932b097 parent 202b50dc127cf4714ffdcc6a64f1648373f9414f author Trond Myklebust Wed, 22 Jun 2005 17:16:29 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:35 -0400 [PATCH] NFSv4: Fix up races in nfs4_proc_setattr() If we do not hold a valid stateid that is open for writes, there is little point in doing an extra open of the file, as the RFC does not appear to mandate this... Make setattr use the correct stateid if we're holding mandatory byte range locks. Signed-off-by: Trond Myklebust commit f0dd2136da6d2070e12bfa6d199b136318e666c7 tree a261d4b4d9e29dbce104cf9515a0a209cff387cf parent 00a926422765064cb28e218d4837411c88bf6a3e author Trond Myklebust Wed, 22 Jun 2005 17:16:29 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:34 -0400 [PATCH] NFS: Clean up readdir changes. Signed-off-by: Trond Myklebust commit 202b50dc127cf4714ffdcc6a64f1648373f9414f tree 672286049ecbf9af1b189c1ac12a5850fd3879e1 parent f0dd2136da6d2070e12bfa6d199b136318e666c7 author Trond Myklebust Wed, 22 Jun 2005 17:16:29 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:34 -0400 [PATCH] NFSv4: Ensure that propagate NFSv4 state errors to the reclaim code Signed-off-by: Trond Myklebust commit 00a926422765064cb28e218d4837411c88bf6a3e tree 1e9ad635821c7b037014307d1a2657dc56b17acf parent ae3884621bf5b4caff7785b9a417f262202965b2 author Olivier Galibert Wed, 22 Jun 2005 17:16:29 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:33 -0400 [PATCH] NFS: Hide NFS server-generated readdir cookies from userland NFSv3 currently returns the unsigned 64-bit cookie directly to userspace. The following patch causes the kernel to generate loff_t offsets for the benefit of userland. The current server-generated READDIR cookie is cached in the nfs_open_context instead of in filp->f_pos, so we still end up work correctly under directory insertions/deletion. Signed-off-by: Olivier Galibert Signed-off-by: Trond Myklebust commit ae3884621bf5b4caff7785b9a417f262202965b2 tree 47cc8b29485d45f1967521a26151957e09c9012c parent 20e5ac828dfd23b9080159c62a34f32d2dcd92fc author Chuck Lever Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:32 -0400 [PATCH] RPC: kick off socket connect operations faster Make the socket transport kick the event queue to start socket connects immediately. This should improve responsiveness of applications that are sensitive to slow mount operations (like automounters). We are now also careful to cancel the connect worker before destroying the xprt. This eliminates a race where xprt_destroy can finish before the connect worker is even allowed to run. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Hard-code impossibly small connect timeout. Version: Fri, 29 Apr 2005 15:32:01 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 20e5ac828dfd23b9080159c62a34f32d2dcd92fc tree 4edb9b0ae0e9b0a529f7f710f7a2276e44fa3425 parent 0f9dc2b16884bb5957d010ed8e9114e771a05916 author Chuck Lever Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:32 -0400 [PATCH] RPC: TCP reconnects are too slow When the network layer reports a connection close, the RPC task waiting to reconnect should be notified so it can retry immediately instead of waiting for the normal connection establishment timeout. This reverts a change made in 2.6.6 as part of adding client support for RPC over TCP socket idle timeouts. Test-plan: Destructive testing with NFS over TCP mounts. Version: Fri, 29 Apr 2005 15:31:46 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 0f9dc2b16884bb5957d010ed8e9114e771a05916 tree 538e71230ac6fb722eac40127326f56b87570bf7 parent 14b218a8e4f110206c46e586a3da372f665631e7 author Trond Myklebust Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:31 -0400 [PATCH] RPC: Clean up socket autodisconnect Cancel autodisconnect requests inside xprt_transmit() in order to avoid races. Use more efficient del_singleshot_timer_sync() Signed-off-by: Trond Myklebust commit 14b218a8e4f110206c46e586a3da372f665631e7 tree 4a021ff7df8e4e6e4abdb4961575226db7d5452f parent 455a396710b71a743b28da2ed2185e5a9b38e26f author Trond Myklebust Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:30 -0400 [PATCH] RPC: Ensure rpc calls respects the RPC_NOINTR flag For internal purposes, the rpc_clnt_sigmask() call is replaced by a call to rpc_task_sigmask(), which ensures that the current task sigmask respects both the client cl_intr flag and the per-task NOINTR flag. Problem noted by Jiaying Zhang. Signed-off-by: Trond Myklebust commit c56c2750229154f6a1cfee533e0a911da3923b5a tree de80a8591e8d158e039136cee2df59b126030553 parent 3e9d41543b16e6117267edc0ca058c40f888d81a author Reuben Farrelly Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:29 -0400 [PATCH] NFSv4: Fix build warning From: Reuben Farrelly With gcc-4.0: fs/nfs/nfs4proc.c:2976: error: static declaration of 'nfs4_file_inode_operations' follows non-static declaration fs/nfs/nfs4_fs.h:179: error: previous declaration of 'nfs4_file_inode_operations' was here Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 455a396710b71a743b28da2ed2185e5a9b38e26f tree f847a48772cac0af70bcf86e8abad8688bb03c03 parent c56c2750229154f6a1cfee533e0a911da3923b5a author Trond Myklebust Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:29 -0400 [PATCH] NFSv4: Fix an Oops in the callback code. The changeset "trond.myklebust@fys.uio.no|ChangeSet|20050322152404|16979" (RPC: Ensure XDR iovec length is initialized correctly in call_header) causes the NFSv4 callback code to BUG() due to an incorrectly initialized scratch buffer. Signed-off-by: Trond Myklebust commit 3e9d41543b16e6117267edc0ca058c40f888d81a tree 90b26a247de5776ad46a6e6a8861a449d7c6d840 parent b7ef19560f496fd3942e41e728950e5b5c9a461b author Andrew Morton Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:28 -0400 [PATCH] NFSv4: empty array fix Older gcc's don't like this. fs/nfs/nfs4proc.c:2194: field `data' has incomplete type Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit b7ef19560f496fd3942e41e728950e5b5c9a461b tree d644bb8aaff3e9611dd0fbad1db4315f78f36a71 parent 213484254c65e3c39c59df454132748b1367f816 author Adrian Bunk Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:27 -0400 [PATCH] NFSv4: fs/nfs/nfs4proc.c: small simplification The Coverity checker noticed that such a simplification was possible. Signed-off-by: Adrian Bunk Signed-off-by: Trond Myklebust commit 213484254c65e3c39c59df454132748b1367f816 tree bba8225be09a04f23a34ee0e93b9fa1090f3bf8f parent 458818ed76d3f495f9f32373c936456c9427f759 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:28 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:27 -0400 [PATCH] fix nfsacl pointer arithmetic and pg_class initialization bugs * Pointer arithmetic bug: p is in word units. This fixes a memory corruption with big acls. * Initialize pg_class to prevent a NULL pointer access. Signed-off-by: Andreas Gruenbacher Signed-off-by: Trond Myklebust commit 458818ed76d3f495f9f32373c936456c9427f759 tree cf280ec14954d61fea2f171eaa198196fe5a1e56 parent 5c6a9f7d92291c832d47e792ed1fafa44acb066e author Trond Myklebust Wed, 22 Jun 2005 17:16:27 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:26 -0400 [PATCH] NFS: Fix up v3 ACL caching code Initialize the inode cache values correctly. Clean up __nfs3_forget_cached_acls() Signed-off-by: Trond Myklebust commit 5c6a9f7d92291c832d47e792ed1fafa44acb066e tree c67e62e0b46c22b061d5eb2b28ef702bdf2afa0d parent 055ffbea0596942579b0dae71d5dab78de8135f6 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:27 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:25 -0400 [PATCH] NFS: Cache the NFSv3 acls. Attach acls to inodes in the icache to avoid unnecessary GETACL RPC round-trips. As long as the client doesn't retrieve any acls itself, only the default acls of exiting directories and the default and access acls of new directories will end up in the cache, which preserves some memory compared to always caching the access and default acl of all files. Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit b7fa0554cf1ba6d6895cd0a5b02989a26e0bc704 tree 83eb405f3ff78c17695999df38c99484e3aee01f parent a257cdd0e2179630d3201c32ba14d7fcb3c3a055 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:27 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:24 -0400 [PATCH] NFS: Add support for NFSv3 ACLs This adds acl support fo nfs clients via the NFSACL protocol extension, by implementing the getxattr, listxattr, setxattr, and removexattr iops for the system.posix_acl_access and system.posix_acl_default attributes. This patch implements a dumb version that uses no caching (and thus adds some overhead). (Another patch in this patchset adds caching as well.) Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 055ffbea0596942579b0dae71d5dab78de8135f6 tree 4799088989e9923c45089cab905f40247af52a45 parent b7fa0554cf1ba6d6895cd0a5b02989a26e0bc704 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:27 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:24 -0400 [PATCH] NFS: Fix handling of the umask when an NFSv3 default acl is present. NFSv3 has no concept of a umask on the server side: The client applies the umask locally, and sends the effective permissions to the server. This behavior is wrong when files are created in a directory that has a default ACL. In this case, the umask is supposed to be ignored, and only the default ACL determines the file's effective permissions. Usually its the server's task to conditionally apply the umask. But since the server knows nothing about the umask, we have to do it on the client side. This patch tries to fetch the parent directory's default ACL before creating a new file, computes the appropriate create mode to send to the server, and finally sets the new file's access and default acl appropriately. Many thanks to Buck Huppmann for sending the initial version of this patch, as well as for arguing why we need this change. Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit a257cdd0e2179630d3201c32ba14d7fcb3c3a055 tree accf4139050690a65f3f2600355cbcd1a602663b parent 9ba02638e4be28dd4ff724202a640264427c62d1 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:26 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:23 -0400 [PATCH] NFSD: Add server support for NFSv3 ACLs. This adds functions for encoding and decoding POSIX ACLs for the NFSACL protocol extension, and the GETACL and SETACL RPCs. The implementation is compatible with NFSACL in Solaris. Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 9ba02638e4be28dd4ff724202a640264427c62d1 tree f9353e37a0b5526f1cbf116c3ed62f26bdfe4cc0 parent a838cc49d9a7d5652262a6d1b628628cadffa877 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:24 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:22 -0400 [PATCH] RPC: Allow the sunrpc server to multiplex serveral programs on a single port The NFS and NFSACL programs run on the same RPC transport. This patch adds support for this by converting svc_program into a chained list of programs (server-side). Signed-off-by: Andreas Gruenbacher Signed-off-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit a838cc49d9a7d5652262a6d1b628628cadffa877 tree 7d5b6bee4c0fb1b722f02c27390b211042be2b83 parent bd8100e7eda87507649c6ba4cb32173b34e49986 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:24 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:21 -0400 [PATCH] NFSD: Add NFS3ERR_NOTSUPP to the nfsd error mapping table Add the missing NFS3ERR_NOTSUPP error code (defined in NFSv3) to the system-to-protocol-error table in nfsd. The nfsacl extension uses this error code. Signed-off-by: Andreas Gruenbacher Signed-off-by: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit bd8100e7eda87507649c6ba4cb32173b34e49986 tree 822d8f905bd5e3889ba17dc340dc35cba5fe07ac parent 7e06b53d796a3740307b54aa2799077f8a0c84e7 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:24 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:20 -0400 [PATCH] RPC: Encode and decode arbitrary XDR arrays Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Trond Myklebust commit e053d1ab62c8ef0eff3dd4c95448cad3c6d2fbf4 tree 70ca8b8721761fdd4c12c330f8389958ad160c61 parent 007e251f2b2760f738c92adc8c80cbae0bed3ce5 author Olaf Kirch Wed, 22 Jun 2005 17:16:24 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:19 -0400 [PATCH] RPC: Lazy RPC receive buffer allocation Signed-off-by: Olaf Kirch Signed-off-by: Andreas Gruenbacher Signed-off-by: Trond Myklebust commit 7e06b53d796a3740307b54aa2799077f8a0c84e7 tree 95c00126400914bfd68f84ed7669272e581e9386 parent e053d1ab62c8ef0eff3dd4c95448cad3c6d2fbf4 author Trond Myklebust Wed, 22 Jun 2005 17:16:24 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:19 -0400 [PATCH] RPC: fix accounting bug in the case of a truncated RPC message Signed-off-by: Trond Myklebust commit 007e251f2b2760f738c92adc8c80cbae0bed3ce5 tree 364d9d186bb0c68df4af24f1ac4af8e7ff8f118e parent cdf477068e6db0c3e19df96f46abb85202de138c author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:18 -0400 [PATCH] RPC: Allow multiple RPC client programs to share the same transport Signed-off-by: Andreas Gruenbacher Acked-by: Olaf Kirch Signed-off-by: Trond Myklebust commit cdf477068e6db0c3e19df96f46abb85202de138c tree 12381ecf664f91c62e2dedc72f57827347c5f5dd parent 6a19275ada9137435da58990c8f8d3f58e170bf1 author Andreas Gruenbacher Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:17 -0400 [PATCH] RPC: Return -EPFNOSUPPORT for RPC programs that are unavailable Signed-off-by: Andreas Gruenbacher Signed-off-by: Olaf Kirch Signed-off-by: Trond Myklebust commit 6a19275ada9137435da58990c8f8d3f58e170bf1 tree 927f8aa96c9b558a0bed5355dde66df9c0ec8554 parent 438b6fdebf2a2e8573e7290bc176feb4d4475f43 author J. Bruce Fields Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:16 -0400 [PATCH] RPC: [PATCH] improve rpcauthauth_create error returns Currently we return -ENOMEM for every single failure to create a new auth. This is actually accurate for auth_null and auth_unix, but for auth_gss it's a bit confusing. Allow rpcauth_create (and the ->create methods) to return errors. With this patch, the user may sometimes see an EINVAL instead. Whee. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 438b6fdebf2a2e8573e7290bc176feb4d4475f43 tree 189a43902940dcb7a2e446ff5a74fbf0c2d22901 parent e50a1c2e1f816c81eed6a589019052cb44189267 author J. Bruce Fields Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:16 -0400 [PATCH] RPC: Don't fall back from krb5p to krb5i We shouldn't be silently falling back from krb5p to krb5i. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit e50a1c2e1f816c81eed6a589019052cb44189267 tree e59dd290e136bd0eb5fc56d325bf34f5ca1efdfb parent 4b580ee3dc00f9828a9a7aad2724f448fdc94075 author J. Bruce Fields Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:15 -0400 [PATCH] NFSv4: client-side caching NFSv4 ACLs Add nfs4_acl field to the nfs_inode, and use it to cache acls. Only cache acls of size up to a page. Also prepare for up to a page of acl data even when the user doesn't pass in a buffer, as when they want to get the acl length to decide what size buffer to allocate. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 4b580ee3dc00f9828a9a7aad2724f448fdc94075 tree a39ca6a5be4766420c6cc6ea8141fb421280bcb3 parent 23ec6965c20db96bc8ea7af0ec178f074dd31c40 author J. Bruce Fields Wed, 22 Jun 2005 17:16:23 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:14 -0400 [PATCH] NFSv4: ACL support for the NFSv4 client: write Client-side write support for NFSv4 ACLs. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit aa1870af92d8f6d6db0883696516a83ff2b695a6 tree 2c50546e11c898fe1f1ec736a0764d540558cb5f parent 029d105e66e5a90850d5a09dad76815d0bcfcaa3 author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:13 -0400 [PATCH] NFSv4: ACL support for the NFSv4 client: read Client-side support for NFSv4 ACLs. Exports the raw xdr code via the system.nfs4_acl extended attribute. It is up to userspace to decode the acl (and to provide correctly xdr'd acls on setxattr), and to convert to/from POSIX ACLs if desired. This patch provides only the read support. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 23ec6965c20db96bc8ea7af0ec178f074dd31c40 tree 0d94c6a7662afe088252050a0778cd52e096ba95 parent aa1870af92d8f6d6db0883696516a83ff2b695a6 author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:13 -0400 [PATCH] NFSv4: Client-side xdr for writing NFSv4 acls Client-side support for NFSv4 acls: xdr encoding and decoding routines for writing acls Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 029d105e66e5a90850d5a09dad76815d0bcfcaa3 tree 936855da358d98a645e7984b7c957b8f73d4bd4f parent 96928206961be05f22c3839f0097b610cc485b5d author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:12 -0400 [PATCH] NFSv4: Client-side xdr for reading NFSv4 acls Client-side support for NFSv4 acls: xdr encoding and decoding routines for reading acls Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 96928206961be05f22c3839f0097b610cc485b5d tree 08140ef501c7b675833ed7445c909cb60df59ecf parent 6b3b5496d7b261d6c9202008dc528e52dbd11e57 author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:11 -0400 [PATCH] NFSv4: fix fattr size calculations Make nfs4 fattr size calculations more explicit, revising them downward a bit in the process. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 6b3b5496d7b261d6c9202008dc528e52dbd11e57 tree bcd625880fc7799ddd85b132e3cdfd501f5a82b9 parent ada70d9425bcc5e376fef8591e4e76e204c0834c author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:10 -0400 [PATCH] NFSv4: Add {get,set,list}xattr methods for nfs4 Add {get,set,list}xattr methods for nfs4. The new methods are no-ops, to be used by subsequent ACL patch. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit ada70d9425bcc5e376fef8591e4e76e204c0834c tree 0bf6c369540c467e96555118155cae191fbf71e6 parent 92cfc62cb8412c9563860b1bf70cd4701f03092e author Trond Myklebust Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:09 -0400 [PATCH] NFS: Add hooks to allow common NFS attribute code to clear cached acls Signed-off-by: Trond Myklebust commit 92cfc62cb8412c9563860b1bf70cd4701f03092e tree 13b75734522c0cbf6d1ba0663d07ecc13a4f464c parent 464a98bd70bae8c559cfc82af799faf44824ce64 author J. Bruce Fields Wed, 22 Jun 2005 17:16:22 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:09 -0400 [PATCH] NFS: Allow NFS versions to support different sets of inode operations. ACL support will require supporting additional inode operations in v4 (getxattr, setxattr, listxattr). This patch allows different protocol versions to support different inode operations by adding a file_inode_ops to the nfs_rpc_ops (to match the existing dir_inode_ops). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 464a98bd70bae8c559cfc82af799faf44824ce64 tree 06013db965c1450bfa800bd9c7e8eca35d320f77 parent 96651ab341cde0fee940ec837f323d711cbfa7d5 author Trond Myklebust Wed, 22 Jun 2005 17:16:21 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:08 -0400 [PATCH] NFS: cleanup: shrink struct nfs_open_context Remove the wait queue, and replace the functions that depended on it with wait_on_bit(). Signed-off-by: Trond Myklebust commit a656db998785324a818005bcf71bae6dcbbb3cf5 tree b60f60bda06fed346c9f839ca2bd976db4e819c5 parent 4ce79717ce32a9f88c1ddce4b9658556cb59d37a author Trond Myklebust Wed, 22 Jun 2005 17:16:21 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:07 -0400 [PATCH] NFS: Remove unused NFS inode field readdir_timestamp. Signed-off-by: Trond Myklebust commit 96651ab341cde0fee940ec837f323d711cbfa7d5 tree 83882bc6a68bb9862ec0fddc33a8309512ccc010 parent a656db998785324a818005bcf71bae6dcbbb3cf5 author Trond Myklebust Wed, 22 Jun 2005 17:16:21 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:07 -0400 [PATCH] RPC: Shrink struct rpc_task by switching to wait_on_bit() Signed-off-by: Trond Myklebust commit 4ce79717ce32a9f88c1ddce4b9658556cb59d37a tree 7f0c5e4bdbc2ee15b8e902b951d1be200b35411f parent 9085bbcb76421a90bea28f4d3d03fa9977319c49 author Trond Myklebust Wed, 22 Jun 2005 17:16:21 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:06 -0400 [PATCH] NFS: Header file cleanup... - Move NFSv4 state definitions into a private header file. - Clean up gunk in nfs_fs.h Signed-off-by: Trond Myklebust commit 9085bbcb76421a90bea28f4d3d03fa9977319c49 tree d0f6fc7f9d2524dbad8ca58b2ce7c47fc00afe51 parent 5ee0ed7d3ab620a764740fb018f469d45f561931 author Trond Myklebust Wed, 22 Jun 2005 17:16:20 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:04 -0400 [PATCH] NFS: Kill annoying mount version mismatch printks Ensure that we fix up the missing fields in the nfs_mount_data with sane defaults for older versions of mount, and return errors in the cases where we cannot. Convert a bunch of annoying warnings into dprintks() Return -EPROTONOSUPPORT rather than EIO if mount() tries to set NFSv3 without it actually being compiled in. Signed-off-by: Trond Myklebust commit 5ee0ed7d3ab620a764740fb018f469d45f561931 tree 9b6a938fe521815afd3cfb42e2023b443bb05d28 parent 5b616f5d596c0b056129f8aeafbc08409b3cd050 author Trond Myklebust Wed, 22 Jun 2005 17:16:20 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:04 -0400 [PATCH] RPC: Make rpc_create_client() probe server for RPC program+version support Ensure that we don't create an RPC client without checking that the server does indeed support the RPC program + version that we are trying to set up. This enables us to immediately return an error to "mount" if it turns out that the server is only supporting NFSv2, when we requested NFSv3 or NFSv4. Signed-off-by: Trond Myklebust commit 5b616f5d596c0b056129f8aeafbc08409b3cd050 tree bdbd2eb5bd1f8a26c7287e21be25ec50db075459 parent 334ccfd545bba9690515f2c5c167d5adb161989b author Trond Myklebust Wed, 22 Jun 2005 17:16:20 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:03 -0400 [PATCH] RPC: Make rpc_create_client() destroy the transport on failure. This saves us a couple of lines of cleanup code for each call. Signed-off-by: Trond Myklebust commit 334ccfd545bba9690515f2c5c167d5adb161989b tree 8a06af4d40c711c578adc36d9afd3200a88a2689 parent d05fdb0cec75415b2d9eb95748386e67414e49c3 author Trond Myklebust Wed, 22 Jun 2005 17:16:19 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:02 -0400 [PATCH] RPC: Ensure XDR iovec length is initialized correctly in call_header Fix up call_header() so that it calls xdr_adjust_iovec(). Fix calculation of the scratch buffer length in xdr_init_encode(). Signed-off-by: Trond Myklebust commit d05fdb0cec75415b2d9eb95748386e67414e49c3 tree 2d324e17a705547c7dbc0c20f8b20293d85abd2e parent 4e93d3e8859c834ee18dfd33051d24df8669d0c0 author Trond Myklebust Wed, 22 Jun 2005 17:16:19 +0000 committer Trond Myklebust Wed, 22 Jun 2005 16:07:01 -0400 [PATCH] RPC: Fix a race with rpc_restart_call() If the task->tk_exit() wants to restart the RPC call after delaying then the current RPC code will clobber the timer by calling rpc_delete_timer() immediately after re-entering the loop in __rpc_execute(). Problem noticed by Oleg Nesterov Signed-off-by: Trond Myklebust commit bdf042486a01aefaf29d74be1b4526daa70a5f0f tree dd6af0dacd88d98eda7cd9ed80b89deec7157d7f parent e00d349e7781a92cf35b242259c9e5341a9661bb author Russell King Wed, 22 Jun 2005 20:58:29 +0100 committer Russell King Wed, 22 Jun 2005 20:58:29 +0100 [PATCH] ARM: Factor out common pmd_populate functionality Both pmd_populate variants set two pmd entries before ensuring that they are flushed from the cache. Separate this functionality into __pmd_populate(). Signed-off-by: Russell King commit dd7f0b80926befc8c70a873b5b0c0c7b5fd1e7b9 tree db6acc37b5803014e8fa18c34177567550b8d4c8 parent 5d927eb0101eb791fb2d4f72b49a2da5faf01941 author Harald Welte Wed, 22 Jun 2005 12:38:33 -0700 committer David S. Miller Wed, 22 Jun 2005 12:38:33 -0700 [NETFILTER]: Fix "iptables -D" rule deletion with ipt_CLUSTERIP target. The patch just changes the order of structure members. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5d927eb0101eb791fb2d4f72b49a2da5faf01941 tree 0be1480a7383a00cc92171401281bc6476fcac17 parent 4e93d3e8859c834ee18dfd33051d24df8669d0c0 author Harald Welte Wed, 22 Jun 2005 12:37:50 -0700 committer David S. Miller Wed, 22 Jun 2005 12:37:50 -0700 [NETFILTER]: Fix handling of ICMP packets (RELATED) in ipt_CLUSTERIP target. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit e00d349e7781a92cf35b242259c9e5341a9661bb tree cd7e9d10adb8bc3b18c20c3d925c64b4c6f3f3b0 parent 052162198b89e64d37c20238412674152d614997 author Russell King Wed, 22 Jun 2005 20:26:05 +0100 committer Russell King Wed, 22 Jun 2005 20:26:05 +0100 [PATCH] ARM: Move signal return code into vector page Move the signal return code into the vector page instead of placing it on the user mode stack, which will allow us to avoid flushing the instruction cache on signals, as well as eventually allowing non-exec stack. Signed-off-by: Russell King commit fb7a0e36532bc231bea8adfb1dddc3961eb38940 tree 82cb74383809668d6d92a5124fc60d11b35c8d6e parent 4e93d3e8859c834ee18dfd33051d24df8669d0c0 parent 29516d75a0b09e0a0328dd55c98a342515c9615a author Linus Torvalds Wed, 22 Jun 2005 12:22:12 -0700 committer Linus Torvalds Wed, 22 Jun 2005 12:22:12 -0700 Merge kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git Do arch/ia64/defconfig by hand. commit 4e93d3e8859c834ee18dfd33051d24df8669d0c0 tree 13f5b39730857257b5040471618e9bcce30ed9cc parent a0cd30fd26a398c0c6e50c6760610d4529f17a84 parent 0087e5ef577d0d6e664be7ab4be513b6a482e7ec author Linus Torvalds Wed, 22 Jun 2005 10:42:54 -0700 committer Linus Torvalds Wed, 22 Jun 2005 10:42:54 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit a0cd30fd26a398c0c6e50c6760610d4529f17a84 tree 00c02a25966468706adf9a1d035c08f71baa6078 parent 94eb7f4cefaf3ed8e97504ce4f3946bdb908e501 parent e5c515b4532f4aac2b1136612d8c3ecd1891f431 author Linus Torvalds Wed, 22 Jun 2005 10:41:59 -0700 committer Linus Torvalds Wed, 22 Jun 2005 10:41:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/w1-2.6 commit b53542073927878b18d642f6bf794adef6d45a18 tree 3d57cf1dcf3dac69697322a9c9f9b8bc79519efa parent 2b6b22f3815b2937f272d3666bd18665d3f7f5a8 author Kumar Gala Wed, 22 Jun 2005 09:58:03 -0500 committer Linus Torvalds Wed, 22 Jun 2005 10:40:39 -0700 [PATCH] Fix extra double quote in IPV4 Kconfig Kconfig option had an extra double quote at the end of the line which was causing in warning when building. Signed-off-by: Kumar Gala Signed-off-by: Linus Torvalds commit 94eb7f4cefaf3ed8e97504ce4f3946bdb908e501 tree 7d8e43d7170669de1dc1b0dffdd8e45ad1809b8f parent b53542073927878b18d642f6bf794adef6d45a18 author James Morris Wed, 22 Jun 2005 12:55:42 -0400 committer Linus Torvalds Wed, 22 Jun 2005 10:40:39 -0700 [PATCH] Update my credits entry commit 2b6b22f3815b2937f272d3666bd18665d3f7f5a8 tree c580369055910acc2bca4a04158c161cd08db5da parent b3e28ce98a22a4ecc8101128fe18665ab29d3236 author James Courtier-Dutton Sat, 18 Jun 2005 13:50:22 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:29:11 +0200 [ALSA] emu10k1: Add more card identification entries. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit b3e28ce98a22a4ecc8101128fe18665ab29d3236 tree 0c5b9938344a827812290ee22a0b9a4d84a54e40 parent dabbed6f729d806092851150ca3dd9efe2b64b58 author Takashi Iwai Fri, 17 Jun 2005 11:54:50 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:29:08 +0200 [ALSA] Add dxs_support for Soltek SL-K8Tpro-939 VIA82xx driver Added dxs_support entry for Soltek SL-K8Tpro-939. Signed-off-by: Takashi Iwai commit dabbed6f729d806092851150ca3dd9efe2b64b58 tree c6b6acdacb9f4cf67b3eeadf55225226a9171098 parent ee3b4c60f452f8e24fe30ae73cb97da1beda0ca2 author Matt Tue, 14 Jun 2005 10:19:34 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:29:05 +0200 [ALSA] SigmaTel HDA SPDIF and input mux updates HDA Codec driver Adds SPDIF in/out support to the SigmaTel HDA codecs. Now builds the input mux control element names from the defcfg regs. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit ee3b4c60f452f8e24fe30ae73cb97da1beda0ca2 tree 78fd14246c0b077ba68c8b541c6c49dc525d0598 parent e9edcee061a80181f0d6e7cada07e1898c14718e author Takashi Iwai Tue, 14 Jun 2005 10:18:20 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:29:03 +0200 [ALSA] via82xx - Fix info text about dxs_support option VIA82xx driver Fixed the info text about dxs_support option (suggest dxs_support=5). Signed-off-by: Takashi Iwai commit e9edcee061a80181f0d6e7cada07e1898c14718e tree b8ce3f0430ef436cbfbe98736f1ef6bc86fd8c94 parent b636a71d9b9525ee51ca872d461817a5bd5c39fd author Takashi Iwai Mon, 13 Jun 2005 14:16:38 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:59 +0200 [ALSA] hda-codec - More fix of ALC880 codec support Documentation,HDA Codec driver,HDA generic driver,HDA Intel driver - Fix some invalid configurations, typos in the last patch - Make init_verbs chainable, so that different configs can share the same init_verbs - Reorder and clean up the source codes in patch_realtek.c - Add the pin default configuration parser, used commonly in cmedia and realtek patch codes. - Add 'auto' model to ALC880 for auto-configuration from BIOS Use this model as default, and 3-stack as fallback Signed-off-by: Takashi Iwai commit b636a71d9b9525ee51ca872d461817a5bd5c39fd tree 50d7aac0bbd2f8dccd6ca0a007fd22ef874d16a9 parent 16ded525389c31256bcc9fd44352ab799b60b7fc author Takashi Iwai Mon, 13 Jun 2005 14:13:09 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:54 +0200 [ALSA] Add const prefix Control Midlevel Add const prefix to snd_kcontrol_new_t pointer for better protection. Signed-off-by: Takashi Iwai commit 16ded525389c31256bcc9fd44352ab799b60b7fc tree 481fc40097ccef94f0ec595a25891e91bee9e4fb parent 5ecd7022f52872db32eddf85a527064ed7b522a3 author Takashi Iwai Fri, 10 Jun 2005 19:58:24 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:51 +0200 [ALSA] hda-codec - Add support of more models with ALC codecs HDA Codec driver,HDA Intel driver Merged the work of pshou for the support of more models with ALC codecs: ALC880 ASUS, Uniwill, FSC1734, generic 6-stack, and ALC260 HP. Tests with the real hardwares are appreciated. The codec patch is cleaned up: The preset configuration of codecs are stored in the table and copied to the spec instance. Added/fixed comments. Signed-off-by: Takashi Iwai commit 5ecd7022f52872db32eddf85a527064ed7b522a3 tree 676272c03d675c201c0787390ec66790f09625a3 parent 05acb863a27e7f82d81c422b977415fa80b99f96 author Takashi Iwai Fri, 10 Jun 2005 19:54:23 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:47 +0200 [ALSA] hda-codec - Allow sub_device=0 in board config check HDA Codec driver Allow sub_device=0 in board config check. This means that every device with the given sub vendor ID will match. Signed-off-by: Takashi Iwai commit 05acb863a27e7f82d81c422b977415fa80b99f96 tree 6ede0f67b2597038219466d2a2dc7d9729202c1c parent 4b3acaf5b56f53ef259a6ddf8e17dcb529631d9b author Takashi Iwai Fri, 10 Jun 2005 19:50:25 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:44 +0200 [ALSA] hda-codec - Clean up and fix ALC-codec support code HDA Codec driver Clean up and fix ALC-codec support code. The last addition of bound volume is fixed now to handle correctly the bound 'mute switches'. The analog loopback should work better. The init verbs are fixed together with this change. The numbers are replaced with macros for better readability. Signed-off-by: Takashi Iwai commit 4b3acaf5b56f53ef259a6ddf8e17dcb529631d9b tree 158c8be4beaea35e9e9f855205d10c5375da6cf9 parent 3e289f16ec2e08bbb37ce57a31386ed135887da4 author Takashi Iwai Fri, 10 Jun 2005 19:48:10 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:40 +0200 [ALSA] hda-codec - Feed front signals to all surrounds HDA Codec driver Feed front signals to all surround channels if no data is given for surround channels. It seems that CLFE works as expected (only center outputs) even if connected from the front line - at least on my test system. If this change causes problems on other system (e.g. only the left channel is transferred to the center channel), please let me know... Signed-off-by: Takashi Iwai commit 3e289f16ec2e08bbb37ce57a31386ed135887da4 tree 037fd85697a028057d13cedc70aaece0e6ca1a2c parent 1ccc67d692c52dcc02e70206338ff36ac145a939 author Takashi Iwai Fri, 10 Jun 2005 19:45:09 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:36 +0200 [ALSA] hda-codec - Print all AMP IN values HDA generic driver Print all AMP IN values when multiple nodes are connected. Signed-off-by: Takashi Iwai commit 1ccc67d692c52dcc02e70206338ff36ac145a939 tree e044d93d29569141c1ac5f2d1da9b117158d4f22 parent 41e41f1f3495c6a7443977d2842d6911e3dcf31c author Takashi Iwai Wed, 08 Jun 2005 14:49:31 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:33 +0200 [ALSA] Disable MPU401 on SIS7018 Trident driver Disable MPU401 support on SIS7018 since it results in kernel freeze. Signed-off-by: Takashi Iwai commit 41e41f1f3495c6a7443977d2842d6911e3dcf31c tree c5a85192c5381f45a76abb7f3700c120fccb5974 parent ead9b7c39984f509dc42d81200109c01a0b689c2 author Takashi Iwai Wed, 08 Jun 2005 14:48:49 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:30 +0200 [ALSA] Fix the analog loopback volumes of ALC codecs HDA Codec driver Fix the analog loopback volumes of ALC codecs. Signed-off-by: Takashi Iwai commit ead9b7c39984f509dc42d81200109c01a0b689c2 tree 25af5868623f02a90db0a6ccc032eca7a034195a parent 4a19faee6332fad8f81eaa98cf0e3be15a2366c4 author Takashi Iwai Wed, 08 Jun 2005 14:48:19 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:27 +0200 [ALSA] Fix the PCM mixer switch for AD1986A HDA Codec driver Fix the PCM mixer switch for AD1986a (it was a typo). Signed-off-by: Takashi Iwai commit 4a19faee6332fad8f81eaa98cf0e3be15a2366c4 tree ae18f6e272b91dafbce75e7d2b02c058c3f60be1 parent 96d078154bca743512102e370a03fb71d56478f5 author Takashi Iwai Wed, 08 Jun 2005 14:43:58 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:24 +0200 [ALSA] Fix the handling of amp cache in hda-codec HDA Codec driver Fixed the handling of amp cache in hda-codec driver. The confliction of cache values with different indices should be fixed now. Signed-off-by: Takashi Iwai commit 96d078154bca743512102e370a03fb71d56478f5 tree 4219d139b4149df81c3b23138e32cd1967911341 parent c82bf829c01079e77286481884eacb229310b4f0 author Jaroslav Kysela Tue, 07 Jun 2005 08:56:24 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:21 +0200 [ALSA] via82xx - fixed entry for Umax AB 595T (VIA K8N800A - VT8237) VIA82xx driver As the original reporter noted, the NO_VRA must be used for loud volumes. Signed-off-by: Jaroslav Kysela commit c82bf829c01079e77286481884eacb229310b4f0 tree ccee10cd2d3122fdbccca7ba0da4c4997ab4e9e9 parent 5470440a2a1f5e8afe7df306fdbf26e6b1143975 author James Courtier-Dutton Sat, 04 Jun 2005 15:03:06 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:18 +0200 [ALSA] ca0106: Fix 96000 Hz audio playback. CA0106 driver Signed-off-by: James Courtier-Dutton commit 5470440a2a1f5e8afe7df306fdbf26e6b1143975 tree 28549bcd432ca25ed0297d002c9e3abb3854f024 parent 763f356cd8de9e158836d236b3fd9dd149d696f9 author Takashi Iwai Fri, 03 Jun 2005 11:27:00 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:15 +0200 [ALSA] Add documentation for HDSP MADI Documentation Added documentation for HDSP MADI driver by Winfried Ritsch. Signed-off-by: Takashi Iwai commit 763f356cd8de9e158836d236b3fd9dd149d696f9 tree 530fdcc8603ed001d12b157e9972b5c089237c0c parent 375389288ae55754bd7d009a30f2bb0453a5b369 author Takashi Iwai Fri, 03 Jun 2005 11:25:34 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:11 +0200 [ALSA] Add HDSP MADI driver HDSPM driver,PCI drivers,RME9652 driver Added RME Hammerfall DSP MADI driver by Winfried Ritsch. (Moved from alsa-driver tree to mainline.) Signed-off-by: Takashi Iwai commit 375389288ae55754bd7d009a30f2bb0453a5b369 tree 198c9b17940512130428d0be56d4e836865cff43 parent 5ac0fab95c09497bed24640eb3f09893127d6d65 author Christoph Schulz Fri, 03 Jun 2005 08:28:31 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:06 +0200 [ALSA] cs4236-irq-handling-fix.patch CS4236+ driver Background: The card/chipset supports an external MIDI interrupt. By default, this interrupt isn't used (because the isapnp mechanism chooses a configuration without an assigned interrupt). If the user wishes to explicitly select an interrupt via the mpu_irq parameter for such a configured device, it doesn't work: The driver always shows: isapnp MPU: port=0x330, irq=-1 (note the 'irq=-1') Problem: The driver only allows to set the irq if pnp_irq_valid returns true for this particular pnp device. This, however, is only true if an interrupt has already been assigned (pnp_valid_irq returns true if the flag IORESOURCE_IRQ is set and IORESOURCE_UNSET is not set). If no interrupt has been assigned so far, IORESOURCE_UNSET is set and pnp_irq_valid returns false, thereby inhibiting the selection of a valid irq. Solution: Don't check for a valid (= already assigned) irq at the point of calling pnp_resource_change. Tested successfully on Linux 2.6.11. Signed-off-by: Andrew Morton Signed-off-by: Jaroslav Kysela commit 5ac0fab95c09497bed24640eb3f09893127d6d65 tree e7b83b9701d9fd3812404356968697ab40c466b6 parent 98c7f2121d4263867710df3b5124980e25261188 author Jaroslav Kysela Tue, 31 May 2005 16:59:39 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:28:03 +0200 [ALSA] OSS PCM emulation - The 2nd final fix for SNDCTL_DSP_GETOPTR problem ALSA<-OSS emulation The problem was negative/wrong result (info.bytes) in a specific condition at playback startup. Signed-off-by: Jaroslav Kysela commit 98c7f2121d4263867710df3b5124980e25261188 tree 3686da374deb66755c2c65d358812f827d140c3b parent fb4bd0adc4b5b6538933b098a67851d8f99b5ca3 author Takashi Iwai Tue, 31 May 2005 16:52:58 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:59 +0200 [ALSA] Add FSC T3010 quirk Intel8x0 driver Added ac97_quirk for FSC T3010. Signed-off-by: Takashi Iwai commit fb4bd0adc4b5b6538933b098a67851d8f99b5ca3 tree 037e3550d67896813e8ff1b6e07b349adc6afd61 parent 21cb2a2ec5818cbba01bcb7f24388670322c77f9 author Jaroslav Kysela Tue, 31 May 2005 15:44:23 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:57 +0200 [ALSA] OSS PCM emulation - The final fix for SNDCTL_DSP_GETOPTR problem ALSA<-OSS emulation The problem was negative result (info.bytes) in a specific condition at playback startup. Signed-off-by: Jaroslav Kysela commit 21cb2a2ec5818cbba01bcb7f24388670322c77f9 tree abd491e1b613f200970359546185619228d3ec02 parent ce43fbaececc82196d321671159483b3287de128 author Takashi Iwai Tue, 31 May 2005 14:35:31 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:53 +0200 [ALSA] Fix races between PCM drain and other ops PCM Midlevel Fix semaphore races between PCM drain and other ops. Signed-off-by: Takashi Iwai commit ce43fbaececc82196d321671159483b3287de128 tree f3f0895f33d80d59a4e630d266dc2c8695dcf924 parent b6a969155b04416185f368bd4e2f1d49b17c1ee1 author Takashi Iwai Mon, 30 May 2005 20:33:44 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:50 +0200 [ALSA] hda-intel - Fix Oops in the error path HDA Intel driver Fixed Oops in the error path from probe function of snd-hda-intel driver. Signed-off-by: Takashi Iwai commit b6a969155b04416185f368bd4e2f1d49b17c1ee1 tree c6db67bdc4b4d107902cf6ced9d66fb0ab15600c parent 4d572776d4dfa2d5385a2ec3acec3cc059149e13 author Takashi Iwai Mon, 30 May 2005 18:27:03 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:47 +0200 [ALSA] Add write support to snd-page-alloc proc file Documentation,Memalloc module,RME HDSP driver,RME9652 driver Add the write support to snd-page-alloc proc file for buffer pre-allocation. Removed the pre-allocation codes via module options. Signed-off-by: Takashi Iwai commit 4d572776d4dfa2d5385a2ec3acec3cc059149e13 tree b25ff1baa8d106561d9f07045bbfea6ac330c714 parent 6fd8b87f0e1e5de436ba020bd5806fe9ad738269 author Jesper Juhl Mon, 30 May 2005 17:30:32 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:43 +0200 [ALSA] Remove redundant NULL checks before kfree Timer Midlevel,ALSA sequencer,ALSA<-OSS sequencer,Digigram VX core I2C tea6330t,GUS Library,VIA82xx driver,VIA82xx-modem driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,YMFPCI driver Digigram VX Pocket driver,Common EMU synth,USB generic driver,USB USX2Y Checking a pointer for NULL before calling kfree() on it is redundant, kfree() deals with NULL pointers just fine. This patch removes such checks from sound/ This patch also makes another, but closely related, change. It avoids casting pointers about to be kfree()'ed. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit 6fd8b87f0e1e5de436ba020bd5806fe9ad738269 tree 1f8aa64e4d86298f50365f062855151b81ab3bba parent 69ad07cf98d0ef65cac67bac2ea4381bb499bea8 author James Courtier-Dutton Mon, 30 May 2005 17:20:19 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:37 +0200 [ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriate Intel8x0 driver To avoid confusion, the structure members vendor/device were renamed to subvendor/subdevice, because we compare them with PCI subsystem vendor and subsystem device. Signed-off-by: James Courtier-Dutton commit 69ad07cf98d0ef65cac67bac2ea4381bb499bea8 tree 692fc1d61dd23ef6a7dcf3cb1d28d57c7b336d2d parent 745cac56ba6b0222d97a4bf0e347149f20518bf1 author Jaroslav Kysela Mon, 30 May 2005 14:48:16 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:34 +0200 [ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriate AC97 Codec,ATIIXP driver,VIA82xx driver To avoid confusion, the structure members vendor/device were renamed to subvendor/subdevice, because we compare them with PCI subsystem vendor and subsystem device. Signed-off-by: Jaroslav Kysela commit 745cac56ba6b0222d97a4bf0e347149f20518bf1 tree 71c8152ff3c6cad7d2c4bd523b1f503ccbcf2324 parent 5cbff89cbc1087870c32ecb0b7f1965f93ec5401 author Jaroslav Kysela Mon, 30 May 2005 11:49:05 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:30 +0200 [ALSA] via82xx - added 0x1071/0x8399 to while list VIA82xx driver - 0x1071, 0x8399 == VIA_DXS_ENABLE - Umax AB 595T (VIA K8N800A - VT8237) - reporter: Honza Machacek Signed-off-by: Jaroslav Kysela commit 5cbff89cbc1087870c32ecb0b7f1965f93ec5401 tree 856eb77cee5507fe11407bd79ee398a9fbfff924 parent 299676b1d792ca643f37ff4f3275694a841739b7 author Sasha Khapyorsky Mon, 30 May 2005 08:09:56 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:27 +0200 [ALSA] Modem support for ALI5451 ALI5451 driver This patch adds modem support for ali5451. Since it is same pci device all is done in ali5451.c. Signed-off-by: Sasha Khapyorsky Signed-off-by: Jaroslav Kysela commit 299676b1d792ca643f37ff4f3275694a841739b7 tree fe9fde4a38b70357c4bd9e09902bc62a0258914f parent 83a5b72ad7c7cbd0d155d922733b2429f46801bf author Tobias Klauser Sun, 29 May 2005 15:21:02 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:24 +0200 [ALSA] sound/pci/ca0106: Use the DMA_32BIT_MASK constant CA0106 driver Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Jaroslav Kysela commit 83a5b72ad7c7cbd0d155d922733b2429f46801bf tree 631cfda2bc042da17cfec15902fc6d4b735de07c parent 87d61c290b5de63cc18ed5ec8103e30fe297373e author Sasha Khapyorsky Sun, 29 May 2005 15:10:07 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:21 +0200 [ALSA] PCI modem drivers update ATIIXP-modem driver,Intel8x0-modem driver,VIA82xx-modem driver Modem drivers (atiixp-modem, intel8x0m, via82xx-modem) migration for using MC97 generic modem mixer for off-hook operation. Signed-off-by: Sasha Khapyorsky Signed-off-by: Jaroslav Kysela commit 87d61c290b5de63cc18ed5ec8103e30fe297373e tree ed902b08203677cb508e35340705613082e3d1dd parent 8fabab15dc64d4aaed0e9dddf3482c128a0347a2 author Sasha Khapyorsky Sun, 29 May 2005 15:08:23 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:18 +0200 [ALSA] MC97 modem mixer in sound/pci/ac97 AC97 Codec Simple MC97 modem mixer with two common controls: Off-hook and CID, and Si3056 MC specific control: Modem Speaker. Signed-off-by: Sasha Khapyorsky Signed-off-by: Jaroslav Kysela commit 8fabab15dc64d4aaed0e9dddf3482c128a0347a2 tree dda1e57f825d9b395c706525a4c7cc1c07c7a09d parent 883130b476e7f8baa608dabe52c455ac351f7c39 author James Courtier-Dutton Sat, 28 May 2005 16:35:49 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:14 +0200 [ALSA] Be more specific with which I2C channel to use. CA0106 driver Signed-off-by: James Courtier-Dutton commit 883130b476e7f8baa608dabe52c455ac351f7c39 tree bd252f2384b7ed8565512c77fa6f0734581b12f0 parent ed144f3cdcf8f9b9280e04ca1a831c85a8fbb488 author James Courtier-Dutton Sat, 28 May 2005 13:28:21 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:12 +0200 [ALSA] Implement S32_LE(24bit) and 96000 capture rates etc. CA0106 driver Signed-off-by: James Courtier-Dutton commit ed144f3cdcf8f9b9280e04ca1a831c85a8fbb488 tree b0c988b01ff94555cb393a30d04f85daefda8be2 parent 7199acdc74dc16d2e75f83b8c65301ad19c40ef3 author James Courtier-Dutton Fri, 27 May 2005 23:28:27 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:09 +0200 [ALSA] Add Mic capture support. CA0106 driver Notes: This adds a new mixer item to switch between Mic and Line-in. Signed-off-by: James Courtier-Dutton commit 7199acdc74dc16d2e75f83b8c65301ad19c40ef3 tree 923cbbe39b3e82e3f24ffcc04dce864995d6a199 parent da04b128cf0d74dd4cab270c53d9264e70f9203e author James Courtier-Dutton Fri, 27 May 2005 22:07:23 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:27:06 +0200 [ALSA] Implement support for Line-in capture on SB Live 24bit. CA0106 driver Notes: MIC capture not tested yet. Signed-off-by: James Courtier-Dutton commit da04b128cf0d74dd4cab270c53d9264e70f9203e tree 095355c32dfd709236a85b497d3bd461d7cdfe8a parent fae6ec69c84d71b1d5bda9ede1a262c1681684aa parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jaroslav Kysela Wed, 22 Jun 2005 12:19:24 +0200 committer Jaroslav Kysela Wed, 22 Jun 2005 12:19:24 +0200 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 052162198b89e64d37c20238412674152d614997 tree eac12924424916361a3bd3742ddcbc9c87c61732 parent ebe2a9ffa148746bae62d0f7188590a85f29f9ed author Russell King Wed, 22 Jun 2005 09:56:57 +0100 committer Russell King Wed, 22 Jun 2005 09:56:57 +0100 [PATCH] ARM: Allow clps7500 to build without parsing "acorn" tag Signed-off-by: Russell King commit ebe2a9ffa148746bae62d0f7188590a85f29f9ed tree a441268df8eef09e61b847b4fea1ad3a0aee8a12 parent 522c37b9d3bc2554264c2d7cbba439571a2043fb author Russell King Wed, 22 Jun 2005 09:55:04 +0100 committer Russell King Wed, 22 Jun 2005 09:55:04 +0100 [PATCH] ARM: Allow riscpc to parse "acorn" boot info tag Signed-off-by: Russell King commit 522c37b9d3bc2554264c2d7cbba439571a2043fb tree b8c50d98ba54eed8877de360268aaccd3a2ea552 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Russell King Wed, 22 Jun 2005 09:52:26 +0100 committer Russell King Wed, 22 Jun 2005 09:52:26 +0100 [PATCH] ARM: Fix sa1111.c build error caused by klist changes Signed-off-by: Russell King commit 0087e5ef577d0d6e664be7ab4be513b6a482e7ec tree deeb3f4a6aca34359e20d926bc28165f1f3e84f0 parent 7c7a530463ced6011789937b24dc2bfba43c706b author Andrew Morton Mon, 20 Jun 2005 14:25:45 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:55:00 -0700 [PATCH] I2C: fix ds1374 build Not all architectures implement asm/rtc.h Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7c7a530463ced6011789937b24dc2bfba43c706b tree 56082dfa7b18e6019c2bba32d013c945cfbf46aa parent a45cfe2cd7450e56b4f44802b34faaf2a78a6cdb author Jean Delvare Thu, 16 Jun 2005 19:24:14 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:07 -0700 [PATCH] I2C: w83781d: remove non-i2c sensor chips This patch removes the support for the W83697HF and W83627THF chips from the w83781d driver. These chips have no I2C/SMBus interface and are better supported by the Super-I/O-based w83627hf driver. Documentation was updated to reflect the support drop. Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c124a78d8c7475ecc43f385f34112b638c4228d9 tree 46de795c5e2da258a54501658f74e9619c271527 parent 69dd204b6b45987dbf9ce7058cd238d355865281 author Randy Vinson Fri, 03 Jun 2005 14:36:06 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:06 -0700 [PATCH] I2C: Add support for Maxim/Dallas DS1374 Real-Time Clock Chip (1/2) Add support for Maxim/Dallas DS1374 Real-Time Clock Chip This change adds support for the Maxim/Dallas DS1374 RTC chip. This chip is an I2C-based RTC that maintains a simple 32-bit binary seconds count with battery backup support. Signed-off-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit bdca3f0aedde85552099aa95ab1449bf81e4f6f5 tree 1016146e6b110707163777101436eb5b339d39bc parent c124a78d8c7475ecc43f385f34112b638c4228d9 author Randy Vinson Fri, 03 Jun 2005 14:43:56 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:06 -0700 [PATCH] I2C: Add support for Maxim/Dallas DS1374 Real-Time Clock Chip (2/2) This change provides support for the DS1374 Real-Time Clock chip present on the MPC8349ADS board. It depends on a previous patch which adds I2C support for the DS1374. Signed-off-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit a45cfe2cd7450e56b4f44802b34faaf2a78a6cdb tree ca6f26f57cb96ff6ab4b9f1830f3f29f1185166d parent bdca3f0aedde85552099aa95ab1449bf81e4f6f5 author Greg KH Thu, 09 Jun 2005 17:39:09 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:06 -0700 [PATCH] I2C: fix up ds1374.c driver so it will build. Signed-off-by: Greg Kroah-Hartman commit c3bc4caedd84ad03360cb9ec04b6c44ab314588b tree 5ae34e8b136d2584be6d30f9203c7dba49f27663 parent 20ad93d4e5cf5f0616198b5919ee9f304119dd4b author BGardner@Wabtec.com Fri, 03 Jun 2005 13:03:27 -0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:05 -0700 [PATCH] max6875: new i2c device driver This patch adds support for the MAX6875/MAX6874 chips. Signed-off-by: Ben Gardner Signed-off-by: Greg Kroah-Hartman commit 69dd204b6b45987dbf9ce7058cd238d355865281 tree e033f9697109d4a411e5c6707b0e6991e00ede7f parent 10c08f8100ee2c4d27b862635574cdf4ef439e67 author bgardner@wabtec.com Tue, 07 Jun 2005 08:55:38 -0500 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:05 -0700 [PATCH] I2C: add new pca9539 driver This is an i2c driver for the Philips PCA9539 (16 bit I/O port). It uses the new i2c-sysfs interfaces. The patch includes documentation. It depends on the patch that renames "i2c-sysfs.h" to "hwmon-sysfs.h" Signed-off-by: Ben Gardner Signed-off-by: Greg Kroah-Hartman commit 10c08f8100ee2c4d27b862635574cdf4ef439e67 tree 7055414032c3fd5fa066c6574804011132b69cb5 parent c3bc4caedd84ad03360cb9ec04b6c44ab314588b author Jean Delvare Mon, 06 Jun 2005 19:34:45 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:05 -0700 [PATCH] I2C: rename i2c-sysfs.h to hwmon-sysfs.h This patch renames the new linux/i2c-sysfs.h header file to linux/hwmon-sysfs.h. This names seems to be more appropriate since this file defines macros and structures not related to i2c but to hardware monitoring drivers. The patch also updates the five hardware monitoring driver which include that header file already. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit bc51ae1159c0c9a34d2400a8449e1fca3ee965b4 tree a7bef5ee693b9b35a34ccf8361caab7578254c30 parent 1a86c05121a3f56b4b928ed43f9f8ffc1376d802 author Jean Delvare Sun, 05 Jun 2005 20:32:27 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:04 -0700 [PATCH] I2C: lm63 uses new sysfs callbacks I updated the lm63 hardware monitoring driver to take benefit of Yani Ioannou's new sysfs callback capabilities. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 20ad93d4e5cf5f0616198b5919ee9f304119dd4b tree a2260af225b373435ceb4e9475dfbbe67f019832 parent bc51ae1159c0c9a34d2400a8449e1fca3ee965b4 author Jean Delvare Sun, 05 Jun 2005 11:53:25 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:04 -0700 [PATCH] I2C: drivers/i2c/chips/it87.c: use dynamic sysfs callbacks This patch modifies the it87 hardware monitoring driver to take benefit of the new sysfs callback features introduced by Yani Ioannou, making the code much clearer and the resulting driver significantly smaller. From: Yani Ioannou Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1a86c05121a3f56b4b928ed43f9f8ffc1376d802 tree 5ae73589d53ccadec32b90305988828f530efc04 parent 30d7394b1a3df0e7cc145a543846109babd4d53b author Jean Delvare Sun, 05 Jun 2005 21:16:39 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:04 -0700 [PATCH] I2C: lm83 uses new sysfs callbacks I updated the lm83 hardware monitoring driver to take benefit of Yani Ioannou's new sysfs callback capabilities. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit eb071cbbc38efa4b1d707f540de2ec6283ab0894 tree dd9037caf6acb546abe76f76d60987b8d870a1e4 parent 5d740fe9fefda41292b5cabe70f4f8eff9f8aad0 author Jean Delvare Sat, 04 Jun 2005 13:17:43 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:03 -0700 [PATCH] I2C: pcf8574 driver cleanup I found a possible cleanup in the pcf8574 driver. We don't need to store the read value in our private data structure, as we then never use it again. I asked Aurelien and he is fine with the change. Please apply, thanks. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a0ef14837a2298a4748e2a3e8e206f086dd3b21a tree 78e06fec1c9f157b4c51ca3f4c1f3d142a0a45ca parent eb071cbbc38efa4b1d707f540de2ec6283ab0894 author Grant Coady Fri, 03 Jun 2005 10:05:19 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:03 -0700 [PATCH] I2C: add adm9240 driver documentation This patch adds adm9240 driver doc, with thanks to Rudolf Marek for review. Signed-off-by: Grant Coady Acked-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit 30d7394b1a3df0e7cc145a543846109babd4d53b tree e1118dba668df2123558a0a25913c4d4f460eae8 parent a0ef14837a2298a4748e2a3e8e206f086dd3b21a author Jean Delvare Sun, 05 Jun 2005 21:27:28 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:03 -0700 [PATCH] I2C: lm90 uses new sysfs callbacks I updated the lm90 hardware monitoring driver to take benefit of Yani Ioannou's new sysfs callback capabilities. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 828621dda6381093ceafbe9381b6118cae3f9b13 tree 60fae466a2a5af340d156da1532c3ceb9c6bab5b parent 7f15b66468b7003d5241e352a007e73be5519b20 author R.Marek@sh.cvut.cz Thu, 26 May 2005 12:42:29 +0000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:02 -0700 [PATCH] I2C: documentation update 3/3 This patch adds information about available userspace utillities for system health monitoring drivers. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit 7f15b66468b7003d5241e352a007e73be5519b20 tree c9333e14baae06a831c8515d9e1e24808826053e parent 2bf34a1ca9d570dd4fab4d95c4de82d873ecf718 author R.Marek@sh.cvut.cz Thu, 26 May 2005 12:42:19 +0000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:02 -0700 [PATCH] I2C: documentation update 2/3 This patch adds missing documentation for system health monitoring chips. I would like to thank all people, who helped me with this project. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit 5d740fe9fefda41292b5cabe70f4f8eff9f8aad0 tree 974485c72963e94570b339276ebf5defc8197442 parent 828621dda6381093ceafbe9381b6118cae3f9b13 author R.Marek@sh.cvut.cz Sat, 28 May 2005 11:26:24 +0000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:02 -0700 [PATCH] I2C: KConfig update - some EXPERIMENTAL removal Following patch removes EXPERIMENTAL flag from some of I2C bus and chip drivers. It is removed when the driver is in kernel at least from 2.6.3 and I generally think there is no problem with it. Also this patch adds SiS 745 to help option of sis96x and it also fixes nForce2 driver entry to reflect current state. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit 2bf34a1ca9d570dd4fab4d95c4de82d873ecf718 tree 293f1c49c9b0f6bf9421905ef1c475c28ed3d496 parent 72cd799544f2b36c2f07ceaeed6d984cb130d4f3 author R.Marek@sh.cvut.cz Thu, 26 May 2005 12:42:11 +0000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:02 -0700 [PATCH] I2C: documentation update 1/3 This patch just changes the extension of Documentation/i2c/chips/smsc47b397.txt to none - to conform with naming in i2c subsystem directory. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit cc0b07ed479fd92806aef7d6dbc58b6dc6da3796 tree d704525bd37b168e9cf61b7464fe4423b6c46b48 parent 7f02d56e54f2a8afaa01974df650ace9dc15d0cd author Jean Delvare Sun, 22 May 2005 09:39:11 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:01 -0700 [PATCH] I2C: Sensors mailing list has moved The following patch updates all references to the sensors mailing list, so as to reflect the fact that the list recently moved to a new home and changed addresses. I'll work out a similar patch for Linux 2.4 soon. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7f02d56e54f2a8afaa01974df650ace9dc15d0cd tree dd39ab530763bfb2f34e84c83d469199e53fc8b0 parent d68a861d857c11a017a8f755fa250afaf8b1bcdb author Sylvain Munaut Wed, 18 May 2005 19:39:57 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:01 -0700 [PATCH] i2c: Race fix for i2c-mpc.c i2c: Race fix for i2c-mpc.c The problem was that the clock speed and driver data is initialized after the i2c adapter was added. This caused the i2c bus to start working at a wrong speed. (Mostly noticable on the second bus on mpc5200) With this patch we've tried to keep the i2c adapter working perfectly all the time it is included in the system. Initialize before added, Remove garbage after deleleted. Submitted-by: Asier Llano Palacios Signed-off-by: Sylvain Munaut Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman commit 72cd799544f2b36c2f07ceaeed6d984cb130d4f3 tree ee3f0696bd3b9b09af8f09f449eeac6c0eb3cac5 parent cc0b07ed479fd92806aef7d6dbc58b6dc6da3796 author David Brownell Tue, 24 May 2005 17:34:51 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:01 -0700 [PATCH] I2C: add i2c driver for TPS6501x This adds an I2C driver for the TPS6501x series of power management chips. It's used on many OMAP based boards, and this driver has been widely used in the Linux-OMAP trees over the last year or so. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d68a861d857c11a017a8f755fa250afaf8b1bcdb tree 85975dd625d7a58da2a4e90c01729332a533c8a2 parent a551acc2cb1f13a9bd728b8cf86f9adafefdcfb2 author Tobias Klauser Thu, 19 May 2005 21:41:47 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:00 -0700 [PATCH] I2C: Spelling fixes for drivers/i2c/i2c-dev.c This patch fixes a misspelling in a comment section. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit a551acc2cb1f13a9bd728b8cf86f9adafefdcfb2 tree 2ee02935a9df422b733969affbdcca3a873479c1 parent 614e24be139c0ae70378349e6c6f0e21751e56bf author Tobias Klauser Thu, 19 May 2005 21:40:38 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:00 -0700 [PATCH] I2C: Spelling fixes for drivers/i2c/i2c-core.c This patch fixes a misspelling in a comment section. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit 614e24be139c0ae70378349e6c6f0e21751e56bf tree a2aec8b80eac393adb7b44baf0b875b802d496b7 parent 46b615f453202dbcf66452b500ab69c0e2148593 author Tobias Klauser Thu, 19 May 2005 21:39:06 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:52:00 -0700 [PATCH] I2C: Spelling fixes for drivers/i2c/busses/i2c-parport.c This patch fixes a double "the" in a comment section. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit 6f637a6494a1872c613fe68f64ea4831c3e5b037 tree a18368e908290ca7bdf3430b0b5b9cbc0131da5b parent 563db2fe9e0843da9d1d85d824f022be0ada4a3c author Greg Kroah-Hartman Tue, 21 Jun 2005 21:01:59 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:59 -0700 [PATCH] I2C: fix up some sysfs device attribute file parameters Signed-off-by: Greg Kroah-Hartman commit 563db2fe9e0843da9d1d85d824f022be0ada4a3c tree 2e5cec5b9e1d0cf34e2c03c65bc53d9784b287da parent 057923f0f5ba346fc128ae0a1c3842d8c12bd7f0 author Jean Delvare Tue, 17 May 2005 22:38:57 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:59 -0700 [PATCH] I2C: Kill another macro abuse in via686a This patch kills another macro abuse in the via686a hardware monitoring driver. Using a macro just to alias an array is quite useless, isn't it? Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 46b615f453202dbcf66452b500ab69c0e2148593 tree 4f2a4daab8bc675ed72c435cb7cee8e0ad78e751 parent 6f637a6494a1872c613fe68f64ea4831c3e5b037 author Tobias Klauser Thu, 19 May 2005 22:27:23 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:59 -0700 [PATCH] I2C: Spelling fixes for drivers/i2c/algos/i2c-algo-pca.c This patch fixes the some misspellings and a trailing whitespace in the comments. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit be8992c249e42398ee905450688c135ab761674c tree 29f41874649a86f5616301ca78eae96b79a8c5eb parent 68188ba7de2db9999ff08a4544a78b2f10eb08bd author Jean Delvare Mon, 16 May 2005 19:00:52 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:58 -0700 [PATCH] I2C: Coding style cleanups to via686a The via686a hardware monitoring driver has infamous coding style at the moment. I'd like to clean up the mess before I start working on other changes to this driver. Is the following patch acceptable? No code change, only coding style (indentation, alignments, trailing white space, a few parentheses and a typo). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6afe15595031bb9801af6207feed0bafc25b6e6b tree 144126d9d5e1808e91e46007e5b990bf9b1f1bbc parent be8992c249e42398ee905450688c135ab761674c author Grant Coady Tue, 17 May 2005 17:16:02 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:58 -0700 [PATCH] I2C: driver adm1021: remove die_code This patch removes die_code from adm1021 as nothing within the driver uses it. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 057923f0f5ba346fc128ae0a1c3842d8c12bd7f0 tree 6c9cc5d15b6164988c0cb4a994cd22a8d45983c5 parent 6afe15595031bb9801af6207feed0bafc25b6e6b author Jean Delvare Tue, 17 May 2005 18:09:36 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:58 -0700 [PATCH] I2C: chips/Kconfig corrections Here are some corrections for drivers/i2c/chips/Kconfig. Signed-off-by: Alexey Fisher Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ff3240946d6a3d9f2ecf273f7330e09eec5484eb tree 2bb70f76eb190a9301a7f30f264306f82363c12a parent 8e8f9289cc5b781d583d5aed935abf060207bbd3 author Dominik Hackl Mon, 16 May 2005 18:12:18 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:57 -0700 [PATCH] I2C: include of jiffies.h for some i2c drivers This patch includes jiffies.h in two i2c drivers. (jiffies.h is needed for the time_after function.) Signed-off-by: Dominik Hackl Signed-off-by: Greg Kroah-Hartman commit 8e8f9289cc5b781d583d5aed935abf060207bbd3 tree d058803efab6b2f359ca750ec50e73681da3ce8d parent 937df8df907ce63b0f7e19adf6e3cdef1687fac3 author Grant Coady Fri, 13 May 2005 20:26:10 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:57 -0700 [PATCH] I2C: adm9240 driver cleanup This patch adds an info print of detected VRM stolen from Sebastian Witt's atxp1 sriver. ADM9240 already has vrm accessor removed. Write no-op and whitespace fixes removed :) Couple of comments changed, tested on 2.6.11.9. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 68188ba7de2db9999ff08a4544a78b2f10eb08bd tree 37e0406d7f2b6ace2bc73043bda0c745d3aa5e37 parent ff3240946d6a3d9f2ecf273f7330e09eec5484eb author Jean Delvare Mon, 16 May 2005 18:52:38 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:57 -0700 [PATCH] I2C: Kill common macro abuse in chip drivers This patch kills a common macro abuse in i2c chip drivers: defining ALARMS_FROM_REG returning its argument unchanged. Dropping the macro makes the code somewhat more readable IMHO. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b9826b3ee8faa468a26782e3bf37716a73d96730 tree e714c037b2862cf8c592311c09958ffba818259d parent 815f55f280fb2781ba1c2a350516b73e55119c60 author Grant Coady Fri, 06 May 2005 17:40:51 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:56 -0700 [PATCH] I2C: remove from via686a In my cross-reference checking of sysfs names, the via686a needs special case treatment as it the only driver expands S_IWUSR to 00200 with gcc -E. (00200 is the correct value for S_IWUSR). This is caused by the driver including , it compiles fine without that header but I am unable to test drive the change. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit abc01922477104e8d72b494902aff37135c409e7 tree 7ef178b1a14e89c88bac1a976c238c91fc1697ee parent b9826b3ee8faa468a26782e3bf37716a73d96730 author Grant Coady Thu, 12 May 2005 13:41:51 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:56 -0700 [PATCH] I2C: Setting w83627hf fan divisor 128 fails. Jarkko Lavinen provided patch to fix: "couldn't set the divisor 128 through fan1_div sysfs entry even though the chip supports it and setting divisors 1..64 worked. This was due to POWER_TO_REG() only checking 2's powers 0 till 5 but not 6." This patch applies that fix to w83627hf and w83781d drivers. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 937df8df907ce63b0f7e19adf6e3cdef1687fac3 tree 4ac2a146290bcda4c741fa82b3a09e2d42f773b5 parent abc01922477104e8d72b494902aff37135c409e7 author Grant Coady Thu, 12 May 2005 11:59:29 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:56 -0700 [PATCH] I2C: sysfs names: rename to cpu0_vid, take 3 This small patch changes two drivers, adm1025 and adm1026, to report vid as cpu0_vid sysfs name as used by the other drivers. Added duplicated names and six month warning for old names to be removed as requested. Compile tested. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 815f55f280fb2781ba1c2a350516b73e55119c60 tree 48c06bd1650d44aa274989ce2696eb5091d3805c parent 30aedcb33970367e50b5edf373e9cd1a5cebcbe1 author Jean Delvare Sat, 07 May 2005 22:58:46 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:55 -0700 [PATCH] I2C: Remove redundancy from i2c-core.c Call i2c_transfer() from i2c_master_send() and i2c_master_recv() to avoid the redundant code that was in all three functions. It also removes unnecessary debug statements as suggested by Jean Delvare. This is important for the non-blocking interfaces because they will have to handle a non-blocking interface in this area. Having it in one place greatly simplifies the changes. Signed-off-by: Corey Minyard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 44bbe87e9017efa050bb1b506c6822f1f3bb94d7 tree 62656712b3707592fb8fb8e152a200e71dbbb150 parent ec5ce552d946a55c1e504054627c9068fb7afb8a author Steven Cole Tue, 03 May 2005 18:21:25 -0600 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:55 -0700 [PATCH] Spelling fixes for drivers/i2c. Here are some spelling corrections for drivers/i2c. occured -> occurred intialization -> initialization Everytime -> Every time transfering -> transferring relevent -> relevant continous -> continuous neccessary -> necessary explicitely -> explicitly Celcius -> Celsius differenciate -> differentiate Signed-off-by: Steven Cole Signed-off-by: Greg Kroah-Hartman commit 30aedcb33970367e50b5edf373e9cd1a5cebcbe1 tree 8b94e494c2fd0d8c874500bc1b0733eef64d831b parent 44bbe87e9017efa050bb1b506c6822f1f3bb94d7 author Kumar Gala Tue, 03 May 2005 18:50:38 -0500 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:55 -0700 [PATCH] I2C: Allow for sharing of the interrupt line for i2c-mpc.c I2C-MPC: Allow for sharing of the interrupt line On the MPC8548 devices we have multiple I2C-MPC buses however they are on the same interrupt line. Made request_irq pass SA_SHIRQ now so the second bus can register for the same IRQ. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman commit ec5ce552d946a55c1e504054627c9068fb7afb8a tree 88a4ff89a92939fbc6da3b92d80a6025a3351432 parent b9110b1c893f45ec66ae39e359decdfad84525be author Jean Delvare Tue, 26 Apr 2005 22:09:43 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:54 -0700 [PATCH] I2C: Add support for the LPC47M15x and LPC47M192 chips to smsc47m1 This simple patch adds support for the SMSC LPC47M15x and LPC47M192 chips to the smsc47m1 hardware monitoring driver. These chips are compatible with the other ones already supported by the driver, so I see no reason not to support them, especially when the Linux 2.4 version of the driver does already. I also modified the info printks to name the chips by their real name. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b9110b1c893f45ec66ae39e359decdfad84525be tree 0fcb89b2f770df7995445b4e74251549bea6baf6 parent 08e7e2789e0da49eadeb17121e24af22efeee84b author Jean Delvare Mon, 02 May 2005 23:08:22 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:54 -0700 [PATCH] I2C: Fix bugs in the new w83627ehf driver These are the fixes for the bug you spotted in my new w83627ehf driver: - Explicit division by 0. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 08e7e2789e0da49eadeb17121e24af22efeee84b tree 0e7edd2ffc4ad0a3b1e5c5fe070fb1bc460696cf parent 40b5cda28aafe3744d8808c21f7959e472a9ecb1 author Jean Delvare Mon, 25 Apr 2005 22:43:25 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:54 -0700 [PATCH] I2C: New hardware monitoring driver: w83627ehf This is a new hardware monitoring driver, w83627ehf, which supports the Winbond W83627EHF Super-I/O chip. The driver is not complete, but already usable. It only implements fan speed and temperature monitoring, while the chip also supports voltage inputs with VID, PWM output and temperature sensor selection. I have no more time to work on this, but anyone with supported hardware could add the missing functionalities later. This driver is largely derived from the w83627hf driver. Thanks to Leon Moonen and Steve Cliffe for tesing the preliminary versions of my driver and reporting the problems they encountered. Thanks to Grant Coady for noticing and fixing various corner cases in the fan management. This third version of the driver hopefully addresses all the issues the original version had. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f0bb60e7b1a0a26c25d8cbf81dda7afbc8bd2982 tree 93dc5302d0299e8167c2affc1d65a705219c0d88 parent da17838c5e7256976c34c5d051dc8fb3c6f364b7 author Alexey Dobriyan Sat, 16 Apr 2005 18:10:02 +0000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:53 -0700 [PATCH] I2C: drivers/i2c/*: #include cleanup Files that don't use CONFIG_* stuff shouldn't include config.h Files that use CONFIG_* stuff should include config.h It's that simple. ;-) Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit a551ef79d9413727f76d22dc47b5b15d1d03073b tree 4b43e032dc6b6cb5de78ce700b12762ab71483e0 parent f0bb60e7b1a0a26c25d8cbf81dda7afbc8bd2982 author Jean Delvare Sat, 16 Apr 2005 18:49:22 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:53 -0700 [PATCH] I2C: #include cleanup Hi Alexey, > Files that don't use CONFIG_* stuff shouldn't include config.h > Files that use CONFIG_* stuff should include config.h > > It's that simple. ;-) I agree. This won't change anything though, as all drivers include either device.h or module.h, which in turn include config.h. But you are still correct, so I approve your patch. For completeness, I would propose the following on top of your own patch: i2c bus drivers do not need to define DEBUG themselves, as the Kconfig system takes care of it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 40b5cda28aafe3744d8808c21f7959e472a9ecb1 tree cd332f677f3c7855fcd026300cf284af08d0846b parent a551ef79d9413727f76d22dc47b5b15d1d03073b author Grant Coady Sat, 30 Apr 2005 21:41:29 +1000 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:53 -0700 [PATCH] I2C: add new hardware monitor driver: adm9240 Completion of Michiel Rook's port of adm9240 to 2.6 with addition of auto fan clock divider based on Jean Delvare's algorithm, and replaces scaling macros with static inlines. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit da17838c5e7256976c34c5d051dc8fb3c6f364b7 tree 179d41ec3c1e01263cae06cee297ebcf35769aa7 parent 912b9c0c52b95696165e84d67fdab2af81a2213e author Ladislav Michl Wed, 11 May 2005 10:32:54 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:52 -0700 [PATCH] ds1337: export ds1337_do_command Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman commit 912b9c0c52b95696165e84d67fdab2af81a2213e tree a5f560a549354680bd68991e29a15380306650c4 parent 86919833dbeac668762ae7056ead2d35d070f622 author Ladislav Michl Tue, 10 May 2005 14:08:04 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:52 -0700 [PATCH] ds1337 driver works also with ds1339 chip On Wed, May 04, 2005 at 12:07:11PM +0200, Jean Delvare wrote: > Additionally, I would welcome an additional patch documenting the fact > that the ds1337 driver will work fine with the Dallas DS1339 real-time > clock chip. Document the fact that ds1337 driver works also with DS1339 real-time clock chip. Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman commit 86919833dbeac668762ae7056ead2d35d070f622 tree 5c704a3c8fb85f44cde1102d7e6f09508427be4d parent 00588243053bb40d0406c7843833f8fae81294ab author Ladislav Michl Wed, 04 May 2005 08:14:38 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:52 -0700 [PATCH] I2C: ds1337: search by bus number Chip is searched by bus number rather than its own proprietary id. Signed-off-by: Ladislav Michl Signed-off-by: James Chapman Signed-off-by: Greg Kroah-Hartman commit d01b79d0613ebb6810bb48baf6e53e9319701fea tree 49f92093fae3b372011b1f2855cf581d9a1ad1e4 parent 6069ffde15472da9d041a58df490d388bb175d51 author Ladislav Michl Fri, 08 Apr 2005 15:06:39 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:51 -0700 [PATCH] I2C: ds1337 3/4 dev_{dbg,err} functions should print client's device name. data->id can be dropped from message, because device is determined by bus it hangs on (it has fixed address). Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman commit 6069ffde15472da9d041a58df490d388bb175d51 tree 0e1b536969aafe6bb3a9a567be46a61b8be91886 parent 3e9d0ba1305cd7c6efd2ab3a003e58a27da1796b author Ladislav Michl Fri, 08 Apr 2005 15:02:16 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:51 -0700 [PATCH] I2C: ds1337 2/4 Use correct macros to convert between bdc and bin. See linux/bcd.h Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman commit 0b46e334d77b2d3b8b3aa665c81c4afbe9f1f458 tree ecf82d1aa2a4416835a082500970df3784e1194e parent d01b79d0613ebb6810bb48baf6e53e9319701fea author Ladislav Michl Wed, 04 May 2005 08:13:13 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:51 -0700 [PATCH] I2C: ds1337: Make time format consistent with other RTC drivers Make time format consistent with other RTC drivers. Signed-off-by: Ladislav Michl Signed-off-by: James Chapman Signed-off-by: Greg Kroah-Hartman commit 00588243053bb40d0406c7843833f8fae81294ab tree abf967a76d51f002a878ce6e6544c0b1c6cde62e parent 0b46e334d77b2d3b8b3aa665c81c4afbe9f1f458 author Ladislav Michl Wed, 04 May 2005 08:13:54 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:51 -0700 [PATCH] I2C: ds1337: i2c_transfer() checking i2c_transfer returns number of sucessfully transfered messages. Change error checking to accordingly. (ds1337_set_datetime never returned sucess) Signed-off-by: Ladislav Michl Signed-off-by: James Chapman Signed-off-by: Greg Kroah-Hartman commit 9cb7d18433ea6db04b3999e8d0b8f52fba551c2d tree 0feff7401b43c5b3b2def0ae64db8f6c385a596b parent 3886246a257e828248ce1e72ced00408a3557f0d author Sebastian Witt Wed, 13 Apr 2005 22:27:53 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:50 -0700 [PATCH] I2C: add new atxp1 driver Adds support for the Attansic ATXP1 I2C device, found on some x86 plattforms to change CPU and other voltages. Depends on the previous i2c-vid.h patch. Signed-off-by: Sebastian Witt Signed-off-by: Greg Kroah-Hartman commit 69113efac29e5f1b7a03dd4fdca5ede6901f4eb8 tree 5decc38a1b2f5ede2f8d987c1f749f28a5432556 parent 9cb7d18433ea6db04b3999e8d0b8f52fba551c2d author Greg K-H Tue, 05 Apr 2005 18:00:47 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:50 -0700 [PATCH] I2C: mark all functions static in atxp1 driver Signed-off-by: Greg Kroah-Hartman commit 3e9d0ba1305cd7c6efd2ab3a003e58a27da1796b tree bdbcf0d4fca8ed72cb59ae89fa9e513bd2c3da3e parent 69113efac29e5f1b7a03dd4fdca5ede6901f4eb8 author Ladislav Michl Fri, 08 Apr 2005 15:00:21 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:50 -0700 [PATCH] I2C: ds1337 1/4 Use i2c_transfer to send message, so we get proper bus locking. Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman commit 792f156d61d327671f58829dc04ad5609152e393 tree 4dd7af551142c79867620b20e3f8d91dfa402529 parent 68cc9d0b714d7d533c0cfc257a62f7f7f4f22a11 author Clemens Koller Mon, 11 Apr 2005 11:49:14 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:49 -0700 [PATCH] I2C: rtc8564.c remove duplicate include [PATCH] I2C rtc8564.c remove duplicate include Trivial fix: removes duplicate include line. Signed-off-by: Clemens Koller Signed-off-by: Greg Kroah-Hartman commit 68cc9d0b714d7d533c0cfc257a62f7f7f4f22a11 tree 616ee332d4a489598141512cbc01f591e1e84dec parent b3d5496ea5915fa4848fe307af9f7097f312e932 author Jean Delvare Sat, 02 Apr 2005 20:04:41 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:49 -0700 [PATCH] I2C: Merge unused address lists in some video drivers On top of my previous patch which removes the use of address ranges in video i2c drivers, this one can save an additional few bytes of memory. Most of these drivers which do not use I2C_CLIENT_INSMOD initialize the unused address lists in a less than optimal way. This patch simply optimizes this, by using a single one-element list instead of 3 different lists with two elements each. This saves an average 63 bytes on these drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman diff -ruN linux-2.6.12-rc1-bk5.orig/drivers/media/video/adv7170.c linux-2.6.12-rc1-bk5/drivers/media/video/adv7170.c commit 3886246a257e828248ce1e72ced00408a3557f0d tree ef1a71bf68f653b277de964d5c3156c90f21cd2f parent 792f156d61d327671f58829dc04ad5609152e393 author Sebastian Witt Wed, 13 Apr 2005 22:25:39 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:49 -0700 [PATCH] I2C: i2c-vid.h: Support for VID to reg conversion Adds conversion from VID (mV) to register value. Used by the atxp1 I2C module. Removed uneeded switch case. Signed-off-by: Sebastian Witt Signed-off-by: Greg Kroah-Hartman commit b3d5496ea5915fa4848fe307af9f7097f312e932 tree e358977311df194ebac13d57c5e8abf1a87bd65c parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jean Delvare Sat, 02 Apr 2005 20:31:02 +0200 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:51:48 -0700 [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers Some months ago, you killed the address ranges mechanism from all sensors i2c chip drivers (both the module parameters and the in-code address lists). I think it was a very good move, as the ranges can easily be replaced by individual addresses, and this allowed for significant cleanups in the i2c core (let alone the impressive size shrink for all these drivers). Unfortunately you did not do the same for non-sensors i2c chip drivers. These need the address ranges even less, so we could get rid of the ranges here as well for another significant i2c core cleanup. Here comes a patch which does just that. Since the process is exactly the same as what you did for the other drivers set already, I did not split this one in parts. A documentation update is included. The change saves 308 bytes in the i2c core, and an average 1382 bytes for chip drivers which use I2C_CLIENT_INSMOD, 126 bytes for those which do not. This change is required if we want to merge the sensors and non-sensors i2c code (and we want to do this). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Index: gregkh-2.6/Documentation/i2c/writing-clients =================================================================== commit e5c515b4532f4aac2b1136612d8c3ecd1891f431 tree c0a20bf5fd930bdfaf3b40748c266a935e725c6b parent 6adf87bd7b7832105b9c6bc08adf6a4d229f1e79 author Evgeniy Polyakov Fri, 10 Jun 2005 14:53:22 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:12 -0700 [PATCH] w1: fix compiler warnings Signed-off-by: Evgeniy Polyakov commit 6adf87bd7b7832105b9c6bc08adf6a4d229f1e79 tree 1c6d17df3c4f4d753021e970a7bb898c1aabeb82 parent 4754639d88e922af451b399af09ac1bb442c35e5 author Evgeniy Polyakov Sat, 04 Jun 2005 01:29:25 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:12 -0700 [PATCH] w1: reconnect feature. I've created reconnect feature - if on start there are no registered families all new devices will have defailt family, later when driver for appropriate family is loaded, slaves, which were faound earlier, will still have defult family instead of right one. Reconnect feature will force control thread to run through all master devices and all slaves found and search for slaves with default family id and try to reconnect them. It does not store newly registered family and does not check only those slaves which have reg_num.family the same as being registered one - all slaves with default family are reconnected. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 4754639d88e922af451b399af09ac1bb442c35e5 tree 6dbac4533761e2fa31f2eebc3193dbfff98e0497 parent 99c5bfe993af1af37ddd615e72207dc7220dc526 author Evgeniy Polyakov Sat, 04 Jun 2005 01:31:47 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:12 -0700 [PATCH] w1: Updates the w1 documentation (w1.generic) Updates the w1 documentation (w1.generic) Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 99c5bfe993af1af37ddd615e72207dc7220dc526 tree 922369315ceb918b8c4a8a8749a5547497033874 parent 2a9d0c178158da4a9bcf22311a414c26a8102d13 author Evgeniy Polyakov Sat, 04 Jun 2005 01:31:26 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:11 -0700 [PATCH] w1: Adds a default family so that new slave families will show up in sysfs. Adds a default family so that new slave families will show up in sysfs. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 6b729861831177b270a2932a13e79cb41d673146 tree 443c86578d04ba42d9b4e483d6ebee91ba30d25e parent be57ce267fd558c52d2389530c15618681b7cfa7 author Evgeniy Polyakov Sat, 04 Jun 2005 01:30:43 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:11 -0700 [PATCH] w1: Added the triplet w1 master method and changes w1_search() to use it. Adds the triplet w1 master method and changes w1_search() to use it. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 2a9d0c178158da4a9bcf22311a414c26a8102d13 tree 7039be0c9767193b1046d737686bb00c8dbf64d3 parent 6b729861831177b270a2932a13e79cb41d673146 author Evgeniy Polyakov Sat, 04 Jun 2005 01:31:02 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:11 -0700 [PATCH] w1: Adds a sysfs entry (w1_master_search) that allows you to disable/enable periodic searches. Adds a sysfs entry (w1_master_search) that allows you to disable/enable periodic searches. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit c7b2b2a723174d22a743180d5367f0028226031b tree 9f4261361e660b64c71da0022304e23875c3561e parent ca775c629a366ded01aae69da8410f70aaf85de1 author Greg Kroah-Hartman Tue, 21 Jun 2005 21:01:59 -0700 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:10 -0700 [PATCH] w1: fix build issues Signed-off-by: Greg Kroah-Hartman commit be57ce267fd558c52d2389530c15618681b7cfa7 tree 74b9d71873a9bd3152c955114b846c251f7216a9 parent 4e470aa9642d49230bcdfbb393cf5a81da333aba author Evgeniy Polyakov Sat, 04 Jun 2005 01:21:46 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:10 -0700 [PATCH] w1: Cleans up usage of touch_bit/w1_read_bit/w1_write_bit. Cleans up usage of touch_bit/w1_read_bit/w1_write_bit. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 4e470aa9642d49230bcdfbb393cf5a81da333aba tree eb4e0f515c3c45236f816532c2bd2ce31ac6cfce parent c7b2b2a723174d22a743180d5367f0028226031b author Evgeniy Polyakov Fri, 20 May 2005 22:50:33 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:10 -0700 [PATCH] w1_therm: removed duplicated family id. We can access family id through w1_family structure. Signed-off-by: Evgeniy Polyakov commit ca775c629a366ded01aae69da8410f70aaf85de1 tree 2e8138bb6aca6d1d699138d57809e8673abeb7aa parent 7785925dd8e0d2f389d4a9168f1683c6b249a552 author Evgeniy Polyakov Fri, 20 May 2005 22:49:08 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:09 -0700 [PATCH] w1: new family structure. Removed some fields which are not required. First step for writing operations. Now only read and read name remain. Patch depends on w1 cleanups patch. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 85e941cc9f10316080a16b121d24d329e5c2a65d tree 85e034582cfb6f9efb40e49efdef3490f5e56eb6 parent 718a538f945a84244a460df434c3f6f04701957b author Evgeniy Polyakov Mon, 02 May 2005 14:26:42 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:09 -0700 [PATCH] w1_smem: support for new simple rom family [0x81 id]. Support for new simple rom family [0x81 id]. It is the same as existing 0x01 family, which is used in ds9490* w1 adapters. Patch is on top of new-thermal-sensor-families patch. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 7785925dd8e0d2f389d4a9168f1683c6b249a552 tree 5772979184dc9e2b811503fab6ed1119f5c9f93a parent 85e941cc9f10316080a16b121d24d329e5c2a65d author Evgeniy Polyakov Fri, 20 May 2005 22:33:25 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:09 -0700 [PATCH] w1: cleanups. - white space changes. - list_for_each_entry/list_for_each_entry_safe and reverse changes. - small coding style changes. - removed redundant NULL checks. - use attribute group and macros instead of direct device attributes. Patch is havily based on work from Adrian Bunk and Dmitry Torokhov, thanks guys. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 718a538f945a84244a460df434c3f6f04701957b tree 1477ac9d085e53afdc963401537683a248436700 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Evgeniy Polyakov Sun, 17 Apr 2005 22:58:14 +0400 committer Greg Kroah-Hartman Tue, 21 Jun 2005 21:43:08 -0700 [PATCH] w1_therm: support for ds18b20, ds1822 thermal sensors. Support for ds18b20, ds1822 thermal sensors. Based on code from Tiziano M_ller . Patch is against 2.6.12-rc2 and should be applied without problems on top of any later kernels since w1_therm driver was not changed. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e tree 25b8fc041b4dce6c404ff01b462bc6b58fa7d372 parent 990a8baf568ca1d0ae65e59783ff821794118d07 parent e1a40fa907498030b6e432c0dbcb06d7a9f14ee3 author Linus Torvalds Tue, 21 Jun 2005 19:51:18 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:51:18 -0700 Merge rsync://oss.sgi.com/git/xfs-2.6 commit 990a8baf568ca1d0ae65e59783ff821794118d07 tree 1fe187b2f119f7a9d96d56380b211f9ddb9f8390 parent 8a5e9cf1d6626586ff08e49f400a006a9f0c3275 author Jesper Juhl Tue, 21 Jun 2005 17:17:30 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:48 -0700 [PATCH] md: remove unneeded NULL checks before kfree This patch removes some unneeded checks of pointers being NULL before calling kfree() on them. kfree() handles NULL pointers just fine, checking first is pointless. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a654b9d8f851f4ca02649d5825cbe6c608adb10c tree 747301647f619a9f1dd48f4d6be96b5e35d2484c parent 3d310eb7b3df1252e8595d059d982b0a9825a137 author NeilBrown Tue, 21 Jun 2005 17:17:27 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:47 -0700 [PATCH] md: allow md intent bitmap to be stored near the superblock. This provides an alternate to storing the bitmap in a separate file. The bitmap can be stored at a given offset from the superblock. Obviously the creator of the array must make sure this doesn't intersect with data.... After is good for version-0.90 superblocks. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a5e9cf1d6626586ff08e49f400a006a9f0c3275 tree 3a3135209c0dcb5dd2899b8afcc1701e2fdcf732 parent 39730960d94306d7be414e8d54f4e5c071af1278 author NeilBrown Tue, 21 Jun 2005 17:17:29 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:47 -0700 [PATCH] md: make sure md/bitmap doesn't try to write a page with active writeback Due to the use of write-behind, it is possible for md to write a page to the bitmap file that is still completing writeback. This is not allowed. With this patch, we detect those cases and either force a sync write, or back off and try later, as appropriate. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7bfa19f2748000d646dbdf8f48258cfe1d257b52 tree 2f7e6b0a0cba4ac01d7809224023a7dc73b94840 parent a654b9d8f851f4ca02649d5825cbe6c608adb10c author NeilBrown Tue, 21 Jun 2005 17:17:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:47 -0700 [PATCH] md: allow md to update multiple superblocks in parallel. currently, md updates all superblocks (one on each device) in series. It waits for one write to complete before starting the next. This isn't a big problem as superblock updates don't happen that often. However it is neater to do it in parallel, and if the drives in the array have gone to "sleep" after a period of idleness, then waking them is parallel is faster (and someone else should be worrying about power drain). Futher, we will need parallel superblock updates for a future patch which keeps the intent-logging bitmap near the superblock. Also remove the silly code that retired superblock updates 100 times. This simply never made sense. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39730960d94306d7be414e8d54f4e5c071af1278 tree e12516ecea53d782f845717f53ffa304be69aa37 parent 7bfa19f2748000d646dbdf8f48258cfe1d257b52 author NeilBrown Tue, 21 Jun 2005 17:17:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:47 -0700 [PATCH] Two small fixes for md verion-1 superblocks. 1/ Must typecast int to (sector_t) before inverting or we might not invert enough bits. 2/ When "bitmap_offset" was added to mdp_superblock_1, we didn't increase the count of words-used (96 to 100). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab7a30c7051ee32d0d72415fe0a16d60eba38a0d tree ab053c3d097e9ef7d2448944b8a20c8b0b8117a4 parent 191ea9b2c7cc3ebbe0678834ab710d7d95ad3f9a author NeilBrown Tue, 21 Jun 2005 17:17:23 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:46 -0700 [PATCH] md: fix bug when raid1 attempts a partial reconstruct. The logic here is wrong. if fullsync is 0, it WILL BUG. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41158c7eb22312cfaa256744e1553bb4042ff085 tree 21c28e0630d66fc32d758993299a78088a846562 parent 289e99e8ed8f36e386bf7de49947311c17ae1482 author NeilBrown Tue, 21 Jun 2005 17:17:25 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:46 -0700 [PATCH] md: optimise reconstruction when re-adding a recently failed drive. When an array is degraded, bit in the intent-bitmap are never cleared. So if a recently failed drive is re-added, we only need to reconstruct the block that are still reflected in the bitmap. This patch adds support for this re-adding. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d310eb7b3df1252e8595d059d982b0a9825a137 tree 9bca5e7eaa437d60010c1745b9aeb9592439d482 parent 41158c7eb22312cfaa256744e1553bb4042ff085 author NeilBrown Tue, 21 Jun 2005 17:17:26 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:46 -0700 [PATCH] md: fix deadlock due to md thread processing delayed requests. Before completing a 'write' the md superblock might need to be updated. This is best done by the md_thread. The current code schedules this up and queues the write request for later handling by the md_thread. However some personalities (Raid5/raid6) will deadlock if the md_thread tries to submit requests to its own array. So this patch changes things so the processes submitting the request waits for the superblock to be written and then submits the request itself. This fixes a recently-created deadlock in raid5/raid6 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 289e99e8ed8f36e386bf7de49947311c17ae1482 tree 058cca9106c45590db87f1568f28a043395a4f19 parent ab7a30c7051ee32d0d72415fe0a16d60eba38a0d author NeilBrown Tue, 21 Jun 2005 17:17:24 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:46 -0700 [PATCH] md: initialise sync_blocks in raid1 resync Otherwise it could have a random value and might BUG. This fixes a BUG during resync problem in raid1 introduced by the bitmap-based-intent-loggin patches. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 191ea9b2c7cc3ebbe0678834ab710d7d95ad3f9a tree 25ccd0d191742f4e25f37784370520d254aacc12 parent aa3163f81654fa057039258e32a6811147bf0c14 author NeilBrown Tue, 21 Jun 2005 17:17:23 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:46 -0700 [PATCH] md: raid1 support for bitmap intent logging Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc7ca163a448dfb23f44c9a47ebc8cbe52cf49df tree f13c36fa8a161b2d3721311067941a4d4a464cba parent cdbb4cc2e5c30895709163d8544057db21ee23e0 author akpm@osdl.org Tue, 21 Jun 2005 17:17:19 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:45 -0700 [PATCH] md printk fix A u64 is not an unsigned long long. On power4 it is `long', and printk warns. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfb39fba4e8cdda091f9ebee29fbb8331c4bb605 tree 74f710c2c80d2de365107eb33fa7297368b99b1f parent a2cff26ad18a8794722fb0d3c019d93e14fce3f1 author NeilBrown Tue, 21 Jun 2005 17:17:20 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:45 -0700 [PATCH] md: check return value of write_page, rather than ignore it Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa3163f81654fa057039258e32a6811147bf0c14 tree 6b0fc95fc696ebdb1f5acc78df253b6c242de430 parent 77ad4bc706fe6c52ab953f31c287a6af712d080c author NeilBrown Tue, 21 Jun 2005 17:17:22 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:45 -0700 [PATCH] md: don't skip bitmap pages due to lack of bit that we just cleared. When looking for pages that need cleaning we skip pages that don't have BITMAP_PAGE_CLEAN set. But if it is the 'current' page we will have cleared that bit ourselves, so skipping it is wrong. So: move the 'skip this page' inside 'if page != lastpage'. Also fold call of file_page_offset into the one place where the value (bit) is used. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2cff26ad18a8794722fb0d3c019d93e14fce3f1 tree 1895a52cfeeb7b4987b1d2cb97f6cd4b84305f57 parent fc7ca163a448dfb23f44c9a47ebc8cbe52cf49df author NeilBrown Tue, 21 Jun 2005 17:17:20 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:45 -0700 [PATCH] md: improve debug-printing of bitmap superblock. - report sync_size properly - need /2 to convert sectors to KB - move everything over 2 spaces to allow proper spelling of "events cleared". Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77ad4bc706fe6c52ab953f31c287a6af712d080c tree 6823261d0e111a93c5190ebb1f2ecd8c4905a559 parent bfb39fba4e8cdda091f9ebee29fbb8331c4bb605 author NeilBrown Tue, 21 Jun 2005 17:17:21 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:45 -0700 [PATCH] md: enable the bitmap write-back daemon and wait for it. Currently we don't wait for updates to the bitmap to be flushed to disk properly. The infrastructure all there, but it isn't being used.... A separate kernel thread (bitmap_writeback_daemon) is needed to wait for each page as we cannot get callbacks when a page write completes. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d80a138c013f81c1b9383c83983934e34e380a2d tree 883556cee59c122c318844169d2c9a944e0e1846 parent 5f40402d96cb21df912e5bbb3fffa5e1afc81e98 author NeilBrown Tue, 21 Jun 2005 17:17:17 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:44 -0700 [PATCH] md: print correct pid for newly created bitmap-writeback-daemon. The debugging message printed the wrong pid, which didn't help remove bugs.... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdbb4cc2e5c30895709163d8544057db21ee23e0 tree ca5037bfa8c51f61fe2c7627f2cbed37697af882 parent bc7f77de2cd81718dd789a2cfe68a7cf1b48f016 author NeilBrown Tue, 21 Jun 2005 17:17:18 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:44 -0700 [PATCH] md: make sure md bitmap is cleared on a clean start. As the array-wide clean bit (in the superblock) is set more agressively than the bits in the bitmap are cleared, it is possible to have an array which is clean despite there being bits set in the bitmap. These bits will currently never get cleared, as they can only be cleared by a resync pass, which never happens. No, when reading bits from disk, be aware of whether the whole array is known to be in sync, and act accordingly. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc7f77de2cd81718dd789a2cfe68a7cf1b48f016 tree a338f066db763fbc29cff388c5a443332ca67739 parent d80a138c013f81c1b9383c83983934e34e380a2d author NeilBrown Tue, 21 Jun 2005 17:17:17 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:44 -0700 [PATCH] md: minor code rearrangement in bitmap_init_from_disk Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f40402d96cb21df912e5bbb3fffa5e1afc81e98 tree 9c2085ce7615898461fc9b61e9dd46aa7f6c7ce1 parent 78d742d876bdf7263d0d966fbe9593559fd904a7 author NeilBrown Tue, 21 Jun 2005 17:17:16 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:44 -0700 [PATCH] md: call bitmap_daemon_work regularly bitmap_daemon_work clears bits in the bitmap for blocks that haven't been written to for a while. It needs to be called regularly to make sure the bitmap doesn't endup full of ones .... but it wasn't. So call it from the increasingly-inaptly-named md_check_recovery Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78d742d876bdf7263d0d966fbe9593559fd904a7 tree 00e700128a9ab1152958a53da1ee6ef48e358543 parent 32a7627cf3a35396a8e834faf34e38ae9f3b1309 author NeilBrown Tue, 21 Jun 2005 17:17:15 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:43 -0700 [PATCH] md: a couple of tidyups relating to the bitmap file. 1/ When init from disk, it is a BUG if there is nowhere to init from, 2/ use seq_path to print path in /proc/mdstat Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57afd89f98a990747445f01c458ecae64263b2f8 tree cab9f5941f32299bc97936e111f6552ebcee9cf6 parent 06d91a5fe0b50c9060e70bdf7786f8a3c66249db author NeilBrown Tue, 21 Jun 2005 17:17:13 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:43 -0700 [PATCH] md: improve the interface to sync_request 1/ change the return value (which is number-of-sectors synced) from 'int' to 'sector_t'. The number of sectors is usually easily small enough to fit in an int, but if resync needs to abort, it may want to return the total number of remaining sectors, which could be large. Also errors cannot be returned as negative numbers now, so use 0 instead 2/ Add a 'skipped' return parameter to allow the array to report that it skipped the sectors. This allows md to take this into account in the speed calculations. Currently there is no important skipping, but the bitmap-based-resync that is coming will use this. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32a7627cf3a35396a8e834faf34e38ae9f3b1309 tree 3fe7764f5d8e39d835a397e1099358d924b02981 parent 57afd89f98a990747445f01c458ecae64263b2f8 author NeilBrown Tue, 21 Jun 2005 17:17:14 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:43 -0700 [PATCH] md: optimised resync using Bitmap based intent logging With this patch, the intent to write to some block in the array can be logged to a bitmap file. Each bit represents some number of sectors and is set before any update happens, and only cleared when all writes relating to all sectors are complete. After an unclean shutdown, information in this bitmap can be used to optimise resync - only sectors which could be out-of-sync need to be updated. Also if a drive is removed and then added back into an array, the recovery can make use of the bitmap to optimise reconstruction. This is not implemented in this patch. Currently the bitmap is stored in a file which must (obviously) be stored on a separate device. The patch only provided infrastructure. It does not update any personalities to bitmap intent logging. Md arrays can still be used with no bitmap file. This patch has minimal impact on such arrays. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06d91a5fe0b50c9060e70bdf7786f8a3c66249db tree 95a8b9228534cebb12eb31c1cc9cc0c45f685410 parent fca4d848f0e6fafdc2b25f8a0cf1e76935f13ac2 author NeilBrown Tue, 21 Jun 2005 17:17:12 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:43 -0700 [PATCH] md: improve locking on 'safemode' and move superblock writes When md marks the superblock dirty before a write, it calls generic_make_request (to write the superblock) from within generic_make_request (to write the first dirty block), which could cause problems later. With this patch, the superblock write is always done by the helper thread, and write request are delayed until that write completes. Also, the locking around marking the array dirty and writing the superblock is improved to avoid possible races. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fca4d848f0e6fafdc2b25f8a0cf1e76935f13ac2 tree cabed019bfe5d00ddbe06e349f20cff78ab6f6bf parent c361777fb9347a4d16b82272f7d3b234e94bef2d author NeilBrown Tue, 21 Jun 2005 17:17:11 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:42 -0700 [PATCH] md: merge md_enter_safemode into md_check_recovery md_enter_safemode checks if it is time to mark the md superblock as 'clean'. i.e. if all writes have completed and a suitable delay has passed. This is currently called from md_handle_safemode which in-turn is called (almost) every time md_check_recovery is called, and from the end of md_do_sync which causes the mddev->thread to run, which will always call md_check_recovery as well. So it doesn't need to be a separate function and fits quite well into md_check_recovery. The "almost" is because multipathd calls md_check_recovery but not md_handle_safemode. This is OK because the code from md_enter_safemode is a no-op if mddev->safemode == 0, which it always is for a multipathd (providing we don't allow it to be set to 2 on a signal...) Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c361777fb9347a4d16b82272f7d3b234e94bef2d tree 077024cee566780ffefdc84dfa7de9cf3f9dbed4 parent 6ea9c07c6c6d1c14d9757dd8470dc4c85bbe9f28 author NeilBrown Tue, 21 Jun 2005 17:17:10 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:42 -0700 [PATCH] md: make sure recovery happens when add_new_disk is used for hot_add Currently if add_new_disk is used to hot-add a drive to a degraded array, recovery doesn't start ... because we didn't tell it to. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ea9c07c6c6d1c14d9757dd8470dc4c85bbe9f28 tree 095cf6a6830902b01896618502f20a2a89f33273 parent 58a606431a704b5c240c1429a5526fac81c9800a author NeilBrown Tue, 21 Jun 2005 17:17:09 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:42 -0700 [PATCH] md: cause md/raid1 to "repack" working devices when number of drives is changed i.e. missing or failed drives are moved to the end of the list. The means a 3 drive md array with the first drive missing can be shrunk to a two drive array. Currently that isn't possible. Also, the "last_used" device number might be out-of-range after the number of devices is reduced, so we set it to 0. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58a606431a704b5c240c1429a5526fac81c9800a tree 42299e741ce03b4f30448eb6d2cc1f2ce10d0b5a parent f1ab5dac251bb4514607918b0019a3b3f5f5fb48 author James Simmons Tue, 21 Jun 2005 17:17:08 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:42 -0700 [PATCH] fbdev: fill in the access_align field. Several drivers miss filling in the access_align field. So this patch has them fill it in. Signed-off-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1ab5dac251bb4514607918b0019a3b3f5f5fb48 tree 65d7912b1d407b1dc12b9e2f67b4311a153a41e5 parent 303b86d9913eca0cbfc3c5cb41e7006f6e13b755 author James Simmons Tue, 21 Jun 2005 17:17:07 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:41 -0700 [PATCH] fbdev: stack reduction Shrink the stack when calling the drawing alignment functions. Signed-off-by: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5881eb4883ef7dd28a4dcea237714817c4b2f8e tree 2733efd5876000ba544b8d16a666a6a7c28625e4 parent 1154ea7dcd8eed758fb5ec47393a79d5a1f0bc43 author James Simmons Tue, 21 Jun 2005 17:17:05 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:41 -0700 [PATCH] fbdev: new pci id for chipsfb Patch adds pci ID for CT 69000 chipset. Signed-off-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 303b86d9913eca0cbfc3c5cb41e7006f6e13b755 tree 9e6839b9606901e796e1d5a255cb63c0d0d3e85f parent d5881eb4883ef7dd28a4dcea237714817c4b2f8e author Jurriaan Tue, 21 Jun 2005 17:17:06 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:41 -0700 [PATCH] New framebuffer fonts + updated 12x22 font available Improve the fonts for use with the framebuffer. I've added all the characters marked 'FIXME' in the sun12x22 font and created a 10x18 font (based on the sun12x22 font) and a 7x14 font (based on the vga8x16 font). This patch is non-intrusive, no options are enabled by default so most users won't notice a thing. I am placing my changes under the GPL, however, I've not seen any copyright notices on the sun12x22 font and the vga8x16 font which I derived my new fonts from so I don't know what the copyright status is. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1154ea7dcd8eed758fb5ec47393a79d5a1f0bc43 tree 5c5c67e549c60b030555f97fb66c1501f86897d2 parent 4ff45f515144d232c83bf55c53f54deecb750296 author Jaya Kumar Tue, 21 Jun 2005 17:17:04 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:41 -0700 [PATCH] Framebuffer driver for Arc LCD board Add support for the Arc monochrome LCD board. The board uses KS108 controllers to drive individual 64x64 LCD matrices. The board can be paneled in a variety of setups such as 2x1=128x64, 4x4=256x256 and so on. The board/host interface is through GPIO. Signed-off-by: Jaya Kumar Cc: "Antonino A. Daplas" Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f18cd8f7053a1e6755d1c1396884b2bfa1577e54 tree ee31f412a9b0a123cac5b3ecc363969be68f7f3b parent 8d7f085342ddf20194b6e00c42b80968f15104db author James Simmons Tue, 21 Jun 2005 17:17:00 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:40 -0700 [PATCH] VGA to fbcon fix. Currently when going from vgacon to fbcon the VT screenbuffer are often different sizes. In the case when they are different sizes a new VT screenbuffer is allocated and the contents are copied into the new buffer. Currently the amount copied from VGA text memory to the new screenbuf is the size of the framebuffer console. If the framebuffer console new VT screen buffer is greater than the VGA text memory size then we get some of the VGA BIOS contents as well. This patch will only allow you to copy up to the size of VGA text memory now. The rest is filled with erase characters. Initial patch by Jordan Crouse Signed-off-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df529338d9c5d9329e503955795c89472e1ba6e6 tree a8da12e91ae71df78c354b81597783ee85212b32 parent 27aef2d49f9d82c58e65d72abcd636168ec19ac9 author Sylvain Meyer Tue, 21 Jun 2005 17:17:02 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:40 -0700 [PATCH] intelfb: fix accel detection when changing video modes Changed the tests in intelfb_set_par to check also the parameter var.accel_flags. If null, do nothing about ring buffers. Now, the DirectFB i830 driver could nicely work even if intelfb is hw accelerated. Just change the /etc/fb.modes file to disable console hw acceleration when starting a DirectFB app. Signed-off-by: Sylvain Meyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d7f085342ddf20194b6e00c42b80968f15104db tree 6dd78914dc67e7ba5065a8f84dc849e307f27587 parent f5a9951c94e7a285a3d00648e3d790a7f016bd11 author Alexey Dobriyan Tue, 21 Jun 2005 17:16:59 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:40 -0700 [PATCH] pm3fb typo fix Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ff45f515144d232c83bf55c53f54deecb750296 tree 10280fdf90426e2fcc7c751f6419585f0555c10c parent df529338d9c5d9329e503955795c89472e1ba6e6 author Sylvain Meyer Tue, 21 Jun 2005 17:17:03 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:40 -0700 [PATCH] intelfb documentation Add a small documentation of the driver parameters. Signed-off-by: Sylvain Meyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27aef2d49f9d82c58e65d72abcd636168ec19ac9 tree c9dbbec06c9d6892e3cbfbed6a7d2281225737c2 parent f18cd8f7053a1e6755d1c1396884b2bfa1577e54 author Sylvain Meyer Tue, 21 Jun 2005 17:17:01 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:40 -0700 [PATCH] intelfb: Add voffset option to avoid conficts with Xorg i810 driver - Add voffset option to avoid conficts with Xorg i810 driver Signed-off-by: Sylvain Meyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5a9951c94e7a285a3d00648e3d790a7f016bd11 tree 47815b54fef9bae70f26053cacdd489ff338d152 parent 5a3b5899f190a365eed806302f4b58a493233f96 author James Simmons Tue, 21 Jun 2005 17:16:58 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:39 -0700 [PATCH] fbdev: iomove removal Since no one is using the inbuf, outbuf of struct fb_pixmap I removed their use in the framebuffer console. The idea is instead move the pixmap functionality below the accelerated functions intead of on top as the way it is now. If there is no objection please apply. This is against Linus latestr GIT tree. Thank you. Signed-off-by: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6afbe59710f65d92d00de1f3adb5514ef634110 tree 78965f577cba4dac2b04098a786fbc9418e46eaf parent 9769f4eb3fad2dd53a5d24c81ee5f7f05450742b author Keenan Pepper Tue, 21 Jun 2005 17:16:54 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:39 -0700 [PATCH] Bring back Tux on Chips 65550 framebuffer I don't see any reason why the framebuffer should need to be cleared, and it makes Tux vanish. Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78c03717c415d81879e4dac2e452d1a0d3738a80 tree 277129e5fbb90a109e65e64e4646861ae85134d5 parent 27f931dac93057bbae691f66a49b11ff2f483bee author Gerd Knorr Tue, 21 Jun 2005 17:16:56 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:39 -0700 [PATCH] some vesafb fixes Fix the size passed to release_mem_region in an error path. Also adjust the message printed when vesafb cannot load; the comment there already says this must not be fatal, so the message should also not mention the word 'abort' otherwise indicating a problem to worry about in the log. Signed-off-by: Jan Beulich Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a3b5899f190a365eed806302f4b58a493233f96 tree 8bb452da1dd2e2e70b6e5b5baa96b0168a590850 parent 78c03717c415d81879e4dac2e452d1a0d3738a80 author Andrew Morton Tue, 21 Jun 2005 17:16:57 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:39 -0700 [PATCH] intelfbdrv naming fix Can't use this fancy name, because it's used to generate a sysfs filename: kobject_register failed for Intel(R) 830M/845G/852GM/855GM/865G/915G Framebuffer Driver (-13) [] kobject_register+0x43/0x70 [] bus_add_driver+0x52/0xa0 [] pci_device_shutdown+0x0/0x20 [] pci_register_driver+0x61/0x80 [] intelfb_init+0x59/0x70 [] do_initcalls+0x2c/0xc0 [] kern_mount+0x15/0x17 [] init+0x0/0x100 [] init+0x2a/0x100 [] kernel_thread_helper+0x0/0x18 [] kernel_thread_helper+0x5/0x18 Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27f931dac93057bbae691f66a49b11ff2f483bee tree 1b7692ed3b9c48048e89fd72bee5f6c45631263d parent e6afbe59710f65d92d00de1f3adb5514ef634110 author Andrew Morton Tue, 21 Jun 2005 17:16:55 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:39 -0700 [PATCH] s1d13xxxfb linkage fix s1d13xxxfb_remove() is referenced from s1d13xxxfb_probe(), which is marked __devinit(). So s1d13xxxfb_remove() cannot be marked __devexit. Does this all make sense? Clearly the __devexit section will still be in core when the __devinit code is run, if the driver was loaded as a module. But I suppose that if the driver is statically linked, the __devexit section might be dropped early in boot. Still, we wouldn't drop __devexit prior to initcall completion, at which point the __devinit code has all been run anyway. verdict: this code was legal and made sense. Is this a generic problem, or an arm-specific problem? UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 `.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o Cc: Russell King Cc: Rusty Russell Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2966632a134e865db3c819346a1dc7d96e05309 tree 7285849b32f99b40de71e647366f1703a612e2c2 parent 642217c17b9a56c7e4cf48f6a13dfd5e4a4c2e10 author Andrew Morton Tue, 21 Jun 2005 17:16:51 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:38 -0700 [PATCH] rock: handle directory overflows Handle the case where the variable-sized part of a rock-ridge directory entry overhangs the end of the buffer which we allocated for it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e595447e177b39aa6c96baaa57b30cde2d8b9df7 tree 7c6c1be2e623fc3cefb1a0afcb51247293a393eb parent 9eb7f2c67c41d2cd730aedcd23e5baca09211d03 author Andrew Morton Tue, 21 Jun 2005 17:16:50 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:38 -0700 [PATCH] rock.c: handle corrupted directories The bug in rock.c is that it's totally trusting of the contents of the directories. If the directory says there's a continuation 10000 bytes into this 4k block then we cheerily poke around in memory we don't own and oops. So change rock_continue() to apply various sanity checks, at least ensuring that the offset+length remain within the bounds for the header part of a struct rock_ridge directory entry. Note that the kernel can still overindex the buffer due to the variable size of the rock-ridge directory entries. We cannot check that in rock_continue() unless we go parse the directory entry's signature and work out its size. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9eb7f2c67c41d2cd730aedcd23e5baca09211d03 tree 63f6c759402fe69ee322c1e3c9738f4c52741a23 parent a089221c5e8a5ae8d74a919c8c7a4d2f68bd59e5 author Andrew Morton Tue, 21 Jun 2005 17:16:49 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:38 -0700 [PATCH] isofs: remove debug stuff isofs/inode.c: - Remove some crufty leak detection code - coding style cleanups - kfree(NULL) is permitted. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9769f4eb3fad2dd53a5d24c81ee5f7f05450742b tree f8847263d1f91e16a819a97314b497a7ca561f9c parent f2966632a134e865db3c819346a1dc7d96e05309 author Jeremy White Tue, 21 Jun 2005 17:16:53 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:38 -0700 [PATCH] isofs: show hidden files, add granularity for assoc/hidden files flags The current isofs treatment of hidden files is flawed in two ways. First, it does not provide sufficient granularity; it hides both 'hidden' files and 'associated' files (resource fork for Mac files). Second, the default behavior to completely strip hidden files, while an admirable implementation of the spec, is a poor choice given the real world use of hidden files as a poor mans copy protection scheme for MSDOS and Windows based systems. A longer description of this is available here: http://www.uwsg.iu.edu/hypermail/linux/kernel/0205.3/0267.html This patch was originally built after a few private conversations with Alan Cox; I shamefully failed to persist in seeing it go forward, I hope to make amends now. This patch introduces granularity by allowing explicit control for both hidden and associated files. It also reverses the default so that by default, hidden files are treated as regular files on the iso9660 file system. This allow Wine to process Windows CDs, including those that are hybrid Mac/Windows CDs properly and completely, without our having to go muck up peoples fstabs as we do now. (I have tested this with such a hybrid + hidden CD and have verified that this patch works as claimed). Signed-off-by: Jeremy White Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642217c17b9a56c7e4cf48f6a13dfd5e4a4c2e10 tree 4f6d979e1092e7517eb84a5c2d2ab81c007cff54 parent e595447e177b39aa6c96baaa57b30cde2d8b9df7 author Andrew Morton Tue, 21 Jun 2005 17:16:51 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:38 -0700 [PATCH] rock: rename union members The silly thing does: struct foo { ... }; ... #define foo 42 so you can no longer refer to `struct foo' in C code. Rename the structures. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba40aaf04314ec5efd090e69518033fc55f450fa tree 18ad87d2ca799132d99b5ce09890765e22d27beb parent 76ab07ebc3ca69e2f14ccbed0de3a9dda9adc6da author Andrew Morton Tue, 21 Jun 2005 17:16:46 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:37 -0700 [PATCH] rock: remove MAYBE_CONTINUE - remove the MAYBE_CONTINUE macro - kfree(NULL) is OK. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a089221c5e8a5ae8d74a919c8c7a4d2f68bd59e5 tree 59418dd75d6828ff09d0a13fe9fab76f944c4ee8 parent 7373909de403d229979842081c63917452e39402 author Andrew Morton Tue, 21 Jun 2005 17:16:48 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:37 -0700 [PATCH] rock: lindent rock.h So we have a couple of rock-ridge bugs. First up, rotoroot the poor thing into something which it is possible to work on. Feed rock.h through Lindent, tidy a couple of things by hand. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76ab07ebc3ca69e2f14ccbed0de3a9dda9adc6da tree c70cdebb34e8833feb5d6af2c364e59fd76990dd parent 04f7aa9c7dc615c690cede9a80c83625ad2efef7 author Andrew Morton Tue, 21 Jun 2005 17:16:46 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:37 -0700 [PATCH] rock: remove SETUP_ROCK_RIDGE - Remove the SETUP_ROCK_RIDGE macro. - In rock_ridge_symlink_readpage(), rename raw_inode to raw_de. It points at a directory entry, not an inode. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7373909de403d229979842081c63917452e39402 tree 6c21e360b896626289a73c5611801538907540d5 parent ba40aaf04314ec5efd090e69518033fc55f450fa author Andrew Morton Tue, 21 Jun 2005 17:16:47 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:37 -0700 [PATCH] rock: comment tidies Be a bit more standard in comment layout. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04f7aa9c7dc615c690cede9a80c83625ad2efef7 tree 5722a64ef5bc7ea521e1849d9e239a4db993c5ae parent a40ea8f22e59c038ffdf219251a67311b9f6e362 author Andrew Morton Tue, 21 Jun 2005 17:16:45 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:37 -0700 [PATCH] rock: remove CHECK_CE Remove the CHECK_CE macro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a40ea8f22e59c038ffdf219251a67311b9f6e362 tree ee1ce92290e3a9785c19ecc71271d895da02a766 parent 12121714fbf36023d5892034d0c97df54a451543 author Andrew Morton Tue, 21 Jun 2005 17:16:44 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:36 -0700 [PATCH] rock: remove CONTINUE_DECLS Remove the CONTINUE_DECLS macro. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a96619145840c6eb50d85759f72d9337db411f7 tree 4363df6793fffeef8e400c81aebbc9f25cff7da2 parent 1684b2bba6972749bc9acee57585acd6c78050b2 author Ian Kent Tue, 21 Jun 2005 17:16:41 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:36 -0700 [PATCH] autofs4: subversion bump to identify these changes Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fa393a1d3d9485e428a3c74b5599190c14b13db tree d106fe4e28c5c03778df692ba2022ea011098be3 parent 1d372116383f79e42a3eb010c7d6ec3dd28767b3 author Andrew Morton Tue, 21 Jun 2005 17:16:43 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:36 -0700 [PATCH] rock: manual tidies Fix stuff which Lindent got wrong, rework a few deeply-nested blocks. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d372116383f79e42a3eb010c7d6ec3dd28767b3 tree deaf0afc0e858316a405bae5d2b36b14d5d1f56e parent 8a96619145840c6eb50d85759f72d9337db411f7 author Andrew Morton Tue, 21 Jun 2005 17:16:42 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:36 -0700 [PATCH] rock: lindent it Trying to turn rock.c into something which humans can read so we can fix some bugs. Start out by feeding it through scripts/Lindent. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12121714fbf36023d5892034d0c97df54a451543 tree 138b73f440bbb7482144e4a51578d23881a864f1 parent 7fa393a1d3d9485e428a3c74b5599190c14b13db author Andrew Morton Tue, 21 Jun 2005 17:16:44 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:36 -0700 [PATCH] rock: remove CHECK_SP Remove the CHECK_SP macro. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc9acc885819696c0ed00f4f0f0cda0c7583f116 tree 118db1e835e0b69f3ed50926801990bd2b0d2b7d parent 9b1e3afd6d56937ced3914971621d0f053ea9178 author Ian Kent Tue, 21 Jun 2005 17:16:39 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:35 -0700 [PATCH] autofs4: post expire race fix At the tail end of an expire it's possible for a process to enter autofs4_wait, with a waitq type of NFY_NONE but find that the expire is finished. In this cause autofs4_wait will try to create a new wait but not notify the daemon leading to a hang. As the wait type is meant to delay mount requests from revalidate or lookup during an expire and the expire is done all we need to do is check if the dentry is a mountpoint. If it's not then we're done. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b1e3afd6d56937ced3914971621d0f053ea9178 tree 059762a20c069273247b423b6075adcd89624e42 parent 8818760512424f60ad9fafb7a087b007a9274eb3 author Ian Kent Tue, 21 Jun 2005 17:16:38 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:35 -0700 [PATCH] autofs4: avoid panic on bind mount of autofs owned directory While this is not a solution to bind and move mounts on autofs owned directories it is necessary to fix the trady error handling. At least it avoids the kernel panic I observed checking out bug #4589. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8818760512424f60ad9fafb7a087b007a9274eb3 tree fb49ce398750f42803d4631a24e4a2ffe35d79d7 parent 278d72ae8803ffcd16070c95fe1d53f4466dc741 author Max Asbock Tue, 21 Jun 2005 17:16:36 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:35 -0700 [PATCH] ibmasm driver: fix race in command refcount logic This patch fixes a race in the command reference counting logic by putting spinlocks around kobject_put() in the command_put function. - Also added debug messages. - Changed a memcpy to memcpy_fromio since we are reading from io space. Signed-off-by: Max Asbock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 278d72ae8803ffcd16070c95fe1d53f4466dc741 tree 6cee233065ff15a42dfa86b7b159c4b06bb01b3f parent b8acb808468a88a188d7c5aba3681c583a5785f9 author Max Asbock Tue, 21 Jun 2005 17:16:34 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:35 -0700 [PATCH] ibmasm driver: redesign handling of remote control events This patch rewrites the handling of remote control events. Rather than making them available from a special file in the ibmasmfs, now the events from the RSA card get translated into kernel input events and injected into the input subsystem. The driver now will generate two /dev/input/eventX nodes -- one for the keyboard and one for the mouse. The mouse node generates absolute events more like a touch pad than a mouse. Signed-off-by: Vernon Mauery Signed-off-by: Max Asbock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1684b2bba6972749bc9acee57585acd6c78050b2 tree 2af8d8837b25f82e09cfe478a103779a3e98bfc4 parent cc9acc885819696c0ed00f4f0f0cda0c7583f116 author Ian Kent Tue, 21 Jun 2005 17:16:41 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:35 -0700 [PATCH] autofs4: bad lookup fix For browsable autofs maps, a mount request that arrives at the same time an expire is happening can fail to perform the needed mount. This happens becuase the directory exists and so the revalidate succeeds when we need it to fail so that lookup is called on the same dentry to do the mount. Instead lookup is called on the next path component which should be whithin the mount, but the parent isn't mounted. The solution is to allow the revalidate to continue and perform the mount as no directory creation (at mount time) is needed for browsable mount entries. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5ccc842318efcd7c05dee3203dfdbbafae47bd6 tree 5c14043ac9cdef239e38c3530d2ec1855fdadb73 parent 2b071886170df456e230c38a3e504da4a11fff79 author Max Asbock Tue, 21 Jun 2005 17:16:32 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:34 -0700 [PATCH] ibmasm driver: fix command buffer size First of a series of patches for the ibmasm driver. (that is the driver for the IBM xSeries RSA service processor) To summarize what they do: [1] change a #define for the buffer size for commands [2] Fix a bug where threads in the event handling code calling wait_event_interruptible() weren't woken up as expected. [3] Redesigned how remote mouse and keyboard events received by the driver are handled. [4] Fixed a race in the command reference counting logic. This patch: - change a #define for the buffer size for commands Signed-off-by: Max Asbock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9b9a04796eade5241452a913ec6f3433437b4f5 tree 9cd181fb9e905245dc07913c3a3e421d17ca6ac9 parent 447570cfde680d5bf09c47b9c8d1dcf5bcb18f10 author Heiko Carstens Tue, 21 Jun 2005 17:16:30 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:34 -0700 [PATCH] s390: memory detection > 32GB The kernel takes a very long time to boot if the memory size is bigger then 32767 MB. The memory size is contained in a structure created by an sclp call. The kernel accesses the field with a LH instrution which performs a sign extension of a 16 bit word. In the case of a memory size with bit 2^15 set this results in a very large value and the memory detection just loops for a long time. In addition if more then 64 GB are used on a 64 bit system the memory size is read from an incorrect storage location. Use zero-extention to read the 16 bit memory size and the correct offset to read the 4 byte memory size on 64 bit. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8acb808468a88a188d7c5aba3681c583a5785f9 tree 7a4e5367e05cc52bc8008baaa8c35ed05989ec60 parent f5ccc842318efcd7c05dee3203dfdbbafae47bd6 author Max Asbock Tue, 21 Jun 2005 17:16:33 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:34 -0700 [PATCH] ibmasm driver: correctly wake up sleeping threads Due to my incomplete understanding of the wait_event_interruptible() function threads waiting for service processor events were not woken up. This patch fixes that problem. Signed-off-by: Max Asbock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b071886170df456e230c38a3e504da4a11fff79 tree 0031ea86de067846c22d15c35bd78d611f61edb7 parent e9b9a04796eade5241452a913ec6f3433437b4f5 author Heiko Carstens Tue, 21 Jun 2005 17:16:31 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:34 -0700 [PATCH] s390: pending interrupt after ipl from reader Wait for interrupt and clear status pending after resetting the reader. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77eb65cbc18d86a9c334964ed4c3d178f5560918 tree 71b151e51625ce541398cac5280f4dd2dae072d4 parent 14651c798a2a4d15ccc53d064df28bfd0283bad6 author Heiko Carstens Tue, 21 Jun 2005 17:16:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:33 -0700 [PATCH] s390: kernel stack overflow panic die() doesn't return, therefore print registers and then panic instead. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fd6e4a44ff9ff406bcff69050b508f186507df1 tree 224b28914a10b8c17b57df60624e0f94366a51b8 parent 5bdfcfcc0780f58b927a164dfd54d1e1b6767347 author Cornelia Huck Tue, 21 Jun 2005 17:16:27 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:33 -0700 [PATCH] s390: cio documentation Some clarifications in the cio documentation. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 447570cfde680d5bf09c47b9c8d1dcf5bcb18f10 tree a11ceabb2ac9782c15cd4a8c57c325badb44219e parent 77eb65cbc18d86a9c334964ed4c3d178f5560918 author Heiko Carstens Tue, 21 Jun 2005 17:16:29 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:33 -0700 [PATCH] s390: cmm sender parameter visibility Make cmm module parameter "sender" visible in sysfs. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14651c798a2a4d15ccc53d064df28bfd0283bad6 tree ad7471481ad07614be725e9370f0c45f9e27a026 parent 6fd6e4a44ff9ff406bcff69050b508f186507df1 author Martin Schwidefsky Tue, 21 Jun 2005 17:16:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:33 -0700 [PATCH] s390: #ifdefs in compat_ioctls Remove superflous #if .. #endif pairs from compat_ioctl.c. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faec1e99ba9ca7371d9aee1656938373133c4b21 tree ec9bf1ee8f5ab2c00eb5a8dbd13073e7adbc6069 parent dbce706e2550253c5ab6043f4f5dfde0cd02470f author Paolo 'Blaisorblade' Giarrusso Tue, 21 Jun 2005 17:16:21 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:32 -0700 [PATCH] uml: complete hw_controller_type->release conversion This occurrence of free_irq_by_irq_and_dev() was missed when converting UML to the use of hw_controller_type->release. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbce706e2550253c5ab6043f4f5dfde0cd02470f tree 5d96bab350d86e43e32faa80b64e05e7dc514ae8 parent 5757b284a300e0e5d2173750906625b6470bd9f0 author Paolo 'Blaisorblade' Giarrusso Tue, 21 Jun 2005 17:16:19 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:32 -0700 [PATCH] uml: add and use generic hw_controller_type->release With Chris Wedgwood Currently UML must explicitly call the UML-specific free_irq_by_irq_and_dev() for each free_irq call it's done. This is needed because ->shutdown and/or ->disable are only called when the last "action" for that irq is removed. Instead, for UML shared IRQs (UML IRQs are very often, if not always, shared), for each dev_id some setup is done, which must be cleared on the release of that fd. For instance, for each open console a new instance (i.e. new dev_id) of the same IRQ is requested(). Exactly, a fd is stored in an array (pollfds), which is after read by a host thread and passed to poll(). Each event registered by poll() triggers an interrupt. So, for each free_irq() we must remove the corresponding host fd from the table, which we do via this -release() method. In this patch we add an appropriate hook for this, and remove all uses of it by pointing the hook to the said procedure; this is safe to do since the said procedure. Also some cosmetic improvements are included. This is heavily based on some work by Chris Wedgwood, which however didn't get the patch merged for something I'd call a "misunderstanding" (the need for this patch wasn't cleanly explained, thus adding the generic hook was felt as undesirable). Signed-off-by: Paolo 'Blaisorblade' Giarrusso CC: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b77d6adc922b8bbf8b16b67f567958c42962cf88 tree 6d212543f10d0330b73ec3932d17c97a1da56bdf parent faec1e99ba9ca7371d9aee1656938373133c4b21 author Paolo 'Blaisorblade' Giarrusso Tue, 21 Jun 2005 17:16:24 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:32 -0700 [PATCH] uml: make hw_controller_type->release exist only for archs needing it With Chris Wedgwood As suggested by Chris, we can make the "just added" method ->release conditional to UML only (better: to archs requesting it, i.e. only UML currently), so that other archs don't get this unneeded crud, and if UML won't need it any more we can kill this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso CC: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60b2737de1b1ddfdb90f3ba622634eb49d6f3603 tree a352eda5ca213cdae0a2eabd6693b8a4f573e38f parent b77d6adc922b8bbf8b16b67f567958c42962cf88 author Paolo 'Blaisorblade' Giarrusso Tue, 21 Jun 2005 17:16:25 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:32 -0700 [PATCH] uml: fix linkage of tt mode against NPTL With Al Viro To make sure switcheroo() can execute when we remap all the executable image, we used a trick to make it use a local copy of errno... this trick does not work with NPTL glibc, only with LinuxThreads, so use another (simpler) one to make it work anyway. Hopefully, a lot improved thanks to merging with the version of Al Viro (which had his part of problems, though, i.e. removing a fix to another bug and not fixing the problem on i386). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bdfcfcc0780f58b927a164dfd54d1e1b6767347 tree 468f1bfb38cfece7ec050655ec870c30adc3538a parent 60b2737de1b1ddfdb90f3ba622634eb49d6f3603 author Cornelia Huck Tue, 21 Jun 2005 17:16:26 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:32 -0700 [PATCH] s390: cio max channels checks Fix max channel check in cio_ignore display function. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 960c2a89a051333d2e6793a416d9a33c4b116b41 tree 09de2c4b0e3ac3e0a4320e368353d7ae881bbb9e parent 0adbb44a146d6dff3f74ea7a9d3826f8942ed709 author Hirokazu Takata Tue, 21 Jun 2005 17:16:16 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:31 -0700 [PATCH] m32r: Update defconfig files Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5757b284a300e0e5d2173750906625b6470bd9f0 tree 262e1ad45505aa85ef202e5be8e3f022e5249bf6 parent 960c2a89a051333d2e6793a416d9a33c4b116b41 author Hirokazu Takata Tue, 21 Jun 2005 17:16:17 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:31 -0700 [PATCH] m32r: Use asm-generic/div64.h The current include/asm-m32r/div64.h of 2.6.12-rc5 looks buggy. Here is a patch for updating it to use asm-generic/div64.h for m32r like other architectures. Signed-off-by: Hitoshi Yamamoto Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cc1265e9a8579be0029cd675ec22a6151893e04 tree 5c98574d9d0001f031041790caab3f3630b09359 parent 934bb7f88eb398f62314fa63ba72ac6dcd21192a author Hirokazu Takata Tue, 21 Jun 2005 17:16:15 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:31 -0700 [PATCH] m32r: Cleanup arch/m32r/mm/extable.c Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0adbb44a146d6dff3f74ea7a9d3826f8942ed709 tree 0876bf3ec1c618ed8d0ba1fc2638fd8c8d804e96 parent 1cc1265e9a8579be0029cd675ec22a6151893e04 author Hirokazu Takata Tue, 21 Jun 2005 17:16:16 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:31 -0700 [PATCH] m32r: Remove include/asm-m32r/m32102peri.h This patch removes an obsolete header file include/asm-m32r/m32102peri.h. In this header, there are some undesirable single character types, like V. And the header is almost no longer used. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 934bb7f88eb398f62314fa63ba72ac6dcd21192a tree 128dcf7fd138a8f9b340c776c5acc501cd913f0a parent 6f973b001a9b511900fb73d816adf77d8755838c author Hirokazu Takata Tue, 21 Jun 2005 17:16:14 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:30 -0700 [PATCH] m32r: Update m32r_cfc.[ch] to support Mappi-III platform This patch is for the M32R CF/PCMCIA drivers to support a new platform, Mappi-III evaluation board. Signed-off-by: Mamoru Sakugawa Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f973b001a9b511900fb73d816adf77d8755838c tree afe857801e8afcda19ba84fb4961abd050ee6cf6 parent 2368086344c3d67b0f4aecac39d620fb9b8795c3 author Hirokazu Takata Tue, 21 Jun 2005 17:16:13 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:30 -0700 [PATCH] m32r: Update setup_xxxxx.c Change coding styles of hw_interrupt_type struct's initialization portions. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2368086344c3d67b0f4aecac39d620fb9b8795c3 tree aa55003e311abf6049acd23f5ff7f8bfd24eca4c parent d4c477ca5448f19afaaf6c0cfd655009ea9e614d author Hirokazu Takata Tue, 21 Jun 2005 17:16:10 -0700 committer Linus Torvalds Tue, 21 Jun 2005 19:07:30 -0700 [PATCH] m32r: Support M3A-2170(Mappi-III) platform This patchset is for supporting a new m32r platform, M3A-2170(Mappi-III) evaluation board. An M32R chip multiprocessor is equipped on the board. http://http://www.linux-m32r.org/eng/platform/platform.html * arch/m32r/Kconfig: Support Mappi-III platform. * arch/m32r/kernel/Makefile: ditto. * arch/m32r/kernel/io_mappi3.c: ditto. * arch/m32r/kernel/setup.c: ditto. * arch/m32r/kernel/setup_mappi3.c: ditto. * include/asm-m32r/m32102.h: ditto. * include/asm-m32r/m32r.h: ditto. * include/asm-m32r/mappi3/mappi3_pld.h: ditto. * include/asm-m32r/ide.h: CF support for Mappi-III. * arch/m32r/kernel/setup_mappi3.c: ditto. * arch/m32r/mappi3/defconfig.smp: A default config file for Mappi-III. * arch/m32r/mappi3/dot.gdbinit: A default .gdbinit file for Mappi-III. * arch/m32r/boot/compressed/m32r_sio.c: Modified for Mappi-III - At boot time, m32r-g00ff bootloader makes MMU off for Mappi-III, on the contrary it makes MMU on for Mappi-II. * arch/m32r/kernel/io_mappi2.c: Update comments. * arch/m32r/kernel/setup_mappi2.c: ditto. Signed-off-by: Mamoru Sakugawa Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5d310b349b2cbcc0dab31139c92201f332695bb tree 2884b77c09a575d8252bb490d384e8f1ece19d42 parent 22329b511a97557b293583194037d1f4c71e1504 author Brent Casavant Tue, 21 Jun 2005 17:16:01 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:32 -0700 [PATCH] ioc4: CONFIG split The SGI IOC4 I/O controller chip drivers are currently all configured by CONFIG_BLK_DEV_SGIIOC4. This is undesirable as not all IOC4 hardware features are needed by all systems. This patch adds two configuration variables, CONFIG_SGI_IOC4 for core IOC4 driver support (see patch 1/3 in this series for further explanation) and CONFIG_SERIAL_SGI_IOC4 to independently enable serial port support. Signed-off-by: Brent Casavant Acked-by: Pat Gefre Acked-by: Jeremy Higdon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e400bae98499583767da58fb0a1b9ad3e24fcb86 tree bd14c459c317d08de043a42b585a0c1493838cc7 parent 9b843cda193c56f5e12fedeaf95e0126b706d57b author Yoichi Yuasa Tue, 21 Jun 2005 17:15:56 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:32 -0700 [PATCH] mips: add vr41xx gpio support Add vr41xx gpio support. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4c477ca5448f19afaaf6c0cfd655009ea9e614d tree 75571ad144ff904afbd39b1b24766461255396ac parent e5d310b349b2cbcc0dab31139c92201f332695bb author Brent Casavant Tue, 21 Jun 2005 17:16:01 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:32 -0700 [PATCH] ioc4: PCI bus speed detection Several hardware features of SGI's IOC4 I/O controller chip require timing-related driver calculations dependent upon the PCI bus speed. This patch enables the core IOC4 driver code to detect the actual bus speed and store a value that can later be used by the IOC4 subdrivers as needed. Signed-off-by: Brent Casavant Acked-by: Pat Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22329b511a97557b293583194037d1f4c71e1504 tree 925e6c4566371e7ffb66a54b631049b958c19eca parent e400bae98499583767da58fb0a1b9ad3e24fcb86 author Brent Casavant Tue, 21 Jun 2005 17:15:59 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:32 -0700 [PATCH] ioc4: Core driver rewrite This series of patches reworks the configuration and internal structure of the SGI IOC4 I/O controller device drivers. These changes are motivated by several factors: - The IOC4 chip PCI resources are of mixed use between functions (i.e. multiple functions are handled in the same address range, sometimes within the same register), muddling resource ownership and initialization issues. Centralizing this ownership in a core driver is desirable. - The IOC4 chip implements multiple functions (serial, IDE, others not yet implemented in the mainline kernel) but is not a multifunction PCI device. In order to properly handle device addition and removal as well as module insertion and deletion, an intermediary IOC4-specific driver layer is needed to handle these operations cleanly. - All IOC4 drivers are currently enabled by a single CONFIG value. As not all systems need all IOC4 functions, it is desireable to enable these drivers independently. - The current IOC4 core driver will trigger loading of all function-level drivers, as it makes direct calls to them. This situation should be reversed (i.e. function-level drivers cause loading of core driver) in order to maintain a clear and least-surprise driver loading model. - IOC4 hardware design necessitates some driver-level dependency on the PCI bus clock speed. Current code assumes a 66MHz bus, but the speed should be autodetected and appropriate compensation taken. This patch series effects the above changes by a newly and better designed IOC4 core driver with which the function-level drivers can register and deregister themselves upon module insertion/removal. By tracking these modules, device addition/removal is also handled properly. PCI resource management and ownership issues are centralized in this core driver, and IOC4-wide configuration actions such as bus speed detection are also handled in this core driver. This patch: The SGI IOC4 I/O controller chip implements multiple functions, though it is not a multi-function PCI device. Additionally, various PCI resources of the IOC4 are shared by multiple hardware functions, and thus resource ownership by driver is not clearly delineated. Due to the current driver design, all core and subordinate drivers must be loaded, or none, which is undesirable if not all IOC4 hardware features are being used. This patch reorganizes the IOC4 drivers so that the core driver provides a subdriver registration service. Through appropriate callbacks the subdrivers can now handle device addition and removal, as well as module insertion and deletion (though the IOC4 IDE driver requires further work before module deletion will work). The core driver now takes care of allocating PCI resources and data which must be shared between subdrivers, to clearly delineate module ownership of these items. Signed-off-by: Brent Casavant Acked-by: Pat Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac5b33c9bcf1c05ae949b026a51d7f8f9573591c tree 4df7bb1a13ec444b3be94b3575a23d7075ebd902 parent 145d01e4287b8cbf50f87c3283e33bf5c84e8468 author Stephen Rothwell Tue, 21 Jun 2005 17:15:54 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:31 -0700 [PATCH] ppc64: tidy up vio devices fake parent Currently we dynamically allocate the fake parent device for all devices on the vio bus. This patch statically allocates it. This also allows us to reuse it for the iSeries "generic" vio device (that is used for passing to dma routines when communicating with the hypervisor without a device involved). Also unexport vio_bus_type as it is never used in modules. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b843cda193c56f5e12fedeaf95e0126b706d57b tree d7dfd9a300d96a1bcbe2f3eda7f978fbd41b9231 parent 515bae9cdc6a78eda0879e1f158056d73ec808b7 author Anton Blanchard Tue, 21 Jun 2005 17:15:55 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:31 -0700 [PATCH] ppc64: set/clear SMT capable bit at boot Allow the SMT bit to be set/reset at boot, like the ALTIVEC bit. This means we will enable SMT on unknown cpus that support it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 515bae9cdc6a78eda0879e1f158056d73ec808b7 tree 12a5e1520ceda0cacc680b9d8665ca6af878b8e2 parent ac5b33c9bcf1c05ae949b026a51d7f8f9573591c author Anton Blanchard Tue, 21 Jun 2005 17:15:55 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:31 -0700 [PATCH] ppc64: Mark kernel hptes dirty We dont use the hardware referenced and changed bits and setting them early avoids a store to memory. We already do this for userspace hptes but not kernel ones. Do it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 145d01e4287b8cbf50f87c3283e33bf5c84e8468 tree 368786294f6cf7b8b909aceaac8cc4d90be2ab7d parent 7f74e79fe749da035cc150446f02aec29938a5c8 author Stephen Rothwell Tue, 21 Jun 2005 17:15:52 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:31 -0700 [PATCH] ppc64 iSeries: allow build with no PCI This patch allows iSeries to build with CONFIG_PCI=n. This is useful for partitions that have only virtual I/O. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89ef68f0be53df6c4f1552fc329fe5abb1d5ed33 tree 2ee77b31b09869057eaf9830e3aba68f53128217 parent 0c3b4f1a8e06584d8a1051a74ed79cf8b41f703e author Stephen Rothwell Tue, 21 Jun 2005 17:15:50 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:30 -0700 [PATCH] ppc64 iSeries: remove XmPciLpEvent.c This patch just merges XmPciLpEvent.c into iSeries_irq.c (the only caller of its only external function). XmPciLpEvent.c just contained the lowlevel iSeries irq code. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f74e79fe749da035cc150446f02aec29938a5c8 tree d7952289461c684fd1bab599bf492c4e3a8b4ef9 parent 89ef68f0be53df6c4f1552fc329fe5abb1d5ed33 author Stephen Rothwell Tue, 21 Jun 2005 17:15:51 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:30 -0700 [PATCH] ppc64 iSeries: tidy up irq code after merge This patch just removes some dead code, fixes messages that referred to the file this code used to be in and inserts XmPciLpEvent_init into its caller. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c3b4f1a8e06584d8a1051a74ed79cf8b41f703e tree 6eaa6c372ce896649a6dcbdb66f1b58cda0fa931 parent 061c063efce96b33f9e26d5f83a8eb0643fa493c author Stephen Rothwell Tue, 21 Jun 2005 17:15:49 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:30 -0700 [PATCH] ppc64 iSeries: irq simple cleanups This patch is just simple cleanups to the iSeries irq code. - whitespace and comments - rearrange some functions to avoid forward declarations - remove XmPciLpEvent.h as its functions were declared elsewhere - remove decaration of function that no longer exists No semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 061c063efce96b33f9e26d5f83a8eb0643fa493c tree 6e40638f187b5d1f540d0c777d2cdc4f83ccfbd0 parent a2ebaf250fabc5c5644b707dbee44c9e0ec442e9 author Stephen Rothwell Tue, 21 Jun 2005 17:15:48 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:30 -0700 [PATCH] ppc64 iSeries: remove some more members of iSeries_Device_Node The AgentId, PhbId, FrameId, CardLocation and Location members of iSeries_Device_Node are stored early in the boot process just so that a message about the device can be printed later in the boot process. Remove them and construct the message by doing the VPD parsing at the time the message is printed. Also remove a few unused defines in iSeries_VpdInfo.c. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea7190d0afebbd922eeb13ee6a8148b17964b1b2 tree 7d0a25c306f9f70b4347fc0e37c7fd759d35dc1f parent c670b1acd0ed0d9f7a27154759a9825cb5012ae4 author Stephen Rothwell Tue, 21 Jun 2005 17:15:42 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:29 -0700 [PATCH] ppc64 iSeries: remove iSeries_pci_reset.c The file arch/ppc64/kernel/iSeries_pci_reset contains only one function that is not use anywhere (any more). Remove it. This function is the only user of the ReturnCode member of iSeries_Device_Node, so remove that as well. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7eb22d201936fb3450fa5d1d30cbf2de2fb918b tree 3071d16b9b626dfbd5d910befc2141a02021412c parent ea7190d0afebbd922eeb13ee6a8148b17964b1b2 author Stephen Rothwell Tue, 21 Jun 2005 17:15:44 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:29 -0700 [PATCH] ppc64 iSeries: iommu.h cleanups The iommu_table_cb structure is iSeries specific, so move it to the header file that declares the function we pass it to. vio_tce_table and iommu_setup_iSeries no longer exist, so remove their declarations. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aab41dea80b1b00e66533af096f797320be05f13 tree 1ee1f25388e4ecf6c3a1cb3eac81fc04c7e02c6c parent 57ca86d4f0e44f81be10bc77a5d0e26760e4844f author Stephen Rothwell Tue, 21 Jun 2005 17:15:46 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:29 -0700 [PATCH] ppc64 iSeries: iSeries_pci.h cleanups Remove no longer used things from iSeries_pci.h. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2ebaf250fabc5c5644b707dbee44c9e0ec442e9 tree 3756e4d617cd2466da4b40fc15875cc369314cfc parent aab41dea80b1b00e66533af096f797320be05f13 author Stephen Rothwell Tue, 21 Jun 2005 17:15:47 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:29 -0700 [PATCH] ppc64 iSeries: remove IoRetry from iSeries_Device_Node The IoRetry member of iSeries_Devide_Node is really only used locally, so remove it and replace it with a local variable. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57ca86d4f0e44f81be10bc77a5d0e26760e4844f tree 86f6283baadc33fa6ce2e1b6ea4c899f13971e9b parent e7eb22d201936fb3450fa5d1d30cbf2de2fb918b author Stephen Rothwell Tue, 21 Jun 2005 17:15:45 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:29 -0700 [PATCH] ppc64 iSeries: iSeries_VpdInfo.c cleanups Clean up iSeries_VpdInfo.c: - white space and comment fixes - make a function static - the functions here are only called from iSeries_pci.c, so CONFIG_PCI will be set (so remove check) - only build when CONFIG_PCI is set - remove unneeded includes and cast Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd61ce922770b299081c3e729ea65758ed676034 tree bf864d4cbb56327011ed9b8d369791ed0a680e31 parent 0bc0ffd5f0854b9143606684fb925f4290ae13e7 author Stephen Rothwell Tue, 21 Jun 2005 17:15:37 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:28 -0700 [PATCH] ppc64 iSeries: eliminate some unused inline functions This patch removes from the iSeries header files a large number of inline functions that are not used. It also changes the only caller of a HvCallCfg function that is outside HvLpConfig.h to its equivalent HvLpConfig function and no longer includes HvCallCfg.h where it is not needed. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c92877e0a079fe5a488cb244c7afb05137702b49 tree 9bd04f29ced02094c71df1bc112d56747e436b1e parent 2310c977a9b7a4d08fbaa74e694b49b38d49f5ae author Stephen Rothwell Tue, 21 Jun 2005 17:15:39 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:28 -0700 [PATCH] ppc64 iSeries: cleanup ItLpQueue.h Just white space cleaups and move process_iSeries_events into its only caller. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c670b1acd0ed0d9f7a27154759a9825cb5012ae4 tree 3cf4409d5adc0e6cde995241792a89f209eee80d parent 4a5304f5ba04eff979cd108309eae7a00f3fff77 author Stephen Rothwell Tue, 21 Jun 2005 17:15:41 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:28 -0700 [PATCH] ppc64 iSeries: misc header cleanups Last of this round of the iSeries header cleanups - don't have two defines for the same thing (HvMaxArchitectedLps and HvMaxArchitectedVirtualLans) - HvCallSc.h only needs linux/types.h - remove unused struct definition - add "extern" to some more function declarations Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a5304f5ba04eff979cd108309eae7a00f3fff77 tree 3dcf4bf1a32d1d456dd43b33bd7cac686de7dd1a parent c92877e0a079fe5a488cb244c7afb05137702b49 author Stephen Rothwell Tue, 21 Jun 2005 17:15:40 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:28 -0700 [PATCH] ppc64 iSeries: tidy up some includes and HvCall.h This patch removes some unused bits from HvCall.h and some unneeded #includes from other files. Also includes ItLpQueue.h in paca.h in preference to a stub declaration of struct ItLpQueue. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2310c977a9b7a4d08fbaa74e694b49b38d49f5ae tree cef353edbf30d25029f2aab811584728d606cd69 parent dd61ce922770b299081c3e729ea65758ed676034 author Stephen Rothwell Tue, 21 Jun 2005 17:15:38 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:28 -0700 [PATCH] ppc64 iSeries: remove HvCallCfg.h Now that the only users of things in HvCallCfg.h are in HvLpConfig.h, merge in the bit we need and remove HvCallCfg.h. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcee38952609fccb2bdfe166b3b96bd75a292aa6 tree 8abe11ef9b03ba56ea0882433b7439d7bd576fff parent 45dc76aaf63fc336527da80337d3e3684f50f387 author Stephen Rothwell Tue, 21 Jun 2005 17:15:34 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:27 -0700 [PATCH] ppc64 iSeries: more header file white space cleanups This patch just contains white space and comment cleanups in the iSeries headers files. There are no semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b7feecb2f8fcab184a38916d10349bd6648e0bc tree 5c51827e85eff96d6c50b41fea428bcf0f1ba71a parent fcee38952609fccb2bdfe166b3b96bd75a292aa6 author Stephen Rothwell Tue, 21 Jun 2005 17:15:35 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:27 -0700 [PATCH] ppc64 iSeries: obvious code simplifications This patch does some obvious code cleanups in the iSeries headers files. - simplifies the bodies of lots of inline functions - parenthesises a macros result - removes C++ wrapping - adds "extern" to some function declarations There are no semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45dc76aaf63fc336527da80337d3e3684f50f387 tree e0a4db9c1b9e6cfa4437676d658370190b2d7fe9 parent 0e3e4a1c4dade7872fdb04a5e735ae26d8e2fbfb author Stephen Rothwell Tue, 21 Jun 2005 17:15:33 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:27 -0700 [PATCH] ppc64 iSeries: header file white space cleanups This patch just contains white space and comment cleanups in the iSeries headers files. There are no semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0bc0ffd5f0854b9143606684fb925f4290ae13e7 tree 9a4f13414a8a605ce4ff222c44788b509dae0409 parent 6b7feecb2f8fcab184a38916d10349bd6648e0bc author Stephen Rothwell Tue, 21 Jun 2005 17:15:36 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:27 -0700 [PATCH] ppc64 iSeries: remove LparData.h include/asm-ppc64/iSeries/LparData.h just included a whole lot of other files to declare variables that would be better declared in those other files. So, remove it. This will reduce that number of things needed to be included in most cases to access the relevant variables. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds commit 723e2b35e43dcbcfd737c40453caa7d198092d23 tree 3597339cd7e54aebe0e950ddee3f6cf3cdbf2071 parent 20cee16ced631f70a62c97bdebae08a1c9470448 author Sven Luther Tue, 21 Jun 2005 17:15:32 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:26 -0700 [PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and co for biarch compilers The following kind of calls currently fails : make ARCH=ppc64 CC="gcc-3.4" Since the code for detecting a biarch compiler and adding the needed 64bit magic argument fails if the AS/LD/CC commands are overriden in the command line. The attached patch fixes this by using the make override and += directive, but i am not 100% sure this will work without gmake, as i am no Makefile expert. Cc: Paul Mackerras Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6879dc137ea4efad65cab8bf8a7c0b742bcf92cc tree 13ca02150a892e97f3da20ac9cc052508cc7e8a8 parent a70d439345875d476ede258094356e2acd09b1a1 author Benjamin Herrenschmidt Tue, 21 Jun 2005 17:15:30 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:26 -0700 [PATCH] ppc32: Kill embedded system.map, use kallsyms This patch kills the whole embedded System.map mecanism and the bootloader-passed System.map that was used to provide symbol resolution in xmon. Instead, xmon now uses kallsyms like ppc64 does. No hurry getting that in Linus tree, let it be tested in -mm for a while first and make sure it doesn't break various embedded configs. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20cee16ced631f70a62c97bdebae08a1c9470448 tree f980db4e2b19dfcd4413e6cba4f667eb1d8c79cd parent 6879dc137ea4efad65cab8bf8a7c0b742bcf92cc author David Gibson Tue, 21 Jun 2005 17:15:31 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:26 -0700 [PATCH] ppc64: Abolish ioremap_mm Currently ppc64 has two mm_structs for the kernel, init_mm and also ioremap_mm. The latter really isn't necessary: this patch abolishes it, instead restricting vmallocs to the lower 1TB of the init_mm's range and placing io mappings in the upper 1TB. This simplifies the code in a number of places and eliminates an unecessary set of pagetables. It also tweaks the unmap/free path a little, allowing us to remove the unmap_im_area() set of page table walkers, replacing them with unmap_vm_area(). Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e3e4a1c4dade7872fdb04a5e735ae26d8e2fbfb tree 60c61677f86f0850f49e4ba19198ab9dd9dd4843 parent 723e2b35e43dcbcfd737c40453caa7d198092d23 author Stephen Rothwell Tue, 21 Jun 2005 17:15:33 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:26 -0700 [PATCH] ppc64 iSeries: remove iSeries_proc.h include/asm-ppc64/iSeries/iSeries_proc.h just contains a declaration of a function that no longer exists. Remove it. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba8c6d534a0144375f910e764ec965d5e8059f7a tree 0a203579ca841db7ee260264fbb7f9fd91a0195b parent 1492ec8069ea6f82bc32df27cabbec72e554e2b8 author Kumar Gala Tue, 21 Jun 2005 17:15:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:25 -0700 [PATCH] ppc32: remove some unnecessary includes of prom.h Fight the Good Fight: Limit prom.h header creep. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a70d439345875d476ede258094356e2acd09b1a1 tree 0c5d63edbc020104cac05e444c4527d8bc78e857 parent ba8c6d534a0144375f910e764ec965d5e8059f7a author Jakub Bogusz Tue, 21 Jun 2005 17:15:29 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:25 -0700 [PATCH] ppc32: don't recursively crash in die() on CHRP/PReP machines This patch avoids recursive crash (leading to kernel stack overflow) in die() on CHRP/PReP machines when CONFIG_PMAC_BACKLIGHT=y. set_backlight_* functions are placed in pmac section, which is discarded when _machine != _MACH_Pmac. Signed-off-by: Jakub Bogusz Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1492ec8069ea6f82bc32df27cabbec72e554e2b8 tree 09e52d150482a105a63dc4b71758a7aa99ecb28c parent 5be061eee931db2718feecaf10df17610386202b author Kumar Gala Tue, 21 Jun 2005 17:15:27 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:25 -0700 [PATCH] ppc32: Factor out common exception code into macro's for 4xx/Book-E 4xx and Book-E PPC's have several exception levels. The code to handle each level is fairly regular. Turning the code into macro's will ease the handling of future exception levels (debug) in forth coming chips. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee4146ab908188e556641f1cd7a10e894d10edb tree 2f603c42d1ce5679bf4de7f8cb94b8e03c87d517 parent 682afbbd1456e9e7b64f482eb05676b933173cdf author Matt Porter Tue, 21 Jun 2005 17:15:24 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:24 -0700 [PATCH] ppc32: remove orphaned ppc4xx_kgdb.c Removes ppc4xx_kgdb.c which is no longer being used. Pointed out by Andrei Konovalov. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682afbbd1456e9e7b64f482eb05676b933173cdf tree d433155e59fd76fd2afa110500ee4d07f95c0129 parent 1e5aa8c86571deea5d8e8462fedcf610e21af717 author Kumar Gala Tue, 21 Jun 2005 17:15:23 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:24 -0700 [PATCH] ppc32: Add support for MPC8245 8250 serial ports on Sandpoint Added platform device initialization for the two 8250 style UARTs that exist on the MPC8245. Additionally, updated the Sandpoint code to enable one of these UARTs if an MPC8245 is connected to it. Signed-off-by: Matt McClintock Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65145e060b1c933ebc4215c3b493f586e08a1d5c tree 7468cf3075cbd10863886ac1bd3d0f08b25fec2d parent eee4146ab908188e556641f1cd7a10e894d10edb author Kumar Gala Tue, 21 Jun 2005 17:15:25 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:24 -0700 [PATCH] ppc32: Added support for all MPC8548 internal interrupts The MPC8548 has 48 internal interrupts and 12 external interrupts. The previous generation PowerQUICC III devices only had 32 internal and 12 external interrupts on the primary interrupt controller. Expanded the number of internal interrupts to 48 for all PowerQUICC III processors and moved the interrupt numbers for the external after the 48 internal interrupt lines, rather than putting the 12 new internal interrupts at the end and ifdef'ng the whole mess. As parted of this created a macro which represents the internal interrupt senses since they are the same on all PQ3 processors. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5be061eee931db2718feecaf10df17610386202b tree 1e78b9993aaa8f176dd2a71c2d6ef01e224b34b8 parent 65145e060b1c933ebc4215c3b493f586e08a1d5c author Kumar Gala Tue, 21 Jun 2005 17:15:26 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:24 -0700 [PATCH] ppc32: Clean up NUM_TLBCAMS usage for Freescale Book-E PPC's Made the number of TLB CAM entries private and converted the board consumers to use num_tlbcam_entries which is setup at boot time from configuration registers. This way the only consumers of the #define NUM_TLBCAMS are the arrays used to manage the TLB. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e5aa8c86571deea5d8e8462fedcf610e21af717 tree 779a4c57020d92659afa583abec0283db0a0fec4 parent a1604f9121ee97b27d5ce308ddd4b70c3a220279 author Matt Porter Tue, 21 Jun 2005 17:15:22 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:24 -0700 [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 40x This patch is virtually identical to my previous 44x one. It removes 0x8000'0000 TASK_SIZE hardcoded assumption from head_4xx.S. Signed-off-by: Eugene Surovegin Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c93fcff6952068d484f2f7dae187037f46235647 tree 150cb47cc0d9b611cc15252860b1e1a2e4c512e6 parent c91999bba3ae8b21d4a965f19bf127bac3e5f7f2 author Kumar Gala Tue, 21 Jun 2005 17:15:20 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:23 -0700 [PATCH] ppc32: Removed dependency on CONFIG_CPM2 for building mpc85xx_device.c Previously we needed CONFIG_CPM2 enabled to get the proper IRQ ifdef's for CPM interrupts. Recent changes have caused that to be no longer necessary. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c91999bba3ae8b21d4a965f19bf127bac3e5f7f2 tree 47efc16ee86b909b2054b8be54d6727c9a6eec33 parent 5b37b700f7c491a9320f4e29472bbaf23dded8fd author Kumar Gala Tue, 21 Jun 2005 17:15:19 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:23 -0700 [PATCH] ppc32: Added preliminary support for the MPC8548 CDS board Adds support for using the MPC8548 processor on the CDS reference board. Currently all the major busses (PCI, PCI-X, PCI-Express, sRIO) and eTSEC3 and eTSEC4 are not supported. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b264c3527930ca4812fefc505fde9ad99d8a0117 tree 26d7ff6f5ed67d162df70dffa5c6257671c1f5f4 parent c93fcff6952068d484f2f7dae187037f46235647 author Kumar Gala Tue, 21 Jun 2005 17:15:21 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:23 -0700 [PATCH] ppc32: Converted MPC10X bridge to use platform devices instead of OCP Converted the MPC10x bridge support (used by MPC10x and 8240/1/5) to used the standard platform device model. Signed-off-by: Matt McClintock Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1604f9121ee97b27d5ce308ddd4b70c3a220279 tree f3c15e57966e44d598db4b0edaef6d645ed95f11 parent b264c3527930ca4812fefc505fde9ad99d8a0117 author Matt Porter Tue, 21 Jun 2005 17:15:22 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:23 -0700 [PATCH] cpm_uart: Route SCC2 pins for the STx GP3 board Adds SCC2 pin routing specific to the GP3 board. Signed-off-by: Matt Porter Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b37b700f7c491a9320f4e29472bbaf23dded8fd tree e8a77c322bec5e75f0524c99f3be61645560b3c3 parent da3caa204ca40c32dcb751ebead2a6835b83e8d1 author Kumar Gala Tue, 21 Jun 2005 17:15:18 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:23 -0700 [PATCH] ppc32: Added support for new MPC8548 family of PowerQUICC III processors Added descriptions of the new MPC8548 family processors, e500 core and peripherals. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da3caa204ca40c32dcb751ebead2a6835b83e8d1 tree 0bf36cf3bd9bee84cc4f93de5e99d6a0832329cb parent 8680e22f296e75e5497edb660c59c6b4dcfbbd32 author Gerald Schaefer Tue, 21 Jun 2005 17:15:18 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:22 -0700 [PATCH] SELinux: memory leak in selinux_sb_copy_data() There is a memory leak during mount when SELinux is active and mount options are specified. Signed-off-by: Gerald Schaefer Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8680e22f296e75e5497edb660c59c6b4dcfbbd32 tree f86483aa60a21a9396a44249cdb7c5a24e512858 parent 2894801db1cea527885f7a8679e5a88fb7377d9c author Gerald Schaefer Tue, 21 Jun 2005 17:15:16 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:22 -0700 [PATCH] VFS: memory leak in do_kern_mount() There is a memory leak during mount when CONFIG_SECURITY is enabled and mount options are specified. Signed-off-by: Gerald Schaefer Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2894801db1cea527885f7a8679e5a88fb7377d9c tree 73789d1e0f35c622e397659e57380278a23df362 parent 0f667ff5c0282f686b4f739e46353779b3cfa2f6 author Coywolf Qi Hunt Tue, 21 Jun 2005 17:15:15 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:22 -0700 [PATCH] kbuild: display compile version I am always trying to make sure I've booted the right kernel after a new install. Too paranoid maybe. But I guess there're other people like me. So let's make kbuild display the compile version number at the end to give us a hint. I know we may be booting vmlinux someday, but don't care about it for now. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f667ff5c0282f686b4f739e46353779b3cfa2f6 tree 9e672587f4032ac1be6fb65998e73d59ad5df9f5 parent c0d62219a48bd91ec40fb254c930914dccc77ff1 author John W. Linville Tue, 21 Jun 2005 17:15:14 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:22 -0700 [PATCH] 3c59x: remove superfluous vortex_debug test from boomerang_start_xmit() Remove the superfluous test of "if (vortex_debug > 3)" inside the "if (vortex_debug > 6)" clause early in boomerang_start_xmit. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d296e9cd02c92e576ecce5344026a4df4353cdb2 tree 76af62c5d2c16e89672f71f2f4c7a65aa36ff914 parent 08ef472937e918875a82fd350d3de138aac50414 author Hugh Dickins Tue, 21 Jun 2005 17:15:11 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:21 -0700 [PATCH] do_wp_page: cannot share file page A small optimization to do_wp_page's check for whether to avoid copy by reusing the page already mapped. It can never share a cached file page, nor can it share a reserved page (often the empty zero page), so it's a waste of time to lock and unlock in those cases. Which nowadays can both be neatly excluded by a preliminary PageAnon test. Christoph has reported that a preliminary page_count test proved valuable for scalability here, but PageAnon covers more common cases all at once. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c475a8ab625d567eacf5e30ec35d6d8704558062 tree 0971bef7b876f1b3eb160621fc2b61cb5313827b parent d296e9cd02c92e576ecce5344026a4df4353cdb2 author Hugh Dickins Tue, 21 Jun 2005 17:15:12 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:21 -0700 [PATCH] can_share_swap_page: use page_mapcount Remember that ironic get_user_pages race? when the raised page_count on a page swapped out led do_wp_page to decide that it had to copy on write, so substituted a different page into userspace. 2.6.7 onwards have Andrea's solution, where try_to_unmap_one backs out if it finds page_count raised. Which works, but is unsatisfying (rmap.c has no other page_count heuristics), and was found a few months ago to hang an intensive page migration test. A year ago I was hesitant to engage page_mapcount, now it seems the right fix. So remove the page_count hack from try_to_unmap_one; and use activate_page in unuse_mm when dropping lock, to replace its secondary effect of helping swapoff to make progress in that case. Simplify can_share_swap_page (now called only on anonymous pages) to check page_mapcount + page_swapcount == 1: still needs the page lock to stabilize their (pessimistic) sum, but does not need swapper_space.tree_lock for that. In do_swap_page, move swap_free and unlock_page below page_add_anon_rmap, to keep sum on the high side, and correct when can_share_swap_page called. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0d62219a48bd91ec40fb254c930914dccc77ff1 tree 66049d2eb980b67bd745d19e97ada5a992975c06 parent b4955ce3dd0818b56da532a16c9a4a3804a558ee author Denis Vlasenko Tue, 21 Jun 2005 17:15:14 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:21 -0700 [PATCH] Kill stray newline OOM killer prints a stray newline. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4955ce3dd0818b56da532a16c9a4a3804a558ee tree 6e01667181bfc495b56e39748783ad2235a4f56e parent c475a8ab625d567eacf5e30ec35d6d8704558062 author Abhijit Karmarkar Tue, 21 Jun 2005 17:15:13 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:21 -0700 [PATCH] msync: check pte dirty earlier It's common practice to msync a large address range regularly, in which often only a few ptes have actually been dirtied since the previous pass. sync_pte_range then goes much faster if it tests whether pte is dirty before locating and accessing each struct page cacheline; and it is hardly slowed by ptep_clear_flush_dirty repeating that test in the opposite case, when every pte actually is dirty. But beware, s390's pte_dirty always says false, since its dirty bit is kept in the storage key, located via the struct page address. So skip this optimization in its case: use a pte_maybe_dirty macro which just says true if page_test_and_clear_dirty is implemented. Signed-off-by: Abhijit Karmarkar Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08ef472937e918875a82fd350d3de138aac50414 tree 990a503a711b82f94ad78ea5794a46992db05228 parent 7c2f3fda5666c280bcd00ac3b86963270b23e796 author Hugh Dickins Tue, 21 Jun 2005 17:15:10 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:21 -0700 [PATCH] get_user_pages: kill get_page_map Since its birth, get_user_pages has been calling a misguided get_page_map function. follow_page has already returned NULL if the pfn is invalid, we cannot reach an invalid pfn from a validated struct page. Remove get_page_map, and the messy rewind in get_user_pages to cope with its failure. Oh, and could we please call that "struct page *page" like everywhere else, instead of "struct page *map"? Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c2f3fda5666c280bcd00ac3b86963270b23e796 tree 97404af53d1bb61912e5739690c053f8005bc299 parent 334795eca421287c41c257992027d29659dc0f97 author Hugh Dickins Tue, 21 Jun 2005 17:15:09 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:20 -0700 [PATCH] rme96xx: fix PageReserved range rme96xx busmaster_malloc miscalculates and fails to set PageReserved on any page of char *buf; but busmaster_free does it right, so do the same (I don't have the card, just noticed this while sifting for rmap BUGs). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 941150a326be88af245034ef4b3e9fa00229aa2d tree 03a058776dccd007150a3f57b1f36bf63b8f6a5d parent 400e65146c428d2ef677a927786fda2cec545a76 author Hugh Dickins Tue, 21 Jun 2005 17:15:06 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:19 -0700 [PATCH] mbind: fix verify_pages pte_page Strict mbind's check that pages already mapped are on right node has been using pte_page without checking if pfn_valid, and without page_table_lock to prevent spurious failures when try_to_unmap_one intervenes between the pte_present and the pte_page. Signed-off-by: Hugh Dickins Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91612e0df20a52f61db3cac280c153311b36df7a tree 44a19e1d03147aabb842cbaac493a7213b836e4a parent 941150a326be88af245034ef4b3e9fa00229aa2d author Hugh Dickins Tue, 21 Jun 2005 17:15:07 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:19 -0700 [PATCH] mbind: check_range use standard ptwalk Strict mbind's check for currently mapped pages being on node has been using a slow loop which re-evaluates pgd, pud, pmd, pte for each entry: replace that by a standard four-level page table walk like others in mm. Since mmap_sem is held for writing, page_table_lock can be taken at the inner level to limit latency. Signed-off-by: Hugh Dickins Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45918e1a8bfcabc1cb4570b8df276655020eac45 tree 4caf6a8b634de389e758d2b4c037208f098b3141 parent 91612e0df20a52f61db3cac280c153311b36df7a author Hugh Dickins Tue, 21 Jun 2005 17:15:08 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:19 -0700 [PATCH] dup_mmap: update comment on new vma Remove part of comment on linking new vma in dup_mmap: since anon_vma rmap came in, try_to_unmap_one knows the vma without needing find_vma. But add a comment to note that here vma is inserted without mmap_sem. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 400e65146c428d2ef677a927786fda2cec545a76 tree 51c94fe3448b63f07886dcb90484ee9e51acb595 parent 0edd73b33426df61b1d8a0a50d1f2ec097500abb author Bob Picco Tue, 21 Jun 2005 17:15:05 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:19 -0700 [PATCH] ia64: pfn_to_nid() implementation pfn_to_nid is undefined. We haven't had this interface on ia64. The sys_mbind patches need it. Oh, the paddr_to_nid call could fail when DISCONTIG+NUMA is configured because there isn't any ACPI SRAT NUMA information. Signed-off-by: Bob Picco Acked-by: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 334795eca421287c41c257992027d29659dc0f97 tree c371467bea94f77bd340730c9cac724cca194b20 parent 45918e1a8bfcabc1cb4570b8df276655020eac45 author Hugh Dickins Tue, 21 Jun 2005 17:15:08 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:19 -0700 [PATCH] bad_page: clear reclaim and slab Since free_pages_check complains if PG_reclaim or PG_slab is set, bad_page ought to clear them to avoid repetitive reports (Nikita noticed this too). Let prep_new_page check page_count and PG_slab as free_pages_check does. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f14f75b81187cdbe10cc53a521bf9fdf97b59f8c tree 5c0d48c8a3338e6f1747e6cd55f699be96ffef1a parent 2caaad41e4aa8f5dd999695b4ddeaa0e7f3912a4 author Jes Sorensen Tue, 21 Jun 2005 17:15:02 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:18 -0700 [PATCH] ia64 uncached alloc This patch contains the ia64 uncached page allocator and the generic allocator (genalloc). The uncached allocator was formerly part of the SN2 mspec driver but there are several other users of it so it has been split off from the driver. The generic allocator can be used by device driver to manage special memory etc. The generic allocator is based on the allocator from the sym53c8xx_2 driver. Various users on ia64 needs uncached memory. The SGI SN architecture requires it for inter-partition communication between partitions within a large NUMA cluster. The specific user for this is the XPC code. Another application is large MPI style applications which use it for synchronization, on SN this can be done using special 'fetchop' operations but it also benefits non SN hardware which may use regular uncached memory for this purpose. Performance of doing this through uncached vs cached memory is pretty substantial. This is handled by the mspec driver which I will push out in a seperate patch. Rather than creating a specific allocator for just uncached memory I came up with genalloc which is a generic purpose allocator that can be used by device drivers and other subsystems as they please. For instance to handle onboard device memory. It was derived from the sym53c7xx_2 driver's allocator which is also an example of a potential user (I am refraining from modifying sym2 right now as it seems to have been under fairly heavy development recently). On ia64 memory has various properties within a granule, ie. it isn't safe to access memory as uncached within the same granule as currently has memory accessed in cached mode. The regular system therefore doesn't utilize memory in the lower granules which is mixed in with device PAL code etc. The uncached driver walks the EFI memmap and pulls out the spill uncached pages and sticks them into the uncached pool. Only after these chunks have been utilized, will it start converting regular cached memory into uncached memory. Hence the reason for the EFI related code additions. Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65ed0b337bd2b47097cf6c772f024772513b7b0d tree ade82d2bd373d5f98f84a53f7afc5cec7323e742 parent f14f75b81187cdbe10cc53a521bf9fdf97b59f8c author Jes Sorensen Tue, 21 Jun 2005 17:15:03 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:18 -0700 [PATCH] SN2 XPC build patches This patch contains the bits to make the XPC code use the uncached allocator rather than calling into the mspec driver. It also includes the mspec.h header which is required to build the XPC modules. Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ae7c03943fca73f23bc0cdb938070f41b98101f tree d4b3a7369896af7aa7bb58d0d1699be91fc4aa0d parent 578c2fd6a7f378434655e5c480e23152a3994404 author Christoph Lameter Tue, 21 Jun 2005 17:14:57 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:18 -0700 [PATCH] Periodically drain non local pagesets The pageset array can potentially acquire a huge amount of memory on large NUMA systems. F.e. on a system with 512 processors and 256 nodes there will be 256*512 pagesets. If each pageset only holds 5 pages then we are talking about 655360 pages.With a 16K page size on IA64 this results in potentially 10 Gigabytes of memory being trapped in pagesets. The typical cases are much less for smaller systems but there is still the potential of memory being trapped in off node pagesets. Off node memory may be rarely used if local memory is available and so we may potentially have memory in seldom used pagesets without this patch. The slab allocator flushes its per cpu caches every 2 seconds. The following patch flushes the off node pageset caches in the same way by tying into the slab flush. The patch also changes /proc/zoneinfo to include the number of pages currently in each pageset. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2caaad41e4aa8f5dd999695b4ddeaa0e7f3912a4 tree 4ce8426bf3a85d92efc5a0f6c981f54963d472e8 parent 4ae7c03943fca73f23bc0cdb938070f41b98101f author Christoph Lameter Tue, 21 Jun 2005 17:15:00 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:18 -0700 [PATCH] Reduce size of huge boot per_cpu_pageset Reduce size of the huge per_cpu_pageset structure in __initdata introduced into mm1 with the pageset localization patchset. Use one specially configured pageset per cpu for all zones and nodes during bootup. - Avoid duplication of pageset initialization code. - do the adding to the pageset list before potential free_pages_bulk in free_hot_cold_page (otherwise we would have to hold a page in a pageset during the period that the boot pagesets are in use). - remove mistaken __cpuinitdata attribute and revert back to __initdata for the boot pageset. A boot pageset is not necessary for cpu hotplug. Tested for UP SMP NUMA on x86_64 (2.6.12-rc6-mm1): UP SMP NUMA Tested on IA64 (2.6.12-rc5-mm2): NUMA (2.6.12-rc6-mm1 broken for IA64 because of sparsemem patches) Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0edd73b33426df61b1d8a0a50d1f2ec097500abb tree edbc6d9b53ebd107befaf53fbefaaf1a55244273 parent 65ed0b337bd2b47097cf6c772f024772513b7b0d author Hugh Dickins Tue, 21 Jun 2005 17:15:04 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:18 -0700 [PATCH] shmem: restore superblock info To improve shmem scalability, we allowed tmpfs instances which don't need their blocks or inodes limited not to count them, and not to allocate any sbinfo. Which was okay when the only use for the sbinfo was accounting blocks and inodes; but since then a couple of unrelated projects extending tmpfs want to store other data in the sbinfo. Whether either extension reaches mainline is beside the point: I'm guilty of a bad design decision, and should restore sbinfo to make any such future extensions easier. So, once again allocate a shmem_sb_info for every shmem/tmpfs instance, and now let max_blocks 0 indicate unlimited blocks, and max_inodes 0 unlimited inodes. Brent Casavant verified (many months ago) that this does not perceptibly impact the scalability (since the unlimited sbinfo cacheline is repeatedly accessed but only once dirtied). And merge shmem_set_size into its sole caller shmem_remount_fs. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbe37d093707762fc0abb280781e6a82a9d8d568 tree 8af4a268765346655291f1ef27df12d11825269c parent 73219d178051691a56d57184d8c7f6d0cbe3c5c1 author Badari Pulavarty Tue, 21 Jun 2005 17:14:52 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:17 -0700 [PATCH] mm: remove PG_highmem Remove PG_highmem, to save a page flag. Use is_highmem() instead. It'll generate a little more code, but we don't use PageHigheMem() in many places. Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2f29ea111e3344ed48257c2a142c3db514e1529 tree 6750edefb1f08a6be545250fdaca72fa211ef338 parent 83e5d8f7253cb7b14472385a6d57df1e9f848e8e author Benjamin LaHaise Tue, 21 Jun 2005 17:14:55 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:17 -0700 [PATCH] __read_page_state(): pass unsigned long instead of unsigned By making the offset argument of __read_page_state an unsigned long instead of unsigned, we can avoid forcing the compiler to sign extend a usually constant argument. This saves 1 instruction on x86-64. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83e5d8f7253cb7b14472385a6d57df1e9f848e8e tree bafb314103aefbb5699aed2b2b284d8954a888d9 parent 1ad539b2bd89bf2e129123eb24d5bcc4484a35de author Benjamin LaHaise Tue, 21 Jun 2005 17:14:54 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:17 -0700 [PATCH] __mod_page_state(): pass unsigned long instead of unsigned By making the offset argument of __mod_page_state an unsigned long instead of unsigned, we can avoid forcing the compiler to sign extend a usually constant argument. This saves 1 instruction on x86-64. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 578c2fd6a7f378434655e5c480e23152a3994404 tree 3a6408c416e3825cd17e33ac776425a52b743adc parent c2f29ea111e3344ed48257c2a142c3db514e1529 author Janet Morgan Tue, 21 Jun 2005 17:14:56 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:17 -0700 [PATCH] add OOM debug This patch provides more debug info when the system is OOM. It displays memory stats (basically sysrq-m info) from __alloc_pages() when page allocation fails and during OOM kill. Thanks to Dave Jones for coming up with the idea. Signed-off-by: Janet Morgan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ad539b2bd89bf2e129123eb24d5bcc4484a35de tree e416e208cdbd5d9890d39e39384e4ec913c26ef6 parent cbe37d093707762fc0abb280781e6a82a9d8d568 author Darren Hart Tue, 21 Jun 2005 17:14:53 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:17 -0700 [PATCH] vm: try_to_free_pages unused argument try_to_free_pages accepts a third argument, order, but hasn't used it since before 2.6.0. The following patch removes the argument and updates all the calls to try_to_free_pages. Signed-off-by: Darren Hart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c8d5c9955a4d2e88e36b640563f5d6d5aba48a tree f04f7b0d08cbc46d2f190a85904a3dd696dc6e88 parent 63551ae0feaaa23807ebea60de1901564bbef32e author Christoph Lameter Tue, 21 Jun 2005 17:14:47 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:16 -0700 [PATCH] node local per-cpu-pages This patch modifies the way pagesets in struct zone are managed. Each zone has a per-cpu array of pagesets. So any particular CPU has some memory in each zone structure which belongs to itself. Even if that CPU is not local to that zone. So the patch relocates the pagesets for each cpu to the node that is nearest to the cpu instead of allocating the pagesets in the (possibly remote) target zone. This means that the operations to manage pages on remote zone can be done with information available locally. We play a macro trick so that non-NUMA pmachines avoid the additional pointer chase on the page allocator fastpath. AIM7 benchmark on a 32 CPU SGI Altix w/o patches: Tasks jobs/min jti jobs/min/task real cpu 1 484.68 100 484.6769 12.01 1.97 Fri Mar 25 11:01:42 2005 100 27140.46 89 271.4046 21.44 148.71 Fri Mar 25 11:02:04 2005 200 30792.02 82 153.9601 37.80 296.72 Fri Mar 25 11:02:42 2005 300 32209.27 81 107.3642 54.21 451.34 Fri Mar 25 11:03:37 2005 400 34962.83 78 87.4071 66.59 588.97 Fri Mar 25 11:04:44 2005 500 31676.92 75 63.3538 91.87 742.71 Fri Mar 25 11:06:16 2005 600 36032.69 73 60.0545 96.91 885.44 Fri Mar 25 11:07:54 2005 700 35540.43 77 50.7720 114.63 1024.28 Fri Mar 25 11:09:49 2005 800 33906.70 74 42.3834 137.32 1181.65 Fri Mar 25 11:12:06 2005 900 34120.67 73 37.9119 153.51 1325.26 Fri Mar 25 11:14:41 2005 1000 34802.37 74 34.8024 167.23 1465.26 Fri Mar 25 11:17:28 2005 with slab API changes and pageset patch: Tasks jobs/min jti jobs/min/task real cpu 1 485.00 100 485.0000 12.00 1.96 Fri Mar 25 11:46:18 2005 100 28000.96 89 280.0096 20.79 150.45 Fri Mar 25 11:46:39 2005 200 32285.80 79 161.4290 36.05 293.37 Fri Mar 25 11:47:16 2005 300 40424.15 84 134.7472 43.19 438.42 Fri Mar 25 11:47:59 2005 400 39155.01 79 97.8875 59.46 590.05 Fri Mar 25 11:48:59 2005 500 37881.25 82 75.7625 76.82 730.19 Fri Mar 25 11:50:16 2005 600 39083.14 78 65.1386 89.35 872.79 Fri Mar 25 11:51:46 2005 700 38627.83 77 55.1826 105.47 1022.46 Fri Mar 25 11:53:32 2005 800 39631.94 78 49.5399 117.48 1169.94 Fri Mar 25 11:55:30 2005 900 36903.70 79 41.0041 141.94 1310.78 Fri Mar 25 11:57:53 2005 1000 36201.23 77 36.2012 160.77 1458.31 Fri Mar 25 12:00:34 2005 Signed-off-by: Christoph Lameter Signed-off-by: Shobhit Dayal Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73219d178051691a56d57184d8c7f6d0cbe3c5c1 tree c527691510f5a2b757eac424c5671704084fc9eb parent 1363c3cd8603a913a27e2995dccbd70d5312d8e6 author Chris Wright Tue, 21 Jun 2005 17:14:52 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:16 -0700 [PATCH] mmap topdown fix for large stack limit, large allocation The topdown changes in 2.6.12-rc1 can cause large allocations with large stack limit to fail, despite there being space available. The mmap_base-len is only valid when len >= mmap_base. However, nothing in topdown allocator checks this. It's only (now) caught at higher level, which will cause allocation to simply fail. The following change restores the fallback to bottom-up path, which will allow large allocations with large stack limit to potentially still succeed. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1363c3cd8603a913a27e2995dccbd70d5312d8e6 tree 405e7fc1ef44678f3ca0a54c536d0457e6e80f45 parent e7c8d5c9955a4d2e88e36b640563f5d6d5aba48a author Wolfgang Wander Tue, 21 Jun 2005 17:14:49 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:16 -0700 [PATCH] Avoiding mmap fragmentation Ingo recently introduced a great speedup for allocating new mmaps using the free_area_cache pointer which boosts the specweb SSL benchmark by 4-5% and causes huge performance increases in thread creation. The downside of this patch is that it does lead to fragmentation in the mmap-ed areas (visible via /proc/self/maps), such that some applications that work fine under 2.4 kernels quickly run out of memory on any 2.6 kernel. The problem is twofold: 1) the free_area_cache is used to continue a search for memory where the last search ended. Before the change new areas were always searched from the base address on. So now new small areas are cluttering holes of all sizes throughout the whole mmap-able region whereas before small holes tended to close holes near the base leaving holes far from the base large and available for larger requests. 2) the free_area_cache also is set to the location of the last munmap-ed area so in scenarios where we allocate e.g. five regions of 1K each, then free regions 4 2 3 in this order the next request for 1K will be placed in the position of the old region 3, whereas before we appended it to the still active region 1, placing it at the location of the old region 2. Before we had 1 free region of 2K, now we only get two free regions of 1K -> fragmentation. The patch addresses thes issues by introducing yet another cache descriptor cached_hole_size that contains the largest known hole size below the current free_area_cache. If a new request comes in the size is compared against the cached_hole_size and if the request can be filled with a hole below free_area_cache the search is started from the base instead. The results look promising: Whereas 2.6.12-rc4 fragments quickly and my (earlier posted) leakme.c test program terminates after 50000+ iterations with 96 distinct and fragmented maps in /proc/self/maps it performs nicely (as expected) with thread creation, Ingo's test_str02 with 20000 threads requires 0.7s system time. Taking out Ingo's patch (un-patch available per request) by basically deleting all mentions of free_area_cache from the kernel and starting the search for new memory always at the respective bases we observe: leakme terminates successfully with 11 distinctive hardly fragmented areas in /proc/self/maps but thread creating is gringdingly slow: 30+s(!) system time for Ingo's test_str02 with 20000 threads. Now - drumroll ;-) the appended patch works fine with leakme: it ends with only 7 distinct areas in /proc/self/maps and also thread creation seems sufficiently fast with 0.71s for 20000 threads. Signed-off-by: Wolfgang Wander Credit-to: "Richard Purdie" Signed-off-by: Ken Chen Acked-by: Ingo Molnar (partly) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63551ae0feaaa23807ebea60de1901564bbef32e tree f6f97f60f83c3e9813bdfcc6039c499997b1ea10 parent 1e7e5a9048b30c57ba1ddaa6cdf59b21b65cde99 author David Gibson Tue, 21 Jun 2005 17:14:44 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:15 -0700 [PATCH] Hugepage consolidation A lot of the code in arch/*/mm/hugetlbpage.c is quite similar. This patch attempts to consolidate a lot of the code across the arch's, putting the combined version in mm/hugetlb.c. There are a couple of uglyish hacks in order to covert all the hugepage archs, but the result is a very large reduction in the total amount of code. It also means things like hugepage lazy allocation could be implemented in one place, instead of six. Tested, at least a little, on ppc64, i386 and x86_64. Notes: - this patch changes the meaning of set_huge_pte() to be more analagous to set_pte() - does SH4 need s special huge_ptep_get_and_clear()?? Acked-by: William Lee Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfbb38fb808ac23ef44472d05d9bb36edfb49ed0 tree 19d26b575bf0ff1e2b3ec2c8ee12310154fdead5 parent 295ab93497ec703f7d6eaf0787dd9768b83035fe author Martin Hicks Tue, 21 Jun 2005 17:14:40 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:14 -0700 [PATCH] VM: add may_swap flag to scan_control Here's the next round of these patches. These are totally different in an attempt to meet the "simpler" request after the last patches. For reference the earlier threads are: http://marc.theaimsgroup.com/?l=linux-kernel&m=110839604924587&w=2 http://marc.theaimsgroup.com/?l=linux-mm&m=111461480721249&w=2 This set of patches replaces my other vm- patches that are currently in -mm. So they're against 2.6.12-rc5-mm1 about half way through the -mm patchset. As I said already this patch is a lot simpler. The reclaim is turned on or off on a per-zone basis using a syscall. I haven't tested the x86 syscall, so it might be wrong. It uses the existing reclaim/pageout code with the small addition of a may_swap flag to scan_control (patch 1/4). I also added __GFP_NORECLAIM (patch 3/4) so that certain allocation types can be flagged to never cause reclaim. This was a deficiency that was in all of my earlier patch sets. Previously, doing a big buffered read would fill one zone with page cache and then start to reclaim from that same zone, leaving the other zones untouched. Adding some extra throttling on the reclaim was also required (patch 4/4). Without the machine would grind to a crawl when doing a "make -j" kernel build. Even with this patch the System Time is higher on average, but it seems tolerable. Here are some numbers for kernbench runs on a 2-node, 4cpu, 8Gig RAM Altix in the "make -j" run: wall user sys %cpu ctx sw. sleeps ---- ---- --- ---- ------ ------ No patch 1009 1384 847 258 298170 504402 w/patch, no reclaim 880 1376 667 288 254064 396745 w/patch & reclaim 1079 1385 926 252 291625 548873 These numbers are the average of 2 runs of 3 "make -j" runs done right after system boot. Run-to-run variability for "make -j" is huge, so these numbers aren't terribly useful except to seee that with reclaim the benchmark still finishes in a reasonable amount of time. I also looked at the NUMA hit/miss stats for the "make -j" runs and the reclaim doesn't make any difference when the machine is thrashing away. Doing a "make -j8" on a single node that is filled with page cache pages takes 700 seconds with reclaim turned on and 735 seconds without reclaim (due to remote memory accesses). The simple zone_reclaim syscall program is at http://www.bork.org/~mort/sgi/zone_reclaim.c This patch: This adds an extra switch to the scan_control struct. It simply lets the reclaim code know if its allowed to swap pages out. This was required for a simple per-zone reclaimer. Without this addition pages would be swapped out as soon as a zone ran out of memory and the early reclaim kicked in. Signed-off-by: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 753ee728964e5afb80c17659cc6c3a6fd0a42fe0 tree 41c9a7700d0858c1f77c5bdaba97e5b636f69b06 parent bfbb38fb808ac23ef44472d05d9bb36edfb49ed0 author Martin Hicks Tue, 21 Jun 2005 17:14:41 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:14 -0700 [PATCH] VM: early zone reclaim This is the core of the (much simplified) early reclaim. The goal of this patch is to reclaim some easily-freed pages from a zone before falling back onto another zone. One of the major uses of this is NUMA machines. With the default allocator behavior the allocator would look for memory in another zone, which might be off-node, before trying to reclaim from the current zone. This adds a zone tuneable to enable early zone reclaim. It is selected on a per-zone basis and is turned on/off via syscall. Adding some extra throttling on the reclaim was also required (patch 4/4). Without the machine would grind to a crawl when doing a "make -j" kernel build. Even with this patch the System Time is higher on average, but it seems tolerable. Here are some numbers for kernbench runs on a 2-node, 4cpu, 8Gig RAM Altix in the "make -j" run: wall user sys %cpu ctx sw. sleeps ---- ---- --- ---- ------ ------ No patch 1009 1384 847 258 298170 504402 w/patch, no reclaim 880 1376 667 288 254064 396745 w/patch & reclaim 1079 1385 926 252 291625 548873 These numbers are the average of 2 runs of 3 "make -j" runs done right after system boot. Run-to-run variability for "make -j" is huge, so these numbers aren't terribly useful except to seee that with reclaim the benchmark still finishes in a reasonable amount of time. I also looked at the NUMA hit/miss stats for the "make -j" runs and the reclaim doesn't make any difference when the machine is thrashing away. Doing a "make -j8" on a single node that is filled with page cache pages takes 700 seconds with reclaim turned on and 735 seconds without reclaim (due to remote memory accesses). The simple zone_reclaim syscall program is at http://www.bork.org/~mort/sgi/zone_reclaim.c Signed-off-by: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 295ab93497ec703f7d6eaf0787dd9768b83035fe tree e3dce05d4cab0d7d3907a7357d37932c99ffd76d parent 05b7438475ddbac47e75506913d44550f0e75938 author Nikita Danilov Tue, 21 Jun 2005 17:14:38 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:14 -0700 [PATCH] mm: add /proc/zoneinfo Add /proc/zoneinfo file to display information about memory zones. Useful to analyze VM behaviour. Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e7e5a9048b30c57ba1ddaa6cdf59b21b65cde99 tree 26eb9c483718ca1a0fad23597c0dfd3a69e9f080 parent 0c35bbadc59f5ed105c34471143eceb4c0dd9c95 author Martin Hicks Tue, 21 Jun 2005 17:14:43 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:14 -0700 [PATCH] VM: rate limit early reclaim When early zone reclaim is turned on the LRU is scanned more frequently when a zone is low on memory. This limits when the zone reclaim can be called by skipping the scan if another thread (either via kswapd or sync reclaim) is already reclaiming from the zone. Signed-off-by: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c35bbadc59f5ed105c34471143eceb4c0dd9c95 tree d82de388e8c0a38fa4b1d27ad372e84c9f01e013 parent 753ee728964e5afb80c17659cc6c3a6fd0a42fe0 author Martin Hicks Tue, 21 Jun 2005 17:14:42 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:14 -0700 [PATCH] VM: add __GFP_NORECLAIM When using the early zone reclaim, it was noticed that allocating new pages that should be spread across the whole system caused eviction of local pages. This adds a new GFP flag to prevent early reclaim from happening during certain allocation attempts. The example that is implemented here is for page cache pages. We want page cache pages to be spread across the whole system, and we don't want page cache pages to evict other pages to get local memory. Signed-off-by: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e798c6e87b64d9fdbd5e9f757b1c033223763d9f tree da4cdd7c60acff82d2fcc826cdbae43440a6df44 parent b15e0905f2b9964fc7426fecab57445e96021b61 author Prasanna Meda Tue, 21 Jun 2005 17:14:36 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:13 -0700 [PATCH] madvise: do not split the maps This attempts to avoid splittings when it is not needed, that is when vm_flags are same as new flags. The idea is from the <2.6.11 mlock_fixup and others. This will provide base for the next madvise merging patch. Signed-off-by: Prasanna Meda Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b15e0905f2b9964fc7426fecab57445e96021b61 tree bc1b3606cf282f88cd6598de22190eff6708affa parent 39c715b71740c4a78ba4769fb54826929bac03cb author akpm@osdl.org Tue, 21 Jun 2005 17:14:35 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:13 -0700 [PATCH] vmscan: notice slab shrinking Fix a problem identified by Andrea Arcangeli kswapd will set a zone into all_unreclaimable state if it sees that we're not successfully reclaiming LRU pages. But that fails to notice that we're successfully reclaiming slab obects, so we can set all_unreclaimable too soon. So change shrink_slab() to return a success indication if it actually reclaimed some objects, and don't assume that the zone is all_unreclaimable if that is true. This means that we won't enter all_unreclaimable state if we are successfully freeing slab objects but we're not yet actually freeing slab pages, due to internal fragmentation. (hm, this has a shortcoming. We could be successfully freeing ZONE_NORMAL slab objects while being really oom on ZONE_DMA. If that happens then kswapd might burn a lot of CPU. But given that there might be some slab objects in ZONE_DMA, perhaps that is appropriate.) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39c715b71740c4a78ba4769fb54826929bac03cb tree 94dd679dfc8e6c2db65971739aa8c8c6206f8174 parent 84929801e14d968caeb84795bfbb88f04283fbd9 author Ingo Molnar Tue, 21 Jun 2005 17:14:34 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:13 -0700 [PATCH] smp_processor_id() cleanup This patch implements a number of smp_processor_id() cleanup ideas that Arjan van de Ven and I came up with. The previous __smp_processor_id/_smp_processor_id/smp_processor_id API spaghetti was hard to follow both on the implementational and on the usage side. Some of the complexity arose from picking wrong names, some of the complexity comes from the fact that not all architectures defined __smp_processor_id. In the new code, there are two externally visible symbols: - smp_processor_id(): debug variant. - raw_smp_processor_id(): nondebug variant. Replaces all existing uses of _smp_processor_id() and __smp_processor_id(). Defined by every SMP architecture in include/asm-*/smp.h. There is one new internal symbol, dependent on DEBUG_PREEMPT: - debug_smp_processor_id(): internal debug variant, mapped to smp_processor_id(). Also, i moved debug_smp_processor_id() from lib/kernel_lock.c into a new lib/smp_processor_id.c file. All related comments got updated and/or clarified. I have build/boot tested the following 8 .config combinations on x86: {SMP,UP} x {PREEMPT,!PREEMPT} x {DEBUG_PREEMPT,!DEBUG_PREEMPT} I have also build/boot tested x64 on UP/PREEMPT/DEBUG_PREEMPT. (Other architectures are untested, but should work just fine.) Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05b7438475ddbac47e75506913d44550f0e75938 tree 3871b9c9c0cfa3699de9581a9283dc9fee608f2c parent e798c6e87b64d9fdbd5e9f757b1c033223763d9f author Prasanna Meda Tue, 21 Jun 2005 17:14:37 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:13 -0700 [PATCH] madvise: merge the maps This attempts to merge back the split maps. This code is mostly copied from Chrisw's mlock merging from post 2.6.11 trees. The only difference is in munmapped_error handling. Also passed prev to willneed/dontneed, eventhogh they do not handle it now, since I felt it will be cleaner, instead of handling prev in madvise_vma in some cases and in subfunction in some cases. Signed-off-by: Prasanna Meda Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84929801e14d968caeb84795bfbb88f04283fbd9 tree 248fa9fd6cfb411a6df3b7f7fb42aa4f9ceca2bf parent 589777eab7360894b7ca1c4ba9d252e03b51225b author Suresh Siddha Tue, 21 Jun 2005 17:14:32 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:12 -0700 [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes Appended patch will setup compatibility mode TASK_SIZE properly. This will fix atleast three known bugs that can be encountered while running compatibility mode apps. a) A malicious 32bit app can have an elf section at 0xffffe000. During exec of this app, we will have a memory leak as insert_vm_struct() is not checking for return value in syscall32_setup_pages() and thus not freeing the vma allocated for the vsyscall page. And instead of exec failing (as it has addresses > TASK_SIZE), we were allowing it to succeed previously. b) With a 32bit app, hugetlb_get_unmapped_area/arch_get_unmapped_area may return addresses beyond 32bits, ultimately causing corruption because of wrap-around and resulting in SEGFAULT, instead of returning ENOMEM. c) 32bit app doing this below mmap will now fail. mmap((void *)(0xFFFFE000UL), 0x10000UL, PROT_READ|PROT_WRITE, MAP_FIXED|MAP_PRIVATE|MAP_ANON, 0, 0); Signed-off-by: Zou Nan hai Signed-off-by: Suresh Siddha Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 589777eab7360894b7ca1c4ba9d252e03b51225b tree d32b8dadc4dc52e81d2b9ffbd03d100b168b41fa parent 3a845099b20e81fb678521f034bbdcd69208da4e author Zaur Kambarov Tue, 21 Jun 2005 17:14:31 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:12 -0700 [PATCH] coverity: idr_get_new_above_int() overrun fix This patch fixes overrun of array pa: 92 struct idr_layer *pa[MAX_LEVEL]; in 98 l = idp->layers; 99 pa[l--] = NULL; by passing idp->layers, set in 202 idp->layers = layers; to function sub_alloc in 203 v = sub_alloc(idp, ptr, &id); Signed-off-by: Zaur Kambarov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a558cb4ec43ccbe82e2cf899ced37f29ac017df tree 360f64dcf8ecdb04371a2fd524fddb2424392564 parent 9723d95d1076e9ef394ff26162fb0b47531089b0 author Andrew Morton Tue, 21 Jun 2005 17:14:28 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:11 -0700 [PATCH] arm: irqs_disabled() type fix kernel/sched.c: In function `__might_sleep': kernel/sched.c:5461: warning: int format, long unsigned int arg (arg 3) We expect irqs_disabled() to return an int (poor man's bool). Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f20b6a4792c1b5033583c23b5594887dd3867b9 tree 1c5fdb0c3e73306a64a442076d9bd9c4b8d603c5 parent 9a558cb4ec43ccbe82e2cf899ced37f29ac017df author bobl Tue, 21 Jun 2005 17:14:29 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:11 -0700 [PATCH] megaraid build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a845099b20e81fb678521f034bbdcd69208da4e tree 99f3a8259c54616a1a0fd30f25e34927c36c3eff parent 7f20b6a4792c1b5033583c23b5594887dd3867b9 author Zaur Kambarov Tue, 21 Jun 2005 17:14:30 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:46:11 -0700 [PATCH] coverity: ipmi: avoid overrun of ipmi_interfaces[] Fix overrun of static array "ipmi_interfaces" of size 4 at position 4 with index variable "if_num". Definitions involved: 297 #define MAX_IPMI_INTERFACES 4 298 static ipmi_smi_t ipmi_interfaces[MAX_IPMI_INTERFACES]; Signed-off-by: Zaur Kambarov Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9723d95d1076e9ef394ff26162fb0b47531089b0 tree 242504391bf7f373cd5198d32df29868ea2996e2 parent 4a4f8fdba6f5a34ca90f426021e17491a30202da parent 7049e6800f40046c384c522a990669024d5f5836 author Linus Torvalds Tue, 21 Jun 2005 18:19:10 -0700 committer Linus Torvalds Tue, 21 Jun 2005 18:19:10 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 commit e1a40fa907498030b6e432c0dbcb06d7a9f14ee3 tree 8f6ad8643346358ef39d7d28d1e001af81eb6e9a parent ad89d0212e32c5cf27dfcbad67b91a32b9878529 author Dean Roehrich Wed, 22 Jun 2005 10:20:44 +1000 committer Nathan Scott Wed, 22 Jun 2005 10:20:44 +1000 [XFS] Handle inode semaphores properly for dmapi queues SGI-PV: 931572 SGI-Modid: xfs-linux-melb:xfs-kern:189560a Signed-off-by: Dean Roehrich Signed-off-by: Nathan Scott commit 29516d75a0b09e0a0328dd55c98a342515c9615a tree 4b03326311958ad6de82653a1caf289ad8c38538 parent 4ea78729b8dbfc400fe165a57b90a394a7275a54 parent 4a4f8fdba6f5a34ca90f426021e17491a30202da author Tony Luck Tue, 21 Jun 2005 16:21:20 -0700 committer Tony Luck Tue, 21 Jun 2005 16:21:20 -0700 Auto merge with /home/aegl/GIT/linus commit 7049e6800f40046c384c522a990669024d5f5836 tree 5e790230b26721a89864fa610bc9d8e53114a881 parent 8005aba69a6440a535a4cc2aed99ffca580847e0 author David S. Miller Tue, 21 Jun 2005 16:20:28 -0700 committer David S. Miller Tue, 21 Jun 2005 16:20:28 -0700 [SPARC64]: Add prefetch support. The implementation is optimal for UltraSPARC-III and later. It will work, however suboptimally, on UltraSPARC-II and be treated as a NOP on UltraSPARC-I. It is not worth code patching this thing as the highest cost is the code space, and code patching cannot eliminate that. Signed-off-by: David S. Miller commit 4ea78729b8dbfc400fe165a57b90a394a7275a54 tree cc8d7def737ca5a4189481466d1e4164eef98313 parent 7b404b3459db1326bbdc7085edb1f58b98da5826 author Matthew Chapman Tue, 21 Jun 2005 16:19:20 -0700 committer Tony Luck Tue, 21 Jun 2005 16:19:20 -0700 [IA64] ptrace and restore_sigcontext() allow ar.rsc.pl==0 This patch fixes handling of accesses to ar.rsc via ptrace & restore_sigcontext [With Thanks to Chris Wright for noticing the restore_sigcontext path] Signed-off-by: Matthew Chapman Acked-by: David Mosberger Signed-off-by: Tony Luck commit 4a4f8fdba6f5a34ca90f426021e17491a30202da tree 6eb8be6c9542845321252b1d64394a2c2ea84dd0 parent 2c6e5a839f92591a4bc6cac4a575d42151645af3 parent 90f66914c89b0be63548d4387d1211280aa7bc8e author Linus Torvalds Tue, 21 Jun 2005 15:45:19 -0700 committer Linus Torvalds Tue, 21 Jun 2005 15:45:19 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 2c6e5a839f92591a4bc6cac4a575d42151645af3 tree e9214a7c5a4de96a76445dbc36262239c8315e20 parent 9527cc77e25b3a3787569edcbb8e74080b8df54a author Greg KH Tue, 21 Jun 2005 15:24:19 -0700 committer Linus Torvalds Tue, 21 Jun 2005 15:41:16 -0700 [PATCH] devfs: remove devfs from Kconfig preventing it from being built Here's a much smaller patch to simply disable devfs from the build. If this goes well, and there are no complaints for a few weeks, I'll resend my big "devfs-die-die-die" series of patches that rip the whole thing out of the kernel tree. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8005aba69a6440a535a4cc2aed99ffca580847e0 tree d15f836f483ec374751fd9eda4a4f7a8b816eff5 parent 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e author David S. Miller Tue, 21 Jun 2005 15:39:22 -0700 committer David S. Miller Tue, 21 Jun 2005 15:39:22 -0700 [SPARC64]: Fix cmsg length checks in Solaris emulation layer. Signed-off-by: David S. Miller commit 7b404b3459db1326bbdc7085edb1f58b98da5826 tree d1729e7a3cf040e5ffee695735dca49b2a075d76 parent 0393eed5c3220c9c3823a09a2d02329b8ff08b45 author Bjorn Helgaas Mon, 13 Jun 2005 11:27:00 -0700 committer Tony Luck Tue, 21 Jun 2005 15:04:39 -0700 [IA64] remove "pci=routeirq" option Remove "pci=routeirq" option for ia64. This was a workaround after ACPI IRQ routing was changed from "all at boot for everything in _PRT" to "do it when the device is enabled" in case there were drivers that didn't use pci_enable_device(). Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 9527cc77e25b3a3787569edcbb8e74080b8df54a tree f74d109be6176c4e5eb0cc2424b696856eebc0e5 parent 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e parent d039ba24f135147f60a13bcaa768189a5b773b6e author Linus Torvalds Tue, 21 Jun 2005 14:49:35 -0700 committer Linus Torvalds Tue, 21 Jun 2005 14:49:35 -0700 Merge 'for-linus' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 90f66914c89b0be63548d4387d1211280aa7bc8e tree 712c9d3e2e7cb9c45e8442d12727db3e901a1913 parent 047601bf7c803724bbab9a4fdbad9481cecc12e0 author David S. Miller Tue, 21 Jun 2005 14:43:28 -0700 committer David S. Miller Tue, 21 Jun 2005 14:43:28 -0700 [IPV4]: Fix fib_trie.c's args to fib_dump_info(). Signed-off-by: David S. Miller commit 0393eed5c3220c9c3823a09a2d02329b8ff08b45 tree c465ee4c3a0322a4e6533f4e1ec0968b8b254907 parent 52a0de2cd2d3da8f90d88e2eccb63d0cadd6ae26 author Ken Chen Tue, 21 Jun 2005 14:40:31 -0700 committer Tony Luck Tue, 21 Jun 2005 14:40:31 -0700 [IA64] fix nested_dtlb_miss handler for hugetlb address The nested_dtlb_miss handler currently does not handle fault from hugetlb address correctly. It walks the page table assuming PAGE_SIZE. Thus when taking a fault triggered from hugetlb address, it would not calculate the pgd/pmd/pte address correctly and thus result an incorrect invocation of ia64_do_page_fault(). In there, kernel will signal SIGBUS and application dies (The faulting address is perfectly legal and we have a valid pte for the corresponding user hugetlb address as well). This patch fix the described kernel bug. Since nested_dtlb_miss is a rare event and a slow path anyway, I'm making the change without #ifdef CONFIG_HUGETLB_PAGE for code readability. Tony, please apply. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 52a0de2cd2d3da8f90d88e2eccb63d0cadd6ae26 tree 24d764db02eaff2882434987525d4c3ce1665e35 parent a35f1e03b868a3179fa12344ec0d46a44fbf7574 author Christophe Lucas Mon, 20 Jun 2005 14:50:00 -0700 committer Tony Luck Tue, 21 Jun 2005 14:21:17 -0700 [IA64] printk needs KERN_INFO arch/ia64/kernel/smp.c printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Tony Luck commit a35f1e03b868a3179fa12344ec0d46a44fbf7574 tree 8d8063cddba7cba6ad507dec548003aea6ebae5f parent bd91c4bb134a3c5b04969f5ab960a3fd48778bcc author Greg Edwards Tue, 21 Jun 2005 11:30:00 -0700 committer Tony Luck Tue, 21 Jun 2005 14:17:43 -0700 [IA64] enable SGI simulator for generic kernels Allow the SGI simulator (medusa) to work on generic kernels. There is no inherent dependency on an sn2-specific kernel. Boot tested on Altix, medusa and HP rx2600. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit bd91c4bb134a3c5b04969f5ab960a3fd48778bcc tree 300031fd4c53d4a9161781cf106214591477d7f4 parent 95dccdfe29a76c513e29f88f366612d7570adab3 author Tony Luck Tue, 21 Jun 2005 14:16:00 -0700 committer Tony Luck Tue, 21 Jun 2005 14:16:00 -0700 [IA64] Refresh tiger_defconfig Signed-off-by: Tony Luck commit 047601bf7c803724bbab9a4fdbad9481cecc12e0 tree 0047ba0cb2179cefd93f7a8b1d0075e21a02d872 parent 2715bcf9efc34063e05009f188eb896c462ae925 author Patrick McHardy Tue, 21 Jun 2005 14:07:13 -0700 committer David S. Miller Tue, 21 Jun 2005 14:07:13 -0700 [NETFILTER]: Fix ip6t_LOG sit tunnel logging Sit tunnel logging is currently broken: MAC=01:23:45:67:89:ab->01:23:45:47:89:ac TUNNEL=123.123. 0.123-> 12.123. 6.123 Apart from the broken IP address, MAC addresses are printed differently for sit tunnels than for everything else. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2715bcf9efc34063e05009f188eb896c462ae925 tree 57a36042e5774cdc731f9ecfc7a51bb54bdd6619 parent 6150bacfec95c7042678667561664efcf10d4508 author Patrick McHardy Tue, 21 Jun 2005 14:06:24 -0700 committer David S. Miller Tue, 21 Jun 2005 14:06:24 -0700 [NETFILTER]: Drop conntrack reference in ip_call_ra_chain()/ip_mr_input() Drop reference before handing the packets to raw_rcv() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6150bacfec95c7042678667561664efcf10d4508 tree 6a415a742dca3ea44cc035c8e2a7e523df92e4e9 parent e3be8ba79294df5de96692411e122506b40c5aa4 author Patrick McHardy Tue, 21 Jun 2005 14:03:46 -0700 committer David S. Miller Tue, 21 Jun 2005 14:03:46 -0700 [NETFILTER]: Check TCP checksum in ipt_REJECT Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e3be8ba79294df5de96692411e122506b40c5aa4 tree 85021ea2b3ecc698bc356fa15d873199a40d83d8 parent 97216c799a6496163be8c81c9ceed297d92956c5 author Keir Fraser Tue, 21 Jun 2005 14:03:23 -0700 committer David S. Miller Tue, 21 Jun 2005 14:03:23 -0700 [NETFILTER]: Avoid unncessary checksum validation in UDP connection tracking Signed-off-by: Keir Fraser Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 97216c799a6496163be8c81c9ceed297d92956c5 tree 9bd1d85b486c428ae5d12592997cf7668db63097 parent 1d3cdb41f52e299f70b66cbb569bff5216f3643a author Patrick McHardy Tue, 21 Jun 2005 14:03:01 -0700 committer David S. Miller Tue, 21 Jun 2005 14:03:01 -0700 [NETFILTER]: Missing owner-field initialization in ip6table_raw I missed this one when fixing up iptable_raw. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1d3cdb41f52e299f70b66cbb569bff5216f3643a tree 519f0feab4b0481bbb7c6298a82485071a0acbe4 parent e98231858bbfd2aca42f93d55133c2fca6df00f9 author Phil Oester Tue, 21 Jun 2005 14:02:42 -0700 committer David S. Miller Tue, 21 Jun 2005 14:02:42 -0700 [NETFILTER]: expectation timeouts are compulsory Since expectation timeouts were made compulsory [1], there is no need to check for them in ip_conntrack_expect_insert. [1] https://lists.netfilter.org/pipermail/netfilter-devel/2005-January/018143.html Signed-off-by: Phil Oester Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e98231858bbfd2aca42f93d55133c2fca6df00f9 tree e7100bf038e70a840aa0e69afc75d217e210522e parent 18b8afc771102b1b6af97962808291a7d27f52af author Patrick McHardy Tue, 21 Jun 2005 14:02:15 -0700 committer David S. Miller Tue, 21 Jun 2005 14:02:15 -0700 [NETFILTER]: Restore netfilter assumptions in IPv6 multicast Netfilter assumes that skb->data == skb->nh.ipv6h Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 18b8afc771102b1b6af97962808291a7d27f52af tree 4d278a45ab07b5ba81dfa0b737f5174ad9ee7f79 parent e45b1be8bcb3643808975a426fa3e201a2588e87 author Patrick McHardy Tue, 21 Jun 2005 14:01:57 -0700 committer David S. Miller Tue, 21 Jun 2005 14:01:57 -0700 [NETFILTER]: Kill nf_debug Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e45b1be8bcb3643808975a426fa3e201a2588e87 tree 0c461d7bd90d0c2fb462b42e664cf8a099c750ec parent c9e3e8b6958e02230079e6817862ea2968509866 author Patrick McHardy Tue, 21 Jun 2005 14:01:30 -0700 committer David S. Miller Tue, 21 Jun 2005 14:01:30 -0700 [NETFILTER]: Kill lockhelp.h Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 95dccdfe29a76c513e29f88f366612d7570adab3 tree d2ed25fed94c042a1cbe0b2262b92ba878dc74c1 parent 8ba08378b479f472b37b83542c31bdad465033cf author Greg Edwards Tue, 21 Jun 2005 10:43:00 -0700 committer Tony Luck Tue, 21 Jun 2005 14:01:05 -0700 [IA64] refresh arch/ia64/defconfig Refresh arch/ia64/defconfig, as it was getting a bit stale. The only manual changes I made were: CONFIG_SCSI_SATA=y needed for some Altix base I/O cards CONFIG_SCSI_SATA_VITESSE=y CONFIG_DM_MULTIPATH=m the rest are already modules CONFIG_FUSION_SPI=y new driver breakout CONFIG_FUSION_FC=m CONFIG_SGI_TIOCX=y enable some other SGI drivers CONFIG_SGI_MBCS=m CONFIG_AGP_SGI_TIOCA=m Boot tested on Altix, HP rx2600 and Intel Tiger Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit c9e3e8b6958e02230079e6817862ea2968509866 tree 296b30b9e208d37b1cdfa6d40ad785abb1487bd9 parent 0d51aa80a9b1db43920c0770c3bb842dd823c005 author David L Stevens Tue, 21 Jun 2005 13:58:25 -0700 committer David S. Miller Tue, 21 Jun 2005 13:58:25 -0700 [IPV6]: multicast join and misc Here is a simplified version of the patch to fix a bug in IPv6 multicasting. It: 1) adds existence check & EADDRINUSE error for regular joins 2) adds an exception for EADDRINUSE in the source-specific multicast join (where a prior join is ok) 3) adds a missing/needed read_lock on sock_mc_list; would've raced with destroying the socket on interface down without 4) adds a "leave group" in the (INCLUDE, empty) source filter case. This frees unneeded socket buffer memory, but also prevents an inappropriate interaction among the 8 socket options that mess with this. Some would fail as if in the group when you aren't really. Item #4 had a locking bug in the last version of this patch; rather than removing the idev->lock read lock only, I've simplified it to remove all lock state in the path and treat it as a direct "leave group" call for the (INCLUDE,empty) case it covers. Tested on an MP machine. :-) Much thanks to HoerdtMickael who reported the original bug. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 0d51aa80a9b1db43920c0770c3bb842dd823c005 tree 999b0c5afbbb1f32af07eb2e1cb9e2692f1aa791 parent 19baf839ff4a8daa1f2a7400897094fc18e4f5e9 author Jamal Hadi Salim Tue, 21 Jun 2005 13:51:04 -0700 committer David S. Miller Tue, 21 Jun 2005 13:51:04 -0700 [IPV6]: V6 route events reported with wrong netlink PID and seq number Essentially netlink at the moment always reports a pid and sequence of 0 always for v6 route activities. To understand the repurcassions of this look at: http://lists.quagga.net/pipermail/quagga-dev/2005-June/003507.html While fixing this, i took the liberty to resolve the outstanding issue of IPV6 routes inserted via ioctls to have the correct pids as well. This patch tries to behave as close as possible to the v4 routes i.e maintains whatever PID the socket issuing the command owns as opposed to the process. That made the patch a little bulky. I have tested against both netlink derived utility to add/del routes as well as ioctl derived one. The Quagga folks have tested against quagga. This fixes the problem and so far hasnt been detected to introduce any new issues. Signed-off-by: Jamal Hadi Salim Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 19baf839ff4a8daa1f2a7400897094fc18e4f5e9 tree 719e1b64a4fedc4fc028874b5562553c7a524473 parent 18b504e25fd617bee8830d2cdcaff7fb7b5931bb author Robert Olsson Tue, 21 Jun 2005 12:43:18 -0700 committer David S. Miller Tue, 21 Jun 2005 12:43:18 -0700 [IPV4]: Add LC-Trie FIB lookup algorithm. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 18b504e25fd617bee8830d2cdcaff7fb7b5931bb tree 6e7daab06749832d0e40ffae6572abc297d02d11 parent 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e author Alexey Kuznetsov Tue, 21 Jun 2005 12:38:48 -0700 committer David S. Miller Tue, 21 Jun 2005 12:38:48 -0700 [NETLINK]: netlink_callback structure needs 5 args not 4 net/ipv4/tcp_diag.c uses up to ->args[4] Signed-off-by: David S. Miller commit fae6ec69c84d71b1d5bda9ede1a262c1681684aa tree eb4aff9a5c2b7d04ce09a3717bb1dd4a79fe7595 parent bbc0274e9bb2e3f1d724d445a2bd32566b9b66f7 parent 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e author Jaroslav Kysela Tue, 21 Jun 2005 07:39:41 -0700 committer Jaroslav Kysela Tue, 21 Jun 2005 07:39:41 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit ad89d0212e32c5cf27dfcbad67b91a32b9878529 tree 67cc01b65201f7356a52c91bfd83dad92181be7f parent 754002b4fb1b553bd8f978bb6f5aca7af46fde67 author Nathan Scott Tue, 21 Jun 2005 15:57:57 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:57:57 +1000 [XFS] Remove some debugging code from quota syscalls. SGI-PV: 932952 SGI-Modid: xfs-linux-melb:xfs-kern:22929a Signed-off-by: Nathan Scott commit 754002b4fb1b553bd8f978bb6f5aca7af46fde67 tree e40e17fab79023052f0a66c8ee7c2cadbf434a98 parent 06d10dd9ca70ff1318ff2b871ff5f61a94223d9f author Nathan Scott Tue, 21 Jun 2005 15:49:06 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:49:06 +1000 [XFS] Merge a few minor fixes to the quota warning code. SGI-PV: 938145 SGI-Modid: xfs-linux:xfs-kern:22901a Signed-off-by: Nathan Scott commit 06d10dd9ca70ff1318ff2b871ff5f61a94223d9f tree 5ce06a8dc60a7ee78183e5b97a3565ac10424ea1 parent 77bc5beb5977a166e41b87c9d55d8e9cf2b3a04f author Nathan Scott Tue, 21 Jun 2005 15:48:47 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:48:47 +1000 [XFS] Merge fixes into realtime quota code, since one/two reported, still not enabled though. SGI-PV: 938145 SGI-Modid: xfs-linux:xfs-kern:22900a Signed-off-by: Nathan Scott commit 77bc5beb5977a166e41b87c9d55d8e9cf2b3a04f tree c4721d0fe343cb7c0bc0f61720581f2498b2b0bb parent bd5a876ac4c130e8e1986dcdbb21839ae4cd91c0 author Nathan Scott Tue, 21 Jun 2005 15:48:04 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:48:04 +1000 [XFS] Makes more sense to use the fsxattr interface instead of adding new ioctls for project IDs. SGI-PV: 938145 SGI-Modid: xfs-linux:xfs-kern:22899a Signed-off-by: Nathan Scott commit bd5a876ac4c130e8e1986dcdbb21839ae4cd91c0 tree 5b03fbdcfafa7702cf70388891a1bab700349add parent d130c14c0310edac5ea0c6327bef7e3715f9a083 author Christoph Hellwig Tue, 21 Jun 2005 15:47:39 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:47:39 +1000 [XFS] (mostly) remove xfs_inval_cached_pages Since the last round of direct I/O locking changes it is just a wrapper around VOP_FLUSHINVAL_PAGES, so it's not nessecary anymore. Keep a simplified version for kernels < 2.4.22, as these don't have the changed direct I/O locking. SGI-PV: 938064 SGI-Modid: xfs-linux:xfs-kern:194420a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d130c14c0310edac5ea0c6327bef7e3715f9a083 tree 994ae017609f34e6af8e2ba6f432ed3d65ed13ce parent 7d795ca3442c7a562c45aeb7a7a808c79992a589 author Christoph Hellwig Tue, 21 Jun 2005 15:43:22 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:43:22 +1000 [XFS] simplify ASSERT SGI-PV: 938063 SGI-Modid: xfs-linux:xfs-kern:194416a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 7d795ca3442c7a562c45aeb7a7a808c79992a589 tree b18bf1ccbca3cb59b9fb31d0072de24c276aba9f parent f898d6c09caa40d82203acd72e9fda3cd5aeae74 author Christoph Hellwig Tue, 21 Jun 2005 15:41:19 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:41:19 +1000 [XFS] consolidate extent item freeing SGI-PV: 938062 SGI-Modid: xfs-linux:xfs-kern:194415a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f898d6c09caa40d82203acd72e9fda3cd5aeae74 tree 4fc118dd4374cae5804e427e2703c2343d01a6a4 parent 48fab6bf5f8baf0d16b20a35e537719d14b66275 author Christoph Hellwig Tue, 21 Jun 2005 15:40:48 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:40:48 +1000 [XFS] quiesce the filesystem proper when freezing SGI-PV: 936977 SGI-Modid: xfs-linux:xfs-kern:193840a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 48fab6bf5f8baf0d16b20a35e537719d14b66275 tree 3243d398d195cdeff5c392695c72956525af87b8 parent 6add2c4288801bd7fd0a4cc3277de7688f1f6714 author Christoph Hellwig Tue, 21 Jun 2005 15:40:20 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:40:20 +1000 [XFS] add XFS_INOBT_IS_FREE_DISK SGI-PV: 928382 SGI-Modid: xfs-linux:xfs-kern:193778a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6add2c4288801bd7fd0a4cc3277de7688f1f6714 tree 4eaaec0954843cbfdb9f5dc14e02db9f04d885cc parent 365ca83d509f77f2095976edb8d10ca6e9d86d58 author Eric Sandeen Tue, 21 Jun 2005 15:39:44 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:39:44 +1000 [XFS] Fix up some warning fallout from functions made static SGI-PV: 936255 SGI-Modid: xfs-linux:xfs-kern:193691a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 365ca83d509f77f2095976edb8d10ca6e9d86d58 tree 312ef7fdcb4f35f49d0b0432344779e32ca81cbd parent c8ad20ffeb592d66ea869c57f8c525a9d727c67b author Nathan Scott Tue, 21 Jun 2005 15:39:12 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:39:12 +1000 [XFS] Add support for project quota inheritance, a merge of Glens changes. SGI-PV: 932952 SGI-Modid: xfs-linux:xfs-kern:22806a Signed-off-by: Nathan Scott commit c8ad20ffeb592d66ea869c57f8c525a9d727c67b tree 3306edfe984170bc881a1d7fbeab29b4b59f0305 parent 8401e9631c26dca9ebbc6997ac445fd49b06c79e author Nathan Scott Tue, 21 Jun 2005 15:38:48 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:38:48 +1000 [XFS] Add support for project quota, based on Dan Knappes earlier work. SGI-PV: 932952 SGI-Modid: xfs-linux:xfs-kern:22805a Signed-off-by: Nathan Scott commit 8401e9631c26dca9ebbc6997ac445fd49b06c79e tree ba1254075e3875e20ebec6ff74f4a75bd976037c parent 66f58d236fd9c2676545678374d58d48206bdbfa author Christoph Hellwig Tue, 21 Jun 2005 15:38:03 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:38:03 +1000 [XFS] remove xfs_incore_relse SGI-PV: 936977 SGI-Modid: xfs-linux:xfs-kern:193409a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 66f58d236fd9c2676545678374d58d48206bdbfa tree ec114f767c2b536fdcdb3fca08503548d56e1adb parent efa8027804b2bd8eb7d4b41a1f5b738c36e44e8c author Christoph Hellwig Tue, 21 Jun 2005 15:37:43 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:37:43 +1000 [XFS] simplify XFS_PURGE_INODE SGI-PV: 936891 SGI-Modid: xfs-linux:xfs-kern:193408a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit efa8027804b2bd8eb7d4b41a1f5b738c36e44e8c tree 763b870f05c5a8e41fddcfe77f56f3ba5cfcf191 parent ba0f32d46049e2b625dabd33c7964f8ca2cd7651 author Christoph Hellwig Tue, 21 Jun 2005 15:37:17 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:37:17 +1000 [XFS] rewrite xfs_iflush_all SGI-PV: 936890 SGI-Modid: xfs-linux:xfs-kern:193349a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit ba0f32d46049e2b625dabd33c7964f8ca2cd7651 tree e48dde981e091570870173b5e4f0ec42f01d197d parent 4372d6e10349d4e8b012588f86f15c740c73a7c4 author Christoph Hellwig Tue, 21 Jun 2005 15:36:52 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:36:52 +1000 [XFS] mark various symbols static Patch from Adrian Bunk SGI-PV: 936255 SGI-Modid: xfs-linux:xfs-kern:192760a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 4372d6e10349d4e8b012588f86f15c740c73a7c4 tree 4ca00eae1d6b4eca6a4c19f1846e7cecbe3cdb09 parent cf9937c6c6c7edb6650411d1cf3cb57f072b1277 author Christoph Hellwig Tue, 21 Jun 2005 15:36:00 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:36:00 +1000 [XFS] Remove dead code. Patch from Adrian Bunk SGI-PV: 936255 SGI-Modid: xfs-linux:xfs-kern:192759a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit cf9937c6c6c7edb6650411d1cf3cb57f072b1277 tree 89b25ad33a5f87d52106455cef3088175609d7f5 parent 02de1f0abfc60aa4fead65eee4118d05667c93c3 author Christoph Hellwig Tue, 21 Jun 2005 15:35:24 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:35:24 +1000 [XFS] Fix pagebuf slab initialization SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:192756a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 02de1f0abfc60aa4fead65eee4118d05667c93c3 tree 15417089cdb2ff212f51d8c3a4100146f8b14ea8 parent 23ea4032c875fc75c2363a9bcaba87cfb134ff68 author Christoph Hellwig Tue, 21 Jun 2005 15:33:48 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:33:48 +1000 [XFS] fix some more compiler warnings in the vnode tracing code SGI-PV: 934679 SGI-Modid: xfs-linux:xfs-kern:192570a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 23ea4032c875fc75c2363a9bcaba87cfb134ff68 tree 397a6515ff564d68c068938e2050439857d762dd parent 9ba91bd365a7f137c40b3644b57bc25853cd2d8d author Christoph Hellwig Tue, 21 Jun 2005 15:14:01 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:14:01 +1000 [XFS] rename various pagebuf symbols to xfsbuf SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:192348a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 9ba91bd365a7f137c40b3644b57bc25853cd2d8d tree 1ef1029927e2e59440c0bcecb6afea567fed38a6 parent eaffe886b5b345eaf6586be78eef762b6fd3e2bd author Dean Roehrich Tue, 21 Jun 2005 15:12:20 +1000 committer Nathan Scott Tue, 21 Jun 2005 15:12:20 +1000 [XFS] send dmapi events from nopage for mmapped files SGI-PV: 935317 SGI-Modid: xfs-linux:xfs-kern:192007a Signed-off-by: Dean Roehrich Signed-off-by: Nathan Scott commit eaffe886b5b345eaf6586be78eef762b6fd3e2bd tree 1ef1029927e2e59440c0bcecb6afea567fed38a6 parent 2b7f4bd02699daef40388d84b08106550b0e10a3 author Dean Roehrich Tue, 21 Jun 2005 14:47:46 +1000 committer Nathan Scott Tue, 21 Jun 2005 14:47:46 +1000 [XFS] Undo xfs-linux:xfs-kern:190622a SGI-PV: 933551 SGI-Modid: xfs-linux:xfs-kern:192006a Signed-off-by: Dean Roehrich Signed-off-by: Nathan Scott commit 2b7f4bd02699daef40388d84b08106550b0e10a3 tree 1ef1029927e2e59440c0bcecb6afea567fed38a6 parent 6fac0cb46bc4c50d6cbc5998ad206435f39fb00f author Dean Roehrich Tue, 21 Jun 2005 14:24:27 +1000 committer Nathan Scott Tue, 21 Jun 2005 14:24:27 +1000 [XFS] upate copyrights SGI-PV: 933765 SGI-Modid: xfs-linux:xfs-kern:190760a Signed-off-by: Dean Roehrich Signed-off-by: Nathan Scott commit 6fac0cb46bc4c50d6cbc5998ad206435f39fb00f tree 1ef1029927e2e59440c0bcecb6afea567fed38a6 parent b74e2159c9849fb97659c6dc47ad706f702b22b9 author Dean Roehrich Tue, 21 Jun 2005 14:07:45 +1000 committer Nathan Scott Tue, 21 Jun 2005 14:07:45 +1000 [XFS] coordinate mmap calls with xfs_dm_punch_hole SGI-PV: 933551 SGI-Modid: xfs-linux:xfs-kern:190622a Signed-off-by: Dean Roehrich Signed-off-by: Nathan Scott commit b74e2159c9849fb97659c6dc47ad706f702b22b9 tree a2fd0ade921c483b10aee42be2c3b30ceb2c02c7 parent 91b90475e793e84a57d956af8c52645e292badcb author Nathan Scott Tue, 21 Jun 2005 13:21:49 +1000 committer Nathan Scott Tue, 21 Jun 2005 13:21:49 +1000 [XFS] Add a get/set interface for XFS project identifiers. SGI-PV: 932952 SGI-Modid: xfs-linux:xfs-kern:21938a Signed-off-by: Nathan Scott 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 8ba08378b479f472b37b83542c31bdad465033cf tree f4421227b3065e786c9041cf0ce0073a249e011b parent 34b727c135ff651f153be5757056d25678b6d018 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Tony Luck Mon, 20 Jun 2005 09:35:34 -0700 committer Tony Luck Mon, 20 Jun 2005 09:35:34 -0700 Auto merge with /home/aegl/GIT/linus commit 34b727c135ff651f153be5757056d25678b6d018 tree 4bff383da7c655a1b87b10281d3a29f7d8b97835 parent 986a80d5c154808cc78170584670324a22fd8219 author David Mosberger-Tang Thu, 09 Jun 2005 22:36:00 -0700 committer Tony Luck Mon, 20 Jun 2005 09:34:02 -0700 [IA64] Drop spurious paren in entry.h The latest assembler catches this typo. (reported by Jim Wilson). Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck 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 d039ba24f135147f60a13bcaa768189a5b773b6e tree 444b7596ab8312b5954d15c3135052a7c09c6fbe parent 72e3148a6e987974e3e949c5668e5ca812d7c818 parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Dave Kleikamp Mon, 20 Jun 2005 08:44:00 -0500 committer Dave Kleikamp Mon, 20 Jun 2005 08:44:00 -0500 Merge with /home/shaggy/git/linus-clean/ 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 986a80d5c154808cc78170584670324a22fd8219 tree 11cc27ed20f65d1693ad2883a8606fbd7822888d parent 4845f3333765b732aa2d7ea6d72fd03cfec4fbf3 author Jesper Juhl Thu, 16 Jun 2005 15:14:00 -0700 committer Tony Luck Thu, 16 Jun 2005 16:27:14 -0700 [PATCH] avoid signed vs unsigned comparison in efi_range_is_wc() warning when building with gcc -W : include/linux/efi.h: In function `efi_range_is_wc': include/linux/efi.h:320: warning: comparison between signed and unsigned It looks to me like a significantly large 'len' passed in could cause the loop to never end. Isn't it safer to make 'i' an unsigned long as well? Like this little patch below (which of course also kills the warning) : Signed-off-by: Jesper Juhl Signed-off-by: Tony Luck 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 72e3148a6e987974e3e949c5668e5ca812d7c818 tree abdf33dbbe33029ab81e7a209f11f29d2bc6b801 parent c2731509cfb538b9b38feaf657fab2334ea45253 author Dave Kleikamp Fri, 03 Jun 2005 14:09:54 -0500 committer Dave Kleikamp Fri, 03 Jun 2005 14:09:54 -0500 JFS: Fix compiler warning in jfs_logmgr.c fs/jfs/jfs_logmgr.c: In function `jfs_flush_journal': fs/jfs/jfs_logmgr.c:1632: warning: unused variable `mp' Some debug code in jfs_flush_journal does nothing when CONFIG_JFS_DEBUG is not defined. Place the whole code segment within an ifdef to avoid unnecessary code to be compiled and the warning to be issued. Signed-off-by: Dave Kleikamp 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 c2731509cfb538b9b38feaf657fab2334ea45253 tree cb7ad2847067b5ba436b78077c4abc61ce736444 parent 7078253c085c037c070ca4e8bc9e9e7f18aa1e84 author Dave Kleikamp Thu, 02 Jun 2005 12:18:20 -0500 committer Dave Kleikamp Thu, 02 Jun 2005 12:18:20 -0500 JFS: kernel BUG at fs/jfs/jfs_txnmgr.c:859 add_missing_indices() must set tlck->type to tlckBTROOT when modifying a root btree root to avoid a trap in txRelease() Signed-off-by: Dave Kleikamp commit 7078253c085c037c070ca4e8bc9e9e7f18aa1e84 tree eaf56c1a77b0de6ee82e23cee4433b2c4a47e67e parent 259692bd5a2b2c2d351dd90748ba4126bc2a21b9 parent 1e86d1c648508fd50e6c9960576b87906a7906ad author Dave Kleikamp Thu, 02 Jun 2005 12:12:57 -0500 committer Dave Kleikamp Thu, 02 Jun 2005 12:12:57 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp 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 bbc0274e9bb2e3f1d724d445a2bd32566b9b66f7 tree bb8a7c1f67a07adaf53d95a9816caca3363614d9 parent 7028b09eecf01549ccaee9c884f48e5e00ec3d65 author Jaroslav Kysela Sun, 29 May 2005 10:32:48 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:32:48 +0200 [ALSA] version 1.0.9 commit 7028b09eecf01549ccaee9c884f48e5e00ec3d65 tree 51717b27718eb74f44bcd1b8fbd4ff02bacc4390 parent cdc5c53fde266055debf7f5c9c043d5acf47c5ff author Jaroslav Kysela Fri, 27 May 2005 12:42:26 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:44 +0200 [ALSA] select ISAPNP for SND_INTERWAVE_STB target ISA Signed-off-by: Jaroslav Kysela commit cdc5c53fde266055debf7f5c9c043d5acf47c5ff tree fb2eb8c49c1e2e55d24eebdb2ccbb828322f70e2 parent a6c17ec89d33a714b3e94a252c127f2ff63363c8 author Takashi Iwai Fri, 27 May 2005 12:40:52 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:30 +0200 [ALSA] Fix compilation on 32bit arch ALSA<-OSS emulation Fix the division with int64 for 32bit architectures. Signed-off-by: Takashi Iwai commit a6c17ec89d33a714b3e94a252c127f2ff63363c8 tree 89b5850ea17fb0cc6c56eec677451f367a4448ec parent 8cfbbac6ad024c3dc749ff20d7c308794da6e370 author Arnaud Patard Fri, 27 May 2005 12:31:34 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:27 +0200 [ALSA] emu10k1: add details for the audigy player box version EMU10K1/EMU10K2 driver Add details for the audigy player box version. Signed-off-by: Arnaud Patard Signed-off-by: Takashi Iwai commit 8cfbbac6ad024c3dc749ff20d7c308794da6e370 tree ea9ca27d2c57e16d88ca6fd8add787d0682a36de parent 11ca9afcfee3e6667a498b702642b09ac7312a8a author Takashi Iwai Fri, 27 May 2005 12:10:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:24 +0200 [ALSA] ice1724 - Add support of Chaintech AV-710 Documentation,ICE1724 driver Add the support of Chaintech AV-710 to ice1724 driver. The patch includes the WM-codec initialization fix by Jaanus Kivistik . Since both AV-710 and AMP Audio2000 have the same SSID, initialize WM codecs as default for both devices. In case it breaks Audio2000, you can pass 'model=amp2000' option to avoid WM codec initialization. Signed-off-by: Takashi Iwai commit 11ca9afcfee3e6667a498b702642b09ac7312a8a tree b8a6e62ae50f0c629e09342c4c11225578ac6799 parent af0816139fcf926b6b5c3f866c509507b411d547 author Takashi Iwai Fri, 27 May 2005 11:34:34 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:21 +0200 [ALSA] als4000 - Fix kernel panic with MPU401 ALS4000 driver Fix kernel panic with als4000 when MPU401 is accessed. Signed-off-by: Takashi Iwai commit af0816139fcf926b6b5c3f866c509507b411d547 tree bb02e0604b7c44da87327fbd54c59cc70e412202 parent bfc5bddb8efb7e3d10e2f2e07dc2d68e808a9c68 author Jaroslav Kysela Fri, 27 May 2005 11:15:20 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:17 +0200 [ALSA] alsa-oss - 2nd - improved readability ALSA<-OSS emulation Use 'long' for byte counters in snd_pcm_oss_bytes() snd_pcm_alsa_bytes(). Signed-off-by: Jaroslav Kysela commit bfc5bddb8efb7e3d10e2f2e07dc2d68e808a9c68 tree 3fff6984cac4c6dbf352262289507d13329d2a77 parent cdc27f3a3fad42f797d4112719d8455fda78c2df author Jaroslav Kysela Fri, 27 May 2005 11:12:35 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:14 +0200 [ALSA] alsa-oss - improve readability of snd_pcm_oss_bytes() function ALSA<-OSS emulation Added bytes variable and do not use the frames argument as a temporaly storage for the byte counter. Signed-off-by: Jaroslav Kysela commit cdc27f3a3fad42f797d4112719d8455fda78c2df tree e6303290fa232733307242036bc282baf77b205d parent 685c0dccadfe19233d414afd9f00b8d480a85953 author Takashi Iwai Fri, 27 May 2005 11:11:02 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:11 +0200 [ALSA] [doc] Fix a comment about dxs_support for via82xx driver Documentation Fixed/improved a comment about dxs_support option for via82xx driver. Signed-off-by: Takashi Iwai commit 685c0dccadfe19233d414afd9f00b8d480a85953 tree 2dd835502109877bc4d495dcb701af28bd8d577b parent fc232c6e8d618daae212f643587f33d202961861 author Takashi Iwai Fri, 27 May 2005 11:10:18 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:08 +0200 [ALSA] Add dxs_support for a Twinhead mobo VIA82xx driver Added dxs_support=4 for a Twinhead mobo. Signed-off-by: Takashi Iwai commit fc232c6e8d618daae212f643587f33d202961861 tree d2a0141a0ee8ea01923910e8172ac9fa99628f67 parent 8e72ab349e54da49cf3e11480581a3e6704d9553 author Takashi Iwai Fri, 27 May 2005 10:42:45 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:05 +0200 [ALSA] Fix a wrong bit set in AC1985 code AC97 Codec Fixed a wrong bit set in AD1985 surround jack controls. Signed-off-by: Takashi Iwai commit 8e72ab349e54da49cf3e11480581a3e6704d9553 tree 926c3390d9bce0926657fb9e77f9ba17fb230f22 parent c3a9cfac750d78241b5dde7d004522f687703b90 author Jaroslav Kysela Fri, 27 May 2005 10:07:06 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:15:03 +0200 [ALSA] Reverted last patch for SNDCTL_DSP_GETOPTR fix & possible overflow fix ALSA<-OSS emulation This reverts the last patch which wrongly mixes bytes and frames. The real culprit might be the 32-bit overflow, so the return expression uses 64-bit values now in snd_pcm_oss_bytes(). Signed-off-by: Jaroslav Kysela commit c3a9cfac750d78241b5dde7d004522f687703b90 tree 9d7245efcd1703a0f0ddf2b15b87c1aabac36e29 parent 71fe7b82db923e0f71b05deeb54fce75d5a4d08d author Roger Mach Thu, 26 May 2005 17:58:01 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:59 +0200 [ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctly ALSA<-OSS emulation This patch changes snd_pcm_oss_bytes() by adding a local variable for the frames -> bytes conversion, which means that the frame count is no longer corrupted by this conversion. Signed-off-by: Roger Mach Signed-off-by: Clemens Ladisch commit 71fe7b82db923e0f71b05deeb54fce75d5a4d08d tree 3067daf15929d6f51f964ee929935f327e3d8a75 parent 033a1f10923bdc3646750eef471a618f9d4c074b author Takashi Iwai Wed, 25 May 2005 18:11:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:56 +0200 [ALSA] Fix ALC880 capture problems HDA Codec driver Fixed the capture on some ALC880 devices. The node 0x07 is sometimes invalid as an ADC. Also, the intialization of ADC nodes are fixed on some models. Signed-off-by: Takashi Iwai commit 033a1f10923bdc3646750eef471a618f9d4c074b tree dd43abc3ce2dca45c3bbb397beed5692e26e0096 parent 9baf6507ff4d0dcab22460e8785582d4eaadebeb author Takashi Iwai Wed, 25 May 2005 16:41:43 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:53 +0200 [ALSA] hda-code: Fix the array size of codec list HDA Codec driver Fixed the wrong array size of the codec pointer list. Signed-off-by: Takashi Iwai commit 9baf6507ff4d0dcab22460e8785582d4eaadebeb tree 45dbe96a27cde0dcda6c9d620043ccc394431468 parent 62144100471e940468d7a0f2d989df193afe870c author Takashi Iwai Tue, 24 May 2005 17:27:00 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:50 +0200 [ALSA] Use standard form for URL Sound Core Use the standard form with <> for URL in Kconfig help texts. Signed-off-by: Takashi Iwai commit 62144100471e940468d7a0f2d989df193afe870c tree 0aac04d21502e1c4d69b38e7218128923a01738d parent 23854c30021fb6da1a76a0e6901b35be03419d5f author Takashi Iwai Tue, 24 May 2005 17:24:59 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:48 +0200 [ALSA] Make docproc happy PCM Midlevel Make docproc happy by moving '#if 0' before comments. Signed-off-by: Takashi Iwai commit 23854c30021fb6da1a76a0e6901b35be03419d5f tree 19f81a68a4877a7bbae47a8c46adc225aba3835b parent c9bce91f902737395c72d037d70effb5fcbc53b4 author Takashi Iwai Tue, 24 May 2005 15:22:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:45 +0200 [ALSA] Add comments for Sound Core Added (minimal) comments for in Kconfig, so that configurators can choose this entry explicitly. A more descriptive comment by someone else is appreciated... Signed-off-by: Takashi Iwai commit c9bce91f902737395c72d037d70effb5fcbc53b4 tree ee600bdb45e47df535290d825641d956c0774553 parent b9cce37411edd668ae5dbc16aa9653800c8e0744 author Takashi Iwai Tue, 24 May 2005 13:41:03 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:42 +0200 [ALSA] Update documentation for ice1712 and ice1724 Documentation,ICE1712 driver Updated the documentation for ice1712 and ice1724 drivers. Added the device description for shuttle SN25P missing in the last patch. Signed-off-by: Takashi Iwai commit b9cce37411edd668ae5dbc16aa9653800c8e0744 tree 3878b55ef9a607c672b600ebdcfa0fe50fc259dc parent d6e33796b5857adf418b07f8f7ce65f46163b2f1 author Takashi Iwai Tue, 24 May 2005 13:16:56 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:38 +0200 [ALSA] Add Shuttle SN25P support ICE1712 driver Added the support for Shuttle SN25P. Signed-off-by: Takashi Iwai commit d6e33796b5857adf418b07f8f7ce65f46163b2f1 tree 1662cf83607388105774b27c7f94333a95421d21 parent e6e514fa825be7362a955ba43d6fd18896d375c2 author Takashi Iwai Tue, 24 May 2005 10:40:49 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:14:36 +0200 [ALSA] cmipci: Fix obsolete description Documentation Fixed obsolete description about CMIPCI driver. Signed-off-by: Takashi Iwai commit e6e514fa825be7362a955ba43d6fd18896d375c2 tree 6e53cd338862e23f33c7094da36e5afdbdfd816c parent 209ac85d76e4edf05779b4bd5c2a92b059e9ab4d author Takashi Iwai Mon, 23 May 2005 10:33:08 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:41 +0200 [ALSA] Add the vendor 0x1558 to PM whitelist of es1968 ES1968 driver Added the vendor id 0x1558 to the power management whitelist of es1968 driver. Signed-off-by: Takashi Iwai commit 209ac85d76e4edf05779b4bd5c2a92b059e9ab4d tree bbed71e0eed26c7cf39cc4729906528a249b3b1d parent 1baa705b75124df7cfe3d5d2706f794a14d26ad0 author Adrian Bunk Mon, 23 May 2005 10:29:53 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:38 +0200 [ALSA] sound/isa/: cleanups GUS Library This patch contains the following possible cleanups: - make needlesly global code static - #if 0 the following unused global functions: - gus/gus_volume.c: snd_gf1_gvol_to_lvol_raw - gus/gus_volume.c: snd_gf1_calc_ramp_rate - gus/gus_volume.c: snd_gf1_compute_vibrato - gus/gus_volume.c: snd_gf1_compute_pitchbend - gus/gus_volume.c: snd_gf1_compute_freq - gus/gus_io.c: snd_gf1_i_adlib_write - gus/gus_io.c: snd_gf1_i_write_addr - gus/gus_io.c: snd_gf1_pokew - gus/gus_io.c: snd_gf1_peekw - gus/gus_io.c: snd_gf1_dram_setmem - gus/gus_io.c: snd_gf1_print_global_registers - gus/gus_io.c: snd_gf1_print_setup_registers - gus/gus_io.c: snd_gf1_peek_print_block - gus/gus_io.c: snd_gf1_print_setup_registers - gus/gus_io.c: snd_gf1_peek_print_block - #if 0 the following unused global variable: - gus/gus_tables.h: snd_gf1_scale_table - remove the following unneeded EXPORT_SYMBOL's: - gus/gus_main.c: snd_gf1_i_write16 - gus/gus_main.c: snd_gf1_start - gus/gus_main.c: snd_gf1_stop Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 1baa705b75124df7cfe3d5d2706f794a14d26ad0 tree fb3e4a81c53a52caa33ee27426716360e5e5dc68 parent 8f55fbb0fdb821023ff0a816ebf5056188891ff0 author James Courtier-Dutton Sat, 21 May 2005 22:35:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:35 +0200 [ALSA] Tidy up card recognition. CA0106 driver Signed-off-by: James Courtier-Dutton commit 8f55fbb0fdb821023ff0a816ebf5056188891ff0 tree c637b02590d3a3129014be4326dc742ecd1afb10 parent 1f82941e82422fcb15d63431e163bf4f0b9389d9 author James Courtier-Dutton Sat, 21 May 2005 16:45:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:32 +0200 [ALSA] When the alsamixer says 'SPDIF Out [Off]', SPDIF output should be off and Analog output should be on. CA0106 driver This fixes a bug whereby when the snd-ca0106 module first loads, alsamixer says 'SPDIF Out [Off]' but no analog sound comes from the speakers. This covers any bug reports that said things like 'mixer fails to remember analog output on, when the system is rebooted.' Signed-off-by: James Courtier-Dutton commit 1f82941e82422fcb15d63431e163bf4f0b9389d9 tree 47b0555ffdae809156fa8ef6013de7019f2ba929 parent 82f008c2b651eefbf293546440fd226580b0c111 author James Courtier-Dutton Sat, 21 May 2005 16:23:37 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:29 +0200 [ALSA] Implement surround71 outputs on SB Live 24bit. CA0106 driver Notes: Requires updated alsa-lib. Signed-off-by: James Courtier-Dutton commit 82f008c2b651eefbf293546440fd226580b0c111 tree 101df8c988ba73254c179a3d05920ec2d5a57c42 parent 58c1f8acdeec4989e5dce1a3aec16926342d7f4b author Ville Syrjala Fri, 20 May 2005 18:40:38 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:26 +0200 [ALSA] maestro3: Add hardware volume control quirk list Maestro3 driver Add a hardware volume quirk list to the maestro3 driver. Details were taken from the Windows driver. Hardware volume control is enabled only for the systems in the list. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai commit 58c1f8acdeec4989e5dce1a3aec16926342d7f4b tree 34456338068c31178b19f3659893a125eaa5aabd parent 123992f728785e05f385d23893bd5ec69871aeb4 author Takashi Iwai Fri, 20 May 2005 16:13:00 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:23 +0200 [ALSA] Fix resume of via82xx-modem VIA82xx-modem driver Fix the resume of via82xx-modem, removing invalid __devinit. Signed-off-by: Takashi Iwai commit 123992f728785e05f385d23893bd5ec69871aeb4 tree 0f731b0f807903a4a5add6b0ff7ab5a9737c02ae parent 5218064c885af5c49e380d09d54f3cc86891a580 author Adrian Bunk Wed, 18 May 2005 18:02:04 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:20 +0200 [ALSA] sound/core/: possible cleanups PCM Midlevel,ALSA Core,Timer Midlevel,ALSA sequencer,Virtual Midi This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions - remove the following unneeded EXPORT_SYMBOL's Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 5218064c885af5c49e380d09d54f3cc86891a580 tree d4698bad2c3fd7425bb52d1d3cae7c6a8ad48ce8 parent 9502dcad6c1138a3ce2bae23ccd4be44c718d2a9 author Benjamin Herrenschmidt Wed, 18 May 2005 16:31:51 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:14 +0200 [ALSA] ppc32: Fix Alsa PowerMac driver on old machines PPC PMAC driver The g5 support code broke some earlier models unfortunately as those bail out early from the detect function, before the point where I added the code to locate the PCI device for use with DMA allocations. This patch fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Takashi Iwai commit 9502dcad6c1138a3ce2bae23ccd4be44c718d2a9 tree 008d96ca9953b55ba1bf3255e61e28de25997a0f parent e5b3f45f5d442b57dd07dd4f914f7e6cf4d183f1 author Takashi Iwai Wed, 18 May 2005 16:25:46 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:11 +0200 [ALSA] Export missing snd_pcm_format_*() PCM Midlevel Export snd_pcm_format_size(). This function is used by some out-of-kernel drivers. Make snd_pcm_format_cpu_endian() macro for optimization. Signed-off-by: Takashi Iwai commit e5b3f45f5d442b57dd07dd4f914f7e6cf4d183f1 tree 52e790c9b78419565a4ab7143e8be51647b2efdb parent 604cf499256af85703bd4858da56e777ec71714d author Takashi Iwai Tue, 17 May 2005 17:17:57 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:07 +0200 [ALSA] Fix Mic/CLFE sharing on AD1985 AC97 Codec Fixed Mic/CLFE jack sharing on AD1985 codec. Signed-off-by: Takashi Iwai commit 604cf499256af85703bd4858da56e777ec71714d tree bf7965d3be2186421121aba8cfaad3cc9d335aff parent d3ff42fd2b4fddb5d779e9e03a2ea44147aa8048 author Clemens Ladisch Tue, 17 May 2005 09:15:27 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:03 +0200 [ALSA] usb-audio - fix synchronization packet interval with Audigy 2 NX USB generic driver When a device does not provide the bRefresh field in its audio endpoint descriptors, use the bInterval field instead. Furthermore, increase the number of sync URBs for better queueing. Signed-off-by: Clemens Ladisch commit d3ff42fd2b4fddb5d779e9e03a2ea44147aa8048 tree aaf04b4404acd97f548c615efd53cf91f6d9e754 parent d138b44589cc180418f5a20cb0ecfe338123d86c author Clemens Ladisch Tue, 17 May 2005 09:14:27 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:11:00 +0200 [ALSA] usb-audio - claim all interfaces for Roland USB MIDI devices USB generic driver Many Roland USB MIDI devices have two interfaces that are currently not used by the driver; claim them anyway. Signed-off-by: Clemens Ladisch commit d138b44589cc180418f5a20cb0ecfe338123d86c tree c9ab9d8bc3acb581121714dc6e631cb5f50b3623 parent 8c50b37c04a026ab6641ecb7eaf0fd479798e8b8 author Jaroslav Kysela Mon, 16 May 2005 13:51:39 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:57 +0200 [ALSA] fixed PAUSE ioctl for user space interface Timer Midlevel - fixed traditional cut-n-paste error Signed-off-by: Jaroslav Kysela commit 8c50b37c04a026ab6641ecb7eaf0fd479798e8b8 tree d4f6d64609ba587f94678d9765f2c2caff10494c parent 15790a6be14852850ee7cbd791225fa51750d8af author Takashi Iwai Sun, 15 May 2005 15:43:54 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:53 +0200 [ALSA] Change some timer ioctls due to confliction Timer Midlevel,ALSA Core Change values of some timer ioctls to avoid confliction with FIO* ioctls. The protocol version is increased to indicate this change. Signed-off-by: Takashi Iwai commit 15790a6be14852850ee7cbd791225fa51750d8af tree 9dfed38c6fe1ce94174a69d514f9612e67d2c103 parent 92bb010cd874e53e4c2e2a73510966e45cfa4525 author Takashi Iwai Sun, 15 May 2005 15:04:14 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:49 +0200 [ALSA] Add missing PAUSE ioctl Timer Midlevel Added the missing implemenation of TIMER PAUSE ioctl. Signed-off-by: Takashi Iwai commit 92bb010cd874e53e4c2e2a73510966e45cfa4525 tree bcd58a65c46817d4aa8f87da20d9b7595baf6b32 parent 6d85be612d8b6a6730d19e742329e5ffa60eafdd author Takashi Iwai Sun, 15 May 2005 14:41:20 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:46 +0200 [ALSA] Add PnP ID ADS7180 AD1816A driver Added PnP ID 'ADS7180' (AD1816?). Signed-off-by: Takashi Iwai commit 6d85be612d8b6a6730d19e742329e5ffa60eafdd tree 975980e8a466938689ba3d764988eb23fb7d0b21 parent 54b903ec6e5a3194d86d8bb2f419c918efa4897f author Takashi Iwai Sun, 15 May 2005 14:32:50 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:43 +0200 [ALSA] Suppress debug message Control Midlevel Suppress 'unknown ioctl' debug message (replaced with snd_printdd). Signed-off-by: Takashi Iwai commit 54b903ec6e5a3194d86d8bb2f419c918efa4897f tree f903258af96aff7fd48071d52059d347a7af6b38 parent fd2c326de8cd35a36514a887541426b1ef7c5516 author Takashi Iwai Sun, 15 May 2005 14:30:10 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:40 +0200 [ALSA] Add Analog Devices vendor name HDA Codec driver Added the missing vendor name entry for Analog Devices. Signed-off-by: Takashi Iwai commit fd2c326de8cd35a36514a887541426b1ef7c5516 tree 465e67a3bd2bba7180731a418e418bfecc23de84 parent 9bc533f58e8515cf346932fc84a58dd706342635 author Takashi Iwai Fri, 13 May 2005 17:18:42 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:36 +0200 [ALSA] Allow more than 2 channel modes HDA Codec driver Allow 'Channel Mode' control to have more than 2 modes. Signed-off-by: Takashi Iwai commit 9bc533f58e8515cf346932fc84a58dd706342635 tree b5494e02db24dfe7da8e6a38dcbf8b0ca4260073 parent 680ff0ac6d0c84f14a2e540f64521a9fa80d8661 author Takashi Iwai Fri, 13 May 2005 16:44:27 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:33 +0200 [ALSA] Fix a typo in position_fix module option type HDA Intel driver Fixed a typo in the type of position_fix module option. Signed-off-by: Takashi Iwai commit 680ff0ac6d0c84f14a2e540f64521a9fa80d8661 tree f532789bee72426aae3305ad57fdacd97d1ed00d parent 89c87bf8c12e27fbbed971380e21895cace3a065 author Takashi Iwai Fri, 13 May 2005 16:06:14 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:30 +0200 [ALSA] Suppress error message HDA Codec driver Suppressing the error message regarding no AFG. This is often harmless (e.g. probing a modem codec). Signed-off-by: Takashi Iwai commit 89c87bf8c12e27fbbed971380e21895cace3a065 tree fe1ba4e6d38044da0d7365dad038b121bc56db0d parent 10268b0c38333ede95bb59a7fa561519e6eb8251 author Adrian Bunk Fri, 13 May 2005 15:28:08 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:10:27 +0200 [ALSA] make code static CA0106 driver,HDA Codec driver This patch makes needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 10268b0c38333ede95bb59a7fa561519e6eb8251 tree 21170016ae3b3727371e2e52c97ae95f8f3a34bf parent 29b16931f936fdbcd78995e66d0f5626f3afbda8 author Takashi Iwai Fri, 13 May 2005 11:01:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:56 +0200 [ALSA] Remove obsolete mixer control AC97 Codec Removed the obsolete mixer control for AD1985. Signed-off-by: Takashi Iwai commit 29b16931f936fdbcd78995e66d0f5626f3afbda8 tree 938e0d682b0977d093690481a842132fb5a22718 parent 50cdbf1519a891bec4ce306c7bae397a0d8e7246 author Clemens Ladisch Fri, 13 May 2005 07:50:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:53 +0200 [ALSA] usb-audio - avoid unnecessary double buffering USB generic driver When a USB packet boundary falls exactly on a buffer boundary, hwptr remains at the end of the buffer which causes an overflow in the next iteration and triggers double buffering although the next packet would actually be contiguous. This patch ensures that hwptr is always smaller than buffer_size. Signed-off-by: Clemens Ladisch commit 50cdbf1519a891bec4ce306c7bae397a0d8e7246 tree 17fb772a610e750e3e98e25f930143f1b784ff84 parent 7291548df69ab4e3a87ff6952449d1f05c3a5443 author Clemens Ladisch Fri, 13 May 2005 07:44:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:50 +0200 [ALSA] usb-audio - sanity-check sync feedback frequency values USB generic driver Check that the synchronization feedback frequency values returned by the device are more or less near the nominal frequency. Signed-off-by: Clemens Ladisch commit 7291548df69ab4e3a87ff6952449d1f05c3a5443 tree 535e92082d3b1a5b4ef40c3ca3aae71329eee481 parent fc20a562ca1a3c22dc257b2e2d849cb1a9ab6420 author Takashi Iwai Thu, 12 May 2005 16:49:45 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:46 +0200 [ALSA] Rename pci_vendor/pci_device to pci_subvendor/pci_subdevice HDA Codec driver,HDA generic driver Renamed pci_vendor/pci_device fields to pci_subvendor/pci_subdevice. They are really PCI subsystem IDs. Signed-off-by: Takashi Iwai commit fc20a562ca1a3c22dc257b2e2d849cb1a9ab6420 tree ad600f55720bbfbb82e0310dc8e1c9f47f2c0fc8 parent f5d40b30ed4daf09f1d43f9b2da1263b17a53c28 author Takashi Iwai Thu, 12 May 2005 15:00:41 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:43 +0200 [ALSA] Add support of VIA VT8251/VT8237A HD-Audio controllers Documentation,HDA Intel driver Added the support of VIA VT8251/VT8237A HD-Audio controllers. They are (almost) compatible with Intel ICH6/7. Signed-off-by: Takashi Iwai commit f5d40b30ed4daf09f1d43f9b2da1263b17a53c28 tree 3feeb8d026591a719520e896a938c815dc7c2e90 parent 2fa522bed875cf0bde9e9fdb8fdd852c9d74d67d author Frederick Li Thu, 12 May 2005 14:55:20 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:40 +0200 [ALSA] Adding support for ATI IXP450 HD Audio device support Documentation,HDA Intel driver This patch changes the Intel HD Audio device driver to include the support of HD Audio device embedded in ATI south bridge IXP450. Because the design of ATI chipset follows intel HD Audio specification 1.0, the programming method is the same as that of intel HD Audio device exception one minor change which requires to enable snoop for DMA transport. There are 3 changes that have been made to hda_intel.c file. 1. Added device ID for ATI HD Audio device; 2. Increase maximum CODEC supported to 4; 3. Enable snoop during the driver initialization. Signed-off-by: Frederick Li Signed-off-by: Takashi Iwai commit 2fa522bed875cf0bde9e9fdb8fdd852c9d74d67d tree b366a3f37c9f422a563817f78322823f933297a0 parent dfc0ff62a1d24e987205b41fbf322a4377626481 author Takashi Iwai Thu, 12 May 2005 14:51:12 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:36 +0200 [ALSA] Add test model for debugging ALC880 devices HDA Codec driver Added 'test' model for testing/debugging the devices with ALC880 codec. This model is built only when CONFIG_SND_DEBUG is set. Signed-off-by: Takashi Iwai commit dfc0ff62a1d24e987205b41fbf322a4377626481 tree 9d16b44bed525194d745e8a861a395ed20a8a000 parent c74db86bcf0897cdd4dc1f85ae0d76ef59aaeb20 author Takashi Iwai Thu, 12 May 2005 14:31:49 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:33 +0200 [ALSA] Add ASUS Z71V support Documentation,HDA Codec driver Added the ASUS Z71V (or similar) laptop support. Signed-off-by: Takashi Iwai commit c74db86bcf0897cdd4dc1f85ae0d76ef59aaeb20 tree 07ca89ae966291074bdf5eea73aaaed14edb89dd parent 091bf4dcab10b083f944d4eafbe0c734786485fe author Takashi Iwai Thu, 12 May 2005 14:26:27 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:30 +0200 [ALSA] Add position_fix module option Documentation,HDA Intel driver Added position_fix module option to HDA-intel driver for fixing up the DMA position (possibly hardware-) bugs. Signed-off-by: Takashi Iwai commit 091bf4dcab10b083f944d4eafbe0c734786485fe tree 34e98a38fd1eb44ad01ee013e47dc525120a9851 parent db68d15da00f64bef2c8c822baab42aff39ae774 author Ville Syrjala Thu, 12 May 2005 14:20:57 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:26 +0200 [ALSA] maestro3: HP OmniBook HW volume button magic Maestro3 driver Some HP OmniBook laptops (500 and 6000 at least) require some GPIO magic before the HW volume buttons work. This patch makes them work mostly. Something is still missing to make them work perfectly. However I have been unable to figure out what exactly. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai commit db68d15da00f64bef2c8c822baab42aff39ae774 tree 193afef1ba4936b7265886360008305024429b5a parent 88491386be67f659e6b2c76c7463c997ce4c4ebb author Ville Syrjala Thu, 12 May 2005 14:19:32 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:23 +0200 [ALSA] maestro3: Add HW volume button support Maestro3 driver Add support for hardware volume buttons. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai commit 88491386be67f659e6b2c76c7463c997ce4c4ebb tree 87f8c45818c8e263049446658a0ac674d8d5d7df parent cb5a6ffc5c09bc354af69407dae710dcddcced37 author Ville Syrjala Thu, 12 May 2005 14:14:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:08:20 +0200 [ALSA] maestro3: Fix interrupt ack and disable Maestro3 driver Due to a typo interrupts were never actually acked or disabled. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai commit cb5a6ffc5c09bc354af69407dae710dcddcced37 tree 077341868201a1514a87f8cf25902903b873790f parent 9b9a5afffd8636a82c6b32970342aef9d1f3d17d author Russell King Thu, 12 May 2005 14:04:59 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:52 +0200 [ALSA] ARM AACI primecell driver ARM,/arm/Makefile,ARM AACI PL041 driver Add support for the ARM AACI Primecell, which provides an AC'97 based interface. This driver only provides playback support. This has been extensively tested with an LM4549 AC'97 codec. Signed-off-by: Russell King Signed-off-by: Takashi Iwai commit 9b9a5afffd8636a82c6b32970342aef9d1f3d17d tree 459b442ae9d43f988c3dcd1b6cf154fd76b1861b parent f7de9cfd25b6867a2854d98d734e03e1a9fc65fb author Russell King Thu, 12 May 2005 10:25:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:49 +0200 [ALSA] ARM DMA subsystem ARM DMA routines The patch below adds a convenient re-usable shim around the extended ARM DMA API, and is used by several ARM ALSA drivers. Signed-off-by: Russell King Signed-off-by: Takashi Iwai commit f7de9cfd25b6867a2854d98d734e03e1a9fc65fb tree b114d7f60dd39cbfd85957c8050def8fd244cff4 parent 1dcd3ec4728f9568ee204ceb46b0851be324a7f9 author Mikael Magnusson Wed, 11 May 2005 11:13:26 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:46 +0200 [ALSA] emu10k1 - add SB0060 to emu_chip_details EMU10K1/EMU10K2 driver The following patch adds SB0060 to emu_chip_details. Signed-off-by: Mikael Magnusson Signed-off-by: Jaroslav Kysela commit 1dcd3ec4728f9568ee204ceb46b0851be324a7f9 tree 9c89dfeb83d373627b5b47b0fbf2defd0f0ed4df parent 462c4173509c5d1ebdc6cfd58f7236c2ac467e30 author Clemens Ladisch Tue, 10 May 2005 14:51:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:43 +0200 [ALSA] usb-audio - bind to control interface instead of usb_device USB generic driver Bind the device files to the (first) audio control interface instead of the entire USB device. Signed-off-by: Clemens Ladisch commit 462c4173509c5d1ebdc6cfd58f7236c2ac467e30 tree 246cda0e1153563b6c59341d5d07660d53da5b42 parent 3296480674e127601f453db6301bfbcbacb0d123 author Clemens Ladisch Tue, 10 May 2005 14:50:31 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:40 +0200 [ALSA] ac97 - enable multichannel output on AD198x codecs AC97 Codec The code for AD1980/AD1985/AD1986 codecs forgot to enable the code to switch the jack sharing bits on AD1888-compatible codecs. Signed-off-by: Clemens Ladisch commit 3296480674e127601f453db6301bfbcbacb0d123 tree 47e67ce21e96b5b3e4fc1fa395ed70dbf2330641 parent aafad5629a949d0ad41180f8a746b6cd7654e317 author Clemens Ladisch Tue, 10 May 2005 14:48:37 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:36 +0200 [ALSA] ac97 - fix Mic jack sharing on AD1888 codecs AC97 Codec The code for modifying the center/LFE disable bit on AD1888 codecs accidentally toggled the mute split bit instead. Signed-off-by: Clemens Ladisch commit aafad5629a949d0ad41180f8a746b6cd7654e317 tree 7ed566d6890bb4b45abacb5539dde09c6ea799fb parent f55a655bf9eeb1431633bd313f47c8e4dadcf47c author Clemens Ladisch Tue, 10 May 2005 14:47:38 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:34 +0200 [ALSA] usb-audio - add a proc file for Audigy 2 NX jack status USB generic driver This patch adds a proc file for the SB Audigy 2 NX which shows the connection status of the various jacks. Unfortunately, no SPDIF input frequency (yet). Signed-off-by: Clemens Ladisch commit f55a655bf9eeb1431633bd313f47c8e4dadcf47c tree 62b3427dcca236cf76e4098d79ee6872b2caeb9c parent 3a2f08560d61e267aacddc63c26bf997d0d85e91 author Clemens Ladisch Mon, 09 May 2005 09:21:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:31 +0200 [ALSA] usb-audio - remove superfluous LIRC ioctls USB generic driver The ioctls for LIRC compatibility can be removed because the infrastructure and detection stuff is better done in user space. Signed-off-by: Clemens Ladisch commit 3a2f08560d61e267aacddc63c26bf997d0d85e91 tree 5ce7ecbb0e6c81ea249e998fbf0fef06a1d9f82d parent 3714b5344e2da58d18f0b885663226826c22a1b3 author Clemens Ladisch Mon, 09 May 2005 09:20:31 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:28 +0200 [ALSA] usb-audio - enable high speed (not) on Audigy 2 NX USB generic driver The SB Audigy 2 NX needs a special boot-up command before it works in high speed mode. However, we don't actually enable it yet because high speed synchronization doesn't seem to work with this device. Signed-off-by: Clemens Ladisch commit 3714b5344e2da58d18f0b885663226826c22a1b3 tree f68b4369ba53f44d90a005e842736e596a4b5ef8 parent a488e033861363f64ed90d01622e0c30b382b753 author James Courtier-Dutton Sun, 08 May 2005 22:22:27 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:25 +0200 [ALSA] Fix snd-usb-audio dependency on snd-hwdep. USB Signed-off-by: James Courtier-Dutton commit a488e033861363f64ed90d01622e0c30b382b753 tree b506a8963ccfd18870a46d5a685063e45a90c88c parent 22bc30c84b4dc092deb2b14deb0603b257818e63 author Arnaud Patard Sat, 07 May 2005 18:51:51 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:22 +0200 [ALSA] cs4281 - fix DLLRDY not seen problem CS4281 driver Reset the FPDN bit of the EPPMC register if needed. Signed-off-by: Arnaud Patard Signed-off-by: Jaroslav Kysela commit 22bc30c84b4dc092deb2b14deb0603b257818e63 tree b4994742393cab13ee8af623ccacacc2e078832a parent f927c8fc648420ad8edd7e4699b4ba510c2e9c6b author James Courtier-Dutton Sat, 07 May 2005 16:13:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:19 +0200 [ALSA] Increase capture buffer sizes. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit f927c8fc648420ad8edd7e4699b4ba510c2e9c6b tree 54f71ca24c9c45a4b0c4a9e75e3ebda9a918ad74 parent c702563703b5680a7143f8ac66613d082a190ca2 author James Courtier-Dutton Sat, 07 May 2005 15:34:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:16 +0200 [ALSA] Implement different capture sources. EMU10K1/EMU10K2 driver e.g. When HD Capture source is set to SPDIF, setting HD Capture channel to 0 captures from CDROM digital input. setting HD Capture channel to 1 captures from SPDIF in. Signed-off-by: James Courtier-Dutton commit c702563703b5680a7143f8ac66613d082a190ca2 tree 6281d1668c7782fc756b6ff1fb7d433fb44adc4c parent 14c7e472aa979eecc15255eec5cec2763649c599 author James Courtier-Dutton Wed, 04 May 2005 17:26:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:13 +0200 [ALSA] Support multiple capture rates on p16v. EMU10K1/EMU10K2 driver The capture rate does in fact vary, but it only captures anything if the HD Capture source is set to I2S or AC97. I have not tested if the sound is actually captured from an physical input of some type or not. TODO: Get SPDIF capture working. Signed-off-by: James Courtier-Dutton commit 14c7e472aa979eecc15255eec5cec2763649c599 tree 0ebf95442fc71e4fc0d2cb9913b566b9d627aa6f parent c3f9329716df9965cbaf74ce313a12fe889c1a62 author James Courtier-Dutton Wed, 04 May 2005 16:53:53 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:10 +0200 [ALSA] Update A_SAMPLE_RATE register details. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit c3f9329716df9965cbaf74ce313a12fe889c1a62 tree 8f2200dbe57a0c19e393b5574dc5a49206cb75c1 parent 93446edcd05589201f20cf8843e8c4f990c18ae4 author Clemens Ladisch Wed, 04 May 2005 14:56:04 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:07 +0200 [ALSA] usb-audio - set sample rate attribute on Audigy 2 NX endpoints USB generic driver The SB Audigy 2 NX does not advertise the sample rate attribute in its endpoint descriptors although it supports it. Signed-off-by: Clemens Ladisch commit 93446edcd05589201f20cf8843e8c4f990c18ae4 tree 1c744566676679ae27194df86a956fbb84453a70 parent 434b7f56872fc5783c77f362e895da8e22168325 author Clemens Ladisch Tue, 03 May 2005 08:02:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:03 +0200 [ALSA] usb-audio - Audigy 2 NX blinkenlights USB generic driver Adds mixer controls for the CMSS/Dolby Digital/Power LEDs on the SB Audigy 2 NX. Signed-off-by: Clemens Ladisch commit 434b7f56872fc5783c77f362e895da8e22168325 tree 421248cb574264b68c4c432f3c5f428f69666ed1 parent ca81090a00e3e7152fe1f3d7398f11d57919428e author Clemens Ladisch Mon, 02 May 2005 08:58:31 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:06:00 +0200 [ALSA] usb-audio - make SB remote control device LIRC compatible USB generic driver Add ioctls to the Sound Blaster remote control hwdep device so that it can be used with LIRC. Signed-off-by: Clemens Ladisch commit ca81090a00e3e7152fe1f3d7398f11d57919428e tree ac134db42671da0ae343a72c1f48501aa7eb09bf parent 1149a64fe4916fe6fdc8938043a0dc9a6551ab63 author Clemens Ladisch Mon, 02 May 2005 08:55:54 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:57 +0200 [ALSA] usb-audio - use only one packet in synchronization feedback URBs USB generic driver Do not use more than one packet in synchronization feedback URBs because it would be pointless to send or receive more than one value at the same time. Signed-off-by: Clemens Ladisch commit 1149a64fe4916fe6fdc8938043a0dc9a6551ab63 tree fc27fcf75435d8fb856e572018fc964382e3deb7 parent 4dc40a3cc4778ebcb6212bdb71b48690a153be07 author Clemens Ladisch Mon, 02 May 2005 08:53:46 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:54 +0200 [ALSA] usb-audio - use proper interval between synchronization packets USB generic driver Add sanity checks when reading the bRefresh value, and actually use it for the synchronization packets instead of polling at 1000 Hz. Signed-off-by: Clemens Ladisch commit 4dc40a3cc4778ebcb6212bdb71b48690a153be07 tree cbc39632f4150b78e3274548e00039448ea1afe5 parent 27d10f5664c7650af3b2ffadfefaf19b36dc7bd8 author Clemens Ladisch Mon, 02 May 2005 08:52:32 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:51 +0200 [ALSA] usb-audio - allow type 0 extension units USB generic driver Extension units can have type 0, so do not ignore them when constructing mixer controls. Signed-off-by: Clemens Ladisch commit 27d10f5664c7650af3b2ffadfefaf19b36dc7bd8 tree b89c8d639041f460557bf6e9078c7cee7426cd2b parent b259b10c420a59a2fdbcf5a3498253ebcbdffa1e author Clemens Ladisch Mon, 02 May 2005 08:51:26 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:47 +0200 [ALSA] usb-audio - cache vendor/product IDs USB generic driver Cache the decoded values of idVendor/idProduct to get rid of most of those ugly le16_to_cpu() calls. Signed-off-by: Clemens Ladisch commit b259b10c420a59a2fdbcf5a3498253ebcbdffa1e tree 528711b6b9625ca55cf4e9cbf4748870327e611e parent 6639b6c2367f884ca172b78d69f7da17bfab2e5e author Clemens Ladisch Fri, 29 Apr 2005 16:29:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:43 +0200 [ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support ALSA Core,USB generic driver Add an hwdep interface that supports reading remote control data from Sound Blaster Extigy and Audigy 2 NX devices. Signed-off-by: Clemens Ladisch commit 6639b6c2367f884ca172b78d69f7da17bfab2e5e tree 5e2a119766b6199f7ce873e31c44e1462b206138 parent 84957a8ab086377a025e0448fa716ed5983f3c3a author Clemens Ladisch Fri, 29 Apr 2005 16:26:14 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:40 +0200 [ALSA] usb-audio - add mixer control notifications USB generic driver Add support for the optional status interrupt endpoint in audio control interfaces, and translate USB status notifications into ALSA mixer control notifications. Signed-off-by: Clemens Ladisch commit 84957a8ab086377a025e0448fa716ed5983f3c3a tree 7d405711f0fd2e6eb8c305b7bddf0aaeac22f3e4 parent 707e60732fc25fe3760f916d083b262a86a666c0 author Clemens Ladisch Fri, 29 Apr 2005 16:23:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:37 +0200 [ALSA] usb-audio - move mixer data into separate struct USB generic driver Move all data related to audio control interfaces into a separate struct local to usbmixer.c. Signed-off-by: Clemens Ladisch commit 707e60732fc25fe3760f916d083b262a86a666c0 tree f9decf1c0ad9d86df6f4c87c514454bc03a3d339 parent 8c1872dcf29e2a194197e1d5a9c366a265986b84 author Clemens Ladisch Fri, 29 Apr 2005 09:56:17 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:33 +0200 [ALSA] usb-audio - reduce size of unitbitmap array USB generic driver Unit/terminal IDs are 8-bit integers, so the unitbitmap variable does not need to be bigger than 256 bits. Signed-off-by: Clemens Ladisch commit 8c1872dcf29e2a194197e1d5a9c366a265986b84 tree eea405a6b71369e67add3c97b985d4986e7b29c4 parent ade2916109dc53350298f1ccfb8ab03432c590b4 author Clemens Ladisch Thu, 28 Apr 2005 09:31:53 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:29 +0200 [ALSA] usb-audio - restrict Audigy 2 NX frequencies to 48/96 kHz USB generic driver On the SB Audigy 2 NX, frequency feedback doesn't quite work when playing at 44.1 kHz, so temporarily disable this frequency. Signed-off-by: Clemens Ladisch commit ade2916109dc53350298f1ccfb8ab03432c590b4 tree 542b717e43ac6b1bf3602b6f7b7455bdee25312e parent 7679a03099992d8e6c878d459e22b639ed8c10fa author Jaroslav Kysela Wed, 27 Apr 2005 16:09:21 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:26 +0200 ALSA CVS update ALSA Version 1.0.9rc3 Signed-off-by: Jaroslav Kysela commit 7679a03099992d8e6c878d459e22b639ed8c10fa tree c8f19bcd7c9297948936fd8efe3b82c08f63c601 parent 67e1b51e293cec9bbe8c9ad81680bceec1e3b7f9 author Thomas Charbonnel Mon, 25 Apr 2005 11:35:29 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:23 +0200 [ALSA] hdsp - solved big endian problem RME HDSP driver ppc firmware upload fix Signed-off-by: Thomas Charbonnel Signed-off-by: Jaroslav Kysela commit 67e1b51e293cec9bbe8c9ad81680bceec1e3b7f9 tree 8c2178198d17182510d2730ddfe5f2f8b4b0128d parent b16760bbb9e3c63b6beef7e2c8f8db64ab5efe70 author Sergey Vlasov Mon, 25 Apr 2005 11:34:33 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:20 +0200 [ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850) AC97 Codec Add the 'Mic Front Input Switch' control to the mixer for ALC850. Enabling this input is required for using the front panel microphone connector with ASUS A8V motherboard. Signed-off-by: Sergey Vlasov Signed-off-by: Jaroslav Kysela commit b16760bbb9e3c63b6beef7e2c8f8db64ab5efe70 tree eff28eebc3b50ee9b5d6dbe0959c104844e5d52a parent ee7333970bee3e7565feeb3edfef4db81cbe72e5 author Sergey Vlasov Mon, 25 Apr 2005 11:22:20 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:17 +0200 [ALSA] fix behaviour of ac97_enum_mixer elements AC97 Codec ac97_enum mixer elements (e.g., 'Capture Source') did not work because of wrong bitmask calculation in snd_ac97_get_enum_double() and snd_ac97_put_enum_double(). https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1072 Signed-off-by: Sergey Vlasov Signed-off-by: Jaroslav Kysela commit ee7333970bee3e7565feeb3edfef4db81cbe72e5 tree 418eb84e58d8d6f85ceafffc03fe37119728987d parent 8e062ec7108f8a91149e6bccddc3b7341e406274 author Clemens Ladisch Mon, 25 Apr 2005 10:34:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:14 +0200 [ALSA] usb-audio - remove superfluous parameter USB generic driver,USB USX2Y This patch removes the superfluous driver parameter from the disconnect functions. Signed-off-by: Clemens Ladisch commit 8e062ec7108f8a91149e6bccddc3b7341e406274 tree da052b40bcc2cbc7480a9999360f20c2a63c640d parent 08fe15899df9696a6d34abf96230ae0691f5de66 author Clemens Ladisch Fri, 22 Apr 2005 15:49:52 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:11 +0200 [ALSA] usb-audio - add selector unit names override for Audigy 2 NX USB generic driver Add a mechanism to specify source names of selector units, and add such names for the SB Audigy 2 NX. Signed-off-by: Clemens Ladisch commit 08fe15899df9696a6d34abf96230ae0691f5de66 tree 387c1b20b6773ba002d25dbc46d80e699477b591 parent 863ad944b9a32dc43baa76143275411824d5928e author Clemens Ladisch Fri, 22 Apr 2005 15:33:01 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:07 +0200 [ALSA] usb-audio - show exact synchronous frequency in proc file USB generic driver In the streamX proc file, show the exact number of samples per USB frame as 16.16 hexadecimal floating point value. Signed-off-by: Clemens Ladisch commit 863ad944b9a32dc43baa76143275411824d5928e tree b0272ae54a77e683c021fc1bd0ef3ea247f598cb parent 930fed517441310a80e269a193ee52f99dd58082 author Clemens Ladisch Fri, 22 Apr 2005 08:52:03 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:04 +0200 [ALSA] usb-audio: add Audigy 2 NX control names USB generic driver Add a mixer control map for the SB Audigy 2 NX so that we get meaningful mixer control names. Signed-off-by: Clemens Ladisch commit 930fed517441310a80e269a193ee52f99dd58082 tree 913b8b7eeddd0910990fea187176e71deb1d4e6c parent d21b37ea134921f807ebdbd19ae3cd00bb8bf2fc author Takashi Iwai Wed, 20 Apr 2005 20:54:43 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:05:01 +0200 [ALSA] Add dxs_support entry for MSI K8T Neo-FIS2R VIA82xx driver Report by Ronny V. Vindenes Add dxs_support=5 for MSI K8T Neo-FIS2R. Signed-off-by: Takashi Iwai commit d21b37ea134921f807ebdbd19ae3cd00bb8bf2fc tree 741a393951e7ec2767dec695cb0d9f665f28e287 parent b0c95f514a4057720958c9ea0113229468c94b2b author Takashi Iwai Wed, 20 Apr 2005 13:45:55 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:58 +0200 [ALSA] Fix and cleanup of CM9880 auto-configuration HDA Codec driver Fix and cleanup of CM9880 automatic PIN configuration. snd_hda_codec_setup_stream() doesn't do anything when NID is 0. Signed-off-by: Takashi Iwai commit b0c95f514a4057720958c9ea0113229468c94b2b tree ef4fdf04bf6fe46d78c1d3d35745eee2101e20b2 parent c31329257522bf66df56e279e20df6fc7abd1ea7 author Takashi Iwai Wed, 20 Apr 2005 13:44:08 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:54 +0200 [ALSA] Show PIN jack type HDA generic driver Show the jack type of each PIN default configuration entry. Signed-off-by: Takashi Iwai commit c31329257522bf66df56e279e20df6fc7abd1ea7 tree f0e18361a4b5b5ad6c68fa0576348136899f765a parent 230cd5e24853ed4dd960461989b8ed0986d37a99 author Takashi Iwai Wed, 20 Apr 2005 13:43:00 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:50 +0200 [ALSA] Fix a typo in comments HDA generic driver Fix a typo in comments. Signed-off-by: Takashi Iwai commit 230cd5e24853ed4dd960461989b8ed0986d37a99 tree 234496e25ba4fbbd6e920829987afc1f9fcade78 parent fe5ac9dcfe3b219209cf8e08347cce47658267d0 author Karsten Wiese Wed, 20 Apr 2005 10:12:35 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:47 +0200 [ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used USB generic driver,USB USX2Y Without this patch, some usb kobjects, which are parents to the usx2y's kobjects can be freed before the usx2y's. This led to an oops in get_kobj_path_length() and a dead keyboard, when the usx2y's kobjects were freed. The patch ensures the correct sequence. Tested ok on kernel 2.6.12-rc2. Signed-off-by: Karsten Wiese Signed-off-by: Takashi Iwai commit fe5ac9dcfe3b219209cf8e08347cce47658267d0 tree fc7966210742be25750098d6b527287d8e5e85c0 parent 7358036cc6cb139d70d2b1898d29ecedc087fceb author Jesper Juhl Wed, 20 Apr 2005 10:03:31 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:43 +0200 [ALSA] trivial warning fix for emu10k1 EMU10K1/EMU10K2 driver When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little warning in 2.6.12-rc2-mm3 : sound/pci/emu10k1/emupcm.c:265: warning: 'inline' is not at beginning of declaration No big deal, but trivial to fix. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit 7358036cc6cb139d70d2b1898d29ecedc087fceb tree 7f08a3103b1a21bebb5e7a0cab909709b40ca2a4 parent 07cf374169699d78721668b4e4bd02097c971f75 author Takashi Iwai Fri, 15 Apr 2005 13:51:48 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:40 +0200 [ALSA] Add dxs_support=5 for Insight P4-ITX VIA82xx driver Added dxs_support=5 entry for Insight P4-ITX. Signed-off-by: Takashi Iwai commit 07cf374169699d78721668b4e4bd02097c971f75 tree 7f9f2294bd04b9dd704c616592439ca425e7ada4 parent 98f759a61639b40686e607ecc6fefacb4c249c82 author Takashi Iwai Thu, 14 Apr 2005 16:21:03 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:04:37 +0200 [ALSA] Increase timer protocol number ALSA Core Increase the timer protocl number (to distinguish the fix for TREAD ioctls). Signed-off-by: Takashi Iwai commit 98f759a61639b40686e607ecc6fefacb4c249c82 tree 0a2ee7fcc01ede722bf2c70b92271364b4ac5034 parent 01f66d2ccf83ee3ddc8276346f4e1113b9de50d9 author Takashi Iwai Thu, 14 Apr 2005 13:37:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:01:04 +0200 [ALSA] Misc clean up HDA Codec driver Misc clean up: move the definitions of constants for pinctl to a single place. Signed-off-by: Takashi Iwai commit 01f66d2ccf83ee3ddc8276346f4e1113b9de50d9 tree b9eb7ac53edf53d37711ee0aa70e85bfadce6355 parent 4a3fdf3dba80f332e6233e72bdbccdc6031fc92e author Takashi Iwai Thu, 14 Apr 2005 13:36:24 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:01:01 +0200 [ALSA] Remove dead code HDA Codec driver Removed the dead (duplicated) code. Signed-off-by: Takashi Iwai commit 4a3fdf3dba80f332e6233e72bdbccdc6031fc92e tree 8b87c05579d45f1c35b4bb25ac51ca931b7bb6b2 parent 2f2f4251c9b123b2ab04da9e78ab6158535c2e38 author Takashi Iwai Thu, 14 Apr 2005 13:35:51 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:58 +0200 [ALSA] Add AD1981HD and AD1983 support HDA Codec driver Added the support of AD1981HD and AD1983 codecs. Including the fix for AD1986A. Signed-off-by: Takashi Iwai commit 2f2f4251c9b123b2ab04da9e78ab6158535c2e38 tree 5b551aa143facbf53ce295ea5a71f03a4b6b7552 parent 1a12de1edf234b54ce94971d5604f85809c391b9 author Matt Wed, 13 Apr 2005 14:45:30 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:54 +0200 [ALSA] add sigmatel codec support HDA generic driver,HDA Codec driver Add initial SigmaTel codec support for 9200 and 922x. Note that this hda patch relies on the configuration default registers to be set correctly (normally by BIOS/firmware) in order for it to set up pin widgets properly. There's a test switch in the patch so it will work with the SigmaTel reference boards that are usually plugged into a system that doesn't set the configuration default registers. It supports 2 channel analog out and line/mic in. I plan to add >2 channel support and spdif support shortly. Please apply. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit 1a12de1edf234b54ce94971d5604f85809c391b9 tree 099cd910f5a313f17838e96740b50493ef16877c parent eb8caf30f4c059ddfdfa32b6034549622953db6f author Matt Wed, 13 Apr 2005 14:37:50 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:51 +0200 [ALSA] hda: fix vref cap and ctl values HDA Codec driver,HDA generic driver Fix some vref defines so they are valid for the different bits in the pin cap and pin control registers. Please apply. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit eb8caf30f4c059ddfdfa32b6034549622953db6f tree 994ff6f1a8b19fb8914af3eae6035fd32b834c0f parent 267cdf4036ed9e8565a7d909fdf854b9c7e1c5ff author Takashi Iwai Wed, 13 Apr 2005 14:32:57 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:48 +0200 [ALSA] Improve the shared-jack handling on ac97 AC97 Codec The handling of shared surround/clfe output jacks with line/mic-in on some AC97 codecs is improved. Instead of 'Line-In As Surround' or 'Mic As Center/LFE' switch, two new enum controls are introduced: 'Channel Mode' and 'Surround Jack Mode'. The formar changes the current output mode among 2, 4 and 6-channels. The latter controls whether the jacks are shared or independent. Signed-off-by: Takashi Iwai commit 267cdf4036ed9e8565a7d909fdf854b9c7e1c5ff tree a573ef5289c55acc07407f9ed4296fc73d17ee72 parent 004e65389714721ce0f52a8f0fc22999d3908a2a author Jaroslav Kysela Wed, 13 Apr 2005 13:25:30 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:45 +0200 [ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE ALSA Core Signed-off-by: Jaroslav Kysela commit 004e65389714721ce0f52a8f0fc22999d3908a2a tree 73e154312778436accf56f1325b0891db9699e6a parent bd7bf042e89941d4e693a0ec68c5093a2bb2adb3 author Takashi Iwai Tue, 12 Apr 2005 17:33:59 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:42 +0200 [ALSA] Fix capture on OSS emulation ALSA<-OSS emulation Fix the noisy capture on some hardwares over OSS emulation. Change back to avail_min = period_size for capture direction. Signed-off-by: Takashi Iwai commit bd7bf042e89941d4e693a0ec68c5093a2bb2adb3 tree 4a00c65644765b415b504d4e52471ea232a6dbcf parent 0af68e5ed45e985b676edfbe4b8851dd46316502 author Takashi Iwai Tue, 12 Apr 2005 16:27:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:39 +0200 [ALSA] Fix permissions in some /proc files PCM Midlevel,CA0106 driver,EMU10K1/EMU10K2 driver Fix by Guillaume Chazarain : Some tunables in /proc have a write() function, but as their permission does not reflect it, it can be confusing to the user. So here is a patch that corrects the mode of those files. Note that I have only tested the 'xrun_debug' entry. Signed-off-by: Takashi Iwai commit 0af68e5ed45e985b676edfbe4b8851dd46316502 tree b87ed356e1c53703db1f1c85f9803ffd50856e8c parent 01d25d460a3b28aab537fab9a0038d1b5832ce28 author Takashi Iwai Mon, 11 Apr 2005 17:03:03 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:35 +0200 [ALSA] Fix compile warning EMU10K1/EMU10K2 driver Fix compile warnings regarding the unused variables/functions. Signed-off-by: Takashi Iwai commit 01d25d460a3b28aab537fab9a0038d1b5832ce28 tree 2a3ce6727e4a5cbb0cd763f20698ebc169659fd1 parent 01ef355f0c34d6fbb451512e70e4cf336776b7fd author Takashi Iwai Mon, 11 Apr 2005 16:58:24 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:32 +0200 [ALSA] Replace pci_module_init() with pci_register_driver() Documentation,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver ALI5451 driver,au88x0 driver,CA0106 driver,CS46xx driver EMU10K1/EMU10K2 driver,HDA Intel driver,ICE1712 driver,ICE1724 driver KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver RME9652 driver,Trident driver,Digigram VX222 driver,YMFPCI driver Replace the obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Takashi Iwai commit 01ef355f0c34d6fbb451512e70e4cf336776b7fd tree b377ef2df2ff47454111e628faa5d56f373cdf58 parent 2d7eb7cb2bab1fbe8cfb610277b19ad40a9f7c75 author Takashi Iwai Mon, 11 Apr 2005 15:08:32 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:27 +0200 [ALSA] Fix SPDIF rate with dxs_support=4 VIA82xx driver Fix SPDIF rate setting with dxs_support=4. It should be 48k fixed. Signed-off-by: Takashi Iwai commit 2d7eb7cb2bab1fbe8cfb610277b19ad40a9f7c75 tree 02ed97111c92b32d4aa4944b97de6d7bb88703de parent 26be865923ce9edefe8ddc007ddb1c098c29c449 author Sergey Vlasov Mon, 11 Apr 2005 15:04:33 +0200 committer Jaroslav Kysela Sun, 29 May 2005 10:00:24 +0200 [ALSA] Support all sample rate conversion capabilities of DXS channels Documentation,VIA82xx driver Add support for full sample rate conversion capabilities of DXS channels present in VIA VT8233/5/7 controllers: - any sample rate in the 8000 ... 48000 Hz range is supported even if the AC'97 codec supports only 48000 Hz output; - different DXS channels can use different sample rates at the same time (the controller performs required sample rate conversion and mixing in hardware). Signed-off-by: Sergey Vlasov Signed-off-by: Takashi Iwai commit 26be865923ce9edefe8ddc007ddb1c098c29c449 tree 796f853e17e3ff10039d9769eb5da8eeefeec9ea parent 467a8c2f41ab4b96a7c604619eb7465db403dda8 author Sergey Vlasov Mon, 11 Apr 2005 14:17:19 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:59:04 +0200 [ALSA] Add PCI ID for Gallant Odyssey Sound 4 FM801 driver The Gallant Odyssey Sound 4 card is based on the ForteMedia FM801 chip, but has a different PCI ID. Signed-off-by: Sergey Vlasov Signed-off-by: Takashi Iwai commit 467a8c2f41ab4b96a7c604619eb7465db403dda8 tree c2467bc1835cbea825fc69c06e411195a31b6adc parent aed058e8713f76be9258011238670064ea3e69a8 author Adrian Bunk Mon, 11 Apr 2005 14:11:00 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:59:01 +0200 [ALSA] remove dead code YMFPCI driver This patch removes some dead code found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit aed058e8713f76be9258011238670064ea3e69a8 tree 77ba8c813b796d8ac0251858e97c96143a27f52a parent fd9a98ec0a7c8ce15928e3454d73533146d9d57c author Simone Zinanni Mon, 11 Apr 2005 14:08:40 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:58 +0200 [ALSA] Provides preliminary support for the Terratec Phase 28 card ICE1712 driver Provides preliminary support for the Terratec Phase 28 card. Not extensively tested and probably buggy, but it seems to work. Signed-off-by: Simone Zinanni Signed-off-by: Takashi Iwai commit fd9a98ec0a7c8ce15928e3454d73533146d9d57c tree e02241000626bcb85a7dea4fc59ba44d395df68e parent 310bacd29230abf5f2a230159e48e983171e0f26 author James Courtier-Dutton Sun, 10 Apr 2005 15:43:35 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:55 +0200 [ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers EMU10K1/EMU10K2 driver when using the p16v HD device. Signed-off-by: James Courtier-Dutton commit 310bacd29230abf5f2a230159e48e983171e0f26 tree 16ae5d0cf14660de40db4435ebca0a64b1fcaf20 parent 001f758990d685e7023008763795f1970ef56614 author James Courtier-Dutton Sun, 10 Apr 2005 00:00:24 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:52 +0200 [ALSA] Improve playback startup. Increase buffer size, and reduce xruns. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 001f758990d685e7023008763795f1970ef56614 tree e460f23636ebf2aa45e185b5936243400e8b68b4 parent df34140a9c15d4be8833f7977dca277a03ab87b0 author James Courtier-Dutton Sat, 09 Apr 2005 23:38:25 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:49 +0200 [ALSA] Improve SPDIF playback via the P16V/CA0151 chip. EMU10K1/EMU10K2 driver Although we can set 44100 as the output rate, the SPDIF can do it, but the Analog output cannot. The SPDIF has the bug, whereby the Left channel arrives one sample late, so although we don't do any resampling, it is not good for AC3 non-audio output. Signed-off-by: James Courtier-Dutton commit df34140a9c15d4be8833f7977dca277a03ab87b0 tree 79a13a1c51d96fc36b77237b49646f7a4dfcb298 parent f953eff29c1ea4c744afe3d50ff5ca33b44efcd2 author James Courtier-Dutton Sat, 09 Apr 2005 16:57:09 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:46 +0200 [ALSA] Display SPDIF in status in proc fs 'spdif-in' file. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit f953eff29c1ea4c744afe3d50ff5ca33b44efcd2 tree 1755bab90bfeae4ec27953808b1c512d94110682 parent 22e0732e59b3482bb2f068bfe911c532767e5974 author Takashi Iwai Fri, 08 Apr 2005 15:05:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:43 +0200 [ALSA] choose multi-channel jacks automatically HDA Codec driver Patch by C.L. Tien : The patch makes cm9880 to choose multi-channel jacks automatically. 1. I found the current code has basic_init, which already includes necessary controls for 6-stack initialization, so I don't need another model. 2. I add a new model 'auto' to let the driver find a. if there are option real panel/front panel, b. the jacks to be used for multichannel. Because the jack color are based on MS's channel sequence, so the 'auto' model will pick the same jacks for multichannel MS uses. I did this to hope to minimize users questions. These code can also be applied to other codecs but I don't have any to test. Signed-off-by: Takashi Iwai commit 22e0732e59b3482bb2f068bfe911c532767e5974 tree 924cf272599a6d65fc483eca439aa3efa9f27047 parent 23fea4dad67a665e8d359dbb39180422385f1dcc author Clemens Ladisch Fri, 08 Apr 2005 08:25:23 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:40 +0200 [ALSA] virmidi - fix ioctl parameter passing when setting client name ALSA sequencer The last change to reduce stack usage did not adjust the parameter to SNDRV_SEQ_IOCTL_SET_CLIENT_IOCTL which resulted in passing the address of the pointer instead of the structure. Signed-off-by: Clemens Ladisch commit 23fea4dad67a665e8d359dbb39180422385f1dcc tree 86ce3e1f6c53897888332da646e0a6ae9d59f010 parent 8e8311b0ac4dc8a2cf317e122a6f7dc4467e3254 author Sasha Khapyorsky Thu, 07 Apr 2005 20:23:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:37 +0200 [ALSA] MC97 registers reset AC97 Codec Separated ac97 registers reset for audio and modem (or both) as recommended in AC97 spec. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 8e8311b0ac4dc8a2cf317e122a6f7dc4467e3254 tree 2556eec03591d03271bb3f225fba91edebf68470 parent 2c56c47f678b0388290686d5a0988d8806ffe5cc author Sasha Khapyorsky Thu, 07 Apr 2005 20:22:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:34 +0200 [ALSA] Fix MC97 codec initialization AC97 Codec This (especially 12000 -> 8000 sample rate replace) fix popular 'MC97 converters.. not ready' error with modem codecs initializations. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 2c56c47f678b0388290686d5a0988d8806ffe5cc tree 93d7f87f5d1b80bb98e88ef76be2b9f8bb4f9322 parent 5f0dccf8500b0cc2ff247f626bc249bc184fd184 author Sasha Khapyorsky Thu, 07 Apr 2005 20:21:21 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:31 +0200 [ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m Intel8x0-modem driver With some intel based ac97 modems codec access semaphore is not cleared after 0x54 AC97 register (GPIO_STATUS) reads. This may causes problems with newly applied modem mixer (Off-hook switch) and in other cases. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 5f0dccf8500b0cc2ff247f626bc249bc184fd184 tree ef8402fe29a0d5559ead12085cf1c927fa72670f parent 55911694bf5edf15328dc6558fa3f432d52015ee author Takashi Iwai Thu, 07 Apr 2005 15:53:20 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:28 +0200 [ALSA] Add CM9780 support, fix CM9761 SPDIF AC97 Codec - Added CM9780 patch - Fix the SPDIF support on CM9761/CM9780 - Allow the generic enum callback to pass any number (not power of 2) as the value mask Signed-off-by: Takashi Iwai commit 55911694bf5edf15328dc6558fa3f432d52015ee tree 4c1f912ea34b5fe559acb786128ad34ba06017cd parent bdaed50292bea3e2b20c68c2ffe9dbde7c0d6910 author Takashi Iwai Thu, 07 Apr 2005 15:50:13 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:25 +0200 [ALSA] Remove unused variables AC97 Codec Removed unused variables (the old control definitions). Signed-off-by: Takashi Iwai commit bdaed50292bea3e2b20c68c2ffe9dbde7c0d6910 tree 7f056ec8acce0c50b9dc84611b24e4a711d0100d parent 5af4c83375cba113fb7e1ed57024a5442ca5060e author Takashi Iwai Thu, 07 Apr 2005 15:48:42 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:22 +0200 [ALSA] Check revision for the proper detection of audigy 2 EMU10K1/EMU10K2 driver Check ther revision to detect non-listed audigy 2 boards. Signed-off-by: Takashi Iwai commit 5af4c83375cba113fb7e1ed57024a5442ca5060e tree 777c5eaa0585537c7dba5c95c2ceb92454d692bd parent 0aa0d387877e8e6408d316aaee1ea84f8e1fb447 author Clemens Ladisch Wed, 06 Apr 2005 09:47:02 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:18 +0200 [ALSA] usb-audio - BOSS GS-10 PCM support USB generic driver This patch adds quirks to support 24-bit PCM I/O in the 'Advanced Driver' mode of the BOSS GS-10. Signed-off-by: Clemens Ladisch commit 0aa0d387877e8e6408d316aaee1ea84f8e1fb447 tree 3e4eff5571123a0b2577ab9418a3a2d6b0ba3a33 parent c1935b4d6edf1c4d78bf660992d00b2d8fcb9b59 author Clemens Ladisch Wed, 06 Apr 2005 09:43:59 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:15 +0200 [ALSA] virmidi - fix ioctl parameter passing when creating seq port ALSA sequencer The last change to reduce stack usage did not adjust the parameter to SNDRV_SEQ_IOCTL_CREATE_PORT which resulted in passing the address of the pointer instead of the structure. Signed-off-by: Clemens Ladisch commit c1935b4d6edf1c4d78bf660992d00b2d8fcb9b59 tree e1e11d05fc118d7d48cee4ee5593a933e25dfec3 parent 54ab87e6f53099b9a480b56149fa621c3132c076 author Jaroslav Kysela Mon, 04 Apr 2005 16:44:58 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:58:12 +0200 [ALSA] timer - added tread semaphore Timer Midlevel Signed-off-by: Jaroslav Kysela commit 54ab87e6f53099b9a480b56149fa621c3132c076 tree 366f5ce06ab26195426a79413d4271a08c1d0888 parent 2668907a825702ba9c0e603f160a993b034572f5 author Takashi Iwai Fri, 01 Apr 2005 13:14:14 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:01:00 +0200 [ALSA] Add mixer map for Sound Blaster MP3+ USB generic driver Added the mixer mapping for Sound Blaster MP3+ by Pavel Mihaylov Signed-off-by: Takashi Iwai commit 2668907a825702ba9c0e603f160a993b034572f5 tree 4ba373b70e9751844742c8fff7622dc054a5e62a parent c1ab5d59a0ff0981828a169886b10045dfdf64c6 author Peter Zubaj Fri, 01 Apr 2005 11:15:07 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:56 +0200 [ALSA] Audigy SB0090 identification EMU10K1/EMU10K2 driver This add identification of Audigy 1 model SB0090 and fixes problems with ac97 codec (mic not working). Signed-off-by: Peter Zubaj Signed-off-by: Takashi Iwai commit c1ab5d59a0ff0981828a169886b10045dfdf64c6 tree 8ce9f8cd0b534b55f0c99556fd1a96727596cbf9 parent 85a655d66b4d1672c7c6fee31297837556585f6b author Clemens Ladisch Wed, 30 Mar 2005 16:22:01 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:53 +0200 [ALSA] usb-audio - allow USB MIDI quirks to specify endpoints explicitly USB generic driver This patch reintroduces the check for endpoint numbers that are specified explicitly in the quirk structure. This check was accidentally dropped in the last rewrite of snd_usbmidi_detect_endpoints(). Signed-off-by: Clemens Ladisch commit 85a655d66b4d1672c7c6fee31297837556585f6b tree 843a76c04f57cb07e76e8f851d0e9bab34d7d1c6 parent aec72e0a4be407fb69fbee812cf0028d62e75152 author Takashi Iwai Wed, 30 Mar 2005 14:40:25 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:50 +0200 [ALSA] Fix the default id of multiple cards EMU10K1/EMU10K2 driver Fixed the default id string in case identical multiple cards exist. Signed-off-by: Takashi Iwai commit aec72e0a4be407fb69fbee812cf0028d62e75152 tree 6bdd339e841491eaf87357b5118ef623cdb53afd parent 9c220a31fd2f609ba55250a75d85ca795051a482 author Takashi Iwai Wed, 30 Mar 2005 14:22:25 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:47 +0200 [ALSA] Use old default id strings for compatibility EMU10K1/EMU10K2 driver Use expliciitly the old default id strings for backward compatibility. This will make 'alsactl restore' working again. Signed-off-by: Takashi Iwai commit 9c220a31fd2f609ba55250a75d85ca795051a482 tree 411e2d8f44119572ea0913fca70107d6fc59c03b parent 2b637da5a1bb3c128ecdadea6aee693f6ff3b786 author Lee Revell Wed, 30 Mar 2005 14:04:34 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:44 +0200 [ALSA] some docs for the new emu10k1 multichannel functionality Documentation Not complete, or even spell checked, but in case I don't get a chance to work on it again before 1.0.9, here is what i have so far. It should go in alsa-kernel/Documentation/emu10k1-jack.txt. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 2b637da5a1bb3c128ecdadea6aee693f6ff3b786 tree 636819c212a13118758a8c19db9905a55b20ef9e parent 51f633dada113ef724a145bb5b33ec77d1b092f6 author Lee Revell Wed, 30 Mar 2005 13:51:18 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:41 +0200 [ALSA] clean up card features EMU10K1/EMU10K2 driver This patch converts the emu10k1 driver to use the card capabilities structure for some more things. Not extensively tested but seems to work. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 51f633dada113ef724a145bb5b33ec77d1b092f6 tree 12f83d7c673ec3102bd3c93e21bdb043c9dd5db8 parent a2142674b958d89e0806228a5f6cd22ec379d61d author Takashi Iwai Wed, 30 Mar 2005 13:49:06 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:37 +0200 [ALSA] Fix memory leak ALSA sequencer Fixed memory leak by the last change of stack reduction. Signed-off-by: Takashi Iwai commit a2142674b958d89e0806228a5f6cd22ec379d61d tree 875f7f64f85433dd3df1c465ad1d57f04eb99f80 parent 56f5ceed002db594500c1d2c2afc875be3d31fb5 author Takashi Iwai Tue, 29 Mar 2005 16:33:28 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:33 +0200 [ALSA] Fix the detection of resolution of ac97 controls AC97 Codec Fixed the detection of bit resolution of ac97 mixer controls. This will fix the problem with TI ac97 codecs. Signed-off-by: Takashi Iwai commit 56f5ceed002db594500c1d2c2afc875be3d31fb5 tree 3d2ac764f302542a3bac4ffd234b672ba4291b1d parent 65f37647711bf6b0d09b499b9205a33b35ad4ad6 author James Courtier-Dutton Sun, 27 Mar 2005 15:00:54 +0200 committer Jaroslav Kysela Sun, 29 May 2005 09:00:30 +0200 [ALSA] Added identification for the Audigy ES. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 65f37647711bf6b0d09b499b9205a33b35ad4ad6 tree a6a2fcd91f2aa3fba86e80cec5dbccfed2bb7557 parent 6e4abc40fc125b1dcc2792eacac17606a4d86043 author James Courtier-Dutton Sat, 26 Mar 2005 22:10:36 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:27 +0200 [ALSA] Add's identification of the SB Live! Platinum [CT4760P] EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 6e4abc40fc125b1dcc2792eacac17606a4d86043 tree 4b06290dd6a43d809b8762752166ea9b854b6f5f parent d05b2817d859a2a2f2c3d5c056b688559fdbcc2b author James Courtier-Dutton Sat, 26 Mar 2005 19:35:29 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:24 +0200 [ALSA] Adds Capture to P16V chip. EMU10K1/EMU10K2 driver One can select which capture source, but one cannot yet set volumes. Signed-off-by: James Courtier-Dutton commit d05b2817d859a2a2f2c3d5c056b688559fdbcc2b tree 0783e058f7650cafed38d092035c3e2e042cc57e parent 36c4dc42249e96f0b0ddc90ca400bcb3981dbc62 author ChenLi Tien Thu, 24 Mar 2005 20:47:35 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:21 +0200 [ALSA] fix multi-channel for model==full HDA Codec driver The patch_cm9880.c can't play side/C/B channels from front panel jacks. I fixed it by adding select pin. Signed-off-by: ChenLi Tien Signed-off-by: Takashi Iwai commit 36c4dc42249e96f0b0ddc90ca400bcb3981dbc62 tree 64ab200ef36d9719a14f667d26ec969d7918dd89 parent c301098233bdbaae369bfdd98207db916df8cef2 author Takashi Iwai Thu, 24 Mar 2005 17:48:30 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:18 +0200 [ALSA] Skip ac97 SPDIF controls CA0106 driver Skip building ac97 SPDIF controls via AC97_SCAP_NO_SPDIF. Clean up the code. Signed-off-by: Takashi Iwai commit c301098233bdbaae369bfdd98207db916df8cef2 tree e5a3a8cb853cd3707ddc0ad552ef7fad7c634205 parent 94f19c9a6da1fd3a5958f1a0b44aa340f2596a5b author ChenLi Tien Thu, 24 Mar 2005 12:02:54 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:14 +0200 [ALSA] Show currectly selected widget in proc_read for hda driver HDA generic driver During debugging for cm9880 multi-channel playback, I added the * after the currently selected widget, mixer widget doesn't need this but other 3 widget types need it. Signed-off-by: ChenLi Tien Signed-off-by: Takashi Iwai commit 94f19c9a6da1fd3a5958f1a0b44aa340f2596a5b tree 25934824d74c8534a53283eb3a5a90e9e2408b03 parent 254feb882a7c6e4e51416dff6a97d847fbbba551 author Adrian Bunk Thu, 24 Mar 2005 12:01:15 +0100 committer Jaroslav Kysela Sun, 29 May 2005 09:00:11 +0200 [ALSA] kill dead code ALSA<-OSS emulation The Coverity checker found this obviously dead code. I'm not sure which of the if (plugin == NULL) is correct - this patch removes the one that couldn't be true. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai 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 259692bd5a2b2c2d351dd90748ba4126bc2a21b9 tree fa35d57768a76bbd88fa54b33daf922e9415f9da parent 6f817abc643ec84cf07c99f964d04976212e1fd3 author Jesper Juhl Mon, 09 May 2005 10:47:14 -0500 committer Dave Kleikamp Mon, 09 May 2005 10:47:14 -0500 JFS: Remove redundant kfree() NULL pointer checks kfree() can handle a NULL pointer, don't worry about passing it one. Signed-off-by: Jesper Juhl Signed-off-by: Dave Kleikamp 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 commit 6f817abc643ec84cf07c99f964d04976212e1fd3 tree 982d6e35796cf0c3c01899db1a8dc062d95c92c2 parent f77165df5ba75461b491a9f20f778307f1b4a0ac parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Dave Kleikamp Thu, 05 May 2005 14:43:19 -0500 committer Dave Kleikamp Thu, 05 May 2005 14:43:19 -0500 Merge with /home/shaggy/git/linus-clean/ commit f77165df5ba75461b491a9f20f778307f1b4a0ac tree 5aee2540a7668ce0c0f998eb41dd2776dc83aaa4 parent ddf3e298b33f3e15a2e6272e0146dfa940c89a74 parent b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f author Dave Kleikamp Thu, 05 May 2005 09:32:56 -0500 committer Dave Kleikamp Thu, 05 May 2005 09:32:56 -0500 Merge with /home/shaggy/git/linus-clean/ commit ddf3e298b33f3e15a2e6272e0146dfa940c89a74 tree cd474d1eca4f337958e97a09dcb0974b1f8aba82 parent 7a694ca74958b97ae2d437c8a730bddd9e9792c3 parent 1d42a0ecf478962e8aede355a0be41365c117ff0 author Dave Kleikamp Wed, 04 May 2005 16:43:30 -0500 committer Dave Kleikamp Wed, 04 May 2005 16:43:30 -0500 Merge with /home/shaggy/git/linus-clean/ commit 7a694ca74958b97ae2d437c8a730bddd9e9792c3 tree 1d25feb1d02cdff8affee0cbbcfc70b3af2c7385 parent dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d author Dave Kleikamp Wed, 04 May 2005 15:31:14 -0500 committer Dave Kleikamp Wed, 04 May 2005 15:31:14 -0500 JFS: Fix sparse warning Signed-off-by: Dave Kleikamp commit dcc9871270aa3b1bbe2e61cc9c1d80e9b2e8099d tree a6f64721b55739fcac62ba251563e6809b985a7d parent 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 author Dave Kleikamp Wed, 04 May 2005 15:30:51 -0500 committer Dave Kleikamp Wed, 04 May 2005 15:30:51 -0500 JFS: cleanup - remove unneeded sanity check Signed-off-by: Dave Kleikamp commit 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 tree c3bfa2751dcc1d7adf16a6a96e5ad8cab76b6f76 parent 6b6bf51081a27e80334e7ebe2993ae1d046a3222 author Dave Kleikamp Wed, 04 May 2005 15:29:35 -0500 committer Dave Kleikamp Wed, 04 May 2005 15:29:35 -0500 JFS: fix sparse warnings by moving extern declarations to headers Signed-off-by: Dave Kleikamp