Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2747422lqo; Mon, 20 May 2024 15:51:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8L8hRoCVMF7ZnJRvkJBm+C3bpCZDQ1shjhZ1cZwU3YaYhRvZQuw2Lw0S7idAMuxvl1unE16wHlQ8xJQDps9KSyr/cCBhqIIc0JgaJmw== X-Google-Smtp-Source: AGHT+IHTvGPUsB/bcNffZ500oxqe7VT2atZRHVOyavP/Xp1bBpNkKBYRjooDWkNQGvSNXyB/MUI1 X-Received: by 2002:a05:6214:307:b0:6a3:2d64:3c55 with SMTP id 6a1803df08f44-6a8427e90f7mr118053836d6.14.1716245498815; Mon, 20 May 2024 15:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245498; cv=pass; d=google.com; s=arc-20160816; b=f4HvW9K/8Rh8OaidooskD/BpL7K+6Wvq8pegqGaZ03IrOVl5cMjyl1LqjjRiIg9SQ+ fFXOjPaEW2bH7Sx10hcjmqdMtna4Kpr5f6zIF/zKF5dZ+wH7KzZxVw6FhOycZvbo/LwQ AFMiwWKx/vpMz6miTiPWduufMqTEQ4DYaHQnrlAolH9sZknttR0nokp6iqMZmX4Q8gT0 rj1lyjINCp7uasJnR148gJyObpQB+c4ym/2+HyW/tR4hH1Gf26AfJDRUS5NF4s+oDNz5 mSaRLA7/aWPsQ3HHePTZC01kjgXkWY32oF37h4VBQUpDD47VWRiPwZFxm29l/Uk6k/sw OXvQ== 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=uElMl6QOWbmRqyl0So3RujIW7gM4grpK2M3tMNx1h3A=; fh=T26ksdX6UpceKBTmCjnZX4okm/RnV1G8gmRkfePNArg=; b=M/qw93sIFytDUI9Nue3+/LDID3sS8CV2MjQn98osnMmuEfUwaP6PxxnxiPRkqkSHPo CimqOxf1QZxVJVTNmZNoQ0U0VsS0iWb0v9wQbaCijFz6lzaADervkNbw8tx0Fnv9OFzm rItOyHK/HO6f26/QWdNkTdEAQMvODRCat8ebqdJwwWGnMwoUAhk0dHtcwS02b3owFMiy 3XYvWFhB2moUZWbQahMTfEXmy57zOxUWkYdbok9xGKg92op5s56ICdrpCnJ1Di/SKV2X Q9T+03ccRanqNY38zrULsq9ZujILPzNK7vgiZTn9zrrhLiM1hCYaWFPAwSbSflUeGf8x 1hEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nKqUfhqW; 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-184256-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184256-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. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a9a8b5b804si3704226d6.317.2024.05.20.15.51.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:51:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184256-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nKqUfhqW; 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-184256-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184256-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 8A2121C215B6 for ; Mon, 20 May 2024 22:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCA5513C9DA; Mon, 20 May 2024 22:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nKqUfhqW" 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 667FF13C660 for ; Mon, 20 May 2024 22:46:50 +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=1716245212; cv=none; b=FPeWv5OLXbq2m1WUSAF0VcZA/xi9Fh78x8oEWaqi4Jk9ggrHYtDsmEo5M7G6lHaZ60kRriKaskqltkup+9I1qHSGQ+oUQYQY9mLh+8kawlDT0mMbp3o19guLhia3KE9DaR7bWOAxmNIP1ED4zdWkL3/Ad5xXR4NE+gsEtepkT8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245212; c=relaxed/simple; bh=lbpkB4zBQpI4GcfCpRLlxtqxYH5hSB0ZDHxIhsLKKBA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bCg4QDwA6NUUBK/hm2x8z1RY4Mj00NCwtDWAJcDoo0MuNea+yCVQqfTH0/g+6xD9F6DtCfjxwbG2FR9MmBK5e/3eheMFIjSnA0rHaVmLTPUD072NXRQoguC8zMivl4hG45Dq6XcpEFxyYeXaSAu8LTtD5lciyZVFlKiFbMRuOS0= 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=nKqUfhqW; 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=1716245210; x=1747781210; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lbpkB4zBQpI4GcfCpRLlxtqxYH5hSB0ZDHxIhsLKKBA=; b=nKqUfhqW1T+TdSkjZMwh8GWyqLHknWk/mrofBfuev1X3zFOfqirDeuOZ f/XSB1eDNxgE/KHULbZUq+atYOdwC4qUa2zBlYsQpBvOw8yp0b2C51XBs e0Q5ONAlYCuj9VFQQSM2ofi80k0zwlzkbMzbSK6jb1AQtzXUE2MYtDMuq j/cVYvtu7lrdk42O3N3PXoweodi6mreh5RMSbW7dq+h4hPtQXaUlLSz36 aGvsVlR3udO84IzLa+n7xJ30fmB9fKMvGQzswpT1X0t5UKvAG5AXBgHGZ vax0Kok0L8gYxHaHz/Bg74eyMBAXigfzOVyasKSX5rclUBQyIIwl8xZgv g==; X-CSE-ConnectionGUID: Q9qS81HvRMOB25C3AKhxBQ== X-CSE-MsgGUID: gTqtKHzUTtaiy9+7ymKjbQ== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199829" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199829" 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:38 -0700 X-CSE-ConnectionGUID: O4y47AxMTaynDCoGD+QjFA== X-CSE-MsgGUID: DK/YWFaeRTu19v5t14xv2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593470" 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:38 -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 Subject: [PATCH v6 29/49] x86/PCI: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:46:00 -0700 Message-ID: <20240520224620.9480-30-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 --- 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.45.0