[PATCH v2 0/3] x86/mm/pat: fix VM_PAT handling in COW mappings
From: David Hildenbrand
Date: Wed Apr 03 2024 - 17:21:57 EST
Rebased on latest mm-unstable. As we have a conflict now with a cleanup
from Chrostoph, temporarily revert that one, so we can apply the fix,
and reapply the adjusted cleanup on top. I squashed the fixups
sitting in Andrew's tree for that patch.
The fix should likely go in first via the hotfix route, that's why I'm
moving it to the front.
Tested with my reproducer.
v1 -> v2:
* Rebased to latest mm-unstable
* "x86/mm/pat: fix VM_PAT handling in COW mappings"
-> Fix function parameter indentation
-> Add Ingos Ack
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: Fei Li <fei1.li@xxxxxxxxx>
Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
Christoph Hellwig (1):
mm: move follow_phys to arch/x86/mm/pat/memtype.c
David Hildenbrand (2):
[mm-unstable] Revert "mm: move follow_phys to
arch/x86/mm/pat/memtype.c"
x86/mm/pat: fix VM_PAT handling in COW mappings
arch/x86/mm/pat/memtype.c | 56 +++++++++++++++++++++++++++++----------
1 file changed, 42 insertions(+), 14 deletions(-)
--
2.44.0