PCI/AER: Specify the type of Port that was reset
authorKeith Busch <kbusch@kernel.org>
Mon, 4 Jan 2021 23:02:59 +0000 (15:02 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Feb 2021 23:10:42 +0000 (17:10 -0600)
commit33ac78bd3b509d36e7f109a447e28af42e637cb2
treeda0f135e375b6a70833595ae8019fce6e97cbe03
parent387c72cdd7fb6bef650fb078d0f6ae9682abf631
PCI/AER: Specify the type of Port that was reset

The AER driver may be called upon to reset either a Downstream or a Root
Port. Check which type it is to properly identify it when logging that
the reset occurred.

Link: https://lore.kernel.org/r/20210104230300.1277180-5-kbusch@kernel.org
Tested-by: Hedi Berriche <hedi.berriche@hpe.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Hedi Berriche <hedi.berriche@hpe.com>
drivers/pci/pcie/aer.c