diff options
author | Vincent Donnefort <vdonnefort@google.com> | 2022-10-04 16:42:16 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-10-09 03:15:55 +0100 |
commit | 837d632a383f13df7a67207a196d6eb4aeb4adca (patch) | |
tree | 2db823687ee39f2ad9e2492d65bbe8e00a6833b9 /arch/arm64/kvm/hyp/Makefile | |
parent | 5994bc9e05c2f8811f233aa434e391cd2783f0f5 (diff) |
KVM: arm64: Enable stack protection and branch profiling for VHE
For historical reasons, the VHE code inherited the build configuration from
nVHE. Now those two parts have their own folder and makefile, we can
enable stack protection and branch profiling for VHE.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Reviewed-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221004154216.2833636-1-vdonnefort@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/Makefile')
-rw-r--r-- | arch/arm64/kvm/hyp/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm64/kvm/hyp/Makefile b/arch/arm64/kvm/hyp/Makefile index 687598e41b21..a38dea6186c9 100644 --- a/arch/arm64/kvm/hyp/Makefile +++ b/arch/arm64/kvm/hyp/Makefile @@ -5,9 +5,6 @@ incdir := $(srctree)/$(src)/include subdir-asflags-y := -I$(incdir) -subdir-ccflags-y := -I$(incdir) \ - -fno-stack-protector \ - -DDISABLE_BRANCH_PROFILING \ - $(DISABLE_STACKLEAK_PLUGIN) +subdir-ccflags-y := -I$(incdir) obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o |