Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7197EC636D3 for ; Sat, 11 Feb 2023 02:39:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbjBKCjZ (ORCPT ); Fri, 10 Feb 2023 21:39:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjBKCjX (ORCPT ); Fri, 10 Feb 2023 21:39:23 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 271AD79B04; Fri, 10 Feb 2023 18:39:20 -0800 (PST) Received: from loongson.cn (unknown [112.20.108.204]) by gateway (Coremail) with SMTP id _____8AxX+vX_+ZjNBsRAA--.33818S3; Sat, 11 Feb 2023 10:39:19 +0800 (CST) Received: from zhoubinbin$loongson.cn ( [112.20.108.204] ) by ajax-webmail-localhost.localdomain (Coremail) ; Sat, 11 Feb 2023 10:39:19 +0800 (GMT+08:00) X-Originating-IP: [112.20.108.204] Date: Sat, 11 Feb 2023 10:39:19 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?5ZGo5b2s5b2s?= To: "Rob Herring" Cc: "Bjorn Helgaas" , "Liu Peibao" , "Huacai Chen" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: Honor firmware's device disabled status X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220411(feba7c69) Copyright (c) 2002-2023 www.mailtech.cn .loongson.cn In-Reply-To: <20230210164351.2687475-1-robh@kernel.org> References: <20230210164351.2687475-1-robh@kernel.org> Content-Transfer-Encoding: base64 X-CM-CTRLDATA: LY8admZvb3Rlcl90eHQ9MTQ4MDo2MTI= Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <4ef29ff8.20ba1.1863e5760d2.Coremail.zhoubinbin@loongson.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAf8Dx0OTX_+ZjEtwwAA--.9104W X-CM-SenderInfo: p2kr3uplqex0o6or00hjvr0hdfq/1tbiAQATCGPmM-AKWAAAsO X-Coremail-Antispam: 1Uk129KBjvJXoW7urW8tw43Ww18tr45Xw1UWrg_yoW8WF4UpF ZxAayY9r18Jr1UGrZFqryjkFy5X3s7A398GFWqy3s29as8Cwn2qry3AF43Ja9xJrZ2qF13 Zr1qqrnFga1UJ3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU bfAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s 1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xv wVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwA2z4 x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aVCY1x0267AKxVW8JVW8Jr1le2I2 62IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4xG64xvF2IEw4 CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvj eVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACY4xI67k04243AVAKzVAKj4xxM4 xvF2IEb7IF0Fy26I8I3I1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l x2I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