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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 C247CC3A589 for ; Tue, 20 Aug 2019 13:15:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92EC822DA7 for ; Tue, 20 Aug 2019 13:15:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729684AbfHTNPu (ORCPT ); Tue, 20 Aug 2019 09:15:50 -0400 Received: from mga02.intel.com ([134.134.136.20]:49868 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728771AbfHTNPu (ORCPT ); Tue, 20 Aug 2019 09:15:50 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2019 06:15:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,408,1559545200"; d="scan'208";a="178185133" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 20 Aug 2019 06:15:48 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 0BAF8128; Tue, 20 Aug 2019 16:15:46 +0300 (EEST) From: Andy Shevchenko To: Vinod Koul , dmaengine@vger.kernel.org, Viresh Kumar , Jarkko Nikula Cc: Andy Shevchenko Subject: [PATCH v2 00/10] dmaengine: dw: Enable for Intel Elkhart Lake Date: Tue, 20 Aug 2019 16:15:36 +0300 Message-Id: <20190820131546.75744-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.23.0.rc1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On Intel Elkhart Lake the DMA controllers can be provided by IntelĀ® PSE (Programmable Services Engine) and exposed either as PCI or ACPI devices. To support both schemes here is a patch series. First two patches fixes minor issues in DMA ACPI layer, patches 3-5 enables Intel Elkhart Lake DMA controllers that exposed as ACPI devices, patch 6 is clean up, patch 7 is fix for possible race on ->remove() stage, patch 8 is follow up clean up and patches 9-10 is a split for better maintenance. Changelog v2: - spell correctly IntelĀ® PSE in the code and commit messages (Jarkko) - drop couple of not needed right now patches against DMA ACPI layer Andy Shevchenko (10): dmaengine: acpi: Set up DMA mask based on CSRT dmaengine: acpi: Add kernel doc parameter descriptions dmaengine: dw: Export struct dw_dma_chip_pdata for wider use dmaengine: dw: platform: Use struct dw_dma_chip_pdata dmaengine: dw: platform: Enable iDMA 32-bit on Intel Elkhart Lake dmaengine: dw: platform: Use devm_platform_ioremap_resource() dmaengine: dw: platform: Switch to acpi_dma_controller_register() dmaengine: dw: platform: Move handle check to dw_dma_acpi_controller_register() dmaengine: dw: platform: Split ACPI helpers to separate module dmaengine: dw: platform: Split OF helpers to separate module drivers/dma/acpi-dma.c | 12 ++- drivers/dma/dw/Makefile | 4 +- drivers/dma/dw/acpi.c | 53 +++++++++ drivers/dma/dw/internal.h | 51 +++++++++ drivers/dma/dw/of.c | 131 ++++++++++++++++++++++ drivers/dma/dw/pci.c | 60 +++-------- drivers/dma/dw/platform.c | 221 +++++++++----------------------------- 7 files changed, 312 insertions(+), 220 deletions(-) create mode 100644 drivers/dma/dw/acpi.c create mode 100644 drivers/dma/dw/of.c -- 2.23.0.rc1