pnv/xive: Add property on xive sources to define PQ state on reset
commita8da2e1424c2f716222582a4706117d2ca845fe1
authorFrederic Barrat <fbarrat@linux.ibm.com>
Mon, 3 Jul 2023 08:12:14 +0000 (3 10:12 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:46:12 +0000 (7 04:46 -0300)
tree2483dca5829b7663e75bfd0447470ccc20a2b29f
parent694d3cb2ef2d7355ddaf413614f325f17da9716b
pnv/xive: Add property on xive sources to define PQ state on reset

The PQ state of a xive interrupt is always initialized to Q=1, which
means the interrupt is disabled. Since a xive source can be embedded
in many objects, this patch adds a property to allow that behavior to
be refined if needed.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230703081215.55252-2-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/intc/xive.c
include/hw/ppc/xive.h