[RFC PATCH 4/5] kselftests/resctrl: set shareable_mask to zero if all bits are shared between software and hardware
Reinette Chatre
reinette.chatre at intel.com
Tue Feb 17 09:52:59 PST 2026
Hi Shaopeng,
On 1/22/26 8:40 PM, Shaopeng Tan wrote:
> When all bits are shared between software and hardware, CAT test can not run.
>
> In the case of MPAM driver, even if all bits are shared between
> hardware and software, they can be used as if software-exclusive.
How can "software-exclusive" be guaranteed in a run of the CAT test? If some
hardware happens to allocate into the cache while the CAT test runs then the
test is more likely to fail without there actually being a problem with
resctrl.
>
> To enable CAT, if all bits are shared between hardware and software,
> set shareable_mask to zero.
Please let this architecture specific addition only apply to MPAM accompanied
by a comment.
Reinette
More information about the linux-arm-kernel
mailing list