diff options
author | Glenn Miles <milesg@linux.ibm.com> | 2025-05-12 13:10:30 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-07-21 08:03:52 +0200 |
commit | b22ffb42999504614a1bef3a52c5b2e6549e8de6 (patch) | |
tree | 853ed315203c80e5713fee8b8218b9ca15e3b2de /include | |
parent | 9898cc80306588eb6a1c44b7ba38f207ca8bdcfa (diff) | |
download | qemu-b22ffb42999504614a1bef3a52c5b2e6549e8de6.zip qemu-b22ffb42999504614a1bef3a52c5b2e6549e8de6.tar.gz qemu-b22ffb42999504614a1bef3a52c5b2e6549e8de6.tar.bz2 |
ppc/xive2: add interrupt priority configuration flags
Adds support for extracting additional configuration flags from
the XIVE configuration register that are needed for redistribution
of group interrupts.
Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-22-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/xive2.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/hw/ppc/xive2.h b/include/hw/ppc/xive2.h index 2436ddb..760b94a 100644 --- a/include/hw/ppc/xive2.h +++ b/include/hw/ppc/xive2.h @@ -29,9 +29,11 @@ OBJECT_DECLARE_TYPE(Xive2Router, Xive2RouterClass, XIVE2_ROUTER); * Configuration flags */ -#define XIVE2_GEN1_TIMA_OS 0x00000001 -#define XIVE2_VP_SAVE_RESTORE 0x00000002 -#define XIVE2_THREADID_8BITS 0x00000004 +#define XIVE2_GEN1_TIMA_OS 0x00000001 +#define XIVE2_VP_SAVE_RESTORE 0x00000002 +#define XIVE2_THREADID_8BITS 0x00000004 +#define XIVE2_EN_VP_GRP_PRIORITY 0x00000008 +#define XIVE2_VP_INT_PRIO 0x00000030 typedef struct Xive2RouterClass { SysBusDeviceClass parent; |