From nobody Tue Feb 10 14:33:19 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1556259133; cv=none; d=zoho.com; s=zohoarc; b=nDet9xgkQ4d4wOPkcgv6TXqX/47p839FEVjGM1yYI+3AP//P9l40gLhwQCsYOGQrJFFcNIw4XRCU5R6RBQ6QMG7ZumYrDvs1cnDTAgZAN9L1jBEVWut+bdFEPbt+QaEAb+4HUbgzvYZTgMY/kBhLWdj/gWSuCLC/uadXI39B6AM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556259133; 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:ARC-Authentication-Results; bh=3yIW10pr0RMQzLFBcFPHKXLSeXpFlZr1LZRv/NEC9mM=; b=VMcQGliXNCD4iXJ15PUuHec1ztwJh7mh4pzOw572YscKlvxxPou15CQGpJm6V06XlvMwkUZXlMH7OAHr/K9BUkCg2319IwF06rQa1mcbfLP/JdztiYc/mfcbzgkKO6Yp8BPzG3oGgYrGTNsFw1spKzRBP+d3nj45XCRAXbd3XRQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1556259133195631.6314720206791; Thu, 25 Apr 2019 23:12:13 -0700 (PDT) Received: from localhost ([127.0.0.1]:39947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJu5k-0001qP-3o for importer@patchew.org; Fri, 26 Apr 2019 02:12:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJu0X-0005SY-Oj for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJu0W-0004Pa-Dp for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:06:49 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:52541 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJu0W-0004KA-0X; Fri, 26 Apr 2019 02:06:48 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 44r3Tl64t7z9sNF; Fri, 26 Apr 2019 16:06:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1556258795; bh=nqNDqkW1fiFWpWPWQ7vYzgSIzPctpLlz0O+Uu0pu5gU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oTubyzoebfNg5DQ52bwb1cyeEufMwyEIRLFqh5IGuAvRYOm2bR7o/6oPoGzPd71rQ Nnj2RBl1LYCPftYgis46oLMdKM1my3+CxHl7/zyqKilzlOqldIAOP1CoAja+ux1HVh kdtOkxpVVM58XroNySyM6SvbmVCiUCWTyOvQDUhc= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 26 Apr 2019 16:06:03 +1000 Message-Id: <20190426060627.18153-13-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190426060627.18153-1-david@gibson.dropbear.id.au> References: <20190426060627.18153-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 12/36] target/ppc: Style fixes for helper_regs.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gkurz@kaod.org, Greg Kurz , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, clg@kaod.org, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: David Gibson Reviewed-by: C=C3=A9dric Le Goater Reviewed-by: Greg Kurz --- target/ppc/helper_regs.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/target/ppc/helper_regs.h b/target/ppc/helper_regs.h index c863abc0bf..922da76c6c 100644 --- a/target/ppc/helper_regs.h +++ b/target/ppc/helper_regs.h @@ -44,10 +44,11 @@ static inline void hreg_swap_gpr_tgpr(CPUPPCState *env) =20 static inline void hreg_compute_mem_idx(CPUPPCState *env) { - /* This is our encoding for server processors. The architecture + /* + * This is our encoding for server processors. The architecture * specifies that there is no such thing as userspace with - * translation off, however it appears that MacOS does it and - * some 32-bit CPUs support it. Weird... + * translation off, however it appears that MacOS does it and some + * 32-bit CPUs support it. Weird... * * 0 =3D Guest User space virtual mode * 1 =3D Guest Kernel space virtual mode @@ -143,7 +144,8 @@ static inline int hreg_store_msr(CPUPPCState *env, targ= et_ulong value, /* Change the exception prefix on PowerPC 601 */ env->excp_prefix =3D ((value >> MSR_EP) & 1) * 0xFFF00000; } - /* If PR=3D1 then EE, IR and DR must be 1 + /* + * If PR=3D1 then EE, IR and DR must be 1 * * Note: We only enforce this on 64-bit server processors. * It appears that: --=20 2.20.1