All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Van Der Linden <Frank.Vanderlinden@Sun.COM>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Gavin Maltby <Gavin.Maltby@Sun.COM>,
	Christoph Egger <Christoph.Egger@amd.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"Jiang, Yunhong" <yunhong.jiang@intel.com>,
	"Ke, Liping" <liping.ke@intel.com>
Subject: Re: Re: [RFC] RAS(Part II)--MCA enalbing in XEN
Date: Mon, 16 Feb 2009 10:58:37 -0700	[thread overview]
Message-ID: <4999A94D.5020500@Sun.COM> (raw)
In-Reply-To: <C5BF30B3.2C2B%keir.fraser@eu.citrix.com>

Keir Fraser wrote:
> On 16/02/2009 14:18, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
>
>   
>> IMO, any design change should be discussed first and not changed
>> silently, since this will confuse everyone and noone will know
>> what is the right thing to do in Xen and in Dom0 and this
>> in turn will lead to error prone, unmaintainable code in both
>> Xen and in Dom0
>>     
>
> I certainly think we should have a shared approach for x86 machine-check
> handling, rather than completely different architectures for AMD and Intel.
> Fortunately Sun are an interested and active third party regarding this
> feature. I'll be interested in their opinion.
>
>  -- Keir
>
>
>   
Today is a holiday here in the US, so I have only taken a superficial 
look at the patches.

However, my initial impression is that I share Christoph's concern. I 
like the original design, where the hypervisor deals with low-level 
information collection, passes it on to dom0, which then can make a 
high-level decision and instructs the hypervisor to take high-level 
action via a hypercall. The hypervisor does the actual MSR reads and 
writes, dom0 only acts on the values provided via hypercalls.

We added the physcpuinfo hypercall to stay in this framework: get 
physical information needed for analysis, but don't access any registers 
directly.

It seems that these new patches blur this distinction, especially the 
virtualized msr reads/writes. I am not sure what added value they have, 
except for being able to run an unmodified MCA handler. However, I think 
that any active MCA decision making should be centralized, and that 
centralized place would be dom0. Dom0 is already very much aware of the 
hypervisor, so I don't see the advantage of having an unmodified MCA 
handler there (our MCA handlers are virtually unmodified, it's just that 
the part where the telemetry is collected is inside Xen for the dom0 case).

I also agree that different behavior for AMD and Intel chips would not 
be good.

Perhaps the Intel folks can explain what the advantages of their 
approach are, and give some scenarios where there approach would be 
better? My first impression is that staying within the general framework 
as provided by Christoph's original work is the better option.

- Frank

  parent reply	other threads:[~2009-02-16 17:58 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 [this message]
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
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=4999A94D.5020500@Sun.COM \
    --to=frank.vanderlinden@sun.com \
    --cc=Christoph.Egger@amd.com \
    --cc=Gavin.Maltby@Sun.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.