From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229897; cv=none; d=zohomail.com; s=zohoarc; b=dZMANg/2/3Mp/TrYdaqKozRYJHVByPqdCWOunLK+dHk5PftdgOjX4aYTE/eeBj40Y/KmQGyu+kZEcLk/hXomK2kjb9AWBM8BlK97Z2I7lOvnioueB+HLHb136/pAgtdd6OwUebsJFlL4cR5n3Z8HY+gVNm8J2gi8g8aUQmNrb1Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229897; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ubeWMUt19KgbmFwzvU0tT5JUAbGa8affkQwKmoJlyrU=; b=REw8IVkuGAqTV2v5+V6v3hfqMVFnU3EfBJRpul3Rb0EJeKThw9WXAzyvvzkRvYraNAnfO3soXflKzQLNjwpwu2WyIY2vGzdx22JhdviaZ9MOzsI8fKjWkXY2WDFlujAccfWgTy93cwhJtcBaagf3Tv4G7AK0XsN7X9A0830WpHE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229897646595.0975591361324; Fri, 16 Dec 2022 14:31:37 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iq7-0008JX-6c; Fri, 16 Dec 2022 17:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iq0-0008GP-Vf for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:53 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Ipy-0005fm-J9 for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:52 -0500 Received: by mail-ej1-x634.google.com with SMTP id ud5so9299788ejc.4 for ; Fri, 16 Dec 2022 14:05:50 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id cn12-20020a0564020cac00b00461aca1c7b6sm1338542edb.6.2022.12.16.14.05.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ubeWMUt19KgbmFwzvU0tT5JUAbGa8affkQwKmoJlyrU=; b=JV4Rwk7bz+jAETSgYcE+C5FYSNuTXPnkF2zsiVw+nzz1VshU2dhmJaQAUchUEl67oK tsoVrrsy1vlUQ7ffYvni6h6C28rzTLMThEC+4jXk2ymVAkRye/dZ/VCfIuoPjCFCqHaw V1AT8z6nfrApeYvGLskUfkL4ob27bHeOYOp0qgOND+ZO6Z5NeVDtWqIOinn3u9UVuDOK pywSgwm58MrBgcDT2oZm7Nme8kyMHdXpiNKCVWhcDmtTbMqq6+dgW7WmK08hcv3rlj0Z R4Rw2IErUMhKFPHDHJShE19KGfxXDayTVrsCEVPBitplpTtIpPpRINgwbn79uaIh500G UG5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ubeWMUt19KgbmFwzvU0tT5JUAbGa8affkQwKmoJlyrU=; b=hfi4Bgk2koZWxNysVNxHOgMy8pO5heDskrFWRTI1fYJqdTV1awleQpihXIhsRiIged iYOZ9qGxbAmBsCPAXgHnnXahWGE0jYwGzaZ0pFulW42+QlMmizWZioqRirEeYeAgKFjH mR8JtMmZmw+sgcAdu1fWy0qErsigIKtOUcija4wIn//68/S66j7smnw5BbLh4UIR81JY kqSM6X8DBvArKWFvVxz2gIuCEXeBrzdfoMEJKyqyZzDb9PisnINZxWaA3C0aKAr0BfFB 8m263A0uAU50gkP66bDPSKt22g13S49EeP3cfTi6ciPDMY8PoL9fIhokqWVGTXqJn2vs xeAw== X-Gm-Message-State: ANoB5pl9Ts7VaJncdvRFzsrz0erIijrq5/GCrTenVQUosWFl8aJqd/07 5u4dP+U0OrHk4VosIqHO1eqKU6G3pLf/TJWhack= X-Google-Smtp-Source: AA0mqf6M0eNy4EF5s2top9Bf+a/8UJa86gqSoidvScNb5B5QpX/PCUi2pGdCpbO1sDNXkEtc4eF4Xg== X-Received: by 2002:a17:906:ecb7:b0:7c1:f6c:dd4e with SMTP id qh23-20020a170906ecb700b007c10f6cdd4emr32553198ejb.40.1671228349037; Fri, 16 Dec 2022 14:05:49 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 01/10] target/hppa/helper: Include missing "cpu.h" header Date: Fri, 16 Dec 2022 23:05:30 +0100 Message-Id: <20221216220539.7065-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229898290100001 'dh_ctype_tr' is defined as 'target_ureg', itself declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/hppa/helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/hppa/helper.h b/target/hppa/helper.h index c7e35ce8c7..621bc9738e 100644 --- a/target/hppa/helper.h +++ b/target/hppa/helper.h @@ -1,3 +1,5 @@ +#include "cpu.h" + #if TARGET_REGISTER_BITS =3D=3D 64 # define dh_alias_tr i64 # define dh_typecode_tr dh_typecode_i64 --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671230124; cv=none; d=zohomail.com; s=zohoarc; b=d7//aWxT9/lakQKJY6Wqj2o9AAfBej7alpll5SJsFqkuINDu03H9JczFh0fn60j5sHSKqBAZXk6sUtBc+OGLVAd4TC2uHq86m4KF4HYMymguYiJ+uctcGKSCuRpFg1BVhXm6dyqzIa90yjCGcz2cy4q04yR7Y58SiW/eR+1EFcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671230124; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=exsCe7wqZHx39cKtIHty5MCcAiVROc/nRl0VHcIQsKU=; b=niqNYzdbizo1sRsfmtBaQDphLoWQ4+/B5Lgh3aKpnPIhgRwLvWjFLQI44A7VEBoQri3gGynAOvdLjJ7JSxAIcqK7XnTDLRmympsKcGsnxL+YoL7AZxxDeggfy4Gl3ylQX4SB5f4DFFXIP97LCyxdhKpgroaE1znk6qYlx2yju3o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671230124431405.07810730076324; Fri, 16 Dec 2022 14:35:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6IqA-0008LH-73; Fri, 16 Dec 2022 17:06:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iq6-0008I1-0y for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:58 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Iq4-0005fm-CJ for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:05:57 -0500 Received: by mail-ej1-x634.google.com with SMTP id ud5so9300274ejc.4 for ; Fri, 16 Dec 2022 14:05:55 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id pw18-20020a17090720b200b007bd1ef2cccasm1260491ejb.48.2022.12.16.14.05.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=exsCe7wqZHx39cKtIHty5MCcAiVROc/nRl0VHcIQsKU=; b=byTpMti4F7j1AT70zf5hdcZBnjoRJI/GNo0x+g5nfmK44hjKdofc0zgxky8GBZTF9j G8Onm2k31BgznW/DBrlM6XiKl8ZJpADULRyzpWeqe0eWglWuqqShWLzDIV988NhEQwHj xjHqk87C2nTVuoMifVukHrhsA0huT7t416wYbvl1aH5r/68pMfDTQU5sEev2mcaSKxNV Efzuvap0wIWSY/2UuOc0ppnrub4jZ+pShTVMT0n0YazQHcUuHvS2ji2sUSdx0QD+GSEa gEW8fgl2EByKexX19+7vNWYXAMeYViqEJn4Y8JcIiZ3HIGjYiN8Q/yQAc4Cq0RdvCPc9 D3OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=exsCe7wqZHx39cKtIHty5MCcAiVROc/nRl0VHcIQsKU=; b=vrWf0JjR9+15WE6jam3x4s9boDOQ0Y3xl4HyVlYXcsUCvRxowwkt5N+XnRLyW22nCz HsjzMFEXnYXTo/1ZMrX76rHh4WGvVQenfH8is5FiNF8z+OKLJlqfw+aGpOmzlwcBj1nA yxdzPI2fHTTlYn0dwW79QjtVPM0TM9bcujAO9JDlJ42Yc4ubIJ1QX7fluPiIkkGpFl72 icq4GdNee2tj4vIO1clQ1N9cK4AzwOdUg09CgFP2WLx9PriOBVr0VdxSP3wI4rsbR+68 0Q8Vrjtj+UsWpOhnkNe3jPWNh8K3cdNlk6+45/1H96FTXOon6wp3zK3Q2JdcwFqYKm88 n9gw== X-Gm-Message-State: ANoB5pkU80Du8DA04HJOndI7pzNjkk2sr6ARqKlEfY15lhXmeeWXgOp3 aBIFnHaE0jSglYTc2WaB6sif7JSRox7zYcOz/uU= X-Google-Smtp-Source: AA0mqf7g0g6ryxpPtX73BWZYR3b4/Yv49OJXAmxRuwI4hMeAK/zpT8TTx7rJXCWfZtuY7bbo5Rdd1Q== X-Received: by 2002:a17:906:ee2:b0:78d:f454:ba04 with SMTP id x2-20020a1709060ee200b0078df454ba04mr29013194eji.3.1671228355449; Fri, 16 Dec 2022 14:05:55 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 02/10] target/hexagon: Declare hexagon_regnames[] in "cpu.h" Date: Fri, 16 Dec 2022 23:05:31 +0100 Message-Id: <20221216220539.7065-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671230125435100002 The hexagon_regnames array has TOTAL_PER_THREAD_REGS elements. TOTAL_PER_THREAD_REGS is defined in "cpu.h". Instead of pulling "cpu.h" in "internal.h", move the hexagon_regnames[] declaration to "cpu.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/hexagon/cpu.h | 2 ++ target/hexagon/internal.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h index 2a65a57bab..9e8cd5a257 100644 --- a/target/hexagon/cpu.h +++ b/target/hexagon/cpu.h @@ -178,6 +178,8 @@ typedef HexagonCPU ArchCPU; =20 void hexagon_translate_init(void); =20 +extern const char * const hexagon_regnames[TOTAL_PER_THREAD_REGS]; + #include "exec/cpu-all.h" =20 #endif /* HEXAGON_CPU_H */ diff --git a/target/hexagon/internal.h b/target/hexagon/internal.h index b1bfadc3f5..1a6386e0ac 100644 --- a/target/hexagon/internal.h +++ b/target/hexagon/internal.h @@ -38,6 +38,4 @@ void hexagon_debug_vreg(CPUHexagonState *env, int regnum); void hexagon_debug_qreg(CPUHexagonState *env, int regnum); void hexagon_debug(CPUHexagonState *env); =20 -extern const char * const hexagon_regnames[TOTAL_PER_THREAD_REGS]; - #endif --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671230082; cv=none; d=zohomail.com; s=zohoarc; b=YOv4vIPohbCkn70BIry+3XKQk6VsZ7Qatuls5LE0rC3KRWn3BAu5qHwyChxR5WJwCbnmOoE5bFUtaUtEVupwwB3aZgi7lUX1bW0v5nq2ssvwk6AVeiAeikBfW3m2FP6NAykv1F+I8659LQEmzplMynLhq8gYUcRsBCWBmVm+Obg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671230082; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/7zfPeZq+WjIXkty2hBYoHNE0awyTmMmvDRWMBbE2YU=; b=kNvRWv9ti/lLunn/5yV+92d/AlY+fQ6rjdK5w4cO4wRxMGukqhtiSvjVSm4p/fDFUqMzUJBlfCB6z9aes+hRH3oKqDC5QM+xQhqUNKqKFjn6mloE8IOh/2nXI8pzQ1ugACXuAaHDvSy74vLp/DKQjNHn+M+eFCJwB0qLR20tubc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671230082399915.0847427435245; Fri, 16 Dec 2022 14:34:42 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6IqF-0008Ti-7V; Fri, 16 Dec 2022 17:06:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6IqE-0008SO-8R for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:06 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6IqC-0005if-4q for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:05 -0500 Received: by mail-ej1-x634.google.com with SMTP id tz12so9244412ejc.9 for ; Fri, 16 Dec 2022 14:06:03 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id b18-20020a1709063cb200b007be3aa82543sm1290715ejh.35.2022.12.16.14.06.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/7zfPeZq+WjIXkty2hBYoHNE0awyTmMmvDRWMBbE2YU=; b=cqv6+1TWnHKyPW8oTuB0ooZolJMgxroYIppqtkgAcOPTuVHszNg0r8Ki7TPycRuk8o 1tcCSTOouiy1/UiOLxlpg0QjLZlL5tRrM6hIEN7cMbh9w6MgUTsyvQS0qM3GPFyZ/t2w 9WlUKyBB3i2WOvZLJGF8DbPGPorNtktf5wd6DQuXofxdce4b+czAHie2rp/1OVusg4gx JAViuyfIr0beUbpx+pHdGad70Wig66tXKR+iiUBSbIpjdCGFLHtRLz/ulxI9FwIrtp8M jkgVH92IEu+wtVCes+5N3gVFQcvSzpR53wqjyDz1nqth51Uk/lIaLFLzpsnEYvbMzOc4 t3pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/7zfPeZq+WjIXkty2hBYoHNE0awyTmMmvDRWMBbE2YU=; b=EDTeR2DiFHCi9Mv8z7vDQzm8bOTdj3iFJfylMH3Wq3VvoFpt5XtLxsST5eju6gNvFB Sw7rz5iuv5USpa9d5EDNyS3Dw6fS9AxhiEBI1ohm2IJgsBFCMjefuePEdyFXrCVZNYR8 fUoMFArELq1Z+ufP92/NAZBCCLEz+hIPf/bvsCLJkxtTEzlkXP15SCRFGeQumqmcNoHf NjOiFORSpOLNXOYY0Yu7fIgZGL6jiRvINqHj6fh/p+/gmn+xtkPiLl0FcCdolfwvAVdP qxBoNvEcvK32IyhOLcBhgJTuuGv9tmtV0WKGO2STTpy+CMYP0ZrK52qGmHL6VsurB1jE m0GQ== X-Gm-Message-State: ANoB5pmQC66Kf3NtInp6UU+QynxcblAXzTS9lJ2crjJhSHhDBJq1sLLD U8WtYvLfX2i7IMGCb34Ogps2n5f4DXgxkQtUO44= X-Google-Smtp-Source: AA0mqf6obnHAVEockmSb5IZPjTsRxEEKMGnKgzqGNT7FzFTmrLrYgQiy9mxLLIIJ9DPUI31xrRfXBQ== X-Received: by 2002:a17:906:e215:b0:7c1:844d:7447 with SMTP id gf21-20020a170906e21500b007c1844d7447mr17307071ejb.35.1671228362486; Fri, 16 Dec 2022 14:06:02 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 03/10] target/loongarch/cpu: Remove unused "sysbus.h" header Date: Fri, 16 Dec 2022 23:05:32 +0100 Message-Id: <20221216220539.7065-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671230083128100001 Nothing requires SysBus declarations here. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Bernhard Beschow Reviewed-by: Richard Henderson --- target/loongarch/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index e15c633b0b..c8612f5466 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -13,7 +13,6 @@ #include "hw/registerfields.h" #include "qemu/timer.h" #include "exec/memory.h" -#include "hw/sysbus.h" #include "cpu-csr.h" =20 #define IOCSRF_TEMP 0 --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229525; cv=none; d=zohomail.com; s=zohoarc; b=bhzp0O9q5QCL7rEDdNr65cI8Mx0lP3KiCeAhC0+Zz/Is5BNLH29ES/DS4henJNZJ8AjBBRLSdcZS/sOg3aoIBwv397UqlaID8/f4XLbhyKbfb5d9dXtrMvhkItiw91buioy/JgrYxR7VimvvZNReaOOyfkYKO1chsZ4cFF32+1M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229525; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Dy6adUSc1nsjjorplxmdwlzsWilNUT+uX0VNLymafXA=; b=GyA765Bz5hpo38RDuULfYyvMuB9g+k645RhEHzaiyVIzJuP1RuORHBCOZILiLYcsp3GJWoTnbO7TlP929bUKYCS2phUIH0ihpf8TZp74aRYktf9FXGrYe9yjLsTDbK4xna6sX/FFUKmqwP7YytcfCEHX84fJfVGpspiyx6Gsyqk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229525503193.0296040947178; Fri, 16 Dec 2022 14:25:25 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6IqO-0000JU-91; Fri, 16 Dec 2022 17:06:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6IqL-0000ED-Qw for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:13 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6IqJ-0005jp-AX for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:13 -0500 Received: by mail-ed1-x532.google.com with SMTP id b69so5496549edf.6 for ; Fri, 16 Dec 2022 14:06:10 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id u10-20020aa7db8a000000b0046bc2f432dasm1306181edt.22.2022.12.16.14.06.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Dy6adUSc1nsjjorplxmdwlzsWilNUT+uX0VNLymafXA=; b=eM6dbvzbw9G+VkSBiUjAPDEjFVVT4aAyn7KM95Kr6qhis+o5F0RhrqhzlX2PNUXJ1T RGJFH1ybuZUC3l2PBEyxjpzYwbD+1INMwDIfjVk0IUsnekUf3YogA3zFVQUKI2TLhrbp mx1nEo/ZuEa931Xp43uy1wu4oqxSt7AI9VcHZji28EtqwzjzXaZlTSOnC+tO4hpdNIFS JWyUDJ+QzGFzCa4J1U/CYEBk8DL0hBoic46kdz143Rhca1gGmoFYT1W3DR7hybXpf8qY N0zNvbmmidy8YMipvkZM6V6X2YuDEljXaeUDng2xBZBzLf1pfNMXTNIgnDFsFVG1VbFN 4h7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Dy6adUSc1nsjjorplxmdwlzsWilNUT+uX0VNLymafXA=; b=No/T/+LV03TXbrtrfS/+DQ6DqzOniIUQ1IzYfnko+ocSam3VxkKxKqMiU1WWd88bJT fbmuKFeUstt7f4IE2Pm/mqVPzEnnurm+atBtPtFWS2lYbHc2caNzFX6xkcqKZrgbrMby aaXkOj6dkUqL+nPMchi1DyEFpOA9SZJG0rTxcu2TrYKOFbzGLBgoa2OFrylIbjI/SXSk rBxTg0hkVhcKDE1eGSiSe6d9XGqf8hhpcEo8T/UUd9jDj5as3QKAJ1teYRlYdFhKr7hW efPfQDHSOzGfl28y+eDbydGWCQj5S32VRoWnge8NG352dYknDvTQxoJAB6532W5yiStF 4k7Q== X-Gm-Message-State: ANoB5pl3fn0ka/ApKT/k4xsXf++NpqX7VFphyXGFuhErGqFgW6vhqHNK yajfkHHMkQxxaWULyxATkTz+XQuyhbWH6DZGKEU= X-Google-Smtp-Source: AA0mqf54HJIDDvUvhcXMlzFPOIzUIel+CrLPjrZSL5TtP9gcLUipu+HRY3e0edPLwknuDPjy2mPFUA== X-Received: by 2002:a05:6402:14a:b0:467:8e69:ff10 with SMTP id s10-20020a056402014a00b004678e69ff10mr29352682edu.26.1671228369763; Fri, 16 Dec 2022 14:06:09 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 04/10] target/loongarch/cpu: Restrict "memory.h" header to sysemu Date: Fri, 16 Dec 2022 23:05:33 +0100 Message-Id: <20221216220539.7065-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=philmd@linaro.org; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229527524100007 Missed in 0093b9a5ee ("target/loongarch: Adjust functions and structure to support user-mode") while cleaning commit f84a2aacf5 ("target/loongarch: Add LoongArch IOCSR instruction"). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/loongarch/cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index c8612f5466..2f17ac6b47 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -12,7 +12,9 @@ #include "fpu/softfloat-types.h" #include "hw/registerfields.h" #include "qemu/timer.h" +#ifndef CONFIG_USER_ONLY #include "exec/memory.h" +#endif #include "cpu-csr.h" =20 #define IOCSRF_TEMP 0 --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229869; cv=none; d=zohomail.com; s=zohoarc; b=Kx8IgTbz4KJIposwfFyx7/bGaFwGA8unJYtnPhX78DaOE8Hqz0oIiqc7HMwMM7X1cO0yCZcGfgNPJfKbaPMvlvu3P0q8NSMBJP9LIGpk3SEhqbgwp2hrX9vsrRCS0Z6hS75HOXkGlo9ggbvOkX/0x18wRTigQOoSBukXwOo9omg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229869; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=PsKnVXEUFtle2sBljg3GOYibf5GE3DbmvaOh7ghHHi0=; b=aUf6Kr2JU7u8Wb/hiamvJajikMNyyNJc7R2tjYADKmsfB6zRqtVU6tnUQW0+cbmwXxkwDYpkGAVGt2SEep5BOWsdqFQEGIO3kW6cms0S7WF2B6PPjXQgQxLPzhFDflaiaR07fRSFLl60O/huMQslPBLBeCLb2xYmi2u5CbtrgsU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229869993718.9654892361247; Fri, 16 Dec 2022 14:31:09 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6IqT-0000RQ-4R; Fri, 16 Dec 2022 17:06:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6IqQ-0000NX-RZ for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:18 -0500 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6IqP-0005eT-7Q for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:18 -0500 Received: by mail-ej1-x633.google.com with SMTP id qk9so9305446ejc.3 for ; Fri, 16 Dec 2022 14:06:16 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id fr33-20020a170906892100b007c09da0d773sm1289223ejc.100.2022.12.16.14.06.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PsKnVXEUFtle2sBljg3GOYibf5GE3DbmvaOh7ghHHi0=; b=SaHJd9A4VDZlslJV3RgBgsdMQtyCPmvC/H7J1wtW9neQsb8tqHigvVMGtPJ7SzZj1u h/tRBNl3ORng14Ede7NZubaB0Lv11EqZK3Cr1SiVasnX/rkh68TjB23btbC+0EnBUa1M LsYfELPINBRP+Bk65l9cQNZx4q0dfUAEYYkYvYQBhowqK0grQ9L1zY4jP3rGKGRp7gDe pxujFnQsZ+alERakUZZFfVWKRX1CIt+wRSc3K39cqhbBgycf2q+7yXxQ2Z5bILKexc1r t1csA3PaTuJTQ8F5lAGZP+1smlp5FJ4qBZ9vvabgGi+NAi2UPe8eQl+yhHYbcltsZf1Q j5Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PsKnVXEUFtle2sBljg3GOYibf5GE3DbmvaOh7ghHHi0=; b=acRHyc7VnV5hmU83BMO58wX8jHBRCtEMRLKzgIbBMz6cYPwZHhAT1i6WedMKr9sUM2 pDWJj7XCloRUrOT+Azp7cl68h2USqWJM8DMK0o+dVv32SE7sQ3GcyCMwMT5/2jOVEJK/ A0Co7Y2qwmz1smlXEQ54kCcgD/iGo0r6hcRjzAJ7oVxdRQE1BUdwxy1+nEFqcNkblo08 WdtAkkrvsH//2zuQFaBsdj/tVSKU8D8Zcl4TIdNWyfCFJG9B0mDITOe0xniMkMEoDYVZ iTh0hgu2Xa6fkcDMLF4EOVJHC2qARr9WyZx7Yr/0RygCcViFSHncQssHbKQlEM0YUf7F e5Cg== X-Gm-Message-State: ANoB5pkbKPBNNJNaWdHk7QAuGxkSr9xdDXERAhRNZe5otgWBawT6eK21 j0T2GR/V7ugw3ovAK8k4d5xfTacnDyCLzL+M17M= X-Google-Smtp-Source: AA0mqf4DBZ8NZJkv8tXTiNxf3jZypbI40DgyEO+yHGyk3RwSlPCjhaRf7/Q9CeC4AaI9q+amXrhWbQ== X-Received: by 2002:a17:906:3810:b0:7bc:bf29:c58 with SMTP id v16-20020a170906381000b007bcbf290c58mr28222249ejc.2.1671228376255; Fri, 16 Dec 2022 14:06:16 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 05/10] target/m68k/helper: Include missing "cpu.h" header Date: Fri, 16 Dec 2022 23:05:34 +0100 Message-Id: <20221216220539.7065-6-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=philmd@linaro.org; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229872316100011 'dh_ctype_fp' is defined as 'FPReg *', itself declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/m68k/helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/m68k/helper.h b/target/m68k/helper.h index c9bed2b884..aaf0e1668e 100644 --- a/target/m68k/helper.h +++ b/target/m68k/helper.h @@ -1,3 +1,5 @@ +#include "cpu.h" + DEF_HELPER_1(bitrev, i32, i32) DEF_HELPER_1(ff1, i32, i32) DEF_HELPER_FLAGS_2(sats, TCG_CALL_NO_RWG_SE, i32, i32, i32) --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229947; cv=none; d=zohomail.com; s=zohoarc; b=a5BkN4ZRWVLHCTrp0i5AoEV/9dDWPN/Psyc7Ja0FcXh/mCYSxZcsJOakbwOEcRzPdkhWCg3httVVqTV7w6su2l+Ae41mj3fbFR87WN73aUSOLa+33vb+VL61geCHp2GvD1/TzqBwafryTlhCQndbQnfVRQMMcVHhQLvmQQII6J8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229947; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qRl0NH1dSa5ezBWLNBBiop31vMlIv2LnSrGHXpwTSes=; b=gVyV8AWQLbtMgrYuhYWl4uFBmYG40YXpBbP/2c4eJqPgZy4V6tVeN0g6HiPigb9r+ZuVMgUqxWVvglYBzBr2GudXlXDWMDiEv5GvxVZsTIHr3gJBOf478KNICFAsNLSz6Urx5KGNB8PM2+EBKut+n3zkQEJ2Vse6lXvHjof06C0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229947236182.448854368291; Fri, 16 Dec 2022 14:32:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iqo-0000e0-7t; Fri, 16 Dec 2022 17:06:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iqa-0000X6-9F for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:28 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6IqX-0005kT-RX for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:27 -0500 Received: by mail-ej1-x632.google.com with SMTP id x22so9214817ejs.11 for ; Fri, 16 Dec 2022 14:06:24 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id lb2-20020a170907784200b0078db5bddd9csm1289247ejc.22.2022.12.16.14.06.21 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qRl0NH1dSa5ezBWLNBBiop31vMlIv2LnSrGHXpwTSes=; b=BPWMBNrCxEqKXqHbAwUyvnZOXnk6iVhxS5JrSeVM1xqvsGTyjbjBmW+fhvK8bW4WV2 ZVtIa/iQdove3R6oh25YI61MauXGG2PgXZmvnR/4DEP2l21hjSPR7KzRryJm1O0kH5ig qkGkMz3ptMAR8b1eSqT8k1ZXZvSJYm8fbYoIjXy2IUKvugFPjD0TBC+qLi7qzfUjRgWd /TwkA4t+RW1G3/ftVG4RnMl19sjdUOAV9MSbA4r2o1zaCYPwXnOrKQv1ppcG/0Tfxt9Z WivV81t/PPRgWMvnFHgJMbZe2kagx3oMNU9v5LtKlgFghhEhn4CcVERngoHUILld0zlk 9X6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qRl0NH1dSa5ezBWLNBBiop31vMlIv2LnSrGHXpwTSes=; b=wP1LB7+i3fT13dhj/JkeyaokFSoXBFfM6EsA9xdLmiTZRI9YACL4asm47YHkKtzTkt xnXDoTe1J8YrGXlcwk0OLtt4v1b59gPpR0OGRgMWEv9wbEesTrIc9veHCZ6gBSRA0iZ3 8Eih1jL84Ms6q4cvFy9eImN/hU/wPL/vRplbkPwwuGrvsHtcPCkqFw9KvdZo3wSdlqc4 QDqHnXIgTVXUezfMZGUDKQxovM8I5wS/GFF6T5EGRdoVEzhaOUjtcF0jgcWEcRThgnkG KOyKAK3etcVgCtOGw1whzulP/VjjhLJTGIo8OtnIgiIUhzZuFVUkNv2ESWQRq8dy/eVM KHqg== X-Gm-Message-State: AFqh2krOJo1emC0OyOjt1NSXfNGDP7JF4CwcWi6masNA6H0+kkIMbGBJ f2vrsW2dIhNUwFbcFyw9V+EKg+vlrfxVL1fvQEA= X-Google-Smtp-Source: AMrXdXutRLmdPKrKMpaQ0Y+b9MZx7EX/ATWP8xzzY+7ya7Ot7smT7XkDPLndy0vD8ElHkvPbI8PSnA== X-Received: by 2002:a17:906:8d86:b0:7cd:ffd:51f2 with SMTP id ry6-20020a1709068d8600b007cd0ffd51f2mr11198643ejc.57.1671228384400; Fri, 16 Dec 2022 14:06:24 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 06/10] target/ppc/helper: Include missing "cpu.h" header Date: Fri, 16 Dec 2022 23:05:35 +0100 Message-Id: <20221216220539.7065-7-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=philmd@linaro.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229948635100001 'dh_ctype_*' are defined as 'ppc_avr_t/ppc_vsr_t/ppc_acc_t', themselves declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/ppc/helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/ppc/helper.h b/target/ppc/helper.h index 8dd22a35e4..a02db8d893 100644 --- a/target/ppc/helper.h +++ b/target/ppc/helper.h @@ -1,3 +1,5 @@ +#include "cpu.h" + DEF_HELPER_FLAGS_3(raise_exception_err, TCG_CALL_NO_WG, noreturn, env, i32= , i32) DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, noreturn, env, i32) DEF_HELPER_FLAGS_4(tw, TCG_CALL_NO_WG, void, env, tl, tl, i32) --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671230040; cv=none; d=zohomail.com; s=zohoarc; b=NJLCSTN/gyjOb3LadwjdVrWijABW0qoy4/JN9mIHjuk+w1Je58mN0y98FmC5/bnpSlnLYc2C/0VuZoJxkOPSBVTVXUViRKvVzkB1OIvvt8XGJLuKcVvDtttbs3Oka8yZo+aM7VrvZNG5RAYwVQASUZRAhL8HrNvXLI4h/C0LGZA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671230040; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FgRh+J8ugBdTp+hBAPKxvrVE6x2miNoYmydbOZW5heo=; b=X/bEXF+aW2A0vVDutWN0ddI6jMFtgIv04IDs7oAeWJOL87l9NKOOH/B11RN9c3GMkIbldEw5a82Mg4vUtib0XGmWda+tkKHt4Chtr470kU0kr104yEvw9RcFubXh+2+TSEWEv7cJlLSo1OgP8xknyZZJLs+16OSxJ1I5zZ38QfU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671230040217244.14718898842636; Fri, 16 Dec 2022 14:34:00 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iqt-0000iK-Oz; Fri, 16 Dec 2022 17:06:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iqj-0000bo-EF for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:39 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Iqe-0005me-GM for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:34 -0500 Received: by mail-ej1-x62c.google.com with SMTP id kw15so9219161ejc.10 for ; Fri, 16 Dec 2022 14:06:32 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id k1-20020a17090632c100b007c10ad73927sm1293554ejk.28.2022.12.16.14.06.28 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FgRh+J8ugBdTp+hBAPKxvrVE6x2miNoYmydbOZW5heo=; b=HNUeMPgzvuf6AsZmElsdhHeaksTRLQtyPVlctzXt0s+RftDHFpCzUNFYprNzhhJbOY o7NZ8KpQbPujdhQqVFK2K/eHcYw9gDbOQo16JfxsQL1dJHZv8gGs3T+8cFP6fTWXxpZr tvMxjF1uC9UDQLtTA6zQ9u/yAJINT5VlGns1UzWYWi222Go/JAwbniNEcoMntAZoEde1 BwRxGn9bmKJCgxfw2T3mFM8pjloOyF26G6ZwOs6qsoN1Y5snYZQwtb6GYaxgpiWOmxoZ 6xidAvRxPjlU3mUtrs6lOEPiIEmW4Hofzoe20PxgFr/foQ43Ypj1zzoW2sHNGDoEPrIp SI/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FgRh+J8ugBdTp+hBAPKxvrVE6x2miNoYmydbOZW5heo=; b=FVLyVDjrQq0jMThYsSEZWtCOo4e2AISG+l65T0AVwnbGcuJcWS+kButOmVxxdeZPF8 1wg9Ccnm9cRk43wlKMbTKiKlidj7PG1lh0OHEhR+WwHOWjJVTW0Hqgb67EMPx2CTPujT Lww37pWEMo8QC0aEfl7DFekHCHyaxQW76GdDfTvHQe1uY8TVBKkmxv2e5d6p4hZLbAXR 6Bqu6LqDzFUs6MFlbpOg7H6XJktxzM14q9IKWayF04xSvtg39djcCzSLfF23ZolmdNcJ FAELerm71J9ldzwYo1h1oS5NsF1hM7PkfELULda9kHQozZyBLapUskKz3U4wOQaNNBdR 4NQA== X-Gm-Message-State: ANoB5pmYSIbRlEW4uCmtc7x3RiATHaTmi3nvyqagZDJ1b4tX5KJbEuOU Pe45kLu1uzkhFvIDUY4YU1+lADz7MgNS3pLZcRc= X-Google-Smtp-Source: AA0mqf64ZR0uLQR9LOIGCEXZVqJpMTXiNJDeOkdZ/u6E1Hq6gzDZC9uXtQLjzidWR7ml/klyNpol9w== X-Received: by 2002:a17:906:a886:b0:7c1:8f53:83a0 with SMTP id ha6-20020a170906a88600b007c18f5383a0mr13347269ejb.13.1671228390734; Fri, 16 Dec 2022 14:06:30 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 07/10] target/ppc/internal: Restrict MMU declarations to sysemu Date: Fri, 16 Dec 2022 23:05:36 +0100 Message-Id: <20221216220539.7065-8-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671230040873100001 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/ppc/internal.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/ppc/internal.h b/target/ppc/internal.h index 337a362205..901bae6d39 100644 --- a/target/ppc/internal.h +++ b/target/ppc/internal.h @@ -242,9 +242,12 @@ static inline int prot_for_access_type(MMUAccessType a= ccess_type) g_assert_not_reached(); } =20 +#ifndef CONFIG_USER_ONLY + /* PowerPC MMU emulation */ =20 typedef struct mmu_ctx_t mmu_ctx_t; + bool ppc_xlate(PowerPCCPU *cpu, vaddr eaddr, MMUAccessType access_type, hwaddr *raddrp, int *psizep, int *protp, int mmu_idx, bool guest_visible); @@ -266,6 +269,8 @@ struct mmu_ctx_t { int nx; /* Non-execute area */ }; =20 +#endif /* !CONFIG_USER_ONLY */ + /* Common routines used by software and hardware TLBs emulation */ static inline int pte_is_valid(target_ulong pte0) { --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671228726; cv=none; d=zohomail.com; s=zohoarc; b=N35l/Et0ZzIlajM6zKYaGKoc1Dw7HnSGA43u0TdtW+9uvOApwDCmucC0Zm3O4sZVNFSH7MvsOKsynjDt3ZZMHwZ29k7wf5N6MOwr4f1caw/+xTIKo9p2QRvrCyZvW9L9YKYxgFmKT0TuYCc95L6JTInKwNhRPcNcLTPcK17CSv8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671228726; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DKk4+6qTXmgaYyPsv6k9eMYUz9uXm7tmF1K/e5qW2CU=; b=LxIuVRmAclKeE/2nDtSpwOeTWP5MvAOurFAgWTZdRUF11DpI3YmmRRbPzd07Ot0NtN6PWAnoNIpRhsEfoEMK28bLPjoBaGcVYIsWDc0QLieaG550Nc/fv2i70pi/BJoemSV98JDBWA1KjPQ7FeTywPyYIRNdu/JfEHVYboGQ0vM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671228726910601.0052390353077; Fri, 16 Dec 2022 14:12:06 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iqu-0000jw-NW; Fri, 16 Dec 2022 17:06:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iqr-0000gR-1h for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:46 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Iqm-0005nQ-7v for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:43 -0500 Received: by mail-ej1-x62c.google.com with SMTP id jo4so344792ejb.7 for ; Fri, 16 Dec 2022 14:06:38 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id i9-20020a170906090900b007b9269a0423sm1302927ejd.172.2022.12.16.14.06.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DKk4+6qTXmgaYyPsv6k9eMYUz9uXm7tmF1K/e5qW2CU=; b=zBRbg6X9TEhk6XXN3GVh6Kh9MzTp2KOt9mnVwQ/I0IT3ScIOWqUOYp2JzT38/KmNkT xT1sToARe44GrtXNEbVF/wemOvayGCG6ixeJLkS/2rb2Qj3Yjmyww76b4+AgT6DCNY/l AnrBfogvMEAfgN+XA2RHu5NsRPx1kH6ZAfxn17G9siihb8eNR29JpWdbgA8TGAvKRvgw RH4/YGqUCdmm2ei2IJrTeY7ctw3PMLjJIjWnTfToIkmPQHXlfTwFJh18um/UTLN8TqCd DuzqKJ3f0t2AL8F/0gkIpVm4CUPUfIDJ/gg5dPyAtnM9F/pQDD7j2MkmwfYuk97SY3D7 cpEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DKk4+6qTXmgaYyPsv6k9eMYUz9uXm7tmF1K/e5qW2CU=; b=t8WkfWxWs7u2l5LV8AynGN8PSxnffCEwOI71EMYSSZuIHRTv9evfBcL4zPv3j1eIyn XTX7kchR3tLsEQCNOAyMGCqYgQRMzozcxP73eiOd+U579ZJw6KnyymbneKQ8kjQHfX/A YGyV5BJ5F1ssPJU+70xFydAFOJ+2XNQQgofWWouW+I+4yS0C3pCr0bBV26qz+EvOwfLC roL+61Ji4c1MYiEJSNvjHiek6mHDfe83d0dPjJJ0a5YNGj8F+H4UN+KtHduPh/uA/i8o Zdxlxy46SipTvxGRSxsOrbMUVnpJBklocUsWe8HS6TdtHZuyLt1OHkuroFB77Tm02OsY R+vw== X-Gm-Message-State: ANoB5pmtzyUHg3PZDW2TpZPSrCCLbi2xRuhnG+oAVnNtvBiZXNJPKjkS e6cuWGpSRHYDSOXO6JPxDCztoevXJBwj0z+dk3E= X-Google-Smtp-Source: AA0mqf49JST9AU3ICWc7NLG8TXKcARI1VlUSFvyP7hzWBR314l7xwyifOgzYsgO8ig1maAraQpAXfQ== X-Received: by 2002:a17:906:a157:b0:7ae:83f4:3bf5 with SMTP id bu23-20020a170906a15700b007ae83f43bf5mr28725376ejb.68.1671228397655; Fri, 16 Dec 2022 14:06:37 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 08/10] target/riscv/cpu: Restrict sysemu-specific fields from CPUArchState Date: Fri, 16 Dec 2022 23:05:37 +0100 Message-Id: <20221216220539.7065-9-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671228728483100001 The 'hwaddr' type is only available / meaningful on system emulation. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/riscv/cpu.h | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index fc1f72e5c3..bd4e16d946 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -368,16 +368,6 @@ struct CPUArchState { uint64_t menvcfg; target_ulong senvcfg; uint64_t henvcfg; -#endif - target_ulong cur_pmmask; - target_ulong cur_pmbase; - - float_status fp_status; - - /* Fields from here on are preserved across CPU reset. */ - QEMUTimer *stimer; /* Internal timer for S-mode interrupt */ - QEMUTimer *vstimer; /* Internal timer for VS-mode interrupt */ - bool vstime_irq; =20 hwaddr kernel_addr; hwaddr fdt_addr; @@ -388,6 +378,16 @@ struct CPUArchState { uint64_t kvm_timer_compare; uint64_t kvm_timer_state; uint64_t kvm_timer_frequency; +#endif + target_ulong cur_pmmask; + target_ulong cur_pmbase; + + float_status fp_status; + + /* Fields from here on are preserved across CPU reset. */ + QEMUTimer *stimer; /* Internal timer for S-mode interrupt */ + QEMUTimer *vstimer; /* Internal timer for VS-mode interrupt */ + bool vstime_irq; }; =20 OBJECT_DECLARE_CPU_TYPE(RISCVCPU, RISCVCPUClass, RISCV_CPU) @@ -553,12 +553,20 @@ bool riscv_cpu_virt_enabled(CPURISCVState *env); void riscv_cpu_set_virt_enabled(CPURISCVState *env, bool enable); bool riscv_cpu_two_stage_lookup(int mmu_idx); int riscv_cpu_mmu_index(CPURISCVState *env, bool ifetch); +#ifndef CONFIG_USER_ONLY +hwaddr riscv_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); G_NORETURN void riscv_cpu_do_unaligned_access(CPUState *cs, vaddr addr, MMUAccessType access_type, = int mmu_idx, uintptr_t retaddr); bool riscv_cpu_tlb_fill(CPUState *cs, vaddr address, int size, MMUAccessType access_type, int mmu_idx, bool probe, uintptr_t retaddr); +void riscv_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, + vaddr addr, unsigned size, + MMUAccessType access_type, + int mmu_idx, MemTxAttrs attrs, + MemTxResult response, uintptr_t retad= dr); +#endif char *riscv_isa_string(RISCVCPU *cpu); void riscv_cpu_list(void); =20 @@ -566,12 +574,6 @@ void riscv_cpu_list(void); #define cpu_mmu_index riscv_cpu_mmu_index =20 #ifndef CONFIG_USER_ONLY -void riscv_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, - vaddr addr, unsigned size, - MMUAccessType access_type, - int mmu_idx, MemTxAttrs attrs, - MemTxResult response, uintptr_t retad= dr); -hwaddr riscv_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); bool riscv_cpu_exec_interrupt(CPUState *cs, int interrupt_request); void riscv_cpu_swap_hypervisor_regs(CPURISCVState *env); int riscv_cpu_claim_interrupts(RISCVCPU *cpu, uint64_t interrupts); --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229025; cv=none; d=zohomail.com; s=zohoarc; b=NREGz6ykFORW6cJ4ytSAh1ATaUo0PioCL+0VtEo/Bd/5eaTbb1sevuCtvb0a+I/ishue4lyeRrl6xD8rIb+y+5Ag3SqciR2IAthZPGQUwCJhFhDgX/w99/PW7/oGFwlCgotOpOAtw4rQdFz6Smz1o+TWs07JlrrmX1b12UfCNho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229025; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=wk4kZcMMisFWgQ9gHzikpbBAxoBtm1ZzojbUpYahP3s=; b=Xx0jV508zKI6FE65wT/SX6qFCMLTLlUHeqGADUx3sLAa9FQ1cAMuYvZx21YZDc8Uee4owc4bTX9AxTKVsCkfxjEiqTtici/4zbZd6sDGHpbPQKExUWQqRbRGJM7UUSyBWoUtYXgCQQ8Qd+7X6Ex9b0i0mYOlS87fmvusJ7kmK5w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229025535132.37593315626236; Fri, 16 Dec 2022 14:17:05 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Iqw-0000o1-Cs; Fri, 16 Dec 2022 17:06:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Iqu-0000k3-MR for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:48 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Iqr-0005q9-Q6 for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:48 -0500 Received: by mail-ej1-x635.google.com with SMTP id fc4so9189337ejc.12 for ; Fri, 16 Dec 2022 14:06:44 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id f3-20020a17090631c300b007c0f2d051f4sm1265763ejf.203.2022.12.16.14.06.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wk4kZcMMisFWgQ9gHzikpbBAxoBtm1ZzojbUpYahP3s=; b=Q3sgZ7rQrMzBb/RIxySP1zj9kYQfTbiDe1cSn4f2jtocd/6ABwK3M5MPvKUNQGH+C6 62sOG5Ulab0flFBoyAkvalhOK0IYAaPKYQmhcW304n6mb1W+7BDaLN2UtWcwrtm0Rs31 mR4fO+lA9CTVRVyKOClXEJPCmUzsbr6g/n11ALE0ziscTabzOq9EZnE84dKrKlcHssNU +qW2481DlkJFvbhMosTtiqjzwOhTXpZM4q3VegC6/rnqDhnfXbTpWAm1qjao90iaz+z3 Agh2fcBafOc6kYbvwhZ18Dvxiv/fCkLy4V+WmT4UThT6R7ekeSQFIykp1fQnM17Q3DS8 0m7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wk4kZcMMisFWgQ9gHzikpbBAxoBtm1ZzojbUpYahP3s=; b=KbHaxCX21o1ZzKVJMQwvbU4nS+BieXe/A5XBPKNweca7qxKyEnjmwY8MzUcDueMrWq vIAqYYqbVQTYFzL/5GwmeNxtvVHKq4HuN611rHqpK9ldufdtxQMZfx8UEeapwpjzwSM2 NwvIKmhi4JU9UHK0kqBNoSisDQ0FbjuXjibEuvhvnmuDh66uSOjWBjX2x7wCY4kcY8ma rmaS2fOxxDd6H926+eozKUdkXqACTG22vFforKhtClYtfdGhKlkvhTt2VwYx1O3O9f+W oSQhUp8RYTJxlpVFhD0wn29DmRnVmfi2UH5K8DtfSJBaQLNHA0czzviD19k95smdPj6u loPg== X-Gm-Message-State: ANoB5pl27uU8AXUx9Cj3BXQ8rM/vS1LyOXOxxFKYBMND60bBDKVj+ZrE aWQ6xP1ylRNL8QZbvgrhFO46GtlX2LlJelxYQjw= X-Google-Smtp-Source: AA0mqf7oxSerSXd7GJtrkHazbSNwqf8jEBflJVa77EdPZ0/aDuFvCs5DKYcPWKTGzyA0fZBeQUbHMQ== X-Received: by 2002:a17:906:2345:b0:7ad:9455:d57d with SMTP id m5-20020a170906234500b007ad9455d57dmr28429721eja.74.1671228403801; Fri, 16 Dec 2022 14:06:43 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 09/10] target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard Date: Fri, 16 Dec 2022 23:05:38 +0100 Message-Id: <20221216220539.7065-10-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=philmd@linaro.org; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229026575100003 Commit caac44a52a ("target/sparc: Make sparc_cpu_tlb_fill sysemu only") restricted mmu_helper.c to system emulation. Checking whether CONFIG_USER_ONLY is defined is now pointless. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/sparc/mmu_helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/sparc/mmu_helper.c b/target/sparc/mmu_helper.c index 919448a494..a7e51e4b7d 100644 --- a/target/sparc/mmu_helper.c +++ b/target/sparc/mmu_helper.c @@ -924,7 +924,6 @@ hwaddr sparc_cpu_get_phys_page_debug(CPUState *cs, vadd= r addr) return phys_addr; } =20 -#ifndef CONFIG_USER_ONLY G_NORETURN void sparc_cpu_do_unaligned_access(CPUState *cs, vaddr addr, MMUAccessType access_type, int mmu_idx, @@ -942,4 +941,3 @@ G_NORETURN void sparc_cpu_do_unaligned_access(CPUState = *cs, vaddr addr, =20 cpu_raise_exception_ra(env, TT_UNALIGNED, retaddr); } -#endif /* !CONFIG_USER_ONLY */ --=20 2.38.1 From nobody Tue May 21 08:01:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1671229440; cv=none; d=zohomail.com; s=zohoarc; b=lmLAcUdRilLrmMIKMfd0NaAjJTwYXmGAzsRfn72cmdm9Nm2iuecXFBZxVEFtAdxgRi5qPxCa12xIPzy0ocQDwxdJqkpgtkEB5LNqCC4YZNW5RuUQT5I5iHxOPIUNKuPcXqIgfwSRuYvv1xNj5GLyoaXR57PMzFSK/wS+JQczAZA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671229440; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=y22VnmAsDUUfD7bKCVGn+CZR8vmsucMEC+QeBAK42ow=; b=WWpEN/urxhkWqt+ktGV+3idUtafaMPLCCKHQMZtg8pivtwBPR+olzKDnm+uuOKVqMnB9dtJUR2D2vgH391ysBZyeWrpXqpMkwHlGu7V2zT2EahqiLkA6j1k5g6O8oVeSTP10RgZSxEpLMdLFqWxEQ4WwbFEA4T2ra2n4YXVMjjc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671229440226267.0096109613879; Fri, 16 Dec 2022 14:24:00 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6IrK-000192-VP; Fri, 16 Dec 2022 17:07:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Ir1-0000ts-9I for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:58 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Iqx-0005uU-MC for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:06:54 -0500 Received: by mail-ed1-x530.google.com with SMTP id e13so5498435edj.7 for ; Fri, 16 Dec 2022 14:06:51 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id s17-20020a170906355100b007aef930360asm1281754eja.59.2022.12.16.14.06.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y22VnmAsDUUfD7bKCVGn+CZR8vmsucMEC+QeBAK42ow=; b=IbI9cnoGA4zhcEDcdm/rc3qCMgyN1W9anTL3gDLJyGvkCMg4bt8fZeGvGUpeKaNQrs xTpi2wR3hi7iNkbWM1DdQswMgc+GTvVvdX8gJ/+5Uyjc24J6D9i2NV70KcOPLl4FK2lB OuBzoCoukcAjljswx6et300JoKqse7OYYqy998feFeieiJprwMuVygsL/t6S09gWxNwd t6JswK2Ut172EUKHk7nusDw5f+/jYl+MqFT4oDmErDMOKdBamiXrA5gWsHdJH2wpngp+ IskVURdnSuVemsRtlqyi0+6sFHdjIwkf9wl2+CmeVVaWlyOSWulknnsX7KOSMtd2Jphb 2FpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y22VnmAsDUUfD7bKCVGn+CZR8vmsucMEC+QeBAK42ow=; b=2hXDJK8gjJe0dd2OfropZyaghPudSZhj982LZN/K1WmXMNs4vfWWiYKVMkyJ1IvV3b meN1Uzdy5aBSwTFhf8PHGrrVf4w8YvF7uoCNim6eil9065elWhNLQkJwb+oHsaCxQ7Na Ewj1EQhHQOn2fZps3MV6Ua7Y705CMFwEwzMq7TfnyDphcpoxO1S3U3SRvmnG5EqLJ65U dGmwq8rIfq/HtUvakHWM7Nnwe/oY2iMeML1SGGG0GdxPr0bD5qVly0dmPyc+i/cSLrBv csswmbmAeDpnNMIVn+/oNpvTaNROxKU0DFvqPTD6mlTs2jENGNq/HlmspoX9iDvZaNJv LNKg== X-Gm-Message-State: AFqh2kqKQBGT4tSTQwB/Vg9K0wgGMHbZjAjbL690CEtwfZz/IyJaBbYG CG8GUwElNqNH6dFfznLKl2tO0r3aSYP5s7DKD0U= X-Google-Smtp-Source: AMrXdXur1Qndt+7ajQCO33KwDcreIT+cKbdZVwoHazlQ4LFsrAXvUeIDMggPLxREW5OPrV1TuQboiA== X-Received: by 2002:a05:6402:2b8c:b0:466:12a0:11f3 with SMTP id fj12-20020a0564022b8c00b0046612a011f3mr1062813edb.22.1671228410111; Fri, 16 Dec 2022 14:06:50 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , David Gibson , Xiaojuan Yang , Mark Cave-Ayland , Bin Meng , Richard Henderson , Artyom Tarasenko , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Song Gao , Alistair Francis , qemu-ppc@nongnu.org, Laurent Vivier , Palmer Dabbelt , Taylor Simpson , Greg Kurz , qemu-riscv@nongnu.org, Max Filippov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 10/10] target/xtensa/cpu: Include missing "memory.h" header Date: Fri, 16 Dec 2022 23:05:39 +0100 Message-Id: <20221216220539.7065-11-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220539.7065-1-philmd@linaro.org> References: <20221216220539.7065-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=philmd@linaro.org; helo=mail-ed1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1671229441366100005 Under system emulation, xtensa_cpu_initfn() calls memory_region_init_io(), itself declared in "exec/memory.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/xtensa/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/xtensa/cpu.c b/target/xtensa/cpu.c index 09923301c4..879710f8d1 100644 --- a/target/xtensa/cpu.c +++ b/target/xtensa/cpu.c @@ -35,6 +35,9 @@ #include "qemu/module.h" #include "migration/vmstate.h" #include "hw/qdev-clock.h" +#ifndef CONFIG_USER_ONLY +#include "exec/memory.h" +#endif =20 =20 static void xtensa_cpu_set_pc(CPUState *cs, vaddr value) --=20 2.38.1