Re: [U-Boot] [PATCH 17/30] riscv: implement the invalidate_icache_* functions

2018-10-22 Thread Rick Chen
> > > Implement the functions invalidate_icache_range() and > > > invalidate_icache_all(). > > > > > > RISC-V does not have instructions for explicit cache-control. The > > > functions in this patch are implemented with the memory ordering > > > instruction for synchronizing the instruction and dat

Re: [U-Boot] [PATCH 17/30] riscv: implement the invalidate_icache_* functions

2018-10-22 Thread Bin Meng
On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer wrote: > > Implement the functions invalidate_icache_range() and > invalidate_icache_all(). > > RISC-V does not have instructions for explicit cache-control. The > functions in this patch are implemented with the memory ordering > instruction for synchron

[U-Boot] [PATCH 17/30] riscv: implement the invalidate_icache_* functions

2018-10-19 Thread Lukas Auer
Implement the functions invalidate_icache_range() and invalidate_icache_all(). RISC-V does not have instructions for explicit cache-control. The functions in this patch are implemented with the memory ordering instruction for synchronizing the instruction and data streams. This may be implemented