Thread (19 messages) 19 messages, 6 authors, 2021-12-07

Re: [PATCH v3 3/3] PCI: apple: Fix #PERST polarity

From: Luca Ceresoli <luca@lucaceresoli.net>
Date: 2021-11-24 09:16:45
Also in: linux-pci, lkml

Hi,

On 24/11/21 10:02, Marc Zyngier wrote:
On Tue, 23 Nov 2021 21:36:11 +0000,
Luca Ceresoli [off-list ref] wrote:
quoted
Hi Mark,

On 23/11/21 19:06, Marc Zyngier wrote:
quoted
Now that #PERST is properly defined as active-low in the device tree,
fix the driver to correctly drive the line indemendently of the
implied polarity.

Fixes: 1e33888fbe44 ("PCI: apple: Add initial hardware bring-up")
Suggested-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Thanks for quickly addressing this!

Do we need a transition path for backward compatibility with old DTs
already around? Something like this [0]. You said [1] the DT actually
used is not even the one in the kernel, thus how do we guarantee DT and
driver switch to the new polarity all at once?
No. As it turns out, neither u-boot nor OpenBSD (the only two other
payloads that can boot on M1) are upstreamed yet. So we're still in
that stage where we don't need to maintain backward compatibility. If
we don't get this patches merged by the end of this cycle, we will
have to revisit this though.
Good news!

Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>

-- 
Luca

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help