From: Lan Tianyu <tianyu.lan@intel.com>
To: lkp@lists.01.org
Subject: Re: [ACPI] 40e7fcb1929: acpi LNXVIDEO:00: Failed to evaluate _DEP.
Date: Fri, 26 Dec 2014 10:45:36 +0800 [thread overview]
Message-ID: <549CCBD0.8050109@intel.com> (raw)
In-Reply-To: <1418374544.5745.127.camel@intel.com>
[-- Attachment #1: Type: text/plain, Size: 4451 bytes --]
hI Rafael:
The following error log are produced by
acpi_evaluate_reference().
It found _DEP returned package with 0 element and return AE_BAD_DATA.
>From dsdt table, _DEP may return package with 0 in some cases. Can we
make acpi_evaluate_reference() not produce the error log and let caller
check
the package length? So far, only thermal and _DEP use the function.
Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
{
ADBG ("SAT0 DEP Call")
If ((OSYS >= 0x07DD))
{
If (((S0ID == One) && ((PEPC & 0x03) != Zero)))
{
ADBG ("SAT0 DEP")
Return (Package (0x01)
{
PEPD
})
}
}
ADBG ("SAT0 DEP NULL")
Return (Package (0x00) {})
}
On 2014年12月12日 16:55, Huang Ying wrote:
> FYI, we noticed the changes on
>
> commit 40e7fcb19293cbdff02c74cb0668413480f82ea1 ("ACPI: Add _DEP support to fix battery issue on Asus T100TA")
>
> The dmesg is as follow and attached.
>
> [ 1.332908] ACPI: Power Resource [PG00] (on)
> [ 1.341096] ACPI: Power Resource [PG01] (on)
> [ 1.349277] ACPI: Power Resource [PG02] (on)
> [ 1.357600] ACPI: [Package] has zero elements (ffff880136a63ac0)
> [ 1.364422] acpi LNXVIDEO:00: Failed to evaluate _DEP.
> [ 1.379349] ACPI: [Package] has zero elements (ffff880136ac9080)
> [ 1.386171] acpi device:2e: Failed to evaluate _DEP.
> [ 1.393244] ACPI: [Package] has zero elements (ffff880136ac9140)
> [ 1.400067] acpi INT3432:00: Failed to evaluate _DEP.
> [ 1.408336] ACPI: [Package] has zero elements (ffff880136ac9700)
> [ 1.415144] acpi INT3433:00: Failed to evaluate _DEP.
> [ 1.425509] ACPI: [Package] has zero elements (ffff880136b47380)
> [ 1.432333] acpi INT3434:00: Failed to evaluate _DEP.
> [ 1.438566] ACPI: [Package] has zero elements (ffff880136b47500)
> [ 1.445390] acpi INT3435:00: Failed to evaluate _DEP.
> [ 1.451701] ACPI: [Package] has zero elements (ffff880136b47600)
> [ 1.458526] acpi INT3436:00: Failed to evaluate _DEP.
> [ 1.464734] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.471558] acpi INT3438:00: Failed to evaluate _DEP.
> [ 1.477734] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.484556] acpi device:4b: Failed to evaluate _DEP.
> [ 1.490566] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.497388] acpi device:4d: Failed to evaluate _DEP.
> [ 1.503402] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.510226] acpi device:4f: Failed to evaluate _DEP.
> [ 1.516237] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.523045] acpi device:51: Failed to evaluate _DEP.
> [ 1.529055] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.535878] acpi device:53: Failed to evaluate _DEP.
> [ 1.541898] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.548719] acpi device:55: Failed to evaluate _DEP.
> [ 1.554724] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.561546] acpi device:57: Failed to evaluate _DEP.
> [ 1.567545] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.574368] acpi device:59: Failed to evaluate _DEP.
> [ 1.580116] ACPI: [Package] has zero elements (ffff880136b47700)
> [ 1.586939] acpi device:5a: Failed to evaluate _DEP.
> [ 1.593108] acpi ABCD0000:00: ACPI dock station (docks/bays count: 1)
> [ 1.601756] ACPI: Power Resource [FN00] (off)
> [ 1.606790] ACPI: Power Resource [FN01] (on)
>
> To reproduce:
>
> apt-get install ruby ruby-oj
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
> cd lkp-tests
> bin/setup-local job.yaml # the job file attached in this email
> bin/run-local job.yaml
>
>
> Disclaimer:
> Results have been estimated based on internal Intel analysis and are provided
> for informational purposes only. Any difference in system hardware or software
> design or configuration may affect actual performance.
>
>
> Thanks,
> Fengguang
>
>
>
> _______________________________________________
> LKP mailing list
> LKP(a)linux.intel.com
>
--
Best regards
Tianyu Lan
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5507 bytes --]
prev parent reply other threads:[~2014-12-26 2:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 8:55 [ACPI] 40e7fcb1929: acpi LNXVIDEO:00: Failed to evaluate _DEP Huang Ying
2014-12-12 8:55 ` [LKP] " Huang Ying
2014-12-26 2:45 ` Lan Tianyu [this message]
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=549CCBD0.8050109@intel.com \
--to=tianyu.lan@intel.com \
--cc=lkp@lists.01.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.