From patchwork Thu Aug 18 13:51:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12947147 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A063CC3F6B0 for ; Thu, 18 Aug 2022 13:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DP8DBtIPafH8uu9CluJdr6wDu4UsZzGQz5XpA35ClWA=; b=RfFfjntg83eMIV LYAt2RA0WwNCY0LjiHEzlK94DrE1TEuVd15/cQrEHCRhqSZR/KOZ/b1z32lVZwKCh8za5ltP5cZ8i xOIMLW53Ig0Ezl1yxQb6ZnW2umRQlXgEdaKBuRdD4ZsdI0UCK0zc+RKwVzkJ28CoN0oKeqfYPeNKU to4X6UZ2bZ8R5j2Acm2GS2PH9JYThfQYLV0HkrK2Mwgi+o1DzIGPwp9VTIZO+RnYM095INOWveBQG RFmLdQIc6DqDfQMHVyyFBpz9ibMFaV4FRdosVrwc1ZkPTJ5iwQda+0xJpsNwfpoZKnm6n4pbqJnAE jFxitwdqT0e94yuMl5xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOg1U-005mE4-Ow; Thu, 18 Aug 2022 13:57:25 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOfw4-005iLY-8v for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 13:51:50 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 71809B82194; Thu, 18 Aug 2022 13:51:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 550ECC433D6; Thu, 18 Aug 2022 13:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660830705; bh=GIHcqeJ0SsJILvnZL+TFzAFHGWUGW+LEaDwYNlCmDPM=; h=From:To:Cc:Subject:Date:From; b=mpqLl2hafvwgev2yGjJy4KZ/FqytPrNkDPZQ9EWfj6gKm01wDiAWhZu6tomO2WQLr HWKZJwvU4Wzt4O5uKbtbV5RRAHq74roheg2XfEPj1lvcscihvCZN/ZbxkA2XaTriEv vEFMIdvYS4YrMO/9WAtJBYvQrWw52Nz8Q9bjjGYkjwGBIQWJz1E2Ck+v8xQbNpjU4E 363do+oO7sQiL9bm/HPpgCF80hZZYGayFZD2Ri/ZtXeHp6DSVMKTnyWGPn44fUxxh4 WSUCQSdYD/qgvmXpeBqS4cH4icpitEAXrMrElOg7zaJYyUsyT2gy0zZQEw3ViEoGEn 8wTh0uE4KaJUg== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Lorenzo Pieralisi , Bjorn Helgaas , Lukas Wunner , Gregory CLEMENT Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , pali@kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 00/11] PCI: aardvark controller changes BATCH 6 Date: Thu, 18 Aug 2022 15:51:29 +0200 Message-Id: <20220818135140.5996-1-kabel@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_065148_569838_06AAA3BF X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Lorenzo, here is continuation of Aardvark patches. Some patches come from those not applied in batch 5, and were rebased. Patches 1 and 2 touch the pciehp driver. We have changed commit messages, since originally we thought the patches are also needed to fix a bug, but this turns out not to be true [1]. Patch 3 was changed to also select the hotplug support in Kconfig. Patch 7 (suspend support) was changed to use new macro NOIRQ_SYSTEM_SLEEP_PM_OPS, and also changed commit message. Patches 8-11 are new. [1] https://lore.kernel.org/linux-pci/20220818142243.4c046c59@dellmb/T/#u Marek Behún (2): PCI: aardvark: Don't write read-only bits explicitly in PCI_ERR_CAP register PCI: aardvark: Explicitly disable Marvell strict ordering Miquel Raynal (2): PCI: aardvark: Add clock support PCI: aardvark: Add suspend to RAM support Pali Rohár (7): PCI: pciehp: Enable DLLSC interrupt only if supported PCI: pciehp: Enable Command Completed Interrupt only if supported PCI: aardvark: Add support for DLLSC and hotplug interrupt PCI: aardvark: Send Set_Slot_Power_Limit message arm64: dts: armada-3720-turris-mox: Define slot-power-limit-milliwatt for PCIe PCI: aardvark: Replace custom PCIE_CORE_ERR_CAPCTL_* macros by linux/pci_regs.h macros PCI: aardvark: Cleanup some register macros .../dts/marvell/armada-3720-turris-mox.dts | 1 + drivers/pci/controller/pci-aardvark.c | 258 +++++++++++++++--- drivers/pci/hotplug/pciehp_hpc.c | 34 ++- drivers/pci/hotplug/pnv_php.c | 13 +- 4 files changed, 261 insertions(+), 45 deletions(-)