Skip to content

s390x: rework guest memory access

Jens Freimann qemu-devel 1 version Applied

Status from this message: Applied to s390-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/25s390x/mmu: Move mmu_translate() and friends to separate filetarget-s390x/Makefile.objs target-s390x/cpu.h target-s390x/helper.c +1 more+359 -3231 reply
2/25s390x/mmu: Fix the check for the real-space designation bittarget-s390x/mmu_helper.c+6 -70 replies
3/25s390x/mmu: Fix the handling of the table levelstarget-s390x/mmu_helper.c+47 -680 replies
4/25s390x/mmu: Check table length and offset fieldstarget-s390x/cpu.h target-s390x/mmu_helper.c+30 -00 replies
5/25s390x/mmu: Skip exceptions properly when translating addresses for debugtarget-s390x/cpu.h target-s390x/helper.c target-s390x/mem_helper.c +1 more+59 -400 replies
6/25s390x/mmu: Fix translation exception code in lowcoretarget-s390x/mmu_helper.c+15 -330 replies
7/25s390x/mmu: Fix exception types when checking the ASCEstarget-s390x/mmu_helper.c+3 -30 replies
8/25s390x/mmu: Fix the exception codes for illegal table entriestarget-s390x/mmu_helper.c+1 -20 replies
9/25s390x/mmu: Add support for read-only regionstarget-s390x/cpu.h target-s390x/mmu_helper.c+5 -30 replies
10/25s390x/mmu: Renaming related to the ASCE confusiontarget-s390x/mmu_helper.c+6 -60 replies
11/25s390x/mmu: Check bit 52 in page table entrytarget-s390x/cpu.h target-s390x/mmu_helper.c+5 -10 replies
12/25s390x/mmu: Clean up mmu_translate_asc()target-s390x/mmu_helper.c+15 -240 replies
13/25s390x/kvm: Add function for injecting pgm access exceptionstarget-s390x/cpu.h target-s390x/kvm.c target-s390x/mmu_helper.c+33 -60 replies
14/25s390x/mmu: Add function for accessing guest memorytarget-s390x/cpu.h target-s390x/mmu_helper.c+113 -00 replies
15/25s390x/css: Make schib parameter of css_do_msch consthw/s390x/css.c target-s390x/cpu.h+2 -20 replies
16/25s390x/ioinst: Rework memory access in MSCH instructiontarget-s390x/ioinst.c+7 -130 replies
17/25s390x/ioinst: Rework memory access in SSCH instructiontarget-s390x/ioinst.c+5 -110 replies
18/25s390x/ioinst: Rework memory access in STSCH instructiontarget-s390x/ioinst.c+22 -140 replies
19/25s390x/ioinst: Set condition code in ioinst_handle_tsch() handlertarget-s390x/ioinst.c target-s390x/ioinst.h target-s390x/kvm.c+7 -120 replies
20/25s390x/ioinst: Rework memory access in TSCH instructionhw/s390x/css.c target-s390x/cpu.h target-s390x/ioinst.c+44 -300 replies
21/25s390x/ioinst: Rework memory access in STCRW instructionhw/s390x/css.c target-s390x/cpu.h target-s390x/ioinst.c+30 -110 replies
22/25s390x/ioinst: Rework memory access in CHSC instructiontarget-s390x/ioinst.c+13 -90 replies
23/25s390x/ioinst: Rework memory access in TPI instructiontarget-s390x/ioinst.c target-s390x/ioinst.h+8 -130 replies
24/25s390x/pci: Rework memory access in zpci instructionhw/s390x/s390-pci-inst.c+28 -90 replies
25/25s390x/helper: Remove s390_cpu_physical_memory_maptarget-s390x/cpu.h target-s390x/helper.c+0 -290 replies

Reviews trailers per patch

21 of 25 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckDavid HildenbrandAlexander Graf
1/25A-b
2/25R-b
3/25
4/25
5/25
6/25R-b R-b
7/25R-b R-b
8/25R-b R-b
9/25R-b R-b
10/25R-b
11/25R-b R-b
12/25R-b R-b
13/25R-b R-b
14/25R-b R-b
15/25A-b R-b
16/25R-b
17/25R-b
18/25R-b
19/25R-b R-b
20/25R-b
21/25R-b R-b
22/25R-b R-b
23/25A-b
24/25
25/25A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/25] s390x: rework guest memory access

Cornelia, Alex, Christian,

this patches are a rework of guest memory access to allow access to guest logical address space.

Frank Blaschka (1):
s390x/pci: Rework memory access in zpci instruction

Thomas Huth (24):
s390x/mmu: Move mmu_translate() and friends to separate file s390x/mmu: Fix the check for the real-space designation bit s390x/mmu: Fix the handling of the table levels s390x/mmu: Check table length and offset fields s390x/mmu: Skip exceptions properly when translating addresses for
debug
s390x/mmu: Fix translation exception code in lowcore s390x/mmu: Fix exception types when checking the ASCEs s390x/mmu: Fix the exception codes for illegal table entries s390x/mmu: Add support for read-only regions
s390x/mmu: Renaming related to the ASCE confusion s390x/mmu: Check bit 52 in page table entry
s390x/mmu: Clean up mmu_translate_asc()
s390x/kvm: Add function for injecting pgm access exceptions s390x/mmu: Add function for accessing guest memory s390x/css: Make schib parameter of css_do_msch const s390x/ioinst: Rework memory access in MSCH instruction s390x/ioinst: Rework memory access in SSCH instruction s390x/ioinst: Rework memory access in STSCH instruction s390x/ioinst: Set condition code in ioinst_handle_tsch() handler s390x/ioinst: Rework memory access in TSCH instruction s390x/ioinst: Rework memory access in STCRW instruction s390x/ioinst: Rework memory access in CHSC instruction s390x/ioinst: Rework memory access in TPI instruction s390x/helper: Remove s390_cpu_physical_memory_map

 hw/s390x/css.c             |  60 ++++--
 hw/s390x/s390-pci-inst.c   |  37 +++-
 target-s390x/Makefile.objs |   2 +-
 target-s390x/cpu.h         |  32 ++-
 target-s390x/helper.c      | 356 +---------------------------------
 target-s390x/ioinst.c      | 172 ++++++++---------
 target-s390x/ioinst.h      |   4 +-
 target-s390x/kvm.c         |  21 +-
 target-s390x/mem_helper.c  |  12 +-
 target-s390x/mmu_helper.c  | 472 +++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 681 insertions(+), 487 deletions(-)
 create mode 100644 target-s390x/mmu_helper.c
Signature · 1 line
2.1.4