Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2000 23:48:59 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Cc:        takawata@shidahara1.planet.sci.kobe-u.ac.jp, haro@tk.kubota.co.jp, current@freebsd.org, acpi-jp@jp.FreeBSD.org
Subject:   Re: Interesting AML bug... recommended workaround? 
Message-ID:  <200010020648.e926mxh00396@mass.osd.bsdi.com>
In-Reply-To: Your message of "Mon, 02 Oct 2000 14:58:39 %2B0900." <20001002145839G.iwasaki@jp.FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Here's what seems to be an interesting AML or AML parser bug.
> > 
> > 	OperationRegion(PSRG, SystemMemory, 0x0410, 0x1)
> > 	Field(PSRG, DWordAcc, NoLock, Preserve) {
> > 		,	2,
> > 		PS2E,	1
> > 	}
> > 
> > The field is marked for 32-bit access, but the region is only 1 byte 
> > wide.  What's the correct thing to do here?  Expand the region to 
> > accomodate the field's access requirements?  Constrain the access size of 
> > the field to that of the region?
> 
> I thought read 32-bit, update target bits, write back whole 32-bit for
> updating.  For reading value, read 32-bit and shift & mask bits as well.
> I hope I could understand description in Spec 15.2.3.3.1.9; "If desired,
> AccessType can be used to force minimum access width."

This is clarified in the 2.0 spec 16.2.3.3.1.11; the short answer is that 
it's illegal.  There is already a workaround in the ACPICA code that 
truncates over-sized operation requests, but it didn't fix up the 
granularity to match.  I've added that support and will send it back to 
Intel.

I'll also bug Intel about the BIOS in this machine (ISP1100), since this 
is a real error.  I doubt they'll do much about it though.

Regards,
-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010020648.e926mxh00396>