All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson-VXdhtT5mjnY@public.gmane.org>
To: acpi-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: NO_RETURN_VALUE w/ 20040715
Date: Fri, 20 Aug 2004 14:11:55 -0600	[thread overview]
Message-ID: <1093032715.4993.60.camel@tdi> (raw)


   I've got one more new error going on with the new ACPI.  On bootup of
an hp rx8620 (sx1000 based ia64 system), I'm now getting a number of
these:

dswstate-0273 [18] ds_result_pop_from_bot: No result objects! State=e000072000095030
dsutils-0526 [18] ds_create_operand     : Missing or null operand, AE_AML_NO_RETURN_VALUE
psparse-1133: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SSTA] (Node e0000703fef6d730), AE_AML_NO_RETURN_VALUE
psparse-1133: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SBF0._STA] (Node e0000703fef6f130), AE_AML_NO_RETURN_VALUE
 uteval-0158: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SBF0._STA] (Node e0000703fef6f130), AE_AML_NO_RETURN_VALUE

This did not happen w/ the previous ACPI code so I'd like to get a feel
for whether this looks like an interpreter bug or an AML bug.   The
disassembled DSDT for the _STA and SSTA methods is below.  Looks to me
like there's no way out of the SSTA method w/o a return, but then I
don't really know AML.  I can provide the entire DSDT if this isn't
sufficient.  Thanks,

	Alex

Method (SSTA, 0, NotSerialized)
{
    Acquire (MCTX, 0xFFFF)
    Store (0x0F, CSTS)
    If (LNot (LEqual (PRES (), Ones)))
    {
        Store (0x00, CSTS)
        Release (MCTX)
        Return (ToInteger (CSTS, Local0))
    }
    If (LNot (LEqual (PCHK (), Ones)))
    {
         Store (0x00, GOOD)
         Store (0x00, LIVE)
         Store (0x00, SEEN)
         Release (MCTX)
         Return (ToInteger (CSTS, Local0))
    }
    If (LEqual (RC, 0x00))
    {
        Store (BSTR, Local0)
    }
    Else
    {
        Store (0x00, Local0)
    }
    If (LEqual (Local0, 0x00))
    {
        Store (0x01, GOOD)
    }
    Release (MCTX)
    Return (ToInteger (CSTS, Local0))
}
...
Device (SBF0)
{
    ...
    Method (_STA, 0, NotSerialized)
    {
        Return (^^SSTA ())
    }
}

-- 
Alex Williamson                             HP Linux & Open Source Lab



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

             reply	other threads:[~2004-08-20 20:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20 20:11 Alex Williamson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-20 20:31 NO_RETURN_VALUE w/ 20040715 Moore, Robert
2004-08-20 21:07 Moore, Robert
     [not found] ` <37F890616C995246BE76B3E6B2DBE05501C19B93-sBd4vmA9Se5Qxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-20 23:17   ` Alex Williamson
2004-08-23 20:22 Moore, Robert
     [not found] ` <37F890616C995246BE76B3E6B2DBE05501C71E7A-sBd4vmA9Se5Qxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-23 20:34   ` Alex Williamson
2004-08-23 20:46 Moore, Robert
     [not found] ` <37F890616C995246BE76B3E6B2DBE05501C71EF2-sBd4vmA9Se5Qxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-23 21:26   ` Nate Lawson
2004-08-23 21:54 Moore, Robert
     [not found] ` <37F890616C995246BE76B3E6B2DBE05501C72022-sBd4vmA9Se5Qxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-23 22:01   ` Nate Lawson
2004-08-23 22:05 Moore, Robert

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=1093032715.4993.60.camel@tdi \
    --to=alex.williamson-vxdhtt5mjny@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.