Received: from eggs.gnu.org ([2001:4830:134:3::10]:48084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOB8L-0000yL-FW for qemu-devel@nongnu.org; Wed, 18 Feb 2015 15:22:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOB8I-0001p4-7R for qemu-devel@nongnu.org; Wed, 18 Feb 2015 15:22:09 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:49752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOB8H-0001og-Um for qemu-devel@nongnu.org; Wed, 18 Feb 2015 15:22:06 -0500 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Feb 2015 20:22:03 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id E326017D8042 for ; Wed, 18 Feb 2015 20:22:15 +0000 (GMT) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1IKM2pd9175334 for ; Wed, 18 Feb 2015 20:22:02 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1IKM1U8002505 for ; Wed, 18 Feb 2015 13:22:01 -0700 From: Christian Borntraeger Date: Wed, 18 Feb 2015 21:21:54 +0100 Message-Id: <1424290943-22480-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PULL 00/29] s390x guest reipl and page table handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel , Alexander Graf , Christian Borntraeger , Jens Freimann , Cornelia Huck , Richard Henderson Peter, The following changes since commit cd2d5541271f1934345d8ca42f5fafff1744eee7: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20150212' into staging (2015-02-13 11:44:50 +0000) are available in the git repository at: git://github.com/borntraeger/qemu.git tags/s390x-20150218 for you to fetch changes up to e95d24ff40c77fbfd71396834a2eb99375f8bcc4: s390x/helper: Remove s390_cpu_physical_memory_map (2015-02-18 09:37:15 +0100) ---------------------------------------------------------------- Features for s390x/kvm 1. guest reIPL changes (Fan Zhang) Implements subcode 5 and 6 of diag 0x308. This allows to use /sys/firmware/[re]ipl/ccw/* and the chreipl and lsreipl tools in Linux. In addition to the normal "change the disk" this also allows to switch from booting an external kernel into rebooting from a disk. 2. Memory page table walking (Thomas Huth) Fix several page table walking functions, used in several places like gdb server and instruction handling. Also use these functions in several I/O related functions. ---------------------------------------------------------------- Fan Zhang (4): s390x/ipl: always load the bios for ccw machine s390x/ipl: support diagnose 308 subcodes 5 and 6 s390x/ipl: drop reipl parameters on resets s390x/ipl: make s390x ipl device aware of migration 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/ipl.c | 233 ++++++++++++++++------ hw/s390x/ipl.h | 25 +++ hw/s390x/s390-pci-inst.c | 37 +++- hw/s390x/s390-virtio-ccw.c | 2 +- hw/s390x/s390-virtio.c | 8 +- hw/s390x/s390-virtio.h | 3 +- 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 | 24 ++- target-s390x/mem_helper.c | 12 +- target-s390x/misc_helper.c | 33 +++- target-s390x/mmu_helper.c | 472 +++++++++++++++++++++++++++++++++++++++++++++ 16 files changed, 921 insertions(+), 554 deletions(-) create mode 100644 hw/s390x/ipl.h create mode 100644 target-s390x/mmu_helper.c