linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: christoffer.dall@linaro.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 00/20] KVM GICv3 emulation
Date: Mon, 19 Jan 2015 14:07:52 +0100	[thread overview]
Message-ID: <20150119130752.GA3766@cbox> (raw)
In-Reply-To: <54BCE2B6.5030406@arm.com>

Hi Andre,

On Mon, Jan 19, 2015 at 10:55:50AM +0000, Andre Przywara wrote:
> Hi,
> 
> On 14/01/15 16:31, Andre Przywara wrote:
> > This is version 7 of the GICv3 guest emulation series.
> > As v6 this series is based on v3.19-rc3 plus Eric's explicit
> > VGIC_CTRL_INIT patches.
> 
> I've been told that there is some confusion about the above feature with
> vGICv3 and I just saw that I didn't mention it in the cover letter:
> 
> The GICv3 emulation does not support automatic init as the vGICv2 does.
> One needs to explicitly use the brand new VGIC_CTRL_INIT KVM device
> ioctl to finalise the GICv3 initialisation.
> 
> Among the three places the automatic VGIC init was done before now two
> are in vgic-v2-emul.c and don't apply to a virtual GICv3. The remaining
> place is in kvm_vgic_inject_irq() in vgic.c, where I explicitly added a
> check to only work with a virtual GICv2.
> Removing the explicit VGIC_CTRL_INIT from kvmtool resulted in the
> desired effect: the VGICv3 didn't initialise and kvmtool returned with
> an error.
> If there should be a codepath left which allows auto-init of a virtual
> GICv3, this is a bug and I'd be grateful for a report.
> 
No, I didn't realize when reading the patch for this specific issue that
the set_attr code path was moved to the gicv2 specific files.

I think you nailed it, so we should be all good.

Will queue this once I get a chance to do a shallow test for
regressions.

Thanks,
-Christoffer

      reply	other threads:[~2015-01-19 13:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 16:31 [PATCH v7 00/20] KVM GICv3 emulation Andre Przywara
2015-01-14 16:31 ` [PATCH v7 01/20] arm/arm64: KVM: rework MPIDR assignment and add accessors Andre Przywara
2015-01-14 16:31 ` [PATCH v7 02/20] arm/arm64: KVM: pass down user space provided GIC type into vGIC code Andre Przywara
2015-01-14 16:31 ` [PATCH v7 03/20] arm/arm64: KVM: refactor vgic_handle_mmio() function Andre Przywara
2015-01-14 16:31 ` [PATCH v7 04/20] arm/arm64: KVM: wrap 64 bit MMIO accesses with two 32 bit ones Andre Przywara
2015-01-14 16:31 ` [PATCH v7 05/20] arm/arm64: KVM: introduce per-VM ops Andre Przywara
2015-01-14 16:31 ` [PATCH v7 06/20] arm/arm64: KVM: move kvm_register_device_ops() into vGIC probing Andre Przywara
2015-01-14 16:31 ` [PATCH v7 07/20] arm/arm64: KVM: dont rely on a valid GICH base address Andre Przywara
2015-01-14 16:31 ` [PATCH v7 08/20] arm/arm64: KVM: make the maximum number of vCPUs a per-VM value Andre Przywara
2015-01-15 12:18   ` Christoffer Dall
2015-01-14 16:31 ` [PATCH v7 09/20] arm/arm64: KVM: make the value of ICC_SRE_EL1 a per-VM variable Andre Przywara
2015-01-14 16:31 ` [PATCH v7 10/20] arm/arm64: KVM: refactor MMIO accessors Andre Przywara
2015-01-14 16:31 ` [PATCH v7 11/20] arm/arm64: KVM: refactor/wrap vgic_set/get_attr() Andre Przywara
2015-01-14 16:31 ` [PATCH v7 12/20] arm/arm64: KVM: add vgic.h header file Andre Przywara
2015-01-14 16:31 ` [PATCH v7 13/20] arm/arm64: KVM: split GICv2 specific emulation code from vgic.c Andre Przywara
2015-01-14 16:31 ` [PATCH v7 14/20] arm/arm64: KVM: add opaque private pointer to MMIO data Andre Przywara
2015-01-14 16:31 ` [PATCH v7 15/20] arm/arm64: KVM: add virtual GICv3 distributor emulation Andre Przywara
2015-01-15 12:21   ` Christoffer Dall
2015-01-16 14:11     ` Andre Przywara
2015-01-16 18:55       ` Christoffer Dall
2015-01-14 16:31 ` [PATCH v7 16/20] arm64: GICv3: introduce symbolic names for GICv3 ICC_SGI1R_EL1 fields Andre Przywara
2015-01-14 16:31 ` [PATCH v7 17/20] arm64: KVM: add SGI generation register emulation Andre Przywara
2015-01-14 16:31 ` [PATCH v7 18/20] arm/arm64: KVM: enable kernel side of GICv3 emulation Andre Przywara
2015-01-15 12:25   ` Christoffer Dall
2015-01-14 16:31 ` [PATCH v7 19/20] arm/arm64: KVM: allow userland to request a virtual GICv3 Andre Przywara
2015-01-15 12:27   ` Christoffer Dall
2015-01-14 16:31 ` [PATCH v7 20/20] arm/arm64: KVM: force alignment of VGIC dist/CPU/redist addresses Andre Przywara
2015-01-15 12:29   ` Christoffer Dall
2015-01-19 10:55 ` [PATCH v7 00/20] KVM GICv3 emulation Andre Przywara
2015-01-19 13:07   ` Christoffer Dall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150119130752.GA3766@cbox \
    --to=christoffer.dall@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).