From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: possible dmar_init_reserved_ranges() error Date: Wed, 4 Jan 2017 15:39:09 +0100 Message-ID: <20170104143909.GD10632@8bytes.org> References: <20161219212044.GA21774@bhelgaas-glaptop.roam.corp.google.com> <20161227234417.GA24366@bhelgaas-glaptop.roam.corp.google.com> <20161228032139.GA254916@otc-nc-03> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161228032139.GA254916@otc-nc-03> 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: "Raj, Ashok" Cc: g@bhelgaas-glaptop.roam.corp.google.com, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rwright-ZPxbGqLxI0U@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Bjorn Helgaas , David Woodhouse List-Id: iommu@lists.linux-foundation.org On Tue, Dec 27, 2016 at 07:21:39PM -0800, Raj, Ashok wrote: > This sounds reasonable, if we can reserve from the host bridge apertures > it should take care of hot-plug cases as well, and should simply how the > reservation is made. Agreed, I have this on my todo list already since I converted the AMD IOMMU driver to the iova allocator. Just reserving the pci windows is much better than what we are currently doing. Joerg