public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: linux-ia64@vger.kernel.org
Subject: Re: Does the new ACPI code work with bigsur?
Date: Mon, 28 Jul 2003 23:18:34 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105943447103365@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105942953131189@msgid-missing>

On Mon, Jul 28, 2003 at 11:06:23PM +0100, Matthew Wilcox wrote:
> On Mon, Jul 28, 2003 at 02:44:07PM -0700, H. J. Lu wrote:
> > 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.

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


H.J.
--- linux/drivers/acpi/osl.c.acpi	Mon Jul 28 11:41:53 2003
+++ linux/drivers/acpi/osl.c	Mon Jul 28 15:12:44 2003
@@ -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;

      parent reply	other threads:[~2003-07-28 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-28 21:44 Does the new ACPI code work with bigsur? H. J. Lu
2003-07-28 22:06 ` Matthew Wilcox
2003-07-28 23:18 ` H. J. Lu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105943447103365@msgid-missing \
    --to=hjl@lucon.org \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox