From: "Cédric Le Goater" <clg@kaod.org>
To: qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
David Gibson <david@gibson.dropbear.id.au>
Cc: "Suraj Jitindar Singh" <sjitindarsingh@gmail.com>,
"Cédric Le Goater" <clg@kaod.org>
Subject: [Qemu-devel] [PATCH v3 0/4] target/ppc: add hash MMU support for the POWER9 PowerNV machine
Date: Thu, 15 Mar 2018 13:33:58 +0000 [thread overview]
Message-ID: <20180315133402.13470-1-clg@kaod.org> (raw)
Hello,
This adds support for the Hash Page Table MMU mode on POWER9 PowerNV
machines. The Radix Tree mode support for the host is still to be done
but we are getting close.
Thanks,
C.
Changes since v2:
- extended PPCVirtualHypervisor interface to export the external HPT
- added an assert on MMU model in ppc_store_ptcr()
- reworked ppc_hash64_hpt_reg() to cover only powernv machines. pseries
machines being handled with cpu->vhyp at the ppc_hash64_hpt_base()
level.
- reworked ppc64_v3_radix() to distinguish pseries machine from
powernv machines
Changes since v1:
- introduced ppc64_v3_get_patbe0()
- renamed ppc64_radix() in ppc64_v3_radix()
- renamed partition table definitions to match ISA
- moved definitions under mmu-book3s-v3.h
Cédric Le Goater (4):
target/ppc: export external HPT via virtual hypervisor
target/ppc: add basic support for PTCR on POWER9
target/ppc: add hash MMU support on POWER9 for PowerNV only
target/ppc: generalize check on radix when in HV mode
hw/ppc/spapr.c | 8 +++++++
hw/ppc/spapr_hcall.c | 5 +++--
target/ppc/cpu.h | 3 +++
target/ppc/helper.h | 1 +
target/ppc/misc_helper.c | 12 +++++++++++
target/ppc/mmu-book3s-v3.c | 23 ++++++++++++++++++--
target/ppc/mmu-book3s-v3.h | 15 ++++++++++++-
target/ppc/mmu-hash64.c | 52 +++++++++++++++++++++++++++++++++++++--------
target/ppc/mmu-hash64.h | 39 ++++++++++++++++++++++++++++++++--
target/ppc/mmu_helper.c | 33 ++++++++++++++++++++++++++--
target/ppc/translate.c | 3 +++
target/ppc/translate_init.c | 18 ++++++++++++++++
12 files changed, 194 insertions(+), 18 deletions(-)
--
2.13.6
next reply other threads:[~2018-03-15 13:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 13:33 Cédric Le Goater [this message]
2018-03-15 13:33 ` [Qemu-devel] [PATCH v3 1/4] target/ppc: export external HPT via virtual hypervisor Cédric Le Goater
2018-03-17 4:15 ` David Gibson
2018-03-17 8:55 ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2018-03-21 3:17 ` David Gibson
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 2/4] target/ppc: add basic support for PTCR on POWER9 Cédric Le Goater
2018-03-21 3:19 ` David Gibson
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 3/4] target/ppc: add hash MMU support on POWER9 for PowerNV only Cédric Le Goater
2018-03-23 8:24 ` David Gibson
2018-03-23 8:54 ` Cédric Le Goater
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 4/4] target/ppc: generalize check on radix when in HV mode Cédric Le Goater
2018-04-05 4:37 ` David Gibson
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=20180315133402.13470-1-clg@kaod.org \
--to=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=sjitindarsingh@gmail.com \
/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).