All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Bjorn Helgaas <helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	rwright-ZPxbGqLxI0U@public.gmane.org,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Subject: Re: possible dmar_init_reserved_ranges() error
Date: Fri, 23 Dec 2016 11:35:48 +0100	[thread overview]
Message-ID: <20161223103548.GH17255@8bytes.org> (raw)
In-Reply-To: <20161223004801.GA1096-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org>

On Thu, Dec 22, 2016 at 06:48:01PM -0600, Bjorn Helgaas wrote:
> 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.

Even if there are no such x86 systems out there, I think it doesn't hurt
to handle the possibility correctly in the IOMMU drivers.



	Joerg

WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: "Raj, Ashok" <ashok.raj@intel.com>,
	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: Fri, 23 Dec 2016 11:35:48 +0100	[thread overview]
Message-ID: <20161223103548.GH17255@8bytes.org> (raw)
In-Reply-To: <20161223004801.GA1096@bhelgaas-glaptop.roam.corp.google.com>

On Thu, Dec 22, 2016 at 06:48:01PM -0600, Bjorn Helgaas wrote:
> 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.

Even if there are no such x86 systems out there, I think it doesn't hurt
to handle the possibility correctly in the IOMMU drivers.



	Joerg

  parent reply	other threads:[~2016-12-23 10:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19 21:20 possible dmar_init_reserved_ranges() error Bjorn Helgaas
2016-12-19 21:20 ` Bjorn Helgaas
     [not found] ` <20161219212044.GA21774-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org>
2016-12-22 16:27   ` Joerg Roedel
2016-12-22 16:27     ` Joerg Roedel
2016-12-22 20:28     ` Bjorn Helgaas
     [not found]       ` <20161222202803.GA16855-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org>
2016-12-22 23:32         ` Raj, Ashok
2016-12-22 23:32           ` Raj, Ashok
2016-12-22 23:45           ` Raj, Ashok
2016-12-22 23:45             ` Raj, Ashok
2016-12-23  0:48             ` Bjorn Helgaas
2016-12-23  0:48               ` Bjorn Helgaas
     [not found]               ` <20161223004801.GA1096-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org>
2016-12-23 10:35                 ` Joerg Roedel [this message]
2016-12-23 10:35                   ` Joerg Roedel
2016-12-27 23:44 ` Bjorn Helgaas
     [not found]   ` <20161227234417.GA24366-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org>
2016-12-28  3:21     ` Raj, Ashok
2016-12-28  3:21       ` Raj, Ashok
2017-01-04 14:39       ` Joerg Roedel
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=20161223103548.GH17255@8bytes.org \
    --to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rwright-ZPxbGqLxI0U@public.gmane.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 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.