xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] xen: arm: Refactor/improve early DT parsing and multiboot module support
@ 2014-07-18 13:07 Ian Campbell
  2014-07-18 13:08 ` [PATCH v3 01/10] xen: arm: implement generic multiboot compatibility strings Ian Campbell
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Ian Campbell @ 2014-07-18 13:07 UTC (permalink / raw)
  To: xen-devel, Stefano Stabellini, Julien Grall, Tim Deegan
  Cc: Roy Franz, Naresh Bhat, Fu Wei

The following refactors the Xen early device tree stuff (i.e. which
walks the flattened tree directly) away from the regular device tree
stuff (i.e. the stuff which for the most part deals with the unflattened
tree). It also makes some changes to the Xen side multiboot support
which I think will make it easier to work with, both internally and for
e.g. bootloader integration.

Impact on UEFI/ACPI: Mostly I think the refactoring may be useful when
integrating the UEFI memory map and ACPI stuff (which wants early FDT,
but not unflattening etc) in to Xen.

Impact on multiboot: This could potentially simplify things on the grub
side by removing the need to guess default types for the modules in the
common case.

In the future I think it would be good to implement more probing on the
Xen side, e.g. to discover the XSM policy (similar to how it works on
x86 -- which walks all the modules looking for the policy magic nr).

Apart from rebasing the main change here is to patch 7 to correct the
lack of change to consider_modules which Julien pointed out last time.

Ian.

The following changes since commit f1870804e58565399cd770e93f62e7ce57cd5231:

  xen: arm: flush TLB after overwriting 1:1 mapping in boot page tables (2014-07-18 13:38:09 +0100)

are available in the git repository at:

  git://xenbits.xen.org/people/ianc/xen.git multiboot-improvements-v3

for you to fetch changes up to 212062ac8baaab4b1cdbd5c3c654e82bcc76e06e:

  xen: arm: Only lookup kernel bootmodule once while building dom0 dtb. (2014-07-18 14:06:40 +0100)

----------------------------------------------------------------
Ian Campbell (10):
      xen: arm: implement generic multiboot compatibility strings
      xen: arm: /chosen/module@N/bootargs bootprotcol node is not deprecated
      xen: arm: prefer typesafe max()/min() over MAX()/MIN()
      xen: arm: rename early_info structs
      xen: arm: move boot time fdt parsing into separate file.
      xen: arm: move device_tree_bootargs to bootfdt.c, renaming to boot_fdt_cmdline
      xen: arm: store per-boot module type instead of relying on index
      xen: arm: support bootmodule type detection by ordering
      xen: arm: update multiboot device tree bindings.
      xen: arm: Only lookup kernel bootmodule once while building dom0 dtb.

 docs/misc/arm/device-tree/booting.txt |   59 ++++-
 xen/arch/arm/Makefile                 |    1 +
 xen/arch/arm/bootfdt.c                |  370 +++++++++++++++++++++++++++++++
 xen/arch/arm/domain_build.c           |   23 +-
 xen/arch/arm/kernel.c                 |   15 +-
 xen/arch/arm/kernel.h                 |    4 +-
 xen/arch/arm/p2m.c                    |    4 +-
 xen/arch/arm/setup.c                  |  133 ++++++++---
 xen/common/device_tree.c              |  388 +--------------------------------
 xen/include/asm-arm/setup.h           |   53 +++++
 xen/include/xen/device_tree.h         |   44 ----
 xen/xsm/xsm_policy.c                  |   19 +-
 12 files changed, 623 insertions(+), 490 deletions(-)
 create mode 100644 xen/arch/arm/bootfdt.c

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

end of thread, other threads:[~2014-07-24 15:12 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18 13:07 [PATCH v3 00/10] xen: arm: Refactor/improve early DT parsing and multiboot module support Ian Campbell
2014-07-18 13:08 ` [PATCH v3 01/10] xen: arm: implement generic multiboot compatibility strings Ian Campbell
2014-07-18 13:08 ` [PATCH v3 02/10] xen: arm: /chosen/module@N/bootargs bootprotcol node is not deprecated Ian Campbell
2014-07-18 13:08 ` [PATCH v3 03/10] xen: arm: prefer typesafe max()/min() over MAX()/MIN() Ian Campbell
2014-07-18 13:08 ` [PATCH v3 04/10] xen: arm: rename early_info structs Ian Campbell
2014-07-18 13:08 ` [PATCH v3 05/10] xen: arm: move boot time fdt parsing into separate file Ian Campbell
2014-07-18 13:08 ` [PATCH v3 06/10] xen: arm: move device_tree_bootargs to bootfdt.c, renaming to boot_fdt_cmdline Ian Campbell
2014-07-18 13:08 ` [PATCH v3 07/10] xen: arm: store per-boot module type instead of relying on index Ian Campbell
2014-07-18 20:52   ` Julien Grall
2014-07-18 13:08 ` [PATCH v3 08/10] xen: arm: support bootmodule type detection by ordering Ian Campbell
2014-07-18 21:02   ` Julien Grall
2014-07-21 10:18     ` Ian Campbell
2014-07-18 13:08 ` [PATCH v3 09/10] xen: arm: update multiboot device tree bindings Ian Campbell
2014-07-18 21:03   ` Julien Grall
2014-07-21 11:45     ` Ian Campbell
2014-07-21 11:53       ` Julien Grall
2014-07-21 12:18         ` Ian Campbell
2014-07-21 12:23           ` Julien Grall
2014-07-21 12:26             ` Ian Campbell
2014-07-21 12:34               ` Julien Grall
2014-07-24 14:30                 ` Ian Campbell
2014-07-24 14:33                   ` Julien Grall
2014-07-24 15:12                     ` Ian Campbell
2014-07-18 13:08 ` [PATCH v3 10/10] xen: arm: Only lookup kernel bootmodule once while building dom0 dtb Ian Campbell
2014-07-18 21:06   ` Julien Grall
2014-07-21 10:20     ` Ian Campbell
2014-07-21 11:48 ` [PATCH v3 00/10] xen: arm: Refactor/improve early DT parsing and multiboot module support Ian Campbell
2014-07-22  3:20   ` Fu Wei

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).