Subject: Re: [PATCH v4 04/10] taint: Add TAINT_FWCTL

From: Jonathan Cameron <[email-masked]>
Date: Fri, 7 Feb 2025 13:09:43 +0000

On Thu,  6 Feb 2025 20:13:26 -0400
Jason Gunthorpe <[email-masked]> wrote:

> Requesting a fwctl scope of access that includes mutating device debug
> data will cause the kernel to be tainted. Changing the device operation
> through things in the debug scope may cause the device to malfunction in
> undefined ways. This should be reflected in the TAINT flags to help any
> debuggers understand that something has been done.
> 
> Signed-off-by: Jason Gunthorpe <[email-masked]>
Not something I've ever directly touched before, so more eyes on this
would be good, but FWIW looks inline with other flags and the
general principle seems sensible to me.

Reviewed-by: Jonathan Cameron <[email-masked]>