All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, Yang Zhang <yang.z.zhang@intel.com>
Cc: xiantao.zhang@intel.com, xen-devel@lists.xen.org
Subject: Re: [PATCH 2/4] VMX: Turn on posted interrupt bit in vmcs
Date: Tue, 09 Apr 2013 09:38:08 +0100	[thread overview]
Message-ID: <CD899200.2058F%keir.xen@gmail.com> (raw)
In-Reply-To: <5163EC0702000078000CBA0E@nat28.tlf.novell.com>

On 09/04/2013 09:23, "Jan Beulich" <JBeulich@suse.com> wrote:

>>>> On 09.04.13 at 08:01, Yang Zhang <yang.z.zhang@intel.com> wrote:
>> +static void posted_interrupt_handler(struct cpu_user_regs *regs)
>> +{
>> +    ack_APIC_irq();
>> +    perfc_incr(ipis);
>> +    this_cpu(irq_count)++;
>> +}
> 
> If I'm not mistaken, there's no further code being added to this
> interrupt handler in the subsequent patches. What's the point
> for the separate interrupt then? I.e. is there any reason not to
> reuse event_check_interrupt() and EVENT_CHECK_VECTOR?

The new POSTED_INTERRUPT_VECTOR has special behaviour when delivered in vmx
non-root mode, so it has to be distinct from the EVENT_CHECK_VECTOR. Still,
it could share event_check_interrupt() -- there is no need at all for
posted_interrupt_handler() to exist.

 -- Keir

> Jan
> 

  reply	other threads:[~2013-04-09  8:38 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09  6:01 [PATCH 0/4] Add posted interrupt supporting Yang Zhang
2013-04-09  6:01 ` [PATCH 1/4] VMX: Detect posted interrupt capability Yang Zhang
2013-04-09  6:01 ` [PATCH 2/4] VMX: Turn on posted interrupt bit in vmcs Yang Zhang
2013-04-09  8:04   ` Jan Beulich
2013-04-09  8:30     ` Zhang, Yang Z
2013-04-09  8:55       ` Jan Beulich
2013-04-09  9:53         ` Zhang, Yang Z
2013-04-09  8:23   ` Jan Beulich
2013-04-09  8:38     ` Keir Fraser [this message]
2013-04-09  8:48       ` Zhang, Yang Z
2013-04-09  6:01 ` [PATCH 3/4] VMX: Add posted interrupt supporting Yang Zhang
2013-04-09  7:39   ` Keir Fraser
2013-04-09  7:58     ` Zhang, Yang Z
2013-04-09  8:14       ` Keir Fraser
2013-04-09  8:23         ` Zhang, Yang Z
2013-04-09  8:40           ` Keir Fraser
2013-04-09  8:17   ` Jan Beulich
2013-04-09  8:40     ` Zhang, Yang Z
2013-04-09  8:59       ` Keir Fraser
2013-04-09  8:53     ` Zhang, Yang Z
2013-04-09  9:00       ` Jan Beulich
2013-04-09  9:18         ` Keir Fraser
2013-04-09  6:01 ` [PATCH 4/4] VMX: Use posted interrupt to deliver virutal interrupt Yang Zhang
2013-04-09  7:40   ` Keir Fraser
2013-04-09  8:25     ` Zhang, Yang Z
2013-04-09 20:26 ` [PATCH 0/4] Add posted interrupt supporting Konrad Rzeszutek Wilk
2013-04-10  2:51   ` Zhang, Yang Z
2013-04-10 13:22     ` Konrad Rzeszutek Wilk
2013-04-10 13:32       ` Zhang, Yang Z
2013-04-10 13:42         ` Konrad Rzeszutek Wilk
2013-04-19 11:49           ` Stefano Stabellini
2013-04-19 13:10             ` Jan Beulich
2013-04-19 14:16               ` Stefano Stabellini
2013-04-19 14:23                 ` Jan Beulich
2013-04-20  7:26               ` Zhang, Yang Z
2013-04-20 13:33                 ` Stefano Stabellini
2013-04-10 13:58 ` Zhang, Yang Z
2013-04-10 14:34   ` Jan Beulich
2013-04-10 16:18     ` Keir Fraser
2013-04-11  1:04       ` Zhang, Yang Z

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=CD899200.2058F%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xiantao.zhang@intel.com \
    --cc=yang.z.zhang@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.