From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 0AAB1503BF7 for ; Mon, 28 Sep 2026 22:15:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790633756; cv=none; b=L5cOsYfMbmEgnrg6DsyEwUEEDb8V0xguOghKen2Giw0qbDH7ylxxb8IcRILFwCMhjVfCKLZjDFFVh2irGaoSU15T50LXVs07SnN6bXqVsS3zhB/hPl51JF6i3hUKdm1cMuUIYe5tP8PfswMvmUrncR0wkPV3KAnri5M01frseFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790633756; c=relaxed/simple; bh=kp93+gtgHXSwp+aL8jHFZV67+uto69B5Gs1/WccKhuc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S0BouhIS+JY4Zl69PFZQX+iTY5j9eHlfJyytmoa5dlJ8pkp5ZnHAs+2jVW1r4skAfROrIIJqmei4yuWJDBZPiHhpNT5XKsu1u+3UuedC84mVcK2PeUqSwwRzpmdKEN3nC6te3c6FWwDsKGWfj663ot6ZnbBpKYTIWkkG+HSrXCY= 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=gcIWiQ0a; arc=none smtp.client-ip=198.175.65.17 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="gcIWiQ0a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1790633754; x=1822169754; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kp93+gtgHXSwp+aL8jHFZV67+uto69B5Gs1/WccKhuc=; b=gcIWiQ0a2qitx26Jzqc3/niGJDEV2c5bOabPXxBrASjRMYuXOI4qf6BE hS33und2OTKmDx5QeNnxxFSPX6ZpqbpTUOkEzFUYLiaw9LGcoMPGA7a28 P+gBmdH/E/DOZ+P4vxUCA6no18tIPwh0Ewh3DU08GKtQ2fSfpqL9VUTwE 8Cj2i7gTIlnzXyPR2r4evc0ZOyEeDkqshRMBO38seGYpaqIEAavCDH/TL aOb7jFWz6/Z33XQKvawNFWsRMoxGZU8xH5s59Pmd6BNVf1ySC/1gLOzpN mFbS+hjzQUdGyx3N8FELK7Sm1MBRElUL2HpvlgTUHkAOz10xXYUfhiIIS A==; X-CSE-ConnectionGUID: zo0uftNOQKGXsBXoTYjILA== X-CSE-MsgGUID: hYnLbfc+QzCoL0ElOVFsqg== X-IronPort-AV: E=McAfee;i="6800,10657,11919"; a="90387365" X-IronPort-AV: E=Sophos;i="6.27,129,1787036400"; d="scan'208";a="90387365" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2026 15:15:21 -0700 X-CSE-ConnectionGUID: FQK3k0jXQ7meZ2dsilGjAg== X-CSE-MsgGUID: MntacW2+SIGUGFhbaJiv/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,129,1787036400"; d="scan'208";a="274685547" Received: from lstrano-mobl6.amr.corp.intel.com (HELO agluck-desk3.intel.com) ([10.124.222.143]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2026 15:15:20 -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: Christoph Hellwig , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v13 23/25] x86/resctrl: Require 64-bit x86 for resctrl support Date: Mon, 28 Sep 2026 15:15:07 -0700 Message-ID: <20260928221509.68002-24-tony.luck@intel.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260928221509.68002-1-tony.luck@intel.com> References: <20260928221509.68002-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: 8bit Intel Application Energy Telemetry (AET) provides event counts in 64-bit registers in MMIO space. For accurate results these should be read with a single 64-bit load operation from the CPU. In preparation for the removal of the separate CONFIG_X86_CPU_RESCTRL_INTEL_AET configuration option, move the X86_64 dependency to X86_CPU_RESCTRL. This is in line with Dave Hansen's proposal[1] for an addition to Linux documentation that details reduced 32-bit x86 support. Signed-off-by: Tony Luck Link: https://lore.kernel.org/all/c6ab0c24-8931-4f0d-9be6-23498ab4c38b@intel.com/ # [1] --- v13: Re-order tags s/This in line/This is in line/ s/the state of/reduced/ --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 15fd9ec5ecac..06b5d0c4633e 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -518,7 +518,7 @@ config X86_MPPARSE config X86_CPU_RESCTRL bool "x86 CPU resource control support" - depends on X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) + depends on X86_64 && (CPU_SUP_INTEL || CPU_SUP_AMD) depends on MISC_FILESYSTEMS select ARCH_HAS_CPU_RESCTRL select RESCTRL_FS @@ -541,7 +541,7 @@ config X86_CPU_RESCTRL config X86_CPU_RESCTRL_INTEL_AET bool "Intel Application Energy Telemetry" - depends on X86_64 && X86_CPU_RESCTRL && CPU_SUP_INTEL && INTEL_PMT_TELEMETRY=y && INTEL_TPMI=y + depends on X86_CPU_RESCTRL && CPU_SUP_INTEL && INTEL_PMT_TELEMETRY=y && INTEL_TPMI=y help Enable per-RMID telemetry events in resctrl. -- 2.55.0