linux/arch
Thomas Petazzoni d62e9bf5dd arch/sh: pcie-sh7786: exclude unusable PCI MEM areas
Depending on the physical memory layout, some PCI MEM areas are not
usable. According to the SH7786 datasheet, the PCI MEM area from
1000_0000 to 13FF_FFFF is only usable if the physical memory layout
(in MMSELR) is 1, 2, 5 or 6. In all other configurations, this PCI MEM
area is not usable (because it overlaps with DRAM).

Therefore, this commit adjusts the PCI SH7786 initialization to mark
the relevant PCI resource as IORESOURCE_DISABLED if we can't use it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rich Felker <dalias@libc.org>
2018-04-12 19:47:56 -04:00
..
alpha
arc
arm ARM: SoC fixes for 4.16 2018-03-28 13:52:13 -10:00
arm64 ARM: SoC fixes for 4.16 2018-03-28 13:52:13 -10:00
blackfin
c6x
cris
frv
h8300 h8300: remove extraneous __BIG_ENDIAN definition 2018-03-22 17:07:01 -07:00
hexagon
ia64
m32r
m68k
metag
microblaze
mips
mn10300
nios2
openrisc
parisc
powerpc KVM fixes for v4.16-rc8 2018-03-30 07:24:14 -10:00
riscv
s390
score
sh arch/sh: pcie-sh7786: exclude unusable PCI MEM areas 2018-04-12 19:47:56 -04:00
sparc
tile
um
unicore32
x86 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-03-31 07:59:00 -10:00
xtensa
.gitignore
Kconfig