public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI Source patches updated (20021022)
@ 2002-10-23  2:19 Grover, Andrew
       [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF60-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 27+ messages in thread
From: Grover, Andrew @ 2002-10-23  2:19 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A

Hi all,

New ACPI patches are now available on http://sf.net/projects/acpi .
Non-Linux source releases will be up by Thursday evening.

Most notable about this release is the Scope operator changes. People who
have been modifying their DSDTs to get around previous versions' problems
with Scope(OKEC) or Scope(_SB) should find this is no longer necessary.
Please speak up if problems persist.

Regards -- Andy

----------------------------------------
22 October 2002.  Summary of changes for version 20021022.


1) Linux

EC Driver:  No longer attempts to acquire the Global Lock at
interrupt level.

Exported some additional functions needed for PCI hot plug (JI Lee)

Clear ARB_DIS when returning from S1 (Ducrot Bruno)

Rename acpi_power_off to acpi_power_off_device (Pavel Machek)

2) ACPI CA Core Subsystem:

Implemented a restriction on the Scope operator that the
target must already exist in the namespace at the time the
operator is encountered (during table load or method
execution).  In other words, forward references are not
allowed and Scope() cannot create a new object. This changes
the previous behavior where the interpreter would create the
name if not found.  This new behavior correctly enables the
search-to-root algorithm during namespace lookup of the target
name.  Because of this upsearch, this fixes the known Compaq
_SB_.OKEC problem and makes both the AML interpreter and iASL
compiler compatible with other ACPI implementations.

Completed a major overhaul of the internal ACPI object types
for the ACPI Namespace and the associated operand objects.
Many of these types had become obsolete with the introduction
of the two-pass namespace load.  This cleanup simplifies the
code and makes the entire namespace load mechanism much
clearer and easier to understand.

Improved debug output for tracking scope opening/closing to
help diagnose scoping issues.  The old scope name as well as
the new scope name are displayed.  Also improved error
messages for problems with ASL Mutex objects and error
messages for GPE problems.

Cleaned up the namespace dump code, removed obsolete code.

All string output (for all namespace/object dumps) now uses
the common ACPI string output procedure which handles escapes
properly and does not emit non-printable characters.

Fixed some issues with constants in the 64-bit version of the
local C library (utclib.c)

3) iASL Compiler/Disassembler

Implemented ACPI 2.0B grammar change that disallows all Type 1
and 2 opcodes outside of a control method.  This means that
the "executable" operators (versus the "namespace" operators)
cannot be used at the table level; they can only be used
within a control method.

Implemented the restriction on the Scope() operator where the
target must already exist in the namespace at the time the
operator is encountered (during ASL compilation). In other
words, forward references are not allowed and Scope() cannot
create a new object.  This makes the iASL compiler compatible
with other ACPI implementations and makes the Scope()
implementation adhere to the ACPI specification.

Fixed a problem where namepath optimization for the Alias
operator was optimizing the wrong path (of the two namepaths.)
This caused a "Missing alias link" error message.

Fixed a problem where an "unknown reserved name" warning could
be incorrectly generated for names like "_SB" when the
trailing underscore is not used in the original ASL.

Fixed a problem where the reserved name check did not handle
NamePaths with multiple NameSegs correctly.  The first nameseg
of the NamePath was examined instead of the last NameSeg.

-----------------------------
Andrew Grover
Intel Labs / Mobile Architecture
andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-23 14:54 Moore, Robert
  0 siblings, 0 replies; 27+ messages in thread
From: Moore, Robert @ 2002-10-23 14:54 UTC (permalink / raw)
  To: 'KOCHI, Takayoshi', acpi-devel-pyega4qmqnRoyOMFzWx49A


We are in the process of formatting the document, it should be posted soon.

-----Original Message-----
From: KOCHI, Takayoshi [mailto:t-kouchi-dPjYVeZdYcz+G+EEi5ephHgSJqDPrsil@public.gmane.org] 
Sent: Tuesday, October 22, 2002 9:51 PM
To: acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: [ACPI] ACPI Source patches updated (20021022)

Hi,

> 3) iASL Compiler/Disassembler
> 
> Implemented ACPI 2.0B grammar change that disallows all Type 1
> and 2 opcodes outside of a control method.  This means that
> the "executable" operators (versus the "namespace" operators)
> cannot be used at the table level; they can only be used
> within a control method.

