Re: [PATCH v2 1/4] KVM: arm64: Leave KVM_ARM64_DEBUG_DIRTY updates to the host

2020-07-22 Thread Dave Martin
On Mon, Jul 13, 2020 at 10:05:02PM +0100, Andrew Scull wrote: > Move the clearing of KVM_ARM64_DEBUG_DIRTY from being one of the last > things hyp does before exiting to the host to being one of the first > things the host does after hyp exits. > > This means the host always manages the state of

[PATCH v2 1/4] KVM: arm64: Leave KVM_ARM64_DEBUG_DIRTY updates to the host

2020-07-13 Thread Andrew Scull
Move the clearing of KVM_ARM64_DEBUG_DIRTY from being one of the last things hyp does before exiting to the host to being one of the first things the host does after hyp exits. This means the host always manages the state of the bit and hyp simply respects that in the context switch. No