From: Bertrand Marquis Date: Mon, 13 Jun 2022 12:53:14 +0000 (+0100) Subject: arm: Define kconfig symbols used by arm64 cpufeatures X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~555 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c2a14ea81c7;p=xen.git arm: Define kconfig symbols used by arm64 cpufeatures Define kconfig symbols which are used by arm64 cpufeatures to prevent using undefined symbols and rely on IS_ENABLED returning false. All the features related to those symbols are unsupported by Xen: - pointer authentication - sve - memory tagging - branch target identification Signed-off-by: Bertrand Marquis Acked-by: Julien Grall --- diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index a89a67802a..5900aa2efe 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -98,6 +98,34 @@ config HARDEN_BRANCH_PREDICTOR If unsure, say Y. +config ARM64_PTR_AUTH + def_bool n + depends on ARM64 + help + Pointer authentication support. + This feature is not supported in Xen. + +config ARM64_SVE + def_bool n + depends on ARM64 + help + Scalar Vector Extension support. + This feature is not supported in Xen. + +config ARM64_MTE + def_bool n + depends on ARM64 + help + Memory Tagging Extension support. + This feature is not supported in Xen. + +config ARM64_BTI + def_bool n + depends on ARM64 + help + Branch Target Identification support. + This feature is not supported in Xen. + config TEE bool "Enable TEE mediators support (UNSUPPORTED)" if UNSUPPORTED default n