From nobody Thu Nov 28 15:55:27 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1691468489; cv=none; d=zohomail.com; s=zohoarc; b=nSkedaeVjMPTkVxiix1cjkN/fSpZGLTS0L1hmRuNFSeUMEky9KnL+dbvWf6qn9qV7U4t0ZZoTkzxLseXp6YvSvH7W9ni6IlVqNvr9LqBORaJtLwQ3dpdySSBqCDvNPX5YykjHTdk3irn8us+Q5kpxGOIyTHsQXgFPndSUH30zgE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1691468489; h=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=GMSPw1YJzvyEAaF+rCTAxiMhu0TUhZrG1Yi0ZviLL+w=; b=QQZzogFCWOsIcMTsWSjlKRcAkzMOX0t5hlVPpHjXcxh9gyNpX5t054Rrc0msk1zZFXfp6x0at1ITCJLUsFfmTnad1QEX1YnaViaH7ioqX7UmTMitzskbJDCqismhDH+L5gWhuCSmgrq+yDL2pKz7MkbRoOSlX582gR+r4Pp0pkE= 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 1691468489804950.6575138740853; Mon, 7 Aug 2023 21:21:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTECs-0006TA-8f; Tue, 08 Aug 2023 00:20:30 -0400 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 1qTECp-0006LQ-B4; Tue, 08 Aug 2023 00:20:27 -0400 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTECn-0007ck-LY; Tue, 08 Aug 2023 00:20:27 -0400 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3a37909a64eso3643823b6e.1; Mon, 07 Aug 2023 21:20:24 -0700 (PDT) Received: from wheely.local0.net (61-68-137-140.tpgi.com.au. [61.68.137.140]) by smtp.gmail.com with ESMTPSA id fk10-20020a056a003a8a00b0068718f6a035sm6979207pfb.33.2023.08.07.21.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468424; x=1692073224; 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=GMSPw1YJzvyEAaF+rCTAxiMhu0TUhZrG1Yi0ZviLL+w=; b=bwvMhkoYYB+xWB4twPpgGGAff2eP3cAP7bB8zhWv26M7BHmBmwtkXCFy+VEXkzpdDq ttRatqxhnT29I/DFCz9SLi09//AsQVT0de8/wAuJlgTC4LAFQ0vcL0C6ysnuMGnpixcR xd4c8BBe8zg2UWanw7rWD+htAoITclSol40PKwk7LwzeFLpI2I7f5mI2V2Qhx4+WK9Ta kwx87jGE/fYEl2PcRzxw9QTmwRX1CBHZi7PmSADpi3iJ9PaBYVVvMxdsQH+pSQM4CAAd bmnGZFxVMwFHVXCbU7KPaT9EWc4ufd67gFdL9QdEqp+OGAbH/gzRx6zghXENl7wxjB5x CzSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468424; x=1692073224; 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=GMSPw1YJzvyEAaF+rCTAxiMhu0TUhZrG1Yi0ZviLL+w=; b=XOocV5teynB74X7qisnDSVFrZFxMmYq+tQCUpMIURoOfU67kM7yUM/L3ttCtfdzL3V nTYbkOvXf6b9jNjKVTG0/ONfrWSM3p5lhBrtpFEe9Adxrdit/JHUpJ4ZcVdwt/1hbuyt laP+4hLv+6MUZReOhSiMogm8imuHUaIep0M8XBwSgPyGY9NAx4lEnsNjF0uJkucdrnyH ez3QqRDvzHmq5XparJ6i1ZLFB5eN5FimVBiN0WYFiCcmWmrYnHemZT/pyRwGJ1u3zMTx va+IdwExDfZJckA3iOFCk50Lz4bqKG6yd/QLb/KXzYSQY8/tg736wtbeqc0Z3/CrMo/V Zzhg== X-Gm-Message-State: AOJu0YxUN7QBMKtT4S++UYFW3i2ALN9CM4AEyxtvIxkTt08o05mZ7GG5 DCt2GlZQR/a9/y9+VV7DH58= X-Google-Smtp-Source: AGHT+IH24Iv1u29suC0RjAdzpxIBr8U8FJdOK5z5gmnC3Qxyd7H6pGf9xs9+G3JtH8liSa49TuUY0g== X-Received: by 2002:a05:6808:3090:b0:3a7:3100:f8b9 with SMTP id bl16-20020a056808309000b003a73100f8b9mr13914274oib.31.1691468423940; Mon, 07 Aug 2023 21:20:23 -0700 (PDT) From: Nicholas Piggin To: Daniel Henrique Barboza Cc: Nicholas Piggin , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Gibson , Greg Kurz , Harsh Prateek Bora , Pavel Dovgalyuk , Paolo Bonzini , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH v2 03/19] hw/ppc/ppc.c: Tidy over-long lines Date: Tue, 8 Aug 2023 14:19:45 +1000 Message-Id: <20230808042001.411094-4-npiggin@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230808042001.411094-1-npiggin@gmail.com> References: <20230808042001.411094-1-npiggin@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::234; envelope-from=npiggin@gmail.com; helo=mail-oi1-x234.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, FREEMAIL_FROM=0.001, 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 @gmail.com) X-ZM-MESSAGEID: 1691468491262100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Nicholas Piggin --- hw/ppc/ppc.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index 0e0a3d93c3..09b82f68a8 100644 --- a/hw/ppc/ppc.c +++ b/hw/ppc/ppc.c @@ -497,7 +497,8 @@ uint64_t cpu_ppc_load_tbl (CPUPPCState *env) return env->spr[SPR_TBL]; } =20 - tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), t= b_env->tb_offset); + tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), + tb_env->tb_offset); trace_ppc_tb_load(tb); =20 return tb; @@ -508,7 +509,8 @@ static inline uint32_t _cpu_ppc_load_tbu(CPUPPCState *e= nv) ppc_tb_t *tb_env =3D env->tb_env; uint64_t tb; =20 - tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), t= b_env->tb_offset); + tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), + tb_env->tb_offset); trace_ppc_tb_load(tb); =20 return tb >> 32; @@ -565,7 +567,8 @@ uint64_t cpu_ppc_load_atbl (CPUPPCState *env) ppc_tb_t *tb_env =3D env->tb_env; uint64_t tb; =20 - tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), t= b_env->atb_offset); + tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), + tb_env->atb_offset); trace_ppc_tb_load(tb); =20 return tb; @@ -576,7 +579,8 @@ uint32_t cpu_ppc_load_atbu (CPUPPCState *env) ppc_tb_t *tb_env =3D env->tb_env; uint64_t tb; =20 - tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), t= b_env->atb_offset); + tb =3D cpu_ppc_get_tb(tb_env, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), + tb_env->atb_offset); trace_ppc_tb_load(tb); =20 return tb >> 32; @@ -1040,10 +1044,11 @@ clk_setup_cb cpu_ppc_tb_init (CPUPPCState *env, uin= t32_t freq) tb_env->flags |=3D PPC_DECR_UNDERFLOW_LEVEL; } /* Create new timer */ - tb_env->decr_timer =3D timer_new_ns(QEMU_CLOCK_VIRTUAL, &cpu_ppc_decr_= cb, cpu); + tb_env->decr_timer =3D timer_new_ns(QEMU_CLOCK_VIRTUAL, + &cpu_ppc_decr_cb, cpu); if (env->has_hv_mode && !cpu->vhyp) { - tb_env->hdecr_timer =3D timer_new_ns(QEMU_CLOCK_VIRTUAL, &cpu_ppc_= hdecr_cb, - cpu); + tb_env->hdecr_timer =3D timer_new_ns(QEMU_CLOCK_VIRTUAL, + &cpu_ppc_hdecr_cb, cpu); } else { tb_env->hdecr_timer =3D NULL; } --=20 2.40.1