Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1217453

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

From Markus Trippelsdorf <markus@trippelsdorf.de>
Newsgroups linux.kernel
Subject Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures
Date 2015-09-02 11:40 +0200
Message-ID <q4cGo-17b-49@gated-at.bofh.it> (permalink)
References (5 earlier) <q3Tu3-7qR-9@gated-at.bofh.it> <q3Ugr-8lN-41@gated-at.bofh.it> <q42nD-3aL-5@gated-at.bofh.it> <q47nl-1S4-21@gated-at.bofh.it> <q4cwH-VP-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote:
> >
> > No. PAT is of course enabled and booting is successful sometimes even
> > with the BUG() in allback_mtrr_type(). I suspect a setup (timing) issue.
> 
> Thanks for your confirmation.
> 
> >
> > markus@x4 linux % cat .config | grep  X86_PAT
> > CONFIG_X86_PAT=y
> > markus@x4 linux % dmesg | grep PAT
> > [    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT
> 
> Strange, BP processor has already set WC to PAT1, however KVM does not read it out
> from PAT MSR on its local CPU.
> 
> Hmm... PAT default values do not include WC, it seems initing PAT on SP has not
> finished after module_init()?
> 
> Could please apply this diff and test it again?

(Your patch was malformed.)

[    2.138098] kvm: Nested Virtualization enabled
[    2.138153] kvm: Nested Paging enabled
[    2.138204] KVM PAT: 0x7040600070406.
[    2.138255] mtrr2protval[0]:18.
[    2.138306] mtrr2protval[1]:ff.
[    2.138356] mtrr2protval[2]:0.
[    2.138408] mtrr2protval[3]:0.
[    2.138459] mtrr2protval[4]:8.
[    2.138510] mtrr2protval[5]:ff.
[    2.138561] mtrr2protval[6]:0.
[    2.138612] mtrr2protval[7]:10.
[    2.138662] BUG in fallback_mtrr_type, mtrr = 1.

-- 
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:20 +0200
  Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 09:30 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:50 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 10:40 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:50 +0200
          Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 11:00 +0200
            Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 12:10 +0200
              Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-01 15:10 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 16:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 00:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 06:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 11:30 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 11:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 12:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 13:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 13:10 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 11:00 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:20 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:40 +0200

csiph-web