From patchwork Wed Jan 24 23:25:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125717 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp731208ljf; Wed, 24 Jan 2018 15:26:59 -0800 (PST) X-Google-Smtp-Source: AH8x224r+CcZwEAOmX8wmAYW7yzwsYE/Q0O34lMsB1GIb/AbO1xDa3Ysxgy7kdSZ5wgNnKXIo9Rs X-Received: by 10.37.89.7 with SMTP id n7mr5369776ybb.387.1516836419626; Wed, 24 Jan 2018 15:26:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516836419; cv=none; d=google.com; s=arc-20160816; b=DH9om7Rh+IchYWZQLoWOVHFMzkl87GAXI6CG5Jwv4U4b0LHpZ5gzBHyk1aWDIGotVb jyhUOjniVRtsLEQk29o5jy23Rr2tp21cNX3SlJM7re2N/PB9I9IDRyLoQJZOA7GgiMcW yoVsqNM/rTWd+NQhGddL5x1mHCBbup68Rb8bT0wotPUEehreQc3sG6t4cfp+AaBG2QRb emK3scPkug9HZmnQk2g29RSYH3yV12MK/hnQ+sNuRBT7twdhXL6ZCKffjOwH33KFufnd DDaFO9icHYJx4ZXKfoS2NOTwIfp64/TzkX8dsKADN39Xuhbc2TJ/VUK4A1S1TDOoR8PV 0lPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=GT5v+cA0Is9BTMReX5byDBApmWE2aU3oqC2FqxREa4M=; b=CMrk2PNxgZCdVvrgUbEEyv0k2uJ6D5FF4v/3rsx/IfKZ/9ULtGm/Y4mIi3OeoulCQb Uw4cTu32lLURcBNPhOJVE2/VLZsqDuz09FLtpCd0wLX3VbyACwvEOEFeIDV9dvpDKZdl OanKyCdisAvAbPbuimaUfxNPSfGQjNhezfVsf0kR3GD3UxGJqafHR4jr7UKKvKqPvtvF 5PA0rThQEj1+/vaEy2NRf9FBjXbCBd5EHKpOhXE1bbMplZxOO84ocWshjH2iybYu5XoZ Pas4UBRjJbZ5G36FOSGUSJZg1pNM6Z4zbhnYhKwz4VdtamNDpKuhzOdeU26zGO7sk0Mt uEww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aaCEC40+; 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 m12si2991801ybk.746.2018.01.24.15.26.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 24 Jan 2018 15:26:59 -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=aaCEC40+; 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]:54447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeURW-0004N4-Td for patch@linaro.org; Wed, 24 Jan 2018 18:26:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeUR8-0004MW-PQ for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:26:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeUR3-0001ZZ-Rz for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:26:34 -0500 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:41678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeUR3-0001Z7-KX for qemu-devel@nongnu.org; Wed, 24 Jan 2018 18:26:29 -0500 Received: by mail-pf0-x22b.google.com with SMTP id c6so4358969pfi.8 for ; Wed, 24 Jan 2018 15:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GT5v+cA0Is9BTMReX5byDBApmWE2aU3oqC2FqxREa4M=; b=aaCEC40+llm0O+Ia8NNFfFNzMWOcGw6FWzSP0KEK9TMn1UR1jz+mSPRliHfdFdBCc7 kddQt+ytWG18ul0bn8uVmj/D6PwovUvubYUeUC92yyuxko/iv8vNjOLK3DMEM/uWcWD9 6oN7Q5zQBCCbYCc49iUbVDngR1IzRUSk6ph50= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GT5v+cA0Is9BTMReX5byDBApmWE2aU3oqC2FqxREa4M=; b=KrqvCzvVLXEq3v18B0ahYiEAISK4PvYeq+0qZ4f57gdFpKxC+MEOg3t+wYxFdVhlgD 8OHvU5I02OkeqH9E/T4BllW7RIj/24hQCCKVo38avlTUViFmQm4fSJu3i/QKvsKk50D0 VPVerjmogQVQXauRVrgwF66/WkGa7x+9cu0RYsHwu+HZpRJvwpWeXZ3CM9MKUVkExQ9f 5LMQY4EoR9f+LCaTpiqEcLpt47E6GAPCeu1ytpxrySliuIIFibK8PZBypaBC2vBHFIIt 5FK6jxSENaSi/a+wjfJEBR0fOpUQDSJ/eiQXxBfOXIxSHCrLdgYS6QEigTISVTCxoBYz Pnzg== X-Gm-Message-State: AKwxytfVDw9JAY1uZIb//ooyr8Us6Zy+ZvYg+rm0m9rrcF2Dkc1RZddl rAvZebH5G+Q0VECNOQT6TzKFWtLRVDU= X-Received: by 10.101.68.66 with SMTP id e2mr10015739pgq.289.1516836388046; Wed, 24 Jan 2018 15:26:28 -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 z19sm9760028pfh.185.2018.01.24.15.26.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jan 2018 15:26:26 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 24 Jan 2018 15:25:40 -0800 Message-Id: <20180124232625.30105-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22b Subject: [Qemu-devel] [PATCH v3 00/45] 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" A third revision. Changes since last: * sh4 build failure fixed (needed clang to see it) * checkpatch whitespace errors fixed. * Still updates to IIR, IOR, ISR when !PSW[Q] * Fix fcnv instruction masks. * Implement probe insn. The middle three points progress in booting hpux-11. Booting Linux still works. r~ 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 (40): 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 qom: Add MMU_DEBUG_LOAD target/hppa: Use MMU_DEBUG_LOAD when reloading for CR[IIR] 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/qom/cpu.h | 3 +- include/sysemu/arch_init.h | 1 + linux-user/hppa/target_cpu.h | 2 +- target/hppa/cpu.h | 282 ++++- 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 | 264 +++++ target/hppa/machine.c | 181 ++++ target/hppa/mem_helper.c | 350 +++++++ target/hppa/op_helper.c | 154 ++- target/hppa/translate.c | 2108 ++++++++++++++++++++++++++++---------- target/sh4/op_helper.c | 2 + .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 +- 33 files changed, 4069 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 -- 2.14.3