Re: [PATCH] configfs: Implement binary attributes (v3)

From: Pantelis Antoniou
Date: Wed Oct 29 2014 - 02:59:15 EST


Hi Greg,

> On Oct 29, 2014, at 04:54 , Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Oct 28, 2014 at 10:30:32PM +0200, Pantelis Antoniou wrote:
>> ConfigFS lacked binary attributes up until now. This patch
>> introduces support for binary attributes in a somewhat similar
>> manner of sysfs binary attributes albeit with changes that
>> fit the configfs usage model.
>>
>> Problems that configfs binary attributes fix are everything that
>> requires a binary blob as part of the configuration of a resource,
>> such as bitstream loading for FPGAs, DTBs for dynamically created
>> devices etc.
>
> What's wrong with using the firmware interface for this instead?
>

It is problem when the bitstream is provided by user-space due to namespace
issues. What happens if you have a container, from where do you get that firmware
file so that you can use it.

IIRC Joel didnât object too much last time I posted it.

> What driver/subsystem wants to use configfs binary files? Having a user
> for this api is essential if you want it to be merged.
>

Device tree overlays for starters and the FPGA manager.

For the first please look at "OF: DT-Overlay configfs interface (v2)â posted
yesterday; you are in the CC list.

> thanks,
>
> greg k-h

Regards

â Pantelis

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/