spapr: nested: Add Power11 capability support for Nested PAPR guests in TCG L0
authorAmit Machhiwal <amachhiw@linux.ibm.com>
Mon, 28 Oct 2024 09:15:36 +0000 (14:45 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Sun, 3 Nov 2024 23:14:02 +0000 (09:14 +1000)
commit6fb6f3096a3c417c8fe1eaaa4e80b230d19ff93d
tree6e8bac8de5a0eb5cf1564e95dcefc0f5cf45d46a
parent1d7e6318afcf060f4cd6ae3681d29a6cddf294ff
spapr: nested: Add Power11 capability support for Nested PAPR guests in TCG L0

The Power11 architected and raw mode support in Linux was merged via [1]
and the corresponding support in QEMU is waiting to be added by [2]
which in V6 currently.

Add the Power11 capabilities and the required handling in TCG L0
implementation of the "Nested PAPR API".

Note: This patch is based on [2].

[1] https://lore.kernel.org/all/20240221044623.1598642-1-mpe@ellerman.id.au/
[2] https://lore.kernel.org/all/20240731055022.696051-1-adityag@linux.ibm.com/

Signed-off-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr_nested.c
include/hw/ppc/spapr_nested.h