On Tue, Sep 09, 2025 at 08:24:27AM +0100, Fuad Tabba wrote:
- Fix bug reported by Mark [2]. The existing call to pkvm_init_host_vm()
wasn't gated by protected mode being enabled, unlike the call to
pkvm_destroy_hyp_vm(). This imbalance caused failures in non-protected
mode, especially when creating and destroying multiple VMs. Tested
with kvm demand_paging_test using nvhe, vhe, and protected.
I fed this into the testing that blew up with the prior version and it
seems happy this time so:
Tested-by: Mark Brown <broonie@kernel.org>