aboutsummaryrefslogtreecommitdiffstats
path: root/runlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'runlist.c')
-rw-r--r--runlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runlist.c b/runlist.c
index 2eee01c..22f47ff 100644
--- a/runlist.c
+++ b/runlist.c
@@ -64,9 +64,9 @@ int get_runlist_iter(struct nvdebug_state *g, int rl_id, struct runlist_iter *rl
64 goto attempt_pramin_access; 64 goto attempt_pramin_access;
65 65
66 if (pd_config.is_ver2) 66 if (pd_config.is_ver2)
67 runlist_bar_vaddr = search_page_directory(g, pd_config, runlist_iova); 67 runlist_bar_vaddr = search_page_directory(g, pd_config, runlist_iova, TARGET_VID_MEM);
68 else 68 else
69 runlist_bar_vaddr = search_v1_page_directory(g, pd_config, runlist_iova); 69 runlist_bar_vaddr = search_v1_page_directory(g, pd_config, runlist_iova, TARGET_VID_MEM);
70 if (!runlist_bar_vaddr) { 70 if (!runlist_bar_vaddr) {
71 printk(KERN_WARNING "[nvdebug] Unable to find runlist %d mapping in BAR2/3 page tables for %x.\n", rl_id, g->chip_id); 71 printk(KERN_WARNING "[nvdebug] Unable to find runlist %d mapping in BAR2/3 page tables for %x.\n", rl_id, g->chip_id);
72 err = -EOPNOTSUPP; 72 err = -EOPNOTSUPP;