From patchwork Mon Jan 22 03:41:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125293 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp943514ljf; Sun, 21 Jan 2018 19:45:48 -0800 (PST) X-Google-Smtp-Source: AH8x2271tQ4kWC9t88inVe58LY6C6M0PzkpHnrAbOPyV74DZ4Ad4xxzAPSBZxyN7mKy3mvks9GaE X-Received: by 10.129.119.131 with SMTP id s125mr5948183ywc.166.1516592748621; Sun, 21 Jan 2018 19:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516592748; cv=none; d=google.com; s=arc-20160816; b=YQjsgAuPCKCC/WC2qyQrfp+A5TJxdBzE7ObfnRiPMdUjbm4Vhl4EuAG5Ap+UaMXGtf 4KiRpkkrTCNn2EZYbhZZH4zVcd4TUJ5bWbhn9vLU2hrl9wn6/1nBF9g8FiszcSG7Onax HAcp5ONEYrjhw8rgpunsSsvMMo0g3ccQ7c+g4RKO6W5HYrWku/0pkQLnRMYl+NO/6FKb VjoZIxNhmydzqlYO8dN7A1SWe17k0fdfPtGBlEksz8JWF/Hx2U4jzEc3k+PY2NMzbWsy 6Et1zvgFphYnakQI3r5LfGwBr1Zz8fxWD8HnTQuIsRPbhH5cZ2npGwJvpxidDGrzzdH7 W4Tw== 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 :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=HuLl1GukG3h4eaJ79AfGKLol5zR4BzAN0WLlPvpUo0U=; b=j6qU19V96pVrFXeO3fVNdkwB0CJ94WaKpc24/Yd3RSdBQWKt+yBvH8+8PQlk+vtWGp Y7aBnKl9GL89/vCt81K+XDTh/RTCjvbU9Ce3CQ5S7XQgKlSdRDKEVzroB6avbHg+6EPq TysaTqVlyvPrkGcK5YiiayahZHqHDmKT5uw58fD+nj85lVqV8xNIobyr1NYiWgz7bTDJ mebci6mFn7/nAq+CZmjO2j/IH+36UwwdCdjgPKQctVo3hLNiBpmWYufku4gl2eXWFwUe uJTi1dZH2GKLmOsncGE5Ui3zeeAYmnmiDsxiw1qS+LeZruZbqdNjts3evaFL5eJ4QAVH Go7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EPbfWCe2; 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 k187si3392728ywf.398.2018.01.21.19.45.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jan 2018 19:45:48 -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=EPbfWCe2; 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]:41643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edT3L-0006go-To for patch@linaro.org; Sun, 21 Jan 2018 22:45:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edT06-0005Fd-J5 for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:42:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edT02-0005yy-7i for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:42:26 -0500 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]:35149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edT01-0005yb-VH for qemu-devel@nongnu.org; Sun, 21 Jan 2018 22:42:22 -0500 Received: by mail-pg0-x22f.google.com with SMTP id o13so953376pgs.2 for ; Sun, 21 Jan 2018 19:42:21 -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:mime-version :content-transfer-encoding; bh=HuLl1GukG3h4eaJ79AfGKLol5zR4BzAN0WLlPvpUo0U=; b=EPbfWCe2+Sf1kpj3koUzj9zYP1bmCZV3tE7av7Kg8ht31w8Jy7JZdvjveCnKd1NkSz NWGgaTf1LiweVz1WRTqmBLJAvaMqxC0trhSQ4crr/y/9UurkfbQ/WJ+BxDV1Id2+Y93w w6nQSqaw96u7G3cy3K4AIsOHHnXxQmilOOFZk= 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:mime-version :content-transfer-encoding; bh=HuLl1GukG3h4eaJ79AfGKLol5zR4BzAN0WLlPvpUo0U=; b=ly8E3rm6n4SC6MBleqmTxPswtAV7H1zcFNG8hDNsOmbHRoUub/XBtGEQfBij/41yUc 6MqXjnm8n4PKApQeiMVYv54kaww/8Z9AM9uNjQFjYiKWJ3BBpMW4IYWKjUsiQj1Axhq9 oPm7XMCVkb4yn6rVGt+6N4rwEsg8Y3N4w7ZCV9ZzLPYLcsAG3leiQpIZVIaENH11tOBC C2WtYW2Ej/+Mj26pgYHUQYIvYXErFwVLK3PJo2mYjEFVA7/Ul4L/tybYUhbJ+TrxaCaJ 2qWsh656dLJ4GoX1foEKsILbg+o63hDHHqO0VOIi1SBsK0mVMmAivxq8puYcy1dZCx5Y AMVg== X-Gm-Message-State: AKwxytf7KLhnyNigWHkOd3MHMjt/nZT5KtYozeied6OgF1tfZtQc1I8B inkIQ9vCE6V9U6zIs8pE3TFbf42+pOU= X-Received: by 10.101.91.3 with SMTP id y3mr6108449pgq.260.1516592539799; Sun, 21 Jan 2018 19:42:19 -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 z125sm182023pfz.27.2018.01.21.19.42.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Jan 2018 19:42:18 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 21 Jan 2018 19:41:34 -0800 Message-Id: <20180122034217.19593-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:c05::22f Subject: [Qemu-devel] [PULL 00/43] Add 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" This has some improvements to the patch set posted on Dec 28. * Change cpu init as requested by Igor Mammedov. * Add SMP support * Add firmware image * Implement qemu-specific pause and system reset insns. r~ The following changes since commit b384cd95eb9c6f73ad84ed1bb0717a26e29cc78f: Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2018-01-19 16:35:25 +0000) are available in the Git repository at: git://github.com/rth7680/qemu.git tags/pull-hppa-20180121 for you to fetch changes up to 350e2a714ac8db559b255f9e8fe91c574f45df53: hw/hppa: Add MAINTAINERS entry (2018-01-21 14:05:03 -0800) ---------------------------------------------------------------- Add 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 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 Makefile | 3 +- Makefile.objs | 1 + hw/hppa/hppa_hardware.h | 65 ++ 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 | 44 +- arch_init.c | 2 + hw/hppa/dino.c | 519 ++++++++++ hw/hppa/machine.c | 282 ++++++ hw/hppa/pci.c | 90 ++ linux-user/main.c | 28 +- linux-user/signal.c | 4 +- target/hppa/cpu.c | 54 +- 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 | 340 +++++++ target/hppa/op_helper.c | 132 ++- target/hppa/translate.c | 2061 ++++++++++++++++++++++++++++---------- .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 +- 32 files changed, 4028 insertions(+), 689 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