From 89bf31ca572987247ae0cf147df7ff5a83ab45d3 Mon Sep 17 00:00:00 2001 From: wangwudi wangwudi@hisilicon.com Date: Mon, 12 Jun 2023 22:16:32 +0800 Subject: [PATCH openEuler-22.03-LTS-SP2] irqchip: gic-v3: Collection table support muti pages
--------
Signed-off-by: wangwudi wangwudi@hisilicon.com --- drivers/irqchip/irq-gic-v3-its.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 0e429fe9cfd8..111e86b1a99e 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -2624,6 +2624,10 @@ static int its_alloc_tables(struct its_node *its) indirect = its_parse_indirect_baser(its, baser, &order, ITS_MAX_VPEID_BITS); break; + case GITS_BASER_TYPE_COLLECTION: + indirect = its_parse_indirect_baser(its, baser, &order, + order_base_2(num_possible_cpus())); + break; }
err = its_setup_baser(its, baser, cache, shr, order, indirect);