summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 11:10:28 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 11:10:28 -0400
commit36d756b52043c85e45e7cfab92543cc3b61f8fdf (patch)
tree8f4d6a5508e1b0226baf0e87e78d74db3d928642 /kernel/gsp_sema_service.c
parentd895cd13543705c5a51a92e22f0a98d40607f0c4 (diff)
downloadopen-iov-36d756b52043c85e45e7cfab92543cc3b61f8fdf.tar.gz
open-iov-36d756b52043c85e45e7cfab92543cc3b61f8fdf.zip
sema-svc: log the LAUNCH_DMA push VA and injected/allow flags; widen the op-failure log budget (the DtoH work path is invisible at the old caps)
Diffstat (limited to 'kernel/gsp_sema_service.c')
-rw-r--r--kernel/gsp_sema_service.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index dc7b402..4ecfe14 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -2304,7 +2304,7 @@ static void svc_run_ops(struct nv_vgpu_device *vgpu, struct svc_memset_op *ops,
else
svc.memsets_fail++;
if ((rc == 0 && svc.memsets_done <= gsp_sema_ops_log) ||
- (rc != 0 && svc.memsets_fail + svc.memsets_nomap <= 8))
+ (rc != 0 && svc.memsets_fail + svc.memsets_nomap <= 64))
pr_info("sema-svc: %s dst=0x%llx value=0x%llx elem=%u count=%u bytes=%llu phys=%u ap=%u src=0x%llx srcphys=%u srcap=%u rc=%d h=0x%x\n",
m->type == 1 ? "memcopy" : "memset",
m->dst, m->value, m->elem, m->count,
@@ -3021,8 +3021,9 @@ static void svc_decode_stream(struct nv_vgpu_device *vgpu, const u8 *buf,
if (ch->h_object && svc.lda_log <
(gsp_sema_ops_log > 48 ? gsp_sema_ops_log : 48)) {
svc.lda_log++;
- pr_info("sema-lda: h=0x%x eng=%u dma=0x%08x xfer=%u remap=%u dpitch=%u dstphys=%u srcphys=%u sem=%u out=0x%llx in=0x%llx line=%u have_out=%u have_in=%u have_remap=%u have_sem=%u ops=%u\n",
- ch->h_object, ch->engine_type, dma, transfer,
+ pr_info("sema-lda: h=0x%x eng=%u push=0x%llx inj=%u allow=%u dma=0x%08x xfer=%u remap=%u dpitch=%u dstphys=%u srcphys=%u sem=%u out=0x%llx in=0x%llx line=%u have_out=%u have_in=%u have_remap=%u have_sem=%u ops=%u\n",
+ ch->h_object, ch->engine_type, push_va,
+ trusted, allow_ops, dma, transfer,
DMA_REMAP_ENABLE(dma),
DMA_DST_MEMORY_LAYOUT_PITCH(dma),
DMA_DST_TYPE_PHYSICAL(dma),