Re: [PATCH] soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> 
> 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).
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Nice! Dunno how to verify the parent ranges, but my Spider board boots
fine with it. So

Tested-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux