diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-04-25 15:31:45 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-05-03 22:20:34 +0100 |
commit | 6ecba8eb51b7d23fda66388a5420be7d8688b186 (patch) | |
tree | 930af6e7dfff301c121e59f91171ab884c9ceb75 /arch/arm64/kernel | |
parent | c7a4a7658d689f664050c45493d79adf053f226e (diff) | |
download | op-kernel-dev-6ecba8eb51b7d23fda66388a5420be7d8688b186.zip op-kernel-dev-6ecba8eb51b7d23fda66388a5420be7d8688b186.tar.gz |
arm64: Use bus notifiers to set per-device coherent DMA ops
Recently, the default DMA ops have been changed to non-coherent for
alignment with 32-bit ARM platforms (and DT files). This patch adds bus
notifiers to be able to set the coherent DMA ops (with no cache
maintenance) for devices explicitly marked as coherent via the
"dma-coherent" DT property.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 93e7df89..7ec7846 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -396,7 +396,7 @@ static int __init arm64_device_init(void) of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); return 0; } -arch_initcall(arm64_device_init); +arch_initcall_sync(arm64_device_init); static DEFINE_PER_CPU(struct cpu, cpu_data); |