alistair23-linux/drivers/soc
Arnd Bergmann cc0336ec8a soc: TI knav_qmss: fix dma_addr_t printing
The knav_qmss driver is currently broken when CONFIG_LPAE is
set, which is a bit surprising because I'd expect that any serious
users of this platforms would have more than 2GB of RAM and require
LPAE.

The compiler clearly warns about an incorrect use of dma_addr_t
in the debug kernel messages:

ti/knav_qmss_queue.c: In function 'knav_queue_setup_region':
ti/knav_qmss_queue.c:1025:117: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
ti/knav_qmss_queue.c:1025:117: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
ti/knav_qmss_queue.c: In function 'knav_queue_setup_link_ram':
ti/knav_qmss_queue.c:1175:118: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]

This patch changes all the debugging output to use the correct
%pad format string that works with both 32-bit and 64-bit dma_addr_t.
As the variable naming is somewhat confusing here, I also change
all *_phys names to *_dma when they refer to bus addresses that
are used for DMA rather than a physical memory address as seen from
the CPU. This is particularly important on keystone, because the
two things are not the same there.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2016-02-26 17:53:06 +01:00
..
bcm ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency 2015-12-31 23:44:17 +01:00
brcmstb soc: brcmstb: Add Bus Interface Unit control setup 2015-10-09 13:42:16 -07:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl QE: Move QE from arch/powerpc to drivers/soc 2015-12-22 17:12:56 -06:00
mediatek Change the scpsys to builtin_platform_driver_probe. 2015-12-22 13:02:28 -08:00
qcom ARM: SoC fixes for v4.5 merge window 2016-01-22 17:26:00 -08:00
rockchip soc: rockchip: power-domain: don't try to print the clock name in error case 2015-10-16 09:23:59 +02:00
sunxi drivers: soc: sunxi: Introduce SoC driver to map SRAMs 2015-06-01 17:57:34 +02:00
tegra ARM: tegra: select USB_ULPI from EHCI rather than platform 2015-11-24 16:47:26 +01:00
ti soc: TI knav_qmss: fix dma_addr_t printing 2016-02-26 17:53:06 +01:00
versatile soc: versatile: add support for the PB11MPCore 2015-12-15 09:42:50 +01:00
Kconfig ARM: SoC support for Tegra platforms for v4.5 2016-01-22 17:30:52 -08:00
Makefile ARM: SoC driver updates for v4.5 2016-01-20 18:42:30 -08:00