From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: xen-devel@lists.xenproject.org, ian.campbell@citrix.com,
ian.jackson@eu.citrix.com, jbeulich@suse.com, keir@xen.org,
tim@xen.org
Subject: [PATCH v5] Fix interrupt latency of HVM PCI passthroughdevices.
Date: Fri, 19 Sep 2014 14:51:34 -0400 [thread overview]
Message-ID: <1411152697-13765-1-git-send-email-konrad.wilk@oracle.com> (raw)
>From Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> # This line is ignored.
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: [PATCH v5] Fix interrupt latency of HVM PCI passthroughdevices.
In-Reply-To:
Hey Jan, and other maintainers which scripts/get_maintainer.pl spit out,
Changelog since v4 (http://lists.xen.org/archives/html/xen-devel/2014-09/msg01676.html):
- Ditch the domain centric mechansim.
- Fix issues raised by Jan.
The big change is on ditching of having a domain centric view and
focus on having it all revolve around 'struct hvm_pirq_dpci'
structure. That all works - except that we must be very careful
with the 'dom' field. I haven't been able to trigger an assert but
there is one edge case (see the second patch) which required some
an bounded loop in case of a race. I would welcome feedback of
what the prefer way is of resolving it.
If this mechanism seems a bit cumbersome I can switch back to
the v4 design - which was based on the struct domain having the
state and list.
Please review!
xen/arch/x86/domain.c | 4 +-
xen/arch/x86/irq.c | 6 ++
xen/drivers/passthrough/io.c | 230 +++++++++++++++++++++++++++++++++++++-----
xen/drivers/passthrough/pci.c | 27 +++--
xen/include/xen/hvm/irq.h | 5 +-
xen/include/xen/pci.h | 2 +-
xen/include/xen/softirq.h | 3 +
7 files changed, 240 insertions(+), 37 deletions(-)
Konrad Rzeszutek Wilk (3):
dpci: Replace tasklet with an softirq (v5)
dpci: Safeguard against race with hvm_dirq_assist crashing and pt_irq_[create|destroy]_bind
dpci: In hvm_dirq_assist stop using pt_pirq_iterate
next reply other threads:[~2014-09-19 18:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 18:51 Konrad Rzeszutek Wilk [this message]
2014-09-19 18:51 ` [PATCH v5 for-xen-4.5 1/3] dpci: Replace tasklet with an softirq (v5) Konrad Rzeszutek Wilk
2014-09-22 11:58 ` Jan Beulich
2014-09-22 14:31 ` Konrad Rzeszutek Wilk
2014-09-22 15:31 ` Jan Beulich
2014-09-19 18:51 ` [PATCH v5 for-xen-4.5 2/3] dpci: Safeguard against race with hvm_dirq_assist crashing and pt_irq_[create|destroy]_bind Konrad Rzeszutek Wilk
2014-09-19 18:51 ` [PATCH v5 for-xen-4.5 3/3] dpci: In hvm_dirq_assist stop using pt_pirq_iterate Konrad Rzeszutek Wilk
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=1411152697-13765-1-git-send-email-konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/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;
as well as URLs for NNTP newsgroup(s).