Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689380
| From | "Jingoo Han" <jingoohan1@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/3] PCI: dwc: Handle host_init failures |
| Date | 2017-07-17 21:30 +0200 |
| Message-ID | <u4jSq-Gx-17@gated-at.bofh.it> (permalink) |
| References | <u3Lxo-3E3-9@gated-at.bofh.it> <u4cee-4iB-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Monday, July 17, 2017 7:18 AM, Joao Pinto wrote: > > Hi Bjorn Andersson, > > Às 7:39 AM de 7/16/2017, Bjorn Andersson escreveu: > > In several dwc based drivers host_init can fail, so make sure to > > propagate and handle this to avoid continuing operation of a driver or > > hardware in an invalid state. > > > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> > > --- > > drivers/pci/dwc/pci-dra7xx.c | 4 +++- > > drivers/pci/dwc/pci-exynos.c | 4 +++- > > drivers/pci/dwc/pci-imx6.c | 4 +++- > > drivers/pci/dwc/pci-keystone.c | 4 +++- > > drivers/pci/dwc/pci-layerscape.c | 14 ++++++++++---- > > drivers/pci/dwc/pcie-armada8k.c | 4 +++- > > drivers/pci/dwc/pcie-artpec6.c | 4 +++- > > drivers/pci/dwc/pcie-designware-host.c | 7 +++++-- > > drivers/pci/dwc/pcie-designware-plat.c | 4 +++- > > drivers/pci/dwc/pcie-designware.h | 2 +- > > drivers/pci/dwc/pcie-kirin.c | 4 +++- > > drivers/pci/dwc/pcie-qcom.c | 6 ++++-- > > drivers/pci/dwc/pcie-spear13xx.c | 4 +++- > > 13 files changed, 47 insertions(+), 18 deletions(-) > > [.....] > > A step in the right direction :). In the future we should add host init > validation in the specific SoC drivers, like Layerscape and Qcom have, to > assure > that any problem is treated properly in the core driver. I agree with your opinion. > > Acked-by: Joao Pinto <jpinto@synopsys.com> Acked-by: Jingoo Han <jingoohan1@gmail.com> Best regards, Jingoo Han
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/3] PCI: dwc: Handle host_init failures Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-07-16 08:50 +0200
Re: [PATCH 1/3] PCI: dwc: Handle host_init failures Joao Pinto <Joao.Pinto@synopsys.com> - 2017-07-17 13:20 +0200
Re: [PATCH 1/3] PCI: dwc: Handle host_init failures "Jingoo Han" <jingoohan1@gmail.com> - 2017-07-17 21:30 +0200
csiph-web