From c1123c3d63044501165b0321ae168261a990c375 Mon Sep 17 00:00:00 2001 From: Richard Neill Date: Tue, 13 Apr 2021 10:31:18 +0100 Subject: [PATCH] arm-autonomy/linux-arm-autonomy: Do not apply xen IRQ patch for 5.12+ kernels As the xen event channel kernel patch is mainlined in 5.12, this patch ensures it is only applied to the applicable versions earlier than 5.12. Signed-off-by: Richard Neill Change-Id: I03a3dc51281fdc94cd7e9a9da2540b34668a6ad1 --- meta-arm-autonomy/recipes-kernel/linux/linux-arm-autonomy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm-autonomy/recipes-kernel/linux/linux-arm-autonomy.inc b/meta-arm-autonomy/recipes-kernel/linux/linux-arm-autonomy.inc index 79cf9eed..6927987b 100644 --- a/meta-arm-autonomy/recipes-kernel/linux/linux-arm-autonomy.inc +++ b/meta-arm-autonomy/recipes-kernel/linux/linux-arm-autonomy.inc @@ -44,7 +44,7 @@ python() { and oe.utils.any_distro_features(d, "arm-autonomy-host arm-autonomy-guest"): if LooseVersion(kernelVersion) < '5.9': d.appendVar('SRC_URI', ' file://files/0001-arm-arm64-xen-Fix-to-convert-percpu-address-to-gfn-c.patch' ) - if LooseVersion(kernelVersion) >= '5.10': + if '5.10' <= LooseVersion(kernelVersion) < '5.12': d.appendVar('SRC_URI', ' file://files/0001-xen-evtchn-Change-irq_info-lock-to-raw_spinlock_t.patch' ) if kernelVersion and LooseVersion(kernelVersion) < '5.10':