linux_dsm_epyc7002/arch/riscv/include/asm
Paul Walmsley 0c3ac28931 riscv: separate MMIO functions into their own header file
Separate the low-level MMIO static inline functions and macros, such
as {read,write}{b,w,l,q}(), into their own header file under
arch/riscv/include: asm/mmio.h.  This is done to break a header
dependency chain that arises when both asm/pgtable.h and asm/io.h are
included by asm/timex.h.  Since the problem is related to the legacy
I/O port support in asm/io.h, this allows files under arch/riscv that
encounter those issues to simply include asm/mmio.h instead, and
bypass the legacy I/O port functions.  Existing users of asm/io.h
don't need to change anything, since asm/mmio.h is included by
asm/io.h.

While here, clean up some checkpatch.pl-related issues with the
original code.

Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2019-11-05 09:11:18 -08:00
..
asm-offsets.h
asm-prototypes.h
asm.h RISC-V: Clear load reservations while restoring hart contexts 2019-10-01 13:16:40 -07:00
atomic.h
barrier.h
bitops.h
bug.h riscv: cleanup <asm/bug.h> 2019-10-23 14:53:46 -07:00
cache.h
cacheflush.h
cmpxchg.h
csr.h
current.h
delay.h
elf.h
fence.h
fixmap.h RISC-V: Fix FIXMAP area corruption on RV32 systems 2019-08-28 15:30:12 -07:00
ftrace.h
futex.h
hugetlb.h
hwcap.h
image.h riscv: modify the Image header to improve compatibility with the ARM64 header 2019-09-13 19:03:52 -07:00
io.h riscv: separate MMIO functions into their own header file 2019-11-05 09:11:18 -08:00
irq.h riscv: add missing header file includes 2019-10-28 00:46:01 -07:00
irqflags.h
Kbuild
kprobes.h
linkage.h
mmio.h riscv: separate MMIO functions into their own header file 2019-11-05 09:11:18 -08:00
mmiowb.h
mmu_context.h
mmu.h
module.h
page.h RISC-V: Implement sparsemem 2019-08-30 11:10:37 -07:00
pci.h
perf_event.h
pgalloc.h mm: treewide: clarify pgtable_page_{ctor,dtor}() naming 2019-09-26 10:10:44 -07:00
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h RISC-V: Add PCIe I/O BAR memory mapping 2019-10-28 10:43:32 -07:00
processor.h
ptrace.h
sbi.h
sifive_l2_cache.h
smp.h riscv: cleanup riscv_cpuid_to_hartid_mask 2019-09-05 01:51:57 -07:00
sparsemem.h RISC-V: Implement sparsemem 2019-08-30 11:10:37 -07:00
spinlock_types.h
spinlock.h
string.h
switch_to.h riscv: add missing header file includes 2019-10-28 00:46:01 -07:00
syscall.h
thread_info.h
timex.h riscv: don't use the rdtime(h) pseudo-instructions 2019-09-05 01:52:46 -07:00
tlb.h
tlbflush.h riscv: tlbflush: remove confusing comment on local_flush_tlb_all() 2019-10-14 12:35:36 -07:00
uaccess.h
unistd.h
vdso.h
word-at-a-time.h