From patchwork Sun Jan 28 23:14:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 126092 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp1975929ljd; Sun, 28 Jan 2018 15:19:08 -0800 (PST) X-Google-Smtp-Source: AH8x226xTOz4QTy660LpeWpOcsu28KkxDH0KI7Luf+ky+BSZfvc6Qe1Cl0YWZfOZVIrlCC0J2XiO X-Received: by 10.129.123.2 with SMTP id w2mr15424960ywc.353.1517181548608; Sun, 28 Jan 2018 15:19:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517181548; cv=none; d=google.com; s=arc-20160816; b=X3z4XBTbeh7Myd5lm+DH9oETpKypjADutDl5bFjad1U5od11DSJnPg+MdGYiNuuWYb SWK/Q81w3A9nWGeet0kI7IhOdMGvfHNyeqK+ktaQtiMxDugBoIqauwYY5HLDIHW50j4K svM5WjOJ4Mqpv59+14tXX5RtNvdnIebHCnWavpZVN5N3juT9YYVhbd3f7/Ukpzcwkdk1 TY2EJqWcUrODB+Z0qtUeY9lFSRGunKZmUids8pZTnj++4XRlUhb/rX7xFESKiJrjqa8v 6Yqm6AwPoiV1lX74PX4z0gAZIRajUagkAOtHVvIS6jGXoA0nqQbgpDmn86d2MzIO5zKj A8Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=EZ/r3yHDREj86aeGhXpQ84V0x2DaCkFMShRZSB6pRY4=; b=OGlzyMDrll52TXfcpvotJf+ARYfI/lEUsCWWouraeArjRrKdBo7COwjzIY6vYSRwlx FZlBYcm+r4pliKVDXs8m/glMocoBGHPrVmWaxVn75qi27dZWzkblpTIxc98VJ4CtmSON IDlbQup6cYpN4e8E5BNzgLyQ+9RWU6LyMJG6Uq2jeOPKo6JIJkC6XQ7gDvxGvSVmB3y1 3n1+h2zsoq3ko8XIoDnm4bgwlp+LQ87u7yydBh+vbTNq1WBCeZYohMZscpBH8hJ1JJXQ Woc1qWF7oC3Y8cnwrf/HdHxWRJN7Pl+FnMCqEYizIqc3Paqsx3KdSTu6vUOb3oLy/6/X q3eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=S/9LylmV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t188si1846792ywb.129.2018.01.28.15.19.08 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 28 Jan 2018 15:19:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=S/9LylmV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efwE7-0003sM-VO for patch@linaro.org; Sun, 28 Jan 2018 18:19:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efwAj-0002TH-QC for qemu-devel@nongnu.org; Sun, 28 Jan 2018 18:15:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efwAf-00083w-GC for qemu-devel@nongnu.org; Sun, 28 Jan 2018 18:15:37 -0500 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:38496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efwAf-00083G-76 for qemu-devel@nongnu.org; Sun, 28 Jan 2018 18:15:33 -0500 Received: by mail-pf0-x232.google.com with SMTP id k19so3260497pfj.5 for ; Sun, 28 Jan 2018 15:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=EZ/r3yHDREj86aeGhXpQ84V0x2DaCkFMShRZSB6pRY4=; b=S/9LylmVcV+hKYHYT1//8XwD6C8gSfs2tHqvNto9rQacHYKTSein22D/MYqet5FQg6 rMXMnafWlCI1w7xxXSpxEMnNLpzVJhshjM4JveVP3EH2Uce/PqcaCv2VwXYhwJDVN5KZ KziZjZBNUUhhr+UAK4Kbo65uS4eOkp+wtNXcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EZ/r3yHDREj86aeGhXpQ84V0x2DaCkFMShRZSB6pRY4=; b=oOBT6Ha8z8d3uP37ri6mwZAUYGjoSSYqoQhEjVJatt3pdqxBAaoKLXFB2g06FJmQ1Y uWNB+wwloLHRViu2vr9rmn6regCzclmrUgnKor7VmYlzeYKKyixOAXZv1yQiUZZRTLlY MqJe8SNy5yjE8gjt/pimINicsvnrxVOcL2J8saTbBFUcJ+P4T+Q6cfJ4ghcEp7x6BTVt tCYu+rxhwvJwJs6sNFyR0Hodly/l7mpNFqZ6iPJIDWtATIaYT92Isl58L+b//RHZXSU5 YNPLyf+IsxrwsEWGLWfseh+P3CztRkIHwGvfVFdCKRGw0aJtNd3EpUyE8g6FjXMHzLsF rt5A== X-Gm-Message-State: AKwxytcwqeonvyyDj5hX7v4v8VCW2aHCG3qLOoDdD2mYAM0D+hePL6b8 gRu7/qv0td1styyRLMftr+QR0YcXmJw= X-Received: by 10.99.111.11 with SMTP id k11mr19873795pgc.414.1517181331519; Sun, 28 Jan 2018 15:15:31 -0800 (PST) Received: from cloudburst.twiddle.net (174-21-6-47.tukw.qwest.net. [174.21.6.47]) by smtp.gmail.com with ESMTPSA id r27sm26949344pfj.75.2018.01.28.15.15.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Jan 2018 15:15:30 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 28 Jan 2018 15:14:45 -0800 Message-Id: <20180128231528.22719-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::232 Subject: [Qemu-devel] [PULL v4 00/43] hppa-softmmu X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes since patch v3: * Drop MMU_DEBUG_LOAD, which obviates the sh4 changes. r~ The following changes since commit e607bbee553cfe73072870cef458cfa4e78133e2: Merge remote-tracking branch 'remotes/edgar/tags/edgar/xilinx-next-2018-01-26.for-upstream' into staging (2018-01-26 14:24:25 +0000) are available in the Git repository at: git://github.com/rth7680/qemu.git tags/pull-hppa-20180128 for you to fetch changes up to 129ffd7265832fb748dc04e48dc761bfcd8508d3: target/hppa: Implement PROBE for system mode (2018-01-28 14:15:40 -0800) ---------------------------------------------------------------- Implement hppa-softmmu ---------------------------------------------------------------- Helge Deller (5): target/hppa: Skeleton support for hppa-softmmu target/hppa: Implement halt and reset instructions target/hppa: Fix comment target/hppa: Implement LDSID for system mode hw/hppa: Implement DINO system board Richard Henderson (38): target/hppa: Define the rest of the PSW target/hppa: Disable gateway page emulation for system mode target/hppa: Define hardware exception types target/hppa: Split address size from register size target/hppa: Implement mmu_idx from IA privilege level target/hppa: Implement the system mask instructions target/hppa: Add space registers target/hppa: Add control registers target/hppa: Adjust insn mask for mfctl,w target/hppa: Implement rfi target/hppa: Fill in hppa_cpu_do_interrupt/hppa_cpu_exec_interrupt target/hppa: Implement unaligned access trap target/hppa: Use space registers in data operations target/hppa: Avoid privilege level decrease during branches target/hppa: Implement IASQ target/hppa: Implement tlb_fill target/hppa: Implement external interrupts target/hppa: Implement the interval timer target/hppa: Log unimplemented instructions target/hppa: Implement I*TLBA and I*TLBP insns target/hppa: Implement P*TLB and P*TLBE insns target/hppa: Implement LDWA target/hppa: Implement LPA target/hppa: Implement LCI target/hppa: Implement SYNCDMA insn target/hppa: Optimize for flat addressing space target/hppa: Add system registers to gdbstub target/hppa: Add migration for the cpu target/hppa: Implement B,GATE insn target/hppa: Only use EXCP_DTLB_MISS target/hppa: Increase number of temp regs target/hppa: Implement a pause instruction target/hppa: Implement STWA target/hppa: Enable MTTCG pc-bios: Add hppa-firmware.img and git submodule hw/hppa: Add MAINTAINERS entry target/hppa: Fix 32-bit operand masks for 0E FCVT target/hppa: Implement PROBE for system mode Makefile | 3 +- Makefile.objs | 1 + hw/hppa/hppa_hardware.h | 40 + hw/hppa/hppa_sys.h | 24 + include/sysemu/arch_init.h | 1 + linux-user/hppa/target_cpu.h | 2 +- target/hppa/cpu.h | 284 ++++- target/hppa/helper.h | 43 +- arch_init.c | 2 + hw/hppa/dino.c | 518 ++++++++++ hw/hppa/machine.c | 282 +++++ hw/hppa/pci.c | 90 ++ linux-user/main.c | 28 +- linux-user/signal.c | 4 +- target/hppa/cpu.c | 56 +- target/hppa/gdbstub.c | 187 +++- target/hppa/helper.c | 120 +-- target/hppa/int_helper.c | 263 +++++ target/hppa/machine.c | 181 ++++ target/hppa/mem_helper.c | 348 +++++++ target/hppa/op_helper.c | 152 ++- target/hppa/translate.c | 2108 ++++++++++++++++++++++++++++---------- .gitmodules | 3 + MAINTAINERS | 1 + configure | 1 + default-configs/hppa-softmmu.mak | 14 + hw/hppa/Makefile.objs | 1 + hw/hppa/trace-events | 4 + pc-bios/hppa-firmware.img | Bin 0 -> 461352 bytes roms/seabios-hppa | 1 + target/hppa/Makefile.objs | 4 +- 31 files changed, 4061 insertions(+), 705 deletions(-) create mode 100644 hw/hppa/hppa_hardware.h create mode 100644 hw/hppa/hppa_sys.h create mode 100644 hw/hppa/dino.c create mode 100644 hw/hppa/machine.c create mode 100644 hw/hppa/pci.c create mode 100644 target/hppa/int_helper.c create mode 100644 target/hppa/machine.c create mode 100644 target/hppa/mem_helper.c create mode 100644 default-configs/hppa-softmmu.mak create mode 100644 hw/hppa/Makefile.objs create mode 100644 hw/hppa/trace-events create mode 100755 pc-bios/hppa-firmware.img create mode 160000 roms/seabios-hppa