Skip to contentSkip to conversation

Does the new ACPI code work with bigsur?

DISCUSSION H. J. Lu 2 participants 3 messages Jul 28, 2003 ACPI

lore
Share & tools
lore

H. J. Lu

author
#0 lore raw

2.4.21 kernel has

ACPI Subsystem revision 20020517

and works fine on bigsur. Has anyone got

ACPI Subsystem revision 20030619

working on bigsur?

H.J.

#1 lore raw
Quoted 9 lines · H. J. Lu

2.4.21 kernel has

ACPI Subsystem revision 20020517

and works fine on bigsur. Has anyone got

ACPI Subsystem revision 20030619

working on bigsur?

what firmware are you running? this is a common problem with bigsur-era machines.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
author
#2 lore raw
In reply to H. J. Lu
Quoted 5 lines · Matthew Wilcox
Quoted 4 lines · H. J. Lu

2.4.21 kernel has

ACPI Subsystem revision 20020517

Quoted 8 lines
Quoted 5 lines

and works fine on bigsur. Has anyone got

ACPI Subsystem revision 20030619

working on bigsur?

what firmware are you running? this is a common problem with bigsur-era machines.

My firmware is OK. This patch allows the kernel to boot on bigsur.

H.J.

drivers/acpi/osl.c renamed from drivers/acpi/osl.c.acpi +6 -1
@@ -250,7 +250,12 @@ acpi_os_install_interrupt_handler(u32 ir
 	irq = acpi_fadt.sci_int;
 
 #ifdef CONFIG_IA64
-	irq = gsi_to_vector(irq);
+	irq = acpi_irq_to_vector (irq);
+	if (irq < 0) {
+		printk(KERN_ERR PREFIX "SCI (IRQ%d/%d) not registerd\n",
+		       irq, acpi_fadt.sci_int);
+		return AE_OK;
+	}
 #endif
 	acpi_irq_irq = irq;
 	acpi_irq_handler = handler;