irqchip/gic-v5: Remove the redundant ITS cache invalidation
authorZenghui Yu <yuzenghui@huawei.com>
Wed, 3 Sep 2025 02:33:19 +0000 (10:33 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Sep 2025 12:09:01 +0000 (14:09 +0200)
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@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/all/20250903023319.1820-1-yuzenghui@huawei.com
drivers/irqchip/irq-gic-v5-its.c

index 9290ac7..81d813c 100644 (file)
@@ -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);