Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BFB46C54798 for ; Sat, 9 Mar 2024 11:36:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riuzo-0007rs-Hd; Sat, 09 Mar 2024 06:36:09 -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 1riuzf-0007hd-3D; Sat, 09 Mar 2024 06:36:01 -0500 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riuzd-0006rb-Cs; Sat, 09 Mar 2024 06:35:58 -0500 Received: from zero.eik.bme.hu (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id F2E584E6005; Sat, 9 Mar 2024 12:35:55 +0100 (CET) X-Virus-Scanned: amavisd-new at eik.bme.hu Received: from zero.eik.bme.hu ([127.0.0.1]) by zero.eik.bme.hu (zero.eik.bme.hu [127.0.0.1]) (amavisd-new, port 10028) with ESMTP id Zo3aDm1HTuTy; Sat, 9 Mar 2024 12:35:54 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 0529D4E6004; Sat, 9 Mar 2024 12:35:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 036697456B4; Sat, 9 Mar 2024 12:35:54 +0100 (CET) Date: Sat, 9 Mar 2024 12:35:53 +0100 (CET) From: BALATON Zoltan To: Nicholas Piggin cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Peter Maydell , Daniel Henrique Barboza , clg@kaod.org Subject: Re: [PATCH v7 02/10] target/ppc: Readability improvements in exception handlers In-Reply-To: Message-ID: References: <7ad2aec9-1631-6350-869f-f5f97ae97096@eik.bme.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Received-SPF: pass client-ip=2001:738:2001:2001::2001; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Thu, 29 Feb 2024, Nicholas Piggin wrote: > On Wed Feb 28, 2024 at 6:24 AM AEST, BALATON Zoltan wrote: >> On Tue, 27 Feb 2024, BALATON Zoltan wrote: >>> On Tue, 27 Feb 2024, Peter Maydell wrote: >>>> On Tue, 27 Feb 2024 at 15:10, BALATON Zoltan wrote: >>>>> >>>>> Improve readability by shortening some long comments, removing >>>>> comments that state the obvious and dropping some empty lines so they >>>>> don't distract when reading the code. >>>>> >>>>> Signed-off-by: BALATON Zoltan >>>>> Acked-by: Nicholas Piggin >>>> >>>> >>>>> - /* >>>>> - * new interrupt handler msr preserves existing ME unless >>>>> - * explicitly overridden. >>>>> - */ >>>>> + /* new interrupt handler msr preserves ME unless explicitly overriden >>>>> */ >>>> >>>> Minor typo introduced here: should be "overridden". >>>> >>>>> new_msr = env->msr & (((target_ulong)1 << MSR_ME)); >>>> >>>>> @@ -575,16 +558,10 @@ static void powerpc_excp_6xx(PowerPCCPU *cpu, int >>>>> excp) >>>>> /* new srr1 value excluding must-be-zero bits */ >>>>> msr = env->msr & ~0x783f0000ULL; >>>>> >>>>> - /* >>>>> - * new interrupt handler msr preserves existing ME unless >>>>> - * explicitly overridden >>>>> - */ >>>>> + /* new interrupt handler msr preserves ME unless explicitly overriden >>>>> */ >>>> >>>> Ditto, and similarly for other instances later in the patch. >>> >>> Huh, sorry, don't know how I've lost that letter. It also seems that the last >>> patch gone missing from the series somehow so if it does not turn up, I can >>> resend it with these fixed. >> >> As the last patch did not turn up I've resent just that to complete this >> v7 series. Do I need to send v8 or if these typos are the only change >> needed maybe they could be fixed up during merge. > > I should be okay to do it. Was this merged then? If not then ping as well. Regards, BALATON Zoltan