Skip to content

Commit 307159f

Browse files
committed
580.65.06
1 parent d890313 commit 307159f

File tree

1,315 files changed

+478418
-280600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,315 files changed

+478418
-280600
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NVIDIA Linux Open GPU Kernel Module Source
22

33
This is the source release of the NVIDIA Linux open GPU kernel modules,
4-
version 575.64.05.
4+
version 580.65.06.
55

66

77
## How to Build
@@ -17,7 +17,7 @@ as root:
1717

1818
Note that the kernel modules built here must be used with GSP
1919
firmware and user-space NVIDIA GPU driver components from a corresponding
20-
575.64.05 driver release. This can be achieved by installing
20+
580.65.06 driver release. This can be achieved by installing
2121
the NVIDIA GPU driver from the .run file using the `--no-kernel-modules`
2222
option. E.g.,
2323

@@ -185,7 +185,7 @@ table below).
185185
For details on feature support and limitations, see the NVIDIA GPU driver
186186
end user README here:
187187

188-
https://us.download.nvidia.com/XFree86/Linux-x86_64/575.64.05/README/kernel_open.html
188+
https://us.download.nvidia.com/XFree86/Linux-x86_64/580.65.06/README/kernel_open.html
189189

190190
For vGPU support, please refer to the README.vgpu packaged in the vGPU Host
191191
Package for more details.

kernel-open/Kbuild

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# NV_KERNEL_SOURCES : The root of the kernel source tree.
99
# NV_KERNEL_OUTPUT : The kernel's output tree.
1010
# NV_KERNEL_MODULES : A whitespace-separated list of modules to build.
11-
# ARCH : The target CPU architecture: x86_64|arm64|powerpc
11+
# ARCH : The target CPU architecture: x86_64|arm64
1212
#
1313
# Kbuild provides the variables:
1414
#
@@ -79,12 +79,22 @@ ccflags-y += -I$(src)/common/inc
7979
ccflags-y += -I$(src)
8080
ccflags-y += -Wall $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-format-extra-args
8181
ccflags-y += -D__KERNEL__ -DMODULE -DNVRM
82-
ccflags-y += -DNV_VERSION_STRING=\"575.64.05\"
82+
ccflags-y += -DNV_VERSION_STRING=\"580.65.06\"
83+
84+
# Include and link Tegra out-of-tree modules.
85+
ifneq ($(wildcard /usr/src/nvidia/nvidia-oot),)
86+
SYSSRCNVOOT ?= /usr/src/nvidia/nvidia-oot
87+
endif
8388

8489
ifneq ($(SYSSRCHOST1X),)
8590
ccflags-y += -I$(SYSSRCHOST1X)
8691
endif
8792

93+
ifneq ($(SYSSRCNVOOT),)
94+
ccflags-y += -I$(SYSSRCNVOOT)/include
95+
KBUILD_EXTRA_SYMBOLS = $(SYSSRCNVOOT)/Module.symvers
96+
endif
97+
8898
# Some Android kernels prohibit driver use of filesystem functions like
8999
# filp_open() and kernel_read(). Disable the NV_FILESYSTEM_ACCESS_AVAILABLE
90100
# functionality that uses those functions when building for Android.
@@ -124,10 +134,6 @@ ifeq ($(ARCH),x86_64)
124134
ccflags-y += -mno-red-zone -mcmodel=kernel
125135
endif
126136

127-
ifeq ($(ARCH),powerpc)
128-
ccflags-y += -mlittle-endian -mno-strict-align
129-
endif
130-
131137
ccflags-y += -DNV_UVM_ENABLE
132138
ccflags-y += $(call cc-option,-Werror=undef,)
133139
ccflags-y += -DNV_SPECTRE_V2=$(NV_SPECTRE_V2)

kernel-open/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ else
9999

100100
ifndef ARCH
101101
ARCH := $(shell uname -m | sed -e 's/i.86/i386/' \
102-
-e 's/armv[0-7]\w\+/arm/' \
103102
-e 's/aarch64/arm64/' \
104-
-e 's/ppc64le/powerpc/' \
105103
-e 's/riscv64/riscv/' \
106104
)
107105
endif
@@ -111,7 +109,7 @@ else
111109
ifneq ($(filter $(ARCH),i386 x86_64),)
112110
KERNEL_ARCH = x86
113111
else
114-
ifeq ($(filter $(ARCH),arm64 powerpc riscv),)
112+
ifeq ($(filter $(ARCH),arm64 riscv),)
115113
$(error Unsupported architecture $(ARCH))
116114
endif
117115
endif

