summary refs log tree commit diff stats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2024-09-13 11:16:47 -0500
committerNicholas Piggin <npiggin@gmail.com>2024-11-04 09:14:21 +1000
commitb9deafe7bf463fb7c7d7ee713774bfaf785eeb87 (patch)
tree9f2cb19d5bfb431492da4e605056d1ccb1d79cf5 /include/hw/ppc
parenta53304639a4a7c57184472a942bbb8da5e8482a6 (diff)
downloadfocaccia-qemu-b9deafe7bf463fb7c7d7ee713774bfaf785eeb87.tar.gz
focaccia-qemu-b9deafe7bf463fb7c7d7ee713774bfaf785eeb87.zip
pnv/xive2: Define OGEN field in the TIMA
The OGEN field at offset 0x1F is a new field for Gen2 TIMA. This
patch defines it.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Kowal <kowal@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/xive_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/xive_regs.h b/include/hw/ppc/xive_regs.h
index 9d52d464d9..9062c6abf6 100644
--- a/include/hw/ppc/xive_regs.h
+++ b/include/hw/ppc/xive_regs.h
@@ -79,6 +79,7 @@
 #define TM_INC                  0x5  /*  -   +   -   +  */
 #define TM_AGE                  0x6  /*  -   +   -   +  */
 #define TM_PIPR                 0x7  /*  -   +   -   +  */
+#define TM_OGEN                 0xF  /*  -   +   -   -  */ /* P10 only */
 
 #define TM_WORD0                0x0
 #define TM_WORD1                0x4