Searched refs:vma_pagesize (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/riscv/kvm/ |
H A D | mmu.c | 623 unsigned long vma_pagesize, mmu_seq; in kvm_riscv_gstage_map() local 645 vma_pagesize = 1ULL << vma_pageshift; in kvm_riscv_gstage_map() 647 vma_pagesize = PAGE_SIZE; in kvm_riscv_gstage_map() 649 if (vma_pagesize == PMD_SIZE || vma_pagesize == PUD_SIZE) in kvm_riscv_gstage_map() 663 if (vma_pagesize != PUD_SIZE && in kvm_riscv_gstage_map() 664 vma_pagesize != PMD_SIZE && in kvm_riscv_gstage_map() 665 vma_pagesize != PAGE_SIZE) { in kvm_riscv_gstage_map() 666 kvm_err("Invalid VMA page size 0x%lx\n", vma_pagesize); in kvm_riscv_gstage_map() 695 vma_pagesize, false, true); in kvm_riscv_gstage_map() 698 vma_pagesize, true, true); in kvm_riscv_gstage_map()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | mmu.c | 1411 long vma_pagesize, fault_granule; in user_mem_abort() local 1486 vma_pagesize = 1UL << vma_shift; in user_mem_abort() 1487 if (vma_pagesize == PMD_SIZE || vma_pagesize == PUD_SIZE) in user_mem_abort() 1488 fault_ipa &= ~(vma_pagesize - 1); in user_mem_abort() 1548 if (vma_pagesize == PAGE_SIZE && !(force_pte || device)) { in user_mem_abort() 1551 vma_pagesize = fault_granule; in user_mem_abort() 1553 vma_pagesize = transparent_hugepage_adjust(kvm, memslot, in user_mem_abort() 1557 if (vma_pagesize < 0) { in user_mem_abort() 1558 ret = vma_pagesize; in user_mem_abort() 1566 sanitise_mte_tags(kvm, pfn, vma_pagesize); in user_mem_abort() [all …]
|