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 348F2C7EE23 for ; Wed, 1 Mar 2023 07:31:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbjCAHbq (ORCPT ); Wed, 1 Mar 2023 02:31:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjCAHbo (ORCPT ); Wed, 1 Mar 2023 02:31:44 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A32D38670; Tue, 28 Feb 2023 23:31:39 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id u6so7836852ilk.12; Tue, 28 Feb 2023 23:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677655899; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=cA9e8/pgl41EFE22L39O9fSD47XJ0DSsdizMlEKntBQ=; b=N8zd4uQF1Om8ZyCO7xUdJYqT8UxltYGw3AvczEjCwpj0WzZIZHWw1j1FS5zjiJ0e0R Zxuyz1ml/Xnbo1PpYzDUcGeHqlgt7+M+oaqV4MrfJiQsyxUfLHE9RZzxKG3En49vchu7 lpPHJgTS8TXBBv7gttgZGGcvKgniNwWiluSaKwUHXIIzJ5jyt8nhFbau+w4WOAvQka1G NUj1wY793eTwFUIbrEKhHdI3yvr++lIT7TICT/v5yge28CYLWd3v+KGsxmSvu4yJXKLI Mmd5q6N+/i2Lygk6txtIYP4oDYnGCtxaiz/WMkr+glHif0uLmmllM7ZUyCY4C6Ivjphw MalA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677655899; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cA9e8/pgl41EFE22L39O9fSD47XJ0DSsdizMlEKntBQ=; b=T8l+ZC0Yz/nF+ZdoW+jCCBxv97r9PC3s/fozU6GONlfC21mdmJ2FZ5PnRE2Z/hZ5QT mE29vGlIfM4atjnvUtKnfIsN4Yd3EQmm6+Gb+kuJbk3yjneXLb4ohgHScUTy6lktAZQF 4OEf9KlV98W4wZO1r6Byd4ToFUFDuKHRBkTI1if+XhX/1cYS7Wtvxcb0VOoXfBj1QnFQ biG7Pj0CgZuSYEEizPwtTDp32HMFMq4YDztz3ZhgnU9eoTs+E7CUCg8pjPLka6jMAE+o hB6wH6LGxImqZAiscMfk4qbN1wjKeilg9NbIWwNcv6XeNU4LTZabuoFSoxMDZ8CemhnU LfoQ== X-Gm-Message-State: AO0yUKUnFdi6bGztXBgUgyxPESxrjyoIyY/tIr8OtaGEx7nzu+nrF1YM ksz1LrHir1IYikhVlXfZsmz0MKhDh9Q2ww== X-Google-Smtp-Source: AK7set+b1UzIG1sF/QAMlti3+OK/NOFNrDqrd1VrBcqc7Ue2HTA8Kn1UNaWixD/xOat+ZVCED/B9nA== X-Received: by 2002:a05:6e02:20ee:b0:315:365d:534f with SMTP id q14-20020a056e0220ee00b00315365d534fmr5097938ilv.19.1677655898851; Tue, 28 Feb 2023 23:31:38 -0800 (PST) Received: from ?IPv6:2003:f6:ef05:8700:853c:3ba5:d710:3c1d? (p200300f6ef058700853c3ba5d7103c1d.dip0.t-ipconnect.de. [2003:f6:ef05:8700:853c:3ba5:d710:3c1d]) by smtp.gmail.com with ESMTPSA id j21-20020a02cc75000000b003aabed37b1bsm3525744jaq.175.2023.02.28.23.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 23:31:38 -0800 (PST) Message-ID: <8f1b8b57a963d457714e2ea008761f05d8848814.camel@gmail.com> Subject: Re: [PATCH v2 1/2] net: phy: adin: Add flags to allow disabling of fast link down From: Nuno =?ISO-8859-1?Q?S=E1?= To: Ken Sloat Cc: pabeni@redhat.com, edumazet@google.com, Michael Hennerich , "David S. Miller" , Jakub Kicinski , Rob Herring , Andrew Lunn , Heiner Kallweit , Russell King , Alexandru Tachici , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 01 Mar 2023 08:33:32 +0100 In-Reply-To: <20230228184956.2309584-1-ken.s@variscite.com> References: <20230228144056.2246114-1-ken.s@variscite.com> <20230228184956.2309584-1-ken.s@variscite.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIzLTAyLTI4IGF0IDEzOjQ5IC0wNTAwLCBLZW4gU2xvYXQgd3JvdGU6Cj4gIkVu aGFuY2VkIExpbmsgRGV0ZWN0aW9uIiBpcyBhbiBBREkgUEhZIGZlYXR1cmUgdGhhdCBhbGxvd3Mg Zm9yCj4gZWFybGllcgo+IGRldGVjdGlvbiBvZiBsaW5rIGRvd24gaWYgY2VydGFpbiBzaWduYWwg Y29uZGl0aW9ucyBhcmUgbWV0LiBBbHNvCj4ga25vd24KPiBvbiBvdGhlciBQSFlzIGFzICJGYXN0 IExpbmsgRG93biwiIHRoaXMgZmVhdHVyZSBpcyBmb3IgdGhlIG1vc3QgcGFydAo+IGVuYWJsZWQg YnkgZGVmYXVsdCBvbiB0aGUgUEhZLiBUaGlzIGlzIG5vdCBzdWl0YWJsZSBmb3IgYWxsCj4gYXBw bGljYXRpb25zCj4gYW5kIGJyZWFrcyB0aGUgSUVFRSBzdGFuZGFyZCBhcy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