Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754136AbbEPPOp (ORCPT ); Sat, 16 May 2015 11:14:45 -0400 Received: from mail-by2on0128.outbound.protection.outlook.com ([207.46.100.128]:36345 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752127AbbEPPOl convert rfc822-to-8bit (ORCPT ); Sat, 16 May 2015 11:14:41 -0400 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; arm.com; dkim=none (message not signed) header.d=none; X-WSS-ID: 0NOG7O8-08-FTL-02 X-M-MSG: From: "Suthikulpanit, Suravee" To: Bjorn Helgaas CC: Rafael Wysocki , Len Brown , "Catalin Marinas" , Will Deacon , "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , David Miller , "Arnd Bergmann" , Mark Salter , Hanjun Guo , Al Stone , Grant Likely , "Duran, Leo" , linux-arm , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linaro-acpi@lists.linaro.org" , netdev , "linux-crypto@vger.kernel.org" , Rob Herring , Murali Karicheri Subject: Re: [V4 PATCH 3/6] pci: Generic function for setting up PCI device DMA coherency Thread-Topic: [V4 PATCH 3/6] pci: Generic function for setting up PCI device DMA coherency Thread-Index: AQHQj1VvpPJ62S4nuEu0eQDk2WWPXJ1+z5MA///XGwA= Date: Sat, 16 May 2015 15:14:36 +0000 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.0.121105 x-originating-ip: [10.177.96.11] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD008;1:kgoGw/YxcL8rhkc6xjQyBJ6yGlMpISAmvWp2uxga6IT2HTrXIR63CUncaX/7tBxU6eqXbWJYfYsJpDDjARSkxNow0Hu6S5HSOtXJx98LX7I5td9/UfT+VEARBqe8syrARZdVWZNP5XLgivyP5XrqWvrIy8u8C7CAo7EdN0sYODXoFy7V1Me1SmTIalNc6j1MYVr4AQo83CT8/hCy0vM2xMyEA5zLcJ0X9I/56J3tmoSISqel5Iec5QcydwbUhgj8dmBOBwp0I3Qo0PtCMhcV/s1zEJs1z4WA9cvY3wyudrr2uWuDxdMObTh4C8tk/82H X-Forefront-Antispam-Report: CIP:165.204.84.222;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(54534003)(377454003)(24454002)(164054003)(479174004)(199003)(51704005)(189002)(50986999)(54356999)(47776003)(105586002)(86362001)(110136002)(189998001)(5250100002)(36756003)(2900100001)(2950100001)(102836002)(19580395003)(4001350100001)(19580405001)(62966003)(77156002)(50466002)(2656002)(92566002)(83506001)(97756001)(46102003)(87936001)(106466001)(106116001)(101416001)(53416004)(46406003)(23726002);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1PR02MB080;H:atltwp02.amd.com;FPR:;SPF:None;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO1PR02MB080; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CO1PR02MB080;BCL:0;PCL:0;RULEID:;SRVR:CO1PR02MB080; X-Forefront-PRVS: 057859F9C5 X-OriginatorOrg: amd4.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2015 15:14:37.7294 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96;Ip=[165.204.84.222];Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR02MB080 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1106 Lines: 34 Hi Bjorn, On 5/16/15, 07:41, "Bjorn Helgaas" wrote: >On Fri, May 15, 2015 at 4:23 PM, Suravee Suthikulpanit > wrote: >> This patch refactors of_pci_dma_configure() into a more generic >> pci_dma_configure(), which can be reused by non-OF code. >> Then, it adds support for setting up PCI device DMA coherency from >> ACPI _CCA object that should normally be specified in the DSDT node >> of its PCI host bridge.. > >From the changelog, it sounds like you might be able to split this >into two patches: > >1) Refactor of_pci_dma_configure(), with no functional change >2) Add support for using _CCA > >If that's possible, please do so to make this easier to review. > >Bjorn Yes, I can separate the patch out. This would mainly affect ACPI+PCI support for ARM64 (which is in progress). Thanks, Surafvee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/