On 03/10/19 23:23, Rick Edgecombe wrote:
> +/* KVM based not-readable: only valid after cpuid check */
> +#define _PAGE_BIT_NR (__pgtable_kvmxo_bit)
> +#else /* defined(CONFIG_KVM_XO) && !defined(__ASSEMBLY__) */
> +#define _PAGE_BIT_NR 0
> +#endif /* defined(CONFIG_KVM_XO) && !defi
Add _PAGE_BIT_NR and _PAGE_NR, the values of which are determined
dynamically at boot. This page type is only valid after checking for for
the KVM XO CPUID bit.
Signed-off-by: Rick Edgecombe
---
arch/x86/include/asm/pgtable_types.h | 11 +++
arch/x86/mm/init.c | 3 +++
2 matches
Mail list logo