Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp610423lqd; Wed, 24 Apr 2024 11:21:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxCePO1uwAhXSCIkF3lHRvhwo35tSMPVDYOXwNCbpdZlBbNP857sXLclOj+sHUJdj0UsvbFjrZs0CU4LlNAKcsHC9yBJbZFT1NWFr8yw== X-Google-Smtp-Source: AGHT+IEMej3P18wE3OvN+23xsMncDV3AX0ibe9AR96oziDZP/N6IzwHKvU9abucM4q3D8EjHror4 X-Received: by 2002:a17:907:7da2:b0:a58:a37e:cfc2 with SMTP id oz34-20020a1709077da200b00a58a37ecfc2mr809288ejc.55.1713982895513; Wed, 24 Apr 2024 11:21:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713982895; cv=pass; d=google.com; s=arc-20160816; b=HJFv1LWcLLifunVU5zA+T5Q3k7OGIf8ApGzy9ewMuSzD8vHL4sfOdW6kYWOgPfpxki hgIzw5Df6D8m/Q39yXLSu53QUryl6yjzQHyeTThlQT9NEn04x6iOwJ9KOuXqEIKl7qhz BrR6ICSWPCjVi+lLK+4VNSz7odNkmovedFKdna6s0i88hUY7rnhuCRMQ+zuvVMtdQ4Yf +j3UovtCibhxJiI8bdn/lcSCBBrX91Pz3PA0Dn1+OQApRMfI9Mu0Rn9HfrHcozpX3044 Cjez6Xl0g9xjV3D3hEWz9bu41yZfzsdIfZXlPVcxAG3yDIqSWSaNARzSqctlDwEpBXi5 zofw== 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=IngleD5oRnKvnuYUgMXcZZcALLU+i2B1HkCJ0HdG3NA=; b=Ao78mlye/nWf62uX52DM00qwuTdOaO2J6trdUGlZLW/yQIS4oO1+U2H4gUGeeXE9JT +TWp6Ro5OII4mg33oBra3WjlRvUlBc0QfXpc0xaapZT3EYn1pDlapF7i2MjEAacBXTRb pVDr5xwC5LMnLFCf+WH0toDcsuBMo/YmJ+0HI7doByN0HyV4gpcVZI019dgUE1R+iV7e CHqXfnO9Pw+DZPMQvz7JTucOmEVxiAQ/c7yqqe8wjbpJujU7txYM+oidxjHfS+lMoXGY a+tPasFDyI8gwKUCkwyl3/1nrnbADhvA05ocHm0TP+OAv1+/pSqeqKCQvd0QnEfZi2CV OsxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=B3cj5rbl; 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-157482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157482-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 e20-20020a1709062c1400b00a58953bb1f2si869510ejh.500.2024.04.24.11.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157482-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=B3cj5rbl; 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-157482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157482-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 419141F21D1E for ; Wed, 24 Apr 2024 18:21:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26D731802C1; Wed, 24 Apr 2024 18:15:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="B3cj5rbl" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.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 7E77C181326; Wed, 24 Apr 2024 18:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982524; cv=none; b=sJCsXqgCmwaqGjU0LqmFOkaoZ8/B8a8aiHamDceqgbIJwQ2b5D0EsfCn8k1xYxMWq6/SapKc8A8h7zpK28mAFA6cUcDQz6SNnk7JpYu6a6a3/IgWMlXJ9GdX4VwSIjfFFxvadGD1XRnr1n+JdtC/j7naHNQOyCPItrT6htfpMvk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982524; c=relaxed/simple; bh=obhXYEmt6d4ZPBEnG583vH7Ox14Ir+rTrmmNAEgF6jg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=seFhzEHQ9gn8XJWiPF+QRuIz2N1OrP8gnh5RrUqdWUwS3JpFrV+ZNEoNYosrFDe6c/wZNbyQGQTDIMWNJkXYmJCSrjF9YXY9MaRqBcsYisxtvq8RMLFcc8IZbrcxqhPByD4G2Z7Usx48Xd7KJBL56Q+jG6cLEu+Q1mhDvQgmii4= 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=B3cj5rbl; arc=none smtp.client-ip=192.198.163.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=1713982521; x=1745518521; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=obhXYEmt6d4ZPBEnG583vH7Ox14Ir+rTrmmNAEgF6jg=; b=B3cj5rblgcOnu7sbJn3nZ6XpbLriNwm3J5GbITYADQK568h/LFJSiUT8 UimrECfPEpMig6AckfbBLfsuktxc41MaXrrG14A5hR+a+AStygTFKu4FY 3ixfK4A+GOJElGXBZ0yGAnb0chM8TdAhDWg+udOQAG1qsGwjFU1vd6c9s ZA7+4QM0TYcJYtk7zzQMoLqYxBdEg0TGu4J1fnY18l+iD7RkmSGjljDDo 9Mws2y9QAj7ajRGt8Dv/mCYy3lOqVed1nwWnUgMyzjLQ2fTCIBuyzcV/j tpnvl13t4cKwf82g375OYGIyREESPJrMq6PEZ4rhqMZT5EbQ5AGpr/E6O Q==; X-CSE-ConnectionGUID: gGjtlU4CTWi2nxX1DEfAjw== X-CSE-MsgGUID: CG7faPwISdCsUXGIJl3fdA== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9503539" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9503539" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:21 -0700 X-CSE-ConnectionGUID: VcIiWi/bQZai5oz5I5U70w== X-CSE-MsgGUID: lbQj+TPeSR6BAaCag2O2PQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="55750130" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:20 -0700 From: Tony Luck To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org Cc: Bjorn Helgaas , "H. Peter Anvin" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v4 42/71] x86/PCI: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:20 -0700 Message-ID: <20240424181520.41965-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424181245.41141-1-tony.luck@intel.com> References: <20240424181245.41141-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