[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <94427d37-03af-6d78-2039-cd326710904b@redhat.com>
Date: Sat, 24 Oct 2020 08:29:06 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <sean.j.christopherson@...el.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Daniel Díaz <daniel.diaz@...aro.org>
Subject: Re: [PATCH] KVM: x86/mmu: Avoid modulo operator on 64-bit value to
fix i386 build
On 24/10/20 05:11, Sean Christopherson wrote:
> Replace a modulo operator with the more common pattern for computing the
> gfn "offset" of a huge page to fix an i386 build error.
>
> arch/x86/kvm/mmu/tdp_mmu.c:212: undefined reference to `__umoddi3'
>
> Fixes: 2f2fad0897cb ("kvm: x86/mmu: Add functions to handle changed TDP SPTEs")
> Reported-by: Daniel Díaz <daniel.diaz@...aro.org>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@...el.com>
> ---
>
> Linus, do you want to take this directly so that it's in rc1? I don't
> know whether Paolo will be checking mail before then
Yes, I am. I also have another bugfix, I was going to wait a couple
days for any -rc1 issues to pop up but they came up faster than that.
Paolo
Powered by blists - more mailing lists