From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60B75C33CA1 for ; Wed, 5 Feb 2020 09:20:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3AA9921741 for ; Wed, 5 Feb 2020 09:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728078AbgBEJUC (ORCPT ); Wed, 5 Feb 2020 04:20:02 -0500 Received: from verein.lst.de ([213.95.11.211]:36313 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728034AbgBEJUC (ORCPT ); Wed, 5 Feb 2020 04:20:02 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id CC7AC68C7B; Wed, 5 Feb 2020 10:19:59 +0100 (CET) Date: Wed, 5 Feb 2020 10:19:59 +0100 From: Christoph Hellwig To: Kishon Vijay Abraham I Cc: Christoph Hellwig , "linux-pci@vger.kernel.org" Subject: Re: pci-usb/pci-sata broken with LPAE config after "reduce use of block bounce buffers" Message-ID: <20200205091959.GA24413@lst.de> References: <20200130075833.GC30735@lst.de> <4a41bd0d-6491-3822-172a-fbca8a6abba5@ti.com> <20200130164235.GA6705@lst.de> <20200203142155.GA16388@lst.de> <20200205074719.GA22701@lst.de> <4a8bf1d3-6f8e-d13e-eae0-4db54f5cab8c@ti.com> <20200205084844.GA23831@lst.de> <88d50d13-65c7-7ca3-59c6-56f7d66c3816@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88d50d13-65c7-7ca3-59c6-56f7d66c3816@ti.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Wed, Feb 05, 2020 at 02:48:17PM +0530, Kishon Vijay Abraham I wrote: > Christoph, > > On 05/02/20 2:18 PM, Christoph Hellwig wrote: > > On Wed, Feb 05, 2020 at 02:02:51PM +0530, Kishon Vijay Abraham I wrote: > >>> you try that branch? > >> > >> I see data mismatch with that branch. > > > > But previously it didn't work at all? If you disable LPAE and thus > > limit the available RAM, does it work without any fixes? > > Previously there was a warn dump and it gets stuck. > > With the branch you shared (with LPAE enabled), there was data mismatch. > With the branch you shared (with LPAE disabled), things work fine > (https://pastebin.ubuntu.com/p/kPNdsJd7ds/) Does the miscompare still happen if you revert: "dma-direct: improve DMA mask overflow reporting" and "dma-direct: improve swiotlb error reporting" ?