Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
#
#	CONFIG_EDAC Kconfig
#	Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
#	Licensed and distributed under the GPL

config CONFIG_EDAC_ATOMIC_SCRUB
	bool

config CONFIG_EDAC_SUPPORT
	bool

menuconfig CONFIG_EDAC
	tristate "EDAC (Error Detection And Correction) reporting"
	depends on CONFIG_HAS_IOMEM && CONFIG_EDAC_SUPPORT && CONFIG_RAS
	help
	  CONFIG_EDAC is a subsystem along with hardware-specific drivers designed to
	  report hardware errors. These are low-level errors that are reported
	  in the CPU or supporting chipset or other subsystems:
	  memory errors, cache errors, CONFIG_PCI errors, thermal throttling, etc..
	  If unsure, select 'Y'.

	  The mailing list for the CONFIG_EDAC project is linux-edac@vger.kernel.org.

if CONFIG_EDAC

config CONFIG_EDAC_LEGACY_SYSFS
	bool "EDAC legacy sysfs"
	default y
	help
	  Enable the compatibility sysfs nodes.
	  Use 'Y' if your edac utilities aren't ported to work with the newer
	  structures.

config CONFIG_EDAC_DEBUG
	bool "Debugging"
	select CONFIG_DEBUG_FS
	help
	  This turns on debugging information for the entire CONFIG_EDAC subsystem.
	  You do so by inserting edac_module with "edac_debug_level=x." Valid
	  levels are 0-4 (from low to high) and by default it is set to 2.
	  Usually you should select 'N' here.

config CONFIG_EDAC_DECODE_MCE
	tristate "Decode MCEs in human-readable form (only on AMD for now)"
	depends on CONFIG_CPU_SUP_AMD && CONFIG_X86_MCE_AMD
	default y
	---help---
	  Enable this option if you want to decode Machine Check Exceptions
	  occurring on your machine in human-readable form.

	  You should definitely say Y here in case you want to decode MCEs
	  which occur really early upon boot, before the module infrastructure
	  has been initialized.

config CONFIG_EDAC_GHES
	bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
	depends on CONFIG_ACPI_APEI_GHES && (CONFIG_EDAC=y)
	help
	  Not all machines support hardware-driven error report. Some of those
	  provide a BIOS-driven error report mechanism via CONFIG_ACPI, using the
	  APEI/GHES driver. By enabling this option, the error reports provided
	  by GHES are sent to userspace via the CONFIG_EDAC API.

	  When this option is enabled, it will disable the hardware-driven
	  mechanisms, if a GHES BIOS is detected, entering into the
	  "Firmware First" mode.

	  It should be noticed that keeping both GHES and a hardware-driven
	  error mechanism won't work well, as BIOS will race with OS, while
	  reading the error registers. So, if you want to not use "Firmware
	  first" GHES error mechanism, you should disable GHES either at
	  compilation time or by passing "ghes.disable=1" Kernel parameter
	  at boot time.

	  In doubt, say 'Y'.

config CONFIG_EDAC_AMD64
	tristate "AMD64 (Opteron, Athlon64)"
	depends on CONFIG_AMD_NB && CONFIG_EDAC_DECODE_MCE
	help
	  Support for error detection and correction of DRAM ECC errors on
	  the AMD64 families (>= K8) of memory controllers.

config CONFIG_EDAC_AMD64_ERROR_INJECTION
	bool "Sysfs HW Error injection facilities"
	depends on CONFIG_EDAC_AMD64
	help
	  Recent Opterons (Family 10h and later) provide for Memory Error
	  Injection into the ECC detection circuits. The amd64_edac module
	  allows the operator/user to inject Uncorrectable and Correctable
	  errors into DRAM.

	  When enabled, in each of the respective memory controller directories
	  (/sys/devices/system/edac/mc/mcX), there are 3 input files:

	  - inject_section (0..3, 16-byte section of 64-byte cacheline),
	  - inject_word (0..8, 16-bit word of 16-byte section),
	  - inject_ecc_vector (hex ecc vector: select bits of inject word)

	  In addition, there are two control files, inject_read and inject_write,
	  which trigger the DRAM ECC Read and Write respectively.

