summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/mmiowb.h
Commit message (Collapse)AuthorAgeFilesLines
* riscv: clean up the macro format in each header fileZong Li2019-11-121-1/+1
| | | | | | | | | | There are many different formats in each header now, such as _ASM_XXX_H, __ASM_XXX_H, _ASM_RISCV_XXX_H, RISCV_XXX_H, etc., This patch tries to unify the format by using _ASM_RISCV_XXX_H, because the most header use it now. This patch also adds the conditional to the headers if they lost it. Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
* riscv/mmiowb: Hook up mmwiob() implementation to asm-generic codeWill Deacon2019-04-081-0/+14
In a bid to kill off explicit mmiowb() usage in driver code, hook up the asm-generic mmiowb() tracking code for riscv, so that an mmiowb() is automatically issued from spin_unlock() if an I/O write was performed in the critical section. Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
OpenPOWER on IntegriCloud