qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [RFC NO-MERGE 00/12] target/ppc: Implement POWER9 pseries tcg


From: Suraj Jitindar Singh
Subject: [Qemu-ppc] [RFC NO-MERGE 00/12] target/ppc: Implement POWER9 pseries tcg radix
Date: Fri, 17 Feb 2017 16:08:00 +1100

This patch is very RFC, I'm sending it now to get some visibility however
it should not be merged (except maybe patches 1-4).

This series implements support for the new radix mmu model for a pseries
tcg guest. It will allow you to boot a guest in radix mode using a kernel
with paul's radix guest patches from the linux-ppc-dev mailing list.
(http://www.spinics.net/lists/kvm/msg144444.html)

Description of the patches:

1-4: Generic clean up/adding checks for hash code which are stand alone
     of the radix implementation support added below
5-12: Support for the new radix mmu and associated H-CALLS, registers,
      instructions and CAS.

Suraj Jitindar Singh (12):
  target/ppc: Add Instruction Authority Mask Register Check
  target/ppc: Add execute permission checking to access authority check
  target/ppc: Move no-execute and guarded page checking into new
    function
  target/ppc: Rework hash mmu page fault code and add defines for
    clarity
  target/ppc: Add ibm,processor-radix-AP-encodings to cpu device tree
    node
  target/ppc: Add new H-CALL shells for in memory table translation
  target/ppc: Implement H_REGISTER_PROCESS_TABLE H_CALL for tcg guests
  target/ppc: Add POWER9/ISAv3.00 to compat_table
  target/ppc: Flush TLB on write to PIDR
  target/ppc: Adapt tlbie[l] for ISAv3.00 Support
  target/ppc: Implement ISA V3.00 radix page fault handler
  target/ppc: Set ISA 3.00 radix and hash bits in OV5

 hw/ppc/spapr.c              |  25 +++-
 hw/ppc/spapr_hcall.c        |  89 ++++++++++++++
 include/hw/ppc/spapr.h      |   3 +
 include/hw/ppc/spapr_ovec.h |   3 +
 target/ppc/Makefile.objs    |   2 +-
 target/ppc/compat.c         |  16 ++-
 target/ppc/cpu-qom.h        |   1 +
 target/ppc/cpu.h            |   1 +
 target/ppc/helper.h         |   1 +
 target/ppc/misc_helper.c    |   8 ++
 target/ppc/mmu-hash64.c     |  95 ++++++++++-----
 target/ppc/mmu-radix64.c    | 279 ++++++++++++++++++++++++++++++++++++++++++++
 target/ppc/mmu-radix64.h    |  69 +++++++++++
 target/ppc/mmu.h            |  22 ++++
 target/ppc/mmu_helper.c     |   5 +-
 target/ppc/translate.c      |   4 +-
 target/ppc/translate_init.c |  28 ++++-
 17 files changed, 613 insertions(+), 38 deletions(-)
 create mode 100644 target/ppc/mmu-radix64.c
 create mode 100644 target/ppc/mmu-radix64.h

-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]