linux_dsm_epyc7002/drivers/usb/host
Linus Torvalds 8ceafbfa91 Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm
Pull DMA mask updates from Russell King:
 "This series cleans up the handling of DMA masks in a lot of drivers,
  fixing some bugs as we go.

  Some of the more serious errors include:
   - drivers which only set their coherent DMA mask if the attempt to
     set the streaming mask fails.
   - drivers which test for a NULL dma mask pointer, and then set the
     dma mask pointer to a location in their module .data section -
     which will cause problems if the module is reloaded.

  To counter these, I have introduced two helper functions:
   - dma_set_mask_and_coherent() takes care of setting both the
     streaming and coherent masks at the same time, with the correct
     error handling as specified by the API.
   - dma_coerce_mask_and_coherent() which resolves the problem of
     drivers forcefully setting DMA masks.  This is more a marker for
     future work to further clean these locations up - the code which
     creates the devices really should be initialising these, but to fix
     that in one go along with this change could potentially be very
     disruptive.

  The last thing this series does is prise away some of Linux's addition
  to "DMA addresses are physical addresses and RAM always starts at
  zero".  We have ARM LPAE systems where all system memory is above 4GB
  physical, hence having DMA masks interpreted by (eg) the block layers
  as describing physical addresses in the range 0..DMAMASK fails on
  these platforms.  Santosh Shilimkar addresses this in this series; the
  patches were copied to the appropriate people multiple times but were
  ignored.

  Fixing this also gets rid of some ARM weirdness in the setup of the
  max*pfn variables, and brings ARM into line with every other Linux
  architecture as far as those go"

* 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm: (52 commits)
  ARM: 7805/1: mm: change max*pfn to include the physical offset of memory
  ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7795/1: mm: dma-mapping: Add dma_max_pfn(dev) helper function
  ARM: 7794/1: block: Rename parameter dma_mask to max_addr for blk_queue_bounce_limit()
  ARM: DMA-API: better handing of DMA masks for coherent allocations
  ARM: 7857/1: dma: imx-sdma: setup dma mask
  DMA-API: firmware/google/gsmi.c: avoid direct access to DMA masks
  DMA-API: dcdbas: update DMA mask handing
  DMA-API: dma: edma.c: no need to explicitly initialize DMA masks
  DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks
  DMA-API: crypto: remove last references to 'static struct device *dev'
  DMA-API: crypto: fix ixp4xx crypto platform device support
  DMA-API: others: use dma_set_coherent_mask()
  DMA-API: staging: use dma_set_coherent_mask()
  DMA-API: usb: use new dma_coerce_mask_and_coherent()
  DMA-API: usb: use dma_set_coherent_mask()
  DMA-API: parport: parport_pc.c: use dma_coerce_mask_and_coherent()
  DMA-API: net: octeon: use dma_coerce_mask_and_coherent()
  DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent()
  ...
