From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:36333 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756945AbbHDOrN (ORCPT ); Tue, 4 Aug 2015 10:47:13 -0400 Date: Tue, 4 Aug 2015 10:47:11 -0400 From: Mike Snitzer To: Joerg Roedel Cc: Andreas Hartmann , linux-pci , device-mapper development , Jens Axboe , iommu@lists.linux-foundation.org, Leo Duran , Mikulas Patocka , Christoph Hellwig , Milan Broz , Jeff Moyer Subject: Re: AMD-Vi IO_PAGE_FAULTs and ata3.00: failed command: READ FPDMA QUEUED errors since Linux 4.0 Message-ID: <20150804144711.GB24716@redhat.com> References: <55B7BEA2.30205@01019freenet.de> <20150728175054.GB24782@redhat.com> <55B7D054.4070308@maya.org> <20150728192908.GA25264@redhat.com> <55BCD5A7.2080708@maya.org> <55BE1D5E.6020709@maya.org> <55BE65E6.7060901@maya.org> <20150803081249.GF14980@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20150803081249.GF14980@8bytes.org> Sender: linux-pci-owner@vger.kernel.org List-ID: On Mon, Aug 03 2015 at 4:12am -0400, Joerg Roedel wrote: > On Sun, Aug 02, 2015 at 08:48:06PM +0200, Andreas Hartmann wrote: > > >>https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34b48db66e08ca1c1bc07cf305d672ac940268dc > > >> > > >>block: remove artifical max_hw_sectors cap > > Looking at the patch, it seems to me that it just uncovered a bug > elsewhere. It looks like an underlying driver doesn't expect the > big io-requests that the patch enables and does not dma-map the whole > target buffer, causing the IO_PAGE_FAULTs later. That patch has caused issues elsewhere too, see this 'Revert "block: remove artifical max_hw_sectors cap"' thread (if/when lkml.org cooperates): https://lkml.org/lkml/2015/7/20/572 But it could be that there is a need for a horkage fix for this specific hardware? something comparable to this?: http://git.kernel.org/linus/af34d637637eabaf49406eb35c948cd51ba262a6 We are running out of time to fix these whack-a-mole issues in 4.2 though.