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 E9D5C3F0A9A for ; Tue, 28 Apr 2026 13:04:32 +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=1777381474; cv=none; b=Y4PNj/jwSS7P/UYTb40WBYK3cwnegBYMV7+AkYAkdttjnisrjE3DEOVa7cSpUPveTPO8zGIqqxSXJXgZA52OnEXvGSBG6Vs1ntovOVl6gp6Vuu+4hHONIpNLnsvpx7w25ldMSlzWWY+YBUrWRiZFigj4J0gXf/Xcsle9a6ggU7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777381474; c=relaxed/simple; bh=fWfw/jPqu6ZUB7MGFR17rAlgm5ik5ZZz6/LwRRAXMEc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ukDcuUiqYLWSvGcragmODoN22+KDpWQDNvjmlRHAuvIVvv6HQVJl4N9LjckGXBVNtGDcJQUt4OF2I51Ota5WaqZNlPgJTXtCorC7QgtXdpPG1D4nio1dFpL9SFNaXByaZRMWygY+6ToSRzxm9f6PV+O209TLaUv8ilszKBdyuns= 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=pleAUUK4; 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="pleAUUK4" 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 C3D432BCB; Tue, 28 Apr 2026 06:04:26 -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 244B23F62B; Tue, 28 Apr 2026 06:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1777381472; bh=fWfw/jPqu6ZUB7MGFR17rAlgm5ik5ZZz6/LwRRAXMEc=; h=From:To:Cc:Subject:Date:From; b=pleAUUK4xCTywOm3JbYvpiveTgVUlNvIxVhD2f5Mml9oxZDnaCepVcILoRG9rAzWL 46LN2+pFxi8i+JnY+fWmEEJZP6V/0oSlIenYDKXWM+C5efi6D6UpH+dFaaaL1bBCC4 QR2T+UbsxxuOaDyWFhmI4rJIbWs7zzK/7VXxXqvE= 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 v5 0/7] x86,fs/resctrl: Pave the way for MPAM counter assignment Date: Tue, 28 Apr 2026 14:04:15 +0100 Message-ID: <20260428130422.2287302-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 Some small changes from v4 addressing the comments there. Changelogs in patches. Description from a previous version's cover letter: 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.1-rc1 v1: https://lore.kernel.org/lkml/20260225201905.3568624-1-ben.horgan@arm.com/ v2: https://lore.kernel.org/lkml/20260313174524.3482767-1-ben.horgan@arm.com/ v3: https://lore.kernel.org/lkml/20260319162225.378485-1-ben.horgan@arm.com/ v4: https://lore.kernel.org/lkml/20260326172551.1553871-1-ben.horgan@arm.com/ Ben Horgan (7): fs/resctrl: Tidy up the error path in resctrl_mkdir_event_configs() x86,fs/resctrl: Create 'event_filter' files read only if they're not configurable fs/resctrl: Disallow the software controller when MBM counters are assignable fs/resctrl: Add monitor property 'mbm_cntr_assign_fixed' fs/resctrl: Continue counter allocation after failure fs/resctrl: Document that automatic counter assignment is best effort fs/resctrl: Document tasks file behaviour for task id 0 and idle tasks Documentation/filesystems/resctrl.rst | 22 ++++++++++++++------ arch/x86/kernel/cpu/resctrl/monitor.c | 1 + fs/resctrl/internal.h | 2 ++ fs/resctrl/monitor.c | 30 ++++++++++++++++++++------- fs/resctrl/rdtgroup.c | 25 +++++++++++++++------- include/linux/resctrl.h | 18 +++++++++------- 6 files changed, 70 insertions(+), 28 deletions(-) -- 2.43.0