config CONFIG_EDAC_AMD76X
	tristate "AMD 76x (760, 762, 768)"
	depends on CONFIG_PCI && CONFIG_X86_32
	help
	  Support for error detection and correction on the AMD 76x
	  series of chipsets used with the Athlon processor.

config CONFIG_EDAC_E7XXX
	tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
	depends on CONFIG_PCI && CONFIG_X86_32
	help
	  Support for error detection and correction on the Intel
	  E7205, E7500, E7501 and E7505 server chipsets.

config CONFIG_EDAC_E752X
	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  E7520, E7525, E7320 server chipsets.

config CONFIG_EDAC_I82443BXGX
	tristate "Intel 82443BX/GX (440BX/GX)"
	depends on CONFIG_PCI && CONFIG_X86_32
	depends on CONFIG_BROKEN
	help
	  Support for error detection and correction on the Intel
	  82443BX/GX memory controllers (440BX/GX chipsets).

config CONFIG_EDAC_I82875P
	tristate "Intel 82875p (D82875P, E7210)"
	depends on CONFIG_PCI && CONFIG_X86_32
	help
	  Support for error detection and correction on the Intel
	  DP82785P and E7210 server chipsets.

config CONFIG_EDAC_I82975X
	tristate "Intel 82975x (D82975x)"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  DP82975x server chipsets.

config CONFIG_EDAC_I3000
	tristate "Intel 3000/3010"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  3000 and 3010 server chipsets.

config CONFIG_EDAC_I3200
	tristate "Intel 3200"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  3200 and 3210 server chipsets.

config CONFIG_EDAC_IE31200
	tristate "Intel e312xx"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  E3-1200 based DRAM controllers.

config CONFIG_EDAC_X38
	tristate "Intel X38"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction on the Intel
	  X38 server chipsets.

config CONFIG_EDAC_I5400
	tristate "Intel 5400 (Seaburg) chipsets"
	depends on CONFIG_PCI && CONFIG_X86
	help
	  Support for error detection and correction the Intel
	  i5400 MCH chipset (Seaburg).

config CONFIG_EDAC_I7CORE
	tristate "Intel i7 Core (Nehalem) processors"
	depends on CONFIG_PCI && CONFIG_X86 && CONFIG_X86_MCE_INTEL
	help
	  Support for error detection and correction the Intel
	  i7 Core (Nehalem) Integrated Memory Controller that exists on
	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
	  and Xeon 55xx processors.

config CONFIG_EDAC_I82860
	tristate "Intel 82860"
	depends on CONFIG_PCI && CONFIG_X86_32
	help
	  Support for error detection and correction on the Intel
	  82860 chipset.

config CONFIG_EDAC_R82600
	tristate "Radisys 82600 embedded chipset"
	depends on CONFIG_PCI && CONFIG_X86_32
	help
	  Support for error detection and correction on the Radisys
	  82600 embedded chipset.

config CONFIG_EDAC_I5000
	tristate "Intel Greencreek/Blackford chipset"
	depends on CONFIG_X86 && CONFIG_PCI
	help
	  Support for error detection and correction the Intel
	  Greekcreek/Blackford chipsets.

config CONFIG_EDAC_I5100
	tristate "Intel San Clemente MCH"
	depends on CONFIG_X86 && CONFIG_PCI
	help
	  Support for error detection and correction the Intel
	  San Clemente MCH.

config CONFIG_EDAC_I7300
	tristate "Intel Clarksboro MCH"
	depends on CONFIG_X86 && CONFIG_PCI
	help
	  Support for error detection and correction the Intel
	  Clarksboro MCH (Intel 7300 chipset).

