From patchwork Wed Oct 28 20:46:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 319272 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp979080ilc; Wed, 28 Oct 2020 14:55:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxorPQ40egXOt7h1PGRGCsMEXofK/kSKhP0M6fV+bzOdd1Wty4+dqsjll9Z7NOjuK+ae9vl X-Received: by 2002:a17:906:7a46:: with SMTP id i6mr1058444ejo.65.1603922126707; Wed, 28 Oct 2020 14:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603922126; cv=none; d=google.com; s=arc-20160816; b=QWrlhntqCIoyb4kiOFkR/u+2RXd5QRSoELurCxJBZ+QS5qPRkbDkIVZ+kDvXoLTio7 JZJLxGJ03RoSzrUop7f5zuPKPBXlkJpfn/V+Q6lrgKCnD6YolopLixhaaohNFw69MqoR zZzOIMKCvWF8eOBTuUJQYfrYJlkDacziwfDeL+PcPNoDp0hdS+yazCsUtXHPkjzQMY6y AUZszX42P9WPfbo7cbPbmrKJuwsxqWV6tSNAFmWbHhUoDLOGCfPLynzwnv2nbUKRIn84 cwdt4W8VIr9QrD+wdZPaiC+BrM0rF847HM4HyapQJUl8KN6l/AM9Ir6x/4iQbn+5gvOk mlZQ== 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 :message-id:date:subject:cc:to:from; bh=fkYpsqioT7Tb7YApRr6kOuIOqhvTBzDRVXioLFVYRRs=; b=hVQkq0ThjArpczpIgxMj4UhupEyKFBRibXpU1hXtlHOUWcXFJPsCyNmH293SvKfHXl FrczA6wG1RZCXGBv3H31cFwv0KxZIxzURoQmdST+S78a/fV/W7AR51Adrb8t2xNsIeKY MpyyhxDedgD6BUqSgE+41/FJGWPctMeV//iXny/mw1g5oFav98HplSOzSgqIfZ8uCYxc nOq9tgsh5YzrwtfxovTa06xb5PQfYOQLzy8FbPnjl3HuRDazSuLjU8RwHV/klhzrsn0S tHwT59YNsyyScreFOs5lhcIUUjkYiOPz/n2l8r2CnT+hlvh1Mz+9fRgHVmMbWOdXeX3J WKdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si384505ejc.628.2020.10.28.14.55.26; Wed, 28 Oct 2020 14:55:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728247AbgJ1Vyu (ORCPT + 4 others); Wed, 28 Oct 2020 17:54:50 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:42979 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728500AbgJ1Vwt (ORCPT ); Wed, 28 Oct 2020 17:52:49 -0400 Received: by mail-ua1-f68.google.com with SMTP id f15so140852uaq.9; Wed, 28 Oct 2020 14:52:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fkYpsqioT7Tb7YApRr6kOuIOqhvTBzDRVXioLFVYRRs=; b=k2jYjlcMKpMD2XLjyWigYvkY87yVovtG4wl8FuzmK1dE1jE5i1BrpDypzG1v6Q0mst cQbM+EW8kQbhvEfDQXqd7hc4PiVZJdoSWqHGyS9Fkgk0tfocLRRBgEcjXpUIwXRmpY0S zy0ePDgsJyJL34Zz0JP4BBcX9LbXdkOIas1QciWmqnMqA4NcO+3Z2ybeUsU1FPCSCfwm KZLJmmA+ZPu3+wRvWhJxy4eh6mBDEeK/dtcI2SFRoVoAkQ+odXzcuv2jf7OrMUjbBzOU 4KuxNmskXgIPYIN/hh/0Rin/wzGry06MM2MQKtUVtR7wSBVeh9qS80WMtf4LwJIb+w0D ap2w== X-Gm-Message-State: AOAM533tu8csPmSwVwbN6+ajQuF8Fb7ZkuCUfnQipkHLzaoRNi//d9yy igsRWRqrNaPLufw3srQNLLmbcQ/2Pw== X-Received: by 2002:a05:6830:1694:: with SMTP id k20mr912314otr.100.1603918009773; Wed, 28 Oct 2020 13:46:49 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id t17sm116123oor.3.2020.10.28.13.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 13:46:49 -0700 (PDT) From: Rob Herring To: Lorenzo Pieralisi Cc: linux-pci@vger.kernel.org, Andy Gross , Binghui Wang , Bjorn Andersson , Bjorn Helgaas , Fabio Estevam , Gustavo Pimentel , Jerome Brunet , Jesper Nilsson , Jingoo Han , Jonathan Chocron , Jonathan Hunter , Kevin Hilman , Kishon Vijay Abraham I , Krzysztof Kozlowski , Kukjin Kim , Kunihiko Hayashi , linux-amlogic@lists.infradead.org, linux-arm-kernel@axis.com, linux-arm-msm@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, Lucas Stach , Martin Blumenstingl , Masahiro Yamada , Minghuan Lian , Mingkai Hu , Murali Karicheri , Neil Armstrong , NXP Linux Team , Pengutronix Kernel Team , Pratyush Anand , Richard Zhu , Roy Zang , Sascha Hauer , Shawn Guo , Stanimir Varbanov , Thierry Reding , Thomas Petazzoni , Xiaowei Song , Yue Wang Subject: [PATCH 00/13] PCI: dwc: Another round of clean-ups Date: Wed, 28 Oct 2020 15:46:33 -0500 Message-Id: <20201028204646.356535-1-robh@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Here's another batch of DWC PCI host refactoring. This series primarily moves more of the MSI, link up, and resource handling to the core code. No doubt I've probably broken something. Please test. A git branch is here[1]. Rob [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git pci-more-dwc-cleanup Rob Herring (13): PCI: dwc/imx6: Drop setting PCI_MSI_FLAGS_ENABLE PCI: dwc/intel-gw: Move ATU offset out of driver match data PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common code PCI: dwc/intel-gw: Remove some unneeded function wrappers PCI: dwc: Ensure all outbound ATU windows are reset PCI: dwc/dra7xx: Use the common MSI irq_chip PCI: dwc: Drop the .set_num_vectors() host op PCI: dwc: Move MSI interrupt setup into DWC common code PCI: dwc: Rework MSI initialization PCI: dwc: Move link handling into common code PCI: dwc: Move dw_pcie_msi_init() into core PCI: dwc: Move dw_pcie_setup_rc() to DWC common code PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init() drivers/pci/controller/dwc/pci-dra7xx.c | 141 +----------------- drivers/pci/controller/dwc/pci-exynos.c | 50 ++----- drivers/pci/controller/dwc/pci-imx6.c | 51 +------ drivers/pci/controller/dwc/pci-keystone.c | 68 +-------- .../pci/controller/dwc/pci-layerscape-ep.c | 37 +---- drivers/pci/controller/dwc/pci-layerscape.c | 67 +-------- drivers/pci/controller/dwc/pci-meson.c | 53 ++----- drivers/pci/controller/dwc/pcie-al.c | 29 +--- drivers/pci/controller/dwc/pcie-armada8k.c | 37 ++--- drivers/pci/controller/dwc/pcie-artpec6.c | 76 +--------- .../pci/controller/dwc/pcie-designware-ep.c | 29 +++- .../pci/controller/dwc/pcie-designware-host.c | 80 ++++++---- .../pci/controller/dwc/pcie-designware-plat.c | 70 +-------- drivers/pci/controller/dwc/pcie-designware.h | 12 +- drivers/pci/controller/dwc/pcie-histb.c | 37 ++--- drivers/pci/controller/dwc/pcie-intel-gw.c | 59 ++------ drivers/pci/controller/dwc/pcie-kirin.c | 62 +------- drivers/pci/controller/dwc/pcie-qcom.c | 38 +---- drivers/pci/controller/dwc/pcie-spear13xx.c | 62 +++----- drivers/pci/controller/dwc/pcie-tegra194.c | 40 +---- drivers/pci/controller/dwc/pcie-uniphier-ep.c | 38 +---- drivers/pci/controller/dwc/pcie-uniphier.c | 51 +------ 22 files changed, 217 insertions(+), 970 deletions(-) -- 2.25.1