summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_comm.c')
-rw-r--r--kernel/gsp_comm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/gsp_comm.c b/kernel/gsp_comm.c
index a8d0664..094fcfb 100644
--- a/kernel/gsp_comm.c
+++ b/kernel/gsp_comm.c
@@ -37,7 +37,6 @@ static void nv_vgpu_gsp_rpc_work(struct work_struct *work)
static void nv_vgpu_gsp_poll_work(struct work_struct *work)
{
struct nv_vgpu_gsp_comm_ctx *ctx = container_of(work, struct nv_vgpu_gsp_comm_ctx, poll_work.work);
- struct nv_vgpu_device *vgpu = ctx->vgpu;
u32 status;
if (!ctx || !ctx->irq_enabled || !ctx->gsp_doorbell)
@@ -221,7 +220,7 @@ int nv_vgpu_gsp_boot(struct nv_vgpu_device *vgpu)
nv_vgpu_info(vgpu, "DRY-RUN: Would write GSP binary (%zu bytes) to offset 0x200000",
ctx->firmware.gsp_size);
nv_vgpu_info(vgpu, "DRY-RUN: Would kick GSP doorbell at offset 0x%llx",
- NV_VGPU_GSP_DOORBELL_OFFSET);
+ (u64)NV_VGPU_GSP_DOORBELL_OFFSET);
return 0;
}
@@ -267,7 +266,7 @@ int nv_vgpu_gsp_init(struct nv_vgpu_device *vgpu)
return -ENODEV;
}
nv_vgpu_info(vgpu, "DRY-RUN: BAR0 mapped at %p, GSP doorbell offset 0x%llx, shared mem offset 0x%llx",
- bar->vaddr, NV_VGPU_GSP_DOORBELL_OFFSET, NV_VGPU_GSP_SHARED_MEM_OFFSET);
+ bar->vaddr, (u64)NV_VGPU_GSP_DOORBELL_OFFSET, (u64)NV_VGPU_GSP_SHARED_MEM_OFFSET);
/* Validate firmware files exist */
ret = request_firmware(NULL, NV_VGPU_GSP_BOOTLOADER_FILE, &vgpu->pdev->dev);
if (ret) {