Where can I find ACPI 2.0B?
http://www.acpi.info/ seems to provide only 2.0a.

Thanks,
-- 
KOCHI, Takayoshi <t-kouchi-f7IHDacdhdx8UrSeD/g0lQ@public.gmane.org/t-kouchi>



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
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: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-23 17:11 Grover, Andrew
       [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF63-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 27+ messages in thread
From: Grover, Andrew @ 2002-10-23 17:11 UTC (permalink / raw)
  To: 'Ville Syrjälä', Sérgio Monteiro Basto
  Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Ville Syrjälä [mailto:syrjala-ORSVBvAovxo@public.gmane.org] 
> > In this list it is normal.
> > You have to justify what this fix do.

Did anyone else test it?

> Simply put it fixes the AGP slot's IRQ routing on my Abit KT7 :)

I didn't think video needed an IRQ. I'm pretty leery about modifying the IRQ
routing code at all - I know we have bugs left, but I don't want to add
more. ;-)

That said, I'll put this in the next release and we can see what happens. If
people want to try this in the meantime, that would be great, too.

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-23 17:17 Grover, Andrew
       [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF64-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 27+ messages in thread
From: Grover, Andrew @ 2002-10-23 17:17 UTC (permalink / raw)
  To: 'Ville Syrjälä', Sérgio Monteiro Basto
  Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

> > From: Ville Syrjälä [mailto:syrjala-ORSVBvAovxo@public.gmane.org] 
> That said, I'll put this in the next release and we can see 
> what happens. If
> people want to try this in the meantime, that would be great, too.

Wait a second. Looking at the calling code (acpi_pci_irq_enable) we check
the device itself for PRT entries there, so we shouldn't have to also do
this in pci_irq_derive, which only gets called if there aren't any found for
the device.

Thoughts?

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-23 19:35 Grover, Andrew
  0 siblings, 0 replies; 27+ messages in thread
From: Grover, Andrew @ 2002-10-23 19:35 UTC (permalink / raw)
  To: 'Ville Syrjälä', Ducrot Bruno
  Cc: Sérgio Monteiro Basto, acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Ville Syrjälä [mailto:syrjala-ORSVBvAovxo@public.gmane.org] 
> The DSDT has PCI0._PRT in which 00:01.0 (the AGP bridge) is 
> listed. Are
> you saying that there should also be PCI1._PRT with just one entry for
> 01:00.0? If that were the case there wouldn't be any need to 
> derive the
> IRQ would there?
> 
> Either way please look at the IO-APIC code. You'll see it's almost
> identical to the ACPI code and clearly one of them is wrong. 
> My bet goes
> to IO-APIC code being correct in which case my fix is also correct.

OK thanks for taking the time to explain. Applied.

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-24 17:04 Lee, Jung-Ik
       [not found] ` <72B3FD82E303D611BD0100508BB29735046DFF44-LkGsggTGxVkSgA9wuWY2vVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 27+ messages in thread
From: Lee, Jung-Ik @ 2002-10-24 17:04 UTC (permalink / raw)
  To: 'Ducrot Bruno'
  Cc: Ville Syrjälä, Grover, Andrew,
	Sérgio Monteiro Basto, acpi-devel-pyega4qmqnRoyOMFzWx49A


> > > >
> > > > So I think this is an AML issue.  Your AGP device is actually a
> > > > bridge and ACPI spec require a _PRT entry for each bridge.
> > > 
> 
> I should read a little bit more specs.  A _PRT entry is required
> only for root bridges.
> 
_PRT could be in non root bridges.

J.I.


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-24 18:50 Lee, Jung-Ik
  0 siblings, 0 replies; 27+ messages in thread
From: Lee, Jung-Ik @ 2002-10-24 18:50 UTC (permalink / raw)
  To: 'Kai Germaschewski', Ville Syrjälä
  Cc: Grover, Andrew, acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Kai Germaschewski [mailto:kai-germaschewski-Q3dYeWy5uxSHXe+LvDLADg@public.gmane.org]
> 
> Well, it's possible, though I don't have any box which does. 
> Say you have 
> a PCI hotplug controller, which I think appears as bridge and 
> put a 4-port 
> tulip network card into it. These network cards are 
> implemented using a 
> PCI bridge as well, so that'd be a case where it would 
> actually happen.

And any bridge adapters hot-added will need swizzling to map irq exactly as
Kai mentioned.
We have a box that needs this. 

thanks,
J.I.



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: ACPI Source patches updated (20021022)
@ 2002-10-24 21:30 Grover, Andrew
  0 siblings, 0 replies; 27+ messages in thread
From: Grover, Andrew @ 2002-10-24 21:30 UTC (permalink / raw)
  To: 'Kai Germaschewski', Ville Syrjälä
  Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Kai Germaschewski [mailto:kai-germaschewski-Q3dYeWy5uxSHXe+LvDLADg@public.gmane.org] 
> On Thu, 24 Oct 2002, Ville Syrjälä wrote:
> > Yes I see the logic in that. But I don't know enough about 
> PCI to relly
> > understand how things work. Over one iteration this does 
> exactly what my
> > patch did and that's what I care about :) Is it even 
> realistic to expect
> > that multiple bridges are lined up so that the loop would 
> get executed
> > more than once?
> 
> Well, it's possible, though I don't have any box which does. 
> Say you have 
> a PCI hotplug controller, which I think appears as bridge and 
> put a 4-port 
> tulip network card into it. These network cards are 
> implemented using a 
> PCI bridge as well, so that'd be a case where it would 
> actually happen.

OK, so everyone agrees Kai's version is the way to go? ;-)

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en

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

end of thread, other threads:[~2002-10-24 21:30 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23  2:19 ACPI Source patches updated (20021022) Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF60-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23  4:51   ` KOCHI, Takayoshi
2002-10-23  8:02   ` Ville Syrjälä
     [not found]     ` <20021023110222.A14630-ORSVBvAovxo@public.gmane.org>
2002-10-23 14:47       ` Sérgio Monteiro Basto
     [not found]         ` <1035384462.3db6b68e3ca67-2RFepEojUI03ju2hA3itMQ@public.gmane.org>
2002-10-23 15:15           ` Ville Syrjälä
2002-10-24 15:29       ` Kai Germaschewski
     [not found]         ` <Pine.LNX.4.44.0210241017560.6574-100000-+ltLZMaECS1Ps8vDFOCQiqGgjKF21WCF@public.gmane.org>
2002-10-24 17:15           ` Ville Syrjälä
     [not found]             ` <20021024201518.A2708-ORSVBvAovxo@public.gmane.org>
2002-10-24 17:23               ` Kai Germaschewski
2002-10-24  9:34   ` Toshiba Tecra 9xxx and S1 (was: ACPI Source patches updated (20021022)) Sebastian Zimmermann
  -- strict thread matches above, loose matches on Subject: below --
2002-10-23 14:54 ACPI Source patches updated (20021022) Moore, Robert
2002-10-23 17:11 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF63-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23 18:36   ` Ducrot Bruno
     [not found]     ` <20021023183646.GB5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 18:41       ` Ville Syrjälä
     [not found]         ` <20021023214159.B21758-ORSVBvAovxo@public.gmane.org>
2002-10-23 19:19           ` Ducrot Bruno
     [not found]             ` <20021023191929.GC5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 19:26               ` Ville Syrjälä
2002-10-23 17:17 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF64-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23 17:54   ` Ville Syrjälä
     [not found]     ` <20021023205441.A17325-ORSVBvAovxo@public.gmane.org>
2002-10-23 18:25       ` Ducrot Bruno
     [not found]         ` <20021023182527.GA5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 18:40           ` Ville Syrjälä
     [not found]             ` <20021023214046.A21758-ORSVBvAovxo@public.gmane.org>
2002-10-23 19:47               ` Ducrot Bruno
     [not found]                 ` <20021023194751.GD5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 20:03                   ` Ville Syrjälä
2002-10-24 10:00                   ` Ducrot Bruno
2002-10-23 19:35 Grover, Andrew
2002-10-24 17:04 Lee, Jung-Ik
     [not found] ` <72B3FD82E303D611BD0100508BB29735046DFF44-LkGsggTGxVkSgA9wuWY2vVDQ4js95KgL@public.gmane.org>
2002-10-24 18:07   ` Ducrot Bruno
2002-10-24 18:50 Lee, Jung-Ik
2002-10-24 21:30 Grover, Andrew

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