[LTP] [PATCH v16] high_freq_hwp_cap_cppc.c: new test for testing acpi_cppc/highest_perf

Cyril Hrubis chrubis@suse.cz
Thu Jun 11 16:36:17 CEST 2026


Hi!
> Oh, I was under impression that the whole test should be ifdefed. After
> all, there's just no possibility it will ever run on another
> architecture.

If we do that the tst_test structure with the real metadata will be
hidden inside these ifdefs as well (along with the supported
architectures field) so the better way to do this is to ifdef only what
needs to be ifdefed. We could as well ifdef out all the
setup/cleanup/run functions and define dummy functions for non-x86
targets however in this case it was easier just to ifdef the cpuid code.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list