|
@@ -1714,7 +1714,8 @@ int kvm_mmu_init(void)
|
|
kern_hyp_va(PAGE_OFFSET), kern_hyp_va(~0UL));
|
|
kern_hyp_va(PAGE_OFFSET), kern_hyp_va(~0UL));
|
|
|
|
|
|
if (hyp_idmap_start >= kern_hyp_va(PAGE_OFFSET) &&
|
|
if (hyp_idmap_start >= kern_hyp_va(PAGE_OFFSET) &&
|
|
- hyp_idmap_start < kern_hyp_va(~0UL)) {
|
|
|
|
|
|
+ hyp_idmap_start < kern_hyp_va(~0UL) &&
|
|
|
|
+ hyp_idmap_start != (unsigned long)__hyp_idmap_text_start) {
|
|
/*
|
|
/*
|
|
* The idmap page is intersecting with the VA space,
|
|
* The idmap page is intersecting with the VA space,
|
|
* it is not safe to continue further.
|
|
* it is not safe to continue further.
|