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 B2A4D145348 for ; Wed, 25 Feb 2026 20:19:19 +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=1772050761; cv=none; b=aZnAgfMhUJlg18NaCC2DYpBbRpBj4p2bsrvAekJenRxmyMqN7bMkM5a0vYKILvhGn3x0qzwNh76ylPYRSY28/h7/nMy+oKYq/o8Fxbe8aPwaK2SwvgWvbM/VrESluoZhWbp1HLplsqGIkmNs51Tm92XroPJJsWdBNAVWSeSPui8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772050761; c=relaxed/simple; bh=/uBu+z+ey7oON9Xepd3JcLqparGjb8pW+btSYd08bN4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mLEgF+PPMnJ5DZrqBLuAYJWvpUsn/9LXmLNTM5dqZ9B+ZRme2kKsL1hPmN9OArspICySQ42Qoy77yn48e3us7wiqI0qjvcLPtITzrLUsfOI9s1rxI+iQWBPitenLaLSZL5AqAwddL4Ht/jg8cOk6uITwadfkbPQk9V0Au9bt7+s= 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; 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 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 7797015A1; Wed, 25 Feb 2026 12:19:12 -0800 (PST) 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 967813F73B; Wed, 25 Feb 2026 12:19:16 -0800 (PST) From: Ben Horgan To: linux-kernel@vger.kernel.org Cc: tony.luck@intel.com, reinette.chatre@intel.com, Dave.Martin@arm.com, james.morse@arm.com, babu.moger@amd.com, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ben.horgan@arm.com, fenghuay@nvidia.com, tan.shaopeng@fujitsu.com Subject: [PATCH v1 0/4] x86,fs/resctrl: Pave the way for MPAM counter assignment Date: Wed, 25 Feb 2026 20:19:01 +0000 Message-ID: <20260225201905.3568624-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 A little bit of preparatory work to get ready for MPAM counter assignment. Resctrl gained support last year for counter assignment for AMD machines supporting ABMC. Tighten a few things up, that weren't needed for AMD, so that the MPAM driver can emulate ABMC and hence support counter assignment. Based on v7.0-rc1. The last patch [1] is only there to resolve the conflict in the case that the mpam resctrl glue series [2] is merged first. * arm_mpam: resctrl: Use new signature for resctrl_arch_is_evt_configurable() [2] https://lore.kernel.org/linux-arm-kernel/20260224175720.2663924-1-ben.horgan@arm.com/ Ben Horgan (4): x86,fs/resctrl: Make resctrl_arch_is_evt_configurable() aware of mbm_assign_mode fs/resctrl: Only show 'event_filter' files if events are configurable fs/resctrl: Disallow the software controller when mbm counters are assignable arm_mpam: resctrl: Use new signature for resctrl_arch_is_evt_configurable() arch/x86/kernel/cpu/resctrl/core.c | 12 ++++++++++-- drivers/resctrl/mpam_resctrl.c | 2 +- fs/resctrl/monitor.c | 4 ++-- fs/resctrl/rdtgroup.c | 8 ++++++-- include/linux/resctrl.h | 2 +- 5 files changed, 20 insertions(+), 8 deletions(-) -- 2.43.0