perf/amd/uncore: Prepare L3 thread mask code for Family 19h
authorKim Phillips <kim.phillips@amd.com>
Fri, 13 Mar 2020 23:10:22 +0000 (18:10 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 17 Mar 2020 12:00:29 +0000 (13:00 +0100)
commit4dcc3df82573a946c620dda5fb00e27c7b080105
tree8137089e391c9acb205d58490391e80b6bb37601
parent95ed6c707f26a727a29972b60469630ae10d579c
perf/amd/uncore: Prepare L3 thread mask code for Family 19h

In order to better accommodate the upcoming Family 19h, given
the 80-char line limit, move the existing code into a new
l3_thread_slice_mask() function.

No functional changes.

 [ bp: Touchups. ]

Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200313231024.17601-1-kim.phillips@amd.com
arch/x86/events/amd/uncore.c