aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorFuad Tabba <[email protected]>2025-03-14 11:18:32 +0000
committerOliver Upton <[email protected]>2025-03-14 23:06:03 +0000
commit1eab115486c5c721e57bc72f8241d20cfed08f16 (patch)
treef334110fd925d4be5f11fbff125091198af4fce4 /rust/helpers/io.c
parentKVM: arm64: Factor out pKVM hyp vcpu creation to separate function (diff)
downloadkernel-1eab115486c5c721e57bc72f8241d20cfed08f16.tar.gz
kernel-1eab115486c5c721e57bc72f8241d20cfed08f16.zip
KVM: arm64: Create each pKVM hyp vcpu after its corresponding host vcpu
Instead of creating and initializing _all_ hyp vcpus in pKVM when the first host vcpu runs for the first time, initialize _each_ hyp vcpu in conjunction with its corresponding host vcpu. Some of the host vcpu state (e.g., system registers and traps values) is not initialized until the first time the host vcpu is run. Therefore, initializing a hyp vcpu before its corresponding host vcpu has run for the first time might not view the complete host state of these vcpus. Additionally, this behavior is inline with non-protected modes. Acked-by: Will Deacon <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Signed-off-by: Fuad Tabba <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions