OSDN Git Service

powerpc/booke64: Critical and machine check exception support
authorScott Wood <scottwood@freescale.com>
Mon, 10 Mar 2014 22:29:38 +0000 (17:29 -0500)
committerScott Wood <scottwood@freescale.com>
Thu, 20 Mar 2014 00:57:27 +0000 (19:57 -0500)
commit609af38f8fc0f1dab993b2c67f90d07f761ea902
treea8d0383323961cc1dd7aeb331c7c29a8ed478995
parent31f712482894d723e38490139eb03156a5d3eb59
powerpc/booke64: Critical and machine check exception support

Add special state saving for critical and machine check exceptions.

Most of this code could be used to handle debug exceptions taken from
kernel space, but actually doing so is outside the scope of this patch.

The various critical and machine check exceptions now point to their
real handlers, rather than hanging the kernel.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/mm/tlb_nohash.c