From: Gavin Shan <gshan@redhat.com>
To: Ben Horgan <ben.horgan@arm.com>
Cc: james.morse@arm.com, reinette.chatre@intel.com,
fenghuay@nvidia.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com,
hpa@zytor.com, corbet@lwn.net, x86@kernel.org,
linux-doc@vger.kernel.org, dave.martin@arm.com
Subject: Re: [PATCH v6 1/3] x86,fs/resctrl: Add resctrl_arch_preconvert_bw()
Date: Mon, 14 Sep 2026 16:02:30 +1000 [thread overview]
Message-ID: <554580db-4ae1-4308-92e6-2f010afafdfb@redhat.com> (raw)
In-Reply-To: <20260911163613.1131447-2-ben.horgan@arm.com>
On 9/12/26 2:36 AM, Ben Horgan wrote:
> From: Dave Martin <dave.martin@arm.com>
>
> On MPAM systems the rounding behaviour of the MBA control would be improved
> if the rounding in the fs/resctrl code is removed but this is not the
> case for x86. To allow any rounding or conversion of the bandwidth value
> provided by the user to be specified by the arch code a new arch hook is
> required.
>
> Introduce resctrl_arch_preconvert_bw(), and add its x86 implementation.
> This is currently unused in resctrl but when plumbed in it will replace the
> call to roundup() in bw_validate().
>
> Signed-off-by: Dave Martin <dave.martin@arm.com>
> Signed-off-by: Ben Horgan <ben.horgan@arm.com>
> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
> ---
> Changes since Dave's v2:
> Split from larger patch and add commit message
> Update kernel-doc (Reinette)
>
> Changes since v3:
> Swap parameter order (Reinette)
> Change summary prefix include fs/resctrl (Reinette)
> val -> @val
> Add Reinette's R-b
>
> Changes since v4:
> Set author to Dave as he wrote the patch
> ---
> arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 6 ++++++
> include/linux/resctrl.h | 19 +++++++++++++++++++
> 2 files changed, 25 insertions(+)
>
Reviewed-by: Gavin Shan <gshan@redhat.com>
next prev parent reply other threads:[~2026-09-14 6:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 16:36 [PATCH v6 0/3] x86,fs/resctrl,arm_mpam: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-09-11 16:36 ` [PATCH v6 1/3] x86,fs/resctrl: Add resctrl_arch_preconvert_bw() Ben Horgan
2026-09-14 6:02 ` Gavin Shan [this message]
2026-09-14 19:08 ` [tip: x86/cache] " tip-bot2 for Dave Martin
2026-09-11 16:36 ` [PATCH v6 2/3] arm_mpam: resctrl: Add pass-through resctrl_arch_preconvert_bw() Ben Horgan
2026-09-14 6:02 ` Gavin Shan
2026-09-14 19:08 ` [tip: x86/cache] " tip-bot2 for Ben Horgan
2026-09-11 16:36 ` [PATCH v6 3/3] fs/resctrl: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-09-14 6:03 ` Gavin Shan
2026-09-14 19:08 ` [tip: x86/cache] " tip-bot2 for Dave Martin
2026-09-14 14:51 ` [PATCH v6 0/3] x86,fs/resctrl,arm_mpam: " 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=554580db-4ae1-4308-92e6-2f010afafdfb@redhat.com \
--to=gshan@redhat.com \
--cc=ben.horgan@arm.com \
--cc=bp@alien8.de \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=dave.martin@arm.com \
--cc=fenghuay@nvidia.com \
--cc=hpa@zytor.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=reinette.chatre@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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®