From 7f328162a98ee4e10aed42b51a7f8125c6e73384 Mon Sep 17 00:00:00 2001 From: Kemeng Shi Date: Tue, 21 Jul 2026 14:32:41 +0800 Subject: [PATCH] irqchip/gic-v3-its: Fix grammar and replace a bit number with its symbol Fix grammatical errors in comments and simplify the comment about reading GITS_BASER_INDIRECT to check two-level support. Signed-off-by: Kemeng Shi Signed-off-by: Thomas Gleixner Reviewed-by: Radu Rendec Acked-by: Marc Zyngier Link: https://patch.msgid.link/20260721063241.52549-3-shikemeng@huaweicloud.com --- drivers/irqchip/irq-gic-v3-its.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 07e3a08c3732..2c43b4ab5b70 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -163,7 +163,7 @@ struct event_lpi_map { /* * The ITS view of a device - belongs to an ITS, owns an interrupt - * translation table, and a list of interrupts. If it some of its + * translation table, and a list of interrupts. If some of its * LPIs are injected into a guest (GICv4), the event_map.vm field * indicates which one. */ @@ -2501,10 +2501,7 @@ static bool its_parse_indirect_baser(struct its_node *its, /* No need to enable Indirection if memory requirement < (psz*2)bytes */ if ((esz << ids) > (psz * 2)) { - /* - * Find out whether hw supports a single or two-level table by - * table by reading bit at offset '62' after writing '1' to it. - */ + /* Find out whether the hardware supports a single or two-level table */ its_write_baser(its, baser, val | GITS_BASER_INDIRECT); indirect = !!(baser->val & GITS_BASER_INDIRECT);