remarkable-linux/arch/sparc
David S. Miller 4230fa3b89 sparc64: Fix overly strict range type matching for PCI devices.
When we are trying to see if a range property entry applies
to a given address, we are overly strict about the type.

We should only allow I/O ranges for I/O addresses, and only allow
CONFIG space ranges for CONFIG space address.

However for MEM ranges, they come in 32-bit and 64-bit flavors.
And a lack of an exact match is OK if the range is 32-bit and
the address is 64-bit.  We can assign a 64-bit address properly
into a 32-bit parent range just fine.

So allow it.

Reported-by: Patrick Finnegan <pat@computer-refuge.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-09 01:39:09 -08:00
..
boot arch/sparc/boot/*.c: Mark various internal functions static 2009-11-15 15:01:40 -08:00
configs sparc: Update defconfigs. 2009-09-16 00:31:26 -07:00
include/asm Merge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block 2009-12-08 08:19:16 -08:00
kernel sparc64: Fix overly strict range type matching for PCI devices. 2009-12-09 01:39:09 -08:00
lib Revert "sparc: Make atomic locks raw" 2009-11-26 15:28:13 -08:00
math-emu
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6 2009-12-08 07:48:23 -08:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom
Kconfig sparc64: Faster early-boot framebuffer console. 2009-11-27 17:33:43 -08:00
Kconfig.debug
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00