- 12 Apr, 2004 1 commit
-
-
Linda Xie authored
Adds a file to show the pci hotplug slot location for the ppc64 driver only.
-
- 07 Apr, 2004 1 commit
-
-
Dely Sy authored
This patch contains fixes for interpretation of 0/1 for MRL to match pcihpview, bus speed definition in shpchp_hpc.c etc.
-
- 31 Mar, 2004 3 commits
-
-
Deepak Saxena authored
The patch provides the ability for architectures to have custom implementations of pci_set_dma_mask() and friends (dac_set_dma_mask and set_consistent_dma_mask). The reason I need this is b/c I have a chipset (Intel ARM IXP425) that has a broken PCI interface that only allows PCI dma to/from the bottom 64MB of system memory. To get around this limitation, I trap a custom dma-mapping implementation that bounces buffers outside the 64MB window. At device discover time, my custom platform_notify() function gets called and it sets the dma_mask to (64MB-1) and in ARM's dma-mapping code, I check for dma_mask != 0xffffffff and if that is true, I call the special bounce helpers. This works great except that certain drivers (e100, ide-pci) call pci_set_dma_mask() with 0xffffffff and the generic implementation only allows for the architecture-defined pci_dma_supported() to return true or false. There is no method for the architecture to tell the PCI layer "I can't set the mask to 0xffffffff, but I can set it to this other value" and there is no way to pass that back to the driver. What this means is that if I have pci_set_dma_supported() return failure on full 32-bit DMA, the driver will not initialize the card; however, if I return true, pci_set_dma_mask() will set the dma mask to full 32-bits and I can no longer trap and will have buffers that are not dma-able and cause PCI master aborts. Both of those are not acceptable. IMHO, the driver shouldn't care if the architecture has to bounce DMA outside of 64MB and since this is not something most architectures have to worry about, the easiest way to get around the issue is by allowing custom pci_set_dma_mask() for arches that need it but keeping the generic implementation for those that do not. In my case, it simply returns 0 to the driver but keeps the device mask set to 64MB-1 so I can trap.
-
John Rose authored
Please commit the following patch, which removes a redundant call to a cleanup function from an error path of the module init code.
-
Randy Dunlap authored
-
- 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 28 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.
-