summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/gsp_phys_booter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c
index f3efb00..5639030 100644
--- a/kernel/gsp_phys_booter.c
+++ b/kernel/gsp_phys_booter.c
@@ -16645,7 +16645,10 @@ int gsp_phys_backend_guest_gr_submit(const struct gsp_phys_gr_submit *req,
u32 sh_line =
boot_stage.rmcall_guest_pt_next_line;
bool win0 = (pg->qmd_word == 32u ||
- pg->qmd_word == 48u) &&
+ pg->qmd_word == 48u ||
+ (pg->qmd_word >= 34u &&
+ pg->qmd_word <= 46u &&
+ !(pg->qmd_word & 1))) &&
gsp_phys_rmcall_gr_shadow_win0_value() &&
boot_stage.rmcall_gr_shadow_win0.pages &&
boot_stage.rmcall_gr_shadow_win0_used <