Re: [PATCH 6/8] fwctl: Add documentation

Randy Dunlap
2024-06-05T20:14:08Z

On 6/5/24 9:03 AM, Jason Gunthorpe wrote:
> On Tue, Jun 04, 2024 at 07:31:10PM -0700, Randy Dunlap wrote:
>
>>> +Modern devices contain extensive amounts of FW, and in many cases, are largely
>>> +software defined pieces of hardware. The evolution of this approach is largely a
>>
>> software-defined
>
> Thanks a lot Randy, I picked up all your notes.
>
>>> +While the kernel can always directly parse and restrict RPCs, it is expected
>>> +that the existing kernel pattern of allowing drivers to delegate validation to
>>> +FW to be a useful design.
>>
>> (and one that can be abused...)
>
> I would really like to write a paragraph about this "abuse", Dan has
> some good thoughts on this as well. Did you have a specific "abuse"
> in your mind?

No, I don't. It just seems very open (but ioctls are just as open).

--
#Randy