diff options
author | Andre Przywara <andre.przywara@arm.com> | 2014-06-11 14:11:49 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2015-01-20 18:25:29 +0100 |
commit | d97f683d0f4b2e63e68869f81ba2ce4ccbb6e5d8 (patch) | |
tree | 47ab5c6644d35a6a5feca2dad59b75be173d796a /fs/xfs | |
parent | 2f5fa41a7a7f47f3109a6596b0ec96258dbf06e6 (diff) | |
download | blackbird-op-linux-d97f683d0f4b2e63e68869f81ba2ce4ccbb6e5d8.tar.gz blackbird-op-linux-d97f683d0f4b2e63e68869f81ba2ce4ccbb6e5d8.zip |
arm/arm64: KVM: refactor MMIO accessors
The MMIO accessors for GICD_I[CS]ENABLER, GICD_I[CS]PENDR and
GICD_ICFGR behave very similar for GICv2 and GICv3, although the way
the affected VCPU is determined differs.
Since we need them to access the registers from three different
places in the future, we factor out a generic, backend-facing
implementation and use small wrappers in the current GICv2 emulation.
This will ease adding GICv3 accessors later.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions