From: Len Brown <lenb@kernel.org>
To: Zhao Yakui <yakui.zhao@intel.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: [RFC] [PATCH] ACPI: ignore the error about the _CRS of LINK device
Date: Fri, 14 Dec 2007 17:43:10 -0500 [thread overview]
Message-ID: <200712141743.10524.lenb@kernel.org> (raw)
In-Reply-To: <1197274521.20098.10.camel@yakui_zhao.sh.intel.com>
That's funny,
I thought we already ignored errors from _CRS on link devices.
perhaps the errors we ignore are slightly different --
we ignore an IRQ0, but here the return value isn't
formatted correctly -- we should probably follow the same path...
-Len
On Monday 10 December 2007 03:15, Zhao Yakui wrote:
> Hi, All
> The following error message can be found in the dmesg of bug8896.
> ACPI Error (uteval-0269): Return object type is incorrect
> [\_SB_.PCI0.ALKD._CRS] (Node da4b49f0), AE_TYPE
> ACPI Error (uteval-0275): Type returned from _CRS was incorrect:
> Integer, expected Btypes: 4 [20060707]
> ACPI Exception (pci_link-0278): AE_TYPE, Evaluating _CRS [20060707]
> And the above error message is related to the following BIOS Bug.
> Method (_CRS, 0, NotSerialized)
> {
> Return (0x00)
> }
>
> Can we ignore the error about the _CRS method of LINK device and select
> IRQ from the possible IRQ list returned by _PRS method?
>
> Thanks.
>
>
>
> Subject: ACPI : Ignore the error about the _CRS of LINK device
> >From : Zhao Yakui <yakui.zhao@intel.com>
>
> Ignore the error about the _CRS method of LINK device and select
> IRQ from possible IRQ list returned by _PRS method.
>
> http://bugzilla.kernel.org/show_bug.cgi?id=8896
>
> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
> ---
> drivers/acpi/pci_link.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
> Index: linux-2.6.24-rc4/drivers/acpi/pci_link.c
> ===================================================================
> --- linux-2.6.24-rc4.orig/drivers/acpi/pci_link.c
> +++ linux-2.6.24-rc4/drivers/acpi/pci_link.c
> @@ -385,9 +385,16 @@ static int acpi_pci_link_set(struct acpi
>
> /* Query _CRS, set link->irq.active */
> result = acpi_pci_link_get_current(link);
> - if (result) {
> - goto end;
> - }
> + if (result == ENODEV) {
> + /*
> + * Ignore the error about the _CRS method of Link device and
> + * select IRQ from the Possible IRQ list
> + * returned by _PRS method.
> + */
> + printk(KERN_WARNING "Ignore error LINK CRS method.\n");
> + link->irq.active = irq;
> + result = 0;
> + }
>
> /*
> * Is current setting not what we set?
>
prev parent reply other threads:[~2007-12-14 22:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 8:15 [RFC] [PATCH] ACPI: ignore the error about the _CRS of LINK device Zhao Yakui
2007-12-14 22:43 ` Len Brown [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=200712141743.10524.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=yakui.zhao@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.