Searched refs:SID_SHIFT (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | mmu-hash.h | 263 return SID_SHIFT; in segment_shift() 441 mask = (1ul << (SID_SHIFT - VPN_SHIFT)) - 1; in hpt_hash() 442 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash() 580 #define ESID_BITS (VA_BITS - (SID_SHIFT + CONTEXT_BITS)) 623 #define MAX_USER_CONTEXT_65BIT_VA ((ASM_CONST(1) << (65 - (SID_SHIFT + ESID_BITS))) - 2) 651 #define VSID_BITS_256M (VA_BITS - SID_SHIFT) 652 #define VSID_BITS_65_256M (65 - SID_SHIFT) 665 #define USER_VSID_RANGE (1UL << (ESID_BITS + SID_SHIFT)) 795 vsid_bits = va_bits - SID_SHIFT; in get_vsid() 797 ((ea >> SID_SHIFT) & ESID_BITS_MASK); in get_vsid()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_32_mmu.c | 36 #ifndef SID_SHIFT 37 #define SID_SHIFT 28 macro 89 kvmppc_mmu_book3s_32_esid_to_vsid(vcpu, eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_book3s_32_ea_to_vp() 158 eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_book3s_32_xlate_bat() 335 kvmppc_mmu_map_segment(vcpu, srnum << SID_SHIFT); in kvmppc_mmu_book3s_32_mtsrin() 351 ulong ea = esid << SID_SHIFT; in kvmppc_mmu_book3s_32_esid_to_vsid()
|
H A D | book3s_64_mmu.c | 65 return slbe->tb ? SID_SHIFT_1T : SID_SHIFT; in kvmppc_slb_sid_shift() 409 kvmppc_mmu_map_segment(vcpu, esid << SID_SHIFT); in kvmppc_mmu_book3s_64_slbmte() 568 (mp_ea >> SID_SHIFT) == esid; in segment_contains_magic_page() 575 ulong ea = esid << SID_SHIFT; in kvmppc_mmu_book3s_64_esid_to_vsid() 588 gvsid <<= SID_SHIFT_1T - SID_SHIFT; in kvmppc_mmu_book3s_64_esid_to_vsid() 589 gvsid |= esid & ((1ul << (SID_SHIFT_1T - SID_SHIFT)) - 1); in kvmppc_mmu_book3s_64_esid_to_vsid() 637 unlikely(esid == (mp_ea >> SID_SHIFT)) && in kvmppc_mmu_book3s_64_esid_to_vsid()
|
H A D | book3s_32_mmu_host.c | 158 vcpu->arch.mmu.esid_to_vsid(vcpu, orig_pte->eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_map_page() 167 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page() 304 u32 esid = eaddr >> SID_SHIFT; in kvmppc_mmu_map_segment()
|
H A D | book3s_64_mmu_host.c | 107 vcpu->arch.mmu.esid_to_vsid(vcpu, orig_pte->eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_map_page() 219 vcpu->arch.mmu.esid_to_vsid(vcpu, pte->eaddr >> SID_SHIFT, &vsid); in kvmppc_mmu_unmap_page() 315 u64 esid = eaddr >> SID_SHIFT; in kvmppc_mmu_map_segment()
|
H A D | book3s_pr.c | 720 pte.vpage |= ((u64)VSID_REAL << (SID_SHIFT - 12)); in kvmppc_handle_pagefault() 729 vcpu->arch.mmu.esid_to_vsid(vcpu, eaddr >> SID_SHIFT, &vsid); in kvmppc_handle_pagefault() 732 pte.vpage |= ((u64)VSID_REAL_DR << (SID_SHIFT - 12)); in kvmppc_handle_pagefault() 734 pte.vpage |= ((u64)VSID_REAL_IR << (SID_SHIFT - 12)); in kvmppc_handle_pagefault() 1175 sr = svcpu->sr[kvmppc_get_pc(vcpu) >> SID_SHIFT]; in kvmppc_handle_exit_pr() 1221 sr = svcpu->sr[dar >> SID_SHIFT]; in kvmppc_handle_exit_pr()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | page_64.h | 27 #define SID_SHIFT 28 macro 30 #define GET_ESID(x) (((x) >> SID_SHIFT) & SID_MASK)
|
H A D | kvm_book3s_32.h | 31 #define SID_SHIFT 28 macro
|
H A D | kvm_book3s_64.h | 336 va_low ^= v >> (SID_SHIFT - 16); in compute_tlbie_rb()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 59 ea &= ~((1UL << SID_SHIFT) - 1); in assert_slb_presence() 308 esid = ea >> SID_SHIFT; in preload_add() 424 slbie_data <<= SID_SHIFT; in slb_cache_slbie_kernel() 437 slbie_data <<= SID_SHIFT; in slb_cache_slbie_user() 524 ea = (unsigned long)ti->slb_preload_esid[idx] << SID_SHIFT; in switch_slb() 614 local_paca->slb_cache[slb_cache_index++] = esid_data >> SID_SHIFT; in slb_cache_update() 724 local_paca->slb_cache[slb_cache_index++] = esid_data >> SID_SHIFT; in slb_insert_entry()
|
H A D | hash_native.c | 705 *vpn = vsid << (SID_SHIFT - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | fault.c | 43 hash = (slb->esid >> SID_SHIFT) & mask; in find_free_sste()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | setup_64.c | 712 return 1UL << SID_SHIFT; in ppc64_bolted_size()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 1942 vsid_modulus = ((1UL << (va_bits - SID_SHIFT)) - 1); in vsid_unscramble()
|