linux_dsm_epyc7002/arch/xtensa/include/asm
Max Filippov c633544a61 xtensa: add support for KASAN
Cover kernel addresses above 0x90000000 by the shadow map. Enable
HAVE_ARCH_KASAN when MMU is enabled. Provide kasan_early_init that fills
shadow map with writable copies of kasan_zero_page. Call
kasan_early_init right after mmu initialization in the setup_arch.
Provide kasan_init that allocates proper shadow map pages from the
memblock and puts these pages into the shadow map for addresses from
VMALLOC area to the end of KSEG. Call kasan_init right after memblock
initialization. Don't use KASAN for the boot code, MMU and KASAN
initialization and page fault handler. Make kernel stack size 4 times
larger when KASAN is enabled to avoid stack overflows.
GCC 7.3, 8 or newer is required to build the xtensa kernel with KASAN.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-12-16 22:37:12 -08:00
..
asm-offsets.h
asm-uaccess.h uaccess: move VERIFY_{READ,WRITE} definitions to linux/uaccess.h 2017-03-05 20:40:25 -05:00
asmmacro.h xtensa: clean up word alignment macros in assembly code 2017-12-10 14:48:53 -08:00
atomic.h
barrier.h
bitops.h
bootparam.h
bugs.h
cache.h
cacheasm.h
cacheflush.h
checksum.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cmpxchg.h
coprocessor.h
current.h xtensa: consolidate kernel stack size related definitions 2017-12-10 14:48:55 -08:00
delay.h
dma-mapping.h xtensa: remove DMA_ERROR_CODE 2017-06-20 11:13:07 +02:00
dma.h
elf.h
fixmap.h xtensa: move fixmap and kmap just above the KSEG 2017-12-16 22:37:12 -08:00
flat.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ftrace.h
futex.h futex: Remove duplicated code and fix undefined behaviour 2017-08-25 22:49:59 +02:00
highmem.h xtensa: move fixmap and kmap just above the KSEG 2017-12-16 22:37:12 -08:00
hw_breakpoint.h
hw_irq.h
initialize_mmu.h
io.h
irq.h xtensa: don't use linux IRQ #0 2017-06-05 16:53:10 -07:00
irqflags.h
kasan.h xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
Kbuild xtensa: remove wrapper header for asm/param.h 2017-07-21 03:13:29 -07:00
kmem_layout.h xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
linkage.h xtensa: clean up functions in assembly code 2017-12-10 14:48:54 -08:00
mmu_context.h xtensa: extract init_kio 2017-12-16 22:37:10 -08:00
mmu.h
module.h
mxregs.h
nommu_context.h xtensa: extract init_kio 2017-12-16 22:37:10 -08:00
page.h xtensa: move fixmap and kmap just above the KSEG 2017-12-16 22:37:12 -08:00
pci-bridge.h
pci.h PCI: Add arch_can_pci_mmap_io() on architectures which can mmap() I/O space 2017-04-18 13:02:26 -05:00
perf_event.h
pgalloc.h
pgtable.h xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
platform.h
processor.h arch: remove unused *_segments() macros/functions 2017-09-22 12:59:52 -10:00
ptrace.h xtensa: clean up exception handling structure 2017-12-16 22:37:09 -08:00
regs.h xtensa: clean up exception handling structure 2017-12-16 22:37:09 -08:00
segment.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
serial.h
shmparam.h
signal.h
smp.h
spinlock_types.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spinlock.h arch: Remove spin_unlock_wait() arch-specific definitions 2017-08-17 08:08:59 -07:00
stackprotector.h xtensa: enable stack protector 2017-12-16 22:37:07 -08:00
stacktrace.h
string.h xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
switch_to.h
syscall.h
sysmem.h
thread_info.h xtensa: consolidate kernel stack size related definitions 2017-12-10 14:48:55 -08:00
timex.h
tlb.h
tlbflush.h
traps.h xtensa: implement early_trap_init 2017-12-16 22:37:09 -08:00
types.h
uaccess.h get rid of unused __strncpy_from_user() instances 2017-05-15 23:40:28 -04:00
ucontext.h
unaligned.h
unistd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
user.h
vectors.h xtensa: allow merging vectors into .text section 2017-03-01 12:32:50 -08:00
vga.h