RE: bug report: multi-byte access in indexfields broken
From: Li, Shaohua <hidden>
Date: 2003-09-23 01:46:36
Hi,
I opened a track in OSDL 1260. Please add you in the CC list.
Thanks,
Shaohua
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ducrot Bruno
Sent: 2003年9月22日 22:03
To: Robert Vollmert
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] bug report: multi-byte access in indexfields broken
On Sun, Sep 21, 2003 at 10:05:25PM +0200, Robert Vollmert wrote:Hello,
it appears the problems I mailed about earlier are due to a bug in the
ACPI code. Reading from multi-byte fields in a ByteAccess-IndexField
seems to be broken.
When I replace
IndexField (EIND, EDAT, ByteAcc, NoLock, Preserve)
{
Offset (0x10),
IKFG, 8,
FRPN, 16,
RAMB, 32,
AVOL, 8,
...
}
Method (CRMB, 0, NotSerialized)
{
Return (RAMB)
}After some testing, I found that this bug happens with word access as well, and only when the field is not aligned with 8 (in case of dword), which do not make sence as a buggy ASL due to the ByteAcc. I consider that bug being critical. I'm not sure if that happens for other types other than Index one (that piece of code being shared between 4 kind of OR). Anyway, most of use done by IndexField is to access CMOS data. I prefer not to think what happens if a write is done, and if the write is buggy as well. -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf