Skip to content

Commit 14c357c

Browse files
committed
Merge tag 'edac_updates_for_v7.0_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras
Pull EDAC updates from Borislav Petkov: - Remove two drivers for obsolete hardware: i82443bxgx_edac and r82600_edac - Add support for Intel Amston Lake and Panther Lake-H SoCs to igen6_edac - The usual amount of fixes and cleanups * tag 'edac_updates_for_v7.0_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: EDAC/r82600: Remove this obsolete driver EDAC/i82443bxgx: Remove driver that has been marked broken since 2007 EDAC/amd64: Avoid a -Wformat-security warning RAS/AMD/ATL: Remove an unneeded semicolon EDAC/igen6: Add more Intel Panther Lake-H SoCs support EDAC/igen6: Make masks of {MCHBAR, TOM, TOUUD, ECC_ERROR_LOG} configurable EDAC/igen6: Add two Intel Amston Lake SoCs support EDAC/i5400: Fix snprintf() limit calculation in calculate_dimm_size() EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size()
2 parents 2619c62 + 5b115dc commit 14c357c

11 files changed

Lines changed: 86 additions & 932 deletions

File tree

CREDITS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3771,6 +3771,11 @@ S: 10 Stockalls Place
37713771
S: Minto, NSW, 2566
37723772
S: Australia
37733773

3774+
N: Tim Small
3775+
E: tim@buttersideup.com
3776+
D: Intel 82443BX/GX (440BX/GX chipset) EDAC driver
3777+
D: Radisys 82600 embedded chipset EDAC driver
3778+
37743779
N: Stephen Smalley
37753780
E: sds@tycho.nsa.gov
37763781
D: portions of the Linux Security Module (LSM) framework and security modules

MAINTAINERS

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9125,12 +9125,6 @@ L: linux-edac@vger.kernel.org
91259125
S: Maintained
91269126
F: drivers/edac/i7core_edac.c
91279127

9128-
EDAC-I82443BXGX
9129-
M: Tim Small <tim@buttersideup.com>
9130-
L: linux-edac@vger.kernel.org
9131-
S: Maintained
9132-
F: drivers/edac/i82443bxgx_edac.c
9133-
91349128
EDAC-I82975X
91359129
M: "Arvind R." <arvino55@gmail.com>
91369130
L: linux-edac@vger.kernel.org
@@ -9183,12 +9177,6 @@ L: linux-edac@vger.kernel.org
91839177
S: Maintained
91849178
F: drivers/edac/qcom_edac.c
91859179

9186-
EDAC-R82600
9187-
M: Tim Small <tim@buttersideup.com>
9188-
L: linux-edac@vger.kernel.org
9189-
S: Maintained
9190-
F: drivers/edac/r82600_edac.c
9191-
91929180
EDAC-SBRIDGE
91939181
M: Tony Luck <tony.luck@intel.com>
91949182
R: Qiuxu Zhuo <qiuxu.zhuo@intel.com>

drivers/edac/Kconfig

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,6 @@ config EDAC_E752X
150150
Support for error detection and correction on the Intel
151151
E7520, E7525, E7320 server chipsets.
152152

153-
config EDAC_I82443BXGX
154-
tristate "Intel 82443BX/GX (440BX/GX)"
155-
depends on PCI && X86_32
156-
depends on BROKEN
157-
help
158-
Support for error detection and correction on the Intel
159-
82443BX/GX memory controllers (440BX/GX chipsets).
160-
161153
config EDAC_I82875P
162154
tristate "Intel 82875p (D82875P, E7210)"
163155
depends on PCI && X86_32
@@ -223,13 +215,6 @@ config EDAC_I82860
223215
Support for error detection and correction on the Intel
224216
82860 chipset.
225217

226-
config EDAC_R82600
227-
tristate "Radisys 82600 embedded chipset"
228-
depends on PCI && X86_32
229-
help
230-
Support for error detection and correction on the Radisys
231-
82600 embedded chipset.
232-
233218
config EDAC_I5000
234219
tristate "Intel Greencreek/Blackford chipset"
235220
depends on X86 && PCI

drivers/edac/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,13 @@ obj-$(CONFIG_EDAC_PND2) += pnd2_edac.o
3838
obj-$(CONFIG_EDAC_IGEN6) += igen6_edac.o
3939
obj-$(CONFIG_EDAC_E7XXX) += e7xxx_edac.o
4040
obj-$(CONFIG_EDAC_E752X) += e752x_edac.o
41-
obj-$(CONFIG_EDAC_I82443BXGX) += i82443bxgx_edac.o
4241
obj-$(CONFIG_EDAC_I82875P) += i82875p_edac.o
4342
obj-$(CONFIG_EDAC_I82975X) += i82975x_edac.o
4443
obj-$(CONFIG_EDAC_I3000) += i3000_edac.o
4544
obj-$(CONFIG_EDAC_I3200) += i3200_edac.o
4645
obj-$(CONFIG_EDAC_IE31200) += ie31200_edac.o
4746
obj-$(CONFIG_EDAC_X38) += x38_edac.o
4847
obj-$(CONFIG_EDAC_I82860) += i82860_edac.o
49-
obj-$(CONFIG_EDAC_R82600) += r82600_edac.o
5048
obj-$(CONFIG_EDAC_AMD64) += amd64_edac.o
5149

5250
obj-$(CONFIG_EDAC_PASEMI) += pasemi_edac.o

drivers/edac/amd64_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3911,7 +3911,7 @@ static int per_family_init(struct amd64_pvt *pvt)
39113911
}
39123912

39133913
if (tmp_name)
3914-
scnprintf(pvt->ctl_name, sizeof(pvt->ctl_name), tmp_name);
3914+
scnprintf(pvt->ctl_name, sizeof(pvt->ctl_name), "%s", tmp_name);
39153915
else
39163916
scnprintf(pvt->ctl_name, sizeof(pvt->ctl_name), "F%02Xh_M%02Xh",
39173917
pvt->fam, pvt->model);

drivers/edac/i5000_edac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,7 @@ static void calculate_dimm_size(struct i5000_pvt *pvt)
11111111

11121112
n = snprintf(p, space, " ");
11131113
p += n;
1114+
space -= n;
11141115
for (branch = 0; branch < MAX_BRANCHES; branch++) {
11151116
n = snprintf(p, space, " branch %d | ", branch);
11161117
p += n;

drivers/edac/i5400_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,13 +1026,13 @@ static void calculate_dimm_size(struct i5400_pvt *pvt)
10261026
space -= n;
10271027
}
10281028

1029-
space -= n;
10301029
edac_dbg(2, "%s\n", mem_buffer);
10311030
p = mem_buffer;
10321031
space = PAGE_SIZE;
10331032

10341033
n = snprintf(p, space, " ");
10351034
p += n;
1035+
space -= n;
10361036
for (branch = 0; branch < MAX_BRANCHES; branch++) {
10371037
n = snprintf(p, space, " branch %d | ", branch);
10381038
p += n;

0 commit comments

Comments
 (0)