From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Robert Vollmert <rvollmert-lists-hi6Y0CQ0nG0@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: bug report: multi-byte access in indexfields broken
Date: Mon, 22 Sep 2003 16:02:56 +0200 [thread overview]
Message-ID: <20030922140256.GK11391@poupinou.org> (raw)
In-Reply-To: <20030921200525.GB2968-duT3ICHXG/I@public.gmane.org>
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
next prev parent reply other threads:[~2003-09-22 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 20:05 bug report: multi-byte access in indexfields broken Robert Vollmert
[not found] ` <20030921200525.GB2968-duT3ICHXG/I@public.gmane.org>
2003-09-21 20:16 ` Robert Vollmert
2003-09-22 14:02 ` Ducrot Bruno [this message]
2003-09-22 17:29 ` bug report: multi-byte access in indexfields broken [patch] Robert Vollmert
-- strict thread matches above, loose matches on Subject: below --
2003-09-23 1:46 bug report: multi-byte access in indexfields broken Li, Shaohua
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=20030922140256.GK11391@poupinou.org \
--to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=rvollmert-lists-hi6Y0CQ0nG0@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