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 379AF390230 for ; Tue, 7 Jul 2026 16:24:54 +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=1783441496; cv=none; b=BjemjUOTSelcI0zLSoQMXr6VV1gn+9znAYqmCX3GoJ0nAJ5/+dIozbSDdfMf8Wsfk/iEA57FwNKs3zgbd6wnxaE+ARsWBHg2GAJq1vC9SdAe+qkEQvaDmhlxIEOWaTTJaSYlFyrI2Zovu5Aqy3cypiqI1EoLD7AlkHhGbO6+yGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783441496; c=relaxed/simple; bh=4P+3DkTskZ3SzXU8iwjdxVJpzAtgfoTwLqWoTi3eE2U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K4agir0ugFemg2W6zI99FEcQY9nGJeXLu2M0+08KNEWwPSYY03j+1BSyxq9FuQfDmXVl7yTwJbz7nkhUpP3+C/JcFmuMxGHhDpnxvAhPPHyoRRKMfHxd9bUwiZzAHwCk9hqtWuszje7I0+ORpMEKILVLN4kteJFg4frwkWw2aBs= 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=dS0uGEhQ; 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="dS0uGEhQ" 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 437611AC1; Tue, 7 Jul 2026 09:24:49 -0700 (PDT) Received: from e134344.cambridge.arm.com (e134344.arm.com [10.2.212.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4B4993F7B4; Tue, 7 Jul 2026 09:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1783441493; bh=4P+3DkTskZ3SzXU8iwjdxVJpzAtgfoTwLqWoTi3eE2U=; h=From:To:Cc:Subject:Date:From; b=dS0uGEhQ58lZgaVSPETIXnBUAtVxZrpxk2nuSmg/fMRWDKapv6Uxesuer9B+RrCNg IvWnnwTJirTQm+lLC6hOpOE9hWnVFy5oINBvy9TSs5Te6xo6ovuFJHHM8XOdBp1YDc 1JYRMyN25dZUmvKqElQzK+vZgndStmHd9l20lD+o= 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, leitao@kernel.org, kas@kernel.org, puranjay@kernel.org, usama.arif@linux.dev, kernel-team@meta.com Subject: [PATCH v5 0/5] arm_mpam: resctrl: Counter Assignment (ABMC) Date: Tue, 7 Jul 2026 17:24:35 +0100 Message-ID: <20260707162440.12132-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 5 of this series addresses a few review comments but is pretty similar to v4. The precursors in x86/cache have been merged so there is no longer a need for this to go through there. It's likely easiest if this goes through arm64. This series adds support for memory bandwidth monitoring. Counter assignment will be used for all platforms with memory bandwidth monitors rather than just those with insufficient counters as originally proposed. 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/ v4: https://lore.kernel.org/lkml/20260520212458.1797221-1-ben.horgan@arm.com/ The code can be found at: https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v5 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 | 22 +++ drivers/resctrl/mpam_internal.h | 6 +- drivers/resctrl/mpam_resctrl.c | 318 +++++++++++++++++++++++++++--- 3 files changed, 323 insertions(+), 23 deletions(-) -- 2.43.0