]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit51858aaf9bea3ddf166bf9d252a1fc351260b497
tree926f7e81e3f7eaae5d6c5d37918078fc4f8e695e
parent7f47c73b355f300cf162f3a664e43d557d2cb30d
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