automated: linux: modules: add platform compatibility detection and smart skipping
Add intelligent platform detection to skip hardware-incompatible modules
and modules with known issues, reducing false positive test failures.
New features:
- Platform compatibility detection for ACPI, device tree, and vendor-specific modules
- Dependency checking before module removal to prevent unload failures
- Smart skipping with proper LAVA test result reporting
- Graceful handling of modules that cannot be safely removed
Platform-specific handling:
- Skip ACPI modules (cppc_cpufreq) on non-ACPI systems
- Skip Allwinner modules (sun*i) on non-Allwinner platforms
- Skip MediaTek modules with known unload issues (mtk-adsp-ipc)
- Check module dependencies before attempting removal
This significantly reduces false positive failures caused by:
1. Hardware compatibility issues (modules requiring missing hardware)
2. Module dependency conflicts during removal
3. Platform-specific driver limitations
The changes maintain backward compatibility while providing more accurate
test results focused on actual functionality rather than hardware availability.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 file changed