OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
[android-x86/kernel.git]
/
arch
/
arm
/
include
/
asm
/
kvm_host.h
diff --git
a/arch/arm/include/asm/kvm_host.h
b/arch/arm/include/asm/kvm_host.h
index
d5423ab
..
9fe1043
100644
(file)
--- a/
arch/arm/include/asm/kvm_host.h
+++ b/
arch/arm/include/asm/kvm_host.h
@@
-318,4
+318,10
@@
static inline int kvm_arm_vcpu_arch_has_attr(struct kvm_vcpu *vcpu,
return -ENXIO;
}
return -ENXIO;
}
+static inline bool kvm_arm_harden_branch_predictor(void)
+{
+ /* No way to detect it yet, pretend it is not there. */
+ return false;
+}
+
#endif /* __ARM_KVM_HOST_H__ */
#endif /* __ARM_KVM_HOST_H__ */