Skip to content

[SRU] Enable IBT for NVIDIA drivers v580 on 26.04/26.10 - #90

Open
alicemunduruca wants to merge 1 commit into
canonical:580from
alicemunduruca:580
Open

alicemunduruca wants to merge 1 commit into
canonical:580from
alicemunduruca:580

Conversation

@alicemunduruca

Copy link
Copy Markdown

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.

Signed-off-by: Alice C. Munduruca <alice.munduruca@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant