From: Borislav Petkov <bp@alien8.de>
To: Ben Horgan <ben.horgan@arm.com>
Cc: linux-kernel@vger.kernel.org, tony.luck@intel.com,
reinette.chatre@intel.com, Dave.Martin@arm.com,
james.morse@arm.com, babu.moger@amd.com
Subject: Re: [PATCH v4] fs/resctrl: Add CONFIG_RESCTRL_ASSIGN_FIXED Kconfig entry
Date: Sun, 1 Mar 2026 11:49:18 +0100 [thread overview]
Message-ID: <20260301104918.GCaaQZrlomC0Bw-wM3@fat_crate.local> (raw)
In-Reply-To: <20260204161952.685921-1-ben.horgan@arm.com>
On Wed, Feb 04, 2026 at 04:19:52PM +0000, Ben Horgan wrote:
> diff --git a/fs/resctrl/monitor.c b/fs/resctrl/monitor.c
> index 572a9925bd6c..4e9f55ee3267 100644
> --- a/fs/resctrl/monitor.c
> +++ b/fs/resctrl/monitor.c
> @@ -1451,6 +1451,12 @@ ssize_t resctrl_mbm_assign_mode_write(struct kernfs_open_file *of, char *buf,
> }
>
> if (enable != resctrl_arch_mbm_cntr_assign_enabled(r)) {
> + if (IS_ENABLED(CONFIG_RESCTRL_ASSIGN_FIXED)) {
Does it need to be a Kconfig entry or you can figure out programatically from
the architecture that that is the case and avoid yet another CONFIG_ knob?
From reading this, I'm thinking
if (IS ARM64) {
should do or...?
> + ret = -EINVAL;
> + rdt_last_cmd_puts("Counter assignment mode is not configurable\n");
> + goto out_unlock;
> + }
> +
> ret = resctrl_arch_mbm_cntr_assign_set(r, enable);
> if (ret)
> goto out_unlock;
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
next prev parent reply other threads:[~2026-03-01 10:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 16:19 Ben Horgan
2026-02-05 16:04 ` Reinette Chatre
2026-03-01 10:49 ` Borislav Petkov [this message]
2026-03-02 10:02 ` Ben Horgan
2026-03-02 23:32 ` Reinette Chatre
2026-03-03 14:24 ` Ben Horgan
2026-03-03 16:58 ` Reinette Chatre
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=20260301104918.GCaaQZrlomC0Bw-wM3@fat_crate.local \
--to=bp@alien8.de \
--cc=Dave.Martin@arm.com \
--cc=babu.moger@amd.com \
--cc=ben.horgan@arm.com \
--cc=james.morse@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reinette.chatre@intel.com \
--cc=tony.luck@intel.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®