linux-xiaomi-chiron/arch/mips/include/asm
Sergio Paracuellos 159697474d MIPS: ralink: don't define PC_IOBASE but increase IO_SPACE_LIMIT
Defining PCI_IOBASE results in pci resource handling working but the
addresses generated for IO accesses are wrong since the ioremap in the pci core
function 'pci_parse_request_of_pci_ranges' tries to remap to a fixed virtual
address (PC_IOBASE) which can't work for KSEG1 addresses. To get it working this
way, we would need to put PCI_IOBASE somewhere into KSEG2 which will result in
creating TLB entries for IO addresses, which most of the time isn't needed on
MIPS because of access via KSEG1. So avoid to define PCI_IOBASE and increase
IO_SPACE_LIMIT resource for ralink MIPS platform instead, to get valid IO
addresses for resources from pci core 'pci_address_to_pio' function.

Fixes: 222b27713d ("MIPS: ralink: Define PCI_IOBASE")
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210822161005.22467-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-21 17:30:55 +02:00
..
dec
fw
ip32
mach-ar7 mips: ar7: convert to CONFIG_COMMON_CLK 2021-06-08 17:00:09 +02:00
mach-ath25
mach-ath79
mach-au1x00
mach-bcm47xx
mach-bcm63xx
mach-bmips
mach-cavium-octeon MIPS: Loongson64: Add kexec/kdump support 2021-04-16 09:18:06 +02:00
mach-cobalt
mach-db1x00
mach-dec
mach-generic MIPS: Remove KVM_GUEST support 2021-03-10 15:18:40 +01:00
mach-ingenic
mach-ip22
mach-ip27
mach-ip28
mach-ip30
mach-ip32
mach-jazz
mach-lantiq
mach-loongson2ef arch: mips: Remove CONFIG_OPROFILE support 2021-01-22 12:12:26 +05:30
mach-loongson32
mach-loongson64 MIPS: Loongson64: Add kexec/kdump support 2021-04-16 09:18:06 +02:00
mach-malta
mach-n64 mips: Add N64 machine type 2021-01-22 11:40:00 +01:00
mach-netlogic
mach-pic32
mach-ralink MIPS: ralink: don't define PC_IOBASE but increase IO_SPACE_LIMIT 2021-09-21 17:30:55 +02:00
mach-rc32434 MIPS: don't include <linux/genhd.h> in <asm/mach-rc32434/rb.h> 2021-08-02 13:37:27 -06:00
mach-rm
mach-sibyte
mach-tx39xx
mach-tx49xx
mach-vr41xx
mips-boards MIPS: launch.h: add include guard to prevent build errors 2021-05-25 15:18:59 +02:00
netlogic
octeon mips: asm: octeon: A typo fix in the file cvmx-address.h 2021-03-24 10:29:19 +01:00
pci
sgi
sibyte
sn
txx9
vdso MIPS: vdso: Invalid GIC access through VDSO 2021-07-09 15:29:06 +02:00
vr41xx
xtalk
abi.h
addrspace.h
amon.h
arch_hweight.h
asm-eva.h
asm-offsets.h
asm-prototypes.h
asm.h MIPS/asm/printk: Fix build failure caused by printk 2021-07-23 09:25:30 +02:00
asmmacro-32.h
asmmacro-64.h
asmmacro.h MIPS: fix local_irq_{disable,enable} in asmmacro.h 2021-03-24 10:48:55 +01:00
atomic.h MIPS: locking/atomic: Fix atomic{_64,}_sub_if_positive 2021-08-05 11:01:18 +02:00
barrier.h
bcache.h
bitops.h MIPS: bitops: fix -Wshadow in asm/bitops.h 2021-01-15 15:28:56 +01:00
bitrev.h
bmips-spaces.h
bmips.h
bootinfo.h MIPS: Ingenic: Add system type for new Ingenic SoCs. 2021-07-19 13:16:42 +02:00
branch.h
break.h
bug.h
bugs.h
cache.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
cacheflush.h mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
cacheops.h
cdmm.h
cevt-r4k.h
checksum.h MIPS: Fix inline asm input/output type mismatch in checksum.h used with Clang 2021-01-27 21:59:28 +01:00
clocksource.h
cmp.h
cmpxchg.h locking/atomic: mips: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
compat-signal.h
compat.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
compiler.h MIPS: remove GCC < 4.9 support 2020-11-11 23:49:22 +01:00
cop2.h
cpu-features.h MIPS: MT extensions are not available on MIPS32r1 2021-06-29 10:14:58 +02:00
cpu-info.h
cpu-type.h Revert "MIPS: Remove unused R4300 CPU support" 2021-01-22 11:39:45 +01:00
cpu.h MIPS: Ingenic: Add system type for new Ingenic SoCs. 2021-07-19 13:16:42 +02:00
cpufeature.h
debug.h
delay.h
div64.h MIPS: Avoid handcoded DIVU in `__div64_32' altogether 2021-04-23 13:40:31 +02:00
dma-direct.h
dma-mapping.h
dma.h
dmi.h
ds1287.h
dsemul.h
dsp.h
edac.h
elf.h mips compat: switch to compat_binfmt_elf.c 2021-01-06 08:42:49 -05:00
elfcore-compat.h mips compat: switch to compat_binfmt_elf.c 2021-01-06 08:42:49 -05:00
errno.h
eva.h
exec.h
extable.h
fb.h
fixmap.h mips/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:56 +01:00
floppy.h
fpregdef.h
fpu.h MIPS: Fix unreachable code issue 2021-07-13 15:08:15 -05:00
fpu_emulator.h
ftrace.h
futex.h
ginvt.h
gio_device.h
gt64120.h
hardirq.h
hazards.h
highmem.h MIPS: Fix PKMAP with 32-bit MIPS huge page support 2021-06-30 14:41:32 +02:00
hpet.h
hugetlb.h hugetlb: clear huge pte during flush function on mips platform 2021-05-11 22:34:53 +02:00
hw_irq.h
i8259.h
ide.h
idle.h
inst.h MIPS: Make definitions of MIPSInst_FMA_{FUNC,FMTM} consistent with MIPS64 manual 2021-01-22 11:45:52 +01:00
io.h mm: remove xlate_dev_kmem_ptr() 2021-05-07 00:26:34 -07:00
irq.h irqchip/mips: Fix RCU violation when using irqdomain lookup on interrupt entry 2021-07-09 10:18:58 +01:00
irq_cpu.h MIPS: Kill RM7K & RM9K IRQ Code 2021-01-04 11:37:27 +01:00
irq_gt641xx.h
irq_regs.h
irqflags.h
isa-rev.h
isadep.h
jazz.h
jazzdma.h
jump_label.h
Kbuild mips: syscalls: switch to generic syscalltbl.sh 2021-03-10 15:19:14 +01:00
kdebug.h
kexec.h
kgdb.h
kprobes.h
kvm_host.h KVM: stats: Separate generic stats from architecture specific ones 2021-06-24 11:47:56 -04:00
kvm_types.h
linkage.h
llsc.h
local.h
maar.h
machine.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
mc146818-time.h
mc146818rtc.h
mips-cm.h
mips-cpc.h
mips-cps.h MIPS: add support for buggy MT7621S core detection 2021-04-12 16:52:23 +02:00
mips-gic.h
mips-r2-to-r6-emul.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: set mips32r5 for virt extensions 2021-06-29 10:23:57 +02:00
mmiowb.h
mmu.h
mmu_context.h mips: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
mmzone.h mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA 2021-06-29 10:53:55 -07:00
module.h
msa.h
msc01_ic.h
paccess.h
page.h mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA 2021-06-29 10:53:55 -07:00
pci.h MIPS: pci-legacy: remove busn_resource field 2021-04-16 09:15:40 +02:00
perf_event.h
pgalloc.h MIPS: check return value of pgtable_pmd_page_ctor 2021-08-05 11:45:42 +02:00
pgtable-32.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
pgtable-64.h mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t * 2021-07-08 11:48:22 -07:00
pgtable-bits.h
pgtable.h MIPS: mm: Add prototype for function __update_cache 2021-01-22 11:34:52 +01:00
pm-cps.h
pm.h
prefetch.h
processor.h MIPS: Remove get_fs/set_fs 2021-04-06 15:12:58 +02:00
prom.h
ptrace.h Revert "MIPS: Add basic support for ptrace single step" 2021-02-18 11:57:44 +01:00
r4k-timer.h
r4kcache.h MIPS: Simplify EVA cache handling 2021-02-13 09:53:23 +01:00
reboot.h
reg.h
regdef.h
rtlx.h
seccomp.h
setup.h
sgialib.h
sgiarcs.h
shmparam.h
sigcontext.h
signal.h
sim.h
smp-cps.h
smp-ops.h
smp.h
sni.h
socket.h
sparsemem.h
spinlock.h locking/arch: Move qrwlock.h include after qspinlock.h 2021-02-11 07:59:54 -05:00
spinlock_types.h
spram.h MIPS: asm: spram: remove unneeded semicolon 2021-01-27 21:50:22 +01:00
stackframe.h
stackprotector.h
stacktrace.h
string.h
switch_to.h
sync.h
syscall.h
termios.h
thread_info.h MIPS: Remove get_fs/set_fs 2021-04-06 15:12:58 +02:00
time.h
timex.h
tlb.h
tlbdebug.h
tlbex.h
tlbflush.h
tlbmisc.h
topology.h
traps.h MIPS: kernel: Reserve exception base early to prevent corruption 2021-03-09 11:22:59 +01:00
txx9irq.h
txx9pio.h
txx9tmr.h
types.h mips: Remove #include <uapi/asm/types.h> from <asm/types.h> 2020-11-11 23:45:46 +01:00
uaccess.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
uasm.h
unaligned-emul.h
unistd.h mips: syscalls: define syscall offsets directly in <asm/unistd.h> 2021-06-01 11:17:24 +02:00
unroll.h
uprobes.h
vdso.h
vermagic.h Revert "MIPS: Remove unused R4300 CPU support" 2021-01-22 11:39:45 +01:00
vga.h
vmalloc.h
vpe.h MIPS: vpe: Remove vpe_getcwd 2021-01-27 21:49:16 +01:00
war.h
watch.h
wbflush.h
yamon-dt.h