aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irqchip
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-05-30 17:29:52 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-07-16 14:22:19 +0100
commita4f9edb29d9c19f9f8dcd2df7ddfe4eb7ad58996 (patch)
tree538e0c5c70a2f711aacdcde60afebcfabf6612aa /include/linux/irqchip
parentirqchip/gic-v3-its: Drop chunk allocation compatibility (diff)
downloadlinux-dev-a4f9edb29d9c19f9f8dcd2df7ddfe4eb7ad58996.tar.xz
linux-dev-a4f9edb29d9c19f9f8dcd2df7ddfe4eb7ad58996.zip
irqchip/gic-v3: Expose GICD_TYPER in the rdist structure
Instead of exposing the GIC distributor IntID field in the rdist structure that is passed to the ITS, let's replace it with a copy of the whole GICD_TYPER register. We are going to need some of this information at a later time. No functionnal change. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/irqchip')
-rw-r--r--include/linux/irqchip/arm-gic-v3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h
index cbb872c1b607..396cd99af02f 100644
--- a/include/linux/irqchip/arm-gic-v3.h
+++ b/include/linux/irqchip/arm-gic-v3.h
@@ -576,8 +576,8 @@ struct rdists {
phys_addr_t phys_base;
} __percpu *rdist;
struct page *prop_page;
- int id_bits;
u64 flags;
+ u32 gicd_typer;
bool has_vlpis;
bool has_direct_lpi;
};