From patchwork Mon Nov 6 11:02:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 741362 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1032732wrr; Mon, 6 Nov 2023 03:32:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1edCOk91NfL5lxXSzebqhJke44jDCSyurvV/lqbkGFgeOLLyesDqk1BF8jdzMAByeXTlJ X-Received: by 2002:a05:6214:20e3:b0:672:97ab:5670 with SMTP id 3-20020a05621420e300b0067297ab5670mr26439668qvk.56.1699270365625; Mon, 06 Nov 2023 03:32:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699270365; cv=none; d=google.com; s=arc-20160816; b=l3LqSbfcNsKAJYSY2tysSAixtaUAzkeEV7gefGqQqQHp5JizeD1u0RvAXhrEQLB6/d rdYl2vRiDmXJJlTO1Qq5L4VML1QVdAMwkogusnvow5sVgmVm5cxdNiv+H3xN5NMH8HGK KAgquS4TrQ27iONidGzlJsQwi/H65DfLFkkbJCYrnR7s/znatfSLHh4Tu1lqWwVxhMor DeDNdVHX6Md+qbv5w3cgwvD1M/1GngdjUC3Lz78UB4pcev9KAw/JdFSkYm/nrF1Mwzpo ygQ/rdQI/dazrRBMjS3Zl4tn3wMjOmotbm4IneGANr2FGn6YgmSvCOeOBEf9bavIIHcS jcSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RkZROkW3VJc36/l321YGkxp/mj9LkNXWejNsMfklYm4=; fh=UXczy+6vs2grPC0yFqJi3U97mL5Jb1ilDMzRjA+62t0=; b=p2n3D5/zAifjRJ9ranndM96l1XlnYxcq0N8mvS8TBKU6osjop734cBGwp19w+P6LYc s4y/IYcZZtaSJZmHCpFp68ffM76QoSYDNR1g8VOyVNDgX0lstBrtv2nZ2yki86l09mpm AjVH0w0+87knKjjNNM1ozAOVLNNuMMyzXyGtyu3qyBxP5W7QKeexTFqsa2No+N+/4yW9 +wTffzdVnwatL+mTxGxbAdfZ8+Ag2ZMyApSF6B9jpyKijpDZ0s+aDcM82YaRXyaWjVEn ZjLN9EbhnbKvvM9T20lncYgB5hZOXMsWRYIDGvK25SVvfz2qP+CqirG9BrXwNO9a9gzp kNqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M0jyDKDu; 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=pass (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 t6-20020a0cf986000000b0066d1ffebccdsi5374770qvn.342.2023.11.06.03.32.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 03:32:45 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=M0jyDKDu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzxPv-00085d-E5; Mon, 06 Nov 2023 06:05: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 1qzxPo-0007tU-6v for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:05:08 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzxPl-00040C-6A for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:05:07 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40907b82ab9so31025645e9.1 for ; Mon, 06 Nov 2023 03:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268702; x=1699873502; darn=nongnu.org; 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=RkZROkW3VJc36/l321YGkxp/mj9LkNXWejNsMfklYm4=; b=M0jyDKDuA29/C5IXYxKTLsJAiQuNekWnXhzb70fveFPwlNltGzICV1WS5yJTA1F0YD 911Hbxzw9s9vdh6MYv6JjslYwQpqZLIyaeSwv7BrxLinpsWvtglAr8ctVz/Qtk/nCyr1 uZdXSYjox5cCzfnCkYv5JjPcB1X1M3lNKrpPV6d4LMUbkyA1Wzgg+m2IZk8m3OF08fSW oZvNXOw9qG+wHH65zbdKEVs0ZlcAnmo59BOjjkX7Ya6+g3/GlHeOSwNko1L4mFIl29rS bUG4+oNr78LJW/rXCKxKSeV4MoLxnyLYLlqO3mNzlkjgxdkUWTYLGFYoJOTU9aFJnp5b eQHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268702; x=1699873502; 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=RkZROkW3VJc36/l321YGkxp/mj9LkNXWejNsMfklYm4=; b=MoV00E0zhVGZtrKLbUMc5ouCgmoomuyJJQ875mrd1M9W45U3Vx0dE7Ikf2o+sP4Gxn dph4Dv/hZuDBtw9/17MKuXFiSNyVKHBxHRsPVEsrupdKhrAleGTyus1Ge4kfiKCarg4X HIGdukDzWT2K50jQNNJTvJd0jh/OuJtCc9J0cIu0phhbm4puQU2wjwpEcKt3zhwjR9f7 ph/amDbXNSY4qLEbuQV/0FmdZgPmSUJ0xSLtt1nTvohFPQeVrIPl8CpO4ULVJ3oySakw I3IOXAAqH6YBuls0yLltzXnFFUHjstyrdh9pP76Jt+CEntYAXJ+fBR1625w+S6UHV/ew WwaA== X-Gm-Message-State: AOJu0YzSwG9pqUst757KSFAQMnNxQ+vXkTu+VstVVwZMJGdOYyZrQh2U lrR/hGtmt8OpI3CSlpyuqW5U8vUhwneYS6hum04= X-Received: by 2002:a05:6000:1845:b0:32d:a431:9045 with SMTP id c5-20020a056000184500b0032da4319045mr10462910wri.30.1699268702575; Mon, 06 Nov 2023 03:05:02 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id k9-20020a056000004900b0032dbf26e7aesm8956250wrx.65.2023.11.06.03.05.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:05:02 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , LIU Zhiwei , Richard Henderson , Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza Subject: [PULL 12/60] target/riscv: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h' Date: Mon, 6 Nov 2023 12:02:44 +0100 Message-ID: <20231106110336.358-13-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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, T_SCC_BODY_TEXT_LINE=-0.01 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org CPU_RESOLVING_TYPE is a per-target definition, and is irrelevant for other targets. Move it to "cpu.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: LIU Zhiwei Reviewed-by: Richard Henderson Message-Id: <20231013140116.255-6-philmd@linaro.org> --- target/riscv/cpu-qom.h | 1 - target/riscv/cpu.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/riscv/cpu-qom.h b/target/riscv/cpu-qom.h index b9164a8e5b..b78169093f 100644 --- a/target/riscv/cpu-qom.h +++ b/target/riscv/cpu-qom.h @@ -27,7 +27,6 @@ #define RISCV_CPU_TYPE_SUFFIX "-" TYPE_RISCV_CPU #define RISCV_CPU_TYPE_NAME(name) (name RISCV_CPU_TYPE_SUFFIX) -#define CPU_RESOLVING_TYPE TYPE_RISCV_CPU #define TYPE_RISCV_CPU_ANY RISCV_CPU_TYPE_NAME("any") #define TYPE_RISCV_CPU_MAX RISCV_CPU_TYPE_NAME("max") diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index f0dc257a75..144cc94cce 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -32,6 +32,8 @@ #include "qapi/qapi-types-common.h" #include "cpu-qom.h" +#define CPU_RESOLVING_TYPE TYPE_RISCV_CPU + #define TCG_GUEST_DEFAULT_MO 0 /*