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