kernel-open/common/inc/nv-firmware.h

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
* SPDX-License-Identifier: MIT
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -49,6 +49,8 @@ typedef enum
4949
NV_FIRMWARE_CHIP_FAMILY_GH100 = 6,
5050
NV_FIRMWARE_CHIP_FAMILY_GB10X = 8,
5151
NV_FIRMWARE_CHIP_FAMILY_GB20X = 9,
52+
NV_FIRMWARE_CHIP_FAMILY_GB10Y = 11,
53+
NV_FIRMWARE_CHIP_FAMILY_GB20Y = 12,
5254
NV_FIRMWARE_CHIP_FAMILY_END,
5355
} nv_firmware_chip_family_t;
5456

@@ -58,6 +60,8 @@ static inline const char *nv_firmware_chip_family_to_string(
5860
{
5961
switch (fw_chip_family) {
6062
case NV_FIRMWARE_CHIP_FAMILY_GB10X: return "gb10x";
63+
case NV_FIRMWARE_CHIP_FAMILY_GB10Y: return "gb10y";
64+
case NV_FIRMWARE_CHIP_FAMILY_GB20Y: return "gb20y";
6165
case NV_FIRMWARE_CHIP_FAMILY_GB20X: return "gb20x";
6266
case NV_FIRMWARE_CHIP_FAMILY_GH100: return "gh100";
6367
case NV_FIRMWARE_CHIP_FAMILY_AD10X: return "ad10x";
@@ -68,9 +72,9 @@ static inline const char *nv_firmware_chip_family_to_string(
6872

6973
case NV_FIRMWARE_CHIP_FAMILY_END: // fall through
7074
case NV_FIRMWARE_CHIP_FAMILY_NULL:
71-
return NULL;
75+
return "";
7276
}
73-
return NULL;
77+
return "";
7478
}
7579

7680
// The includer may optionally define
@@ -89,6 +93,8 @@ static inline const char *nv_firmware_for_chip_family(
8993
switch (fw_chip_family)
9094
{
9195
case NV_FIRMWARE_CHIP_FAMILY_GB10X: // fall through
96+
case NV_FIRMWARE_CHIP_FAMILY_GB10Y: // fall through
97+
case NV_FIRMWARE_CHIP_FAMILY_GB20Y: // fall through
9298
case NV_FIRMWARE_CHIP_FAMILY_GB20X: // fall through
9399
case NV_FIRMWARE_CHIP_FAMILY_GH100: // fall through
94100
case NV_FIRMWARE_CHIP_FAMILY_AD10X: // fall through
@@ -110,6 +116,8 @@ static inline const char *nv_firmware_for_chip_family(
110116
switch (fw_chip_family)
111117
{
112118
case NV_FIRMWARE_CHIP_FAMILY_GB10X: // fall through
119+
case NV_FIRMWARE_CHIP_FAMILY_GB10Y: // fall through
120+
case NV_FIRMWARE_CHIP_FAMILY_GB20Y: // fall through
113121
case NV_FIRMWARE_CHIP_FAMILY_GB20X: // fall through
114122
case NV_FIRMWARE_CHIP_FAMILY_GH100: // fall through
115123
case NV_FIRMWARE_CHIP_FAMILY_AD10X: // fall through

kernel-open/common/inc/nv-hash.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,9 @@
2929
#include <linux/kernel.h>
3030
#include <linux/hash.h>
3131

32-
#if defined(NV_LINUX_STRINGHASH_H_PRESENT)
3332
#include <linux/stringhash.h> /* full_name_hash() */
34-
#else
35-
#include <linux/dcache.h>
36-
#endif
3733

38-
#if (NV_FULL_NAME_HASH_ARGUMENT_COUNT == 3)
3934
#define nv_string_hash(_str) full_name_hash(NULL, _str, strlen(_str))
40-
#else
41-
#define nv_string_hash(_str) full_name_hash(_str, strlen(_str))
42-
#endif
4335

4436
/**
4537
* This naive hashtable was introduced by commit d9b482c8ba19 (v3.7, 2012-10-31).

kernel-open/common/inc/nv-ioctl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
* SPDX-License-Identifier: MIT
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -140,6 +140,7 @@ typedef struct nv_ioctl_export_to_dma_buf_fd
140140
NvU32 index;
141141
NvU64 totalSize NV_ALIGN_BYTES(8);
142142
NvU8 mappingType;
143+
NvBool bAllowMmap;
143144
NvHandle handles[NV_DMABUF_EXPORT_MAX_HANDLES];
144145
NvU64 offsets[NV_DMABUF_EXPORT_MAX_HANDLES] NV_ALIGN_BYTES(8);
145146
NvU64 sizes[NV_DMABUF_EXPORT_MAX_HANDLES] NV_ALIGN_BYTES(8);

0 commit comments

Comments
 (0)