Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp165844lqb; Tue, 28 May 2024 11:47:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOdvVAi1OsVxOUm6CtG8MUczlYxtbndfPycZIrPRFxCC8PBx2WAvlKU6cPYMhTxyi8xs5aH1IOES/F8MJGXOfv//2SQQbn3uFoJZUJ8A== X-Google-Smtp-Source: AGHT+IHntSV7pM8CIUWXfaQ9NFGAQZHlAu0owfaayR9NxZkUIMznH95w9XAElD3+Owf9lYwEZJmI X-Received: by 2002:a05:6214:5d11:b0:6ab:9da7:32bd with SMTP id 6a1803df08f44-6abccfa278fmr124954946d6.30.1716922075875; Tue, 28 May 2024 11:47:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716922075; cv=pass; d=google.com; s=arc-20160816; b=xgOUFSFaa9iE8SBTtgRRDdbBroLrF10IyWrdaweqQ7rLvBtcyBDD65kyhz986esBGX PKm93fXLaNCfVuEMEsyPe2TRSqznFNcbjx7FD/1hi1fa4UF/RpMyS9rbApb7rw85oFLs RpDlyicFsGMnXl4ju8Ht6C7YoNhfc8L5hDBEfHfNDnlhpLxVLH4H545HQvVV9lAkqIQy JUnvfd1TI/M8g9BF/w+8JU2G6/MYpfiT/AiPPNJTMgA+V9NQ5uJR0oJNKa6OcuDD0h8w aUdL/ZSwxQ3XtTlEA6DtS1EvNySZpGQFsXMlkleFC8jdrMbmKv+Ly1Jx4+8oEjGyPuru p6UA== 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=w8I+q6CbGRspN7AY8fCUXwOcA44Lq6xy9uxy0U8kZe8=; b=k7gY+rHozeuPf07u4MDazQB3QdQPBNVvgWyRoD2cUE2iOaMB4umdM5RfJslbag+86L hlsYiUzsqyAN8NrUtn/hhRm51WJ4vVupKIG+5OnzYs1uS4ac3sM+FBry6DrwenADJWxN orCC/FQgjZ+QvF3ZqG9bIgOIZVRKzoAgs+bk9mouerjQt/yHAtIKudUyOEPMNOv943v3 uA7C8XcZzW8SuzvcwQLonWnapQ2W9QfSDxBxE3BCOKfLHaU2a6s7qR6wR53xD63sOJsA CeiieVM/xQJgiXdzIviqShQrqa8bXReT4SgrH/xUYr/F06FWF0cROyM9UshD/vwydoe/ zFwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jf5fMO6O; 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-192875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192875-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac15abc1e5si109154346d6.373.2024.05.28.11.47.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 11:47:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jf5fMO6O; 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-192875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192875-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 81F031C22968 for ; Tue, 28 May 2024 18:47:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3847172BBF; Tue, 28 May 2024 18:47:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jf5fMO6O" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 8C4ED2E84A; Tue, 28 May 2024 18:47:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716922058; cv=none; b=fb5UpaAuF/TrY474kwFGtlnqjMcrAlrtDC9MpcMOsBsy1vezAsdkRpS8ZR4i3aNeyRzfTgbGiAnMLsU6NCCIwWtso/uuG4QeWAxHBr7ie7pjXJtjy4Z60/naV60IPGo1mOzkK2P2uwR0n7Ncnl8MTh/P/fBGUWexdLlvhCMwk6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716922058; c=relaxed/simple; bh=N7BO8ma+2BwG4UD9NIGMDLMhLyzkgYBOUd3reNFktso=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rBIdY/uJ/z1D4Y9zDecjOEDTCjensoNGTEKW9ZrQHl5XCrYwwxe6ZbRKRfbIIT9fSG5ZEWwBE4CZM1a2kIGy8zp5/L8LKxqf2vKTTQGdJ9FzN91vHx6tIv8/zVtZ/fhuUEK+SUqT84tCF31zcYe1E7LVSPysF8Sh1/QgJqlAjGo= 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=jf5fMO6O; arc=none smtp.client-ip=198.175.65.14 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=1716922057; x=1748458057; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=N7BO8ma+2BwG4UD9NIGMDLMhLyzkgYBOUd3reNFktso=; b=jf5fMO6OEU7KCkjWVlwNv3p2N3uQepyJTEMB6rOxEr538Nt28PE2/6CT OlkokcINkd1Wdlz0CgKAheDcNKju3V2FT7kERCY/qYyAOaCFWAHviaxZz C/g12HkKCkYSGL1bEvTbH3geZVBPZa/56ZI1pUYVMc0M59S4YWZqEZjpW 1/SMvfCkqHhqCjb7Vop/PhafSii4WmFGKCaWgbn071hadUDCe8nPAL23R Mj7U2WaeQEeqpul/lPjWhTzEMOllM7RJBA7/gvOMwO6lgqX6G9bsbJd4j qdmLqd2WLiiF3lkrjQXQcY0kxQWuGAG66uorvI+pmNr/Ep8MJF09UgRGx w==; X-CSE-ConnectionGUID: ExI4jlWPTvyHfxin4DKT/A== X-CSE-MsgGUID: EVGlhOx2Q1yDm1UeJnQkxQ== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="17121550" X-IronPort-AV: E=Sophos;i="6.08,196,1712646000"; d="scan'208";a="17121550" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 11:47:30 -0700 X-CSE-ConnectionGUID: 34FZ5QROR4GOrHgCt0RUuA== X-CSE-MsgGUID: qyNVppiNRqadtjb7LBd4ug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,196,1712646000"; d="scan'208";a="72605166" Received: from agluck-desk3.sc.intel.com ([172.25.222.70]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 11:47:29 -0700 From: Tony Luck To: "Rafael J. Wysocki" Cc: Len Brown , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck , "Rafael J . Wysocki" Subject: [PATCH 1/8] cpufreq: Switch to new Intel CPU model defines Date: Tue, 28 May 2024 11:47:13 -0700 Message-ID: <20240528184720.56259-2-tony.luck@intel.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240528184720.56259-1-tony.luck@intel.com> References: <20240528184720.56259-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