Public bug reported:
[Impact]
...
In file included from
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function
‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing
argument 1 of ‘get_user_pages_remote’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages,
flags,
| ^~~
| |
| struct task_struct *
...
[Fix]
Apply the attached fix.
[How to test]
Install (and build) the patched packet.
[Regression potential]
The fix is composed of two patches:
1) the first patch simply garbage collect a reference to a function that
was never used but that had the API changed in Linux 6.5 - so, it's a
trivial change.
2) the second patch actually reimplement part of the vma scanning that was
removed in __get_user_pages_locked() in upstream commit
b2cac248191b7466c5819e0da617b0705a26e197 "mm/gup: removed vmas
array from internal GUP functions" - here is where most likely any regression
could be found.
** Affects: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Undecided
Status: New
** Affects: nvidia-graphics-drivers-390 (Ubuntu Mantic)
Importance: Undecided
Status: New
** Description changed:
[Impact]
+
+ In file included from
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
+ from
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
+ /var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function
‘NV_GET_USER_PAGES_REMOTE’:
+ /var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing
argument 1 of ‘get_user_pages_remote’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
+ 164 | return get_user_pages_remote(tsk, mm, start, nr_pages,
flags,
+ | ^~~
+ | |
+ | struct task_struct *
+
[Fix]
+ Apply the attached fix.
+
[How to test]
+ Install (and build) the patched packet.
+
[Regression potential]
+
+ The fix is composed of two patches:
** Description changed:
[Impact]
In file included from
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
- from
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
+ from
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function
‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing
argument 1 of ‘get_user_pages_remote’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
- 164 | return get_user_pages_remote(tsk, mm, start, nr_pages,
flags,
- | ^~~
- | |
- | struct task_struct *
-
+ 164 | return get_user_pages_remote(tsk, mm, start, nr_pages,
flags,
+ | ^~~
+ | |
+ | struct task_struct *
[Fix]
Apply the attached fix.
[How to test]
Install (and build) the patched packet.
[Regression potential]
The fix is composed of two patches:
+
+ 1) the first patch simply garbage collect a reference to a function that
+ was never used but that had the API changed in Linux 6.5 - so, it's a
+ trivial change.
+
+ 2) the second patch actually reimplement part of the vma scanning that was
removed in __get_user_pages_locked() in upstream commit
b2cac248191b7466c5819e0da617b0705a26e197 "mm/gup: removed vmas
+ array from internal GUP functions" - here is where most likely any regression
could be found.
** Also affects: nvidia-graphics-drivers-390 (Ubuntu Mantic)
Importance: Undecided
Status: New
** Description changed:
[Impact]
+ ...
In file included from
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function
‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing
argument 1 of ‘get_user_pages_remote’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages,
flags,
| ^~~
| |
| struct task_struct *
+ ...
+
[Fix]
Apply the attached fix.
[How to test]
Install (and build) the patched packet.
[Regression potential]
The fix is composed of two patches:
1) the first patch simply garbage collect a reference to a function that
was never used but that had the API changed in Linux 6.5 - so, it's a
trivial change.
2) the second patch actually reimplement part of the vma scanning that was
removed in __get_user_pages_locked() in upstream commit
b2cac248191b7466c5819e0da617b0705a26e197 "mm/gup: removed vmas
array from internal GUP functions" - here is where most likely any regression
could be found.
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/2028165
Title:
nvidia-dkms-* FTBS with linux 6.5
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2028165/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp