[PATCH] KVM: PPC: Book3S HV: Fix conversion to gfn-based MMU notifier callbacks
mpe at ellerman.id.au
Thu May 6 23:43:10 AEST 2021
Paolo Bonzini <pbonzini at redhat.com> writes:
> On 05/05/21 14:15, Nicholas Piggin wrote:
>> Commit b1c5356e873c ("KVM: PPC: Convert to the gfn-based MMU notifier
>> callbacks") causes unmap_gfn_range and age_gfn callbacks to only work
>> on the first gfn in the range. It also makes the aging callbacks call
>> into both radix and hash aging functions for radix guests. Fix this.
>> Add warnings for the single-gfn calls that have been converted to range
>> callbacks, in case they ever receieve ranges greater than 1.
>> Fixes: b1c5356e873c ("KVM: PPC: Convert to the gfn-based MMU notifier callbacks")
>> Reported-by: Bharata B Rao <bharata at linux.ibm.com>
>> Tested-by: Bharata B Rao <bharata at linux.ibm.com>
>> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> Sorry for the breakage. I queued this patch.
Thanks. Are you planning to send it to Linus before rc1?
If not I can pick it up as I already have some things in my next and am
intending to send a pull request anyway.
More information about the Linuxppc-dev