From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] arm64: KVM: High memory guest fixes
Date: Tue, 10 Mar 2015 19:06:58 +0000 [thread overview]
Message-ID: <1426014421-5579-1-git-send-email-marc.zyngier@arm.com> (raw)
I've been playing with a hacked-up kvmtool that places the memory much
higher than usual, in an effort to emulate what some arm64 platforms
do (typically AMD Seattle).
Unexpectedly (hey, what could possibly go wrong...), I've discovered a
couple of mm related issues, ranging from the host exploding to the
guest being stuck on a page fault. Additionally, I noticed a minor
documentation issue.
With these fixes in, I'm able to run a guest that has its memory
located just under the 40bit limit.
* From v1 [1]:
- Reworked patch #1 to use split_page() instead. This leads to much
refactoring, but is slightly nicer (more common code).
- Dropped Mark's Tested-by (too many changes)
[1]: https://lists.cs.columbia.edu/pipermail/kvmarm/2015-February/013672.html
Marc Zyngier (3):
arm64: KVM: Fix stage-2 PGD allocation to have per-page refcounting
arm64: KVM: Do not use pgd_index to index stage-2 pgd
arm64: KVM: Fix outdated comment about VTCR_EL2.PS
arch/arm/include/asm/kvm_mmu.h | 12 ++----
arch/arm/kvm/mmu.c | 85 ++++++++++++++++++++++++++++++----------
arch/arm64/include/asm/kvm_arm.h | 5 ++-
arch/arm64/include/asm/kvm_mmu.h | 48 +++--------------------
4 files changed, 77 insertions(+), 73 deletions(-)
--
2.1.4
next reply other threads:[~2015-03-10 19:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 19:06 Marc Zyngier [this message]
2015-03-10 19:06 ` [PATCH v2 1/3] arm64: KVM: Fix stage-2 PGD allocation to have per-page refcounting Marc Zyngier
2015-03-11 12:16 ` Christoffer Dall
2015-03-11 13:13 ` Marc Zyngier
2015-03-11 13:20 ` Christoffer Dall
2015-03-11 13:56 ` Marc Zyngier
2015-03-11 14:03 ` Andrew Jones
2015-03-11 14:25 ` Christoffer Dall
2015-03-10 19:07 ` [PATCH v2 2/3] arm64: KVM: Do not use pgd_index to index stage-2 pgd Marc Zyngier
2015-03-10 19:07 ` [PATCH v2 3/3] arm64: KVM: Fix outdated comment about VTCR_EL2.PS Marc Zyngier
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=1426014421-5579-1-git-send-email-marc.zyngier@arm.com \
--to=marc.zyngier@arm.com \
--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).