[SRU] Enable IBT for NVIDIA drivers v580 on 26.04/26.10 - #90
Open
alicemunduruca wants to merge 1 commit into
Open
alicemunduruca wants to merge 1 commit into
alicemunduruca wants to merge 1 commit into
Conversation
Signed-off-by: Alice C. Munduruca <alice.munduruca@canonical.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BugLink: https://bugs.launchpad.net/bugs/2122077
[ Impact ]
When running a kernel with CONFIG_X86_KERNEL_IBT enabled, the Ubuntu-packaged NVIDIA drivers cause hangs and/or crashes due to missing support for IBT. In order to fix this issue, ensure that this option is not forced off by the make command in dkms.conf.
[ Test Plan ]
Install a kernel with CONFIG_X86_KERNEL_IBT=y and compile the modified NVIDIA drivers. This should not generate any errors that terminate the DKMS build.
Reboot and load the NVIDIA module, at which point nvidia-smi should no longer cause crashes or hangs.
Test that CUDA programs run properly on the GPU.
These changes have been tested on the testflinger machine buzzsaw for 580-resolute.
[ Where problems could occur ]
It is possible that the objtool workaround and associated patching from the subsequent commit, which were not designed for IBT, may cause issues in certains scenarios. In my testing on the GB200 buzzsaw machine, no concerning warnings or errors beyond what is expected for the thunk workaround are present in kernel logs.