Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dproton-pack.c227 static void __copy_hyp_vect_bpi(int slot, const char *hyp_vecs_start, in __copy_hyp_vect_bpi() argument
234 memcpy(dst + i, hyp_vecs_start, hyp_vecs_end - hyp_vecs_start); in __copy_hyp_vect_bpi()
243 const char *hyp_vecs_start = __smccc_workaround_1_smc; in install_bp_hardening_cb() local
267 __copy_hyp_vect_bpi(slot, hyp_vecs_start, hyp_vecs_end); in install_bp_hardening_cb()
272 __this_cpu_write(bp_hardening_data.template_start, hyp_vecs_start); in install_bp_hardening_cb()
1010 static void kvm_setup_bhb_slot(const char *hyp_vecs_start) in kvm_setup_bhb_slot() argument
1018 size = kvm_bhb_get_vecs_size(hyp_vecs_start); in kvm_setup_bhb_slot()
1019 if (WARN_ON_ONCE(!hyp_vecs_start || !size)) in kvm_setup_bhb_slot()
1021 hyp_vecs_end = hyp_vecs_start + size; in kvm_setup_bhb_slot()
1025 if (per_cpu(bp_hardening_data.template_start, cpu) == hyp_vecs_start) { in kvm_setup_bhb_slot()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch14884 @@ -236,9 +195,9 @@ static void __copy_hyp_vect_bpi(int slot, const char *hyp_vecs_start,
14893 const char *hyp_vecs_start = __smccc_workaround_1_smc;
14899 - __this_cpu_write(bp_hardening_data.template_start, hyp_vecs_start);
15098 -static void kvm_setup_bhb_slot(const char *hyp_vecs_start)
15106 - size = kvm_bhb_get_vecs_size(hyp_vecs_start);
15107 - if (WARN_ON_ONCE(!hyp_vecs_start || !size))
15109 - hyp_vecs_end = hyp_vecs_start + size;
15113 - if (per_cpu(bp_hardening_data.template_start, cpu) == hyp_vecs_start) {
15122 - __copy_hyp_vect_bpi(slot, hyp_vecs_start, hyp_vecs_end);
15126 - __this_cpu_write(bp_hardening_data.template_start, hyp_vecs_start);
[all …]