aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/phb4.c5
-rw-r--r--include/xive.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index de10bb0..99455d8 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -5882,12 +5882,9 @@ static void phb4_create(struct dt_node *np)
xive_register_hw_source(p->base_msi, p->num_irqs - 8, 16,
p->int_mmio, irq_flags, NULL, NULL);
- /* XIVE_SRC_SHIFT_BUG is a DD1 workaround */
xive_register_hw_source(p->base_lsi, 8, 16,
p->int_mmio + ((p->num_irqs - 8) << 16),
- XIVE_SRC_LSI | XIVE_SRC_SHIFT_BUG,
- p,
- &phb4_lsi_ops);
+ XIVE_SRC_LSI, p, &phb4_lsi_ops);
/* Platform additional setup */
if (platform.pci_setup_phb)
diff --git a/include/xive.h b/include/xive.h
index fb8967e..477d380 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -41,7 +41,6 @@ __attrconst uint32_t xive_get_notify_base(uint32_t girq);
#define XIVE_SRC_EOI_PAGE1 0x02 /* EOI on the second page */
#define XIVE_SRC_STORE_EOI 0x04 /* EOI using stores supported */
#define XIVE_SRC_LSI 0x08 /* Interrupt is an LSI */
-#define XIVE_SRC_SHIFT_BUG 0x10 /* ESB update offset << 4 (PHB4 LSI DD1) */
struct irq_source_ops;
void xive_register_hw_source(uint32_t base, uint32_t count, uint32_t shift,