]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ia64: Another MCA fix
authorTony Luck <tony.luck@intel.com>
Tue, 14 Oct 2003 09:45:42 +0000 (02:45 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Tue, 14 Oct 2003 09:45:42 +0000 (02:45 -0700)
The definition of the pal_process_state_info_s structure
misses out some useful pieces (e.g. the "mi" bit which indicates
whether we should call PAL_MC_ERROR_INFO to get more details).

Worse yet, some of the bits are in the wrong places (cc/tc/bc).

See Volume 2 of "Intel Itanium Architecture Software Developer's
Manual".  (In the Rev 2.1 October 2002 edition, p. 2:268 and 2:276).

include/asm-ia64/pal.h

index e3152bc4fb396aec0e520d449373ec5941f6beeb..eccf580c1d5f3e06a8f38671f2e189a0681cb3f5 100644 (file)
@@ -405,10 +405,11 @@ typedef struct pal_process_state_info_s {
                                                 * generated.
                                                 * (Trap Lost )
                                                 */
-                       op              : 3,    /* Operation that
-                                                * caused the machine
-                                                * check
+                       mi              : 1,    /* More information available
+                                                * call PAL_MC_ERROR_INFO
                                                 */
+                       pi              : 1,    /* Precise instruction pointer */
+                       pm              : 1,    /* Precise min-state save area */
 
                        dy              : 1,    /* Processor dynamic
                                                 * state valid
@@ -450,11 +451,12 @@ typedef struct pal_process_state_info_s {
                                                 * by the processor
                                                 */
 
-                       reserved2       : 12,
+                       reserved2       : 11,
                        cc              : 1,    /* Cache check */
                        tc              : 1,    /* TLB check */
                        bc              : 1,    /* Bus check */
-                       uc              : 1;    /* Unknown check */
+                       rc              : 1,    /* Register file check */
+                       uc              : 1;    /* Uarch check */
 
 } pal_processor_state_info_t;