linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] PCI hotplug diet
@ 2018-08-19 14:29 Lukas Wunner
  2018-08-19 14:29 ` [PATCH 1/9] PCI: Simplify disconnected marking Lukas Wunner
                   ` (9 more replies)
  0 siblings, 10 replies; 30+ messages in thread
From: Lukas Wunner @ 2018-08-19 14:29 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci, Sinan Kaya, Mika Westerberg
  Cc: Keith Busch, Oza Pawandeep, Benjamin Herrenschmidt,
	Rafael J. Wysocki, Len Brown, Scott Murray, Paul Mackerras,
	Michael Ellerman, Gavin Shan, Sebastian Ott, Gerald Schaefer,
	Corentin Chary, Darren Hart, Andy Shevchenko, Greg Kroah-Hartman,
	Scott Murray, Dan Zink, Jyoti Shah, Irene Zubarev,
	Prarit Bhargava, linux-acpi, linux-s390, platform-driver-x86,
	acpi4asus-user, linuxppc-dev

Here's PCI hotplug material I've prepared for v4.20:

Patches [1/9] to [8/9] reduce the code by 488 lines.  There should be no
loss of functionality and no new features, just less and simpler code.

Patch [9/9] collects TODOs for hotplug drivers to spur contributions.


I've assumed that my patch "PCI: pciehp: Differentiate between surprise
and safe removal" (submitted July 31) gets merged before this series:
https://patchwork.ozlabs.org/patch/951386/

If that patch is not accepted or other pciehp-related patches are merged
before this series, I'll have to rebase patch [4/9] ("PCI: pciehp: Unify
controller and slot structs").  No big deal, just a heads-up.

Thanks,

Lukas


Lukas Wunner (9):
  PCI: Simplify disconnected marking
  PCI: pciehp: Drop unnecessary includes
  PCI: pciehp: Drop hotplug_slot_ops wrappers
  PCI: pciehp: Unify controller and slot structs
  PCI: pciehp: Reshuffle controller struct for clarity
  PCI: hotplug: Constify hotplug_slot_ops
  PCI: hotplug: Drop hotplug_slot_info
  PCI: hotplug: Embed hotplug_slot
  PCI: hotplug: Document TODOs

 arch/powerpc/include/asm/pnv-pci.h      |   2 +-
 drivers/pci/hotplug/TODO                |  74 +++++++
 drivers/pci/hotplug/acpiphp.h           |  10 +-
 drivers/pci/hotplug/acpiphp_core.c      |  36 +---
 drivers/pci/hotplug/acpiphp_ibm.c       |   2 +-
 drivers/pci/hotplug/cpci_hotplug.h      |  11 +-
 drivers/pci/hotplug/cpci_hotplug_core.c | 105 +++-------
 drivers/pci/hotplug/cpci_hotplug_pci.c  |   6 +-
 drivers/pci/hotplug/cpqphp.h            |   9 +-
 drivers/pci/hotplug/cpqphp_core.c       |  59 ++----
 drivers/pci/hotplug/cpqphp_ctrl.c       |  31 +--
 drivers/pci/hotplug/ibmphp.h            |   9 +-
 drivers/pci/hotplug/ibmphp_core.c       | 121 ++++-------
 drivers/pci/hotplug/ibmphp_ebda.c       |  70 +------
 drivers/pci/hotplug/pci_hotplug_core.c  |  53 ++---
 drivers/pci/hotplug/pciehp.h            | 138 ++++++-------
 drivers/pci/hotplug/pciehp_core.c       | 127 +++---------
 drivers/pci/hotplug/pciehp_ctrl.c       | 255 +++++++++++-------------
 drivers/pci/hotplug/pciehp_hpc.c        | 127 ++++--------
 drivers/pci/hotplug/pciehp_pci.c        |  24 +--
 drivers/pci/hotplug/pnv_php.c           |  35 ++--
 drivers/pci/hotplug/rpaphp.h            |  10 +-
 drivers/pci/hotplug/rpaphp_core.c       |  20 +-
 drivers/pci/hotplug/rpaphp_pci.c        |  11 +-
 drivers/pci/hotplug/rpaphp_slot.c       |  22 +-
 drivers/pci/hotplug/s390_pci_hpc.c      |  44 ++--
 drivers/pci/hotplug/sgi_hotplug.c       |  63 +++---
 drivers/pci/hotplug/shpchp.h            |   8 +-
 drivers/pci/hotplug/shpchp_core.c       |  48 ++---
 drivers/pci/hotplug/shpchp_ctrl.c       |  21 +-
 drivers/pci/pci.c                       |   4 +-
 drivers/pci/pcie/err.c                  |   8 +-
 drivers/pci/slot.c                      |   2 +-
 drivers/platform/x86/asus-wmi.c         |  39 +---
 drivers/platform/x86/eeepc-laptop.c     |  43 ++--
 include/linux/pci_hotplug.h             |  43 +---
 36 files changed, 638 insertions(+), 1052 deletions(-)
 create mode 100644 drivers/pci/hotplug/TODO

-- 
2.18.0

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

end of thread, other threads:[~2018-09-18 19:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-19 14:29 [PATCH 0/9] PCI hotplug diet Lukas Wunner
2018-08-19 14:29 ` [PATCH 1/9] PCI: Simplify disconnected marking Lukas Wunner
2018-08-19 21:56   ` Sinan Kaya
2018-08-19 14:29 ` [PATCH 7/9] PCI: hotplug: Drop hotplug_slot_info Lukas Wunner
2018-08-20  8:14   ` Rafael J. Wysocki
2018-08-21  0:41   ` Tyrel Datwyler
2018-09-03 17:52   ` Sebastian Ott
2018-08-19 14:29 ` [PATCH 3/9] PCI: pciehp: Drop hotplug_slot_ops wrappers Lukas Wunner
2018-08-19 22:01   ` Sinan Kaya
2018-08-19 14:29 ` [PATCH 8/9] PCI: hotplug: Embed hotplug_slot Lukas Wunner
2018-08-20  8:17   ` Rafael J. Wysocki
2018-08-21  0:43   ` Tyrel Datwyler
2018-09-03 17:54   ` Sebastian Ott
2018-08-19 14:29 ` [PATCH 6/9] PCI: hotplug: Constify hotplug_slot_ops Lukas Wunner
2018-08-20  8:10   ` Rafael J. Wysocki
2018-08-21  0:38   ` Tyrel Datwyler
2018-08-19 14:29 ` [PATCH 4/9] PCI: pciehp: Unify controller and slot structs Lukas Wunner
2018-08-19 21:59   ` Sinan Kaya
2018-08-20  9:09     ` Lukas Wunner
2018-08-20 17:34       ` Sinan Kaya
2018-09-05 22:30         ` Bjorn Helgaas
2018-09-06  7:38           ` Lukas Wunner
2018-09-06 18:54             ` Bjorn Helgaas
2018-09-17 22:37             ` Bjorn Helgaas
2018-09-18 19:46               ` Lukas Wunner
2018-09-18 19:46                 ` Lukas Wunner
2018-08-19 14:29 ` [PATCH 9/9] PCI: hotplug: Document TODOs Lukas Wunner
2018-08-19 14:29 ` [PATCH 2/9] PCI: pciehp: Drop unnecessary includes Lukas Wunner
2018-08-19 14:29 ` [PATCH 5/9] PCI: pciehp: Reshuffle controller struct for clarity Lukas Wunner
2018-08-30  8:50 ` [PATCH 0/9] PCI hotplug diet Andy Shevchenko

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).