Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2746247lqo; Mon, 20 May 2024 15:47:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU77g06pH1sy7osexJO38+VTWWtrCOvWT4x+/hoaeBetzdSMkdzE5zB/4FqtbnTbzfk3EcO8XsGfoyW43clQVlghfnLk8kpcLcaiwonXQ== X-Google-Smtp-Source: AGHT+IHYAnhnIgqPDeGABEAWZh0ePqbUyFBKhPnNLPUZB/p0UMKNR7TOVqpbTfvJLJ7mCcfirEUy X-Received: by 2002:a17:906:2b85:b0:a59:9f4e:4e3b with SMTP id a640c23a62f3a-a5a2d53ae89mr2052459266b.2.1716245254294; Mon, 20 May 2024 15:47:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245254; cv=pass; d=google.com; s=arc-20160816; b=flBBO8hzcRwb5WSCzTINyyJMltq67F6erOCff0IhEcqNM7IASJoTvkfeBdnRzm40zN c7eHE6NhzedR9M8XGmBRrSe4UDbBE81QNfI3fjW9kxkpVirP1F0oOcArLqxu28OuWmJR DIFl3s+/dAplUvdOQxvHY92wQhBIYwnvPYsjYvzw9+yiikzMr9Qp5xIn6Qx0pZLsAa7u S835FazlgZSGERj6gniKxDiLzO25oKrVh6D92KiaeBHzp6mGG/OeGMcwAtfhGmsckL0N Ir4dn5PSn5Pz/8NbyPyRAh0NqjKihxd3F1Zk/9g8G+GRDQ/qei1FljGCuCHO3jzhc2ZV bYrg== 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=JLYmSpNS/NLhBML5Qu7VYGcUQvtcbldtctcGxofIhzA=; fh=mvtm+B2VykiTV+lqQld93g6TIEBuoR/zhjhvP8sX7w0=; b=yNeWSeeej6RdBvgjGT3OD2fGlBS1+I4h6pHOyWywk/NF2BZbKp9mu7r1lnK+TPugQJ v3dayY7yiTtHU5LIM/eBqTxUgf8FPMVE+19NCAf5iN7hqkVuZFhlniaTyY+p3Z332fPl hNOaxn7Qpl8EY87jT2obh1eleTcL5pf5/zkghG++lR/YqgkGeUTTvosPXroKU7mpWGcM kn/Jo/m7e+ZQ7pJtNkbGqwYf0Bn8DbmuyqoBf2FIQDgJMIGMOHzPmvs26zva4Qy3+ZjH clWz3EYZtE6Sht1syRw3F33sbudc9WwnfYWlspehB2QRVWOY3e1ZE+MQqIN5AawHXTCI inNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OX1BLiem; 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-184234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184234-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6972si1323041166b.737.2024.05.20.15.47.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:47:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OX1BLiem; 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-184234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184234-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0B7A41F21BC2 for ; Mon, 20 May 2024 22:47:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2485F13A3F5; Mon, 20 May 2024 22:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OX1BLiem" 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 B17CD1386D1 for ; Mon, 20 May 2024 22:46:39 +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=1716245201; cv=none; b=ZCXiz7rx616e4pKIANWBzlTDNrKl7OK8vLcrawaJEn/nPz7wEZL+nvYi60cCKtPi6/Wg59jz7iyHiFmO8guzV0tv0RjDEaV3lc7HipIvgEDtSFaSPQQpPgrZi/4HJ7FhK07B8/ep40xdMelKABL00vjymo8nqlqvYiSDq7/BejI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245201; c=relaxed/simple; bh=2WGXBVBs50TNH9MqDPwVlbQd0d4cA9xeNLapku5f+C0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bvG4Z4x5tCwzGxeEjtcqFj8o8JjtCUSsV1oZkPxeFOuCZJ/K5X8uPskTtKLYzWTYzX800QlMkvprB7UHxq1x6PKsh88wuD5iD9aB6xOt2YhUaM8NwcmecV+Su5pCbPKhnKE25KtF2brYvvScMIqtGW1o/o6e/fROFjjXscCS9fg= 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=OX1BLiem; 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=1716245200; x=1747781200; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2WGXBVBs50TNH9MqDPwVlbQd0d4cA9xeNLapku5f+C0=; b=OX1BLiemrJfQGdde3/y+mdsJ/j8qjfplMV1nM8SjDIhz+tLTx311YJg6 RufSTHzCMTQ66wmcWL5mX6XNzaf4G0JhVN4vgbEz1fjkMtIVImBUj0YZn 9/yyN+JsGeudarSu+Q3HWMKQaBUR1NvkJfvr9fPzwE7TrIRsX0Teu5Ugz 6ze98Cien6W+l0zW9UgE6vK6634sA/hYOvVxwFGXTkNCUXuIN8NXQjXNb RPzNuvEw1q233Y8cRrQXC1zFtd5Qbevy5sOIPz0BL+VQireC+2B7avn/W wi28f3hHnx60+rkoGAT/rnUVgnwpzlfOlV1gT4OUnO0jp5Cl2+d3FENSu g==; X-CSE-ConnectionGUID: YRutO+4RTy2859xuV2PEWw== X-CSE-MsgGUID: i7778linS/Sr8TSrKzV+Xg== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199563" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199563" 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:35 -0700 X-CSE-ConnectionGUID: ABs4mHaJTre9oLsrmJG6mA== X-CSE-MsgGUID: NqXET3QaRMmFL6XPYJa7/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593399" 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:35 -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, =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= , Mark Brown Subject: [PATCH v6 06/49] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:45:37 -0700 Message-ID: <20240520224620.9480-7-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Reviewed-by: Amadeusz Sławiński Acked-by: Mark Brown --- sound/soc/intel/avs/boards/es8336.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c index 3bf37a8fd6e6..c8522e2430f8 100644 --- a/sound/soc/intel/avs/boards/es8336.c +++ b/sound/soc/intel/avs/boards/es8336.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include "../utils.h" #define ES8336_CODEC_DAI "ES8316 HiFi" @@ -153,9 +153,9 @@ static int avs_es8336_hw_params(struct snd_pcm_substream *substream, int clk_freq; int ret; - switch (boot_cpu_data.x86_model) { - case INTEL_FAM6_KABYLAKE_L: - case INTEL_FAM6_KABYLAKE: + switch (boot_cpu_data.x86_vfm) { + case INTEL_KABYLAKE_L: + case INTEL_KABYLAKE: clk_freq = 24000000; break; default: -- 2.45.0