mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c633544a61
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> |
||
---|---|---|
.. | ||
asm-offsets.h | ||
asm-uaccess.h | ||
asmmacro.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bootparam.h | ||
bugs.h | ||
cache.h | ||
cacheasm.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
coprocessor.h | ||
current.h | ||
delay.h | ||
dma-mapping.h | ||
dma.h | ||
elf.h | ||
fixmap.h | ||
flat.h | ||
ftrace.h | ||
futex.h | ||
highmem.h | ||
hw_breakpoint.h | ||
hw_irq.h | ||
initialize_mmu.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
kasan.h | ||
Kbuild | ||
kmem_layout.h | ||
linkage.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mxregs.h | ||
nommu_context.h | ||
page.h | ||
pci-bridge.h | ||
pci.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
platform.h | ||
processor.h | ||
ptrace.h | ||
regs.h | ||
segment.h | ||
serial.h | ||
shmparam.h | ||
signal.h | ||
smp.h | ||
spinlock_types.h | ||
spinlock.h | ||
stackprotector.h | ||
stacktrace.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
sysmem.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
traps.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vectors.h | ||
vga.h |