Artem Senichev | 67355a8 | 2018-03-16 12:35:51 +0300 | [diff] [blame] | 1 | From 1dcf087af57a93ec7f24aa8be73e7ff0ffad22ca Mon Sep 17 00:00:00 2001 |
| 2 | From: Artem Senichev <a.senichev@yadro.com> |
| 3 | Date: Tue, 13 Mar 2018 15:03:41 +0300 |
| 4 | Subject: [PATCH] Fix POS and SPD-VPD_REC_NUM |
| 5 | |
Artem Senichev | 18bb8e5 | 2018-04-02 11:46:13 +0300 | [diff] [blame] | 6 | Hank Chang: When bringup this 4Socket 128DIMMs system, we hit the following |
| 7 | VPD/SPD issue and suspected it might be related to the VPD_REC_NUM numbering |
| 8 | algorithm issue then caused the SPD cache overlap for the 4 sockets case. |
| 9 | So we simply tried to jump the $aff_pos offset from 16 to 64 for each Proc and |
| 10 | the issue was fixed/gone. |
| 11 | |
Artem Senichev | 67355a8 | 2018-03-16 12:35:51 +0300 | [diff] [blame] | 12 | Originally created by MSI (S188) |
| 13 | |
| 14 | Signed-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 | |
| 19 | diff --git a/src/usr/targeting/common/Targets.pm b/src/usr/targeting/common/Targets.pm |
| 20 | index 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 | -- |
| 33 | 2.14.1 |
| 34 | |