From: Joerg Roedel Subject: Re: [PATCH] iommu: moving initialization earlier Date: Fri, 11 Jan 2013 15:50:59 +0100 Message-ID: <20130111145059.GJ25591@8bytes.org> References: <1357545112-17375-1-git-send-email-aik@ozlabs.ru> <20130110170941.GA2556@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: 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: Shuah Khan Cc: Alexey Kardashevskiy , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Benjamin Herrenschmidt , Shuah Khan List-Id: iommu@lists.linux-foundation.org On Thu, Jan 10, 2013 at 01:40:17PM -0700, Shuah Khan wrote: > I am currently debugging IO_PAGE_FAULTS on 3.6.11 (happens on all > pre-3.7 releases). I root-caused the reason 3.7 works is because in > 3.7 amd iommu driver moving up the early iommu initialization from > irq_remap_ops with the irq remapping feature. Have you investigated the reason for those IO_PAGE_FAULTS? I guess they come from the USB controlers and happen between the time the IOMMU is enabled and the USB controlers are taken over by the Linux kernel from the BIOS. But I don't see why this patch can have any impact on the IO_PAGE_FAULTS you are seeing. Joerg