xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn
Subsystems (2)
PATCH 1/1 xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn
No functional change because MMU_NORMAL_PT_UPDATE is in fact 0. Set it to make the code consistent with similar code in mmu_pv.c
Signed-off-by Wei Liu <[email protected]>
--- arch/x86/xen/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/mmu.c +1 -1
@@ -84,7 +84,7 @@ static int remap_area_mfn_pte_fn(pte_t *ptep, pgtable_t token,else rmd->mfn++; - rmd->mmu_update->ptr =virt_to_machine (ptep).maddr; + rmd->mmu_update->ptr =virt_to_machine (ptep).maddr |MMU_NORMAL_PT_UPDATE ; rmd->mmu_update->val =pte_val_ma (pte); rmd->mmu_update++;
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 13 lines · Wei Liu
No functional change because
MMU_NORMAL_PT_UPDATEis in fact 0. Set it to make the code consistent with similar code inmmu_pv.cSigned-off-by Wei Liu <[email protected]>--- arch/x86/xen/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/xen/mmu.c +0
-0
arch/x86/xen/mmu.c static int remap_area_mfn_pte_fn(pte_t *ptep, pgtable_t token, · line 90
Quoted 8 lines
arch/x86/xen/mmu.c +1
-1@@ -84,7 +84,7 @@ static int remap_area_mfn_pte_fn(pte_t *ptep, pgtable_t token,else rmd->mfn++; - rmd->mmu_update->ptr =virt_to_machine (ptep).maddr; + rmd->mmu_update->ptr =virt_to_machine (ptep).maddr |MMU_NORMAL_PT_UPDATE ; rmd->mmu_update->val =pte_val_ma (pte); rmd->mmu_update++;
Reviewed-by Boris Ostrovsky <[email protected]>
Applied to for-linus-4.14
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel