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

Re: [PATCH v2] xen/arm: Skip Xen specific nodes/properties from hwdom /chosen node



Hi Michal,

On 12/09/2023 11:53, Michal Orzel wrote:
Skip the following Xen specific host device tree nodes/properties
from being included into hardware domain /chosen node:
  - xen,static-heap: this property informs Xen about memory regions
    reserved exclusively as static heap,
  - xen,domain-shared-memory-v1: node with this compatible informs Xen
    about static shared memory region for a domain. Xen exposes a different
    node (under /reserved-memory with compatible "xen,shared-memory-v1") to
    let domain know about the shared region,
  - xen,evtchn-v1: node with this compatible informs Xen about static
    event channel configuration for a domain. Xen does not expose
    information about static event channels to domUs and dom0 case was
    overlooked (by default nodes from host dt are copied to dom0 fdt unless
    explicitly marked to be skipped), since the author's idea was not to
    expose it (refer docs/misc/arm/device-tree/booting.txt, "Static Event
    Channel"). Even if we wanted to expose the static event channel
    information, the current node is in the wrong format (i.e. contains
    phandle to domU node not visible by dom0). Lastly, this feature is
    marked as tech-preview and there is no Linux dt binding in place.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>

Acked-by: Julien Grall <jgrall@xxxxxxxxxx>

Cheers,

--
Julien Grall



 


Rackspace

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