config CONFIG_EDAC_SBRIDGE
	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
	depends on CONFIG_PCI && CONFIG_X86_64 && CONFIG_X86_MCE_INTEL && CONFIG_PCI_MMCONFIG
	help
	  Support for error detection and correction the Intel
	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.

config CONFIG_EDAC_SKX
	tristate "Intel Skylake server Integrated MC"
	depends on CONFIG_PCI && CONFIG_X86_64 && CONFIG_X86_MCE_INTEL && CONFIG_PCI_MMCONFIG && CONFIG_ACPI
	depends on CONFIG_ACPI_NFIT || !CONFIG_ACPI_NFIT # if CONFIG_ACPI_NFIT=m, CONFIG_EDAC_SKX can't be y
	select CONFIG_DMI
	select CONFIG_ACPI_ADXL
	help
	  Support for error detection and correction the Intel
	  Skylake server Integrated Memory Controllers. If your
	  system has non-volatile DIMMs you should also manually
	  select CONFIG_ACPI_NFIT.

config CONFIG_EDAC_I10NM
	tristate "Intel 10nm server Integrated MC"
	depends on CONFIG_PCI && CONFIG_X86_64 && CONFIG_X86_MCE_INTEL && CONFIG_PCI_MMCONFIG && CONFIG_ACPI
	depends on CONFIG_ACPI_NFIT || !CONFIG_ACPI_NFIT # if CONFIG_ACPI_NFIT=m, CONFIG_EDAC_I10NM can't be y
	select CONFIG_DMI
	select CONFIG_ACPI_ADXL
	help
	  Support for error detection and correction the Intel
	  10nm server Integrated Memory Controllers. If your
	  system has non-volatile DIMMs you should also manually
	  select CONFIG_ACPI_NFIT.

config CONFIG_EDAC_PND2
	tristate "Intel Pondicherry2"
	depends on CONFIG_PCI && CONFIG_X86_64 && CONFIG_X86_MCE_INTEL
	help
	  Support for error detection and correction on the Intel
	  Pondicherry2 Integrated Memory Controller. This SoC IP is
	  first used on the Apollo Lake platform and Denverton
	  micro-server but may appear on others in the future.

config CONFIG_EDAC_MPC85XX
	bool "Freescale MPC83xx / MPC85xx"
	depends on CONFIG_FSL_SOC && CONFIG_EDAC=y
	help
	  Support for error detection and correction on the Freescale
	  MPC8349, MPC8560, MPC8540, MPC8548, T4240

config CONFIG_EDAC_LAYERSCAPE
	tristate "Freescale Layerscape DDR"
	depends on CONFIG_ARCH_LAYERSCAPE || CONFIG_SOC_LS1021A
	help
	  Support for error detection and correction on Freescale memory
	  controllers on Layerscape SoCs.

config CONFIG_EDAC_MV64X60
	tristate "Marvell MV64x60"
	depends on CONFIG_MV64X60
	help
	  Support for error detection and correction on the Marvell
	  MV64360 and MV64460 chipsets.

config CONFIG_EDAC_PASEMI
	tristate "PA Semi PWRficient"
	depends on CONFIG_PPC_PASEMI && CONFIG_PCI
	help
	  Support for error detection and correction on PA Semi
	  PWRficient.

config CONFIG_EDAC_CELL
	tristate "Cell Broadband Engine memory controller"
	depends on CONFIG_PPC_CELL_COMMON
	help
	  Support for error detection and correction on the
	  Cell Broadband Engine internal memory controller
	  on platform without a hypervisor

config CONFIG_EDAC_PPC4XX
	tristate "PPC4xx IBM DDR2 Memory Controller"
	depends on CONFIG_4xx
	help
	  This enables support for CONFIG_EDAC on the ECC memory used
	  with the IBM DDR2 memory controller found in various
	  PowerPC CONFIG_4xx embedded processors such as the CONFIG_405EX[r],
	  CONFIG_440SP, CONFIG_440SPe, CONFIG_460EX, 460GT and CONFIG_460SX.

