kvm-unit-tests consistently hang on Arm FVP when booted with kvm-arm.mode=protected across both 4K and 64K page-size kernel builds.
Running the same tests with kvm-arm.mode=vhe completes successfully.
Anders, bisected and identified the first bad commit as:
066daa8d3bc2694c392e14091978043aed7b1f23 KVM: arm64: Initialize HCRX_EL2 traps in pKVM
Regression Analysis: - Reproducibility? yes
Test regression: kvm-unit-tests hang on Arm FVP with kvm-arm.mode=protected
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Environment: Platform: Arm FVP base-revc Kernel: arm64 (tested with 4K and 64K page sizes) Mode: kvm-arm.mode=protected (hangs) vs kvm-arm.mode=vhe (passes) Test suite: kvm-unit-tests (./run_tests.sh -a -t -v) Cmdline args : kvm-arm.mode=protected Kernel: Mainline master and Linux next master
Test run log: INFO: running kvm unit tests ... + [ True = false ] + ./run_tests.sh -a -t -v + tee -a /lava-1/0/tests/0_kvm-unit-tests/automated/linux/kvm-unit-tests/output/result_log.txt TAP version 13
Links: https://regressions.linaro.org/lkft/linux-mainline-master/v6.17-rc4/lava/kvm... https://qa-reports.linaro.org/api/testruns/29720932/log_file/
-- Linaro LKFT https://lkft.linaro.org