On 12/6/21 3:32 PM, Reinette Chatre wrote:
My concern is actually about the kselftest framework where I could not answer the following question with certainty: why are there so many usages of cpuid but everybody writes their own instead of including cpuid.h? I am concerned that there are some environment constraints that I am not familiar with and thus decided to follow the custom.
I'm probably guilty of a case or two. There was no logic behind it, just that I took and out-of-tree test and plopped it into the kernel tree without looking for any selftest infrastructure.