commit 577a4f8102d54b504cb22eb021b89e957e8df18f tree 4413a1fec41bc2c3ecbc96ddb35f949f820967ff parent 79d81907594e1ec4d5171653dde7cb9e9cb87de2 author Andrew Vasquez Wed, 27 Jul 2005 22:10:59 -0700 committer Linus Torvalds Wed, 27 Jul 2005 22:31:35 -0700 [PATCH] More qla2xxx configuration fixes This adds the appropriate FW_LOADER pre-requisite and a separate entry for ISP24xx support. Thanks to Adrian Bunk and Jesper Juhl for their efforts in fixing this quirk. Signed-off-by: Linus Torvalds commit 79d81907594e1ec4d5171653dde7cb9e9cb87de2 tree d3f99de8a2a5e382ecbcbe1a1a8d411dc6071ef0 parent 2868bd281fef21d1e73d6b7648a41efc3d75f10c author Hal Rosenstock Wed, 27 Jul 2005 20:38:56 -0700 committer Roland Dreier Wed, 27 Jul 2005 20:38:56 -0700 [IB/ucm]: Clean up userspace CM Only print debug messages when debug_level is set. Eliminate NULL checks prior to calling kfree. Signed-off-by: Hal Rosenstock Signed-off-by: Libor Michalek commit 2868bd281fef21d1e73d6b7648a41efc3d75f10c tree 0ad821cfcc9e3f9e8b662d026bec6bb6d4ce69ac parent 6d376756f2cf3478d5a4fdb8d18e958948366b9d parent 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af author Roland Dreier Wed, 27 Jul 2005 19:12:56 -0700 committer Roland Dreier Wed, 27 Jul 2005 19:12:56 -0700 Merge /scratch/Ksrc/linux-git/ commit 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af tree ba2ef07f0619ace5b8c892a2f38ac18f767421d4 parent 340d10e47238daeb5e5eb27df25b4e7ec71f6571 author Richard Henderson Wed, 27 Jul 2005 17:10:52 -0700 committer Linus Torvalds Wed, 27 Jul 2005 18:24:24 -0700 [PATCH] new alpha syscalls Signed-off-by: Linus Torvalds commit 340d10e47238daeb5e5eb27df25b4e7ec71f6571 tree 75f826c087b3a69dda2da1498e3750802ef9adb7 parent e0aa8afd97536a9d94f82a07b4c4b3f05aef6f82 parent 48b0e5487fcdcb3421bda67666277348b2bd2661 author Linus Torvalds Wed, 27 Jul 2005 17:09:10 -0700 committer Linus Torvalds Wed, 27 Jul 2005 17:09:10 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit e0aa8afd97536a9d94f82a07b4c4b3f05aef6f82 tree a0ac7eb5814f61f8205ce88d31529f8090b74f2e parent e4ff4d7f9d85a2bc714307eb9113617182e62845 author Linus Torvalds Wed, 27 Jul 2005 17:08:21 -0700 committer Linus Torvalds Wed, 27 Jul 2005 17:08:21 -0700 Fix up qla2xxx configuration bogosity If we haven't configured the qla24xx driver, then the Makefile shouldn't do it for us. This also means that we can avoid the unnecessary selection of FC_ATTRS. Debugged by James Bottomley commit e4ff4d7f9d85a2bc714307eb9113617182e62845 tree 845bea10c10850e6bd842367aafddca66ca24a06 parent 49302d0c42592b37f49ae96e0f06a3599cf5a8a0 author Andrew Morton Wed, 27 Jul 2005 10:41:23 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:46:37 -0700 [PATCH] Avoid device suspend on reboot My fairly ordinary x86 test box gets stuck during reboot on the wait_for_completion() in ide_do_drive_cmd(): Signed-off-by: Linus Torvalds commit 49302d0c42592b37f49ae96e0f06a3599cf5a8a0 tree f733a7229cd3d62b5a19a2cbbceea1118c31f237 parent 839c5d2511fadc35cc4e8a8ffa833d76668700b2 parent 18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8 author Linus Torvalds Wed, 27 Jul 2005 16:42:22 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:42:22 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 839c5d2511fadc35cc4e8a8ffa833d76668700b2 tree 8c5150c50dba619ec88818e1610263582d476217 parent 96fad28a781069eb40156f78b8f50c349805b652 parent 5e43db7730e7cef7d37968ea789c41392519a864 author Linus Torvalds Wed, 27 Jul 2005 16:37:59 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:37:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 96fad28a781069eb40156f78b8f50c349805b652 tree 0d428a842ac643176921fcf44e1728ea6ff88690 parent 3334c39f1815d2911238c43f40840c3c7b378165 parent b833961bd30eec201b9a94eec36aa7ac96f9c9c0 author Linus Torvalds Wed, 27 Jul 2005 16:37:03 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:37:03 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 3334c39f1815d2911238c43f40840c3c7b378165 tree 19555dab8c2811141b4070f30c0723d17965a162 parent 71b2c86f5fd22b27feaa6c19c2c6662480ecd7d5 parent 614d73edae68836f7659ee8efec90878e6215fb1 author Linus Torvalds Wed, 27 Jul 2005 16:36:08 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:36:08 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit 71b2c86f5fd22b27feaa6c19c2c6662480ecd7d5 tree 494c4c09d60c0be0c98be94724435d9ff84f2cf5 parent bf85fa6c878aa3968df47d7f70a2b506c3e53b99 author Marcelo Tosatti Wed, 27 Jul 2005 04:55:54 -0300 committer Linus Torvalds Wed, 27 Jul 2005 16:35:39 -0700 [PATCH] ppc32: 8xx remove BROKEN Kconfig entry 8xx is not BROKEN anymore. Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit bf85fa6c878aa3968df47d7f70a2b506c3e53b99 tree f7e4c5c03b053a629f3bc8206b70fae34424ffab parent 59904159c316f7bc02d00ff7b0dc3f9d3afd07fd author Anton Wöllert Wed, 27 Jul 2005 04:45:17 -0300 committer Linus Torvalds Wed, 27 Jul 2005 16:34:34 -0700 [PATCH] ppc32: 8xx avoid icbi misbehaviour in __flush_dcache_icache_phys On 8xx, in the case where a pagefault happens for a process who's not the owner of the vma in question (ptrace for instance), the flush operation is performed via the physical address. Unfortunately, that results in a strange, unexplainable "icbi" instruction fault, most likely due to a CPU bug (see oops below). Avoid that by flushing the page via its kernel virtual address. Oops: kernel access of bad area, sig: 11 [#2] NIP: C000543C LR: C000B060 SP: C0F35DF0 REGS: c0f35d40 TRAP: 0300 Not tainted MSR: 00009022 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 10 DAR: 00000010, DSISR: C2000000 TASK = c0ea8430[761] 'gdbserver' THREAD: c0f34000 Last syscall: 26 GPR00: 00009022 C0F35DF0 C0EA8430 00F59000 00000100 FFFFFFFF 00F58000 00000001 GPR08: C021DAEF C0270000 00009032 C0270000 22044024 10025428 01000800 00000001 GPR16: 007FFF3F 00000001 00000000 7FBC6AC0 00F61022 00000001 C0839300 C01E0000 GPR24: 00CD0889 C082F568 3000AC18 C02A7A00 C0EA15C8 00F588A9 C02ACB00 C02ACB00 NIP [c000543c] __flush_dcache_icache_phys+0x38/0x54 LR [c000b060] flush_dcache_icache_page+0x20/0x30 Call trace: [c000b154] update_mmu_cache+0x7c/0xa4 [c005ae98] do_wp_page+0x460/0x5ec [c005c8a0] handle_mm_fault+0x7cc/0x91c [c005ccec] get_user_pages+0x2fc/0x65c [c0027104] access_process_vm+0x9c/0x1d4 [c00076e0] sys_ptrace+0x240/0x4a4 [c0002bd0] ret_from_syscall+0x0/0x44 Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit 59904159c316f7bc02d00ff7b0dc3f9d3afd07fd tree 97ae16e0588c1f3e9c61b2a49dad267600f1b4b0 parent 77933d7276ee8fa0e2947641941a6f7a100a327b author Jesper Juhl Wed, 27 Jul 2005 11:46:10 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:20 -0700 [PATCH] Update CREDITS entry and listings in source files for Jesper Juhl a) update entry in CREDITS for Jesper Juhl b) remove email address from source files so it's only listed in credits. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77933d7276ee8fa0e2947641941a6f7a100a327b tree e3a42724642410f5257c794a71b34642092eedd5 parent 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 author Jesper Juhl Wed, 27 Jul 2005 11:46:09 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:20 -0700 [PATCH] clean up inline static vs static inline `gcc -W' likes to complain if the static keyword is not at the beginning of the declaration. This patch fixes all remaining occurrences of "inline static" up with "static inline" in the entire kernel tree (140 occurrences in 47 files). While making this change I came across a few lines with trailing whitespace that I also fixed up, I have also added or removed a blank line or two here and there, but there are no functional changes in the patch. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 tree ee41f6bcfbeeeb6f3cd269622d499ee9eb6df233 parent dbd4f12859307c20a4c65a7de4cdd5f9f518dc7a author Michal Januszewski Wed, 27 Jul 2005 11:46:08 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:19 -0700 [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. The fb_info struct, as defined in include/linux/fb.h, contains an element that is supposed to hold the current color map: struct fb_cmap cmap; /* Current cmap */ This cmap is currently never updated when either fb_set_cmap() or fb_set_user_cmap() are called. As a result, info->cmap contains the default cmap that was set by a device driver/fbcon and a userspace application using the FBIOGETCMAP ioctl will not always get the *currently* used color map. The patch fixes this by making sure the cmap is copied to info->cmap after it is set correctly. It moves most of the code that is responsible for setting the cmap to fb_set_cmap() and out of fb_set_user_cmap() to avoid code-duplication. Signed-off-by: Michal Januszewski Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbd4f12859307c20a4c65a7de4cdd5f9f518dc7a tree 16aa37137555ce5234d723a69b143bfd0902178b parent d210224732b3d32e802e3537499297d387852166 author Michal Januszewski Wed, 27 Jul 2005 11:46:06 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:19 -0700 [PATCH] fbcon: don't repaint the cursor when it is disabled. Currently even when the cursor is disabled (`setterm -cursor off`), it is still repainted as a black rectangle the size of a single char. This can be seen, for example, by chvt'ing to a free tty, disabling the cursor and doing `dd if=3D/dev/urandom of=3D/dev/fb0`. The patch changes this behaviour by avoiding painting anything when the cursor is disabled. Signed-off-by: Michal Januszewski Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d210224732b3d32e802e3537499297d387852166 tree 17014af0ea8b19dae7848736d324499715b7a1a3 parent 3ca34fcbfbf8a7cbe99d54ae81c4e28fdc6f4ac6 author Jon Smirl Wed, 27 Jul 2005 11:46:05 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:18 -0700 [PATCH] fbdev: colormap fixes Color maps have up to 256 entries. 4096/256 allows for 16 characters per line. The format for a cmap entry is "%02x%c%4x%4x%4xn" %02x entry %c transp %4x red %4x blue %4x green You can read the color_map with cat fb0/color_map. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ca34fcbfbf8a7cbe99d54ae81c4e28fdc6f4ac6 tree 767ed7d2cf9932e015f4b5753a1a849ca47a2ce3 parent 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e author Jon Smirl Wed, 27 Jul 2005 11:46:05 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:18 -0700 [PATCH] radeonfb: clean up EDID sysfs attribute radeonfb does not clean up EDID sysfs attribute Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e tree cb7a68d23fb93e3b72d9338b1b2f69aaa0f3e91b parent 0a793b77f786022bd0fef1a18142c1b9be9e421d author Jon Smirl Wed, 27 Jul 2005 11:46:04 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:18 -0700 [PATCH] fbmem: use unregister_chrdev() on unload fbdev is missing unregister_chrdev() on unload. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a793b77f786022bd0fef1a18142c1b9be9e421d tree 3a1c92ad2728db09f465eb32f7e31ccbb483d381 parent 4e4b7952cd34af4dd78e012265d4bc858db6adf3 author Jon Smirl Wed, 27 Jul 2005 11:46:03 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:18 -0700 [PATCH] fbmon: horizontal frequency rounding fix Fix rounding error when mode frequency is very close to monitor limit Signed-off-by: Jon Smirl Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e4b7952cd34af4dd78e012265d4bc858db6adf3 tree ccb9d2de5605b749132847e3d8e9da0ef548a96d parent 6ddcc9197beef7cba993c38cdcad45aefb557d33 author Marcelo Tosatti Wed, 27 Jul 2005 11:46:01 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:18 -0700 [PATCH] cpm_uart: use DPRAM for early console m8xx_cpm_hostalloc() can't rely on using the coherent DMA allocator early on boot because the VM is not fully up yet. Change it to use the on-board DPRAM instead. The current code relies on the "bootmem_page" allocated by m8xx_cpm_reset(), which must be killed. This is done in v2.4 but has never been forward ported to v2.6. Signed-off-by: Marcelo Tosatti Cc: Pantelis Antoniou Cc: Kumar Gala Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ddcc9197beef7cba993c38cdcad45aefb557d33 tree 85c5f8a20c4c14e2ce6f8ad5b4e17b0f1500e22c parent 9d2599d98e9cb511f326b2d1b353e462bc360774 author Michael Krufky Wed, 27 Jul 2005 11:46:00 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:17 -0700 [PATCH] dvb: rename lgdt3302 frontend module to lgdt330x Rename lgdt3302 to lgdt330x, to make way for the addition of lgdt3303 support in future revisions. I am changing the name of this module now so that hopefully the name will be changed before the release of 2.6.13 ... It wouldn't make sense to release 2.6.13 with the name lgdt3302 in it, which will only be renamed to lgdt330x in later versions. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d2599d98e9cb511f326b2d1b353e462bc360774 tree cf7f6af005d331c4115a60c33729e2adeb622dc0 parent 29780bb7af61752924cf4814f2d8180747b38105 author Michael Hunold Wed, 27 Jul 2005 11:46:00 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:17 -0700 [PATCH] v4l: fix tuning with MXB driver I noticed that some past changes to the gerneric Video4Linux tuner module for analog tuners broke my "Multimedia eXtension Board" driver. The tuner driver was made aware of Video4Linux2 tuning ioctls, but my driver was not ported and still uses the Video4Linux1 ioctls. This does not work anymore as intendend, the tuning is currently broken. The attached patch fixes non-working tuning in MXB driver introduced by some recent generic tuner changes by replacing Video4Linux1 tuner ioctls with proper Video4Linux2 tuner ioctls. - fix non-working tuning in MXB driver introduced by some recent generic tuner changes by replacing Video4Linux1 tuner ioctls with proper Video4Linux2 tuner ioctls Signed-off-by: Michael Hunold Cc: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29780bb7af61752924cf4814f2d8180747b38105 tree 6af2ff17efb50983c03f035e2f0ebae8adab072b parent 84de2eff1390a89a76507abc3073dad8de751869 author Michael Krufky Wed, 27 Jul 2005 11:45:59 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:17 -0700 [PATCH] v4l: hybrid dvb: rename CFLAGS from CONFIG_DVB_xxxx back to original HAVE_xxxx The #define CONFIG_DVB_* are actually CFLAGS set by Makefile. CONFIG_* namespace is reserved for Kconfig. This renames them back to HAVE_* Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84de2eff1390a89a76507abc3073dad8de751869 tree d132b0a93d69467a2100e45a473dad05bdd69c29 parent 0b1cd0c77429083d6ceb379b1d15c6bca165e90b author Michael Krufky Wed, 27 Jul 2005 11:45:58 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:17 -0700 [PATCH] v4l: hybrid dvb: move #defines to Makefile This patch moves #define from cx88-dvb.c and saa7134-dvb.c into Makefile as CFLAGS, allowing code compatability with video4linux cvs. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1cd0c77429083d6ceb379b1d15c6bca165e90b tree 6db82fb068ec1b25d67d980a844027be1a58da33 parent d975872c5c94615a12040009cde71c82cddeb1be author Michael Krufky Wed, 27 Jul 2005 11:45:57 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:17 -0700 [PATCH] v4l: hybrid dvb: fix warnings with -Wundef This patch adds a missing #ifdef to saa7134-dvb.c (thanks to Mauro Carvalho Chehab) and changes #if to #ifdef in both files. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d975872c5c94615a12040009cde71c82cddeb1be tree 142f2437d3dec95a9d8ba2266c4e572769833b54 parent 723d52e6a6391e8c4954dca0a7efd3645181981f author Michael Krufky Wed, 27 Jul 2005 11:45:56 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] dvb/v4l: cx88 cleanup Remove unneeded comment. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 723d52e6a6391e8c4954dca0a7efd3645181981f tree 6d282e5d4ba092001858e5e3b42e8cbc7d68fedc parent 0ccef6dbb08770bf21ffc82094c2117bd7977ff8 author Michael Krufky Wed, 27 Jul 2005 11:45:56 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] lgdt3302: warning fix warning: `i2c_readbytes' defined but not used This code will either be re-enabled or deleted in a future patch. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ccef6dbb08770bf21ffc82094c2117bd7977ff8 tree 9c3ce535dd9fbe22d922b8f48b0e3c285b73327f parent b6aef071bdef0cd9f69113bb3575aa45fafdbbbf author Michael Krufky Wed, 27 Jul 2005 11:45:55 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] dvb/4vl: RF input selection fir Select the RF input connector based upon the type of demodulation selected. ANT RF connector is selected for 8-VSB and CABLE RF connector is selected for QAM64/QAM256. This only affects the cards that use the Microtune 4042 tuner. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6aef071bdef0cd9f69113bb3575aa45fafdbbbf tree d6c7d89190119811244f1c039671d7483296e7c1 parent 7fd0f3acfa7dfc6e8aba7ce1639b8590ddb98fea author Michael Krufky Wed, 27 Jul 2005 11:45:54 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] dvb/v4l: lgdt3302: isolate tuner Remove the dvb_pll_desc from the frontend and replace with a pll_set-callback to isolate the tuner programming from the frontend. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fd0f3acfa7dfc6e8aba7ce1639b8590ddb98fea tree 2c0c0ff117ebb3d5358d4a13c7f65268abdcf63f parent b96d611f373b2cbf5ffc093d859b3a9b1009e096 author Michael Krufky Wed, 27 Jul 2005 11:45:53 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] v4l: fix regression modprobe bttv freezes the computer Remove redundant bttv_reset_audio() which caused the computer to freeze with some bt8xx based DVB cards when loading the bttv driver. Signed-off-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b96d611f373b2cbf5ffc093d859b3a9b1009e096 tree 1f63e1ec89549d5db1f65569d7da34354d1f5285 parent 82ee3e6fa347dcba19e36afb23a01020bc2e77e2 author Adrian Bunk Wed, 27 Jul 2005 11:45:52 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:16 -0700 [PATCH] VIDEO_SAA7134 must depend on SOUND VIDEO_SAA7134=y and SOUND=n results in the following compile error: LD .tmp_vmlinux1 drivers/built-in.o(.text+0x4fafcb): In function `saa7134_initdev': : undefined reference to `unregister_sound_dsp' drivers/built-in.o(.text+0x4fb141): In function `saa7134_initdev': : undefined reference to `register_sound_dsp' drivers/built-in.o(.text+0x4fb17c): In function `saa7134_initdev': : undefined reference to `register_sound_mixer' drivers/built-in.o(.text+0x4fb339): In function `saa7134_finidev': : undefined reference to `unregister_sound_mixer' drivers/built-in.o(.text+0x4fb341): In function `saa7134_finidev': : undefined reference to `unregister_sound_dsp' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82ee3e6fa347dcba19e36afb23a01020bc2e77e2 tree 5bffda0707ba1fe1a1c1e59029762c9b76b026b3 parent 9e00e48626474854bf712372fe6656ef4621af0f author Adrian Bunk Wed, 27 Jul 2005 11:45:51 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] drivers/media/video/tveeprom.c: possible cleanups This patch contains the following possible cleanups: - make two needlessly global structs static - #if 0 the EXPORT_SYMBOL'ed but unused function tveeprom_dump Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e00e48626474854bf712372fe6656ef4621af0f tree c8d4633c86d5160fb476c7b25b80c7283d8331da parent 617b586bca4eda775f93915b8efd586dddf7903c author Gregory B Frost Wed, 27 Jul 2005 11:45:48 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] DVICO Fusion DVB-T1 Tuner (LG-Z201) fix It is a small modification to the table that defines the way that the LG-Z201 tuner is controlled for the DVICO Fusion DVB-T1 tuner card. I believe that a mistake was made when the dvb tuner code was reorganised (to use a generic table for the tuner information instead of inline code) and as a result, the DVICO card doesn't tune properly. The modification I have made to the table makes it behave like it did with the old inline tuner code that worked. The patch is on top of the 2.6.12 kernel. Signed-off-by: Gregory B Frost Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 617b586bca4eda775f93915b8efd586dddf7903c tree 3866ef9e13fea1ce63233a39b593b015e03b6692 parent f13f9f501a6eee14e495aba56ec6f70cf2328180 author Hal Rosenstock Wed, 27 Jul 2005 11:45:47 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] IB: Add core locking documentation to Infiniband Add core locking documentation to Infiniband Signed-off-by: Roland Dreier Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f13f9f501a6eee14e495aba56ec6f70cf2328180 tree 9be60e2b98f3c65dbe6c5f0f3291cfbea86c549e parent 8fd65b096a7ba1fff69c7991f481ebac5498673e author Hal Rosenstock Wed, 27 Jul 2005 11:45:46 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] IB: Eliminate sparse warnings in SA client Eliminate sparse warnings in SA client Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fd65b096a7ba1fff69c7991f481ebac5498673e tree a7f6730751006a4f7382845a849480ea51669dd6 parent 2d0d099f1950bda2f712364a3bf74f20ddb61190 author Hal Rosenstock Wed, 27 Jul 2005 11:45:45 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] IB: Hook up userspace CM to the make system Hook up userspace CM to the make system Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d0d099f1950bda2f712364a3bf74f20ddb61190 tree df817baa8fa2bc78f28f4248a18ad825bd3b650a parent a5b74540770cb28b8ae779d0c27e228fe7500669 author Tom Duffy Wed, 27 Jul 2005 11:45:45 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:15 -0700 [PATCH] Add kernel portion of user CM implementation (fix) Include the patch openib-general changing class_simple to class. Signed-off-by: Tom Duffy Cc: Hal Rosenstock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5b74540770cb28b8ae779d0c27e228fe7500669 tree 9fdfc613760026f02a2a288de2f2ab2dd8c60997 parent 8aa009191d157de53735646552421f3d1595364a author Hal Rosenstock Wed, 27 Jul 2005 11:45:44 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:14 -0700 [PATCH] IB: Add kernel portion of user CM implementation Add kernel portion of user CM implementation Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8aa009191d157de53735646552421f3d1595364a tree 248746da7bc7b88c0187a7a2db1ef77d773f5d37 parent cb183a06b381652b7637fedfa7ef85ec0baf2a1f author Hal Rosenstock Wed, 27 Jul 2005 11:45:43 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:14 -0700 [PATCH] IB: Add the header file for user space CM Add the header file for user space CM. This file defines the ABI used by the CM for kernel/user communication. Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb183a06b381652b7637fedfa7ef85ec0baf2a1f tree 8b559d3fd574af62dfbe39751980d5cb71e32598 parent 3f75daddb4fc6b695faa4e12e76894389e913dcb author Hal Rosenstock Wed, 27 Jul 2005 11:45:42 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:14 -0700 [PATCH] IB: Implementation for RMPP support in user MAD Implementation for RMPP support in user MAD Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f75daddb4fc6b695faa4e12e76894389e913dcb tree 33f665bd5d0c42d616196dbbc15d9925519feb50 parent a977049dacdef6a9e69fb4872b42a68e93a69956 author Hal Rosenstock Wed, 27 Jul 2005 11:45:41 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:14 -0700 [PATCH] IB: User MAD ABI changes to support RMPP User MAD ABI changes to support RMPP Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a977049dacdef6a9e69fb4872b42a68e93a69956 tree b4840d9f66cb77524d64ef5d733122f0d88c6707 parent c3e0164758fc24623020e0ad7bd278607b4693e3 author Hal Rosenstock Wed, 27 Jul 2005 11:45:40 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:14 -0700 [PATCH] IB: Add the kernel CM implementation Add the kernel CM implementation Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3e0164758fc24623020e0ad7bd278607b4693e3 tree 181e83b68549a7dd9cfcdcd9f31a6d2893491116 parent cbae32c56314fa3032f92db36caab49f08ab0601 author Hal Rosenstock Wed, 27 Jul 2005 11:45:39 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:13 -0700 [PATCH] IB: Add the header file for kernel CM (Communications Manager) Add the header file for kernel CM (Communications Manager) Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbae32c56314fa3032f92db36caab49f08ab0601 tree 41d73b52df4050fa772b6c7223fd020d50793a6b parent fa619a77046bef30478697aba0553991033afb8e author Hal Rosenstock Wed, 27 Jul 2005 11:45:38 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:13 -0700 [PATCH] IB: Add Service Record support to SA client Add Service Record support to SA client Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa619a77046bef30478697aba0553991033afb8e tree 3783af8ac0c6804c9f437f6dfb08ecda8ce92fc3 parent d2082ee516200095956bd66279be4f62f4a5843d author Hal Rosenstock Wed, 27 Jul 2005 11:45:37 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:13 -0700 [PATCH] IB: Add RMPP implementation Add RMPP implementation. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2082ee516200095956bd66279be4f62f4a5843d tree d8e08d2af67730a312e000833971ef281669e32c parent 497677ab940e637a41351dca6610bc4320abc8f1 author Hal Rosenstock Wed, 27 Jul 2005 11:45:36 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:12 -0700 [PATCH] IB: Introduce RMPP APIs Introduce RMPP APIs Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 497677ab940e637a41351dca6610bc4320abc8f1 tree 256357c9aba1e8ccefb8df62432aa8eab4389bcf parent 513789ed995fb2ba72ba2a5bee53ea11d1170580 author Hal Rosenstock Wed, 27 Jul 2005 11:45:35 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:12 -0700 [PATCH] IB: A couple of IB core bug fixes Replace be32_to_cpup with be32_to_cpu and fix bug referencing pointer rather than value in ib_create_ah_from_wc(). Signed-off-by: Tom Duffy Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 513789ed995fb2ba72ba2a5bee53ea11d1170580 tree fa9a4e73b9420a06af37290ba6ae405200dd0935 parent cabe3cbcbb3b09637b9e706c49eadb180fca057e author Hal Rosenstock Wed, 27 Jul 2005 11:45:34 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:12 -0700 [PATCH] IB: Add ib_create_ah_from_wc to IB verbs Added new call: ib_create_ah_from_wc. Call will allocate an address handle given work completion information, including any received GRH. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cabe3cbcbb3b09637b9e706c49eadb180fca057e tree 37c9179b4f43d7a63e7d55ae6a77a9fb44537b0c parent 29bb33dd87dbe8db07c2b19df3fb453d999c96de author Hal Rosenstock Wed, 27 Jul 2005 11:45:33 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:12 -0700 [PATCH] IB: Fix a couple of MAD code paths Fixed locking to handle error posting MAD send work requests. Fixed handling canceling a MAD with an active work request. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29bb33dd87dbe8db07c2b19df3fb453d999c96de tree be4e391cf2c79e618a934a2b0fb9c2bd4a053e6b parent 03b61ad2f29295f019e095d0f490f30a4d678d3f author Hal Rosenstock Wed, 27 Jul 2005 11:45:32 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:11 -0700 [PATCH] IB: Optimize canceling a MAD Optimize canceling a MAD. - Eliminate searching timeout list in cancel case. - Remove duplicate calls to queue work item. - Eliminate resending a MAD before MAD is completed. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03b61ad2f29295f019e095d0f490f30a4d678d3f tree 499d78432420c3fc4339d784940348a9f06010e5 parent 2c153b934dca08d58e0aafde18a182e0891aa201 author Hal Rosenstock Wed, 27 Jul 2005 11:45:32 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:11 -0700 [PATCH] IB: Add ib_modify_mad API to MAD Add new MAD layer call to modify (ib_modify_mad) the timeout of a sent MAD, and simplify cancel code. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c153b934dca08d58e0aafde18a182e0891aa201 tree e650b3894abf254694e71a8f11ce8b3f72ec5558 parent dbf9227bd3dff71c3c2f540cc3e96098d2ab41e7 author Hal Rosenstock Wed, 27 Jul 2005 11:45:31 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:11 -0700 [PATCH] IB: Eliminate MAD cache leak associated with local completions Eliminate MAD cache leak associated with local completions. Also, when canceling MAD, empty local completion list as well. Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbf9227bd3dff71c3c2f540cc3e96098d2ab41e7 tree 2f5c8825e820bdae35121573505fc511a0783b66 parent f75b7a5294949cd1b7bc301e3087c7bb78e22520 author Hal Rosenstock Wed, 27 Jul 2005 11:45:30 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:11 -0700 [PATCH] IB: Simplify calling of list_del in MAD Simplify calling of list_del. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f75b7a5294949cd1b7bc301e3087c7bb78e22520 tree faea8070eb47b3526daa32dbb60f405f958e4a7e parent df9f9ead746e9607099d7024f312133944173609 author Hal Rosenstock Wed, 27 Jul 2005 11:45:29 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Add automatic retries to MAD layer Add automatic retries to MAD layer. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df9f9ead746e9607099d7024f312133944173609 tree 3a7da0dcfd4a6c916dea2ba736abcd7e7d583998 parent f68bcc2df8115b4ea45bfa4f8de22ec7232562b5 author Hal Rosenstock Wed, 27 Jul 2005 11:45:28 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Add ib_coalesce_recv_mad to MAD Add implementation for ib_coalesce_recv_mad. Also, clear allocated MAD data buffer in ib_create_send_mad. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f68bcc2df8115b4ea45bfa4f8de22ec7232562b5 tree 6ea6cb7843f8e5ff7aa19de97b20918b91203b5e parent 6a0c435ef9e2473934442282054d0f58235d1de2 author Hal Rosenstock Wed, 27 Jul 2005 11:45:27 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Minor cleanup during MAD startup and shutdown Minor cleanup during startup and shutdown Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a0c435ef9e2473934442282054d0f58235d1de2 tree 71a5d054bde7447f10c611e359ecbcc36462a312 parent d760ce8f71ec5336c4a750a1293f26c0eb938c8a author Hal Rosenstock Wed, 27 Jul 2005 11:45:26 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Fix timeout/cancelled MAD handling Fixes an issue processing a sent MAD after it has timed out or been canceled. The race occurs when a response MAD matches with the send request. The request could time out or be canceled after the response MAD matches with the request, but before the request completion can be processed. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d760ce8f71ec5336c4a750a1293f26c0eb938c8a tree 44a4ce8a53c40ac41c614b4a6283890074ce9c1c parent f8197a4ed1bba8c80ed6ddf4535ded80cb4152cf author Hal Rosenstock Wed, 27 Jul 2005 11:45:25 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Change ib_mad_send_wr_private struct Have ib_mad_send_wr_private reference the private agent structure directly, rather than the exposed agent definition. Remove unneeded parameters to functions and simplify code were possible from this change. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8197a4ed1bba8c80ed6ddf4535ded80cb4152cf tree 0f3bcc7445938c3ff0f5f9e241faa08dafe90ea9 parent 4a0754fae8fb5162d1cf4f738d48bb1e8190c09f author Hal Rosenstock Wed, 27 Jul 2005 11:45:24 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:10 -0700 [PATCH] IB: Change saving of user's send wr_id in MAD Move saving of user's send wr_id to better match layering of received response handling. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a0754fae8fb5162d1cf4f738d48bb1e8190c09f tree b5c7358f565c6216fd45b350c6f167b879049991 parent 824c8ae7d05bb4d21af707832c5bfa45d5494ec8 author Hal Rosenstock Wed, 27 Jul 2005 11:45:24 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] IB: Combine some MAD routines Combine response_mad() and solicited_mad() routines into a single function and simplify/encapsulate its usage. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 824c8ae7d05bb4d21af707832c5bfa45d5494ec8 tree ce268a0f9268efae69fc4735b0d650d19aeec6e6 parent b82cab6b331b51d82f90d2207f3bbfdf09361ac9 author Hal Rosenstock Wed, 27 Jul 2005 11:45:23 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] IB: Add MAD helper functions Add new helper routines for allocating MADs for sending and formatting a send WR. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b82cab6b331b51d82f90d2207f3bbfdf09361ac9 tree 5aad260a806939b2ea5b2d5a029b38b77a4fcd07 parent c183a4c33528d17cde0dcb093ae4248d8cb8f649 author Hal Rosenstock Wed, 27 Jul 2005 11:45:22 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] IB: Update MAD client API Automatically allocate a MR when registering a MAD agent. MAD clients are modified to use this updated API. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c183a4c33528d17cde0dcb093ae4248d8cb8f649 tree 57d07087c9a99d6002529b956719853008a9acdd parent 896e5518da74f9d20db8163526014fba16b1f2b4 author Hal Rosenstock Wed, 27 Jul 2005 11:45:20 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] IB: Update FMR functions Change some functions to return void rather than an int since they are always returning 0, thus making checking return values rather pointless. Signed-off-by: Tom Duffy Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 896e5518da74f9d20db8163526014fba16b1f2b4 tree a3e333c22397665b6a87acd393071807f2f74beb parent e5c2d749172657ed51e20e4b5ab540447666cc50 author Kurt Wall Wed, 27 Jul 2005 11:45:20 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] Add text for dealing with "dot releases" to README The emergence of so-called "dot releases" that are non-incremental patches against a base kernel requires different handling of patches (revert previous patches before applying the newest one). This patch adds a paragrach to $TOPDIR/README explaining how to do deal with dot release patches. Signed-off-by: Kurt Wall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5c2d749172657ed51e20e4b5ab540447666cc50 tree 017e1ce4ea0f14446d833d5913005036afbea0ad parent 71ae18ec690953e9ba7107c7cc44589c2cc0d9f1 author Ralf Baechle Wed, 27 Jul 2005 11:45:19 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:09 -0700 [PATCH] serial_core whitespace fix Use tabs for formatting like anywhere else in this file. Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71ae18ec690953e9ba7107c7cc44589c2cc0d9f1 tree f2a0c8e0b67120d61f9216638482d5f472e27f29 parent 44456d37b59d8e541936ed26d8b6e08d27e88ac1 author Blaisorblade Wed, 27 Jul 2005 11:45:18 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:08 -0700 [PATCH] sys_get_thread_area does not clear the returned argument sys_get_thread_area does not memset to 0 its struct user_desc info before copying it to user space... since sizeof(struct user_desc) is 16 while the actual datas which are filled are only 12 bytes + 9 bits (across the bitfields), there is a (small) information leak. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44456d37b59d8e541936ed26d8b6e08d27e88ac1 tree 11ca6fa29b8cfb56ecef2d1f4f9dc2d9d71d2a2f parent 02b775696fee75a04041d8d94db26a9462216d24 author Olaf Hering Wed, 27 Jul 2005 11:45:17 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:08 -0700 [PATCH] turn many #if $undefined_string into #ifdef $undefined_string turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02b775696fee75a04041d8d94db26a9462216d24 tree 634447f4dfd9299deb5a53a1b9fab267186556cd parent ec0344a2c93c770fe1ef7cdccd8115a69ca100d1 author Andreas Gruenbacher Wed, 27 Jul 2005 11:45:16 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:07 -0700 [PATCH] reiserfs doesn't use mbcache reiserfs doesn't use the mbcache, so this can go. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec0344a2c93c770fe1ef7cdccd8115a69ca100d1 tree f6793e7c3ba070eba70439105ab57e48c3a17d58 parent 8c52ab42c11b5a7fb44bb84c954d09968e90e9e7 author Adrian Bunk Wed, 27 Jul 2005 11:45:15 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:07 -0700 [PATCH] Documentation/Changes: document the required udev version Document that udev 058 is required. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c52ab42c11b5a7fb44bb84c954d09968e90e9e7 tree ee2496abc8d0246db90ba43b3ea9d4ddebd7b62d parent 3dcce8e22bf9956ac2c5233539cac07c978e58c7 author Andreas Gruenbacher Wed, 27 Jul 2005 11:45:15 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:07 -0700 [PATCH] mbcache: Remove unused mb_cache_shrink parameter The cache parameter to mb_cache_shrink isn't used. We may as well remove it. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dcce8e22bf9956ac2c5233539cac07c978e58c7 tree 33de592099774c7c2d6a5cf3d9664dd88df9f985 parent ebb81fdb3dd0be7514b84197c4f8388a17130f04 author Andrew Morton Wed, 27 Jul 2005 11:45:14 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:07 -0700 [PATCH] ppc64: tpm_infineon build fix ppc64 uses symbol `DAR', as does the TPM driver, causing a build failure. Change the TPM name. Cc: Marcel Selhorst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebb81fdb3dd0be7514b84197c4f8388a17130f04 tree 8dd41338a44bb5194134828a8a14a36311193dac parent e77e17161ccb8bd877bf83b3611cd318e451c605 author Marcel Selhorst Wed, 27 Jul 2005 11:45:12 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] tpm: Support for Infineon TPM This patch provides a new device driver for the Infineon SLD 9630 TT Trusted Platform Module (TPM 1.1b) [1] which is embedded on Intel- mainboards or in HP/ Fujitsu-Siemens / Toshiba-Notebooks. A nearly complete list where this module is integrated in can be found in [2]. This kernel module acts as a communication gateway between the linux kernel and the hardware chip and fits the TPM-specific interfaces created by IBM in drivers/char/tpm/tpm.h Further information about this module and a list of succesfully tested and therefore supported hardware can be found at our project page [3]. [1] http://www.infineon.com/cgi/ecrm.dll/ecrm/scripts/public_download.jsp?oid=114135&parent_oid=29049 [2] http://www.tonymcfadden.net/tpmvendors.htm [3] http://www.prosec.rub.de/tpm Signed-off-by: Marcel Selhorst Acked-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e77e17161ccb8bd877bf83b3611cd318e451c605 tree 55fb0a366a2f1e3364f0088d5699cbf09b37d29a parent d9fd8a6d443b509147280f058d4e59f0b796a323 author Randy Dunlap Wed, 27 Jul 2005 11:45:11 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] kernel/crash_dump.c: add kerneldoc Add kerneldoc to kernel/crash_dump.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9fd8a6d443b509147280f058d4e59f0b796a323 tree 427385e403fc0d4282be19732a00ddfd224c1461 parent 207a7ba8dc000e1b13acac97f3736810dd86e8e2 author Randy Dunlap Wed, 27 Jul 2005 11:45:11 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] kernel/cpuset.c: add kerneldoc, fix typos Add kerneldoc to kernel/cpuset.c Fix cpuset typos in init/Kconfig Signed-off-by: Randy Dunlap Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 207a7ba8dc000e1b13acac97f3736810dd86e8e2 tree de7baa1aa4a7752c6ea447938e73817de899d141 parent c293621bbf678a3d85e3ed721c3921c8a670610d author Randy Dunlap Wed, 27 Jul 2005 11:45:10 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] kernel/capability.c: add kerneldoc Add kerneldoc to kernel/capability.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c293621bbf678a3d85e3ed721c3921c8a670610d tree c72fc522cf3fd2d12f7fd716b7eb4db8d7fcaf52 parent 3e5ea098446e19175fdee4c2c4ec9366b0217db4 author Peter Staubach Wed, 27 Jul 2005 11:45:09 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] stale POSIX lock handling I believe that there is a problem with the handling of POSIX locks, which the attached patch should address. The problem appears to be a race between fcntl(2) and close(2). A multithreaded application could close a file descriptor at the same time as it is trying to acquire a lock using the same file descriptor. I would suggest that that multithreaded application is not providing the proper synchronization for itself, but the OS should still behave correctly. SUS3 (Single UNIX Specification Version 3, read: POSIX) indicates that when a file descriptor is closed, that all POSIX locks on the file, owned by the process which closed the file descriptor, should be released. The trick here is when those locks are released. The current code releases all locks which exist when close is processing, but any locks in progress are handled when the last reference to the open file is released. There are three cases to consider. One is the simple case, a multithreaded (mt) process has a file open and races to close it and acquire a lock on it. In this case, the close will release one reference to the open file and when the fcntl is done, it will release the other reference. For this situation, no locks should exist on the file when both the close and fcntl operations are done. The current system will handle this case because the last reference to the open file is being released. The second case is when the mt process has dup(2)'d the file descriptor. The close will release one reference to the file and the fcntl, when done, will release another, but there will still be at least one more reference to the open file. One could argue that the existence of a lock on the file after the close has completed is okay, because it was acquired after the close operation and there is still a way for the application to release the lock on the file, using an existing file descriptor. The third case is when the mt process has forked, after opening the file and either before or after becoming an mt process. In this case, each process would hold a reference to the open file. For each process, this degenerates to first case above. However, the lock continues to exist until both processes have released their references to the open file. This lock could block other lock requests. The changes to release the lock when the last reference to the open file aren't quite right because they would allow the lock to exist as long as there was a reference to the open file. This is too long. The new proposed solution is to add support in the fcntl code path to detect a race with close and then to release the lock which was just acquired when such as race is detected. This causes locks to be released in a timely fashion and for the system to conform to the POSIX semantic specification. This was tested by instrumenting a kernel to detect the handling locks and then running a program which generates case #3 above. A dangling lock could be reliably generated. When the changes to detect the close/fcntl race were added, a dangling lock could no longer be generated. Cc: Matthew Wilcox Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e5ea098446e19175fdee4c2c4ec9366b0217db4 tree 66280c997a0fbb1d864302c5fde7364b8fe73b2c parent 8ffa7405afe0eaf34db6254160b734f084601f68 author Christian Borntraeger Wed, 27 Jul 2005 11:45:06 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:06 -0700 [PATCH] s390: use __cpcmd in vmcp_write vmcp_write uses GPF_DMA for the memory allocation of the response buffer, so it can use the low level function __cpcmd directly, no need to call the wrapper. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ffa7405afe0eaf34db6254160b734f084601f68 tree 5d6199a0256137babe9bee3e5322779a19fb4ba0 parent f878e4367580f37327e68ce2c6861245077f0904 author Heiko Carstens Wed, 27 Jul 2005 11:45:06 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: cpu timer reset in machine check handler Fix wrong move direction of timer values for cpu accounting in case of a machine check that indicates a broken cpu timer. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f878e4367580f37327e68ce2c6861245077f0904 tree 5414f367d9397debdd818568b958f779df7ac817 parent 4111796d89b8cfa36054d65d9858460b5ec0e8c7 author Heiko Carstens Wed, 27 Jul 2005 11:45:05 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: 31 bit memory size limit Limit reported memory size to 2GB if running in 31 bit mode. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4111796d89b8cfa36054d65d9858460b5ec0e8c7 tree f42f2822983882f391a99414d98a572cbc330f77 parent 6bb0e01081c2ca585b5e145783fea53bb0589786 author Stefan Bader Wed, 27 Jul 2005 11:45:04 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: channel tape fixes Tape driver fixes: - Added deferred condition handling to tape driver core. - Added ability to handle busy conditions. - Code cleanup. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bb0e01081c2ca585b5e145783fea53bb0589786 tree d4bb81e6dfa15df6e9b9dd718a0e44fab804da78 parent d61f6f3d8b63a2aadcf8b058fe65581ccd8dee97 author Horst Hummel Wed, 27 Jul 2005 11:45:03 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: free dasd slab cache Free dasd slab cache on module unload. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d61f6f3d8b63a2aadcf8b058fe65581ccd8dee97 tree 8aa23d9d1edd7bf2329f5e307ba3a0537f30aeec parent c63307f164a79e0ff6dd2da33436c59b3d3396cd author Horst Hummel Wed, 27 Jul 2005 11:45:02 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: fba dasd i/o errors The FBA discipline does not use retries for failed requests. A request fails after the first unsuccessful start attempt. There are some rare conditions (e.g. CIO path recovery) in which the start of an i/o on a fba device can fail. A tiny amount of retries is therefore reasonable. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c63307f164a79e0ff6dd2da33436c59b3d3396cd tree af500819ac91248ddb72c105cf500cfb7499776b parent 1d3ac7aadbccd8456fdca09394ddb570b95fe7dc author Cornelia Huck Wed, 27 Jul 2005 11:45:01 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:05 -0700 [PATCH] s390: resource accessibility event handling When processing resource accessibility events, continue searching for further affected subchannels if a link address is provided in the event information. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d3ac7aadbccd8456fdca09394ddb570b95fe7dc tree 0279210d7d3c08224259790a257182ace82771e6 parent 99b2d8df1d06f1072a949fc1e01a08b94b084d5f author Cornelia Huck Wed, 27 Jul 2005 11:45:00 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:04 -0700 [PATCH] s390: debug data for ifcc/ccc Fix debug data in case of an interface-control or channel-control check: don't log the not yet accumulated interrupt-response-block, but the one we just received. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99b2d8df1d06f1072a949fc1e01a08b94b084d5f tree e5be46e9fbee8b68ab1743ef29037c0596a7265f parent 46ee058cdb3abab9313cc9cb9e9927d7672a718c author Heiko Carstens Wed, 27 Jul 2005 11:45:00 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:04 -0700 [PATCH] s390: external call performance The kernel uses the SIGP external call order code to signal other CPUs. When running with dedicated CPUs external calls don't get delivered immediately but within a fixed polling invervall. This can lead to delays where the system appears to do nothing. Replace the SIGP external call order with the SIGP emergency call order since this one gets delivered immediately. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46ee058cdb3abab9313cc9cb9e9927d7672a718c tree 9c279ef14a26cd44c28ff1f71848295ce4c112fe parent afff7e2b3b13dbd26a2b9991d3d571df111d92e8 author Heiko Carstens Wed, 27 Jul 2005 11:44:59 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:04 -0700 [PATCH] s390: atomic64 inline functions The atomic64 primitives are supposed to have 64-bit parameters instead of int. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afff7e2b3b13dbd26a2b9991d3d571df111d92e8 tree 51142ff8f5160bcd317120ffba604653c9e34455 parent 951f22d5b1f0eaae35dafc669e3774a0c2084d10 author Martin Schwidefsky Wed, 27 Jul 2005 11:44:58 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:04 -0700 [PATCH] s390: find_next_{zero}_bit fixes The find_next_{zero}_bit primitives on s390* should never return a bit number bigger then the bit field size. In the case of a bitfield that doesn't end on a word boundary, an offset that makes the search start at the last word of the bit field and the last word doesn't contain any zero/one bits the search is continued with a call to find_first_bit with a negative size. The search normally ends pretty quickly because the words following the bit field contain a mix of zeros and ones. But the bit number that is returned in this case is too big. To fix this and additional if to check for this case is needed. To make the code easier to read I removed the assembler parts from the find_next_{zero}_bit functions, the C-ified code is as good. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 951f22d5b1f0eaae35dafc669e3774a0c2084d10 tree 66c0131b576dadb98026da11d624df453c4c9a7c parent 8449d003f323ca7a00eec38905d984ba5ec83a29 author Martin Schwidefsky Wed, 27 Jul 2005 11:44:57 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:04 -0700 [PATCH] s390: spin lock retry Split spin lock and r/w lock implementation into a single try which is done inline and an out of line function that repeatedly tries to get the lock before doing the cpu_relax(). Add a system control to set the number of retries before a cpu is yielded. The reason for the spin lock retry is that the diagnose 0x44 that is used to give up the virtual cpu is quite expensive. For spin locks that are held only for a short period of time the costs of the diagnoses outweights the savings for spin locks that are held for a longer timer. The default retry count is 1000. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8449d003f323ca7a00eec38905d984ba5ec83a29 tree 4e75a9275e317b8935ee53a6106022970ea05b6b parent 8b2bf06994b9cd6067e5c7620e270eec73fef70b author Miles Bader Wed, 27 Jul 2005 11:44:56 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:03 -0700 [PATCH] v850: Define L1_CACHE_SHIFT and L1_CACHE_SHIFT_MAX Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b2bf06994b9cd6067e5c7620e270eec73fef70b tree cd3f29e3c32ff6d8b09eb3fc9d3813bf939cef8f parent 947ac8b9265e2a22552552d011db1e161f802a4a author Miles Bader Wed, 27 Jul 2005 11:44:55 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:03 -0700 [PATCH] v850: Update PCI support These changes are untested (I no longer have the hardware). Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 947ac8b9265e2a22552552d011db1e161f802a4a tree f8d664dc6589c9f5dceec9d7a2a1c9dde3ff7876 parent 21ea9f63297497df3040c70a67a207d229368a4c author Miles Bader Wed, 27 Jul 2005 11:44:55 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:03 -0700 [PATCH] v850: Add pte_file Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21ea9f63297497df3040c70a67a207d229368a4c tree 446b057d504cc207a054f6529937b7227ae82a25 parent f307d365ea4db4848a0b43bbbdf3c96f4d2e0933 author Miles Bader Wed, 27 Jul 2005 11:44:54 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:03 -0700 [PATCH] v850: Update ioremap return type and add ioread/iowrite functions Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f307d365ea4db4848a0b43bbbdf3c96f4d2e0933 tree a249f9777a9d1782a87d57fb4978e3084e7e255b parent 4f9a6e101a962dd845eda69fa066184457968228 author Miles Bader Wed, 27 Jul 2005 11:44:53 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:02 -0700 [PATCH] v850: Add defconfigs Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f9a6e101a962dd845eda69fa066184457968228 tree fdaf4d1bca537c79be5b775fce92c9ce1041066e parent e9c3d6b925e0fdb5e62fad6d81e4004897cfe79d author Miles Bader Wed, 27 Jul 2005 11:44:53 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:02 -0700 [PATCH] v850: const-qualify first parameter of find_next_zero_bit Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9c3d6b925e0fdb5e62fad6d81e4004897cfe79d tree 76c2d635c166e67836a6016db687b7ea8ed8e3ae parent e63b68de5c9bf68cfb4a272469147b19176d76d6 author Miles Bader Wed, 27 Jul 2005 11:44:52 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:02 -0700 [PATCH] v850: Define pfn_valid Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e63b68de5c9bf68cfb4a272469147b19176d76d6 tree b7360d771a16fee23a2309c2b66726d1880e24f5 parent 51533b615e605d86154ec1b4e585c8ca1b0b15b7 author Mikael Starvik Wed, 27 Jul 2005 11:44:51 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:02 -0700 [PATCH] CRIS IDE driver * Added abstraction layer for subarchs. * Added v32 support. * Renamed driver. Signed-off-by: Mikael Starvik Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51533b615e605d86154ec1b4e585c8ca1b0b15b7 tree 4a6d7d8494d2017632d83624fb71b36031e0e7e5 parent 5d01e6ce785884a5db5792cd2e5bb36fa82fe23c author Mikael Starvik Wed, 27 Jul 2005 11:44:44 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:01 -0700 [PATCH] CRIS update: new subarchitecture v32 New CRIS sub architecture named v32. From: Dave Jones Fix swapped kmalloc args Signed-off-by: Mikael Starvik Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d01e6ce785884a5db5792cd2e5bb36fa82fe23c tree aec09f0c058a6750904b947733a6cc7033359447 parent dcf1310b72149d016970c666539d4d73bb77c086 author Mikael Starvik Wed, 27 Jul 2005 11:44:43 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:01 -0700 [PATCH] CRIS update: updates for 2.6.12 Patches to make CRIS work with 2.6.12. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcf1310b72149d016970c666539d4d73bb77c086 tree 25fddb677c70936a51cbbbffa4bd7285ff758a94 parent 8d20a541b089ecb67a88a673548161b686ed7b85 author Mikael Starvik Wed, 27 Jul 2005 11:44:42 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:01 -0700 [PATCH] CRIS update: synchronous serial port driver Include file for synchronous serial port driver. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d20a541b089ecb67a88a673548161b686ed7b85 tree 53bac804d538068c80684becb76cd76937956502 parent 21783c9746619a782c21be606f6498bbd4d4615e author Mikael Starvik Wed, 27 Jul 2005 11:44:42 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:01 -0700 [PATCH] CRIS update: SMP Patches to support SMP. * Each CPU has its own current_pgd. * flush_tlb_range is implemented as flush_tlb_mm. * Atomic operations implemented with spinlocks. * Semaphores implemented with spinlocks. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21783c9746619a782c21be606f6498bbd4d4615e tree e02f3e7b583576d850b3aac2fdcf38172ee565eb parent 59c61138a556cf89692e0d5bd2c9de5df54b824f author Mikael Starvik Wed, 27 Jul 2005 11:44:40 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: profiler System-level profiler. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59c61138a556cf89692e0d5bd2c9de5df54b824f tree d068341a2b6384a5b8be6b86b85a2b1073f43a19 parent 4f18cfbf0990bfc2e8e7706eeb9e5bef898ae923 author Mikael Starvik Wed, 27 Jul 2005 11:44:40 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: pci Patches to make it possible to add PCI support. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f18cfbf0990bfc2e8e7706eeb9e5bef898ae923 tree b6bd033aac034e5d3cb83be8efb03506135866b2 parent 7cf32cad153d63ac4f6f2d5dd16ddd32ad72d578 author Mikael Starvik Wed, 27 Jul 2005 11:44:39 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: mm Memory management patches. * SMP support. * Non-executable stack (on v32). * 4-level page tables. * Added simple Thread Local Storage support. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cf32cad153d63ac4f6f2d5dd16ddd32ad72d578 tree 1072d64f49092ba87ff0d5079e37f58f646f7356 parent 2e0cea1decf7f21df0496571c218df3b3b8cce99 author Mikael Starvik Wed, 27 Jul 2005 11:44:38 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: misc patches * Start threads with IRQs enabled. * Move symbol exports to arch specific file. * Prepare for real command line in the future. * Handle csum for partition that crosses flash boundary. * Set utsname. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e0cea1decf7f21df0496571c218df3b3b8cce99 tree 7d6a2a99013b2a4270f4d0a9ccf2d71549488f48 parent 63245d2cde2be64f172388c2c50862f233c05700 author Mikael Starvik Wed, 27 Jul 2005 11:44:36 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: IRQ Use the generic IRQ framework Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63245d2cde2be64f172388c2c50862f233c05700 tree c5f41dca80044bf4820e9c65eaa9844eb89493f6 parent 7e9204265b4ec6680fad9abc7a78b94087983916 author Mikael Starvik Wed, 27 Jul 2005 11:44:35 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:26:00 -0700 [PATCH] CRIS update: I/O and DMA allocator Added I/O and DMA allocators to be used by drivers. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e9204265b4ec6680fad9abc7a78b94087983916 tree 50ff709f7d37193bb56599a4e1646509d8e353ff parent 059163cabc01a15b9e2cf10e5de5b6dc06e0da1f author Mikael Starvik Wed, 27 Jul 2005 11:44:34 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] CRIS update: drivers Updates to device drivers. * Use I/O and DMA allocators. * Use wait_event_interruptible instead of interrutiple_sleep_on. * Added spinlocks SMP. * Changed restore_flags to local_irq_restore etc. * Updated IDE driver include to fit 2.6.12. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 059163cabc01a15b9e2cf10e5de5b6dc06e0da1f tree d053763ad90eeb4a6835d2ff888f2d36428f881c parent 05b4c28cba8dc48505322988340307073c353b1e author Mikael Starvik Wed, 27 Jul 2005 11:44:32 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] CRIS update: debug Improvements to crash debug code. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05b4c28cba8dc48505322988340307073c353b1e tree 2d17bd3724babfc0f735988b3e2de862a0f27680 parent 3e41d6522a6922a95f9d953f4171b45b82b3d6f4 author Mikael Starvik Wed, 27 Jul 2005 11:44:31 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] CRIS update: console Changes to console. * Added LF->CRLF translation * Make use of real console framework. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e41d6522a6922a95f9d953f4171b45b82b3d6f4 tree 61f406f442ec3db540322c802d06a67f8dbd8eb7 parent cb09f540a1c5e6c5beb6e82f554d51a1f2c87e67 author Mikael Starvik Wed, 27 Jul 2005 11:44:30 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] CRIS update: configuration and build Changes to configuration and build system. * Added v32 sub architecture. * Use generic hard IRQ. * Added SMP options. * Added options to OOPS at NMI and reboot at OOM. * Made it possible to set objtree. * Added option to select Kernel GDB serial port. * Corrected Kconfig usage. * Added system profiler. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb09f540a1c5e6c5beb6e82f554d51a1f2c87e67 tree 869d0be20eb950ea64b7fdcfcbb07082f173cfae parent e1637f437f1a2e552e0572e02d46e2c395a4ecaf author Mikael Starvik Wed, 27 Jul 2005 11:44:27 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] CRIS update: arch split Changes necessary to make the sub-arch split complete. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1637f437f1a2e552e0572e02d46e2c395a4ecaf tree 7c832e6129188c4e339733396fdc310e6c9bfb32 parent dab175f393cdf30fbaec5978682a49dc3c890b2f author Adrian Bunk Wed, 27 Jul 2005 11:44:24 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:59 -0700 [PATCH] m32r: add missing Kconfig help text There's no help text for CONFIG_DEBUG_STACKOVERFLOW - add one. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dab175f393cdf30fbaec5978682a49dc3c890b2f tree 70e0cd61df9b73ea4c465ce515c594b57943c8dd parent f2d5c74d778fc59a46f8e173cf986e7320e15e50 author Adrian Bunk Wed, 27 Jul 2005 11:44:23 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:58 -0700 [PATCH] i386: add missing Kconfig help text There's no help text for CONFIG_DEBUG_STACKOVERFLOW - add one. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d5c74d778fc59a46f8e173cf986e7320e15e50 tree 8abacac68f762bb2f6a0c8261fce6e6d1050d562 parent 488f84994c55927eef587a0827dc957c908a0bad author Yoichi Yuasa Wed, 27 Jul 2005 11:44:22 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:58 -0700 [PATCH] mips: remove obsolete GIU driver for vr41xx This patch has removed obsolete GIU driver for vr41xx. This patch already has been applied to mips tree. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 488f84994c55927eef587a0827dc957c908a0bad tree 34bdc42927e2eb559bd64039ed87508a440dffc6 parent 533f08172e21521a74e15cdef8a13c929596d506 author David Gibson Wed, 27 Jul 2005 11:44:21 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:58 -0700 [PATCH] ppc64: remove another fixed address constraint Presently the LparMap, one of the structures the kernel shares with the legacy iSeries hypervisor has a fixed offset address in head.S. This patch changes this so the LparMap is a normally initialized structure, without fixed address. This allows us to use macros to compute some of the values in the structure, which wasn't previously possible because the assembler always uses signed-% which gets the wrong answers for the computations in question. Unfortunately, a gcc bug means that doing this requires another structure (hvReleaseData) to be initialized in asm instead of C, but on the whole the result is cleaner than before. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 533f08172e21521a74e15cdef8a13c929596d506 tree 60f2117ffb85f61fcdc0e17d864d0114096a4192 parent 6fdfb382813d66757aef4d83e369f8153a40b371 author David Gibson Wed, 27 Jul 2005 11:44:19 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:58 -0700 [PATCH] ppc64: dynamically allocate segment tables PPC64 machines before Power4 need a segment table page allocated for each CPU. Currently these are allocated statically in a big array in head.S for all CPUs. The segment tables need to be in the first segment (so do_stab_bolted doesn't take a recursive fault on the stab itself), but other than that there are no constraints which require the stabs for the secondary CPUs to be statically allocated. This patch allocates segment tables dynamically during boot, using lmb_alloc() to ensure they are within the first 256M segment. This reduces the kernel image size by 192k... Tested on RS64 iSeries, POWER3 pSeries, and POWER5. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fdfb382813d66757aef4d83e369f8153a40b371 tree c4c62876595ca22daa3ec6ec96e64ba108e2f547 parent 62b662a30963c2e7bdfc129f78c3da0559202379 author Olaf Hering Wed, 27 Jul 2005 11:44:18 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:57 -0700 [PATCH] make a few functions static in pmac_setup.c Making a few functions static saves a few bytes, but only on ppc32. text data bss dec hex filename 3752421 1605208 345608 5703237 570645 ../O-ppc64_iSeries_defconfig/vmlinux 3709411 2042552 339992 6091955 5cf4b3 ../O-ppc64_maple_defconfig/vmlinux 5397329 3054824 679856 9132009 8b57e9 ../O-ppc64_pSeries_defconfig/vmlinux -3882695 417552 197760 4498007 44a257 ../O-ppc_common_defconfig/vmlinux -3414510 574500 241440 4230450 408d32 ../O-ppc_pmac_defconfig/vmlinux +3882627 417168 197760 4497555 44a093 ../O-ppc_common_defconfig/vmlinux +3414442 575428 241440 4231310 40908e ../O-ppc_pmac_defconfig/vmlinux Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62b662a30963c2e7bdfc129f78c3da0559202379 tree 13ca71a87bfb0ea7c9990fa9fccba245865c995f parent 64c74de7a3a744bc546ef76872be6285307ce101 author Andrew Morton Wed, 27 Jul 2005 11:44:17 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:57 -0700 [PATCH] ppc64: genrtc build fix genrtc.c won't compile on ppc64. Seems that ppc32 does support it though? We do this wrong btw - we should be selecting GEN_RTC in each arch/xxx/Kconfig. Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64c74de7a3a744bc546ef76872be6285307ce101 tree 5fb195afdf5163cb6983bc0348490f247c82eeb3 parent 1bc3a1ec6030f7a6a9e78172e1221be9baed68e8 author Olaf Hering Wed, 27 Jul 2005 11:44:16 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:57 -0700 [PATCH] ppc64: hide CONFIG_ADB This bites me all day when I use our default config for ppc64. We use a patch to fix the compile errors and provide the CONFIG_MAC_EMUMOUSEBTN functionality (which is behind CONFIG_INPUT_ADBHID). But Benh doesnt like it. http://ozlabs.org/pipermail/linuxppc64-dev/2005-March/003423.html Just hide all the ADB parts from via-pmu on ppc64 instead. drivers/macintosh/adbhid.c: In function `adbhid_init': drivers/macintosh/adbhid.c:1199: error: `_MACH_chrp' undeclared (first use in this function) drivers/macintosh/adbhid.c:1199: error: (Each undeclared identifier is reported only once drivers/macintosh/adbhid.c:1199: error: for each function it appears in.) Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc3a1ec6030f7a6a9e78172e1221be9baed68e8 tree a4c49e3ed78cec3d5cd95571a0971ba41f607dc2 parent c64d7b4cea71b6841d9d96d390aed323c9fe1c9d author Olaf Hering Wed, 27 Jul 2005 11:44:15 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:57 -0700 [PATCH] ppc64: update defconfigs update defconfig, use new CONFIG_HZ and set it to 100 just for the kicks. Signed-off-by: Olaf Hering Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c64d7b4cea71b6841d9d96d390aed323c9fe1c9d tree 1784bcd3381130c6d2fcaa6239f6f79d12a9cdc2 parent 757569295d4204b4e00dd9294790e09ed5a2ffd2 author Kumar Gala Wed, 27 Jul 2005 11:44:14 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: Fix building of TQM8260 board Added missing include of cpm2.h in correct order to allow TQM8260 to build Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 757569295d4204b4e00dd9294790e09ed5a2ffd2 tree 1f102baff1619a00d4731dfcac7d56523abe61cf parent 9f6a3d083729c76ced92106c259f0e6536a2eaea author Eugene Surovegin Wed, 27 Jul 2005 11:44:13 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: fix 440SP MAL channels count Fix the MAL channels count in PPC 440SP OCP definition. PPC 440SP has only 1 EMAC attached to MAL. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f6a3d083729c76ced92106c259f0e6536a2eaea tree 4b0b7722eecc19d0e61b5cabb7a1928293028617 parent 15ce2982c6bc41ccd7f2cbca63e024aa9044c000 author Matt Porter Wed, 27 Jul 2005 11:44:12 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: fix dma_map_page() to use page_to_bus() The following trivial patch changes dma_map_page() to use page_to_bus() instead of open-coding it (incorrectly in some cases). Signed-off-by: Eugene Surovegin Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15ce2982c6bc41ccd7f2cbca63e024aa9044c000 tree e377c01f0abf99026db6d9b4ecb328e2d67d0617 parent 571e63fc839e57965749acf19d58b3cbbef5d06a author Kumar Gala Wed, 27 Jul 2005 11:44:11 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: Fix building of radstone_ppc7d Updated radstone_ppc7d_defconfig to include the ds1337 driver which is used by the platform code. This fixes the link error when building. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 571e63fc839e57965749acf19d58b3cbbef5d06a tree 1cb3c6e2f286622ff362760e724b16818f159a90 parent 127384524b31d99bc3f9e2d2e7af4a5fad572235 author Kumar Gala Wed, 27 Jul 2005 11:44:10 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: Fix building of prpmc750 Updated prpmc750 platform code to include serial_reg.h to fix building. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 127384524b31d99bc3f9e2d2e7af4a5fad572235 tree 2557085e771896c1d6ac00626972008a3406459a parent c41b72d5bd590e6ff781d6bdfc71595f3996bacf author Kumar Gala Wed, 27 Jul 2005 11:44:10 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:56 -0700 [PATCH] ppc32: Fix typo in setup of 2nd PCI bus on 85xx Typo bug that was using PCI1 defines instead of PCI2 when setting up the second PCI bus controller on 85xx based systems. This hasn't been a real issue since currently the PCI2 sizes are the same as the PCI1 sizes for currently supported boards. Thanks to Andrew Klossner @ Xerox for point this out. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c41b72d5bd590e6ff781d6bdfc71595f3996bacf tree 1c558e5c955a1efa7a5989762609b8651c5ad621 parent 3a1ce8aa2d9611a779c308fbf332ae86217b0df6 author Downing, Thomas Wed, 27 Jul 2005 11:44:09 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc32: fix compilation error with CONFIG_PQ2FADS The 2.6.12.3 kernel compilation fails for ARCH=ppc when CONFIG_PQ2FADS=y. This patch has been tested on Freescale PQ2FADS-ZU and -VR boards. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a1ce8aa2d9611a779c308fbf332ae86217b0df6 tree a757869e15047111494e5e2b24f8c755ff781ca4 parent 13e886c3b435d14668aefaed449d8d7ca6dce3a8 author Marcelo Tosatti Wed, 27 Jul 2005 11:44:08 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc32: 8xx: update DataTLBMiss exception comment On PPC 8xx, the DataTLBMiss handler does not jump directly to the page fault handler, as was the case in v2.4. It instead loads an invalid TLB which causes a subsequent DataTLBError exception. The comment on top of it haven't been update to reflect the change, though. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e886c3b435d14668aefaed449d8d7ca6dce3a8 tree 562cc3afcd251dd637d5a35e516220bb42d4b92b parent d054b5acfe1f68460fe70aff5028ad95a7a38140 author Kumar Gala Wed, 27 Jul 2005 11:44:07 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc32: Make the UARTs on MPC824x individual platform devices The UARTs on the MPC824x are unique devices and really shouldn't be thought of as a DUART. In addition, if both UARTs are in use we need to configure the part to enable the 2nd UART since the pins for the UARTs are multiplexed. Adds support to run the 824x Sandpoint with both UARTs if desired. Signed-off-by: Matt McClintock Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d054b5acfe1f68460fe70aff5028ad95a7a38140 tree 516e1d017b38702b1f5cb0a712732770b41f7822 parent 694e50db5d75f4c29011d7d15e069a95aded8af1 author Kumar Gala Wed, 27 Jul 2005 11:44:06 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc32: Add proper prototype for cpm2_reset() Added a proper prototype for cpm2_reset() which gets rid of a build warning. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 694e50db5d75f4c29011d7d15e069a95aded8af1 tree 7c4eefb708f3b0bf1fa10639f459c2b7f6460c50 parent 7b625c001a897394b969becac3358d733728d02b author Olaf Hering Wed, 27 Jul 2005 11:44:04 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc32: update defconfigs update pmac_defconfig enable all relevant options in common_defconfig, so it can serve as a compiletest for PPC_MULTIPLATFORM configuration Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b625c001a897394b969becac3358d733728d02b tree 87f0b923686122c91a82f7d8a6821f62bdec8973 parent 12b1c5f382194d3f656e78fb5c9c8f2bfbe8ed8a author Olaf Hering Wed, 27 Jul 2005 11:44:03 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:55 -0700 [PATCH] ppc/ppc64: use Kconfig.hz use new Kconfig.hz on ppc/ppc64, use also Kconfig.preempt for ppc Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12b1c5f382194d3f656e78fb5c9c8f2bfbe8ed8a tree 052ec39f86482f4623531b247131aed93b6fb345 parent 165cd40235732644b1856a5ed5e158c9b93f6010 author Andy Whitcroft Wed, 27 Jul 2005 11:44:02 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:54 -0700 [PATCH] Remove bogus warning in page_alloc.c Originally __free_pages_bulk used the relative page number within a zone to define its buddies. This meant that to maintain the "maximally aligned" requirements (that an allocation of size N will be aligned at least to N physically) zones had to also be aligned to 1< Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165cd40235732644b1856a5ed5e158c9b93f6010 tree c68180b6d700953530c8a7852a095f9ac4840345 parent 4bfdf37830111321e2cd1fe0102dd776ce93194d author suzuki Wed, 27 Jul 2005 11:43:59 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:54 -0700 [PATCH] madvise() does not always return -EBADF on non-file mapped area The madvise() system call returns -EBADF for areas which does not map to files, only for *behaviour* request MADV_WILLNEED. According to man pages, madvise returns : EBADF - the map exists, but the area maps something that isn't a file. Fixes bug 2995. Signed-off-by: Suzuki K P Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4bfdf37830111321e2cd1fe0102dd776ce93194d tree 9791422b964d2aeae7772ac0462f1953e2f63447 parent 7657e20e46e26b198b24e2aefc696410bbe889c9 author Andrey Panin Wed, 27 Jul 2005 11:43:58 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:54 -0700 [PATCH] consolidate CONFIG_WATCHDOG_NOWAYOUT handling Attached patch removes #ifdef CONFIG_WATCHDOG_NOWAYOUT mess duplicated in almost every watchdog driver and replaces it with common define in linux/watchdog.h. Signed-off-by: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7657e20e46e26b198b24e2aefc696410bbe889c9 tree d8305384be42cb95d9e249edaccbea991a144266 parent bbaf364103cee15c895e2086723d0ad9ef47ae99 author Brian Gerst Wed, 27 Jul 2005 11:43:57 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:54 -0700 [PATCH] Fix warning in powernow-k8.c powernow-k8.c: In function `query_current_values_with_pending_wait': powernow-k8.c:110: warning: `hi' may be used uninitialized in this function Signed-off-by: Brian Gerst Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbaf364103cee15c895e2086723d0ad9ef47ae99 tree 50ba44d1a55f00c2d328a6943acc4495337b7020 parent db1de1595d03d3ddea3e0548b20decb0a32e4258 author Alexey Dobriyan Wed, 27 Jul 2005 11:43:56 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:54 -0700 [PATCH] drm: via: fix sparse warnings Signed-off-by: Alexey Dobriyan Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db1de1595d03d3ddea3e0548b20decb0a32e4258 tree e1c6da0f4112d30f6306054c78a912bca15e10e0 parent 7e8c9e14e8fdce0af9f5eed7ce6dd26b91fc8f4e author David Ranson Wed, 27 Jul 2005 11:43:55 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:53 -0700 [PATCH] serial: MRi MRI-PCIDS1 dual port serial card Add support for the MRi PCIDS1 dual port serial card. This card is a little controversial since it is the subject of a PCI vendor/device ID clash. (See http://www.ussg.iu.edu/hypermail/linux/kernel/0303.1/0516.html). I have for now just used the hex ID 0x950a. The divisor was part calculated part iterated, so may not be exactly correct (but works for me at all settings between 300 - 115300 bps). Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8c9e14e8fdce0af9f5eed7ce6dd26b91fc8f4e tree 5cf9aed809b520eea2dbdf4926c490966169c919 parent 1aaf18ff9de1f37bf674236fc0779c3aaa65b998 author Andrew Morton Wed, 27 Jul 2005 11:43:55 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:53 -0700 [PATCH] statically link halfmd4 For some reason halfmd4 isn't being linked into the kernel any more and modular ext3 wants it. So statically link the halfmd4 code into the kernel. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aaf18ff9de1f37bf674236fc0779c3aaa65b998 tree 53df4d3dd0fbd81b79d5cdb63cf0d11853307a6b parent 0cfc11ed45e4c00750039e5a18c0fc0d681e19db author Andrew Morton Wed, 27 Jul 2005 11:43:54 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:53 -0700 [PATCH] check_user_page_readable() deadlock fix Fix bug identifued by Richard Purdie . oprofile calls check_user_page_readable() from interrupt context, so we deadlock over various VFS locks. But check_user_page_readable() doesn't imply either a read or a write of the page's contents. Change __follow_page() so that check_user_page_readable() can tell __follow_page() that we're not accessing the page's contents, and use that info to avoid the troublesome lock-takings. Also, make follow_page() inline for the single callsite in memory.c to save a bit of stack space. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cfc11ed45e4c00750039e5a18c0fc0d681e19db tree f269f327be4bce9c79f303a8720bf3c262fe1970 parent 1872bcebbcd6ad7ddd99e92fb1e4f3d19e73919c author Carsten Otte Wed, 27 Jul 2005 11:43:52 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:53 -0700 [PATCH] fix xip sparse file handling in ext2 Oliver Paukstadt from our test department is testing the xip patches in Linus' git-tree. He found a problem that shows when reading a file that contains sparse blocks (holes) on a -o xip mounted ext2 filesystem: the BUG_ON() in fs/ext2/xip.c:40 triggers where it should not. The problem was introduced by a cleanup in my previous patch, this patch fixes it. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1872bcebbcd6ad7ddd99e92fb1e4f3d19e73919c tree dc1fe75f915fb58edb36b0bab877b2787e663b92 parent 90c5029e471636f21221bf66b9a46ada2ab79a22 author Pete Zaitcev Wed, 27 Jul 2005 11:43:51 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:52 -0700 [PATCH] ub: fix for blank CDs This patch fixes a microcode lockup in my CD-ROM adapters when a blank CD is inserted. However, do not try to burn CDs yet! I'm pretty sure that trying it will end in coasters. - Fix a few cases where we were unable to resynchronize with replies for previous commands. The main thing is to keep reading replies in case of a stall. This is done with the new state CLRRS. - Since I am forgetting the basic state machine already, document it. - Move counter increments in the looping path in its own function. - Fix a harmless buglet in case CSW read fails to submit: do not override state. - Implement the Alan Stern's idea for adaptive signature checking. Signed-off-by: Pete Zaitcev Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90c5029e471636f21221bf66b9a46ada2ab79a22 tree b3a658d77b16fcecdc3c18bfe6eef679e203b757 parent c223695634fb360ed65e5a811161853a05e46962 author Andi Kleen Wed, 27 Jul 2005 11:43:50 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:52 -0700 [PATCH] Undo mempolicy shared policy rbtree microoptimization All mempolicy changes must be inside the spinlock and readding the rb_erase prevents a crash while doing: > echo "1" > /tmp/numatest > numactl --length=0x4000 --shm /tmp/numatest --localalloc > numactl --length=0x2000 --offset=0 --shm /tmp/numatest --membind=0 > numactl --length=0x2000 --offset=0x2000 --shm /tmp/numatest --membind=1 > ipcs > ipcrm -M "the_key_value_of_this_shm_area" Based on a patch by John Blackwood Cc: Cc: Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c223695634fb360ed65e5a811161853a05e46962 tree 0339c37cb05b028dbc0c2cfd9224afb158df423a parent 9539c1d495c8d92837e7b6382a1219ac275b94b2 author V. ANANDA KRISHNAN Wed, 27 Jul 2005 11:43:49 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:52 -0700 [PATCH] jsm: warning fixes - updates the version - fix mixing of declarations and code. The mixing of declarations and code displays warnings when used against RedHat RHEL4.0 distro (compiler version is 3.4.3-22.1) and hence I separated them out. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9539c1d495c8d92837e7b6382a1219ac275b94b2 tree b0371e81e678b391555ce2bfb118a0a3e5530bc8 parent 49f29915856435ad8e34a4a3a907b09682a5826e author V. ANANDA KRISHNAN Wed, 27 Jul 2005 11:43:48 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:52 -0700 [PATCH] jsm: use dynamic major number allocation The jsm driver uses a static number of 253. The major number 253 is a reserved for "LOCAL/EXPERIMENTAL USE" by both char and block devices. So take advantage of the dynamic allocation of major number by the kernel. Signed-off-by: V. Ananda Krishnan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49f29915856435ad8e34a4a3a907b09682a5826e tree 27faa6ed2fa2d6d11728ffcf4bc96fdd0e1deb4b parent b24b1033451fcc87087a692fc47ca45daebd51ac author Olivier Blin Wed, 27 Jul 2005 11:43:47 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] i4l: add Olitec ISDN PCI card in hisax gazel driver This patch adds support for the Olitec ISDN PCI card in the hisax gazel driver. The gazel driver supports this card, but wasn't aware of its PCI ids. Users used to modify the PCI ids of a supported card in include/linux/pci_ids.h and recompile their kernel to get this card running, as said in most Howtos. This patch makes the hisax gazel driver recognize the PCI ids of the Olitec ISDN PCI card. Signed-off-by: Olivier Blin Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b24b1033451fcc87087a692fc47ca45daebd51ac tree 6a0bba28834105976dad411f37d98a494f6312b0 parent 104e49fc1e1656142869fab0e75d7df52b72eed9 author Alan Stern Wed, 27 Jul 2005 11:43:46 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] scsi_scan: check return code from scsi_sysfs_add_sdev Adds a missing check for an error return code from scsi_sysfs_add_sdev. This resolves entry #4863 in the OSDL bugzilla. Although in that bug report the failure occurred because of a confusion over scanning vs. rescanning, in general add_sdev can fail for a number of reasons (the simplest being insufficient memory) and the caller should cope properly. Signed-off-by: Alan Stern Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 104e49fc1e1656142869fab0e75d7df52b72eed9 tree 4ba88793943da0fda56bbc98b404ea862ba89af6 parent 0f94c8e1256fcb786e1918e30bdaeccf669bf63c author Ian Kent Wed, 27 Jul 2005 11:43:45 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] autofs4: fix infamous "Busy inodes after umount ..." message If the automount daemon receives a signal which causes it to sumarily terminate the autofs4 module leaks dentries. The same problem exists with detached mount requests without the warning. This patch cleans these dentries at umount. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f94c8e1256fcb786e1918e30bdaeccf669bf63c tree 0b46d5a6c2da7948841508ebd7078e5f64d4a740 parent d912d1ff218195c248c770eb677726695e07aa40 author Dominik Brodowski Wed, 27 Jul 2005 11:43:44 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] Add pcibios_bus_to_resource for parisc Signed-off-by: Dominik Brodowski Acked-by: Grant Grundler Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d912d1ff218195c248c770eb677726695e07aa40 tree 6718b67656e3cf0ec0c03b585f43f8815809cdcd parent b7343f01e326374e69666ca6001bdb6a7c67e9f7 author George Anzinger Wed, 27 Jul 2005 11:43:44 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] itimer fixes Fix the recent off-by-one fix in the itimer code: 1. The repeating timer is figured using the requested time (not +1 as we know where we are in the jiffie). 2. The tests for interval too large are left to the time_val to jiffie code. Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7343f01e326374e69666ca6001bdb6a7c67e9f7 tree 2c1dc0a41127956dc5661a1fecb46ab25f136550 parent bba0e4670a4e1841a96b561dcc60ebe335049891 author Rolf Eike Beer Wed, 27 Jul 2005 11:43:42 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:51 -0700 [PATCH] watchdog: add missing 0x in alim1535_wdt.c Usually the device IDs are given in hex. This one is a bit strange: it is without 0x in the first place and used with it some lines later. I suspect the first one to be the wrong. Signed-off-by: Rolf Eike Beer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bba0e4670a4e1841a96b561dcc60ebe335049891 tree 613d90ff9d665edd9a6ad769c7d9757922507fd5 parent 9a14d4c898285623d1f5c338b659fa82cf4480fb author Nigel Cunningham Wed, 27 Jul 2005 11:43:41 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code This patch fixes a warning in the disable_nonboot_cpus call in kernel/power/smp.c. Signed-off by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a14d4c898285623d1f5c338b659fa82cf4480fb tree 29d284a62137a8b56e5fe242c845a1965f0722ad parent ab6862e6dab813ecde9ae7da506188dc1e9f11bb author Adrian Bunk Wed, 27 Jul 2005 11:43:41 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] drivers/pnp/pnpbios/rsparser.c: fix compile error with PCI=n drivers/pnp/pnpbios/rsparser.c: In function 'pnpbios_parse_allocated_irqresource': drivers/pnp/pnpbios/rsparser.c:67: error: too many arguments to function 'pcibios_penalize_isa_irq' Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab6862e6dab813ecde9ae7da506188dc1e9f11bb tree 3b8dfa48fdb1f7678e9a973efffeefc982a2fa92 parent c7e9a52ef0089492bba457dfb8eba1a54e19f24a author Jan Kara Wed, 27 Jul 2005 11:43:40 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] ext3: drop quota references before releasing inode We must drop references to quota structures before releasing the inode. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7e9a52ef0089492bba457dfb8eba1a54e19f24a tree b27ebf42dbf85be14732ba0b776237abbce970fa parent b3bb8afd965159f155d4f629cbea158cbcc69275 author Jan Kara Wed, 27 Jul 2005 11:43:39 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] ext2: drop quota reference before releasing inode We must drop references to quota structures before releasing the inode. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3bb8afd965159f155d4f629cbea158cbcc69275 tree fffcb983d26aa1d435ba8e2b788a7aaf0b6efce0 parent c9b3ad673460fc997a652cd58aa3a345d40e5218 author Jeff Mahoney Wed, 27 Jul 2005 11:43:38 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL reiserfs_new_inode() can call iput() with the xattr lock held. This will cause a deadlock to occur when reiserfs_delete_xattrs() is called to clean up. The following patch releases the lock and reacquires it after the iput. This is safe because interaction with xattrs is complete, and the relock is just to balance out the release in the caller. The locking needs some reworking to be more sane, but that's more intrusive and I was just looking to fix this bug. Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b3ad673460fc997a652cd58aa3a345d40e5218 tree a91d0f452ccfe72fb2cb4c2db75cddc36a2ef21d parent ef2a701d444a4ea9790146e92756b0dde5070a15 author Jens Axboe Wed, 27 Jul 2005 11:43:37 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:50 -0700 [PATCH] as-iosched tunable encoding fix AS is doing internal msec<->jiffies conversions twice, so the sysfs tunables which represent time are coming out wrong. The switch from HZ=1000 exposed this. Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef2a701d444a4ea9790146e92756b0dde5070a15 tree d3567c63331ae94a2f818de55b6a37d1d551eb94 parent 5e50e7a99d04774506f4e1dee51afba37125cd3c author Nigel Cunningham Wed, 27 Jul 2005 11:43:36 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:49 -0700 [PATCH] Fix missing refrigerator invocation in jffs2 Here's a patch to fix a missing refrigerator call in jffs2. Signed-off-by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e50e7a99d04774506f4e1dee51afba37125cd3c tree 5fa2905ceae0791573b735b5a2f26ff4326deeb4 parent 0e6c1f5facffd94000832d402be1ea75f73c90e3 author Nigel Cunningham Wed, 27 Jul 2005 11:43:35 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:49 -0700 [PATCH] Add missing tvaudio try_to_freeze() Tvaudio lacks a refrigerator call. This patch fixes that. Signed-off-by: Nigel Cunningham Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e6c1f5facffd94000832d402be1ea75f73c90e3 tree 81698536c8b558c2bf71f63ac33518c21474a663 parent 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 author Nigel Cunningham Wed, 27 Jul 2005 11:43:34 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:49 -0700 [PATCH] try_to_freeze() call fixes Here are fixes for four try_to_freeze calls that are still (incorrectly) using a parameter after the recent try_to_freeze() changes. Signed-off-by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 tree 4581a3be9e1a3c266e0515353f8de34cae885e93 parent 0d4579ed553e8bb29d580c08bfcabcb0826a89c3 author Andi Kleen Wed, 27 Jul 2005 11:43:34 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:49 -0700 [PATCH] x86_64: fix SMP boot lockup on some machines Fixes boot up lockups on some machines where CPU apic ids don't start with 0 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d4579ed553e8bb29d580c08bfcabcb0826a89c3 tree 7f319523a4ce031378fb14d7b39c6ad0eddf277f parent 20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5 author Jeff Dike Wed, 27 Jul 2005 11:43:33 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:49 -0700 [PATCH] uml: fix misdeclared function This fixes an interface which differed from its declaration, and includes the relevant header so that this doesn't happen again. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5 tree 63e2a55c3800911c2de8900e29d73b1ff9e68a5c parent cb66504d65e54210d7dc55a0027d309ca5f51f83 author Dominik Hackl Wed, 27 Jul 2005 11:43:32 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] uml: update module interface This patch replaces the deprecated MODULE_PARM function by the new module_param function. Signed-off-by: Dominik Hackl Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb66504d65e54210d7dc55a0027d309ca5f51f83 tree 0d292ced5cce778bc16387b1d928117aead52996 parent b6b038a24a826fe22d9823722cfbbbd3ad7a3021 author Paolo 'Blaisorblade' Giarrusso Wed, 27 Jul 2005 11:43:31 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] uml: add skas0 command-line option This adds the "skas0" parameter to force skas0 operation on SKAS3 host and shows which operating mode has been selected. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6b038a24a826fe22d9823722cfbbbd3ad7a3021 tree 705266cdb7a0cf8397005b735906fdb6d12a35a1 parent 8648373af214d3c74b81e78049a64dad986c1024 author Olaf Hering Wed, 27 Jul 2005 11:43:30 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] uml: add dependency to arch/um/Makefile for parallel builds the header file must be build before mk_user_constants. Adding it as a direct dep doesnt work for some reason. arch/um/os-Linux/util/mk_user_constants.c:2:26: error: user-offsets.h: No such file or directory arch/um/os-Linux/util/mk_user_constants.c: In function 'main': arch/um/os-Linux/util/mk_user_constants.c:17: error: '__UM_FRAME_SIZE' undeclared (first use in this function) arch/um/os-Linux/util/mk_user_constants.c:17: error: (Each undeclared identifier is reported only once arch/um/os-Linux/util/mk_user_constants.c:17: error: for each function it appears in.) make[1]: *** [arch/um/os-Linux/util/mk_user_constants] Error 1 Signed-off-by: Olaf Hering Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8648373af214d3c74b81e78049a64dad986c1024 tree e78dacfee9b3ff237060b7c866ba9f144a1f2d67 parent 4b5c7ae83704320e2afb0912f4c42eadabc7535b author Olaf Hering Wed, 27 Jul 2005 11:43:29 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] uml: readd missing define to arch/um/Makefile-i386 scripts/Makefile.build:13: /Makefile: No such file or directory scripts/Makefile.build:64: kbuild: Makefile.build is included improperly the define was removed, but its still required to build some targets. Signed-off-by: Olaf Hering Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b5c7ae83704320e2afb0912f4c42eadabc7535b tree 2db30198606683da3b683cabac531d902a249b27 parent b38817dda45bc2990a8d593f3a1b4d444b2dcf4f author NeilBrown Wed, 27 Jul 2005 11:43:28 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] md: when resizing an array, we need to update resync_max_sectors as well as size Without this, and attempt to 'grow' an array will claim to have synced the extra part without actually having done anything. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b38817dda45bc2990a8d593f3a1b4d444b2dcf4f tree 1e787d4fb0a7a6e6d26ec2bfba00a1a4ff280047 parent c10b873695c6a1de0d8ebab40b525575ca576683 author Yoichi Yuasa Wed, 27 Jul 2005 11:43:28 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:48 -0700 [PATCH] mips: fbdev Kcofnig fix arch/mips/Kconfig is defining CONFIG_FB as bool and drivers/video/Kconfig was changed a while ago to define it as tristate. Remove the MIPS definition. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c10b873695c6a1de0d8ebab40b525575ca576683 tree f0d5f3ce15c8259209dcea621b0b06396bbac25e parent 8c86cb127b2b7614903cb2a38db3207488a0405a author Alexey Dobriyan Wed, 27 Jul 2005 11:43:27 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:47 -0700 [PATCH] Really __nocast-annotate kmalloc_node() One chunk was lost somewhere between my and Andrew's machine. Noticed by Victor Fusco. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c86cb127b2b7614903cb2a38db3207488a0405a tree 001592dd2b508ed6ebcb4ba4322f2909c520df29 parent 388b0925f59461cb482447ea87e6942b5653ee1d author Kumar Gala Wed, 27 Jul 2005 11:43:26 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:47 -0700 [PATCH] I2C-MPC: Restore code removed A previous patch to remove support for the OCP device model was way to generious and moved some of the platform device model code, oops. Signed-off-by: Kumar Gala Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 388b0925f59461cb482447ea87e6942b5653ee1d tree 45437b5403ccdf4b8e5b8bee30e8c26c09c03b2c parent 9e566d8bd61f939b7f5d7d969f5b178571471cf9 author Andrew Morton Wed, 27 Jul 2005 11:43:25 -0700 committer Linus Torvalds Wed, 27 Jul 2005 16:25:47 -0700 [PATCH] user_mode_vm() build fix include/asm/ptrace.h: In function `user_mode_vm': include/asm/ptrace.h:67: `VM_MASK' undeclared (first use in this function) Cc: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48b0e5487fcdcb3421bda67666277348b2bd2661 tree 37822b91e0ded470f4728aa7511e8d3f72d977e5 parent 40a085c41dc3d5991fdf90ed2557cc06cce0590a author David S. Miller Wed, 27 Jul 2005 16:08:44 -0700 committer David S. Miller Wed, 27 Jul 2005 16:08:44 -0700 [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2. The page->flags D-cache dirty state tracking depended upon NR_CPUS being a power-of-2 via it's "NR_CPUS - 1" masking. Fix that to use a fixed (256 - 1) mask as that is the limit imposed by thread_info->cpu which is a "u8". Finally, add a compile time check that NR_CPUS is not greater than 256. Signed-off-by: David S. Miller commit 5e43db7730e7cef7d37968ea789c41392519a864 tree fc62684947bba192c649af7701ba85e2eedaabe5 parent 7cee432a22bb328ea7a4012dacc5a3471fabeb07 author Matt Mackall Wed, 27 Jul 2005 15:24:42 -0700 committer David S. Miller Wed, 27 Jul 2005 15:24:42 -0700 [NET]: Move in_aton from net/ipv4/utils.c to net/core/utils.c Move in_aton to allow netpoll and pktgen to work without the rest of the IPv4 stack. Fix whitespace and add comment for the odd placement. Delete now-empty net/ipv4/utils.c Re-enable netpoll/netconsole without CONFIG_INET Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 614d73edae68836f7659ee8efec90878e6215fb1 tree 6a9cde929df6175e797a157ca36df4c5cd99f3ae parent 9e566d8bd61f939b7f5d7d969f5b178571471cf9 author Russell King Wed, 27 Jul 2005 23:00:05 +0100 committer Russell King Wed, 27 Jul 2005 23:00:05 +0100 [ARM SMP] Fix data corruption in test_* bitops If we found that the bit was already in the desired state, we would skip performing the operation, and write random data back. Signed-off-by: Russell King commit 7cee432a22bb328ea7a4012dacc5a3471fabeb07 tree afa3905fe3a110b5baf8e47e3aabdb0faaadb8be parent a77be819f94fc55627ee257f496198ad703aaad4 author Nick Sillik Wed, 27 Jul 2005 14:46:03 -0700 committer David S. Miller Wed, 27 Jul 2005 14:46:03 -0700 [NETFILTER]: Fix -Wunder error in ip_conntrack_core.c Signed-off-by: Nick Sillik Signed-off-by: David S. Miller commit 6d376756f2cf3478d5a4fdb8d18e958948366b9d tree 6697fce446dee4b470fb85150008d315277abbce parent 2181858bb814b51de8ec25b3ddd37cd06c53b0c9 author Michael S. Tsirkin Wed, 27 Jul 2005 14:42:45 -0700 committer Roland Dreier Wed, 27 Jul 2005 14:42:45 -0700 [IB/mthca]: Use io_remap_pfn_range for PCI space Use io_remap_pfn_range to remap IO pages (remap_pfn_range is for memory). Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2181858bb814b51de8ec25b3ddd37cd06c53b0c9 tree 2fb09b6a44e17c0c3c85512a6c0ba7f5a983c0b0 parent abdf119b4dad015803819c3d046d20cfbd393e87 author Roland Dreier Wed, 27 Jul 2005 14:41:32 -0700 committer Roland Dreier Wed, 27 Jul 2005 14:41:32 -0700 [IB/ipoib]: Fix unsigned comparisons to handle wraparound Fix handling of tx_head/tx_tail comparisons to handle wraparound. Signed-off-by: Roland Dreier commit abdf119b4dad015803819c3d046d20cfbd393e87 tree 9d0372a7f4a71886696a5d7b6f7583790e1c8d22 parent 42b1806d5cfc93bf8c3d7fa6e9e79e4ec860c678 author Gleb Natapov Wed, 27 Jul 2005 14:40:00 -0700 committer Roland Dreier Wed, 27 Jul 2005 14:40:00 -0700 [IB/uverbs]: Add O_ASYNC support Add support for O_ASYNC notifications on userspace verbs completion and asynchronous event file descriptors. Signed-off-by: Gleb Natapov Signed-off-by: Roland Dreier commit 42b1806d5cfc93bf8c3d7fa6e9e79e4ec860c678 tree e12240b90a87a22edf0846e1939254d6ae085737 parent 9e566d8bd61f939b7f5d7d969f5b178571471cf9 author Roland Dreier Wed, 27 Jul 2005 14:38:49 -0700 committer Roland Dreier Wed, 27 Jul 2005 14:38:49 -0700 [IB/mthca]: Fix error CQ entry handling on mem-free HCAs Fix handling of error CQ entries on mem-free HCAs: the doorbell count is never valid so we shouldn't look at it. This fixes problems exposed by new HCA firmware. Signed-off-by: Roland Dreier commit a77be819f94fc55627ee257f496198ad703aaad4 tree 1b6d1a29f39ce0541e1248639adc496986261a13 parent cbcd2a4cca1a6223e4f98661ef524919d322675e author Kyle Moffett Wed, 27 Jul 2005 14:22:30 -0700 committer David S. Miller Wed, 27 Jul 2005 14:22:30 -0700 [NET]: Fix setsockopt locking bug On Sparc, SO_DONTLINGER support resulted in sock_reset_flag being called without lock_sock(). Signed-off-by: Kyle Moffett Signed-off-by: David S. Miller commit b833961bd30eec201b9a94eec36aa7ac96f9c9c0 tree 2ae8efad5995f7f23564304fd5027bea026ac65e parent d108919b2b5c064946c9bd30cbd4761d491cddb0 author Keith Owens Thu, 21 Jul 2005 23:41:00 -0700 committer Tony Luck Wed, 27 Jul 2005 14:18:08 -0700 [IA64] unwind.c uses wrong unat from switch_stack unwind.c can read the wrong unat bits from switch_stack. sw->caller_unat is the value of ar.unat when the task was blocked. sw->ar_unat is the value of ar.unat after doing st8.spill for r4-7. IOW, ar_unat is caller_unat with 4 bits changed. unw_access_gr() uses sw->ar_unat for r4-7 (correct), but it also uses sw->ar_unat for other scratch registers (incorrect). sw->ar_unat should only be used for r4-7, everything else should use sw->caller_unat, unless modified by unwind info. Using sw->ar_unat risks picking up the 4 bits that were overwritten when r4-7 were saved. Also this line is wrong unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_UNAT); and should be unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_PFS); Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 40a085c41dc3d5991fdf90ed2557cc06cce0590a tree 543409c3857d16760420b03666c44a605f55f4a5 parent ae6578fe9b65208dee8eda40629984efd23740c4 author David S. Miller Wed, 27 Jul 2005 14:14:39 -0700 committer David S. Miller Wed, 27 Jul 2005 14:14:39 -0700 [SPARC]: Add inotify syscall entries. Signed-off-by: David S. Miller commit cbcd2a4cca1a6223e4f98661ef524919d322675e tree 555f2e6e4eb777a9a507ee81763010a8686634ab parent eaa1c5d05947819643b2e72cbfc51ae2ddcf1991 author Randy Dunlap Wed, 27 Jul 2005 13:04:35 -0700 committer David S. Miller Wed, 27 Jul 2005 13:04:35 -0700 [NET]: Improve presentation of networking driver families. Suggestion from Sam Ravnborg It causes all driver families to be displayed aligned immediately under the main network drivers heading (in menuconfig/xconfig/gconfig) instead of not being subordinate to (i.e., not indented) the Network device support heading at all. The improved network driver families are: token ring, wireless, PCMCIA, WAN, ATM, and S390. Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller commit eaa1c5d05947819643b2e72cbfc51ae2ddcf1991 tree 202746f0afc2eed818b14334a328c47b07db755b parent 9e566d8bd61f939b7f5d7d969f5b178571471cf9 author Hans-Juergen Tappe (SYSGO AG) Wed, 27 Jul 2005 13:00:04 -0700 committer David S. Miller Wed, 27 Jul 2005 13:00:04 -0700 [IPV4]: Fix Kconfig syntax error From: "Hans-Juergen Tappe (SYSGO AG)" Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d108919b2b5c064946c9bd30cbd4761d491cddb0 tree bcb902d8b1c6fa3d5311d0a0e4b8520e3ec8b721 parent c2834cf4746cf13501efc3489b1895bce58a4ccb author Robert Love Wed, 27 Jul 2005 08:58:00 -0700 committer Tony Luck Wed, 27 Jul 2005 10:46:12 -0700 [IA64] inotify: ia64 syscalls. Attached patch adds the inotify syscalls to ia64. Signed-off-by: Robert Love Signed-off-by: Tony Luck commit c2834cf4746cf13501efc3489b1895bce58a4ccb tree 13614c2ed7ec156d8518fd5bff4e1c252fb05792 parent 05cb784c81a0fd1f97732156ea464bd392ce875a parent 9e566d8bd61f939b7f5d7d969f5b178571471cf9 author Tony Luck Wed, 27 Jul 2005 10:36:54 -0700 committer Tony Luck Wed, 27 Jul 2005 10:36:54 -0700 Auto merge with /home/aegl/GIT/linus commit 9e566d8bd61f939b7f5d7d969f5b178571471cf9 tree 13614c2ed7ec156d8518fd5bff4e1c252fb05792 parent 479d0f41e50646a618c43f69af7af31a8f748433 author Andrew Morton Tue, 26 Jul 2005 21:41:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] x86_64 fsnotify build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 479d0f41e50646a618c43f69af7af31a8f748433 tree 37ffd2f69eb51d25916bebeb07e56b7c8b4b2d33 parent cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 author Andrew Morton Tue, 26 Jul 2005 21:41:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] softdog build fix drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 tree 48dee72ac24026d83f5eddf77a96962b5e6aaac1 parent ae6578fe9b65208dee8eda40629984efd23740c4 author Andrew Morton Tue, 26 Jul 2005 21:41:37 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] eurotechwdt build fix drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6578fe9b65208dee8eda40629984efd23740c4 tree 6b3c5fdb78864ef276e0d6bb4bb1eeecfe17587d parent 4d7de66e2cc508761f050d1d4eaca88a6e6f711e author Chuck Ebbert <76306.1226@compuserve.com> Tue, 26 Jul 2005 21:57:24 -0400 committer Linus Torvalds Tue, 26 Jul 2005 19:25:01 -0700 [PATCH] i386: clean up user_mode macros - make the new user_mode() return 0 or 1 (same as x86_64) - remove conditional jump from user_mode_vm() it's called every timer tick on each CPU on SMP) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 4d7de66e2cc508761f050d1d4eaca88a6e6f711e tree 6b9943c1fc07de4420f95fa935e470760545780c parent e93adf1e6554511a6194f4785fd29af8e41104db parent a4f1bac62564049ea4718c4624b0fadc9f597c84 author Linus Torvalds Tue, 26 Jul 2005 16:43:39 -0700 committer Linus Torvalds Tue, 26 Jul 2005 16:43:39 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e93adf1e6554511a6194f4785fd29af8e41104db tree be719d21f02424e33d550c781de84209c945df67 parent d46523ea32a79fbc8cd1237f9441f45cc3f02456 author Tom Rini Tue, 26 Jul 2005 12:49:53 -0700 committer Linus Torvalds Tue, 26 Jul 2005 16:21:24 -0700 [PATCH] Change PowerPC MPC8xx maintainer As Marcelo has been spending a great deal of time working on MPC8xx systems of late (thanks!) and has more time than I do now for it, I'm handing this over to him. Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds commit a4f1bac62564049ea4718c4624b0fadc9f597c84 tree 294ef690f2b8978ee83b9e4e7dadbfb391ea1f94 parent cadf01c2fc0cd66dfef4956ef1a6482ed01c3150 author Herbert Xu Tue, 26 Jul 2005 15:43:17 -0700 committer David S. Miller Tue, 26 Jul 2005 15:43:17 -0700 [XFRM]: Fix possible overflow of sock->sk_policy Spotted by, and original patch by, Balazs Scheidler. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d46523ea32a79fbc8cd1237f9441f45cc3f02456 tree 0afe4590170ad25e38005f72431680ba47ba6860 parent 18586e721636527cb5177467fb17e2350615978a author Steven Rostedt Mon, 25 Jul 2005 16:28:39 -0400 committer Linus Torvalds Tue, 26 Jul 2005 15:40:00 -0700 [PATCH] fix MAX_USER_RT_PRIO and MAX_RT_PRIO Here's the patch again to fix the code to handle if the values between MAX_USER_RT_PRIO and MAX_RT_PRIO are different. Without this patch, an SMP system will crash if the values are different. Signed-off-by: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Dean Nelson Signed-off-by: Linus Torvalds commit cadf01c2fc0cd66dfef4956ef1a6482ed01c3150 tree 578dcea3e2c450d8ddc75378161bcdb50be002bf parent 52fbae2a392b6e084195bedc7a280991a94c14d0 author Adrian Bunk Tue, 26 Jul 2005 15:39:28 -0700 committer David S. Miller Tue, 26 Jul 2005 15:39:28 -0700 [NETFILTER]: Fix ip_conntrack_put() prototype. The function is not inline. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 18586e721636527cb5177467fb17e2350615978a tree 96d34b10d000fa8b1df16ae8f4c73761013371b5 parent fc00a6274b786f6863b32c79ff6f92aa0960b789 author Andreas Steinmetz Sat, 23 Jul 2005 13:42:04 +0200 committer Linus Torvalds Tue, 26 Jul 2005 15:30:51 -0700 [PATCH] Fix RLIMIT_RTPRIO breakage RLIMIT_RTPRIO is supposed to grant non privileged users the right to use SCHED_FIFO/SCHED_RR scheduling policies with priorites bounded by the RLIMIT_RTPRIO value via sched_setscheduler(). This is usually used by audio users. Unfortunately this is broken in 2.6.13rc3 as you can see in the excerpt from sched_setscheduler below: /* * Allow unprivileged RT tasks to decrease priority: */ if (!capable(CAP_SYS_NICE)) { /* can't change policy */ if (policy != p->policy) return -EPERM; After the above unconditional test which causes sched_setscheduler to fail with no regard to the RLIMIT_RTPRIO value the following check is made: /* can't increase priority */ if (policy != SCHED_NORMAL && param->sched_priority > p->rt_priority && param->sched_priority > p->signal->rlim[RLIMIT_RTPRIO].rlim_cur) return -EPERM; Thus I do believe that the RLIMIT_RTPRIO value must be taken into account for the policy check, especially as the RLIMIT_RTPRIO limit is of no use without this change. The attached patch fixes this problem. Signed-off-by: Andreas Steinmetz Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit fc00a6274b786f6863b32c79ff6f92aa0960b789 tree 7078e320ac34aa104f9adefaedf7add3173fe160 parent 0983f0509480f95584f8e945e5b9c5310e9038f3 parent a8d11e3d0282e9607f65c73383c4030fd8f0e972 author Linus Torvalds Tue, 26 Jul 2005 15:13:26 -0700 committer Linus Torvalds Tue, 26 Jul 2005 15:13:26 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0983f0509480f95584f8e945e5b9c5310e9038f3 tree 099892d76ebaa20e7b59606196dcdb67155a3b03 parent db776a14f327c20d4984ac4b724a934df34bfe31 parent 186efd5275bbe7ffb73d939c1ce5690682668200 author Linus Torvalds Tue, 26 Jul 2005 15:12:54 -0700 committer Linus Torvalds Tue, 26 Jul 2005 15:12:54 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit db776a14f327c20d4984ac4b724a934df34bfe31 tree d791f0602130c377f47792c3f51bf782834f1366 parent b35c67a46b025e8dc320b59fbe5c283094e1d7f5 author Linus Torvalds Tue, 26 Jul 2005 14:50:02 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:50:02 -0700 Fix compiler warning in qla_iocb.c Remove bogus initialization that was re-done (correctly) later. commit a8d11e3d0282e9607f65c73383c4030fd8f0e972 tree bf232c16e9a13835cd45357caa0b625ed19ef2a7 parent 821ca478867433502fc614b4be83e0362cd7e67e author Ben Dooks Tue, 26 Jul 2005 22:39:14 +0100 committer Russell King Tue, 26 Jul 2005 22:39:14 +0100 [PATCH] ARM: 2831/1: S3C2440 - split s3c2440 clocks from central clock code Patch from Ben Dooks Split the s3c2440 specific clocks from the arch clock support, to make the code clearer. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit b35c67a46b025e8dc320b59fbe5c283094e1d7f5 tree dd22c5d664496ce9caab45825bb7f7ab1fe60545 parent 6660316cb7a1a2c59a73a52870490c0f782f45c1 author Eric W. Biederman Tue, 26 Jul 2005 12:17:52 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off Now that all of the code paths that call acpi_power_off have been modified to call either call kernel_power_off (which calls apci_sleep_prepare by way of acpi_shutdown) or to call acpi_sleep_prepare directly it is redundant to call acpi_sleep_prepare from acpi_power_off. So simplify the code and simply don't call acpi_sleep_prepare. In addition there is a little error handling done so if we can't register the acpi class we don't hook pm_power_off. I think I have done the right thing with the CONFIG_PM define but I'm not certain. Can this code even be compiled if CONFIG_PM is false? Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 6660316cb7a1a2c59a73a52870490c0f782f45c1 tree 2483c25cef08d7653e38cec40b994f3cf16316f0 parent 0963aba54aa26c89114dca7257acf8c938bfec8a author Eric W. Biederman Tue, 26 Jul 2005 12:16:00 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] acpi_power_off: Don't switch to the boot cpu machine_power_off on i386 and x86_64 now switch to the boot cpu out of paranoia and because the MP Specification indicates it is a good idea on reboot, so for those architectures it is a noop. I can't see anything in the acpi spec that requires you to be on the boot cpu to power off the system, so this should not be an issue for ia64. In addition ia64 has the altix a massive multi-node system where switching to the boot cpu sounds insane as we may hot removed the boot cpu. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 0963aba54aa26c89114dca7257acf8c938bfec8a tree b56e11022f963134c24f906ba20c8ac4f4f9d185 parent 910de55c6653d76f90380c80f0b7a395f12019e3 author Eric W. Biederman Tue, 26 Jul 2005 12:14:16 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] x86_64 sync machine_power_off with i386 i386 machine_power_off was disabling the local apic and all of it's users wanted to be on the boot cpu. So call machine_shutdown which places us on the boot cpu and disables the apics. This keeps us in sync and reduces the number of cases we need to worry about in the power management code. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 910de55c6653d76f90380c80f0b7a395f12019e3 tree 35eaa391f74232ecbb8be03a56c33a5d0aeb4cfd parent 4fa2564a6fde9815df969ef3547744a22f66ba9d author Eric W. Biederman Tue, 26 Jul 2005 12:10:02 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] APM: Remove redundant call to set_cpus_allowed machine_power_off now always switches to the boot cpu so there is no reason for APM to also do that. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4fa2564a6fde9815df969ef3547744a22f66ba9d tree 46b300dadf7749e41158a909631c4715ef4f0111 parent d8e392e7c8f019657ff3ebe70a45d234990831db author Eric W. Biederman Tue, 26 Jul 2005 12:08:53 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] i386 machine_power_off cleanup Call machine_shutdown() to move to the boot cpu and disable apics. Both acpi_power_off and apm_power_off want to move to the boot cpu. and we are already disabling the local apics so calling machine_shutdown simply reuses code. ia64 doesn't have a special path in power_off for efi so there is no reason i386 should. If we really need to call the efi power off path the efi driver can set pm_power_off like everyone else. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit d8e392e7c8f019657ff3ebe70a45d234990831db tree 198e35aafaf37e9ae2ac7ecf7996c98b4eed26d7 parent 68acc05d0120e19c850e1f347ee96055f5aa032f author Eric W. Biederman Tue, 26 Jul 2005 12:07:01 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on This appears to be a typo I introduced when cleaning this code up earlier. Ooops. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 68acc05d0120e19c850e1f347ee96055f5aa032f tree 2eca1b36a99212037d1aa6b33c4893a12a43cb28 parent fdde86ac50357b6a811e3574e47d189e81a21444 author Eric W. Biederman Tue, 26 Jul 2005 12:03:08 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] pcwd.c: Call kernel_power_off not machine_power_off The call appears to come from process context so kernel_power_off should be safe. And acpi_power_off won't necessarily work if you just call machine_power_off. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit fdde86ac50357b6a811e3574e47d189e81a21444 tree b5e8d3d295da10b84ba6538359e20c5435b3085a parent 804ebf46d51653e736108074473d9493398f2df9 author Eric W. Biederman Tue, 26 Jul 2005 12:01:17 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot The suspend to disk code was a poor copy of the code in sys_reboot now that we have kernel_power_off, kernel_restart and kernel_halt use them instead of poorly duplicating them inline. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 804ebf46d51653e736108074473d9493398f2df9 tree ffd9b45b9b60df92d6794885b1b786aca6592006 parent 970d32443e3d0be57a5cdc3de3752f528424b73d author Eric W. Biederman Tue, 26 Jul 2005 11:59:54 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] 68328serial: sysrq should use emergency_reboot The 68328serial.c driver has a weird local reimplementation of magic sysrq. The code is architecture specific enough that calling machine_restart() is probably ok. But there is no reason not to call emergency_restart() so do so. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 970d32443e3d0be57a5cdc3de3752f528424b73d tree cf39589a581d461d5ed4a9311cb236dbe8544453 parent f82567e55fcd25bb7addf2cfd8b79f36f409dc2e author Eric W. Biederman Tue, 26 Jul 2005 11:55:59 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] In hangcheck-timer.c call emergency_restart() If we've hung a clean reboot does not sound like a real option. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit f82567e55fcd25bb7addf2cfd8b79f36f409dc2e tree c579e6c540b10bfd69abc086f985fc066d2708fc parent 4de8b9b76017365572f778332d74fe050d9c8c2a author Eric W. Biederman Tue, 26 Jul 2005 11:53:19 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Fix watchdog drivers to call emergency_reboot() If a watchdog driver has decided it is time to reboot the system we know something is wrong and we are in interrupt context so emergency_reboot() is what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4de8b9b76017365572f778332d74fe050d9c8c2a tree 17d22eacd721d3ff966f643b92e0243891fcb1a2 parent 2f048ea81df94f72dee0d42b3d9b941c03b8c9c5 author Eric W. Biederman Tue, 26 Jul 2005 11:51:06 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Update sysrq-B to use emergency_restart() sysrq calls into the reboot path from an interrupt handler we can either push the code do into process context and call kernel_restart and get a clean reboot or we can simply reboot the machine, and increase our chances of actually rebooting. emergency_reboot() seems like the closest match to what we have previously done, and what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 2f048ea81df94f72dee0d42b3d9b941c03b8c9c5 tree 1a60d6cc74585629750030c26c05ca471ca39546 parent ff31977782a05504f2586ec9e3e5ab4b09a4c893 author Eric W. Biederman Tue, 26 Jul 2005 11:49:23 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Call emergency_reboot from panic We know the system is in trouble so there is no question if this is an emergecy :) Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit ff31977782a05504f2586ec9e3e5ab4b09a4c893 tree 3cf1d3ab1be8688a4de9bca44d8dac276f6038e2 parent 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 author Eric W. Biederman Tue, 26 Jul 2005 11:47:32 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Use kernel_power_off in sysrq-o We already do all of the gymnastics to run from process context to call the power off code so call into the power off code cleanly. This especially helps acpi as part of it's shutdown logic should run acpi_shutdown called from device_shutdown which was not being called from here. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 tree 61c91a3fc9785346dd966249fb4acbe1feae1909 parent 7c9a90073c75bffbb89763a0c7d44a2e44e9e628 author Eric W. Biederman Tue, 26 Jul 2005 11:45:31 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] x86_64: Implemenent machine_emergency_restart It is not safe to call set_cpus_allowed() in interrupt context and disabling the apics is complicated code. So unconditionally skip machine_shutdown in machine_emergency_reboot on x86_64. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9a90073c75bffbb89763a0c7d44a2e44e9e628 tree e871063796c481475926d63a4087f099a1a605db parent 4a1421f81b64e49ce932125e7222a2d7b7f87f13 author Eric W. Biederman Tue, 26 Jul 2005 11:44:21 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] x86_64: Fix reboot_force We only want to shutdown the apics if reboot_force is not specified. Be we are doing this both in machine_shutdown which is called unconditionally and if (!reboot_force). So simply call machine_shutdown if (!reboot_force). It looks like something went weird with merging some of the kexec patches for x86_64, and caused this. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a1421f81b64e49ce932125e7222a2d7b7f87f13 tree 8f960fc27c718039bb9b93b237233d304eec8be7 parent 59586e5a262a29361c45c929ea3253d4aec830b0 author Eric W. Biederman Tue, 26 Jul 2005 11:41:26 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] i386: Implement machine_emergency_reboot set_cpus_allowed is not safe in interrupt context and disabling apics is complicated code so don't call machine_shutdown on i386 from emergency_restart(). Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 59586e5a262a29361c45c929ea3253d4aec830b0 tree 1219b4943bc04515973a44c6e3a184e4f6f026f0 parent 16dcb4bbda579c4e3d80048b755ac124d8fab21a author Eric W. Biederman Tue, 26 Jul 2005 11:36:01 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. machine_restart, machine_halt and machine_power_off are machine specific hooks deep into the reboot logic, that modules have no business messing with. Usually code should be calling kernel_restart, kernel_halt, kernel_power_off, or emergency_restart. So don't export machine_restart, machine_halt, and machine_power_off so we can catch buggy users. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 16dcb4bbda579c4e3d80048b755ac124d8fab21a tree c0195fc6f371190fe15a28d752caaf2b02de9468 parent 7c9034735eccbf82608a4602c59aaf6053ea9416 author Eric W. Biederman Tue, 26 Jul 2005 11:32:34 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] Fix the arguments to machine_restart on cris It appears machine_restart has been working cris just by luck. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9034735eccbf82608a4602c59aaf6053ea9416 tree 219e8cd4b5cfffeb261f42a2bd8e512be19cba40 parent abcd9e51f5b832439b119d530db1353c12fd4073 author Eric W. Biederman Tue, 26 Jul 2005 11:29:55 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Add emergency_restart() When the kernel is working well and we want to restart cleanly kernel_restart is the function to use. But in many instances the kernel wants to reboot when thing are expected to be working very badly such as from panic or a software watchdog handler. This patch adds the function emergency_restart() so that callers can be clear what semantics they expect when calling restart. emergency_restart() is expected to be callable from interrupt context and possibly reliable in even more trying circumstances. This is an initial generic implementation for all architectures. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit abcd9e51f5b832439b119d530db1353c12fd4073 tree 27ea8acee7a35021e399cafb80f4a4a57a1688e4 parent 4a00ea1e18228e5ef99d4780671fda97226bda30 author Eric W. Biederman Tue, 26 Jul 2005 11:27:34 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Make ctrl_alt_del call kernel_restart to get a proper reboot. It is obvious we wanted to call kernel_restart here but since we don't have it the code was expanded inline and hasn't been correct since sometime in 2.4. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a00ea1e18228e5ef99d4780671fda97226bda30 tree d77c793ef68df78b3c9a73eab16438732f875c3c parent 47f61f397cc08b5a9a815bd03cb10c48dab66034 author Eric W. Biederman Tue, 26 Jul 2005 11:24:14 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Refactor sys_reboot into reusable parts Because the factors of sys_reboot don't exist people calling into the reboot path duplicate the code badly, leading to inconsistent expectations of code in the reboot path. This patch should is just code motion. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 47f61f397cc08b5a9a815bd03cb10c48dab66034 tree 747b69851f018f80ae8f7dcf512cb8f6d43eae02 parent a6fa657b9d5c892c6a92912632c4b5715955b4f8 author Eric W. Biederman Tue, 26 Jul 2005 11:21:38 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Add missing device_suspsend(PMSG_FREEZE) calls. In the recent addition of device_suspend calls into sys_reboot two code paths were missed. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit a6fa657b9d5c892c6a92912632c4b5715955b4f8 tree d06989f6c04fb0bd5209fc63330e4ec30373c64f parent 9a168bddc2f13686336a86f8235b84347edac13a author Andrew Morton Tue, 26 Jul 2005 14:11:30 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] qla2xxx: Kconfig dependency fix *** Warning: "fc_remote_port_block" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "scsi_is_fc_rport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_unblock" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_rolechg" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_release_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remove_host" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_add" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_attach_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a168bddc2f13686336a86f8235b84347edac13a tree 4197716545fb2756c0326157719f9d5c6317f15a parent 89373de7dd010832d8b68cb37dabb33ff5a688bb author Andrew Morton Tue, 26 Jul 2005 14:11:28 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] qla: remove anonymous union Older gcc's dont support anonymous unions, so this driver gets hundreds of error. Fortunately the fix is easy... Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89373de7dd010832d8b68cb37dabb33ff5a688bb tree a9585ae0ad7b1fd559fe41b977e03e5895c92060 parent 725b38ab5401c73cedc1b1d913782fadcd0f624a author Andrew Morton Tue, 26 Jul 2005 14:08:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] inotify: fix oops fix Cc: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 725b38ab5401c73cedc1b1d913782fadcd0f624a tree 840ffe1bf560a391e88d93b2b6c49117e31aa185 parent d25cb934b00436e2243bf3970793b8e04ad9b873 author Robert Love Mon, 25 Jul 2005 15:19:29 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: add x86-64 syscall entries Add inotify syscall entries to x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit d25cb934b00436e2243bf3970793b8e04ad9b873 tree 435ed4150ffc5494d4e43bf4287d881982eaf743 parent e5ca844a9d795e97c08bc7901c62a48c28469eb0 author Robert Love Mon, 25 Jul 2005 15:19:20 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: add missing hook to sys32_open Add missing fsnotify_open() hook to sys32_open(). Add fsnotify_open() hook to sys32_open() on x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit e5ca844a9d795e97c08bc7901c62a48c28469eb0 tree bef45e498d4ec2cf3387fac7a465819475060549 parent 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e author Robert Love Mon, 25 Jul 2005 15:17:34 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: check retval in init Check for (unlikely) errors in the filesystem initialization stuff in our module_init() function. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e tree aa920bd05c10ad6a0eabfefe06f58c3a472dcae3 parent 5eb22cbcdb849886c2584389faff5afb56c23876 author Robert Love Mon, 25 Jul 2005 15:13:43 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: change default limits Change default inotify limits: Maximum instances per user to 128 and maximum events per queue to 16k. The max instances used to be 128; the change to 8 was a mistake. Memory consumption is fine. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 5eb22cbcdb849886c2584389faff5afb56c23876 tree 4a0147ea3f2021091c0ce686dc10225ef0ac7d83 parent 783bc29bbc5d6625a4669d3eb1d989a8fb275d43 author Robert Love Mon, 25 Jul 2005 15:12:19 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: exit path cleanups Handle error out paths better. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 783bc29bbc5d6625a4669d3eb1d989a8fb275d43 tree 100222921c788e68009ba1b2dccbeaba06b81e89 parent 33ea2f52b8758ef62ae4a9d2f91821c47d999ee9 author Robert Love Mon, 25 Jul 2005 15:10:08 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:21 -0700 [PATCH] inotify: oops fix Bug fix: Ensure that the fd passed to inotify_add_watch() and inotify_rm_watch() belongs to inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 33ea2f52b8758ef62ae4a9d2f91821c47d999ee9 tree becd1efe5e2c0951706333673808542804c508ed parent b680716ed28baf549f777fb125fc23ba975985c5 author Robert Love Mon, 25 Jul 2005 15:08:37 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:31:57 -0700 [PATCH] inotify: use fget_light As an optimization, use fget_light() and fput_light() where possible. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit b680716ed28baf549f777fb125fc23ba975985c5 tree f6a6a4a81bba0f66845577ffff517c2d31518007 parent 2d986010ad13a00b83851238d52601d6092df40e author Robert Love Mon, 25 Jul 2005 15:07:13 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:31:57 -0700 [PATCH] inotify: misc. cleanup Miscellaneous invariant clean up, comment fixes, and so on. Trivial stuff. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 2d986010ad13a00b83851238d52601d6092df40e tree 6a43ffd30290fc051435643d485ad12fb1448ed5 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 parent e10fb91c4dc81a4ae47caf0828df152f600f2546 author Linus Torvalds Tue, 26 Jul 2005 13:28:47 -0700 committer Linus Torvalds Tue, 26 Jul 2005 13:28:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 186efd5275bbe7ffb73d939c1ce5690682668200 tree 2d90ed4547cd15249570747d8790005ec7229c2f parent 6d9b37a3a80195d317887ff81aad6a58a66954b5 author Russell King Tue, 26 Jul 2005 19:51:26 +0100 committer Russell King Tue, 26 Jul 2005 19:51:26 +0100 [PATCH] ARM SMP: Mark device mappings as "device" in ARMv6 parlance ARMv6 introduces memory types into the page tables. Mark devices mappings with the "shared device" memory type. Signed-off-by: Russell King commit 6d9b37a3a80195d317887ff81aad6a58a66954b5 tree 98d1c96416b660070b1fd37dbbc0c80d39c55b98 parent 9560782f9a68a5de3e72bc3ba71317f373844549 author Russell King Tue, 26 Jul 2005 19:44:26 +0100 committer Russell King Tue, 26 Jul 2005 19:44:26 +0100 [PATCH] ARM SMP: Add ARMv6 memory barriers Convert explicit gcc asm-based memory barriers into smp_mb() calls. These change between barrier() and the ARMv6 data memory barrier instruction depending on whether ARMv6 SMP is enabled. Signed-off-by: Russell King commit 9560782f9a68a5de3e72bc3ba71317f373844549 tree fe0329a6ad4cf40247517b88176fea264e841d4e parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Russell King Tue, 26 Jul 2005 19:39:31 +0100 committer Russell King Tue, 26 Jul 2005 19:39:31 +0100 [PATCH] ARM SMP: Use exclusive load/store for __xchg Signed-off-by: Russell King commit 821ca478867433502fc614b4be83e0362cd7e67e tree 32253964ca72af1aa97a8df82c72d1a9be6d074e parent 7fcc113c3021a42db90e1ad27a7bec267b6e13e3 author Michael Gernoth Tue, 26 Jul 2005 19:21:47 +0100 committer Russell King Tue, 26 Jul 2005 19:21:47 +0100 [PATCH] ARM: 2830/1: Fix Jornada 720 PCMCIA-support Patch from Michael Gernoth This patch lets the Jornada 720 PCMCIA-driver compile again. The resulting driver has been tested on a Jornada with a CF-card, which was mounted and accessed successfully. Signed-off-by: Michael Gernoth Signed-off-by: Russell King commit 7fcc113c3021a42db90e1ad27a7bec267b6e13e3 tree 6d1f89bd63114d493d1546a503d4c60e947a8a1b parent 5730b7d6529e6e894ee3c2e1c68125c0532ad394 author Ben Dooks Tue, 26 Jul 2005 19:20:27 +0100 committer Russell King Tue, 26 Jul 2005 19:20:27 +0100 [PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c Patch from Ben Dooks Remove the need for the #ifdefs and place the IRQ handling code for the s3c2440 into a new file, which is only compiled when the s3c2440 cpu support is enabled. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 5730b7d6529e6e894ee3c2e1c68125c0532ad394 tree 30cb7c6306b053b78d6a46cb9c8d18d824ba85b9 parent 02cdad3f932d533e5cbde1b15092418ce7af1a70 author Ben Dooks Tue, 26 Jul 2005 19:20:26 +0100 committer Russell King Tue, 26 Jul 2005 19:20:26 +0100 [PATCH] ARM: 2828/1: BAST - remove static map of ASIX area Patch from Ben Dooks There is no point in mapping this staticaly, the driver is going to ioremap() the area as it sees fit. Also correct the dates on the changelog comments Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 02cdad3f932d533e5cbde1b15092418ce7af1a70 tree b7bf8988093e11032c73a54e02f05f4e20f4288e parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Dimitry Andric Tue, 26 Jul 2005 19:20:25 +0100 committer Russell King Tue, 26 Jul 2005 19:20:25 +0100 [PATCH] ARM: 2819/1: Fix several S3C24x0 IIS defines Patch from Dimitry Andric - Change S3C2440_IISCON_MPLL to S3C2440_IISMOD_MPLL: The S3C2440 IISCON register doesn't control the master clock selection, this is done with the IISMOD register. - Correct S3C2410_IISMOD_256FS and S3C2410_IISMOD_384FS: This is set via bit 2 of IISMOD, not bit 1. - Add S3C2410_IISCON_PSCEN (prescaler enable), for completeness' sake. Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8 tree 5e1d35d247e5ddd549283e0d71bb7810c04b02f1 parent c2783f3a625b2aba943ef94623e277557a91a448 author Dave Kleikamp Tue, 26 Jul 2005 09:29:13 -0500 committer Dave Kleikamp Tue, 26 Jul 2005 09:29:13 -0500 JFS: Fix i_blocks accounting when allocation fails A failure in dbAlloc caused a directory's i_blocks to be incorrectly incremented, causing jfs_fsck to find the inode to be corrupt. Signed-off-by: Dave Kleikamp commit 52fbae2a392b6e084195bedc7a280991a94c14d0 tree 10778d2286e381980fd7d7898a654aea13b377c4 parent fc87670b6cd63abc6fc4e3a115741984750d1fbc author David S. Miller Mon, 25 Jul 2005 19:54:35 -0700 committer David S. Miller Mon, 25 Jul 2005 19:54:35 -0700 [ATM]: speedtch: Revert 86cf42e4e029b83110cf98692420239103363dbf It was already fixed more sufficiently by Andrew Morton's change 843c944fb86e5e31ee7b319172e657ea22301322. Noted by Duncan Sands. Signed-off-by: David S. Miller commit 05cb784c81a0fd1f97732156ea464bd392ce875a tree 24122979b411dcec6ff390fc9ae84ad9413128e9 parent 3190186362466658f01b2e354e639378ce07e1a9 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Tony Luck Mon, 25 Jul 2005 15:46:44 -0700 committer Tony Luck Mon, 25 Jul 2005 15:46:44 -0700 Auto merge with /home/aegl/GIT/linus commit fc87670b6cd63abc6fc4e3a115741984750d1fbc tree dc8772eee51425ba80a99f14e262ce2633e5a043 parent 747e8f8bff56955374521fa4d488e702d4b0c04f author David S. Miller Mon, 25 Jul 2005 12:45:32 -0700 committer David S. Miller Mon, 25 Jul 2005 12:45:32 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit 747e8f8bff56955374521fa4d488e702d4b0c04f tree 66ab6d67818338a0421ef1e374ff15666c85dfa6 parent ef7f5ec0deb2bcdc005f30f6f75f79c65c577cf5 author Michael Chan Mon, 25 Jul 2005 12:33:22 -0700 committer David S. Miller Mon, 25 Jul 2005 12:33:22 -0700 [TG3]: add 5780 fiber support Add 5780S support by adding a new tg3_setup_fiber_mii_phy() function and a timer function for parallel link detection. 5780S uses standard MII registers for 1000BaseX and runs in GMII mode as opposed to TBI mode on older serdes chips. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ef7f5ec0deb2bcdc005f30f6f75f79c65c577cf5 tree 6a908c087b4ae41b593296136bc35b99fb2a9231 parent fdfec1726b14b4b2121adcfcbba98d4cc1a61751 author Michael Chan Mon, 25 Jul 2005 12:32:25 -0700 committer David S. Miller Mon, 25 Jul 2005 12:32:25 -0700 [TG3]: disallow jumbo TSO on 5780 Disallow jumbo TSO on 5780 due to hardware restrictions. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fdfec1726b14b4b2121adcfcbba98d4cc1a61751 tree 7cb407d307526b41165f974ee318c36b92e04a9e parent 7e72aad48c3790636bfa006f3b0027852ccad47e author Michael Chan Mon, 25 Jul 2005 12:31:48 -0700 committer David S. Miller Mon, 25 Jul 2005 12:31:48 -0700 [TG3]: consolidate all DMA water mark settings Consolidate all DMA watermark settings for standard and jumbo frames on all chips in tg3_init_bufmgr_config() and add new settings for 5780. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 7e72aad48c3790636bfa006f3b0027852ccad47e tree ba2f201b4554f95b3e432f75f6cc7a2cbb296f70 parent 0f893dc6ec890058d926224c8aa254d8621e0ea3 author Michael Chan Mon, 25 Jul 2005 12:31:17 -0700 committer David S. Miller Mon, 25 Jul 2005 12:31:17 -0700 [TG3]: add variable buffer size for standard ring Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer sizes on the standard ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0f893dc6ec890058d926224c8aa254d8621e0ea3 tree 9a9c42335bac0c05aed89ed7139a22d022f5d064 parent 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 author Michael Chan Mon, 25 Jul 2005 12:30:38 -0700 committer David S. Miller Mon, 25 Jul 2005 12:30:38 -0700 [TG3]: add 5780 basic jumbo frame support Add basic jumbo frames support for 5780. This chip supports jumbo frames on the standard receive ring without the jumbo ring. The TG3_FLAG_JUMBO_ENABLE is changed to TG3_FLAG_JUMBO_RING_ENABLE to indicate using the jumbo ring on 5704 and older chips. A new TG3_FLG2_JUMBO_CAPABLE flag is added to indicate jumbo frames support with or without the jumbo ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 tree e5acc4451c7e9f59125119174b05ca95c652c2df parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Michael Chan Mon, 25 Jul 2005 12:29:19 -0700 committer David S. Miller Mon, 25 Jul 2005 12:29:19 -0700 [TG3]: add 5780 basic support Add 5780 PCI IDs, chip IDs, and other basic support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c2783f3a625b2aba943ef94623e277557a91a448 tree e262b750f4e8cd5785417a55dd68b427e31bd86f parent c40c202493d18de42fcd0b8b5d68c22aefb70f03 author Dave Kleikamp Mon, 25 Jul 2005 08:58:54 -0500 committer Dave Kleikamp Mon, 25 Jul 2005 08:58:54 -0500 JFS: Don't set log_SYNCBARRIER when log->active == 0 If a metadata page is kept active, it is possible that the sync barrier logic continues to trigger, even if all active transactions have been phyically written to the journal. This can cause a hang, since the completion of the journal I/O is what unsets the sync barrier flag to allow new transactions to be created. Signed-off-by: Dave Kleikamp commit 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 tree 24122979b411dcec6ff390fc9ae84ad9413128e9 parent e89227889cec6b66758b44c83f78dba337e5d699 parent 7686ee1ad976efeddf10583f013462c66408ae51 author Linus Torvalds Sun, 24 Jul 2005 20:39:30 -0700 committer Linus Torvalds Sun, 24 Jul 2005 20:39:30 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e89227889cec6b66758b44c83f78dba337e5d699 tree 44fbf495ca2d0827e44bcc449a0f5177228dbdd8 parent 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf parent db7d9a4eb700be766cc9f29241483dbb1e748832 author Linus Torvalds Sun, 24 Jul 2005 20:38:44 -0700 committer Linus Torvalds Sun, 24 Jul 2005 20:38:44 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 7686ee1ad976efeddf10583f013462c66408ae51 tree 68e8cd513ab047d4e71fcd232fdca4e5b0a69366 parent 48647feed9f7a2d839c6ada12147b341833646e8 author Patrick McHardy Sun, 24 Jul 2005 19:44:23 -0700 committer David S. Miller Sun, 24 Jul 2005 19:44:23 -0700 [EMATCH]: Remove feature ifdefs in meta ematch. Signed-off-by: Patrick McHardy Acked-by: Thomas Graf Signed-off-by: David S. Miller commit db7d9a4eb700be766cc9f29241483dbb1e748832 tree 48848384df15d9404ceab05867d7f4ef6b1a4bbe parent cdd5186f753b23ab51f86679bdc4cc698ab0b893 author David S. Miller Sun, 24 Jul 2005 19:36:26 -0700 committer David S. Miller Sun, 24 Jul 2005 19:36:26 -0700 [SPARC64]: Move syscall success and newchild state out of thread flags. These two bits were accesses non-atomically from assembler code. So, in order to eliminate any potential races resulting from that, move these pieces of state into two bytes elsewhere in struct thread_info. Signed-off-by: David S. Miller commit cdd5186f753b23ab51f86679bdc4cc698ab0b893 tree 9de741421a4303d936687784d5a703641962c5d7 parent c5019a578f18cf3a76829626e91e5469dbd4a738 author David S. Miller Sun, 24 Jul 2005 19:36:13 -0700 committer David S. Miller Sun, 24 Jul 2005 19:36:13 -0700 [SPARC64]: Privatize sun5_timer. It is only used by some localized code in irq.c, and also delete enable_prom_timer() as that is totally unused. Signed-off-by: David S. Miller commit c5019a578f18cf3a76829626e91e5469dbd4a738 tree 64c8ad3526439ddda5de8262a56e8a52f58b0830 parent 620de54675e76f1369326bbe1fc75aff88917063 author David S. Miller Sun, 24 Jul 2005 19:35:56 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:56 -0700 [SPARC64]: Kill totally unused inline functions from asm/spitfire.h Signed-off-by: David S. Miller commit 620de54675e76f1369326bbe1fc75aff88917063 tree e50b449c94843e15c4dfa964ada5b50f1876e497 parent 6593eaed814d50214d6056c683d52ac63153730e author David S. Miller Sun, 24 Jul 2005 19:35:42 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:42 -0700 [SPARC64]: Simplify asm/rwsem.h slightly. rwsem_atomic_update and rwsem_atomic_add can be implemented straightly using atomic_*() routines. Also, rwsem_cmpxchgw() is totally unused, kill it. Signed-off-by: David S. Miller commit 6593eaed814d50214d6056c683d52ac63153730e tree b5e803f1217dd26484a15816e84402d8d3ce8a84 parent 4b502421aac89c8d4e61ecc89a70065a33305a0b author David S. Miller Sun, 24 Jul 2005 19:35:28 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:28 -0700 [SPARC64]: Non-atomic bitops do not need volatile operations Noticed this while comparing sparc64's bitops.h to ppc64's. We can cast the volatile memory argument to be non-volatile. While we're here, __inline__ --> inline. Signed-off-by: David S. Miller commit 4b502421aac89c8d4e61ecc89a70065a33305a0b tree 81f1a6f285623e2eb6393cd0dc7dce50bbf6448e parent 2d1aea8dd02ad35658864de52a3e0f9f033e63f4 author David S. Miller Sun, 24 Jul 2005 19:35:08 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:08 -0700 [SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c It needs to happen before any header includes because nowadays some things implicitly include asm/unistd.h which ends up being before the __KERNEL_SYSCALLS__ define gets done. Signed-off-by: David S. Miller commit 2d1aea8dd02ad35658864de52a3e0f9f033e63f4 tree 23c30e31146d67dd1f0bd2bf6747cf2f9abfeddb parent cb39d263e751f9cca8055bcacfe5ec863dfe2705 author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:47 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:47 -0700 [SPARC]: sbus/vfc_i2c: remove sleep_on() usage Use wait-queue directly instead of the deprecated sleep_on() function. This required adding a local wait-queue. Also use new (added in separate patch to K-J) usecs to jiffies function to convert value. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit cb39d263e751f9cca8055bcacfe5ec863dfe2705 tree 6b2bead3545fced8f8b1e8de54d1b0b52e109d24 parent 70c83375bb47cadd60fdb923ad913d4f4be75aba author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:33 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:33 -0700 [SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Change the units of poll_interval to msecs as it is only used in this delay. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 70c83375bb47cadd60fdb923ad913d4f4be75aba tree 3453e8fb3622dfd56f6d41ca1f405a037b3306de parent 4564203d76599973da9c5cbcd93057252414ac9e author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:19 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:19 -0700 [SPARC]: sbus/aurora: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer commit 4564203d76599973da9c5cbcd93057252414ac9e tree 57dd8422ea0ef4dffa3fe186ce904c0ef1ef86da parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Adrian Bunk Sun, 24 Jul 2005 19:33:55 -0700 committer David S. Miller Sun, 24 Jul 2005 19:33:55 -0700 [SPARC]: Remvoe APM_RTC_IS_GMT from config. I can't see any effect of this option outside the i386-specific APM code. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 48647feed9f7a2d839c6ada12147b341833646e8 tree a98aa36be19ce7706cef71418f143d30af28b899 parent 227510c7f175c44b12cdff6eab316e53dbf71f92 author David S. Miller Sun, 24 Jul 2005 19:30:28 -0700 committer David S. Miller Sun, 24 Jul 2005 19:30:28 -0700 [W1]: Do not use NFLOG netlink number. Use the reserved by never used NETLINK_SKIP value instead. Signed-off-by: David S. Miller commit 227510c7f175c44b12cdff6eab316e53dbf71f92 tree 157836fd8d477ad3287c29e8235a41f0ed5cad42 parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Cal Peake Sun, 24 Jul 2005 19:30:06 -0700 committer David S. Miller Sun, 24 Jul 2005 19:30:06 -0700 [IPV6]: fix implicit declaration of function `xfrm6_tunnel_unregister' Signed-off-by: Cal Peake Signed-off-by: David S. Miller commit 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf tree f23106b362b242eec555b16b34f8ad22f035c65a parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Russell King Sun, 24 Jul 2005 12:13:40 +0100 committer Russell King Sun, 24 Jul 2005 12:13:40 +0100 [PATCH] ARM SMP: Fix ARMv6 spinlock and semaphore implementations Signed-off-by: Russell King commit 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 tree fddb2afa9f3f1c49823ee7cfa7bcc9767e888e79 parent c94c0d201f1c1a62184f4f220c1615347aafbee7 parent 056a8763fc036639441a6dc49b61e57bc632af6e author Linus Torvalds Sat, 23 Jul 2005 17:01:26 -0700 committer Linus Torvalds Sat, 23 Jul 2005 17:01:26 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c94c0d201f1c1a62184f4f220c1615347aafbee7 tree ac2fe13e5686091ab9c3789cb40d50371ca270ef parent 8ed693d29b25bbd88471ec043cc01581419d0481 parent 53776eb4acdd3ec576d75b61b656ef8d51e430ea author Linus Torvalds Sat, 23 Jul 2005 16:59:55 -0700 committer Linus Torvalds Sat, 23 Jul 2005 16:59:55 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 53776eb4acdd3ec576d75b61b656ef8d51e430ea tree 2a4f0229d57e3164717b268fc7d92cf1c9d1146e parent ab9b6339381d340779e8b5957561aed41155a270 author Lucas Correia Villa Real Sun, 24 Jul 2005 00:15:46 +0100 committer Russell King Sun, 24 Jul 2005 00:15:46 +0100 [PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk Patch from Lucas Correia Villa Real This patch replaces the sizeof()'s %d specifier by %ld on a S3C2410 DMA printk. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit 8ed693d29b25bbd88471ec043cc01581419d0481 tree 5a033028bcf3bebdc8a029eeaecc708432bbce93 parent 72538d8565b0205240d88591b72db3c7f3f1881a parent 668d74c04c16bb69de564e25e85dd94eeb0175d9 author Luming Yu Sat, 23 Jul 2005 00:34:41 -0400 committer Len Brown Sat, 23 Jul 2005 00:34:41 -0400 /home/lenb/linux-2.6 branch 'acpi-2.6.12' commit 668d74c04c16bb69de564e25e85dd94eeb0175d9 tree 9eca71da4fcf1ef8074c698f80f2f4e5196f08da parent d8683a0cb5d09cb7f19feefa708424a84577e68f author Luming Yu Sat, 23 Jul 2005 00:26:33 -0400 committer Len Brown Sat, 23 Jul 2005 00:26:33 -0400 ACPI: delete unnecessary EC console messages http://bugzilla.kernel.org/show_bug.cgi?id=4534 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 72538d8565b0205240d88591b72db3c7f3f1881a tree f7d1a78787e8027b6144487580e1c811cdb4fc2a parent 2847e3478c3d8119eedc3e0cb85a308b21f681dd author Linus Torvalds Fri, 22 Jul 2005 18:29:40 -0400 committer Linus Torvalds Fri, 22 Jul 2005 18:29:40 -0400 Remove "noreplacement" kernel command line option. It is no longer valid to not replace instructions, since we depend on different behaviour depending on CPU capabilities. If you need to limit the capabilities of the replacements (because the boot CPU has features that non-boot CPU's do not have, for example), you need to explicitly disable those capabilities that are not shared across all CPU's. For example, if your boot CPU has FXSR, but other CPU's in your system do not, you need to use the "nofxsr" kernel command line, not disable instruction replacement per se. commit 2847e3478c3d8119eedc3e0cb85a308b21f681dd tree 40e24b6a405331ae5fc9ed38b0d4872c84069891 parent 38afd6adf6bccd7176e88c07cac104d3639aa30d author Linus Torvalds Fri, 22 Jul 2005 18:19:20 -0400 committer Linus Torvalds Fri, 22 Jul 2005 18:19:20 -0400 x86: use alternative instructions for fnsave/fxsave too This one ends up using an inline asm format that claims to read memory and then clobber it (rather than just write it directly), which made it easier to use the existing "alternative_input()" infrastructure support. Now the fxsave code matches the fxrstor. commit 38afd6adf6bccd7176e88c07cac104d3639aa30d tree 2142409984b609e51ef60b6a14318dd4e878718a parent 8ed1383fb7b6685968588141d5934e0e6715e954 parent 261688d01ec07d3a265b8ace6ec68310fbd96a96 author Linus Torvalds Fri, 22 Jul 2005 16:33:00 -0700 committer Linus Torvalds Fri, 22 Jul 2005 16:33:00 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 261688d01ec07d3a265b8ace6ec68310fbd96a96 tree c068cd8f4a1cf545ea4bfb68d3becc051b964d56 parent d3984a6b6abac6203868f0e9095c0ed9e33ece03 author David S. Miller Fri, 22 Jul 2005 14:43:52 -0700 committer David S. Miller Fri, 22 Jul 2005 14:43:52 -0700 [PKT_SCHED]: em_meta: Kill TCF_META_ID_{INDEV,SECURITY,TCVERDICT} More unusable TCF_META_* match types that need to get eliminated before 2.6.13 goes out the door. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit 8ed1383fb7b6685968588141d5934e0e6715e954 tree 7ee8476ec114dbab907e3acf4e8a9d0342bf6751 parent b339a18b81a1f6ca1455559594f5df872b9e59f4 author Linus Torvalds Fri, 22 Jul 2005 16:06:16 -0400 committer Linus Torvalds Fri, 22 Jul 2005 16:06:16 -0400 x86: make restore_fpu() use alternative assembler instructions It's really just a single instruction, conditional on whether the CPU supports FXSR or not, so implement it as such instead of making it a function that queries FXSR dynamically. This means that the instruction just gets automatically rewritten to the correct one at boot-time. commit d3984a6b6abac6203868f0e9095c0ed9e33ece03 tree a46aa663c646cfc93067c837407ead4357f0b955 parent 74bb421da7f39e70ab636ad46ef85ea1178786c5 author Patrick McHardy Fri, 22 Jul 2005 12:52:47 -0700 committer David S. Miller Fri, 22 Jul 2005 12:52:47 -0700 [NETFILTER]: Fix ip6t_LOG MAC format I broke this in the patch that consolidated MAC logging. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 74bb421da7f39e70ab636ad46ef85ea1178786c5 tree 11f2eba01e01f8094f57a1c16c6d454ce7b2430a parent 21f930e4abdcb9649f26e5b959c14dddee4e600b author Patrick McHardy Fri, 22 Jul 2005 12:51:38 -0700 committer David S. Miller Fri, 22 Jul 2005 12:51:38 -0700 [NETFILTER]: Use correct byteorder in ICMP NAT Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 21f930e4abdcb9649f26e5b959c14dddee4e600b tree 524b3bfee593f20a52fab80c7bb4da3ac0ad3ad8 parent d04b4f8c1c9766e49fad6a141fc61cb30db69a5c author Patrick McHardy Fri, 22 Jul 2005 12:51:03 -0700 committer David S. Miller Fri, 22 Jul 2005 12:51:03 -0700 [NETFILTER]: Wait until all references to ip_conntrack_untracked are dropped on unload Fixes a crash when unloading ip_conntrack. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d04b4f8c1c9766e49fad6a141fc61cb30db69a5c tree 4355aafff80fc9a09597d4990a45b51b30359cf3 parent 4c1217deeb148ff8ab838ba4f1875d0f52dea343 author Patrick McHardy Fri, 22 Jul 2005 12:50:29 -0700 committer David S. Miller Fri, 22 Jul 2005 12:50:29 -0700 [NETFILTER]: Fix potential memory corruption in NAT code (aka memory NAT) The portptr pointing to the port in the conntrack tuple is declared static, which could result in memory corruption when two packets of the same protocol are NATed at the same time and one conntrack goes away. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4c1217deeb148ff8ab838ba4f1875d0f52dea343 tree 9219e874ef71ac18b31e1028a5cde6d579c6fc23 parent 28e212fb360ce2568edd60b93d60683d5ad24146 author Patrick McHardy Fri, 22 Jul 2005 12:49:30 -0700 committer David S. Miller Fri, 22 Jul 2005 12:49:30 -0700 [NETFILTER]: Fix deadlock in ip6_queue Already fixed in ip_queue, ip6_queue was missed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b339a18b81a1f6ca1455559594f5df872b9e59f4 tree 1c3a34047734e5923484353dbe710b167ad7c72b parent f60f700876cd51de9de69f3a3c865d95e287a24d author Linus Torvalds Fri, 22 Jul 2005 15:23:47 -0400 committer Linus Torvalds Fri, 22 Jul 2005 15:23:47 -0400 Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to These days %gs is normally the TLS segment, so it's no longer zero. As a result, we shouldn't just assume that %fs/%gs tend to be zero together, but test them independently instead. Also, fix setting of debug registers to use the "next" pointer instead of "current". It so happens that the scheduler will have set the new current pointer before calling __switch_to(), but that's just an implementation detail. commit 28e212fb360ce2568edd60b93d60683d5ad24146 tree cde99771e1cd026648c7a80e44ae66b710920e78 parent 14a59e1829cd5782ad1a8979e594578f49f3e2c1 author David S. Miller Fri, 22 Jul 2005 11:47:25 -0700 committer David S. Miller Fri, 22 Jul 2005 11:47:25 -0700 [PKT_SCHED]: Kill TCF_META_ID_REALDEV from meta ematch. It won't exist any longer when we shrink the SKB in 2.6.14, and we should kill this off before anyone in userspace starts using it. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit c40c202493d18de42fcd0b8b5d68c22aefb70f03 tree f8629741d3e049ca8fe7893bd1f089f82ef05611 parent 21d1ee8b375bcd180f1d6b8ccbb8d8f938596310 author Dave Kleikamp Fri, 22 Jul 2005 11:08:44 -0500 committer Dave Kleikamp Fri, 22 Jul 2005 11:08:44 -0500 JFS: Fix typo in last patch Signed-off-by: Dave Kleikamp commit 056a8763fc036639441a6dc49b61e57bc632af6e tree 880795a56d5f1ecf77966d14be38c4234436c2eb parent fbc0dc0df54be06586d712ebf6958816e3b1b2b7 author Russell King Fri, 22 Jul 2005 10:15:04 +0100 committer Russell King Fri, 22 Jul 2005 10:15:04 +0100 [PATCH] Serial: No need to check for priv != NULL in remove_one Signed-off-by: Russell King commit 14a59e1829cd5782ad1a8979e594578f49f3e2c1 tree b2aa664412afa2c2a5eef47d485b11c410949798 parent 4acdbdbe5089c06d5e0c7e96783fcc4414ded00a author Loic Le Loarer Thu, 21 Jul 2005 14:16:54 -0700 committer David S. Miller Thu, 21 Jul 2005 14:16:54 -0700 [EQL]: Proper num_slaves decrement Signed-off-by: Loic Le Loarer Signed-off-by: David S. Miller commit 4acdbdbe5089c06d5e0c7e96783fcc4414ded00a tree 77629aef70bd92983518b6f5dd13c70a222c4cbb parent 4aa49d130df9209707a97786a55a3f584b7345e9 author Rusty Russell Thu, 21 Jul 2005 13:14:46 -0700 committer David S. Miller Thu, 21 Jul 2005 13:14:46 -0700 [NETFILTER]: ip_conntrack_expect_related must not free expectation If a connection tracking helper tells us to expect a connection, and we're already expecting that connection, we simply free the one they gave us and return success. The problem is that NAT helpers (eg. FTP) have to allocate the expectation first (to see what port is available) then rewrite the packet. If that rewrite fails, they try to remove the expectation, but it was freed in ip_conntrack_expect_related. This is one example of a larger problem: having registered the expectation, the pointer is no longer ours to use. Reference counting is needed for ctnetlink anyway, so introduce it now. To have a single "put" path, we need to grab the reference to the connection on creation, rather than open-coding it in the caller. Signed-off-by: Rusty Russell Signed-off-by: David S. Miller commit ab9b6339381d340779e8b5957561aed41155a270 tree cecfa0997f8c9e8072bec6c4c4bc5fbac30afb8f parent bd6f68af298cab4e059f8489b56e46ae36243fcc author Russell King Wed, 20 Jul 2005 21:32:26 +0100 committer Russell King Wed, 20 Jul 2005 21:32:26 +0100 [PATCH] ARM SMP: Mark mroe CPU init data with __cpuinitdata Signed-off-by: Russell King commit 4aa49d130df9209707a97786a55a3f584b7345e9 tree 1522de28c0277809afd1fd037f5c359fcee4fc4b parent b72f6eccb0fc516070f2de469f73870cb6cb1149 author Francois Romieu Wed, 20 Jul 2005 12:01:46 -0700 committer David S. Miller Wed, 20 Jul 2005 12:01:46 -0700 [ATM]: zatm: mailbox converted to pci_alloc_consistent() mailbox converted to pci_alloc_consistent() - request_region() is not needed: zatm_init_one() issues pci_request_regions(); - the warning related to kfree(zatm_dev->mbx_start) disappears; Compiled with i386 and sparc64 as target. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit b72f6eccb0fc516070f2de469f73870cb6cb1149 tree 47adfd4764346387af894dd3a25e2b2266187a67 parent 0303770deb834c15ca664a9d741d40f893c92f4e author David S. Miller Tue, 19 Jul 2005 14:13:54 -0700 committer David S. Miller Tue, 19 Jul 2005 14:13:54 -0700 [NET]: Fix tc_verd thinko in skb_clone() It was overwriting the computer n->tc_verd value over and over with skb->tc_verd, by mistake. Signed-off-by: David S. Miller commit 0303770deb834c15ca664a9d741d40f893c92f4e tree d48e2df54d3545052aaffeeeec1c34c214055056 parent c877efb207bf4629cfa97ac13412f7392a873485 author Patrick McHardy Tue, 19 Jul 2005 14:03:34 -0700 committer David S. Miller Tue, 19 Jul 2005 14:03:34 -0700 [NET]: Make ipip/ip6_tunnel independant of XFRM Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c877efb207bf4629cfa97ac13412f7392a873485 tree 2521cdfc0943c916d2322d2183f0c4194cb29827 parent 23a534e7b1ad2650002bbc236493791ac23440ee author Stephen Hemminger Tue, 19 Jul 2005 14:01:51 -0700 committer David S. Miller Tue, 19 Jul 2005 14:01:51 -0700 [IPV4]: Fix up lots of little whitespace indentation stuff in fib_trie. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 23a534e7b1ad2650002bbc236493791ac23440ee tree 76a8c8a1cb3ff915fdb337242a073f651998915d parent eb3f8f5e22cdee8138e654963e371ad337830efb author Adrian Bunk Tue, 19 Jul 2005 14:00:53 -0700 committer David S. Miller Tue, 19 Jul 2005 14:00:53 -0700 [NET]: NETCONSOLE must depend on INET NETCONSOLE=y and INET=n results in the following compile error: net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit eb3f8f5e22cdee8138e654963e371ad337830efb tree 7f9f62017c24125d7a50bee4088d1240cb5bc6fe parent abaacad9bcb3f118cc802f527ab5d7c41b63f83a author Adrian Bunk Tue, 19 Jul 2005 14:00:13 -0700 committer David S. Miller Tue, 19 Jul 2005 14:00:13 -0700 [NET]: BRIDGE_EBT_ARPREPLY must depend on INET BRIDGE_EBT_ARPREPLY=y and INET=n results in the following compile error: net/built-in.o: In function `ebt_target_reply': ebt_arpreply.c:(.text+0x68fb9): undefined reference to `arp_send' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit abaacad9bcb3f118cc802f527ab5d7c41b63f83a tree 00feb47b1bc9f2b1c3eced293fce47a54faf711c parent 6aef4fdfeaec5f2c66415f2cafa98a3ff927501f author Patrick McHardy Tue, 19 Jul 2005 13:59:17 -0700 committer David S. Miller Tue, 19 Jul 2005 13:59:17 -0700 [IPV4]: Don't select XFRM for ip_gre Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6aef4fdfeaec5f2c66415f2cafa98a3ff927501f tree fc8fa275747dfeea29642e37103614dc1754440d parent 86cf42e4e029b83110cf98692420239103363dbf author Patrick McHardy Tue, 19 Jul 2005 13:58:40 -0700 committer David S. Miller Tue, 19 Jul 2005 13:58:40 -0700 [NET]: Only build flow.o if CONFIG_XFRM=y Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 86cf42e4e029b83110cf98692420239103363dbf tree e1e4210051fc1ae9b06515b56933989448f77a59 parent 88e9fa8a54cf4d66ee8fc1d855e82de827233d74 author Duncan Sands Tue, 19 Jul 2005 13:57:17 -0700 committer David S. Miller Tue, 19 Jul 2005 13:57:17 -0700 [ATM]: [speedtch] cure atm_printk() macro gcc-2.95 compile error Signed-off-by: Duncan Sands Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 88e9fa8a54cf4d66ee8fc1d855e82de827233d74 tree fc869a492d674a302ddbaf2fd352ee970d0518a2 parent 5938a7b580bb7a738ee349048565ac76e6f3f5d7 author Jesper Juhl Tue, 19 Jul 2005 13:56:53 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:53 -0700 [ATM]: Trivial spelling fix patch for net/Kconfig Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5938a7b580bb7a738ee349048565ac76e6f3f5d7 tree df59a9cc06712310f847ddfec589d8e5919f359f parent c9e42614585dddd544a56907ff5fd5ca55411967 author Victor Fusco Tue, 19 Jul 2005 13:56:29 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:29 -0700 [ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit c9e42614585dddd544a56907ff5fd5ca55411967 tree ed518a75e4e7d95a11a87c4b9580762ae10bc707 parent 5e8676d113a097e19d18492e85215f0f3cc86e43 author Victor Fusco Tue, 19 Jul 2005 13:56:01 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:01 -0700 [ATM]: [firestream] fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5e8676d113a097e19d18492e85215f0f3cc86e43 tree c49a03512ab5a8b8529552e49829f38a1a405886 parent e1bd232b641a0d0ef184a5154409ef38aebb3155 author Olaf Hering Tue, 19 Jul 2005 13:55:38 -0700 committer David S. Miller Tue, 19 Jul 2005 13:55:38 -0700 [ATM]: [he] remove linux/version.h include Signed-off-by: Olaf Hering Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit e1bd232b641a0d0ef184a5154409ef38aebb3155 tree c60395cf79f0e17a247dc1291ed4f8bea0ad1aa5 parent 322361b3712af97c19ab730b410f9ae5d9aad4c3 author Marcelo Feitoza Parisi Tue, 19 Jul 2005 13:55:14 -0700 committer David S. Miller Tue, 19 Jul 2005 13:55:14 -0700 [ATM]: [idt77252] use time_after() macro Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 322361b3712af97c19ab730b410f9ae5d9aad4c3 tree f78cc2a5017cffbccdabefa11bf76c0ec34d3908 parent 43f51fce0a637e6cdf1285b0fa09b8398ff14834 author Chas Williams Tue, 19 Jul 2005 13:54:44 -0700 committer David S. Miller Tue, 19 Jul 2005 13:54:44 -0700 [ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 43f51fce0a637e6cdf1285b0fa09b8398ff14834 tree 0c19a53319cc78db6f55201ccb2d5c599ddf6b83 parent 3f1c81ff10187396e6d0fd01df82ab0cec256c96 author Chas Williams Tue, 19 Jul 2005 13:54:19 -0700 committer David S. Miller Tue, 19 Jul 2005 13:54:19 -0700 [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 21d1ee8b375bcd180f1d6b8ccbb8d8f938596310 tree 2e82b65c16a4aaa88eeb7dd9f47f2d1c418e77d0 parent 3d9b1cdd2455017c6aa25bc2442092b81438981f parent f60f700876cd51de9de69f3a3c865d95e287a24d author Dave Kleikamp Tue, 19 Jul 2005 13:46:53 -0500 committer Dave Kleikamp Tue, 19 Jul 2005 13:46:53 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 3f1c81ff10187396e6d0fd01df82ab0cec256c96 tree a94aa26eee1a29dcc0f909a504915efafeb79d05 parent 6876f95f201ce2d62367d85dd793c1fee351d7a6 author David S. Miller Mon, 18 Jul 2005 17:10:55 -0700 committer David S. Miller Mon, 18 Jul 2005 17:10:55 -0700 [EMATCH]: Kill TCF_META_ID_TCCLASSID reference from meta ematch as well. Signed-off-by: David S. Miller commit 6876f95f201ce2d62367d85dd793c1fee351d7a6 tree 44031f94643969ebaa7ee2379efc2babaef17c4a parent 54208991e15fa00e37a9d172ac0d87191a832165 author Adrian Bunk Mon, 18 Jul 2005 13:55:19 -0700 committer David S. Miller Mon, 18 Jul 2005 13:55:19 -0700 [IPV4]: fix IP_FIB_HASH kconfig warning This patch fixes the following kconfig warning: net/ipv4/Kconfig:92:warning: defaults for choice values not supported Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 54208991e15fa00e37a9d172ac0d87191a832165 tree 9344b79fd780f2a840b3d4f4e6d4dd048ab9cd23 parent d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 author Randy Dunlap Mon, 18 Jul 2005 13:45:12 -0700 committer David S. Miller Mon, 18 Jul 2005 13:45:12 -0700 [NET]: Kconfig: NETCONSOLE and NETPOLL together Put NETCONSOLE and NETPOLL options together since they are related. This cuts down on the hassle of flipping back and forth between the Networking menu and the Network drivers menu to change their config settings. Tested with menuconfig, gconfig, and xconfig. gconfig has a small problem with this. I think that it's a bug in gconfig and I will take it up with Romain Lievin. Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller commit d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 tree 03f66679f4a153ec06fde913907f392503f4b5e5 parent ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e author Sridhar Samudrala Mon, 18 Jul 2005 13:44:10 -0700 committer David S. Miller Mon, 18 Jul 2005 13:44:10 -0700 [SCTP]: Fix potential null pointer dereference while handling an icmp error Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e tree cbbfc9d2155a939c1735986d056e0dff131c4afe parent e2bf521d9728bfae9b6c3d484614e5962d0b5afd author Christophe Lucas Mon, 18 Jul 2005 13:38:07 -0700 committer David S. Miller Mon, 18 Jul 2005 13:38:07 -0700 [SCTP]: Audit return code of create_proc_* From: Christophe Lucas Audit return of create_proc_* functions. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit e2bf521d9728bfae9b6c3d484614e5962d0b5afd tree 74a126835dc9e26fbca5080214f3cc1bb4f7c5ea parent 37da647d994cdac7e0bc8d2a365fbda403939a2b author Victor Fusco Mon, 18 Jul 2005 13:36:38 -0700 committer David S. Miller Mon, 18 Jul 2005 13:36:38 -0700 [NET]: Fix "nocast type" warnings in skbuff.h From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 37da647d994cdac7e0bc8d2a365fbda403939a2b tree 914de5c0c11403014db2a202ce1338a19edc6d48 parent 23af27eb8fa9ea8614138c4cded7a16cb4197a55 author Victor Fusco Mon, 18 Jul 2005 13:35:43 -0700 committer David S. Miller Mon, 18 Jul 2005 13:35:43 -0700 [NETLINK]: Fix "nocast type" warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 23af27eb8fa9ea8614138c4cded7a16cb4197a55 tree e558c59c98a759663e8691fbf731e5eb3fc49bb6 parent 452f299da3253f65020143f743c2e207b752547b author Patrick McHardy Mon, 18 Jul 2005 13:34:35 -0700 committer David S. Miller Mon, 18 Jul 2005 13:34:35 -0700 [PKT_SCHED]: Kill TCF_META_ID_TCCLASSID. Thomas Graf states: > I used to mark such ids as obsolete in the header but since > skb is on diet anyway and there has been no official > iproute2 release with the ematch bits included it might be > a better idea to remove the ids from the header completely. > Those that have picked up my patch on netdev shouldn't care > about a ABI breakage, actually I doubt that someone is using > it already. So here's the patch to remove it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 452f299da3253f65020143f743c2e207b752547b tree 56f02114d9e65d60c0f3a0658602e7e193f226bd parent d7c7ed4dbc66c5f4dfa5615cdfc5009af3b3b137 author Thomas Graf Mon, 18 Jul 2005 13:30:53 -0700 committer David S. Miller Mon, 18 Jul 2005 13:30:53 -0700 [PKT_SCHED]: Reduce branch mispredictions in pfifo_fast_dequeue The current call to __qdisc_dequeue_head leads to a branch misprediction for every loop iteration, the fact that the most common priority is 2 makes this even worse. This issue has been brought up by Eric Dumazet but unlike his solution which was to manually unroll the loop, this approach preserves the possibility to increase the number of bands at compile time. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d7c7ed4dbc66c5f4dfa5615cdfc5009af3b3b137 tree 1a328a1cbfb59fb4392df6b6ed2b1fd0b74c4983 parent 4851d3aaa550b7b62553dd19fcadc7b586da4f17 author Thomas Graf Mon, 18 Jul 2005 13:29:49 -0700 committer David S. Miller Mon, 18 Jul 2005 13:29:49 -0700 [PKT_SCHED]: Remove debugging leftover from textsearch ematch Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit fbc0dc0df54be06586d712ebf6958816e3b1b2b7 tree 5de8a3c70a3e43af52317ae1df1d94612cba0ba5 parent 65cc3370ef3fb56b9b423f282a8204f8cce66e32 author Andrey Panin Mon, 18 Jul 2005 11:38:09 +0100 committer Russell King Mon, 18 Jul 2005 11:38:09 +0100 [PATCH] Serial: Add support for SIIG Quartet serial card Add support for SIIG Quartet Serial card. This card has Oxford Semiconducor 16954 quad UART which is clocked by 10x faster (18.432 MHz) quartz. Signed-off-by: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 65cc3370ef3fb56b9b423f282a8204f8cce66e32 tree f7bbf935d43e5bb3897151fc40e964f8796708f9 parent f60f700876cd51de9de69f3a3c865d95e287a24d author Ben Dooks Mon, 18 Jul 2005 10:24:32 +0100 committer Russell King Mon, 18 Jul 2005 10:24:32 +0100 [PATCH] ARM: 2818/1: BAST - Use platform device for SuperIO 16550s Patch from Ben Dooks Use platform device for the 16500 UARTs in the onboard SuperIO controller. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd6f68af298cab4e059f8489b56e46ae36243fcc tree 4f819ea9083fa9dc8260608c1984b050cd3b2bac parent 772a9e631ccad0423ed6d08acb3a4b1084ae2613 author Russell King Sun, 17 Jul 2005 21:35:41 +0100 committer Russell King Sun, 17 Jul 2005 21:35:41 +0100 [PATCH] ARM SMP: Mark CPU init functions/data with __cpuinit/...data Signed-off-by: Russell King commit 3190186362466658f01b2e354e639378ce07e1a9 tree 4ef50e96c385ed076465aac23f52902467e7d825 parent 08848e446bcd2130c26945be966446389d25bcc2 parent f60f700876cd51de9de69f3a3c865d95e287a24d author Tony Luck Sun, 17 Jul 2005 12:30:06 -0700 committer Tony Luck Sun, 17 Jul 2005 12:30:06 -0700 Auto merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 772a9e631ccad0423ed6d08acb3a4b1084ae2613 tree cf4243b9f4ed2e8a8661f08588f2a1df6370896b parent 246b49768bc96d942ab0e2a17aab6fc3d2e011da author Sascha Hauer Sun, 17 Jul 2005 20:15:36 +0100 committer Russell King Sun, 17 Jul 2005 20:15:36 +0100 [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable Patch from Sascha Hauer The dmacr needs different settings on some boards. This patch makes the register configurable by the platform part. Also we have imxfb_disable_controller(), so lets use it. Signed-off-by: Steven Scholz Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 246b49768bc96d942ab0e2a17aab6fc3d2e011da tree 57eb0344054e488e4800a14963eb8c5fa63a0afe parent b66da4a4859b0be3f12575863bf1d873116d1947 author Alexander Schulz Sun, 17 Jul 2005 20:12:08 +0100 committer Russell King Sun, 17 Jul 2005 20:12:08 +0100 [PATCH] ARM: 2816/1: Shark: boot kernel images bigger than 1 MB Patch from Alexander Schulz Up to now, shark kernels were limited to one megabyte compressed size. As the kernels get bigger, this becomes more and more uncomfortable. So I added a loop to copy 3 MB instead of one and added some comments. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit b66da4a4859b0be3f12575863bf1d873116d1947 tree 70312c230efd0420817906adc2733489026153e9 parent f60f700876cd51de9de69f3a3c865d95e287a24d author Russell King Sun, 17 Jul 2005 10:54:50 +0100 committer Russell King Sun, 17 Jul 2005 10:54:50 +0100 [PATCH] ARM: Remove global nwfpe register variable Recent changes to nwfpe broke the build with some gcc versions: In file included from arch/arm/nwfpe/softfloat.c:33: arch/arm/nwfpe/fpa11.h:32: global register variable follows a function definition make[1]: *** [arch/arm/nwfpe/softfloat.o] Error 1 Since we now ensure that the kernel stack is empty when returning to user space, we can now access the userspace registers with reference to the kernel stack using current_thread_info(), rather than remembering the stack pointer at the time nwfpe was called. Signed-off-by: Russell King commit f60f700876cd51de9de69f3a3c865d95e287a24d tree 4ef50e96c385ed076465aac23f52902467e7d825 parent c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 parent 6d283d271674b1127881ebf082266a2c3fe6e0e4 author Linus Torvalds Sat, 16 Jul 2005 20:06:51 -0700 committer Linus Torvalds Sat, 16 Jul 2005 20:06:51 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 tree 04b52f33ef1e8e24a4d9fa2c37cf218f82ff968a parent af6ea9ca23504fe620412826a420dca9c43a8bf6 parent b7523418f6af9093c462341c08c2233f44f7a28d author Linus Torvalds Sat, 16 Jul 2005 20:05:41 -0700 committer Linus Torvalds Sat, 16 Jul 2005 20:05:41 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit af6ea9ca23504fe620412826a420dca9c43a8bf6 tree 19bebbeb442a8d08ad29f2056665b5fdd9bf1478 parent 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 parent c514720716c7b109ff980f8b3cb93f9af872c91c author Linus Torvalds Sat, 16 Jul 2005 11:47:51 -0700 committer Linus Torvalds Sat, 16 Jul 2005 11:47:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 tree 46fed6895f9b25d8525a40c2221a2335c15257be parent 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 parent 19870da7ea2fc483bf73a189046a430fd9b01391 author Linus Torvalds Sat, 16 Jul 2005 10:24:32 -0700 committer Linus Torvalds Sat, 16 Jul 2005 10:24:32 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit b7523418f6af9093c462341c08c2233f44f7a28d tree b44cc3d485eec69e5c0a29f0404b736fb015b2c7 parent 878cf4e1c7be6bffde3ace888a65ac3d43c127bb author Alexander Schulz Sat, 16 Jul 2005 17:17:18 +0100 committer Russell King Sat, 16 Jul 2005 17:17:18 +0100 [PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports Patch from Alexander Schulz This patch brings a new default config file for the shark and fixes a compilation issue with io addressing and a runtime problem with the serial ports, where I corrected a wrong regshift value. These are all shark specific files so I hope it is ok to put them in one patch. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit 878cf4e1c7be6bffde3ace888a65ac3d43c127bb tree 80884b756e76fb0e553069d7a54ed01f4e17c9bd parent 109d89ca0ee76138e04b41726b7f719c7df65e88 author Michael Burian Sat, 16 Jul 2005 16:43:49 +0100 committer Russell King Sat, 16 Jul 2005 16:43:49 +0100 [PATCH] ARM: 2794/1: Add "Image" and "mach-types.h" to dontdiff list Patch from Michael Burian comment in "mach-types.h" tells that it should not be patched "Image" is a binary, just as zImage, uImage and friends are Signed-off-by: Michael Burian Signed-off-by: Russell King commit 109d89ca0ee76138e04b41726b7f719c7df65e88 tree 3653f48740d7812e21e15d09648e58edbc0416b9 parent 54ea06f6afe85aaf419e51343d4e4b5599197113 author Russell King Sat, 16 Jul 2005 16:43:33 +0100 committer Russell King Sat, 16 Jul 2005 16:43:33 +0100 [PATCH] ARM: Allow register_undef_hook to be called with IRQs off Preserve the interrupt status across a call to register_undef_hook. This allows it to be called while interrupts are disabled. Signed-off-by: Russell King commit 54ea06f6afe85aaf419e51343d4e4b5599197113 tree e486f20da3931e62f07014c4aaf8d7042d656151 parent 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 author Russell King Sat, 16 Jul 2005 15:21:51 +0100 committer Russell King Sat, 16 Jul 2005 15:21:51 +0100 [PATCH] ARM: Convert bitops to use ARMv6 ldrex/strex instructions Signed-off-by: Russell King commit 6d283d271674b1127881ebf082266a2c3fe6e0e4 tree c84f09e47f474b8476fac3b2be91d4a5f06ea68c parent 661f83a67c2e360d5a4d2406cc28379c909f94bf author Olaf Hering Sat, 16 Jul 2005 09:59:00 +0100 committer Russell King Sat, 16 Jul 2005 09:59:00 +0100 [PATCH] Serial: Remove linux/version.h changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit 661f83a67c2e360d5a4d2406cc28379c909f94bf tree e77b3940b4fcb4dc2e2ad854a367f8164c140544 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Russell King Sat, 16 Jul 2005 09:30:53 +0100 committer Russell King Sat, 16 Jul 2005 09:30:53 +0100 [PATCH] Serial: Move deprecation of register_serial forward to September I think it's about time to make the build a little more vocal about the expiry of these functions. Due to recent discussions with problems in the console initialisation vs power manglement, I'd like to move the date forward to September. Signed-off-by: Russell King commit 19870da7ea2fc483bf73a189046a430fd9b01391 tree 3f8d07e75dc9895c52c2184d28e3c43a84b0234b parent 2c4eec9802ae753a4973f0a0d71f8d154e86fd31 author Thomas Gleixner Fri, 15 Jul 2005 14:53:51 +0100 committer Thomas Gleixner Sat, 16 Jul 2005 09:27:52 +0200 [MTD] NAND: Fix broken bad block scan for 16 bit devices The previous change to read a single byte from oob breaks the bad block scan on 16 bit devices, when the byte is on an odd address. Read the complete oob for now. Remove the unused arguments from check_short_pattern() Move the wait for ready function so it is only executed when consecutive reads happen. Signed-off-by: Thomas Gleixner commit 2c4eec9802ae753a4973f0a0d71f8d154e86fd31 tree 59c93e5616d487d41c52e3ccb86fe497a7049542 parent 5d157885f383ccc0660c011fa488ae4edb77ab16 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Thomas Gleixner Sat, 16 Jul 2005 09:20:01 +0200 committer Thomas Gleixner Sat, 16 Jul 2005 09:20:01 +0200 Merge with rsync://fileserver/linux commit 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 tree b14426c49283b114594454c19168b84fd6cee4d8 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Siddha, Suresh B Fri, 15 Jul 2005 19:17:44 -0700 committer Linus Torvalds Fri, 15 Jul 2005 22:56:11 -0700 [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes 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. Check the return value and free the vma incase of failure. Signed-off-by: Suresh Siddha Signed-off-by: Linus Torvalds commit d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 tree e31e6ec7a1d9e8f6bbf8cdee2692eb42f4869f47 parent 38d84c3bd6dd22bdb1f797c87006931133d71aea parent 46906c4415f88cebfad530917bada0835d651824 author Linus Torvalds Fri, 15 Jul 2005 17:52:13 -0700 committer Linus Torvalds Fri, 15 Jul 2005 17:52:13 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 08848e446bcd2130c26945be966446389d25bcc2 tree e31e6ec7a1d9e8f6bbf8cdee2692eb42f4869f47 parent 46906c4415f88cebfad530917bada0835d651824 parent 38d84c3bd6dd22bdb1f797c87006931133d71aea author Tony Luck Fri, 15 Jul 2005 16:59:00 -0700 committer Tony Luck Fri, 15 Jul 2005 16:59:00 -0700 Auto merge with /home/aegl/GIT/linus commit 38d84c3bd6dd22bdb1f797c87006931133d71aea tree 19f67f841f1624879d96e5b34d184beea0380b55 parent c9f04f5847c17d9933c5bd795c6c3740e96058e9 author Patrick Boettcher Fri, 15 Jul 2005 12:20:26 -0700 committer Linus Torvalds Fri, 15 Jul 2005 12:30:15 -0700 [PATCH] dvb: cx88 output mode fix The output_mode needs to be set for the Hauppauge Nova-T DVB-T (cx88-dvb.c). Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4851d3aaa550b7b62553dd19fcadc7b586da4f17 tree 0135b52b20a168053a25abd0649d4b9fa521873a parent a8178345c4f12f4413e5620fc86a6b0381c41bc9 author Marcelo Feitoza Parisi Fri, 15 Jul 2005 10:00:41 -0700 committer David S. Miller Fri, 15 Jul 2005 10:00:41 -0700 [NET PCMCIA]: drivers/net/pcmcia/smc91c92_cs.c : Use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit a8178345c4f12f4413e5620fc86a6b0381c41bc9 tree dd9cb8c953556d539eabd4137032873a6578e988 parent 9d853c3757ef74ded5ae564d68370f22208fb88b author Marcelo Feitoza Parisi Fri, 15 Jul 2005 09:59:26 -0700 committer David S. Miller Fri, 15 Jul 2005 09:59:26 -0700 [WAN]: drivers/net/wan/: use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit c9f04f5847c17d9933c5bd795c6c3740e96058e9 tree fe6ebfe74a330aa51898e2f61e93d4256d0a1f7c parent 6a806c510de490318846b53bbfec463d02ca274b author Robert Love Fri, 15 Jul 2005 12:21:07 -0400 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] inotify: MAINTAINERS Add a MAINTAINERS entry for Inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 6a806c510de490318846b53bbfec463d02ca274b tree 7018abfd9db7856708bc2c578f48c30eab8855b1 parent a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 author NeilBrown Fri, 15 Jul 2005 03:56:35 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] md/raid1: clear bitmap when fullsync completes We need to be careful differentiating between a resync of a complete array, in which we can clear the bitmap, and a resync of a degraded array, in which we cannot. This patch cleans all that up. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 tree c16aef43738ee0bf32e3514065ad394d04980900 parent 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b author Michal Ostrowski Fri, 15 Jul 2005 03:56:33 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] rocket.c: Fix ldisc ref count handling If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. Signed-off-by: Michal Ostrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b tree f6e5a75915e10747b8e472b9452db5a767c3340a parent 35e422c967d3208f188e3096c9f603ac7333fb1b author Robert Love Fri, 15 Jul 2005 03:56:33 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] inotify: documentation update Clean up and expand some of the inotify documentation. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35e422c967d3208f188e3096c9f603ac7333fb1b tree 48cd88fc92819a5c49805279f5ef75bd17bddeef parent afa597ba20e9ef55fc6283c1a564854b1c9f13c0 author Alexey Dobriyan Fri, 15 Jul 2005 03:56:32 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] visws: reexport pm_power_off More fallout from the i386_ksyms.c cleanups. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afa597ba20e9ef55fc6283c1a564854b1c9f13c0 tree 56cbfbca20a3c59ef6b1d149f67185e8e8f3a85c parent c5287ba132ff742e595d42c28b66cbba19522c4e author Carsten Otte Fri, 15 Jul 2005 03:56:30 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] execute-in-place fixes This patch includes feedback from Andrew and Christoph. Thanks for taking time to review. Use of empty_zero_page was eliminated to fix compilation for architectures that don't have it. This patch removes setting pages up-to-date in ext2_get_xip_page and all bug checks to verify that the page is indeed up to date. Setting the page state on mapping to userland is bogus. None of the code patchs involved with these pages in mm cares about the page state. still on my ToDo list: identify a place outside second extended where __inode_direct_access should reside Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5287ba132ff742e595d42c28b66cbba19522c4e tree 26a33ea2e756586d9696c050449c0d5f1666e908 parent 1eb29128c644581fa51f822545921394ad4f719f author Mauro Carvalho Chehab Fri, 15 Jul 2005 03:56:28 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] v4l: bug fixes for tuner, cx88 and tea5767 - In CX88 code, some cards needs to have audio reprogramed after changing video channel; - Tuner autodetection code seems not to work on some cards. Now, no_autodetect insmod option allows disabling autodetection code; - Minor fixes in tea5767 to reduce integer trunc; - There are some new Pixelview Ultra Pro cards that doesn't use TEA5767 for radio. As autodetection is capable of checking for tea, radio tuners and addresses removed. - CX88 version number incremented. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eb29128c644581fa51f822545921394ad4f719f tree 936f6c517e2d8acd927a0b9e30ab07ed8b9ae58f parent 030babac6ae54df64ae3bba4685ecb1d8d8dd8c3 author Neil Brown Fri, 15 Jul 2005 03:56:27 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] Fix raid0's attempt to divide by 64bit numbers Apparently sector_div is only guaranteed to work with a 32bit divisor, even on 64bit architectures. So allow for this in raid0. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030babac6ae54df64ae3bba4685ecb1d8d8dd8c3 tree 790efcef0208ef8d626d47fff0740a633301281d parent ba460e48064edeb57e3398eb8972c58de33f11ea author Nishanth Aravamudan Fri, 15 Jul 2005 03:56:25 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] vt.c build fix Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d9b1cdd2455017c6aa25bc2442092b81438981f tree 0f0bf8deaeabc2d14fbded203392ec5bf7dc37ad parent 56d1254917d9f301a8e24155cd3f2236e642cb7d author Qu Fuping Fri, 15 Jul 2005 10:36:08 -0500 committer Dave Kleikamp Fri, 15 Jul 2005 10:36:08 -0500 JFS: fsync wrong behavior when I/O failure occurs This is half of a patch that Qu Fuping submitted in April. The first part was applied to fs/mpage.c in 2.6.12-rc4. jfs_fsync should return error, but it doesn't wait for the metadata page to be uptodate, e.g.: jfs_fsync->jfs_commit_inode->txCommit->diWrite->read_metapage-> __get_metapage->read_cache_page reads a page from disk. Because read is async, when read_cache_page: err = filler(data, page), filler will not return error, it just submits I/O request and returns. So, page is not uptodate. Checking only if(IS_ERROR(mp->page)) is not enough, we should add "|| !PageUptodate(mp->page)" Signed-off-by: Dave Kleikamp commit 56d1254917d9f301a8e24155cd3f2236e642cb7d tree 63b6881444c37e73caf039ebfdbfc9edece87aa6 parent 00be3e7e5cc3ca80e035b387e883d5ec10d7b897 author Dave Kleikamp Fri, 15 Jul 2005 09:43:36 -0500 committer Dave Kleikamp Fri, 15 Jul 2005 09:43:36 -0500 JFS: Remove assert statement in dbJoin & return -EIO instead Signed-off-by: Dave Kleikamp commit 9d853c3757ef74ded5ae564d68370f22208fb88b tree aaf87a1a75d7e1c449e058867a1c4883dcc34838 parent ba460e48064edeb57e3398eb8972c58de33f11ea author Herbert Xu Fri, 15 Jul 2005 07:41:31 -0700 committer David S. Miller Fri, 15 Jul 2005 07:41:31 -0700 [CRYPTO]: Fix zero-extension bug on 64-bit architectures. Noticed by Ken-ichirou MATSUZAWA. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5d157885f383ccc0660c011fa488ae4edb77ab16 tree 0caba31219184fcf47fb7f91ef330217812cc149 parent ba460e48064edeb57e3398eb8972c58de33f11ea author Thomas Gleixner Fri, 15 Jul 2005 08:14:44 +0200 committer Thomas Gleixner Fri, 15 Jul 2005 08:14:44 +0200 [JFFS2] Fix node allocation leak In the rare case of failing to write the cleanmarker the allocated node was not freed. Pointed out by Forrest Zhao Initial cleanup by Joern Engel Signed-off-by: Thomas Gleixner commit 00be3e7e5cc3ca80e035b387e883d5ec10d7b897 tree 916ae70cead5b9a15afe2e6cc9f453b153e8bf3e parent ba460e48064edeb57e3398eb8972c58de33f11ea author Dave Kleikamp Thu, 14 Jul 2005 15:15:39 -0500 committer Dave Kleikamp Thu, 14 Jul 2005 15:15:39 -0500 JFS: Remove bogus WARN_ON statement and some dead code Signed-off-by: Dave Kleikamp commit e10fb91c4dc81a4ae47caf0828df152f600f2546 tree d10758f4a6b59a80157595138c02bc6f9aa993f1 parent 7fce2cf62e4bd9c24717009865ac00940cb664b8 author James Bottomley Thu, 14 Jul 2005 11:54:17 -0500 committer James Bottomley Thu, 14 Jul 2005 11:54:17 -0500 [SCSI] fix function prototype warning int_to_scsilun() takes a pointer to a struct scsi_lun in it's prototype, so add this structure to scsi_device.h to avoid declaration inside function prototype warnings. Signed-off-by: James Bottomley commit 46906c4415f88cebfad530917bada0835d651824 tree 44aef0f11d6499ed802f43949e0e8ad193d9716e parent 514fd7fd01d378a7b5584c657d9807fc28f22079 author Ian Wienand Wed, 13 Jul 2005 21:09:00 -0700 committer Tony Luck Thu, 14 Jul 2005 09:21:47 -0700 [IA64] Fix undefined reference to can_cpei_retarget for simulator The simulator build doesn't turn on ACPI, so doesn't have a definition of can_cpei_retarget. Signed-off-by: Tony Luck commit ba460e48064edeb57e3398eb8972c58de33f11ea tree 1eefb36f0e5e63123a910abcb7b238c429c8ed0f parent 98848fa83bb6a4572ad55daeb312182dec9bed58 author Matthias Urlichs Thu, 14 Jul 2005 00:33:47 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:26 -0700 [PATCH] Option Card driver update, Maintainer entry This patch updates the Option Card driver: - remove a deadlock - add sponsor notice - add new card - renamed the device to what's usually printed on it - removed some dead code - clean up a bunch of irregular whitespace (end-of-line, tabs) Also add a MAINTAINERS entry for the Option Card driver. Signed-Off-By: Matthias Urlichs Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98848fa83bb6a4572ad55daeb312182dec9bed58 tree 9221e935f4cd3bfb6da2422806aee41f2040ed2e parent a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77 author Olaf Hering Thu, 14 Jul 2005 00:33:45 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:26 -0700 [PATCH] ratelimit the ieee1394 IR legacy activated messages running coriander1 with an Apple iSight produces lots of dmesg output. Jul 13 22:14:17 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 13 22:15:28 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 13 22:15:59 ibook last message repeated 208 times Jul 13 22:17:00 ibook last message repeated 762 times Jul 13 22:18:01 ibook last message repeated 914 times Jul 13 22:18:17 ibook last message repeated 238 times Jul 13 22:18:17 ibook kernel: ieee1394: unsolicited response packet received - no tlabel match Jul 13 22:18:17 ibook kernel: ohci1394: fw-host0: IR legacy activated its less noisy with the patch: Jul 14 08:03:08 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 14 08:03:26 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:42 ibook last message repeated 10 times Jul 14 08:03:47 ibook kernel: printk: 63 messages suppressed. Jul 14 08:03:47 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:52 ibook kernel: printk: 74 messages suppressed. Signed-off-by: Olaf Hering Cc: Jody McIntyre Cc: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77 tree 68590f6b94eaec2f30297503bcc71e2dee0bc790 parent a0d43df931870997467042931e8fb7657375d327 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:44 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] remove EXPORT_SYMBOL for root_dev Remove ROOT_DEV after unexporting it in the previous patch, as requested time ago by Christoph Hellwig. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0d43df931870997467042931e8fb7657375d327 tree 1ef8099b25195a7612f0ba187b3c622f0cca9264 parent 20d0021394c1b070bf04b22c5bc8fdb437edd4c5 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:43 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: hostfs: unuse ROOT_DEV Minimal patch removing uses of ROOT_DEV; next patch unexports it. I've opposed this, but I've planned to reintroduce the functionality without using ROOT_DEV. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20d0021394c1b070bf04b22c5bc8fdb437edd4c5 tree 283d0cd3bfdaec49ed2b29d568f5ceca5e3f1d2a parent ecc354a90af90a80dcaccc750f5f3e5e7c83112d author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:43 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: allow building as 32-bit binary on 64bit host This patch makes the command: make ARCH=um SUBARCH=i386 work on x86_64 hosts (with support for building 32-bit binaries). This is especially needed since 64-bit UMLs don't support 32-bit emulation for guest binaries, currently. This has been tested in all possible cases and works. Only exception is that I've built but not tested a 64-bit binary, because I hadn't a 64-bit filesystem available. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecc354a90af90a80dcaccc750f5f3e5e7c83112d tree 71f60a11ff19d4e5078731a7fae39972a745c3c5 parent 8e0a21812427313f8ee8521688e81bfcc6f207a2 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:41 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: reintroduce pcap support The pcap support was not working because of some linking problems (expressing the construct in Kbuild was a bit difficult) and because there was no user request. Now that this has come back, here's the support. This has been tested and works on both 32 and 64-bit hosts, even when "cross-"building 32-bit binaries. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e0a21812427313f8ee8521688e81bfcc6f207a2 tree 356769be4834e02ce77850329896fe35dc2e4c1e parent 1c30385ae479ec4774bdc1048726aeb15cde0d21 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:41 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: fix hppfs error path Fix the error message to refer to the error code, i.e. err, not count, plus add some cosmetical fixes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c30385ae479ec4774bdc1048726aeb15cde0d21 tree c777f2a3210b60d19074c30940dfdbc9caa711bf parent 2e5e55923e315e8198f46f24f7ca37e1fd9aa102 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:38 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: gcc 2.95 fix and Makefile cleanup 1) Cleanup an ugly hyper-nested code in Makefile (now only the arith. expression is passed through the host bash). 2) Fix a problem with GCC 2.95: according to a report from Raphael Bossek, .remap_data : { arch/um/sys-SUBARCH/unmap_fin.o (.data .bss) } is expanded into: .remap_data : { arch/um/sys-i386 /unmap_fin.o (.data .bss) } (because I didn't use ## to join the two tokens), thus stopping linking. Pass the whole path from the Makefile as a simple and nice fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Raphael Bossek Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e5e55923e315e8198f46f24f7ca37e1fd9aa102 tree 251aa6211d8d822350bed40cc021c9bf710110a6 parent 1feb8d2d7396748fb3bd6795d09bbfbdd4c03dff author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:37 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: consolidate modify_ldt *) Reorganize the two cases of sys_modify_ldt to share all the reasonably common code. *) Avoid memory allocation when unneeded (i.e. when we are writing and the passed buffer size is known), thus not returning ENOMEM (which isn't allowed for this syscall, even if there is no strict "specification"). *) Add copy_{from,to}_user to modify_ldt for TT mode. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1feb8d2d7396748fb3bd6795d09bbfbdd4c03dff tree 73d7dbb979a107859fb40730555cb10ca6b4cbbb parent bcb01b8a67476e6f748086e626df8424cc27036d author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:36 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix" A big bug has been diagnosed on hosts running the SKAS patch and built with CONFIG_REGPARM, due to some missing prevent_tail_call(). On these hosts, this workaround is needed to avoid triggering that bug, because "to" is kept by GCC only in EBX, which is corrupted at the return of mmap2(). Since to trigger this bug int 0x80 must be used when doing the call, it rarely manifests itself, so I'd prefer to get this merged to workaround that host bug, since it should cause no functional change. Still, you might prefer to drop it, I'll leave this to you. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcb01b8a67476e6f748086e626df8424cc27036d tree 02b2f7931e6d62273dc866863f600ee0b2f945b5 parent 3952db66efee4f22f3c6a0fd02a1e7071556a8d6 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:34 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: fix lvalue for gcc4 Russell King This construct is refused by GCC 4, so here's the (corrected) fix. Thanks to Russell for noticing a stupid mistake I did when first sending this. As he noted, the code is largely suboptimal however it currently works, and will be fixed shortly. Just read the access_ok check on fp which is NULL, or the pointer arithmetic below which should be done with a cast to void*: frame = (struct rt_sigframe __user *) round_down(stack_top - sizeof(struct rt_sigframe), 16) - 8; The code shows clearly that has been taken from arch/x86_64/kernel/signal.c:setup_rt_frame(), maybe in a bit of a hurry. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3952db66efee4f22f3c6a0fd02a1e7071556a8d6 tree 8dd07e8fb5b725d1ba8c43e9f66ad89f84093a4b parent 514fd7fd01d378a7b5584c657d9807fc28f22079 author Michael Krufky Thu, 14 Jul 2005 00:33:33 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] dvb: LGDT3302 QAM lock bug fix Fix QAM lock bug. Previously, it was necessary to first scan in VSB before attempting to get a QAM lock. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fce2cf62e4bd9c24717009865ac00940cb664b8 tree 4868666a6031372d9ad2301b170fef35540dc0ae parent 0f34e3f53378a11c9ecba0f8165da50e8b01d53f author Chen, Kenneth W Tue, 12 Jul 2005 15:57:13 -0700 committer James Bottomley Thu, 14 Jul 2005 11:25:17 -0400 [SCSI] Redundant this_count check in sd_init_command() I was going over the scsi I/O submit path, when sd_init_command construct the scsi command, this_count is already checked in the previous else if clause. Why does it need to check it again in the last else block? Patch to delete the spurious check. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 0f34e3f53378a11c9ecba0f8165da50e8b01d53f tree 51249a9aa0443133c0c8eb88c127cf98bed9b37f parent 2f4701d8274c8663f5c50323dc72fefa24b55091 author Chen, Kenneth W Tue, 12 Jul 2005 17:06:14 -0700 committer James Bottomley Thu, 14 Jul 2005 11:24:12 -0400 [SCSI] Redundant memset in scsi_alloc_sgtable scsi_init_io calls scsi_alloc_sgtable and then calls blk_rq_map_sg to initialize the scatterlist structure. blk_rq_map_sg() already memset the structure for every new segment. That makes the memset in scsi_alloc_sgtable unnecessary. Patch to delete the extra memset in scsi_alloc_sgtable. Tested on a x86_64 machine. Looks stable to me. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 2f4701d8274c8663f5c50323dc72fefa24b55091 tree dc578144cfcf1db0687c7c67f6f8b300577359b1 parent 77d74143612c1dab6c055dac21f965929ba0a7e6 author James.Smart@Emulex.Com Wed, 13 Jul 2005 22:05:03 -0400 committer James Bottomley Thu, 14 Jul 2005 11:21:27 -0400 [SCSI] add int_to_scsilun() function One of the issues we had was reverting the midlayers lun value into the 8byte lun value that we wanted to send to the device. Historically, there's been some combination of byte swapping, setting high/low, etc. There's also been no common thread between how our driver did it and others. I also got very confused as to why byteswap routines were being used. Anyway, this patch is a LLDD-callable function that reverts the midlayer's lun value, stored in an int, to the 8-byte quantity (note: this is not the real 8byte quantity, just the same amount that scsilun_to_int() was able to convert and store originally). This also solves the dilemma of the thread: http://marc.theaimsgroup.com/?l=linux-kernel&m=112116767118981&w=2 A patch for the lpfc driver to use this function will be along in a few days (batched with other patches). Signed-off-by: James Bottomley commit 77d74143612c1dab6c055dac21f965929ba0a7e6 tree 07a06f60be57487294bdc19df81b66e56ae3ccec parent 88c2666351f41a7d4459e79594f687a356f5e57c author Andrew Vasquez Fri, 08 Jul 2005 18:00:36 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:55 -0400 [SCSI] qla2xxx: Cleanup FC remote port registration. Cleanup FC remote port registration. Due to the inherent behaviour (an immediate scan) of adding a 'target'-role-capable rport via fc_remote_port_add(), split the registration into two steps -- addition as unknown-type role, then use fc_remote_port_rolchg() with appropriate role (based on PLOGI/PRLI bits). This allows for a more cleaner rport->dd_data management as can be seen with the simplified qla2xxx_slave_alloc() function. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 88c2666351f41a7d4459e79594f687a356f5e57c tree a07eb04ead61e0aa61d22cde8963f1b74f9b0891 parent f0883ac6a74b403f0f2e91166ba06227cc4690e6 author Andrew Vasquez Fri, 08 Jul 2005 17:59:26 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:31 -0400 [SCSI] qla2xxx: Consolidate ISP24xx chip reset logic. Consolidate ISP24xx chip reset logic. Consolidate near-duplicate RISC reset logic from qla24xx_reset_chip() and qla24xx_chip_diag(). Also, after initiating a soft-reset, insure the firmware has completed all NVRAM accesses before continuing. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f0883ac6a74b403f0f2e91166ba06227cc4690e6 tree cac7bf4c6ee6eb3c8c3797f34c45498d22a8f00f parent 84e29308ede3edb4f03911246c33d697ff18722e author Andrew Vasquez Fri, 08 Jul 2005 17:58:43 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:10 -0400 [SCSI] qla2xxx: Add firmware version number to qla24xx_fw_version_str(). Add firmware version number to qla24xx_fw_version_str(). Original code was accidently trimmed during port. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 84e29308ede3edb4f03911246c33d697ff18722e tree 0482cff2c657df5fcc5144028b22a4adfa43b30a parent 97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f author Mark Haverkamp Thu, 07 Jul 2005 13:40:00 -0700 committer James Bottomley Thu, 14 Jul 2005 11:14:45 -0400 [SCSI] aacraid: Fix sgmap error The wrong sgmap structure is being assigned in aac_send_raw_srb. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f tree b2e4cacbc72c2b9df9b641b2ef0b55b15b267da9 parent cc4731f5b4539faea237bacd170a27a230a7e724 author Andrew Vasquez Wed, 06 Jul 2005 10:32:47 -0700 committer James Bottomley Thu, 14 Jul 2005 11:13:36 -0400 [SCSI] qla2xxx: Update version number to 8.01.00b5-k. Update version number to 8.01.00b5-k. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit cc4731f5b4539faea237bacd170a27a230a7e724 tree e1c9df14e591a29680b4a287972b74cc53f2b5d7 parent ae91193cd5bc80b4d62b1d4f0e7f3fea48f41ccd author Andrew Vasquez Wed, 06 Jul 2005 10:32:37 -0700 committer James Bottomley Thu, 14 Jul 2005 11:13:11 -0400 [SCSI] qla2xxx: Correct maximum supported lun and target-id definitions. Correct maximum supported lun and target-id definitions. The driver uses command-IOCBs which support a maximum lun value of 0xffff -- correct #define to reflect the change. Also, remove superfluous MAX_TARGET definition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ae91193cd5bc80b4d62b1d4f0e7f3fea48f41ccd tree 2568251229ced2421aee55fe2d7539a9b039056c parent f04a311fdc85d580526ef25eb547628042b1e510 author Andrew Vasquez Wed, 06 Jul 2005 10:32:27 -0700 committer James Bottomley Thu, 14 Jul 2005 11:12:12 -0400 [SCSI] qla2xxx: Update copyright banner. Update copyright banner. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f04a311fdc85d580526ef25eb547628042b1e510 tree c7d06a75e493959828e5c0ffc832f30b919610ce parent fa2a1ce53d4b869b74da9a770770c79f9af64914 author Andrew Vasquez Wed, 06 Jul 2005 10:32:17 -0700 committer James Bottomley Thu, 14 Jul 2005 11:09:05 -0400 [SCSI] qla2xxx: Firmware updates. Firmware updates. Resync with latest 21xx firmware -- 1.19.25. Resync with latest 22xx firmware -- 2.02.08. Resync with latest 23xx/63xx firmware -- 3.03.15. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fa2a1ce53d4b869b74da9a770770c79f9af64914 tree da350e79117d3177f51c2788c51aeba425afd4ca parent ba5140b48e35aa4e4b57eb6db5cface63d7bd712 author Andrew Vasquez Wed, 06 Jul 2005 10:32:07 -0700 committer James Bottomley Thu, 14 Jul 2005 11:03:15 -0400 [SCSI] qla2xxx: Code scrubbing. Code scrubbing. - Remove trailing whitespace from driver files. - Remove unused #defines and inlines. - Standardize on C comments (// -> /* */) Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ba5140b48e35aa4e4b57eb6db5cface63d7bd712 tree f0ac4e3e6465333ba563783c7f57d6e5e6f24863 parent fca297037127e524e8f61b3fc1c7a1886e5d757b author Andrew Vasquez Wed, 06 Jul 2005 10:31:57 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:48 -0400 [SCSI] qla2xxx: NVRAM id-list updates. NVRAM id-list updates. Resync with latest NVRAM subsystem ID list. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fca297037127e524e8f61b3fc1c7a1886e5d757b tree 90ee788ff7839cb3b6db67698ff5e065391636bf parent 0107109ed69c9e04b6fa35ac41d870c74dcce3fc author Andrew Vasquez Wed, 06 Jul 2005 10:31:47 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:23 -0400 [SCSI] qla2xxx: Add OS initialization codes for ISP24xx recognition. Add OS initialization codes for ISP24xx recognition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 0107109ed69c9e04b6fa35ac41d870c74dcce3fc tree 4abc6e4e4b37a69bca4c863972af655dc92c78ea parent 9a853f71804d80e862362f6d0743d06955305752 author Andrew Vasquez Wed, 06 Jul 2005 10:31:37 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:06 -0400 [SCSI] qla2xxx: Add ISP24xx initialization routines. Add ISP24xx initialization routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9a853f71804d80e862362f6d0743d06955305752 tree 311136d6956994e6ac2d6479e0d0b1fbbffe8564 parent 2b6c0cee90cecbce35fb6d65fed94f22e5063be0 author Andrew Vasquez Wed, 06 Jul 2005 10:31:27 -0700 committer James Bottomley Thu, 14 Jul 2005 11:00:27 -0400 [SCSI] qla2xxx: Add ISP24xx ISR routines. Add ISP24xx ISR routines. Add appropriate glue-code for ISP24xx support -- this included generalizing some of the core handling routines (qla2x00_async_event() [pull-up retrieval of mailbox values] and qla2x00_status_entry()]. Fixup 2100/2300 ISRs to handle the new conventions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 2b6c0cee90cecbce35fb6d65fed94f22e5063be0 tree b0bc0240e95d72d67cf3f23ee84375b629128063 parent 459c537807bd72cce7b007fb218bb5a658a6c3c1 author Andrew Vasquez Wed, 06 Jul 2005 10:31:17 -0700 committer James Bottomley Thu, 14 Jul 2005 11:00:07 -0400 [SCSI] qla2xxx: Add ISP24xx IOCB manipulation routines. Add ISP24xx IOCB manipulation routines. Add appropriate glue-code for ISP24xx support while manipulting IOCB packets. Add an ISP24xx specific 'start_scsi' routine due to command-type-7 layout changes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 459c537807bd72cce7b007fb218bb5a658a6c3c1 tree 18a05e5f8fb73651219860f7056c6f73a885d623 parent 1c7c63574ff3e568ca374e9f05e30b8d7d64273e author Andrew Vasquez Wed, 06 Jul 2005 10:31:07 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:54 -0400 [SCSI] qla2xxx: Add ISP24xx flash-manipulation routines. Add ISP24xx flash-manipulation routines. Add read/write flash manipulation routines for the ISP24xx. Update sysfs NVRAM objects to use generalized accessor functions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1c7c63574ff3e568ca374e9f05e30b8d7d64273e tree cb82036b580bb57eb01e897b877e1da50259e2a0 parent 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 author Andrew Vasquez Wed, 06 Jul 2005 10:30:57 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:39 -0400 [SCSI] qla2xxx: Add MBX command routines for ISP24xx support. Add MBX command routines for ISP24xx support. Generalize several routines [qla2x00_load_ram_ext(), qla2x00_execute_fw(), qla2x00_verify_checksum()] to handle larger addressing space. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 tree 5c82091aacf011fbeb99bcbcab30f1ece632e792 parent 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 author Andrew Vasquez Wed, 06 Jul 2005 10:30:47 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:14 -0400 [SCSI] qla2xxx: Generalize SNS generic-services routines. Generalize SNS generic-services routines. Consolidate completion-status checking while adding support for the ISP24xx. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 tree d7065f9968681cb9052bbe700d6f6bcebe19e2f1 parent 3d71644cf952fd1157a13173237258422ba3c569 author Andrew Vasquez Wed, 06 Jul 2005 10:30:36 -0700 committer James Bottomley Thu, 14 Jul 2005 10:55:08 -0400 [SCSI] qla2xxx: Add ISP24xx diagnostic routines. Add ISP24xx diagnostic routines. Add function and structure definitions for the ISP24xx diagnostic firmware dump routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 3d71644cf952fd1157a13173237258422ba3c569 tree 1bae220781b973a9dca754a08aa7630e05ffc50e parent ac96202ba096f8fc1ccaf45a2f159a52639ece29 author Andrew Vasquez Wed, 06 Jul 2005 10:30:26 -0700 committer James Bottomley Thu, 14 Jul 2005 10:54:46 -0400 [SCSI] qla2xxx: Add ISP24xx definitions. Add ISP24xx definitions. Add requisite structure definitions and #define's for ISP24xx support. Also drop volatile modifiers from device_reg_* register layouts as the members are never really accessed, only their offsets within the layout are used during reads and writes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ac96202ba096f8fc1ccaf45a2f159a52639ece29 tree a2a239c061a65c798cb74a47164e5e51f3abf5a8 parent abbd8870b9cb7754a4935826bc9f3c7b029f8b7c author Andrew Vasquez Wed, 06 Jul 2005 10:30:16 -0700 committer James Bottomley Thu, 14 Jul 2005 10:54:20 -0400 [SCSI] qla2xxx: Add pci ids for new ISP types. Add pci ids for new ISP types. Move old definitions in local qla_def.h file to pci_ids.h as well. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit abbd8870b9cb7754a4935826bc9f3c7b029f8b7c tree c795f15d35c18a08c97dcbdaeb83a4e0c67679c6 parent eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c author Andrew Vasquez Wed, 06 Jul 2005 10:30:05 -0700 committer James Bottomley Thu, 14 Jul 2005 10:47:30 -0400 [SCSI] qla2xxx: Factor-out ISP specific functions to method-based call tables. Factor-out ISP specific functions to method-based call tables. In anticipation of ISP24xx/ISP25xx support, factor-out ISP specific functions into a method-based call table. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 514fd7fd01d378a7b5584c657d9807fc28f22079 tree bda3910b7737a4fac464792657ffedcba185d799 parent 1e279dd855d15b72364b4103f872d67d8592647e parent 99ad25a313bda566a346b46a6015afa65bc0a02b author Linus Torvalds Wed, 13 Jul 2005 15:48:33 -0700 committer Linus Torvalds Wed, 13 Jul 2005 15:48:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c514720716c7b109ff980f8b3cb93f9af872c91c tree 490a9578995705de69712893a190b67651bddc56 parent 07929dcb963786512c760dd3ecd148d89295e7e5 parent 1e279dd855d15b72364b4103f872d67d8592647e author Anton Altaparmakov Wed, 13 Jul 2005 23:09:23 +0100 committer Anton Altaparmakov Wed, 13 Jul 2005 23:09:23 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 1e279dd855d15b72364b4103f872d67d8592647e tree 088ef616453b91b6915e0576d233762a1e5a78d3 parent 3720bd8b1e16b41b9ec640bf91f12e1a1b5cb961 author Miles Bader Wed, 13 Jul 2005 14:40:03 +0900 committer Linus Torvalds Wed, 13 Jul 2005 12:25:48 -0700 [PATCH] v850: Align ___start___param to match parameter alignment Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 3720bd8b1e16b41b9ec640bf91f12e1a1b5cb961 tree fecdaa69be5fc1f934909b89a6e3ae2c79241dfe parent a61caa8523a76e497f6b2a05350c892bc5ee402c parent 6a8b4d319c52f8a3fdca46b185d001fbf0939911 author Linus Torvalds Wed, 13 Jul 2005 12:19:30 -0700 committer Linus Torvalds Wed, 13 Jul 2005 12:19:30 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit 99ad25a313bda566a346b46a6015afa65bc0a02b tree b9443fed1ab74f320c4ee0791864ee96d7c069df parent f62c4a96f74d6c6dd56d1742697e94a5c2085e87 parent 9a556e89081b0c1c2f83cee915363b15a68a6f2d author Tony Luck Wed, 13 Jul 2005 12:15:43 -0700 committer Tony Luck Wed, 13 Jul 2005 12:15:43 -0700 Auto merge with /home/aegl/GIT/linus commit f62c4a96f74d6c6dd56d1742697e94a5c2085e87 tree 488dc6db60c7c3e8ef10fd79f175cff1a5426a4c parent 59a0a8aa6ab6e46926e8d12694593267c0869440 author David Mosberger-Tang Tue, 12 Jul 2005 21:51:00 -0700 committer Tony Luck Wed, 13 Jul 2005 11:56:32 -0700 [IA64] Make PCDP work again. Mark's patch added "attribute((packed))" for pcdp_uart, without accounting for the fact that the structure definition _relied_ on implicit padding by 6 bytes. Fix is to make the padding explicit. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 59a0a8aa6ab6e46926e8d12694593267c0869440 tree e0ceb39701ee5018f95a44904dde6c7b7aa82068 parent 7c2a6c62c013a4ea57243536fc7f3987e4ba04bc author Dean Nelson Wed, 13 Jul 2005 05:45:00 -0700 committer Tony Luck Wed, 13 Jul 2005 11:52:45 -0700 [IA64] fix call of smp_processor_id() by XPC while XPC calls smp_processor_id() twice from xpc_setup_infrastructure() with preemption enabled, which gets flagged if 'DEBUG_PREEMPT=y'. This patch replaces the two calls to smp_processor_id() by a single call to raw_smp_processor_id() since any CPU within the partition will do. Signed-off-by: Dean Nelson Acked-by: Christoph Hellwig Signed-off-by: Tony Luck commit a61caa8523a76e497f6b2a05350c892bc5ee402c tree d4fb2ca050a31e47adf45e811017964c46ccf38c parent f264cc28245d4d635d586be8c2148140726756dd author Geert Uytterhoeven Wed, 13 Jul 2005 12:56:42 +0200 committer Linus Torvalds Wed, 13 Jul 2005 11:44:27 -0700 [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds commit f264cc28245d4d635d586be8c2148140726756dd tree b1ab054289acd3054e54d3caabaadaf1455f2d58 parent 96e2844999f99878fc5b03b81ccaa60580005b81 author Olof Johansson Wed, 13 Jul 2005 01:11:44 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc64: add 970MP PVR Add PVR value and tests for 970MP. Also switch to a simpler (but slightly longer) check at init time for simplicity. Signed-off-by: Olof Johansson Cc: Benjamin Herrenschmidt Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e2844999f99878fc5b03b81ccaa60580005b81 tree 353c1bc9a5602d556e6741f4a261010cde45e93b parent f13487c66c75f5db004a0631047309d9e7c5aab7 author David Gibson Wed, 13 Jul 2005 01:11:42 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc64: kill bitfields in ppc64 hash code This patch removes the use of bitfield types from the ppc64 hash table manipulation code. Signed-off-by: David Gibson Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f13487c66c75f5db004a0631047309d9e7c5aab7 tree 19585562d0ffb0923ed6c2d829d44f10eb619482 parent 7ee91ec14bd4def036b4084da29869382078e44b author Olaf Hering Wed, 13 Jul 2005 01:11:41 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc32: make -j12 all fails in uImage target make -j zImage may call if_changed twice at the same time, the result is a corrupted vmlinux.gz Write to a temporary file for the time being until someone with make skills fix the serialization properly. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Sam Ravnborg Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee91ec14bd4def036b4084da29869382078e44b tree 5d4a99f6c0255184328c47f33258088b2ef0f8b1 parent 068e1b94bbd268f375349f68531829c8b7c210bc author Steve Dickson Wed, 13 Jul 2005 01:10:47 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] NFS: procfs/sysctl interfaces for lockd do not work on x86_64 Allow the setting of NLM timeouts and grace periods through the proc and sysclt interfaces on x86_64 architectures Signed-off-by: Steve Dickson Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 068e1b94bbd268f375349f68531829c8b7c210bc tree 310708cce88df2f72a5f98d1cb67dc1d8fe19171 parent ddca3b80cef36cc668f924ef5154a79acb19ebd7 author Martin Schwidefsky Wed, 13 Jul 2005 01:10:46 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] s390: fadvise hint values. Add special case for the POSIX_FADV_DONTNEED and POSIX_FADV_NOREUSE hint values for s390-64. The user space values in the s390-64 glibc headers for these two defines have always been 6 and 7 instead of 4 and 5. All 64 bit applications therefore use the "wrong" values. To get these applications working without recompiling the kernel needs to accept the "wrong" values. Since the values for s390-31 are 4 and 5 the compat wrapper for fadvise64 and fadvise64_64 need to rewrite the values for 31 bit system calls. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca3b80cef36cc668f924ef5154a79acb19ebd7 tree 2cfb8ac6837682d975a1cb761360977ac54a6aef parent 88bd5121d635136e01369141367f315665534b3c author Guillaume Autran Wed, 13 Jul 2005 01:10:45 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] ppc32: fix destroy_context() race condition Fix for a race condition when a task gets preempted by another task while executing the destroy_context(...) in a FEW_CONTEXTS environment. mm->context == NO_CONTEXT but the context_map may indicate all contexts are in use. The solution to this problem is to disable kernel preemption while destroying a MMU context. Signed-off-by: Guillaume Autran Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88bd5121d635136e01369141367f315665534b3c tree 33de8dda3d77ebf7bf48864c464a36665f66497c parent 9a556e89081b0c1c2f83cee915363b15a68a6f2d author Anton Altaparmakov Wed, 13 Jul 2005 01:10:44 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] Fix soft lockup due to NTFS: VFS part and explanation Something has changed in the core kernel such that we now get concurrent inode write outs, one e.g via pdflush and one via sys_sync or whatever. This causes a nasty deadlock in ntfs. The only clean solution unfortunately requires a minor vfs api extension. First the deadlock analysis: Prerequisive knowledge: NTFS has a file $MFT (inode 0) loaded at mount time. The NTFS driver uses the page cache for storing the file contents as usual. More interestingly this file contains the table of on-disk inodes as a sequence of MFT_RECORDs. Thus NTFS driver accesses the on-disk inodes by accessing the MFT_RECORDs in the page cache pages of the loaded inode $MFT. The situation: VFS inode X on a mounted ntfs volume is dirty. For same inode X, the ntfs_inode is dirty and thus corresponding on-disk inode, which is as explained above in a dirty PAGE_CACHE_PAGE belonging to the table of inodes ($MFT, inode 0). What happens: Process 1: sys_sync()/umount()/whatever... calls __sync_single_inode() for $MFT -> do_writepages() -> write_page for the dirty page containing the on-disk inode X, the page is now locked -> ntfs_write_mst_block() which clears PageUptodate() on the page to prevent anyone else getting hold of it whilst it does the write out (this is necessary as the on-disk inode needs "fixups" applied before the write to disk which are removed again after the write and PageUptodate is then set again). It then analyses the page looking for dirty on-disk inodes and when it finds one it calls ntfs_may_write_mft_record() to see if it is safe to write this on-disk inode. This then calls ilookup5() to check if the corresponding VFS inode is in icache(). This in turn calls ifind() which waits on the inode lock via wait_on_inode whilst holding the global inode_lock. Process 2: pdflush results in a call to __sync_single_inode for the same VFS inode X on the ntfs volume. This locks the inode (I_LOCK) then calls write-inode -> ntfs_write_inode -> map_mft_record() -> read_cache_page() of the page (in page cache of table of inodes $MFT, inode 0) containing the on-disk inode. This page has PageUptodate() clear because of Process 1 (see above) so read_cache_page() blocks when tries to take the page lock for the page so it can call ntfs_read_page(). Thus Process 1 is holding the page lock on the page containing the on-disk inode X and it is waiting on the inode X to be unlocked in ifind() so it can write the page out and then unlock the page. And Process 2 is holding the inode lock on inode X and is waiting for the page to be unlocked so it can call ntfs_readpage() or discover that Process 1 set PageUptodate() again and use the page. Thus we have a deadlock due to ifind() waiting on the inode lock. The only sensible solution: NTFS does not care whether the VFS inode is locked or not when it calls ilookup5() (it doesn't use the VFS inode at all, it just uses it to find the corresponding ntfs_inode which is of course attached to the VFS inode (both are one single struct); and it uses the ntfs_inode which is subject to its own locking so I_LOCK is irrelevant) hence we want a modified ilookup5_nowait() which is the same as ilookup5() but it does not wait on the inode lock. Without such functionality I would have to keep my own ntfs_inode cache in the NTFS driver just so I can find ntfs_inodes independent of their VFS inodes which would be slow, memory and cpu cycle wasting, and incredibly stupid given the icache already exists in the VFS. Below is a patch that does the ilookup5_nowait() implementation in fs/inode.c and exports it. ilookup5_nowait.diff: Introduce ilookup5_nowait() which is basically the same as ilookup5() but it does not wait on the inode's lock (i.e. it omits the wait_on_inode() done in ifind()). This is needed to avoid a nasty deadlock in NTFS. Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a556e89081b0c1c2f83cee915363b15a68a6f2d tree 74e2f68c4d04ab0fcf05dbd4f82c14169d639405 parent 5995f16b4a464c8a57de7c9d5ddf4758dbacad41 author Robert Love Wed, 13 Jul 2005 13:49:23 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: misc cleanup Really simple, basic cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 5995f16b4a464c8a57de7c9d5ddf4758dbacad41 tree e26de11916f1f6234f954b262837501aca263da7 parent 0399cb08c54708db231d616f106f64d920e0b723 author Robert Love Wed, 13 Jul 2005 12:38:39 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: event ordering This rearranges the event ordering for "open" to be consistent with the ordering of the other events. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 0399cb08c54708db231d616f106f64d920e0b723 tree f0424d43c578f7c5c1e7aa6ea6ca1c906c7ac289 parent 153f805781d35c91ab2f54aa2b8930cc4cfc7e89 author Robert Love Wed, 13 Jul 2005 12:38:18 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: move sysctl This moves the inotify sysctl knobs to "/proc/sys/fs/inotify" from "/proc/sys/fs". Also some related cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 153f805781d35c91ab2f54aa2b8930cc4cfc7e89 tree 90bb6279bec053f942aed60ecfb0580c79b0e422 parent c327ff6250fb558659ad689fe33f50524eda74e3 author James Bottomley Wed, 13 Jul 2005 09:38:05 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:07:54 -0700 [PATCH] fix voyager subarchitecture EXPORT_SYMBOL breakage caused by i386_ksym reduction This patch: [PATCH] Remove i386_ksyms.c, almost made files like smp.c do their own EXPORT_SYMBOLS. This means that all subarchitectures that override these symbols now have to do the exports themselves. This patch adds the exports for voyager (which is the most affected since it has a separate smp harness). However, someone should audit all the other subarchitectures to see if any others got broken. Signed-off-by: James Bottomley Signed-off-by: Linus Torvalds commit c327ff6250fb558659ad689fe33f50524eda74e3 tree 57e0ed5a753c55f1693d7fe8628b4411ab5ae71d parent c0ac515e2951dd2a999cfd21dea3fdc1055f1573 parent 59192ed9e7aa81b06a1803661419f7261afca1ad author Linus Torvalds Wed, 13 Jul 2005 10:37:36 -0700 committer Linus Torvalds Wed, 13 Jul 2005 10:37:36 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit c0ac515e2951dd2a999cfd21dea3fdc1055f1573 tree cb4f8124f9302c3ad02037451b89fe98dca6b4ed parent 6cd59f7a4119fef124677827a9b30684c2c8e674 author Jeff Mahoney Wed, 13 Jul 2005 11:55:42 -0400 committer Linus Torvalds Wed, 13 Jul 2005 10:28:43 -0700 [PATCH] Lindent: ignore .indent.pro When I recently submitted a Lindent patch, it turned out that my .indent.pro options were also applied to the tree. This patch directs indent(1) to ignore the .indent.pro directives and only use options specified on the command line. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 6cd59f7a4119fef124677827a9b30684c2c8e674 tree 084162f271f09b0d4787b92ae414cf0cc310f521 parent c32511e2718618f0b53479eb36e07439aa363a74 parent 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc author Linus Torvalds Wed, 13 Jul 2005 10:12:50 -0700 committer Linus Torvalds Wed, 13 Jul 2005 10:12:50 -0700 Merge /home/torvalds/linux-2.6-arm commit 6a8b4d319c52f8a3fdca46b185d001fbf0939911 tree cad5d67d42c73f690f4c3638cedebd1ec33273b6 parent 1b3035b7fcc72b6b36f2a3634dad832eb2453ce8 author Joern Engel Wed, 13 Jul 2005 16:45:43 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 19:04:04 +0200 [MTD] cfi_cmdset_0002: Plugged a mem leak. Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 59192ed9e7aa81b06a1803661419f7261afca1ad tree 31f592365ad2ecf5eb606de10290da502fc7eb74 parent 6211502d7ee9e515e4458d0c0ebfbb70553dc7de author Ian Dall Wed, 13 Jul 2005 09:15:18 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 09:15:18 -0500 JFS: Need to be root to create files with security context It turns out this is due to some inverted logic in xattr.c Signed-off-by: Dave Kleikamp commit 6211502d7ee9e515e4458d0c0ebfbb70553dc7de tree 24ab6b567f793f8dd1c1e3458769290df2bf8f52 parent f7f24758ac98a506770bc5910d33567610fa3403 author Dave Kleikamp Wed, 13 Jul 2005 09:07:53 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 09:07:53 -0500 JFS: Allow security.* xattrs to be set on symlinks All of the different xattr namespaces have different rules. user.* and ACL's are not allowed on symlinks, and since these were the first xattrs implemented, I assumed there was no need to support xattrs on symlinks. This one-line patch should fix it. Signed-off-by: Dave Kleikamp commit f7f24758ac98a506770bc5910d33567610fa3403 tree ff7fad3d01bf9dc2e2e54b908f9fca4891e1ee72 parent b38a3ab3d1bb0dc3288f73903d4dc4672b5cd2d0 parent c32511e2718618f0b53479eb36e07439aa363a74 author Dave Kleikamp Wed, 13 Jul 2005 08:57:38 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 08:57:38 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 1b3035b7fcc72b6b36f2a3634dad832eb2453ce8 tree 728174d72943cc9b981a5843553551df62eddc41 parent a98a5d04f400ad112e59cadd739dbabf89417e60 parent c32511e2718618f0b53479eb36e07439aa363a74 author Thomas Gleixner Wed, 13 Jul 2005 10:45:00 +0200 committer Thomas Gleixner Wed, 13 Jul 2005 10:45:00 +0200 Merge with rsync://fileserver/linux commit 7c2a6c62c013a4ea57243536fc7f3987e4ba04bc tree 02e3e1d9888f81110ba85bef531e5c695f6064ce parent 08357f82d4decc48bbfd39ae30d5fe0754f7f576 author Christoph Lameter Tue, 12 Jul 2005 16:03:00 -0700 committer Tony Luck Tue, 12 Jul 2005 16:12:55 -0700 [IA64] Altix pcibus_to_node implementation The Altix subarch does not provide node information via ACPI. Instead hooks are used to fixup pci structures. This patch determines the nodes for Altix PCI busses. Remote Bridges: --------------- Altix supports remote I/O nodes without memory or processors but with bridges. The TIOCA type of bridge is an AGP bridge and the PROM provides information about the closest node. That information will be returned by pcibus_to_node. The TIOCP remote bridge type is a PCI bridge but the PROM does not provide a closest node id. pcibus_to_node will return -1 for devices on those bridges meaning that device control structures may be allocated on any node. Safeguard: ---------- Should the fixups result in invalid node information for a pci controller then a warning will be printed and pcibus_to_node will return -1. This patch also fixes the "FIXME" in sn_dma_alloc_coherent. This means that dma_alloc_coherent will now use alloc_pages_node to allocate memory local to the node that the PCI device is connected to. Signed-off-by: Christoph Lameter Signed-off-by: Tony Luck commit a98a5d04f400ad112e59cadd739dbabf89417e60 tree 5eeb7f45c0090de40c7523e2b9dfd5e86b22169e parent 751382dd5cb2702368d281a50b55c2d6c4e8fbfc parent 7ac3db59fd4410405ce55e2a25c397aec440d8da author Todd Poynor Tue, 12 Jul 2005 03:34:39 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:58:44 +0200 Merge with rsync://fileserver/linux commit 08357f82d4decc48bbfd39ae30d5fe0754f7f576 tree c8516a8f208e1cb253bd33f41857b0699104b130 parent 60a762b6a6dec17cc4339b60154902fd04c2f9f2 author Zoltan Menyhart Fri, 03 Jun 2005 05:36:00 -0700 committer Tony Luck Tue, 12 Jul 2005 15:33:18 -0700 [IA64] improve flush_icache_range() Check with PAL to see what the i-cache line size is for each level of the cache, and so use the correct stride when flushing the cache. Acked-by: David Mosberger Signed-off-by: Tony Luck commit 751382dd5cb2702368d281a50b55c2d6c4e8fbfc tree 1d9195fe0bf264668b92fe2b2c36a4d76d253162 parent b62205986a73a40e4fc174d2ef668e3895e925bc author Todd Poynor Tue, 12 Jul 2005 03:34:39 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:03:19 +0200 [JFFS2] Avoid compiler warnings when JFFS2_FS_WRITEBUFFER=n Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit b62205986a73a40e4fc174d2ef668e3895e925bc tree e5754d64dcdf508dd4f3602135c963990d261411 parent e4fef6618992bea48b7856ebbd236796b744964f author Artem B. Bityuckiy Tue, 12 Jul 2005 17:37:12 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:02:33 +0200 [JFFS2] Init locks early during mount In case of a mount error locks might be uninitialized but accessed by the resulting call to jffs2_kill_sb(). Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit e4fef6618992bea48b7856ebbd236796b744964f tree fd0f89f0a1f5c955aec128843bc0663b326ff830 parent 86ffc0d5f5f0c8a6fe70eccade3f7ae8e9630edf author Artem B. Bityuckiy Sun, 10 Jul 2005 16:15:36 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:58:26 +0200 [JFFS2] Rename function and update comments We recently changed the method of collecting and sorting of tmp_dnode objects to use a temporary RB-tree instead of a temporary list. Rename function and update comments. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 86ffc0d5f5f0c8a6fe70eccade3f7ae8e9630edf tree bef3020557487dd8755ca0d7b93aa46e0ddbf11a parent 336d2ff7115bd4391108a16f476c739cb4a505b0 author Artem B. Bityuckiy Sun, 10 Jul 2005 14:13:58 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:56:40 +0200 [JFFS2] Remove needless variable initialization Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 336d2ff7115bd4391108a16f476c739cb4a505b0 tree ac5dbf60deb2b97ec3cc0f0278da24efecacef21 parent 1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893 author Artem B. Bityuckiy Thu, 07 Jul 2005 16:45:32 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:55:05 +0200 [JFFS2] Avoid alloc/dealloc for zero sized nodes Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 60a762b6a6dec17cc4339b60154902fd04c2f9f2 tree d01918a446ad451a1ff5226f04e1747a6e48eb85 parent 514604c6d1779c55d3e97dc4e9a71c117c1ccbcd author Greg Edwards Tue, 28 Jun 2005 11:13:00 -0700 committer Tony Luck Tue, 12 Jul 2005 14:13:08 -0700 [IA64] remove CONFIG_IA64_SGI_SN_SIM This patch removes the CONFIG_IA64_SGI_SN_SIM option entirely, allowing any kernel bootable on sn2 to also be booted in the simulator. Boot tested on Altix and HP rx2600. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit 514604c6d1779c55d3e97dc4e9a71c117c1ccbcd tree 19241b4db64f1da60c0dd594606c5d5fba8b254f parent 1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6 author Christoph Lameter Thu, 07 Jul 2005 16:59:00 -0700 committer Tony Luck Tue, 12 Jul 2005 11:04:22 -0700 [IA64] pcibus_to_node implementation for IA64 pcibus_to_node provides a way for the Linux kernel to identify to which node a certain pcibus connects to. Allocations of control structures for devices can then be made on the node where the pci bus is located to allow local access during interrupt and other device manipulation. This patch provides a new "node" field in the the pci_controller structure. The node field will be set based on ACPI information (thanks to Alex Williamson Signed-off-by: Tony Luck commit 1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893 tree 2f00b49a065e1da68ea446b24c44a4b5bad1474e parent 97f927a4d7dbccde0a854a62c3ea54d90bae8679 author Thomas Gleixner Tue, 12 Jul 2005 17:51:06 +0200 committer Thomas Gleixner Tue, 12 Jul 2005 17:51:06 +0200 [MTD] Make XIP support depend on CONFIG_ARM ARM is the only known user of this at the moment. Prevent allyes builds for other archs from failing Signed-off-by: Thomas Gleixner commit eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c tree c09328dade56919dbcd838ed5bc51143a04ce67a parent 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 author James Bottomley Sat, 02 Jul 2005 12:22:01 -0400 committer James Bottomley Mon, 11 Jul 2005 17:04:43 -0500 [SCSI] SPI transport class, don't negotiate options not supported At the moment, the transport class blindly tries to set things like QAS and IU, even if the drive won't support them. It's best not to annoy the devices like this and instead only set what the drive says is actually supported. Signed-off-by: James Bottomley commit 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc tree 79c81babb78c36f94f677ee587ab884903fffa12 parent e11b2236eace94ad9a2e421904742e83976405ed author Russell King Mon, 11 Jul 2005 19:42:58 +0100 committer Russell King Mon, 11 Jul 2005 19:42:58 +0100 [PATCH] ARM SMP: Initialise cpu_present_map Rather than relying on the fixup code in init/main.c, explicitly initialise cpu_present_map. Signed-off-by: Russell King commit e11b2236eace94ad9a2e421904742e83976405ed tree d5882b4b06bf7a9310f993bf1935d720e6be9e7d parent d12734d14e5602816f0b16b17a8cef5ea70afb5a author Russell King Mon, 11 Jul 2005 19:26:31 +0100 committer Russell King Mon, 11 Jul 2005 19:26:31 +0100 [PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs Signed-off-by: Russell King commit 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 tree cda0577cc5348df8e4662b9615af7941852be3a3 parent dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a author Christoph Hellwig Tue, 28 Jun 2005 16:50:40 +0200 committer James Bottomley Mon, 11 Jul 2005 12:47:47 -0500 [SCSI] aic7xxx: remove ahc_tailq now that we do normal PCI probing there's no need to keep a list of all HBAs. Rejections fixed up and Signed-off-by: James Bottomley commit dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a tree 1fbe2c728b84fad009b34693b1b0797e79eca90d parent 7f602c53939fdb1bca12151a28f9b90cde046fb1 author Christoph Hellwig Tue, 28 Jun 2005 16:49:44 +0200 committer James Bottomley Mon, 11 Jul 2005 12:43:09 -0500 [SCSI] aic7xxx: sane pci probing always probe in bus order, avoid any reordering Signed-off-by: James Bottomley commit 7f602c53939fdb1bca12151a28f9b90cde046fb1 tree 9d2e0de06ad36113832491768df65e3f1e89d2fe parent a5990120252539bccdaf70a66ac021966e80e3f7 author James Bottomley Sat, 21 May 2005 10:24:37 -0500 committer James Bottomley Mon, 11 Jul 2005 12:38:33 -0500 [SCSI] add TYPE_RBC to our type table Here's a tiny update that means we print the correct ASCII type information Signed-off-by: James Bottomley commit d12734d14e5602816f0b16b17a8cef5ea70afb5a tree cb6793f2bd1d5bbc53562c690e3e09351439e98a parent 7343c9ba8ed9d504cd2daf960da58971c6631601 author Russell King Mon, 11 Jul 2005 17:38:36 +0100 committer Russell King Mon, 11 Jul 2005 17:38:36 +0100 [PATCH] ARM SMP: Rename cpu_present_mask to cpu_possible_map The kernel's terminology for this is cpu_possible_map not cpu_present_mask. Signed-off-by: Russell King commit a5990120252539bccdaf70a66ac021966e80e3f7 tree 42c5acdbcbe5e56611552234207dcc97272ce469 parent cc33895abbba85668de11df2cd04d6faf0be43e1 author Andrew Morton Sat, 09 Jul 2005 01:30:02 -0700 committer James Bottomley Mon, 11 Jul 2005 09:35:55 -0500 [SCSI] dpt_i2o warning fix drivers/scsi/dpt_i2o.c: In function `adpt_queue': drivers/scsi/dpt_i2o.c:385: warning: unused variable `timeout' Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit cc33895abbba85668de11df2cd04d6faf0be43e1 tree f11e0b5542ac334a4e70c1a61d560458e848468d parent ace4e7185d565cab057139e8927659bd072bf25a author Andrew Morton Sat, 09 Jul 2005 01:30:03 -0700 committer James Bottomley Mon, 11 Jul 2005 09:35:39 -0500 [SCSI] aic79xx: ahd_linux_dev_reset() cleanup Use the macros consistently in ahd_linux_dev_reset(). If ahd_linux_dev_reset() really can be called with local interrupts disabled then yuk. Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7343c9ba8ed9d504cd2daf960da58971c6631601 tree 7f6b6b37f444f685bfbd82f0ce19305e600b660c parent 5c23804a0941a111752fdacefe0bea2db1b4d93f author Olaf Hering Mon, 11 Jul 2005 10:17:06 +0100 committer Russell King Mon, 11 Jul 2005 10:17:06 +0100 [PATCH] ARM: remove linux/version.h include from arch/arm Changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit 07929dcb963786512c760dd3ecd148d89295e7e5 tree f5db01392ebb968b4c8acb5a6b3b03a833bfcb02 parent c2d9b8387bce8b4a0fd402fab7dc1319d11a418d parent 19f7241a3b087bbf4dd107c979608fdb56c83a09 author Anton Altaparmakov Mon, 04 Jul 2005 14:14:42 +0100 committer Anton Altaparmakov Mon, 04 Jul 2005 14:14:42 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit ace4e7185d565cab057139e8927659bd072bf25a tree bfabfde5f511dfb58f1b2cad2e3e5406c5a9cbb2 parent b4687ca42cb82a7821f682dde0310b16ce284770 author James Bottomley Sat, 02 Jul 2005 14:46:14 -0500 committer James Bottomley Sun, 03 Jul 2005 10:44:21 -0500 [SCSI] aic7xxx: fix boot hang with Fujitsu drives Apparently these are the only drives that try to negotiate IU and QAS at u160 speeds. The aic7xxx driver can't cope with this. The fix is to eliminate the IU and QAS setting routines. I've #if 0'd them out, just in case we ever get the sequencer documentation out of Adaptec, since we'd then be able to fix the driver. Signed-off-by: James Bottomley commit b4687ca42cb82a7821f682dde0310b16ce284770 tree e36a26a2908369535d89863626934e269976d662 parent fc2b035d38c06a884cb521bb4a1e1183f5eaccf1 author Linda Xie Mon, 27 Jun 2005 17:01:48 -0500 committer James Bottomley Sat, 02 Jul 2005 19:25:09 -0500 [SCSI] IBM VSCSI Client: sending client info to server Fix the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server. Signed-off-by: Linda Xie Signed-off-by: James Bottomley commit fc2b035d38c06a884cb521bb4a1e1183f5eaccf1 tree 421258fe7c6fc4d49b7ed9f6ef3995f25b361358 parent eda912e34a0cc40ddd502b3f984e37ebb2b13a71 author Christoph Hellwig Mon, 27 Jun 2005 22:43:06 +0200 committer James Bottomley Sat, 02 Jul 2005 19:12:10 -0500 [SCSI] ifdef out broken fc4 EH code This code pokes deep into EH internals and duplicates scsi_error.c code wrongly. It doesn't compile anymore in scsi-misc, so let's #if 0 out the code - the driver hasn't worked for more than five years anyway. Signed-off-by: James Bottomley commit eda912e34a0cc40ddd502b3f984e37ebb2b13a71 tree 15c5f3b2ee64fe53f67d5fdd442d1e215bc931fe parent c44ce1737438d20ac58e808897e3f8eb015c66d3 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:42 -0400 committer James Bottomley Sat, 02 Jul 2005 19:08:56 -0500 [SCSI] lpfc: Change version to 8.0.29. Signed-off-by: James Smart Signed-off-by: James Bottomley commit c44ce1737438d20ac58e808897e3f8eb015c66d3 tree 2e164356e424ea7b17c1086f777355146b534c71 parent 5542134f61157d0bbd4e392919cae811a88a3e81 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:39 -0400 committer James Bottomley Sat, 02 Jul 2005 19:08:29 -0500 [SCSI] lpfc: Update copyright notices Update copyright notice text and include year 2005. Add Copyright notice for Christoph Hellwig to several files: lpfc.h lpfc_attr.c lpfc_els.c lpfc_hbadisc.c lpfc_init.c lpfc_mbox.c lpfc_mem.c lpfc_nportdisc.c lpfc_scsi.c lpfc_sli.c Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5542134f61157d0bbd4e392919cae811a88a3e81 tree addf48e45dc8444702b4e3380a7139f8b68902cf parent 2501322eee84763a07fd4a3eed81b63c1837e204 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:36 -0400 committer James Bottomley Sat, 02 Jul 2005 19:06:16 -0500 [SCSI] lpfc: Remove $Id$ keyword strings. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2501322eee84763a07fd4a3eed81b63c1837e204 tree b256f2185fdcca3c4c6087e4c989ac1a3de9a622 parent 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:33 -0400 committer James Bottomley Sat, 02 Jul 2005 18:58:48 -0500 [SCSI] lpfc: Fix ADISC completion incorrectly putting initiators on mapped list Symptom - An unmapped node (initiator) that goes away in a situation such as cable pull, comes back as a mapped node. Fix - On ADISC completion, put a list on the mapped list only if it is a FCP_TARGET. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 tree d969d2f0e53b4c5289ff2acc4c141bf246866ac2 parent 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:30 -0400 committer James Bottomley Sat, 02 Jul 2005 18:57:22 -0500 [SCSI] lpfc: Add completion handler to the abort iocbs Add completion handler to the abort iocbs to close a hole where we could reuse an iotag. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 tree 634a1337b734ed2ff8715e4c9368e764a03b6aac parent 06325e7459b54fc924d00fe363068f6cbf284571 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:27 -0400 committer James Bottomley Sat, 02 Jul 2005 18:55:23 -0500 [SCSI] lpfc: Fix LS_RJT never sent by lpfc_els_unsol_event() lpfc_els_unsol_event() checks rjt_err to determine is LS_RJT should be sent. However, rjt_err was set to LSEXP_NOTHING_ELSE (which is 0) in cases where an LS_RJT should be sent, so rjt_err was never true. Change lpfc_els_unsol_event() to set rjt_err to 1 when LS_RJT should be sent. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 06325e7459b54fc924d00fe363068f6cbf284571 tree 4fc2b7b6b9e77e489ed9b5e64ad77393ba23b15f parent 564b2960833f8802ae2b7b7ad840f154647549c7 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:22 -0400 committer James Bottomley Sat, 02 Jul 2005 17:18:52 -0500 [SCSI] lpfc: Add LP6000 PCI ID Fix driver not seeing LP6000. Fix: add PCI id to the pci_device_id table and a short description for the HBA in get_hba_model_desc(). Also add a default clause to the switch statement that parses the various PCI ID's. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 564b2960833f8802ae2b7b7ad840f154647549c7 tree ba4413981f7141f657a20f8be85b4f2592b97060 parent 87f6eaffd732bc20b5a02e9f36b86f67310d8129 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:17 -0400 committer James Bottomley Sat, 02 Jul 2005 17:07:57 -0500 [SCSI] lpfc: Set max_sectors in host template Add max_sectors to the driver host template and initialize it with 0xFFFF since the driver has no limitations on the size a transfer contained by a scsi command and that fits within the sg_tablesize provisioned by the driver. This fixes a performance issue seen in some configurations. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 87f6eaffd732bc20b5a02e9f36b86f67310d8129 tree 8f2efa960a64c503fe4a945f3e514cd689bd1daa parent db468d108abc0bb348bcfc54b8e06145922fb6b1 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:13 -0400 committer James Bottomley Sat, 02 Jul 2005 17:07:03 -0500 [SCSI] lpfc: Fix error loading on sparc Bug reported via SourceForge - lpfc does not load on sparc. The lpfc driver must byteswap all FCP IOCBs to recover the data into cpu native format. Also correct issue of "iotag not found" messages Signed-off-by: James Smart Signed-off-by: James Bottomley commit db468d108abc0bb348bcfc54b8e06145922fb6b1 tree 20fc4fd71fe9e194bb36c5083e3ea1cb3fab81a5 parent 6e8215e48865bda2e07c1c0633952e35fa3b170c author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:08 -0400 committer James Bottomley Sat, 02 Jul 2005 17:05:32 -0500 [SCSI] lpfc: Fixes in mbox_timeout_handler Analysis: Timeout of READ_SPARM64 causes call to lpfc_mbox_timeout_handler which reads psli->mbox_active to determine the timeout mbox. Timeout handler then NULL's psli->mbox_active and calls lpfc_mbx_cmpl_read_sparam(), which on timeout condition, calls link_down(). link_down() now calls disc_done() which calls mbox_timeout_hander() again since WORKER_MBOX_TMO is still set, which goes back to read psli->mbox_active which is already NULL'ed. Remove redundant if statement in lpfc_mbox_timeout_handler. pmbox is assigned psli->mbox_active so there is no need to check if it actually equals psli->mbox_active. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6e8215e48865bda2e07c1c0633952e35fa3b170c tree e058445be102bd68e4f793d7336264ba1cd35034 parent 4cc2da1d84eeddb9e9259e61efd58691399434b2 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:04 -0400 committer James Bottomley Sat, 02 Jul 2005 17:04:06 -0500 [SCSI] Fix issue where all hosts log nodev message for other initiators Fix issue where all hosts connected to SAN get spammed with nodev message when other initiators go away. Display nodev message only when FC targets go away. However this behavior will be overridden if LOG_DISCOVERY is set. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 4cc2da1d84eeddb9e9259e61efd58691399434b2 tree 74f71238d64cc41153e1015ddcc8a8b5982e7714 parent 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:00 -0400 committer James Bottomley Sat, 02 Jul 2005 16:58:16 -0500 [SCSI] lpfc: hgp/pgp cleanups From: Christoph Hellwig : - rename PGP/HPH to lpfc_pgp/lpfc_hgp - use __le32 types for the members to start fixing sparse -Wbitwise issues - remove lpfc_sli.MBhostaddr, we can always use the pointer from SLI2_DESC directly Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 tree 4702625002cb4fd6a0a59112a34b3cc10c8efcc5 parent c0df28cfe012652160a530f9aa74b0a49c77eac5 author Moore, Eric Dean Fri, 24 Jun 2005 12:18:57 -0600 committer James Bottomley Fri, 01 Jul 2005 08:56:31 -0500 [SCSI] - mptfusion - convert to new change_queue_depth API Convert driver to use new change_queue_depth API. Signed-off-by: Eric Moore Fixed up rejections and Signed-off-by: James Bottomley commit c2d9b8387bce8b4a0fd402fab7dc1319d11a418d tree 082cf7dd287f61635198011e61c3de1be130cc42 parent 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 parent 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 author Anton Altaparmakov Thu, 30 Jun 2005 09:52:20 +0100 committer Anton Altaparmakov Thu, 30 Jun 2005 09:52:20 +0100 Automerge with /usr/src/ntfs-2.6.git. commit b38a3ab3d1bb0dc3288f73903d4dc4672b5cd2d0 tree 31d017dd1f9f4a8ca3e80d25d110c64ae82d4aae parent f5f287738bddf38ec9ca79344f00dab675e1bbf5 author Dave Kleikamp Mon, 27 Jun 2005 15:35:37 -0500 committer Dave Kleikamp Mon, 27 Jun 2005 15:35:37 -0500 JFS: Code cleanup - getting rid of never-used debug code I'm finally getting around to cleaning out debug code that I've never used. There has always been code ifdef'ed out by _JFS_DEBUG_DMAP, _JFS_DEBUG_IMAP, _JFS_DEBUG_DTREE, and _JFS_DEBUG_XTREE, which I have personally never used, and I doubt that anyone has since the design stage back in OS/2. There is also a function, xtGather, that has never been used, and I don't know why it was ever there. Signed-off-by: Dave Kleikamp commit 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 tree ad8cc17bfd3b5e57e36f07a249028667d72f0b96 parent ba6d2377c85c9b8a793f455d8c9b6cf31985d70f parent 8678887e7fb43cd6c9be6c9807b05e77848e0920 author Anton Altaparmakov Sun, 26 Jun 2005 22:19:40 +0100 committer Anton Altaparmakov Sun, 26 Jun 2005 22:19:40 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit ba6d2377c85c9b8a793f455d8c9b6cf31985d70f tree 21e65c76db693869c84864af02e91c4b997a6ba5 parent af859a42d798f047fbfe198ed315a942662c39d2 author Anton Altaparmakov Sun, 26 Jun 2005 22:12:02 +0100 committer Anton Altaparmakov Sun, 26 Jun 2005 22:12:02 +0100 NTFS: Fix a nasty deadlock that appeared in recent kernels. The situation: VFS inode X on a mounted ntfs volume is dirty. For same inode X, the ntfs_inode is dirty and thus corresponding on-disk inode, i.e. mft record, which is in a dirty PAGE_CACHE_PAGE belonging to the table of inodes, i.e. $MFT, inode 0. What happens: Process 1: sys_sync()/umount()/whatever... calls __sync_single_inode() for $MFT -> do_writepages() -> write_page for the dirty page containing the on-disk inode X, the page is now locked -> ntfs_write_mst_block() which clears PageUptodate() on the page to prevent anyone else getting hold of it whilst it does the write out. This is necessary as the on-disk inode needs "fixups" applied before the write to disk which are removed again after the write and PageUptodate is then set again. It then analyses the page looking for dirty on-disk inodes and when it finds one it calls ntfs_may_write_mft_record() to see if it is safe to write this on-disk inode. This then calls ilookup5() to check if the corresponding VFS inode is in icache(). This in turn calls ifind() which waits on the inode lock via wait_on_inode whilst holding the global inode_lock. Process 2: pdflush results in a call to __sync_single_inode for the same VFS inode X on the ntfs volume. This locks the inode (I_LOCK) then calls write-inode -> ntfs_write_inode -> map_mft_record() -> read_cache_page() for the page (in page cache of table of inodes $MFT, inode 0) containing the on-disk inode. This page has PageUptodate() clear because of Process 1 (see above) so read_cache_page() blocks when it tries to take the page lock for the page so it can call ntfs_read_page(). Thus Process 1 is holding the page lock on the page containing the on-disk inode X and it is waiting on the inode X to be unlocked in ifind() so it can write the page out and then unlock the page. And Process 2 is holding the inode lock on inode X and is waiting for the page to be unlocked so it can call ntfs_readpage() or discover that Process 1 set PageUptodate() again and use the page. Thus we have a deadlock due to ifind() waiting on the inode lock. The solution: The fix is to use the newly introduced ilookup5_nowait() which does not wait on the inode's lock and hence avoids the deadlock. This is safe as we do not care about the VFS inode and only use the fact that it is in the VFS inode cache and the fact that the vfs and ntfs inodes are one struct in memory to find the ntfs inode in memory if present. Also, the ntfs inode has its own locking so it does not matter if the vfs inode is locked. Signed-off-by: Anton Altaparmakov commit c0df28cfe012652160a530f9aa74b0a49c77eac5 tree 2df1c8b22b1ddaffb4ad073bd0cd585808c095b3 parent 937abeaadf1b00252690f9de35b9df13feb0afd7 author James Bottomley Sat, 25 Jun 2005 16:23:44 -0500 committer James Bottomley Sun, 26 Jun 2005 12:22:30 -0500 [SCSI] aic7xxx: correct target valid check in aic7xxx_proc.c From: Andy Whitcroft Updated to remove the bogus translated target check. Signed-off-by: James Bottomley commit 937abeaadf1b00252690f9de35b9df13feb0afd7 tree 4cec1bff9dc4bc25c1503df5c96bf02f9fbf7013 parent 3111b0d1646b3e1891dc08112d087aed2146fafe author Christoph Hellwig Sun, 19 Jun 2005 13:43:56 +0200 committer James Bottomley Sun, 26 Jun 2005 12:20:42 -0500 [SCSI] use list_for_each_entry_safe in scsi_error.c Signed-off-by: James Bottomley commit 3111b0d1646b3e1891dc08112d087aed2146fafe tree 63c0e61dfc184ae6e567f94f1c95dbd517879ed3 parent 8d115f845a0bd59cd263e791f739964f42b7b0e8 author Christoph Hellwig Sun, 19 Jun 2005 13:43:26 +0200 committer James Bottomley Sun, 26 Jun 2005 12:17:24 -0500 [SCSI] remove scsi_eh_eflags_ macros Just opencoded access to eh_eflags, it's much more readable anyway. Signed-off-by: James Bottomley commit 8d115f845a0bd59cd263e791f739964f42b7b0e8 tree 8d4af0e70f0d8d5c04e2efa1d68fe507dc5d8923 parent b4edcbcafdecc80ef5356ff6452768b1b926ea76 author Christoph Hellwig Sun, 19 Jun 2005 13:42:05 +0200 committer James Bottomley Sun, 26 Jun 2005 12:16:24 -0500 [SCSI] remove scsi_cmnd->state We never look at it except for the old megaraid driver that abuses it for sending internal commands. That usage can be fixed easily because those internal commands are single-threaded by a mutex and we can easily use a completion there. Signed-off-by: James Bottomley commit b4edcbcafdecc80ef5356ff6452768b1b926ea76 tree e30da76124facf97f4183b0fe41b29d90b00f237 parent f5ad56145d43cdb68760bba3e14655ff6ae726aa author Christoph Hellwig Sun, 19 Jun 2005 13:40:52 +0200 committer James Bottomley Sun, 26 Jun 2005 12:15:28 -0500 [SCSI] remove scsi_cmnd->owner never checked anywhere Signed-off-by: James Bottomley commit f5ad56145d43cdb68760bba3e14655ff6ae726aa tree 8d5f2db39e519b47f60ccac5224b11f787a47abe parent a4c8f6285165a7089edb2010dbd894148ca95d57 author Christoph Hellwig Sun, 19 Jun 2005 13:40:08 +0200 committer James Bottomley Sun, 26 Jun 2005 12:14:46 -0500 [SCSI] remove scsi_cmnd->abort_reason Never used for anything but printing it out in debug routines. Signed-off-by: James Bottomley commit a4c8f6285165a7089edb2010dbd894148ca95d57 tree 50ce1ab6b0944f13d821ada235292e4363ddb1c2 parent fa4c49669f0408557bc52cd7054c920a8790dec6 author Christoph Hellwig Sun, 19 Jun 2005 13:39:23 +0200 committer James Bottomley Sun, 26 Jun 2005 12:14:10 -0500 [SCSI] remove scsi_cmnd.eh_state it's never set to anything, and just three broken drivers are looking at it and doing odd things. Signed-off-by: James Bottomley commit fa4c49669f0408557bc52cd7054c920a8790dec6 tree 78dadb45b6779538e907e13666bd59b81e0df1f8 parent 849717383abc795b8f5efe7b9e0792b2e1f8916a author James Bottomley Sun, 26 Jun 2005 08:45:39 -0500 committer James Bottomley Sun, 26 Jun 2005 08:45:39 -0500 [SCSI] megaraid: fix compilation after eh locking changes From: Christoph Hellwig Patch fixed up and commit 849717383abc795b8f5efe7b9e0792b2e1f8916a tree 98e91d7c9ebdc1ad976175c855939459a4c29932 parent 12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f author Mark Haverkamp Mon, 20 Jun 2005 11:55:24 -0700 committer James Bottomley Sun, 26 Jun 2005 08:33:10 -0500 [SCSI] aacraid: New products patch This patch add the following products to the driver: IBM ServeRAID 8i ICP 9014R0 ICP 9024R0 ICP 9047MA ICP 9087MA ICP 9085LI ICP 5085AU Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f tree 9f294101d0b9df2c49a0911b127aa99823bc0060 parent 117e4b27ebb1133072b1453145e60e576569e8af author Christoph Hellwig Sat, 11 Jun 2005 01:05:01 +0200 committer James Bottomley Sun, 26 Jun 2005 08:31:47 -0500 [SCSI] remove scsi_set_device scsi_add_host is the proper place to set the device, but people copy the scsi_set_device usage from older drivers again and again. note that this leaves some legacy drivers like qlogicisp/qlogicfc without pci association in sysfs, but they're scheduled to go away soon anyway. Signed-off-by: James Bottomley commit 117e4b27ebb1133072b1453145e60e576569e8af tree 74c75db80f838c86de60afbd3f921edcd22d1c7d parent 6f0dcb72d6a053fff9288b742d3bcc9b23f0f6db author Nishanth Aravamudan Mon, 20 Jun 2005 23:55:07 +0200 committer James Bottomley Sun, 26 Jun 2005 08:31:26 -0500 [SCSI] scsi/qla1280: replace schedule_timeout() with ssleep() Use ssleep() instead of schedule_timeout to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: James Bottomley commit af859a42d798f047fbfe198ed315a942662c39d2 tree 6c892cbd43284e98cc879f0518dde8efc09740c7 parent 4757d7dff65b56f2115038ad1615725f31806787 author Anton Altaparmakov Sat, 25 Jun 2005 21:07:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 21:07:27 +0100 NTFS: Prepare for 2.1.23 release: Update documentation and bump version. Signed-off-by: Anton Altaparmakov commit 4757d7dff65b56f2115038ad1615725f31806787 tree b4a17ecec51c9b1175a22513699ae97c099c5d63 parent fa3be92317c4ae34edcf5274e8bbeff181e20b7a author Anton Altaparmakov Sat, 25 Jun 2005 17:24:08 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:24:08 +0100 NTFS: Change ntfs_map_runlist_nolock() to only decompress the mapping pairs if the requested vcn is inside it. Otherwise we get into problems when we try to map an out of bounds vcn because we then try to map the already mapped runlist fragment which causes ntfs_mapping_pairs_decompress() to fail and return error. Update ntfs_attr_find_vcn_nolock() accordingly. Signed-off-by: Anton Altaparmakov commit fa3be92317c4ae34edcf5274e8bbeff181e20b7a tree 84ae4ace6c891aa95b804950283e1f8f3e46c730 parent 1d58b27b8d77ecb816cfa8f846b78c845675eb89 author Anton Altaparmakov Sat, 25 Jun 2005 17:15:36 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:15:36 +0100 NTFS: Add an extra parameter @last_vcn to ntfs_get_size_for_mapping_pairs() and ntfs_mapping_pairs_build() to allow the runlist encoding to be partial which is desirable when filling holes in sparse attributes. Update all callers. Signed-off-by: Anton Altaparmakov commit 1d58b27b8d77ecb816cfa8f846b78c845675eb89 tree 7c10e4182f87d00511aeb1d0583e3c09eeb807de parent 3bd1f4a173a3445f9919c21e775de2d8b9deacf8 author Anton Altaparmakov Sat, 25 Jun 2005 17:04:55 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:04:55 +0100 NTFS: Change the runlist terminator of the newly allocated cluster(s) to LCN_ENOENT in ntfs_attr_make_non_resident(). Otherwise the runlist code gets confused. Signed-off-by: Anton Altaparmakov commit 3bd1f4a173a3445f9919c21e775de2d8b9deacf8 tree 6b32056b5b63d41fc5d032318ed0f94dbc562288 parent ca8fd7a0c6aa835e8014830b290cb965e85ac88e author Anton Altaparmakov Sat, 25 Jun 2005 16:51:58 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:51:58 +0100 NTFS: Fix several occurences of a bug where we would perform 'var & ~const' with a 64-bit variable and a int, i.e. 32-bit, constant. This causes the higher order 32-bits of the 64-bit variable to be zeroed. To fix this cast the 'const' to the same 64-bit type as 'var'. Signed-off-by: Anton Altaparmakov commit ca8fd7a0c6aa835e8014830b290cb965e85ac88e tree 504929d2a4beacb86fbc420c85f5c102f2a27fed parent 9f993fe4634b39ca4404ba278053b03f360ec08a author Anton Altaparmakov Sat, 25 Jun 2005 16:31:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:31:27 +0100 NTFS: Detect the case when Windows has been suspended to disk on the volume to be mounted and if this is the case do not allow (re)mounting read-write. This is done by parsing hiberfil.sys if present. Signed-off-by: Anton Altaparmakov commit 9f993fe4634b39ca4404ba278053b03f360ec08a tree 36e62a3d384fa9c313cacd73b7aea086d7f74e82 parent 3f2faef00c6af17542ea8672ed7d09367222b2d0 author Anton Altaparmakov Sat, 25 Jun 2005 16:15:36 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:15:36 +0100 NTFS: Fix a bug in address space operations error recovery code paths where if the runlist was not mapped at all and a mapping error occured we would leave the runlist locked on exit to the function so that the next access to the same file would try to take the lock and deadlock. Signed-off-by: Anton Altaparmakov commit 3f2faef00c6af17542ea8672ed7d09367222b2d0 tree 8b5cf2d76f2af684988d79b04e21ae92aaea8711 parent 38b22b6e9f46ab8f73ef5734f0e0a000766a9258 author Anton Altaparmakov Sat, 25 Jun 2005 15:28:56 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 15:28:56 +0100 NTFS: Stamp the transaction log ($UsnJrnl), aka user space journal, if it is active on the volume and we are mounting read-write or remounting from read-only to read-write. Signed-off-by: Anton Altaparmakov commit 38b22b6e9f46ab8f73ef5734f0e0a000766a9258 tree 2ccc41ef55918d3af43e444bde7648562a031559 parent 3357d4c75f1fb67e7304998c4ad4e9a9fed66fa4 parent b3e112bcc19abd8e9657dca34a87316786e096f3 author Anton Altaparmakov Sat, 25 Jun 2005 14:27:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 14:27:27 +0100 Automerge with /usr/src/ntfs-2.6.git. commit f5f287738bddf38ec9ca79344f00dab675e1bbf5 tree c8144a3906f6904f7cf18c4520976c79a1e15b0a parent a8ad86f2dc46356f87be1327dabc18bdbda32f50 author Sonny Rao Thu, 23 Jun 2005 16:57:56 -0500 committer Dave Kleikamp Thu, 23 Jun 2005 16:57:56 -0500 JFS: performance patch Basically, we saw a large amount of time spent in the jfs_strfromUCS_le() function, mispredicting the branch inside the loop, so I just added some unlikely modifiers to the if statements to re-ordered the code. Again, these simple changes provided > 2 % on spec-sfs, so please consider it for inclusion. Signed-off-by: Dave Kleikamp commit 3357d4c75f1fb67e7304998c4ad4e9a9fed66fa4 tree ceba46966a5a1112a05d257d8ecb25ae5eee95e0 parent 364f6c717deef4a3ac4982e670fa9846b43cd060 parent ee98689be1b054897ff17655008c3048fe88be94 author Anton Altaparmakov Thu, 23 Jun 2005 11:26:22 +0100 committer Anton Altaparmakov Thu, 23 Jun 2005 11:26:22 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 364f6c717deef4a3ac4982e670fa9846b43cd060 tree 47e3967d6e2220130f2c070e300c97709143b28f parent 4ff4258a3e558814a3d48c50a59cd22f56bbea2f parent 1d6757fbff5bc86e94e59ab0d7bdd7e71351d839 author Anton Altaparmakov Wed, 08 Jun 2005 15:45:45 +0100 committer Anton Altaparmakov Wed, 08 Jun 2005 15:45:45 +0100 Automatic merge with /usr/src/ntfs-2.6.git commit 4ff4258a3e558814a3d48c50a59cd22f56bbea2f tree 35ac4a5d2b162687eef0c38aecf14f3a7c5afee0 parent 442d207eb0b4e7047c4fedccd900c425e689d502 parent 5e485b7975472ba4a408523deb6541e70c451842 author Anton Altaparmakov Mon, 30 May 2005 21:34:37 +0100 committer Anton Altaparmakov Mon, 30 May 2005 21:34:37 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 442d207eb0b4e7047c4fedccd900c425e689d502 tree 2c23dc98fba6912417164ba65b258a9da1241ae1 parent 2fb21db2548fc8b196eb8d8425f05ee1965d5344 author Anton Altaparmakov Fri, 27 May 2005 16:42:56 +0100 committer Anton Altaparmakov Fri, 27 May 2005 16:42:56 +0100 NTFS: Use C99 style structure initialization after memory allocation where possible (fs/ntfs/{attrib.c,index.c,super.c}). Thanks to Al Viro and Pekka Enberg. Signed-off-by: Anton Altaparmakov commit 2fb21db2548fc8b196eb8d8425f05ee1965d5344 tree b319e97bfb3e50bcde9a82cf089d86a7dcb03df5 parent 5eac51462f340b7c4a03b9220cf157c40b4990a5 author Pekka Enberg Wed, 25 May 2005 21:15:34 +0300 committer Anton Altaparmakov Fri, 27 May 2005 16:00:53 +0100 NTFS: Remove spurious void pointer casts from fs/ntfs/. Signed-off-by: Pekka Enberg Signed-off-by: Anton Altaparmakov commit 5eac51462f340b7c4a03b9220cf157c40b4990a5 tree 9b3ebf457ea5b1bc97aa29b1092e6e2236f18603 parent c1c58ada91cfe86f19d430282132434e620a1067 parent 4ec5240ec367a592834385893200dd4fb369354c author Anton Altaparmakov Fri, 27 May 2005 15:36:21 +0100 committer Anton Altaparmakov Fri, 27 May 2005 15:36:21 +0100 Merge with /usr/src/ntfs-2.6.git. commit c1c58ada91cfe86f19d430282132434e620a1067 tree cd12933040a65398e9779c3596f5109e37c206c3 parent 67394f8f069c2fdf90f3b6d851824c07815442af parent 2a24ab628aa7b190be32f63dfb6d96f3fb61580a author Anton Altaparmakov Wed, 25 May 2005 09:38:26 +0100 committer Anton Altaparmakov Wed, 25 May 2005 09:38:26 +0100 Merge with /usr/src/ntfs-2.6.git commit 67394f8f069c2fdf90f3b6d851824c07815442af tree 0c33e62d34dbaecea434ae9ece3cc0c56db8b1f7 parent 450cbfbbbd88876e3ccec1d277f613221ca82bb7 parent 9636273dae265b9354b861b373cd43cd76a6d0fe author Anton Altaparmakov Sat, 21 May 2005 22:00:02 +0100 committer Anton Altaparmakov Sat, 21 May 2005 22:00:02 +0100 Merge with /usr/src/ntfs-2.6.git commit 450cbfbbbd88876e3ccec1d277f613221ca82bb7 tree af0f1b4c706ba7e725cd4e877a8b7ecf021d76c2 parent d53ee3222459f347cb18985a845864bc81a44eaf parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Anton Altaparmakov Thu, 05 May 2005 22:39:49 +0100 committer Anton Altaparmakov Thu, 05 May 2005 22:39:49 +0100 Merge with /usr/src/ntfs-2.6.git commit d53ee3222459f347cb18985a845864bc81a44eaf tree e9f8a061e958579a6de1d3ee133fd30ca4139f9c parent 7fafb8b634121f4fa35ff92f85737f8bc2259f06 author Anton Altaparmakov Wed, 06 Apr 2005 16:11:20 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:49:42 +0100 NTFS: Use MAX_BUF_PER_PAGE instead of variable sized array allocation for better code generation and one less sparse warning in fs/ntfs/aops.c. Signed-off-by: Anton Altaparmakov commit 7fafb8b634121f4fa35ff92f85737f8bc2259f06 tree ed581b567781b6b2a99a9f2059e3f3c324a0c928 parent bb3cf33509009132cf8c7a7729f9d26c0c5fa961 author Anton Altaparmakov Wed, 06 Apr 2005 16:09:21 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:48:00 +0100 NTFS: Minor cleanup: Define and use NTFS_MAX_CLUSTER_SIZE constant instead of hard coded 0x10000 in fs/ntfs/super.c. Signed-off-by: Anton Altaparmakov commit bb3cf33509009132cf8c7a7729f9d26c0c5fa961 tree 1e5a6a8bdf12e158a792b26b1d24b1743ce8a975 parent b0d2374d62faed034dd80e6524efb98a6341597c author Anton Altaparmakov Wed, 06 Apr 2005 13:34:31 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:46:17 +0100 NTFS: Update attribute definition handling. Signed-off-by: Anton Altaparmakov commit b0d2374d62faed034dd80e6524efb98a6341597c tree 99ae91efcc90ead7b8aa1cc44f286a528adc6545 parent 251c8427c9c418674fc3c04a11de95dc3661b560 author Anton Altaparmakov Mon, 04 Apr 2005 16:20:14 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:44:41 +0100 NTFS: Some utilities modify the boot sector but do not update the checksum. Thus, relax the checking in fs/ntfs/super.c::is_boot_sector_ntfs() to only emit a warning when the checksum is incorrect rather than refusing the mount. Thanks to Bernd Casimir for pointing this problem out. Signed-off-by: Anton Altaparmakov commit 251c8427c9c418674fc3c04a11de95dc3661b560 tree b67bab32762a4a64083de64281b1249bccfd9402 parent 53d59aad9326199ef5749c97513db498309a057e author Jesper Juhl Mon, 04 Apr 2005 14:59:56 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:42:27 +0100 NTFS: Remove checks for NULL before calling kfree() since kfree() does the checking itself. (Jesper Juhl) Signed-off-by: Jesper Juhl Signed-off-by: Anton Altaparmakov commit 53d59aad9326199ef5749c97513db498309a057e tree 3fc3e99673cf5c5c8f275cca1ec7ed2dfe5fa192 parent 1ef334d372d6a7006e20f56f7e85d8f4ec32e3c2 author Anton Altaparmakov Thu, 17 Mar 2005 10:51:33 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:39:30 +0100 NTFS: Fix compilation when configured read-only. - Add ifdef NTFS_RW around write specific code if fs/ntfs/runlist.[hc] and fs/ntfs/attrib.[hc]. - Minor bugfix to fs/ntfs/attrib.c::ntfs_attr_make_non_resident() where the runlist was not freed in all error cases. - Add fs/ntfs/runlist.[hc]::ntfs_rl_find_vcn_nolock(). Signed-off-by: Anton Altaparmakov commit 1ef334d372d6a7006e20f56f7e85d8f4ec32e3c2 tree 5b03ef9048fec32ebd7b1d75686b1dc73599c661 parent 905685f68fc72844b8c2689c39a5c6c35e840152 author Anton Altaparmakov Mon, 04 Apr 2005 14:59:42 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:27:45 +0100 NTFS: Include linux/swap.h in fs/ntfs/attrib.c for mark_page_accessed(). Signed-off-by: Anton Altaparmakov commit 905685f68fc72844b8c2689c39a5c6c35e840152 tree 0ff1d145a7771b24643c1b685ecbb3f791cda6fb parent 43b01fda8b17b2b63e7dcdeed11c2ebba56b1fc9 author Anton Altaparmakov Thu, 10 Mar 2005 11:06:19 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:26:01 +0100 NTFS: - Modify ->readpage and ->writepage (fs/ntfs/aops.c) so they detect and handle the case where an attribute is converted from resident to non-resident by a concurrent file write. - Reorder some operations when converting an attribute from resident to non-resident (fs/ntfs/attrib.c) so it is safe wrt concurrent ->readpage and ->writepage. Signed-off-by: Anton Altaparmakov commit 43b01fda8b17b2b63e7dcdeed11c2ebba56b1fc9 tree fd925e409efa2787469689180afa78152947c4a0 parent 2bfb4fff3e9731ecfe745881e53cfb2e646c47bb author Anton Altaparmakov Wed, 09 Mar 2005 15:18:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:23:20 +0100 NTFS: Fix sign of various error return values to be negative in fs/ntfs/lcnalloc.c. Signed-off-by: Anton Altaparmakov commit 2bfb4fff3e9731ecfe745881e53cfb2e646c47bb tree a607df8a7d0532803584dab19bf13b69acbb668d parent c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 author Anton Altaparmakov Wed, 09 Mar 2005 15:15:06 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:22:07 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_make_non_resident(). Signed-off-by: Anton Altaparmakov commit c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 tree 773105bdde7454d10dccc127048a9847f7e01f11 parent 271849a98849394ea85fa7caa8a1aaa2b3a849b7 author Anton Altaparmakov Mon, 07 Mar 2005 21:43:38 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:20:49 +0100 NTFS: - Fix bug in fs/ntfs/attrib.c::ntfs_find_vcn_nolock() where after dropping the read lock and taking the write lock we were not checking whether someone else did not already do the work we wanted to do. - Rename ntfs_find_vcn_nolock() to ntfs_attr_find_vcn_nolock(). - Tidy up some comments in fs/ntfs/runlist.c. - Add LCN_ENOMEM and LCN_EIO definitions to fs/ntfs/runlist.h. Signed-off-by: Anton Altaparmakov commit 271849a98849394ea85fa7caa8a1aaa2b3a849b7 tree 08e932656e463845faaa3610059c67e16aa92b7d parent 7e693073a940c7484c0c21e3e1603e29ce46f30c author Anton Altaparmakov Mon, 07 Mar 2005 21:36:18 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:18:43 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_vcn_to_lcn_nolock() used by the new write code. Signed-off-by: Anton Altaparmakov commit 7e693073a940c7484c0c21e3e1603e29ce46f30c tree 865f7c9374fd2c4f072c17b97aff2225bfc06a75 parent 9451f8519c5e6d5d064c30033fc3d4ce77de321c author Anton Altaparmakov Thu, 03 Mar 2005 16:38:59 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:17:08 +0100 NTFS: Add AT_EA in addition to AT_DATA to whitelist for being allowed to be non-resident in fs/ntfs/attrib.c::ntfs_attr_can_be_non_resident(). Signed-off-by: Anton Altaparmakov commit 9451f8519c5e6d5d064c30033fc3d4ce77de321c tree 104eedf065c4091838a27f6e674875a035c30820 parent 413826868fb49d200b741bcaeaf58ea5c5e45321 author Anton Altaparmakov Thu, 03 Mar 2005 14:43:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:15:46 +0100 NTFS: Correct sparse file handling. The compressed values need to be checked and set in the ntfs inode as done for compressed files and the compressed size needs to be used for vfs inode->i_blocks instead of the allocated size, again, as done for compressed files. Signed-off-by: Anton Altaparmakov commit 413826868fb49d200b741bcaeaf58ea5c5e45321 tree a106b6e0bae52a68a0b824f1999ab694d894a1f2 parent 8907547d4b099e67762ea4891c127ea1f6dd1cb7 author Anton Altaparmakov Thu, 03 Mar 2005 13:44:15 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:13:56 +0100 NTFS: Make fs/ntfs/namei.c::ntfs_get_{parent,dentry} static and move the definition of ntfs_export_ops from fs/ntfs/super.c to namei.c. Also, declare ntfs_export_ops in fs/ntfs/ntfs.h. Signed-off-by: Anton Altaparmakov commit 8907547d4b099e67762ea4891c127ea1f6dd1cb7 tree 74fa9c887db8a7915325ad9a76d874ed134c0d9a parent 5ae9fcf8f329baba4bada8719cb0337eef083a1a author Randy Dunlap Thu, 03 Mar 2005 11:19:53 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:11:47 +0100 NTFS: Fix printk format warnings on ia64. (Randy Dunlap) Signed-off-by: Randy Dunlap Signed-off-by: Anton Altaparmakov commit 5ae9fcf8f329baba4bada8719cb0337eef083a1a tree 28f268908b5bd780a114825879d7bc35d98d9dca parent 37e4c13b987a7923ec13bda7368901b3e094fecb author Anton Altaparmakov Wed, 02 Mar 2005 17:03:24 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:04:54 +0100 NTFS: - Set the ntfs_inode->allocated_size to the real allocated size in the mft record for resident attributes (fs/ntfs/inode.c). - Small readability cleanup to use "a" instead of "ctx->attr" everywhere (fs/ntfs/inode.c). Signed-off-by: Anton Altaparmakov commit 37e4c13b987a7923ec13bda7368901b3e094fecb tree 781dcc0990fc42c26492206261d4b5f325715821 parent d8ec785e0bf2941ed546711c2f240a3e030c39c7 author Anton Altaparmakov Fri, 18 Feb 2005 10:03:13 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:03:01 +0100 NTFS: Fix a nasty runlist merge bug when merging two holes. Signed-off-by: Anton Altaparmakov commit d8ec785e0bf2941ed546711c2f240a3e030c39c7 tree c4b69ce75a331731d9616fa9868cceba4e90325e parent b6ad6c52fe36ab35d0fe28c064f59de2ba670c2a author Anton Altaparmakov Fri, 18 Feb 2005 09:23:39 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:01:13 +0100 NTFS: Change time to u64 in time.h::ntfs2utc() as it otherwise generates a warning in the do_div() call on sparc32. Thanks to Meelis Roos for the report and analysis of the warning. Signed-off-by: Anton Altaparmakov commit b6ad6c52fe36ab35d0fe28c064f59de2ba670c2a tree d888c28a2c3c7fa733045dc7dc9c9bc7f157bf4a parent 1a0df15acdae065789446aca83021c72b71db9a5 author Anton Altaparmakov Tue, 15 Feb 2005 10:08:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:56:31 +0100 NTFS: - Split ntfs_map_runlist() into ntfs_map_runlist() and a non-locking helper ntfs_map_runlist_nolock() which is used by ntfs_map_runlist(). This allows us to map runlist fragments with the runlist lock already held without having to drop and reacquire it around the call. Adapt all callers. - Change ntfs_find_vcn() to ntfs_find_vcn_nolock() which takes a locked runlist. This allows us to find runlist elements with the runlist lock already held without having to drop and reacquire it around the call. Adapt all callers. Signed-off-by: Anton Altaparmakov commit 1a0df15acdae065789446aca83021c72b71db9a5 tree bb3bf97da4f2753aba46e1dd4855c0ef9f7c55b8 parent c002f42543e155dd2b5b5039ea2637ab26c82513 author Anton Altaparmakov Thu, 03 Feb 2005 12:04:36 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:54:37 +0100 NTFS: Fix a bug in fs/ntfs/runlist.c::ntfs_mapping_pairs_decompress() in the creation of the unmapped runlist element for the base attribute extent. Signed-off-by: Anton Altaparmakov commit c002f42543e155dd2b5b5039ea2637ab26c82513 tree ea408493d2e0e9096166ab39a8657689c15c7dfa parent f40661be038ce6ed9ef6a8b80307a9153bd95769 author Anton Altaparmakov Thu, 03 Feb 2005 12:02:56 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:53:01 +0100 NTFS: - Add disable_sparse mount option together with a per volume sparse enable bit which is set appropriately and a per inode sparse disable bit which is preset on some system file inodes as appropriate. - Enforce that sparse support is disabled on NTFS volumes pre 3.0. Signed-off-by: Anton Altaparmakov commit f40661be038ce6ed9ef6a8b80307a9153bd95769 tree 61c9c81643c96ffa7cdb186b10e5e2f141493b56 parent 946929d813a3bde095678526dd037ab9ac6efe35 author Anton Altaparmakov Thu, 13 Jan 2005 16:03:38 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:48:11 +0100 NTFS: Optimise/reorganise some error handling code in fs/ntfs/aops.c. Signed-off-by: Anton Altaparmakov commit 946929d813a3bde095678526dd037ab9ac6efe35 tree eb2601dc94364d9d376be372ccaadb304c921653 parent 3834c3f227725e2395840aed82342bda4ee9d379 author Anton Altaparmakov Thu, 13 Jan 2005 15:26:29 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:47:05 +0100 NTFS: Fixup the resident attribute resizing code in fs/ntfs/aops.c::ntfs_{prepare,commit}_write()() and re-enable it. It should be safe now. (Famous last words...) Signed-off-by: Anton Altaparmakov commit 3834c3f227725e2395840aed82342bda4ee9d379 tree 7a145a78efc44cb5ddce614cdd2618c710c8e3b7 parent 149f0c5200188a43f1fc11ca2fb14d8183013d10 author Anton Altaparmakov Thu, 13 Jan 2005 11:04:39 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:45:36 +0100 NTFS: Fix stupid bug in fs/ntfs/mft.c introduced in last changeset. Signed-off-by: Anton Altaparmakov commit 149f0c5200188a43f1fc11ca2fb14d8183013d10 tree 6fed760d28b70790e26803f6f18a663eb487764c parent 07a4e2da7dd3c9345f84b2552872f9d38c257451 author Anton Altaparmakov Wed, 12 Jan 2005 13:52:30 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:43:29 +0100 NTFS: Repeat a failed ntfs_truncate() in fs/ntfs/aops.c::ntfs_writepage() and abort if it fails again. Signed-off-by: Anton Altaparmakov commit 07a4e2da7dd3c9345f84b2552872f9d38c257451 tree 8fbd4c3e11196752ae8ff7944ccb26b93cafbb1c parent f50f3ac51983025405a71b70b033cc6bcb0d1fc1 author Anton Altaparmakov Wed, 12 Jan 2005 13:08:26 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:39:08 +0100 NTFS: Use i_size_{read,write}() in fs/ntfs/{aops.c,mft.c} and protect access to the i_size and other size fields using the size_lock. Signed-off-by: Anton Altaparmakov commit f50f3ac51983025405a71b70b033cc6bcb0d1fc1 tree 98c9e85271354a878237d77c30a144680cbc1bb1 parent 218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b author Anton Altaparmakov Fri, 19 Nov 2004 22:16:00 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:37:22 +0100 NTFS: Use i_size_read() in fs/ntfs/inode.c once and then use the cached value afterwards when reading the size of the bitmap inode. Signed-off-by: Anton Altaparmakov commit 218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b tree b7621daec3c516507fed85a25e9e82198589f216 parent 206f9f35b2348b7b966ff18a5564b8a3ca325ed5 author Anton Altaparmakov Thu, 18 Nov 2004 20:34:59 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:34:45 +0100 NTFS: - Use i_size_read() in fs/ntfs/super.c once and then use the cached value afterwards. Cache the initialized_size in the same way and protect access to the two sizes using the size_lock. - Minor optimization to fs/ntfs/super.c::ntfs_statfs() and its helpers. Signed-off-by: Anton Altaparmakov commit 206f9f35b2348b7b966ff18a5564b8a3ca325ed5 tree 2f221334cf8b1b9756a58e323b5fba2cdd4dc583 parent 367636772f094fd840d2d79e75257bcfaa28e70f author Anton Altaparmakov Thu, 18 Nov 2004 15:01:06 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:32:43 +0100 NTFS: In fs/ntfs/dir.c, use i_size_read() once and then the cached value afterwards. Signed-off-by: Anton Altaparmakov commit 367636772f094fd840d2d79e75257bcfaa28e70f tree a8d8f3154eea80710a8cad2b7de082046aa012f0 parent 899101aebb9ab3692aa8efe2805174ee0ee3edb5 author Anton Altaparmakov Thu, 18 Nov 2004 13:46:45 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:30:29 +0100 NTFS: - In fs/ntfs/compress.c, use i_size_read() at the start and then use the cached value everywhere. Cache the initialized_size in the same way and protect the critical region where the two sizes are read using the new size_lock of the ntfs inode. - Add the new size_lock to the ntfs_inode structure (fs/ntfs/inode.h) and initialize it (fs/ntfs/inode.c). Signed-off-by: Anton Altaparmakov commit 899101aebb9ab3692aa8efe2805174ee0ee3edb5 tree eee4728a7d82c6a33409313b561296eb66d984ef parent 36050271e6ec19390184e1a83470eb7e725cad65 parent 897f5ab2cd733a77a2279268262919caa8154b9d author Anton Altaparmakov Thu, 05 May 2005 10:15:25 +0100 committer Anton Altaparmakov Thu, 05 May 2005 10:15:25 +0100 Merge with /usr/src/ntfs-2.6.git commit 36050271e6ec19390184e1a83470eb7e725cad65 tree ef2c84331d71890e9a68eb63d925d5545cbb4103 parent d4b9ba7bf6f38cff55b5d95a0db7dd91311ce20a parent 1d42a0ecf478962e8aede355a0be41365c117ff0 author Anton Altaparmakov Thu, 05 May 2005 00:08:35 +0100 committer Anton Altaparmakov Thu, 05 May 2005 00:08:35 +0100 Merge with /usr/src/ntfs-2.6.git commit d4b9ba7bf6f38cff55b5d95a0db7dd91311ce20a tree b86c83f8c04e159bb8f806990cbf61e88ceebf30 parent db30d160cd8dfe1e53435fd76f4189778f1c728e author Anton Altaparmakov Wed, 17 Nov 2004 15:45:08 +0000 committer Anton Altaparmakov Wed, 04 May 2005 17:02:25 +0100 NTFS: Use i_size_read() in fs/ntfs/file.c::ntfs_file_open(). Signed-off-by: Anton Altaparmakov commit db30d160cd8dfe1e53435fd76f4189778f1c728e tree add695bfe2311c653143b08fa717ad909bf48f5c parent 66129f88c4cc719591f687e5c8c764fe9d3e437a author Anton Altaparmakov Thu, 11 Nov 2004 12:42:00 +0000 committer Anton Altaparmakov Wed, 04 May 2005 17:00:18 +0100 NTFS: Use i_size_read() once and then use the cached value in fs/ntfs/lcnalloc.c::ntfs_cluster_alloc(). Signed-off-by: Anton Altaparmakov commit 66129f88c4cc719591f687e5c8c764fe9d3e437a tree 3fc9f181a1666eff445bdb6a243dd4e080c233f9 parent da28438cae9a271c5c232177f81dfb243de9b7fa author Anton Altaparmakov Thu, 11 Nov 2004 12:34:00 +0000 committer Anton Altaparmakov Wed, 04 May 2005 16:57:47 +0100 NTFS: Use i_size_read() in fs/ntfs/logfile.c::ntfs_{check,empty}_logfile(). Signed-off-by: Anton Altaparmakov commit da28438cae9a271c5c232177f81dfb243de9b7fa tree 40817e52c229dbb288f6425b2056c1ad61ad6470 parent 8800cea62025a5209d110c5fa5990429239d6eee author Anton Altaparmakov Thu, 11 Nov 2004 11:18:10 +0000 committer Anton Altaparmakov Wed, 04 May 2005 14:24:16 +0100 NTFS: Use i_size_read() in fs/ntfs/attrib.c::ntfs_attr_set(). Signed-off-by: Anton Altaparmakov