Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2746483lqo; Mon, 20 May 2024 15:48:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVF0K0Xrby9IHhctjjdaQX0rkLrlskb+LcrocO3ZaAY44I7rr5+OhsP71RGhQwS1ZkgdDNPOeX9S0eaYc12VOvx64DZUFEPE+q9ylQd2w== X-Google-Smtp-Source: AGHT+IF+uWWzwnAIZ7M8H2NsAbsmQ89ldm7yjFvivKl1s/b+EjqLQXQO40cRkgvP7+tyXfSVDIHA X-Received: by 2002:a05:6808:eca:b0:3c9:6ef1:f0d7 with SMTP id 5614622812f47-3c99704c3c4mr35137643b6e.20.1716245294795; Mon, 20 May 2024 15:48:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245294; cv=pass; d=google.com; s=arc-20160816; b=nVkJOpNNoM1rAl7ZlJcH0GIeUqrX5VeXIIC+mMHqzmwHtfm0o94tTcoTE6kyl3AynG wEyX4eX1MFyCuapkRGBnpDQcjoo95EsNBTgxUdiJUls2LNbu78yfm2TGdc6+ImJVKwXY akE7MYbLgEBnWDouLS8DwKgHUUVPsY3KZKkLKW0kWeX5hT24qX/ml92DUt8gxuD8j1a3 aEkbRYIeZWv8Abh6B6BZzJSMdAFIR9504LYMt+SHP+e3y8ZjbnvUTB+n6aAlf/CuQkMB zTEXJOpSUSxkXM8K3migHWu0G531NPGR3fpdFViFK4rB9r6mazlsYxgEtQdelIc+6ZUi zdTw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=oe8msNoh/Hs/FH8i506+mB6b7RmFhO50gnQHKnI7GsQ=; fh=bi8NKHgofPeNwPnaBiHsxF9WnXRoco6jP3QdAT+OxAg=; b=ZztRvm4vShMXZPTgSKJ3rc2zBB2cj02rlN0U1yOG8ykTSfr5MGYmXH8k/GOEkjQ5Ot 2JplqIaVj021czQDg1fWs/Ldl0Yj7rj9qwvCJepza2IGZe3LlYtClEX4ekRJXiD1+6eD 2hBfeQSNL7qd9DmAHCgTURqBJJoUj2n20sQMx8u9vfXa0I38xSMQHySwmjBlizYEYbXu EQ1dZ++zSmw7hkbKUtbBTk9PasrKZmFoc+NjmUO3bqcI59oACmBg3zEf3r3uwHn0nMXM lPjSJwb7HKvhqIeL1N0Qqjm88+r3DSkrhrhj1ITLe9SBLfgRnTn8jt78p5X7Bt5ZB2KO FY9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iPcvydDh; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-184238-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184238-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 af79cd13be357-792bf33ac6bsi609816185a.415.2024.05.20.15.48.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:48:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184238-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=iPcvydDh; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-184238-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184238-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 8549B1C21044 for ; Mon, 20 May 2024 22:48:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6415013AA54; Mon, 20 May 2024 22:46:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iPcvydDh" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 5F17F13A260 for ; Mon, 20 May 2024 22:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245203; cv=none; b=TJS0CvgdFufiyW5LpBlmYT3kEf/WAPsJijA7i5SNUyjSWyis0kns6QlR2oDBkPK9n8Md/oEY8CQVjK7Sj8+wgT4m0PAoiFbBNB93vfUYRSNtquTRmASEjPWl9W9oNP5JrY1HVngCQcjx+rWUuCkqq5P2445UPodXNVB1vvyj4L4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245203; c=relaxed/simple; bh=N7BO8ma+2BwG4UD9NIGMDLMhLyzkgYBOUd3reNFktso=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=svHwcpF9kt3KVSbpjt4Wqu27E8qbYgH4rD7ZYlwzPLuczF2qbFGJRmY3j/dyvBNncCw1ExVhJjFCctsK7watd9XvkhMz8Wbd4bDMq9tCueChR66D+44UZZf3lLPZlqHW6BnT7TyegI8geSjnXJioMPX1BoDr8b2InrkUoXOFtKs= 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=iPcvydDh; arc=none smtp.client-ip=192.198.163.18 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716245201; x=1747781201; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=N7BO8ma+2BwG4UD9NIGMDLMhLyzkgYBOUd3reNFktso=; b=iPcvydDh1V9AACKSsjyq7jhYxz2K7cSeMWb+fw+8vO0CBq+Z3UftnR6v fhgW7jRRV1hY0aXK9TfnJc0ExAsoM8QyQLnV70MbRHo5X7GwUDOLQdmCv lfkEprY90QhTqXvUWtBNsfgsn7T6CVBrf+og51D3qCfb67JrrvWexZoxY Pt2lMzE3r8mv+WBM5hPWEbK+PfkCGmmJRaozOMbPxdypwn3Rr1K7jRWMN 4zKGk7mBT3mZTju1tc5IvI4t8OZkk5gZjNkhSrWp0m6XPmaGQjeZU7Azo 7baE/A4/en4VgkSV8wEvuEwonDypj5sAJVocmflpzU54smjH9maDcmzka g==; X-CSE-ConnectionGUID: 18AAiIsNT6aBD9LMO7kopw== X-CSE-MsgGUID: rUa0+RpDSEeP4CqXstYtsQ== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199611" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199611" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 15:46:36 -0700 X-CSE-ConnectionGUID: rzvZAkC1Q+iwxdWL6KBEZw== X-CSE-MsgGUID: q8bHIfDuRHqtHwt74K1gEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593412" Received: from agluck-desk3.sc.intel.com ([172.25.222.70]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 15:46:36 -0700 From: Tony Luck To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , "Peter Zijlstra (Intel)" , Uros Bizjak , Rick Edgecombe , Arnd Bergmann , Tony Luck , Mateusz Guzik , Thomas Renninger , Andi Kleen , linux-kernel@vger.kernel.org, patches@lists.linux.dev, "Rafael J . Wysocki" Subject: [PATCH v6 10/49] cpufreq: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:45:41 -0700 Message-ID: <20240520224620.9480-11-tony.luck@intel.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240520224620.9480-1-tony.luck@intel.com> References: <20240520224620.9480-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 New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Acked-by: Rafael J. Wysocki --- drivers/cpufreq/speedstep-centrino.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c index 75b10ecdb60f..ddd6f53bfd2a 100644 --- a/drivers/cpufreq/speedstep-centrino.c +++ b/drivers/cpufreq/speedstep-centrino.c @@ -520,10 +520,10 @@ static struct cpufreq_driver centrino_driver = { * or ASCII model IDs. */ static const struct x86_cpu_id centrino_ids[] = { - X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6, 9, X86_FEATURE_EST, NULL), - X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6, 13, X86_FEATURE_EST, NULL), - X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 15, 3, X86_FEATURE_EST, NULL), - X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 15, 4, X86_FEATURE_EST, NULL), + X86_MATCH_VFM_FEATURE(IFM( 6, 9), X86_FEATURE_EST, NULL), + X86_MATCH_VFM_FEATURE(IFM( 6, 13), X86_FEATURE_EST, NULL), + X86_MATCH_VFM_FEATURE(IFM(15, 3), X86_FEATURE_EST, NULL), + X86_MATCH_VFM_FEATURE(IFM(15, 4), X86_FEATURE_EST, NULL), {} }; -- 2.45.0