2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-26 23:55:40 +08:00
linux-next/arch/ia64
Christoph Hellwig 974f83ec1e ia64: rework iommu probing
ia64 currently organizes the iommu probing along machves, which isn't
very helpful.  Instead just try to probe for Intel IOMMUs in mem_init
as they are properly described in ACPI and if none was found initialize
the swiotlb buffer.  The HP SBA handling is then only done delayed when
the actual hardware is probed. Only in the case that we actually found
usable IOMMUs we then set up the DMA ops and free the not needed
swiotlb buffer.  This scheme gets rid of the need for the dma_init
machvec operation, and the dig_vtd machvec.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20190813072514.23299-24-hch@lst.de
Signed-off-by: Tony Luck <tony.luck@intel.com>
2019-08-16 11:33:57 -07:00
..
configs ia64: remove the hpsim platform 2019-08-16 11:33:57 -07:00
dig ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
hp ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
include ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
kernel ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
lib ia64: remove now unused machvec indirections 2019-08-16 11:33:57 -07:00
mm ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci ia64: remove now unused machvec indirections 2019-08-16 11:33:57 -07:00
scripts ia64: convert unwcheck.py to python3 2018-03-05 14:35:01 -08:00
uv ia64: remove the unused sn_coherency_id symbol 2019-08-16 11:33:57 -07:00
install.sh
Kconfig ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
Kconfig.debug ia64: remove the zx1 swiotlb machvec 2019-08-16 11:33:57 -07:00
Makefile ia64: rework iommu probing 2019-08-16 11:33:57 -07:00
module.lds License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00