From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966396AbcLWKgC (ORCPT ); Fri, 23 Dec 2016 05:36:02 -0500 Received: from 8bytes.org ([81.169.241.247]:55485 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbcLWKgB (ORCPT ); Fri, 23 Dec 2016 05:36:01 -0500 Date: Fri, 23 Dec 2016 11:35:48 +0100 From: Joerg Roedel To: Bjorn Helgaas Cc: "Raj, Ashok" , linux-pci@vger.kernel.org, iommu@lists.linux-foundation.org, David Woodhouse , linux-kernel@vger.kernel.org, rwright@hpe.com Subject: Re: possible dmar_init_reserved_ranges() error 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-Disposition: inline In-Reply-To: <20161223004801.GA1096@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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