riscv: fix sbi_remote_sfence_vma{,_asid}.
authorGary Guo <gary@garyguo.net>
Wed, 27 Mar 2019 00:41:29 +0000 (00:41 +0000)
committerPalmer Dabbelt <palmer@sifive.com>
Fri, 17 May 2019 03:42:12 +0000 (20:42 -0700)
commita21344dfc6adb78c291a48906478e76e1de08f6d
tree70f019246bdb6b2a391572ae1879a14a06dfe111
parentf6635f873a605576fa1983c605655a8721475c22
riscv: fix sbi_remote_sfence_vma{,_asid}.

Currently sbi_remote_sfence_vma{,_asid} does not pass their arguments
to SBI at all, which is semantically incorrect.

Neither BBL nor OpenSBI is using these arguments at the moment, and
they just do a global flush instead. However we still need to provide
correct arguments.

Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/sbi.h