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 8DCD048AE01 for ; Tue, 5 May 2026 15:57:53 +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=1777996675; cv=none; b=iQZhxJa87I3XzP4JLZwSe9wzGGmo2qRz8bCHA4Ewy0EBC+Vkq0zhPaw46n4axYseSG96eiMmiBAGdd+Hl5ZcCgAJIVibqcYLpfNCO9RCynzO24ULo7c9/bpVTfvrffZOID+mu6641zCWcmB4Y/7lXFFEqr66bvj1cvLO9gf7M6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777996675; c=relaxed/simple; bh=986DP0GSpuBq5JTSkbsgy/B95G8SFBdnLhf5X1uLOrU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oofXtBo8TYGOqDO5oX1HFWn2NQPtXlkeFApNn2k+o2T5lYs7WUksBuTPdmNFhXO6gYShzRJn3iEeg1vZ3oJ3hIEqwW93LagAh5VwAw7yWRIfFwHN9WNEndv58Srz7AEs3+pFs03z2DZQSsOAyyYcmBab2/xQuINbK5nzt8CT8jw= 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=f1eysS0z; 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="f1eysS0z" 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 AA0D92681; Tue, 5 May 2026 08:57:47 -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 E8CE73F836; Tue, 5 May 2026 08:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1777996673; bh=986DP0GSpuBq5JTSkbsgy/B95G8SFBdnLhf5X1uLOrU=; h=From:To:Cc:Subject:Date:From; b=f1eysS0zHPfCyAkvffraf0udVwPQthBcsHvtMfhlpMXklthiAOvBpl6sHBoFjGpJa v8SlxedoUR729P9/8ezb3DyLt2jzIuo2sEjhBpVtHECboGDEY/Bmc09l/B4HIJOZKs 2HhpkC3c2YdzsS6msQaIxcWuwrlYUdmqzycLl+2g= 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 v6 0/7] x86,fs/resctrl: Pave the way for MPAM counter assignment Date: Tue, 5 May 2026 16:57:34 +0100 Message-ID: <20260505155741.3591201-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 No functional changes from v5. Just comment and commit message changes based on review comments. 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-rc2 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/ v5: https://lore.kernel.org/lkml/20260428130422.2287302-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 | 36 ++++++++++++++++++--------- include/linux/resctrl.h | 18 ++++++++------ 6 files changed, 77 insertions(+), 32 deletions(-) -- 2.43.0