All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH v2 00/11] Xen on Raspberry Pi 4
@ 2020-06-30  1:54 Christopher Clark
  2020-06-30  1:54 ` [meta-virtualization][PATCH v2 01/11] xen: apply layer settings when xen DISTRO_FEATURE is enabled Christopher Clark
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: Christopher Clark @ 2020-06-30  1:54 UTC (permalink / raw)
  To: meta-virtualization
  Cc: cardoe, bruce.ashfield, Bertrand.Marquis, cminyard,
	Stewart.Hildebrand

Changes since v1:
- rebased on to current meta-virtualization, meta-openembedded, poky
- updated Xen revision to the tip of stable 4.13
- fixed Xen build on ARM64 with gcc 10.1.0
- added upstream debugger patch to fix compiler warning

This series introduces support for running Xen on the Raspberry Pi 4
board, with meta-virtualization and meta-raspberrypi, using the
linux-raspberrypi kernel at version 5.4 which is the current
linux-yocto kernel version supported in this layer.

It introduces use of dynamic layers to handle configuration that is
both Xen and Raspberry Pi specific, and inclusion of Xen-specific
configuration when the 'xen' DISTRO_FEATURE is enabled to simplify
Xen image builds.

It applies a backported set of Xen-specific Linux kernel patches,
developed by upstream Xen developers working with the Linux Foundation
Eve Project, that are currently being iterated on for inclusion in the
Linux kernel.

Xen is uprev'd to version 4.13; this is currently compile-and-boot-tested
only on this RPi4 board.

Christopher

Christopher Clark (11):
  xen: apply layer settings when xen DISTRO_FEATURE is enabled
  xen-tools: add RRECOMENDS qemu on ARM and x86 when HVM is enabled
  xen-tools: use non-busybox ifupdown tool if available
  xen, xen-tools: update revision to Xen 4.13
  meta-virt-xen.inc: add Raspberry Pi settings
  xen, raspberry pi: add dynamic-layer for Xen configuration for Rpi4
  xen, raspberry pi 4: provide a default defconfig for raspberrypi4
  xen, linux-raspberrypi: add Linux kernel 5.4 patches for Xen support
  xen, raspberry pi: add Xen-specific SD card class
  linux-raspberrypi: prefer kernel version 5.4
  xen: add patch to fix build on ARM64 with gcc 10.1.0

 classes/meta-virt-xen-cfg.bbclass             |   6 +
 classes/sdcard_image-rpi-xen.bbclass          | 120 ++++
 conf/distro/include/meta-virt-xen.inc         |  19 +
 conf/layer.conf                               |  19 +-
 .../bootfiles/rpi-config_git.bbappend         |   6 +
 .../rpi-u-boot-scr/files/boot.cmd.xen.in      |  49 ++
 .../rpi-u-boot-scr/rpi-u-boot-scr.bbappend    |  17 +
 .../xen/files/defconfig_raspberrypi4-64       | 117 ++++
 .../recipes-extended/xen/xen_git.bbappend     |  11 +
 ...vmalloc_to_page-on-vmalloc-virt-addr.patch |  44 ++
 ...02-swiotlb-xen-remove-start_dma_addr.patch |  47 ++
 ...struct-device-parameter-to-xen_phys_.patch |  78 +++
 ...struct-device-parameter-to-xen_bus_t.patch |  66 +++
 ...struct-device-parameter-to-is_xen_sw.patch |  57 ++
 ...oduce-phys_to_dma-dma_to_phys-transl.patch |  88 +++
 ...translations-in-xen_dma_s_kernel_5.4.patch |  68 +++
 ..._to_phys-on-the-dma_addr_t-parameter.patch |  75 +++
 .../0011-adding-page-coherent-patch.patch     |  39 ++
 .../linux/linux-raspberrypi_%.bbappend        |   5 +
 .../linux/linux-raspberrypi_5.4.bbappend      |  19 +
 ...xen-build-temporarily-inhibit-Werror.patch |  18 +-
 ...xen-arm64-implement-atomic-fetch-add.patch |  50 ++
 ...g-0-arrays-to-access-packet-contents.patch |  60 ++
 .../files/xen-tools-libxl-gentypes-py3.patch  | 140 -----
 ...tools-pygrub-change-tabs-into-spaces.patch |  40 --
 ...-python-scripts-work-with-2.6-and-up.patch | 529 ------------------
 .../xen/files/xen-tools-pygrub-py3.patch      | 233 --------
 ...ls-python-fix-Wsign-compare-warnings.patch | 136 -----
 ...n-tools-update-python-scripts-to-py3.patch | 140 -----
 recipes-extended/xen/xen-tools.inc            |  16 +
 recipes-extended/xen/xen-tools_git.bb         |  13 +-
 recipes-extended/xen/xen_git.bb               |  11 +-
 32 files changed, 1102 insertions(+), 1234 deletions(-)
 create mode 100644 classes/meta-virt-xen-cfg.bbclass
 create mode 100644 classes/sdcard_image-rpi-xen.bbclass
 create mode 100644 conf/distro/include/meta-virt-xen.inc
 create mode 100644 dynamic-layers/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend
 create mode 100644 dynamic-layers/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.xen.in
 create mode 100644 dynamic-layers/raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend
 create mode 100644 dynamic-layers/raspberrypi/recipes-extended/xen/files/defconfig_raspberrypi4-64
 create mode 100644 dynamic-layers/raspberrypi/recipes-extended/xen/xen_git.bbappend
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0001-swiotlb-xen-use-vmalloc_to_page-on-vmalloc-virt-addr.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0002-swiotlb-xen-remove-start_dma_addr.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0003-swiotlb-xen-add-struct-device-parameter-to-xen_phys_.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0004-swiotlb-xen-add-struct-device-parameter-to-xen_bus_t.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0007-swiotlb-xen-add-struct-device-parameter-to-is_xen_sw.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0008-swiotlb-xen-introduce-phys_to_dma-dma_to_phys-transl.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0009-xen-arm-introduce-phys-dma-translations-in-xen_dma_s_kernel_5.4.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0010-xen-arm-call-dma_to_phys-on-the-dma_addr_t-parameter.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0011-adding-page-coherent-patch.patch
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bbappend
 create mode 100644 recipes-extended/xen/files/xen-arm64-implement-atomic-fetch-add.patch
 create mode 100644 recipes-extended/xen/files/xen-tools-kdd-stop-using-0-arrays-to-access-packet-contents.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-libxl-gentypes-py3.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-pygrub-change-tabs-into-spaces.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-pygrub-make-python-scripts-work-with-2.6-and-up.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-pygrub-py3.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-python-fix-Wsign-compare-warnings.patch
 delete mode 100644 recipes-extended/xen/files/xen-tools-update-python-scripts-to-py3.patch

-- 
2.17.1


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

end of thread, other threads:[~2020-07-06 20:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-30  1:54 [meta-virtualization][PATCH v2 00/11] Xen on Raspberry Pi 4 Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 01/11] xen: apply layer settings when xen DISTRO_FEATURE is enabled Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 02/11] xen-tools: add RRECOMENDS qemu on ARM and x86 when HVM " Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 03/11] xen-tools: use non-busybox ifupdown tool if available Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 04/11] xen, xen-tools: update revision to Xen 4.13 Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 05/11] meta-virt-xen.inc: add Raspberry Pi settings Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 06/11] xen, raspberry pi: add dynamic-layer for Xen configuration for Rpi4 Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 07/11] xen, raspberry pi 4: provide a default defconfig for raspberrypi4 Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 08/11] xen, linux-raspberrypi: add Linux kernel 5.4 patches for Xen support Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 09/11] xen, raspberry pi: add Xen-specific SD card class Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 10/11] linux-raspberrypi: prefer kernel version 5.4 Christopher Clark
2020-06-30  1:54 ` [meta-virtualization][PATCH v2 11/11] xen: add patch to fix build on ARM64 with gcc 10.1.0 Christopher Clark
2020-06-30  8:13 ` [meta-virtualization][PATCH v2 00/11] Xen on Raspberry Pi 4 Bertrand Marquis
2020-07-01  5:52   ` Christopher Clark
2020-07-01 10:04     ` Bertrand Marquis
2020-07-01 12:53       ` Bruce Ashfield
2020-07-01 12:58         ` Bertrand Marquis
2020-07-06 20:26 ` Bruce Ashfield

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.