WOL modes such as magic-packet should be an OS policy.
By default, advertise supported modes and use ethtool to activate
the required mode.
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com>
---
Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml
index 2c71e2cf3a2f..3c30dd23cd4e 100644
--- a/Documentation/devicetree/bindings/net/cdns,macb.yaml
+++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml
@@ -146,6 +146,7 @@ patternProperties:
magic-packet:
type: boolean
+ deprecated: true
description:
Indicates that the hardware supports waking up via magic packet.
--
2.34.1
On Wed, Jun 05, 2024 at 03:54:57PM +0530, Vineeth Karumanchi wrote:
> WOL modes such as magic-packet should be an OS policy.
> By default, advertise supported modes and use ethtool to activate
> the required mode.
>
> Suggested-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
On Wed, Jun 05, 2024 at 03:54:57PM +0530, Vineeth Karumanchi wrote: > WOL modes such as magic-packet should be an OS policy. > By default, advertise supported modes and use ethtool to activate > the required mode. > > Suggested-by: Andrew Lunn <andrew@lunn.ch> > Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> > --- > Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + > 1 file changed, 1 insertion(+) You forgot Krzysztof's ack. > > diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml > index 2c71e2cf3a2f..3c30dd23cd4e 100644 > --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml > +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml > @@ -146,6 +146,7 @@ patternProperties: > > magic-packet: > type: boolean > + deprecated: true > description: > Indicates that the hardware supports waking up via magic packet. > > -- > 2.34.1 >
Hi Rob, On 05/06/24 9:11 pm, Rob Herring wrote: > On Wed, Jun 05, 2024 at 03:54:57PM +0530, Vineeth Karumanchi wrote: >> WOL modes such as magic-packet should be an OS policy. >> By default, advertise supported modes and use ethtool to activate >> the required mode. >> >> Suggested-by: Andrew Lunn <andrew@lunn.ch> >> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> >> --- >> Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + >> 1 file changed, 1 insertion(+) > > You forgot Krzysztof's ack. > There is a change in the commit message from earlier version, as we are not using caps any more, I thought of not including the ack. I will add his ack in next version. 🙏 vineeth >> >> diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml >> index 2c71e2cf3a2f..3c30dd23cd4e 100644 >> --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml >> +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml >> @@ -146,6 +146,7 @@ patternProperties: >> >> magic-packet: >> type: boolean >> + deprecated: true >> description: >> Indicates that the hardware supports waking up via magic packet. >> >> -- >> 2.34.1 >>
On 06/06/2024 07:13, Vineeth Karumanchi wrote: > Hi Rob, > > > On 05/06/24 9:11 pm, Rob Herring wrote: >> On Wed, Jun 05, 2024 at 03:54:57PM +0530, Vineeth Karumanchi wrote: >>> WOL modes such as magic-packet should be an OS policy. >>> By default, advertise supported modes and use ethtool to activate >>> the required mode. >>> >>> Suggested-by: Andrew Lunn <andrew@lunn.ch> >>> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> >>> --- >>> Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + >>> 1 file changed, 1 insertion(+) >> >> You forgot Krzysztof's ack. >> > > There is a change in the commit message from earlier version, > as we are not using caps any more, I thought of not including the ack. > > I will add his ack in next version. And where is it mentioned that you drop someone's ack on purpose? Best regards, Krzysztof
On 06/06/24 11:47 am, Krzysztof Kozlowski wrote: > On 06/06/2024 07:13, Vineeth Karumanchi wrote: >> Hi Rob, >> >> >> On 05/06/24 9:11 pm, Rob Herring wrote: >>> On Wed, Jun 05, 2024 at 03:54:57PM +0530, Vineeth Karumanchi wrote: >>>> WOL modes such as magic-packet should be an OS policy. >>>> By default, advertise supported modes and use ethtool to activate >>>> the required mode. >>>> >>>> Suggested-by: Andrew Lunn <andrew@lunn.ch> >>>> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> >>>> --- >>>> Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + >>>> 1 file changed, 1 insertion(+) >>> >>> You forgot Krzysztof's ack. >>> >> >> There is a change in the commit message from earlier version, >> as we are not using caps any more, I thought of not including the ack. >> >> I will add his ack in next version. > > And where is it mentioned that you drop someone's ack on purpose? > sorry, mybad, I missed it mentioning in version history. I will make a note of it. 🙏 vineeth > Best regards, > Krzysztof >
© 2016 - 2026 Red Hat, Inc.