From patchwork Tue Apr 11 03:39:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81705 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2315038vqo; Mon, 10 Apr 2023 21:01:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Z/2zwXTSmwKheDrbCH/4irzLh9ggwBfIqqW+ewK+lWfdqOLMMSmCc+qCqlZ4OrmiFnKEdv X-Received: by 2002:a17:906:68d3:b0:94a:8ada:d109 with SMTP id y19-20020a17090668d300b0094a8adad109mr4745564ejr.77.1681185690354; Mon, 10 Apr 2023 21:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681185690; cv=none; d=google.com; s=arc-20160816; b=De1N/wKgCpEG/qjQhqPLgh+sqJO0M/OmAysdplwzxN4d3trOjN9mz3B8AOgbs7rhsw jQZuWejUGQKkHjCq95BDPdKLCD3PnoxwYdkxFu0q2Zt9la4bKvBU2xJo3ppeZAfdfVhJ wansI6f6t7NQ3nhbpD9TZyNkPA3XY8TxqGRzQY3pESkB1vK2vITL7DKjvzoYg0wKRkMY w+ytSSTXJdPJtBJQhIwIzDFghGA2GLVVJucrlPWLcoehltmPqiNaeehLc1MGP1S8bkR8 KRqI65zdpb2HZw5/pWeolmU5IK0avcLsdENffv2itFbpli2RTflTPndPqyxcNdvA3nAo yOkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dhe5fI/NAb096CUtikyh7zdL7QAzlkNeqQb7gzpNoGQ=; b=qmPRR74dcUpMcjuB0D/xtBNHXZI4aRj4oucnAsgwG/xLCzP1vm6/FpKsYrp6D6lclE ftMZHmzPEdnmzh0ZJ1SCNMpnyOjbYPiG7y/vEEuQZJ5hGM3ySju0JctUHOEh7tAbxxjo /pt4iutDJpl06KzcV1Ao4jcvSUo3yKAPDYK08pxpQu9aiw0xUtknR1/re52uRjuzrJ/6 XdxWiGp5G/X/I1LoP0GYsYUyq78oXCFQBEZ5blFFs8AYRmvFGU3WnlymlwSX6kNUT3IA L9HUcX3+fz8o/4VO+xcRcWBvrqodw2yfiiRjfU16ftHF/2IMjFV+/qcCvxiyqPDWEIN/ NZ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="jO5/qNV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020aa7d442000000b00504945b50b8si1051418edr.229.2023.04.10.21.01.03; Mon, 10 Apr 2023 21:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="jO5/qNV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbjDKDkX (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD7CF1BFC; Mon, 10 Apr 2023 20:39:47 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 60DE4E0EAA; Tue, 11 Apr 2023 06:39:45 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=dhe5fI/NAb096CUtikyh7zdL7QAzlkNeqQb7gzpNoGQ=; b=jO5/qNV/XUsm qyc3iswjovf49leh7tHcz8t63Bucd+qBaKNJoB6MOSTsslARXmR+cK8Dw8TcE5k1 rKJ/pbe4tUViJZZZRwbiCWdbsmoBC4nq5yHqWoZmydJcZXpSXWjs5A/S0ObLVrTQ qn/LFoKvM/Eq+Nl+HIXmwCSNWHOW2so= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 4B7B5E0E6A; Tue, 11 Apr 2023 06:39:45 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:45 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Serge Semin , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= CC: Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 01/10] PCI: dwc: Fix erroneous version type test helper Date: Tue, 11 Apr 2023 06:39:19 +0300 Message-ID: <20230411033928.30397-2-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762850966299456943?= X-GMAIL-MSGID: =?utf-8?q?1762850966299456943?= Due to an unfortunate mistake the macro function actually checks the IP-core version instead of the IP-core version type which isn't what originally implied. Fix it by introducing a new helper __dw_pcie_ver_type_cmp() with the same semantic as the __dw_pcie_ver_cmp() counterpart except it refers to the dw_pcie.type field in order to perform the passed comparison operation. Fixes: 0b0a780d52ad ("PCI: dwc: Add macros to compare Synopsys IP core versions") Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-designware.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-designware.h b/drivers/pci/controller/dwc/pcie-designware.h index 79713ce075cc..adad0ea61799 100644 --- a/drivers/pci/controller/dwc/pcie-designware.h +++ b/drivers/pci/controller/dwc/pcie-designware.h @@ -37,17 +37,20 @@ #define __dw_pcie_ver_cmp(_pci, _ver, _op) \ ((_pci)->version _op DW_PCIE_VER_ ## _ver) +#define __dw_pcie_ver_type_cmp(_pci, _type, _op) \ + ((_pci)->type _op DW_PCIE_VER_TYPE_ ## _type) + #define dw_pcie_ver_is(_pci, _ver) __dw_pcie_ver_cmp(_pci, _ver, ==) #define dw_pcie_ver_is_ge(_pci, _ver) __dw_pcie_ver_cmp(_pci, _ver, >=) #define dw_pcie_ver_type_is(_pci, _ver, _type) \ (__dw_pcie_ver_cmp(_pci, _ver, ==) && \ - __dw_pcie_ver_cmp(_pci, TYPE_ ## _type, ==)) + __dw_pcie_ver_type_cmp(_pci, _type, ==)) #define dw_pcie_ver_type_is_ge(_pci, _ver, _type) \ (__dw_pcie_ver_cmp(_pci, _ver, ==) && \ - __dw_pcie_ver_cmp(_pci, TYPE_ ## _type, >=)) + __dw_pcie_ver_type_cmp(_pci, _type, >=)) /* DWC PCIe controller capabilities */ #define DW_PCIE_CAP_REQ_RES 0 From patchwork Tue Apr 11 03:39:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81703 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2312085vqo; Mon, 10 Apr 2023 20:52:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bOzTiAAiRtQwjNNwqYj1DYsDM57XG1yzFUbWN41kX0a46TPxLHpX3xQJTegc2qqlAOp2IO X-Received: by 2002:a17:906:7cc8:b0:933:1702:a12b with SMTP id h8-20020a1709067cc800b009331702a12bmr10515202ejp.17.1681185142092; Mon, 10 Apr 2023 20:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681185142; cv=none; d=google.com; s=arc-20160816; b=pPk4XKGhN8xnXWWbWAHmE28NIpFgcSgVsmqEHQVtqRK0Ci/qq2fkB00qbhALbdqYA9 qNcYhRQRDMIbq7LshBkmS/VHHA4fiot5xbFR/jgOwPT7aayIJsmOJ+/cKqWgrLn6GN2O 7YI74OvdEEJ4U6BUUx0hil0R9VDudwGiTcyCU0lS1rNkzQRl9gwIDpQvIgWLicmuUrhG k5hK8uC5wMOmgfBDM66JUiKtu2SneIpXSgoL9g2g81xFD2H7CVx+Q2xQygAm553INWRI 7HZo5XeApEDFEa9Os+A7P+VDLd5ZRRRCDHbRYdIEQNTyCspZ266m8GpEqWDS4CkcBePz Kzyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z20A0fWpICPtjOF2M8t4WS6WhRAMGG+yFlsPVf4hP00=; b=r+LRfsuwB8YF/1j2b9ldlXwLJsEb1KbycWRERczxLsGePKmWYYgwdp5bqSRnuFhf02 vE0JmHOjibKPva17KKMW8t3Q/Qvhp0LJDeQArB7J7/0gW5E+0iEaTNMNzTqACy1tD3Pt soecPlgc15fARYkDyDzqJOnN6qzyTey3864Pm7XvzhjZG39CVeQAmEBjQUT8qN3HqlaF IZ9VcHC87e8rdbcmH8llRXHEgrnXhTxENz7HIr7g0SEuBoQqv6Mv6PWkEhO7MpJSEmh2 194VDkdS4UsCpgd3qh8OyyyAkpc0NP7but7Myw2cHmNW7uUiNqqovXqI3CLKHFeqnoIL pi7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="RhBh/E8f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rd7-20020a170907a28700b0094a89abe39asi1750091ejc.241.2023.04.10.20.51.58; Mon, 10 Apr 2023 20:52:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="RhBh/E8f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjDKDkR (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD6CF1BFB; Mon, 10 Apr 2023 20:39:47 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 14308E0EAB; Tue, 11 Apr 2023 06:39:46 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=Z20A0fWpICPtjOF2M8t4WS6WhRAMGG+yFlsPVf4hP00=; b=RhBh/E8fNq1I iCmkSr+PFGO505/LkKkqlWszBvWTq7tT8rfk24qv29WQ20D+L8V4oOTNJFuXxYHA 1sangwpvTwH3yk1nHcxBVtMy0COkYmTtlm9RxdEyWb8ypDQUVl92V8I59Atl5fHR z7tHrmAk7cGaKW7/0KbPOkKTwL9Nlcg= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 038AAE0E6A; Tue, 11 Apr 2023 06:39:46 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:45 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Serge Semin , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= CC: Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 02/10] PCI: dwc: Fix inbound iATU entries out-of-bounds warning message Date: Tue, 11 Apr 2023 06:39:20 +0300 Message-ID: <20230411033928.30397-3-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762850391244131991?= X-GMAIL-MSGID: =?utf-8?q?1762850391244131991?= The message is printed if the number of requested inbound iATU windows exceed the device capability. In that case the message should either refer to the "dma-ranges" DT property or to the DMA-ranges mapping. We suggest to use the later version as a counterpart to the just CPU-ranges mapping. In any case the current "Dma-ranges" phrase seems incorrect. Suggested-by: Manivannan Sadhasivam Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-designware-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c index 9952057c8819..5718b4bb67f0 100644 --- a/drivers/pci/controller/dwc/pcie-designware-host.c +++ b/drivers/pci/controller/dwc/pcie-designware-host.c @@ -723,7 +723,7 @@ static int dw_pcie_iatu_setup(struct dw_pcie_rp *pp) } if (pci->num_ib_windows <= i) - dev_warn(pci->dev, "Dma-ranges exceed inbound iATU size (%u)\n", + dev_warn(pci->dev, "DMA-ranges exceed inbound iATU size (%u)\n", pci->num_ib_windows); return 0; From patchwork Tue Apr 11 03:39:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81704 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2313272vqo; Mon, 10 Apr 2023 20:56:30 -0700 (PDT) X-Google-Smtp-Source: AKy350ZjKD3chqhjdMU78wB+rpTXGViAsHPaoKf9I06e5A9IDrsuQ0lvvaaVyL3RyYJYl36FBFn2 X-Received: by 2002:aa7:df85:0:b0:501:c3de:dc5c with SMTP id b5-20020aa7df85000000b00501c3dedc5cmr11449655edy.18.1681185389899; Mon, 10 Apr 2023 20:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681185389; cv=none; d=google.com; s=arc-20160816; b=LGLxiZqSmc8H0dyH4MwEuqd8BR3ltS+fnvFrdgAU1hLGNJFQjlayNbo7zh4eZhNYdL KMflYEYc8VQzUk6b8cLBClMFhHVLT40ot/KwSNbgjBMOSgMHZo2SI2ciA1Ghlo3Ik5Wk OtIUN7ECOV+0mIz3OQpPQBsDXXjCbwCxEFnRqfBw2uVww7YHf7hvM6Wo9POrrHWw9Dka Wo50QnE7/a4ppjFYaivEFkaSX2mke2Tj6DAjjqyt7TJUxBJQqBHYHt38viDJ352p8wb7 t/e/x6SSc/3OCVD4JSPfQ8Zg3OnM010E6zJ69/5wfeQ4vf0y/jGETTh04tcNFPlXPAwd zUaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=89b/UOPhg9WZ4IKzO2lC1Ctz22C69o+lP7Er3kTcyUw=; b=wcNYwExP1ogUK8ULP9TBM2+8UCkYRwH7eyhfHVXsrb7AHga1LhJVAwjB1hAVTIQ3Xr XbSPxo2Y4TUJpdH9tPV4H6b1lHTuLHcO077GCsfvDXmWXhPl2fWUBMGDDfowtyLrnVnv Hg9kVJYLtDXrOFRSPwOZYG6he067Hwnnamo8ugjIiSmdbg7pNJrM2bRq5BXuEIhl7TJ5 OaDzk1N0Cpk2UkvVn+YJopV/m/5P3GTX5WJkH7rizrynzK7PJAk5jCLm3+hpslModdLF M/xpRDMRIA/SWhN8Xk00oBUIi8TQ0UVEjk/sJ7/Mu5HeeWKMzGtqyVvnAtusrfzktW8/ 5yOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=RPaStXy+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020aa7d503000000b00504a29c39a0si1481633edq.256.2023.04.10.20.56.05; Mon, 10 Apr 2023 20:56:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=RPaStXy+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjDKDkL (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbjDKDjv (ORCPT ); Mon, 10 Apr 2023 23:39:51 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD5881BF7; Mon, 10 Apr 2023 20:39:47 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id CC478E0EAC; Tue, 11 Apr 2023 06:39:46 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=89b/UOPhg9WZ4IKzO2lC1Ctz22C69o+lP7Er3kTcyUw=; b=RPaStXy+rPXL tP9QeXwbzfB/eRuy4xGVEGeuIp5YdOZKvNjg3QJkKRWr6tKQ7oEV5dbU8A7y7tgX Sw8uI/UA8gT4VLwU2xvJAwajz60SN9BHXM8jO3RLrlF/NEhIYi3lAe8Am6/YkyBZ Xx3nX7nlhRjdm+y31UvWuRH/6dXrNHk= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id A5359E0E6A; Tue, 11 Apr 2023 06:39:46 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:46 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 03/10] PCI: bt1: Enable async probe type Date: Tue, 11 Apr 2023 06:39:21 +0300 Message-ID: <20230411033928.30397-4-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762850651318862488?= X-GMAIL-MSGID: =?utf-8?q?1762850651318862488?= It's safe to enable the asyncronous probe type since the PCIe peripheral devices probing order isn't essential for booting the system. Moreover enabling that feature saves 0.5 seconds of bootup time if no any device attached to the PCIe root port. It's a significant performance gain seeing the total bootup time takes about 3 seconds. Suggested-by: Manivannan Sadhasivam Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-bt1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-bt1.c b/drivers/pci/controller/dwc/pcie-bt1.c index 95a723a6fd46..e36a20bf82cf 100644 --- a/drivers/pci/controller/dwc/pcie-bt1.c +++ b/drivers/pci/controller/dwc/pcie-bt1.c @@ -638,6 +638,7 @@ static struct platform_driver bt1_pcie_driver = { .driver = { .name = "bt1-pcie", .of_match_table = bt1_pcie_of_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(bt1_pcie_driver); From patchwork Tue Apr 11 03:39:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81697 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309087vqo; Mon, 10 Apr 2023 20:42:33 -0700 (PDT) X-Google-Smtp-Source: AKy350aQKQTB5NmySEHwGFGQOU7awH3lGrrsAtKVnihffn8x7Ofobox9+YZ1Xxugc4ysL1DKp8Zz X-Received: by 2002:aa7:d358:0:b0:4ac:b687:f57e with SMTP id m24-20020aa7d358000000b004acb687f57emr894144edr.1.1681184553586; Mon, 10 Apr 2023 20:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681184553; cv=none; d=google.com; s=arc-20160816; b=m/Eswr4FjTYZPHCvE+YFamX5MN7jenyGMzMTey+ziyDDGTyHr7lgxrPZD0EOOxdsec 9K98geWL1HCq3L12Z6nMYzcRKmEF4mRlFfvsoVDm5OUdZ2B9W/3iqDjM0qzQLsU0TLxX ltk1EKVknBjOQw6MJOvSdNK1+WSZvEWLiED3VG2nUVx+XSrjtmQc1YltT2GhQreaAvfD Q8oayouFHQ/360j30FRVe4uAoevXf87q9+f9Wpzail/xwRAbzJyKSjvoErncoBRUE88R P8Ppy75C9pzANIDsYAp1LaayJ/jqDVWuCcdrkcTP/ILekUkE1AGQAgwEqP1+FUTnX5pP 7KPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z8ARZK5us9oFqxpICK2v9G6GBNtg+a64/s6Q6MnxyS4=; b=aESOKHdiSFBWub8shHUE/2nAR+HdsLaJfuau7Mr0DFySkfPoKZNoRpVtZOb7qgZq/d NrnID81n1GbbFOUVZPFUOINn28MZagXW2dnICpHeFoKCxGsLjRDyLcDKZoPm2A1/KFoX HVzlvys+I5IBa0ekJw5bxpOFVwX8pXzAeuJJn4m+zmtjz4XzV3PP5SlPrz9SLREvNM7s 8MiZq5qiGxOYeH89Jpw5O6HQ9KemKIH4UkmQHNrAqizikM4BMYTYB9feKEZm/rpR6I8B NNojMCGZQALKuEm/l5Tpagd8q2C8UuuzofjN8rpfv77qmMfeA9BqLytn9EJ5+nf1wNDt PkSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=C8gQ94Le; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020aa7c48c000000b004fca8e615f0si15848edq.609.2023.04.10.20.42.09; Mon, 10 Apr 2023 20:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=C8gQ94Le; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229983AbjDKDkB (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbjDKDjv (ORCPT ); Mon, 10 Apr 2023 23:39:51 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A66DD1FC1; Mon, 10 Apr 2023 20:39:48 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 8BF84E0EAD; Tue, 11 Apr 2023 06:39:47 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=Z8ARZK5us9oFqxpICK2v9G6GBNtg+a64/s6Q6MnxyS4=; b=C8gQ94LeATaY tEzzOmlYSTbqSxW1IudWdE9FB8wyTrSW1NFFhgJ8EGunnV/LNrHt5efTVTHyZkx0 cYPX5S3kXkUl6x3/AsRhuyKC3W2/iNZX1wh5YDPG1E7Vf32RkiJaPTTN6Tauxuq1 YWys3mE1Jt/LZkl1ZGVG4l7dDgPhO30= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 69494E0E6A; Tue, 11 Apr 2023 06:39:47 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:47 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 04/10] PCI: bt1: Fix printing false error message Date: Tue, 11 Apr 2023 06:39:22 +0300 Message-ID: <20230411033928.30397-5-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762849774534219220?= X-GMAIL-MSGID: =?utf-8?q?1762849774534219220?= The dev_err_probe() method is supposed to be invoked only if any error is happened. It was definitely wrong to call it unconditionally. Due to that the DWC PCIe host initialization error-message is printed all the time the Baikal-T1 PCIe controller is probed even if no error actually happened. Fixes: ba6ed462dcf4 ("PCI: dwc: Add Baikal-T1 PCIe controller support") Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-bt1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-bt1.c b/drivers/pci/controller/dwc/pcie-bt1.c index e36a20bf82cf..6557141873ad 100644 --- a/drivers/pci/controller/dwc/pcie-bt1.c +++ b/drivers/pci/controller/dwc/pcie-bt1.c @@ -597,8 +597,10 @@ static int bt1_pcie_add_port(struct bt1_pcie *btpci) dw_pcie_cap_set(&btpci->dw, REQ_RES); ret = dw_pcie_host_init(&btpci->dw.pp); + if (ret) + dev_err_probe(dev, ret, "Failed to initialize DWC PCIe host\n"); - return dev_err_probe(dev, ret, "Failed to initialize DWC PCIe host\n"); + return ret; } static void bt1_pcie_del_port(struct bt1_pcie *btpci) From patchwork Tue Apr 11 03:39:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81702 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2311994vqo; Mon, 10 Apr 2023 20:52:04 -0700 (PDT) X-Google-Smtp-Source: AKy350bZ7oyPxXlaeMSHb2BKmc4O8p0RLHydbfA1TUNMuwLzhyozGSAGQDXxvDUxYB260DGkKw6W X-Received: by 2002:a17:906:9519:b0:94a:5402:da29 with SMTP id u25-20020a170906951900b0094a5402da29mr1154719ejx.19.1681185123887; Mon, 10 Apr 2023 20:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681185123; cv=none; d=google.com; s=arc-20160816; b=Gd1/SZ+WqqvBOGU8Q8EgoSi5zfhQQkW3Im3znJjhWChAkTvNRvvWg4fAuJO0aBDlib Y3JD6MsIiugfgxBpq73yI81JOzRULLH5VbaesXQ6rOk4yixr1nD5M4OJZP1YPId36BeJ 4Th7YHCXeWj3CbGoWYla6i2Pzc+wTJoS48NWzg3dJpaeJPrbscXUpuRZFPkwLL9Sfgbz g3hOSbeQ95L/KxnxhvpV4ac4VYegXJNnF8NtSoYwsWpQYLI7nfYHhO1mnYhGG2nIJr6c GZHEuRqSGKcJRu0Ya7ln4ETG/N6Kr+XpEl/DVkjGUdjX6EZ/YL+bxukH1zXhEqShXPOE pdsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6XssbBvI45R3gW5dyCZlANOptb4ng76cV2Y7e/5miHw=; b=bHO1JW3BtkaCd7tDMZcAXoS2hXc1zv1pYmreXW3x88NJmP9poYEzlP/X14jYUZAMbf wWyErY2YQCOHQGYwa+Zlj/mU+vDC2WQCf0Kn/GKRQcLPWzHtjrSnlFA8L/o4kRQyY8K0 ZDG943SgUHtDqcJ8zpXpkEqSIa5lJcGIZMN63VJLKLbQBflnRZfB+d95y7/GHNaJJld0 xtQF5ZiCcthbo609d7A6M3A6Rk0b73RMjZhzL61BxJ72sYyjG4CB9cAJquP/N73HMV4E v+8Em2rIfyXGjvv6mq9bIjGn0gNA1Lp70YRdx6JV/2nU7RoLkb0OROY9i8xyomo4dYIx ZUOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="luqF/e1n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd11-20020a170907968b00b0094d4930fa67si2244512ejc.800.2023.04.10.20.51.39; Mon, 10 Apr 2023 20:52:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="luqF/e1n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjDKDkd (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CFA32118; Mon, 10 Apr 2023 20:39:51 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 2D425E0EAF; Tue, 11 Apr 2023 06:39:48 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=6XssbBvI45R3gW5dyCZlANOptb4ng76cV2Y7e/5miHw=; b=luqF/e1nnoeK 81NnSjaQ4TqHEZPnFf6vU4zeITPmnBRm0yKBWF36DnbUd3Jis5xm7ceJqYspKmAb ilsfE8jYx52j/uJndaNGc5FjZEU3QmuW9cfviQEG/AHq+cA7MwHtlJQzoMC0J7zY duVEItDsAzUzRvMLbQRzko9DTzFjxtI= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 0B800E0E6A; Tue, 11 Apr 2023 06:39:48 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:47 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Serge Semin , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= CC: Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 05/10] PCI: dwc: Drop duplicated fast-link-mode flag unsetting Date: Tue, 11 Apr 2023 06:39:23 +0300 Message-ID: <20230411033928.30397-6-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762850372791806625?= X-GMAIL-MSGID: =?utf-8?q?1762850372791806625?= Most likely by mistake the PORT_LINK_FAST_LINK_MODE flag unsetting was added twice in the commit cff9244432e8 ("PCI: dwc: Ensure FAST_LINK_MODE is cleared"): first it is cleared right after the content of the PCIE_PORT_LINK_CONTROL register is read, second it's cleared in the framework of the link-mode initialization procedure. The later action is redundant. Let's drop it. Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-designware.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c index 8e33e6e59e68..e55b7b387eb6 100644 --- a/drivers/pci/controller/dwc/pcie-designware.c +++ b/drivers/pci/controller/dwc/pcie-designware.c @@ -1019,7 +1019,6 @@ void dw_pcie_setup(struct dw_pcie *pci) } /* Set the number of lanes */ - val &= ~PORT_LINK_FAST_LINK_MODE; val &= ~PORT_LINK_MODE_MASK; switch (pci->num_lanes) { case 1: From patchwork Tue Apr 11 03:39:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81698 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309668vqo; Mon, 10 Apr 2023 20:44:20 -0700 (PDT) X-Google-Smtp-Source: AKy350afoRzIrgpM4VL5f0oc6z721L+UXDY5QTbptjtGj90kjaGxk3yNuPT4HqsyxeGtYIGgBcha X-Received: by 2002:aa7:cd11:0:b0:504:9c53:a7d8 with SMTP id b17-20020aa7cd11000000b005049c53a7d8mr5192481edw.39.1681184659791; Mon, 10 Apr 2023 20:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681184659; cv=none; d=google.com; s=arc-20160816; b=ARAb1LGwTkqOwFdyk++5G1HkxVglQ/f8doXdOwcBif2r/x5jNFAp0/qbA5vQzIdsGu DNikP6/tVz7eKiEFxEdgnv9/G9KSwZOoPt9cSp+TfMVNNnqzkROp4uLneB3RMsx2Ua+3 2XOkApK/UFpijLeEmNwowqqIOYM96HBnyU0o1VYrCXcazEOBNUHUKzkToZfxwYGjDtCy X25Skz8vn0gksaFSbqdIVpo2hdekwDFmebwlLVTguh5KNKbakb8YqzPskgi6U0bnb9MC uhipsFdlmW2kwUDx+2SS4A70YA86Kpeg/E++ywvh5ie6fIL+TUhTFI/7t+WOfzxpmUV6 jt/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/zp7WPH8OS/6QNR/sjR/D8RaKXJ/IsU2KK8DeROKx4Q=; b=yWr1DH13y5qYcYyfgp2CezQiRSZXQcECGAyXVglrOtbQnknnoWD5gTmHOnKp/p7AL4 MinRzRHoIz1P8crh80D/sQkpRg5A+EK6ebZZ2ehH6dHXbYCfJRTdNIw7fpvOyoMGEsTC O84HQAZWwQS7KB3oGeV6sG7yZELhgsaDewr5wHznDqQEpqNRGC/cz003ZrfknQu0SwXA XzFipCF6j632NzsBy9BDcDGJi05bN2AT16ZNgVE8h+ceKRLKHX4ZgFhYaatFPmO0ripS /Ml+F60GH9jomf2Vuiqzo9v1NVrWi5jwx9Il7uwyl1J/PXBzxiM3iovmPDW2yFLyAvx7 36cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=BXG7ERsL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bi16-20020a170906a25000b008e6a5c547cfsi7368809ejb.254.2023.04.10.20.43.55; Mon, 10 Apr 2023 20:44:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=BXG7ERsL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbjDKDkq (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20C35212E; Mon, 10 Apr 2023 20:39:51 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 0E082E0EB1; Tue, 11 Apr 2023 06:39:49 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=/zp7WPH8OS/6QNR/sjR/D8RaKXJ/IsU2KK8DeROKx4Q=; b=BXG7ERsLMEnm yBwQefOh5Mhlkq/MxhP4nBm5yp6TDMzgibqOaRYYFAvHUjCxJ4fltKa2nZLrQFsP dmHFCxyIXDC7EYmomdG1j49RcU84YyQv6lW8pc1NCeQMkwDSF9IUApPwJJOmiEk6 M/vh4VYvndmRwesOMf+5gfSFadhysgY= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id E4C1EE0E6A; Tue, 11 Apr 2023 06:39:48 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:48 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Serge Semin , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= CC: Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 06/10] PCI: dwc: Drop empty line from dw_pcie_link_set_max_speed() Date: Tue, 11 Apr 2023 06:39:24 +0300 Message-ID: <20230411033928.30397-7-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762849885709086033?= X-GMAIL-MSGID: =?utf-8?q?1762849885709086033?= Well, just drop a redundant empty line from the tail of the denoted function which by mistake was added in commit 39bc5006501c ("PCI: dwc: Centralize link gen setting"). Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-designware.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c index e55b7b387eb6..ede166645289 100644 --- a/drivers/pci/controller/dwc/pcie-designware.c +++ b/drivers/pci/controller/dwc/pcie-designware.c @@ -729,7 +729,6 @@ static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) cap &= ~((u32)PCI_EXP_LNKCAP_SLS); dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, cap | link_speed); - } void dw_pcie_iatu_detect(struct dw_pcie *pci) From patchwork Tue Apr 11 03:39:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81706 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2315190vqo; Mon, 10 Apr 2023 21:01:51 -0700 (PDT) X-Google-Smtp-Source: AKy350YYJORs0Y+biiNihs+iR45VyWtbw9Yv9slmh7FBWC+VgK7xXhxUY3KwHgDpBVMU9cqSY+BV X-Received: by 2002:a17:907:16a0:b0:94a:8f3a:1a65 with SMTP id hc32-20020a17090716a000b0094a8f3a1a65mr1494121ejc.5.1681185711126; Mon, 10 Apr 2023 21:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681185711; cv=none; d=google.com; s=arc-20160816; b=u5/J6FYQcX+zz3PLwaJFw6c14/ZFvxh6OzSfiPjgtasMkw6JX3eJ8uinfkV/5qf0Dc ek0mgHZcgihPpKHHBibJWdoJ1h3uNUAM3IIljApqhT8XoXvNsykak2ARNOuBLnvNA4EQ dx3D9FBtJSqoazUcB95tp3azYJSI2VukjLEzan0u9leJTEfEg74/GWP7TF/VkDgy3Trz 4fVpuMeYWCjQKjzAGy7kgpe6rHiugZnBG02czJN7JKxSs8zrVhqDiZ6mbN/O7SN7qJYz f8b+L/WYfGA7TxdxYkccK8kUpwRh7DjDysV5m2kmJeTDM6gckFgC1HZiPZldVLwzhrFK chcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d/QSf+X1jxlRwJ4H1HhnS7rI3y4ANDeQKarksGhbPl8=; b=mkbmOn0D+TfaoG88pUR/IjSMB2dWxl1Zzy5niWyJyoyyp1z05GQ1LctOUTdf7YhOs1 gS7+vjINmngBvmvDcT9g/3MbvUgwsIRmnwstQdJ0qzMLUykQ8kVAQjcrQka6aW8WM/eB QqjgHfaMHMXjW0mA9AI5udRZnGdxu057vxnPJMLdZFLF7a5e50nFuEgqaUhPsAyrHEPR rXVLUMU8A821n0HDanIuQoT4YdtOe3ekOsYyWJQ2kPShn81GSNCsBIuGdxZg1dQUIxzw eqbjmF9v0vuwqKwIxHANcQ9uAGWOcZYDBnqS5W+SW4DmClXJ/St79ldck6tecDoyc6LF 1oIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=rhSEU3SH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020a05640203c700b004c1190b5abbsi912408edw.184.2023.04.10.21.01.26; Mon, 10 Apr 2023 21:01:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=rhSEU3SH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230015AbjDKDkk (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2424F212F; Mon, 10 Apr 2023 20:39:51 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id D2EEEE0EB2; Tue, 11 Apr 2023 06:39:49 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=d/QSf+X1jxlRwJ4H1HhnS7rI3y4ANDeQKarksGhbPl8=; b=rhSEU3SHrMiH AzKuVAubYVEp0i9k88ne4NrmCHfunrf7mgvEGzD3FqgCYTrLYRI9p9FSGX8odgD7 8KublVeAtZCLxEkUhhegusBH5xRxi8pmXkC7w6b/t6kmbqCSEskTMK46kDDEwyy8 7VUdkee5fHXt+6/C5pgQqrAhinM28wI= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id B5CC5E0E6A; Tue, 11 Apr 2023 06:39:49 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:49 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Nobuhiro Iwamatsu CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , , Bjorn Helgaas , Subject: [PATCH RESEND v3 07/10] PCI: visconti: Convert to using generic resources getter Date: Tue, 11 Apr 2023 06:39:25 +0300 Message-ID: <20230411033928.30397-8-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762850988280913065?= X-GMAIL-MSGID: =?utf-8?q?1762850988280913065?= The generic resources request infrastructure has been recently added to the DW PCIe core driver. Since the DT-bindings of the Toshibo Visconti PCIe Host controller is fully compatible with the generic names set let's convert the driver to using that infrastructure. It won't take much effort since the low-level device driver implies the resources request only with no additional manipulations involving them. So just drop the locally defined clocks request procedures, activate the generic resources request capability and make sure the mandatory resources have been requested by the DW PCIe core driver. Suggested-by: Bjorn Helgaas Signed-off-by: Serge Semin --- drivers/pci/controller/dwc/pcie-visconti.c | 37 ++++++++++------------ 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-visconti.c b/drivers/pci/controller/dwc/pcie-visconti.c index 71026fefa366..ae1517b52c58 100644 --- a/drivers/pci/controller/dwc/pcie-visconti.c +++ b/drivers/pci/controller/dwc/pcie-visconti.c @@ -29,9 +29,6 @@ struct visconti_pcie { void __iomem *ulreg_base; void __iomem *smu_base; void __iomem *mpu_base; - struct clk *refclk; - struct clk *coreclk; - struct clk *auxclk; }; #define PCIE_UL_REG_S_PCIE_MODE 0x00F4 @@ -198,6 +195,21 @@ static int visconti_pcie_host_init(struct dw_pcie_rp *pp) int err; u32 val; + if (!pcie->pci.core_clks[DW_PCIE_REF_CLK].clk) { + dev_err(pci->dev, "Missing ref clock source\n"); + return -ENOENT; + } + + if (!pcie->pci.core_clks[DW_PCIE_CORE_CLK].clk) { + dev_err(pci->dev, "Missing core clock source\n"); + return -ENOENT; + } + + if (!pcie->pci.core_clks[DW_PCIE_AUX_CLK].clk) { + dev_err(pci->dev, "Missing aux clock source\n"); + return -ENOENT; + } + visconti_smu_writel(pcie, PISMU_CKON_PCIE_AUX_CLK | PISMU_CKON_PCIE_MSTR_ACLK, PISMU_CKON_PCIE); @@ -242,8 +254,6 @@ static const struct dw_pcie_host_ops visconti_pcie_host_ops = { static int visconti_get_resources(struct platform_device *pdev, struct visconti_pcie *pcie) { - struct device *dev = &pdev->dev; - pcie->ulreg_base = devm_platform_ioremap_resource_byname(pdev, "ulreg"); if (IS_ERR(pcie->ulreg_base)) return PTR_ERR(pcie->ulreg_base); @@ -256,21 +266,6 @@ static int visconti_get_resources(struct platform_device *pdev, if (IS_ERR(pcie->mpu_base)) return PTR_ERR(pcie->mpu_base); - pcie->refclk = devm_clk_get(dev, "ref"); - if (IS_ERR(pcie->refclk)) - return dev_err_probe(dev, PTR_ERR(pcie->refclk), - "Failed to get ref clock\n"); - - pcie->coreclk = devm_clk_get(dev, "core"); - if (IS_ERR(pcie->coreclk)) - return dev_err_probe(dev, PTR_ERR(pcie->coreclk), - "Failed to get core clock\n"); - - pcie->auxclk = devm_clk_get(dev, "aux"); - if (IS_ERR(pcie->auxclk)) - return dev_err_probe(dev, PTR_ERR(pcie->auxclk), - "Failed to get aux clock\n"); - return 0; } @@ -304,6 +299,8 @@ static int visconti_pcie_probe(struct platform_device *pdev) pci->dev = dev; pci->ops = &dw_pcie_ops; + dw_pcie_cap_set(pci, REQ_RES); + ret = visconti_get_resources(pdev, pcie); if (ret) return ret; From patchwork Tue Apr 11 03:39:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81699 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309715vqo; Mon, 10 Apr 2023 20:44:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YbP5slVEH/aEE1rtagQEakkqnXKSIK++jQekz+RbbHtawB1VNo8NPAwNztziZ/4FvFfRN8 X-Received: by 2002:aa7:c0c7:0:b0:4fb:395a:6aa4 with SMTP id j7-20020aa7c0c7000000b004fb395a6aa4mr11138879edp.31.1681184671738; Mon, 10 Apr 2023 20:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681184671; cv=none; d=google.com; s=arc-20160816; b=JMWozxnUNWuHSm7gBYw85oBZiNzWsFqYn1t6svPpBA2GLdxmHi6CJfP8szCfOQHPo1 EptGAwCS8p8eHgiXZYLPjJ90xDYTtSlOOtZw99DPH8+hMso1LacKYVTpsuNSHINwAA8x zrKFKpOFhuEZGbofbmY0ob6Hm8wwPwFDgSPzp/y+42E4UxEPsQ1tgbb0vh9Sj5lVq6eg bX44ThZqFYcl+hw2XbTICnmAwmtQervyAIjjglMxziuHWEXal+DFSKQUdBv7R0jL0ROU xcH6oC1mtLa+szknTSUujpn6n7kL54l9tfGzjZbY6z+yf104xESGC6n/E23hll8l4HIW iO1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TSFsJp4bX10BSILZK9L2OF55Miu/NunLzJLcFBycd5A=; b=b1dF/eaAWFo38NfgZptjgQGKrEMO+iTuUHp1WITcrbxoGytBVH+2QyGEjDyVYAMjBx 2onavLBGeZApetHDDFp+z+9j0cfFyThYUVsdXQSoFWUMLDicOwKUE2ishG7xdhphpM+J RhGGtyAniMnGs/DvbAmmYIdHToFxzHaZ00szS/oNQlW0+blighr/ZGsqhcxQDedWpkYJ l8k7e9XUTsYYKjoONn5G7XAfTHM0puV/Y+mvXS8ov9GQDYHQp/5ymBYn+CnLtgQSRiPL +MINKjeKMVZW7yPaGNI+dHHwjNOpZm0W7Pz0zRBLUle8ThtQkCV2+6aP1ZiiCtNeglHl W2uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="Zc/hI5ve"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f26-20020a056402069a00b004faec71d331si11362664edy.436.2023.04.10.20.44.08; Mon, 10 Apr 2023 20:44:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b="Zc/hI5ve"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbjDKDku (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjDKDjw (ORCPT ); Mon, 10 Apr 2023 23:39:52 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 68DD1213D; Mon, 10 Apr 2023 20:39:51 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 781E9E0EB3; Tue, 11 Apr 2023 06:39:50 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=TSFsJp4bX10BSILZK9L2OF55Miu/NunLzJLcFBycd5A=; b=Zc/hI5vepwu/ p3l+UtSHaLz+L6wCNPKixB+blIBROkAaykS21IltHbaB3j9fgHif493B5/YEYn5X YVpAhjtfySCXNtl6PlpdkQAO2zrQ3qiMeHjRxoa7Q+9xRQ2yRfT3UrfwygPUDdyL KOSSqUnTjWopb8Ama6iy/lWg761FyII= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 59001E0E6A; Tue, 11 Apr 2023 06:39:50 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:50 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 08/10] MAINTAINERS: Add all generic DW PCIe RP/EP DT-schemas Date: Tue, 11 Apr 2023 06:39:26 +0300 Message-ID: <20230411033928.30397-9-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762849898193378826?= X-GMAIL-MSGID: =?utf-8?q?1762849898193378826?= Recently the DT-schema of the DW PCIe Root Port and End-point controllers has been refactored by detaching the common bindings into a separate schema. The provided modification must be reflected in the MAINTAINERS list so the patch submitters would be aware of the new files maintainers. Let's do that by adding the maintained files wildcard pattern like snps,dw-pcie*.yaml, which is applicable for all the old DW PCIe DT-schema files and the new one. Signed-off-by: Serge Semin Acked-by: Manivannan Sadhasivam --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ec57c42ed544..489fd4b4c7ae 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16063,8 +16063,7 @@ M: Jingoo Han M: Gustavo Pimentel L: linux-pci@vger.kernel.org S: Maintained -F: Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml -F: Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml +F: Documentation/devicetree/bindings/pci/snps,dw-pcie*.yaml F: drivers/pci/controller/dwc/*designware* PCI DRIVER FOR TI DRA7XX/J721E From patchwork Tue Apr 11 03:39:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81701 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309743vqo; Mon, 10 Apr 2023 20:44:37 -0700 (PDT) X-Google-Smtp-Source: AKy350ba0AyxxnYMVlP6BDETnExHVxCe9MaG/TNPE7uP0HCcC1eDG6SPHf0VIlFKWOr4dck1Sl5x X-Received: by 2002:a17:906:704a:b0:93f:fbe:ed17 with SMTP id r10-20020a170906704a00b0093f0fbeed17mr9208483ejj.62.1681184677588; Mon, 10 Apr 2023 20:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681184677; cv=none; d=google.com; s=arc-20160816; b=Um3mKEiZUg5GZnn9GqLb0tdKBeTB8hhq78O6ePrzL9NMPXpdB4gSFr4QSAPpRLhaq+ IYl2+KkrwnY9TDMdeH08YhILpi9x6zed03bGfQ6LQ9/hfUhQr4HZBv0JBn/e6I0PFFy9 AHzQ9nViauLMePtWnpL4cQU1S8yRdTApS0RHWStP7sY4o4YWjE95o+B0i2ktj2iEjKSn t6isNhK0pRu4Koye/u6zAr+gKxL0VqnpHar0YVZnJWDjmswymRyysr9wf4MQjYogNnx+ jTwfou15qQlNTQ3sx4OQi6HJ5TrDfPa8x5uA3TJTF5Nid5FpAQ8pP90/YZbAKQ+SCbpo DZDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gz0soI8A/Q3W0k17NiNRiIfhnflFHmYNFOf4zA9Tw9o=; b=J+dqhrYJkfolyzNs3lklZWL4z2JqyomSG82dIo7HpmUjRDFw4FtjptVtVe2Xx2dZZG A38w/EthxXqdCTopjH1Dfmbixjd2B4pyeOkZ899BeVl2iIkbl9mTB7CBgktUvB9WKmPY 5pU+4Pe9ZQyGkPmTO/+gi7rm4p9QisOpFTlrWIXmpwu8xt8PiPk3m/WzuQYK8mVmppcH 38yK6I17DgTFRdA7notn5Cb7BZbRUxQCsoMRVibTIklQ9OvBHOFi39y4X0sNXPWVUXfP WylCup4+4No47zcW7B99KtACPMY9YhWjWLfdYOzdI13puadp6nkUM3uMU8rMvZipj4Xe 1oTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=YTgT3eoq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb7-20020a170907160700b0094a89433264si4218828ejc.329.2023.04.10.20.44.14; Mon, 10 Apr 2023 20:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=YTgT3eoq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230038AbjDKDk6 (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbjDKDjx (ORCPT ); Mon, 10 Apr 2023 23:39:53 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 040F62683; Mon, 10 Apr 2023 20:39:52 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 2C77FE0EB4; Tue, 11 Apr 2023 06:39:51 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=gz0soI8A/Q3W0k17NiNRiIfhnflFHmYNFOf4zA9Tw9o=; b=YTgT3eoqadB9 UZEmGoBYNx+VFSXCbPGw4MkbO43rZOhYA8v8DT4VxyQ+9RKiqJNTkku/510iqx0G 373COSojr89cuwW6kVGgfJIE0Z+YI8JygqwkrP7RMFJ7Q3BIYdx25QQAYhGVxToN tJEhlKNW03VWt+NSvuph0wWstM4zNAg= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id EF7E4E0E6A; Tue, 11 Apr 2023 06:39:50 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:50 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 09/10] MAINTAINERS: Add myself as the DW PCIe core reviewer Date: Tue, 11 Apr 2023 06:39:27 +0300 Message-ID: <20230411033928.30397-10-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762849904451685719?= X-GMAIL-MSGID: =?utf-8?q?1762849904451685719?= No actions have been spotted from the driver maintainers for almost two years now. It significantly delays the review process of the relatively often incoming updates. Since that IP-core has been used in several our SoCs adding myself to the list of reviewers will help in the evolving the driver faster and in catching any potential problem as early as possible. Signed-off-by: Serge Semin Acked-by: Manivannan Sadhasivam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 489fd4b4c7ae..51adcafa0f0c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16061,6 +16061,7 @@ F: drivers/pci/controller/dwc/pci-exynos.c PCI DRIVER FOR SYNOPSYS DESIGNWARE M: Jingoo Han M: Gustavo Pimentel +R: Serge Semin L: linux-pci@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/pci/snps,dw-pcie*.yaml From patchwork Tue Apr 11 03:39:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 81700 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2309729vqo; Mon, 10 Apr 2023 20:44:35 -0700 (PDT) X-Google-Smtp-Source: AKy350axN5UcF9to/w9Ja3kr/M7ePwUT2Hl3Wx8AP04AdbnmDG1enIQZMxc05W7Bwqr8GGjUTsHG X-Received: by 2002:a17:907:7e95:b0:94a:88aa:93b3 with SMTP id qb21-20020a1709077e9500b0094a88aa93b3mr5730102ejc.44.1681184675203; Mon, 10 Apr 2023 20:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681184675; cv=none; d=google.com; s=arc-20160816; b=XMeFzh677euVcvA+5wgFyH84IHXq0Lc5XVznoYdt5c+S/TUpzX3GSClwwb9Q8nEPkW yF4LFnmpwUb+bsnJGyxVrAYzAafew0Uut0yGvHIzaCkqXLSUWyOsNoLrme5vLOkiiTBp J2quIPhPSJ+Xf7TYwxctjgpwwZ22BQvOui3+bGVneoQfBcHadfKXelFqa1Icw0UwNjJk huLXqRW/o8VBeGeNi6WQbylhdsYoOUKeWTuRyAvYuFPjmE0QJ1psCA45lYT0+SEcNGAs hkZ2ohRVqMWkgxOuXOaJeQRFPPXj+kxK8Zgn1VwrIAs3AtQOIjsXhOqopz9E88edPzB1 rt2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F0aH2rLYFF3yry3CDu2E1nuTkSLviDEruk4l21KZ7ec=; b=m74QbApOQnQD518PCJcD9fs9SjUkf0IsRn06QGF6LMFz147NZkvNNpgxoNgnfDZZrQ VXHpkJI9wNklq0y8ZBH3C+H+fBHv/LEPf/7tSo1bWwhztJwRTF/i1UUa7S65nWYb2fnD 4R9PVl9FYrisBJu9RSo2bG8DMblbLe1nKlf5hUjLYJtrYHDdG9ctQOfI8i7POqaC8PMd 1qezY+63bkEpjrFYciZ+DyVDYHYgP1llgpC6J9gPFnC6dn5xRGMQBpbVOSJi7gv/QFWG avbbmVf8I600H6Ra8jIAQofSNHgEXXC7BJspLiWtKTCk6mdvxTxBSYEf8+YM0hczm1EG ew9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=EO5tIneP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a17090626d100b00936255a28b0si9718949ejc.865.2023.04.10.20.44.11; Mon, 10 Apr 2023 20:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=EO5tIneP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229977AbjDKDkx (ORCPT + 99 others); Mon, 10 Apr 2023 23:40:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbjDKDjy (ORCPT ); Mon, 10 Apr 2023 23:39:54 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 986ED1BC9; Mon, 10 Apr 2023 20:39:52 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id BC545E0EB5; Tue, 11 Apr 2023 06:39:51 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=F0aH2rLYFF3yry3CDu2E1nuTkSLviDEruk4l21KZ7ec=; b=EO5tInePAkGU hD4YOkhu9BEzfsrtj1LOx433TlBVwIYuWGLJY2F6ZcZvcHO0EpJEhTPLqfWugPDL LbGO1bGOhU6HLf1C60ROJW2cFJD6gNzjz8kSKJQP8kslGKBYoVB60eD5K1gMPi8V 4dfnOACYYAQ+bw+Y4KCJSJZ673YknGY= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 9E4B1E0E6A; Tue, 11 Apr 2023 06:39:51 +0300 (MSK) Received: from localhost (10.8.30.38) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 11 Apr 2023 06:39:51 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , , Subject: [PATCH RESEND v3 10/10] MAINTAINERS: Add myself as the DW eDMA driver reviewer Date: Tue, 11 Apr 2023 06:39:28 +0300 Message-ID: <20230411033928.30397-11-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.38] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762849901662130380?= X-GMAIL-MSGID: =?utf-8?q?1762849901662130380?= The driver maintainer has been inactive for almost two years now. It doesn't positively affect the new patches tests and reviews process. Since the DW eDMA engine has been embedded into the PCIe controllers in several our SoCs we will be interested in helping with the updates review. Signed-off-by: Serge Semin Acked-by: Manivannan Sadhasivam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 51adcafa0f0c..fb7bada6cdd0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5862,6 +5862,7 @@ F: drivers/mtd/nand/raw/denali* DESIGNWARE EDMA CORE IP DRIVER M: Gustavo Pimentel +R: Serge Semin L: dmaengine@vger.kernel.org S: Maintained F: drivers/dma/dw-edma/