From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: possible dmar_init_reserved_ranges() error Date: Fri, 23 Dec 2016 11:35:48 +0100 Message-ID: <20161223103548.GH17255@8bytes.org> References: <20161219212044.GA21774@bhelgaas-glaptop.roam.corp.google.com> <20161222162713.GF17255@8bytes.org> <20161222202803.GA16855@bhelgaas-glaptop.roam.corp.google.com> <20161222233238.GA20861@otc-nc-03> <20161222234508.GA20924@otc-nc-03> <20161223004801.GA1096@bhelgaas-glaptop.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161223004801.GA1096-1RhO1Y9PlrlHTL0Zs8A6p5iNqAH0jzoTYJqu5kTmcBRl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bjorn Helgaas 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 List-Id: iommu@lists.linux-foundation.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