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/gsp_rpc_client.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kernel/gsp_rpc_client.c') diff --git a/kernel/gsp_rpc_client.c b/kernel/gsp_rpc_client.c index eb3d85d..0b7f7a2 100644 --- a/kernel/gsp_rpc_client.c +++ b/kernel/gsp_rpc_client.c @@ -237,7 +237,7 @@ int gsp_rpc_alloc(struct gsp_client *client, return ret; if (response.status) { - pr_err("GSP ALLOC failed: status=%d\n", response.status); + pr_err("vgsp-rpc: GSP ALLOC failed: status=%d\n", response.status); return -EIO; } @@ -390,7 +390,7 @@ int gsp_rpc_bar_trap(struct gsp_client *client, * synchronous MMIO via the shadow mapping and never needs this RPC. * Real shadow-register handlers are TODO; fail fast and loudly. */ if (gsp_rpc_emulation_is_enabled()) { - pr_warn_ratelimited("gsp_rpc_bar_trap: not supported in emulation mode (bar=%u addr=0x%llx)\n", + pr_warn_ratelimited("vgsp-rpc-bar-trap: not supported in emulation mode (bar=%u addr=0x%llx)\n", bar_num, bar_addr); return -ENOTSUPP; } @@ -432,7 +432,7 @@ int gsp_rpc_migrate_save(struct gsp_client *client, * Live migration over the emulated vGPU is not yet implemented; * see kernel/migration.c for the 4-phase host-side protocol work. */ if (gsp_rpc_emulation_is_enabled()) { - pr_warn_ratelimited("gsp_rpc_migrate_save: not supported in emulation mode\n"); + pr_warn_ratelimited("vgsp-rpc-migrate-save: not supported in emulation mode\n"); return -ENOTSUPP; } @@ -470,7 +470,7 @@ int gsp_rpc_migrate_restore(struct gsp_client *client, /* Emulation mode: no real firmware; see gsp_rpc_migrate_save note. */ if (gsp_rpc_emulation_is_enabled()) { - pr_warn_ratelimited("gsp_rpc_migrate_restore: not supported in emulation mode\n"); + pr_warn_ratelimited("vgsp-rpc-migrate-restore: not supported in emulation mode\n"); return -ENOTSUPP; } @@ -1035,7 +1035,7 @@ struct gsp_client *gsp_client_init(struct device *dev, phys_addr_t fw_base, phys } client->initialized = true; - pr_info("GSP RPC client initialized: fw_base=%pa, doorbell=%pa\n", &fw_base, &doorbell); + pr_info("vgsp-rpc: GSP RPC client initialized: fw_base=%pa, doorbell=%pa\n", &fw_base, &doorbell); return client; } @@ -1076,7 +1076,7 @@ struct gsp_client *gsp_client_init_emulation(struct device *dev, void __iomem *f client->initialized = true; client->emulation_mode = true; - pr_info("GSP RPC client initialized (emulation): fw_base=%p, doorbell=%p\n", fw_base_virt, doorbell_virt); + pr_info("vgsp-rpc: GSP RPC client initialized (emulation): fw_base=%p, doorbell=%p\n", fw_base_virt, doorbell_virt); return client; } -- cgit v1.2.3