keystone: k2h/e/l: Fix DMA coherency for QM PDSP
PATCH v3 1/1 keystone: k2h/e/l: Fix DMA coherency for QM PDSP
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP.
Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the first place. Do the same.
---
- v3 - fixed the prefix
- v2 - fixed the prefix
- v1 - adding Fixes per comments and added Reviewed-by from Tom Rini
arch/arm/mach-keystone/init.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-keystone/init.c +0 -2
@@ -101,9 +101,7 @@ static void msmc_k2hkle_common_setup(void)msmc_share_all_segments (KS2_MSMC_SEGMENT_C6X_0 );msmc_share_all_segments (K2HKLE_MSMC_SEGMENT_ARM );msmc_share_all_segments (K2HKLE_MSMC_SEGMENT_NETCP ); -#ifdef KS2_MSMC_SEGMENT_QM_PDSP msmc_share_all_segments (K2HKLE_MSMC_SEGMENT_QM_PDSP ); -#endif msmc_share_all_segments (K2HKLE_MSMC_SEGMENT_PCIE0 );msmc_share_all_segments (KS2_MSMC_SEGMENT_DEBUG ); }
Signature · 1 line
1.9.1
PATCH v3 1/1 keystone: k2h/e/l: Fix DMA coherency for QM PDSP
Quoted 11 lines · Muralidharan
commit
1f807a9f32aa("ARM: keystone2: Refactor MSMC macros to avoid left under a macroKS2_MSMC_SEGMENT_QM_PDSPwhich is no longer valid. This, in effect disabled DMA coherency for QM PDSP.Given that
msmc_k2hkle_common_setupis valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the first place. Do the same.Fixes 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery")Signed-off-by Murali Karicheri <[email protected]>Acked-by Nishanth Menon <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160725/a62c1bd6/attachment-0001.sig>