From patchwork Tue Jan 30 04:46:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 126204 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3029605ljd; Mon, 29 Jan 2018 20:48:17 -0800 (PST) X-Google-Smtp-Source: AH8x227VDO8YJ2zonlmJBv/5V7nLrUMWEap2ZrlIglRAYtTciWVZGEAOan2VQKiMa7vU/ThhUFXI X-Received: by 10.129.112.69 with SMTP id l66mr18901216ywc.322.1517287697061; Mon, 29 Jan 2018 20:48:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517287697; cv=none; d=google.com; s=arc-20160816; b=nMVdnsWTdbm1zWVAcBaVoEqde5+glFULcxqAkglZGybOEzAls4ialNfWD2Y02fU4jH 5Jqhp77nbwm+iGGNDsAY43P4h3/oGPxtcYthpo8g0tT5ys3AAVKpt1lOZbQktN1CQ2Bd 0XaEsEMHowEZwDspKtZb4arC1yBInVeo8FTKTTYQvg1cuLEE78nDFagnPLoNQEr3gWvW qp0xUq4zPgWTldOjTG+b8GtmREh0+d3oUiU70ZJipg9WTxK3fd2oDL5ybNThLM3R2XLa hPZGNnmwxUARTRxdlDyiC3fEOv11ZpjrPx04OLqzNhJh33sfe2qTdLBhHGg6N4rExCSm oSGA== 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=UBWaKpJCmbFIm6VP2qkJ68snvnrVSualnm891kN0y10=; b=E1/p8QjgBt/01pG+Hc1aYlofnd3vc5Nq17sm+nfC5QqoY8+jIzpvsdAGekI1ZqJnjt hsST1NFCd3Z6R/cQ/ufuhAQ8QbHTUCXKjUWyTlc/dWc4jG1/s4cNoODRTHX4dHivhu0M x4qX9w2DlU0JCNCVPqzPnmigITCLbB0/F/oVmGF4WpHciAK4mbMZ7NWvyU070OSNMjTt ede3vDseGG/1+ODEF50yz4nYEAOKNB3Yyd54kkmJfc4nwPT6AmtQ7IxGdlAW9g0BHS5N SJHwwR1o5QWWX/wRwqBtd8aSPutbGPQ77nwecAeU2BEP8G64vV5DzmgMz9eokCBihlmr xhMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SKuj8uav; 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 p71si2388424ywg.698.2018.01.29.20.48.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 29 Jan 2018 20:48:17 -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=SKuj8uav; 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]:37858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egNqC-00056e-GV for patch@linaro.org; Mon, 29 Jan 2018 23:48:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egNoW-0004FT-3h for qemu-devel@nongnu.org; Mon, 29 Jan 2018 23:46:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egNoR-00029d-33 for qemu-devel@nongnu.org; Mon, 29 Jan 2018 23:46:31 -0500 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:42028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egNoQ-000297-Qk for qemu-devel@nongnu.org; Mon, 29 Jan 2018 23:46:27 -0500 Received: by mail-pf0-x22e.google.com with SMTP id b25so7639766pfd.9 for ; Mon, 29 Jan 2018 20:46:26 -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=UBWaKpJCmbFIm6VP2qkJ68snvnrVSualnm891kN0y10=; b=SKuj8uavg+vYDgpQwueql8J/EQiLzkiJGj9UFG4T09khCl50s0PlgIShI2GTs9hoVu 883sg+lzIsrxrg5ulKl6elrq51dy9DHz4li14tCP/09p5D5w8Sm/CuSTTgqcqiHJkF7R cQxXqtct2YUR4z4nB5yzwh8cWxcAaGPldMY7c= 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=UBWaKpJCmbFIm6VP2qkJ68snvnrVSualnm891kN0y10=; b=c7nWoCfMvPR0aQ6e/ofIw6W+7HM9wyZvmb2NQ20Lmm60YL80TY2e1G25Q8OJOTz2Ha lwWQKqavClyNQNwwKiRM1hgSN6EugoVqQGVa0yf3GBk+MWNl3psm56hoRkjDqKHgEsPY nhIp/9nmkt6wFlTDuuIQCFdzNKraBIJviUgWkGWTAx7sKjQIgmGiQl4GVfiPYaqJw+L2 P03xA0EPOjaWObyMhw9o847x/ztPtl5c58YsOKt1kx6Y//RPDXjmOMlsI30X7irQRPCe kF9AL/hvdqdg4soE9+Xr+KfTC4uJzFLVM3nxSZ12nBPtw6Fiv0Bw49PAc78ntonhG1MR 7vaQ== X-Gm-Message-State: AKwxytcbaAilVIVmDJgHkc8Vf7Uu9ttYvuq7Pk9sgocD3mdcFp/w1wNz soYZ/Z8BhoUEFNFZSQhxaTwW+yTZDN0= X-Received: by 2002:a17:902:b785:: with SMTP id e5-v6mr14823427pls.317.1517287584846; Mon, 29 Jan 2018 20:46:24 -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 p4sm19702153pgn.81.2018.01.29.20.46.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 20:46:23 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 29 Jan 2018 20:46:20 -0800 Message-Id: <20180130044621.10464-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::22e Subject: [Qemu-devel] [PULL v5 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 v4: * Fix format warnings for 32-bit host. r~ The following changes since commit 30d9fefe1aca1e92c785214aa9201fd7c2287d56: Merge remote-tracking branch 'remotes/kraxel/tags/input-20180129-v2-pull-request' into staging (2018-01-29 15:52:27 +0000) are available in the Git repository at: git://github.com/rth7680/qemu.git tags/pull-hppa-20180129 for you to fetch changes up to 8d077702ca076c0264e111b95c2c211e5ab9a314: target/hppa: Implement PROBE for system mode (2018-01-29 20:40:01 -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 | 283 +++++ 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, 4062 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