From: Greg Kroah-Hartman Date: Thu, 19 Jan 2017 13:50:31 +0000 (+0100) Subject: remove queue-4.9/perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswe... X-Git-Tag: v4.9.5~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=468de6590962ce4ef130288abebaf0dc3e4dfd31;p=thirdparty%2Fkernel%2Fstable-queue.git remove queue-4.9/perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswell-init-code.patch --- diff --git a/queue-4.9/perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswell-init-code.patch b/queue-4.9/perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswell-init-code.patch deleted file mode 100644 index 34c2061edd5..00000000000 --- a/queue-4.9/perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswell-init-code.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 6d6daa20945f3f598e56e18d1f926c08754f5801 Mon Sep 17 00:00:00 2001 -From: Prarit Bhargava -Date: Thu, 5 Jan 2017 10:09:25 -0500 -Subject: perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code - -From: Prarit Bhargava - -commit 6d6daa20945f3f598e56e18d1f926c08754f5801 upstream. - -hswep_uncore_cpu_init() uses a hardcoded physical package id 0 for the boot -cpu. This works as long as the boot CPU is actually on the physical package -0, which is normaly the case after power on / reboot. - -But it fails with a NULL pointer dereference when a kdump kernel is started -on a secondary socket which has a different physical package id because the -locigal package translation for physical package 0 does not exist. - -Use the logical package id of the boot cpu instead of hard coded 0. - -[ tglx: Rewrote changelog once more ] - -Fixes: cf6d445f6897 ("perf/x86/uncore: Track packages, not per CPU data") -Signed-off-by: Prarit Bhargava -Cc: Alexander Shishkin -Cc: Arnaldo Carvalho de Melo -Cc: Borislav Petkov -Cc: H. Peter Anvin -Cc: Harish Chegondi -Cc: Jiri Olsa -Cc: Kan Liang -Cc: Linus Torvalds -Cc: Peter Zijlstra -Cc: Stephane Eranian -Cc: Thomas Gleixner -Cc: Vince Weaver -Link: http://lkml.kernel.org/r/1483628965-2890-1-git-send-email-prarit@redhat.com -Signed-off-by: Ingo Molnar -Signed-off-by: Thomas Gleixner -Signed-off-by: Greg Kroah-Hartman - ---- - arch/x86/events/intel/uncore_snbep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/arch/x86/events/intel/uncore_snbep.c -+++ b/arch/x86/events/intel/uncore_snbep.c -@@ -2686,7 +2686,7 @@ static struct intel_uncore_type *hswep_m - - void hswep_uncore_cpu_init(void) - { -- int pkg = topology_phys_to_logical_pkg(0); -+ int pkg = boot_cpu_data.logical_proc_id; - - if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) - hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; diff --git a/queue-4.9/series b/queue-4.9/series index 29ef6d6406c..4c7d3560519 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -30,7 +30,6 @@ kvm-x86-add-asm_safe-wrapper.patch kvm-x86-emulate-fxsave-and-fxrstor.patch kvm-x86-introduce-segmented_write_std.patch efi-libstub-arm-pass-latest-memory-map-to-the-kernel.patch -perf-x86-intel-uncore-fix-hardcoded-socket-0-assumption-in-the-haswell-init-code.patch efi-x86-prune-invalid-memory-map-entries-and-fix-boot-regression.patch x86-efi-don-t-allocate-memmap-through-memblock-after-mm_init.patch nl80211-fix-sched-scan-netlink-socket-owner-destruction.patch