Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5772099ioo; Wed, 1 Jun 2022 12:14:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp3WFga8utvHLH5TNc5wF+qaqdo/U1v962EDCZE6CSPy0sGlotvnyW7wCMV1ehX1Abg45P X-Received: by 2002:a17:902:8645:b0:15f:2eb5:3d49 with SMTP id y5-20020a170902864500b0015f2eb53d49mr940146plt.42.1654110867608; Wed, 01 Jun 2022 12:14:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654110867; cv=pass; d=google.com; s=arc-20160816; b=TDToj7Nxon40cylI6eyB9BQ8mDkgzhRaPOC0s2xdINvcMwUQK9SN5bmA/LzBj+Td5t 6Ykoerc8QaNTT5RywX+PzhUeiuymtbw7txTivoJOZAqmHe9HM3+Elb1fSi6+ZhPcvnjm CzH9ZWGRbovvyWoYlB0rIlQoUmg7zyRymoNcHHPWAybd6l904sVoNiXJpHnxbQbFWPfE KU9V7obI7/DCiQtq2FeRTPqmHcRlZik1cER+O0mc4aFJAmi8cme6H+soknMy7FTz1fXA jlzsXCXJIZDfDXvNOLxBL/q+fdmfG1FY3PxXqB4YKXlBpsGiMdtmEDzxMYiaE+yNbOdp kt0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=L8tIRiYdKR8dkInFL+mBDdM1pWuIUReLUu5JEdcTNZw=; b=mdZdN5bu5S6SzE1lO4jxePgAMQxBQkqQl6dHmtFrNhsaCeekjq3Kb0Gpn09HgKgQdB pSHyCy8EX8nc5Y6/XTC/ZtPi9tGx2egz5kQ4q4dzNrtNvn3xQAkCoe+MYa3C9epLbH0Y wNlIDiaVuVofkCbt6t25nuwBhTxLW0S7KpFua8XkDJAbp8GDYJwvE19Dnh3wbAFMVspN gESD5Rz6WnDZQkzi/rglKFqdVlt6IH17BtZHj9r0HBAzj+Ar5fvxsTJ0eRGyg6IEXwtG THrv5cmrw7CCRzM49c4lvHPf6f8FoGsQNqqCESDFK2VsYHQxkHJEqlMq0ksAIVvAHQ9P YVng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=Y1Uqo+d0; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w186-20020a6382c3000000b003fbc1902fe6si2751408pgd.706.2022.06.01.12.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=Y1Uqo+d0; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E57713F93F; Wed, 1 Jun 2022 11:52:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242838AbiEaRBE (ORCPT + 99 others); Tue, 31 May 2022 13:01:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346264AbiEaRA7 (ORCPT ); Tue, 31 May 2022 13:00:59 -0400 Received: from bee.birch.relay.mailchannels.net (bee.birch.relay.mailchannels.net [23.83.209.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6803719D1; Tue, 31 May 2022 10:00:56 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 51CC112272D; Tue, 31 May 2022 17:00:55 +0000 (UTC) Received: from pdx1-sub0-mail-a312.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8F872121BFF; Tue, 31 May 2022 17:00:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654016454; a=rsa-sha256; cv=none; b=F24bZ2ZwmHsonA8zMYYh9wcTT+ZHuZgK7eAFxQQ7gqszgOCD31xlzGwJBkxQHSkuAFEX2q mqQHpUoLvnvlpWFfCNtPz564lFVba2s/DQmAGCEaJlZ/Ny8lBjSgq0ncgFgrMyPlMEVIxr 7j1DMQEoXy35EENRze1ybKVxUU95/BdW79T6ygmd25CbHSITgqs8waUkSxh9gdpsK7gWqC zA2JtVXh+N4iSFMce3LjXD5zdsvVdIO6FFgGQqqn0/eUYoFC6Wzbnt/eWMpWuU7ORctE50 QdFgl4c1DMjPoMUsmgGoxGaFC9yMFIXr4MhrJQCJydtSzP4SYKneCBjYuyTZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654016454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=L8tIRiYdKR8dkInFL+mBDdM1pWuIUReLUu5JEdcTNZw=; b=mhA7DFOiSviphsLOUCO/Wewevj14cHOIvH40fnTjq3oM9Lg0r52sPlgm2/tVptbtYtDmxJ pw9yClpoZaf4zjRGiCR13R7+w1m8n4go0hvZKvc3/mNKgGIW9SnD5+XLDeVtXUYBvnIFCv ABlAKFv8qB71qrmqheHKAViiT5IejQl501ZaWtQ179uIosBfn8wVUdxETSSWx4poIAMA15 sK22tGWNVt8qChCkEP6wJbO3UT6KAcYEko3LlhYVZ4E11vy7t7+G0Oem+d7jCsPx2uWqf7 dbb9yj2hw6XYynaiNcObw+QoUJsIxzxLPgQrPMzRl3IwCuylOOJIM0Y5cqweWg== ARC-Authentication-Results: i=1; rspamd-77f9f854d9-ttcbd; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Little-Obese: 0f30987b704e9737_1654016455114_2615898830 X-MC-Loop-Signature: 1654016455114:3157736382 X-MC-Ingress-Time: 1654016455114 Received: from pdx1-sub0-mail-a312.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.96.15 (trex/6.7.1); Tue, 31 May 2022 17:00:55 +0000 Received: from offworld (unknown [104.36.31.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a312.dreamhost.com (Postfix) with ESMTPSA id 4LCJSj2l7Pz2q; Tue, 31 May 2022 10:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1654016454; bh=L8tIRiYdKR8dkInFL+mBDdM1pWuIUReLUu5JEdcTNZw=; h=Date:From:To:Cc:Subject:Content-Type; b=Y1Uqo+d0AROmuT9BeMcf/BMccawNRMsb7krIHUBLMq36SszQcMjlZ3z6ZyAcZc6cw FwJ66iR8mSIr4hTMGUFY164/1jdGouF1etAdov0+iuSKrttsgVTmRqW+g0/0hpoqbv dK5XFf1t4zaSUo/8OID7JDCwVu9IOr5vqpYLe33LUO6QKp0UdJX/KrAe9oXxK+79fr /tMWTIKOcEiAxRaN8PinqDbEOeoP4qaIQ40d2AHu+dA/ZJOMrIKTnMJsBkhOYqGqiJ 661qAwZCqyUV8frALYyjHf206SX0QaKF//rOC8tU6KR1kRZaBB+fdbMa0PKvaDTgk/ t8iFGO68c8Bfw== Date: Tue, 31 May 2022 10:00:50 -0700 From: Davidlohr Bueso To: "ira.weiny@intel.com" Cc: Dan Williams , Bjorn Helgaas , Jonathan Cameron , Alison Schofield , Vishal Verma , Dave Jiang , Ben Widawsky , linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, a.manzanares@samsung.com Subject: Re: [PATCH v9 2/9] PCI: Replace magic constant for PCI Sig Vendor ID Message-ID: <20220531170050.ue6hizqjugz2g4wl@offworld> References: <20220531152632.1397976-1-ira.weiny@intel.com> <20220531152632.1397976-3-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20220531152632.1397976-3-ira.weiny@intel.com> User-Agent: NeoMutt/20220429 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 May 2022, ira.weiny@intel.com wrote: >From: Ira Weiny > >Replace the magic value in pci_bus_crs_vendor_id() with >PCI_VENDOR_ID_PCI_SIG. > >Reviewed-by: Dan Williams >Suggested-by: Bjorn Helgaas >Acked-by: Bjorn Helgaas >Signed-off-by: Ira Weiny Reviewed-by: Davidlohr Bueso >--- >Changes from V6 > Simplify commit message >--- > drivers/pci/probe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c >index 17a969942d37..6280e780a48c 100644 >--- a/drivers/pci/probe.c >+++ b/drivers/pci/probe.c >@@ -2312,7 +2312,7 @@ EXPORT_SYMBOL(pci_alloc_dev); > > static bool pci_bus_crs_vendor_id(u32 l) > { >- return (l & 0xffff) == 0x0001; >+ return (l & 0xffff) == PCI_VENDOR_ID_PCI_SIG; > } > > static bool pci_bus_wait_crs(struct pci_bus *bus, int devfn, u32 *l, > >-- >2.35.1 >