Home
last modified time | relevance | path

Searched refs:pfec (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dmmu.h191 unsigned int pfec = access; in permission_fault() local
208 int index = (pfec + (not_smap << PFERR_RSVD_BIT)) >> 1; in permission_fault()
216 WARN_ON(pfec & (PFERR_PK_MASK | PFERR_RSVD_MASK)); in permission_fault()
229 offset = (pfec & ~1) + in permission_fault()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c4965 unsigned pfec = byte << 1; in update_permission_bitmask() local
4973 u8 wf = (pfec & PFERR_WRITE_MASK) ? (u8)~w : 0; in update_permission_bitmask()
4975 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask()
4977 u8 ff = (pfec & PFERR_FETCH_MASK) ? (u8)~x : 0; in update_permission_bitmask()
4985 u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; in update_permission_bitmask()
4993 wf = (pfec & PFERR_USER_MASK) ? wf : 0; in update_permission_bitmask()
4997 smepf = (pfec & PFERR_FETCH_MASK) ? kf : 0; in update_permission_bitmask()
5016 smapf = (pfec & (PFERR_RSVD_MASK|PFERR_FETCH_MASK)) ? 0 : kf; in update_permission_bitmask()
5060 unsigned pfec, pkey_bits; in update_pkru_bitmask() local
5063 pfec = bit << 1; in update_pkru_bitmask()
[all …]