From patchwork Sat Mar 23 21:40:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10867293 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1397F922 for ; Sat, 23 Mar 2019 21:41:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAAC7286B6 for ; Sat, 23 Mar 2019 21:41:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEC4829620; Sat, 23 Mar 2019 21:41:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 98366286B6 for ; Sat, 23 Mar 2019 21:41:57 +0000 (UTC) Received: from localhost ([127.0.0.1]:48407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7oOq-0000Nn-9d for patchwork-qemu-devel@patchwork.kernel.org; Sat, 23 Mar 2019 17:41:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7oNw-00089g-4z for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:41:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7oNv-000782-8I for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:41:00 -0400 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:41932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7oNt-000767-VT for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:40:58 -0400 Received: by mail-lf1-x142.google.com with SMTP id 10so3583758lfr.8 for ; Sat, 23 Mar 2019 14:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=OOftbfF2jJ9fxQjhvV4W9uTQNlJHskUkQff6h0lTWGI=; b=upOjjUbRnzAkjVQ9L4+7snb3HTpZ2s+T8Leocf5ETPuSjhhwAC7CC2UK+MNyScrW3f A1JDhZ48L4Q6Cl7/UAGiNmmE5ZVLj/7LQFSjy4iAx+47GDoFWZwMkiIzqWUsqp63Azen OJGGa57KC2KuRfyLGh0zVH+3BKu8EEmynJPqu5QcNdApViv5qciTBNVsCAcBOKRLJUjY HmXKadND+9qERzDHrdoJfGGbi+XYpI9fyE0Rd5rRD/YQu1iV7f0mamLmEn50gUkzJSaO gSdjkUZNcdjnLa1oWeihxfWkbKyVolXf7naQrFy7LQm5k5Mp249gDe7/UUPS1UVZQQ5k 5kdQ== 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=OOftbfF2jJ9fxQjhvV4W9uTQNlJHskUkQff6h0lTWGI=; b=O27plXId9KPnFIRRVNrRdyTVmjiuWZwD/H5g84a7z1pFV5F8cOXkIOTdIAtpM1WLVG zFWZaf7TyNNO7FCHSyApZ4UxBw8rw5fAA8j3zjOrMc+/Q/ooupZywbEA7jKBR9PY10OT h7Bl0NI1RXphc0wPepVS6QYJ3aG8H/1f0tl4PPL97f/YySM2p21FHwRIZ3raC4h66dNE HcLfzOlHzU6AgvMxYA0QsfE2uEBnDXJ1bn448DdRvcVqUaqJaj+4Wevd3mzLpFIOSE48 EhQFFSXIH84z4vV2Krnl/gB+tsmovK0YzamMRR7jv96i1hBi9zQ4jjvfpsL3HsPPwyzK /eDQ== X-Gm-Message-State: APjAAAVNYgQspIkZvRNAw6qd59/RyUUWtcs0vLIU10c7h1/hJXo0Tg62 WVBiRP6w2bY8xfTKRFTzL3Imw4/B X-Google-Smtp-Source: APXvYqwDONwYoHJj72VYEz0U1sY/SleH0k1eivnWoE482nGzV9ClUowVYbZPCN6KyZpP+AUsfgM2mA== X-Received: by 2002:a19:aacc:: with SMTP id t195mr8557199lfe.153.1553377255917; Sat, 23 Mar 2019 14:40:55 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id w3sm1382127lji.59.2019.03.23.14.40.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Mar 2019 14:40:55 -0700 (PDT) From: Max Filippov To: qemu-devel@nongnu.org Date: Sat, 23 Mar 2019 14:40:38 -0700 Message-Id: <20190323214043.28997-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 Subject: [Qemu-devel] [PATCH for-4.1 0/5] target/xtensa: MPU, parity/ECC, new IRQ types 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: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hello, this series adds support for memory protection unit, parity/ECC option and IDMA and gather/scatter IRQ types. With these additions it is possible to emulate basic opcode subset of the recent xtensa LX vision cores. Max Filippov (5): target/xtensa: get rid of centralized SR properties target/xtensa: make internal MMU functions static target/xtensa: define IDMA and gather/scatter IRQ types target/xtensa: add parity/ECC option SRs target/xtensa: implement MPU option target/xtensa/cpu.c | 1 - target/xtensa/cpu.h | 46 +- target/xtensa/helper.c | 1 + target/xtensa/helper.h | 5 + target/xtensa/mmu_helper.c | 540 ++++++-- target/xtensa/overlay_tool.h | 34 + target/xtensa/translate.c | 2829 +++++++++++++++++++++++++++--------------- 7 files changed, 2339 insertions(+), 1117 deletions(-)