From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: sal record header concern
Date: Tue, 13 Dec 2005 04:11:21 +0000 [thread overview]
Message-ID: <6640.1134447081@kao2.melbourne.sgi.com> (raw)
In-Reply-To: <439D4ACE.9020701@bull.net>
On Mon, 12 Dec 2005 11:02:54 +0100,
xb <xavier.bru@bull.net> wrote:
>This is a multi-part message in MIME format.
>--------------040306040709010208040006
>Content-Transfer-Encoding: 7bit
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Please change your mailer not to use format=flowed. It destroys the
patch format.
>It seems there is a concern around the SAL record header:
> SEVERITY item is defined as a 8 bits item in SAL documentation
>($B.2.1 rev december 2003), but as an u16 in sal.h.
>This has the side effect that current code in mca.c does not call
>ia64_sal_clear_state_info() upon receiving corrected platform errors
>(priority is reported as 258 instead of 2).
I agree that the record definition is wrong, it should be a pair of
bytes. However I want to check why you are seeing a value of 258
instead of 2. hd output on a typical SGI salinfo record header
0000 03 00 00 03 F4 A1 02 00 02 00 02 00 38 02 00 00 * ............8... *
|-------- ID ----------| |rev| |sev| |--length-|
Even though the severity code is defined as 2 bytes instead of the
correct 1 byte, it still gives the value '2' in little endian mode.
Is your severity "code" set to 02 80? VALIDATION_BITS Bit 0 = if 1,
the OEM_PLATFORM_ID field below contains valid information.
Useful command 'hd', defined as
hexdump -e '"%04.4_Ax\n"' \
-e '"%04.4_ax "' \
-e '4/1 "%02X " " " 4/1 "%02X " " " 4/1 "%02X " " " 4/1 "%02X "' \
-e '" * " 16/1 "%_p" " *"' \
-e '"\n"' \
$*
next prev parent reply other threads:[~2005-12-13 4:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 10:02 sal record header concern xb
2005-12-13 4:11 ` Keith Owens [this message]
2005-12-13 4:57 ` Luck, Tony
2005-12-13 5:13 ` Keith Owens
2005-12-13 13:51 ` xb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6640.1134447081@kao2.melbourne.sgi.com \
--to=kaos@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.