linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] PCI/DPC: Simplify RP PIO logging
@ 2018-01-26 22:55 Bjorn Helgaas
  2018-01-26 22:55 ` [PATCH 1/8] PCI/DPC: Rename interrupt_event_handler() to dpc_work() Bjorn Helgaas
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Bjorn Helgaas @ 2018-01-26 22:55 UTC (permalink / raw)
  To: Keith Busch; +Cc: linux-pci, Dongdong Liu

These are almost all just cleanups.  

The only behavior change I intend is this: If a port does not support
the "RP Extensions for DPC" and it reports an "RP PIO error", we
previously read the RP PIO log registers.  I don't know if that's a
legal situation, but I couldn't find an explicit prohibition in the
spec.

Anyway, the rest is all cleanups and simplifications that are not
intended to change any behavior.

These are currently on my pci/dpc branch [1] on top of patches 3 and 5
from your v2 series [2], Keith:

  6b9045b34b57 PCI/DPC: Fix interrupt message number print
  eed85ff4c0da PCI/DPC: Enable DPC only if AER is available

Your patch 1 ("PCI/AER: Return correct value when AER is not
supported") is on pci/aer.  Patches 2 and 4 go together and I think
you're still working on those.

You don't need to worry about integrating your work with these
patches; I'm just kibbitzing and will drop these completely if you
don't like them, or I'll take care of putting the pieces back together
if you do.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log/?h=pci/dpc
[2] https://lkml.kernel.org/r/20180117052206.7703-1-keith.busch@intel.com

---

Bjorn Helgaas (8):
      PCI/DPC: Rename interrupt_event_handler() to dpc_work()
      PCI/DPC: Add local variable for DPC capability offset
      PCI/DPC: Rename struct dpc_dev.rp to rp_extensions
      PCI/DPC: Read RP PIO Log Size once at probe
      PCI/DPC: Process RP PIO details only if RP PIO extensions supported
      PCI/DPC: Consolidate RP PIO get/print functions
      PCI/DPC: Add and use DPC Status register field definitions
      PCI/DPC: Reformat DPC register definitions


 drivers/pci/pcie/pcie-dpc.c   |  214 +++++++++++++++--------------------------
 include/uapi/linux/pci_regs.h |   24 ++---
 2 files changed, 91 insertions(+), 147 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-01-30 18:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-26 22:55 [PATCH 0/8] PCI/DPC: Simplify RP PIO logging Bjorn Helgaas
2018-01-26 22:55 ` [PATCH 1/8] PCI/DPC: Rename interrupt_event_handler() to dpc_work() Bjorn Helgaas
2018-01-26 22:55 ` [PATCH 2/8] PCI/DPC: Add local variable for DPC capability offset Bjorn Helgaas
2018-01-26 22:55 ` [PATCH 3/8] PCI/DPC: Rename struct dpc_dev.rp to rp_extensions Bjorn Helgaas
2018-01-26 22:56 ` [PATCH 4/8] PCI/DPC: Read RP PIO Log Size once at probe Bjorn Helgaas
2018-01-26 22:56 ` [PATCH 5/8] PCI/DPC: Process RP PIO details only if RP PIO extensions supported Bjorn Helgaas
2018-01-26 22:56 ` [PATCH 6/8] PCI/DPC: Consolidate RP PIO get/print functions Bjorn Helgaas
2018-01-30  0:42   ` okaya
2018-01-30 18:11     ` Bjorn Helgaas
2018-01-26 22:56 ` [PATCH 7/8] PCI/DPC: Add and use DPC Status register field definitions Bjorn Helgaas
2018-01-26 22:56 ` [PATCH 8/8] PCI/DPC: Reformat DPC register definitions Bjorn Helgaas
2018-01-26 23:15 ` [PATCH 0/8] PCI/DPC: Simplify RP PIO logging Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).