On Thu, Nov 26, 2020 at 12:52:34AM +0530, Vidya Sagar wrote: > commit a0fd361db8e5 ("PCI: dwc: Move "dbi", "dbi2", and "addr_space" > resource setup into common code") moved the code that sets up dbi_base > to DWC common code thereby creating a requirement to not access the "dbi" > region before calling common DWC initialization code. But, Tegra194 > already had some code that programs some of the "dbi" registers resulting > in system crash. This patch addresses that issue by refactoring the code > to have accesses to the "dbi" region only after common DWC initialization. > > Fixes: a0fd361db8e5 ("PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common code") > Signed-off-by: Vidya Sagar <vidyas@xxxxxxxxxx> > --- > drivers/pci/controller/dwc/pcie-tegra194.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) This, together with your other patch fixes Tegra194 PCI on top of next-20201126 for me, so: Tested-by: Thierry Reding <treding@xxxxxxxxxx> Acked-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature