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

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


  • To: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
  • From: "Justin He (Arm Technology China)" <Justin.He@xxxxxxx>
  • Date: Fri, 12 Jul 2019 02:39:27 +0000
  • Accept-language: en-US, zh-CN
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PrIIdBWdU7ev3kgSlFwV9IZioqg+GPOUIAROg+b+1ng=; b=JavYlZsF3ga6vI4ZFe4+jklVK/Kym9WNmVRpFvZEewRzKqoGqa2vR379Gji/Bsdy9fk9KsytavlheIs+3UW4gJ6tLr4ilc7Iur9xfriYTFGSMlCMMoQzEHM2FHlpy4H466OPlFJA2k3Tj/hnhg11aR0nic1POT0NFd/3JJdHH1Y9tmHHx+yx34/ojezDiARtK4Ytm17pP4Z/z15iV5bBYctURdNu2Fr7ty2BM41pYYR4+PA3W+qt0X6x1yys+F/Tu981oHJrDhCwXV6zyNtHtPxFbL13eUhFl664oNXmK1GoGHC62ET1wh0/u0awJH2MWjZhju5V8zD7A4Saij/vrA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RqdO9KGKcVVpZCkIir4KN+6KWBy4Es+yC64qBBNwC7it6gzHr/tSgu7SRzX/CMz6eHjqyzqU+ET6gylelBrSo1x/0NTNsPABfwQHs+ph+1VTQIpzRi9a1zDff563cOT2Me586oULucp7jVhvyQAb98YupPlXziP12JvFtMrbBT/nyYX1QlfMKxdePANxWd9aBcoatR65zcohKZ9B05OVcwzoZCOqCDfRdRvP5ee1EuIC8eaWTT+KeG1sxZkO9tx8PsVBlD/JO1/SIi9/N0ExrJljmJyRrGTalYGOm3fVeuhjkOR4N8h7+Pgv7wX8P+HDMKQtzx6W7uBs/8AWsn0fSg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Cc: Felipe Huici <felipe.huici@xxxxxxxxx>, Florian Schmidt <florian.schmidt@xxxxxxxxx>, Julien Grall <Julien.Grall@xxxxxxx>, "yuri.volchkov@xxxxxxxxx" <yuri.volchkov@xxxxxxxxx>, "Kaly Xin \(Arm Technology China\)" <Kaly.Xin@xxxxxxx>
  • Delivery-date: Fri, 12 Jul 2019 02:39:36 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVN0RFVp3uAFe2fEazDdbjE/6BIKbFKBMAgAEfREA=
  • Thread-topic: [UNIKRAFT PATCHv10 0/7] Add frequently usd APIs to fdt(series#2)

Thanks a lot, Sharan

--
Cheers,
Justin (Jia He)



> -----Original Message-----
> From: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
> Sent: 2019年7月11日 4:31
> To: Justin He (Arm Technology China) <Justin.He@xxxxxxx>; minios-
> devel@xxxxxxxxxxxxxxxxxxxx; Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
> Cc: Florian Schmidt <florian.schmidt@xxxxxxxxx>; Felipe Huici
> <felipe.huici@xxxxxxxxx>; Julien Grall <Julien.Grall@xxxxxxx>;
> yuri.volchkov@xxxxxxxxx; Kaly Xin (Arm Technology China)
> <Kaly.Xin@xxxxxxx>
> Subject: Re: [UNIKRAFT PATCHv10 0/7] Add frequently usd APIs to
> fdt(series#2)
>
> Hello Justin,
>
> Thank you for all work in adding support for device tree to Unikraft.
> The patch series has been reviewed and I will upstream this patch series
> before tomorrow.
>
> Thanks & Regards
> Sharan
>
> On 7/10/19 7:23 PM, 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 several APIs in lib/fdt to reduce the
> > redundant calls of fdt functions.
> >
> > ---
> > Changes:
> > v9->v10:
> >    fix a warning in gcc 6.3 for patch 1
> > v8->v9:
> >    remove redudant memset in "Add fdt address translation support"
> >    add r-b from Sharan
> > v7->v8:
> >    merge build enablement patch into previous one
> >    move fdt_getprop_u32_by_offset into lib/fdt/uk_fdt.c
> > v6->v7:
> >    move fdt_reg_read_number to header file for static inline
> > v5->v6:
> >    fix one small compilation warning in patch 07
> > v4->v5:
> >    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 (4):
> >    lib/fdt: Introduce fdt_getprop_u32_by_offset helper
> >    plat/common: Add fdt address translation support
> >    plat/common: Introduce fdt_get_address helper
> >    lib/fdt: Change the default value of fdt_size_cells
> >
> > Jianyong Wu (2):
> >    plat/common: Introduce fdt_interrupt_cells helper to parse irq
> >    plat/common: Introduce fdt_node_offset_by_compatible_list helper
> >
> > Wei Chen (1):
> >    plat/common: Introduce fdt_get_interrupt helper
> >
> >   lib/fdt/Makefile.uk            |   1 +
> >   lib/fdt/exportsyms.uk          |   1 +
> >   lib/fdt/fdt_addresses.c        |   2 +-
> >   lib/fdt/include/libfdt.h       |  23 ++-
> >   lib/fdt/uk_fdt.c               |  57 +++++++
> >   plat/drivers/include/ofw/fdt.h | 140 ++++++++++++++++
> >   plat/drivers/ofw/fdt.c         | 291 +++++++++++++++++++++++++++++++++
> >   plat/kvm/Makefile.uk           |   2 +
> >   8 files changed, 515 insertions(+), 2 deletions(-)
> >   create mode 100644 lib/fdt/uk_fdt.c
> >   create mode 100644 plat/drivers/include/ofw/fdt.h
> >   create mode 100644 plat/drivers/ofw/fdt.c
> >
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
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®.