]> 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)
commit8a5b78d060cebfb52b8cf5fae120f4c25a2a1d89
tree926f7e81e3f7eaae5d6c5d37918078fc4f8e695e
parent3e82364fc48941b26c46aadb91ca32a39c5e049c
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