From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755023AbbJUNX4 (ORCPT ); Wed, 21 Oct 2015 09:23:56 -0400 Received: from mga02.intel.com ([134.134.136.20]:30863 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbbJUNXy (ORCPT ); Wed, 21 Oct 2015 09:23:54 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,712,1437462000"; d="scan'208";a="832127205" Date: Wed, 21 Oct 2015 16:20:36 +0300 From: Mika Westerberg To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Darren Hart Subject: Re: [PATCH] ACPI / property: Fix subnode lookup scope for data-only subnodes Message-ID: <20151021132036.GC1526@lahna.fi.intel.com> References: <3607867.RKSpENdj9h@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3607867.RKSpENdj9h@vostro.rjw.lan> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2015 at 01:51:24AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The correct scope for looking up the objects to generate data packages for > data-only subnodes pointed to by another data-only subnode is the scope > of the parent of that subnode and not the scope containing the _DSD object > at the top of the hierarchy (the latter works only if all of the objects > returning data-only subnode packages in a given hierarchy are in the same > scope). > > Fix the code to work as expected. > > Fixes: 445b0eb058f5 (ACPI / property: Add support for data-only subnodes) > Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg All my tests still pass so you can also add Tested-by: Mika Westerberg