* [PATCH] foundation: disable Scalable Vector Extension (SVE)
@ 2020-03-18 12:01 Rahul Singh
2020-03-19 8:02 ` [meta-arm] " Bertrand Marquis
0 siblings, 1 reply; 3+ messages in thread
From: Rahul Singh @ 2020-03-18 12:01 UTC (permalink / raw)
To: meta-arm; +Cc: nd
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.
Change-Id: I862540a46686f1fb5343a3143da61db6073bb1d3
Signed-off-by: Rahul Singh <rahul.singh@arm.com>
---
.../recipes-devtools/fvp-common/files/start-foundation-armv8.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
index 1df4fd8..e014124 100755
--- a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
+++ b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-arm] [PATCH] foundation: disable Scalable Vector Extension (SVE)
2020-03-18 12:01 [PATCH] foundation: disable Scalable Vector Extension (SVE) Rahul Singh
@ 2020-03-19 8:02 ` Bertrand Marquis
2020-03-19 20:33 ` Jon Mason
0 siblings, 1 reply; 3+ messages in thread
From: Bertrand Marquis @ 2020-03-19 8:02 UTC (permalink / raw)
To: meta-arm@lists.yoctoproject.org; +Cc: nd
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
On 18 Mar 2020, at 12:01, Rahul Singh via Lists.Yoctoproject.Org<http://Lists.Yoctoproject.Org> <rahul.singh=arm.com@lists.yoctoproject.org<mailto:rahul.singh=arm.com@lists.yoctoproject.org>> 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.
Change-Id: I862540a46686f1fb5343a3143da61db6073bb1d3
Signed-off-by: Rahul Singh <rahul.singh@arm.com<mailto:rahul.singh@arm.com>>
---
.../recipes-devtools/fvp-common/files/start-foundation-armv8.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
index 1df4fd8..e014124 100755
--- a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
+++ b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
@@ -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
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com<mailto:bertrand.marquis@arm.com>>
[-- Attachment #2: Type: text/html, Size: 2616 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-arm] [PATCH] foundation: disable Scalable Vector Extension (SVE)
2020-03-19 8:02 ` [meta-arm] " Bertrand Marquis
@ 2020-03-19 20:33 ` Jon Mason
0 siblings, 0 replies; 3+ messages in thread
From: Jon Mason @ 2020-03-19 20:33 UTC (permalink / raw)
To: meta-arm
On Thu, Mar 19, 2020 at 08:02:43AM +0000, Bertrand Marquis wrote:
>
>
> On 18 Mar 2020, at 12:01, Rahul Singh via Lists.Yoctoproject.Org<http://Lists.Yoctoproject.Org> <rahul.singh=arm.com@lists.yoctoproject.org<mailto:rahul.singh=arm.com@lists.yoctoproject.org>> 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
>
> Change-Id: I862540a46686f1fb5343a3143da61db6073bb1d3
> Signed-off-by: Rahul Singh <rahul.singh@arm.com<mailto:rahul.singh@arm.com>>
> ---
> .../recipes-devtools/fvp-common/files/start-foundation-armv8.sh | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
> index 1df4fd8..e014124 100755
> --- a/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
> +++ b/meta-arm-bsp/recipes-devtools/fvp-common/files/start-foundation-armv8.sh
> @@ -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
>
>
> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com<mailto:bertrand.marquis@arm.com>>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-19 20:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-18 12:01 [PATCH] foundation: disable Scalable Vector Extension (SVE) Rahul Singh
2020-03-19 8:02 ` [meta-arm] " Bertrand Marquis
2020-03-19 20:33 ` Jon Mason
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.