From: Bjorn Helgaas <helgaas@kernel.org>
To: "Raj, Ashok" <ashok.raj@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>,
linux-pci@vger.kernel.org, iommu@lists.linux-foundation.org,
David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org, rwright@hpe.com
Subject: Re: possible dmar_init_reserved_ranges() error
Date: Thu, 22 Dec 2016 18:48:01 -0600 [thread overview]
Message-ID: <20161223004801.GA1096@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <20161222234508.GA20924@otc-nc-03>
Hi Ashok,
On Thu, Dec 22, 2016 at 03:45:08PM -0800, Raj, Ashok wrote:
> Hi Bjorn
>
> None in the platform group say they know about this. So i'm fairly sure
> we don't do that on Intel hardware (x86).
I'm pretty sure there was once an x86 prototype for which PCI bus
addresses were not identical to CPU physical addresses, but I have no
idea whether it shipped that way.
Even if such a system never shipped, the x86 arch code supports _TRA,
and there's no reason to make the unnecessary assumption in this code
that _TRA is always zero.
If we didn't want to use pcibios_resource_to_bus() here for some
reason, we should at least add a comment about why we think it's OK to
use a CPU physical address as an IOVA.
Bjorn
next prev parent reply other threads:[~2016-12-23 0:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 21:20 Bjorn Helgaas
2016-12-22 16:27 ` Joerg Roedel
2016-12-22 20:28 ` Bjorn Helgaas
2016-12-22 23:32 ` Raj, Ashok
2016-12-22 23:45 ` Raj, Ashok
2016-12-23 0:48 ` Bjorn Helgaas [this message]
2016-12-23 10:35 ` Joerg Roedel
2016-12-27 23:44 ` Bjorn Helgaas
2016-12-28 3:21 ` Raj, Ashok
2017-01-04 14:39 ` Joerg Roedel
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=20161223004801.GA1096@bhelgaas-glaptop.roam.corp.google.com \
--to=helgaas@kernel.org \
--cc=ashok.raj@intel.com \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rwright@hpe.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 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®