diff options
| author | Jack Pham <jackp@codeaurora.org> | 2013-09-13 22:10:53 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2013-09-15 22:42:00 -0700 |
| commit | bfc20c2a021a7bad1243e13eb3433193bc122ce2 (patch) | |
| tree | 5e702f2190009013f761e21300195823e686e7e7 /scripts/build-all.py | |
| parent | dc3f6933315b44f818a096ecf281cb4967b9ec75 (diff) | |
usb: msm_otg: Support LPAE systems
Targets having large physical address extension support
enabled (CONFIG_ARM_LPAE) have phys_addr_t and dma_addr_t
defined as 64-bit types. When printing messages with these
addresses the format string needs to use '%pa' instead of
'%x' and pass the physical address by reference. This patch
addresses these in the USB 2.0 OTG, host, and gadget controller
drivers.
Also extend coherent dma_mask from 32-bits to 64-bits to match
that of dma_mask. This fixes the following runtime error when
booting on LPAE systems:
msm_hsusb msm_hsusb: coherent DMA mask 0xffffffff is smaller
than system GFP_DMA mask 0xffffffffffffffff
Change-Id: I1a45b62dd51f6d3f54b43cf657f5b4e5c2a7620f
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
