All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/14] PCI/DPC: Simplify RP PIO logging
@ 2018-01-30 18:25 Bjorn Helgaas
  2018-01-30 18:25 ` [PATCH v2 01/14] PCI/DPC: Rename interrupt_event_handler() to dpc_work() Bjorn Helgaas
                   ` (14 more replies)
  0 siblings, 15 replies; 19+ messages in thread
From: Bjorn Helgaas @ 2018-01-30 18:25 UTC (permalink / raw)
  To: Keith Busch; +Cc: Sinan Kaya, 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.

Changes from v1 to v2:
  - Split up the "Consolidate RP PIO get/print functions" patch to
    make it more reviewable.  The resulting git diff is empty except
    for a trival local variable declaration.

---

Bjorn Helgaas (14):
      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: Squash dpc_rp_pio_print_tlp_header() into dpc_rp_pio_print_error()
      PCI/DPC: Rename local "status" to "dpc_status"
      PCI/DPC: Make RP PIO log size check more generic
      PCI/DPC: Squash dpc_rp_pio_print_error() into dpc_rp_pio_get_info()
      PCI/DPC: Push dpc->rp_pio_status assignment into dpc_rp_pio_get_info()
      PCI/DPC: Remove unnecessary RP PIO register structs
      PCI/DPC: Squash dpc_rp_pio_get_info() into dpc_process_rp_pio_error()
      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] 19+ messages in thread

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

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 18:25 [PATCH v2 00/14] PCI/DPC: Simplify RP PIO logging Bjorn Helgaas
2018-01-30 18:25 ` [PATCH v2 01/14] PCI/DPC: Rename interrupt_event_handler() to dpc_work() Bjorn Helgaas
2018-01-30 18:25 ` [PATCH v2 02/14] PCI/DPC: Add local variable for DPC capability offset Bjorn Helgaas
2018-01-30 18:25 ` [PATCH v2 03/14] PCI/DPC: Rename struct dpc_dev.rp to rp_extensions Bjorn Helgaas
2018-01-30 18:25 ` [PATCH v2 04/14] PCI/DPC: Read RP PIO Log Size once at probe Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 05/14] PCI/DPC: Process RP PIO details only if RP PIO extensions supported Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 06/14] PCI/DPC: Squash dpc_rp_pio_print_tlp_header() into dpc_rp_pio_print_error() Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 07/14] PCI/DPC: Rename local "status" to "dpc_status" Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 08/14] PCI/DPC: Make RP PIO log size check more generic Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 09/14] PCI/DPC: Squash dpc_rp_pio_print_error() into dpc_rp_pio_get_info() Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 10/14] PCI/DPC: Push dpc->rp_pio_status assignment " Bjorn Helgaas
2018-01-30 18:26 ` [PATCH v2 11/14] PCI/DPC: Remove unnecessary RP PIO register structs Bjorn Helgaas
2018-01-30 18:57   ` Keith Busch
2018-01-30 19:11     ` Bjorn Helgaas
2018-01-30 19:43       ` Keith Busch
2018-01-30 18:26 ` [PATCH v2 12/14] PCI/DPC: Squash dpc_rp_pio_get_info() into dpc_process_rp_pio_error() Bjorn Helgaas
2018-01-30 18:27 ` [PATCH v2 13/14] PCI/DPC: Add and use DPC Status register field definitions Bjorn Helgaas
2018-01-30 18:27 ` [PATCH v2 14/14] PCI/DPC: Reformat DPC register definitions Bjorn Helgaas
2018-01-30 20:25 ` [PATCH v2 00/14] PCI/DPC: Simplify RP PIO logging Sinan Kaya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.