]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
irqchip/gic-v3-its: Drop deprecated GITS_BASER_TYPE_CPU
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 20 Dec 2016 15:50:14 +0000 (15:50 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 13:49:20 +0000 (13:49 +0000)
During the development of the GICv3/v4 architecture, it was
envisaged to have a CPU table, though the use for it was
never completely clear (the collection table serves that role
pretty well). It ended being dropped before the specification
was published, though it lived on in the driver.

In order to avoid people scratching their head too much, let's do
the same in the kernel.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h

index 4e01103c6a06c5a80c7a417c8fa4de745f6430ab..fff024b89a2ac7c05d238f66cf5c1968bb1e512d 100644 (file)
@@ -822,7 +822,7 @@ static int __init its_alloc_lpi_tables(void)
 static const char *its_base_type_string[] = {
        [GITS_BASER_TYPE_DEVICE]        = "Devices",
        [GITS_BASER_TYPE_VCPU]          = "Virtual CPUs",
-       [GITS_BASER_TYPE_CPU]           = "Physical CPUs",
+       [GITS_BASER_TYPE_RESERVED3]     = "Reserved (3)",
        [GITS_BASER_TYPE_COLLECTION]    = "Interrupt Collections",
        [GITS_BASER_TYPE_RESERVED5]     = "Reserved (5)",
        [GITS_BASER_TYPE_RESERVED6]     = "Reserved (6)",
index e808f8ae6f143b9fba041aee30af864a91708186..b6e7629f8bb065ad984fa4f29d2a5ebe0fe6dd5a 100644 (file)
 #define GITS_BASER_TYPE_NONE           0
 #define GITS_BASER_TYPE_DEVICE         1
 #define GITS_BASER_TYPE_VCPU           2
-#define GITS_BASER_TYPE_CPU            3
+#define GITS_BASER_TYPE_RESERVED3      3
 #define GITS_BASER_TYPE_COLLECTION     4
 #define GITS_BASER_TYPE_RESERVED5      5
 #define GITS_BASER_TYPE_RESERVED6      6