iort: Clean up compiling errors/warnings for sva
hulk inclusion
category: bugfix
bugzilla: 16081
CVE: NA
-------------------
1. use CONFIG_IOMMU_SVA macro to isolate iommu-sva related code in iort.
2. move struct page_response_msg,enum page_response_code and
iopf_queue_flush_t out of macro CONFIG_IOMMU_API, since these are always
used by iommu api.
Fixes: 676917d8930e ("iommu/sva: Track mm changes with an MMU notifier")
Fixes: 615753b31ae4 ("ACPI/IORT: Check ATS capability in root complex nodes")
Fixes: e741c308b09f ("iort: Read ACPI configure to get streamid.")
Signed-off-by: NZhou Guanghui <zhouguanghui1@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录