diff options
| author | Jack Pham <jackp@codeaurora.org> | 2013-09-13 22:10:53 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2013-09-14 12:30:01 -0700 |
| commit | 59aa5670b1b660d7f86230d923425cbb61d47496 (patch) | |
| tree | 82897a76288b9b278dc6bfb54d945968a019afda /scripts/build-all.py | |
| parent | 1e6f19ab18c84d9ca9ca03b0aee874890ac69fa7 (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
