diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2006-09-14 08:25:15 +0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-09-26 14:13:03 -0700 |
commit | f5a3f3dc189485d607fbd42678cc23958acc0a6e (patch) | |
tree | 7896c4c57d99011129af4ebfc8e3c24ca460cd1a /kernel/panic.c | |
parent | 5c55cd63a77a85f603c98c2171a8054ca34b6a9f (diff) |
[IA64] Make gp value point to Region 5 in mca handler
MCA dispatch code take physical address of GP passed from SAL, then call
DATA_PA_TO_VA twice on GP before call into C code. The first time is
in ia64_set_kernel_register, the second time is in VIRTUAL_MODE_ENTER.
The gp is changed to a virtual address in region 7 because DATA_PA_TO_VA
is implemented by dep instruction.
However when notify blocks were called from MCA handler code, because
notify blocks are supported by callback function pointers, gp value
value was switched to region 5 again.
The patch set gp register to kernel gp of region 5 at entry of MCA
dispatch.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions