Re: [PATCHv3 0/7] KVM: PPC: Misc fixes and nestedv2 vCPU limit fixes

From: Madhavan Srinivasan

Date: Sat Nov 21 2026 - 23:55:48 EST


On Sun, 01 Nov 2026 20:58:05 +0530, Ritesh Harjani (IBM) wrote:
> v2 -> v3:
> =========
> - Fixed logic bug in patch-2 & patch-6.
> (realized after sending + sashiko caught this as well).
>
> RFC -> v2:
> =========
> - Addressed sashiko review comments
> - added patch-3 to address similar __ffs(0) problem on booke
> - fixed build issues in patch-4
> - added patch-5 to reject vcpu ids beyond the PAPR limit
> - Few more patches were added. Few of them were reported by Sashiko and few
> others were caught while doing vcpu create path code walkthrough
>
> [...]

Applied to powerpc/fixes.

[1/7] KVM: PPC: Book3S HV: Read EX_DSISR as a 32-bit field on guest exit
https://git.kernel.org/powerpc/c/b282541b555b9ddc64b85fbe00bbc39522aaa911
[2/7] KVM: PPC: Book3S: Don't call __ffs() on an empty pending_exceptions bitmap
https://git.kernel.org/powerpc/c/3aa91029dedaa00780f5aa15763e88d31c43eac5
[3/7] KVM: PPC: BookE: Don't call __ffs() on an empty pending_exceptions bitmap
https://git.kernel.org/powerpc/c/d9801c9fa4a4befc512b43c6b3406fb0bddb00d4
[4/7] KVM: PPC: Book3S HV nestedv2: cap max vcpus to PAPR limit
https://git.kernel.org/powerpc/c/2b1e236cb3dba4353feb9c77116645e57ba91669
[5/7] KVM: PPC: Book3S HV nestedv2: reject vCPU ids beyond the PAPR limit
https://git.kernel.org/powerpc/c/b8c0f82d60c7d149b271cec9364ffb815866cc80
[6/7] KVM: PPC: Book3S HV: Fix error handling during vcore create
https://git.kernel.org/powerpc/c/d76620d9e2ce87963b993a44acae7ce1a47eca24
[7/7] KVM: PPC: Book3s: nestedv2: Free the guest state buffers if vcpu create fails
https://git.kernel.org/powerpc/c/f6f88b0aa156a7df2477950fddf6b413d1c76a31

cheers