Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1088315lqb; Wed, 29 May 2024 22:54:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfBZ55MUFFanmnw7tlkpZOLyUYPszKOyAijr+MM7jAIqTzRPzWbGXGj7cUXJ6bmjNt8xradsKWMp8xD9iAC+G7BtVdJX4ai2g69UFN6w== X-Google-Smtp-Source: AGHT+IFg6fUVLhgSeicYba29ZdK9wq0u1dYBtxhCxSeWxv+vlbU60oIT56qBrJlpH5BfIiKr1ck9 X-Received: by 2002:a05:6214:4906:b0:6ab:7088:c0ce with SMTP id 6a1803df08f44-6ae0e75a271mr14924156d6.2.1717048453503; Wed, 29 May 2024 22:54:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717048453; cv=pass; d=google.com; s=arc-20160816; b=MRT00vOrmKg2cZr27VdiGj04LNoRXS+I9BCGuz/XqN65tXHLRYKeIGJ0ozL6etx4Fi /iMan7H0/Ks3MbBL7j4pOp6wNerOvGHQvl/8awk3GZ2KirCgIIosOoELNujOxNa+KDS9 /iKQpEc/Q0lP7zmjYEAFxCTtAtH6IsyoLKc4NUdf0Egn4iP0xsuMw6ctEGUkdoely/6O 3JZBko9skkXMZ2icTQLs2aUZjiHKKpt7e7U0C1LjriVZbMq8BW+ZK28RpcqbpMCkVE+T GBv4V2UuPqMSPOxGLWtsmAk46RF+FZMoBkoCiQAh0RZEVWKrYbIcDIuSkjIZuWbjtlIq MzKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=HK9tfoqM+HE/e9hlePx7F2+xu+mQiY+iaDsbQIPKYu0=; fh=YRuTcczFk5VuWtjkr6RhJllNtPCFtsUO+CKY3+ZQVDc=; b=H56PoTgWQNH3vfT49Cy/u03YNbHRuM1S8+R6euTwq24XVwGKtZ8Fy44hL2tWlBpU5S S3lkHp7kY853yq78wFKbOqCmrWiZCS7Jw5tZ6DVjmBniIzryC5bz4Gspu6jbJfUCtXv7 m757DFzAxsj2/Fw6JWyZPeI/VLE12Nh8eRn5SeMev5GUpEvXmbLoHsu4fjHwunKQvCFH NtrF2GIjDTvP+CIdbKRKafYwR5vyw5yluI0bUya2MPnjme1i9zRB/zqf8EJ5YSQ/FXPX M5iMQ4Gx0M5YiR1O44l9U82It7siQYq3uqPweFnuwXNqzjA6+dYP9rq3bpZ3wq/PaRUg YCXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gGm07yiO; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-194960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ad79d127adsi104611466d6.354.2024.05.29.22.54.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 22:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gGm07yiO; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-194960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 095F01C21A5F for ; Thu, 30 May 2024 05:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3B4C143723; Thu, 30 May 2024 05:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gGm07yiO" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 9D8142D792; Thu, 30 May 2024 05:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717048437; cv=none; b=D1X5uSLvlUKwEmqPqicYf1XY3MfA9BXIsNTPqZJQu+LQAfLwd/p+wnuy/HBsAC+B/yUuYSff6VRSm6NM90NoJzNsMNjWv8vGk4KpVesa90y89whtkBmvN7a4RFoPNYJEawyuA+oMX3wE2BzMpFX4KiKTHopJKYfw0ateNz10dDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717048437; c=relaxed/simple; bh=pv7tQF2VXlehw/a5OV5HZ5dqYAvhntJPqQt7dKF48MM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gtpP3IvqBG5fTlUd1nEcIuqe0dSAC0XGM8UN4yvwLdrndUJbK5AkMte81Mg+Gu/FuwQSVvg/dvndbPIKbKPSQrSq4OyOnPCNBTwNXboNEOWyJ5yGkTFj6rKadt99zxEjL9w0aRkWZLqpDeyAOj1Ae7pG5/Noo0b5ga1j1owd86g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gGm07yiO; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717048436; x=1748584436; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=pv7tQF2VXlehw/a5OV5HZ5dqYAvhntJPqQt7dKF48MM=; b=gGm07yiODf6VKrEuXkVuSS0urjiN5kAwhRZIj9t3b8lfWPyOGyFEzf1h 7ChLxaYeC1xccvjoVvJN3U76/1XcC76i8O/h7On5YuiDzyrFfYxws9ntE xvxFkQIA0/gtiY//1pt+OrRNTh1cgP3GtuFqHYWDjqDiQ9dPh4nfkuWTj W43g3NArLPKtBLyhjC9jsnsHicpunSZ6V2ZXDkzuusa5SR73EdpNKOzhg kqOuB6Xp8YcKrBJ8ziXWs5bc7vX/F7ndihGO3CVLNhjqhFeac1M2jm0EL SZIts+cS7+b/WG6brSs4wYq/vqOq8xHaU9PNa//adPu4jnyZL1pVhm0Vc Q==; X-CSE-ConnectionGUID: i5EZsrR/R3q47OXf13r09g== X-CSE-MsgGUID: dJ2qmt6ATXab4aR/zKI/Og== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="17296456" X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="17296456" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 22:53:56 -0700 X-CSE-ConnectionGUID: i0+ToGMfQk6+wsnZ+IpKOg== X-CSE-MsgGUID: 9Vi8g3xJQMKB59JXkE/gDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="35638589" Received: from spandruv-desk.jf.intel.com ([10.54.75.19]) by fmviesa007.fm.intel.com with ESMTP; 29 May 2024 22:53:54 -0700 From: Srinivas Pandruvada To: rafael@kernel.org, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH] cpufreq: intel_pstate: Support Emerald Rapids OOB mode Date: Wed, 29 May 2024 22:53:30 -0700 Message-ID: <20240530055330.1279381-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.44.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 Prevent intel_pstate to load when OOB (Out Of Band) P-states mode is enabled in Emerald Rapids. The OOB identifying bits are same as the prior generation CPUs like Sapphire Rapids servers. So, also add Emerald Rapids to intel_pstate_cpu_oob_ids list. Signed-off-by: Srinivas Pandruvada --- drivers/cpufreq/intel_pstate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 4b986c044741..6b6d47d3ec02 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -2404,6 +2404,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = { X86_MATCH(SKYLAKE_X, core_funcs), X86_MATCH(ICELAKE_X, core_funcs), X86_MATCH(SAPPHIRERAPIDS_X, core_funcs), + X86_MATCH(EMERALDRAPIDS_X, core_funcs), {} }; #endif -- 2.40.1