mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ACPI: Do not modify SCI_EN directly
@ 2008-12-29 18:19 Rafael J. Wysocki
  2008-12-29 21:16 ` Maxim Levitsky
  2008-12-31  0:03 ` Len Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-12-29 18:19 UTC (permalink / raw)
  To: Len Brown; +Cc: ACPI Devel Maling List, LKML, pm list

From: Rafael J. Wysocki <rjw@sisk.pl>
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@sisk.pl>--- 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) {\0˙ôčş{.nÇ+‰ˇŸŽ‰­†+%ŠË˙ąéÝś\x17ĽŠw˙ş{.nÇ+‰ˇĽŠ{ąţGŤé˙Š{ayş\x1dʇڙë,j\a­˘fŁ˘ˇhšďę˙‘ęçz_čŽ\x03(­éšŽŠÝ˘j"ú\x1aś^[m§˙˙ž\aŤţGŤé˙˘¸?™¨č­Ú&Łř§~áśiO•ćŹzˇšvŘ^\x14\x04\x1aś^[m§˙˙Ă\f˙śě˙˘¸?–IĽ

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-31  0:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-29 18:19 [PATCH] ACPI: Do not modify SCI_EN directly Rafael J. Wysocki
2008-12-29 21:16 ` Maxim Levitsky
2008-12-30 21:59   ` Rafael J. Wysocki
2008-12-30 22:33     ` Maxim Levitsky
2008-12-31  0:03 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®