Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cebf8c0f authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: Allow storing pgd in C0_CONTEXT for MIPSr6



CONFIG_MIPS_PGD_C0_CONTEXT, which allows a pointer to the page directory
to be stored in the cop0 Context register when enabled, was previously
only allowed for MIPSr2. MIPSr6 is just as able to make use of it, so
allow it there too.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16204/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f39878cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2073,7 +2073,7 @@ config CPU_SUPPORTS_UNCACHED_ACCELERATED
	bool
config MIPS_PGD_C0_CONTEXT
	bool
	default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
	default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP

#
# Set to y for ptrace access to watch registers.