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

[Minios-devel] [UNIKRAFT PATCHv3 0/6] Add frequently usd APIs to fdt(series#2)



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.
---
Changes:
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 (2):
  plat/common: Introduce fdt_get_interrupt helper
  plat/kvm: Add some fdt interfaces build support for arm64 gic
    initialization

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

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

 plat/common/arm/irq_fdt.c         | 208 ++++++++++++++++++++++++++++++
 plat/common/include/arm/irq_fdt.h | 131 +++++++++++++++++++
 plat/kvm/Makefile.uk              |   2 +
 3 files changed, 341 insertions(+)
 create mode 100644 plat/common/arm/irq_fdt.c
 create mode 100644 plat/common/include/arm/irq_fdt.h

-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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