diff options
author | Yazen Ghannam <[email protected]> | 2019-10-22 20:35:11 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-11-06 11:07:01 +0100 |
commit | 5e4c55276ae8758f5789722b384bb2ab3de3a24f (patch) | |
tree | ad567a861183e681c66838a9992a18bf68bb863f /net/switchdev/switchdev.c | |
parent | 80355a3b2db9d0b713af5169e2cdd7f8fbfdad82 (diff) |
EDAC/amd64: Save max number of controllers to family type
The maximum number of memory controllers is fixed within a family/model
group. In most cases, this has been fixed at 2, but some systems may
have up to 8.
The struct amd64_family_type already contains family/model-specific
information, and this can be used rather than adding model checks to
various functions.
Create a new field in struct amd64_family_type for max_mcs.
Set this when setting other family type information, and use this when
needing the maximum number of memory controllers possible for a system.
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: "[email protected]" <[email protected]>
Cc: James Morse <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions