mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-12 19:26:11 +07:00
249baa5479
Most dma_map_ops instances are IOMMUs that work perfectly fine in 32-bits of IOVA space, and the generic direct mapping code already provides its own routines that is intelligent based on the amount of memory actually present. Wire up the dma-direct routine for the ARM direct mapping code as well, and otherwise default to the constant 32-bit mask. This way we only need to override it for the occasional odd IOMMU that requires 64-bit IOVA support, or IOMMU drivers that are more efficient if they can fall back to the direct mapping. Signed-off-by: Christoph Hellwig <hch@lst.de> |
||
---|---|---|
.. | ||
device-init.c | ||
exports.c | ||
gelic_udbg.c | ||
htab.c | ||
hvcall.S | ||
interrupt.c | ||
Kconfig | ||
Makefile | ||
mm.c | ||
os-area.c | ||
platform.h | ||
repository.c | ||
setup.c | ||
smp.c | ||
spu.c | ||
system-bus.c | ||
time.c |