Re: [PATCH] KVM: PPC: Book3S HV: Validate arch_compat against host compatibility mode

From: Vaibhav Jain

Date: Fri Jun 05 2026 - 03:36:42 EST


Hi Gautam,

Thanks for testing this patch. Few questions:
Gautam Menghani <gautam@xxxxxxxxxxxxx> writes:

> On Wed, Jun 03, 2026 at 07:45:39PM +0530, Amit Machhiwal wrote:
>> On IBM POWER systems, newer processor generations can operate in
>> compatibility modes corresponding to earlier generations. This becomes
>> relevant for nested virtualization, where nested KVM guests may need to
>> run with a specific processor compatibility level.
>>
<snip>
>
> I booted a KVM guest on LPAR with this patch in the following scenarios:
<snip>

> 3. P11 guest on P11 host booted in P10 compat mode: No error observed
This should have resulted in an error since booting a P11 guest on P10
compat mode host is not allowed with/without this patch. Can you please
check your test env and share the boot results.


>
> Tested-by: Gautam Menghani <gautam@xxxxxxxxxxxxx>

--
Cheers
~ Vaibhav