2013-11-14 07:55:21 +09:00
..
whci usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
bcma-hcd.c DMA-API: usb: bcma: replace dma_set_mask()+dma_set_coherent_mask() with new helper 2013-10-31 14:48:34 +00:00
ehci-atmel.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ehci-dbg.c USB: EHCI: create per-TT bandwidth tables 2013-10-14 11:04:38 -07:00
ehci-exynos.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ehci-fsl.c Merge 3.12-rc3 into usb-next 2013-09-29 18:45:55 -07:00
ehci-fsl.h
ehci-grlib.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-hcd.c USB: EHCI: add check for wakeup/suspend race 2013-10-19 14:10:16 -07:00
ehci-hub.c ehci: remove ehci_vdbg() verbose debugging statements 2013-08-30 12:02:07 -07:00
ehci-mem.c USB: EHCI: fix sparse errors 2013-10-19 14:08:04 -07:00
ehci-msm.c USB: ehci-msm: Add device tree support and binding information 2013-10-11 16:31:15 -07:00
ehci-mv.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-mxc.c usb: ehci-mxc: check for pdata before dereferencing 2013-08-23 10:46:03 -07:00
ehci-octeon.c DMA-API: usb: use dma_set_coherent_mask() 2013-10-31 14:49:01 +00:00
ehci-omap.c DMA-API: usb: use new dma_coerce_mask_and_coherent() 2013-10-31 14:49:04 +00:00
ehci-orion.c DMA-API: usb: use new dma_coerce_mask_and_coherent() 2013-10-31 14:49:04 +00:00
ehci-pci.c usb: ehci: use amd_chipset_type to filter for usb subsystem hang bug 2013-10-03 15:44:50 -07:00
ehci-platform.c DMA-API: usb: use new dma_coerce_mask_and_coherent() 2013-10-31 14:49:04 +00:00
ehci-pmcmsp.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-ppc-of.c DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
ehci-ps3.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-q.c USB: EHCI: use a bandwidth-allocation table 2013-10-11 16:45:43 -07:00
ehci-sched.c USB: EHCI: fix sparse errors 2013-10-19 14:08:04 -07:00
ehci-sead3.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-sh.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-spear.c DMA-API: usb: use new dma_coerce_mask_and_coherent() 2013-10-31 14:49:04 +00:00
ehci-sysfs.c USB: EHCI: use a bandwidth-allocation table 2013-10-11 16:45:43 -07:00
ehci-tegra.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ehci-tilegx.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci-timer.c USB: EHCI: improve interrupt qh unlink 2013-08-12 11:43:48 -07:00
ehci-w90x900.c USB: EHCI: make ehci-w90X900 a separate driver 2013-09-26 09:47:22 -07:00
ehci-xilinx-of.c Revert "Revert "USB: EHCI: support running URB giveback in tasklet context"" 2013-09-23 13:32:51 -07:00
ehci.h USB: EHCI: create per-TT bandwidth tables 2013-10-14 11:04:38 -07:00
fhci-dbg.c
fhci-hcd.c drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fotg210-hcd.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
fotg210.h
fsl-mph-dr-of.c usb: host: fsl-mph-dr-of: Staticize local symbols 2013-09-17 11:06:57 -05:00
fusbh200-hcd.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
fusbh200.h
hwa-hc.c usb: wusbcore: add a quirk for Alereon HWA device isoc behavior 2013-10-29 16:44:49 -07:00
imx21-dbg.c
imx21-hcd.c USB: iMX21: accept very late isochronous URBs 2013-09-25 17:05:34 -07:00
imx21-hcd.h
isp116x-hcd.c USB: host: use dev_get_platdata() 2013-07-31 17:53:50 -07:00
isp116x.h
isp1362-hcd.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
isp1362.h
isp1760-hcd.c
isp1760-hcd.h
isp1760-if.c USB: host: use dev_get_platdata() 2013-07-31 17:53:50 -07:00
Kconfig usb: ohci: remove ep93xx bus glue platform driver 2013-10-29 16:43:37 -07:00
Makefile usb: ohci: remove ep93xx bus glue platform driver 2013-10-29 16:43:37 -07:00
octeon2-common.c
ohci-at91.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-da8xx.c Revert "USB: OHCI: Properly handle ohci-da8xx suspend" 2013-10-14 10:18:25 -07:00
ohci-dbg.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
ohci-exynos.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-hcd.c Revert "USB: OHCI: Properly handle OHCI controller suspend" 2013-10-14 10:19:10 -07:00
ohci-hub.c USB: OHCI: fix and explain sparse errors 2013-10-19 14:08:04 -07:00
ohci-jz4740.c
ohci-mem.c
ohci-nxp.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-octeon.c DMA-API: usb: use new dma_coerce_mask_and_coherent() 2013-10-31 14:49:04 +00:00
ohci-omap3.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-omap.c USB: OHCI: Properly handle ohci-omap suspend 2013-10-05 17:56:41 -07:00
ohci-pci.c usb: ohci: use amd_chipset_type to filter for SB800 prefetch 2013-10-03 15:44:51 -07:00
ohci-platform.c USB: OHCI: Properly handle ohci-platform suspend 2013-10-05 17:56:41 -07:00
ohci-ppc-of.c drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
ohci-ps3.c
ohci-pxa27x.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-q.c USB: OHCI: accept very late isochronous URBs 2013-09-25 17:05:35 -07:00
ohci-s3c2410.c ARM: SoC platform changes for 3.13 2013-11-11 16:49:45 +09:00
ohci-sa1111.c DMA-API: usb: ohci-sa1111: add a note about DMA masks 2013-10-31 14:48:44 +00:00
ohci-sm501.c USB: OHCI: Properly handle ohci-sm501 suspend 2013-10-05 17:56:41 -07:00
ohci-spear.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ohci-tilegx.c USB: host: use dev_get_platdata() 2013-07-31 17:53:50 -07:00
ohci-tmio.c
ohci.h
oxu210hp-hcd.c
oxu210hp.h
pci-quirks.c Merge 3.12-rc6 into usb-next. 2013-10-19 13:19:07 -07:00
pci-quirks.h usb: ohci: use amd_chipset_type to filter for SB800 prefetch 2013-10-03 15:44:51 -07:00
r8a66597-hcd.c usb: r8a66597-hcd: use platform_{get,set}_drvdata() 2013-08-30 11:11:35 -07:00
r8a66597.h
sl811_cs.c
sl811-hcd.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
sl811.h
ssb-hcd.c DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with new helper 2013-10-31 14:48:36 +00:00
u132-hcd.c USB: host: use dev_get_platdata() 2013-07-31 17:53:50 -07:00
uhci-debug.c USB/host: Use existing macros instead of hard-coded values in uhci-debug.c 2013-10-05 17:58:48 -07:00
uhci-grlib.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c USB/host: Bugfix: Return length of copied buffer in uhci_hub_control() 2013-10-07 00:07:17 -07:00
uhci-pci.c USB: UHCI: check for wakeup/suspend race 2013-10-19 14:12:14 -07:00
uhci-platform.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
uhci-q.c USB: UHCI: accept very late isochronous URBs 2013-09-25 17:05:34 -07:00
xhci-dbg.c xhci: add traces for debug messages in xhci_address_device() 2013-08-13 16:05:38 -07:00
xhci-ext-caps.h xhci: fix port BESL LPM capability checking 2013-08-27 08:54:42 -07:00
xhci-hub.c xhci: Final patches for 3.13 2013-10-19 14:03:44 -07:00
xhci-mem.c usb: Don't enable USB 2.0 Link PM by default. 2013-10-16 12:24:19 -07:00
xhci-pci.c xhci: Fix spurious wakeups after S5 on Haswell 2013-10-09 16:27:20 -07:00
xhci-plat.c xhci: Step 1 to fix usb-linus and usb-next. 2013-08-15 18:00:46 -07:00
xhci-ring.c usb: xhci: kill a conditional when toggling cycle 2013-10-16 15:48:31 -07:00
xhci-trace.c xhci: add traces for debug messages in xhci_address_device() 2013-08-13 16:05:38 -07:00
xhci-trace.h xhci: trace debug statements related to ring expansion 2013-08-13 21:14:44 -07:00
xhci.c xhci: Final patches for 3.13 2013-10-19 14:03:44 -07:00
xhci.h xhci: Final patches for 3.13 2013-10-19 14:03:44 -07:00