RE: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing

2015-03-30 Thread Moore, Robert
leo.du...@amd.com; linux-...@vger.kernel.org; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; linaro- > a...@lists.linaro.org > Subject: Re: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing > > On 3/27/2015 12:51 PM, Moore, Robert wrote: > > + cls_objects = obj_desc-

Re: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing

2015-03-30 Thread Suravee Suthikulanit
On 3/27/2015 12:51 PM, Moore, Robert wrote: + cls_objects = obj_desc->package.elements; + + if (obj_desc->common.type == ACPI_TYPE_PACKAGE && + obj_desc->package.count == 3 && + cls_objects[0]->common.type == ACPI_TYPE_INTEGER && + cls_objects[1]->common.

RE: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing

2015-03-27 Thread Moore, Robert
ger.kernel.org; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; linaro- > a...@lists.linaro.org; Suravee Suthikulpanit > Subject: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing > > ACPI Device configuration often contain _CLS object to suppy PCI-defined > class code f

[V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing

2015-03-26 Thread Suravee Suthikulpanit
ACPI Device configuration often contain _CLS object to suppy PCI-defined class code for the device. This patch introduces logic to process the _CLS object. Acked-by: Mika Westerberg Reviewed-by: Hanjun Guo Signed-off-by: Suravee Suthikulpanit --- drivers/acpi/acpica/acutils.h | 3 ++ drivers