All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
To: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
Cc: lguest-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	Konrad Rzeszutek Wilk
	<konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
	Jeremy Fitzhardinge <jeremy-TSDbQ3PG+2Y@public.gmane.org>,
	xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
	Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
	Ingo Molnar <mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: [Xen-devel] lguest: unhandled trap 13 and CONFIG_MICROCODE_INTEL_EARLY
Date: Wed, 08 May 2013 20:24:50 -0700	[thread overview]
Message-ID: <518B1702.7010307@zytor.com> (raw)
In-Reply-To: <8738txnd13.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>

On 05/08/2013 06:43 PM, Rusty Russell wrote:
> 
> OK, that confirms my understanding it's lguest-only.
> 
> To return to the immediate proposal: I'd like to expand it KEEP_SEGMENTS
> to say "don't do any privileged ops before the platform entry point"
> which is what it used to do (before we added those config options), and
> still does (if they're disabled).
> 
> This fixes lguest for those configs, and if there *are* any other users,
> this just means they don't support OLPC machines (since 2.6.37) or early
> microcode (3.9).  OLPC + KEEP_SEGMENTS is vanishingly unlikely (the OLPC
> bootloader doesn't use it), and early microcode never worked with
> paravirt anyway (those native_cpuid() calls).
> 
> Failing that, second best to remove KEEP_SEGMENTS, and have lguest
> 'emulate' (ie. skip!) those instructions.  We already do this for in/out
> instructions, see drivers/lguest/x86/core.c emulate_insn().  More code,
> but it's lguest code.
>

Or we can skip the microcode stuff for platform == 2.

	-hpa

  parent reply	other threads:[~2013-05-09  3:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1367450300.11532.32.camel@x61.thuisdomein>
     [not found] ` <1367450300.11532.32.camel-uMdlDhfIn7prKue/0VVhAg@public.gmane.org>
2013-05-06  4:22   ` lguest: unhandled trap 13 and CONFIG_MICROCODE_INTEL_EARLY Rusty Russell
     [not found]     ` <87li7srb3r.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-06 14:51       ` H. Peter Anvin
     [not found]         ` <5187C369.5020902-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-05-07  5:18           ` Rusty Russell
2013-05-08 17:20             ` [Lguest] " Konrad Rzeszutek Wilk
     [not found]               ` <20130508172040.GA1256-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-05-08 18:07                 ` [Xen-devel] " H. Peter Anvin
2013-05-10 14:51                   ` Is: paravirt docs and diet. Was:Re: [Lguest] " Konrad Rzeszutek Wilk
     [not found]                     ` <20130510145137.GJ19520-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-05-10 17:19                       ` Is: paravirt docs and diet. Was:Re: [Xen-devel] " H. Peter Anvin
2013-05-10 17:53                         ` Is: paravirt docs and diet. Was:Re: [Lguest] " Matt Wilson
     [not found]                           ` <20130510175326.GD10713-reOQivfqS6pSvVcqp95Imk58d5RJRbtSwVDGBwiNqrNWk0Htik3J/w@public.gmane.org>
2013-05-10 18:07                             ` [Xen-devel] Is: paravirt docs and diet. Was:Re: " H. Peter Anvin
2013-05-13 20:11                               ` Is: paravirt docs and diet. Was:Re: [Lguest] " Konrad Rzeszutek Wilk
2013-05-09  1:43                 ` [Xen-devel] " Rusty Russell
     [not found]                   ` <8738txnd13.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-09  3:24                     ` H. Peter Anvin [this message]
     [not found]                       ` <518B1702.7010307-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-05-09  8:24                         ` Paul Bolle
     [not found]             ` <87mws7nzag.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-09  2:50               ` H. Peter Anvin

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=518B1702.7010307@zytor.com \
    --to=hpa-ymnouzjc4hwavxtiumwx3w@public.gmane.org \
    --cc=jeremy-TSDbQ3PG+2Y@public.gmane.org \
    --cc=konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=lguest-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org \
    --cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
    --cc=xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.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.