580.126.16

This commit is contained in:
Maneet Singh
2026-02-09 10:23:04 -08:00
parent 455d4b8b75
commit ea77b4f916
8 changed files with 25 additions and 16 deletions

View File

@@ -79,7 +79,7 @@ ccflags-y += -I$(src)/common/inc
ccflags-y += -I$(src)
ccflags-y += -Wall $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-format-extra-args
ccflags-y += -D__KERNEL__ -DMODULE -DNVRM
ccflags-y += -DNV_VERSION_STRING=\"580.126.09\"
ccflags-y += -DNV_VERSION_STRING=\"580.126.16\"
# Include and link Tegra out-of-tree modules.
ifneq ($(wildcard /usr/src/nvidia/nvidia-oot),)

View File

@@ -200,10 +200,17 @@ found:
length = NV_MIN(length, (int)(PAGE_SIZE - pageOffset));
#if defined(NVCPU_AARCH64)
if (write)
memcpy_toio(kernel_mapping, buffer, length);
else
memcpy_fromio(buffer, kernel_mapping, length);
#else
if (write)
memcpy(kernel_mapping, buffer, length);
else
memcpy(buffer, kernel_mapping, length);
#endif // defined(NVCPU_AARCH64)
if (at == NULL && !bIsNuma)
{