ChangeSet@1.1305.1.55, 2003-06-14 21:23:36-07:00, akpm@digeo.com [PATCH] new eepro100 PDI ID From: Tom Alsberg Add support for a new eepro100 PCI ID. ChangeSet@1.1305.1.54, 2003-06-14 21:23:29-07:00, akpm@digeo.com [PATCH] efs typo fix It's using "||" instead of "|". Makes slab go BUG. ChangeSet@1.1305.1.53, 2003-06-14 21:23:19-07:00, akpm@digeo.com [PATCH] Parenthesisation fix in es1371 From: Ravikiran G Thirumalai Fix parenthesisation in a combined assign-and-check-error statement. ChangeSet@1.1305.1.52, 2003-06-14 21:23:12-07:00, akpm@digeo.com [PATCH] Parenthesisation fix in jffs From: Ravikiran G Thirumalai Fix parenthesisation in a combined assign-and-check-error statement. ChangeSet@1.1305.1.51, 2003-06-14 21:23:04-07:00, akpm@digeo.com [PATCH] Parenthesisation fix in dpt_i2o From: Ravikiran G Thirumalai Fix parenthesisation in a combined assign-and-check-error statement. ChangeSet@1.1305.1.50, 2003-06-14 21:22:57-07:00, akpm@digeo.com [PATCH] Fix sign handling bugs in aacraid From: Ravikiran G Thirumalai As we'll be checking `status' for errors, it had better not be unsigned. ChangeSet@1.1305.1.49, 2003-06-14 21:22:49-07:00, akpm@digeo.com [PATCH] Fix sign handling bugs in tun From: Ravikiran G Thirumalai Fix a check for underflow. ChangeSet@1.1305.1.48, 2003-06-14 21:22:40-07:00, akpm@digeo.com [PATCH] Fix sign handling bugs in mpt fusion From: Ravikiran G Thirumalai Don't compare unsigned value for < 0. ChangeSet@1.1305.1.47, 2003-06-14 21:22:34-07:00, akpm@digeo.com [PATCH] Fix sign handling bugs in epca From: Ravikiran G Thirumalai Don't check unsigned values for <= 0. ChangeSet@1.1305.1.46, 2003-06-14 21:22:26-07:00, akpm@digeo.com [PATCH] Fix sign handling bugs in Decnet From: Ravikiran G Thirumalai Fix decnet ioctl(TIOCOUTQ). ChangeSet@1.1305.1.45, 2003-06-14 21:22:19-07:00, akpm@digeo.com [PATCH] make pid_max readable From: Albert Cahalan This is needed so that apps can set appropriate column widths for PID display. ChangeSet@1.1305.1.44, 2003-06-14 21:22:09-07:00, akpm@digeo.com [PATCH] dm: Repair persistent minors From: Joe Thornber Split the dm_create() function into two variants, depending on whether you want the device to have a specific minor number. This avoids the broken overloading of the minor argument to the old dm_create(). ChangeSet@1.1305.1.43, 2003-06-14 21:22:02-07:00, akpm@digeo.com [PATCH] tmpfs: revert license to 2.4 version From: Hugh Dickins , Christoph Rohland Switches the long GPL blurb which Hugh took from the 2.4-ac version of mm/shmem.c, back to the original oneliner (as in 2.4.current). Christoph spotted that the long blurb says "either version 2 of the License, or (at your option) any later version", whereas he intended it be as COPYING says, version 2 period. Hugh and Christoph are happier with known version 2 than undefined future variants. ChangeSet@1.1305.1.42, 2003-06-14 21:21:54-07:00, akpm@digeo.com [PATCH] remove anon_hash_chain From: James Morris This patch against current bk removes anon_hash_chain from fs/inode.c, as all inodes in the 2.5 kernel must be associated with a superblock, and the anon hash is no longer needed. (akpm: Well there's one inode with a null i_sb: swapper_inode. But it shouldn't get here and if it does, we'll fix it by other means). ChangeSet@1.1305.1.41, 2003-06-14 21:21:47-07:00, akpm@digeo.com [PATCH] arcnet oops fix From: Dipankar Sarma Forward-port of a fix Alan merged into 2.4.21-pre. It fixes arcnet oopses with raw sockets. ChangeSet@1.1305.1.40, 2003-06-14 21:21:40-07:00, akpm@digeo.com [PATCH] v850: fix do_settimeofday() for new API ChangeSet@1.1305.1.39, 2003-06-14 21:21:29-07:00, akpm@digeo.com [PATCH] um: fix do_settimeofday() for new API ChangeSet@1.1305.1.38, 2003-06-14 21:21:22-07:00, akpm@digeo.com [PATCH] sparc: fix do_settimeofday() for new API ChangeSet@1.1305.1.37, 2003-06-14 21:21:14-07:00, akpm@digeo.com [PATCH] sh: fix do_settimeofday() for new API ChangeSet@1.1305.1.36, 2003-06-14 21:21:09-07:00, akpm@digeo.com [PATCH] arm26: fix do_settimeofday() for new API ChangeSet@1.1305.1.35, 2003-06-14 21:20:58-07:00, akpm@digeo.com [PATCH] ppc: fix do_settimeofday() for new API ChangeSet@1.1305.1.34, 2003-06-14 21:20:51-07:00, akpm@digeo.com [PATCH] m68k: fix do_settimeofday() for new API ChangeSet@1.1305.1.33, 2003-06-14 21:20:44-07:00, akpm@digeo.com [PATCH] cris: fix do_settimeofday() for new API ChangeSet@1.1305.1.32, 2003-06-14 21:20:37-07:00, akpm@digeo.com [PATCH] arm: fix do_settimeofday() for new API ChangeSet@1.1305.1.31, 2003-06-14 21:20:29-07:00, akpm@digeo.com [PATCH] alpha: fix do_settimeofday() for new API ChangeSet@1.1305.1.30, 2003-06-14 21:20:20-07:00, akpm@digeo.com [PATCH] s390: fix do_settimeofday() for new API ChangeSet@1.1305.1.29, 2003-06-14 21:20:14-07:00, akpm@digeo.com [PATCH] parisc: fix do_settimeofday() for new API ChangeSet@1.1305.1.28, 2003-06-14 21:20:06-07:00, akpm@digeo.com [PATCH] ia64: fix do_settimeofday() for new API ChangeSet@1.1305.1.27, 2003-06-14 21:19:59-07:00, akpm@digeo.com [PATCH] x86_64: fix do_settimeofday() for new API ChangeSet@1.1305.1.26, 2003-06-14 21:19:48-07:00, akpm@digeo.com [PATCH] sparc64: fix do_settimeofday() for new API ChangeSet@1.1305.1.25, 2003-06-14 21:19:41-07:00, akpm@digeo.com [PATCH] ppc64: fix do_settimeofday() for new API ChangeSet@1.1305.1.24, 2003-06-14 21:19:34-07:00, akpm@digeo.com [PATCH] More time clean up stuff From: george anzinger This patch addresses issues of roundoff error in the time keeping and NTP code as follows: The conversion of "actual jiffies" to TICK_USEC and then to TICK_NSEC introduced large errors if jiffies was not a power of 10 (e.g. 1024 for the ia64). Most of this is avoided by converting directly to TICK_NSEC. The calculation of MAX_SEC_IN_JIFFIES (the largest timespec or timeval the kernel will attempt) had overflow problems in the 64-bit machines. We introduce a different equation for those machines. The NTP frequency update code was allowing a micro second of error to accumulate before applying the correction. We change FINEUSEC to FINENSEC to do the correction as soon as a full nanosecond has accumulated. The initial calculation of time_freq for NTP had severe roundoff errors for HZ not a power of 10 (i.e. 1024). A new equation fixes this. clock_nanosleep is changed to round up to the next jiffie to cover starting between jiffies. ChangeSet@1.1305.1.23, 2003-06-14 21:19:27-07:00, akpm@digeo.com [PATCH] Some clean up of the time code. From: george anzinger This patch does the following: Pushs down the change from timeval to timespec in the settime routines. Fixes two places where time was set without updating the monotonic clock offset. (Changes sys_stime() to call do_settimeofday() and changes clock_warp to do the update directly.) These were bugs! Changes the uptime code to use the posix_clock_monotonic notion of uptime instead of the jiffies. This time will track NTP changes and so should be better than your standard wristwatch (if your using ntp). Changes posix_clock_monotonic to start at 0 on boot (was set to start at initial jiffies). Fixes a bug (never experienced) in timer_create() in posix-timers.c where we "could" have released timer_id 0 if "id resources" were low. Adds a test in do_settimeofday() to error out (EINVAL) attempts to use unnormalized times. This is passed back up to both settimeofday and posix_setclock(). Warning: Requires changes in .../arch/???/kernel/time.c to change do_settimeofday() to return an error if time is not normalized and to use a timespec instead of timeval for its input. ChangeSet@1.1305.1.22, 2003-06-14 21:19:19-07:00, akpm@digeo.com [PATCH] pcips2.c compile fix From: Vojtech Pavlik - irq_return_t fixes - remove obsolete pci_driver.driver bits ChangeSet@1.1305.1.21, 2003-06-14 21:19:12-07:00, akpm@digeo.com [PATCH] Unisys ES7000 2/2: platform subarch From: "Protasevich, Natalie" Include ES7000 specific code for es7000 subarch. ChangeSet@1.1305.1.20, 2003-06-14 21:19:01-07:00, akpm@digeo.com [PATCH] Unisys ES7000 platform subarch 1/2: generic bits From: "Protasevich, Natalie" The patch set adds support for the Unisys ES7000 series architecture. It covers different ES7000 platform variations with their corresponding APIC architectures, such as Fosters-Gallatins based (XAPIC) ES7000s as well as older Cascades based (logical cluster) ES7000 machines. The patch was discussed among platform developers on LK and later resided in the Alan's tree for 4-5 weeks for testing. Alan indicated that there are "Zero complaints of any kind, zero problems from the changed code". He recommended submit the patch. The code was tested by IBM as well as others and did not have any impact on existing subarchs and on standard systems. Here is the "generic" patch #1. It deals with the IRQ overrides (most of changes in mpparse.c and PCI range adjustment in io_apic.c), insufficient width of IO-APIC ID, and a corner case for defining quantities of things like APICs, IRQ sources, etc. (the attempt to make easier defining these items in subarchs resulted in separation of MP definition portion in include/asm-i386/mpparse.h from its enumeration portion). It has also Venkatesh Palladi's fix that he suggested earlier for the correct APIC version; I had to have it for this platform since the correct APIC version will be needed later for dynamic platform discovery when es7000 will be incorporated into genapic. ChangeSet@1.1305.1.19, 2003-06-14 21:18:54-07:00, akpm@digeo.com [PATCH] compat_ioctl fixes From: Anton Blanchard - Add BLKRASET/BLKFRASET as compatible ioctls - Remove ifdefs around RTC ioctls - ppc64 implements its own rtc driver and doesnt define CONFIG_RTC. - remove SG_IO which is not compatible - extra loop, autofs, NCP and bluetooth ioctls ChangeSet@1.1305.1.18, 2003-06-14 21:18:46-07:00, akpm@digeo.com [PATCH] NUMA fixes From: Anton Blanchard Anton has been testing odd setups: /* node 0 - no cpus, no memory */ /* node 1 - 1 cpu, no memory */ /* node 2 - 0 cpus, 1GB memory */ /* node 3 - 3 cpus, 3GB memory */ Two things tripped so far. Firstly the ppc64 debug check for invalid cpus in cpu_to_node(). Fix that in kernel/sched.c:node_nr_running_init(). The other problem concerned nodes with memory but no cpus. kswapd tries to set_cpus_allowed(0) and bad things happen. So we only set cpu affinity for kswapd if there are cpus in the node. ChangeSet@1.1305.1.17, 2003-06-14 20:55:14-07:00, torvalds@home.transmeta.com Fix up missing header files ChangeSet@1.1305.1.16, 2003-06-14 19:53:48-07:00, anton@samba.org [PATCH] fix compat_sys_getrusage compat_sys_getrusage was returning the result of a logical or. Make it return the result of sys_getrusage if it fails or -EFAULT if we cant write it out to userspace. ChangeSet@1.1305.1.15, 2003-06-14 19:53:41-07:00, paulus@samba.org [PATCH] fix weird kmalloc bug Last night, Manfred and I found an interesting bug with kmalloc on ppc32, where the kmalloc in alloc_super() (fs/super.c) was requesting 432 bytes but only getting 256 bytes. The reason was that PAGE_SIZE wasn't defined at the point where the kmalloc() inline function occurs. Thus the CACHE(32) entry got omitted from the list in kmalloc_sizes.h, and kmalloc therefore used the entry in malloc_sizes[] before the correct entry. This patch fixes it by including asm/page.h and asm/cache.h in linux/slab.h. The list in kmalloc_sizes.h depends on L1_CACHE_BYTES as well as PAGE_SIZE, which is why I added asm/cache.h. ChangeSet@1.1305.1.14, 2003-06-14 19:53:34-07:00, mikpe@csd.uu.se [PATCH] local APIC driver model cleanups This patch cleans up a few leftovers after Mochel's recent driver model changes. Tested. Please apply. - arch/i386/kernel/apic.c: no longer needed - include/asm-i386/apic.h: device_lapic no longer exported ChangeSet@1.1305.1.13, 2003-06-14 19:53:26-07:00, mikpe@csd.uu.se [PATCH] local APIC blacklist rules updates This patch removes the x86 local APIC blacklist rules for the Microstar 6163 and Intel AL440LX mainboards. These boards do work with local APIC enabled. Heavily tested. Please apply. Long story: When I worked on the initial UP_APIC code, these two mainboard (MS-6163 and AL440LX) were the only ones that caused hangs when the local APIC was enabled. At the time, I attributed these hangs to broken BIOSen and implemented DMI scan blacklist rules to prevent enabling the local APIC on them. However, the last year I've observed hangs on other mainboards that initially were believed to be safe for local APIC. The hangs turned out to be caused by APM's DISPLAY_BLANK option: When this option is enabled, APM will invoke BIOS and graphics card BIOS code without disabling the local APIC first. In many cases, a local APIC timer interrupt while APM is trying to blank the console will hang the system. APM also has two other options that can hang the system: CPU_IDLE and building APM as a module, both of which causes it to do BIOS calls without disabling the local APIC first. On all my systems, the only reliable configuration is to keep APM's DISPLAY_BLANK and CPU_IDLE disabled, and to build APM non-modular. ChangeSet@1.1305.1.12, 2003-06-14 14:21:48-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: move "config IDE" to drivers/ide/Kconfig Patch by Matthew Wilcox. Allows all architectures to simply include the drivers/ide/Kconfig file. ChangeSet@1.1305.1.11, 2003-06-14 14:21:19-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: Power Management Patch by Benjamin Herrenschmidt, minor fixes by me. ChangeSet@1.1305.1.10, 2003-06-14 14:21:09-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: bring non-taskfile code back Unexpectedly there are some taskfile IO bugreports, so bring back old code and add taskfile IO config option (default y). This aids testing and lets people use safe(?) old code. ChangeSet@1.1305.9.12, 2003-06-14 11:48:57-07:00, vojtech@kernel.bkbits.net Merge ChangeSet@1.1305.9.8, 2003-06-14 11:40:23-07:00, vojtech@kernel.bkbits.net Merge ChangeSet@1.1305.1.8, 2003-06-14 14:10:30-07:00, akpm@digeo.com [PATCH] fix deadlock over proc_lock From: Manfred Spraul Martin found out what caused the deadlocks with 2.5.70 and SDET: I forgot to initialize proc_lock during fork(). Usually this works, because the parent lock is unlocked. But a proc lookup during fork can cause it to be locked, and then the system locks up. ChangeSet@1.1305.1.7, 2003-06-14 12:08:27-07:00, torvalds@home.transmeta.com Linux 2.5.71 TAG: v2.5.71