xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Jinsong Liu <jinsong.liu@intel.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir@xen.org>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Yunhong Jiang <yunhong.jiang@intel.com>,
	Will Auld <will.auld@intel.com>, Tony Luck <tony.luck@intel.com>
Subject: Re: [PATCH] Xen/MCE: adjust for future new vMCE model
Date: Thu, 5 Jul 2012 11:18:43 +0200	[thread overview]
Message-ID: <4FF55BF3.5000500@amd.com> (raw)
In-Reply-To: <4FF557A4020000780008DC60@nat28.tlf.novell.com>

On 07/05/12 09:00, Jan Beulich wrote:

>>>> On 04.07.12 at 18:08, "Liu, Jinsong" <jinsong.liu@intel.com> wrote:
>> Christoph Egger wrote:
>>> On 07/04/12 15:08, Liu, Jinsong wrote:
>>>> +    g_mcg_cap = MCG_TES_P | MCG_SER_P | GUEST_BANK_NUM;
>>>> +
>>>
>>>
>>> Is MCG_TES_P and MCG_SER_P emulated independent if the host has them
>>> or not? For AMD this only works if the answer is yes.
>>>
>>> (I know in upstream this code path is used by Intel only but I have
>>> patches that brings this code path in use by both AMD and Intel.)
>>>
>>> Christoph
>>
>> I'm not sure if AMD has these 2 bits in MCG_CAP. Could you tell me where can 
>> I get AMD's *latest* open doc (something like amd architecture programmer 
>> manual)?
>>
>> If AMD has these 2 bits, it's safe to set them independent of host 
>> capability -- guest will just think it running on a platform w/ some events 
>> *possilbe* (though actually may never occur), hypervisor know what actually 
>> occur and has the flexibility to decide what it would like to inject to 
>> guest.
> 
> According to the latest doc I have access to, neither of these two
> bits are known there (nor are any other of the bits beyond 8). But
> as we don't want to surface model specific behavior to guests,
> having these bits set seems the right thing in any case. The
> MCi_STATUS values reported to guests just may need some
> additional massaging.
> 
> All this is of course assuming that AMD won't assign these bits
> _different_ meanings in the future, but as that would be pretty
> counter productive (requiring more vendor specific code in all OSes)
> that seems pretty unlikely. Christoph?

Let me ask back internally.

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2012-07-05  9:18 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 13:08 [PATCH] Xen/MCE: adjust for future new vMCE model Liu, Jinsong
2012-07-04 13:25 ` Christoph Egger
2012-07-04 16:08   ` Liu, Jinsong
2012-07-05  7:00     ` Jan Beulich
2012-07-05  9:18       ` Christoph Egger [this message]
2012-07-05  9:36         ` Liu, Jinsong
2012-07-05  9:53           ` Christoph Egger
2012-07-05  9:58           ` Christoph Egger
2012-07-05 10:17             ` Liu, Jinsong
2012-07-05 17:01     ` Luck, Tony
2012-07-05 18:38       ` Liu, Jinsong
2012-07-05 20:08         ` Luck, Tony
2012-07-06  9:12         ` Christoph Egger
2012-07-06 10:13           ` Jan Beulich
2012-07-04 13:37 ` Ian Campbell
2012-07-04 14:11   ` Jan Beulich
2012-07-04 13:40 ` Jan Beulich
2012-07-05  3:03   ` Liu, Jinsong
2012-07-05  6:39     ` Jan Beulich
2012-07-05  6:44       ` Ian Campbell
2012-07-05  7:02         ` Ian Campbell
2012-07-05  7:19           ` Jan Beulich
2012-07-05  7:50             ` Liu, Jinsong
2012-07-05  8:55               ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2012-07-05  3:30 Liu, Jinsong
2012-07-05  6:36 ` Jan Beulich
2012-07-05  7:28   ` Liu, Jinsong
2012-07-05  7:42     ` Jan Beulich
2012-07-05  6:52 ` Jan Beulich
2012-07-05  9:20   ` Liu, Jinsong
2012-07-05 10:43     ` Ian Campbell
2012-07-05 12:04       ` Liu, Jinsong
2012-07-05 17:18         ` Luck, Tony
2012-07-05 18:47           ` Liu, Jinsong
2012-07-05 11:40     ` Jan Beulich
2012-07-05 12:46       ` Liu, Jinsong
2012-07-05 13:33         ` Jan Beulich
2012-07-05 15:56           ` Liu, Jinsong
2012-07-05 16:04             ` Jan Beulich
2012-07-05 16:42               ` Liu, Jinsong
2012-07-06  8:07                 ` Jan Beulich
2012-07-05 13:39     ` Christoph Egger

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=4FF55BF3.5000500@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=jinsong.liu@intel.com \
    --cc=keir@xen.org \
    --cc=tony.luck@intel.com \
    --cc=will.auld@intel.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yunhong.jiang@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;
as well as URLs for NNTP newsgroup(s).