Revision 71e7bc2bab77e64882c031c2af943c3256c1adb0 authored by David Carrillo-Cisneros on 17 August 2016, 20:55:04 UTC, committed by Ingo Molnar on 18 August 2016, 08:35:52 UTC
The call to smp_call_function_single in perf_event_read() may fail if
an invalid or not online CPU index is passed. Warn user if such bug is
present and return error.

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1471467307-61171-2-git-send-email-davidcc@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 99f5bc9
History
File Mode Size
Kbuild -rw-r--r-- 0 bytes
atmel_lcdc.h -rw-r--r-- 6.8 KB
aty128.h -rw-r--r-- 13.2 KB
auo_k190xfb.h -rw-r--r-- 2.8 KB
broadsheetfb.h -rw-r--r-- 2.1 KB
cirrus.h -rw-r--r-- 5.7 KB
cvisionppc.h -rw-r--r-- 1.5 KB
da8xx-fb.h -rw-r--r-- 2.0 KB
display_timing.h -rw-r--r-- 3.0 KB
edid.h -rw-r--r-- 189 bytes
exynos5433_decon.h -rw-r--r-- 6.2 KB
exynos7_decon.h -rw-r--r-- 10.9 KB
exynos_mipi_dsim.h -rw-r--r-- 12.2 KB
gbe.h -rw-r--r-- 10.5 KB
hecubafb.h -rw-r--r-- 1.5 KB
iga.h -rw-r--r-- 787 bytes
ili9320.h -rw-r--r-- 5.8 KB
imx-ipu-v3.h -rw-r--r-- 11.1 KB
kyro.h -rw-r--r-- 2.4 KB
mach64.h -rw-r--r-- 47.1 KB
maxinefb.h -rw-r--r-- 1.2 KB
mbxfb.h -rw-r--r-- 2.1 KB
metronomefb.h -rw-r--r-- 1.5 KB
mipi_display.h -rw-r--r-- 4.5 KB
mmp_disp.h -rw-r--r-- 7.6 KB
neomagic.h -rw-r--r-- 4.9 KB
newport.h -rw-r--r-- 18.6 KB
of_display_timing.h -rw-r--r-- 905 bytes
of_videomode.h -rw-r--r-- 367 bytes
omap-panel-data.h -rw-r--r-- 2.2 KB
omapfb_dss.h -rw-r--r-- 23.4 KB
omapvrfb.h -rw-r--r-- 2.4 KB
permedia2.h -rw-r--r-- 9.0 KB
platform_lcd.h -rw-r--r-- 589 bytes
pm3fb.h -rw-r--r-- 45.3 KB
pmag-ba-fb.h -rw-r--r-- 1.0 KB
pmagb-b-fb.h -rw-r--r-- 2.3 KB
pxa168fb.h -rw-r--r-- 2.7 KB
radeon.h -rw-r--r-- 109.2 KB
s1d13xxxfb.h -rw-r--r-- 9.9 KB
sa1100fb.h -rw-r--r-- 1.3 KB
samsung_fimd.h -rw-r--r-- 16.8 KB
sh_mobile_lcdc.h -rw-r--r-- 6.1 KB
sh_mobile_meram.h -rw-r--r-- 2.4 KB
sisfb.h -rw-r--r-- 1.2 KB
sstfb.h -rw-r--r-- 11.0 KB
tdfx.h -rw-r--r-- 5.3 KB
tgafb.h -rw-r--r-- 6.9 KB
trident.h -rw-r--r-- 3.2 KB
udlfb.h -rw-r--r-- 2.8 KB
uvesafb.h -rw-r--r-- 2.8 KB
vga.h -rw-r--r-- 13.7 KB
videomode.h -rw-r--r-- 1.3 KB
w100fb.h -rw-r--r-- 3.7 KB

back to top