public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi_pci_link_allocate() -- latent bug?
@ 2004-08-01  2:40 joanna marsden
       [not found] ` <410C5807.7000602-zka7wQWIdxI3uPMLIKxrzw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: joanna marsden @ 2004-08-01  2:40 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


I am investigating an interrupt problem on my machine and came across 
the following code, in drivers/acpi/pci_link.c

What happens here if the BIOS sets up these links at the IRQ router at 
boot time, but doesn't restore them after a resume from S3? Is this a 
latent bug? Seems like this routine would eventually be called from 
pci_device_enable, but wouldn't perform the setup we need.

static int acpi_pci_link_allocate(struct acpi_pci_link* link) {
        int irq;
        int i;

        ACPI_FUNCTION_TRACE("acpi_pci_link_allocate");

        if (link->irq.setonboot)
                return_VALUE(0);



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

* Re: acpi_pci_link_allocate() -- latent bug?
       [not found] ` <410C5807.7000602-zka7wQWIdxI3uPMLIKxrzw@public.gmane.org>
@ 2004-08-04  3:52   ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2004-08-04  3:52 UTC (permalink / raw)
  To: joanna marsden; +Cc: ACPI Developers

Yes, per my response to Nathan's patch, I think
you did find an issue, but should be okay after his patch.

thanks,
-Len

On Sat, 2004-07-31 at 22:40, joanna marsden wrote:
> I am investigating an interrupt problem on my machine and came across 
> the following code, in drivers/acpi/pci_link.c
> 
> What happens here if the BIOS sets up these links at the IRQ router at 
> boot time, but doesn't restore them after a resume from S3? Is this a 
> latent bug? Seems like this routine would eventually be called from 
> pci_device_enable, but wouldn't perform the setup we need.
> 
> static int acpi_pci_link_allocate(struct acpi_pci_link* link) {
>         int irq;
>         int i;
> 
>         ACPI_FUNCTION_TRACE("acpi_pci_link_allocate");
> 
>         if (link->irq.setonboot)
>                 return_VALUE(0);
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

end of thread, other threads:[~2004-08-04  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-01  2:40 acpi_pci_link_allocate() -- latent bug? joanna marsden
     [not found] ` <410C5807.7000602-zka7wQWIdxI3uPMLIKxrzw@public.gmane.org>
2004-08-04  3:52   ` Len Brown

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