android_kernel_xiaomi_sm8450/arch/arm/mach-shmobile
Laurent Pinchart 3794705aeb ARM: shmobile: Select CONFIG_ZONE_DMA when CONFIG_ARM_LPAE is enabled
Most IP cores on ARM Renesas platforms can only address 32 bits of
physical memory for DMA. Without CONFIG_ZONE_DMA enabled and with the
recent CMA highmem allocation support, the default CMA zone is reserved
above the 4GiB limit when LPAE is enabled, resulting in various driver
failures.

Fix the problem by selecting CONFIG_ZONE_DMA. Other options to
investigate in the future would be to either enable IOMMU support or use
custom CMA reservations for peripherals not supporting LPAE.

While not a strict dependency, the "[PATCH 0/4] Low/high memory CMA
reservation fixes" series is also required to fix a different but related CMA
allocation problem.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-10-28 08:43:03 +09:00
..
include/mach Second Round of Renesas ARM Based SoC Updates for v3.17 2014-07-12 09:44:52 -07:00
board-ape6evm-reference.c cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
board-ape6evm.c ARM: shmobile: ape6evm: Use shmobile_init_delay() 2014-08-20 09:06:35 +09:00
board-armadillo800eva.c ARM: shmobile: armadillo800eva legacy: Use rmobile_add_devices_to_domains() 2014-09-09 11:16:08 +09:00
board-bockw-reference.c ARM: shmobile: bockw: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-bockw.c ARM: shmobile: bockw: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-koelsch-reference.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-koelsch.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-kzm9g-reference.c ARM: shmobile: kzm9g: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-kzm9g.c Second Round Of Renesas ARM Based SoC Updates For v3.18 2014-09-05 17:29:29 +02:00
board-lager-reference.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-lager.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-mackerel.c ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
board-marzen-reference.c Renesas ARM Based SoC DT Timers Updates for v3.18 2014-09-05 17:40:32 +02:00
board-marzen.c drm/rcar-du: Use struct videomode in platform data 2014-09-15 11:55:47 +03:00
clock-r8a73a4.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7740.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7778.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7779.c ARM: shmobile: Move r8a7779.h 2014-06-25 16:52:39 +09:00
clock-r8a7790.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-r8a7791.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-sh73a0.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-sh7372.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
clock.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
clock.h ARM: shmobile: Move clock.h 2014-06-17 17:09:37 +09:00
common.h ARM: shmobile: Remove shmobile_setup_delay() 2014-08-22 11:31:56 +09:00
console.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
cpufreq.c cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
cpuidle.c ARM: shmobile: cpuidle: use init/exit common routine 2013-04-23 13:45:22 +02:00
dma-register.h ARM: shmobile: dma: Use defines instead of hardcoded numbers 2014-08-20 09:09:23 +09:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp-scu.S Merge tag 'renesas-soc2-for-v3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc 2013-08-14 11:09:47 -07:00
headsmp.S ARM: SoC platform changes for 3.17 2014-08-08 11:14:29 -07:00
intc-sh73a0.c ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
intc-sh7372.c ARM: shmobile: Move most of irqs.h, keep some for pinctl 2014-06-17 17:09:38 +09:00
intc.h ARM: shmobile: Move legacy INTC definitions from irqs.h to intc.h 2014-08-22 12:23:32 +09:00
irqs.h ARM: shmobile: Move legacy INTC definitions from irqs.h to intc.h 2014-08-22 12:23:32 +09:00
Kconfig ARM: shmobile: Select CONFIG_ZONE_DMA when CONFIG_ARM_LPAE is enabled 2014-10-28 08:43:03 +09:00
Makefile ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
Makefile.boot Renesas ARM Based SoC r8a7740 Multiplatform Updates for v3.18 2014-09-09 17:07:30 +02:00
platsmp-apmu.c ARM: shmobile: fix shmobile_smp_apmu_suspend_init build failure for !SUSPEND 2014-07-06 16:31:56 +02:00
platsmp-scu.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
platsmp.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
pm-r8a7740.c ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
pm-r8a7779.c ARM: shmobile: Drop dev_irq_safe from r8a7779 genpd config 2014-09-09 00:46:11 +02:00
pm-r8a7790.c Second Round of Renesas ARM Based SoC Updates for v3.17 2014-07-12 09:44:52 -07:00
pm-r8a7791.c ARM: shmobile: Allow r8a7791 to build non-SMP APMU code 2014-06-26 16:01:34 +09:00
pm-rcar.c ARM: shmobile: Cleanup pm-rcar.o build using Kconfig 2014-09-02 09:32:05 +09:00
pm-rcar.h ARM: shmobile: Move pm-rcar.h, cleanup r8a7779 case 2014-06-17 17:09:40 +09:00
pm-rmobile.c ACPI and power management updates for 3.18-rc1 2014-10-09 16:07:43 -04:00
pm-rmobile.h ARM: shmobile: Cleanup pm-rmobile.o build using Kconfig 2014-09-02 09:32:06 +09:00
pm-sh73a0.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
pm-sh7372.c ARM: shmobile: Move sh7372.h 2014-06-25 16:50:00 +09:00
r8a73a4.h ARM: shmobile: r8a73a4: Use shmobile_init_delay() 2014-08-22 11:31:56 +09:00
r8a7740.h ARM: shmobile: r8a7740: Multiplatform support 2014-09-02 10:04:08 +09:00
r8a7778.h ARM: shmobile: Move r8a7778.h 2014-06-25 16:48:02 +09:00
r8a7779.h ARM: shmobile: marzen-reference: Enable TMU0 in device tree 2014-08-17 09:00:56 +09:00
r8a7790.h ARM: shmobile: lager-reference: Enable CMT0 in device tree 2014-08-17 09:00:55 +09:00
r8a7791.h ARM: shmobile: koelsch-reference: Enable CMT0 in device tree 2014-08-17 09:00:56 +09:00
rcar-gen2.h ARM: shmobile: Add shared R-Car Gen2 CMA reservation code 2014-06-17 19:33:22 +09:00
setup-emev2.c ARM: shmobile: Get rid of redundant EMEV2 mach callbacks 2014-06-17 19:50:05 +09:00
setup-r7s72100.c Renesas ARM Based SoC Cleanup Updates for v3.18 2014-09-05 17:42:18 +02:00
setup-r8a73a4.c ARM: shmobile: r8a73a4: Use shmobile_init_delay() 2014-08-22 11:31:56 +09:00
setup-r8a7740.c ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
setup-r8a7778.c ARM: shmobile: r8a7778: Use shmobile_init_delay() 2014-08-22 11:31:57 +09:00
setup-r8a7779.c Renesas ARM Based SoC DT Timers Updates for v3.18 2014-09-05 17:40:32 +02:00
setup-r8a7790.c ARM: shmobile: lager-reference: Enable CMT0 in device tree 2014-08-17 09:00:55 +09:00
setup-r8a7791.c ARM: shmobile: koelsch-reference: Enable CMT0 in device tree 2014-08-17 09:00:56 +09:00
setup-r8a7794.c ARM: shmobile: r8a7794: Reserve memory as other R-Car Gen2 SoCs 2014-09-16 15:01:58 +09:00
setup-rcar-gen2.c ARM: shmobile: rcar-gen2: Add CA7 arch_timer initialization for r8a7794 2014-10-27 09:17:05 +09:00
setup-sh73a0.c cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
setup-sh7372.c ARM: shmobile: sh7372: Add shmobile_init_late() 2014-10-24 11:06:35 +09:00
sh73a0.h ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
sh7372.h ARM: shmobile: Move sh7372.h 2014-06-25 16:50:00 +09:00
sh-gpio.h ARM: shmobile: mackerel: Use pinconf API to configure pin pull-down 2013-12-10 17:24:49 +09:00
sleep-sh7372.S ARM: shmobile: Insert align directives before 4 bytes data 2013-07-18 08:35:21 +09:00
smp-emev2.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
smp-r8a7779.c ARM: shmobile: Move r8a7779.h 2014-06-25 16:52:39 +09:00
smp-r8a7790.c Second Round of Renesas ARM Based SoC Updates for v3.17 2014-07-12 09:44:52 -07:00
smp-r8a7791.c ARM: shmobile: Allow r8a7791 to build non-SMP APMU code 2014-06-26 16:01:34 +09:00
smp-sh73a0.c ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
suspend.c arm: Use generic idle loop 2013-04-08 17:39:24 +02:00
timer.c ARM: shmobile: Handle CA7 arch timer delay 2014-10-24 10:53:30 +09:00