pnv/xive2: Add a get_config() method on the presenter class
commit2a24e6e394c0badefd1c6b1ecf571f3663236300
authorFrederic Barrat <fbarrat@linux.ibm.com>
Thu, 22 Jun 2023 16:25:26 +0000 (22 18:25 +0200)
committerCédric Le Goater <clg@kaod.org>
Sun, 25 Jun 2023 20:41:30 +0000 (25 22:41 +0200)
treea158542445dda970c488b82c64ee5210ff57cf72
parent242e8b4dca60574a81c92ba4b8bcb538550c6cfc
pnv/xive2: Add a get_config() method on the presenter class

The presenters for xive on P9 and P10 are mostly similar but the
behavior can be tuned through a few CQ registers. This patch adds a
"get_config" method, which will allow to access that config from the
presenter in a later patch.
For now, just define the config for the TIMA version.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/intc/pnv_xive.c
hw/intc/pnv_xive2.c
hw/intc/spapr_xive.c
hw/intc/xive.c
include/hw/ppc/xive.h