Skip to contentSkip to conversation

Remove Jailhouse support

PATCH Applied Nikhil Devshatwar 2 participants 5 messages Jun 15, 2021 – Jun 29, 2021

lore
Share & tools
lore
#0 lore raw

cover Remove Jailhouse support

This series removes the Jailhouse and corresponding recipes from meta-ti

Nikhil Devshatwar (2):
recipes-bsp: ivshmem: Remove ivshmem packages
recipes-kernel: jailhouse: Remove jailhouse recipe

 .../ivshmem-uio/ivshmem-uio-driver_git.bb     |  29 ---
 .../ivshmem-uio/ivshmem-uio-tests_git.bb      |  23 ---
 recipes-kernel/jailhouse/jailhouse-arch.inc   |  22 ---
 ...hebang-in-helper-scripts-for-python3.patch |  56 ------
 recipes-kernel/jailhouse/jailhouse_git.bb     | 168 ------------------
 5 files changed, 298 deletions(-)
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
 delete mode 100644 recipes-kernel/jailhouse/jailhouse-arch.inc
 delete mode 100644 recipes-kernel/jailhouse/jailhouse/0001-tools-update-shebang-in-helper-scripts-for-python3.patch
 delete mode 100644 recipes-kernel/jailhouse/jailhouse_git.bb
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 recipes-bsp: ivshmem: Remove ivshmem packages

Jailhouse support is dropped for K3 platforms. So the ivshmem (inter VM shared memory) based UIO driver and test applications cannot be build and are not required.

Remove the recipes for the same.

