2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 11:43:54 +08:00
linux-next/drivers/pci/pcie
Bjorn Helgaas 64c3394efd PCI/DPC: Make RP PIO log size check more generic
In dpc_probe(), we set dpc->rp_log_size to zero if we think the hardware
reports an invalid size.  In this case, we could have dpc->rp_extensions
set but dpc->rp_log_size == 0, and we should print the basic RP PIO
registers but not the variable-size portion.  We already checked for
dpc->rp_log_size < 4 above, so this patch is just for consistency of style.
No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sinan Kaya <okaya@codeaurora.org>
2018-01-30 15:25:56 -06:00
..
aer pci-v4.15-changes 2017-11-15 15:01:28 -08:00
aspm.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
Kconfig PCI/DPC: Enable DPC only if AER is available 2018-01-26 16:49:40 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pcie-dpc.c PCI/DPC: Make RP PIO log size check more generic 2018-01-30 15:25:56 -06:00
pme.c PCI/PME: Handle invalid data when reading Root Status 2017-11-07 18:38:47 -06:00
portdrv_acpi.c Merge branches 'pci/dpc', 'pci/resource' and 'pci/thunderbolt' into next 2016-05-03 11:49:21 -05:00
portdrv_bus.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
portdrv_core.c PCI/DPC: Enable DPC only if AER is available 2018-01-26 16:49:40 -06:00
portdrv_pci.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
portdrv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ptm.c PCI: Add PTM clock granularity information 2016-08-25 08:32:34 -05:00