From: Marc Zyngier <marc.zyngier@arm.com>
To: Itaru Kitayama <itaru.kitayama@riken.jp>
Cc: kvmarm@lists.cs.columbia.edu
Subject: Re: [PATCH] updated: arm64: KVM: vgic: deal with GIC sub-page alignment
Date: Fri, 1 Jul 2016 10:20:46 +0100 [thread overview]
Message-ID: <577635EE.1010002@arm.com> (raw)
In-Reply-To: <f2630ba4-1e97-ccfc-cfe2-525a21c215e6@riken.jp>
On 01/07/16 09:59, Itaru Kitayama wrote:
> Marc,
> That's good news. Can I assume you'd keep the
> KVM_DEV_ARM_VGIC_GRP_ADDR_OFFSET attribute, or would you introduce new
> ones? I ask because either way we need the userland support, be it QEMU
> or kvmtool. I'm carrying the small QEMU patch at this moment.
You can look at the kvm-arm64/gicv-align branch in my tree, which
contains some of the stuff. At the moment, the attribute is named
KVM_DEV_ARM_VGIC_GRP_GICC_OFFSET, but I don't mind changing the name.
Thanks,
M.
>
>
> On 7/1/16 5:40 PM, Marc Zyngier wrote:
>> Itaru,
>>
>> On 01/07/16 05:57, Itaru Kitayama wrote:
>>> This is merely an update to the patch Marc posted in 2014:
>>>
>>> https://lists.cs.columbia.edu/pipermail/kvmarm/2014-June/010055.html
>>>
>>> This updated patch is against today's current kvmarm git tree tag,
>>> kvm-for-arm-v4.7-rc6.
>>>
>>> The GIC CPU interface is always 4k aligned. If the host is using
>>> 64k pages, it is critical to place the guest's GICC interface at the
>>> same relative alignment as the host's GICV. Failure to do so results
>>> in an impossibility for the guest to deal with interrupts.
>>>
>>> Add a KVM_DEV_ARM_VGIC_GRP_ADDR_OFFSET attribute for the VGIC, allowing
>>> userspace to retrieve the GICV offset in a page. It becomes then trivial
>>> to adjust the GICC base address for the guest.
>>>
>>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com <https://lists.cs.columbia.edu/mailman/listinfo/kvmarm>>
>>> Signed-off-by: Itaru Kitayama <itaru.kitayama@riken.jp>
>>
>> I'm working on a much more complete patch series that deals with this
>> and a bit more. Hopefully for the 4.9 time frame.
>>
>> Thanks,
>>
>> M.
>>
>
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2016-07-01 9:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 4:57 [PATCH] updated: arm64: KVM: vgic: deal with GIC sub-page alignment Itaru Kitayama
2016-07-01 8:40 ` Marc Zyngier
2016-07-01 8:59 ` Itaru Kitayama
2016-07-01 9:20 ` Marc Zyngier [this message]
2016-07-09 0:27 ` Itaru Kitayama
2016-07-09 0:34 ` Itaru Kitayama
2016-07-09 10:08 ` Marc Zyngier
2016-07-09 10:32 ` Itaru Kitayama
2016-07-09 20:09 ` Marc Zyngier
2016-07-10 6:49 ` Itaru Kitayama
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=577635EE.1010002@arm.com \
--to=marc.zyngier@arm.com \
--cc=itaru.kitayama@riken.jp \
--cc=kvmarm@lists.cs.columbia.edu \
/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