Re: [PATCH] firmware: export x86_64 platform flash bios region via sysfs

From: Greg KH
Date: Thu Nov 11 2021 - 06:43:54 EST


On Thu, Nov 11, 2021 at 11:55:25AM +0100, Hans-Gert Dahmen wrote:
> > My concern of
> > removing the DANGEROUS tag is that we end up bricking yet another Lenovo
> > laptop by accident. Avoiding that would give me more peace of mind :)
>
> Yes of course, I think to not endanger users with malfunctions caused
> by code we produce is of our mutual interest here and we should make
> sure to be absolutely serious about it.

This is why I was saying that the driver HAS to specify the hardware
that it is allowed to bind to, and only bind to that hardware. Your
driver today does not take that into account at all, which is my primary
objection to the code as-is.

thanks,

greg k-h