From 4bb8550a72597ec098c6d62a75006a0aba61972e Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Fri, 2 Oct 2026 15:13:06 -0400 Subject: kernel: GR context-promote bisection modes 4-17 and server-managed-ctxbuf registry variant; complete vgsp rename; docs/tooling refresh - gsp_phys_booter: GR promote bisection modes 4-17 (two-phase zero-field VA, batched entries, hVirtMemory, bare VA, KMD SKIP_CTXBUFFER_ALLOC channel, old-interface GPU_INITIALIZE_CTX, FBMEM context buffer, UVM-faithful PA-only, PATCH/PM auxiliary promotes, server-managed no-promote path); PATCH/PM geometry queries and buffers; pre-boot SET_REGISTRY profile selection - gsp_phys_gpu: gsp_phys_rmcall_gr_promote clamp 0..17 and gsp_phys_srv_ctxbuf parameter; registry image variant with RMSetClientRMAllocatedCtxBuffer=0 - vgsp rename across kernel, scripts, tools and docs (module vgsp.ko, /sys/kernel/debug/vgsp/, vgsp-: log prefixes) - risc-v-gsp-rm-debugger user-facing rename and docs/CI refresh; guest-diag tool updates; README/SBOM/install/Makefile sync Live status: CE ladder and P6 guest-copy forwarding green; GR engine context commit still open (all promote shapes accepted or cleanly refused; the channel stays CTXNOTVALID) - see Handoff-vGPU-IO.md Addendum 21 (local). --- kernel/include/nvidia-vgpu-vfio.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kernel/include/nvidia-vgpu-vfio.h') diff --git a/kernel/include/nvidia-vgpu-vfio.h b/kernel/include/nvidia-vgpu-vfio.h index aed3dc5..1c2f67b 100644 --- a/kernel/include/nvidia-vgpu-vfio.h +++ b/kernel/include/nvidia-vgpu-vfio.h @@ -11,11 +11,11 @@ #include #include -#define OPEN_IOV_VFIO_VERSION "0.1.0" -#define OPEN_IOV_VFIO_NAME "open-iov-vfio" +#define VGSP_VERSION "0.1.0" +#define VGSP_NAME "vgsp" -#define NVIDIA_VGPU_VFIO_VERSION OPEN_IOV_VFIO_VERSION -#define NVIDIA_VGPU_VFIO_NAME OPEN_IOV_VFIO_NAME +#define NVIDIA_VGPU_VFIO_VERSION VGSP_VERSION +#define NVIDIA_VGPU_VFIO_NAME VGSP_NAME #define NVIDIA_VGPU_MAX_VF_COUNT 32 #define NVIDIA_VGPU_MAX_REGIONS 8 @@ -209,30 +209,30 @@ static inline struct nv_vgpu_device *mdev_to_vgpu(struct mdev_device *mdev) * (e.g. unit tests, early init) - fall back to plain pr_*. */ #define nv_vgpu_dbg(vgpu, fmt, ...) do { \ if (vgpu) \ - dev_dbg(&(vgpu)->dev, "%s: " fmt, __func__, ##__VA_ARGS__); \ + dev_dbg(&(vgpu)->dev, KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ else \ pr_debug("%s: " fmt, __func__, ##__VA_ARGS__); \ } while (0) #define nv_vgpu_info(vgpu, fmt, ...) do { \ if (vgpu) \ - dev_info(&(vgpu)->dev, "%s: " fmt, __func__, ##__VA_ARGS__); \ + dev_info(&(vgpu)->dev, KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ else \ - pr_info("%s: " fmt, __func__, ##__VA_ARGS__); \ + pr_info(KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ } while (0) #define nv_vgpu_warn(vgpu, fmt, ...) do { \ if (vgpu) \ - dev_warn(&(vgpu)->dev, "%s: " fmt, __func__, ##__VA_ARGS__); \ + dev_warn(&(vgpu)->dev, KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ else \ - pr_warn("%s: " fmt, __func__, ##__VA_ARGS__); \ + pr_warn(KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ } while (0) #define nv_vgpu_err(vgpu, fmt, ...) do { \ if (vgpu) \ - dev_err(&(vgpu)->dev, "%s: " fmt, __func__, ##__VA_ARGS__); \ + dev_err(&(vgpu)->dev, KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ else \ - pr_err("%s: " fmt, __func__, ##__VA_ARGS__); \ + pr_err(KBUILD_MODNAME ": %s: " fmt, __func__, ##__VA_ARGS__); \ } while (0) #endif \ No newline at end of file -- cgit v1.2.3