ChangeSet@1.2138, 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 <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2137, 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 <nathanl@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2136, 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 <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2135, 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 <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2134, 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 <bunk@stusta.de> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2133, 2005-01-25 20:55:42-08:00, adaplas@hotpop.com [PATCH] backlight: Fix compile error if CONFIG_FB is unset With Andrew Zabolotny <zap@homelink.ru> 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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2132, 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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2131, 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 <andrewx.k.pfiffer@intel.com> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2130, 2005-01-25 20:54:57-08:00, adaplas@hotpop.com [PATCH] vesafb: Change return error id With <Stuart_Hayes@Dell.com> 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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2129, 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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2128, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2127, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2126, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2125, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2124, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2123, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2122, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2121, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2120, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2119, 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2118, 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 <domen@coderock.org> Signed-off-by: Gerd Knorr <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2117, 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 <domen@coderock.org> Signed-off-by: Gerd Knorr <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2116, 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 <domen@coderock.org> Signed-off-by: Gerd Knorr <kraxel@bytesex.org>- Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2115, 2005-01-25 20:50:58-08:00, kraxel@bytesex.org [PATCH] videotext: ioctls changed to use _IO macros From: Michael Geng <linux@MichaelGeng.de> 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 <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2114, 2005-01-25 20:50:44-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: use unsigned long for IO port address With Randy Dunlap <rddunlap@osdl.org> 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 <rddunlap@osdl.org> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2113, 2005-01-25 20:50:25-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: socket->{a,c}region are unused From: Christoph Hellwig <hch@lst.de> socket->{a,c}_region aren't ever touched elsewhere, so let's kill this. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2112, 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 <rddunlap@osdl.org> i82092: check return value from request_region() correctly; apparently unused for awhile now; Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2111, 2005-01-25 20:49:54-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: i82365: use CONFIG_PNP instead of __ISAPNP__ From: Randy Dunlap <rddunlap@osdl.org> Use CONFIG_PNP consistenly, for allocating and freeing resources, drop __ISAPNP__. Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2110, 2005-01-25 20:49:39-08:00, linux@dominikbrodowski.de [PATCH] pcmcia: tcic: eleminate deprecated check_region() From: Randy Dunlap <rddunlap@osdl.org> tcic: eliminate deprecated check_region(); Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2109, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2108, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2107, 2005-01-25 20:48:48-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: clean up ioremap()/request_region() usage From: "Michael S. Tsirkin" <mst@mellanox.co.il> 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2106, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2105, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2104, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2103, 2005-01-25 20:47:46-08:00, roland@topspin.com [PATCH] InfiniBand/mthca: optimize event queue handling From: "Michael S. Tsirkin" <mst@mellanox.co.il> 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 <mst@mellanox.co.il> Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2102, 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" <mst@mellanox.co.il> 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 <mst@mellanox.co.il> Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2101, 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" <mst@mellanox.co.il> 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 <mst@mellanox.co.il> Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2100, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2099, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2098, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2097, 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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2096, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2095, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2094, 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 <james4765@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2093, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2092, 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 <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2091, 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 <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2090, 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 <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2089, 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 <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2088, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2087, 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 <dsd@gentoo.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2086, 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 <herbert@gondor.apana.org.au> Acked-by: Thomas Voegtle <tv@lio96.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2085, 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 <matthew@wil.cx> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2084, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2083, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2082, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2081, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2080, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2079, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2078, 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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2077, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2076, 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 <klassert@mathematik.tu-chemnitz.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2075, 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 <bgerst@didntduck.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2074, 2005-01-25 20:40:18-08:00, hch@lst.de [PATCH] kill softirq_pending() With Steffen Klassert <klassert@mathematik.tu-chemnitz.de> no more users left, time to kill the various implementations Signed-off-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2073, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2072, 2005-01-25 20:39:48-08:00, pavel@suse.cz [PATCH] swsusp: fix buggy comment Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2071, 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 <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2070, 2005-01-25 20:39:17-08:00, ysato@users.sourceforge.jp [PATCH] h8300: fix warning update argument type Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2069, 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 <rjw@sisk.pl> 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 <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2068, 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 <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2067, 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 <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2066, 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 <bunk@stusta.de> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2065, 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 <bunk@stusta.de> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2064, 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 <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2063, 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 <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2062, 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 <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2061, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2060, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2059, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2058, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2057, 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 <nathanl@austin.ibm.com>. 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 <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2056, 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 <nathanl@austin.ibm.com>. 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 <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2055, 2005-01-25 20:35:29-08:00, paulus@samba.org [PATCH] ppc64: trivial cleanup: EEH_REGION This patch is originally from Linas Vepstas <linas@linas.org>. 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 <linas@linas.org> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2054, 2005-01-25 20:35:13-08:00, paulus@samba.org [PATCH] ppc64: replace schedule_timeout in die This patch is from Nishanth Aravamudan <nacc@us.ibm.com>. Replace schedule_timeout() with ssleep to simplify the code and to express the delay in seconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2053, 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 <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2052, 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 <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2051, 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 <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2050, 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 <cchaney@us.ibm.com>. 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 <cchaney@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2049, 2005-01-25 20:33:57-08:00, paulus@samba.org [PATCH] ppc64: fix in_be64 definition This patch is from Jake Moilanen <moilanen@austin.ibm.com>. 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 <moilanen@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2048, 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 <moilanen@austin.ibm.com>, 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 <moilanen@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2047, 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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2046, 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 <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2045, 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 <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2044, 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 <rvinson@mvista.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2043, 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 <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2042, 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 <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2041, 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 <andrea@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2040, 2005-01-25 20:31:34-08:00, andrea@suse.de [PATCH] mm: adjust dirty threshold for lowmem-only mappings With Rik van Riel <riel@redhat.com> Simply running "dd if=/dev/zero of=/dev/hd<one you can miss>" 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 <riel@redhat.com> Acked-by: Andrea Arcangeli <andrea@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2039, 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" <mst@mellanox.co.il> 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 <chrisw@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2038, 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 <amgta@yacht.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2037, 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 <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2036, 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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2035, 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: <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2034, 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.2033, 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.2032, 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 <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2031, 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.2030, 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 <ecashin@coraid.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.6.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.2020.1.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 <davem@davemloft.net> ChangeSet@1.2020.1.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 <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> ChangeSet@1.2020.1.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 <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> ChangeSet@1.2027, 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 <arjan@infradead.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> [ 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 <torvalds@osdl.org> ChangeSet@1.2026, 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.2025, 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.2020.1.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 <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2020.1.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 <kaos@ocs.com.au> Acked-by: Chris Wedgwood <cw@f00f.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2020.1.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 <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2020.1.2, 2005-01-23 10:29:11-08:00, ak@suse.de [PATCH] i386/x86-64: Fix ioremap off by one From Terence Ripperda <tripperda@nvidia.com> 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 <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2020.1.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: <prasanna@in.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.2023, 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.2022, 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 <rmk@arm.linux.org.uk> ChangeSet@1.2021, 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 <rmk@arm.linux.org.uk> ChangeSet@1.1983.2.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 <davem@davemloft.net> ChangeSet@1.1983.1.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 <davem@davemloft.net> ChangeSet@1.2017, 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 <tony.luck@intel.com> ChangeSet@1.2016, 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 <tony.luck@intel.com> ChangeSet@1.2015, 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 <jbarnes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2014, 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 <jbarnes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2013, 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 <jbarnes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2012, 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 <jes@trained-monkey.org> Signed-Off-By: Tony Luck <tony.luck@intel.com> ChangeSet@1.2011, 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 <eranian@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2010, 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 <tony.luck@intel.com> ChangeSet@1.2009, 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 <tony.luck@intel.com> ChangeSet@1.2008, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2007, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2006, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2005, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2004, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2003, 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 <tony.luck@intel.com> ChangeSet@1.2002, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2001, 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 <nacc@us.ibm.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.2000, 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 <rja@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1999, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1998, 2005-01-22 12:59:23-08:00, kaos@sgi.com [IA64] Sanity check unw_unwind_to_user Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1997, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1996, 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 <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1995, 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 <tony.luck@intel.com> ChangeSet@1.1994, 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 <markgw@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1993, 2005-01-22 12:03:07-08:00, steiner@sgi.com [IA64] Delete: arch/ia64/sn/include/shub.h Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1992, 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 <steiner@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1991, 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 <bob.picco@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.4.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 <hunold@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1990, 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 <tony.luck@intel.com> ChangeSet@1.1983.4.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 <roland@redhat.com> [ Paul Mackerras <paulus@samba.org> 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 <torvalds@osdl.org> ChangeSet@1.1983.4.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 <nanhai.zou@intel.com> Acked-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org> ChangeSet@1.1983.2.144, 2005-01-21 20:04:07-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. Signed-off-by: David S. Miller <davem@davemloft.net> ChangeSet@1.1983.4.6, 2005-01-21 17:45:41-08:00, torvalds@ppc970.osdl.org Linux 2.6.11-rc2 TAG: v2.6.11-rc2