mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Wang,Guangju" <wangguangju@baidu.com>
To: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"seanjc@google.com" <seanjc@google.com>,
	"pbonzini@redhat.com" <pbonzini@redhat.com>,
	"jmattson@google.com" <jmattson@google.com>,
	"wanpengli@tencent.com" <wanpengli@tencent.com>,
	"bp@alien8.de" <bp@alien8.de>,
	"joro@8bytes.org" <joro@8bytes.org>,
	"suravee.suthikulpanit@amd.com" <suravee.suthikulpanit@amd.com>,
	"hpa@zytor.com" <hpa@zytor.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: 答复: [PATCH] KVM: x86: Add EOI exit bitmap handlers for Hyper-V SynIC vectors
Date: Thu, 7 Jul 2022 09:27:10 +0000	[thread overview]
Message-ID: <4ba5a5a28a284f379b0f7832e20d1458@baidu.com> (raw)
In-Reply-To: <87v8s9qqen.fsf@redhat.com>

> This whole part:
>
> 	if (to_hv_vcpu(apic->vcpu) &&
>	    test_bit(vector, to_hv_synic(apic->vcpu)->vec_bitmap))
>		kvm_hv_synic_send_eoi(apic->vcpu, vector);
>
>	kvm_ioapic_send_eoi(apic, vector);
>	kvm_make_request(KVM_REQ_EVENT, apic->vcpu);

> could be split into an inline function, something like (completely
> untested):

Thank you, I will modify and test it and then send a new patch.

--
Wang

      reply	other threads:[~2022-07-07  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05  8:37 Wang Guangju
2022-07-07  8:26 ` Vitaly Kuznetsov
2022-07-07  9:27   ` Wang,Guangju [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=4ba5a5a28a284f379b0f7832e20d1458@baidu.com \
    --to=wangguangju@baidu.com \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=tglx@linutronix.de \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

Powered by JetHome