[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ba1fadb39994a4d91edabdfd9d69fa6@AcuMS.aculab.com>
Date: Fri, 16 Dec 2022 15:25:42 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Andreas Schwab' <schwab@...ux-m68k.org>
CC: "'Leizhen (ThunderTown)'" <thunder.leizhen@...wei.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
"live-patching@...r.kernel.org" <live-patching@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Masahiro Yamada" <masahiroy@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
"Jiri Olsa" <jolsa@...nel.org>, Kees Cook <keescook@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Luis Chamberlain <mcgrof@...nel.org>,
"linux-modules@...r.kernel.org" <linux-modules@...r.kernel.org>,
"Steven Rostedt" <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
"Jason A. Donenfeld" <Jason@...c4.com>
Subject: RE: [PATCH v9] kallsyms: Add self-test facility
From: Andreas Schwab <schwab@...ux-m68k.org>
> Sent: 16 December 2022 15:20
>
> On Dez 16 2022, David Laight wrote:
>
> > 'cs' and 'ct' should be input parameters.
>
> They are (and output as well).
Right, but the 'output' values aren't needed and get
discarded because the asm block in inside a static inline.
It could be a recipe just waiting to go wrong.
But I bet the actual problem is the output register
aliasing one of the inputs and then reading from very
low user addresses - I bet they don't fault on m68k.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists