From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB70525F7A9 for ; Wed, 20 May 2026 21:25:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779312320; cv=none; b=XqbSaQJH/zBcEh8QnnhFrIJDYb8CKZYuUztfPN41663Hx3Mjl57XkRQmqkLj9+CXKb8lC9MoeshoYf3XXp1SAmM+M5LAnBJMLZPU1nNhxzMGbNSugKm1HRwpiZBplPU9s2Fop10VoMEoY+SvbWu41ZzKy+XVOjZ2oQLuYqDIH2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779312320; c=relaxed/simple; bh=uV0pitMgYy72xTsnWhGhkJam9QAMerA/pmeVRo4nAhg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VxrBSel4CYMPpD3NW8VIzQCzsJr/y9oLQqWJHHdttDdnIQYvsOFzE+jz0JlAeITDFlSeL/FcaylC/YZcR2x7nHWoBOVay1J1ViY/3J+dHzW6cocpSTIOEb/DYRCwVDUsMDPcDmLCpC/wa3IrbVBQ9lxTc6JKP1y/mso5yfkd37s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=S0lK/ZMs; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="S0lK/ZMs" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DFCDA4907; Wed, 20 May 2026 14:25:10 -0700 (PDT) Received: from e134344.cambridge.arm.com (e134344.arm.com [10.1.196.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D722C3F632; Wed, 20 May 2026 14:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1779312315; bh=uV0pitMgYy72xTsnWhGhkJam9QAMerA/pmeVRo4nAhg=; h=From:To:Cc:Subject:Date:From; b=S0lK/ZMs4dQNtegohCdmqCi/jjNJzm3oeXflLwBbd2TZmPC4sSZS5eZH4ENhckCGC whpPOO/7MhFYEX6uqpFY46xWDKCqgxvfqdE9XP1xxMBPPnM8l22kmGceLbVsFTAg9f WSKF7jc6sGACBm1cFzJLJwEeWq/iYg2B1dUQ1YCI= From: Ben Horgan To: ben.horgan@arm.com Cc: amitsinght@marvell.com, baisheng.gao@unisoc.com, baolin.wang@linux.alibaba.com, carl@os.amperecomputing.com, dave.martin@arm.com, david@kernel.org, dfustini@baylibre.com, fenghuay@nvidia.com, gshan@redhat.com, james.morse@arm.com, jic23@kernel.org, kobak@nvidia.com, lcherian@marvell.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, peternewman@google.com, punit.agrawal@oss.qualcomm.com, quic_jiles@quicinc.com, reinette.chatre@intel.com, rohit.mathew@arm.com, scott@os.amperecomputing.com, sdonthineni@nvidia.com, tan.shaopeng@fujitsu.com, xhao@linux.alibaba.com, zengheng4@huawei.com, x86@kernel.org Subject: [PATCH v4 0/5] arm_mpam: resctrl: Counter Assignment (ABMC) Date: Wed, 20 May 2026 22:24:53 +0100 Message-ID: <20260520212458.1797221-1-ben.horgan@arm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Version 4 of this series addresses a few review comments and some concerns of the sashiko bot. >From the cover letter of v3: Removing the rfc tag as the resctrl precursors [1] have been queued in tip x86/cache. Due to that dependency, it would be good for this to also go through x86/cache. This series adds support for memory bandwidth monitoring. Please review and test. Changelogs in patches. [1] https://lore.kernel.org/all/20260506082855.3694761-1-ben.horgan@arm.com/ Description from the initial cover letter: The MPAM counter assignment (ABMC emulation) changes that were dropped from the resctrl glue series due to some missing precursors in resctrl. Counter assignment enables bandwidth monitoring in systems that have fewer monitors than resctrl monitor groups. rfc v1: https://lore.kernel.org/lkml/20260225205436.3571756-1-ben.horgan@arm.com/ rfc v2: https://lore.kernel.org/lkml/20260319165540.381410-1-ben.horgan@arm.com/ v3: https://lore.kernel.org/linux-arm-kernel/20260511154147.557481-1-ben.horgan@arm.com/ The code can be found at: https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v4 Ben Horgan (2): arm_mpam: resctrl: Pre-allocate assignable monitors arm64: mpam: Add memory bandwidth usage (MBWU) documentation James Morse (3): arm_mpam: resctrl: Pick classes for use as MBM counters arm_mpam: resctrl: Add resctrl_arch_config_cntr() for ABMC use arm_mpam: resctrl: Add resctrl_arch_cntr_read() & resctrl_arch_reset_cntr() Documentation/arch/arm64/mpam.rst | 17 ++ drivers/resctrl/mpam_internal.h | 6 +- drivers/resctrl/mpam_resctrl.c | 308 +++++++++++++++++++++++++++--- 3 files changed, 308 insertions(+), 23 deletions(-) -- 2.43.0