Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2171625lqa; Tue, 30 Apr 2024 09:53:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKdakIjHbxn/a1+0WNoix7FHqcYWMijBp2N6bYCK3NpxC2AhD43KW/gZcAfmD10he5HgK+lq2L6A/hS10ounyaqKJUq5CGr75zdxl40g== X-Google-Smtp-Source: AGHT+IGomIbrsHeGe+ptZP87kyk/sIek46zymthy+nhMPHNf71M8j0ZoC7OF31pPnIv8kgCbxfxs X-Received: by 2002:a25:860e:0:b0:de8:f71:49 with SMTP id y14-20020a25860e000000b00de80f710049mr148142ybk.37.1714495997415; Tue, 30 Apr 2024 09:53:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714495997; cv=pass; d=google.com; s=arc-20160816; b=MdqkEvreoXiVeevclrhUbFDM/fykb1ErgpgaNB8TJnxaqLzVUhOX9PuQMmgQmXxqMT Ceq+4XRzIPeQyI/sB4i2Sn4v50hdMj9CCc0UCautLRjjyooujPtpFF4NQTowLm9Qq6AP EscVX0j2d9HUAcpdTT5QuYeD5vKWU+nbREY4i03Q5UTdG/F98M4ZNrRAWh4QKQ2PePGx q3rfbVmYZVohHJc1kFPRr6E4/K0A9+XAGHYbW3INa5NM9lZuHH0QHdPOQBJAOaebTJ1y T0wFilWKBlXDRO6//aOCKEbWJI2Jv61/t83UAADLvPbrajK9FgOiYp2GQ3SMFGXQu1Wt aOXg== 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=g01DfgsqXhQ1JthP0GtNp/v/6SGDA3f1fRmZ3YpEVmU=; fh=rkoK/s7FxwcTuOAC8VWx8/OBrCYp43BrIuSJwNzodcI=; b=JymngcgbK+48BZFUSIckqyifUYi6Fys5OlEXql+9o3VTVgVtTQwFcEIU+3bOnRhr5y FVCnRPBjLuhhT6kbEYtHIAptrdFFKx3L/DPrbHo9HMr5FfAut+T39/8IKTgvO9NAkjWa Wzx/eG+pXdWykDBzWSr0hW5u4IjX5AvdFyrzkqXKEeKPrRg2FB2Ch9JL5BsALud2Kk4O wLZCD15SF17lAjxjwPbhoS3mZ1rZU7wmeonQUrjzQ6RQ9NGWZkAWq4gKW8aeSd/TqhE7 MsLtb3F7N5PW10a5co9eBFwYbOVZ+YVsihRlYDMVm9+J/C/fhfH4oAnAzO7cEyFskghT 2FFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Adq5mLCy; 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-164438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164438-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 w22-20020ac857d6000000b0043acbc10181si6319404qta.182.2024.04.30.09.53.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:53:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164438-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=Adq5mLCy; 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-164438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164438-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 617B51C23D2B for ; Tue, 30 Apr 2024 16:53:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43204199E8C; Tue, 30 Apr 2024 16:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Adq5mLCy" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 37102181B8E for ; Tue, 30 Apr 2024 16:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495898; cv=none; b=pW6632FhoRmAK5u5eOlpE2As/TMxTJaG/Y5pMs+FbVMKEsYJM7CvzK7GeRWm3dyrlUZjwGiU9QIapBE1bknKTpuVOON38H1p/+8JHz2xV6LBPKz2nLrh3C6EirT/IrUFa/kgx+kuldZBktKBypaG83JxDA71NJvXSRcoJ796QiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495898; c=relaxed/simple; bh=7eZ3KCFeL78AbH6r5Dbnh9EHFylKrjKmvHvWxMZrAck=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i2Rf848QZYVeSlS2d6sZkYwCPrlDwqCPRSCQRvMbi+cmRLLO2N8swhthrMAeFVntEuYBEkwRTbuJU924a05kRNbg+rYIz5H5KZHTve+dZiA5h6bAIg/ZvvlXxuST26ZaEt2Sn51RPf+22q17rWgrjFqL3E+fCZH0uw0aNv7J0SA= 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=Adq5mLCy; arc=none smtp.client-ip=198.175.65.19 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=1714495897; x=1746031897; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7eZ3KCFeL78AbH6r5Dbnh9EHFylKrjKmvHvWxMZrAck=; b=Adq5mLCySsPF3sgIYGNdNsWcJ+JbqtX5PgIglmDdq1Yu+d7RJCiz/6hV 3v5IEUIq6NRRKlxcRkLyUMv+UsRXUqzmwMuTQcCOw9q68RGK+NHxVas7n gVZj/5xdPGWxm+Ig202chMThzOCgL9sSeMNotrrt33Asmps7c6XEwdxaq 8OknUlGYM82peVFWNNNVLaulszu4utYk9QqHZ6Og6ZSbZaWlejFPLi4mi ddg09th5B71IPEU/9o8o9OqIHrVFwf4Bav0sI7tgUwHGMiZCb0ipVMZ23 GEqx5/5nfckK3yb6ugj2TE1a9i6GcKu6v2XAq9dsuMI/OKFsUXbIrU12X Q==; X-CSE-ConnectionGUID: YbpE4mBSRSOFO8aFq4qUPg== X-CSE-MsgGUID: xQiJbhXgS7abf33K7CMWxA== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075653" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075653" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:21 -0700 X-CSE-ConnectionGUID: 58y99aPkTaKGEjq+lLQrow== X-CSE-MsgGUID: JSFjaa5XRyC+srejU/pRtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515434" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:12 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck , "Rafael J . Wysocki" Subject: [PATCH v5 12/47] ASoC: Intel: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:25 -0700 Message-ID: <20240430165100.73491-12-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430165100.73491-1-tony.luck@intel.com> References: <20240430164913.73473-1-tony.luck@intel.com> <20240430165100.73491-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 --- include/linux/platform_data/x86/soc.h | 12 ++++++------ drivers/thermal/intel/intel_soc_dts_thermal.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/linux/platform_data/x86/soc.h b/include/linux/platform_data/x86/soc.h index a5705189e2ac..f981907a5cb0 100644 --- a/include/linux/platform_data/x86/soc.h +++ b/include/linux/platform_data/x86/soc.h @@ -20,7 +20,7 @@ static inline bool soc_intel_is_##soc(void) \ { \ static const struct x86_cpu_id soc##_cpu_ids[] = { \ - X86_MATCH_INTEL_FAM6_MODEL(type, NULL), \ + X86_MATCH_VFM(type, NULL), \ {} \ }; \ const struct x86_cpu_id *id; \ @@ -31,11 +31,11 @@ static inline bool soc_intel_is_##soc(void) \ return false; \ } -SOC_INTEL_IS_CPU(byt, ATOM_SILVERMONT); -SOC_INTEL_IS_CPU(cht, ATOM_AIRMONT); -SOC_INTEL_IS_CPU(apl, ATOM_GOLDMONT); -SOC_INTEL_IS_CPU(glk, ATOM_GOLDMONT_PLUS); -SOC_INTEL_IS_CPU(cml, KABYLAKE_L); +SOC_INTEL_IS_CPU(byt, INTEL_ATOM_SILVERMONT); +SOC_INTEL_IS_CPU(cht, INTEL_ATOM_AIRMONT); +SOC_INTEL_IS_CPU(apl, INTEL_ATOM_GOLDMONT); +SOC_INTEL_IS_CPU(glk, INTEL_ATOM_GOLDMONT_PLUS); +SOC_INTEL_IS_CPU(cml, INTEL_KABYLAKE_L); #undef SOC_INTEL_IS_CPU diff --git a/drivers/thermal/intel/intel_soc_dts_thermal.c b/drivers/thermal/intel/intel_soc_dts_thermal.c index 9c825c6e1f38..718c6326eaf4 100644 --- a/drivers/thermal/intel/intel_soc_dts_thermal.c +++ b/drivers/thermal/intel/intel_soc_dts_thermal.c @@ -36,7 +36,7 @@ static irqreturn_t soc_irq_thread_fn(int irq, void *dev_data) } static const struct x86_cpu_id soc_thermal_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT, BYT_SOC_DTS_APIC_IRQ), + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT, BYT_SOC_DTS_APIC_IRQ), {} }; MODULE_DEVICE_TABLE(x86cpu, soc_thermal_ids); -- 2.44.0