summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBen Horgan <ben.horgan@arm.com>2026-09-11 17:36:12 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2026-09-14 08:18:23 -0700
commit255f92316ac1017478e9ace42cafdeb6c98c1f25 (patch)
tree4520cd733220a94cbb16455ddbcec43447deec23 /tools/perf/scripts/python/bin/stackcollapse-report
parent57a354d20a01287bd173b13231eb5afcda337eee (diff)
arm_mpam: resctrl: Add pass-through resctrl_arch_preconvert_bw()
resctrl rounds up the percentage value of the MBA based on the bw_gran. As MPAM uses a binary fixed point fraction format for MBA rather than a decimal percentage, this introduces rounding errors. Without this additional rounding, if the user reads the value in an MB schema and then writes it back to the schema, the value in hardware won't change. However, with this additional rounding, this guarantee is broken for systems with mbw_wd < 7. resctrl is introducing resctrl_arch_preconvert_bw() to allow the arch code to specify the conversion resctrl does to the user-provided bandwidth value. Add the MPAM version of resctrl_arch_preconvert_bw(). This does no conversion. Signed-off-by: Ben Horgan <ben.horgan@arm.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Link: https://patch.msgid.link/20260911163613.1131447-3-ben.horgan@arm.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions