From: Ingo Molnar <mingo@elte.hu>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
Arjan van de Ven <arjan@infradead.org>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
Avi Kivity <avi@qumranet.com>
Subject: Re: [git pull] x86 PAT changes
Date: Sat, 26 Apr 2008 16:42:03 +0200 [thread overview]
Message-ID: <20080426144203.GA19635@elte.hu> (raw)
In-Reply-To: <481330C6.7040109@googlemail.com>
* Gabriel C <nix.or.die@googlemail.com> wrote:
> Hi Ingo,
>
> When using an 64bit ( didn't got time to test 32bit now ) kernel[1]
> with PAT enabled , kvm-intel does not work anymore.
>
> When modprobing kvm-intel , kvm is saying VT extension is disable by
> BIOS which isn't true. When disabling PAT again ( no changes to BIOS )
> kvm-intel works again here.
>
> Is that an known problem ?
no, that side-effect was not known. Cc:-ed more folks.
> If you need more infos just let me know.
>
> Gabriel
>
> [1] 2.6.25-05096-gb1721d0-dirty
> with following patches :
> http://lkml.org/lkml/2008/4/26/37
> http://lkml.org/lkml/2008/4/26/24
> http://lkml.org/lkml/2008/4/25/107
thanks - that should be enough for now. We'll try to reproduce these
problems.
A blind guess: maybe it's the CONFIG_NONPROMISC_DEVMEM somehow breaks
Qemu. With the patch below you'd be able to disable NONPROMISC_DEVMEM
without disabling PAT.
Ingo
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4d350b5..4aa4180 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1049,9 +1049,9 @@ config MTRR
See <file:Documentation/mtrr.txt> for more information.
config X86_PAT
- def_bool y
+ bool
prompt "x86 PAT support"
- depends on MTRR && NONPROMISC_DEVMEM
+ depends on MTRR
help
Use PAT attributes to setup page level cache control.
next prev parent reply other threads:[~2008-04-26 14:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 22:56 [git pull] x86 PAT changes Ingo Molnar
2008-04-25 23:43 ` Linus Torvalds
2008-04-26 0:06 ` H. Peter Anvin
2008-04-26 1:12 ` Linus Torvalds
2008-04-26 8:56 ` Ingo Molnar
2008-04-26 16:54 ` Pallipadi, Venkatesh
2008-04-26 17:15 ` Linus Torvalds
2008-04-26 18:32 ` Venki Pallipadi
2008-04-26 19:07 ` [patch] x86, PAT: disable /dev/mem mmap RAM with PAT Ingo Molnar
2008-04-26 9:57 ` [git pull] x86 PAT changes Ingo Molnar
2008-04-26 13:40 ` Gabriel C
2008-04-26 14:42 ` Ingo Molnar [this message]
2008-04-26 15:37 ` Gabriel C
2008-04-26 15:41 ` Ingo Molnar
2008-04-26 16:43 ` Linus Torvalds
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=20080426144203.GA19635@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=avi@qumranet.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nix.or.die@googlemail.com \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=venkatesh.pallipadi@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