Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH] iommu/vt-d: include conditionally on CONFIG_INTEL_IOMMU_SVM | Date | Tue, 17 Nov 2020 23:24:28 +0000 |
| |
On Sun, 15 Nov 2020 21:59:51 +0100, Lukas Bulwahn wrote: > Commit 6ee1b77ba3ac ("iommu/vt-d: Add svm/sva invalidate function") > introduced intel_iommu_sva_invalidate() when CONFIG_INTEL_IOMMU_SVM. > This function uses the dedicated static variable inv_type_granu_table > and functions to_vtd_granularity() and to_vtd_size(). > > These parts are unused when !CONFIG_INTEL_IOMMU_SVM, and hence, > make CC=clang W=1 warns with an -Wunused-function warning. > > [...]
Applied to arm64 (for-next/iommu/vt-d), thanks!
[1/1] iommu/vt-d: include conditionally on CONFIG_INTEL_IOMMU_SVM https://git.kernel.org/arm64/c/68dd9d89eaf5
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
| |