From 36d756b52043c85e45e7cfab92543cc3b61f8fdf Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 30 Sep 2026 11:10:28 -0400 Subject: 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) --- kernel/gsp_sema_service.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kernel/gsp_sema_service.c') 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), -- cgit v1.2.3