ChangeSet@1.1991.1.1, 2005-01-30 13:20:58-08:00, kaber@trash.net [PATCH] Fix conntrack fragment route cache memory leak Thanks to Russell King for some excellent debugging. Conntrack defragments locally generated packets before they hit ip_fragment. In this case the fragments have skb->dst set, and that needs to be released. Signed-off-by: Linus Torvalds ChangeSet@1.1992, 2005-01-30 19:38:54+00:00, rmk@flint.arm.linux.org.uk [ARM] [3/4] Introduce usr_entry macro to contain common entry code This is the third of 4 patches which factor out common code in the ARM exception entry assembly code, aiming towards a reduction in the size of the changes required here for SMP support. These patches are low impact, and will be merged over the coarse of the next few days. This patch addresses the code handling exception entry from user modes. ChangeSet@1.1990, 2005-01-29 09:24:47-08:00, axboe@suse.de [PATCH] cfq-iosched: in_driver accounting bug Yet another accounting bug, this time hits on requeue. It is possible for ->accounted to be set with ->in_flight, so don't nest the cfq_account_completion() inside the ->in_flight check. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds ChangeSet@1.1989, 2005-01-29 09:24:34-08:00, ak@suse.de [PATCH] x86-64: Fix empty nodes handling with SRAT Handle empty nodes in SRAT parsing. Avoids an oops at boot time. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1988, 2005-01-29 09:24:19-08:00, ak@suse.de [PATCH] x86-64: Fix missing TLB flushes in change_page_attr Fix bug in change_page_attr - with multiple pages it would not flush correctly. Also add a small optimization of not flushing when not needed. Found and fixed by Andrea. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1986.1.1, 2005-01-29 13:08:30+00:00, rmk@flint.arm.linux.org.uk [ARM] [2/4] Introduce inv_entry macro to contain common entry code This is the second of 4 patches which factor out common code in the ARM exception entry assembly code, aiming towards a reduction in the size of the changes required here for SMP support. These patches are low impact, and will be merged over the coarse of the next 3 days. This patch addresses the code handling exception entry from invalid (irq, fiq, abort) modes. However, in converting to a macro, a minor bug has been fixed which would merely cause a misleading register dump. ChangeSet@1.1987, 2005-01-28 22:29:02-05:00, mkrikis@yahoo.com [PATCH] fix an oops in ata_to_sense_error Signed-off-by: Jeff Garzik ChangeSet@1.1986, 2005-01-28 16:13:31-08:00, Andries.Brouwer@cwi.nl [PATCH] document atkbd.softraw Document atkbd.softraw (and shorten a few long lines nearby). ChangeSet@1.1982.1.5, 2005-01-28 23:23:38+00:00, rmk@flint.arm.linux.org.uk [ARM] [1/4] Introduce svc_entry macro for common entry code This is the first of 4 patches which factor out common code in the ARM exception entry assembly code, aiming towards a reduction in the size of the changes required here for SMP support. These patches are low impact, and will be merged over the coarse of the next 4 days. This patch addresses the code handling exception entry from supervisor (kernel) mode. ChangeSet@1.1982.1.4, 2005-01-28 22:39:31+00:00, elf@com.rmk.(none) [ARM PATCH] 2442/1: Simplifying NODES_SHIFT Patch from Marc Singer The special case for the Sharp LH processors is unnecessary. A macro override makes it cleaner and concentrates the change where it ought to be. The default in include/asm-arm/numnodes.h means that only platforms that care to change the default need to do anything. Signed-off-by: Marc Singer Signed-off-by: Russell King ChangeSet@1.1982.1.3, 2005-01-28 22:14:31+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2440/1: S3C2410 - serial auto-flow-control enable Patch from Ben Dooks Patch from Shannon Holland Enable automatic flow control if requested. Signed-off-by: Shannon Holland Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.1.2, 2005-01-28 22:08:02+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2439/1: S3C2410 - serial driver parity selection Patch from Ben Dooks Patch from Dimitry Andric. The s3c2410 serial driver selects the opposite parity mode if parity is enabled. Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.1.1, 2005-01-28 22:01:24+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2438/1: S3C2410 - fix IO address calculations Patch from Ben Dooks Patch from Dimitry Andric. The include/asm-arm/arch-s3c2410/io.h file converts PC style port addresses to real ARM addresses, and needs to return an `void __iomem *` to avoid a number of warnings: CC drivers/ide/ide-iops.o drivers/ide/ide-iops.c: In function `ide_insw': drivers/ide/ide-iops.c:49: warning: passing arg 1 of `__raw_readsw' makes pointer from integer without a cast drivers/ide/ide-iops.c: In function `ide_insl': drivers/ide/ide-iops.c:59: warning: passing arg 1 of `__raw_readsl' makes pointer from integer without a cast drivers/ide/ide-iops.c: In function `ide_outsw': drivers/ide/ide-iops.c:79: warning: passing arg 1 of `__raw_writesw' makes pointer from integer without a cast drivers/ide/ide-iops.c: In function `ide_outsl': drivers/ide/ide-iops.c:89: warning: passing arg 1 of `__raw_writesl' makes pointer from integer without a cast CC lib/iomap.o lib/iomap.c: In function `ioread8_rep': lib/iomap.c:140: warning: passing arg 1 of `__raw_readsb' makes pointer from integer without a cast lib/iomap.c: In function `ioread16_rep': lib/iomap.c:144: warning: passing arg 1 of `__raw_readsw' makes pointer from integer without a cast lib/iomap.c: In function `ioread32_rep': lib/iomap.c:148: warning: passing arg 1 of `__raw_readsl' makes pointer from integer without a cast lib/iomap.c: In function `iowrite8_rep': lib/iomap.c:156: warning: passing arg 1 of `__raw_writesb' makes pointer from integer without a cast lib/iomap.c: In function `iowrite16_rep': lib/iomap.c:160: warning: passing arg 1 of `__raw_writesw' makes pointer from integer without a cast lib/iomap.c: In function `iowrite32_rep': lib/iomap.c:164: warning: passing arg 1 of `__raw_writesl' makes pointer from integer without a cast Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1984, 2005-01-28 22:38:30+01:00, wim@iguana.be [WATCHDOG] i8xx_tco.c-ICH4/6/7-patch Added support for the ICH4-M, ICH6, ICH6R, ICH6-M, ICH6W and ICH6RW chipsets. Also added support for the "undocumented" ICH7. ChangeSet@1.1983, 2005-01-28 09:14:34-08:00, torvalds@ppc970.osdl.org Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982, 2005-01-27 17:10:18-08:00, torvalds@ppc970.osdl.org Fix permissions on drivers/scsi/a100u2w.c ChangeSet@1.1966.86.6, 2005-01-28 00:08:57+00:00, dvrabel@com.rmk.(none) [ARM PATCH] 2437/1: ixp4xx: cosmetic change to arch_reset() Patch from David Vrabel Use some #define'd constants in the ixp4xx's arch_reset(). Signed-off-by: David Vrabel Signed-off-by: Russell King ChangeSet@1.1966.87.5, 2005-01-27 17:13:18-05:00, shemminger@osdl.org [PATCH] (2/2) skfddi: netdev_priv and cast cleanup Use netdev_priv() and get rid of the PRIV() macro by using the correct data element. Also eliminate casts, where type is correct. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik ChangeSet@1.1966.87.4, 2005-01-27 17:12:59-05:00, shemminger@osdl.org [PATCH] (1/2) skfddi: initialization When the skfddi driver was converted to the new PCI netdevice interface, it never got tested with real hardware. The initialization got broken, this should fix it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik ChangeSet@1.1966.87.3, 2005-01-27 17:08:40-05:00, galak@freescale.com [PATCH] netdrv gianfar: Fix usage of gfar_read in debug code Fixes instances where gfar_read() was invoked in debug codewith a value, rather than a pointer. Signed-of-by: Andy Fleming Signed-of-by: Kumar Gala Signed-off-by: Jeff Garzik ChangeSet@1.1966.87.2, 2005-01-27 16:57:11-05:00, akpm@osdl.org [PATCH] e100 locking up netconsole. From: Steven Rostedt If the transmit buffer of the e100 overflowed, then the system would hang. This was caused because the e100 driver would stop the queue, and netpoll_send_pkt in netpoll.c would then loop forever. This is because the e100 net_poll would never start the queue again after the transmits have completed. For those that use the e100 and netconsole, all you need to do is a sysreq 't' to lock up the system. Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.1966.1.176, 2005-01-27 16:52:54-05:00, jason.d.gaston@intel.com [PATCH] SATA AHCI support for Intel ICH7R This patch adds the Intel ICH7R DID's to the ahci.c SATA AHCI driver for ICH7R SATA support. Signed-off-by:  Jason Gaston Signed-off-by: Jeff Garzik ChangeSet@1.1966.87.1, 2005-01-27 16:13:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] de2104x: Fixes breakage in getting MAC address Fixes breakage in getting MAC address on built-in tulip in alphastation 200 - without delay we are skipping bytes. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik ChangeSet@1.1966.1.175, 2005-01-27 15:37:39-05:00, haroldo.gamal@infolink.com.br [libata sata_sil] add another Seagate driver to blacklist ChangeSet@1.1966.86.5, 2005-01-27 19:31:47+00:00, rmk@flint.arm.linux.org.uk [ARM] Replace duplicate sets of vector code with assembler macro. Signed-off-by: Russell King ChangeSet@1.1966.86.4, 2005-01-27 19:13:38+00:00, rmk@flint.arm.linux.org.uk [ARM] Make vector labels consistent with naming scheme Signed-off-by: Russell King ChangeSet@1.1978, 2005-01-27 09:37:23-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/vojtech/for-linus into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1975.1.3, 2005-01-27 14:58:43+01:00, vojtech@silver.ucw.cz input: Add missing input_sync() calls to atkbd.c. Signed-off-by: Vojtech Pavlik ChangeSet@1.1975.1.2, 2005-01-27 14:48:48+01:00, vojtech@silver.ucw.cz input: Enable scancode event generation in the HID driver. This should allow changing HID->event mappings (via EVIOCS*) in the future and make debugging easier now. Signed-off-by: Vojtech Pavlik ChangeSet@1.1975.1.1, 2005-01-27 13:47:19+01:00, vojtech@silver.ucw.cz input: Always bring the i8042 multiplexer out of multiplexing mode before rebooting. Signed-off-by: Vojtech Pavlik ChangeSet@1.1976, 2005-01-27 01:18:50-05:00, dtor_core@ameritech.net Input: ACK/NAK processing rules in libps2 were too strict - while it is a good idea to discard any character other than ACK/NAK during probe it causes missing releases and keys getting "stuck" when a command issued on enabled device. The effect is easily demonstrated with the following command: while true; do xset led 3; xset -led 3; done With this change extra characters will be discarded only if device has not been marked as "enabled" yet. Signed-off-by: Dmitry Torokhov ChangeSet@1.1966.1.174, 2005-01-26 10:43:01-08:00, herbert@13thfloor.at [PATCH] fix ext3 quota allocation bug on error path ... looking at ext3_xattr_block_set() [fs/ext3/xattr.c] ... I see that error = -EDQUOT; if (DQUOT_ALLOC_BLOCK(inode, 1)) goto cleanup; allocates a quota block, but right after that several error echecks happen ... if (error) goto cleanup; and I don't see any DQUOT_FREE_BLOCK() in the errorpath cleanup: if (ce) mb_cache_entry_release(ce); brelse(new_bh); if (!(bs->bh && s->base == bs->bh->b_data)) kfree(s->base); return error; I'd suggest the attached fix. Acked-by: Jan Kara Acked-by: Andreas Gruenbacher Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.173, 2005-01-26 08:47:14-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/davem/net-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1966.82.8, 2005-01-25 22:06:30-08:00, tgraf@suug.ch [NET]: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.1966.1.172, 2005-01-25 22:00:23-08:00, James.Bottomley@SteelEye.com [PATCH] fix broken cross compiles The change to kbuild to use -isystem `gcc -print-file-name=include` broke our parisc crosscompile (and presumably everyone else's). The reason is that you have a := in the NOSTDINC_FLAGS rule, which is evaluated in situ (i.e. before we've had a chance to set CROSSCOMPILE on CC) so the gcc include path is actually the native one not the crosscompiler one. On parisc this causes us to be unable to handle _builtin_va functions, but I bet there are a heap of other problems. Acked-by: Sam Ravnborg Signed-off-by: Linus Torvalds ChangeSet@1.1966.82.7, 2005-01-25 21:53:42-08:00, herbert@gondor.apana.org.au [XFRM]: Probe selected algorithm only. This patch removes an annoying problem in xfrm_user. As it is every time an SA is added it probes every known algorithm in the universe. Now if they all existed it would be OK. However, for the ones which don't actually exist this causes multiple /sbin/modprobe processes to be spawned which slows the system down when you're adding hundreds of SAs. Since we know the type of algorithm required when we're adding a new SA, we can get away with only probing the selected algorithms. This is what the following patch does for xfrm_user. Signed-off-by: Herbert Xu Signed-off-by: James Morris Signed-off-by: David S. Miller ChangeSet@1.1966.83.18, 2005-01-25 21:34:49-08:00, akpm@osdl.org [TUN/TAP]: Add missing trans_start and last_rx setting. But as stated in bonding.txt, the ARP monitor requires the underlying driver to update dev->trans_start and dev->last_rx. The patch below adds the required functionality to the TUN/TAP driver. Please test if this helps in your case. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.1966.83.17, 2005-01-25 21:33:24-08:00, akpm@osdl.org [NET]: netpoll: Fix NAPI polling race on SMP From: Matt Mackall This avoids a nasty NAPI race by checking that work was actually scheduled for the CPU netpoll is running on and pulls the NAPI-specific code out into a separate function. Original idea from Jeff Moyer Tested by Andrew Tridgell Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.1966.83.16, 2005-01-25 21:31:12-08:00, mostrows@watson.ibm.com [MAINTAINERS]: Fix my email address in PPPOE entry. Signed-off-by: David S. Miller ChangeSet@1.1966.83.15, 2005-01-25 21:19:37-08:00, rusty@rustcorp.com.au [NETFILTER]: Avoid breaking userspace due to tuple change Andreas Schwab points out that the ipt_conntrack match exposes struct ChangeSet@1.1966.83.14, 2005-01-25 21:18:13-08:00, rusty@rustcorp.com.au [NETFILTER]: IRC Zero Port Fix Ian Kumlien reported that new NAT code started sending out DCC requests with 0 as the IP address. That prompted me to write a simple IRC test case, which both illustrated the bug, and found another one in that the wrong expectation was being set up when NAT occurred. Signed-off-by: Rusty Russell Signed-off-by: David S. Miller ChangeSet@1.1966.83.13, 2005-01-25 21:16:24-08:00, rddunlap@osdl.org [VLAN]: Eliminate gcc warnings with PROC_FS=n Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller ChangeSet@1.1966.1.171, 2005-01-25 21:15:28-08:00, nathanl@austin.ibm.com [PATCH] ppc64: fix use kref for device_node refcounting (fix) The recent ppc64 patch to use kref for device_node refcounting introduced an unbalanced get/put in of_add_node which would cause newly-added device nodes to be prematurely freed. Sorry for the screwup, a more rigorously tested fix follows. Signed-off-by: Nathan Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.170, 2005-01-25 20:56:30-08:00, olh@suse.de [PATCH] fix architecture names in hugetlbpage.txt Anton fixed the code recently, but forgot to fix the documentation. There is no "ia32" thing, its i386. The other thing is named 'ia64' in arch/ Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.169, 2005-01-25 20:56:12-08:00, rusty@rustcorp.com.au [PATCH] Include type information as module info where possible Module parameters no longer have a type in general, as we use a callback system (module_param_call()). However, it's useful to include type information in the commonly-used wrappers: module_param, module_param_string and module_param_array. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.168, 2005-01-25 20:55:59-08:00, adaplas@hotpop.com [PATCH] matroxfb: FB_MATROX_G Kconfig changes The current Kconfig entries for the Matrox G cards are quite confusing: config FB_MATROX_G450 bool "G100/G200/G400/G450/G550 support" depends on FB_MATROX config FB_MATROX_G100A bool "G100/G200/G400 support" depends on FB_MATROX && !FB_MATROX_G450 The patch below contains: - remove FB_MATROX_G100{,A} and rename FB_MATROX_G to FB_MATROX_G450 (FB_MATROX_G450 included support from the G100 to the G550, so I don't see any non-historic reason why to call it G450) - small update for the FB_MATROX_G Kconfig text The disadvantage of this patch is, that you can no longer select support only for the G100-G400 without supporting the G450 and G550. But compared with the current confusing Kconfig setup, I don't think that's a big issue. Signed-off-by: Adrian Bunk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.167, 2005-01-25 20:55:42-08:00, adaplas@hotpop.com [PATCH] backlight: Fix compile error if CONFIG_FB is unset With Andrew Zabolotny LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o(.text+0x9bfa): In function `lcd_device_register': : undefined reference to `fb_register_client' drivers/built-in.o(.text+0x9ce3): In function `lcd_device_unregister': : undefined reference to `fb_unregister_client' drivers/built-in.o(.text+0xa16a): In function `backlight_device_register': : undefined reference to `fb_register_client' drivers/built-in.o(.text+0xa253): In function `backlight_device_unregister': : undefined reference to `fb_unregister_client' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.166, 2005-01-25 20:55:28-08:00, adaplas@hotpop.com [PATCH] fbcon: Save blank state last Save blank state after do_blank|unblank_screen() since this flag is checked in fbcon_blank(). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.165, 2005-01-25 20:55:14-08:00, adaplas@hotpop.com [PATCH] intelfb: Workaround for 830M This is a work around for the 830M with intelfb. Relative to 2.6.10. Without this patch, updates to the DSPACNTR register will be ignored. On the 830M, the display plane needs to be enabled before writing to any of the other bits in the DSPACNTR register. This patch detects the specific case, temporarily enables the plane, updates the register, and then disables the plane. It also appears to require some settling time, but not an entire frame's time. Without this change, the pixel format fields in DSPACNTR won't get written on the 830M. Signed-off-by: Andrew Pfiffer Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.164, 2005-01-25 20:54:57-08:00, adaplas@hotpop.com [PATCH] vesafb: Change return error id With I'm getting a message in dmesg: "localhost kernel: vesafb: probe of vesafb0 failed with error -6" I searched the web, and found that a lot of people are getting this, but I couldn't find an answer, so I looked into it. This appears to be because "vesafb" returns -ENXIO ("No such device or address") when its probe function fails. However, driverse/base/bus.c spews an error message during device_attach() if a matching driver's probe function returns anything but -ENODEV ("No such device"). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.163, 2005-01-25 20:54:43-08:00, adaplas@hotpop.com [PATCH] radeonfb: Set accelerator id Set accelerator id for radeonfb. This id is checked by some user apps such as DirectFB. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.162, 2005-01-25 20:54:24-08:00, kraxel@bytesex.org [PATCH] add i2c adapter id for the cx88 driver. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.161, 2005-01-25 20:54:10-08:00, kraxel@bytesex.org [PATCH] v4l-saa7134-module fix New version, this time using a #define, which should kill the reference to need_* as well ... Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.160, 2005-01-25 20:53:56-08:00, kraxel@bytesex.org [PATCH] v4l: saa7134 module - fix saa7134 module loading issues. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.159, 2005-01-25 20:53:37-08:00, kraxel@bytesex.org [PATCH] v4l: bttv update - some cleanups merged. - use new tveeprom module to configure Hauppauge cards. - add new tv cards. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.158, 2005-01-25 20:53:22-08:00, kraxel@bytesex.org [PATCH] v4l: bttv IR input driver update This patch enables IR support for one AverMedia card and drops a obsolete function. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.157, 2005-01-25 20:53:05-08:00, kraxel@bytesex.org [PATCH] v4l: tvaudio update - minor msp3400 updates. - add tea6320 support. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.156, 2005-01-25 20:52:50-08:00, kraxel@bytesex.org [PATCH] v4l: add tveeprom module. Add a module which can parse config informations out of TV card eeproms. Will be used by bttv, cx88 and ivtv. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.155, 2005-01-25 20:52:33-08:00, kraxel@bytesex.org [PATCH] v4l: tuner update - add new tuner types. - add support for digital tv tuning. - make tda9887 output ports more configurable. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.154, 2005-01-25 20:52:17-08:00, kraxel@bytesex.org [PATCH] v4l2 tuner api update Add new tuner type to the v4l2 API. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.153, 2005-01-25 20:52:00-08:00, kraxel@bytesex.org [PATCH] v4l: video-buf update - Fix a memory leak in video-buf.c - Small update for the video-buf-dvb.c module. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.152, 2005-01-25 20:51:45-08:00, kraxel@bytesex.org [PATCH] video/zr36120: remove casts Remove unneeded casts of (void *) pointers. Signed-off-by: Domen Puncer Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.151, 2005-01-25 20:51:29-08:00, kraxel@bytesex.org [PATCH] video/w9966: remove casts Remove unneeded casts of (void *) pointers. Signed-off-by: Domen Puncer Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.150, 2005-01-25 20:51:15-08:00, kraxel@bytesex.org [PATCH] video/arv: remove casts Remove unneeded casts of (void *) pointers. Signed-off-by: Domen Puncer Signed-off-by: Gerd Knorr - Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.149, 2005-01-25 20:50:58-08:00, kraxel@bytesex.org [PATCH] videotext: ioctls changed to use _IO macros From: Michael Geng This patch switches the videotext drivers over to use the _IO macros for ioctls. video_usercopy() works correctly then. The drivers will also map the old to the new ioctl numbers to make sure old apps don't break. The patch also updates Documentation/ioctl.h to reflect that change. and deletes a unused struct in include/linux/videotext.h. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.148, 2005-01-25 20:50:44-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: use unsigned long for IO port address With Randy Dunlap PCMCIA: convert internal I/O port addresses to unsigned long (kio_addr_t). Dominik pointed out that some ioaddr_t data are exposed to userspace, so don't touch those structures. Linus said: But the right thing is definitely to make an IO port pointer be "unsigned int" or even "unsigned long". URL: http://lkml.org/lkml/2005/1/11/168 Signed-off-by: Randy Dunlap Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.147, 2005-01-25 20:50:25-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: socket->{a,c}region are unused From: Christoph Hellwig socket->{a,c}_region aren't ever touched elsewhere, so let's kill this. Signed-off-by: Christoph Hellwig Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.146, 2005-01-25 20:50:11-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: i82092: fix checking of return value from request_region From: Randy Dunlap i82092: check return value from request_region() correctly; apparently unused for awhile now; Signed-off-by: Randy Dunlap Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.145, 2005-01-25 20:49:54-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: i82365: use CONFIG_PNP instead of __ISAPNP__ From: Randy Dunlap Use CONFIG_PNP consistenly, for allocating and freeing resources, drop __ISAPNP__. Signed-off-by: Randy Dunlap Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.144, 2005-01-25 20:49:39-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: tcic: eleminate deprecated check_region() From: Randy Dunlap tcic: eliminate deprecated check_region(); Signed-off-by: Randy Dunlap Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.143, 2005-01-25 20:49:23-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: initialize mutex earlier The cap_mask_mutex needs to be initialized before ib_register_device(), because device registration will call client init functions that may try to modify the capability mask. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.142, 2005-01-25 20:49:05-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: remove x86 SSE pessimization Get rid of the x86 SSE code for atomic 64-bit writes to doorbell registers. Saving/setting CR0 plus a clts instruction are too expensive for it to ever be a win, and the config option was just confusing. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.141, 2005-01-25 20:48:48-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: clean up ioremap()/request_region() usage From: "Michael S. Tsirkin" Here are misc fixes for mthca mapping: 1. Thinkably, MSI tables or another region could fall between HCR and ECR tables. Thus its arguably wrong to map both tables in one region. So, do it separately. I think its also more readable to have ecr_base and access ecr there, not access ecr with hcr pointer. 2. mthca_request_regions error handling was borken (wrong order of cleanups). For example on all errors pci_release_region was called which is wrong if the region was not yet mapped. And other such cleanups. 3. Fixed some error messages too. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.140, 2005-01-25 20:48:33-08:00, roland@topspin.com [PATCH] InfiniBand/core: add IsSM userspace support Implement setting/clearing IsSM port capability bit from userspace via "issm" special files (set IsSM bit on open, clear on close). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.139, 2005-01-25 20:48:17-08:00, roland@topspin.com [PATCH] InfiniBand/ipoib: remove uses of yield() Replace uses of yield() with msleep(1) as suggested by kernel janitors. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.138, 2005-01-25 20:48:02-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: test IRQ routing during initialization When we switch to interrupt-driven command mode, test interrupt generation with a NOP firmware command. Broken MSI/MSI-X and interrupt line routing problems seem to be very common, and this makes the error message much clearer -- before this change we would mysteriously fail when initializing the QP table. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.137, 2005-01-25 20:47:46-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: optimize event queue handling From: "Michael S. Tsirkin" Event queue handling performance improvements: - Only calculate EQ entry address once, and don't truncate the consumer index until we really need to. - Only read ECR once. If a new event occurs while we're in the interrupt handler, we'll get another interrupt anyway, since we only clear events once. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.136, 2005-01-25 20:47:32-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: pass full process_mad info to firmware From: "Michael S. Tsirkin" Pass full extended MAD information to firmware when a work completion is supplied to the MAD_IFC command. This allows B_Key checking/trap generation. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.135, 2005-01-25 20:47:14-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: don't write ECR in MSI-X mode From: "Michael S. Tsirkin" We don't need to write to the ECR to clear events when using MSI-X, since we never read the ECR anyway. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.134, 2005-01-25 20:47:00-08:00, roland@topspin.com [PATCH] InfiniBand/core: fix port capability enums bit order Correct defines of port capability mask enum values (bits were ordered backwards) and add new capability bits from IBA spec version 1.2. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.133, 2005-01-25 20:46:43-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: implement modifying port attributes Implement the port_modify() device method for mthca using the SET_IB firmware command. In particular this allows changing the port capability mask. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.132, 2005-01-25 20:46:29-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: more Arbel Mem-Free support Continue development of Arbel Mem-Free support: we now compute a valid profile, allocate context memory, map sufficient aux memory for HCA page tables, map sufficient context memory to cover all reserved firmware resources and successfully call the INIT_HCA and QUERY_ADAPTER firmware commands. Fix a few error gotos that unwound the wrong things. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.131, 2005-01-25 20:46:12-08:00, roland@topspin.com [PATCH] InfiniBand/core: compat_ioctl conversion minor fixes Slightly tidy up Andi Kleen's compat_ioctl conversion for the InfiniBand MAD driver by removing the no-longer-needed include of ioctl32.h, killing unreachable code and doing some really anal whitespace fixing. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.130, 2005-01-25 20:45:58-08:00, anton@samba.org [PATCH] genhd: rename device_init Rename device_init to make it more unique. Useful when looking through debug initcall bootlogs. While I'm in the area, also make it static. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.129, 2005-01-25 20:45:45-08:00, anton@samba.org [PATCH] Problems disabling SYSCTL Create a cond_syscall for sys32_sysctl and make all architectures use it. Also fix the architectures that dont wrap their 32bit compat sysctl code. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.128, 2005-01-25 20:45:28-08:00, james4765@cwazy.co.uk [PATCH] arm26: new maintainer of Archimedes floppy and hard disk drivers After getting in touch with the listed maintainer of the ARM26 floppy and hard drive maintainer, I found out that he had passed it on to Ian Molton. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.127, 2005-01-25 20:45:13-08:00, kevcorry@us.ibm.com [PATCH] device-mapper: fix TB stripe data corruption In stripe_map(), change chunk to 64-bit and use do_div to divide and mod by the number of stripes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.126, 2005-01-25 20:44:57-08:00, agk@redhat.com [PATCH] device-mapper: optionally bypass a bdget Improve performance by optionally bypassing some code that uses bdget. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.125, 2005-01-25 20:44:38-08:00, agk@redhat.com [PATCH] device-mapper: Add presuspend hook Add optional callback before each device gets suspended (called 'presuspend'). Rename existing callback used by dm-mirror from 'suspend' to 'postsuspend'. dm-multipath will use the new callback. (Any kernel module using device-mapper must be recompiled after this patch.) Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.124, 2005-01-25 20:44:22-08:00, agk@redhat.com [PATCH] device-mapper: remove unused bs_bio_init() Remove unused bs_bio_init(). Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.123, 2005-01-25 20:44:09-08:00, agk@redhat.com [PATCH] device-mapper: fix mirror log type module ref count Fix module reference counting for mirror log type. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.122, 2005-01-25 20:43:55-08:00, agruen@suse.de [PATCH] fs/mbcache.c: Remove an unused wait queue variable This one slipped me. The "real" wait queue is defined some lines further down inside the loop. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.121, 2005-01-25 20:43:39-08:00, dsd@gentoo.org [PATCH] Configurable delay before mounting root device Adds a boot parameter which can be used to specify a delay (in seconds) before the root device is decoded/discovered/mounted. Example usage for 10 second delay: rootdelay=10 Useful for usb-storage devices which no longer make their partitions immediately available, and for other storage devices which require some "spin-up" time. Signed-off-by: Daniel Drake Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.120, 2005-01-25 20:43:20-08:00, linville@tuxdriver.com [PATCH] i810_audio: offset LVI from CIV to avoid stalled start This fixes a "no sound" problem with Wolfenstein Enemy Territory and (apparently) other games using the Quake3 engine. It probably affects some other OSS applications as well. This recreates some code that had been removed from the i810_audio driver around 5/2004. (This is the 2.6-based version of this patch.) Acked-by: Herbert Xu Acked-by: Thomas Voegtle Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.119, 2005-01-25 20:43:03-08:00, matthew@wil.cx [PATCH] Minor ext2 speedup Port Andreas Dilger's and Jan Kara's patch for ext3 to ext2. Also some whitespace changes to get ext2/ext3 closer in sync. Signed-off-by: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.118, 2005-01-25 20:42:49-08:00, agruen@suse.de [PATCH] ext2/ext3 ACLs: remove the number of acl entries limit This patch removes the arbitrary limit of 32 acl entries on ext[23] when writing acls. A patch that removes the same check when reding acls is in BK since 12 March 2004, so all kernels since then are already able to read large acls. I think that ten+ months are enough so that we can now also remove the write limit. This is the read-limit patch: http://linux.bkbits.net:8080/linux-2.6/cset%404051e2863UsuQEgAQShmimgBooAXkg?nav=index.html Even without this patch the xattr block could already contain less space than needed for the acl, because other attributes might already use up almost all space. So this patch does not introduce additional error conditions. We have been shipping with this patch the last year (almost). Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.117, 2005-01-25 20:42:31-08:00, agruen@suse.de [PATCH] ext3: fix ea-in-inode default ACL creation When a new inode is created, ext3_new_inode sets the EXT3_STATE_NEW flag, which tells ext3_do_update_inode to zero out the inode before filling in the inode's data. When a file is created in a directory with a default acl, the new inode inherits the directory's default acl; this generates attributes. The attributes are created before ext3_do_update_inode is called to write out the inode. In case of in-inode attributes, the new inode's attributes are written, and then zeroed out again by ext3_do_update_inode. Bad thing. Fix this by recognizing the EXT3_STATE_NEW case in ext3_xattr_set_handle, and zeroing out the inode there already when necessary. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.116, 2005-01-25 20:42:18-08:00, agruen@suse.de [PATCH] ext3/ea: disallow in-inode attributes for reserved inodes When creating a filesystem with inodes bigger than 128 bytes, mke2fs fails to clear out bytes beyond EXT3_GOOD_OLD_INODE_SIZE in all inodes it creates (the journal, the filesystem root, and lost+found). We would require a zeroed-out i_extra_isize field but we don't get it, so disallow in-inode attributes for those inodes. Add an i_extra_isize sanity check. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.115, 2005-01-25 20:42:01-08:00, agruen@suse.de [PATCH] ext3/ea: ix i_extra_isize check We are checking for (EXT3_SB(inode->i_sb)->s_inode_size <= EXT3_GOOD_OLD_INODE_SIZE) to find out if we can set in-inode attributes; the test fails for inodes that have been created before the ea-in-inode patch. Those inodes have (i_extra_isize == 0), so we end up with the attributes overlapping the i_extra_isize field. Checking for (i_extra_isize == 0) instead fixes this case. The EXT3_STATE_XATTR flag is only set if (i_extra_isize > 0) and the inodes has in-inode attributes, so that is enough in the first two tests. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.114, 2005-01-25 20:41:47-08:00, agruen@suse.de [PATCH] ext3/ea: documentation fix In-inode xattr entry descriptors are unsorted. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.113, 2005-01-25 20:41:31-08:00, agruen@suse.de [PATCH] ext3/ea: set the EXT3_FEATURE_COMPAT_EXT_ATTR for in-inode xattrs The xattr feature was only set when creating an xattr block. Also set it when creating in-inode xattrs. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.112, 2005-01-25 20:41:18-08:00, agruen@suse.de [PATCH] ext3/ea: no lock needed when freeing inode ext3_xattr_delete_inode is called from ext3_free_inode which always has exclusive access to the inode, so there is no need to take the xattr semaphore. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.111, 2005-01-25 20:41:05-08:00, stone_wang@sohu.com [PATCH] ext2/ext3: block allocator startup fix We found strange blocks layout in our mail server, after careful study, we got the reason and tried to fix it. On the very fist attempt to allocate a block to the newly-initialised inode, if we are trying to add a block at logical file offset "1" then ext2_find_goal() will incorrectly assume that this was a next_alloc_block cache hit (because we think the previously-allocated block was at offset zero). Net result: why trying to extend a freshly-opened one-block file we end up deciding to place the second file block at disk block "1", rather than going off and calling ext2_find_near(). Fix it by checking that we actually do have something valid cached in next_alloc_goal. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.110, 2005-01-25 20:40:51-08:00, klassert@mathematik.tu-chemnitz.de [PATCH] 3c59x ethtool: provide NIC-specific stats With this patch get_ethtool_stats() provides the NIC-specific extra stats. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.109, 2005-01-25 20:40:34-08:00, bgerst@didntduck.org [PATCH] clean up UTS_RELEASE usage This patch cleans up usage of UTS_RELEASE, by replacing many references with system_utsname.release, and deleting others. This eliminates a dependency on version.h for these files, so they don't get rebuilt if EXTRAVERSION or localversion change. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.108, 2005-01-25 20:40:18-08:00, hch@lst.de [PATCH] kill softirq_pending() With Steffen Klassert no more users left, time to kill the various implementations Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.107, 2005-01-25 20:40:02-08:00, pavel@ucw.cz [PATCH] Enable swsusp on SMP machines This enables swsusp on SMP machines. It should be working in 2.6.10, already (but you may need noapic in 2.6.10). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.106, 2005-01-25 20:39:48-08:00, pavel@suse.cz [PATCH] swsusp: fix buggy comment Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.105, 2005-01-25 20:39:34-08:00, ysato@users.sourceforge.jp [PATCH] h8300: makefile update Fix build error when .config does not exist Signed-off-by: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.104, 2005-01-25 20:39:17-08:00, ysato@users.sourceforge.jp [PATCH] h8300: fix warning update argument type Signed-off-by: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.103, 2005-01-25 20:39:03-08:00, ak@suse.de [PATCH] x86_64: Speed up suspend The following patch speeds up the restoring of swsusp images on x86-64 and makes the assembly code more readable (tested and works on AMD64). Signed-off-by: Rafael J. Wysocki Changed by AK to not hardcode any C values and get them from offset.h instead and not flushing CR3 needlessly (according to Pavel it was just an old debugging measure that is not needed anymore) Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.102, 2005-01-25 20:38:49-08:00, ak@suse.de [PATCH] x86_64: Remove earlyprintk help Remove invisible earlyprintk help. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.101, 2005-01-25 20:38:31-08:00, ak@suse.de [PATCH] x86_64: Enlarge northbridge numa scan mask Enlarge max nodes mask in k8 northbridge scan code. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.100, 2005-01-25 20:38:18-08:00, ak@suse.de [PATCH] x86_64: remove duplicated includes There's usually no reason for including the same header file twice. The patch below removes such duplicate includes in x86_64 specific files. Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.99, 2005-01-25 20:38:01-08:00, ak@suse.de [PATCH] x86_64: remove centaur mtrr support Drop unused centaur mtrr support code. Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.98, 2005-01-25 20:37:47-08:00, ak@suse.de [PATCH] x86: Remove unused function Remove unused get_cr2 function (from i386) Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.97, 2005-01-25 20:37:31-08:00, rusty@rustcorp.com.au [PATCH] x86: no interrupts from secondary CPUs until officially online Andi Kleen reported a problem where a very slow boot caused the timer interrupt on a secondary CPU to go off before the CPU was actually brought up by the core code, so the CPU_PREPARE notifier hadn't been called, so the per-cpu timer code wasn't set up. This was caused by enabling interrupts around calibrate_delay() on secondary CPUs, which is not actually neccessary (interrupts on CPU 0 increments jiffies, which is all that is required). So delay enabling interrupts until the actual __cpu_up() call for that CPU. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.96, 2005-01-25 20:37:16-08:00, benh@kernel.crashing.org [PATCH] ppc64: Missing call to ioremap in pci_iomap() This patch adds the missing ioremap call to pci_iomap on ppc64. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.95, 2005-01-25 20:37:00-08:00, anton@samba.org [PATCH] ppc64: enable virtual ethernet and virtual scsi Enable the virtual ethernet and virtual scsi drivers in the pseries config. Since our root device may be on either we need them compiled in (unless we play initrd tricks). Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.94, 2005-01-25 20:36:45-08:00, anton@samba.org [PATCH] ppc64: problem disabling SYSVIPC The kernel wouldnt link when SYSVIPC was disabled. x86-64 was already defining a cond_syscall, instead of duplicating it in the ppc64 port move it into the arch specific portion of kernel/sys_ni.c Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.93, 2005-01-25 20:36:29-08:00, anton@samba.org [PATCH] ppc64: disable some boot wrapper debug The debug information in the boot wrapper can be quite verbose (it prints an entry for every address it attempts to claim). Disable it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.92, 2005-01-25 20:36:14-08:00, anton@samba.org [PATCH] ppc64: allow EEH to be disabled Allow EEH to be disabled for pSeries targets, but only if the EMBEDDED option is enabled. This version incorporates some suggestions from Arnd Bergmann and Linas Vepstas. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.91, 2005-01-25 20:35:57-08:00, paulus@samba.org [PATCH] ppc64: use kref for device_node refcounting This patch is from Nathan Lynch . This changes struct device_node and associated code to use the kref api for object refcounting and freeing. I've given it some testing on pSeries with cpu add/remove and verified that the release function works. The change is somewhat cosmetic but it does make the code easier to understand... at least I think so =) The only real change is that the refcount on all device_nodes is initialized at 1, and the device node is freed when the refcount reaches 0 (of_remove_node has the extra "put" to ensure that this happens). This lets us get rid of the OF_STALE flag and macros in prom.h. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.90, 2005-01-25 20:35:44-08:00, paulus@samba.org [PATCH] ppc64: sparse fixes for cpu feature constants This patch is originally from Nathan Lynch . Sparse gives a warning "constant ... is so big it is long" for every expression where we check bits in the cur_cpu_spec->cpu_features value. This patch removes the warnings by using the ASM_CONST macro. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.89, 2005-01-25 20:35:29-08:00, paulus@samba.org [PATCH] ppc64: trivial cleanup: EEH_REGION This patch is originally from Linas Vepstas . This is a dumb, dorky cleanup patch: Per last round of emails, the concept of EEH_REGION is gone, but a few stubs remained. This patch removes them. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.88, 2005-01-25 20:35:13-08:00, paulus@samba.org [PATCH] ppc64: replace schedule_timeout in die This patch is from Nishanth Aravamudan . Replace schedule_timeout() with ssleep to simplify the code and to express the delay in seconds instead of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.87, 2005-01-25 20:34:59-08:00, paulus@samba.org [PATCH] ppc64: replace schedule_timeout in __cpu_up This patch is from Nishanth Aravamudan . Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.86, 2005-01-25 20:34:42-08:00, paulus@samba.org [PATCH] ppc64: replace schedule_timeout in pSeries_cpu_die This patch is from Nishanth Aravamudan . Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.85, 2005-01-25 20:34:27-08:00, paulus@samba.org [PATCH] ppc64: replace schedule_timeout in iSeries_pci_reset This patch is from Nishanth Aravamudan . Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.84, 2005-01-25 20:34:11-08:00, paulus@samba.org [PATCH] ppc64: clear MSR_RI earlier in syscall exit path This patch is from Craig Chaney . This patch moves the restoring of the stack pointer in the system call exit path to after the point where we clear the RI (recoverable interrupt) bit in the MSR. Normally, loading the stack pointer before clearing RI doesn't cause any problem because there is no trap that can normally occur in between. But if we are tracing the code using a tool that single-steps instructions, this can cause a problem. In this case, clearing RI serves as an indication that the following code can't be safely single-stepped. Signed-off-by: Craig Chaney Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.83, 2005-01-25 20:33:57-08:00, paulus@samba.org [PATCH] ppc64: fix in_be64 definition This patch is from Jake Moilanen . The instruction syntax for the in_be64 inline asm was incorrect for the "m" constraint for the address parameter. This patch fixes the instruction in the inline asm. Signed-off-by: Jake Moilanen Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.82, 2005-01-25 20:33:40-08:00, paulus@samba.org [PATCH] ppc64: xmon data breakpoints on partitioned systems This patch is originally from Jake Moilanen , substantially modified by me. On PPC64 systems with a hypervisor, we can't set the Data Address Breakpoint Register (DABR) directly, we have to do it through a hypervisor call. Signed-off-by: Jake Moilanen Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.81, 2005-01-25 20:33:26-08:00, anton@samba.org [PATCH] ppc64: limit segment tables on UP kernels We were allocating 48 segment tables on UP kernels. Remove them and save 192kB of kernel memory on UP builds. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.80, 2005-01-25 20:33:08-08:00, benh@kernel.crashing.org [PATCH] ppc32: Add support for Pegasos machines This patch, mostly from Sven Luther and reworked by me, adds support for Pegasos machines to the ppc32 arch. The patch contains all of the arch code. I'll send separately a few driver changes as well. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.79, 2005-01-25 20:32:53-08:00, galak@freescale.com [PATCH] ppc32: fix PCI2 IO space mapping on CDS The ppc pci bus and resource fixups will automatically adjust the IO space mappings by (hose->io_base_virt - isa_io_base). Since we map all of PCI IO space (PCI1 & PCI2) with a single mapping so it is continguious in virtual, physical, and PCI IO space the offset will equal MPC85XX_PCI1_IO_SIZE. There for we needed to reduce the setting by that amount for everything to work properly on CDS. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.78, 2005-01-25 20:32:37-08:00, rvinson@mvista.com [PATCH] ppc32: missing call to ioremap in pci_iomap() The PPC version of pci_iomap seems to be missing a call to ioremap. This patch corrects that oversight and has been tested on a IBM PPC750FX Eval board. Signed-off-by: Randy Vinson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.77, 2005-01-25 20:32:23-08:00, galak@freescale.com [PATCH] ppc32: allow usage of gen550 on platforms that do not define SERIAL_PORT_DFNS Allows a platform to initialize serial_state completely from gen550_init and no longer requires it to define SERIAL_PORT_DFNS. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.76, 2005-01-25 20:32:06-08:00, galak@freescale.com [PATCH] ppc32: Add defconfigs for 85xx boards -- updated Adds default config files the MPC8540 ADS, MPC8560 ADS, and MPC8555 CDS reference boards. Hopefully people will stop asking me for mine :) Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.75, 2005-01-25 20:31:51-08:00, andrea@suse.de [PATCH] mm: truncate SMP race fix Fix up an smp race introduced in 2.6.11-rc1 Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.74, 2005-01-25 20:31:34-08:00, andrea@suse.de [PATCH] mm: adjust dirty threshold for lowmem-only mappings With Rik van Riel Simply running "dd if=/dev/zero of=/dev/hd" can cause excessive amounts of dirty lowmem pagecache, due to the blockdev's non-highmem page allocation strategy. This patch effectively lowers the dirty limit for mappings which cannot be cached in highmem, counting the dirty limit as a percentage of lowmem instead. This should prevent heavy block device writers from pushing the VM over the edge and triggering OOM kills. Signed-off-by: Rik van Riel Acked-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.73, 2005-01-25 20:31:20-08:00, chrisw@osdl.org [PATCH] compat ioctl security hook fixup Fix a bug spotted by "Michael S. Tsirkin" Introduce a simple helper, vfs_ioctl(), so that both sys_ioctl() and compat_sys_ioctl() call the security hook in all cases and without duplication. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.72, 2005-01-25 20:31:01-08:00, amgta@yacht.ocn.ne.jp [PATCH] oprofile: falling back on timer interrupt mode When some hardware setups or architectures do not allow OProfile to use performance counters, OProfile operates in timer mode. But, from 2.6.11-rc1, we need to specify the module parameter "timer=1" to work on timer interrupt mode. Change things so that we detect the absence of the high-resolution timer and fall back to timer-based profiling automatically. Furthermore we can easily get oops by reading /dev/oprofile/cpu_type. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.71, 2005-01-25 20:30:47-08:00, yuasa@hh.iij4u.or.jp [PATCH] mips: fixed conflicting types arch/mips/lib/csum_partial_copy.c:21: error: conflicting types for `csum_partial_copy_nocheck' include/asm/checksum.h:65: error: previous declaration of `csum_partial_copy_nocheck' arch/mips/lib/csum_partial_copy.c:38: error: conflicting types for `csum_partial_copy_from_user' include/asm/checksum.h:38: error: previous declaration of `csum_partial_copy_from_user' make[1]: *** [arch/mips/lib/csum_partial_copy.o] Error 1 make: *** [arch/mips/lib] Error 2 Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.70, 2005-01-25 20:30:29-08:00, js@linuxtv.org [PATCH] DVB linkage fix We have two global variables called "debug". The attached patch cleans up various aspects of dibusb module argument handling, so it's a bit larger than just renaming "debug". Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.69, 2005-01-25 20:30:15-08:00, akpm@osdl.org [PATCH] dib3000mc build fix - Build fix for older gcc's - Don't typecast when assigning between void*'s and other pointers. cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.68, 2005-01-25 20:29:47-08:00, torvalds@ppc970.osdl.org Add 'f_maxcount' to allow filesystems to set a per-file maximum IO size. ChangeSet@1.1966.1.67, 2005-01-25 15:00:33-08:00, torvalds@ppc970.osdl.org Rename "locks_verify_area()" to "rw_verify_area()" and clean up the arguments. And make it non-inlined. ChangeSet@1.1966.86.3, 2005-01-25 22:51:34+00:00, nico@org.rmk.(none) [ARM PATCH] 2435/1: platform data for audio on Mainstone Patch from Nicolas Pitre This enables audio on Mainstone with the ALSA PXA2xx AC97 driver. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.1966.86.2, 2005-01-25 22:43:59+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2433/1: debug-macro.S split - fix header filename Patch from Ben Dooks All the headers refer to debug-armv.S, when they where split from debug.S Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1966.86.1, 2005-01-25 22:36:39+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2432/1: include/asm-arm/bitops.h - missing const from find Patch from Ben Dooks the calls _find_first_zero_bit_be() and _find_next_zero_bit_be() are missing const from the pointer argument passed in, causing several build warnings when building an ARM kernel in big-endian mode. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1966.1.66, 2005-01-25 12:49:07-08:00, greg@kroah.com [PATCH] Modules: Allow sysfs module parameters to be written to. This fixes a bug in the current tree preventing the sysfs module parameters from being able to be changed at all from userspace. It's as if someone just forgot to write this function... Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.65, 2005-01-25 08:03:42-08:00, geert@linux-m68k.org [PATCH] m68k csum_partial_copy_* gcc4 warning fixes The gcc4 signedness warning fix forgot to update the declarations in include/asm-m68k/checksum.h. ChangeSet@1.1966.1.64, 2005-01-25 08:01:03-08:00, ecashin@coraid.com [PATCH] AOE: fix up the block device registration so that it actually works Remove __exit from aoeblk_exit (to allow it to be called from __init code). Remove register_blkdev into aoe_init (it's done in aoemain.c). Signed-off-by: Ed L. Cashin Signed-off-by: Linus Torvalds ChangeSet@1.1966.84.1, 2005-01-25 10:10:51+00:00, aia21@cantab.net NTFS: Add printk rate limiting for ntfs_warning() and ntfs_error() when compiled without debug. This avoids a possible denial of service attack. Thanks to Carl-Daniel Hailfinger from SuSE for pointing this out. ChangeSet@1.1966.83.12, 2005-01-25 04:31:49+01:00, kernel@linuxace.com [NETFILTER]: Add inversion to multiport match Should add this to rev1 of multiport before 2.6.11 comes out. Signed-off-by: Phil Oester Signed-off-by: Patrick McHardy ChangeSet@1.1966.83.11, 2005-01-25 04:12:44+01:00, gandalf@wlug.westbo.se [NETFILTER]: Fix compile with NAT but without modules Here's another patch to fix compile-errors, this time with NAT but without modules. There's a missing 'extern' in ip_conntrack_tftp.h Signed-off-by: Martin Josefsson Signed-off-by: Patrick McHardy ChangeSet@1.1966.83.10, 2005-01-25 04:10:59+01:00, gandalf@wlug.westbo.se [NETFILTER]: Fix compile errors without NAT This patch fixes some compile errors with NAT that has appeared after all the recent patches. Move struct ip_conntrack_expect after the definition of struct ip_conntrack. Add #ifdef CONFIG_IP_NF_NAT_NEEDED around ip_nat_initialized() Add lockhelp.h to ipt_CLUSTERIP.c Signed-off-by: Martin Josefsson Signed-off-by: Patrick McHardy ChangeSet@1.1966.83.9, 2005-01-25 03:56:48+01:00, gandalf@wlug.westbo.se [NETFILTER]: Fix SNAT/DNAT target size checks This patch fixes two size checks in the checkentry() for SNAT and DNAT targets. The patch to remove support for multiple ranges forgot to use IPT_ALIGN(). This isn't a problem on x86 but other archs like parisc are affected and thus can't add any SNAT/DNAT rules. Signed-off-by: Martin Josefsson Signed-off-by: Patrick McHardy ChangeSet@1.1966.83.8, 2005-01-24 17:41:45-08:00, davem@nuts.davemloft.net [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller ChangeSet@1.1966.83.7, 2005-01-24 17:39:51-08:00, mchan@broadcom.com [TG3]: Fix TSO for 5750 - Fix TSO for 5750 chips by setting tcp checksum field to 0 for TSO packets - Add TG3_FLG2_HW_TSO flag for 5750 and newer chips that use the same TSO scheme Signed-off-by: Michael Chan Signed-off-by: David S. Miller ChangeSet@1.1966.83.6, 2005-01-24 16:40:33-08:00, herbert@gondor.apana.org.au [IPV4/IPV6]: In ip_fragment(), reset ip_summed field on SKB sub-frags. If we forward a fragmented packet, we can have ip_summed set to CHECKSUM_HW or similar. This is fine for local protocol processing, but once if we are forwarding this packet we want to reset ip_summed to CHECKSUM_NONE. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.1966.1.61, 2005-01-24 15:57:20-08:00, arjan@infradead.org [PATCH] removing bcopy... because it's half broken Nothing in the kernel is using bcopy right know, and that is a good thing. Why? Because a lot of the architectures implement a broken bcopy().... the userspace standard bcopy() is basically a memmove() with a weird parameter order, however a bunch of architectures implement a memcpy() not a memmove(). Instead of fixing this inconsistency, I decided to remove it entirely, explicit memcpy() and memmove() are prefered anyway (welcome to the 1990's) and nothing in the kernel is using these functions, so this saves code size as well for everyone. Signed-off-by: Arjan van de Ven Signed-off-by: Adrian Bunk [ Side note: the only reason for bcopy appears to be totally ancient gcc versions for OSF/1, used to originally cross-compile Linux on alpha. Possibly some other similar cases. Time to move on ;-] Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.60, 2005-01-24 14:37:53-08:00, torvalds@ppc970.osdl.org Merge bk://linux-voyager.bkbits.net/voyager-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1966.1.59, 2005-01-24 14:36:59-08:00, torvalds@ppc970.osdl.org Free temporary pipe page after freeing the main buffers. Duh. Freeing the main buffers can _cause_ the temporary page to be created. ChangeSet@1.1966.65.22, 2005-01-23 17:44:52-06:00, hch@lst.de [PATCH] osst: don't use obsolete SCSI APIs this patch gets rid of the need for scsi.h, similar to the recent patch to the st driver. (applies ontop of Willem's patches) Signed-off-by: James Bottomley Signed-off-by: Willem Riede ChangeSet@1.1966.83.5, 2005-01-23 11:09:59-08:00, torvalds@ppc970.osdl.org x86-64: don't crash and loop when the user passes an unknown earlyprintk= option. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1966.82.5, 2005-01-23 20:01:39+01:00, marcel@holtmann.org [Bluetooth] Add RFCOMM service level security This patch adds the support for RFCOMM service level security. It allows to request authentication and encryption before a RFCOMM connection is finally established. Signed-off-by: Marcel Holtmann ChangeSet@1.1966.82.4, 2005-01-23 19:55:30+01:00, marcel@holtmann.org [Bluetooth] Fix rfcomm_sock_destruct() deadlock The fix for socket unlink race introduced a deadlock in the RFCOMM code. The state change function is always called under the DLC lock and if rfcomm_sock_kill() is called the rfcomm_sock_destruct() will dead lock. So the DLC lock must be dropped first and claimed again afterwards. Signed-off-by: Marcel Holtmann ChangeSet@1.1966.83.4, 2005-01-23 10:29:42-08:00, kaos@ocs.com.au [PATCH] fix module kallsym lookup breakage Anton Blanchard wrote: >Your recent patch looks to break module kallsyms lookups.... >It looks like if CONFIG_KALLSYMS_ALL is set then we never look up module >addresses. Separate lookups for kernel and modules when CONFIG_KALLSYMS_ALL=y. Signed-off-by: Keith Owens Acked-by: Chris Wedgwood Signed-off-by: Linus Torvalds ChangeSet@1.1966.83.3, 2005-01-23 10:29:27-08:00, ak@suse.de [PATCH] x86-64: Fix UP build warning Fix warning: In file included from include/asm/numa.h:5, from arch/x86_64/kernel/setup64.c:27: include/asm/numnodes.h:6:1: warning: "NODES_SHIFT" redefined In file included from include/linux/mmzone.h:13, from include/linux/gfp.h:4, from include/linux/slab.h:15, from include/linux/percpu.h:4, from include/linux/sched.h:33, from arch/x86_64/kernel/setup64.c:11: include/linux/numa.h:11:1: warning: this is the location of the previous definition in UP builds. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1966.83.2, 2005-01-23 10:29:11-08:00, ak@suse.de [PATCH] i386/x86-64: Fix ioremap off by one From Terence Ripperda When doing iounmap don't try to change_page_attr back the guard page that ioremap added. Since the last round of change_page_attr changes this would trigger an BUG because the reference count on the changed pages wouldn't match up. The problem would be only visible on machines with >3GB of memory, because only then the PCI memory hole is below end_pfn and change_page_attr is used. Fixed for both i386 and x86-64. This was actually discovered&fixed by Andrea earlier, but I goofed up while doing the last ioremap fixes merge and this change got lost. Poor Terence had to debug it again. Sorry about that. cc: andrea@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1966.83.1, 2005-01-23 10:28:57-08:00, ak@suse.de [PATCH] x86_64: Fix int3 trap Undo bogus change that was introduced with kprobes. It's not really needed and it breaks some user applications because it changes the signal for int 3 from SIGTRAP to SIGSEGV. Cc: Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.1966.82.3, 2005-01-23 18:50:26+01:00, marcel@holtmann.org [Bluetooth] Fix too many keys pressed error This patch fixes the problem of keys repeating when too many keys are pressed at the same time (e.g. when typing quickly). This often results in "mount" becoming "mouount". It seems that Bluetooth keyboards send a HID report with the keys all set to 0x01 if too many keys were pressed at the same time. This confuses the previous report handling logic and now these reports are ignored. Signed-off-by: Juha Yrjölä Signed-off-by: Marcel Holtmann ChangeSet@1.1966.1.57, 2005-01-23 17:47:02+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2431/1: Split arch specifics out of arch/arm/kernel/debug.S Patch from Ben Dooks This patch moves all the machine/arch specific bits out of arch/arm/kernel/debug.S and places them into the include directories for those given architectures. The debug macros are placed into include/asm-arm/arch-*/debug-macro.S. The aim is to clean-up the debug.S code and make it easier to modify a single-architecture without affecting the entire debug.S file. The patch also removes CONFIG_ARCH_FTVPCI, which no longer exists anywhere else in the kernel. All new include files have the original copyright notice from arch/arm/kernel/debug.S. Note, not all architectures modified here have been built and/or tested due to lack of available machines, or problems building for them (no defconfig available, or problems with kernel build). Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1966.82.2, 2005-01-23 18:40:28+01:00, marcel@holtmann.org [Bluetooth] Use wait_event_timeout() Use wait_event_timeout() instead of custom wait queue code. The current code uses TASK_INTERRUPTIBLE but only cares about timing out and the wait queue event taking place (does not actively do anything in response to signals), so wait_event_timeout() should be enough. Signed-off-by: Nishanth Aravamudan Signed-off-by: Marcel Holtmann ChangeSet@1.1966.82.1, 2005-01-23 18:36:35+01:00, marcel@holtmann.org [Bluetooth] Use wait_event_interruptible_timeout() Use wait_event_interruptible_timeout() instead of custom wait queue code. Signed-off-by: Nishanth Aravamudan Signed-off-by: Marcel Holtmann ChangeSet@1.1966.65.21, 2005-01-23 09:26:01-06:00, jejb@mulgrave.(none) sd descriptor sense support From: Douglas Gilbert - make all sd driver sense data handling able to use both fixed and descriptor format - permit 64 bit lbas associated with medium (or hardware) errors to be conveyed back to the block layer Signed-off-by: James Bottomley ChangeSet@1.1966.65.20, 2005-01-23 09:20:23-06:00, bunk@stusta.de [PATCH] SCSI NCR_Q720.c: make some code static This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley ChangeSet@1.1966.65.19, 2005-01-23 09:12:43-06:00, markh@osdl.org [PATCH] aacraid 2.6: add scsi synchronize cache support. This is an update from the Adaptec driver that adds support for the scsi synchronize cache command. It essentially blocks further commands until data has been flushed to the disks. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley ChangeSet@1.1966.65.18, 2005-01-23 08:51:23-06:00, jejb@mulgrave.(none) SCSI: Fix style nitpicks Noticed by: Christoph Hellwig Signed-off-by: James Bottomley ChangeSet@1.1966.65.17, 2005-01-23 08:41:37-06:00, dougg@torque.net [PATCH] streamline block SG_IO error processing in sd - sd_init_command(): use retry count of 1 for block SG_IO; minor cleanup - sd_rw_init(): bypass sd level error processing for block SG_IO Signed-off-by: Douglas Gilbert Signed-off-by: James Bottomley ChangeSet@1.1966.65.16, 2005-01-23 08:36:14-06:00, dougg@torque.net [PATCH] streamline block SG_IO error processing - cleanup scsi_end_request() documentation - shorten path for block SG_IO through scsi_io_completion() - for non-SG_IO sense processing in scsi_io_completion(): - ignore deferred errors (report + retry should suffice) - consolidate into a cleaner switch statement Signed-off-by: Douglas Gilbert Signed-off-by: James Bottomley ChangeSet@1.1966.1.56, 2005-01-23 13:45:48+00:00, rmk@flint.arm.linux.org.uk [ARM] Add warning about building fiq.c with gcc >= 3.4 Unfortunately, some changes to GCC prevents fiq.c expressing the constraints for the assembly setting the FIQ register set. Warn people with later gcc toolchains that they can expect failure to occur. Signed-off-by: Russell King ChangeSet@1.1966.1.55, 2005-01-23 13:33:19+00:00, rmk@flint.arm.linux.org.uk [ARM] msr can take immediate constants. Signed-off-by: Russell King ChangeSet@1.1966.77.145, 2005-01-22 19:46:13-08:00, davem@nuts.davemloft.net [SPARC64]: Minor memmove refinements. - If dst/src are equal, memcpy can be used. - Eliminate register writes which were unused Signed-off-by: David S. Miller ChangeSet@1.1966.75.19, 2005-01-22 19:42:06-08:00, davem@nuts.davemloft.net [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller ChangeSet@1.1966.1.51, 2005-01-22 16:01:24-08:00, tony.luck@intel.com [IA64] clean up loose ends from addition of efi_range_is_wc() Signed-off-by: Tony Luck ChangeSet@1.1966.1.50, 2005-01-22 15:56:39-08:00, tony.luck@intel.com [IA64] irq handling cleanup Patch from Christoph Hellwig to: - irq_desc and irq_to_vector machvecs. SN2 has it's own versions, but they're the same as the generic ones - kill do do_IRQ and use __do_IRQ directly everywhere - kill dead X86 ifdefs - move some variable declarations around in irq.c to recuce # of ifdefs Signed-off-by: Tony Luck ChangeSet@1.1966.1.49, 2005-01-22 15:00:59-08:00, jbarnes@sgi.com [IA64] remove superfluous layer from sn2 DMA API When I converted the sn2 code over to the new DMA API, I left the old routines in place and added wrappers to call them from the generic DMA API functions. This added an unnecessary level of obfuscation since the generic ia64 code calls those functions when any of the old style PCI DMA API functions are called. This patch rectifies the problem making the code much easier to understand and hopefully a little more efficient (though I'm sure gcc was already inlining things pretty well, there were a bunch of unnecessary checks that I took this opportunity to remove). It also shrinks the size of the sn2 pci_dma.c quite a bit. pci_dma.c | 480 +++++++++++++++++++----------------------------------------- 1 files changed, 151 insertions(+), 329 deletions(-) Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.1966.1.48, 2005-01-22 14:58:21-08:00, jbarnes@sgi.com [IA64] fix early SAL init for sn2 sn2 does early initialization of the SAL so it can use it for early console support. Unfortunately, the loop to find the SAL entry point was buggy so when we tried out new EFI and SAL system table layouts, the loop didn't terminate. Here's the fix (doh!, use two different loop counters instead of one and just return if we find the SAL entry point). Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.1966.1.47, 2005-01-22 14:45:15-08:00, jbarnes@sgi.com [IA64] new api efi_range_is_wc() Ok, here you go Tony. This one fixes the loop and also fixes drm_vm.c. All of the bits aside from the efi.h bit are ia64 specific (either under arch/ia64 or __ia64__), so your tree is probably the right place for all of it. This patch adds efi_range_is_wc() to efi.h. It's used to determine whether an address range can be mapped with the write coalescing attribute. It also fixes up some ia64 specific callers to use the new routine instead of unconditionally calling pgprot_writecombined, which can be dangerous if used on ranges that don't support it. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.1966.1.46, 2005-01-22 14:39:46-08:00, jes@trained-monkey.org [IA64] fix PAL_PREFETCH_VISIBILITY call The following patch fixes the ia64_pal_prefetch_visibility function to take a transaction type argument for either virtual or physical memory as specified in the System Architechture Manual page 2:358. Signed-Off-By: Jes Sorensen Signed-Off-By: Tony Luck ChangeSet@1.1966.1.45, 2005-01-22 14:35:36-08:00, eranian@hpl.hp.com [IA64] entry.S: perfmon psr.pp fix Problem: There exists a case where we stop monitoring, i.e. clear psr.pp/dcr.pp, via IPI. This is when the stop is triggered by a close(), either explicit in the application or implicit via exit_files(). The IPI is necessary because at the time the thread (controlling the context) issues a close() it may not run on the CPU the context is bound to. Yet the call must succeed, hence we need to propagate the call to the right CPU. But what is the problem then? Under IPI, we invoke a perfmon routine which clear the kernel (live) kernel psr.pp bit and also dcr.pp. Then we return from the function and execute the kernel exit path which restores the interrupted state. Unfortunately, this restores the kernel psr from ipsr which now contains a stale value. Therefore monitoring in the kernel will be active even though we stopped it. You cannot modify the "global" psr in an interrupt routine because it will be systematically restored on the way back. Solution: We need to patch ipsr.pp in the kernel exit path to reflect the kernel value of the kernel psr.pp bit. This must be done only when returning to kernel. The proposed patch does patch ipsr.pp such that it is identical to psr.pp. The patch is subtle because the exit path does not have a lot of free registers and also because we need to schedule for a psr read. I had to shuffle things around a little bit. The patch is important because there will be another situation where this problem can occur once we incorporate the support for event set and multiplexing. In this configuration, you may be in the middle of the idle loop and on a timer interrupt, you may stop monitoring. Slightly different condition, yet same problem with ipsr.pp vs. psr.pp. Changelog: - update kernel exit path when returning to kernel to copy psr.pp to ipsr.pp. This is necesary to ensure that if psr.pp was modified during the kernel entry, the change is propagated the the psr.pp of the of the interrupted thread. Psr.pp can be modified as a consequence of an IPI under certain conditions, such as when a system-wide context is closed from a remote CPU. Special thanks to David for reworking the patch to fit into the enhanced exit path. signed-off-by: stephane eranian Signed-off-by: Tony Luck ChangeSet@1.1966.1.44, 2005-01-22 14:21:34-08:00, tony.luck@intel.com [IA64] clean up ptrace corner cases Patch from yanmin.zhang@intel.com to fix up some corner cases in ptrace. Many thanks to davidm for reviewing and improving. Signed-off-by: Tony Luck ChangeSet@1.1966.1.43, 2005-01-22 13:50:44-08:00, tony.luck@intel.com [IA64] mca.c: delete unused "return_to_sal" label Label is unused, and so the compiler generates a warning. Signed-off-by: Tony Luck ChangeSet@1.1966.1.42, 2005-01-22 13:35:36-08:00, davidm@hpl.hp.com [IA64] entry.S update the copyright year & fix a comment Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.41, 2005-01-22 13:33:33-08:00, davidm@hpl.hp.com [IA64] Use srlz.d instead of srlz.i in ia64_leave_syscall Use srlz.d instead of srlz.i. Safe because we don't care whether the VHPT walker sees the clearing of PSR.ic (if it does, that's fine if it doesn't, it's OK too since the kernel-text is pinned anyhow). Good for another 11+ cycles in (normal) getpid(). Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.40, 2005-01-22 13:31:05-08:00, davidm@hpl.hp.com [IA64] Improve ia64_leave_syscall() for McKinley-type cores. Optimize ia64_leave_syscall() a bit better for McKinley-type cores. The patch looks big, but that's mostly due to renaming r16/r17 to r2/r3. Good for a 13 cycle improvement. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.39, 2005-01-22 13:29:13-08:00, davidm@hpl.hp.com [IA64] Resched skip_rbs_switch to run 4 cycles faster on McKinley-type cores Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.38, 2005-01-22 13:27:29-08:00, davidm@hpl.hp.com [IA64] entry.S: Align rse_clear_invalid to double-bundle boundary. Trivial patch: align rse_clear_invalid to 32-byte boundary. Good for a 9 cycle speed up. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.37, 2005-01-22 13:25:31-08:00, davidm@hpl.hp.com [IA64] Don't forget to initialize PKStk for kernel-threads Kernel-threads had both pUStk and pKStk set to FALSE, which was unintentional. I don't think the bug has shown any ill effects, but it's clearly wrong and could come around to bite us later, so let's fix it now. Depends on the previous patch to clean up C usage of the global/root-function predicates. Signed-off-by: Tony Luck ChangeSet@1.1966.1.36, 2005-01-22 13:22:55-08:00, davidm@hpl.hp.com [IA64] cleanup C uage of global/root-function predicates The patch below is purely a cleanup but it's a prerequisite for the next bug fix patch. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.35, 2005-01-22 13:16:18-08:00, nacc@us.ibm.com [IA64] smpboot.c: use msleep(100) instead of inlined equivalent Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Tony Luck ChangeSet@1.1966.1.34, 2005-01-22 13:09:59-08:00, rja@sgi.com [IA64] increase limit on #pages to isolate for MCA errors The fixed sized array of pages that are isolated because of 2xECC memory errors can run out. Increasing the size of the array is a band-aid measure, the real fix will require changes to generic code to add some bits to page_flags so that pages with errors can be marked so as to prevent them ever being examined. Signed-off-by: Russ Anderson Signed-off-by: Tony Luck ChangeSet@1.1966.1.33, 2005-01-22 13:03:24-08:00, davidm@hpl.hp.com [IA64] sys_ia32.c: add missing __user annotation for sparse Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.32, 2005-01-22 12:59:23-08:00, kaos@sgi.com [IA64] Sanity check unw_unwind_to_user Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.1966.1.31, 2005-01-22 12:51:34-08:00, davidm@hpl.hp.com [IA64] domain.c: eliminate warning when compiling CONFIG_NUMA=n When compiling for non-NUMA variable "node" ended up not being used, which solicits a warning from GCC. Fix is to evluate cpu_to_node(i) in place. This has the effect of doing cpu_to_node(i) twice on NUMA, but this is init code, so performance is not an issue (and even if it were, you can just declare cpu_to_node() as being a pure function, so the compiler can eliminate the second call). Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.30, 2005-01-22 12:46:27-08:00, davidm@hpl.hp.com [IA64] uaccess.h: add missing __user annotation for sparse I was getting a lot of spurious warnings with "make C=1", due to a missing "__user" attribute. I'm not sure whether this got lost or whether earlier versions of sparse failed to warn about it, but it's clearly needed (and the i386 version of uaccess.h does the same). Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.1966.1.29, 2005-01-22 12:18:41-08:00, tony.luck@intel.com [IA64] binfmt_elf32.c: BUG if insert_vm_struct fails It seems that in ia64_elf32_init, instead of calling return, if we insert an overlapping vma, we should instead BUG(). We should never get into this code path, because the vma's are set above PAGE_OFFSET, and thus a Xmalicious user can not trigger this code path. This change is being suggested mainly for clarity. Thanks to Stephen Tweedie for pointing out that returning early in ia64_elf32_init could have unpredictable results. Signed-off-by: Tony Luck ChangeSet@1.1966.1.28, 2005-01-22 12:08:41-08:00, markgw@sgi.com [IA64] fix SN2 hwperf error handling Fix the error handling for the SN2 hardware perf ioctl interface. Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck ChangeSet@1.1966.1.27, 2005-01-22 12:03:07-08:00, steiner@sgi.com [IA64] Delete: arch/ia64/sn/include/shub.h Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.1966.1.26, 2005-01-22 11:57:39-08:00, steiner@sgi.com [IA64] Delete duplicate SN2 definition of cpu_logical_id for UP build Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.1966.1.25, 2005-01-22 11:50:47-08:00, bob.picco@hp.com [IA64] fix declaration of __find_next_zero_bit, first arg is "const" Signed-off-by: Bob Picco Signed-off-by: Tony Luck ChangeSet@1.1966.80.16, 2005-01-22 11:37:01-08:00, js@linuxtv.org [PATCH] dvb: dvb-ttpci: fix SMP race, budget: fixe init race, misc fixes - [DVB] dvb-ttpci: re-added support for Fujitsu-Siemens DVB-S rev 1.6 0x13c2:0x0006 - [DVB] dvb-ttpci: finally clean up debi irq/tasklet handling to make it work on SMP - [DVB] dvb-ttpci: misc. changes to av7110_send_fw_cmd() error handling done along the way - [DVB] dvb-ttpci: budgetpatch integrated into dvb-ttpci: enables full ts option running in parallel with all previous functions of dvb-ttpci - [DVB] dvb-ttpci: fix Oops provoked by insmod/rmmod test loop, patch by Emard - [DVB] budget: Fixed start_ts_capture(): saa7146 will not issue a VPE interrupt if VPE bit is set in PSR and VPE interrupts are enabled afterwards. - [DVB] budget: enable satelco support. code was commented out, but actually it works, patch by Emard - [DVB] budget: Budget patch improved driver, fixed slight packet loss by using different trigger mode Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.15, 2005-01-22 11:36:47-08:00, js@linuxtv.org [PATCH] dvb: nxt2002: add ATSC support, misc fixes - [DVB] mt352: exported a mt352_read_reg-function, implemented a single byte write_register function (needed for dibusb) - [DVB] nxt2002: patch by Taylor Jacob to add support for ATSC/VSB frontends and the B2C2/BBTI Air2PC-ATSC card - [DVB] stv0297: fix tuning problems and compile time warnings, patch by Markus Breitenberger - [DVB] fix spelling errors in various frontend drivers Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.14, 2005-01-22 11:36:33-08:00, js@linuxtv.org [PATCH] dvb: dib3000 refactoring - [DVB] dib3000: driver refactoring, makes it easier to support device clones Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.13, 2005-01-22 11:36:18-08:00, js@linuxtv.org [PATCH] dvb: add ATSC support, misc fixes - [DVB] dvb-core: vfree() checking cleanups, patch by Domen Puncer - [DVB] dvb-core: fix handling of discontinuity indicator in section filter, bug reported by Frank Rosengart - [DVB] dvb-core: handle PUSI in section filter correctly, patch by Emard, bug reported by Patrick Valsecchi - [DVB] dvb-core: add support for ATSC/VSB frontends, patch by Taylor Jacob - [DVB] dvb-core: removed semi-colon from a very wrong place; FE_ENABLE_HIGH_LNB_VOLTAGE kernel oops; thanks to Christophe Massiot - [DVB] dvb-core: Fixed slow tuning problems, remove frequeny bending support from frontend code, code simplification Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.12, 2005-01-22 11:36:05-08:00, js@linuxtv.org [PATCH] dvb: support nxt2002 frontend, misc skystar2 fixes - [DVB] nxt2002: add support for nxt2002 frontend (firmware extraction, Kconfig, driver) - [DVB] skystar2: misc cleanup, remove unneeded casts, remove unreachable code, patches by Francois Romieu - [DVB] skystar2: fix mt352 clock setting for VHF (6 and 7 MHz bw channels), patch by Thomas Martin and Dieter Zander: - [DVB] b2c2-usb-core: fix file permissions to be octal, ISO C90 compile fix, temporally repaired the request_types - [DVB] remove remains of dibusb driver after splitup Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.11, 2005-01-22 11:35:52-08:00, js@linuxtv.org [PATCH] dvb: dibusb refactoring, support Yakumo/HAMA/Typhoon/HanfTek clones - [DVB] dvb-dibusb: refactoring of the dibusb driver, support for device clones from Yakumo/HAMA/Typhoon/HanfTek, update the documentation Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.10, 2005-01-22 11:35:38-08:00, js@linuxtv.org [PATCH] dvb: support pinnacle pctv-sat, clean-ups - [DVB] dvb-bt8xx: add support for pinnacle pctv-sat, patch by Peter Hettkamp and Adam Szalkowski - [DVB] dvb-bt8xx: minor code cleanups, patch by Arne Ahrend - [DVB] dvb-bt8xx: make sure to compile all necessary frontend modules, remove misleading comment Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.9, 2005-01-22 11:35:24-08:00, js@linuxtv.org [PATCH] dvb: fix RPS init race - [DVB] saa7146: explicitely disable RPS tasks in saa7146_init_one() Signed-off-by: Michael Hunold Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.1966.1.24, 2005-01-22 11:32:44-08:00, tony.luck@intel.com [IA64] tiger_defconfig: updated for 2.6.11-rc2 Signed-off-by: Tony Luck ChangeSet@1.1966.80.8, 2005-01-22 11:02:00-08:00, roland@redhat.com [PATCH] PPC64: fix stack alignment for signal handlers The PPC64 ABI specifies that the stack should be kept aligned to 16 bytes. However, signal handlers on PPC64 are getting run with the stack misaligned (sp % 16 == 8). This patch fixes that by ensuring that the signal frame allocated is a multiple of 16 bytes. In addition to the PPC64 signal frame itself being of misaligned size, the explicit alignment of the starting stack pointer is also to 8 instead of 16. I've corrected this as well, so signal frames are aligned even if the interrupted registers contained a misaligned stack pointer. Signed-off-by: Roland McGrath [ Paul Mackerras acked the original patch (which also did it for the 32-bit cases), and pointed out that the 32-bit cases all already did the alignment elsewhere and didn't need this. Patch edited down accordingly. ] Signed-off-by: Linus Torvalds ChangeSet@1.1966.80.7, 2005-01-22 10:31:39-08:00, nanhai.zou@intel.com [PATCH] Fix an error in copy_page_range There is a bug in copy_page_range with 4 level page table change. copy_page_range do a continue without adding pgds and addr when pgd_none(*src_pgd) or pgd_bad(*src_pgd). Signed-off-by: Zou Nan hai Acked-by: Nick Piggin Signed-off-by: Linus Torvalds ChangeSet@1.1974, 2005-01-22 11:19:29+01:00, vojtech@silver.ucw.cz Merge silver.ucw.cz:/home/vojtech/bk/linus into silver.ucw.cz:/home/vojtech/bk/input ChangeSet@1.1966.77.144, 2005-01-21 20:04:07-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. Signed-off-by: David S. Miller ChangeSet@1.1966.80.6, 2005-01-21 17:45:41-08:00, torvalds@ppc970.osdl.org Linux 2.6.11-rc2 TAG: v2.6.11-rc2