ANDROID: kvm: arm64: Clarify the comment for SPE save context
Make the comment in line with the upstream version. Bug: 174685394 Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Qais Yousef <qais.yousef@arm.com> Change-Id: I8c239d37c96c0c8de1261df6d2a5a2defd43ccfb
This commit is contained in:
parent
ee7e80c81b
commit
ce71010347
@ -193,12 +193,11 @@ int __kvm_vcpu_run(struct kvm_vcpu *vcpu)
|
||||
|
||||
__sysreg_save_state_nvhe(host_ctxt);
|
||||
/*
|
||||
* For nVHE, we must save and disable any SPE
|
||||
* buffers, as the translation regime is going
|
||||
* to be loaded with that of the guest. And we must
|
||||
* save host context for SPE, before we change the
|
||||
* ownership to EL2 (via MDCR_EL2_E2PB == 0) and before
|
||||
* we load guest Stage1.
|
||||
* We must flush and disable the SPE buffer for nVHE, as
|
||||
* the translation regime(EL1&0) is going to be loaded with
|
||||
* that of the guest. And we must do this before we change the
|
||||
* translation regime to EL2 (via MDCR_EL2_E2PB == 0) and
|
||||
* before we load guest Stage1.
|
||||
*/
|
||||
__debug_save_host_buffers_nvhe(vcpu);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user