From ea2e93ad17b24d465d13525d35ba58962fdc7930 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 14 May 2024 11:59:39 -0700 Subject: [PATCH] nvproxy: Remove 535.104.05 from the list of supported drivers. Installing this driver breaks on Buildkite: ``` ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'rcu_read_unlock_strict' ``` Might be related to NVIDIA/open-gpu-kernel-modules#594 PiperOrigin-RevId: 633661680 --- pkg/sentry/devices/nvproxy/version.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkg/sentry/devices/nvproxy/version.go b/pkg/sentry/devices/nvproxy/version.go index 38b105dcb..bf16403df 100644 --- a/pkg/sentry/devices/nvproxy/version.go +++ b/pkg/sentry/devices/nvproxy/version.go @@ -149,10 +149,9 @@ func addDriverABI(major, minor, patch int, runfileChecksum string, cons driverAB // Init initializes abis global map. func Init() { abisOnce.Do(func() { - v535_104_05 := addDriverABI(535, 104, 05, "2f9d609d1da770beee757636635c46e7ed8253ade887b87c7a5482e33fcbedc9", func() *driverABI { - // 535.104.05 is the earliest driver version supported by nvproxy. Since - // there is no parent to inherit from, the driverABI needs to be constructed - // with the entirety of the nvproxy functionality at this version. + v535_104_05 := func() *driverABI { + // Since there is no parent to inherit from, the driverABI needs to be + // constructed with the entirety of the nvproxy functionality. return &driverABI{ frontendIoctl: map[uint32]frontendIoctlHandler{ nvgpu.NV_ESC_CARD_INFO: frontendIoctlSimple, // nv_ioctl_card_info_t array @@ -323,7 +322,7 @@ func Init() { nvgpu.HOPPER_SEC2_WORK_LAUNCH_A: rmAllocNoParams, }, } - }) + } // 535.104.12 exists on the "535.104.12" branch. It branched off the main // branch at 535.104.05.