[LTP] [PATCH] tst_test: Add needs_cpu_vendor to struct tst_test

Cyril Hrubis chrubis@suse.cz
Wed Jun 10 10:16:58 CEST 2026


Hi!
> > This adds a generic implementaiton of needs_cpu_vendor to the tst_test
> > structure that is based on parsing /proc/cpuinfo. It does not likely
> > work for non-x86 CPUs since the /proc/cpuinfo format is different, but
> > we do not care at the moment. For arm we would have to look at the
> > implementer field instead, we will add that if/once needed.
> >
> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> > CC: Piotr Kubaj <piotr.kubaj@intel.com>
> 
> Acked-by: Jan Stancek <jstancek@redhat.com>
> 
> I'm curios what test needs it.

https://patchwork.ozlabs.org/project/ltp/patch/20260609121840.61087-2-piotr.kubaj@intel.com/

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list