x86, microcode: Make reload interface per system
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 21 Jun 2012 12:07:17 +0000 (14:07 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 1 Jul 2012 17:24:09 +0000 (10:24 -0700)
commit3d8986bc7f309483ee09c7a02888bab09072c19b
tree44cb2e0c9a62f499e4ae41f27fc50133650cdf32
parentc9fc3f778a6a215ace14ee556067c73982b6d40f
x86, microcode: Make reload interface per system

The reload interface should be per-system so that a full system ucode
reload happens (on each core) when doing

echo 1 > /sys/devices/system/cpu/microcode/reload

Move it to the cpu subsys directory instead of it being per-cpu.

Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1340280437-7718-3-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/microcode_core.c