diff options
| author | Marko Kiiskila <[email protected]> | 2025-06-18 19:29:26 +0000 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2025-07-01 03:10:11 +0000 |
| commit | 7dfede7d7edd18c0c91ca854cde8eaaf4ccf97ea (patch) | |
| tree | 30fe6295888f91dc8b53a5ba3f0794305d16680e /tools/perf/scripts/python | |
| parent | drm/bridge: aux-hpd-bridge: fix assignment of the of_node (diff) | |
| download | kernel-7dfede7d7edd18c0c91ca854cde8eaaf4ccf97ea.tar.gz kernel-7dfede7d7edd18c0c91ca854cde8eaaf4ccf97ea.zip | |
drm/vmwgfx: Fix guests running with TDX/SEV
Commit 81256a50aa0f ("x86/mm: Make memremap(MEMREMAP_WB) map memory as
encrypted by default") changed the default behavior of
memremap(MEMREMAP_WB) and started mapping memory as encrypted.
The driver requires the fifo memory to be decrypted to communicate with
the host but was relaying on the old default behavior of
memremap(MEMREMAP_WB) and thus broke.
Fix it by explicitly specifying the desired behavior and passing
MEMREMAP_DEC to memremap.
Fixes: 81256a50aa0f ("x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted by default")
Signed-off-by: Marko Kiiskila <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Kirill A. Shutemov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
