All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: lkp@lists.01.org
Subject: Re: [x86] 5ac0c41bf3: WARNING: CPU: 0 PID: 0 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe
Date: Wed, 15 Jun 2016 19:07:43 +0200	[thread overview]
Message-ID: <20160615170743.GB30309@pd.tnic> (raw)
In-Reply-To: <20160615145150.GH18662@thinpad.lan.raisama.net>

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

On Wed, Jun 15, 2016 at 11:51:50AM -0300, Eduardo Habkost wrote:
> We have that: it is "-feature" (or "feature=off"). Features that
> can't be configured in the command-line should never appear to
> the guest unless you use "-cpu host,migratable=off".
> 
> Something that allows disabling feature flags that still don't
> have a name in QEMU would be useful for "-cpu
> host,migratable=off" only (and that's an interesting suggestion).
> But that's not the case here, I guess.

Right, and I'm wondering whether something like that would be useful for
testing purposes. For example, I want to enable a CPUID feature on the
command line and see how the kernel I'm booting in the guest reacts. And
that feature bit is not necessarily known to qemu/kvm.

Can we, say, pass whole CPUID leafs to qemu to report to the guest?
I.e., something like:

 ... -cpuid=0x5,eax=0x40,ebx=0xdeadbeef,ecx=0xcaffee ...

and so on.

Would that be interesting to add to qemu? I'd find something like that
very useful for testing kernels...

Thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

WARNING: multiple messages have this Message-ID (diff)
From: Borislav Petkov <bp@alien8.de>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: kernel test robot <fengguang.wu@intel.com>,
	Andy Lutomirski <luto@amacapital.net>,
	Paolo Bonzini <pbonzini@redhat.com>, LKP <lkp@01.org>,
	wfg@linux.intel.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [x86] 5ac0c41bf3:  WARNING: CPU: 0 PID: 0 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe
Date: Wed, 15 Jun 2016 19:07:43 +0200	[thread overview]
Message-ID: <20160615170743.GB30309@pd.tnic> (raw)
In-Reply-To: <20160615145150.GH18662@thinpad.lan.raisama.net>

On Wed, Jun 15, 2016 at 11:51:50AM -0300, Eduardo Habkost wrote:
> We have that: it is "-feature" (or "feature=off"). Features that
> can't be configured in the command-line should never appear to
> the guest unless you use "-cpu host,migratable=off".
> 
> Something that allows disabling feature flags that still don't
> have a name in QEMU would be useful for "-cpu
> host,migratable=off" only (and that's an interesting suggestion).
> But that's not the case here, I guess.

Right, and I'm wondering whether something like that would be useful for
testing purposes. For example, I want to enable a CPUID feature on the
command line and see how the kernel I'm booting in the guest reacts. And
that feature bit is not necessarily known to qemu/kvm.

Can we, say, pass whole CPUID leafs to qemu to report to the guest?
I.e., something like:

 ... -cpuid=0x5,eax=0x40,ebx=0xdeadbeef,ecx=0xcaffee ...

and so on.

Would that be interesting to add to qemu? I'd find something like that
very useful for testing kernels...

Thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

  reply	other threads:[~2016-06-15 17:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 12:25 [x86] 5ac0c41bf3: WARNING: CPU: 0 PID: 0 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe kernel test robot
2016-06-15 14:25 ` Borislav Petkov
2016-06-15 14:25   ` Borislav Petkov
2016-06-15 14:51   ` Eduardo Habkost
2016-06-15 14:51     ` Eduardo Habkost
2016-06-15 17:07     ` Borislav Petkov [this message]
2016-06-15 17:07       ` Borislav Petkov
2016-06-15 14:53   ` Paolo Bonzini
2016-06-15 14:53     ` Paolo Bonzini
2016-06-15 17:23   ` Andy Lutomirski
2016-06-15 17:23     ` Andy Lutomirski
2016-06-15 17:50     ` Borislav Petkov
2016-06-15 17:50       ` Borislav Petkov
2016-06-15 17:55       ` Andy Lutomirski
2016-06-15 17:55         ` Andy Lutomirski
2016-06-15 18:07         ` Borislav Petkov
2016-06-15 18:07           ` Borislav Petkov
2016-06-15 18:12           ` Andy Lutomirski
2016-06-15 18:12             ` Andy Lutomirski
2016-06-15 18:23             ` Borislav Petkov
2016-06-15 18:23               ` Borislav Petkov
2016-06-15 18:44               ` Andy Lutomirski
2016-06-15 18:44                 ` Andy Lutomirski

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=20160615170743.GB30309@pd.tnic \
    --to=bp@alien8.de \
    --cc=lkp@lists.01.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.