Thread (83 messages) 83 messages, 11 authors, 2025-11-19

Re: [PATCH v5 29/34] arm_mpam: Probe for long/lwd mbwu counters

From: Fenghua Yu <fenghuay@nvidia.com>
Date: 2025-11-19 04:57:52
Also in: linux-acpi, lkml


On 11/17/25 09:00, Ben Horgan wrote:
From: Rohit Mathew <redacted>

mpam v0.1 and versions above v1.0 support optional long counter for
memory bandwidth monitoring. The MPAMF_MBWUMON_IDR register has fields
indicating support for long counters.

Probe these feature bits.

The mpam_feat_msmon_mbwu feature is used to indicate that bandwidth
monitors are supported, instead of muddling this with which size of
bandwidth monitors, add an explicit 31 bit counter feature.

Signed-off-by: Rohit Mathew <redacted>
[ morse: Added 31bit counter feature to simplify later logic ]
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Gavin Shan <redacted>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Shaopeng Tan <redacted>
Tested-by: Peter Newman <redacted>
Tested-by: Carl Worth <redacted>
Tested-by: Gavin Shan <redacted>
Tested-by: Zeng Heng <redacted>
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>

Thanks.

-Fenghua
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help