mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
ppc/pnv: Add trace events for PCI event notification
On POWER9 systems, PHB controllers signal the XIVE interrupt controller of a source interrupt notification using a store on a MMIO region. Add traces for such events. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20210126171059.307867-2-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
1f38f48900
commit
2cfc9f1a96
4 changed files with 12 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "hw/ppc/xive_regs.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/ppc/ppc.h"
|
||||
#include "trace.h"
|
||||
|
||||
#include <libfdt.h>
|
||||
|
||||
|
@ -1319,6 +1320,8 @@ static void pnv_xive_ic_hw_trigger(PnvXive *xive, hwaddr addr, uint64_t val)
|
|||
uint8_t blk;
|
||||
uint32_t idx;
|
||||
|
||||
trace_pnv_xive_ic_hw_trigger(addr, val);
|
||||
|
||||
if (val & XIVE_TRIGGER_END) {
|
||||
xive_error(xive, "IC: END trigger at @0x%"HWADDR_PRIx" data 0x%"PRIx64,
|
||||
addr, val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue