On 2024-05-15 at 16:48:44 +0000, Luck, Tony wrote: >If/when my SNC patches go upstream the SNC check could become: > >snc_ways=$(ls -d /sys/fs/resctrl/mon_data/mon_L3_00/mon_sub_L3_* 2>/dev/null | wc -l) But this won't work without your kernel patches right? If they are already in the kernel used by the person launching the selftests then there shouldn't be any problems to report. The idea was that if the CMT/MBM/MBA selftests fail, the message with "SNC is the problem" is only displayed if SNC is enabled and there is no kernel support for SNC. > >assuming you have /sys/fs/resctrl mounted. > >-Tony -- Kind regards Maciej Wieczór-Retman