In 64-bit kernels a user space access might cause us to try to access PGD elements beyound the end of the PGD, we must check for this and trap it. David Daney (3): MIPS: Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm. MIPS: Use uasm_i_ds{r,l}l_safe() instead of uasm_i_ds{r,l}l() in tlbex.c MIPS: Check for accesses beyond the end of the PGD. arch/mips/include/asm/uasm.h | 18 ++++++ arch/mips/mm/tlbex.c | 129 ++++++++++++++++++++++++++++++++---------- 2 files changed, 117 insertions(+), 30 deletions(-)