Fwd: s390/nospec: add an option to use thunk-extern

Joe Lawrence
2022-06-07T17:32:25Z

[ adding appropriate lists ]

-------- Forwarded Message --------
Subject: Re: s390/nospec: add an option to use thunk-extern
Date: Thu, 2 Jun 2022 08:02:20 -0400
From: Joe Lawrence <joe.lawrence@redhat.com>
To: Vasily Gorbik <gor@linux.ibm.com>

Hi Vasily,

I couldn't find the upstream patch post for 1d2ad084800e ("s390/nospec:
add an option to use thunk-extern"), so replying off-list here. Feel
free to cc the appropriate list.

Regarding this change, as I understand it, when CONFIG_EXPOLINE_EXTERN=y
out-of-tree kernel modules will need to link against
arch/s390x/lib/expoline.o, right?

And if so, shouldn't the top level 'prepare_modules' target create
expoline.o for this purpose?

Regards,
--
Joe