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 F0AD32F8EA6 for ; Fri, 8 May 2026 16:23: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=1778257435; cv=none; b=UB0AZA88DpxuNJdru71g6UgW/Rd3q906PWu1dQ339EEtskzQa80EMUo8iFVtiDFJ4QKbgSdghJ44joSqFgrIl875Zc6lGmnLILhUIR+6pP8jVVE9Y0DiAvW6P7oa/yW36eCeXgJxe0qIqElWl5fDpFKcpCcisxKwj9eBOyom+xs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778257435; c=relaxed/simple; bh=IiRqUc/P2T/3g4My2DD8Q2YomQC99W+YNsG6oKtZfAE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SoKNbOu4Rbl+gzuTEAyfmBQ+I3c/pyA1jEKNfFknNTWYU4G1FFBOB3ZEfBeYq+xgJVC9QGQqyURUzCwYfYsvpoIZc3IHkEuBuwpZkX8Wr+eAQYzxHxdkq1kvcE8xAPCSnaa6yPLi3CvcF8J6Uz2u0deTSZXw+akg7wx4w0TlRes= 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=V3OMOoSR; 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="V3OMOoSR" 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 EF4661E5E; Fri, 8 May 2026 09:23:47 -0700 (PDT) Received: from eglon.cambridge.arm.com (eglon.cambridge.arm.com [10.1.196.96]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5717C3F763; Fri, 8 May 2026 09:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1778257433; bh=IiRqUc/P2T/3g4My2DD8Q2YomQC99W+YNsG6oKtZfAE=; h=From:To:Cc:Subject:Date:From; b=V3OMOoSRpkyATXE6zQfQwT9ug1dW5IJRov9FoyoAo/lc+g3UOxmg6vDoWDYDcOWSC Qb6nJ16DDlujd8i/vd6XmE0F+4miYB1syIFFG3f5D/CRAgp5PvwvyoeNPQdgXLbpLq fLIg6KNlS0+g5dyzNy3ZyCJFxAkeZ0c27zop9eyA= From: James Morse To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zengheng4@huawei.com Cc: wangkefeng.wang@huawei.com, xry111@xry111.site, catalin.marinas@arm.com, yang@os.amperecomputing.com, reinette.chatre@intel.com, will@kernel.org, thuth@redhat.com, ben.horgan@arm.com, mrigendra.chaubey@gmail.com, fenghuay@nvidia.com, ahmed.genidi@arm.com Subject: [PATCH v3 0/4] arm_mpam: Add support for the MPAM v0.1 architecture version Date: Fri, 8 May 2026 17:23:37 +0100 Message-ID: <20260508162341.3762549-1-james.morse@arm.com> X-Mailer: git-send-email 2.53.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 This is a v3 of Zeng's series to add support for MPAM v0.1. Included are the changes Ben and I suggested, and a couple of bugs found while testing it. I've put the bug fixes first as you can hit these with mainline. The patches for v0.1 enable MPAM on those platforms as this extra ID register was missed. Based on v7.1-rc2, and can be retrieved from https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/arch_v0.1/v3 Thanks, James v2: https://patch.msgid.link/20260203095406.6437-1-zengheng4@huawei.com v1: https://lore.kernel.org/all/20260104133434.1887677-1-zengheng4@huawei.com/ James Morse (2): arm_mpam: Fix false positive assert failure during mpam_disable() arm_mpam: Check whether the config array is allocated before destroying it Zeng Heng (2): arm64: cpufeature: Add support for the MPAM v0.1 architecture version arm_mpam: Update architecture version check for MPAM MSC arch/arm64/include/asm/cpufeature.h | 7 ++++++ arch/arm64/include/asm/el2_setup.h | 4 +++- arch/arm64/kernel/cpufeature.c | 15 ++++++++---- drivers/resctrl/mpam_devices.c | 36 +++++++++++++++++++++++++---- drivers/resctrl/mpam_internal.h | 1 + 5 files changed, 53 insertions(+), 10 deletions(-) -- 2.53.0