diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2019-10-22 20:35:11 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-11-06 11:07:01 +0100 |
commit | 5e4c55276ae8758f5789722b384bb2ab3de3a24f (patch) | |
tree | ad567a861183e681c66838a9992a18bf68bb863f /.get_maintainer.ignore | |
parent | EDAC/amd64: Gather hardware information early (diff) | |
download | linux-dev-5e4c55276ae8758f5789722b384bb2ab3de3a24f.tar.xz linux-dev-5e4c55276ae8758f5789722b384bb2ab3de3a24f.zip |
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 <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Robert Richter <rrichter@marvell.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20191106012448.243970-4-Yazen.Ghannam@amd.com
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions