Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: tlb-r4k: panic if the MMU doesn't support PAGE_SIZE
After writing the appropriate mask to the cop0 PageMask register, read the register back & check it matches what we want. If it doesn't then the MMU does not support the page size the kernel is configured for and we're better off bailing than continuing to do odd things with TLB exceptions. Signed-off-by: Paul Burton <[email protected]> Cc: Steven J. Hill <[email protected]> Cc: Joshua Kinard <[email protected]> Cc: Rafał Miłecki <[email protected]> Cc: James Hogan <[email protected]> Cc: Markos Chandras <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/10691/ Signed-off-by: Ralf Baechle <[email protected]>
- Loading branch information