• Paul Mundt's avatar
    sh: Fix up recursive fault in oops with unset TTB. · 90eed7d8
    Paul Mundt authored
    Presently the oops code looks for the pgd either from the mm context or
    the cached TTB value. There are presently cases where the TTB can be
    unset or otherwise cleared by hardware, which we weren't handling,
    resulting in recursive faults on the NULL pgd. In these cases we can
    simply reload from swapper_pg_dir and continue on as normal.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    90eed7d8
fault.c 11.3 KB