Re: [PATCH v2 0/4] MIPS: process: Some fixes and improvements about get_frame_info()

From: Thomas Bogendoerfer
Date: Tue Jan 26 2021 - 01:02:22 EST


On Thu, Jan 21, 2021 at 01:31:34PM +0800, Jinyang He wrote:
> Not familiar with microMIPS. Not test on microMIPS.
>
> Changelog v2:
> - Thanks to Thomas for suggesting that remove and sort header includes.
> [PATCH 1/4] for details.
> - Thanks to Jiaxun for test v1 and told me it stuck at loading init.
> I mistakenly thought that r_format.rs and pool32a_format.rs are the same.
> See [PATCH 4/4] for details.
>
> Jinyang He (4):
> MIPS: process: Remove unnecessary headers inclusion
> MIPS: microMIPS: Fix the judgment of mm_jr16_op and mm_jalr_op
> MIPS: Fix get_frame_info() handing of function size
> MIPS: Add is_jr_ra_ins() to end the loop early
>
> arch/mips/kernel/process.c | 87 ++++++++++++++++++++++++++--------------------
> 1 file changed, 50 insertions(+), 37 deletions(-)

I've re-added linux/random.h and asm/mips-cps.h in your first patch and
applied all four patches to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]