source
large_stringclasses
2 values
subject
large_stringclasses
112 values
code
large_stringclasses
112 values
critique
large_stringlengths
61
3.04M
metadata
dict
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> When there are not enough monitors, MPAM is able to emulate ABMC by making a smaller number of monitors assignable. These monitors still need to be allocated from the driver, and mapped to whichever control/monitor group resctrl wants to use them with. Add a second array to hol...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:58:58 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> ABMC exposes a fun corner case where a platform with one monitor can use ABMC for assignable counters - but not when CDP is enabled. Add some tests. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com> --- drivers/resctrl/test_mpam_r...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:58:59 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> ABMC has a helper resctrl_arch_config_cntr() for changing the mapping between 'cntr_id' and a CLOSID/RMID pair. Add the helper. For MPAM this is done by updating the mon->mbwu_idx_to_mon[] array, and as usual CDP means it needs doing in three different ways. Reviewed-by: Jona...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:00 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> When resctrl wants to read a domain's 'QOS_L3_OCCUP', it needs to allocate a monitor on the corresponding resource. Monitors are allocated by class instead of component. MBM monitors are much more complicated, if there are enough monitors, they will be pre-allocated and free-ru...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:01 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> resctrl uses resctrl_arch_rmid_read() to read counters. CDP emulation means the counter may need reading in three different ways. The same goes for reset. The helpers behind the resctrl_arch_ functions will be re-used for the ABMC equivalent functions. Add the rounding helper ...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:02 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> When used in ABMC mode, resctrl uses a different set of helpers to read and reset the counters. Add these. Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com> --- drivers/r...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:03 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> resctrl's limbo code needs to be told when the data left in a cache is small enough for the partid+pmg value to be re-allocated. x86 uses the cache size divided by the number of rmid users the cache may have. Do the same, but for the smallest cache, and with the number of parti...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:04 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> A few resctrl features and hooks need to be provided, but aren't needed or supported on MPAM platforms. resctrl has individual hooks to separately enable and disable the closid/partid and rmid/pmg context switching code. For MPAM this is all the same thing, as the value in stru...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:05 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> Enough MPAM support is present to enable ARCH_HAS_CPU_RESCTRL. Let it rip^Wlink! ARCH_HAS_CPU_RESCTRL indicates resctrl can be enabled. It is enabled by the arch code simply because it has 'arch' in its name. This removes ARM_CPU_RESCTRL as a mimic of X86_CPU_RESCTRL. While ...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:06 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> Now that MPAM links against resctrl, call resctrl_init() to register the filesystem and setup resctrl's structures. Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com> --- Ch...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:07 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> MPAM supports a minimum and maximum control for memory bandwidth. The purpose of the minimum control is to give priority to tasks that are below their minimum value. Resctrl only provides one value for the bandwidth configuration, which is used for the maximum. The minimum cont...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:08 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
By default we generate a minimum bandwidth value that is 5% lower than the maximum bandwidth value given by resctrl. Add a test for this. Signed-off-by: James Morse <james.morse@arm.com> [horgan: Split test into separate patch] Signed-off-by: Ben Horgan <ben.horgan@arm.com> --- drivers/resctrl/test_mpam_devices.c | ...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:09 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: Shanker Donthineni <sdonthineni@nvidia.com> The MPAM specification includes the MPAMF_IIDR, which serves to uniquely identify the MSC implementation through a combination of implementer details, product ID, variant, and revision. Certain hardware issues/errata can be resolved using software workarounds. Introdu...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:10 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: Shanker Donthineni <sdonthineni@nvidia.com> The MPAM bandwidth partitioning controls will not be correctly configured, and hardware will retain default configuration register values, meaning generally that bandwidth will remain unprovisioned. To address the issue, follow the below steps after updating the MBW_M...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:11 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: Shanker Donthineni <sdonthineni@nvidia.com> In the T241 implementation of memory-bandwidth partitioning, in the absence of contention for bandwidth, the minimum bandwidth setting can affect the amount of achieved bandwidth. Specifically, the achieved bandwidth in the absence of contention can settle to any value...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:12 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: Shanker Donthineni <sdonthineni@nvidia.com> The registers MSMON_MBWU_L and MSMON_MBWU return the number of requests rather than the number of bytes transferred. Bandwidth resource monitoring is performed at the last level cache, where each request arrive in 64Byte granularity. The current implementation returns...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:13 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
From: James Morse <james.morse@arm.com> CMN-650 is afflicted with an erratum where the CSU NRDY bit never clears. This tells us the monitor never finishes scanning the cache. The erratum document says to wait the maximum time, then ignore the field. Add a flag to indicate whether this is the final attempt to read the...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 12 Jan 2026 16:59:14 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/12/26 08:58, Ben Horgan wrote: Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Thanks. -Fenghua
{ "author": "Fenghua Yu <fenghuay@nvidia.com>", "date": "Mon, 12 Jan 2026 09:13:24 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:39 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 14:19:16 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:40 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> nvhe
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 14:21:04 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Jonathan, On 1/13/26 14:21, Jonathan Cameron wrote: In this case, I do mean arm64_sw.hvhe which is the configuration when kvm-arm.mode=protected. The aliasing of the registers when E2H is set meant that the read_sysreg_s(SYS_MPAM1_EL1) was actually accessing SYS_MPAM2_EL2 and so the read and write were for the sam...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Tue, 13 Jan 2026 14:35:16 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:44 +0000 Ben Horgan <ben.horgan@arm.com> wrote: There was a question from Zhengheng on v2 that doesn't seem to be addressed and I'm not seeing a reply on list. Maybe an email snafu? https://lore.kernel.org/all/20260109034506.1176234-1-zengheng4@huawei.com/ Please +CC zhengheng on future v...
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 14:46:35 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:51 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Much easier to read. Thanks! Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 14:55:40 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Jonathan, Zeng, On 1/13/26 14:46, Jonathan Cameron wrote: Yes, sorry! For some reason I don't get his emails. :( It happened on the base mpam driver series too. I'll keep a better look at lore and reply to his v2 query. Will do. Should be CC'd on this version too. I don't if there is an email issue with that too...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Tue, 13 Jan 2026 14:58:41 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:52 +0000 Ben Horgan <ben.horgan@arm.com> wrote: I'm not sure this particular test brings a massive amount of value, but I'm not one to object to more tests! Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 14:59:55 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:53 +0000 Ben Horgan <ben.horgan@arm.com> wrote: I don't mind the patch but I'm not entirely following this comment. Is the point that previously there was a sneaky user before this was added in the series? Anyhow, that's not in the patch itself so Reviewed-by: Jonathan Cameron <jonathan.cam...
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:01:59 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:54 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:06:18 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:57 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:10:25 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Jonathan, On 1/13/26 15:01, Jonathan Cameron wrote: Yes, arm_mpam: resctrl: Add support for 'MB' resource, accesses cacheinfo so wanted to order this patch before that. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Tue, 13 Jan 2026 15:15:43 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:59 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:26:38 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:59:08 +0000 Ben Horgan <ben.horgan@arm.com> wrote: I'm interested to see how this plays out as a default choice vs what people elect to run. Seems harmless to start with this. Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:39:38 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:59:09 +0000 Ben Horgan <ben.horgan@arm.com> wrote: Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Tue, 13 Jan 2026 15:43:36 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, (Please note I am unfamiliar with this code so missing some context.) On 1/12/26 8:58 AM, Ben Horgan wrote: It should not be necessary to offline the control domain if attempt to online it failed but removing it from the ctrl_domains list is necessary. What happens to memory dom points to? This error path ...
{ "author": "Reinette Chatre <reinette.chatre@intel.com>", "date": "Tue, 13 Jan 2026 08:49:29 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/12/26 8:58 AM, Ben Horgan wrote: fyi ... [1] enabled total memory bandwidth to also be used as input to software controller and additionally enabled user space to set per resource group which memory bandwidth event is used as input to the software controller. Reinette [1] https://lore.kernel.org/all/20...
{ "author": "Reinette Chatre <reinette.chatre@intel.com>", "date": "Tue, 13 Jan 2026 14:18:48 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/12/26 8:58 AM, Ben Horgan wrote: Reading the above loop and how it is used to call mpam_resctrl_monitor_init() for every event it looks like there is an implicit assumption that MPAM supports all events known to resctrl. Please consider the most recent resctrl feature "telemetry monitoring" currently qu...
{ "author": "Reinette Chatre <reinette.chatre@intel.com>", "date": "Tue, 13 Jan 2026 15:14:29 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Another advantage is that, given the small size of the L2 cache, frequent switching of MPAM configurations between kernel and user modes can cause cache-capacity jitter, making it difficult to isolate interference from noisy neighborhood. However, in addition to the issues mentioned above, updating the MPAM1_EL1 confi...
{ "author": "Zeng Heng <zengheng4@huawei.com>", "date": "Wed, 14 Jan 2026 14:51:49 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:39 +0000, Ben Horgan <ben.horgan@arm.com> wrote: What's the rationale for doing this independently of rest of the MPAM stuff in __activate_traps_mpam()? M. -- Without deviation from the norm, progress is not possible.
{ "author": "Marc Zyngier <maz@kernel.org>", "date": "Wed, 14 Jan 2026 12:06:28 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:40 +0000, Ben Horgan <ben.horgan@arm.com> wrote: Is it really OK to not preserve the rest of MPAM2_EL2? This explicitly clears MPAM2_EL2.MPAMEN, which feels counter-productive. M. -- Without deviation from the norm, progress is not possible.
{ "author": "Marc Zyngier <maz@kernel.org>", "date": "Wed, 14 Jan 2026 12:09:14 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Marc, On 1/14/26 12:09, Marc Zyngier wrote: There are 3 things to consider: 1. traps - these are only relevant when we leave EL2 and are dealt with in __activate_traps_mpam(). (This also covers EnMPAMSM which is a not-trap bit.) 2. MPAM2_EL2.MPAMEN - this is read only as long as we have an EL3 and if we don't have...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Wed, 14 Jan 2026 14:39:58 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Marc, On 1/14/26 12:06, Marc Zyngier wrote: The __activate_traps_mpam() is relevant even for nvhe but __mpam_guest_load() is only need in vhe as otherwise we can rely on MPAM1_EL1 and MPAM0_EL0 having the same partid/pmg configuration (although this MPAM policy will likely become configurable sometime down the lin...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Wed, 14 Jan 2026 14:50:22 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Marc, On 1/14/26 14:39, Ben Horgan wrote: As discussed offline, to avoid having to reason about MPAM2_EL2.MPAMEN I'll set this bit to 1 in this write as we are already assuming mpam is enabled and we want to keep it enabled. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Wed, 14 Jan 2026 16:50:50 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Wed, 14 Jan 2026 16:50:50 +0000, Ben Horgan <ben.horgan@arm.com> wrote: Sounds good, thanks. M. -- Without deviation from the norm, progress is not possible.
{ "author": "Marc Zyngier <maz@kernel.org>", "date": "Wed, 14 Jan 2026 17:50:26 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 10:12:57 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 10:14:48 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 10:16:08 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 10:33:33 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 10:34:32 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: With the following nitpick addressed: Reviewed-by: Gavin Shan <gshan@redhat.com> Nitpick: Needn't include those two header files since they have been included to <asm/mpam.h> Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 14:47:28 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Thu, 15 Jan 2026 14:50:08 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Wed, 14 Jan 2026 14:50:22 +0000, Ben Horgan <ben.horgan@arm.com> wrote: It is completely unclear to me what enforces this. Please point me to the code that does that. Or not. the VM only exists as an extension of userspace, and I don't see on what grounds it should get its own MPAM configuration. I don't care a...
{ "author": "Marc Zyngier <maz@kernel.org>", "date": "Thu, 15 Jan 2026 09:05:28 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hello Ben, Shouldn't it be return -EOPNOTSUPP;? However, before the function update_rmid_limits() is called, there is a check: if (cache_has_usable_csu(class) && topology_matches_l3(class)). cache_has_usable_csu(class) already contains an identical check. Therefore, I think it's safe to remove this redundant one. B...
{ "author": "\"Shaopeng Tan (Fujitsu)\" <tan.shaopeng@fujitsu.com>", "date": "Thu, 15 Jan 2026 10:05:49 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On Mon, Jan 12, 2026 at 5:59 PM Ben Horgan <ben.horgan@arm.com> wrote: Like before, I applied the patches and successfully booted a kernel on a baremetal Google Cloud C4A instance. I was able to confirm that the resources we expect were present and I was able to successfully run the monitor assignment test ca...
{ "author": "Peter Newman <peternewman@google.com>", "date": "Thu, 15 Jan 2026 12:14:19 +0100", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Marc, On 1/15/26 09:05, Marc Zyngier wrote: The new MPAM arch code always configures kernel space MPAM configuration in tandem, same value to MPAM0_EL1 and MPAM1_EL1 (will access MPAM2_EL2 in vhe). For the cpu part see PATCH v3 07 arm64: mpam: Re-initialise MPAM regs when CPU comes online and for context switchin...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Thu, 15 Jan 2026 11:14:36 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Peter, On 1/15/26 11:14, Peter Newman wrote: [...] Thanks for the testing! Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Thu, 15 Jan 2026 11:36:47 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Thu, 15 Jan 2026 14:47:28 +0800 Gavin Shan <gshan@redhat.com> wrote: I commented on the nitpick. That is a non obvious include chain that we should not rely on. Please keep the headers and continue to follow include what you use style (with exceptions when a given header is clearly documented as always includin...
{ "author": "Jonathan Cameron <jonathan.cameron@huawei.com>", "date": "Thu, 15 Jan 2026 12:09:23 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Zeng, +CC Babu (Comments on PLZA) On 1/14/26 06:51, Zeng Heng wrote: Makes sense, thanks for these two observations. I wonder if this would be possible in AMD PLZA as well. Babu? Yes, I watched a recording of that. :) Will do. Apologies for not doing this earlier and thank you for the promise of testing and...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Thu, 15 Jan 2026 14:37:31 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Reinette, On 1/13/26 23:14, Reinette Chatre wrote: I'll test against this. [...] Thanks for bringing this to my attention. mpam_resctrl_monitor_init() won't be called for all events known to resctrl as mpam_resctrl_pick_counters() will only set a class for the 3 that MPAM knows about. Still, it is probably best ...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Thu, 15 Jan 2026 15:43:54 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On Mon, Jan 12, 2026 at 6:02 PM Ben Horgan <ben.horgan@arm.com> wrote: Are remote memory accesses not cached? How do we know an MBWU monitor residing on a cache won't count remote traffic? Thanks, -Peter
{ "author": "Peter Newman <peternewman@google.com>", "date": "Thu, 15 Jan 2026 16:49:20 +0100", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Shaopeng, On 1/15/26 10:05, Shaopeng Tan (Fujitsu) wrote: The intent of returning 0 here is that if csu is not supported on this class then there is nothing to do and hence no error. Yes, the check is redundant and can be removed. (If it were to stay it should be moved to be before call get_cpu_cacheinfo_level()...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Thu, 15 Jan 2026 16:02:47 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:33PM +0000, Ben Horgan wrote: Since we have an isb() already, does it make any difference if we write MPAM0 before the barrier? Similar question for other places where we write these two registers. At some point, we should go through __switch_to() and coalesce the isbs into fewer as we k...
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 17:58:15 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:30PM +0000, Ben Horgan wrote: Acked-by: Catalin Marinas <catalin.marinas@arm.com>
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 17:59:05 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:34PM +0000, Ben Horgan wrote: Is this comment about priority inversion no longer valid? I see thread switching sets the same value for both MPAM0 and MPAM1 registers but I couldn't find an explanation why this is now better when it wasn't before. MPAM1 will also be inherited by IRQ handl...
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 18:14:09 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:35PM +0000, Ben Horgan wrote: Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 18:16:49 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:36PM +0000, Ben Horgan wrote: This looks fine unless we decide to save/restore them in the low-level suspend/resume functions. -- Catalin
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 18:20:02 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/15/26 7:43 AM, Ben Horgan wrote: ... Please note that this documentation has been refactored (without changing its meaning). The above quoted text is specific to L3 monitoring and with the addition of telemetry monitoring the relevant text now reads: The upper bound for how many "CTRL_MON" + "MON" can b...
{ "author": "Reinette Chatre <reinette.chatre@intel.com>", "date": "Thu, 15 Jan 2026 10:54:45 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:37PM +0000, Ben Horgan wrote: Do we know for sure that system_supports_sme() returns true at this point (if SME supported)? Digging into the code, system_supports_sme() uses alternative_has_cap_unlikely() which relies on instruction patching. setup_system_capabilities(), IIUC, patches the...
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 19:08:47 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:38PM +0000, Ben Horgan wrote: Isn't this function, together with mpam_thread_switch(), in an enclosing #ifdef already? -- Catalin
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 19:13:45 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:59:06PM +0000, Ben Horgan wrote: Acked-by: Catalin Marinas <catalin.marinas@arm.com>
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Thu, 15 Jan 2026 19:16:48 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi, Shanker and Ben, On 1/12/26 08:59, Ben Horgan wrote: When MBW_MIN=1, min mem bw can be very low when contention. This may drop mem access performance. Is it possible to set MBW_MIN bigger so that ensure the floor of mem access is high? Thanks. -Fenghua
{ "author": "Fenghua Yu <fenghuay@nvidia.com>", "date": "Thu, 15 Jan 2026 15:20:55 -0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Reinette, Peter, On 1/15/26 18:54, Reinette Chatre wrote: Ok, I don't really see another option. The motivation for this is that to me Just thinking about it now but the "mon_id_includes_control_id" option seems the best to me as it is a single bit option that along with "num_rmids" let's you know which monitor ...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Fri, 16 Jan 2026 10:29:01 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hello Ben, $ echo "default" | sudo tee /sys/fs/resctrl/info/L3_MON/mbm_assign_mode default tee: /sys/fs/resctrl/info/L3_MON/mbm_assign_mode:Invalid argument "return -EOPNOTSUPP;" might be better. Best regards, Shaopeng TAN
{ "author": "\"Shaopeng Tan (Fujitsu)\" <tan.shaopeng@fujitsu.com>", "date": "Fri, 16 Jan 2026 10:34:27 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hello Ben, I ran the MPAM driver on NVIDIA's Grace machine, and it seems to be working fine. Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
{ "author": "\"Shaopeng Tan (Fujitsu)\" <tan.shaopeng@fujitsu.com>", "date": "Fri, 16 Jan 2026 10:47:40 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Shaopeng, On 1/16/26 10:34, Shaopeng Tan (Fujitsu) wrote: [...] I'll keep this as -EINVAL in the case when 'enable' matches the current mode and change it to return 0 when there is nothing to change. This will match the behaviour once this is handled in resctrl. See the outcome of the discussion on this resctrl p...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Fri, 16 Jan 2026 11:04:24 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Shaopeng, On 1/16/26 10:47, Shaopeng Tan (Fujitsu) wrote: Thanks for the testing! Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Fri, 16 Jan 2026 11:05:57 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, Jan 12, 2026 at 04:58:29PM +0000, Ben Horgan wrote: After discussing privately, I can see how test__props_mismatch() can end up with unaligned atomics on the mmap_props::features array. Happy to pick it up for 6.19 (probably the first patch as well, though that's harmless). Is there a Fixes tag here for futur...
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Fri, 16 Jan 2026 11:57:25 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Catalin, On 1/16/26 11:57, Catalin Marinas wrote: Yes please. Yes, the mpam_set/clear macros were introduced in Fixes: 8c90dc68a5de ("arm_mpam: Probe the hardware features resctrl supports") Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Fri, 16 Jan 2026 12:02:06 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/16/26 12:02, Ben Horgan wrote: The mpam_set_clear() actually comes after in: c10ca83a7783 arm_mpam: Merge supported features during mpam_enable() into mpam_class but I think the fixes below is still the correct one as it is where we could first start seeing the problem. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Fri, 16 Jan 2026 12:12:53 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Mon, 12 Jan 2026 16:58:27 +0000, Ben Horgan wrote: Applied to arm64 (for-next/fixes), thanks! [01/47] arm_mpam: Remove duplicate linux/srcu.h header https://git.kernel.org/arm64/c/b5a69c486921 [02/47] arm_mpam: Use non-atomic bitops when modifying feature bitmap https://git.kernel.org/arm64/c/b9f5c...
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Fri, 16 Jan 2026 15:47:15 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On Fri, Jan 16, 2026 at 12:12:53PM +0000, Ben Horgan wrote: Yes, I left the original as that's the one first introducing the atomic bitops on this structure. -- Catalin
{ "author": "Catalin Marinas <catalin.marinas@arm.com>", "date": "Fri, 16 Jan 2026 15:51:02 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: The L3 cache partitioning and MBW (soft) limiting works fine on NVidia's grace-hopper machine. Tested-by: Gavin Shan <gshan@redhat.com> Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 09:30:32 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: mpam_register_requestor() is exposed until CONFIG_ARM64_MPAM_DRIVER is set. CONFIG_ARM64_MPAM_DRIVER and CONFIG_ARM64_MPAM can be different until PATCH[39/47] is applied. So we need PATCH[39/47] to be applied prior to this patch so that mpam_register_requestor() is alway...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 14:37:46 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:58 AM, Ben Horgan wrote: Reviewed-by: Gavin Shan <gshan@redhat.com>
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 14:40:59 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: One question below... Need we ensure MPAM capability exists in the hardware before the notifier is registerred? Otherwise, mpam_pm_notifier() can accesses SYS_MPAM0_EL1 and SYS_MPAM1_EL1 system registers which may not supported by the hardware. Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 14:50:16 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: One nitpick below... Reviewed-by: Gavin Shan <gshan@redhat.com> { } is missed here. Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 14:51:40 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/16/26 3:13 AM, Catalin Marinas wrote: I think Catalin is correct that this ifdef inside mpam_set_task_partid_pmg() can be dropped. Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 14:56:46 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: Nitpick: Alignment issues in the lines for 2nd/3rd/4th FIELD_PREP(). return FIELD_PREP(...) | FIELD_PREP(...) | FIELD_PREP(...) | FIELD_PREP(...); per_cpu(arm64_mpam_default) won't be reachable until CONFIG_ARM64_MPAM is set. S...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 15:01:41 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: A warning reported by checkpatch.pl like below. WARNING: Missing a blank line after declarations #117: FILE: drivers/resctrl/mpam_resctrl.c:375: + struct mpam_component *victim_iter; + cpumask_var_t __free(free_cpumask_var) tmp_cpumask; Besides, it'd better to initiali...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 19:53:25 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Ben, On 1/13/26 12:58 AM, Ben Horgan wrote: A warning reported by checkpatch.pl as below. WARNING: Missing a blank line after declarations #84: FILE: drivers/resctrl/mpam_resctrl.c:607: + size_t array_size = num_mbwu_mon * sizeof(int); + int *array __free(kfree) = kmalloc(array_size, GFP_KERNEL); Thanks, Gavin
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 19:57:38 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Peter, On 15/01/2026 15:49, Peter Newman wrote: It will, yes you get double counting. Is forbidding both mbm_total and mbm_local preferable? I think this comes from 'total' in mbm_total not really having the obvious meaning of the word: If I have CPUs in NUMA-A and no memory controllers, then NUMA-B has no CPUs,...
{ "author": "James Morse <james.morse@arm.com>", "date": "Mon, 19 Jan 2026 12:04:10 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:59 AM, Ben Horgan wrote: An error reported by checkpatch.pl as below. ERROR: Macros with complex values should be enclosed in parentheses #135: FILE: drivers/resctrl/mpam_internal.h:238: +#define MPAM_IIDR_MATCH_ONE FIELD_PREP_CONST(MPAMF_IIDR_PRODUCTID, 0xfff) | \ + FIELD_PREP_CONST(MPAMF_IIDR_VAR...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 20:14:44 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:59 AM, Ben Horgan wrote: An error reported by checkpatch.pl as below. ERROR: Macros with complex values should be enclosed in parentheses #205: FILE: drivers/resctrl/mpam_internal.h:247: +#define MPAM_IIDR_NVIDIA_T241 FIELD_PREP_CONST(MPAMF_IIDR_PRODUCTID, 0x241) | \ + FIELD_PREP_CONST(MPAMF_IIDR_V...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 20:16:30 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
On 1/13/26 12:59 AM, Ben Horgan wrote: An error reported by checkpatch.pl as below. ERROR: Macros with complex values should be enclosed in parentheses #105: FILE: drivers/resctrl/mpam_internal.h:255: +#define MPAM_IIDR_ARM_CMN_650 FIELD_PREP_CONST(MPAMF_IIDR_PRODUCTID, 0) | \ + FIELD_PREP_CONST(MPAMF_IIDR_VARIA...
{ "author": "Gavin Shan <gshan@redhat.com>", "date": "Mon, 19 Jan 2026 20:18:50 +0800", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Catalin, On 1/15/26 17:58, Catalin Marinas wrote: The reason for the isb() placement is to document that it's not required for the MPAM0_EL1. All instructions running at EL1take their MPAM configuration from MPAM1_EL1. This includes LDTR and STTR as you asked about in a different thread. It's done this way as it...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 12:23:13 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi James, On Mon, Jan 19, 2026 at 1:04 PM James Morse <james.morse@arm.com> wrote: Our software is going off the definition from the Intel SDM: "This event monitors the L3 external bandwidth satisfied by the local memory. In most platforms that support this event, L3 requests are likely serviced by a memory system w...
{ "author": "Peter Newman <peternewman@google.com>", "date": "Mon, 19 Jan 2026 13:47:52 +0100", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Catalin, On 1/15/26 18:14, Catalin Marinas wrote: Yes, will drop it. I see thread I touch on it in the cover letter. It is the way it is done for x86 and so sensible to make it the default. All partids are usable from user-space and user-space can't bypass MPAM controls by doing the work in the kernel. There i...
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 13:38:11 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Catalin, On 1/15/26 19:08, Catalin Marinas wrote: I'll switch to cpus_have_cap(). Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 13:40:18 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Gavin, On 1/19/26 11:53, Gavin Shan wrote: [...] I expect this is because __free() declarations don't need to be at the top of a scope and so checkpatch doesn't treat them as normal declarations. I don't think anything needs changing here. Yep, I'll update. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 13:53:23 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Gavin, Jonathan, On 1/15/26 12:09, Jonathan Cameron wrote: Keeping the includes here makes sense to me too. Gavin, are you ok with keeping this as is? Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 14:00:07 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Catalin, On 1/19/26 13:38, Ben Horgan wrote: Ah, that's done in the patch already. Also, we can't treat 0 as special without taking it away from userspace and then we're down a partid and there might be that many. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 14:22:13 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }
lkml
[PATCH v3 00/47] arm_mpam: Add KVM/arm64 and resctrl glue code
This new version of the mpam missing pieces has no major rework from the previous version. It's mainly small corrections and code tidying based on review and things I spotted along the way. To be able to merge this we need review from more people and people to start testing on their platforms and giving some Tested-by ...
Hi Gavin, On 1/19/26 06:37, Gavin Shan wrote: I've split out the part of PATCH[39/47] that removes the CONFIG_EXPERT restriction and put it before this patch. With that CONFIG_ARM64_MPAM will unconditionally select CONFIG_ARM64_MPAM_DRIVER. Thanks, Ben
{ "author": "Ben Horgan <ben.horgan@arm.com>", "date": "Mon, 19 Jan 2026 14:49:38 +0000", "thread_id": "20260112165914.4086692-1-ben.horgan@arm.com.mbox.gz" }