From nobody Thu Apr 2 15:36:10 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B0335478D for ; Fri, 27 Mar 2026 23:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774652561; cv=none; b=opTLWcLxoDyMYuximpvlpf/d2+V/ru5RiO3k3l7l6uGdSL2Cxoi2QwLPHK51Jax1kfE+nAUnzV8ne2gI8DqPBLQofUZ9AtsELmtCs9XCI7QhUy4nEuQhaxVBfYi2du/nFbzXbDyemr+RpmfQ/3PvAsFwUY84vLcW6I6HGIYUNzE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774652561; c=relaxed/simple; bh=8zNQaI5+5hl82nEhqMvTbAX163F7y9T3+XZ35TcbybM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rq5RzqqzkopbutAmJJeTbXP77rsY6nVa/FcPNsZJTUesTxjT7tqKKciPVZEsEE1WjmjJN1scBRLgjhlh5w1E4/g4mt/WMlCKoy2KfBYCcfQXaR5BmUba9CM9WCygj242JxQ7jIXN65+faj1kFiYN9ia2JqTOwyMpoFJUvMf6jUM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Nmi2f77d; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Nmi2f77d" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774652559; x=1806188559; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8zNQaI5+5hl82nEhqMvTbAX163F7y9T3+XZ35TcbybM=; b=Nmi2f77dOOfca7Q8cUmQmbuHHyQM6dqCZ6oW3hPR6x2PyLUYbLrwJZHi 5wq0mM8JF0U05Y0X31qcDtnEDJFYIAPrT4cvsbb1mKayqNL9VJSQ0t4sg Gm1Tyj6MdaMb3wGBnA64td7drG23CLTg4xZ7p3hl9D4TMvAOxic6WRRsM Iq8UXnvzxcsXUjtsEDmuL14d1DDXpqJAgjUfUn8JB5KcbvBIrRGhyWjrR jbasmoAlZUmvHWCny4U3kkcLxzoJ2pM3uAaQ2LcRmnRAiVVX8CYTEEVxg r3eeOgP8HxhAglAzf2zASXMb/yBBxI77oNgGM3l2rt+TWpd4f8ryp3Hw3 g==; X-CSE-ConnectionGUID: 6PdQio2LRLyExX+ZVMKP5A== X-CSE-MsgGUID: iT6xm+LaTpaI/7yOvWMVsg== X-IronPort-AV: E=McAfee;i="6800,10657,11742"; a="75613251" X-IronPort-AV: E=Sophos;i="6.23,145,1770624000"; d="scan'208";a="75613251" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2026 16:02:38 -0700 X-CSE-ConnectionGUID: 0rknclz9TjWW7WWKNCQqfg== X-CSE-MsgGUID: pErcDJFBRgaZT9utZpKCfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,145,1770624000"; d="scan'208";a="218816023" Received: from rfrazer-mobl3.amr.corp.intel.com (HELO agluck-desk3.home.arpa) ([10.124.222.83]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2026 16:02:15 -0700 From: Tony Luck To: Fenghua Yu , Reinette Chatre , Maciej Wieczor-Retman , Peter Newman , James Morse , Babu Moger , Drew Fustini , Dave Martin , Chen Yu , David E Box , x86@kernel.org Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v3 1/7] x86/resctrl: Drop setting of event_group::force_off when insufficient RMIDs Date: Fri, 27 Mar 2026 16:02:02 -0700 Message-ID: <20260327230208.18094-2-tony.luck@intel.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260327230208.18094-1-tony.luck@intel.com> References: <20260323163452.25044-1-tony.luck@intel.com> <20260327230208.18094-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Setting the force_off flag does not matter when AET features are only enumerated once (on first mount). In preparation for enumeration on every mount, drop this because it overrides user request with rdt=3D boot option to force enable a feature. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/resctrl/intel_aet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/intel_aet.c b/arch/x86/kernel/cpu/= resctrl/intel_aet.c index 89b8b619d5d5..015627401ed2 100644 --- a/arch/x86/kernel/cpu/resctrl/intel_aet.c +++ b/arch/x86/kernel/cpu/resctrl/intel_aet.c @@ -214,10 +214,8 @@ static bool all_regions_have_sufficient_rmid(struct ev= ent_group *e, struct pmt_f if (!p->regions[i].addr) continue; tr =3D &p->regions[i]; - if (tr->num_rmids < e->num_rmid) { - e->force_off =3D true; + if (tr->num_rmids < e->num_rmid) return false; - } } =20 return true; --=20 2.53.0