public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: iasl
@ 2003-05-09 17:55 Moore, Robert
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3C61-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 19+ messages in thread
From: Moore, Robert @ 2003-05-09 17:55 UTC (permalink / raw)
  To: sjb, Ducrot Bruno; +Cc: ACPI List

> dsdt.dsl  1902:                 Field (PIUC, DWordAcc, Lock, Preserve)
> Error    1047 -                           ^ Access width is greater
than
> region size
>                  OperationRegion (PIUC, PCI_Config, 0x74, 0x01)


The problem is that the region is defined as 0x01 byte, and the field
specifies a minimum access width of Dword (4 bytes).


> -----Original Message-----
> From: sjb [mailto:ottaky-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org]
> Sent: Friday, May 09, 2003 10:56 AM
> To: Ducrot Bruno
> Cc: ACPI List
> Subject: Re: [ACPI] iasl
> 
> Ducrot Bruno wrote:
> 
> > It should be
> >
> > 	If(\_OSI("Windows 2001")) {
> >
> > and you may have to add:
> > extern (\_OSI)
> > (but I am not sure if it is OK with latest iasl).
> >
> > BTW, could you try 'iasl -d mydsdt' in order to disassemble your
DSDT,
> and
> > check if 'If (\_OSI ("Windows 2001"))' is correct ?
> 
> I did and it appears to produce better output than acpidump ...
> 
> It decompiled that "Windows 2001" line correctly as
> 
>                  If (\_OSI ("Windows 2001"))
>                  {
>                      Store (0x04, OSTP)
>                  }
> 
> I fixed the "AnyAcc" error, and now all I see is ..
> 
> ottaky@vaio:~/acpi> ./iasl -tc dsdt.dsl
> 
> Intel ACPI Component Architecture
> ASL Optimizing Compiler / AML Disassembler version 20030424 [May  7
2003]
> Copyright (C) 2000 - 2003 Intel Corporation
> Supports ACPI Specification Revision 2.0b
> 
> dsdt.dsl  1902:                 Field (PIUC, DWordAcc, Lock, Preserve)
> Error    1047 -                           ^ Access width is greater
than
> region size
> 
> ASL Input:  dsdt.dsl - 3047 lines, 101035 bytes, 1552 keywords
> 
> The OperationRegion line reads ..
> 
>                  OperationRegion (PIUC, PCI_Config, 0x74, 0x01)
> 
> Does that provide enough info?
> 
> Thanks for helping out BTW *8-)
> 
> sjb
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise
solutions
> www.enterpriselinuxforum.com
> 
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: iasl
@ 2003-05-14  8:23 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8427230C-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 19+ messages in thread
From: Yu, Luming @ 2003-05-14  8:23 UTC (permalink / raw)
  To: sjb, ACPI List

Could you please describe the symptom that you are trying to fix.

Thanks,
Luming
-----Original Message-----
From: sjb [mailto:ottaky-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org]
Sent: 2003?5?12? 23:05
To: ACPI List
Subject: Re: [ACPI] iasl


Ducrot Bruno wrote:

> Ok.  It is a classic M1533.  Then 0x74 for this
> southbridge have to be acceded as byte, not as double word (may be
> different in an intel chip)

I'll give it a go .. thanks.

sjb



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: iasl
@ 2003-05-12 17:03 Moore, Robert
  0 siblings, 0 replies; 19+ messages in thread
From: Moore, Robert @ 2003-05-12 17:03 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: sjb, ACPI List

Just as well then.  I can maintain that the AML interpreter cannot
simply "guess" at which is wrong -- the length of the operation region,
or the access width of the field definition.

Bob


