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=-9.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_ALL,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 6C136C433E2 for ; Mon, 31 Aug 2020 15:24:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 282CA20767 for ; Mon, 31 Aug 2020 15:24:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S2mqt8SL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="RGbyoZ5e" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 282CA20767 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RhglQy5MHIaw11hN8G8NWx+MwMrrPQVFD5PA0KBl7P4=; b=S2mqt8SL6aOpbjo0oiOieaayn mn0gFXZ+E4q4u4EBNu5XHuGYmSE6t2B1Zjx1r6u/DdfgerwNh9vxS7IQpJgeQ56vtKXSaPzlZr9fJ 0OsdqpwIxJTWdnjlXhkNcRDWQI8CtGe+3u45aE8/oiYeahETxCp8CztvEZewfvJQs0xqondkar9kX IwizA1jEDVIRlynjz5SJ8WhWoISBD00CUeAhkEYdDNln6ctbnLbvpkoleuCRKw5htVNdFl2DfzOoo BIFr9fYU33tdTj13uHUoo6duIQsuhj4x4kkVjbe4e7bMnM/0K6vMnFhiRXsDHhVMS64WFrSR/7TQ1 aaUrXRnqA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCldm-00005X-6H; Mon, 31 Aug 2020 15:22:38 +0000 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCldi-000058-Dx for linux-arm-kernel@lists.infradead.org; Mon, 31 Aug 2020 15:22:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1598887355; x=1630423355; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8LD1iy27SfR+a5xkcnYJDHeq/LsqaaSc4fApBGtzsqg=; b=RGbyoZ5ejnda5ZRb8N186tix7HawhlHpr+0g0VAJUPdkZX8e+3Quw6/O MLu0yLoLJOwpmmotkK7v9aCiNbbKuilNB4Vspuvg1mO613zKSRtqBRJJE Jsg4JSaR+UyGy5MthaZC7jBmy/C0zgaHK8z+prXB3337sPp8xqyvkW5t9 M=; 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: , 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-Disposition: inline In-Reply-To: <20200821155154.umharcbew46hkhuq@amazon.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200831_112234_570794_A7B5DF63 X-CRM114-Status: GOOD ( 19.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Will Deacon Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel