[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210526144751.GA2141@amd>
Date: Wed, 26 May 2021 16:47:51 +0200
From: Pavel Machek <pavel@....cz>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Marek BehĂșn <kabel@...nel.org>,
linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
linuxarm@...wei.com, mauro.chehab@...wei.com,
gregkh@...uxfoundation.org
Subject: Re: [PATCH v2 16/17] leds: leds-nuc: add support for changing the
ethernet type indicator
Hi!
> > > See, there's nothing that the driver can possible do with
> > > rx, tx, link, interval, device_name/device, as the the BIOS allows
> > > to set to "LAN1", "LAN2" or "LAN1+LAN2". the WMI interface doesn't
> > > provide *any* information about what LAN1 means.
> >
> > On the contrary, there is something the driver can do with these
> > attributes. If the specific combination is not supported, the driver
> > should return -EOPNOTSUPP in the trigger_offload method and let the
> > netdev trigger do the work in software.
>
> Letting netdev to trigger is something we don't want to allow, as this
> can cause side effects, making it doing slow the system due to BIOS calls
> for no good reason.
I'm with Marek here. Please listen to him.
Yes, operating LEDs can cost some CPU cycles. That's the case on most
hardware. Yet we want to support most triggers on most hardware.
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists