mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Chen Yucong <slaoub@gmail.com>
Cc: tony.luck@intel.com, tglx@linutronix.de, hpa@zytor.com,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86, MCE, AMD: detect the threshold at the initialization period
Date: Tue, 30 Sep 2014 13:52:29 +0200	[thread overview]
Message-ID: <20140930115229.GE4639@pd.tnic> (raw)
In-Reply-To: <1411616289-28684-1-git-send-email-slaoub@gmail.com>

On Thu, Sep 25, 2014 at 11:38:09AM +0800, Chen Yucong wrote:
> ADM64 APM Volume 2 (9.3.2 Error-Reporting Register Banks)documents
> that the size of threshold counter is implementation-dependent, and
> the implementations with less than 16 bits fill the most significant
> unimplemented bits with zeros. So THRESHOLD_MAX should be detected
> at the initialization period rather than a constant.
> 
> On the other hand, Error Counter (ERRCT) is bits 47:32, and accordingly
> MASK_ERR_COUNT_HI should be 0x0000FFFF instead of 0x00000FFF.

All the families currently use 12 bits only, i.e. slice [43:32] so
there's no need for changing the current code. We'll address it when it
is actually needed.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

      reply	other threads:[~2014-09-30 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-25  3:38 Chen Yucong
2014-09-30 11:52 ` Borislav Petkov [this message]

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=20140930115229.GE4639@pd.tnic \
    --to=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=slaoub@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®