]> Git Repo - qemu.git/commit
ppc/pnv: Introduce PnvPsiClass::compat
authorGreg Kurz <[email protected]>
Fri, 13 Dec 2019 11:59:39 +0000 (12:59 +0100)
committerDavid Gibson <[email protected]>
Mon, 16 Dec 2019 23:39:48 +0000 (10:39 +1100)
commit41c4ef7009adb3d7c4f252656bb6b18080f7c3a2
tree531363e121d83c2cdbc67c7ae2cfea57fefb4e5d
parentaeb7a330f46ba530b40d7be5a3dce44e552f79a9
ppc/pnv: Introduce PnvPsiClass::compat

The Processor Service Interface (PSI) model has a chip_type class level
attribute, which is used to generate the content of the "compatible" DT
property according to the CPU type.

Since the PSI model already has specialized classes for each supported
CPU type, it seems cleaner to achieve this with QOM. Provide the content
of the "compatible" property with a new class level attribute.

Signed-off-by: Greg Kurz <[email protected]>
Message-Id: <157623837974.360005.14706607446188964477[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/pnv_psi.c
include/hw/ppc/pnv_psi.h
This page took 0.025933 seconds and 4 git commands to generate.