Message ID | 20250113195525.57150-20-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp1601439wrc; Mon, 13 Jan 2025 11:58:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW9/iRSwL1Yo23SIAnO3iuFHk2Y5sbhq4BFuWgOcuESpFZLqCsrqUn7eZw4eVAlgFjYHvGJNQ==@linaro.org X-Google-Smtp-Source: AGHT+IHncu5EgDoxQPcrmHvZUT/OMpoCjonvMVBlIr42K1F0KKNZXVDIlupzWMDRHBBMQb6mfbub X-Received: by 2002:ac8:5916:0:b0:467:6461:e143 with SMTP id d75a77b69052e-46c710b2087mr352651701cf.33.1736798284287; Mon, 13 Jan 2025 11:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736798284; cv=none; d=google.com; s=arc-20240605; b=PE7MdVsuh2DitMgP91s5gYaQ1F8DG9EY4I4t/XOGo194cm0UO+Ax8uJ0IgjhRJgWbb 32cNjesqHg45BdsW2qhK5RMQ4dvULp9pSM80QP49GkJPVkidtGx+WXvggSXkGfQW/aJ7 TC0+RLwdcwlLK2ZoE204+HIBdo9Eth0PonJ1ef6HxL4NwybBn5X7mzO4IFBTiuLafeK1 HkS/7AFP9pEiqm+NTQpE7kRe1gr+2aU5BEdQIA8U1YNteNBadlIiUII16qhgdedIFC+V fVOM0qehDiDb+5nJrKRbZDwDt1QevJ9QHrC71VInOV1QT24AQRQPoNq0eaIUBSV/PJ7O 9c6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=yhUm8v193I9EdTSFs2V5uFdqWMCeU2Ex/j1HBHwMUik=; fh=wMwPlu6s3WDa+luMUca6ONpSmNJKUwF5E3uCFeq1PI4=; b=k+bjDPwwi+IvbE0Dtt7TjOIA2+Py1vYQxz+bxQp+ta4IAAWaLjPzrUG5OebYilKX2x PeOUa6gKZz9rOoSWfqkxA2XPMV28tHkcVR0yYcIEhCpDPlgtarWSaCIa1I/pdNrsQd2O h4F6n12UC3UTmdHsdf6qG1+gON/hAL/6w9BpX+xIZnsq3Em/VY3fDOgkl225LsvtXn5X pphw1ncZe3xec39pPOSSa7iuvPcI0SM3xSHShEigEpc3mSOlRDE4WsckK7d0Z6ncvRUe kSXXBbGYlCN6itTMdM4n2hNr9i3n3FX+NpGqqGu+Hy32/cig0FZs5LR5bHpDwBMOUGw3 fZFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uobbNsxI; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-46c873fc93esi94462651cf.434.2025.01.13.11.58.04 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jan 2025 11:58:04 -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=uobbNsxI; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tXQYh-00088h-Dw; Mon, 13 Jan 2025 14:57:11 -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 <philmd@linaro.org>) id 1tXQYd-0007he-4C for qemu-devel@nongnu.org; Mon, 13 Jan 2025 14:57:07 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tXQYb-0007Xj-IN for qemu-devel@nongnu.org; Mon, 13 Jan 2025 14:57:06 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-43622267b2eso50008235e9.0 for <qemu-devel@nongnu.org>; Mon, 13 Jan 2025 11:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736798223; x=1737403023; 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=yhUm8v193I9EdTSFs2V5uFdqWMCeU2Ex/j1HBHwMUik=; b=uobbNsxIy1JMT+WHeQEk53rpwxCFw0dvPfdzMj1eVrzt2bHXU8N75+lEAUaGJ3PsYL dYK2on7ZFHlwRIXFCTGfWpA5OAaH9JHWBAmkzmi4uBPnXR9xTGGICT9m5+GbnRnfg1qG Qxx1Jwohe0sIgs3MJo7fqa5yMCGqrl57b4dsjZeskYip6X98oJx72LZDqg98eEhr5hQP 2HsPfxxUTPYmmBH19LxOYOhPt2cNDcwJ46kgvXBvaTV5TYx48ZwdRp/cC5qK5xhSKdIC k13BqyHH0dVSyKTHkM0mpVV/cb47Cphh6YrIngsf1NW92zkG/s2pAGOpkTg2FBtC55rn ECKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736798223; x=1737403023; 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=yhUm8v193I9EdTSFs2V5uFdqWMCeU2Ex/j1HBHwMUik=; b=TrCI/r1D3rROU4ip8+oGn2FoptxC+ng2AbEWEDstWcm489pQ0OjRchKLRhnfeVS8gv mocObZuotSPXqj3oTYAYmZAaO971lRGAbBl0y29xkBQ0suJc9yc+50Yj3xYIm+yWsCjH C7nqgC9QBdGz5Ktr8LFyCKCcBYzVblk5Pq+AR/9xN4frSsMElL68rmI100uPtR2tA5Ic q4XGN/wftx17g70tkI+xtCN4k4yVImAE3gHLJqoIuA6/VNz8s7dBAPGNGPIeFsqz56ZT aDaVnh9ksDFJE8y32JYkpdCgkff7T83I/3rP25xWT+jAS9jTL0mFWOgcqZRRmyV0Nepw CKEA== X-Gm-Message-State: AOJu0YzSocPlo50reW8aEw+wLPpuTYr/fB7szlPGZSVEY8QOsE4vMvxW H0O+5fCla+BsdpIY3h0x54AhN8s4S2v0KBFOBqZspXUEQnr7iOLd7w02HEBe8X+k+AUF7evTfW7 OLNQ= X-Gm-Gg: ASbGnctneSNL2+zc+vP5k3BRS12hBxJNFvYJaCt8hn9fRs8nbHT/wBDS6RXZE0A3Qr3 Sc9S7XS9OPrNCCB8ctHzlkYLrKY4z/j7I9ALGW9COryfyAm/vNDVX6VaU2fHSWMT1UnWyylxwBu AJNi1a2x8IO0V8U/9WPE7PbCcFkBNdRb0Tl6JtN5U6SMmDt0kdbwZP7zeniPDVMIqph9SkmFHKM hHe4OJxcbL+AVX8qx9nm128AWOJMx96YklJFI2ypdQ/r/AtSTCXn66D3xEjudd7LGclWw1J8tKu HXJKfqfzO/pnAGS249diu8CcbDeJ/bU= X-Received: by 2002:a7b:c4c9:0:b0:436:f960:3428 with SMTP id 5b1f17b1804b1-436f96034b3mr65720775e9.29.1736798223570; Mon, 13 Jan 2025 11:57:03 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2da66fcsm189336025e9.6.2025.01.13.11.57.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Jan 2025 11:57:03 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Paul Burton <paulburton@kernel.org>, Aurelien Jarno <aurelien@aurel32.net>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Huacai Chen <chenhuacai@kernel.org> Subject: [PATCH v2 19/19] hw/mips/bootloader: Remove use of &first_cpu in bootcpu_supports_isa() Date: Mon, 13 Jan 2025 20:55:25 +0100 Message-ID: <20250113195525.57150-20-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250113195525.57150-1-philmd@linaro.org> References: <20250113195525.57150-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
hw/mips: Remove all uses of &first_cpu
|
expand
|
diff --git a/hw/mips/bootloader.c b/hw/mips/bootloader.c index f02e5aabe48..1969610224d 100644 --- a/hw/mips/bootloader.c +++ b/hw/mips/bootloader.c @@ -51,7 +51,7 @@ typedef enum bl_reg { static bool bootcpu_supports_isa(const CPUMIPSState *env, uint64_t isa_mask) { - return cpu_supports_isa(&MIPS_CPU(first_cpu)->env, isa_mask); + return cpu_supports_isa(env, isa_mask); } static void st_nm32_p(void **ptr, uint32_t insn)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/mips/bootloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)