Searched refs:pte_pkey (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-pkey.h | 19 unsigned long pte_pkey; in pte_to_hpte_pkey_bits() local 21 pte_pkey = (((pteflags & H_PTE_PKEY_BIT4) ? HPTE_R_KEY_BIT4 : 0x0UL) | in pte_to_hpte_pkey_bits() 29 if ((pte_pkey == 0) && (flags & HPTE_USE_KERNEL_KEY)) in pte_to_hpte_pkey_bits() 33 return pte_pkey; in pte_to_hpte_pkey_bits()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | mmu.h | 167 unsigned pte_access, unsigned pte_pkey, in permission_fault() 198 * attribute bits per domain in pkru. pte_pkey is the in permission_fault() 199 * index of the protection domain, so pte_pkey * 2 is in permission_fault() 202 pkru_bits = (vcpu->arch.pkru >> (pte_pkey * 2)) & 3; in permission_fault() 166 permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned pte_access, unsigned pte_pkey, unsigned pfec) permission_fault() argument
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | mmu.h | 187 unsigned pte_access, unsigned pte_pkey, in permission_fault() 222 * attribute bits per domain in pkru. pte_pkey is the in permission_fault() 223 * index of the protection domain, so pte_pkey * 2 is in permission_fault() 226 pkru_bits = (vcpu->arch.pkru >> (pte_pkey * 2)) & 3; in permission_fault() 186 permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned pte_access, unsigned pte_pkey, u64 access) permission_fault() argument
|
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 311 unsigned index, accessed_dirty, pte_pkey; in walk_addr_generic() local 431 pte_pkey = FNAME(gpte_pkeys)(vcpu, pte); in walk_addr_generic() 436 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in walk_addr_generic()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 317 unsigned index, accessed_dirty, pte_pkey; in walk_addr_generic() local 423 pte_pkey = FNAME(gpte_pkeys)(vcpu, pte); in walk_addr_generic() 428 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in walk_addr_generic()
|
Completed in 5 milliseconds