All of lore.kernel.org
 help / color / mirror / Atom feed
From: David E. Box <david.e.box at linux.intel.com>
To: devel@acpica.org
Subject: Re: [Devel] Clarification request about AcpiDbgLevel and AcpiGbl_EnableAmlDebugObject
Date: Thu, 15 May 2014 14:54:20 -0700	[thread overview]
Message-ID: <20140515215420.GA1506@linux.intel.com> (raw)
In-Reply-To: CABC13nE9gguL8ZWUskE8Wn1s-F=+tV7nxOxFtNP1xPVuA23=Ew@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

On Thu, May 15, 2014 at 09:21:33PM +0200, Sascha Wildner wrote:
> On Thu, May 15, 2014 at 3:08 AM, David E. Box
> <david.e.box(a)linux.intel.com> wrote:
> > On Wed, May 14, 2014 at 10:53:30PM +0200, Sascha Wildner wrote:
> >> So my question is: How should the host OS properly handle this? I saw that
> >> FreeBSD for example initializes AcpiDbgLevel to 0 (when their ACPI_DEBUG
> >> switch isn't set) but the reference manual doesn't mention that anything
> >> other than AcpiGbl_EnableAmlDebugObject being FALSE is necessary.
> >
> > How should the host OS handle what exactly? I think you misunderstand what Debug
> > Object is. In ASL you can use the Store operator to print debug messages like
> > this:
> 
> David,
> 
> sorry for not being clear enough the first time.
> 
> After a recent ACPICA upgrade in DragonFly BSD we've had some reports
> of (mostly temperature related) Debug Object output like for example
> http://lists.dragonflybsd.org/pipermail/users/2014-February/109309.html,
> which I was investigating.

I'm not aware of a change we made recently that would have turned on Debug
Output, but maybe Lv knows. A BIOS change would be the culprit here. However if
you can clearly bisect the issue down to a difference in the version of ACPICA
and nothing else, we'd like to know about.

> I checked the reference and I
> (mis)understood it as saying that with AcpiGbl_EnableAmlDebugObject
> being FALSE alone, Debug Object output would not be printed, which
> confused me, so I asked etc.

I think we should explicitly state that it can still be enabled by
AcpiDbgLevel in the spec to clear up any confusion.

> But I understand now that if I wanted to disable them, I would need to
> modify AcpiDbgLevel, too. I'll study the ASL first, though.

Good luck with that.

-- Dave Box

             reply	other threads:[~2014-05-15 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15 21:54 David E. Box [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-15 19:21 [Devel] Clarification request about AcpiDbgLevel and AcpiGbl_EnableAmlDebugObject Sascha Wildner
2014-05-15  1:08 David E. Box
2014-05-15  0:33 Zheng, Lv
2014-05-14 20:53 Sascha Wildner

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=20140515215420.GA1506@linux.intel.com \
    --to=devel@acpica.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.