mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Reinette Chatre <reinette.chatre@intel.com>
To: Shaopeng Tan <tan.shaopeng@fujitsu.com>, <fenghuay@nvidia.com>,
	<ben.horgan@arm.com>, <james.morse@arm.com>, <shuah@kernel.org>
Cc: <linux-kselftest@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [RFC PATCH 4/5] kselftests/resctrl: set shareable_mask to zero if all bits are shared between software and hardware
Date: Tue, 17 Feb 2026 09:52:59 -0800	[thread overview]
Message-ID: <1f076261-55f7-4dc9-ac58-1ed39763b323@intel.com> (raw)
In-Reply-To: <20260123044034.141247-5-tan.shaopeng@fujitsu.com>

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


  reply	other threads:[~2026-02-17 17:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-23  4:40 [RFC PATCH 0/5] kselftest/resctrl: Enable CAT and NONCONT_CAT tests on ARM Shaopeng Tan
2026-01-23  4:40 ` [RFC PATCH 1/5] kselftests/resctrl: Detect the ARM architecture Shaopeng Tan
2026-02-17 17:49   ` Reinette Chatre
2026-01-23  4:40 ` [RFC PATCH 2/5] kselftests/resctrl: enable noncont_cat for MPAM Shaopeng Tan
2026-02-17 17:52   ` Reinette Chatre
2026-01-23  4:40 ` [RFC PATCH 3/5] kselftests/resctrl: remove unnecessary exclude_idle Shaopeng Tan
2026-02-17 17:52   ` Reinette Chatre
2026-03-02  7:35     ` Shaopeng Tan (Fujitsu)
2026-01-23  4:40 ` [RFC PATCH 4/5] kselftests/resctrl: set shareable_mask to zero if all bits are shared between software and hardware Shaopeng Tan
2026-02-17 17:52   ` Reinette Chatre [this message]
2026-01-23  4:40 ` [RFC PATCH 5/5] kselftests/resctrl: Add support for CAT test on ARM Shaopeng Tan
2026-01-27 20:47   ` Ben Horgan
2026-01-27 20:40 ` [RFC PATCH 0/5] kselftest/resctrl: Enable CAT and NONCONT_CAT tests " Ben Horgan
2026-03-02  7:26   ` Shaopeng Tan (Fujitsu)
2026-03-03 17:10     ` Ben Horgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1f076261-55f7-4dc9-ac58-1ed39763b323@intel.com \
    --to=reinette.chatre@intel.com \
    --cc=ben.horgan@arm.com \
    --cc=fenghuay@nvidia.com \
    --cc=james.morse@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=shuah@kernel.org \
    --cc=tan.shaopeng@fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®