RE: [RFC] Add a parser in fpga_region to decode the tlv meta data suggested by Sundar

2017-02-24 Thread Nadathur, Sundar
On Friday, February 24, 2017 1:17 PM, Jason Gunthorpe wrote: > Do we need binary data in the header? > > Jason I have talked about the need for structs and arrays, potentially nested, without really explaining why we may need them eventually. I'll get to that in a moment. But, can we agree that

RE: [RFC] Add a parser in fpga_region to decode the tlv meta data suggested by Sundar

2017-02-24 Thread Nadathur, Sundar
[Adding linux-kernel mailing list] > -Original Message- > From: yi1...@linux.intel.com [mailto:yi1...@linux.intel.com] > Sent: Friday, February 24, 2017 9:29 AM > To: at...@kernel.org; moritz.fisc...@ettus.com; > jguntho...@obsidianresearch.com > Cc: linux-f...@vger.ke

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Nadathur, Sundar
On February 21, 2017 9:39 PM, Moritz Fischer wrote: > TLV Seems easy enough. To give an update, I played with fdt a bit to see how > far I get in half an hour. I got bool / int / strings to work quite fast > (~30mins). > Please disregard the horrible hackyness of this ... > [...] > So I'm fairly

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Nadathur, Sundar
> -Original Message- > From: Alan Tull [mailto:delicious.qui...@gmail.com] > Sent: Tuesday, February 21, 2017 10:33 AM > To: Moritz Fischer > Cc: Nadathur, Sundar ; Yves Vandervennet > ; Jason Gunthorpe > ; matthew.gerl...@linux.intel.com; > linux-kernel ; li

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-18 Thread Nadathur, Sundar
On February 17, 2017 6:30 PM, Moritz Fischer wrote: On Fri, Feb 17, 2017 at 04:28:37PM -0600, Yves Vandervennet wrote: > Moritz, > > whatever solution we decide to go with has to work with other OS'es. > The last thing we want to do is to have wrappers that are Linux specific. I do agree tha