RE: [PATCH v9] kallsyms: Add self-test facility

From: David Laight
Date: Fri Dec 16 2022 - 10:25:56 EST


From: Andreas Schwab <schwab@xxxxxxxxxxxxxx>
> 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)