Re: [PATCH 2/2] PCI: armada8k: don't toggle reset twice
From: Baruch Siach <baruch@tkos.co.il>
Date: 2019-01-14 07:19:09
Also in:
linux-gpio, linux-pci, linux-pwm
Hi Linus, On Mon, Jan 14, 2019 at 12:35:01AM +0100, Linus Walleij wrote:
On Sun, Jan 13, 2019 at 4:40 PM Andrew Lunn [off-list ref] wrote:quoted
quoted
Another look at this comment made me realize that we need comphy initialization support in the kernel for PCIe reset to work correctly. The workaround that this patch proposes will not solve the problem for v5.0, since the GPIO get_direction patch will only appear in v5.1.You could ask for it to be applied to v5.0 since a real fix depends on it.If it makes a piece of hardware work that was working before and now is not working as a result of other kernel changes I would definately apply it because that is a clear cut regression. I am under the impression that this is the case?
The gpio-mvebu get_direction support enables a workaround for a regression
introduced in commit 3d71746c420c1 on the Macchiatobin platform. An
alternative solution is to revert the offending commit. The revert will not
break any known platform that has been previously supported in mainline
kernel. I tend to think that revert is a better course of action.
It is up to the PCI maintainers to decide.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel