From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A7537C43334 for ; Thu, 9 Jun 2022 07:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NrlyURU5w3auLv/s6YfGcIUh1v+Tf4w6tucLeKvhvvY=; b=K+T+giN5X7DQW91b+LzQbHP0UT 5EaYwegEqHIjvUFksfiWOLhBSeYfW4Ffdk4jylLeeQ4GcoLn7i8YNb6TvT2Z+XRbsVr4gPVR7Ju9J z3fPYse0nWR31EM9lqwPnw9j2Jk3pt0plCzEbzYPBJTFr1aS9ClFQWyIKl2sjWwyF94nHT8sDbaQP 1H/WOxGY1OulX2L3FyIr71vDJe0O1CWBpgl1FornUvrhcY4OfkdmsNga8b6gS7LR9mvA40sI8Ii+t zZHABjjJOp3lb44FhhXGM+8CjBa4WRL7+tUlQ3gmJ2MwXcM5atOPwlPBE1Dy9fX9KRNA4B8tSIEtg 1wlM2sCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzCOj-00HJXE-FZ; Thu, 09 Jun 2022 07:16:05 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzCOg-00HJVO-Ke for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 07:16:03 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4139761DE9; Thu, 9 Jun 2022 07:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF2A9C34114; Thu, 9 Jun 2022 07:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654758959; bh=NG/eabw9jVj7x05YQvBzlCpyI4tsFerhEKbMqoDpfsM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ewziE96mdeiMcGiruA/M9JegVbCJTTSt56rB8qTdKDDbdWJgWxprp1wLyzcWXGf+r OGJM0YuwEP3lKN0HkZeweN/JcS/y6xGLE3dwewS7mYsiNe8Cq51qsDDbV7lzZ8B6l6 eaBYWuRW0kk8Slzq+4NNf66ImBfdfzjgsU83VcOkn6SvcEXu4Tc/+kndT6w8W6xRwA ZNxHfNb7BFWhu9Q8rOzvQocmIiB5WJXrEG2TzbUjrx+IQ73dvGBiCXP34Yu0QtEiJW 74BdZjJ8nJvSVBj76SzkB28SDtbMY6JQIfgm249zDFwVZljEtFaEPHFJuhRapNjGyG WELlVcItHczpg== Date: Thu, 9 Jun 2022 09:15:55 +0200 From: Wolfram Sang To: Geert Uytterhoeven Cc: Magnus Damm , Yoshihiro Shimoda , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes Message-ID: Mail-Followup-To: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Yoshihiro Shimoda , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_001602_752235_388EDE98 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6459679578867269264==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6459679578867269264== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p6QiIvsSY5cZUmZV" Content-Disposition: inline --p6QiIvsSY5cZUmZV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 08, 2022 at 05:14:21PM +0200, Geert Uytterhoeven wrote: > Reduce the sizes of the rcar_sysc_area and rcar_gen4_sysc_area > structures: > - parent is in the range [-1..32] or [-1..64], so s8 is sufficient, > - flags needs just 3 bits (for now), so u8 is plenty. >=20 > This reduces kernel size by: > - 288 bytes for an R-Car Gen1+Gen2 kernel (arm32), > - 1772 bytes for an R-Car Gen3+Gen4 kernel (arm64). >=20 > Signed-off-by: Geert Uytterhoeven Nice! Dunno how to verify the parent ranges, but my Spider board boots fine with it. So Tested-by: Wolfram Sang --p6QiIvsSY5cZUmZV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmKhnisACgkQFA3kzBSg KbYMhw//QxAZd7geaCkPGtKubdmMVvAROBna1EXyRtTOL5CDRk0mo6It+3kzXCOY k9GJ7dOkoQqs9vjslaFERUd6FRi2rtWDn3SkaxGN9xyHqJosQg7OykVR7iqFoEyC NogL3P8yscuvuwvfI+acrNq3h/7POMY6rciq6ZvED3LzyrJ5OJe7XqiwtFvkYNlW L6SDz/9XvetdNTm+am639Ws29Dnbwqgo5qeqZXvZq26k6gJRqZHoREd/B8zjSFQJ zm6CENMKGtOHlBojbAkhaPuak/C+iGXQblSivnR8EkDuACX1g0ZPJ5bhzfRqs0Kg a1u7S/r8u0Vh+OWb4MPW8LSANPqcOfSsd48DJKd/HxF73lDHpbIJ032SLVzVffcC n17OMHMRi3M3u5aNR9EbaxQQA43/X1N2+Lebck8pQh3IaQiwD32xyl2cEH8bBBn2 dCgFL6q94Ajd53+c6uadTSH0IzJp5V3984gk4GXtZYOp5kEbShQK2ftsyoJzuAcG TqBJJhXZgiI5NkevXu7ATz0d70Mgqm7iNv+6XngTtB/N+1Orkt+1p4i78rY1GKwA MSs16oeYIUQYurjs5P8Ece13kvsqYY+mDkD/cWCbAdIZdz9y+EHidSt0rFQlgEQ0 +m08SlZ/E3512QAjQ0ZMRbjDi7HoKkfJ11EjCBgwoEQL+yE1GSQ= =0F6x -----END PGP SIGNATURE----- --p6QiIvsSY5cZUmZV-- --===============6459679578867269264== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6459679578867269264==--