Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Horgan <ben.horgan@arm.com>
To: Borislav Petkov <bp@alien8.de>,
	Reinette Chatre <reinette.chatre@intel.com>
Cc: x86@kernel.org, james.morse@arm.com, fenghuay@nvidia.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, tglx@linutronix.de,
	mingo@redhat.com, dave.hansen@linux.intel.com, hpa@zytor.com,
	corbet@lwn.net, linux-doc@vger.kernel.org, dave.martin@arm.com
Subject: Re: [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: Factor MBA parse-time conversion to be per-arch
Date: Mon, 7 Sep 2026 11:44:41 +0100	[thread overview]
Message-ID: <a82061f1-bb23-403f-b772-d5adf7acb871@arm.com> (raw)
In-Reply-To: <20260904173615.GOapsBjyiT7uXHd-Qc@fat_crate.local>

Hi Boris, Reinette,

On 04/09/2026 18:36, Borislav Petkov wrote:
> On Thu, Sep 03, 2026 at 08:37:51PM -0700, Borislav Petkov wrote:
>> Lemme have a look.
> 
> Sashiko has comments:
> 
> https://sashiko.dev/#/patchset/20260709093111.367851-1-ben.horgan%40arm.com
> 
> Please address them: if valid, fix them, if not, explain why they don't need
> to be fixed.
> 
> Thx.
> 

Regarding the first Sashiko comment.

The documentation change in patch 3 includes the sentence:

"
The allocated bandwidth percentage is rounded up to the next control step available on the
hardware.
"

Sashiko rightly objects to the "rounded up". For MPAM systems this can be up or down and we test in
test_mpam_resctrl.c:test_percent_to_max_rounding() that it isn't too biased to rounding one way or
the other.

How about replacing "rounded up" with "rounded up or down" so that the sentence becomes:

"
The allocated bandwidth percentage is rounded up or down to the next control step available on the
hardware.
"

What do you think? Should I respin the series with this alteration?


Thanks,

Ben


  parent reply	other threads:[~2026-09-07 10:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09  9:31 [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-07-09  9:31 ` [PATCH v5 1/3] x86,fs/resctrl: Add resctrl_arch_preconvert_bw() Ben Horgan
2026-07-09  9:31 ` [PATCH v5 2/3] arm_mpam: resctrl: Add pass-through resctrl_arch_preconvert_bw() Ben Horgan
2026-07-09  9:31 ` [PATCH v5 3/3] fs/resctrl: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-07-14 17:45 ` [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: " Reinette Chatre
2026-07-14 22:48   ` Moger, Babu
2026-07-14 23:59     ` Reinette Chatre
2026-09-03 15:40   ` Reinette Chatre
2026-09-04  3:37     ` Borislav Petkov
2026-09-04 17:36       ` Borislav Petkov
2026-09-04 21:15         ` Reinette Chatre
2026-09-05  0:45           ` Borislav Petkov
2026-09-07 10:44         ` Ben Horgan [this message]
2026-09-08 15:35           ` Reinette Chatre
2026-09-08 15:44             ` Ben Horgan
2026-07-15  0:13 ` Gavin Shan
2026-07-15 16:02   ` 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=a82061f1-bb23-403f-b772-d5adf7acb871@arm.com \
    --to=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