> -----Original Message-----
> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> Sent: Monday, May 12, 2003 3:17 AM
> To: Moore, Robert
> Cc: sjb; Ducrot Bruno; ACPI List
> Subject: Re: [ACPI] iasl
> 
> On Fri, May 09, 2003 at 01:47:39PM -0700, Moore, Robert wrote:
> >
> > In this case, we know that PCI_Config space is always accessed by
32-bit
> > reads/writes, so change the Op region definition to length 4.
> 
> You know nothing about that the fact that PCI_Config space have
> to be accessed as 32-bit reads/write.  It may be the
> Field(PIUC, DWordAcc,...) to be bogus.  A better look of this field
> is needed.
> 
> Imagine it look like
> Field(PIUC, DWordAcc, ...)
> {
> 	FOO, 16
> }
> 
> then a better fix is:
> OperationRegion (PIUC, PCI_Config, 0x74, 0x02)
> Field(PIUC, WordAcc, ...)
> {
> 	FOO, 16
> }
> 
> Or FOO may be 8 bit long.
> In that case, a possible fix is:
> OperationRegion (PIUC, PCI_Config, 0x74, 0x01)
> Field(PIUC, ByteAcc, ...)
> {
> 	FOO, 8
> }
> 
> 
> Unless sjb give us more info, we can not tell anything at this
> stage.
> 
> --
> Ducrot Bruno
> 
> --  Which is worse:  ignorance or apathy?
> --  Don't know.  Don't care.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: iasl
@ 2003-05-09 20:47 Moore, Robert
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3C62-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 19+ messages in thread
From: Moore, Robert @ 2003-05-09 20:47 UTC (permalink / raw)
  To: sjb; +Cc: Ducrot Bruno, ACPI List


In this case, we know that PCI_Config space is always accessed by 32-bit
reads/writes, so change the Op region definition to length 4.


> -----Original Message-----
> From: sjb [mailto:ottaky-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org]
> Sent: Friday, May 09, 2003 1:51 PM
> To: Moore, Robert
> Cc: Ducrot Bruno; ACPI List
> Subject: Re: [ACPI] iasl
> 
> Moore, Robert wrote:
> 
> >>                 OperationRegion (PIUC, PCI_Config, 0x74, 0x01)
> >
> >
> >
> > The problem is that the region is defined as 0x01 byte, and the
field
> > specifies a minimum access width of Dword (4 bytes).
> 
> So how would I go about fixing that? Bear in mind I have no idea how
> these things are supposed to work ;-)
> 
> Do I change the "Field" line to ByteAcc instead of DWordAcc, or the
> "OperationRegion" line somehow?
> 
> This should be the last dumb question BTW *8-)
> 
> sjb


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 19+ messages in thread
* iasl
@ 2003-05-08 15:46 sjb
       [not found] ` <3EBA7BE0.5070200-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 19+ messages in thread
From: sjb @ 2003-05-08 15:46 UTC (permalink / raw)
  To: ACPI List

Hi all ..

.. long story, and I shan't bother you with the details ;-)

Is there such a thing as a version of iasl that doesn't depend on glibc 
2.3 and will work with glibc 2.2? And, if so, could someone point me in 
the right direction to download a copy?

Many thanks!

sjb



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2003-05-14  8:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-09 17:55 iasl Moore, Robert
     [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3C61-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-05-09 20:50   ` iasl sjb
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14  8:23 iasl Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8427230C-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-05-14  8:39   ` iasl sjb
2003-05-12 17:03 iasl Moore, Robert
2003-05-09 20:47 iasl Moore, Robert
     [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3C62-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-05-09 22:37   ` iasl sjb
     [not found]     ` <3EBC2D94.7040801-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-12  9:48       ` iasl Ducrot Bruno
2003-05-12 10:16   ` iasl Ducrot Bruno
     [not found]     ` <20030512101655.GB19351-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-12 12:24       ` iasl sjb
     [not found]         ` <3EBF9263.6040405-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-12 13:21           ` iasl Ducrot Bruno
     [not found]             ` <20030512132149.GA19475-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-12 14:29               ` iasl sjb
     [not found]                 ` <3EBFAFE6.2020700-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-12 14:02                   ` iasl Ducrot Bruno
     [not found]                     ` <20030512140232.GC19475-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-12 15:05                       ` iasl sjb
2003-05-08 15:46 iasl sjb
     [not found] ` <3EBA7BE0.5070200-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-09 13:37   ` iasl Ducrot Bruno
     [not found]     ` <20030509133703.GH2954-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-09 16:17       ` iasl sjb
     [not found]         ` <3EBBD495.7050104-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-09 15:42           ` iasl Ducrot Bruno
     [not found]             ` <20030509154224.GK2954-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-09 17:56               ` iasl sjb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox