lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4.0 00/58] 4.0.9-stable review
From
Date
On Tue, 2015-07-21 at 14:10 -0700, Greg Kroah-Hartman wrote:
> > Andrew Morton (1):
> > arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug
> >
> > which must be it. Added Andrew to cc as he hopefully knows the
> answer to your question.
>
> You can dig through git to find it pretty easily...
>
> Anyway, given that the 4.0 release I'm doing at the moment is the last
> one, and it's end-of-life, this is a bit late and isn't going to
> matter much. People should be on 4.1 already.

Okay. But just in case. I had to learn about git and do a checkout.

git log v4.1-rc8 arch/x86/kvm/mmu.c shows:

commit 5ec45a192fe6e287f0fc06d5ca4f3bd446d94803
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Wed Jun 10 11:15:02 2015 -0700

arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug

Fix this compile issue with gcc-4.4.4:

arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
arch/x86/kvm/mmu.c:4256: error: unknown field 'cr0_wp' specified
in initializer
arch/x86/kvm/mmu.c:4257: error: unknown field 'cr4_pae' specified
in initializer
arch/x86/kvm/mmu.c:4257: warning: excess elements in union
initializer
...

gcc-4.4.4 (at least) has issues when using anonymous unions in
initializers.

Fixes: edc90b7dc4ceef6 ("KVM: MMU: fix SMAP virtualization")
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>


Hopefully commit 5ec45a192fe6e287f0fc06d5ca4f3bd446d94803
is what you were looking for. If not, very sorry for interrupting you.

Thanks,
Don





\
 
 \ /
  Last update: 2015-07-22 00:41    [W:0.084 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site