From: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Simon Derr <Simon.Derr-6ktuUTfB/bM@public.gmane.org>
Cc: Bjorn Helgaas <bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>,
Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] fix(Fix _STA checking in acpi_bus_add)
Date: 12 May 2004 00:40:06 -0400 [thread overview]
Message-ID: <1084336805.12353.143.camel@dhcppc4> (raw)
In-Reply-To: <Pine.A41.4.53.0404291005470.37100-uSTK/MBzOD2tas8oWxsmKKkcovwApn/9@public.gmane.org>
As this is needed by more than just Big Sur,
I'm okay with applying Bjorn's workaround to acpi-test
(and thus -mm) while we wait for definitive word
from the spec writers. We can always back it out
or make it system specific later. I have no fear
that we'll break docking stations, because at this
point we have no docking station support...
thanks,
-Len
On Thu, 2004-04-29 at 04:18, Simon Derr wrote:
> On Wed, 28 Apr 2004, Bjorn Helgaas wrote:
>
> > Is your box based on Intel chipsets and/or firmware? You might be
> Indeed.
>
> > suffering from the problem I described here:
> >
> > https://sourceforge.net/mailarchive/message.php?msg_id=6923358
> >
> > Intel firmware seems to describe the PCI root bridge where chipset
> > configuration space lives with _STA==0x8. The spec says this means
> > "functional, but not present". The current Linux code ignores things
> > that are "not present".
>
> I tried your patch and it works perfectly. Thank you.
> This chipset/firmware is probably very common in the ia64 world so I think
> it might be a good idea to include your patch in the stock Linux kernel.
>
> Simon.
>
> This is just your patch with updated line offsets, applies cleanly to
> Linux 2.6.5:
>
> --- linux-2.6.5-vanilla/drivers/acpi/bus.c Sun Apr 4 05:37:24 2004
> +++ linux-2.6.5/drivers/acpi/bus.c Thu Apr 29 09:43:14 2004
> @@ -112,6 +112,14 @@
> else
> STRUCT_TO_INT(device->status) = 0x0F;
>
> + if (device->status.functional && !device->status.present) {
> + printk(KERN_WARNING PREFIX "Device [%s] status [%08x]: "
> + "functional but not present; setting present\n",
> + device->pnp.bus_id,
> + (u32) STRUCT_TO_INT(device->status));
> + device->status.present = 1;
> + }
> +
> ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Device [%s] status [%08x]\n",
> device->pnp.bus_id, (u32) STRUCT_TO_INT(device->status)));
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> 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 Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
next prev parent reply other threads:[~2004-05-12 4:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 14:18 [PATCH] fix(Fix _STA checking in acpi_bus_add) Simon Derr
[not found] ` <Pine.LNX.4.58.0404281525160.30907-64bZMsc4qGVEtYaxpPmRp1aPQRlvutdw@public.gmane.org>
2004-04-28 14:25 ` Matthew Wilcox
[not found] ` <20040428142557.GB22558-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2004-04-28 14:53 ` Simon Derr
[not found] ` <Pine.A41.4.53.0404281637220.37100-uSTK/MBzOD2tas8oWxsmKKkcovwApn/9@public.gmane.org>
2004-04-28 15:34 ` Bjorn Helgaas
[not found] ` <200404280934.26381.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2004-04-29 8:18 ` Simon Derr
[not found] ` <Pine.A41.4.53.0404291005470.37100-uSTK/MBzOD2tas8oWxsmKKkcovwApn/9@public.gmane.org>
2004-04-29 14:46 ` Bjorn Helgaas
[not found] ` <200404290846.41647.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2004-04-29 18:49 ` Bruno Ducrot
2004-05-12 4:40 ` Len Brown [this message]
[not found] ` <1084336805.12353.143.camel-D2Zvc0uNKG8@public.gmane.org>
2004-05-12 21:49 ` Len Brown
[not found] ` <1084398577.12352.186.camel-D2Zvc0uNKG8@public.gmane.org>
2004-05-12 21:54 ` Bjorn Helgaas
2004-04-29 8:44 ` Bruno Ducrot
-- strict thread matches above, loose matches on Subject: below --
2004-04-29 15:10 Yu, Luming
2004-05-12 22:07 Moore, Robert
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=1084336805.12353.143.camel@dhcppc4 \
--to=len.brown-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=Simon.Derr-6ktuUTfB/bM@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=bjorn.helgaas-VXdhtT5mjnY@public.gmane.org \
--cc=willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.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 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.