Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2173315lqa; Tue, 30 Apr 2024 09:56:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAJMf7EZRlu+3E+SUMyLSljnd8tDUd32Xaabx44lzC83L64HjfZ/DIFE7STbUMamyT09zT/vfX/e/+RQnD34miTU+Rj9YaVgXcX+nBhg== X-Google-Smtp-Source: AGHT+IEjdYUwb3OXK/7fq8hMHPJOESiklgFF4emKj5/pxoN5dchZGqueWUCwmnDH0bbVFIAZmkmk X-Received: by 2002:a05:620a:2093:b0:790:9d57:a4ab with SMTP id e19-20020a05620a209300b007909d57a4abmr15225609qka.37.1714496171794; Tue, 30 Apr 2024 09:56:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714496171; cv=pass; d=google.com; s=arc-20160816; b=aKBhBijn2Uk6pXRwEAcIZSpmywBY+VOyxHmoiouWw0RE0hax0DngCEE8w77uBrBiI1 E0aqE280WX0w9v+xAPgIZc1OInYGeXNbp7yLV/IAzPWl+B6XNbHpaLKBf985ja60mgrA uNUrh4WCXM384YuBO+Bo+1Pa6D1eel9vOwc9OkS5uTW8liSd4b+kMz5lRGY+8q/bV47+ PoPHxmxosL0tNSTl4KpEDbYnwqKz/yhKcxsMjRPCqoY30zUPtu2EAItteFZgmdg07aDj fkECRIXcdec2P+dJkuyMy6yQJ641K3bGwNWs5pm1yjx0/mPeCO6/k5NXd8oMxUFdz9hM en2w== 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=f1wmju0LwU0xXek60NRscowHZ/q4x/3Iz9n5KaKSojQ=; fh=fCCNFvJbPqqXo45yXdlgqaDimb/JVSzwDZSVTcpWFog=; b=L5Luz7E0RnYdeTHSTL7VstcDsLLp+//WBa5mUln91qs1ir8rn2yy4wCWCjmd+j+/qj MRAzqmXdRiAw8mepfI+XTxstOETWNie0nAG9oK3Mm4kDTl0oqyC4y1ZJcaPgLmiRAa51 s7unSd5S/L4bXzBLT2ur1AYOfF7+wfJvIhv5yBjc8txj+WIyWN0BKQdN4MyrXF92hoMa FIe18RhcQ9Ij+oW58TsqQfTqbaT4ohlQ1mfMNz9kFQqzmSUc0WDvHTwijLLZiCx54L1v ox01uF3kV08jOTZqDNm1In9dNeN11aDEasLsSQpr3OabfGgnzrQvH59k/PIMrBIHyn5H ul4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iY4cwB5y; 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-164455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164455-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 z11-20020a05620a08cb00b0078ede305e4dsi28003312qkz.167.2024.04.30.09.56.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:56:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164455-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=iY4cwB5y; 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-164455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164455-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 47EF61C23CCD for ; Tue, 30 Apr 2024 16:56:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B341D1C68B5; Tue, 30 Apr 2024 16:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iY4cwB5y" 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 6934C181D03 for ; Tue, 30 Apr 2024 16:51:46 +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=1714495908; cv=none; b=VsNOKHmja1w/Fx7o4PcC3dxLZV3lU+xF6YF7MIi50I5as6gxFBazaOR3bUaqJRkjTeZRJ2rBy7dyN+XQXnrks7tiVc+bpcDpC41YVgf6Cyyc5JcdG5EELBVBOu95C41pa8oPbONmwZ0YUKNHfQ2tZLqcuto8sOW73bNL2Rm3xGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495908; c=relaxed/simple; bh=obhXYEmt6d4ZPBEnG583vH7Ox14Ir+rTrmmNAEgF6jg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=emojKYgsAiy+QeL27Rmnq9d/92gjOb4xcNbb1JwM4dukt1J7j3XMVJn5gOla05BaIUzIXEtrJ1Egl8Q2npxwjhyqvyY5z3D+Ly3JP4HIlNsZRAlTgXTkYmGH6R0906Vvv+qTk+/Gu7PD6VCPC7h1Oxr6FrTDBOR4jT85PEp9uoo= 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=iY4cwB5y; 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=1714495907; x=1746031907; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=obhXYEmt6d4ZPBEnG583vH7Ox14Ir+rTrmmNAEgF6jg=; b=iY4cwB5yHpS5ZteuRUGHnIjx0H6ibCy20L5lhIMdelwxZ1ZJZsg50fB5 L7hsIl0LzG+D2+PPgNiDp1f4sI3+/bAWdZ0FDzjRfy4adCAkM5EUBlevE ozMvVrVFOVIK/WuePaitKqB5xyH/IUUIJkotcmO1Rm/W4qoY4uelElJFx ge+0ka5Sx70YIw8XtD0i8YyXaBL0lCevG80Wj2QDWm2W3L+kovE1AX5sZ MSPp/k68/w4QSMOGfCBlpMpVB7kJi5TnFT6ivgYyKCFfI6WJQV/MAMMz3 F/3ppWGGNyG1awvgM/oOe72DYdhGvYJ35YSTrR8vXoXPQcZcTRuie1u7y Q==; X-CSE-ConnectionGUID: GMTJby9BT9CJJ5tKSzTVEw== X-CSE-MsgGUID: WS+Abr2UQkOjT21RZcj/Ag== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075744" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075744" 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:23 -0700 X-CSE-ConnectionGUID: 1VIQhD5STK64SEfSaYb4xg== X-CSE-MsgGUID: I8gnMd1JT+aIYIRSAY9Agg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515488" 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:18 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v5 27/47] x86/PCI: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:40 -0700 Message-ID: <20240430165100.73491-27-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 --- arch/x86/pci/intel_mid_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/pci/intel_mid_pci.c b/arch/x86/pci/intel_mid_pci.c index 8edd62206604..933ff795e53e 100644 --- a/arch/x86/pci/intel_mid_pci.c +++ b/arch/x86/pci/intel_mid_pci.c @@ -216,7 +216,7 @@ static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, } static const struct x86_cpu_id intel_mid_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL), + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, NULL), {} }; @@ -243,7 +243,7 @@ static int intel_mid_pci_irq_enable(struct pci_dev *dev) model = id->model; switch (model) { - case INTEL_FAM6_ATOM_SILVERMONT_MID: + case VFM_MODEL(INTEL_ATOM_SILVERMONT_MID): polarity_low = false; /* Special treatment for IRQ0 */ -- 2.44.0