[PATCH] shpchp: reduce dependence on ACPI
Reduce the SHPC hotplug driver's dependence on ACPI. We don't walk the acpi namespace anymore to build a list of bridges and devices. The remaining interaction with ACPI is to run the _OSHP method to transition control of hotplug hardware from system BIOS to the shpc hotplug driver, and to run the _HPP method to get hotplug device parameters like cache line size, latency timer and SERR/PERR enable from BIOS. Note that one of the side effects of this patch is that shpchp does not enable the hot-added device or its DMA bus mastering automatically now. It expects the device driver to do that. This may break some drivers and we will have to fix them as they are reported. Signed-off-by: Rajesh Shah <rajesh.shah@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7e88ed1996
commit
424600f970
@@ -1566,8 +1566,8 @@ int shpc_init(struct controller * ctrl,
|
||||
err("Can't get irq %d for the hotplug controller\n", php_ctlr->irq);
|
||||
goto abort_free_ctlr;
|
||||
}
|
||||
/* Execute OSHP method here */
|
||||
}
|
||||
get_hp_hw_control_from_firmware(pdev);
|
||||
dbg("%s: Before adding HPC to HPC list\n", __FUNCTION__);
|
||||
|
||||
/* Add this HPC instance into the HPC list */
|
||||
|
Reference in New Issue
Block a user