From: Chris Wright <chrisw@sous-sol.org>
To: jbarnes@virtuousgeek.org, Allen Kay <allen.m.kay@intel.com>
Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
matthew@wil.cx, chris@sous-sol.org, jeremy@goop.org,
don.dugger@intel.com
Subject: Re: [ACS PATCH v5 1/2] acs p2p upsteram forwarding enabling
Date: Fri, 4 Dec 2009 11:17:54 -0800 [thread overview]
Message-ID: <20091204191754.GI21174@sequoia.sous-sol.org> (raw)
In-Reply-To: <1254936437-18577-1-git-send-email-allen.m.kay@intel.com>
* Allen Kay (allen.m.kay@intel.com) wrote:
> Changes from v4 to v5:
> - separate out dom0 checking out of v4
> - use iommu_found() for detecting HW iommu presence
Erk, turns out iommu_found() doesn't work (becuase the iommu has been
detected, but not initialized yet when this code runs).
This could be fixed in a few ways:
1) Have an isolation capable iommu actively ask for ACS to be enabled
2) Have pci core switch to iommu_detected (as Allen had done earlier).
This would need some work to make iommu_detected actually defined on
all arches that make use of pci. iommu_detected could be more
descriptive than a single boolean, turned into an enum that says what
kind of hw iommu was detected.
3) Just always enable ACS and pay the price.
I'll send a patch for option 1) momentarily.
Thoughts?
thanks,
-chris
next prev parent reply other threads:[~2009-12-04 19:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 17:27 Allen Kay
2009-12-04 19:17 ` Chris Wright [this message]
2009-12-04 20:15 ` [PATCH] pci: add pci_request_acs Chris Wright
2009-12-05 0:19 ` Jesse Barnes
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=20091204191754.GI21174@sequoia.sous-sol.org \
--to=chrisw@sous-sol.org \
--cc=allen.m.kay@intel.com \
--cc=chris@sous-sol.org \
--cc=don.dugger@intel.com \
--cc=jbarnes@virtuousgeek.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=matthew@wil.cx \
/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
all inboxes | Powered by JetHome®