Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)drivers/ drivers/ drivers/ | +0 | 4 replies | |
| 2/4 | Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)drivers/ drivers/ drivers/ | +0 | 3 replies | |
| 3/4 | Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)drivers/ | +0 | 0 replies | |
| 4/4 | Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)drivers/ drivers/ drivers/ | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)
Original single patch is now broken out into tiny pieces for easier review.
Also, valuable feedback from Ted has been incorporated, to avoid any possible side effects on regular use of
the PCIe hotplug stuff (when used without pciehp_force=1 mod parm).
* * *
Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks in conjunction with the modparam of pciehp_force=1.
The PCIe Hotplug driver has two shortcomings 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 probably others as well, which may lack ACPI BIOS support for this.
There are four patches in this series:
01_pciehp_cosmetic_fixes.patch
-- cosmetic fixes, mostly to keep checkpatch.pl happy
02_pciehp_handle_preinserted_card.patch
-- fixes problem number 1 (above).
03_pciehp_split_pcie_init.patch
-- preparation for the resume patch.
04_pciehp_resume.patch
-- fixes problem number 2 (above).
diffstat summary for 01_pciehp_cosmetic_fixes.patch only:
drivers/pci/hotplug/pciehp_core.c | 6 - drivers/pci/hotplug/pciehp_ctrl.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 119 ++++++++++++++-------------- 3 files changed, 65 insertions(+), 62 deletions(-)
diffstat summary for the other three patches combined:
drivers/pci/hotplug/pciehp.h | 3 drivers/pci/hotplug/pciehp_core.c | 21 ++- drivers/pci/hotplug/pciehp_ctrl.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 194 ++++++++++++++++------------ 4 files changed, 134 insertions(+), 86 deletions(-)
Cheers
--
Mark Lord <[email protected]>