Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1047410pxk; Mon, 31 Aug 2020 08:24:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh15GQL4e5x2m3cLXiCAiJySFnaEKZW5qZfOACodeB4mcGsH0X3PTvWZC9Bp2JPHE3/vc2 X-Received: by 2002:a17:906:4dc7:: with SMTP id f7mr1635505ejw.261.1598887480572; Mon, 31 Aug 2020 08:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598887480; cv=none; d=google.com; s=arc-20160816; b=MSamjmmJAEAyU0kvRK+db0sfJE9mXqGNqRk5d1qdZNKm4sHVdUlzJhvaEUfIhNm2wm F8amhm5Yb8GFpuenVrUPFhUXUlf/OrynlHAty0cBXGUFH8quKZKzcEiMZEFIYnH9+XTk PEc8elZoUHMnnsMW3XpJqKZ3MdwKAv7vnOPFwhU6/nyxijlAUsIplTvaS0iYVWudaqm3 f9UvHWJT6QS9z3T6Ioql8XDNBofQi/+nijRt4ZXGeu03PTUXx+IPrR+httmFwQEfvZaZ B4X+GhkEyI0b8GWQoArFUcfo+R8Xfq1kkEsKGu3lST86tod42NNmK0gIFU3AiNmTfudP mXpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8LD1iy27SfR+a5xkcnYJDHeq/LsqaaSc4fApBGtzsqg=; b=OI3qJECqStnSLqfFwUZX5z1cCpJCdAFjhua/U3Q6AwB6xB1jc3M3fjw8XFEZSBYKv4 y7sER2GH5zEyYSUYY6K39Gc5hCgRteNcX6cgOxjE4h7QYdOXLWdb1UpdQeoVChatbxWh 1mR9iXfyo34GuJ+nZHcRAuBp0BAj5aak0ys7Eh6CEaF3peIH6dt2/uK+KLJwp+znEBrK Y9Mp/0KgDJmyx/OuRs+twkNlLqQ1+baFJwHUy7dys0WjnaEVBIf/R4DitosBPIzXR2nT o1T8Aayme1Cd0WBKfBxG5fEcmEbtMvIe5oONYDx1ZEsOxqbFGIJd1C1n8qgesmObRsdZ +TTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nzYqdieI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si5093414edi.27.2020.08.31.08.24.17; Mon, 31 Aug 2020 08:24:40 -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=@amazon.com header.s=amazon201209 header.b=nzYqdieI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbgHaPWf (ORCPT + 99 others); Mon, 31 Aug 2020 11:22:35 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:16343 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbgHaPWe (ORCPT ); Mon, 31 Aug 2020 11:22:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1598887354; x=1630423354; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8LD1iy27SfR+a5xkcnYJDHeq/LsqaaSc4fApBGtzsqg=; b=nzYqdieImWnpBALHub5LfumDcrRWlAeOGn36iQwMpcfa6URXdPOoG3YM GceazP3QjuywmnOsPdleOo3+0bzintAelEVajoju7dImr7/rPovqb7aqD xctHv6uVQbrbESUG2Ps50Y2YJHPs+ALZTmRd5U6dqVNKki7oVI6CAEKWa s=; X-IronPort-AV: E=Sophos;i="5.76,376,1592870400"; d="scan'208";a="51220741" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-2225282c.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 31 Aug 2020 15:22:32 +0000 Received: from EX13MTAUWC001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-2225282c.us-west-2.amazon.com (Postfix) with ESMTPS id 8119CA1D6F; Mon, 31 Aug 2020 15:22:30 +0000 (UTC) Received: from EX13D31UWC002.ant.amazon.com (10.43.162.220) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 Aug 2020 15:22:30 +0000 Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D31UWC002.ant.amazon.com (10.43.162.220) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 Aug 2020 15:22:29 +0000 Received: from dev-dsk-csbisa-2a-37939146.us-west-2.amazon.com (172.19.34.216) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 31 Aug 2020 15:22:29 +0000 Received: by dev-dsk-csbisa-2a-37939146.us-west-2.amazon.com (Postfix, from userid 800212) id B271C263; Mon, 31 Aug 2020 15:22:29 +0000 (UTC) Date: Mon, 31 Aug 2020 15:22:29 +0000 From: Clint Sbisa To: , CC: Catalin Marinas , Will Deacon Subject: Re: [PATCH] arm64: Enable PCI write-combine resources under sysfs Message-ID: <20200831152229.vjxx3er2edznkwq3@amazon.com> References: <20200821155154.umharcbew46hkhuq@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200821155154.umharcbew46hkhuq@amazon.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 03:51:54PM +0000, Clint Sbisa wrote: > Using write-combine is crucial for performance of PCI devices where > significant amounts of transactions go over PCI BARs. > > arm64 supports write-combine PCI mappings, so the appropriate define > has been added which will expose write-combine mappings under sysfs > for prefetchable PCI resources. > > Signed-off-by: Clint Sbisa > --- > arch/arm64/include/asm/pci.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/include/asm/pci.h b/arch/arm64/include/asm/pci.h > index 70b323cf8300..b33ca260e3c9 100644 > --- a/arch/arm64/include/asm/pci.h > +++ b/arch/arm64/include/asm/pci.h > @@ -17,6 +17,7 @@ > #define pcibios_assign_all_busses() \ > (pci_has_flag(PCI_REASSIGN_ALL_BUS)) > > +#define arch_can_pci_mmap_wc() 1 > #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1 > > extern int isa_dma_bridge_buggy; > -- > 2.23.3 > Please disregard this submission, I'm resubmitting it to more appropriate maintainers than what was suggested by the get_maintainer script. Clint