Home
last modified time | relevance | path

Searched refs:pac (Results 1 – 5 of 5) sorted by relevance

/linux/arch/arm64/kvm/
H A Dpauth.c35 u64 mod, pac = 0; in compute_pac() local
50 PACGA(pac, ptr, mod); in compute_pac()
58 return pac; in compute_pac()
160 u64 ptr, cptr, pac, mask; in kvm_auth_eretax() local
183 pac = compute_pac(vcpu, cptr, ikey); in kvm_auth_eretax()
190 if ((pac & mask) == (ptr & mask)) { in kvm_auth_eretax()
202 cptr = ptr ^ (pac & mask); in kvm_auth_eretax()
/linux/tools/testing/selftests/arm64/pauth/
H A DMakefile9 CFLAGS += -mbranch-protection=pac-ret
20 TEST_GEN_PROGS := pac
28 # pac* and aut* instructions are not available on architectures berfore
37 # greater, gcc emits pac* instructions which are not in HINT NOP space,
43 $(OUTPUT)/pac: pac.c $(OUTPUT)/pac_corruptor.o $(OUTPUT)/helper.o
H A D.gitignore2 pac
/linux/arch/arm64/
H A DMakefile78 KBUILD_CFLAGS += -mbranch-protection=pac-ret+bti
79 KBUILD_RUSTFLAGS += -Zbranch-protection=bti,pac-ret
81 KBUILD_RUSTFLAGS += -Zbranch-protection=pac-ret
83 KBUILD_CFLAGS += -mbranch-protection=pac-ret
H A DKconfig2002 def_bool $(cc-option,-mbranch-protection=pac-ret+leaf)
2106 def_bool $(cc-option,-mbranch-protection=pac-ret+leaf+bti)