From patchwork Thu May 23 14:00:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 165000 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2227437ili; Thu, 23 May 2019 07:01:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCTQAZzCcED4P8AKU5lsNPwm9q+NiNTaGljDFUVsSc9AfJ18cKFPyQYP2XlvP18ZOkixRm X-Received: by 2002:aa7:db05:: with SMTP id t5mr95338514eds.217.1558620090623; Thu, 23 May 2019 07:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558620090; cv=none; d=google.com; s=arc-20160816; b=PEc0XEjqSQdYw0YE54XHV4tYQeZG77GkZvow8SevrOzmSNycvzrKFyTRed43ENFk4w oy/1DhPmdkP9tSGZDmB7NHizq5PWJNN2mvjkLbjJkf6O42g4aLgp7moTk8l5wqqA5zkk eG+UOyMYkz9TtHsD+qP2rqXJVF2PhD752gmkAanvpwF5ClCUpv95roi4bDNEN7d1o1yc GgwN0T3mezEoldItT13t0nRABtqxE8ar+cEG+WXNidnf0o5vcfb0L1EQiVBkM9J7jKJZ 0zTva7MUA+6VMPv0Aa7xLm/PYMlCXIpavGGoG+sc7UyH2l6hWCWakGywOke08frrioeb ViuA== 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; bh=qb/2f8PjB1t01PVAR8gw5To3IKGJv/4oVS1AthmA/gc=; b=ROoaf7Ry6SzTJkSwnTL71wrpds25ikaG1px9M+zvIzZfrFuB6XVJKbeRhZWn30IXt1 j5rEyxqVcKCy9G2a3+2LPDvwrPbqk8Ebr4T/nV2gKtR0aR2cqpZWCkmasYDBw38za3WM iPLc9pftAK0rfA4423C8lcNpkt1vj9+cYLEmsZRHfZqDvw/F1FdOyacKX5CbWUx1obMJ GhcoMQrEoQHDu915+BXcqhvj/Rf0X5es0Y8DbKnMxy6C5gRoycmv+m9MRJpaPTFD6+9X 4vJaOLDoHBW9oLMKoSn9IhIpi72lAyhWV5JW/YHDgU4wfmrXsjxougVsYJkgouPoHosH AsiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qAIf6BFv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id gk7si8770370ejb.11.2019.05.23.07.01.30 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 23 May 2019 07:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qAIf6BFv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:36955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hToHh-00068r-Ea for patch@linaro.org; Thu, 23 May 2019 10:01:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hToHM-000670-QF for qemu-devel@nongnu.org; Thu, 23 May 2019 10:01:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hToHJ-0004KW-OC for qemu-devel@nongnu.org; Thu, 23 May 2019 10:01:07 -0400 Received: from mail-ua1-x92f.google.com ([2607:f8b0:4864:20::92f]:33039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hToHI-0004Iu-2d for qemu-devel@nongnu.org; Thu, 23 May 2019 10:01:05 -0400 Received: by mail-ua1-x92f.google.com with SMTP id 49so2222026uas.0 for ; Thu, 23 May 2019 07:01:03 -0700 (PDT) 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=qb/2f8PjB1t01PVAR8gw5To3IKGJv/4oVS1AthmA/gc=; b=qAIf6BFv/tAWWEVHwTVAoNr6KZbRqWZ0wbe5EmDuhOTsVu5j4WM4EPjZx1ZySHWom7 Nqgk6rIMMmMaL66u3Okn8YSkzpwJP6nLxmZfFknkovz3SjgUTCzkRp/5b0bl4mX38nvP gcR4OYyQoV/7VP2OoulRZvhjBrGjjsu31IP8fbfhntF7+gcTw1D0MhRW1mjNeZmf85TF IsSP5oFSp18V87SKJv1ti0FaW/abecISlNHR0/vye5J5lPq+qTMXvwIppZX7LZffVNR7 DwkEhdddILKbWyJNQJ7A8WWdJnau5jujBCHpi3/jaxItTtDlbUk7Aynqj+HFxlOaRKs+ CnRA== 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=qb/2f8PjB1t01PVAR8gw5To3IKGJv/4oVS1AthmA/gc=; b=V1UkvB0LwfOf4qw2lRPLD2qmhPlOCdKb3F+8hBUQYiw3rP7s3MTjqgUjQI69aCgP+Y XVfOYSp3Eef32kfJis80kO3ntj/SHgTB5EUhoAwUQuPcFDWxYFhQnFemSDTZy44SAa2U CXDl0/Z0vSI/wOjMxAMIGCwsrcbja2AIUvJqFxUE+rR8AN2jh20/WuDxDPgBBAwxh6/Z oxEd9qTk1Gs75IPqv61BP5jghrq4DMdKq2Of93vOFF/rDF+hr3l5Fun2PNDUMSsLBZtk SPbSFhJl6wHUHd6cGnfSTV8mxtbCMzd2ytNKtzmXCx5eApR/vtC+X6Mp8F19OQquaITl Q6cw== X-Gm-Message-State: APjAAAXmXdFNkCTcUQ0gc5hVnh+DhMA6jsqG8GB7wDnqKag+jPz+7fZt 5A5YZOuJArax0F6IWZeCD3ZR5eoSOjM= X-Received: by 2002:ab0:20b3:: with SMTP id y19mr47468679ual.74.1558620062390; Thu, 23 May 2019 07:01:02 -0700 (PDT) Received: from localhost.localdomain (ip-173-130-215-183.orldfl.spcsdns.net. [173.130.215.183]) by smtp.gmail.com with ESMTPSA id v133sm1984166vkv.5.2019.05.23.07.01.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 07:01:01 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 23 May 2019 10:00:46 -0400 Message-Id: <20190523140059.18548-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::92f Subject: [Qemu-devel] [PULL 00/13] Add RX architecture 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" Thanks to Sato-san for persevering through 14 iterations. r~ The following changes since commit d418238dca7b4e0b124135827ead3076233052b1: Merge remote-tracking branch 'remotes/rth/tags/pull-rng-20190522' into staging (2019-05-23 12:57:17 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-rx-20190523 for you to fetch changes up to fe7ddbc2dade3daf767c9ac07b8569791b5376a8: MAINTAINERS: Add RX (2019-05-23 09:38:27 -0400) ---------------------------------------------------------------- Initial commit for the RX cpu. ---------------------------------------------------------------- Richard Henderson (1): target/rx: Convert to CPUClass::tlb_fill Yoshinori Sato (12): target/rx: TCG translation target/rx: TCG helper target/rx: CPU definition target/rx: RX disassembler hw/intc: RX62N interrupt controller (ICUa) hw/timer: RX62N internal timer modules hw/char: RX62N serial communication interface (SCI) hw/rx: RX Target hardware definition qemu/bitops.h: Add extract8 and extract16 hw/registerfields.h: Add 8bit and 16bit register macros Add rx-softmmu MAINTAINERS: Add RX include/disas/dis-asm.h | 5 + include/hw/char/renesas_sci.h | 45 + include/hw/intc/rx_icu.h | 56 + include/hw/registerfields.h | 32 +- include/hw/rx/rx.h | 7 + include/hw/rx/rx62n.h | 94 ++ include/hw/timer/renesas_cmt.h | 38 + include/hw/timer/renesas_tmr.h | 53 + include/qemu/bitops.h | 38 + include/sysemu/arch_init.h | 1 + target/rx/cpu.h | 227 ++++ target/rx/helper.h | 31 + arch_init.c | 2 + hw/char/renesas_sci.c | 340 ++++++ hw/intc/rx_icu.c | 376 +++++++ hw/rx/rx-virt.c | 105 ++ hw/rx/rx62n.c | 238 ++++ hw/timer/renesas_cmt.c | 275 +++++ hw/timer/renesas_tmr.c | 455 ++++++++ target/rx/cpu.c | 236 ++++ target/rx/disas.c | 1480 ++++++++++++++++++++++++ target/rx/gdbstub.c | 112 ++ target/rx/helper.c | 148 +++ target/rx/monitor.c | 38 + target/rx/op_helper.c | 470 ++++++++ target/rx/translate.c | 2432 ++++++++++++++++++++++++++++++++++++++++ MAINTAINERS | 19 + configure | 8 + default-configs/rx-softmmu.mak | 3 + hw/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/Makefile.objs | 1 + hw/intc/Kconfig | 3 + hw/intc/Makefile.objs | 1 + hw/rx/Kconfig | 14 + hw/rx/Makefile.objs | 2 + hw/timer/Kconfig | 6 + hw/timer/Makefile.objs | 3 + target/rx/Makefile.objs | 12 + target/rx/insns.decode | 621 ++++++++++ 40 files changed, 8030 insertions(+), 1 deletion(-) create mode 100644 include/hw/char/renesas_sci.h create mode 100644 include/hw/intc/rx_icu.h create mode 100644 include/hw/rx/rx.h create mode 100644 include/hw/rx/rx62n.h create mode 100644 include/hw/timer/renesas_cmt.h create mode 100644 include/hw/timer/renesas_tmr.h create mode 100644 target/rx/cpu.h create mode 100644 target/rx/helper.h create mode 100644 hw/char/renesas_sci.c create mode 100644 hw/intc/rx_icu.c create mode 100644 hw/rx/rx-virt.c create mode 100644 hw/rx/rx62n.c create mode 100644 hw/timer/renesas_cmt.c create mode 100644 hw/timer/renesas_tmr.c create mode 100644 target/rx/cpu.c create mode 100644 target/rx/disas.c create mode 100644 target/rx/gdbstub.c create mode 100644 target/rx/helper.c create mode 100644 target/rx/monitor.c create mode 100644 target/rx/op_helper.c create mode 100644 target/rx/translate.c create mode 100644 default-configs/rx-softmmu.mak create mode 100644 hw/rx/Kconfig create mode 100644 hw/rx/Makefile.objs create mode 100644 target/rx/Makefile.objs create mode 100644 target/rx/insns.decode