config CONFIG_EDAC_AMD8131
	tristate "AMD8131 HyperTransport PCI-X Tunnel"
	depends on CONFIG_PCI && CONFIG_PPC_MAPLE
	help
	  Support for error detection and correction on the
	  AMD8131 HyperTransport CONFIG_PCI-X Tunnel chip.
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.

config CONFIG_EDAC_AMD8111
	tristate "AMD8111 HyperTransport I/O Hub"
	depends on CONFIG_PCI && CONFIG_PPC_MAPLE
	help
	  Support for error detection and correction on the
	  AMD8111 HyperTransport I/O Hub chip.
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.

config CONFIG_EDAC_CPC925
	tristate "IBM CPC925 Memory Controller (PPC970FX)"
	depends on CONFIG_PPC64
	help
	  Support for error detection and correction on the
	  IBM CPC925 Bridge and Memory Controller, which is
	  a companion chip to the PowerPC 970 family of
	  processors.

config CONFIG_EDAC_HIGHBANK_MC
	tristate "Highbank Memory Controller"
	depends on CONFIG_ARCH_HIGHBANK
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

config CONFIG_EDAC_HIGHBANK_L2
	tristate "Highbank L2 Cache"
	depends on CONFIG_ARCH_HIGHBANK
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

config CONFIG_EDAC_OCTEON_PC
	tristate "Cavium Octeon Primary Caches"
	depends on CONFIG_CPU_CAVIUM_OCTEON
	help
	  Support for error detection and correction on the primary caches of
	  the cnMIPS cores of Cavium Octeon family SOCs.

config CONFIG_EDAC_OCTEON_L2C
	tristate "Cavium Octeon Secondary Caches (L2C)"
	depends on CONFIG_CAVIUM_OCTEON_SOC
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config CONFIG_EDAC_OCTEON_LMC
	tristate "Cavium Octeon DRAM Memory Controller (LMC)"
	depends on CONFIG_CAVIUM_OCTEON_SOC
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config CONFIG_EDAC_OCTEON_PCI
	tristate "Cavium Octeon PCI Controller"
	depends on CONFIG_PCI && CONFIG_CAVIUM_OCTEON_SOC
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config CONFIG_EDAC_THUNDERX
	tristate "Cavium ThunderX EDAC"
	depends on CONFIG_ARM64
	depends on CONFIG_PCI
	help
	  Support for error detection and correction on the
	  Cavium ThunderX memory controllers (LMC), Cache
	  Coherent Processor Interconnect (CCPI) and L2 cache
	  blocks (TAD, CBC, MCI).

config CONFIG_EDAC_ALTERA
	bool "Altera SOCFPGA ECC"
	depends on CONFIG_EDAC=y && (CONFIG_ARCH_SOCFPGA || CONFIG_ARCH_STRATIX10)
	help
	  Support for error detection and correction on the
	  Altera SOCs. This is the global enable for the
	  various Altera peripherals.

config CONFIG_EDAC_ALTERA_SDRAM
	bool "Altera SDRAM ECC"
	depends on CONFIG_EDAC_ALTERA=y
	help
	  Support for error detection and correction on the
	  Altera SDRAM Memory for Altera SoCs. Note that the
	  preloader must initialize the SDRAM before loading
	  the kernel.

config CONFIG_EDAC_ALTERA_L2C
	bool "Altera L2 Cache ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_CACHE_L2X0
	help
	  Support for error detection and correction on the
	  Altera L2 cache Memory for Altera SoCs. This option
	  requires L2 cache.

