The scsi ones are already gone in jejb's tree, I'll post a patch
to kill the struct fields once the scsi tree and this patch end
up merged in mainline.
Corey Minyard [Wed, 13 Aug 2003 16:47:17 +0000 (09:47 -0700)]
[PATCH] IPMI updates for 2.6.0-test3
Here are some minor updates to the IPMI driver. They fix the following:
* A missing check for copy_to_user() in the watchdog driver.
* Removal of unnecessary check_region() calls.
* Fixes for the ACPI configuration. The previous one would only work
with memory addresses, this will work with memory addresses,
ports, and hadle checking that the type is correct.
Neil Brown [Wed, 13 Aug 2003 16:38:25 +0000 (09:38 -0700)]
[PATCH] Fix bug in sunrpc/server code.
When a socket has a request ready it notifies a server thread.
When the thread has 'received' the request it calls svc_sock_received
to confirm the fact.
In some cases, svc_sock_received would be called an extra time and
this could lead to linked-list corruption and bad problems.
Andi Kleen [Wed, 13 Aug 2003 16:38:10 +0000 (09:38 -0700)]
[PATCH] x86-64 merge for 2.6.0test3
Without these changes an x86-64 NUMA kernel won't boot in many
configurations.
The main change is the improved IOMMU code which supports merging of
mappings and has various bugfixes.
- Update defconfig
- Use argument ptregs in 32bit elf_core_copy_task_fpregs
- Harden aperture fixup code: read aperture from the AGP bridge if needed,
better error checking.
- Support nmi_watchdog=panic to panic on watchdog trigger
- IOMMU: Support panic on IOMMU overflow (iommu=panic)
- IOMMU: Force SAC for mappings >40bits when iommu=force is active
(this can potentially give better performance)
- IOMMU: Cache northbridges for faster TLB flush
- IOMMU: Fix SMP race in TLB flush
- IOMMU: Merge pci_alloc_consistent and pci_map_single
- IOMMU: Clean up leak tracing
- IOMMU: Rewrite pci_map_sg, support merging of mappings
On overflow fall back to piece-by-piece mapping.
- IOMMU: Tell block layer to assume merging when iommu force is active
(this gives better performance with MTP fusion, drawback is that the
overflow/fragmentation handling of the IOMMU area is still a big
dubious with that)
- Fix/clean up per cpu data
- Add 64bit clean time(2)
- Export cpu_callout_map for IPv6
- Handle nodes with no own memory in NUMA discovery.
This fixes boot on various newer Opteron motherboards where the memory
is only connected to a single CPU.
- Fix fallback path for failed NUMA discovery. numnodes has to be reset.
- Check for enabled nodes in NUMA discovery (Eric Biederman)
- Remove NUMA emunodes support. Has badly bitrotted.
- Add __clear_bit_string for IOMMU code
- Add new 32bit system calls to ia32_unistd.h
- Remove duplicate default_do_nmi prototype
- Make PCI_DMA_BUS_IS_PHYS dependent on no_iommu
- Fix padding length of siginfo_t to match glibc
- More pci direct access functions.
Muli Ben-Yehuda [Wed, 13 Aug 2003 16:37:54 +0000 (09:37 -0700)]
[PATCH] fix trident.c lockup on module load 2.6.0-test2
This patch fixes a kernel lockup with 2.6.0-test2 when the trident.c
OSS driver is loaded and the driver attempts to initialize the
card. The problem is that in ali_ac97_get() we lock the card->lock
spinlock, but never release it on the good path, only on the error
path. This patch adds the missing spin_unlock_irqrestore().
This bug snuck in in a 2.4 sync from Alan, and 2.4 appears to suffer
from the same problem. A patch for that will be send to Marcelo
momentarily.
Jamie Lokier [Wed, 13 Aug 2003 16:37:46 +0000 (09:37 -0700)]
[PATCH] Fix protocol bugs with NFS and nanoseconds
NFS with 2.5.75 as both client and server is broken with GNU Make.
The nanosecond field of timestamps of newly touched files is often
negative on the client, which is probably why Make fails. The value
also bears no relation to the file's nanosecond field on the server.
The culprit is htons() used where htonl() should be:
The rest of this patch corrects nfsd to use microseconds in NFSv2, not
nanoseconds. (The client already gets this right, but I have
optimised it slightly to avoid division when possible).
Matt Wilson [Wed, 13 Aug 2003 16:37:38 +0000 (09:37 -0700)]
[PATCH] zap_other_threads() detaches thread group leader
The change to detach the threads in zap_other_threads() broke the case
where the non-thread-group-leader is the cause of de_thread().
In this case the group leader will be detached and freed before
switch_exec_pids() is complete and invalid data will be used. This is a
patch that makes sure that the group leader does not get detached and
reaped.
This disables the local APIC before reboot. This fixes BIOS reboot
problems reported by a few people.
disable_local_APIC() now checks if detect_init_APIC() enabled the
local APIC via the APIC_BASE MSR, and if so it now disables APIC_BASE.
Previously we would leave APIC_BASE enabled, and that made some
BIOSen unhappy.
The SMP reboot code calls disable_local_APIC(). On SMP HW there is
no change since detect_init_APIC() isn't called and APIC_BASE isn't
enabled by us. An SMP kernel on UP HW behaves just like an UP_APIC
kernel, so it disables APIC_BASE if we enabled it at boot.
The UP_APIC disable-before-suspend code is simplified since the existing
code to disable APIC_BASE is moved into disable_local_APIC().
(Felix Kühling originally reported the BIOS reboot problem. This is a
fixed-up version of his preliminary patch.)
Dave Jones [Wed, 13 Aug 2003 16:08:35 +0000 (09:08 -0700)]
[PATCH] Fix x87 FPU exception status check
From Dave Richards (drichards@mahinetworks.com)
"While diagnosing an MMX/FPU problem I found a minor problem in the
code which diagnoses and generates signals for FPU exceptions. On
x86 Stack Fault Exception are a subclass of Invalid Operation. Thus,
the FPU status register will have both the SF and IF bits set when a
stack fault occurs. The code which turns FPU exceptions into signals
was assuming IF would be clear".
add CONFIG_WATCHDOG_NOWAYOUT support
changed watchdog_info to correctly reflect what the driver offers
added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS and WDIOC_SETOPTIONS ioctls
use module_param
general cleanup of trailing spaces and comments
fix possible wdt_is_open race
add KERN_* to printk's
changed watchdog_info to correctly reflect what the driver offers
added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS, WDIOC_SETTIMEOUT, WDIOC_GETTIMEOUT, and WDIOC_SETOPTIONS ioctls
made timeout (the emulated heartbeat) a module_param
made the keepalive ping an internal subroutine
added MODULE_AUTHOR and MODULE_DESCRIPTION info
Thomas Molina [Sat, 9 Aug 2003 02:40:17 +0000 (19:40 -0700)]
[PATCH] Re: Linux 2.6.0-test3: logo patch
The following patch has been floating around forever. It is required
for several ARM framebuffer drivers, and several other drivers. James
has indicated that this is the correct fix back in May.
[PATCH] PowerMac: Ground work for new driver model
This provides the necessary infrastructure for PowerMac specific drivers
(and actually some Open Firmware platform drivers on non-PowerMacs as
well provided somebody port them) to be properly probed & referenced via
the new driver model and be part of sysfs.
As-is, this patch doesn't break anything nor change any driver. I'll
send you individual driver patches as I clean them up & get them tested
on as many machines as possible, though I don't expect much problems.
Jeff Garzik [Sat, 9 Aug 2003 02:39:26 +0000 (19:39 -0700)]
[PATCH] PATCH 2.6: fix X86_VENDOR_ID offset in head.S
While reviewing my 2.4 backport of the 2.6 cpu capabilities (including
the Via RNG support), Mikael Pettersson noticed a bug in both my
backport, and 2.6: when NCAPINTS (x86_capability array size) is
increased, one must adjust the offset in arch/i386/kernel/head.S also.