riscv: only select DMA_DIRECT_REMAP from RISCV_ISA_ZICBOM and ERRATA_THEAD_PBMT
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2023 05:26:53 +0000 (07:26 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 26 Oct 2023 07:42:38 +0000 (09:42 +0200)
commit381cae1698538ad2f90dd6ecd8ed155d194e072f
treec8470052d91aaf2bf1304c7eebe6b17f687a8541
parentfd962781270e6452dd5b30c8aa0b3b0fbee06244
riscv: only select DMA_DIRECT_REMAP from RISCV_ISA_ZICBOM and ERRATA_THEAD_PBMT

RISCV_DMA_NONCOHERENT is also used for whacky non-standard
non-coherent ops that use different hooks in dma-direct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20231018052654.50074-3-hch@lst.de
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/riscv/Kconfig
arch/riscv/Kconfig.errata