[tip: irq/drivers] irqchip/gic-v5: Remove the redundant ITS cache invalidation
From: tip-bot2 for Zenghui Yu
Date: Wed Sep 03 2025 - 08:14:46 EST
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 54a1726d2e4c0c7b33f4e5ef35fcc118a4d74ea3
Gitweb: https://git.kernel.org/tip/54a1726d2e4c0c7b33f4e5ef35fcc118a4d74ea3
Author: Zenghui Yu <yuzenghui@xxxxxxxxxx>
AuthorDate: Wed, 03 Sep 2025 10:33:19 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Wed, 03 Sep 2025 14:09:01 +02:00
irqchip/gic-v5: Remove the redundant ITS cache invalidation
An ITS cache invalidation has been performed immediately after programming
the L2 DTE in gicv5_its_device_register(). No need to perform it again
right after a successful gicv5_its_device_register().
Remove it.
Signed-off-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/all/20250903023319.1820-1-yuzenghui@xxxxxxxxxx
---
drivers/irqchip/irq-gic-v5-its.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/irqchip/irq-gic-v5-its.c b/drivers/irqchip/irq-gic-v5-its.c
index 9290ac7..81d813c 100644
--- a/drivers/irqchip/irq-gic-v5-its.c
+++ b/drivers/irqchip/irq-gic-v5-its.c
@@ -768,8 +768,6 @@ static struct gicv5_its_dev *gicv5_its_alloc_device(struct gicv5_its_chip_data *
goto out_dev_free;
}
- gicv5_its_device_cache_inv(its, its_dev);
-
its_dev->its_node = its;
its_dev->event_map = (unsigned long *)bitmap_zalloc(its_dev->num_events, GFP_KERNEL);