[PATCH] ACPI: Do not modify SCI_EN directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Rafael J. Wysocki <rjw@xxxxxxx>
According to the ACPI specification the SCI_EN flag is controlled bythe hardware, which sets this flag to inform the kernel that ACPI isenabled.  For this reason, we shouldn't try to modify SCI_ENdirectly.  Also, we don't need to do it in irqrouter_resume(), sincelower-level resume code takes care of enabling ACPI in case it hasn'tbeen enabled by the BIOS before passing control to the kernel (whichby the way is against the ACPI specification).
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>--- drivers/acpi/pci_link.c |    4 ---- 1 file changed, 4 deletions(-)
Index: linux-2.6/drivers/acpi/pci_link.c===================================================================--- linux-2.6.orig/drivers/acpi/pci_link.c+++ linux-2.6/drivers/acpi/pci_link.c@@ -793,10 +793,6 @@ static int irqrouter_resume(struct sys_d 	struct list_head *node = NULL; 	struct acpi_pci_link *link = NULL; --	/* Make sure SCI is enabled again (Apple firmware bug?) */-	acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1);- 	list_for_each(node, &acpi_link.entries) { 		link = list_entry(node, struct acpi_pci_link, node); 		if (!link) {˙ôčş{.nÇ+?ˇ?Ž?­?+%?Ë˙ąéÝśĽ?w˙ş{.nÇ+?ˇĽ?{ąý§)?ř§ś?ĄÜ¨}Š?˛Ć zÚ&j:+v?¨ţřŻůŽwĽţ?ŕ2?Ţ?¨č­Ú&˘)ߥŤaśÚ˙˙űŕzżäzšŢ?ú+?ů???ݢj˙?wčţf


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux