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 0608135F5E4 for ; Wed, 6 May 2026 08:29:05 +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=1778056147; cv=none; b=G9E8lqCnQCoqJdFAMOH/eLQA3G424GODGFCIDBLYhCpD4bCLyjriJ9z72gBQilMcbHmVnfW7VHeiqKXLUvcyT8uTDaGVSkDaRNacOwjnNv9YOVvOYm2mHAvgYNt3U0BqOFOzxSMHpSvPjEeYsMQfUNeP+P5I2MlpzBhHa/hKjXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778056147; c=relaxed/simple; bh=B6hpbOhhOA3kW0crQZ4j7y3VmiqxanKbeb8XEpik8k4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XC/POFIRgLnZywz6OCD9wl68BMQYnMiJUjXzYX7GOQUrQUESv8X/DZwFjjmJOxAw6wTtcDC8AdfaQCgK01qLPtB3N3ucgjUH6s9TJQck6ei9Jo8tljYLCNdToGRBc+yuVw8TCv/o4NcBja7Y7ozCvKZazZ+FOL0H88G7xsNel98= 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=QX1gHbhO; 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="QX1gHbhO" 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 156B21A25; Wed, 6 May 2026 01:29:00 -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 A1C043F836; Wed, 6 May 2026 01:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1778056145; bh=B6hpbOhhOA3kW0crQZ4j7y3VmiqxanKbeb8XEpik8k4=; h=From:To:Cc:Subject:Date:From; b=QX1gHbhOf3fjgW8oYEN0cMHFoQekJhy/4rx6R+uRqKSSb+lSurCNwUNlJ8xcANjdJ CPq6F0UKUHi7U0ZbIyYJBV6iQFff62VBp6zTly46qq/V+YZ3hTCy5Q8vUpbBJF8fzy /S5Ccw1nvC8UIkjYiMT+U3imP51g1eP3Ah3AClS4= 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 v7 0/7] x86,fs/resctrl: Pave the way for MPAM counter assignment Date: Wed, 6 May 2026 09:28:48 +0100 Message-ID: <20260506082855.3694761-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 Essentially a resend of v6, just adding a missing commit message separator, ---, in the first commit. All patches now have Reinette's Reviewed-by tag, thanks! Cover letter from v6: 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/ v6: https://lore.kernel.org/lkml/20260505155741.3591201-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