Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5221815rwb; Mon, 14 Nov 2022 00:50:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4i5eeNBj//vcddYQNcsNA3S+OrJ2pdyymU42DKMdsfMoNHnDKlKTs3YTOtNYSwWQ6BCMFt X-Received: by 2002:a17:902:8b81:b0:182:2589:db21 with SMTP id ay1-20020a1709028b8100b001822589db21mr12443687plb.151.1668415817733; Mon, 14 Nov 2022 00:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668415817; cv=none; d=google.com; s=arc-20160816; b=R5M1sQXVlYtdxZUA2rW+OGrIp/d7QYNaihkvc3cO4ArINA3turJtfig/v2FTHZUAty PmTtIw4NAxHHci1YIRD9YyNNSSVBi0Bu0YHF+QPJD5wq6bTwc6YlPlZitTgjRo6oZnl6 a7ZfwcTb8T6AwU90WUXQFm475YHS0peeGpabqE3KCVWxbjOPvi+JzAyZVcQZPFltOfcW yUByoi3NJ0VU6GTDF1AWlAGgRf2dHv/U8yShrEtg/8cCgjAmvkgPrr2njokNaLpD+sE+ 01GL942/lokTVj7crAM86XyBhixo2dw42Z7uXtGnUZ1yHL5xNnkx7KhGZcpKcc31mjPP KRyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=rvoFu5Vkzk7tkuvFmyY4Xr9XXyDqV9vyo6z6vTXC1E0=; b=G389JZji2/LWgE3YYuKGRZkfTo1srRw5Di1SBc2aMmKbBP3wXLnRQMFqe3uTqxM2zR /pVrVregDjMrJb43rMHeu+0umeVzUsMnNvFcAw7LmzJD8D2akn++Y7ZnaFAI08FGllDE 9eUiRcq3PduItss9M9KE0c4qAYH7YBvP/bZGGpHVtrDD7Bl9VzrXv+pMOdtCXeX+2Fs+ MmYkt+Q+PbqcwXy5jW83KOwQ5aGNwih2KDZIFAlgjdBtvdZF6Z84al9R7HYterySH4eD 9sQQb5wPOHxYoIZZNMDuyaf3j8QMjNqSqOyvih6ZB/8DPIWiL2T0Wwgl9iDwYh95YOup PgHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a170902758400b00188b9b4139asi4522169pll.210.2022.11.14.00.50.06; Mon, 14 Nov 2022 00:50:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236359AbiKNIPQ (ORCPT + 88 others); Mon, 14 Nov 2022 03:15:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236325AbiKNIO7 (ORCPT ); Mon, 14 Nov 2022 03:14:59 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37C9E1A209; Mon, 14 Nov 2022 00:14:50 -0800 (PST) Received: from loongson.cn (unknown [223.106.24.7]) by gateway (Coremail) with SMTP id _____8Cxrrf4+HFjItcGAA--.15924S3; Mon, 14 Nov 2022 16:14:48 +0800 (CST) Received: from chenhuacai$loongson.cn ( [223.106.24.7] ) by ajax-webmail-localhost.localdomain (Coremail) ; Mon, 14 Nov 2022 16:14:47 +0800 (GMT+08:00) X-Originating-IP: [223.106.24.7] Date: Mon, 14 Nov 2022 16:14:47 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?6ZmI5Y2O5omN?= To: "Liu Peibao" Cc: "Bjorn Helgaas" , "Lorenzo Pieralisi" , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , "Jiaxun Yang" , "Christophe JAILLET" , "Jianmin Lv" , "Yinbo Zhu" , wanghongliang , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V5] PCI: loongson: Skip scanning unavailable child devices X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220411(feba7c69) Copyright (c) 2002-2022 www.mailtech.cn .loongson.cn In-Reply-To: <20221114074346.23008-1-liupeibao@loongson.cn> References: <20221114074346.23008-1-liupeibao@loongson.cn> Content-Transfer-Encoding: base64 X-CM-CTRLDATA: zU7c12Zvb3Rlcl90eHQ9MzA3Mzo2MTI= Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <3eb09d86.900e.1847534872f.Coremail.chenhuacai@loongson.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAf8Dxf+L3+HFjYWkSAA--.5102W X-CM-SenderInfo: hfkh0x5xdftxo6or00hjvr0hdfq/1tbiAQAKBmNw3mQOZQAAsP X-Coremail-Antispam: 1Uk129KBjvJXoWxAryfGr18tr4fZr4xuw17KFg_yoW5ZFW5pa y3Aayakr4UtFyxCanIq34UCF13Z39xG393GrZrCwn29asxu34DWFykCF1jvrZFvr40q3Wj vr4jgr18Ka1DtaDanT9S1TB71UUUUUJqnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU bvxYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s 1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xv wVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwA2z4 x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4UJVWxJr1l n4kS14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6x ACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E 87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lFcxC0V AYjxAxZF0Ew4CEw7xC0wACY4xI67k04243AVC20s07MxAIw28IcxkI7VAKI48JMxC20s02 6xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr 4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxG rwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8Jw CI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2 z280aVCY1x0267AKxVWUJVW8JwCE64xvF2IEb7IF0Fy7YxBIdaVFxhVjvjDU0xZFpf9x07 jYyIUUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 SGksIFBlaWJhbywKCgo+IC0tLS0t5Y6f5aeL6YKu5Lu2LS0tLS0KPiDlj5Hku7bkuro6ICJMaXUg UGVpYmFvIiA8bGl1cGVpYmFvQGxvb25n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