Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1688970
| From | Mathias Nyman <mathias.nyman@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] usb: host: pci_quirks: Force hard reset of Renesas uPD72020x USB controller |
| Date | 2017-07-17 14:10 +0200 |
| Message-ID | <u4d0D-4Qd-41@gated-at.bofh.it> (permalink) |
| References | <u1Jgm-6Vr-23@gated-at.bofh.it> <u1Jgm-6Vr-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10.07.2017 18:52, Marc Zyngier wrote: > The Renesas uPD72020x XHCI controller seems to suffer from a > really annoying bug, where it may retain some of its DMA programming > across a XHCI reset, and despite the driver correctly programming new > DMA addresses. This is visible if the device has been using 64bit DMA > addresses, and is then switched to using 32bit DMA addresses. The top > 32bits of the address (now zero) are ignored are replaced by the 32bit > from the *previous* programming. Sticking with 64bit DMA always works, > but doesn't seem very appropriate. > > A PCI reset of the device restores the normal functionnality, which > is done at probe time. Unfortunately, this has to be done before > any quirk has been discovered, hence the intrusive nature of the fix. > > Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> > --- > drivers/usb/host/pci-quirks.c | 20 ++++++++++++++++++++ > drivers/usb/host/pci-quirks.h | 1 + > drivers/usb/host/xhci-pci.c | 7 +++++++ > 3 files changed, 28 insertions(+) > Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] usb: host: pci_quirks: Force hard reset of Renesas uPD72020x USB controller Marc Zyngier <marc.zyngier@arm.com> - 2017-07-10 18:00 +0200 Re: [PATCH 2/2] usb: host: pci_quirks: Force hard reset of Renesas uPD72020x USB controller Mathias Nyman <mathias.nyman@intel.com> - 2017-07-17 14:10 +0200
csiph-web