config CONFIG_EDAC_ALTERA_OCRAM
	bool "Altera On-Chip RAM ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_SRAM && CONFIG_GENERIC_ALLOCATOR
	help
	  Support for error detection and correction on the
	  Altera On-Chip RAM Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_ETHERNET
	bool "Altera Ethernet FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y
	help
	  Support for error detection and correction on the
	  Altera Ethernet FIFO Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_NAND
	bool "Altera NAND FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_MTD_NAND_DENALI
	help
	  Support for error detection and correction on the
	  Altera NAND FIFO Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_DMA
	bool "Altera DMA FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_PL330_DMA=y
	help
	  Support for error detection and correction on the
	  Altera DMA FIFO Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_USB
	bool "Altera USB FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_USB_DWC2
	help
	  Support for error detection and correction on the
	  Altera CONFIG_USB FIFO Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_QSPI
	bool "Altera QSPI FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_SPI_CADENCE_QUADSPI
	help
	  Support for error detection and correction on the
	  Altera QSPI FIFO Memory for Altera SoCs.

config CONFIG_EDAC_ALTERA_SDMMC
	bool "Altera SDMMC FIFO ECC"
	depends on CONFIG_EDAC_ALTERA=y && CONFIG_MMC_DW
	help
	  Support for error detection and correction on the
	  Altera SDMMC FIFO Memory for Altera SoCs.

config CONFIG_EDAC_SIFIVE
	bool "Sifive platform EDAC driver"
	depends on CONFIG_EDAC=y && CONFIG_RISCV
	help
	  Support for error detection and correction on the SiFive SoCs.

config CONFIG_EDAC_ARMADA_XP
	bool "Marvell Armada XP DDR and L2 Cache ECC"
	depends on CONFIG_MACH_MVEBU_V7
	help
	  Support for error correction and detection on the Marvell Aramada XP
	  CONFIG_DDR RAM and L2 cache controllers.

config CONFIG_EDAC_SYNOPSYS
	tristate "Synopsys DDR Memory Controller"
	depends on CONFIG_ARCH_ZYNQ || CONFIG_ARCH_ZYNQMP
	help
	  Support for error detection and correction on the Synopsys CONFIG_DDR
	  memory controller.

config CONFIG_EDAC_XGENE
	tristate "APM X-Gene SoC"
	depends on (CONFIG_ARM64 || CONFIG_COMPILE_TEST)
	help
	  Support for error detection and correction on the
	  CONFIG_APM X-Gene family of SOCs.

config CONFIG_EDAC_TI
	tristate "Texas Instruments DDR3 ECC Controller"
	depends on CONFIG_ARCH_KEYSTONE || CONFIG_SOC_DRA7XX
	help
	  Support for error detection and correction on the
          TI SoCs.

config CONFIG_EDAC_QCOM
	tristate "QCOM EDAC Controller"
	depends on CONFIG_ARCH_QCOM && CONFIG_QCOM_LLCC
	help
	  Support for error detection and correction on the
	  Qualcomm Technologies, Inc. SoCs.

	  This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
	  As of now, it supports error reporting for Last Level Cache Controller (LLCC)
	  of Tag RAM and Data RAM.

	  For debugging issues having to do with stability and overall system
	  health, you should probably say 'Y' here.

config CONFIG_EDAC_ASPEED
	tristate "Aspeed AST 2500 SoC"
	depends on CONFIG_MACH_ASPEED_G5
	help
	  Support for error detection and correction on the Aspeed AST 2500 SoC.

	  First, ECC must be configured in the bootloader. Then, this driver
	  will expose error counters via the CONFIG_EDAC kernel framework.

config CONFIG_EDAC_BLUEFIELD
	tristate "Mellanox BlueField Memory ECC"
	depends on CONFIG_ARM64 && ((CONFIG_MELLANOX_PLATFORM && CONFIG_ACPI) || CONFIG_COMPILE_TEST)
	help
	  Support for error detection and correction on the
	  Mellanox BlueField SoCs.

endif # CONFIG_EDAC