From: George Dunlap <george.dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Keir Fraser <keir@xen.org>, Jacob Shin <jacob.shin@amd.com>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v2] AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed
Date: Tue, 4 Jun 2013 14:12:09 +0100 [thread overview]
Message-ID: <51ADE7A9.2050804@eu.citrix.com> (raw)
In-Reply-To: <51ACBF3702000078000DA924@nat28.tlf.novell.com>
On 06/03/2013 03:07 PM, Jan Beulich wrote:
>>>> On 31.05.13 at 22:04, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> In an effort to get AMD systems back to a non-regressed state, introduce a
>> new
>> type of vector map called per-device-global. This uses per-device vector maps
>> in the IOMMU, but uses a single used_vector map for the core IRQ logic.
>
> So what's the reason for not simply using OPT_IRQ_VECTOR_MAP_GLOBAL
> here?
>
>> This patch is intended to be removed as soon as the per-device logic is fixed
>> correctly.
>
> As a last resort thing this may be acceptable, but I'd much favor to
> fix this properly rather than hacking it like this. Hence I'd really like
> to put up for discussion to instead use the patch[1] already posted
> as preparatory for the multi-vector MSI support doing away with the
> use of the vector for indexing the IRTE (and, in a second patch[2],
> the enforcement of OPT_IRQ_VECTOR_MAP_PERDEV).
Unfortunately this is the time of the release to do simple hacks. We
can obviously back this out when we get hte multi-vector MSI suport in.
> Also, overriding a command line request in the way you do is a
> no-go imo - even if this would cause [theoretical] problems, we
> ought to honor the request as long as we can't tell for sure that
> this is going to break the specific system. That's even more so
> since requesting per-device vector maps to be used on VT-d ought
> to yield exactly the same effect, yet you don't override the mode
> there.
I agree -- we need to have a sensible default, but we also need to have
a way to override behavior if it turns out to cause a problem.
-George
prev parent reply other threads:[~2013-06-04 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 20:04 [PATCH v2] AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed Andrew Cooper
2013-06-03 14:07 ` Jan Beulich
2013-06-03 14:35 ` Andrew Cooper
2013-06-03 15:01 ` Jan Beulich
2013-06-03 15:17 ` Andrew Cooper
2013-06-03 15:28 ` Jan Beulich
2013-06-03 15:41 ` Andrew Cooper
2013-06-04 13:12 ` George Dunlap [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=51ADE7A9.2050804@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=jacob.shin@amd.com \
--cc=keir@xen.org \
--cc=suravee.suthikulpanit@amd.com \
--cc=xen-devel@lists.xen.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).