mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b0b5e9b130
This adds Power ISA 3.0 specific pte defines. We share most of the details with hash Linux page table format. This patch indicates only things where we differ. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
13 lines
356 B
C
13 lines
356 B
C
#ifndef _ASM_POWERPC_PGTABLE_RADIX_64K_H
|
|
#define _ASM_POWERPC_PGTABLE_RADIX_64K_H
|
|
|
|
/*
|
|
* For 64K page size supported index is 13/9/9/5
|
|
*/
|
|
#define RADIX_PTE_INDEX_SIZE 5 /* 2MB huge page */
|
|
#define RADIX_PMD_INDEX_SIZE 9 /* 1G huge page */
|
|
#define RADIX_PUD_INDEX_SIZE 9
|
|
#define RADIX_PGD_INDEX_SIZE 13
|
|
|
|
#endif /* _ASM_POWERPC_PGTABLE_RADIX_64K_H */
|