coreboot/src/include/device
Wilson Chou c8a86954f3 device: Clear lane error status
Refer to PCI Express Base rev6.0 v1.0, 4.2.7 Link Training and Status
State Rules, Lane Error Status is normal to record the error when link
training. To make sure Lane Error Status is correct in OS runtime,
add a Kconfig PCIEXP_LANE_ERR_STAT_CLEAR that clears the PCIe lane error
status register at the end of PCIe link training.

Test=On Crater Lake, lspci -vvv shows
bb:01.0 PCI bridge: Intel Corporation Device 352a (rev 03)
(prog-if 00 [Normal decode])
Capabilities: [a30 v1] Secondary PCI Express
	LnkCtl3: LnkEquIntrruptEn- PerformEqu-
	LaneErrStat: LaneErr at lane: 0

Signed-off-by: Wilson Chou <Wilson.Chou@quantatw.com>
Change-Id: I6344223636409d8fc25e365a6375fc81e69f41a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67264
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
2022-09-12 12:41:13 +00:00
..
dram device/dram: Add function to convert freq to MT/s for (LP)DDR5 2022-08-25 01:00:44 +00:00
azalia.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
azalia_device.h device/azalia_device: Drop unused function parameter 2021-11-11 22:45:04 +00:00
cardbus.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
device.h pciexp_device: Propagate above-4G flag to all hotplug devices 2022-09-04 16:39:14 +00:00
gpio.h device + util/sconfig: introduce new device gpio 2020-12-28 17:47:04 +00:00
i2c.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.h device/i2c_bus: Add routines to read and write multiple bytes 2022-09-04 14:55:59 +00:00
i2c_simple.h include/device/i2c_simple: add i2c_2ba_read_bytes function 2022-04-27 16:07:29 +00:00
mmio.h device/mmio.h: Move readXp/writeXp helpers to device/mmio.h 2022-03-08 08:25:36 +00:00
path.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pci.h pci_device: Add a function to find PCI capability ID recursively 2022-08-07 19:41:38 +00:00
pci_def.h device: Clear lane error status 2022-09-12 12:41:13 +00:00
pci_ehci.h src/include: Add missing includes 2020-07-26 21:37:35 +00:00
pci_ids.h soc/intel/common/smbus: Add missing ID for GLK 2022-09-08 15:33:35 +00:00
pci_mmio_cfg.h pci_mmio_cfg: Rename pcicfg to pci_map_bus 2021-11-29 03:20:54 +00:00
pci_ops.h device: Switch pci_dev_is_wake_source to take pci_devfn_t 2021-05-03 16:28:42 +00:00
pci_rom.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pci_type.h soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
pciexp.h pciexp_device: Introduce pciexp_find_ext_vendor_cap() 2022-08-17 16:29:39 +00:00
pcix.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pnp.h include: Add SPDX identifiers to files missing them 2022-08-11 17:53:11 +00:00
pnp_def.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pnp_ops.h src: Include <arch/io.h> when appropriate 2020-10-26 06:44:40 +00:00
pnp_type.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
resource.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus_def.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus_host.h src/include: Add missing includes 2020-07-26 21:37:35 +00:00
soundwire.h device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
spi.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbc_mux.h device/include: Fix potential build error 2021-11-03 08:24:15 +00:00
xhci.h device/xhci: Add helper method to iterate over xhci_supported_protocl 2020-07-12 17:01:24 +00:00