Skip to content

Commit 8e11c95

Browse files
committed
580.126.18
1 parent ea77b4f commit 8e11c95

File tree

8 files changed

+34
-25
lines changed

8 files changed

+34
-25
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 580.126.16.
4+
version 580.126.18.
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-
580.126.16 driver release. This can be achieved by installing
20+
580.126.18 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/580.126.16/README/kernel_open.html
188+
https://us.download.nvidia.com/XFree86/Linux-x86_64/580.126.18/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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ 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=\"580.126.16\"
82+
ccflags-y += -DNV_VERSION_STRING=\"580.126.18\"
8383

8484
# Include and link Tegra out-of-tree modules.
8585
ifneq ($(wildcard /usr/src/nvidia/nvidia-oot),)

kernel-open/conftest.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,22 +1390,28 @@ compile_test() {
13901390
compile_check_conftest "$CODE" "NV_GET_DEV_PAGEMAP_HAS_PGMAP_ARG" "" "types"
13911391
;;
13921392

1393-
zone_device_page_init_has_order_arg)
1393+
zone_device_page_init_has_pgmap_and_order_args)
13941394
#
1395-
# Determine if the zone_device_page_init() has an extra argument
1395+
# Determine if the zone_device_page_init() has two additional
1396+
# arguments
13961397
#
13971398
# This change was introduced by d245f9b4ab80
13981399
# ("mm/zone_device: support large zone device private folios")
13991400
#
1400-
# in linux-next, expected in v6.19.
1401+
# It was further amended in 9387a71ec62c
1402+
# (mm/zone_device: reinitialize large zone device private folios)
1403+
#
1404+
# both commits are in linux-next, expected in v6.19.
14011405
#
14021406
CODE="
14031407
#include <linux/memremap.h>
14041408
void init_page(void) {
14051409
struct page *page;
1406-
zone_device_page_init(page, 0);
1410+
struct dev_pagemap *pgmap;
1411+
1412+
zone_device_page_init(page, pgmap, 0);
14071413
}"
1408-
compile_check_conftest "$CODE" "NV_ZONE_DEVICE_PAGE_INIT_HAS_ORDER_ARG" "" "types"
1414+
compile_check_conftest "$CODE" "NV_ZONE_DEVICE_PAGE_INIT_HAS_PGMAP_AND_ORDER_ARGS" "" "types"
14091415
;;
14101416

14111417
dev_pagemap_ops_has_folio_free)

kernel-open/nvidia-uvm/nvidia-uvm.Kbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ NV_CONFTEST_TYPE_COMPILE_TESTS += migrate_device_range
6363
NV_CONFTEST_TYPE_COMPILE_TESTS += handle_mm_fault_has_pt_regs_arg
6464
NV_CONFTEST_TYPE_COMPILE_TESTS += get_dev_pagemap_has_pgmap_arg
6565
NV_CONFTEST_TYPE_COMPILE_TESTS += dev_pagemap_ops_has_folio_free
66-
NV_CONFTEST_TYPE_COMPILE_TESTS += zone_device_page_init_has_order_arg
66+
NV_CONFTEST_TYPE_COMPILE_TESTS += zone_device_page_init_has_pgmap_and_order_args
6767
NV_CONFTEST_TYPE_COMPILE_TESTS += mempolicy_has_unified_nodes
6868
NV_CONFTEST_TYPE_COMPILE_TESTS += mempolicy_has_home_node
6969
NV_CONFTEST_TYPE_COMPILE_TESTS += mpol_preferred_many_present

kernel-open/nvidia-uvm/uvm_hmm.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,14 @@ module_param(uvm_disable_hmm, bool, 0444);
7878
// Pass 0 as the order, when actual large order support is added this
7979
// function will need to be revisited
8080
//
81-
#if defined(NV_ZONE_DEVICE_PAGE_INIT_HAS_ORDER_ARG)
82-
#define ZONE_DEVICE_PAGE_INIT(page) zone_device_page_init(page, 0)
81+
static __always_inline void nv_zone_device_page_init(struct page *page)
82+
{
83+
#if defined(NV_ZONE_DEVICE_PAGE_INIT_HAS_PGMAP_AND_ORDER_ARGS)
84+
zone_device_page_init(page, page_pgmap(page), 0);
8385
#else
84-
#define ZONE_DEVICE_PAGE_INIT(page) zone_device_page_init(page)
86+
zone_device_page_init(page);
8587
#endif
88+
}
8689

8790
// The function nv_PageSwapCache() wraps the check for page swap cache flag in
8891
// order to support a wide variety of kernel versions.
@@ -2156,7 +2159,7 @@ static void fill_dst_pfn(uvm_va_block_t *va_block,
21562159

21572160
UVM_ASSERT(!page_count(dpage));
21582161
UVM_ASSERT(!dpage->zone_device_data);
2159-
ZONE_DEVICE_PAGE_INIT(dpage);
2162+
nv_zone_device_page_init(dpage);
21602163
dpage->zone_device_data = gpu_chunk;
21612164
atomic64_inc(&va_block->hmm.va_space->hmm.allocated_page_count);
21622165
}

src/common/inc/nvBldVer.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
#endif
4444

4545
#if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS)
46-
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r580/r582_12-403"
47-
#define NV_BUILD_CHANGELIST_NUM (37265831)
46+
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r580/r582_12-405"
47+
#define NV_BUILD_CHANGELIST_NUM (37332263)
4848
#define NV_BUILD_TYPE "Official"
49-
#define NV_BUILD_NAME "rel/gpu_drv/r580/r582_12-403"
50-
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (37265831)
49+
#define NV_BUILD_NAME "rel/gpu_drv/r580/r582_12-405"
50+
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (37332263)
5151

5252
#else /* Windows builds */
53-
#define NV_BUILD_BRANCH_VERSION "r582_12-4"
54-
#define NV_BUILD_CHANGELIST_NUM (37198475)
53+
#define NV_BUILD_BRANCH_VERSION "r582_12-5"
54+
#define NV_BUILD_CHANGELIST_NUM (37273147)
5555
#define NV_BUILD_TYPE "Official"
56-
#define NV_BUILD_NAME "582.28"
57-
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (37198475)
56+
#define NV_BUILD_NAME "582.34"
57+
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (37273147)
5858
#define NV_BUILD_BRANCH_BASE_VERSION R580
5959
#endif
6060
// End buildmeister python edited section

src/common/inc/nvUnixVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS) || defined(NV_VMWARE) || defined(NV_QNX) || defined(NV_INTEGRITY) || \
55
(defined(RMCFG_FEATURE_PLATFORM_GSP) && RMCFG_FEATURE_PLATFORM_GSP == 1)
66

7-
#define NV_VERSION_STRING "580.126.16"
7+
#define NV_VERSION_STRING "580.126.18"
88

99
#else
1010

version.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
NVIDIA_VERSION = 580.126.16
2-
NVIDIA_NVID_VERSION = 580.126.16
1+
NVIDIA_VERSION = 580.126.18
2+
NVIDIA_NVID_VERSION = 580.126.18
33
NVIDIA_NVID_EXTRA =
44

55
# This file.

0 commit comments

Comments
 (0)