commit:     9b879cecdb00a08f7ac6c1c04fd46c941d6d8624
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 10:45:12 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 10:59:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b879cec

x11-drivers/nvidia-drivers: keep IBT warning in all versions

Upstream issue indicates this got fixed, but closed source
drivers apparently get built with a custom ancient gcc that
doesn't support IBT.

Leave the warning vague given haven't really tested this and
haven't setup exceptions for kernel-open nor tested which
versions really actually work, just so users know what to try
if something comes up. May re-adjust this later.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild    | 5 ++---
 x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03.ebuild | 5 ++---
 x11-drivers/nvidia-drivers/nvidia-drivers-510.108.03.ebuild | 5 ++---
 x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01.ebuild  | 5 ++---
 x11-drivers/nvidia-drivers/nvidia-drivers-525.47.14.ebuild  | 3 +++
 x11-drivers/nvidia-drivers/nvidia-drivers-525.85.05.ebuild  | 3 +++
 x11-drivers/nvidia-drivers/nvidia-drivers-525.89.02.ebuild  | 3 +++
 x11-drivers/nvidia-drivers/nvidia-drivers-530.30.02.ebuild  | 3 +++
 8 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
index 3bda88a05d31..09a8849c0843 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -98,8 +98,7 @@ pkg_setup() {
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
        local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
-       If run into problems, either unset or pass ibt=off to the kernel.
-       https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256";
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03.ebuild
index 87a70528199f..d86fa7cad710 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.161.03.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -101,8 +101,7 @@ pkg_setup() {
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
        local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
-       If run into problems, either unset or pass ibt=off to the kernel.
-       https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256";
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-510.108.03.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-510.108.03.ebuild
index fb50c6c899e2..680167225748 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-510.108.03.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-510.108.03.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -103,8 +103,7 @@ pkg_setup() {
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
        local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
-       If run into problems, either unset or pass ibt=off to the kernel.
-       https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256";
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01.ebuild
index 97648a86e8c4..6d2005126493 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.86.01.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -106,8 +106,7 @@ pkg_setup() {
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
        local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
-       If run into problems, either unset or pass ibt=off to the kernel.
-       https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256";
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.14.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.14.ebuild
index f4a9b9e7ecd4..b82004cf88ef 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.14.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.14.ebuild
@@ -97,12 +97,15 @@ pkg_setup() {
                ~SYSVIPC
                ~!LOCKDEP
                ~!SLUB_DEBUG_ON
+               ~!X86_KERNEL_IBT
                !DEBUG_MUTEXES"
        local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but 
needed for Xorg auto-detection
        of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
        Cannot be directly selected in the kernel's menuconfig, and may need
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
+       local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.85.05.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-525.85.05.ebuild
index 93e59196de1b..17ab77c86399 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.85.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.85.05.ebuild
@@ -96,12 +96,15 @@ pkg_setup() {
                ~SYSVIPC
                ~!LOCKDEP
                ~!SLUB_DEBUG_ON
+               ~!X86_KERNEL_IBT
                !DEBUG_MUTEXES"
        local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but 
needed for Xorg auto-detection
        of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
        Cannot be directly selected in the kernel's menuconfig, and may need
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
+       local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.89.02.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-525.89.02.ebuild
index 93e59196de1b..17ab77c86399 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.89.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.89.02.ebuild
@@ -96,12 +96,15 @@ pkg_setup() {
                ~SYSVIPC
                ~!LOCKDEP
                ~!SLUB_DEBUG_ON
+               ~!X86_KERNEL_IBT
                !DEBUG_MUTEXES"
        local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but 
needed for Xorg auto-detection
        of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
        Cannot be directly selected in the kernel's menuconfig, and may need
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
+       local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-530.30.02.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-530.30.02.ebuild
index 42ca4a2076b0..536c6aeece46 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-530.30.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-530.30.02.ebuild
@@ -96,12 +96,15 @@ pkg_setup() {
                ~SYSVIPC
                ~!LOCKDEP
                ~!SLUB_DEBUG_ON
+               ~!X86_KERNEL_IBT
                !DEBUG_MUTEXES"
        local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but 
needed for Xorg auto-detection
        of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
        Cannot be directly selected in the kernel's menuconfig, and may need
        selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
        DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
+       local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned 
the modules may not load.
+       If run into problems, either unset or try to pass ibt=off to the 
kernel."
 
        use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
 

Reply via email to