ChangeSet@1.2293, 2005-03-25 19:07:07-08:00, torvalds@ppc970.osdl.org Undo VIA AGP TLB flush low-bits-zero patch It causes problems for people, and as DaveJ says: "Yes, it's clearly completely broken". Cset exclude: davej@delerium.kernelslacker.org|ChangeSet|20050223022752|60156 ChangeSet@1.2292, 2005-03-25 18:14:44-08:00, paulus@samba.org [PATCH] ppc64: prom.c: use pSeries reconfig notifier Use the pSeries_reconfig notifier list to fix up a device node which is about to be added. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2291, 2005-03-25 18:14:28-08:00, paulus@samba.org [PATCH] ppc64: introduce pSeries_reconfig.[ch] Move as much pSeries-specific DLPAR/hotplug code as possible into its own file, which is built only when pSeries support is enabled in the config. This new file is intended to contain support code for the "Dynamic Reconfiguration" option in the RISC Platform Architecture, which encompasses both PCI hotplug and dynamic logical partitioning (DLPAR). This patch mostly just moves code around, but the device node addition and removal API is slightly modified. In this way, of_add_node and of_remove_node are now responsible only for safely updating the device tree and global list, without all the other stuff like proc entries etc. of_add_node and of_remove_node have been renamed to of_attach_node and of_detach_node, respectively. This also adds the definitions and api for a notifier chain which is meant to be used by code that must act upon device node addition or removal. Patches to migrate code to the notifier api follow in this series. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2290, 2005-03-25 18:04:55-08:00, paulus@samba.org [PATCH] ppc64: make OF node fixup code usable at runtime At boot we recurse through the device tree "fixing up" various fields and properties in the device nodes. Long ago, to support DLPAR and hotplug, we largely duplicated some of this fixup code, the main data structures which are attached to the new device nodes. This patch introduces a helper function (prom_alloc) for handling allocations at both boot and runtime, kills most of the duplicated code, and makes finish_node, finish_node_interrupts, and interpret_pci_props suitable for use at runtime by converting them to use prom_alloc. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2289, 2005-03-25 18:04:37-08:00, paulus@samba.org [PATCH] ppc64: preliminary changes to OF fixup functions Preliminary modifications to support using some of the interpret_func family of functions at runtime. Changes the mem_start argument to be passed by reference, and the return type to int for error handling to be implemented in following patches. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2218.1.1, 2005-03-18 15:17:04-08:00, tony.luck@intel.com [IA64] Another fix for pgd_addr_end (last one was wrong). I confused the hole in the middle of a region when an implementation of the Itanium architecture doesn't implement all the virtual address bits with the actual layout in Linux. Linux doesn't put a hole in the middle of the region, it stacks all the address space that the page tables can reference at the start of the region. Thanks to Dave Miller (again) and Peter Chubb. Signed-off-by: Tony Luck ChangeSet@1.2287, 2005-03-18 13:46:48-08:00, schwidefsky@de.ibm.com [PATCH] s390: oprofile support Remove experimental tag from the s390 oprofile support. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2286, 2005-03-18 13:46:29-08:00, ptiedem@de.ibm.com [PATCH] s390: ctc buffer size ctc network driver changes: - Allow to change the ctc buffer size while ctc is offline. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2285, 2005-03-18 13:46:10-08:00, schwidefsky@de.ibm.com [PATCH] s390: missing timer ticks s390 core changes: - Fix missing timer ticks. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2284, 2005-03-18 13:45:52-08:00, holzheu@de.ibm.com [PATCH] s390: s390dbf permissions Use more specific permissions for the procfiles if s390dbf. Read only views should have read permission, write only views should have write permission. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2283, 2005-03-18 13:45:31-08:00, cohuck@de.ibm.com [PATCH] s390: device unregistering Common i/o layer changes: - Don't unregister devices from ccw_device_{on,off}line_notoper directly, but put the unregister on the ccw_device_work workqueue (as it is done for all other unregisters). Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2282, 2005-03-18 13:45:12-08:00, schwidefsky@de.ibm.com [PATCH] s390: add run_posix_cpu_timers to account_user_vtime The posix-timers patch introduces a call to run_posix_cpu_timers in update_process_times. The same call is required in the s390 private account_user_vtime function as well. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2281, 2005-03-18 13:44:55-08:00, schwidefsky@de.ibm.com [PATCH] s390: define atomic_sub_return Add missing atomic_sub_return for skb_release_data. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2280, 2005-03-18 13:44:36-08:00, schwidefsky@de.ibm.com [PATCH] s390: system calls s390 system call fixes: - Add missing waitid and remap_file_pages system calls to s390. - Keep consistent naming scheme xxx_wrapper in compat_wrapper.S. - Remove #undef of __NR_getdents64 for 64 bit. The system call is present for 64 bit (linux_getdents and linux_getdents64 differ). Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2279, 2005-03-18 13:44:18-08:00, juhl-lkml@dif.dk [PATCH] mips: convert a remaining verify_area to access_ok Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2278, 2005-03-18 13:44:00-08:00, paulus@samba.org [PATCH] ppc64: allow xmon=on,off,early allow 'xmon' or 'xmon=early' to enter xmon very early during boot. allow 'xmon=on' to just enable it, or 'xmon=off' to disable it. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2277, 2005-03-18 13:43:42-08:00, paulus@samba.org [PATCH] ppc64: fix error cases in nvram partition scan The NVRAM on pSeries machines and powermacs is structured as a series of partitions, each of which has a header containing its length (including the header) and a header checksum. When the checksum was wrong or the length was zero, we would previously keep trying to scan through the partitions, possibly looping forever if the length was zero. This patch changes the behaviour to terminate the scan when a corrupted partition is found. Signed-off-by: Utz Bacher Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2276, 2005-03-18 13:43:21-08:00, paulus@samba.org [PATCH] ppc64: remove unnecessary ISA ioports During boot, pSeries_request_regions() should only request I/O ports for legacy ISA in the case that ISA exists on the system. Add a check for this. This patch was suggested by Anton. Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2275, 2005-03-18 13:43:04-08:00, paulus@samba.org [PATCH] ppc64: make cpu hotplug play well with maxcpus and smt-enabled This patch allows you to boot a pSeries system with maxcpus=x or smt-enabled=off (or both) and bring up the offline cpus later from userspace, assuming the kernel was built with CONFIG_HOTPLUG_CPU=y. - Record cpus which were started from OF in a cpu map and use that instead of system_state to decide how to start a cpu in smp_startup_cpu. - Change the smp bootup logic slightly so that the path for bringing up secondary threads is exactly the same as hotplugging a cpu later from userspace. - Add a new function to smp_ops - cpu_bootable. This is implemented only by pSeries to filter out secondary threads during boot with smt-enabled=off. Another way this could be done is to change the kick_cpu member to return int and we can check for this case in smp_pSeries_kick_cpu. - Remove the games we play with cpu_present_map and the hard_smp_processor_id to handle smt-enabled=off, since they're now unnecessary. - Remove find_physical_cpu_to_start; assigning threads to logical slots should be done at bootup and at DLPAR time, not during a cpu online operation. One caveat: you need up-to-date firmware on Power5 for the maxcpus option to work on systems with more than one processor. Otherwise interrupts get misrouted, typically resulting in hangs or "unable to find root filesystem" problems. Tested on Power5 with and without CONFIG_HOTPLUG_CPU and with various combinations of the maxcpus= and smt-enabled= parameters. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2274, 2005-03-18 13:42:41-08:00, paulus@samba.org [PATCH] ppc64: use pSeries reconfig notifier for cpu DLPAR Use the pSeries_reconfig notifier API to handle processor addition and removal on pSeries LPAR. This is the "right" way to do it, as opposed to setting cpu_present_map = cpu_possible_map at boot (this is fixed in a following patch). Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2273, 2005-03-18 13:42:16-08:00, olh@suse.de [PATCH] ppc64: missing newline/carrige return in zImage Some eyecandy for zImage and zImage.initrd. Most OF implementations do not print a newline after their last line of output, so the "zImage starting..." appears right after the last number or netboot output. A zImage.initrd misses a carrige return to avoid a staircase effect. Tested on JS20. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2272, 2005-03-18 13:41:56-08:00, benh@kernel.crashing.org [PATCH] ppc64: thermal control for Xserve This patch adds support for Xserve G5 to the thermal control driver. It also adds a few updates to the desktop G5 code based from changes Apple did to their own drivers. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2271, 2005-03-18 13:41:39-08:00, kravetz@us.ibm.com [PATCH] ppc64: NUMA memory fixup (another try) Below is a new version of the patch that allows holes within nodes on ppc64 NUMA. I would appreciate it if someone familiar with OF device tree parsing could take a look at this part of the code. So far, I've gotten this wrong twice. Patch was tested in various configurations on a G5 and OpenPower 720. Signed-off-by: Mike Kravetz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2270, 2005-03-18 13:41:20-08:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries: cleanup iSeries_setup This patch does some trivial cleanups on iSeries_setup.[ch]: - eliminiate warning about iommu_init_early_iSeries not being declared - remove trailing whitespace - change some functions to static - remove defunct function declarations Built and booted on iSeries. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2269, 2005-03-18 13:41:02-08:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries: cleanup viopath I figured I might as well do some simple cleanups. This patch does: - single bit int bitfields are a bit suspect and Anndrew pointed out recently that they are probably slower to access than ints - get rid of some more studly caps - define the semaphore and the atomic in struct alloc_parms rather than pointers to them since we just allocate them on the stack anyway. - one small white space cleanup - use the HvLpIndexInvalid constant instead of ita value Built and booted on iSeries (which is the only place it is used). Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2268, 2005-03-18 13:40:44-08:00, paulus@samba.org [PATCH] ppc64: delete unused file iSeries_fixup.h This patch is from Domen Puncer . Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2267, 2005-03-18 13:40:25-08:00, paulus@samba.org [PATCH] ppc64: delete unused file no_initrd.c This patch is from Domen Puncer . Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2266, 2005-03-18 13:40:06-08:00, paulus@samba.org [PATCH] ppc64: make RTAS code usable on non-pSeries machines This patch is from Arnd Bergmann . RTAS is not actually pSeries specific, but some PPC64 code that relies on RTAS is currently protected by CONFIG_PPC_PSERIES. This introduces a generic configuration option PPC_RTAS that can be used by other subarchitectures as well. The existing option with the same name is renamed to the more specific RTAS_PROC. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2265, 2005-03-18 13:39:47-08:00, paulus@samba.org [PATCH] ppc64: kill might_sleep() warnings in __copy_*_user_inatomic This patch is from Arnd Bergmann and Olof Johansson. This implements the __copy_{to,from}_user_inatomic() functions on ppc64. The only difference between the inatomic and regular version is that inatomic does not call might_sleep() to detect possible faults while holding locks/elevated preempt counts. Signed-off-by: Arnd Bergmann Acked-by: Olof Johansson Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2264, 2005-03-18 13:39:27-08:00, paulus@samba.org [PATCH] ppc64: fix kprobes calling smp_processor_id when preemptible When booting with kprobes and preemption both enabled and CONFIG_DEBUG_PREEMPT=y, I get lots of warnings about smp_processor_id being called in preemptible code, from kprobe_exceptions_notify. On ppc64, interrupts and preemption are not disabled in the handlers for most synchronous exceptions such as breakpoints and page faults (interrupts are disabled in the very early exception entry code but are reenabled before calling the C handler). This patch adds a preempt_disable/enable pair to kprobe_exceptions_notify, and moves the preempt_disable() in kprobe_handler() to be done only in the case where we are about to single-step an instruction. This eliminates the bug warnings. From: Ananth N Mavinakayanahalli The patch is fine, but it seems to break jprobes - we have an unbalanced preempt_enable/disable path while handling jprobes. Patch below is against 2.6.11-mm4 and fixes the issue. Signed-off-by: Paul Mackerras Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2263, 2005-03-18 13:39:10-08:00, waite@skycomputers.com [PATCH] ppc32: add support for Sky Computers HDPU Compute blade enhanced features The Sky Computers HDPU compute blade is an embedded compute platform for the Sky Computers SMARTpac 600/1200 series. The blade consists of ppc7445/ppc7447A UP or SMP, Marvell Discovery II, 100 BaseT ethernet, a single PCI/PCI-X slot, and a PCI-X on-board Infiniband device. This patch contains drivers for enhanced features of the HDPU compute blade. Namely, 2 drivers for registers used by the Health monitoring co-processor. The cpustate register is a write only register used to convey critical states to the health monitor and the nexus registers provides a read-only interface from the health monitoring system to provide location based information. Signed-off-by: Brian Waite Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2262, 2005-03-18 13:38:51-08:00, ntl@pobox.com [PATCH] ppc64: rtasd shouldn't hold cpucontrol while sleeping The rtasd thread should not hold the cpucontrol semaphore while sleeping between event scans in its first pass; it needlessly delays boot by one second per cpu when CONFIG_HOTPLUG_CPU=y. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2261, 2005-03-18 13:38:22-08:00, waite@skycomputers.com [PATCH] ppc32: add support for Sky Computers HDPU Compute blade The Sky Computers HDPU compute blade is an embedded compute platform for the Sky Computers SMARTpac 600/1200 series. A blade consists of ppc7445/ppc7447A, Marvell Discovery II, 100 BaseT ethernet, a single PCI/PCI-X slot, and a PCI-X on-board Infiniband device. This patch contains the base platform support required for booting Linux. Signed-off-by: Brian Waite Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2260, 2005-03-18 13:37:48-08:00, tnt@246tNt.com [PATCH] ppc32: sparse clean ups for the Freescale MPC52xx related code These clean-ups are mainly missing __iomem qualifier, unnecessary (and 'wrong') casting, missing static. Signed-off-by: Sylvain Munaut Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2259, 2005-03-18 13:37:25-08:00, benh@kernel.crashing.org [PATCH] ppc32: Add pegasos ethernet support This patch declares the necessary platform device on the pegasos platform so that the mv643xx eth driver can be used on it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Sven Luther Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2258, 2005-03-18 13:37:05-08:00, tnt@246tNt.com [PATCH] ppc32: Add PCI bus support for Freescale MPC52xx Note that this support has "known" problem but theses are believed to be due to hardware issues. Signed-off-by: Sylvain Munaut Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2257, 2005-03-18 13:36:44-08:00, galak@freescale.com [PATCH] ppc32: Fix FEC ethernet intialization on MPC8540 ADS board The PHY interrupt for the DM9121 PHY connected to the FEC ethernet port does not work on the MPC8540 ADS board. If we tell the driver that the PHY does not have an interrupt the FEC works properly on the MPC8540 ADS board. Signed-off-by: Roy Zang Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2256, 2005-03-18 13:36:24-08:00, mgreer@mvista.com [PATCH] ppc32: Clean up mv64x60 bootwrapper support This patch removes the call to mv64x60_init() in arch/ppc/boot/simple/head.S and now uses the 'load_kernel()' hook to call to have mv64x60-specific code called. This means that the mv64x60 code will be called after the bootwrapper has relocated itself. The platforms affected by this change are updated by this patch as well. Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2255, 2005-03-18 13:35:33-08:00, mgreer@mvista.com [PATCH] ppc32: update Radstone ppc7d platform - Recent mv643xx #define name changes broke the PPC7D platform compile. Fixed by this patch. - Change default platform config to add mv643xx_eth and mv64xxx-i2c config options. - Add i2c platform data and update to cope with recent platform device name change. Signed-off-by: James Chapman Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2254, 2005-03-18 13:35:15-08:00, mgreer@mvista.com [PATCH] ppc32: Patch for changed dev->bus_id format - Recent changes to drivers/base/platform.c:platform_device_register() changed the format of dev->bus_id (there is now a '.' between the name & instance (e.g., the old mpsc0 is now mpsc.0)). This field is used by some platform's platform_notify() routine to identify the dev entry. This patch updates the bus_id value compared to include the dot. - Fix an bad macro name change by a previous patch. - Some coding style fixups, etc. Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2253, 2005-03-18 13:34:57-08:00, trini@kernel.crashing.org [PATCH] ppc32: Update 8260_io/fcc_enet.c to function again There's too many things in here that've sat too long (I'd been hoping to just delete the driver, but that hasn't happened yet, so). A cobbled together list of changes is: - Update MDIO support for workqueues. - Make use of - Add RPX6 support. - Comment out set_multicast_list (broken). - Rework tx_ring stuff so we have tx_free, not tx_Full/n_pkts. - Other PHY updates/fixes. - Leo Li: Rework FCC clock configuration, make it easier. - 2.4 : VLAN header room, other misc bits. - Kill MII_REG_NNN in favor of defines from - DM9161 PHY support (2.4, Myself & alebas@televes.com) - PQ2ADS and PQ2FADS support bits (Myself & alebas@televes.com From: Leo Li Signed-off-by: Tom Rini Signed-off-by: Alexandre Bastos Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2252, 2005-03-18 13:34:37-08:00, trini@kernel.crashing.org [PATCH] ppc32: Fix a typo on 8260 This fixes a lingering typo in arch/ppc/boot/simple/m8260_tty.c Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2251, 2005-03-18 13:34:08-08:00, trini@kernel.crashing.org [PATCH] ppc32: Serial fix for PAL4 Add PAL4's bit to Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2250, 2005-03-18 13:33:38-08:00, trini@kernel.crashing.org [PATCH] ppc32: Better comment arch/ppc/syslib/cpc700.h This adds better comments to arch/ppc/syslib/cpc700.h Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2249, 2005-03-18 13:33:17-08:00, trini@kernel.crashing.org [PATCH] ppc32: Lindent include/asm-ppc/dma.h This originally came from Paul, back in July of 2003. Run Lindent over include/asm-ppc/dma.h Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2248, 2005-03-18 13:32:53-08:00, trini@kernel.crashing.org [PATCH] ppc32: Delete arch/ppc/syslib/ppc4xx_serial.c arch/ppc/syslib/ppc4xx_serial.c is unused cruft, delete. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2247, 2005-03-18 13:32:35-08:00, trini@kernel.crashing.org [PATCH] ppc32: Fix a warning in planb video driver [ aside: This has been sitting in the linuxppc-2.5 bk tree for I don't know how long. And the driver is still horribly broken. ] The following patch moves overlay_is_active to before its first use. It was originally written when gcc wouldn't complain, but now does, about not having the definition before usage. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2246, 2005-03-18 13:32:14-08:00, benh@kernel.crashing.org [PATCH] ppc32: Add virtual DMA support to legacy floppy driver This patch adds support for pseudo-dma transfers on ppc32 for the legacy floppy driver. It is useful on some machines like pegasos where the legacy DMA doesn't seem to work properly (possibly to the lack of a "legacy" DMA zone on ppc32). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Pavel Fedin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2245, 2005-03-18 13:31:55-08:00, benh@kernel.crashing.org [PATCH] ppc32: Update PowerMac models table This patch updates the table of PowerMac models, adding the Mac mini, a few missing ones in older slots too, and sorts it in a more logical way. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2244, 2005-03-18 13:31:36-08:00, benh@kernel.crashing.org [PATCH] ppc32: Fix overflow in cpuinfo freq. display The CPU frequency in /proc/cpuinfo would overflow because of a signed/unsigned bug. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2243, 2005-03-18 13:31:16-08:00, benh@kernel.crashing.org [PATCH] ppc32: Fix PowerMac cpufreq for newer machines This patch fixes the cpufreq support for newer machines, including latest Apple laptops using the 7447A CPU. With this patch, it should now propertly detect that the CPU is booting low speed on some models, and let you switch it to full speed (previously, /proc/cpuinfo would display the frequency of the full speed CPU but it was really running low speed). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2229.1.14, 2005-03-18 10:45:06-08:00, herbert@gondor.apana.org.au [NET]: Make dst_allfrag use dst instead of dst->path > BTW, shouldn't dst_allfrag be called dst_path_allfrag? Rather than doing that, let's make the path usage explicit in the one place that it's needed (the same place where we use dst_mtu(dst->path)). Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.13, 2005-03-18 10:43:40-08:00, herbert@gondor.apana.org.au [NET]: Kill dst_pmtu/dst_path_metric This would have been the patch that removed dst->path. But ip_append_data got in the way :) However, using dst->path is only needed rarely and should always require a bit of deliberation. So let's get rid of dst_pmtu and dst_path_metric and use dst_mtu and dst_metric directly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.12, 2005-03-18 10:42:32-08:00, herbert@gondor.apana.org.au [NET]: Kill unnecessary uses of dst_path_metric This gets rid of the last unnecessary use of dst_path_metric. In decnet dst->path is always equal to dst. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.11, 2005-03-18 10:41:41-08:00, herbert@gondor.apana.org.au [IPSEC]: Get ttl from child instead of path Now that dst_pmtu is almost gone let's do the same to dst_path_metric. I've only found one legitimate use of it and that's the one that was recently added in dst_allfrag. This patch makes xfrm4_encap/xfrm6_encap use dst->child instead of dst->path so that we choose the correct route to get the hoplimit from when nested tunnels are present. For simple tunnels dst->child == dst->path so there is no change. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.10, 2005-03-18 10:39:12-08:00, herbert@gondor.apana.org.au [IPV4]: Kill remaining unnecessary uses of dst_pmtu Once again here is a couple of trivial dst_pmtu/dst_mtu replacements. In both locations, we can only have simple dst entries which means that dst == dst->path. BTW, this is the rule that we should apply in future for uses of dst_mtu/dst_pmtu (or other metrics on dst). If the only dst's that can appear are simple dst's (dst == dst->path), then we should use dst_mtu or dst_metric. If dst != dst->path, then whoever is writing the code will need to think about which of dst or dst->path is the right one. In most instances dst will be the one. However, as we have seen in ip_append_data, dst->path may be needed rarely. In particular, if we're doing fragmentation immediately after IPsec, then you may need it. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.9, 2005-03-18 10:37:41-08:00, herbert@gondor.apana.org.au [NETFILTER]: Use correct IPSEC MTU in TCPMSS This patch makes ipt_TCPMSS use the correct MTU value for clamping. This is a bit tricky actually since TCPMSS can be used in FORWARD, LOCAL_OUT as well as POST_ROUTING. In the first two cases we haven't performed IPsec yet so dst_mtu obviously does the right thing. As it is, POST_ROUTING is performed after xfrm_output so MSS clamping is useless there. With Patrick's IPsec netfilter stuff, there will be a POST_ROUTING processing before IPsec processing, in which case dst_mtu also returns exactly what we want. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.8, 2005-03-18 10:36:23-08:00, herbert@gondor.apana.org.au [IPV4]: Fix MTU check in ipmr_queue_xmit Somehow I missed four files with dst_pmtu usages in them. I'm going to split them along the sames lines I did before: bug fixes and then the trivial changes. Here is a patch that replaces dst_pmtu with dst_pmtu in ipmr.c since this is straight IPIP tunneling equivalent to what we have in ipip.c. As it is we may send ICMP packets when IPsec is present which is exactly what the comment says that we shouldn't do. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229.1.7, 2005-03-18 10:34:53-08:00, shenkel@gmail.com [TUN]: Align only ethernet packets to NET_IP_ALIGN. Signed-off-by: Sven Henkel Signed-off-by: David S. Miller ChangeSet@1.2229.1.6, 2005-03-18 10:30:20-08:00, shenkel@gmail.com [NETPOLL]: Align UDP packets to NET_IP_ALIGN. This avoids unnecessary alignment traps on some platforms. Signed-off-by: Sven Henkel Signed-off-by: David S. Miller ChangeSet@1.2229.2.11, 2005-03-18 08:01:17-08:00, tali@admingilde.org [PATCH] docbook: fix escaping of kernel-doc This fixes a bug I introduced with the last patches of the DocBook generation. Signed-off-by: Martin Waitz Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.10, 2005-03-18 08:01:00-08:00, aia21@cam.ac.uk [PATCH] uml: Fix compilation due to mismerge. The recent slew of UML updates that appeared in BK seems to have gone wrong somewhere. The file "arch/um/kernel/syscall_user.c" contains identical content twice over, thus breaking compilation. Below is a patch to fix this. Please apply. Signed-off-by: Anton Altaparmakov Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.9, 2005-03-18 07:52:44-08:00, gerg@snapgear.com [PATCH] m68k-nommu: remove vendor/board specific startup code Remove all board specific startup code files. Code has been merged into a much smaller set of common code for each CPU class type, so that is 3 types now. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.8, 2005-03-18 07:52:22-08:00, gerg@snapgear.com [PATCH] m68k-nommu: move PILOT platform startup code Create more common 68328 startup code for the PILOT platform. It requires some unique setup from boot, that no other platform requires. This is part of the re-organization of the start up code to make more if it common. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.7, 2005-03-18 07:52:05-08:00, gerg@snapgear.com [PATCH] m68k-nommu: create common 68328 RAM based startup code Create common 68328 startup code for the ram based platforms. This is part of the re-organization of the start up code to make more if it common. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.6, 2005-03-18 07:51:48-08:00, gerg@snapgear.com [PATCH] m68k-nommu: remove nowhere referenced file semp3.h Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.5, 2005-03-18 07:51:32-08:00, gerg@snapgear.com [PATCH] m68k-nommu: create common 68328 ROM based startup code Create common 68328 startup code for the ROM based platforms. This is part of the re-organization of the start up code to make more if it common. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.4, 2005-03-18 07:51:14-08:00, gerg@snapgear.com [PATCH] m68k-nommu: fix broken GET_MEM_SIZE macro in ColdFire head code Fix GET_MEM_SIZE macro, name was wrong. It is only used on the 5272 platform, so got overlooked in original changes. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.3, 2005-03-18 07:50:57-08:00, gerg@snapgear.com [PATCH] m68k-nommu: change build process to use common head code Update m68knommu Makefiles to build just the common start up head code now. Remove all referneces to the older vendor/board specific start codes. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.2, 2005-03-18 07:50:40-08:00, gerg@snapgear.com [PATCH] m68k-nommu: use vma list in nommu mmap support Modify the mm_context struct to keep a list of vma's instead of the uClinux specific mm_block struct's that used to be used. This reflects the changes made to mm/nommu.c in 2.6.11. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.2.1, 2005-03-18 07:50:25-08:00, gerg@snapgear.com [PATCH] m68k-nommu: remove nowhere referenced file io_hw_swap.h Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2229.1.3, 2005-03-18 15:10:40+01:00, marcel@holtmann.org [Bluetooth] Kill bt_sock_alloc() and its usage Kill bt_sock_alloc() function and make the derived socks have a struct bt_sock as its first member, so that the _pi() functions can just cast the struct sock pointer to its respective types, taking advantage of the fact that sk_alloc() now use kmalloc() when no slab is passed. This is another step, close to the final one, to kill sk_protinfo and make further planned changes possible. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller Signed-off-by: Marcel Holtmann ChangeSet@1.2229.1.2, 2005-03-18 13:25:42+01:00, marcel@holtmann.org [Bluetooth] Fix session reference counting for RFCOMM When an incoming connection terminates, the signal DLC is never closed and thus the underlaying L2CAP connection stays open. This problem doesn't show up often, because most times the other side takes care of terminating the signal DLC. Signed-off-by: Marcel Holtmann ChangeSet@1.2229.1.1, 2005-03-18 13:21:52+01:00, marcel@holtmann.org [Bluetooth] Support HCI Extensions in BCSP driver To support the vendor specific HCI commands and events the BCSP drivers needs to convert these to BCSP packets for the correct channel. Signed-off-by: Marcel Holtmann ChangeSet@1.2239, 2005-03-18 12:06:33+01:00, bzolnier@trik.(none) [ide] ide-tape: fix character device ->open() vs ->cleanup() race Similar to the same race but for the block device. * store pointer to struct ide_tape_obj in idetape_chrdevs[] * rename idetape_chrdevs[] to idetape_devs[] and kill idetape_chrdev_t * add ide_tape_chrdev_get() for getting reference to the tape * store tape pointer in file->private_data and fix all users of it * fix idetape_chrdev_{open,release}() to get/put reference to the tape Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2238, 2005-03-18 12:05:37+01:00, bzolnier@trik.(none) [ide] ide-scsi: add basic refcounting * pointers to a SCSI host and a drive are added to idescsi_scsi_t * pointer to the SCSI host is stored in disk->private_data * ide_scsi_{get,put}() is used to {get,put} reference to the SCSI host Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2237, 2005-03-18 12:01:47+01:00, bzolnier@trik.(none) [ide] ide-tape: add basic refcounting Similar changes as for ide-cd.c. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2236, 2005-03-18 11:59:51+01:00, bzolnier@trik.(none) [ide] ide-floppy: add basic refcounting Similar changes as for ide-cd.c. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2235, 2005-03-18 11:57:25+01:00, bzolnier@trik.(none) [ide] ide-disk: add basic refcounting Similar changes as for ide-cd.c (except that struct ide_disk_obj is added). Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2234, 2005-03-18 11:54:40+01:00, bzolnier@trik.(none) [ide] ide-cd: add basic refcounting * based on reference counting in drivers/scsi/{sd,sr}.c * fixes race between ->open() and ->cleanup() (ide_unregister_subdriver() tests for drive->usage != 0 but there is no protection against new users) * struct kref and pointer to a drive are added to struct ide_cdrom_info * pointer to drive's struct ide_cdrom_info is stored in disk->private_data * ide_cd_{get,put}() is used to {get,put} reference to struct ide_cdrom_info * ide_cd_release() is a release method for struct ide_cdrom_info Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2233, 2005-03-18 11:51:25+01:00, bzolnier@trik.(none) [ide] make ide_generic_ioctl() take ide_drive_t * as an argument As a result disk->private_data can be used by device drivers now. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2232, 2005-03-18 11:45:52+01:00, htejun@gmail.com [ide] hdio.txt update This patch updates Documentation/ioctl/hdio.txt to include more detailed descriptions about HDIO_DRIVE_{CMD|TASK|TASKFILE} ioctls. Signed-off-by: Tejun Heo Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2231, 2005-03-18 11:42:11+01:00, tklauser@nuerscht.ch [ide] drivers/ide/cs5520.c: use the DMA_{64,32}BIT_MASK constants Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2230, 2005-03-18 11:36:11+01:00, Jason.d.gaston@intel.com [ide] pci_ids.h correction for Intel ICH7R This patch removes an incorrect ICH7R DID in pci_ids.h. Signed-off-by: Jason Gaston Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2217.1.23, 2005-03-17 20:00:13-08:00, davem@sunset.davemloft.net [IPV4]: Make multipath algs into true drivers. This also makes them configurable on a per-route basis via rtnetlink route attributes. Based upon suggestions from Thomas Graf and Alexey Kuznetsov. Signed-off-by: David S. Miller ChangeSet@1.2229, 2005-03-17 16:52:58-08:00, torvalds@ppc970.osdl.org Linux 2.6.12-rc1 TAG: v2.6.12-rc1