Lines Matching +full:x +full:- +full:ecc
1 /*-
47 * See BKDG for AMD Family 15h Models 00h-0Fh Processors
48 * (publication 42301 Rev 3.08 - March 12, 2012):
49 * - 2.13.3.1 DRAM Error Injection
50 * - D18F3xB8 NB Array Address
51 * - D18F3xBC NB Array Data Port
52 * - D18F3xBC_x8 DRAM ECC
74 static int quadrant = 0; /* 0 - 3 */
75 static int word_mask = 0x001; /* 9 bits: 8 + 1 for ECC */
86 if (error || req->newptr == NULL) in sysctl_int_with_max()
102 if (error || req->newptr == NULL) in sysctl_nonzero_int_with_max()
130 "DRAM ECC error injection");
137 "Index of 16-byte quadrant within 64-byte line where errors "
142 "9-bit mask of words where errors should be injected (8 data + 1 ECC)");
146 "16-bit mask of bits within each selected word where errors "
184 ("word mask value is outside of range: 0x%x", word_mask)); in ecc_ei_inject()
186 ("bit mask value is outside of range: 0x%x", bit_mask)); in ecc_ei_inject()
193 if (delay_ms != 0 && injected != count - 1) in ecc_ei_inject()
207 printf("DRAM ECC error injection is not supported\n"); in ecc_ei_load()
217 printf("DRAM ECC is not supported or disabled\n"); in ecc_ei_load()
220 printf("DRAM ECC error injection support loaded\n"); in ecc_ei_load()