Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp190572pxx; Mon, 26 Oct 2020 06:31:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbsTgNWGB4SNsIwGZpZ4aA54QK6yyy3ehwxehgwKXt70cRIVdiF0i/QCGZEx7+1bDmDtH3 X-Received: by 2002:aa7:d781:: with SMTP id s1mr107433edq.122.1603719098048; Mon, 26 Oct 2020 06:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603719098; cv=none; d=google.com; s=arc-20160816; b=s2Vrzm5m24XIXsgzeVYYDB4F0vRbFSK6fFM4drOrcVLRPYQb+mSlls6m5Je0x72BnO h/iJipi/UmFPPzpIcVXTcDvmSQdVzpzY2Co+wKOo53OL8/5phUfFdLFMQ+JlZjrwy4ea +ZCOBywZtWEeNjMvLaii+5FmM8aadPlUR+FDNoAXAUTYyU/FyMzpB7pHzDSyZ41ECMR7 SYNO36FyvxPH47nkGLZrvYofxie62m84vv9DVdbwVoy1uyWEhnj7S1H/98LVLObLhLkp tQc+WUCoKZI/a69EogXusvgxJAHlwB6IMm3+DuKm5TTp4SsysOcWvEU6vX6/lNK4NGx3 t+Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sqQVLIGYKI42d425ac+GAGW1AQu2By70V9nvM0kyskI=; b=lu8TMxdUFOvLLvaMt8HqanRncW/5z4X+M7KiU8FKofzUGTsGONo7/fdGqN8ikWO5PB 1C6yGy1HFOq6o7LM9cA2yPoDirlmS4EeK1PC+m/qOplcurk3z4k85JcNuzF9Du0dlyhD RHdT7DBcYJz3Qi2/jWYBZfAzDdyqr+I3eReJxk+B9oAFP0O2xA77f2Pi5RSxS7rtT/Xy QH5uZhvDEmtMLklDUYle8J7G0wap2tAXrtkbhhgj4wbqA1yigSzTkF7GlqanzXNHyomS twX9HYJp54AlqP5PtFe12OEb9eHfZruQz62Ws4q7MWIB7F/QcMxQWeVxVjCLL5Kjv+sN zy5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ELTAHRjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cc15si2534339edb.316.2020.10.26.06.31.15; Mon, 26 Oct 2020 06:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ELTAHRjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1775174AbgJZMdB (ORCPT + 99 others); Mon, 26 Oct 2020 08:33:01 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:12651 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1775169AbgJZMdB (ORCPT ); Mon, 26 Oct 2020 08:33:01 -0400 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 26 Oct 2020 05:32:40 -0700 Received: from localhost (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Oct 2020 12:32:59 +0000 Date: Mon, 26 Oct 2020 13:32:57 +0100 From: Thierry Reding To: Jingoo Han CC: Vidya Sagar , "gustavo.pimentel@synopsys.com" , "lorenzo.pieralisi@arm.com" , "bhelgaas@google.com" , "amurray@thegoodpenguin.co.uk" , "robh@kernel.org" , "jonathanh@nvidia.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kthota@nvidia.com" , "mmaddireddy@nvidia.com" , "sagar.tv@gmail.com" Subject: Re: [PATCH 0/3] Add support to handle prefetchable memory Message-ID: <20201026123012.GA356750@ulmo> References: <20201023195655.11242-1-vidyas@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: X-NVConfidentiality: public User-Agent: Mutt/1.14.7 (2020-08-29) X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603715560; bh=sqQVLIGYKI42d425ac+GAGW1AQu2By70V9nvM0kyskI=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:X-NVConfidentiality: User-Agent:X-Originating-IP:X-ClientProxiedBy; b=ELTAHRjXw6NZhL3cmV/vOeItQwvz16wHR+EgQHN7Cn3RCK2FLjI6K1lO8yEmE5ft8 xFFdKWLbdOk3fsWXLP/uS1MrvPrz4xRVVpKlRJCUxYhkVhHKzBK9NkxFOIopEBwTRX RadntGYS0L5jHi8yyx+6C3DoSvg7y/xnDPAHr7LcVvbz1xxhY5CcXOsouRB3kUXaWq 60zAB2Q8twaRqYqqxxwBRDL0KC5M7Rh/JPZJVWZF2K8PrBrQzHGWQ5lVNVsWP6l7V/ Wok+UGT5u0CVFvxb4Lw6gkVvR1imCvdCgiAwl6eTtjDt33WOz/e/mFjmgYs5GhK5Ur YPgDBo2aE574Q== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 24, 2020 at 04:03:41AM +0000, Jingoo Han wrote: > On 10/23/20, 3:57 PM, Vidya Sagar wrote: > >=20 > > This patch series adds support for configuring the DesignWare IP's ATU > > region for prefetchable memory translations. > > It first starts by flagging a warning if the size of non-prefetchable > > aperture goes beyond 32-bit as PCIe spec doesn't allow it. > > And then adds required support for programming the ATU to handle higher > > (i.e. >4GB) sizes and then finally adds support for differentiating > > between prefetchable and non-prefetchable regions and configuring one of > > the ATU regions for prefetchable memory translations purpose. > > > > Vidya Sagar (3): > > PCI: of: Warn if non-prefetchable memory aperture size is > 32-bit > > PCI: dwc: Add support to program ATU for >4GB memory aperture sizes > > PCI: dwc: Add support to handle prefetchable memory mapping >=20 > For 2nd & 3rd, > Acked-by: Jingoo > But, I still want someone to ack 1st patch, not me. >=20 > To Vidya, > If possible, can you ask your coworker to give 'Tested-by'? It will be ve= ry helpful. > Thank you. On next-20201026 (but also going back quite a while) I'm seeing this during boot on Jetson AGX Xavier (Tegra194): [ 3.493382] ahci 0001:01:00.0: version 3.0 [ 3.493889] ahci 0001:01:00.0: SSS flag set, parallel bus scan disabled [ 4.497706] ahci 0001:01:00.0: controller reset failed (0xffffffff) [ 4.498114] ahci: probe of 0001:01:00.0 failed with error -5 After applying this series, AHCI over PCI is back to normal: [ 3.543230] ahci 0001:01:00.0: AHCI 0001.0000 32 slots 1 ports 6 Gbps 0x= 1 impl SATA mode [ 3.550841] ahci 0001:01:00.0: flags: 64bit ncq sntf led only pmp fbs pi= o slum part sxs [ 3.559747] scsi host0: ahci [ 3.561998] ata1: SATA max UDMA/133 abar m512@0x1230010000 port 0x123001= 0100 irq 63 So for the series: Tested-by: Thierry Reding --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl+WwfkACgkQ3SOs138+ s6GSZw//dofmlmsswCqSTbKwBiInkH2EyVwdddtYg43ZSc8uCDAIKtUTPr9o1O4P ae67pQ0Zwgr79ULbANWRr6KsgoAT+Pbd7qQoHT/X252IrvxmOG0mkgPCGvJcsZZa vgZvoQRSPNXPehVlcJBH/JX33NKJm+T01B9MAG4OdHG4PLQqdc6LLj7rskibQeom fIGkJsXQRvzMDyDxqYrqOop2V9ejV9EwAqbOrQpSTzNrfv1yy0HJVmL8S5qqWSRM tgvtZ+wLAuCq0jwDgKYiTXHnpltO4C3QyCc6FteZB6ykeJlOm4eTIy58oGjv1AQU XpHqOTRJs9SGxSIudrshjcvxyU09Ci9dGU/n/x/vznIl3z58FuK6Xp9eWgyVR4qg NrDViohHrj5c1VHqWwERUCDnbQINYF+l+g51xDzMRdYP2C46sHrnOQ/e73CicGny Ovs26S2H7UyYFwBNsYmDzA1f3SmkZLX490D8qM3vo65UENZ2cOsIFamBvGuiqn7C Z4zunXfySLRE7QTAWJuX76pFclfzM4NeUwlehpogSR+32C/sn3sJQgfr/zZd4RRd G456gCEA4Lg0W8TKkhqKDfbzS0EQ+6zvP/jvwU68IfH+Pmo94z0BsXu9+Ng7eXWZ CtceVfJDFqw/kmT+lH8OgIfLxrzFjJbPNiCY3t3GFGrqpvpwCXc= =JZ1w -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--