arch-arm: don't expose FEAT_VHE by default
authorAdrian Herrera <adrian.herrera@arm.com>
Mon, 25 Jan 2021 12:13:48 +0000 (12:13 +0000)
committerAdrian Herrera <adrian.herrera@arm.com>
Tue, 2 Feb 2021 09:18:00 +0000 (09:18 +0000)
commitdebec23ea426cc1d39a1214b94fe527a20dbf1bb
treef60d5f6ad7f7c7ee853e9d3578b73a170bc10f2b
parent0d703041fcd5d119012b62287695723a2955b408
arch-arm: don't expose FEAT_VHE by default

If FEAT_VHE is implemented and Linux boots in EL2, it programs itself
to operate in EL2. This causes a later boot stall as explained in
https://gem5.atlassian.net/browse/GEM5-901.
We provide a parameter "have_vhe" to enable FEAT_VHE on demand. This is
disabled by default until fixed. This avoids users stalling on the common
case of booting Linux without a hypervisor.

Change-Id: I3ee7be1ca59afc0cbbda59fb3aad4c897c06405f
Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39695
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/ArmISA.py
src/arch/arm/ArmSystem.py
src/arch/arm/isa.cc
src/arch/arm/isa.hh
src/arch/arm/system.cc
src/arch/arm/system.hh