Skip to content

Commit b8c77a9

Browse files
committed
570.195.03
1 parent 0bf68f0 commit b8c77a9

File tree

26 files changed

+309
-248
lines changed

26 files changed

+309
-248
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 570.190.
4+
version 570.195.03.
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-
570.190 driver release. This can be achieved by installing
20+
570.195.03 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/570.190/README/kernel_open.html
188+
https://us.download.nvidia.com/XFree86/Linux-x86_64/570.195.03/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=\"570.190\"
82+
ccflags-y += -DNV_VERSION_STRING=\"570.195.03\"
8383

8484
ifneq ($(SYSSRCHOST1X),)
8585
ccflags-y += -I$(SYSSRCHOST1X)

kernel-open/nvidia/nv.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,6 +2423,12 @@ nvidia_ioctl(
24232423
{
24242424
nv_ioctl_wait_open_complete_t *params = arg_copy;
24252425

2426+
if (arg_size != sizeof(nv_ioctl_wait_open_complete_t))
2427+
{
2428+
status = -EINVAL;
2429+
goto done_early;
2430+
}
2431+
24262432
params->rc = nvlfp->open_rc;
24272433
params->adapterStatus = nvlfp->adapter_status;
24282434
goto done_early;
@@ -2503,21 +2509,28 @@ nvidia_ioctl(
25032509
goto done;
25042510
}
25052511

2512+
/* atomically check and alloc attached_gpus */
2513+
down(&nvl->ldata_lock);
2514+
25062515
if (nvlfp->num_attached_gpus != 0)
25072516
{
2517+
up(&nvl->ldata_lock);
25082518
status = -EINVAL;
25092519
goto done;
25102520
}
25112521

25122522
NV_KMALLOC(nvlfp->attached_gpus, arg_size);
25132523
if (nvlfp->attached_gpus == NULL)
25142524
{
2525+
up(&nvl->ldata_lock);
25152526
status = -ENOMEM;
25162527
goto done;
25172528
}
25182529
memcpy(nvlfp->attached_gpus, arg_copy, arg_size);
25192530
nvlfp->num_attached_gpus = num_arg_gpus;
25202531

2532+
up(&nvl->ldata_lock);
2533+
25212534
for (i = 0; i < nvlfp->num_attached_gpus; i++)
25222535
{
25232536
if (nvlfp->attached_gpus[i] == 0)
@@ -2533,9 +2546,14 @@ nvidia_ioctl(
25332546
nvidia_dev_put(nvlfp->attached_gpus[i], sp);
25342547
}
25352548

2549+
/* atomically free attached_gpus */
2550+
down(&nvl->ldata_lock);
2551+
25362552
NV_KFREE(nvlfp->attached_gpus, arg_size);
25372553
nvlfp->num_attached_gpus = 0;
25382554

2555+
up(&nvl->ldata_lock);
2556+
25392557
status = -EINVAL;
25402558
break;
25412559
}

src/common/inc/nvBldVer.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@
3636
// and then checked back in. You cannot make changes to these sections without
3737
// corresponding changes to the buildmeister script
3838
#ifndef NV_BUILD_BRANCH
39-
#define NV_BUILD_BRANCH r570_00
39+
#define NV_BUILD_BRANCH r573_76
4040
#endif
4141
#ifndef NV_PUBLIC_BRANCH
42-
#define NV_PUBLIC_BRANCH r570_00
42+
#define NV_PUBLIC_BRANCH r573_76
4343
#endif
4444

4545
#if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS)
46-
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r570/r570_00-575"
47-
#define NV_BUILD_CHANGELIST_NUM (36467544)
46+
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r570/r573_76-590"
47+
#define NV_BUILD_CHANGELIST_NUM (36569223)
4848
#define NV_BUILD_TYPE "Official"
49-
#define NV_BUILD_NAME "rel/gpu_drv/r570/r570_00-575"
50-
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (36467544)
49+
#define NV_BUILD_NAME "rel/gpu_drv/r570/r573_76-590"
50+
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (36569223)
5151

5252
#else /* Windows builds */
53-
#define NV_BUILD_BRANCH_VERSION "r570_00-569"
54-
#define NV_BUILD_CHANGELIST_NUM (36467544)
55-
#define NV_BUILD_TYPE "Official"
56-
#define NV_BUILD_NAME "573.73"
57-
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (36467544)
53+
#define NV_BUILD_BRANCH_VERSION "r573_76-1"
54+
#define NV_BUILD_CHANGELIST_NUM (36518415)
55+
#define NV_BUILD_TYPE "Nightly"
56+
#define NV_BUILD_NAME "r573_76-250909"
57+
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (36506718)
5858
#define NV_BUILD_BRANCH_BASE_VERSION R570
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 "570.190"
7+
#define NV_VERSION_STRING "570.195.03"
88

99
#else
1010

src/common/sdk/nvidia/inc/nverror.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
#define ROBUST_CHANNEL_NVJPG5_ERROR (103)
110110
#define ROBUST_CHANNEL_NVJPG6_ERROR (104)
111111
#define ROBUST_CHANNEL_NVJPG7_ERROR (105)
112-
#define DESTINATION_FLA_TRANSLATION_ERROR (108)
112+
#define NVLINK_REMOTE_TRANSLATION_ERROR (108)
113113
#define SEC_FAULT_ERROR (110)
114114
#define GSP_RPC_TIMEOUT (119)
115115
#define GSP_ERROR (120)
@@ -129,7 +129,7 @@
129129
#define ROBUST_CHANNEL_CE18_ERROR (134)
130130
#define ROBUST_CHANNEL_CE19_ERROR (135)
131131
#define ALI_TRAINING_FAIL (136)
132-
#define NVLINK_FLA_PRIV_ERR (137)
132+
#define NVLINK_PRIV_ERR (137)
133133
#define ROBUST_CHANNEL_DLA_ERROR (138)
134134
#define ROBUST_CHANNEL_OFA1_ERROR (139)
135135
#define UNRECOVERABLE_ECC_ERROR_ESCAPE (140)

src/nvidia/generated/g_kern_gmmu_nvoc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ struct KernelGmmu {
500500
NvBool PDB_PROP_KGMMU_REDUCE_NR_FAULT_BUFFER_SIZE;
501501

502502
// Data members
503-
NvBool bReportFlaTranslationXid;
504503
MEMORY_DESCRIPTOR *pFakeSparseBuffer;
505504
NvU64 fakeSparseEntry[3];
506505
NV2080_CTRL_INTERNAL_GMMU_GET_STATIC_INFO_PARAMS *pStaticInfo;
@@ -636,7 +635,6 @@ struct KernelGmmu_PRIVATE {
636635
NvBool PDB_PROP_KGMMU_REDUCE_NR_FAULT_BUFFER_SIZE;
637636

638637
// Data members
639-
NvBool bReportFlaTranslationXid;
640638
MEMORY_DESCRIPTOR *pFakeSparseBuffer;
641639
NvU64 fakeSparseEntry[3];
642640
NV2080_CTRL_INTERNAL_GMMU_GET_STATIC_INFO_PARAMS *pStaticInfo;

src/nvidia/inc/kernel/core/thread_state.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ struct THREAD_STATE_NODE
7676
*/
7777
NvU32 threadSeqId;
7878
NvBool bValid;
79+
NvBool bUsingHeap;
7980
THREAD_TIMEOUT_STATE timeout;
8081
NvU32 cpuNum;
8182
NvU32 flags;
@@ -208,6 +209,7 @@ void threadStateOnlyProcessWorkISRAndDeferredIntHandler(THREAD_STATE_NODE
208209
void threadStateOnlyFreeISRAndDeferredIntHandler(THREAD_STATE_NODE *, OBJGPU*, NvU32);
209210
void threadStateFreeISRAndDeferredIntHandler(THREAD_STATE_NODE *, OBJGPU*, NvU32);
210211
void threadStateInit(THREAD_STATE_NODE *pThreadNode, NvU32 flags);
212+
THREAD_STATE_NODE* threadStateAlloc(NvU32 flags);
211213
void threadStateFree(THREAD_STATE_NODE *pThreadNode, NvU32 flags);
212214

213215
NV_STATUS threadStateGetCurrent(THREAD_STATE_NODE **ppThreadNode, OBJGPU *pGpu);

src/nvidia/inc/kernel/gpu/rpc/objrpc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 2004-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 2004-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
@@ -50,8 +50,8 @@ TYPEDEF_BITVECTOR(MC_ENGINE_BITVECTOR);
5050
#include "g_rpc_hal.h" // For RPC_HAL_IFACES
5151
#include "g_rpc_odb.h" // For RPC_HAL_IFACES
5252

53-
#define RPC_TIMEOUT_LIMIT_PRINT_RATE_THRESH 3 // rate limit after 3 prints
54-
#define RPC_TIMEOUT_LIMIT_PRINT_RATE_SKIP 29 // skip 29 of 30 prints
53+
#define RPC_TIMEOUT_GPU_RESET_THRESHOLD 3 // Reset GPU after 3 back to back GSP RPC timeout
54+
#define RPC_TIMEOUT_PRINT_RATE_SKIP 29 // skip 29 of 30 prints
5555

5656
#define RPC_HISTORY_DEPTH 128
5757

src/nvidia/inc/kernel/mem_mgr/ctx_buf_pool.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 2016-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
@@ -44,10 +44,9 @@ struct CTX_BUF_POOL_INFO
4444
{
4545
//
4646
// Each array index corresponds to a pointer to memory pool with
47-
// page size corresponding to RM_ATTR_PAGE_SIZE_*
48-
// Pool corresponding to RM_ATTR_PAGE_SIZE_DEFAULT will be left unused
47+
// page size corresponding to POOL_CONFIG_MODE
4948
//
50-
RM_POOL_ALLOC_MEM_RESERVE_INFO *pMemPool[RM_ATTR_PAGE_SIZE_INVALID];
49+
RM_POOL_ALLOC_MEM_RESERVE_INFO *pMemPool[POOL_CONFIG_MAX_SUPPORTED];
5150
};
5251

5352
// List of all context buffers supported by memory pools

0 commit comments

Comments
 (0)