Xen on Raspberry Pi 4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 6 repliesIn review
- v110 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | xen: apply layer settings when xen DISTRO_FEATURE is enabledclasses/ conf/ conf/ | +15 | 0 replies | |
| 2/11 | xen-tools: add RRECOMENDS qemu on ARM and x86 when HVM is enabledrecipes-extended/ | +6 | 0 replies | |
| 3/11 | xen-tools: use non-busybox ifupdown tool if availablerecipes-extended/ | +4 | 0 replies | |
| 4/11 | xen, xen-tools: update revision to Xen 4.13recipes-extended/ recipes-extended/ recipes-extended/ +8 more | +89 | 0 replies | |
| 5/11 | meta-virt-xen.inc: add Raspberry Pi settingsconf/ | +8 | 0 replies | |
| 6/11 | xen, raspberry pi: add dynamic-layer for Xen configuration for Rpi4conf/ dynamic-layers/ dynamic-layers/ +1 more | +87 | 0 replies | |
| 7/11 | xen, raspberry pi 4: provide a default defconfig for raspberrypi4dynamic-layers/ dynamic-layers/ | +128 | 0 replies | |
| 8/11 | xen, linux-raspberrypi: add Linux kernel 5.4 patches for Xen supportdynamic-layers/ dynamic-layers/ dynamic-layers/ +8 more | +586 | 0 replies | |
| 9/11 | xen, raspberry pi: add Xen-specific SD card classclasses/ conf/ | +123 | 0 replies | |
| 10/11 | linux-raspberrypi: prefer kernel version 5.4conf/ | +2 | 0 replies | |
| 11/11 | xen: add patch to fix build on ARM64 with gcc 10.1.0recipes-extended/ recipes-extended/ | +54 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [meta-virtualization][PATCH v2 00/11] Xen on Raspberry Pi 4
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
Signature · 1 line
2.17.1