From: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Martijn Pieters <mj-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ASL fixing questions
Date: Thu, 12 Feb 2004 22:16:15 +0100 [thread overview]
Message-ID: <20040212211615.GV13262@poupinou.org> (raw)
In-Reply-To: <402B7917.2090505-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
On Thu, Feb 12, 2004 at 08:01:11AM -0500, Martijn Pieters wrote:
> Bruno Ducrot wrote:
> >>dsdt.dsl 2035: Store (Zero, \_PR.CPU0._PPC)
> >>Error 1022 - Object does not exist ^ (\_PR.CPU0._PPC)
> >
> >
> >Do you have a SSDT table ? If so, this object may be in that SSDT
> >instead.
>
> SSDT decompilation fails with:
>
> dswload-0264: *** Error: Looking up [\_PR_.CPU0] in namespace,
> AE_NOT_FOUND
> psparse-1283: *** Error: [NULL NAME], AE_NOT_FOUND
> Could not parse ACPI tables, AE_NOT_FOUND
>
> How can I decompile the SSDT table with the DSDT namespace available? Ue
> an Include in the DSDT AML? Your suspicion could be right, hexedit of
> the SSDT code does show a _PPC declaration.
Now we know that there is a _PPC for the processor object, you can
shut off the iasl errors related to that \_PR.CPU0._PPC via
something like that:
Scope (\_PR)
{
Processor (CPU0, 0x00, 0x00004010, 0x06) {
External(_PPC)
}
}
Now, the errors are :
dsdt.dsl 2955: PWST, 2,
Error 1051 - ^ Access width of Field Unit
extends beyond region limit
dsdt.dsl 2957: PMEN, 1,
Error 1051 - ^ Access width of Field Unit
extends beyond region limit
dsdt.dsl 2959: PMST, 1
Error 1051 - ^ Access width of Field Unit
extends beyond region limit
dsdt.dsl 3237: Field (ERAM, AnyAcc, NoLock, Preserve)
Error 1048 - ^ Host Operation Region
requires ByteAcc access
that may be fixed.
The 3 first errors are due to this:
OperationRegion (CCRD, PCI_Config, 0x00, 0xA7)
Field (CCRD, DWordAcc, Lock, Preserve)
{
Offset (0x04),
TI04, 8,
Offset (0x44),
TI44, 16,
Offset (0x80),
PMEE, 1,
Offset (0x81),
Offset (0xA4),
PWST, 2,
Offset (0xA5),
PMEN, 1,
, 6,
PMST, 1
}
You have the option to change the length for the OR (that is,
replace the 0xA7 with 0xA8 (that will give you in fact the same
behaviour if you enable the ACPI_RELAX compile kernel option), or
you can change the DWordAcc by WordAcc in the Field.
Unfortunately, that is hard to know what is correct though,
other than to bug the OEM, or to look if those fields can be accessed
as double word in this PCI config space by looking the data book for
this pci device. It's the only (stable) solution unfortunately, even
though there are some ACPI_PEDANTIC that need to be defined those days
;(
> >>Last but not least, tehre is one Field declaration that wants to define
> >>AnyAcc to a OperationRegion, something that apparently isn't possible:
> >>
> >>dsdt.dsl 3235: Field (ERAM, AnyAcc, NoLock, Preserve)
> >>Error 1048 - ^ Host Operation Region requires ByteAcc access
> >
> >> s/AnyAcc/ByteAcc on the faulty line, perhaps ;)
>
> There are two Field definitions referring to that OperationRegion; one
> ByteAcc and one AnyAcc. It is clear the author expected this to work and
> needed the behaviour..
>
Yes, and? There is one that is:
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0x04),
CMCM, 8,
CMD1, 8,
CMD2, 8,
CMD3, 8
}
which is correct.
The second is:
Field (ERAM, AnyAcc, NoLock, Preserve)
{
Offset (0x80),
NMSG, 8,
SLED, 4,
...
...
}
but since ERAM is an EC OR, it need byte access by ACPI specs.
So replace the offending line with:
Field (ERAM, ByteAcc, NoLock, Preserve)
I don't see where is the trouble doing so, btw.
Cheers,
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
next prev parent reply other threads:[~2004-02-12 21:16 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 3:58 ASL fixing questions Martijn Pieters
[not found] ` <402AF9FF.3020706-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 4:48 ` Martijn Pieters
2004-02-12 6:45 ` Martijn Pieters
2004-02-12 9:37 ` Bruno Ducrot
[not found] ` <20040212093732.GP13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 14:52 ` Martijn Pieters
[not found] ` <402B9313.9000701-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 16:33 ` Martijn Pieters
[not found] ` <402BAABC.5040706-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 17:24 ` Martijn Pieters
2004-02-12 20:43 ` Bruno Ducrot
[not found] ` <20040212204335.GU13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 20:56 ` Martijn Pieters
[not found] ` <402BE889.5090502-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:18 ` Bruno Ducrot
[not found] ` <20040212211803.GW13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:25 ` Martijn Pieters
[not found] ` <402BEF3A.3080702-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-13 2:00 ` Martijn Pieters
2004-02-12 21:20 ` Martijn Pieters
[not found] ` <402BEE34.9050908-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:26 ` Bruno Ducrot
[not found] ` <20040212212649.GX13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:35 ` Martijn Pieters
[not found] ` <402BF19C.9050803-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 22:06 ` Bruno Ducrot
[not found] ` <402B7917.2090505@zopatista.com>
[not found] ` <402B7917.2090505-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 21:16 ` Bruno Ducrot [this message]
[not found] ` <20040212211615.GV13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 21:34 ` Martijn Pieters
[not found] ` <402BF14A.8040406-a5Jd59zECFiB+jHODAdFcQ@public.gmane.org>
2004-02-12 22:11 ` Bruno Ducrot
[not found] ` <20040212221108.GZ13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 23:35 ` Martijn Pieters
-- strict thread matches above, loose matches on Subject: below --
2004-02-13 3:43 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AE-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-13 14:20 ` Martijn Pieters
2004-02-13 4:08 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6AF-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-13 4:40 ` Bruno Ducrot
[not found] ` <20040213044014.GG13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-21 17:15 ` Pavel Machek
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=20040212211615.GV13262@poupinou.org \
--to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mj-a5Jd59zECFiB+jHODAdFcQ@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