summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_emulation.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_emulation.c')
-rw-r--r--kernel/gsp_emulation.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/gsp_emulation.c b/kernel/gsp_emulation.c
index 0b6bba0..969d4fd 100644
--- a/kernel/gsp_emulation.c
+++ b/kernel/gsp_emulation.c
@@ -305,6 +305,18 @@ static void gsp_emu_poll_boot(struct gsp_emu_context *ctx)
}
}
+ /* Temporary: watch the PCFG link-caps mirror for guest writes */
+ {
+ static u32 last_linkcap;
+ u32 v = gsp_emu_shadow_read32(ctx, 0x88084);
+
+ if (v != last_linkcap) {
+ nv_vgpu_info(ctx->vgpu, "GSP-BOOT: PCFG[0x88084] = 0x%x (was 0x%x)",
+ v, last_linkcap);
+ last_linkcap = v;
+ }
+ }
+
/* GSP ENGINE reset asserted -> falcon rebooted, restart stage tracking */
if ((engine & 0x1) && ctx->boot_stage != GSP_BOOT_STAGE_IDLE) {
nv_vgpu_info(ctx->vgpu, "GSP-BOOT: falcon reset, back to IDLE");