- 08 Aug, 2003 8 commits
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci-2.6
-
Ivan Kokshaysky authored
Bug #1 (found by Jay Estabrook). On Alpha, under certain circumstances the firmware may close the IO window of PCI-to-PCI bridge even if there is IO behind. This wouldn't be a problem - linux PCI setup code does set up this window properly, but in addition the firmware clears the IO-enable bit in the PCI_COMMAND register of the bridge. Since we don't call pci_enable_* routines for bridges in non-hotplug path, we end up with disabled IO. Fixed by adding pci_enable_bridges() to pci_assign_unassigned_resources(). Architectures which don't use the latter, but do use other setup-bus code (parisc?) also should call pci_enable_bridges() for each root bus. Bug #2 (closely related to #1). As it turns out, pci_enable_device() doesn't work for bridges at all, only for regular devices (header type 0) due to 0x3f mask passed to pci_enable_device_bars(). The mask should be (1 << PCI_NUM_RESOURCES) - 1. Bug #3 (quite a few archs, including i386). pcibios_enable_device() does only check first 6 resources (regardless of the mask) to decide whether or not to enable IO and MEM. Bridge resources start at 7. #2 and #3 affect hotplug. I wonder, has anybody ever tried *bridged* PCI card behind a hot-plug controller?
-
http://ncpfs.bkbits.net/matroxfbLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jens Axboe authored
This is a port of some smp fixes I did for 2.4 floppy.c Andrew did the re-diffing.
-
Rob Radez authored
This removes some function stubs from 6 watchdog drivers. The VFS already returns -EINVAL in cases where fop->read == NULL, so there's no need to duplicate the code 6 times. This patch removes the stubs and is compile tested.
-
David Mosberger authored
From Matt Tolentino: Here's a small patch to change several data types from u64 to unsigned long in efi.h. These changes enable the use of the same data structures and function prototypes for ia32 EFI kernels.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
- 07 Aug, 2003 32 commits
-
-
Bjorn Helgaas authored
This applies on top of Takayoshi's interrupt polarity fix and just makes things a tiny bit more consistent. Is acpi_irq_to_vector() even needed anymore? I don't see any references to it.
-
Bjorn Helgaas authored
The patch below removes the .weak symbol stuff from iosapic.c. As far as I can tell, iosapic.c is compiled for every flavor except the simulator. I tried to boot the HP_SIM kernel on ski, but it seems to loop in find_save_locs(). This happens both with and without this patch, so maybe I have a local problem. (I started with a clean tree, did make
-
Ian Wienand authored
As in_atomic() uses kernel_locked() which is in smp_lock.h.
-
Jesse Barnes authored
sn2 still doesn't use ACPI to describe PCI busses on the system (I'm working on it), so we have to do it the old fashioned way. This patch also includes a few other fixes.
-
Arun Sharma authored
The attached patch (against 2.6) helps IA-32 applications take advantage of the generic 32 bit (fs/compat_ioctl.c) ioctl handlers.
-
Arun Sharma authored
The patch was created by Matt Helsley <matthltc at us.ibm.com> for 2.4 and has been changed slightly to match 2.6. The implementation compromises performance for correctness.
-
Andi Kleen authored
Add include to fix compilation on x86-64
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
-
David Mosberger authored
-
Linus Torvalds authored
-
Christoph Hellwig authored
Ack'd by Russell King as well.
-
Arun Sharma authored
The attached patch implements core dump functionality for IA-32 applications running on ia64.
-
Roland McGrath authored
We should amend that test for zombies to include the "dead" state as well.
-
Maciej W. Rozycki authored
Having necessary resources, I've decided to take over the maintenance of the defxx driver for the PDQ-based family of DEC FDDI controllers (the DEFEA for EISA and the DEFPA for PCI are the models currently handled). I've talked to Larry, the original author and the last maintainer of the code, and he's said he'd be happy about it. He's asked me to update his long-outdated contact information. Here is a patch to update the driver to the PCI version of the DMA API. The patch includes appropriate status and contact information updates.
-
-
Richard Henderson authored
From Jay Estabrook <Jay.Estabrook@compaq.com>.
-
Richard Henderson authored
From Jay Estabrook <Jay.Estabrook@compaq.com>.
-
Richard Henderson authored
From Jay Estabrook <Jay.Estabrook@compaq.com>.
-
Andrew Morton authored
From: Nathan Scott <nathans@sgi.com> XFS wants to use page->private as a bitmap of uptodate indicators for sub-page-sized blocks (which is one of the things ->provate was intended for). But someone needs to initialise ->private somewhere. best to do it in the page allocator, so the zeroness of a new page's ->private becomes a system-wide thing.
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> I've found a race in the mtrr ipi_handler() and set_mtrr() functions. Basically the server, set_mtrr() does the following: 1.1 initialize a flag 1.2 send ipi 1.3 waits for all cpus to check in 1.4 toggle flag 1.5 do stuff 1.6 wait for all cpus to check out 1.7 toggle flag again 1.8 return While the clients, running ipi_handler() do the following: 2.1 check in 2.2 wait for flag 2.3 do stuff 2.4 check out 2.5 wait for flag 2.6 return The problem is the flag is on the servers stack! So if 1.7 and 1.8 executes before 2.5 happens, the client's pointer to the flag becomes invalid (likely overwritten) which causes the client to never see the flag change, hanging the box. The patch fixes that by adding a final synchronisation step in which the controlling CPU waits for all the IPI'ed CPUs to complete.
-
Andrew Morton authored
From: Martin Pool <mbp@samba.org> ia64_mv_irq_desc returns a 'struct irq_desc', which had a forward declaration but did not actually exist. We're currently using a silly anonymous struct typedefed to irq_desc_t. Now add the structure name as well.
-
Andrew Morton authored
Teach journal_get_write_access() and journal_get_undo_access() to handle aborted trasaction handles.
-
Andrew Morton authored
From: george anzinger <george@mvista.com> a) Fixes bug 858 (http://bugme.osdl.org/show_bug.cgi?id=858) The problem was caused by round off error in calculating the correct jiffies value in micro seconds to do the round up to jiffies. The fix is to do the round up AFTER conversion to jiffies, rather than before. This only affected the timeval to jiffies calculation. b) Changed the scale values to get the highest possible precision short of going to full 64-bit math. This is particularly useful in the scaling of the seconds part of time. The code now computes a trial value at compile time and adjusts the scaling if the result is less than 32 bits. c) Adds comments to time.h to remove (I hope) ALL the confusion that this file use to generate.
-
Andrew Morton authored
From: Peter Chubb <peterc@gelato.unsw.edu.au> Currently, do_setitimer() is used in several files, but doesn't appear in any header. Thus its declaration is repeated in some files, and its use causes a warning in others (because there is no declaration present). This patch: -- adds a couple of declarations to linux/times.h -- removes the (now duplicate) declarations from other files.
-
Andrew Morton authored
From: Ville Herva <vherva@niksula.hut.fi> NMI watchdog is nowadays supported on x86-64, too. The nmi-watchdog.txt document doesn't mention this. Here is a patch to add a few words on that.
-