* PTI build regression with nvidia drivers
@ 2018-01-04 18:17 Kees Cook
2018-01-04 18:25 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2018-01-04 18:17 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML
Hi,
This was pointed out in a few places, but not forwarded to lkml yet that I saw:
https://devtalk.nvidia.com/default/topic/1028222/linux/lts-kernel-patch-for-intel-cpu-vulnerability-breaks-nvidia-driver/post/5230546
Before and after PTI, cpu_tlbstate is a GPL export:
$ git show v4.14:arch/x86/mm/init.c | grep cpu_tlbstate
DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate) = {
EXPORT_SYMBOL_GPL(cpu_tlbstate);
But after PTI, inlining or something is dragging cpu_tlbstate into the
open, causing build failures.
Technically, to avoid regressions for that module, we'll need to drop
the GPL marking on that symbol, or find some other solution...
-Kees
--
Kees Cook
Pixel Security
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PTI build regression with nvidia drivers
2018-01-04 18:17 PTI build regression with nvidia drivers Kees Cook
@ 2018-01-04 18:25 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2018-01-04 18:25 UTC (permalink / raw)
To: Kees Cook; +Cc: LKML, Peter Zijlstra, Andy Lutomirski, x86
On Thu, 4 Jan 2018, Kees Cook wrote:
>
> This was pointed out in a few places, but not forwarded to lkml yet that I saw:
>
> https://devtalk.nvidia.com/default/topic/1028222/linux/lts-kernel-patch-for-intel-cpu-vulnerability-breaks-nvidia-driver/post/5230546
>
> Before and after PTI, cpu_tlbstate is a GPL export:
>
> $ git show v4.14:arch/x86/mm/init.c | grep cpu_tlbstate
> DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate) = {
> EXPORT_SYMBOL_GPL(cpu_tlbstate);
>
> But after PTI, inlining or something is dragging cpu_tlbstate into the
> open, causing build failures.
>
> Technically, to avoid regressions for that module, we'll need to drop
> the GPL marking on that symbol, or find some other solution...
Correct. It's indirect via the tlbflush inlines. We'll fix it as usual. Sigh....
Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-04 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 18:17 PTI build regression with nvidia drivers Kees Cook
2018-01-04 18:25 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®