Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c1ca7d6
NVIDIA: SAUCE: vfio/nvgrace-egm: Introduce module to manage EGM
ankita-nv Aug 29, 2024
d769dad
NVIDIA: SAUCE: vfio/nvgrace-egm: Handle pages with ECC errors on the EGM
ankita-nv Aug 29, 2024
8f4d914
NVIDIA: SAUCE: arm64: configs: Build CONFIG_NVGRACE_EGM as LKM
nvmochs Aug 30, 2024
d744ddc
NVIDIA: SAUCE: vfio/nvgrace-egm: Move the egm header file to include
ankita-nv Oct 13, 2024
d0e68bb
NVIDIA: SAUCE: vfio/nvgrace-egm: Free region memory during unregistra…
nvmochs Nov 7, 2024
fb1ea76
NVIDIA: SAUCE: vfio/nvgrace-egm: Move region hash initialization
nvmochs Nov 7, 2024
f8d9d14
NVIDIA: SAUCE: vfio/nvgrace-egm: Handle and convey EGM registration e…
nvmochs Nov 7, 2024
6a5d4d3
NVIDIA: SAUCE: vfio/nvgrace-gpu: Handle EGM registration failure
nvmochs Nov 7, 2024
a879646
NVIDIA: SAUCE: vfio/nvgrace-egm: Address sparse errors
nvmochs Nov 8, 2024
23ccee9
NVIDIA: SAUCE: vfio/nvgrace-egm: Ensure ACPI value reads are successful
nvmochs Nov 22, 2024
064a975
NVIDIA: SAUCE: vfio/nvgrace-egm: Avoid invalid retired pages base
nvmochs Nov 14, 2024
9b0b922
NVIDIA: SAUCE: vfio/nvgrace-egm: Update EGM unregistration API
nvmochs Jan 23, 2025
2ec85b3
NVIDIA: SAUCE: vfio/nvgrace-egm: track GPUs associated with the EGM r…
ankita-nv May 6, 2025
34a44e5
NVIDIA: SAUCE: vfio/nvgrace-egm: list gpus through sysfs
ankita-nv May 6, 2025
3555f60
NVIDIA: SAUCE: vfio/nvgrace-egm: expose the egm size through sysfs
ankita-nv May 6, 2025
4d1cbca
NVIDIA: SAUCE: vfio/nvgrace-egm: register EGM PFNMAP range with memor…
ankita-nv Jan 18, 2026
7f8c1e0
NVIDIA: SAUCE: vfio/nvgrace-egm: Address smatch errors
nvmochs Nov 8, 2024
65b2930
NVIDIA: SAUCE: vfio/nvgrace-egm: Add null pointer checks after memory…
kobak2026 May 26, 2025
c5b8b94
NVIDIA: SAUCE: vfio/nvgrace-egm: split zapping EGM into 1GB chunks
ankita-nv Feb 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm64/configs/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1824,3 +1824,4 @@ CONFIG_CORESIGHT_STM=m
CONFIG_CORESIGHT_CPU_DEBUG=m
CONFIG_CORESIGHT_CTI=m
CONFIG_MEMTEST=y
CONFIG_NVGRACE_EGM=m
11 changes: 11 additions & 0 deletions drivers/vfio/pci/nvgrace-gpu/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-only
config NVGRACE_EGM
tristate "EGM driver for NVIDIA Grace Hopper and Blackwell Superchip"
depends on ARM64 || (COMPILE_TEST && 64BIT)
help
Extended GPU Memory (EGM) support for the GPU in the NVIDIA Grace
based chips required to avail the CPU memory as additional
cross-node/cross-socket memory for GPU using KVM/qemu.

If you don't know what to do here, say N.

config NVGRACE_GPU_VFIO_PCI
tristate "VFIO support for the GPU in the NVIDIA Grace Hopper Superchip"
depends on ARM64 || (COMPILE_TEST && 64BIT)
select VFIO_PCI_CORE
select NVGRACE_EGM
help
VFIO support for the GPU in the NVIDIA Grace Hopper Superchip is
required to assign the GPU device to userspace using KVM/qemu/etc.
Expand Down
3 changes: 3 additions & 0 deletions drivers/vfio/pci/nvgrace-gpu/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_NVGRACE_GPU_VFIO_PCI) += nvgrace-gpu-vfio-pci.o
nvgrace-gpu-vfio-pci-y := main.o

obj-$(CONFIG_NVGRACE_EGM) += nvgrace-egm.o
nvgrace-egm-y := egm.o
Loading