Skip to content

Commit

Permalink
nvproxy: Remove 535.104.05 from the list of supported drivers.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ayushr2 authored and gvisor-bot committed May 14, 2024
1 parent 45c5479 commit ea2e93a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkg/sentry/devices/nvproxy/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ea2e93a

Please sign in to comment.