arm: add DSB after icache flush in __flush_icache_all()
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
Add DSB after icache flush to complete the cache maintenance operation.
---
PS:
- This patch is tested for ARM-v7.
arch/arm/include/asm/cacheflush.h | 1 + 1 file changed, 1 insertion(+)
arch/arm/include/asm/cacheflush.h +1 -0
@@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,static inline void __flush_icache_all (void ) {__flush_icache_preferred (); +dsb (); }/*
Signature · 1 line
1.7.9.5
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
Quoted 3 lines · Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by Vinayak Kale <[email protected]>
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
In reply to Vinayak KaleAm 05.02.2014 10:33, schrieb Vinayak Kale:
Quoted 3 lines
Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by Vinayak Kale <[email protected]>
Should this go to -stable, too?
I haven't looked into the details, but at least it seems to apply cleanly on a 3.8 kernel.
Best regards
Dirk
Quoted 21 lines
---
PS:
- This patch is tested for ARM-v7.arch/arm/include/asm/cacheflush.h | 1 + 1 file changed, 1 insertion(+)arch/arm/include/asm/cacheflush.h +1
-0@@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,static inline void __flush_icache_all (void ) {__flush_icache_preferred (); +dsb (); }/*
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
Quoted 9 lines · Dirk Behme
Am 05.02.2014 10:33, schrieb Vinayak Kale:
Quoted 3 lines
Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by Vinayak Kale <[email protected]>Should this go to -stable, too?
I haven't looked into the details, but at least it seems to apply cleanly on a 3.8 kernel.
It should. For the similar arm64 fix I added 'cc: stable' myself (commit 5044bad43ee57).
Thanks.
Signature · 1 line
Catalin
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
Am 10.02.2014 11:43, schrieb Catalin Marinas:
Quoted 6 lines · Dirk Behme
Quoted 5 lines
Am 05.02.2014 10:33, schrieb Vinayak Kale:
Quoted 3 lines
Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by Vinayak Kale <[email protected]>
Quoted 7 lines
Quoted 4 lines
Should this go to -stable, too?
I haven't looked into the details, but at least it seems to apply cleanly on a 3.8 kernel.
It should. For the similar arm64 fix I added 'cc: stable' myself (commit
5044bad43ee57).
While the arm64 patch already hit mainline, I can't find this one in mainline, -next or even the patch system, yet (?)
Vinayak: Could you put this patch into the patch system and CC stable, please?
Thanks
Dirk
PATCH 1/1 arm: add DSB after icache flush in __flush_icache_all()
Quoted 21 lines · Dirk Behme
Am 10.02.2014 11:43, schrieb Catalin Marinas:
Quoted 9 lines · Dirk Behme
Quoted 8 lines
Am 05.02.2014 10:33, schrieb Vinayak Kale:
Quoted 4 lines
Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by Vinayak Kale <[email protected]>Quoted 8 lines
Quoted 4 lines
Should this go to -stable, too?
I haven't looked into the details, but at least it seems to apply cleanly on a 3.8 kernel.
It should. For the similar arm64 fix I added 'cc: stable' myself (commit
5044bad43ee57).
Quoted 5 lines
While the arm64 patch already hit mainline, I can't find this one in mainline, -next or even the patch system, yet (?)
Vinayak: Could you put this patch into the patch system and CC stable, please?
Sure.
Quoted 4 lines
Thanks
Dirk