From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE78FC433EF for ; Tue, 23 Nov 2021 17:54:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239307AbhKWR5a (ORCPT ); Tue, 23 Nov 2021 12:57:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:53206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235026AbhKWR52 (ORCPT ); Tue, 23 Nov 2021 12:57:28 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98DEE60E08; Tue, 23 Nov 2021 17:54:20 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpZzm-007LZW-7l; Tue, 23 Nov 2021 17:54:18 +0000 From: Marc Zyngier To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , Alyssa Rosenzweig , Lorenzo Pieralisi , Bjorn Helgaas , Mark Kettenis , Luca Ceresoli , kernel-team@android.com Subject: [PATCH v3 0/3] PCI: apple: Assorted #PERST fixes Date: Tue, 23 Nov 2021 17:54:13 +0000 Message-Id: <20211123175413.79722-1-maz@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, pali@kernel.org, alyssa@rosenzweig.io, lorenzo.pieralisi@arm.com, bhelgaas@google.com, mark.kettenis@xs4all.nl, luca@lucaceresoli.net, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Apologies for the rapid fire (I tend to be much more conservative when resending series), but given that this series has a direct impact on other projects (such as u-boot), I'm trying to converge as quickly as possible. This series aims at fixing a number of issues for the recently merged Apple PCIe driver, all revolving around the mishandling of #PERST: - we didn't properly drive #PERST, and we didn't follow the specified timings - the DT had the wrong polarity, which has impacts on the driver itself Hopefully, this should address all the issues reported so far. * From v2: - Fixed DT - Fixed #PERST polarity in the driver - Collected Pali's ack on patch #1 [1] https://lore.kernel.org/r/20211122104156.518063-1-maz@kernel.org Marc Zyngier (3): PCI: apple: Follow the PCIe specifications when resetting the port arm64: dts: apple: t8103: Fix PCIe #PERST polarity PCI: apple: Fix #PERST polarity arch/arm64/boot/dts/apple/t8103.dtsi | 7 ++++--- drivers/pci/controller/pcie-apple.c | 12 +++++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 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 C76F5C433EF for ; Tue, 23 Nov 2021 17:55:49 +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=2KsaQ/TEkU3KCMbSwC4KI9Quhk5//fxFaWjOPgiV75g=; b=kbWdgO2Pw5ZciA 5zeOLfEEJ5MTWDWkTTPv92nvmyEttUJadWn1sKxeSaktMzf777OfCOr4TiR6iBjerFP7YGm4cbpgg pLsJoQBZ46CO5pC+ysqhcicnANI6MJZRaQsvkGCpAg/aJW/U7DNnscnBzhBLz5lMCdWYfJiAtNVmx JzCkup9oRN6t0Hu1st76cOaBKBT0ZUdwKdbEjwPvpsv7PGGcDfkm5C5HFYr5IAP9w0ZD9ZwXVV1UN vKwoCyR/iJFXt95QTKrqE/OOWLZDgaz1Ro+IL8DplpmYKWmSYVQ2SzXgwZAlZQMcJtP1QzNtqWHfW LpRD8V+fpnrOAtSdIk5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpZzr-0036Gi-RU; Tue, 23 Nov 2021 17:54:23 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpZzo-0036GA-Ty for linux-arm-kernel@lists.infradead.org; Tue, 23 Nov 2021 17:54:22 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98DEE60E08; Tue, 23 Nov 2021 17:54:20 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpZzm-007LZW-7l; Tue, 23 Nov 2021 17:54:18 +0000 From: Marc Zyngier To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , Alyssa Rosenzweig , Lorenzo Pieralisi , Bjorn Helgaas , Mark Kettenis , Luca Ceresoli , kernel-team@android.com Subject: [PATCH v3 0/3] PCI: apple: Assorted #PERST fixes Date: Tue, 23 Nov 2021 17:54:13 +0000 Message-Id: <20211123175413.79722-1-maz@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, pali@kernel.org, alyssa@rosenzweig.io, lorenzo.pieralisi@arm.com, bhelgaas@google.com, mark.kettenis@xs4all.nl, luca@lucaceresoli.net, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211123_095421_026585_9FD4B4DF X-CRM114-Status: GOOD ( 12.58 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Apologies for the rapid fire (I tend to be much more conservative when resending series), but given that this series has a direct impact on other projects (such as u-boot), I'm trying to converge as quickly as possible. This series aims at fixing a number of issues for the recently merged Apple PCIe driver, all revolving around the mishandling of #PERST: - we didn't properly drive #PERST, and we didn't follow the specified timings - the DT had the wrong polarity, which has impacts on the driver itself Hopefully, this should address all the issues reported so far. * From v2: - Fixed DT - Fixed #PERST polarity in the driver - Collected Pali's ack on patch #1 [1] https://lore.kernel.org/r/20211122104156.518063-1-maz@kernel.org Marc Zyngier (3): PCI: apple: Follow the PCIe specifications when resetting the port arm64: dts: apple: t8103: Fix PCIe #PERST polarity PCI: apple: Fix #PERST polarity arch/arm64/boot/dts/apple/t8103.dtsi | 7 ++++--- drivers/pci/controller/pcie-apple.c | 12 +++++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel