xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/27] Allow Xen to boot with a raw device tree
@ 2013-09-10 14:48 Julien Grall
  2013-09-10 14:48 ` [PATCH v3 01/27] xen/dts: Constify device_tree_flattened Julien Grall
                   ` (26 more replies)
  0 siblings, 27 replies; 29+ messages in thread
From: Julien Grall @ 2013-09-10 14:48 UTC (permalink / raw)
  To: xen-devel
  Cc: patches, Julien Grall, ian.campbell, andre.przywara,
	stefano.stabellini

Hi,

This is the third version of this patch series. It allows Xen to boot with
a raw device tree, ie without any specific modification for Xen.

Few months ago, the patch series "Support multiple ARM platform in XEN", has
added a tree structure to handle easier the device tree. Each node can carry
metadata to specify if the node can be pass-through to Dom0. Therefore, this
patch series take advantage of the "new" Device Tree API and get a rid of
the FDT API that is currently used to build Dom0 dts and in some drivers.

Major changes since v2:
    - Remove completely node used by xen
    - Prefix device tree function by dt_
    - Reduce divergence with in device tree patches

All the changes can be found in each patch.

TODO list:
    - Add support for memreserve. This is needed for HDLCD framebuffer
    on the versatil express.

Cheers,

Andre Przywara (1):
  ARM: parse separate DT properties for different commandlines

Julien Grall (26):
  xen/dts: Constify device_tree_flattened
  xen/dts: Prefix device tree macro by dt_
  xen/dts: Don't add a fake property "name" in the device tree
  xen/dts: Add new helpers to use the device tree
  xen: Use the right string comparison function in device tree
  xen/dts: Remove device_get_reg call in process_cpu_node
  xen/dts: Check "reg" property length in process_multiboot_node
  xen/dts: Check the CPU ID is not greater than NR_CPUS
  xen/video: hdlcd: Convert the driver to the new device tree API
  xen/video: hdlcd: Use early_printk instead of printk
  xen/arm: Use dt_device_match to avoid multiple if conditions
  xen/dts: dt_find_interrupt_controller: accept multiple compatible
    strings
  xen/arm: Build DOM0 FDT by browsing the device tree structure
  xen/arm: Don't map disabled device in DOM0
  xen/arm: Create a fake PSCI node in dom0 device tree
  xen/arm: Create a fake cpus node in dom0 device tree
  xen/arm: Create a fake GIC node in dom0 device tree
  xen/arm: Create a fake timer node in dom0 device tree
  xen/arm: Add new platform specific callback device_is_blacklist
  xen/arm: Remove devices used by Xen from dom0 device tree
  xen/arm: vexpress: Blacklist a list of board specific devices
  xen/arm: exynos5: Blacklist MCT device
  xen/dts: Clean up the exported API for device tree
  xen/dts: device_get_reg: cells are 32-bit big endian value
  xen/dts: replace get_val by dt_next_cell
  xen/arm: Check if the device is available before using it

 docs/misc/arm/device-tree/booting.txt |   28 +-
 xen/arch/arm/device.c                 |    3 +
 xen/arch/arm/domain_build.c           |  574 ++++++++++++++++++++++++---------
 xen/arch/arm/gic.c                    |    7 +-
 xen/arch/arm/platform.c               |   10 +
 xen/arch/arm/platforms/exynos5.c      |   11 +
 xen/arch/arm/platforms/vexpress.c     |   17 +
 xen/arch/arm/setup.c                  |   12 +-
 xen/arch/arm/time.c                   |    9 +-
 xen/common/device_tree.c              |  284 +++++++++-------
 xen/drivers/video/arm_hdlcd.c         |   69 ++--
 xen/include/asm-arm/gic.h             |    2 +
 xen/include/asm-arm/platform.h        |    7 +
 xen/include/asm-arm/time.h            |    4 +
 xen/include/xen/device_tree.h         |  179 ++++++++--
 15 files changed, 882 insertions(+), 334 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2013-09-12 22:04 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 14:48 [PATCH v3 00/27] Allow Xen to boot with a raw device tree Julien Grall
2013-09-10 14:48 ` [PATCH v3 01/27] xen/dts: Constify device_tree_flattened Julien Grall
2013-09-10 14:48 ` [PATCH v3 02/27] xen/dts: Prefix device tree macro by dt_ Julien Grall
2013-09-10 14:48 ` [PATCH v3 03/27] xen/dts: Don't add a fake property "name" in the device tree Julien Grall
2013-09-10 14:48 ` [PATCH v3 04/27] xen/dts: Add new helpers to use " Julien Grall
2013-09-10 14:48 ` [PATCH v3 05/27] xen: Use the right string comparison function in " Julien Grall
2013-09-10 14:48 ` [PATCH v3 06/27] xen/dts: Remove device_get_reg call in process_cpu_node Julien Grall
2013-09-10 14:48 ` [PATCH v3 07/27] xen/dts: Check "reg" property length in process_multiboot_node Julien Grall
2013-09-10 14:48 ` [PATCH v3 08/27] xen/dts: Check the CPU ID is not greater than NR_CPUS Julien Grall
2013-09-10 14:48 ` [PATCH v3 09/27] xen/video: hdlcd: Convert the driver to the new device tree API Julien Grall
2013-09-10 14:48 ` [PATCH v3 10/27] xen/video: hdlcd: Use early_printk instead of printk Julien Grall
2013-09-10 14:48 ` [PATCH v3 11/27] xen/arm: Use dt_device_match to avoid multiple if conditions Julien Grall
2013-09-10 14:49 ` [PATCH v3 12/27] xen/dts: dt_find_interrupt_controller: accept multiple compatible strings Julien Grall
2013-09-10 14:49 ` [PATCH v3 13/27] xen/arm: Build DOM0 FDT by browsing the device tree structure Julien Grall
2013-09-12 22:04   ` Julien Grall
2013-09-10 14:49 ` [PATCH v3 14/27] xen/arm: Don't map disabled device in DOM0 Julien Grall
2013-09-10 14:49 ` [PATCH v3 15/27] xen/arm: Create a fake PSCI node in dom0 device tree Julien Grall
2013-09-10 14:49 ` [PATCH v3 16/27] xen/arm: Create a fake cpus " Julien Grall
2013-09-10 14:49 ` [PATCH v3 17/27] xen/arm: Create a fake GIC " Julien Grall
2013-09-10 14:49 ` [PATCH v3 18/27] xen/arm: Create a fake timer " Julien Grall
2013-09-10 14:49 ` [PATCH v3 19/27] xen/arm: Add new platform specific callback device_is_blacklist Julien Grall
2013-09-10 14:49 ` [PATCH v3 20/27] xen/arm: Remove devices used by Xen from dom0 device tree Julien Grall
2013-09-10 14:49 ` [PATCH v3 21/27] xen/arm: vexpress: Blacklist a list of board specific devices Julien Grall
2013-09-10 14:49 ` [PATCH v3 22/27] xen/arm: exynos5: Blacklist MCT device Julien Grall
2013-09-10 14:49 ` [PATCH v3 23/27] xen/dts: Clean up the exported API for device tree Julien Grall
2013-09-10 14:49 ` [PATCH v3 24/27] xen/dts: device_get_reg: cells are 32-bit big endian value Julien Grall
2013-09-10 14:49 ` [PATCH v3 25/27] xen/dts: replace get_val by dt_next_cell Julien Grall
2013-09-10 14:49 ` [PATCH v3 26/27] xen/arm: Check if the device is available before using it Julien Grall
2013-09-10 14:49 ` [PATCH v3 27/27] ARM: parse separate DT properties for different commandlines Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).