From nobody Sun Apr 6 06:35:52 2025 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=1737669521; cv=none; d=zohomail.com; s=zohoarc; b=VtawiqORsw81Ym2AekiQ0giqo+wYvhXbFlVyhEajwPsA84+KLiC7U0/9Slh/1iLtq/RMzixtx6vD6ioOYgFhsTG1n9Oy0aOZs23quNkBlD0qlpxy7Sd5usXYoylWYKHt//1jAD5/VT5dy9BJd4gEhLHXSN6VAeczQjpX2+K1hhw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1737669521; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=DgByrMylZY256tTsI6R1dbeQexynJICQtGDxrv9XG/o=; b=bIuHywOdlKnoLPhs3qseILO++6eFHjHf/ZZxcRU3lzXNc4JmfdpY2SWuu0TxQbjjJFpr1hfLj7tzM3qe/gLGmu0FCCtoEecE3rkPkLglHCCb6ftEZPTZfbOrwoOureoXgQOoBnx75zGHmUejlHOG3EPA1vi2ZNXk0iEBS1tR8wU= 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 1737669521370291.8326538525033; Thu, 23 Jan 2025 13:58:41 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tb5Cw-0006Ic-E3; Thu, 23 Jan 2025 16:57: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 1tb5CN-00059Y-9M for qemu-devel@nongnu.org; Thu, 23 Jan 2025 16:57:15 -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 ) id 1tb5CL-0002sl-Pr for qemu-devel@nongnu.org; Thu, 23 Jan 2025 16:57:14 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso10466985e9.2 for ; Thu, 23 Jan 2025 13:57:13 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1c4199sm767716f8f.89.2025.01.23.13.57.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Jan 2025 13:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737669432; x=1738274232; 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=DgByrMylZY256tTsI6R1dbeQexynJICQtGDxrv9XG/o=; b=tlIglBuXQLVek3lkFg/zcllYypQFQQ2M3sDaEaEcFow4qpkIWYLXbreBoFqig9IOzG lOcMVAEoVG16xB+GlO4vVpyzziTAVBPk4PeuavTubO1VaZRMnU7Ksdbuj7JUTrJnGypI 6FnMc76zGiyaiJeSMOQsLsvnY62odrz+0s1HOLeZcHSAfyYIopy3sf3HhknUaj2udmFh j4OwqAoP3774S9SdM2BJfuo+A8gq1KdO7g7c4zEu3oVWxto7fbeAUxM/4Ybj7yJttmmA BV4yMpAU21xDdAXS1Gk+Zu2Eq8ffwWswWWjMYMaJwcuai/UOPLGOBpRjfWBpad2klF5H RA5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737669432; x=1738274232; 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=DgByrMylZY256tTsI6R1dbeQexynJICQtGDxrv9XG/o=; b=vwh916pYZBRYs5+sIEzeMQyrMimxJ/s09DN/hPiAdL4ZpMyJ3EOheOUXyLJuavomvX FLfGyfozsGqkgMTN+Chr6Ct0zmlTOZEZPXEORRdYESsDRTUVvpJDw61cFsOOQvmtqt1K PmPPI0CVfDNGdmmSUSpbyN5I/iytumRFyXVm1H2UpkzxAnzdbSeDRWBHpZVN2xyEDgiY HEtJID+YbnGkLMfSx6VWh/P8urrBTW+TM2hwzubGqQ4sGoYdbM3KCy9p7Hcjf76wwhMf yITKH5dZQs2YedOZxfz0EBrZZbq6tZH6ax27ttIfwqOVsmElYu+LocaLSgADgemvYE3F 9B6A== X-Gm-Message-State: AOJu0Yw3dkHpQF30WOQRqpmAfBVPjvKB8WBkdmlq7emnrqEedTa/5HFs eJiI6AOfWWVvJWqb27+QVq9OIj/6xio+uOe+QqRtlR5Dv2cUfIcBGWxH6MDYg6qiXGUZ/hFkyxR yhcU= X-Gm-Gg: ASbGncs/fU9Hp/zBVoi8VpwzfoEXzEtPzRnUqJ9EiSht/61iEXFMb9l7YUjh0GTIQQj tWlIxap7yjBMYSZdDYrk3Tt1L82eS6zSdofG74PlEAP2dXUoe9Qi9s7Mne6nTRjvdugbamJhs6c ogUN0KU3Cog7y+zENjIw2aWl7lW6a8kDxgpmHk2OBbZsiyeVtg3eLrCqDpjnNNHElnVe/7PHpAH KXLZvCt6YrS5CTG8Fd078GeQTCJqiL22Xv1UsQ8A40Vwn3amEqS7QTF+WN+wDRGcNEP26XBl9JA +9j3sS3hTxkWcihJnW7qtJqmCQfi0wv9PSTMyXu1xqgnYQ1OUvb9lAo= X-Google-Smtp-Source: AGHT+IEXYVUhxvMV3v4ralVdPOnXVAfWJT07F57AqixKSNpLH98uhHOtv/W4UYD5IgBQHDil2m9rKw== X-Received: by 2002:adf:ef8d:0:b0:385:f060:b7fc with SMTP id ffacd0b85a97d-38bf5674b55mr24331438f8f.25.1737669432092; Thu, 23 Jan 2025 13:57:12 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , Harsh Prateek Bora , Richard Henderson , qemu-ppc@nongnu.org, Nicholas Piggin , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 12/15] target/ppc: Fix style in excp_helper.c Date: Thu, 23 Jan 2025 22:56:06 +0100 Message-ID: <20250123215609.30432-13-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250123215609.30432-1-philmd@linaro.org> References: <20250123215609.30432-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::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: 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: 1737669523674019100 Fix style in do_rfi() before moving the code around. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/ppc/excp_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index 48e08d65bd7..661d9650d9f 100644 --- a/target/ppc/excp_helper.c +++ b/target/ppc/excp_helper.c @@ -2481,8 +2481,9 @@ static void do_rfi(CPUPPCState *env, target_ulong nip= , target_ulong msr) msr &=3D ~(1ULL << MSR_POW); =20 /* MSR:TGPR cannot be set by any form of rfi */ - if (env->flags & POWERPC_FLAG_TGPR) + if (env->flags & POWERPC_FLAG_TGPR) { msr &=3D ~(1ULL << MSR_TGPR); + } =20 #ifdef TARGET_PPC64 /* Switching to 32-bit ? Crop the nip */ --=20 2.47.1