- 30 Mar, 2004 2 commits
-
-
Randy Dunlap authored
On Tue, 23 Mar 2004 00:23:05 -0500 Jeff Garzik <jgarzik@pobox.com> wrote: >>Yeah well... in the intervening time, somebody on IRC commented >> >>"so what is so PCI-specific about those constants?" >> >>They probably ought to be DMA_{32,64}BIT_MASK or somesuch. Here's an updated patch, applies to 2.6.5-rc2-bk9. I left the DMA_xxBIT_MASK defines in linux/pci.h, although they aren't necessarily PCI-specific. Would we prefer to have them in linux/dma-mapping.h ?
-
Greg Kroah-Hartman authored
-
- 26 Mar, 2004 5 commits
-
-
Matthew Wilcox authored
There are two unrelated problems in acpiphp that are fixed by this patch. First, acpiphp can be a module, so it is unsafe to probe the BARs of each device while it initialises -- the device may be active at the time. Second, it does not know about PCI-PCI bridge registers and so it reads garbage for the last 4 registers of the PCI-PCI bridge card and doesn't take into account the ranges that are forwarded by the bridge. This patch avoids all that by using the struct resources embedded in the pci_dev. Note that we no longer need to recurse as all the devices on the other side of a PCI-PCI bridge have their resources entirely contained within the PCI-PCI bridge's ranges.
-
Matthew Wilcox authored
On the error path, we currently try to up() a semaphore twice. There was also a typo in an error message.
-
Dely Sy authored
-
bk://kernel.bkbits.net/jgarzik/pci-dma-mask-2.6Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci-2.6
-
Greg Kroah-Hartman authored
Patch originally written by Intel, cleaned up and made sane by Matthew Wilcox <willy@debian.org> and then tweaked a bit more by me. From Matt's original email: - Add cfg_size to struct pci_dev. - Use it in sysfs and procfs. - Introduce pci_find_ext_capability() for finding extended capabilities. - Change the PCI_X_STATUS defines to match the spec (mea culpa there). - Add defines for the extended capabilities.
-
- 25 Mar, 2004 33 commits
-
-
Jens Axboe authored
Only allow get_last_written() to override get_capacity(), if it is bigger.
-
Benjamin Herrenschmidt authored
I figured the best way to stop beeing bothered by users trying to run preempt was to fix it ;) Here's a first batch that close some races we had when testing regs->msr for altivec or FPU enable, then doing the giveup_* function. A preempt in between those would have caused us to save a stale altivec or FPU context.
-
Benjamin Herrenschmidt authored
The dmasound driver occasionally hangs a process on exit. Apparently there is a possible case where the sound HW stops draining output samples and the driver waits forever in its release() callback. It should check for signals(), but it seems signal_pending() never returns 1 when the process is beeing killed (implicit release() of files on exit). This patch adds a safety timeout to the release() function to make sure we can at least close the driver. I'll try to find the reason we aren't driving samples later, but it is better to have a safety just incase the sound clock goes berserk for some reason.
-
Benjamin Herrenschmidt authored
This fixes some racy code in the management of asynchronous brightness and battery requests in the via-pmu driver used on powerbooks. This should fix some preempt related problems (there is no SMP powerbook yet :)
-
Benjamin Herrenschmidt authored
This fixes a few races in the LED code of the adbhid driver that would affect SMP or preempt.
-
Benjamin Herrenschmidt authored
The ppc32 syscall entry code could access the thread info flags in a racy way, thus potentially losing bits sets there at interrupt time or by another CPU, like NEED_RESCHED or SIGPENDING (ouch !). This fixes it by moving the potentially racy bit to a different field (I preferred that rather than turning the access into an atomic operation for performances reasons).
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
Russell King authored
Anakin has not been maintained since it was (partially) merged, and the maintainers appear to ignore mail about it. No one appears willing to maintain it either. However, some unrelated kernel maintainers have been updating various files while they've been working in the area - which is wasted work for something which isn't maintained. Therefore, this cset removes Anakin completely from the kernel.
-
Russell King authored
This adds AMBA and SA11xx support for dev->coherent_dma_mask.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Daniel Ritz authored
Patch from: Daniel Ritz This patch adds the TI clones from ENE to the override list in yenta_socket.c.
-
Arthur Othieno authored
Patch from: Arthur Othieno This fixes a typo in arch/arm/boot/Makefile.
-
Russell King authored
Patch from: Rusty Russell From: Petri Koistinen <petri.koistinen@iki.fi> URL updates.
-
Bjorn Helgaas authored
Add missing newline to kernel version of NULL-pointer message and also print the address while we're at it.
-
Jesse Barnes authored
-
David Mosberger authored
-
David S. Miller authored
-
Chas Williams authored
-
Chas Williams authored
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David S. Miller authored
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David Mosberger authored
-
bk://kernel.bkbits.net/wesolows/sparc32-2.6David S. Miller authored
into nuts.davemloft.net:/disk1/BK/sparc-2.6
-
David Mosberger authored
-
David Mosberger authored
Stephane made some measurements on the access-pattern of the cpuinfo_ia64 members and based on those results, this patch reorganizes the structure for better cache-line sharing.
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/sparc-2.6
-
Jeff Garzik authored
sata_sil: it's a widely deployed chipset. Now that we've fixed it, let users use it. sata_via: Disk detection via SATA phy registers appear problematic. Until that problem is identified and fixed, used the old PATA detection code -- that was used in 2.6.4 -- instead.
-
Andrew Morton authored
I'd assumed that vcs_remove_devfs() could not possibly take console_sem(). Seems I was wrong.
-
Jeff Garzik authored
x86-64 needs this (obvious) patch, due to the rename.
-
Keith M. Wesolowski authored
into foobazco.org:/sources/2.5-sparc-todave
-