public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 4.14.9 broke nvidia 384.98 kernel module
@ 2017-12-29  1:08 Hans-Peter Jansen
  2017-12-29  9:23 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Peter Jansen @ 2017-12-29  1:08 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hi Greg,

I know, everybody hates NVidia and their proprietary stuff around here.

Anyway, I wanted to let you and followers of 4.14 know, that changes between 
4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:

	https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-/

Reading though the changelog of 4.14.9, I would call this release courageous 
;-)

Cheers,
Pete

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.14.9 broke nvidia 384.98 kernel module
  2017-12-29  1:08 4.14.9 broke nvidia 384.98 kernel module Hans-Peter Jansen
@ 2017-12-29  9:23 ` Greg KH
  2017-12-30 12:36   ` Hans-Peter Jansen
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2017-12-29  9:23 UTC (permalink / raw)
  To: Hans-Peter Jansen; +Cc: linux-kernel

On Fri, Dec 29, 2017 at 02:08:08AM +0100, Hans-Peter Jansen wrote:
> Hi Greg,
> 
> I know, everybody hates NVidia and their proprietary stuff around here.
> 
> Anyway, I wanted to let you and followers of 4.14 know, that changes between 
> 4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:
> 
> 	https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-/

Should be fixed in 4.14.10-rc1, right?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.14.9 broke nvidia 384.98 kernel module
  2017-12-29  9:23 ` Greg KH
@ 2017-12-30 12:36   ` Hans-Peter Jansen
  2017-12-30 14:18     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Peter Jansen @ 2017-12-30 12:36 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

On Freitag, 29. Dezember 2017 10:23:56 Greg KH wrote:
> On Fri, Dec 29, 2017 at 02:08:08AM +0100, Hans-Peter Jansen wrote:
> > Hi Greg,
> > 
> > I know, everybody hates NVidia and their proprietary stuff around here.
> > 
> > Anyway, I wanted to let you and followers of 4.14 know, that changes
> > between> 
> > 4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:
> > 	https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compilin
> > 	g-v384-98-modules-with-linux-v4-14-9-/
> Should be fixed in 4.14.10-rc1, right?

Hmm, building with 4.14.10 without the patch results in:

[   19s] + make -f Makefile nv-linux.o SYSSRC=/lib/modules/4.14.10-3-
default/source SYSOUT=/usr/src/linux-obj/x86_64/default
[...]
[   88s] /home/abuild/rpmbuild/BUILD/nvidia-
gfxG04-384.98/obj/default/384.98/nvidia-uvm/uvm8_va_block.c:8771:41: error: 
implicit declaration of function 'task_stack_page' [-Werror=implicit-function-
declaration]

With the patch applied (attached for reference), the build succeeds..

Cheers,
Pete

[-- Attachment #2: nvidia-gfxG04-kernel-4.14.9.patch --]
[-- Type: text/x-patch, Size: 458 bytes --]

diff -durN nvidia-384-orig/nvidia-uvm/uvm8_va_block.c nvidia-384/nvidia-uvm/uvm8_va_block.c
--- a/kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:17.097715622 +0100
+++ b/kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:29.674381760 +0100
@@ -36,6 +36,10 @@
 #include "uvm8_perf_prefetch.h"
 #include "uvm8_mem.h"
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,9)
+#include <linux/sched/task_stack.h>
+#endif
+
 typedef enum
 {
     BLOCK_PTE_OP_MAP,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.14.9 broke nvidia 384.98 kernel module
  2017-12-30 12:36   ` Hans-Peter Jansen
@ 2017-12-30 14:18     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-12-30 14:18 UTC (permalink / raw)
  To: Hans-Peter Jansen; +Cc: linux-kernel

On Sat, Dec 30, 2017 at 01:36:33PM +0100, Hans-Peter Jansen wrote:
> On Freitag, 29. Dezember 2017 10:23:56 Greg KH wrote:
> > On Fri, Dec 29, 2017 at 02:08:08AM +0100, Hans-Peter Jansen wrote:
> > > Hi Greg,
> > > 
> > > I know, everybody hates NVidia and their proprietary stuff around here.
> > > 
> > > Anyway, I wanted to let you and followers of 4.14 know, that changes
> > > between> 
> > > 4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:
> > > 	https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compilin
> > > 	g-v384-98-modules-with-linux-v4-14-9-/
> > Should be fixed in 4.14.10-rc1, right?
> 
> Hmm, building with 4.14.10 without the patch results in:
> 
> [   19s] + make -f Makefile nv-linux.o SYSSRC=/lib/modules/4.14.10-3-
> default/source SYSOUT=/usr/src/linux-obj/x86_64/default
> [...]
> [   88s] /home/abuild/rpmbuild/BUILD/nvidia-
> gfxG04-384.98/obj/default/384.98/nvidia-uvm/uvm8_va_block.c:8771:41: error: 
> implicit declaration of function 'task_stack_page' [-Werror=implicit-function-
> declaration]
> 
> With the patch applied (attached for reference), the build succeeds..

That's not an issue I can do anything about, that's an nvidia driver
problem :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-30 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29  1:08 4.14.9 broke nvidia 384.98 kernel module Hans-Peter Jansen
2017-12-29  9:23 ` Greg KH
2017-12-30 12:36   ` Hans-Peter Jansen
2017-12-30 14:18     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox