Skip to content

arm: pass a device tree to dom0

David Vrabel xen-devel 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v35 patches 7 repliesSuperseded
  3. v211 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches16 repliesSuperseded

Changes in v4 from the cover letter

- dropped already applied patches
- tweaked set_memory_reg() to be a bit more readable.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4device tree, arm: supply a flat device tree to dom0xen/arch/arm/domain_build.c xen/arch/arm/kernel.c xen/arch/arm/kernel.h +3 more+262 -600 replies
2/4arm: use bootargs for the command linexen/arch/arm/setup.c xen/common/device_tree.c xen/include/xen/device_tree.h+23 -00 replies
3/4arm: add dom0_mem command line argumentxen/arch/arm/domain_build.c+13 -20 replies
4/4device tree: print a warning if a node is nested too deepxen/common/device_tree.c+18 -10 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/4
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 00/04] arm: pass a device tree to dom0

We don't yet make use of the device tree to map MMIO regions or setup interrupts for the guest and we still include the UART used for Xen's console.

Note the kernel must support device tree (ATAGS are no longer provided by Xen).

It is also possible to provide the Xen and dom0 command line via the device tree. This isn't as useful as it seems as Xen still needs to be rebuilt to included the updated device tree.

The instructions on the wiki[1] have been updated to reflect these changes.

Changes since v3:
- dropped already applied patches
- tweaked set_memory_reg() to be a bit more readable.

Changes since v2:
- dropped already applied patches
- fix crash on boot if bootargs is missing
- allow space in dom0's dtb for the mem reserve entry
- bail if dom0's dtb couldn't be created
- new patch to print warning if a node is nested too deep

Changes since v1:
- coding style
- move libfdt headers
- added myself as device tree maintainer
- fix potential infinite loop when assigning mem
- check dtb destination more carefully
- minor updates for clarity

David

[1] http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions