-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s390x: fix virtual address translation on Linux >= 6.10
Since Linux kernel commit c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") (in v6.10), kernel virtual addresses in the direct mapping are no longer equal to physical addresses on s390x. This broke our s390x page table iterator, which still assumes that they are equal. The fix is easy: treat the top-level page table address as virtual like we do for every other architecture. Fixes #433. Suggested-by: Sven Schnelle <[email protected]> Signed-off-by: Omar Sandoval <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters