[PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Lord
Date: Tuesday, October 16, 2007 - 6:53 pm

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 <mlord@pobox.com>
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 8:46 am)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 11:43 am)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 12:51 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 1:07 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 1:29 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 2:01 pm)
Re: [PATCH] Fix PCIe hotplug for Dell notebook ExpressCard ..., Kristen Carlson Accardi, (Tue Oct 16, 3:04 pm)
Re: [Pcihpd-discuss] [PATCH] Fix PCIe hotplug for Dell not ..., Kristen Carlson Accardi, (Tue Oct 16, 3:41 pm)
[PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slot ..., Mark Lord, (Tue Oct 16, 6:53 pm)
Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non- ..., Kristen Carlson Accardi, (Wed Oct 17, 4:54 pm)
Re: [PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard ..., Kristen Carlson Accardi, (Wed Oct 17, 5:01 pm)