mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
694d3cb2ef
commit
a8da2e1424
2 changed files with 7 additions and 2 deletions
|
@ -187,6 +187,7 @@ struct XiveSource {
|
|||
|
||||
/* PQ bits and LSI assertion bit */
|
||||
uint8_t *status;
|
||||
uint8_t reset_pq; /* PQ state on reset */
|
||||
|
||||
/* ESB memory region */
|
||||
uint64_t esb_flags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue