Re: [PATCH] SPI LPC information kernel module
From: Arnd Bergmann
Date: Tue Jun 30 2020 - 11:00:36 EST
On Tue, Jun 30, 2020 at 4:43 PM Daniel Gutson <daniel@xxxxxxxxxxxxx> wrote:
> On Tue, Jun 30, 2020 at 5:56 AM Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Mon, Jun 29, 2020 at 07:59:32PM -0300, Daniel Gutson wrote:
>> Why is this going in securityfs at all? Why not just sysfs as it is a
>> CPU attribute, right?
>
> Richard already discussed that, but "it" is not only (one) CPU attribute, are SPI chip
> settings and attributes coming from the firmware.
> Please note that I wanted to submit the minimum patch, but I need to add more attributes.
Why can't the SPI chip settings be attributes of the SPI chip device in sysfs?
Which firmware are you actually talking about here? Do you mean firmware running
on a device behind the SPI controller?
Arnd