diff options
Diffstat (limited to 'meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch')
-rw-r--r-- | meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch b/meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch deleted file mode 100644 index 42f3ea48..00000000 --- a/meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 27588702a6792ff86a57317ef60d6e218796598e Mon Sep 17 00:00:00 2001 -From: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de> -Date: Wed, 7 Jun 2017 15:48:43 +0200 -Subject: [PATCH 06/32] arm, arm64: export __hyp_stub_vectors - -HVC_GET_VECTORS got removed. External hypervisors, like Jailhouse, need -this address when they are deactivated, in order to restore original -state. - -Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de> -Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> ---- - arch/arm/kernel/hyp-stub.S | 2 ++ - arch/arm64/kernel/hyp-stub.S | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/arch/arm/kernel/hyp-stub.S b/arch/arm/kernel/hyp-stub.S -index ae5020302de4..463366ccd2c9 100644 ---- a/arch/arm/kernel/hyp-stub.S -+++ b/arch/arm/kernel/hyp-stub.S -@@ -6,6 +6,7 @@ - #include <linux/init.h> - #include <linux/irqchip/arm-gic-v3.h> - #include <linux/linkage.h> -+#include <asm-generic/export.h> - #include <asm/assembler.h> - #include <asm/virt.h> - -@@ -269,4 +270,5 @@ __hyp_stub_trap: W(b) __hyp_stub_do_trap - __hyp_stub_irq: W(b) . - __hyp_stub_fiq: W(b) . - ENDPROC(__hyp_stub_vectors) -+EXPORT_SYMBOL_GPL(__hyp_stub_vectors) - -diff --git a/arch/arm64/kernel/hyp-stub.S b/arch/arm64/kernel/hyp-stub.S -index 73d46070b315..ef2503bba71d 100644 ---- a/arch/arm64/kernel/hyp-stub.S -+++ b/arch/arm64/kernel/hyp-stub.S -@@ -10,6 +10,7 @@ - #include <linux/linkage.h> - #include <linux/irqchip/arm-gic-v3.h> - -+#include <asm-generic/export.h> - #include <asm/assembler.h> - #include <asm/kvm_arm.h> - #include <asm/kvm_asm.h> -@@ -42,6 +43,7 @@ ENTRY(__hyp_stub_vectors) - ventry el1_fiq_invalid // FIQ 32-bit EL1 - ventry el1_error_invalid // Error 32-bit EL1 - ENDPROC(__hyp_stub_vectors) -+EXPORT_SYMBOL_GPL(__hyp_stub_vectors) - - .align 11 - --- -2.11.0 - |