mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
pnv/xive2: Add definition for the ESB cache configuration register
Add basic read/write support for the ESB cache configuration register on P10. We don't model the ESB cache in qemu so reading/writing the register won't do anything, but it avoids logging a guest error when skiboot configures it: qemu-system-ppc64 -machine powernv10 ... -d guest_errors ... XIVE[0] - VC: invalid read @240 XIVE[0] - VC: invalid write @240 Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20230601121331.487207-3-fbarrat@linux.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
cce84fc919
commit
32af01f83a
2 changed files with 11 additions and 0 deletions
|
@ -232,6 +232,10 @@
|
|||
#define VC_ESBC_FLUSH_POLL_BLOCK_ID_MASK PPC_BITMASK(32, 35)
|
||||
#define VC_ESBC_FLUSH_POLL_OFFSET_MASK PPC_BITMASK(36, 63) /* 28-bit */
|
||||
|
||||
/* ESBC configuration */
|
||||
#define X_VC_ESBC_CFG 0x148
|
||||
#define VC_ESBC_CFG 0x240
|
||||
|
||||
/* EASC flush control register */
|
||||
#define X_VC_EASC_FLUSH_CTRL 0x160
|
||||
#define VC_EASC_FLUSH_CTRL 0x300
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue