/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | hash_64k.c | 100 flush_hash_page(vpn, rpte, MMU_PAGE_64K, ssize, flags); in __hash_page_4K() 232 unsigned long shift = mmu_psize_defs[MMU_PAGE_64K].shift; in __hash_page_64K() 278 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_64K, in __hash_page_64K() 279 MMU_PAGE_64K, ssize, in __hash_page_64K() 294 MMU_PAGE_64K, MMU_PAGE_64K, in __hash_page_64K() 304 MMU_PAGE_64K, in __hash_page_64K() 305 MMU_PAGE_64K, ssize); in __hash_page_64K() 324 MMU_PAGE_64K, MMU_PAGE_64K, old_pt in __hash_page_64K() [all...] |
H A D | hash_utils.c | 426 idx = MMU_PAGE_64K; in get_idx_from_shift() 488 if (base_idx == MMU_PAGE_4K || base_idx == MMU_PAGE_64K) in htab_dt_scan_page_sizes() 706 if (mmu_psize_defs[MMU_PAGE_64K].shift) { in htab_init_page_sizes() 707 mmu_virtual_psize = MMU_PAGE_64K; in htab_init_page_sizes() 708 mmu_vmalloc_psize = MMU_PAGE_64K; in htab_init_page_sizes() 710 mmu_linear_psize = MMU_PAGE_64K; in htab_init_page_sizes() 718 mmu_io_psize = MMU_PAGE_64K; in htab_init_page_sizes() 1439 if ((pte_val(*ptep) & H_PAGE_4K_PFN) && psize == MMU_PAGE_64K) { in hash_page_mm() 1448 if (mmu_ci_restrictions && psize == MMU_PAGE_64K && pte_ci(*ptep)) { in hash_page_mm() 1472 if (psize == MMU_PAGE_64K) in hash_page_mm() [all...] |
H A D | hash_pgtable.c | 327 psize = MMU_PAGE_64K; in hpte_do_hugepage_flush() 387 if (mmu_psize_defs[MMU_PAGE_64K].shift && in hash__has_transparent_hugepage() 388 (mmu_psize_defs[MMU_PAGE_64K].penc[MMU_PAGE_16M] == -1)) in hash__has_transparent_hugepage()
|
H A D | hash_hugepage.c | 88 flush_hash_hugepage(vsid, ea, pmdp, MMU_PAGE_64K, in __hash_page_thp()
|
H A D | radix_pgtable.c | 436 idx = MMU_PAGE_64K; in get_idx_from_shift() 564 mmu_psize_defs[MMU_PAGE_64K].shift = 16; in radix__early_init_devtree() 565 mmu_psize_defs[MMU_PAGE_64K].ap = 0x5; in radix__early_init_devtree() 640 mmu_virtual_psize = MMU_PAGE_64K; in radix__early_init_mmu()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | hash_64k.c | 102 flush_hash_page(vpn, rpte, MMU_PAGE_64K, ssize, flags); in __hash_page_4K() 237 unsigned long shift = mmu_psize_defs[MMU_PAGE_64K].shift; in __hash_page_64K() 283 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_64K, in __hash_page_64K() 284 MMU_PAGE_64K, ssize, in __hash_page_64K() 299 MMU_PAGE_64K, MMU_PAGE_64K, in __hash_page_64K() 309 MMU_PAGE_64K, in __hash_page_64K() 310 MMU_PAGE_64K, ssize); in __hash_page_64K() 329 MMU_PAGE_64K, MMU_PAGE_64K, old_pt in __hash_page_64K() [all...] |
H A D | hash_pgtable.c | 328 psize = MMU_PAGE_64K; in hpte_do_hugepage_flush() 388 if (mmu_psize_defs[MMU_PAGE_64K].shift && in hash__has_transparent_hugepage() 389 (mmu_psize_defs[MMU_PAGE_64K].penc[MMU_PAGE_16M] == -1)) in hash__has_transparent_hugepage()
|
H A D | hash_utils.c | 558 idx = MMU_PAGE_64K; in get_idx_from_shift() 620 if (base_idx == MMU_PAGE_4K || base_idx == MMU_PAGE_64K) in htab_dt_scan_page_sizes() 838 if (mmu_psize_defs[MMU_PAGE_64K].shift) { in htab_init_page_sizes() 839 mmu_virtual_psize = MMU_PAGE_64K; in htab_init_page_sizes() 840 mmu_vmalloc_psize = MMU_PAGE_64K; in htab_init_page_sizes() 842 mmu_linear_psize = MMU_PAGE_64K; in htab_init_page_sizes() 850 mmu_io_psize = MMU_PAGE_64K; in htab_init_page_sizes() 1595 if ((pte_val(*ptep) & H_PAGE_4K_PFN) && psize == MMU_PAGE_64K) { in hash_page_mm() 1604 if (mmu_ci_restrictions && psize == MMU_PAGE_64K && pte_ci(*ptep)) { in hash_page_mm() 1628 if (psize == MMU_PAGE_64K) in hash_page_mm() [all...] |
H A D | slice.c | 420 #define MMU_PAGE_BASE MMU_PAGE_64K 514 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) { in slice_get_unmapped_area() 593 psize == MMU_PAGE_64K) { in slice_get_unmapped_area() 771 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) { in slice_is_hugepage_only_range()
|
H A D | radix_pgtable.c | 448 idx = MMU_PAGE_64K; in get_idx_from_shift() 522 mmu_psize_defs[MMU_PAGE_64K].shift = 16; in radix__early_init_devtree() 523 mmu_psize_defs[MMU_PAGE_64K].ap = 0x5; in radix__early_init_devtree() 524 mmu_psize_defs[MMU_PAGE_64K].h_rpt_pgsize = in radix__early_init_devtree() 525 psize_to_rpti_pgsize(MMU_PAGE_64K); in radix__early_init_devtree() 537 mmu_virtual_psize = MMU_PAGE_64K; in radix__early_init_mmu()
|
H A D | hash_hugepage.c | 88 flush_hash_hugepage(vsid, ea, pmdp, MMU_PAGE_64K, in __hash_page_thp()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_64_mmu.c | 96 case MMU_PAGE_64K: in mmu_pagesize() 179 case MMU_PAGE_64K: in decode_pagesize() 181 return MMU_PAGE_64K; in decode_pagesize() 399 slbe->base_page_size = MMU_PAGE_64K; in kvmppc_mmu_book3s_64_slbmte() 580 int pagesize = MMU_PAGE_64K; in kvmppc_mmu_book3s_64_esid_to_vsid() 623 if (pagesize >= MMU_PAGE_64K && in kvmppc_mmu_book3s_64_esid_to_vsid() 624 mmu_psize_defs[MMU_PAGE_64K].shift && in kvmppc_mmu_book3s_64_esid_to_vsid()
|
H A D | book3s_64_mmu_host.c | 143 hpsize = MMU_PAGE_64K; in kvmppc_mmu_map_page() 343 slb_vsid |= mmu_psize_defs[MMU_PAGE_64K].sllp; in kvmppc_mmu_map_segment()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_64_mmu.c | 96 case MMU_PAGE_64K: in mmu_pagesize() 179 case MMU_PAGE_64K: in decode_pagesize() 181 return MMU_PAGE_64K; in decode_pagesize() 398 slbe->base_page_size = MMU_PAGE_64K; in kvmppc_mmu_book3s_64_slbmte() 579 int pagesize = MMU_PAGE_64K; in kvmppc_mmu_book3s_64_esid_to_vsid() 622 if (pagesize >= MMU_PAGE_64K && in kvmppc_mmu_book3s_64_esid_to_vsid() 623 mmu_psize_defs[MMU_PAGE_64K].shift && in kvmppc_mmu_book3s_64_esid_to_vsid()
|
H A D | book3s_64_mmu_host.c | 145 hpsize = MMU_PAGE_64K; in kvmppc_mmu_map_page() 345 slb_vsid |= mmu_psize_defs[MMU_PAGE_64K].sllp; in kvmppc_mmu_map_segment()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
H A D | mmu.h | 172 if (psize == MMU_PAGE_64K) in slice_mask_for_size() 201 #define mmu_virtual_psize MMU_PAGE_64K
|
H A D | tlbflush-radix.h | 19 if (psize == MMU_PAGE_64K) in psize_to_rpti_pgsize()
|
H A D | hash-64k.h | 171 (((pte) & H_PAGE_COMBO)? MMU_PAGE_4K: MMU_PAGE_64K)
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | slice.c | 424 #define MMU_PAGE_BASE MMU_PAGE_64K 518 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) { in slice_get_unmapped_area() 597 psize == MMU_PAGE_64K) { in slice_get_unmapped_area() 771 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) { in slice_is_hugepage_only_range()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
H A D | tlbflush-radix.h | 15 if (psize == MMU_PAGE_64K) in psize_to_rpti_pgsize()
|
H A D | mmu.h | 168 if (psize == MMU_PAGE_64K) in slice_mask_for_size()
|
H A D | hash-64k.h | 171 (((pte) & H_PAGE_COMBO)? MMU_PAGE_4K: MMU_PAGE_64K)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-44x.h | 141 #define mmu_virtual_psize MMU_PAGE_64K
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-44x.h | 141 #define mmu_virtual_psize MMU_PAGE_64K
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | mmu.h | 347 #define MMU_PAGE_64K 2 macro
|