fix(rcar3): disable stack protector for functions in SRAMDisable the BL31 stack protector for all functions placed in SRAM,because the canary value in __stack_chk_guard in DRAM can not beread whe
fix(rcar3): disable stack protector for functions in SRAMDisable the BL31 stack protector for all functions placed in SRAM,because the canary value in __stack_chk_guard in DRAM can not beread when running Suspend To RAM code from SRAM. The SSP functionsin DRAM can also not be called from that code. Make sure the codein SRAM is self-contained by marking rcar_pwrc_go_suspend_to_ram()as noinline. To assure the stack protector is active otherwise,use no_stack_protector function attribute for the select functionswhich are placed in SRAM.Change-Id: Idc43e70fd5217ea130a48c46f227a37c568dc8bdFixes: cfa466ab733f ("feat(rcar3): enable the stack protection")Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com>Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>Signed-off-by: Dien Pham <dien.pham.ry@renesas.com>Signed-off-by: Hieu Nguyen <hieu.nguyen.dn@renesas.com>Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
show more ...
drivers: renesas: delay: Move to commonMove delay driver code to common directory, so that the samecode can be re-used by both R-Car Gen3 and RZ/G2 platforms.Signed-off-by: Biju Das <biju.das.jz
drivers: renesas: delay: Move to commonMove delay driver code to common directory, so that the samecode can be re-used by both R-Car Gen3 and RZ/G2 platforms.Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>Change-Id: I5e806bd0e0a0a4b436048513b7089db90ff9805f