From: Arkadiusz Miskiewicz <a.miskiewicz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Feng Tang <feng.tang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Dmitry Artamonow <mad_soft-aPYA7nAdAYY@public.gmane.org>,
Linux Kernel Mailing List
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"flinco-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org"
<flinco-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>,
"Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>,
Kernel Testers List
<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
"Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: R: [Bug #14886] Asus P2B-DS not detected as SMP moterboard
Date: Wed, 27 Jan 2010 07:21:33 +0100 [thread overview]
Message-ID: <201001270721.55739.a.miskiewicz@gmail.com> (raw)
In-Reply-To: <20100127113520.596bd07c@feng-i7>
On Wednesday 27 of January 2010, Feng Tang wrote:
> On Tue, 26 Jan 2010 23:53:30 +0800
>
> Dmitry Artamonow <mad_soft-aPYA7nAdAYY@public.gmane.org> wrote:
> > Hi!
> > I'm also using P2B-DS and can confirm that starting with kernel 2.6.32
> > SMP stopped working (and don't work still - tested with current git
> > v2.6.33-rc5-238-g158c168) The issue seems to have something to do
> > with the fact that ACPI is blacklisted on P2B-DS. I used to
> > workaround this bug on newer kernels (>=2.6.32) by passing
> > "acpi=force" in kernel arguments. Finally, yesterday I found some
> > time to write simple automated bisection script and leaved it to run
> > on machine overnight. Here's result:
> > -------------------------------------------------------------------------
> > -- e5b8fc6ac158f65598f58dba2c0d52ba3b412f52 is the first bad commit
> > commit e5b8fc6ac158f65598f58dba2c0d52ba3b412f52 Author: Len Brown
> > <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Date: Tue Jul 7 23:22:58 2009 -0400
> >
> > ACPI: check acpi_disabled in acpi_table_parse() and
> >
> > acpi_table_parse_entries()
> >
> > Allow consumers of the
> >
> > acpi_table_parse()/acpi_table_parse_entries() API to gracefully
> > handle the acpi_disabled=1 case via return value rather than checking
> > the global flag themselves.
> >
> > Signed-off-by: Feng Tang <feng.tang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> > Signed-off-by: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >
> > -------------------------------------------------------------------------
> > --
>
> Hi Dmitry,
>
> That commit is
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index 646d39c..f336bca 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -213,6 +213,9 @@ acpi_table_parse_entries(char *id,
> unsigned long table_end;
> acpi_size tbl_size;
>
> + if (acpi_disabled)
> + return -ENODEV;
> +
> if (!handler)
> return -EINVAL;
>
> @@ -277,6 +280,9 @@ int __init acpi_table_parse(char *id,
> acpi_table_handler handler) struct acpi_table_header *table = NULL;
> acpi_size tbl_size;
>
> + if (acpi_disabled)
> + return -ENODEV;
> +
> if (!handler)
> return -EINVAL;
>
> Which only enforces the "acpi_disabled" check and should have no
> logical problem.
>
> And I guess your platform is blacklisted and acpi_disabled is set to 1,
> while it still need parse ACPI tables to get SMP info. So I would suggest
> to add a "acpi=force" for your case.
Is there a force ht-only option? acpi=ht doesn't work.
> Thanks,
> Feng
--
Arkadiusz Mi≈õkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
next prev parent reply other threads:[~2010-01-27 6:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 9:15 R: [Bug #14886] Asus P2B-DS not detected as SMP moterboard flinco-VGgt2q2+T+FeoWH0uzbU5w
2010-01-11 19:40 ` Rafael J. Wysocki
[not found] ` <201001112040.45514.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-26 15:53 ` Dmitry Artamonow
2010-01-27 3:35 ` Feng Tang
2010-01-27 6:21 ` Arkadiusz Miskiewicz [this message]
2010-02-01 14:54 ` [PATCH] ACPI: Remove old blacklist entries Matthew Garrett
-- strict thread matches above, loose matches on Subject: below --
2010-01-25 8:15 R: [Bug #14886] Asus P2B-DS not detected as SMP moterboard flinco-VGgt2q2+T+FeoWH0uzbU5w
2010-01-25 20:45 ` Rafael J. Wysocki
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=201001270721.55739.a.miskiewicz@gmail.com \
--to=a.miskiewicz-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=feng.tang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=flinco-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org \
--cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
--cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mad_soft-aPYA7nAdAYY@public.gmane.org \
--cc=rjw-KKrjLPT3xs0@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).