aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/lttng/lttng-modules/0001-kvm.h-workaround-kernel-version-issues.patch
blob: 02ec5fef521c15e92c7e8e5979ea740fafce1abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 1c7b9836a00a9b71728dc59bacc71129d8a0d41b Mon Sep 17 00:00:00 2001
From: Awais Belal <awais_belal@mentor.com>
Date: Wed, 18 Jul 2018 14:26:27 +0500
Subject: [PATCH] kvm.h: workaround kernel version issues

The kernel version for this change is different than
what we currently have for the AMD BSPs as there are
various patches backported for the kernel that make
this change otherwise irrelevant. Fix this by forcing
a known version that works.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 instrumentation/events/lttng-module/kvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/instrumentation/events/lttng-module/kvm.h b/instrumentation/events/lttng-module/kvm.h
index 9bb08c5..d29a26e 100644
--- a/instrumentation/events/lttng-module/kvm.h
+++ b/instrumentation/events/lttng-module/kvm.h
@@ -87,7 +87,7 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) \
 	|| LTTNG_KERNEL_RANGE(4,14,14, 4,15,0) \
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,14,13,0,1,0, 4,15,0,0,0,0) \
-	|| LTTNG_KERNEL_RANGE(4,9,77, 4,10,0) \
+	|| LTTNG_KERNEL_RANGE(4,7,0, 4,10,0) \
 	|| LTTNG_KERNEL_RANGE(4,4,112, 4,5,0) \
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,0) \
 	|| LTTNG_KERNEL_RANGE(3,16,52, 3,17,0) \
-- 
2.11.1