blob: cb8a79659915ffb73afee77f94668dea700151db [file] [log] [blame]
Artem Senichev67355a82018-03-16 12:35:51 +03001From 1dcf087af57a93ec7f24aa8be73e7ff0ffad22ca Mon Sep 17 00:00:00 2001
2From: Artem Senichev <a.senichev@yadro.com>
3Date: Tue, 13 Mar 2018 15:03:41 +0300
4Subject: [PATCH] Fix POS and SPD-VPD_REC_NUM
5
Artem Senichev18bb8e52018-04-02 11:46:13 +03006Hank Chang: When bringup this 4Socket 128DIMMs system, we hit the following
7VPD/SPD issue and suspected it might be related to the VPD_REC_NUM numbering
8algorithm issue then caused the SPD cache overlap for the 4 sockets case.
9So we simply tried to jump the $aff_pos offset from 16 to 64 for each Proc and
10the issue was fixed/gone.
11
Artem Senichev67355a82018-03-16 12:35:51 +030012Originally created by MSI (S188)
13
14Signed-off-by: Artem Senichev <a.senichev@yadro.com>
15---
16 src/usr/targeting/common/Targets.pm | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/usr/targeting/common/Targets.pm b/src/usr/targeting/common/Targets.pm
20index 35f08428c..4eaba16e7 100644
21--- a/src/usr/targeting/common/Targets.pm
22+++ b/src/usr/targeting/common/Targets.pm
23@@ -744,7 +744,7 @@ sub processMcs
24 $self->setAttribute($dimm,"MBA_PORT",$port_num);
25 $self->setAttribute($dimm,"MBA_DIMM",$dimm_num);
26
27- my $aff_pos=16*$proc+$mcs*$self->{MAX_MCS}+4*$mba+
28+ my $aff_pos=64*$proc+$mcs*$self->{MAX_MCS}+4*$mba+
29 2*$port_num+$dimm_num;
30 $self->setAttribute($dimm, "AFFINITY_PATH",
31 $parent_affinity
32--
332.14.1
34