From: Thomas Gleixner <tglx@linutronix•de>
To: Qian Cai <cai@lca•pw>
Cc: LKML <linux-kernel@vger•kernel.org>,
x86@kernel•org, linux-arch@vger•kernel.org,
Will Deacon <will@kernel•org>, Arnd Bergmann <arnd@arndb•de>,
Mark Rutland <mark.rutland@arm•com>,
Kees Cook <keescook@chromium•org>,
Keno Fischer <keno@juliacomputing•com>,
Paolo Bonzini <pbonzini@redhat•com>,
kvm@vger•kernel.org,
Gabriel Krisman Bertazi <krisman@collabora•com>,
Sean Christopherson <sean.j.christopherson@intel•com>,
sfr@canb•auug.org.au, linux-next@vger•kernel.org
Subject: Re: [patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode
Date: Thu, 30 Jul 2020 09:19:01 +0200 [thread overview]
Message-ID: <87bljxa2sa.fsf@nanos.tec.linutronix.de> (raw)
In-Reply-To: <20200729165524.GA4178@lca.pw>
Qian Cai <cai@lca•pw> writes:
> On Wed, Jul 22, 2020 at 11:59:59PM +0200, Thomas Gleixner wrote:
> SR-IOV will start trigger a warning below in this commit,
>
> [ 765.434611] WARNING: CPU: 13 PID: 3377 at include/linux/entry-kvm.h:75 kvm_arch_vcpu_ioctl_run+0xb52/0x1320 [kvm]
Yes, I'm a moron. Fixed it locally and failed to transfer the fixup when
merging it. Fix below.
> [ 768.221270] softirqs last disabled at (5093): [<ffffffffa1800ec2>] asm_call_on_stack+0x12/0x20
> [ 768.267273] ---[ end trace 8730450ad8cfee9f ]---
Can you pretty please trim your replies?
>> ---
>> V5: Rename exit -> xfer (Sean)
<removed 200 lines of useless information>
Thanks,
tglx
---
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 82d4a9e88908..532597265c50 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -8682,7 +8682,7 @@ static int vcpu_run(struct kvm_vcpu *vcpu)
break;
}
- if (xfer_to_guest_mode_work_pending()) {
+ if (__xfer_to_guest_mode_work_pending()) {
srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx);
r = xfer_to_guest_mode_handle_work(vcpu);
if (r)
prev parent reply other threads:[~2020-07-30 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200722215954.464281930@linutronix.de>
[not found] ` <20200722220519.833296398@linutronix.de>
2020-07-29 16:55 ` [patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode Qian Cai
2020-07-30 7:19 ` Thomas Gleixner [this message]
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=87bljxa2sa.fsf@nanos.tec.linutronix.de \
--to=tglx@linutronix$(echo .)de \
--cc=arnd@arndb$(echo .)de \
--cc=cai@lca$(echo .)pw \
--cc=keescook@chromium$(echo .)org \
--cc=keno@juliacomputing$(echo .)com \
--cc=krisman@collabora$(echo .)com \
--cc=kvm@vger$(echo .)kernel.org \
--cc=linux-arch@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mark.rutland@arm$(echo .)com \
--cc=pbonzini@redhat$(echo .)com \
--cc=sean.j.christopherson@intel$(echo .)com \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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