foundation: disable Scalable Vector Extension (SVE)
PATCH 1/1 foundation: disable Scalable Vector Extension (SVE)
When foundation platform is booted with SVE enabled in linux kernel and with Xen hypervisor, linux kernel is stopped by a trap catched by Xen during early boot as Xen is configuring the coprocessor to trap access to SVE to EL2.Disabling the SVE in foundation to boot the guest and host.
--- .../recipes-devtools/fvp-common/files/start-foundation-armv8.sh | 2 ++ 1 file changed, 2 insertions(+)
meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh +2 -0
@@ -41,9 +41,11 @@ FOUNDATION_PLAT_EXE="Foundation_Platform" # Foundation Platform arguments # 4 cores +# Disable Scalable Vector Extension (SVE) # gicv3 emulation (required for hardware virtualisation) FOUNDATION_PLAT_ARGS=" \ --cores=4 \ + --no-sve \ --gicv3" # Foundation Platform user arguments
Signature · 1 line
2.17.1
On 18 Mar 2020, at 12:01, Rahul Singh via Lists.Yoctoproject.Org<http://Lists.Yoctoproject.Org> <[email protected]<mailto:[email protected]>> wrote:
When foundation platform is booted with SVE enabled in linux kernel and with Xen hypervisor, linux kernel is stopped by a trap catched by Xen during early boot as Xen is configuring the coprocessor to trap access to SVE to EL2.Disabling the SVE in foundation to boot the guest and host.
---.../recipes-devtools/fvp-common/files/start-foundation-armv8.sh | 2 ++
1 file changed, 2 insertions(+)
meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh +0 -0
@@ -41,9 +41,11 @@ FOUNDATION_PLAT_EXE="Foundation_Platform"
# Foundation Platform arguments
# 4 cores
+# Disable Scalable Vector Extension (SVE)
# gicv3 emulation (required for hardware virtualisation)
FOUNDATION_PLAT_ARGS=" \
--cores=4 \
+ --no-sve \
--gicv3"# Foundation Platform user arguments
--
2.17.1
Jon Mason
AppliedQuoted 9 lines · Bertrand Marquis
On 18 Mar 2020, at 12:01, Rahul Singh via Lists.Yoctoproject.Org<http://Lists.Yoctoproject.Org> <[email protected]<mailto:[email protected]>> wrote:
When foundation platform is booted with SVE enabled in linux kernel and with Xen hypervisor, linux kernel is stopped by a trap catched by Xen during early boot as Xen is configuring the coprocessor to trap access to SVE to EL2.Disabling the SVE in foundation to boot the guest and host.
Applied to the master branch of meta-arm.
Thanks,
Jon
Quoted 31 lines
Change-Id I862540a46686f1fb5343a3143da61db6073bb1d3---
.../recipes-devtools/fvp-common/files/start-foundation-armv8.sh| 2 ++1 file changed, 2 insertions(+)meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh +2
-1@@ -41,9 +41,11 @@ FOUNDATION_PLAT_EXE="Foundation_Platform" # Foundation Platform arguments # 4 cores +# Disable Scalable Vector Extension (SVE) # gicv3 emulation (required for hardware virtualisation) FOUNDATION_PLAT_ARGS=" \ --cores=4 \ + --no-sve \ --gicv3" # Foundation Platform user arguments --2.17.1