Skip to content

Xen on Raspberry Pi 4 improvements

Christopher Clark yocto-meta-virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen: retire the Raspberry Pi sdcard classclasses/sdcard_image-rpi-xen.bbclass conf/distro/include/meta-virt-xen.inc+8 -1250 replies
2/5xen, raspberrypi: bugfix early boot messages: use earlycon=xenbootdynamic-layers/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.xen.in dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend+2 -20 replies
3/5xen, rpi4: use RPI_EXTRA_CONFIG and drop the rpi-config_git.bbappendconf/distro/include/meta-virt-xen.inc dynamic-layers/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend+2 -60 replies
4/5xen, linux-raspberrypi4: remove linux-raspberrypi bbappends and patchesconf/distro/include/meta-virt-xen.inc dynamic-layers/raspberrypi/recipes-kernel/linux/files/0001-swiotlb-xen-use-vmalloc_to_page-on-vmalloc-virt-addr.patch dynamic-layers/raspberrypi/recipes-kernel/linux/files/0002-swiotlb-xen-remove-start_dma_addr.patch +9 more+0 -5880 replies
5/5xen, raspi4, linux-yocto-dev: Enable Xen on Raspberry Pi 4conf/distro/include/meta-virt-xen.inc dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-virtualization][PATCH 0/5] Xen on Raspberry Pi 4 improvements

Several improvements, the most significant being the kernel change:

* Switch the Linux kernel for Xen on the Raspberry Pi 4 to linux-yocto-dev from the linux-raspberrypi downstream kernel.

This will enable testing and preparation for switching over to the new linux-yocto kernel when it is upgraded, and also avoid build breakages and other difficulties experienced with the unstable linux-raspberrypi kernel.

Testing with linux-yocto-dev has been with the raspberrypi4-64 MACHINE from the meta-raspberrypi layer.

This change removes the patch series that was carried in this layer for the linux-raspberrypi kernel for Xen support.

Please note: There are currently in-flight dependencies for this series awaiting review: linux-yocto series, needed for Xen support:
https://lists.yoctoproject.org/g/linux-yocto/topic/linux_yocto_dev_kernel/76044154
and a kernel bugfix:
https://lists.yoctoproject.org/g/linux-yocto/message/8922

* Retire the sdcard image recipe now that the meta-raspberrypi recipe is extensible.

* Recipe bug fixes and improvements.

Christopher

Christopher Clark (5):
xen: retire the Raspberry Pi sdcard class
xen, raspberrypi: bugfix early boot messages: use earlycon=xenboot xen, rpi4: use RPI_EXTRA_CONFIG and drop the rpi-config_git.bbappend xen, linux-raspberrypi4: remove linux-raspberrypi bbappends and
patches
xen, raspi4, linux-yocto-dev: Enable Xen on Raspberry Pi 4

 classes/sdcard_image-rpi-xen.bbclass          | 120 ------------------
 conf/distro/include/meta-virt-xen.inc         |  21 ++-
 .../bootfiles/rpi-config_git.bbappend         |   6 -
 .../rpi-u-boot-scr/files/boot.cmd.xen.in      |   2 +-
 ...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 ---
 .../linux/linux-yocto-dev.bbappend            |  10 ++
 16 files changed, 25 insertions(+), 720 deletions(-)
 delete mode 100644 classes/sdcard_image-rpi-xen.bbclass
 delete mode 100644 dynamic-layers/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0001-swiotlb-xen-use-vmalloc_to_page-on-vmalloc-virt-addr.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0002-swiotlb-xen-remove-start_dma_addr.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0003-swiotlb-xen-add-struct-device-parameter-to-xen_phys_.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0004-swiotlb-xen-add-struct-device-parameter-to-xen_bus_t.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0007-swiotlb-xen-add-struct-device-parameter-to-is_xen_sw.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0008-swiotlb-xen-introduce-phys_to_dma-dma_to_phys-transl.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0009-xen-arm-introduce-phys-dma-translations-in-xen_dma_s_kernel_5.4.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0010-xen-arm-call-dma_to_phys-on-the-dma_addr_t-parameter.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/files/0011-adding-page-coherent-patch.patch
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
 delete mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bbappend
 create mode 100644 dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend
Signature · 1 line
2.17.1