Re: high_freq_hwp_cap_cppc.c: new test

Cyril Hrubis <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.