Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14190862pxu; Mon, 4 Jan 2021 15:44:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx21hZPVY9nGpAEVcy5/sT6khcrR5s6QRfe0TneXhqoZ7f8kndGmp4hMMJxf3OSlbk6Mc7p X-Received: by 2002:a05:6402:17:: with SMTP id d23mr20695430edu.341.1609803856800; Mon, 04 Jan 2021 15:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609803856; cv=none; d=google.com; s=arc-20160816; b=GJEe3GS86fO0iSdLTONUi8YOudOjN3EvDCddUm0WJY0b7LNTPJjmR8iE3d5XcEe5sz nLzT2NJ1hzO9jJygUMLZYyoxo9HzapHTeb7OJv72H954mrlSsXiw6/qUq9BfkYqEmpB/ MiDeLbxXamSm9mSPIYniVobrZSlY84bSO2vhVuaMt+6igcQcKQFVCtoVgb3lThlTZlAi cpuy2pSv5lIjXPgazJOmfMTkvpjgVtTkMdixl0LtGODfVZKYvWRnalhrbh6EUcxlITAz nN370hxP4LHxIDxELn/NQ471yAlHtTAUi6SXor68eC3a5Aff/j8AIrik3giw/6bLVAGv adsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=VXh94QrEehqyPr3c988F8+UEg7hXp2ycubjvj2s2dzo=; b=eLYI0Gfpr8hyDiRD23FJqG6JirsNMbRFc2ZkjI9qBDjtAIRKgDh8jrJnDvGRT19bpK vFQ8JW/gsG0d+ZaSjFO47X7VbbgZ1ztYYEhYDyjhbMZrBUB8WskVWYwlbBt3Ie8JNxy1 BN2/GCb/VlU7OfQtxLzTNhEgxoBO6UOt3GCL5cI7NbxxqZBTA5DJpHYg/xyG5aMOkz3l yPyaeMhQTf4vZ1Q25KLQdVuXgAgQ+wEFju2on9eMVBn/NbO1i+6Rztif1oVUoX79xGRh nXUHMwqVslCzSlKN/L+34pKzf2bzQwNqyYmwMUQ3Ly/zAXXUUM3udiZ7/dqvXID3ezZp eUKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz21si29827360ejb.604.2021.01.04.15.43.53; Mon, 04 Jan 2021 15:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727233AbhADXlC (ORCPT + 99 others); Mon, 4 Jan 2021 18:41:02 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:33560 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbhADXlC (ORCPT ); Mon, 4 Jan 2021 18:41:02 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id EE78A1C0B8C; Tue, 5 Jan 2021 00:40:18 +0100 (CET) Date: Tue, 5 Jan 2021 00:40:18 +0100 From: Pavel Machek To: Mark Brown Cc: "Lad, Prabhakar" , Geert Uytterhoeven , Pavel Machek , Lad Prabhakar , Jiri Kosina , Sergei Shtylyov , linux-spi , Linux Kernel Mailing List , Linux-Renesas , Chris Brandt Subject: Re: [PATCH 2/2] spi: rpc-if: Remove CONFIG_PM_SLEEP ifdefery Message-ID: <20210104234018.GA19909@amd> References: <20201230145708.28544-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20201230145708.28544-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210104213005.GK5645@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <20210104213005.GK5645@sirena.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > .name =3D "rpc-if-spi", > > > > - .pm =3D DEV_PM_OPS, > > > > + .pm =3D &rpcif_spi_pm_ops, >=20 > > > You're aware rpcif_spi_pm_ops is now always referenced and thus emitt= ed, > > > increasing kernel size by 92 bytes if CONFIG_PM_SLEEP=3Dn? > > > This may matter for RZ/A SoCs running from internal SRAM. >=20 > > Hmm didn't realise this would be an issue on RZ/A. >=20 > > Mark, could you please drop this patch from your branch. >=20 > Please send an incremental patch with an appropriate changelog. Let's fix this properly. I'm pretty sure we have some macros that can solve this without re-introducing the ifdefs... (Besides... 92 bytes. How big is kernel these days? 4MB? More? How much SRAM do you have?) Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl/zp2IACgkQMOfwapXb+vIUvwCeNviCDHyH2Q1jICAEtksWQ/tu seIAoIyfFO9DveDWbCBw43VUCXnqmAMV =Q+pX -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--