Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.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 8A3FA14F93 for ; Tue, 12 Sep 2023 06:35:43 +0000 (UTC) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F20210DF for ; Mon, 11 Sep 2023 23:35:42 -0700 (PDT) Received: from kwepemm600007.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RlDLc5CnNz1N7xq; Tue, 12 Sep 2023 14:33:44 +0800 (CST) Received: from [10.69.136.139] (10.69.136.139) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 12 Sep 2023 14:35:39 +0800 Message-ID: <51e5fc5b-cea0-aea6-b83f-eafaa90e24c7@huawei.com> Date: Tue, 12 Sep 2023 14:35:38 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , Andrew Lunn , Heiner Kallweit , , "David S. Miller" , Eric Dumazet , Jakub Kicinski , , , , Paolo Abeni , , , Subject: Re: [PATCH RFC net-next 0/7] net: phy: avoid race when erroring stopping PHY To: "Russell King (Oracle)" References: From: Jijie Shao In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.136.139] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600007.china.huawei.com (7.193.23.208) X-CFilter-Loop: Reflected on 2023/9/11 16:54, Russell King (Oracle) wrote: > Hi, > > It would be good if Jijie Shao could test these patches and provide a > tested-by as appropriate. > > Thanks. > > On Fri, Sep 08, 2023 at 12:20:22PM +0100, Russell King (Oracle) wrote: >> This series addresses a problem reported by Jijie Shao where the PHY >> state machine can race with phy_stop() leading to an incorrect state. >> Hi Russell, Sorry for late reply and thanks for your patches. It works in our case. And it should be noted that our device does not support resuming from suspend. So the case about suspend was not tested. Tested-by: Jijie Shao