Skip to content
Commit 94f4db35 authored by Jacob Shin's avatar Jacob Shin Committed by Ingo Molnar
Browse files

perf/x86/amd: Fix AMD NB and L2I "uncore" support



Borislav Petkov reported a lockdep splat warning about kzalloc()
done in an IPI (hardirq) handler.

This is a real bug, do not call kzalloc() in a smp_call_function_single()
handler because it can schedule and crash.

Reported-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarJacob Shin <jacob.shin@amd.com>
Tested-by: default avatarBorislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: <eranian@google.com>
Cc: <a.p.zijlstra@chello.nl>
Cc: <acme@ghostprotocols.net>
Cc: <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20130421180627.GA21049@jshin-Toonie


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 0cf5f432
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment