diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-10-14 15:13:07 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-10-17 11:59:30 +0100 |
commit | 589ce5f447b8610df0dbd6935b56d5cda17b9cec (patch) | |
tree | 16ccd5619168aa7f2e67139badec48e9e23d5e69 /include/linux/hwmon-vid.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-589ce5f447b8610df0dbd6935b56d5cda17b9cec.tar.gz linux-589ce5f447b8610df0dbd6935b56d5cda17b9cec.tar.bz2 linux-589ce5f447b8610df0dbd6935b56d5cda17b9cec.zip |
irqchip/gic-v3-its: Fix 64bit GIC{R,ITS}_TYPER accesses
The GICv3 architecture specification mentions that a 64bit
register can be accessed using two 32bit accesses. What it
doesn't mention is that this is only guaranteed on a system
that implements AArch32, and a pure AArch64 system is allowed
not to support this. This causes issues with the GICR_TYPER
and GITS_TYPER registers, which are both RO 64bit registers.
In order to solve this, this patch switches the TYPER accesses
to the gic_read_typer macro already used in other parts of the
driver. This makes sure that we always use a 64bit access on
64bit systems, and two 32bit accesses on 32bit system.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/hwmon-vid.h')
0 files changed, 0 insertions, 0 deletions