From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933845AbcIFJOL (ORCPT ); Tue, 6 Sep 2016 05:14:11 -0400 Received: from 8bytes.org ([81.169.241.247]:44363 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933594AbcIFJN6 (ORCPT ); Tue, 6 Sep 2016 05:13:58 -0400 Date: Tue, 6 Sep 2016 11:13:56 +0200 From: Joerg Roedel To: Baoquan He Cc: iommu@lists.linux-founda, linux-kernel@vger.kernel.org, dyoung@redhat.com Subject: Re: io_page_fault seen in normal kernel boot log Message-ID: <20160906091356.GS1437@8bytes.org> References: <20160905053805.GC29344@x1.redhat.com> <20160905095900.GQ1437@8bytes.org> <20160905101158.GC11356@x1.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160905101158.GC11356@x1.redhat.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 Mon, Sep 05, 2016 at 06:11:58PM +0800, Baoquan He wrote: > On 09/05/16 at 11:59am, Joerg Roedel wrote: > > > This happened on 4.8.0-rc5 > > > > > > [ +0.006771] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x0000000000001000 flags=0x0000] > > > [ +0.010593] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x0000000000001040 flags=0x0000] > > > [ +0.010596] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x0000000000001080 flags=0x0000] > > > [ +0.010597] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x00000000000010c0 flags=0x0000] > > > [ +0.010592] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x0000000000001100 flags=0x0000] > > > [ +0.010592] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:14.4 domain=0x0009 address=0x0000000000001140 flags=0x0000] > > > > This is probably a radeon driver issue, the address looks like its > > handed out by the IOMMU driver, so probably a use-after-free bug. I also > > see those GPU related faults from time to time. The system usually boots > > fine anyway. Does boot complete on that system? > > Yes, except for this message, system is not impacted. Hmm, on the other hand, the AMD-Vi driver in 4.8 uses the generic IOVA allocator, so the addresses it hands out should be closer to 4GB. Anyway, this is probably a bug/problem in the GPU driver. Joerg