diff options
author | Stephane Eranian <eranian@google.com> | 2013-04-16 15:51:43 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-16 17:02:06 +0400 |
commit | f1923820c447e986a9da0fc6bf60c1dccdf0408e (patch) | |
tree | 9b7d9833a0e490ab21b5c887198b95a6912cc6be /Makefile | |
parent | 8176cced706b5e5d15887584150764894e94e02f (diff) | |
download | linux-f1923820c447e986a9da0fc6bf60c1dccdf0408e.tar.xz |
perf/x86: Fix offcore_rsp valid mask for SNB/IVB
The valid mask for both offcore_response_0 and
offcore_response_1 was wrong for SNB/SNB-EP,
IVB/IVB-EP. It was possible to write to
reserved bit and cause a GP fault crashing
the kernel.
This patch fixes the problem by correctly marking the
reserved bits in the valid mask for all the processors
mentioned above.
A distinction between desktop and server parts is introduced
because bits 24-30 are only available on the server parts.
This version of the patch is just a rebase to perf/urgent tree
and should apply to older kernels as well.
Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: peterz@infradead.org
Cc: jolsa@redhat.com
Cc: gregkh@linuxfoundation.org
Cc: security@kernel.org
Cc: ak@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions