Re: [PATCH 1/3] MIPS: ftrace: Fix N32 save registers

2021-02-13 Thread Maciej W. Rozycki
On Mon, 1 Feb 2021, Jiaxun Yang wrote: > > Thank you for your reply, and now I know. Before that, I saw the macro > > from arch/mips/include/asm/regdef.h and thought it needed to be modified > > here. But that seems have no sence. > > Please ignore this patch. > > I guess that's for uapi consider

Re: [PATCH 1/3] MIPS: ftrace: Fix N32 save registers

2021-01-31 Thread Jiaxun Yang
On Mon, Feb 1, 2021, at 9:12 AM, Jinyang He wrote: > On 01/31/2021 06:38 PM, Jiaxun Yang wrote: > > > > > On Sun, Jan 31, 2021, at 4:14 PM, Jinyang He wrote: > >> CONFIG_64BIT is confusing. N32 also pass parameters by a0~a7. > > Do we have NEW kernel build? > > CONFIG_64BIT assumed N64 as kerne

Re: [PATCH 1/3] MIPS: ftrace: Fix N32 save registers

2021-01-31 Thread Jinyang He
On 01/31/2021 06:38 PM, Jiaxun Yang wrote: On Sun, Jan 31, 2021, at 4:14 PM, Jinyang He wrote: CONFIG_64BIT is confusing. N32 also pass parameters by a0~a7. Do we have NEW kernel build? CONFIG_64BIT assumed N64 as kernel ABI. -Jiaxun Hi, Jiaxun, Thank you for your reply, and now I know. B

Re: [PATCH 1/3] MIPS: ftrace: Fix N32 save registers

2021-01-31 Thread Jiaxun Yang
On Sun, Jan 31, 2021, at 4:14 PM, Jinyang He wrote: > CONFIG_64BIT is confusing. N32 also pass parameters by a0~a7. Do we have NEW kernel build? CONFIG_64BIT assumed N64 as kernel ABI. -Jiaxun > > Signed-off-by: Jinyang He > --- > arch/mips/kernel/mcount.S | 4 ++-- > 1 file changed, 2 in

[PATCH 1/3] MIPS: ftrace: Fix N32 save registers

2021-01-31 Thread Jinyang He
CONFIG_64BIT is confusing. N32 also pass parameters by a0~a7. Signed-off-by: Jinyang He --- arch/mips/kernel/mcount.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/kernel/mcount.S b/arch/mips/kernel/mcount.S index cff52b2..808257a 100644 --- a/arch/mips/kernel