[PATCH v7 15/20] arm/arm64: KVM: add virtual GICv3 distributor emulation
christoffer.dall at linaro.org
Fri Jan 16 10:55:51 PST 2015
On Fri, Jan 16, 2015 at 3:11 PM, Andre Przywara <andre.przywara at arm.com> wrote:
> Hi Christoffer,
> On 15/01/15 12:21, Christoffer Dall wrote:
>> On Wed, Jan 14, 2015 at 04:31:19PM +0000, Andre Przywara wrote:
>>> With everything separated and prepared, we implement a model of a
>>> GICv3 distributor and redistributors by using the existing framework
>>> to provide handler functions for each register group.
>>> Currently we limit the emulation to a model enforcing a single
>>> security state, with SRE==1 (forcing system register access) and
>>> ARE==1 (allowing more than 8 VCPUs).
>>> We share some of the functions provided for GICv2 emulation, but take
>>> the different ways of addressing (v)CPUs into account.
>>> Save and restore is currently not implemented.
>>> Similar to the split-off of the GICv2 specific code, the new emulation
>>> code goes into a new file (vgic-v3-emul.c).
>>> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
>> Drum roll....
>> Reviewed-by: Christoffer Dall <christoffer.dall at linaro.org>
> Awesome, many thanks for that!
> If you need any help with any kind of merging/rebasing GIC related
> patches (the VFIO stuff for instance), please let me know.
Thanks, I'm still brewing on the remaining
we-allow-some-dynamic-vgic-init stuff for gicv3 and whether we need to
change that before merging this.
More information about the linux-arm-kernel