From: Greg Kroah-Hartman Date: Tue, 13 May 2014 23:20:33 +0000 (-0700) Subject: 3.14-stable patches X-Git-Tag: v3.4.91~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ffdb46adbf6b42f4954e22007ecdbfbf302d2a1;p=thirdparty%2Fkernel%2Fstable-queue.git 3.14-stable patches added patches: kvm-x86-remove-warn_on-from-get_kernel_ns.patch --- diff --git a/queue-3.14/kvm-x86-remove-warn_on-from-get_kernel_ns.patch b/queue-3.14/kvm-x86-remove-warn_on-from-get_kernel_ns.patch new file mode 100644 index 00000000000..7ae09632063 --- /dev/null +++ b/queue-3.14/kvm-x86-remove-warn_on-from-get_kernel_ns.patch @@ -0,0 +1,31 @@ +From b351c39cc9e0151cee9b8d52a1e714928faabb38 Mon Sep 17 00:00:00 2001 +From: Marcelo Tosatti +Date: Thu, 10 Apr 2014 18:19:12 -0300 +Subject: KVM: x86: remove WARN_ON from get_kernel_ns() + +From: Marcelo Tosatti + +commit b351c39cc9e0151cee9b8d52a1e714928faabb38 upstream. + +Function and callers can be preempted. + +https://bugzilla.kernel.org/show_bug.cgi?id=73721 + +Signed-off-by: Marcelo Tosatti +Reviewed-by: Paolo Bonzini +Signed-off-by: Greg Kroah-Hartman + +--- + arch/x86/kvm/x86.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/arch/x86/kvm/x86.c ++++ b/arch/x86/kvm/x86.c +@@ -1109,7 +1109,6 @@ static inline u64 get_kernel_ns(void) + { + struct timespec ts; + +- WARN_ON(preemptible()); + ktime_get_ts(&ts); + monotonic_to_bootbased(&ts); + return timespec_to_ns(&ts); diff --git a/queue-3.14/series b/queue-3.14/series index 3ec2493366e..e9009d9ba58 100644 --- a/queue-3.14/series +++ b/queue-3.14/series @@ -1,3 +1,4 @@ scsi-fix-our-current-target-reap-infrastructure.patch scsi-dual-scan-thread-bug-fix.patch scsi-megaraid-missing-bounds-check-in-mimd_to_kioc.patch +kvm-x86-remove-warn_on-from-get_kernel_ns.patch