Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2746661lqo; Mon, 20 May 2024 15:48:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVohYmmAakZypSDhN3dRA8WDH7CeAqVdU6SySshIrgHXRyRW1Z0t+xh3hxwx15snsgopt4E81uoQ26yF+buFjq8W21HIWfKjYBJMdnz3Q== X-Google-Smtp-Source: AGHT+IGtrfe6QC8l7VungsmLFf/owaMVLq07i4Hxj1VkTjz7i3hGPFxQvmVI2pAvcQQ0N87nYbg0 X-Received: by 2002:a05:6a20:5a9b:b0:1af:4ea2:5424 with SMTP id adf61e73a8af0-1afde1192f3mr26426719637.33.1716245333992; Mon, 20 May 2024 15:48:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245333; cv=pass; d=google.com; s=arc-20160816; b=lpvXWiejEXQOz1qaP2wH/J1k1NL7DOq3qz8VvLvXWCQ4td+LFv7zMjprOOZsGCan4a Paogse6ZX23Lzi5pkaNSMrVokkYPYPUtW5eG5KFhutttuoajVuEz63hmK8GkHHMw+laP CrQjET4uCH+7vtZOEcmFJvKwOeCPs8UwxXKa4eUwpelnFYxJT36WdTvqS24AnJqlDk1T fJskNmPmo80SNB4ihST0Fkq8fjF8gCWqXuiTGR8yb1US0ma2wYan5vdUYPY4xCaiQbfG n/SEQm3kCawBLnDessCSMayh5Cnw/8zDg74i2lCQxdeX1etiXVnXy0VVsAAPBr0OzxlW Tq3Q== 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=G9Yn9jPkpo8A5NrlfsuLjHCjAcmLkwGbh3zAC+EeSoA=; fh=bi8NKHgofPeNwPnaBiHsxF9WnXRoco6jP3QdAT+OxAg=; b=utyW5d/sNFnCg0Ux0xJR6T4sZnAhO0VpKpdcX/4sP7auFtLnS+4Ap4wO7pqLhwy2zJ +RV81BC3HBAk3dovNqkQ7+GxErPvdn9Z6S2qduw7aF52GeU5pnJjneBFzxVwSzTPz4Id xTDebcCQg2pWUhbtVOhKQ6rE3OJYq0Z6nacwAx+IyaG5cnqbIV2aA4BQQ08mj0FhcBJL cyGuENtmrXDo++JZZ6nBD2pvhQzIHq+mgfeZ+1Xi2SMBQ0CPxTBNTE1uGyVKNnX7tWYx vlb7Ce9ZFvmAznp0r+oa6gaeiyp2P9zJ1DJxwkg21Rt34+85uSsXbg8PcTu05uOYEPKu 1nbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="HlqWPu/f"; 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-184241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63413d72e48si22573736a12.826.2024.05.20.15.48.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:48:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="HlqWPu/f"; 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-184241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184241-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5430AB209DD for ; Mon, 20 May 2024 22:48:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14B8913B2AD; Mon, 20 May 2024 22:46:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HlqWPu/f" 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 21C0513A877 for ; Mon, 20 May 2024 22:46:43 +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=1716245204; cv=none; b=EihsAS8tstDHlIZ+bLhXleMRORktj5AGfV/LbPCzpNv+4ZKa9mVs16DabygmT5qPEe7rt4POcI9VfV5XyGTdDdoqqzQfwOMpA1uMTGHaKisuQfFiD98VtBeIBJu3bJfdTeA8NJGWpY+BLA7U/dQgF3sqWOegMmbDVxxqvN0Wz0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245204; c=relaxed/simple; bh=Sbt9Xz2Ynh3GTpeHeMDFV/YANtnFR7us28NjBssk4I0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RwGsS7MXSOQzOqNFZ8EssVfzdDr1ci7p4nCO+6vCGGVoK21f39XBojOYxpRBL6Wf415QBFRrvNbOaivD9vSDapv5kMP3u/toial+yhz7+y3dq8bSDLMhbLPY6XhYMZmAMn/YnXPVD1JmF0acIwemyVYw7bpTAupf12yV5dEjo3s= 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=HlqWPu/f; 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=1716245203; x=1747781203; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Sbt9Xz2Ynh3GTpeHeMDFV/YANtnFR7us28NjBssk4I0=; b=HlqWPu/f5Obu4XbrRboJm3rpvxGRcj8DjFVoEwRqD2u4dn/IyTDzAIbc 9nqIQhJf1Embgdfp3QUX61OXLQwSKsN0zHUCeOn8KHIB7Oyrefe1442Ln yjCH9+h2IPxWZKiKmrOxdnCq8LiLlynOOlTbZF8Eqb3P8084Vqml36pF/ /60FpLIytN6CMO/56C8CLzCPK4TuDsllt4mJZuxPsd8FSfIh7BYwx3X7X eMXzEmL5RShuMJiNweZA3roWja7O2KLQIPsvYbUL9+c8PdPM0AdPIQQdj tLl2sbqdSzcFvgnyAAB30WfXcWXa8YT+4h7QmA1JtsEYP/uWgMVZ3WOiL A==; X-CSE-ConnectionGUID: Tr6h2YsMTUWx1+VFgUkL2Q== X-CSE-MsgGUID: UcjgTQ6ERm+ONhwB8G0bHA== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199656" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199656" 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:37 -0700 X-CSE-ConnectionGUID: /RMzd/acQ9ebCVb/gmjdGw== X-CSE-MsgGUID: FryFEtdER5ub3QC3eqCGwg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593424" 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 14/49] ASoC: Intel: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:45:45 -0700 Message-ID: <20240520224620.9480-15-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 --- 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.45.0