Re: [PATCH] MIPS: Remove function size check in get_frame_info()

From: Paul Burton
Date: Mon Feb 04 2019 - 18:16:48 EST


Hello,

Jun-Ru Chang wrote:
> Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of
> microMIPS function size.") introduces additional function size
> check for microMIPS by only checking insn between ip and ip + func_size.
> However, func_size in get_frame_info() is always 0 if KALLSYMS is not
> enabled. This causes get_frame_info() to return immediately without
> calculating correct frame_size, which in turn causes "Can't analyze
> schedule() prologue" warning messages at boot time.
>
> This patch removes func_size check, and let the frame_size check run
> up to 128 insns for both MIPS and microMIPS.
>
> Signed-off-by: Jun-Ru Chang <jrjang@xxxxxxxxxxx>
> Signed-off-by: Tony Wu <tonywu@xxxxxxxxxxx>
> Fixes: b6c7a324df37b ("MIPS: Fix get_frame_info() handling of microMIPS function size.")

Applied to mips-fixes.

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@xxxxxxxx to report it. ]