Fix two PEIe hotplug issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pciehp_handle_preinserted_carddrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 1/3 | pciehp: hotplug: deal with pre-inserted ExpressCardsdrivers/ drivers/ drivers/ | +0 | 5 replies | |
| 2/3 | pciehp_split_pcie_initdrivers/ | +0 | 0 replies | |
| 2/3 | pciehp: hotplug: split out hardware init from pcie_init()drivers/ | +0 | 0 replies | |
| 3/3 | pciehp_resume_reinit_hardwaredrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 3/3 | pciehp: hotplug: reinit hotplug h/w on resume from suspenddrivers/ drivers/ drivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fix two PEIe hotplug issues
Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks (and others?) in conjunction with the modparam of pciehp_force=1.
The PCIe Hotplug driver has two issues when used on Dell notebooks which lack ACPI BIOS support for PCIe hotplug:
1. The driver does not recognise cards that were inserted prior to the driver being modprobe'd.
2. The driver stops functioning after a suspend/resume (RAM) cycle, and needs to be rmmod'd and modprobe'd to get it working again.
This patch series addresses those issues, resulting in a completely functional PCIe Hotplug driver for Dell notebooks, and possibly others as well which may lack ACPI BIOS support for this.
Note that pciehp_force=1 is (still) required.
There are three patches in this series:
01_pciehp_handle_preinserted_card.patch
-- fixes problem number 1 (above).
02_pciehp_split_pcie_init.patch
-- preparation for the resume patch.
03_pciehp_resume_reinit_hardware.patch
-- fixes problem number 2 (above).
diffstat summary for the three patches combined:
drivers/pci/hotplug/pciehp.h | 3 drivers/pci/hotplug/pciehp_core.c | 23 +++ drivers/pci/hotplug/pciehp_ctrl.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 185 +++++++++++++++------------- 4 files changed, 130 insertions(+), 83 deletions(-)
Cheers
--
Mark Lord <[email protected]>