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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 06:54 PM, Markus Trippelsdorf wrote: On 2015.09.02 at 18:27 +0800, Xiao Guangrong wrote: On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: 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

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

2015-09-02 Thread Markus Trippelsdorf
On 2015.09.02 at 18:27 +0800, Xiao Guangrong wrote: > > > On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: > > 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

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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: 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

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

2015-09-02 Thread Markus Trippelsdorf
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

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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 11:50 AM, Markus Trippelsdorf wrote: On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes,

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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 11:50 AM, Markus Trippelsdorf wrote: On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes,

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

2015-09-02 Thread Markus Trippelsdorf
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

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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 06:54 PM, Markus Trippelsdorf wrote: On 2015.09.02 at 18:27 +0800, Xiao Guangrong wrote: On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: 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

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

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: 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

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

2015-09-02 Thread Markus Trippelsdorf
On 2015.09.02 at 18:27 +0800, Xiao Guangrong wrote: > > > On 09/02/2015 05:38 PM, Markus Trippelsdorf wrote: > > 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

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: > > > On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: > > On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: > >> > >> Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? > >> If yes, could you please print the actual

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

2015-09-01 Thread Xiao Guangrong
On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes, could you please print the actual value out? It is the BUG() in fallback_mtrr_type(). I changed it to a

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: > > Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? > If yes, could you please print the actual value out? It is the BUG() in fallback_mtrr_type(). I changed it to a printk and it prints 1 for the value of mtrr.

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

2015-09-01 Thread Xiao Guangrong
On 09/01/2015 06:04 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 10:56 +0200, Ingo Molnar wrote: * Markus Trippelsdorf wrote: As I wrote in my other reply. The boot failure is nondeterministic (boot succeeds roughly every sixth time). So the bisection and the patch is just bogus (,but

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 10:56 +0200, Ingo Molnar wrote: > > * Markus Trippelsdorf wrote: > > As I wrote in my other reply. The boot failure is nondeterministic (boot > > succeeds roughly every sixth time). So the bisection and the patch is > > just bogus (,but the boot failure is real). > > > > Sorry.

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

2015-09-01 Thread Xiao Guangrong
On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes, could you please print the actual value out? It is the BUG() in fallback_mtrr_type(). I changed it to a

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 10:56 +0200, Ingo Molnar wrote: > > * Markus Trippelsdorf wrote: > > As I wrote in my other reply. The boot failure is nondeterministic (boot > > succeeds roughly every sixth time). So the bisection and the patch is > > just bogus (,but the boot failure

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: > > > On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: > > On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: > >> > >> Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? > >> If yes, could you please print the actual

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

2015-09-01 Thread Xiao Guangrong
On 09/01/2015 06:04 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 10:56 +0200, Ingo Molnar wrote: * Markus Trippelsdorf wrote: As I wrote in my other reply. The boot failure is nondeterministic (boot succeeds roughly every sixth time). So the bisection and the

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: > > Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? > If yes, could you please print the actual value out? It is the BUG() in fallback_mtrr_type(). I changed it to a printk and it prints 1 for the value of mtrr.