All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough
@ 2015-05-13 18:33 Julien Grall
  2015-05-13 18:33 ` [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt Julien Grall
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Julien Grall @ 2015-05-13 18:33 UTC (permalink / raw)
  To: xen-devel
  Cc: edgar.iglesias, ian.campbell, tim, andrii.anisov, Julien Grall,
	stefano.stabellini, robert.vanvossen, Josh.Whitehead,
	andrii.tseglytskyi

Hi all,

This is a resend of the last part of the non-PCI passthrough after another
error found by Ian C. during build compilation on Debian Wheezy.

Debian wheezy is using an old version of libfdt which doesn't export correcly
fdt_first_property_offset, fdt_get_property_by_offset and
fdt_next_property_offset.

Thoses functions are used in order to copy the partial device tree into the
guest supports.

Adding compatibility for thoses functions (as we did for
fdt_{first,next}_subnode) is not easy because it requires to pull some
libfdt internal functions.

After discussion [1], it has been decided to disable support of partial
device tree on any OS using libfdt < 1.4.0 (release in september 2014).
Realistically only Debian Wheezy is impacted which has been superseed by
Jessie recently.

Any user who want to use passthrough on OS which don't have a recent libfdt
will have to build a new version of libfdt of append the device tree to the
guest kernel.

Sincerely yours,

[1] http://lists.xen.org/archives/html/xen-devel/2015-05/msg01682.html

Cc: andrii.anisov@globallogic.com
Cc: andrii.tseglytskyi@globallogic.com
Cc: robert.vanvossen@dornerworks.com
Cc: edgar.iglesias@xilinx.com
Cc: Josh.Whitehead@dornerworks.com

Julien Grall (6):
  tools/libxl: Check if fdt_{first,next}_subnode are present in libfdt
  tools/(lib)xl: Add partial device tree support for ARM
  tools/libxl: arm: Use an higher value for the GIC phandle
  libxl: Add support for Device Tree passthrough
  xl: Add new option dtdev
  docs/misc: arm: Add documentation about Device Tree passthrough

 docs/man/xl.cfg.pod.5             |  18 ++++
 docs/misc/arm/passthrough.txt     |  63 +++++++++++++
 tools/configure.ac                |  18 ++++
 tools/libxl/Makefile              |   2 +-
 tools/libxl/libxl.h               |   7 ++
 tools/libxl/libxl_arm.c           | 182 +++++++++++++++++++++++++++++++++++++-
 tools/libxl/libxl_create.c        |  32 +++++++
 tools/libxl/libxl_internal.h      |   5 ++
 tools/libxl/libxl_libfdt_compat.c |  94 ++++++++++++++++++++
 tools/libxl/libxl_libfdt_compat.h |  80 +++++++++++++++++
 tools/libxl/libxl_types.idl       |  11 +++
 tools/libxl/xl_cmdimpl.c          |  23 ++++-
 12 files changed, 529 insertions(+), 6 deletions(-)
 create mode 100644 docs/misc/arm/passthrough.txt
 create mode 100644 tools/libxl/libxl_libfdt_compat.c
 create mode 100644 tools/libxl/libxl_libfdt_compat.h

-- 
2.1.4

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

end of thread, other threads:[~2015-05-21 15:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 18:33 [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough Julien Grall
2015-05-13 18:33 ` [PATCH v9 1/6] tools/libxl: Check if fdt_{first, next}_subnode are present in libfdt Julien Grall
2015-05-19 10:39   ` Julien Grall
2015-05-19 11:03     ` Ian Campbell
2015-05-19 16:07       ` Julien Grall
2015-05-20 12:59   ` Julien Grall
2015-05-21 14:13     ` Ian Campbell
2015-05-21 14:25       ` Julien Grall
2015-05-21 14:42         ` Ian Campbell
2015-05-13 18:33 ` [PATCH v9 2/6] tools/(lib)xl: Add partial device tree support for ARM Julien Grall
2015-05-13 18:33 ` [PATCH v9 3/6] tools/libxl: arm: Use an higher value for the GIC phandle Julien Grall
2015-05-13 18:33 ` [PATCH v9 4/6] libxl: Add support for Device Tree passthrough Julien Grall
2015-05-13 18:33 ` [PATCH v9 5/6] xl: Add new option dtdev Julien Grall
2015-05-13 18:33 ` [PATCH v9 6/6] docs/misc: arm: Add documentation about Device Tree passthrough Julien Grall
2015-05-21 14:49 ` [PATCH v9 0/6] xen/arm: Add support for non-PCI passthrough Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.