aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/edac_core.h4
-rw-r--r--drivers/edac/edac_device.c6
-rw-r--r--drivers/edac/i7core_edac.c10
-rw-r--r--drivers/edac/sb_edac.c6
4 files changed, 13 insertions, 13 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
index f06ce9ab692c..117490d4f835 100644
--- a/drivers/edac/edac_core.h
+++ b/drivers/edac/edac_core.h
@@ -107,13 +107,13 @@ extern int edac_debug_level;
107 * 107 *
108 * CPU caches (L1 and L2) 108 * CPU caches (L1 and L2)
109 * DMA engines 109 * DMA engines
110 * Core CPU swithces 110 * Core CPU switches
111 * Fabric switch units 111 * Fabric switch units
112 * PCIe interface controllers 112 * PCIe interface controllers
113 * other EDAC/ECC type devices that can be monitored for 113 * other EDAC/ECC type devices that can be monitored for
114 * errors, etc. 114 * errors, etc.
115 * 115 *
116 * It allows for a 2 level set of hiearchry. For example: 116 * It allows for a 2 level set of hierarchy. For example:
117 * 117 *
118 * cache could be composed of L1, L2 and L3 levels of cache. 118 * cache could be composed of L1, L2 and L3 levels of cache.
119 * Each CPU core would have its own L1 cache, while sharing 119 * Each CPU core would have its own L1 cache, while sharing
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index cb397d9437d1..ee3f1f810c1e 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -56,7 +56,7 @@ static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev)
56 * 56 *
57 * The control structure is allocated in complete chunk 57 * The control structure is allocated in complete chunk
58 * from the OS. It is in turn sub allocated to the 58 * from the OS. It is in turn sub allocated to the
59 * various objects that compose the struture 59 * various objects that compose the structure
60 * 60 *
61 * The structure has a 'nr_instance' array within itself. 61 * The structure has a 'nr_instance' array within itself.
62 * Each instance represents a major component 62 * Each instance represents a major component
@@ -389,7 +389,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
389 389
390 /* Reschedule the workq for the next time period to start again 390 /* Reschedule the workq for the next time period to start again
391 * if the number of msec is for 1 sec, then adjust to the next 391 * if the number of msec is for 1 sec, then adjust to the next
392 * whole one second to save timers fireing all over the period 392 * whole one second to save timers firing all over the period
393 * between integral seconds 393 * between integral seconds
394 */ 394 */
395 if (edac_dev->poll_msec == 1000) 395 if (edac_dev->poll_msec == 1000)
@@ -558,7 +558,7 @@ EXPORT_SYMBOL_GPL(edac_device_add_device);
558 * Remove sysfs entries for specified edac_device structure and 558 * Remove sysfs entries for specified edac_device structure and
559 * then remove edac_device structure from global list 559 * then remove edac_device structure from global list
560 * 560 *
561 * @pdev: 561 * @dev:
562 * Pointer to 'struct device' representing edac_device 562 * Pointer to 'struct device' representing edac_device
563 * structure to remove. 563 * structure to remove.
564 * 564 *
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index c05e1ada7a3d..d27778f65a5d 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -90,7 +90,7 @@ MODULE_PARM_DESC(use_pci_fixup, "Enable PCI fixup to seek for hidden devices");
90#define MC_MAX_DOD 0x64 90#define MC_MAX_DOD 0x64
91 91
92/* 92/*
93 * OFFSETS for Device 3 Function 4, as inicated on Xeon 5500 datasheet: 93 * OFFSETS for Device 3 Function 4, as indicated on Xeon 5500 datasheet:
94 * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf 94 * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf
95 */ 95 */
96 96
@@ -101,7 +101,7 @@ MODULE_PARM_DESC(use_pci_fixup, "Enable PCI fixup to seek for hidden devices");
101 #define DIMM1_COR_ERR(r) (((r) >> 16) & 0x7fff) 101 #define DIMM1_COR_ERR(r) (((r) >> 16) & 0x7fff)
102 #define DIMM0_COR_ERR(r) ((r) & 0x7fff) 102 #define DIMM0_COR_ERR(r) ((r) & 0x7fff)
103 103
104/* OFFSETS for Device 3 Function 2, as inicated on Xeon 5500 datasheet */ 104/* OFFSETS for Device 3 Function 2, as indicated on Xeon 5500 datasheet */
105#define MC_SSRCONTROL 0x48 105#define MC_SSRCONTROL 0x48
106 #define SSR_MODE_DISABLE 0x00 106 #define SSR_MODE_DISABLE 0x00
107 #define SSR_MODE_ENABLE 0x01 107 #define SSR_MODE_ENABLE 0x01
@@ -399,7 +399,7 @@ static DEFINE_PCI_DEVICE_TABLE(i7core_pci_tbl) = {
399}; 399};
400 400
401/**************************************************************************** 401/****************************************************************************
402 Anciliary status routines 402 Ancillary status routines
403 ****************************************************************************/ 403 ****************************************************************************/
404 404
405 /* MC_CONTROL bits */ 405 /* MC_CONTROL bits */
@@ -1246,7 +1246,7 @@ static int i7core_get_onedevice(struct pci_dev **prev,
1246 dev_descr->dev_id, *prev); 1246 dev_descr->dev_id, *prev);
1247 1247
1248 /* 1248 /*
1249 * On Xeon 55xx, the Intel Quckpath Arch Generic Non-core regs 1249 * On Xeon 55xx, the Intel QuickPath Arch Generic Non-core regs
1250 * is at addr 8086:2c40, instead of 8086:2c41. So, we need 1250 * is at addr 8086:2c40, instead of 8086:2c41. So, we need
1251 * to probe for the alternate address in case of failure 1251 * to probe for the alternate address in case of failure
1252 */ 1252 */
@@ -2014,7 +2014,7 @@ static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw)
2014 2014
2015/* 2015/*
2016 * get_sdram_scrub_rate This routine convert current scrub rate value 2016 * get_sdram_scrub_rate This routine convert current scrub rate value
2017 * into byte/sec bandwidth accourding to 2017 * into byte/sec bandwidth according to
2018 * SCRUBINTERVAL formula found in datasheet. 2018 * SCRUBINTERVAL formula found in datasheet.
2019 */ 2019 */
2020static int get_sdram_scrub_rate(struct mem_ctl_info *mci) 2020static int get_sdram_scrub_rate(struct mem_ctl_info *mci)
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index e834dfd034d6..4adaf4b7da99 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -58,7 +58,7 @@ static int probed;
58 58
59/* 59/*
60 * FIXME: For now, let's order by device function, as it makes 60 * FIXME: For now, let's order by device function, as it makes
61 * easier for driver's development proccess. This table should be 61 * easier for driver's development process. This table should be
62 * moved to pci_id.h when submitted upstream 62 * moved to pci_id.h when submitted upstream
63 */ 63 */
64#define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD0 0x3cf4 /* 12.6 */ 64#define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD0 0x3cf4 /* 12.6 */
@@ -373,7 +373,7 @@ static DEFINE_PCI_DEVICE_TABLE(sbridge_pci_tbl) = {
373 373
374 374
375/**************************************************************************** 375/****************************************************************************
376 Anciliary status routines 376 Ancillary status routines
377 ****************************************************************************/ 377 ****************************************************************************/
378 378
379static inline int numrank(u32 mtr) 379static inline int numrank(u32 mtr)
@@ -1371,7 +1371,7 @@ static void sbridge_mce_output_error(struct mem_ctl_info *mci,
1371 } 1371 }
1372 1372
1373 /* 1373 /*
1374 * According with Table 15-9 of the Intel Archictecture spec vol 3A, 1374 * According with Table 15-9 of the Intel Architecture spec vol 3A,
1375 * memory errors should fit in this mask: 1375 * memory errors should fit in this mask:
1376 * 000f 0000 1mmm cccc (binary) 1376 * 000f 0000 1mmm cccc (binary)
1377 * where: 1377 * where: