]> git.hungrycats.org Git - linux/commit
[PATCH] ia64: MCA min_state area must be uncacheable
authorTony Luck <tony.luck@intel.com>
Thu, 16 Oct 2003 08:11:43 +0000 (01:11 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Thu, 16 Oct 2003 08:11:43 +0000 (01:11 -0700)
commit761552e742622c31814c96e3611fe4985c1cb7d5
tree52085a0ea3459eea33cbc32067f01a6ea386ae83
parent04f8dec9c186525423d2873314c454f25f6219e5
[PATCH] ia64: MCA min_state area must be uncacheable

Software Developer's Manual page 2:270, section 11.3.2.3
says that the processor min-state save area must be in an
uncacheable region ... but current MCA recovery code
allocates the min-state area "ia64_mca_min_state_save_info"
in regular kernel data/bss.

This patch re-uses the same min-state area that the PAL/SAL
used to report the error to Linux ... which mostly requires
deleting code and declarations (some of which were wrong,
MIN_STATE_AREA_SIZE ought to have been 58).  The real "work"
is copying the pointer to the min-state area from the
sal_to_os handoff structure into the os_to_sal structure.
arch/ia64/kernel/mca.c
arch/ia64/kernel/mca_asm.S
include/asm-ia64/mca.h