mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-26 00:50:51 +07:00
![]() MMUv4 in HS38x cores supports Super Pages which are basis for Linux THP support. Normal and Super pages can co-exist (ofcourse not overlap) in TLB with a new bit "SZ" in TLB page desciptor to distinguish between them. Super Page size is configurable in hardware (4K to 16M), but fixed once RTL builds. The exact THP size a Linx configuration will support is a function of: - MMU page size (typical 8K, RTL fixed) - software page walker address split between PGD:PTE:PFN (typical 11:8:13, but can be changed with 1 line) So for above default, THP size supported is 8K * 256 = 2M Default Page Walker is 2 levels, PGD:PTE:PFN, which in THP regime reduces to 1 level (as PTE is folded into PGD and canonically referred to as PMD). Thus thp PMD accessors are implemented in terms of PTE (just like sparc) Signed-off-by: Vineet Gupta <vgupta@synopsys.com> |
||
---|---|---|
.. | ||
arcregs.h | ||
asm-offsets.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bug.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
clk.h | ||
cmpxchg.h | ||
current.h | ||
delay.h | ||
disasm.h | ||
dma-mapping.h | ||
dma.h | ||
elf.h | ||
entry-arcv2.h | ||
entry-compact.h | ||
entry.h | ||
exec.h | ||
futex.h | ||
hugepage.h | ||
io.h | ||
irq.h | ||
irqflags-arcv2.h | ||
irqflags-compact.h | ||
irqflags.h | ||
Kbuild | ||
kdebug.h | ||
kgdb.h | ||
kprobes.h | ||
linkage.h | ||
mach_desc.h | ||
mcip.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mutex.h | ||
page.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
sections.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
shmparam.h | ||
smp.h | ||
spinlock_types.h | ||
spinlock.h | ||
stacktrace.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
syscalls.h | ||
thread_info.h | ||
timex.h | ||
tlb-mmu1.h | ||
tlb.h | ||
tlbflush.h | ||
uaccess.h | ||
unaligned.h | ||
unwind.h |