x86, bts: add selftest for BTS
Perform a selftest of branch trace store when a cpu is initialized. WARN and disable branch trace store support if the selftest fails. Signed-off-by: NMarkus Metzger <markus.t.metzger@intel.com> LKML-Reference: <20090313104507.A30125@sedona.ch.intel.com> Signed-off-by: NIngo Molnar <mingo@elte.hu>
Showing
arch/x86/kernel/ds_selftest.c
0 → 100644
arch/x86/kernel/ds_selftest.h
0 → 100644
想要评论请 注册 或 登录