From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F213C4360C for ; Thu, 10 Oct 2019 14:29:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 249E02196E for ; Thu, 10 Oct 2019 14:29:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726409AbfJJO3B (ORCPT ); Thu, 10 Oct 2019 10:29:01 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3690 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725923AbfJJO3B (ORCPT ); Thu, 10 Oct 2019 10:29:01 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B0170D9F904E22620CC3; Thu, 10 Oct 2019 22:28:52 +0800 (CST) Received: from [127.0.0.1] (10.202.227.179) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Thu, 10 Oct 2019 22:28:43 +0800 Subject: Re: [RFC PATCH 1/3] ACPICA: ACPI 6.3: PPTT add additional fields in Processor Structure Flags To: "Moore, Robert" , "catalin.marinas@arm.com" , "will@kernel.org" , "rjw@rjwysocki.net" , "lenb@kernel.org" , "Schmauss, Erik" , "sudeep.holla@arm.com" , "rrichter@marvell.com" , "jeremy.linton@arm.com" References: <1570714192-236724-1-git-send-email-john.garry@huawei.com> <1570714192-236724-2-git-send-email-john.garry@huawei.com> <94F2FBAB4432B54E8AACC7DFDE6C92E3B9691ADA@ORSMSX110.amr.corp.intel.com> CC: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linuxarm@huawei.com" , "gregkh@linuxfoundation.org" , "guohanjun@huawei.com" , "wanghuiqiang@huawei.com" , "Wysocki, Rafael J" From: John Garry Message-ID: Date: Thu, 10 Oct 2019 15:28:34 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <94F2FBAB4432B54E8AACC7DFDE6C92E3B9691ADA@ORSMSX110.amr.corp.intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.179] X-CFilter-Loop: Reflected Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On 10/10/2019 15:22, Moore, Robert wrote: > John, > These #defines are all already in actbl2.h. Perhaps they didn't make it into Linux. > Bob Hi Bob, Yes, they are in the latest linux mainline release. But this patch is just a preview to backport them to an earlier kernel version. Thanks, John > > > -----Original Message----- > From: John Garry > Sent: Thursday, October 10, 2019 6:30 AM > To: catalin.marinas@arm.com; will@kernel.org; rjw@rjwysocki.net; lenb@kernel.org; Moore, Robert ; Schmauss, Erik ; sudeep.holla@arm.com; rrichter@marvell.com; jeremy.linton@arm.com > Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org; linuxarm@huawei.com; gregkh@linuxfoundation.org; guohanjun@huawei.com; wanghuiqiang@huawei.com; Wysocki, Rafael J ; John Garry > Subject: [RFC PATCH 1/3] ACPICA: ACPI 6.3: PPTT add additional fields in Processor Structure Flags > > From: Erik Schmauss > > Commit b5eab512e7cffb2bb37c4b342b5594e9e75fd486 upstream. > > ACPICA commit c736ea34add19a3a07e0e398711847cd6b95affd > > Link: https://github.com/acpica/acpica/commit/c736ea34 > Signed-off-by: Erik Schmauss > Signed-off-by: Bob Moore > Signed-off-by: Rafael J. Wysocki > Signed-off-by: John Garry > --- > include/acpi/actbl2.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index c50ef7e6b942..1d4ef0621174 100644 > --- a/include/acpi/actbl2.h > +++ b/include/acpi/actbl2.h > @@ -1472,8 +1472,11 @@ struct acpi_pptt_processor { > > /* Flags */ > > -#define ACPI_PPTT_PHYSICAL_PACKAGE (1) /* Physical package */ > -#define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID (2) /* ACPI Processor ID valid */ > +#define ACPI_PPTT_PHYSICAL_PACKAGE (1) > +#define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID (1<<1) > +#define ACPI_PPTT_ACPI_PROCESSOR_IS_THREAD (1<<2) /* ACPI 6.3 */ > +#define ACPI_PPTT_ACPI_LEAF_NODE (1<<3) /* ACPI 6.3 */ > +#define ACPI_PPTT_ACPI_IDENTICAL (1<<4) /* ACPI 6.3 */ > > /* 1: Cache Type Structure */ > > -- > 2.17.1 > > > . >