All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: "Jiang, Yunhong" <yunhong.jiang@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Gavin Maltby <Gavin.Maltby@sun.com>,
	"Ke, Liping" <liping.ke@intel.com>,
	"Frank.Vanderlinden@Sun.COM" <Frank.Vanderlinden@sun.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	"Kleen, Andi" <andi.kleen@intel.com>
Subject: Re: Re: [RFC] RAS(Part II)--MCA enalbing in XEN
Date: Wed, 25 Feb 2009 13:19:28 +0100	[thread overview]
Message-ID: <200902251319.29299.Christoph.Egger@amd.com> (raw)
In-Reply-To: <E2263E4A5B2284449EEBD0AAB751098401C7B6E888@PDSMSX501.ccr.corp.intel.com>

On Wednesday 25 February 2009 03:25:12 Jiang, Yunhong wrote:
> Frank.Vanderlinden@Sun.COM <mailto:Frank.Vanderlinden@Sun.COM> wrote:
> > Kleen, Andi wrote:
> >>> Kleen, Andi wrote:
> >>
> >> So it's generally better to inject generic events, not just blindly
> >> forward.
> >
> > Agreed. I can see advantages to the vMCE code, but it has to deliver
> > something to the domU that makes it do something reasonable.
> > That's why
> > I have some doubts about the patch that was sent, it doesn't
> > quite seem
> > to achieve that (certainly not without translating the address).
> >
> > - Frank
>
> Yes, we should have include the translation. We didn't do that when sending
> out the patch because we thought the PV guest has idea of m2p translation.
> Later we realized the translation is needed for PV guest after more
> consideration, since the unmodified #MC handler will use guest address. Of
> course we always need the translation for HVM guest, which however is not
> in that patch's scope . Sorry for any confusion caused.
>
> One thing need notice is, the information passed through vIRQ is physical
> information while dom0s' MCA handler will get guest information, so user
> space tools should be aware of such constraints.
>
> So, Frank/Egger, can I assume followed are consensus currently?
>
> 1) MCE is handled by Xen HV totally, while guest's vMCE handler will only
> works for itself.
> 2) Xen present a virtual #MC to guest through MSR access  
> emulation.(Xen will do the translation if needed).
> 3) Guest's unmodified 
> MCE handler will handle the vMCE injected.
> 4) Dom0 will get all log/telemetry through hypercall.
> 5) The action taken by xen will be passed to dom0 through the telemetry
> mechanism.

Mostly. Regarding 2) I want like to discuss first how to handle errors
impacting multiple contiguous physical pages which are non-contigous
in guest physical space.

And I also want to discuss about how to do recovery actions requiring
PCI access. One example for this is
Shanghai's "L3 Cache Index Disable"-Feature.
Xen delegates PCI config space to Dom0 and
via PCI passthrough partly to DomU.
That means, if registers in PCI config space are independently
accessable by Xen, Dom0 and/or DomU, they can interfere with each other.
Therefore, we need to
a) clearly define who handles what and
b) define some rules based on a)
c) discuss how to handle Dom0/DomU going wild
    and break the rules defined in b)


Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2009-02-25 12:19 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16  5:35 [RFC] RAS(Part II)--MCA enalbing in XEN Ke, Liping
2009-02-16 13:34 ` Christoph Egger
2009-02-16 14:18   ` Christoph Egger
2009-02-16 15:03     ` Keir Fraser
2009-02-16 15:19       ` Jiang, Yunhong
2009-02-16 17:58       ` Frank Van Der Linden
2009-02-17  5:50         ` Frank Van Der Linden
2009-02-17  6:44           ` Jiang, Yunhong
2009-02-17  6:53           ` Jiang, Yunhong
2009-02-17  6:41         ` Jiang, Yunhong
2009-02-18 18:05           ` Christoph Egger
2009-02-19  9:13             ` Jiang, Yunhong
2009-02-19 16:25               ` Christoph Egger
2009-02-20  2:53                 ` Jiang, Yunhong
2009-02-20 21:01                   ` Frank van der Linden
2009-02-23  9:01                     ` Jiang, Yunhong
2009-02-24 18:53                       ` Frank van der Linden
     [not found]                         ` <2E9E6F5F5978EF44A8590E339E888CF988279945@irsmsx503.ger.corp.intel.com>
2009-02-24 19:07                           ` Frank van der Linden
     [not found]                             ` <2E9E6F5F5978EF44A8590E339E888CF98827996D@irsmsx503.ger.corp.intel.com>
2009-02-24 20:47                               ` Frank van der Linden
2009-02-25  2:25                                 ` Jiang, Yunhong
2009-02-25 12:19                                   ` Christoph Egger [this message]
2009-02-25 17:32                                     ` Frank van der Linden
2009-02-26  2:16                                       ` Jiang, Yunhong
2009-03-02 14:58                                         ` Christoph Egger
2009-03-02 16:15                                           ` Jiang, Yunhong
2009-03-02  5:51                                       ` Jiang, Yunhong
2009-03-02 14:51                                         ` Christoph Egger
2009-03-02 16:09                                           ` Jiang, Yunhong
2009-03-02 17:47                                         ` Frank van der Linden
2009-03-05  4:45                                           ` Jiang, Yunhong
2009-03-05  8:31                                           ` Jiang, Yunhong
2009-03-05 14:53                                             ` Christoph Egger
2009-03-05 15:19                                               ` Jiang, Yunhong
2009-03-05 17:28                                                 ` Christoph Egger
2009-03-06  2:11                                                   ` Jiang, Yunhong
2009-03-10  1:19                                                   ` Jiang, Yunhong
2009-03-10 19:08                                                     ` Christoph Egger
2009-03-12 15:52                                                       ` Jiang, Yunhong
2009-03-16 16:27                                                         ` Frank van der Linden
2009-02-25 22:30                                     ` Gavin Maltby
2009-02-25  2:31                               ` Jiang, Yunhong
2009-02-25 10:57                               ` Christoph Egger
2009-02-25  2:26                             ` Jiang, Yunhong
2009-02-25 10:37                             ` Christoph Egger
2009-02-16 15:05     ` Jiang, Yunhong

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=200902251319.29299.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Frank.Vanderlinden@sun.com \
    --cc=Gavin.Maltby@sun.com \
    --cc=andi.kleen@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=liping.ke@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 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.