diff options
author | Suravee Suthikulpanit <[email protected]> | 2018-06-13 13:43:10 -0500 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-06-22 21:21:49 +0200 |
commit | 964d978433a4b9aa1368ff71227ca0027dd1e32f (patch) | |
tree | 4ec8e2677665c624544224831fe0aa9d50c49133 /include/linux/fpga/fpga-mgr.h | |
parent | 7731b8bc94e599c9a79e428f3359ff2c34b7576a (diff) |
x86/CPU/AMD: Fix LLC ID bit-shift calculation
The current logic incorrectly calculates the LLC ID from the APIC ID.
Unless specified otherwise, the LLC ID should be calculated by removing
the Core and Thread ID bits from the least significant end of the APIC
ID. For more info, see "ApicId Enumeration Requirements" in any Fam17h
PPR document.
[ bp: Improve commit message. ]
Fixes: 68091ee7ac3c ("Calculate last level cache ID from number of sharing threads")
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions