]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Use swiotlb on RV64 only
authorZong Li <zongbox@gmail.com>
Tue, 2 Oct 2018 08:52:28 +0000 (16:52 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:02:56 +0000 (17:02 -0700)
commita0a5149f71223598f25c3abbd9233d7b90f1138d
tree926f7e81e3f7eaae5d6c5d37918078fc4f8e695e
parentf9788b936cddb0df66fcdf8686260389e2abe198
RISC-V: Use swiotlb on RV64 only

Only RV64 supports swiotlb. On RV32, it don't select the SWIOTLB.

Signed-off-by: Zong Li <zong@andestech.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/setup.c