diff options
author | Paul Burton <paul.burton@mips.com> | 2019-09-18 22:03:27 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-09-20 14:55:07 -0700 |
commit | d1af2ab36d80fcdc15dcaaead68f15352778aec7 (patch) | |
tree | f5666df782f272e045396afdd5eb9718d6275483 /Documentation/process/adding-syscalls.rst | |
parent | c4d48cf5e2f08476c2c59cc68133177c191cf4d5 (diff) |
MIPS: Disable pte_special() for MIPS32 with RiXi
Commit 61cbfff4b1a7 ("MIPS: pte_special()/pte_mkspecial() support")
added a _PAGE_SPECIAL bit to the pgprot bits of our PTEs. Unfortunately
for MIPS32 configurations with RiXi support this pushed the number of
pgprot bits to 13. Since the PFN field in EntryLo begins at bit 12 this
results in us shifting the most significant bit of the physical address
beyond the end of the PTE, leading any mapped access to a physical
address above 2GB to incorrectly access an address 2GB lower than
intended.
For now, disable the pte_special() support for MIPS32 configurations
that support RiXi.
Fixes: 61cbfff4b1a7 ("MIPS: pte_special()/pte_mkspecial() support")
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Dmitry Korotin <dkorotin@wavecomp.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'Documentation/process/adding-syscalls.rst')
0 files changed, 0 insertions, 0 deletions