Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2400585rwo; Thu, 3 Aug 2023 08:51:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4fUKOBuax+VYnnNYhwJmGEX2BFiTFpI8uC0S2s12T/cCCD5DGGHs/y/4nP2qjJWQG1pQ5 X-Received: by 2002:a05:6358:8826:b0:133:9e8:ef9a with SMTP id hv38-20020a056358882600b0013309e8ef9amr8747290rwb.28.1691077918203; Thu, 03 Aug 2023 08:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691077918; cv=none; d=google.com; s=arc-20160816; b=mpU+omdFX0AseLbHDYIuVn3METh1Fs8c7dYBGMdTGutQifa1t73vNkX89QZcTWuWEH 2XjhFYnH+kexhGMKvvyvzF8OTrpsOWQHP/UKpMq8xu/5N0791+JVyXbIpcIM1Qr8DoYa xTWVo00KHFtVYE+IzM9hJIE7xojN9+NDhJzIC8bb+sER5e/HT16Y/EQjZylMKuUuUQU+ AKvLJDxBz2eGnsirHwdFSw1zSEE2TFOUa8efH4WjVhllXIi5NjoY+lBl3ib8YKQUzlW7 YeiTNsvl76A/Ri3hZVZfo9/txQS7Cc96hjI4jlatesWoNJijIT/MdcCglfnu6Bb84m1I 4/kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ps0OX5jIdA6Pp9zgaz7sRP4v9HKZ6NOefzonsbVDzJQ=; fh=y8R/7AaZUQyfE7wEQuBpcdg5dKTE72lVHa7OYA+zPAg=; b=GA70qtaNz1l81m+whGy1ZEyV/WHzi3hGXAb/thwRF/DuGWunMMQ34s/wDRMFCzv+TL 54XJvbhREvOAeE0dyYQpmIzqlouH3eFcKA88+3X5vI7/t8So+dJkCR9PRzuuA2PwXwR7 wl0lvWn5GFJYbEMwCrN2sX8XYt05sGPUSNUMj6teJoOv9c6bPDcxCPSKI9RcRRkvvkUV y6vofmutP8SWwhQYH3paSK0nLCSIQaGptWnrSrOFdRor2kuxTXniHj+q2lNDqMhOGsEZ fXAy5oDuD27y2FByRFxVy7dHHcBOL82lIDZaGoABq25xwEmh+3FjFDBUiSlELZQqO+Ur NJ0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oaMCInws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a655bcf000000b00563c4244af9si53607pgr.722.2023.08.03.08.51.38; Thu, 03 Aug 2023 08:51:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oaMCInws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237075AbjHCPYS (ORCPT + 99 others); Thu, 3 Aug 2023 11:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237072AbjHCPYR (ORCPT ); Thu, 3 Aug 2023 11:24:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2847335B5 for ; Thu, 3 Aug 2023 08:24:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7FDAF61DF8 for ; Thu, 3 Aug 2023 15:24:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A052C433C9; Thu, 3 Aug 2023 15:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691076254; bh=ps0OX5jIdA6Pp9zgaz7sRP4v9HKZ6NOefzonsbVDzJQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oaMCInwsRoeDqbEHLfrPgnp+aUOy6ySKfMqG3jLvM1B1w/bssCUg8ro38lLKr2+dw LLgGMhGu6CNIcO7wwpT6MhayyoL9wn4ZNZDMkdoGAdsgXB+4O78vls7UaN57cFnqkA hMSehkIIbCOKlSpw4QPg+42u2mknU3l7e04nYPDOyJFexOQQqhJtwLbzibPEDyU69u FWSv4khN1rCYkcnmKkX2oYqqW0oLb/pKSidqxZEqJ8H5gLCYsgU4c4cAkk32j6SEz8 8U+ogayiYSNH0++PSZq4aKbqy4RcAos+/hmtJdHfGg6dqZ64EHnQJj++Se8MsEdz2c VCDHYE598Lp0w== Date: Thu, 3 Aug 2023 16:24:11 +0100 From: Conor Dooley To: =?utf-8?B?5pet6Lev?= Cc: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] riscv: Fix local irq restore when flags indicates irq disabled Message-ID: <20230803-sage-mongoose-2452dbe3109d@spud> References: <20230803132818.2092166-1-luxu.kernel@bytedance.com> <20230803-curtly-sandbox-9ff8c7aafb85@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qX9DtSamNXDyfInn" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qX9DtSamNXDyfInn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 03, 2023 at 11:20:53PM +0800, =E6=97=AD=E8=B7=AF wrote: > On Thu, Aug 3, 2023 at 10:36=E2=80=AFPM Conor Dooley w= rote: > > > > Hey, > > > > On Thu, Aug 03, 2023 at 09:28:18PM +0800, Xu Lu wrote: > > > When arch_local_irq_restore() is called with flags indicating irqs > > > disabled, we need to clear SR_IE bit in CSR_STATUS, whereas current > > > implementation based on csr_set() function only sets SR_IE bit of > > > CSR_STATUS when SR_IE bit of flags is high and does nothing when > > > SR_IE bit of flags is low. > > > > > > This commit supplies csr clear operation when calling irq restore > > > function with flags indicating irq disabled. > > > > > > Fixes: 6d60b6ee0c97 ("RISC-V: Device, timer, IRQs, and the SBI") > > > Signed-off-by: Xu Lu > > > --- > > > > There's no changelog or explanation, so what is the reason for the > > resend? > > > > Cheers, > > Conor. >=20 > Sorry for disturbing you. Nah, tis fine. > I haven't received any response since the patch was sent last week. I > think maintainers are busy and thus I want to have a ping. This patch > was resent because I found it is said that resending patch is one of > the methods to ping maintainers in this kernel doc: > https://www.kernel.org/doc/html/latest/process/submitting-patches.html. Right, resending is a valid way to do that - but leaving a comment about why you are resending under the --- line is advised so that people know why it is that you are resending. Thanks, Conor. --qX9DtSamNXDyfInn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZMvGmwAKCRB4tDGHoIJi 0rrnAQCkHXYxHxGxG4oSXUAxx2XZI+yqXgkHJpn/JOh0/zH7vgEAr7wOdeqv+u1Y kNMZG9HQcX1C6QNjrRueg8jYB7R5IgA= =u7Lk -----END PGP SIGNATURE----- --qX9DtSamNXDyfInn--