---
 .../ivshmem-uio/ivshmem-uio-driver_git.bb     | 29 -------------------
 .../ivshmem-uio/ivshmem-uio-tests_git.bb      | 23 ---------------
 2 files changed, 52 deletions(-)
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb deleted +0 -29
deleted file mode 100644
index 39a75533..00000000
@@ -1,29 +0,0 @@
-SUMMARY =  "Kernel driver for IVSHMEM based UIO driver"
-DESCRIPTION = "Kernel module which registers a UIO (userspace io) device for inter VM shared memory"
-HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
-
-inherit module
-
-RDEPENDS_${PN} = "jailhouse"
-
-PROTOCOL = "git"
-BRANCH = "jailhouse"
-SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
-SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"'
-
-COMPATIBLE_MACHINE = "(ti-soc)"
-
-do_compile_prepend() {
-    cd ${S}/kernel_module/uio
-}
-
-do_install() {
-    install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
-    install -m 644 ${S}/kernel_module/uio/uio_ivshmem.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb deleted +0 -23
deleted file mode 100644
index 997b8c48..00000000
@@ -1,23 +0,0 @@
-SUMMARY =  "UIO tests for IVSHMEM based UIO driver"
-DESCRIPTION = "Test programs which use UIO (userspace io) device for inter VM communication"
-HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
-
-inherit cmake
-
-PROTOCOL = "git"
-BRANCH = "jailhouse"
-SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
-SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git/uio/tests/Interrupts/VM"
-
-COMPATIBLE_MACHINE = "(ti-soc)"
-OECMAKE_TARGET_COMPILE = "uio_send uio_read"
-
-do_install() {
-    install -d ${D}/${bindir}
-    install -m 755 ${B}/uio_send ${D}/${bindir}/
-    install -m 755 ${B}/uio_read ${D}/${bindir}/
-}
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 recipes-kernel: jailhouse: Remove jailhouse recipe

In reply to Nikhil Devshatwar

Jailhouse support is dropped for K3 platforms, remove the recipe and corresponding patches.

---
 recipes-kernel/jailhouse/jailhouse-arch.inc   |  22 ---
 ...hebang-in-helper-scripts-for-python3.patch |  56 ------
 recipes-kernel/jailhouse/jailhouse_git.bb     | 168 ------------------
 3 files changed, 246 deletions(-)
 delete mode 100644 recipes-kernel/jailhouse/jailhouse-arch.inc
 delete mode 100644 recipes-kernel/jailhouse/jailhouse/0001-tools-update-shebang-in-helper-scripts-for-python3.patch
 delete mode 100644 recipes-kernel/jailhouse/jailhouse_git.bb
recipes-kernel/jailhouse/jailhouse-arch.inc deleted +0 -22
deleted file mode 100644
index 498b25ed..00000000
@@ -1,22 +0,0 @@
-# Set jailhouse architecture JH_ARCH variable
-#
-# return value must match one of architectures supported by jailhouse
-#
-valid_jh_archs = "x86 arm"
-
-def map_jh_arch(a, d):
-    import re
-
-    valid_jh_archs = d.getVar('valid_jh_archs', True).split()
-
-    if   re.match('(i.86|athlon|x86.64)$', a):  return 'x86'
-    elif re.match('armeb$', a):                 return 'arm'
-    elif re.match('aarch64$', a):               return 'arm64'
-    elif re.match('aarch64_be$', a):            return 'arm64'
-    elif a in valid_jh_archs:                   return a
-    else:
-        bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
-
-export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
-
-COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
recipes-kernel/jailhouse/jailhouse/0001-tools-update-shebang-in-helper-scripts-for-python3.patch deleted +0 -56

56 lines not on this page · raw message

recipes-kernel/jailhouse/jailhouse_git.bb deleted +0 -168

168 lines not on this page · raw message

Signature · 1 line
2.17.1
#3 lore raw
In reply to Nikhil Devshatwar
Quoted 7 lines · Nikhil Devshatwar

This series removes the Jailhouse and corresponding recipes from meta-ti

Nikhil Devshatwar (2):
recipes-bsp: ivshmem: Remove ivshmem packages
recipes-kernel: jailhouse: Remove jailhouse recipe

Quoted 12 lines
 .../ivshmem-uio/ivshmem-uio-driver_git.bb     |  29 ---
 .../ivshmem-uio/ivshmem-uio-tests_git.bb      |  23 ---
 recipes-kernel/jailhouse/jailhouse-arch.inc   |  22 ---
 ...hebang-in-helper-scripts-for-python3.patch |  56 ------
 recipes-kernel/jailhouse/jailhouse_git.bb     | 168 ------------------
 5 files changed, 298 deletions(-)
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
 delete mode 100644 recipes-kernel/jailhouse/jailhouse-arch.inc
 delete mode 100644 recipes-kernel/jailhouse/jailhouse/0001-tools-update-shebang-in-helper-scripts-for-python3.patch
 delete mode 100644 recipes-kernel/jailhouse/jailhouse_git.bb

I am not sure why the emails were sent twice.
Ignore the second copy

Regards,
Nikhil D

Quoted 3 lines
Signature · 1 line
2.17.1
#4 lore raw
In reply to Nikhil Devshatwar

Applied to dunfell. Will pick it for master.

-----Original Message-----
From: Devshatwar, Nikhil
Sent: Tuesday, June 15, 2021 6:13 AM
To: Bajjuri, Praneeth <[email protected]>; [email protected]; Siraswar, Yogesh <[email protected]>
Cc: [email protected]; Devshatwar, Nikhil <[email protected]>
Subject: [meta-ti][dunfell/master 0/2] Remove Jailhouse support

This series removes the Jailhouse and corresponding recipes from meta-ti

Nikhil Devshatwar (2):
recipes-bsp: ivshmem: Remove ivshmem packages
recipes-kernel: jailhouse: Remove jailhouse recipe

 .../ivshmem-uio/ivshmem-uio-driver_git.bb     |  29 ---
 .../ivshmem-uio/ivshmem-uio-tests_git.bb      |  23 ---
 recipes-kernel/jailhouse/jailhouse-arch.inc   |  22 ---
 ...hebang-in-helper-scripts-for-python3.patch |  56 ------
 recipes-kernel/jailhouse/jailhouse_git.bb     | 168 ------------------
 5 files changed, 298 deletions(-)
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
 delete mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
 delete mode 100644 recipes-kernel/jailhouse/jailhouse-arch.inc
 delete mode 100644 recipes-kernel/jailhouse/jailhouse/0001-tools-update-shebang-in-helper-scripts-for-python3.patch
 delete mode 100644 recipes-kernel/jailhouse/jailhouse_git.bb

--
2.17.1