[LTP] high_freq_hwp_cap_cppc.c: new test

Cyril Hrubis chrubis@suse.cz
Tue Jun 9 15:55:41 CEST 2026


Hi!
> On Tue, Jun 9 2026, Piotr Kubaj wrote:
> > high_freq_hwp_cap_cppc.c: new test
> 
> > +#include "tst_test.h"
> > +#include "tst_safe_prw.h"
> > +#include "lapi/cpuid.h"
> 
> lapi/cpuid.h contains #error on non-x86 architectures and
> __cpuid_count uses x86 inline assembly, so this file will not
> compile on ARM, s390x, etc.

I think that more generic solution is to add the functionality into the
test library. Let me draft a patch.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list