From: "Jan Beulich" <jbeulich@novell.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: irq_guest_eoi_timer interaction with MSI
Date: Thu, 13 Nov 2008 15:28:10 +0000 [thread overview]
Message-ID: <491C559A.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C541F2F5.290DA%keir.fraser@eu.citrix.com>
>>> Keir Fraser <keir.fraser@eu.citrix.com> 13.11.08 16:06 >>>
>On 13/11/08 14:53, "Jan Beulich" <jbeulich@novell.com> wrote:
>
>> Avoiding the EOI query is certainly a secondary issue. What I was asking
>> was rather a means for the guest to know whether Xen started that EOI
>> timer, so that it could indicate to Xen to terminate it and unmask the
>> respective IRQ. This shouldn't require always using PHYSDEVOP_eoi, and
>> from an abstract point of view also would belong there, but rather in
>> unmask_evtchn(). Since it would be an obvious thing that if you unmask
>> an event channel, you also want the underlying PIRQ unmasked, this
>> could be a compatible addition to the existing EVTCHNOP_unmask. The
>> only thing missing is a way for the guest to know when to actually use
>> the hypercall based unmasking - that's what I wanted to add a vector
>> for.
>
>PHYSDEVOP_eoi and unmask happen at the same time for pirqs. The fact that we
>only need this new mechanism for pirqs, and that we already have a gated
>hypercall for pirq eoi (and can gate it further if need be) is an argument
>for hanging this off PHYSDEVOP_eoi imo.
But then there'd be a hypercall for each MSI instance, most of the time
without any real need. With a high interrupt rate I'm afraid this does
matter.
Jan
next prev parent reply other threads:[~2008-11-13 15:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 9:22 irq_guest_eoi_timer interaction with MSI Jan Beulich
2008-11-13 9:42 ` Keir Fraser
2008-11-13 11:07 ` Jan Beulich
2008-11-13 11:16 ` Keir Fraser
2008-11-13 11:22 ` Keir Fraser
2008-11-13 14:53 ` Jan Beulich
2008-11-13 15:06 ` Keir Fraser
2008-11-13 15:28 ` Jan Beulich [this message]
2008-11-13 16:21 ` Keir Fraser
2008-11-13 16:22 ` Keir Fraser
2008-11-13 16:43 ` Jan Beulich
2008-11-13 16:50 ` Keir Fraser
2008-11-14 9:28 ` Jan Beulich
2008-11-14 9:42 ` Keir Fraser
2008-11-14 13:00 ` Jan Beulich
2008-11-24 16:34 ` Jan Beulich
2008-11-24 17:02 ` Keir Fraser
2008-11-25 8:15 ` Jan Beulich
2008-11-25 8:30 ` Keir Fraser
2008-11-25 8:40 ` Jan Beulich
2008-11-25 8:44 ` Keir Fraser
2008-11-25 8:52 ` Jan Beulich
2008-11-25 9:38 ` Keir Fraser
2008-11-25 10:12 ` Jan Beulich
2008-11-25 10:47 ` Keir Fraser
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=491C559A.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.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.