[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCHv7 0/8] Add frequently usd APIs to fdt(series#2)


Thank you for all the effort and patience in getting this patch series done. We are almost there and the only pending changes in this patch series are:

* add fdt_getprop_u32_by_offset into the libfdt library
* separate the device tree driver from the kvmplat library.

Thanks & Regards
Sharan Santhanam

On 6/27/19 9:55 AM, Jia He wrote:
Arm64 devices libraries will access device tree to get lots of
properties. We will get device addresses, interrupts in each device
library. In this case, we will find device node by offset, get address
cells, size cells and interrupt cells everywhere.

This patch series introduces serveral APIs in lib/fdt to reduce the
redundant calls of fdt functions.
   move fdt_reg_read_number to header file for static inline
   fix one small compilation warning in patch 07
   1.address Sharan's comment
   2.remove fdt_{address,size}_cells_or_parent helpers as per comments
     from libfdt author
v3->v4: address the comments from Julien.
   1.add fdt translate address patch05 to handle the "ranges" property
   2.add fdt_{address,size}_cells_or_parent helpers patch04
   3.fix a default value bug which doesn't follow DT spec
v2->v3: address the comments from Julien.
   1.remove fdt_get_cells to keep libfdt unchanged
   2.parse "interrupt-extended" and "ranges"
   3.remove the size parameter in fdt_node_offset_by_compatible_list
   4.remove the fdt_for_each_compatible_node which is not used.
v1->v2: rebase to latest code.

Jia He (3):
   drivers/ofw: Enable build support for internal fdt interfaces
   plat/common: Add fdt address translation support
   lib/fdt: Change the default value of fdt_size_cells

Jianyong Wu (2):
   plat/common: Introduce fdt_getprop_u32_by_offset helper
   plat/common: Introduce fdt_node_offset_by_compatible_list helper

Wei Chen (3):
   plat/common: Introduce fdt_interrupt_cells helper to parse irq
   plat/common: Introduce fdt_get_address helper
   plat/common: Introduce fdt_get_interrupt helper

  lib/fdt/fdt_addresses.c        |   2 +-
  lib/fdt/include/libfdt.h       |   2 +-
  plat/drivers/include/ofw/fdt.h | 161 +++++++++++++++++
  plat/drivers/ofw/fdt.c         | 312 +++++++++++++++++++++++++++++++++
  plat/kvm/Makefile.uk           |   1 +
  5 files changed, 476 insertions(+), 2 deletions(-)
  create mode 100644 plat/drivers/include/ofw/fdt.h
  create mode 100644 plat/drivers/ofw/fdt.c

Minios-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.