From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH v2 1/4] ACPI / property: Don't evaluate objects for devices w/o handle Date: Thu, 29 Jun 2017 10:30:58 +0300 Message-ID: <20170629073058.GY629@lahna.fi.intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga01.intel.com ([192.55.52.88]:47049 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362AbdF2Hb3 (ORCPT ); Thu, 29 Jun 2017 03:31:29 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Lukas Wunner Cc: "Rafael J. Wysocki" , Mark Brown , Ronald Tschalaer , Federico Lorenzi , Andy Shevchenko , Leif Liddy , Daniel Roschka , linux-acpi@vger.kernel.org, linux-spi@vger.kernel.org On Wed, Jun 28, 2017 at 07:20:19PM +0200, Lukas Wunner wrote: > Fabricated devices such as LNXPWRBN lack a handle, causing evaluation > of _CCA and _DSD to always fail with AE_BAD_PARAMETER. While that is > merely a (negligible) waste of processing power, evaluating a _DSM for > them (such as Apple's device properties _DSM which we're about to add) > results in an ugly error: > > ACPI: \: failed to evaluate _DSM (0x1001) > > Avoid by not evaluating _DSD and the upcoming _DSM for devices without > handle. > > Cc: Rafael J. Wysocki > Cc: Mika Westerberg Acked-by: Mika Westerberg