Re: [PATCH V4 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions

2021-04-05 Thread Lizhi Hou
Hi Tom, On 03/28/2021 08:30 AM, Tom Rix wrote: Do not reorder function definitions, this makes comparing changes from the previous patchset difficult. A general issue with returning consistent error codes. There are several cases where fdt_* code are not translated. Sure. Will fix. On 3/

Re: [PATCH V4 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions

2021-03-28 Thread Tom Rix
Do not reorder function definitions, this makes comparing changes from the previous patchset difficult. A general issue with returning consistent error codes.  There are several cases where fdt_* code are not translated. On 3/23/21 10:29 PM, Lizhi Hou wrote: > XRT drivers use device tree as met

[PATCH V4 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions

2021-03-23 Thread Lizhi Hou
XRT drivers use device tree as metadata format to discover HW subsystems behind PCIe BAR. Thus libfdt functions are called for the driver to parse device tree blob. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/metadata.h | 233 +