Re: [PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-10 Thread Mikko Perttunen
On 07.04.2017 10:32, Marc Zyngier wrote: On 07/04/17 07:49, Mikko Perttunen wrote: On 06.04.2017 12:26, Marc Zyngier wrote: On 06/04/17 09:17, Mikko Perttunen wrote: From: Matt Craighead According to the GICv2 specification, the GICD_ICFGR0, or GIC_DIST_CONFIG[0] register is read-only. There

Re: [PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-07 Thread Marc Zyngier
On 07/04/17 07:49, Mikko Perttunen wrote: > On 06.04.2017 12:26, Marc Zyngier wrote: >> On 06/04/17 09:17, Mikko Perttunen wrote: >>> From: Matt Craighead >>> >>> According to the GICv2 specification, the GICD_ICFGR0, >>> or GIC_DIST_CONFIG[0] register is read-only. Therefore >>> avoid writing to

Re: [PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-06 Thread Mikko Perttunen
On 06.04.2017 12:26, Marc Zyngier wrote: On 06/04/17 09:17, Mikko Perttunen wrote: From: Matt Craighead According to the GICv2 specification, the GICD_ICFGR0, or GIC_DIST_CONFIG[0] register is read-only. Therefore avoid writing to it. Have you verified that this also applies to pre-v2 GICs?

Re: [PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-06 Thread Marc Zyngier
On 06/04/17 09:17, Mikko Perttunen wrote: > From: Matt Craighead > > According to the GICv2 specification, the GICD_ICFGR0, > or GIC_DIST_CONFIG[0] register is read-only. Therefore > avoid writing to it. Have you verified that this also applies to pre-v2 GICs? > > Signed-off-by: Matt Craighead

[PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-06 Thread Mikko Perttunen
From: Matt Craighead According to the GICv2 specification, the GICD_ICFGR0, or GIC_DIST_CONFIG[0] register is read-only. Therefore avoid writing to it. Signed-off-by: Matt Craighead [mperttu...@nvidia.com: commit message rewritten] Signed-off-by: Mikko Perttunen --- drivers/irqchip/irq-gic.c