xen-troops / zephyr-xenlib

Set of Zephyr libs and applications that provides basic Dom0 services
Apache License 2.0
0 stars 10 forks source link

Introduce dt_passthrough node support for domcfg #17

Closed oleksiimoisieiev closed 1 year ago

oleksiimoisieiev commented 1 year ago

Add dt_passthrough support to domcfg as analogue to dt_passthrough nodes in xl.cfg This will allow us to pass nodes, that should be copied to the Domain device tree without need to put them to /passthrough node.

xakep-amatop commented 1 year ago

Acked-by: Mykola Kvach <mykola_kvach@epam.com>

oleksiimoisieiev commented 1 year ago

Updated

lorc commented 1 year ago

This will allow us to pass nodes, that should be copied to the Domain device tree without need to put them to /passthrough node.

Do we really need this feature? It is considered as ill-defined by the Xen community. This is why we can't upstream it to the Xen Tools.

sa-kib commented 1 year ago

This will allow us to pass nodes, that should be copied to the Domain device tree without need to put them to /passthrough node.

Do we really need this feature? It is considered as ill-defined by the Xen community. This is why we can't upstream it to the Xen Tools.

as long as we want zephyr dom0 to be an ad-hoc replacement for linux dom0 we would need to mimic linux dom0 behaviour, and keep zephyr dom0 compatible with it -- in terms of domain configs, partial DTB etc.

sa-kib commented 1 year ago

Reviewed-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com> for patch domain.h: Add dt_passthrough parameter to domain config