Home
last modified time | relevance | path

Searched refs:RMP_PG_SIZE_4K (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/x86/coco/sev/
Dshared.c1267 pc->entry[0].page_size = RMP_PG_SIZE_4K; in svsm_pval_4k_page()
1294 ret = pvalidate(vaddr, RMP_PG_SIZE_4K, validate); in pvalidate_4k_page()
1296 __pval_terminate(PHYS_PFN(paddr), validate, RMP_PG_SIZE_4K, ret, 0); in pvalidate_4k_page()
1315 size = e->pagesize ? RMP_PG_SIZE_2M : RMP_PG_SIZE_4K; in pval_pages()
1326 rc = pvalidate(vaddr, RMP_PG_SIZE_4K, validate); in pval_pages()
1328 __pval_terminate(pfn, validate, RMP_PG_SIZE_4K, rc, 0); in pval_pages()
1348 pe->page_size = RMP_PG_SIZE_4K; in svsm_build_ca_from_pfn_range()
1378 pe->page_size = e->pagesize ? RMP_PG_SIZE_2M : RMP_PG_SIZE_4K; in svsm_build_ca_from_psc_desc()
1672 if (!rmpadjust((unsigned long)&RIP_REL_REF(boot_ghcb_page), RMP_PG_SIZE_4K, 1)) in svsm_setup_ca()
Dcore.c933 e->pagesize = RMP_PG_SIZE_4K; in __set_pages_state()
1052 ret = rmpadjust((unsigned long)va, RMP_PG_SIZE_4K, attrs); in snp_set_vmsa()
/linux-6.12.1/arch/x86/include/asm/
Dsev.h98 #define RMP_PG_SIZE_4K 0 macro
100 #define RMP_TO_PG_LEVEL(level) (((level) == RMP_PG_SIZE_4K) ? PG_LEVEL_4K : PG_LEVEL_2M)
101 #define PG_LEVEL_TO_RMP(level) (((level) == PG_LEVEL_4K) ? RMP_PG_SIZE_4K : RMP_PG_SIZE_2M)
/linux-6.12.1/arch/x86/boot/compressed/
Dsev.c248 e->pagesize = RMP_PG_SIZE_4K; in __snp_accept_memory()
630 ret = rmpadjust((unsigned long)&boot_ghcb_page, RMP_PG_SIZE_4K, 1); in sev_enable()
/linux-6.12.1/arch/x86/hyperv/
Divm.c278 return rmpadjust((unsigned long)va, RMP_PG_SIZE_4K, attrs); in snp_set_vmsa()