From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7C142E3AEA; Wed, 19 Nov 2025 13:05:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763557535; cv=none; b=Qv2qk/6ialp/YhXxjLx54N/DwbkDOBH7+7IMdoitFD15poUujaveiGXC2LJuRhfJvFJ5U6WFhumZw+st6OslCAIH/lo3MTD1dYTbtCeNWICIjqqzwnVyFXOfCS6lUmBcHIHZ4hcEkbr/zK1rnkfkVHHkde0g1b6ghix1HfSoGwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763557535; c=relaxed/simple; bh=bOxV0akRmRQphkd8T9wn2CINlAiaytOn/UCtqXjyjjc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=guAmzIT6xPNSey7HhyiRNMhxuMztHKuTPj9HHKEgcBSEorI1p2xiHce6LY3ztfKpFg6kPLc1gUEyUtRJCLvLxXzDZqHoc7sNTbSMVRjWaQ5g0NpMmpIqOroT4xtWS9aqbmFhh+ndFE1fohAXUfcXgXH1HcKeAgcfpRXmhK/r+HM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uBISDiEa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uBISDiEa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7481BC116B1; Wed, 19 Nov 2025 13:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763557534; bh=bOxV0akRmRQphkd8T9wn2CINlAiaytOn/UCtqXjyjjc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uBISDiEaSrr5rLUSgmDBtymBsazyAm2s34IBEQ45cPMpZyTiLWiUmqS7bprWzoifX KvJYXxk5aU+3aNgEJr+ZWwIEB+zidOLsZBCEhM0CDlFBfO29CA5otJVNYfGXI78LoC GnFNCuGuFvbuz+22lCpk4Df74S/T0SLwOHnqrdrwrCuXdCBgGCbMQwxRSe02WKBVea 1+Iz8LITHTVZpKx3EWnWfwYIjcca0mkfQ+f76myXNO8iRGtTmC1msF8iJE6gp9I9kx dv6NGhIdImfj13lNt41gsr86BXS2xKYB+PP8PlwmcGY9pTq4mxVWyRPGgkVeqt5uFI 8bq/sGnMKTdCQ== Date: Wed, 19 Nov 2025 20:47:38 +0800 From: Jisheng Zhang To: Andy Shevchenko Cc: Robert Jarzmik , Doug Berger , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Linus Walleij , Bartosz Golaszewski , Hoan Tran , Andy Shevchenko , Daniel Palmer , Romain Perier , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Kunihiko Hayashi , Masami Hiramatsu , Shubhrajyoti Datta , Srinivas Neeli , Michal Simek , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH v2 05/15] gpio: pxa: Use modern PM macros Message-ID: References: <20251118003229.26636-1-jszhang@kernel.org> <20251118003229.26636-6-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Nov 19, 2025 at 09:56:12AM +0200, Andy Shevchenko wrote: > On Wed, Nov 19, 2025 at 12:04 AM Robert Jarzmik wrote: > > Andy Shevchenko writes: > > > On Tue, Nov 18, 2025 at 2:50 AM Jisheng Zhang > > > wrote: > > ... > > > >> -#ifdef CONFIG_PM > > >> unsigned long saved_gplr; > > >> unsigned long saved_gpdr; > > >> unsigned long saved_grer; > > >> unsigned long saved_gfer; > > >> -#endif > > > > Actually this is not equivalent to what was there before. > > > > With Jisheng's patch, with CONFIG_PM disabled, he adds 16 bytes to > > the > > structure. You might thing today, 16 bytes is nothing. True, but > > on a > > 64MB RAM devices, it's something. > > > > That might not be a reason to reject the patch, but it's not only > > a > > "modernisation patch". > > Actually a good point! On the same grounds I semi-nacked the gpio-dwapb change. Hi Andy and Robert, I have explained the reason of embedding within the cleanup/modernize patch. Could you plz check? Thanks