diff options
| author | Jason Gunthorpe <[email protected]> | 2024-05-07 13:21:10 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-05-10 12:14:14 +0000 |
| commit | da55da5a42d4247d7a48b843fa5fcd9a4a10f4fe (patch) | |
| tree | 1f483b29cfdf630f8dc19fa82364a69c6defdfe7 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-da55da5a42d4247d7a48b843fa5fcd9a4a10f4fe.tar.gz kernel-da55da5a42d4247d7a48b843fa5fcd9a4a10f4fe.zip | |
iommu/arm-smmu-v3: Make the kunit into a module
It turns out kconfig has problems ensuring the SMMU module and the KUNIT
module are consistently y/m to allow linking. It will permit KUNIT to be a
module while SMMU is built in.
Also, Fedora apparently enables kunit on production kernels.
So, put the entire kunit in its own module using the
VISIBLE_IF_KUNIT/EXPORT_SYMBOL_IF_KUNIT machinery. This keeps it out of
vmlinus on Fedora and makes the kconfig work in the normal way. There is
no cost if kunit is disabled.
Fixes: 56e1a4cc2588 ("iommu/arm-smmu-v3: Add unit tests for arm_smmu_write_entry")
Reported-by: Thorsten Leemhuis <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Jason Gunthorpe <[email protected]>
Tested-by: Thorsten Leemhuis <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
