pnv/xive2: Add definition for the ESB cache configuration register
authorFrederic Barrat <fbarrat@linux.ibm.com>
Thu, 1 Jun 2023 12:13:28 +0000 (14:13 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sat, 10 Jun 2023 13:19:24 +0000 (10:19 -0300)
commit32af01f83a763ccbba39c1cbc424e1b724d233df
tree417c109b72f0b91495f4c8dfcec2b1935f02e542
parentcce84fc9193e2566b4f7f9de5a13e7ed360d44d9
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>
hw/intc/pnv_xive2.c
hw/intc/pnv_xive2_regs.h