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=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,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 0906DC3A59E for ; Wed, 21 Aug 2019 13:20:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC62A22DD3 for ; Wed, 21 Aug 2019 13:20:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728254AbfHUNUW (ORCPT ); Wed, 21 Aug 2019 09:20:22 -0400 Received: from foss.arm.com ([217.140.110.172]:57504 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726371AbfHUNUW (ORCPT ); Wed, 21 Aug 2019 09:20:22 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 84568337; Wed, 21 Aug 2019 06:20:21 -0700 (PDT) Received: from [192.168.122.164] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B8ED3F706; Wed, 21 Aug 2019 06:20:21 -0700 (PDT) Subject: Re: [PATCH v4 1/2] ACPI/PPTT: Add support for ACPI 6.3 thread flag To: John Garry , Will Deacon , "Rafael J. Wysocki" Cc: "lorenzo.pieralisi@arm.com" , "rric@kernel.org" , "catalin.marinas@arm.com" , "rjw@rjwysocki.net" , "linux-acpi@vger.kernel.org" , Robert Richter , "sudeep.holla@arm.com" , "linux-arm-kernel@lists.infradead.org" , "lenb@kernel.org" , wanghuiqiang References: <20190808204007.30110-1-jeremy.linton@arm.com> <20190808204007.30110-2-jeremy.linton@arm.com> <20190808222518.5q4fhd2tvs4lb6aw@rric.localdomain> <20190812115907.kugk57jvv3g2r66a@willie-the-truck> From: Jeremy Linton Message-ID: <72ee16ea-1038-37a1-25b1-f28b5c6b6edb@arm.com> Date: Wed, 21 Aug 2019 08:20:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi, On 8/20/19 4:01 AM, John Garry wrote: > On 12/08/2019 12:59, Will Deacon wrote: >> On Mon, Aug 12, 2019 at 11:06:07AM +0200, Rafael J. Wysocki wrote: >>> On Fri, Aug 9, 2019 at 12:25 AM Robert Richter >>> wrote: >>>> >>>> On 08.08.19 15:40:06, Jeremy Linton wrote: >>>>> ACPI 6.3 adds a flag to the CPU node to indicate whether >>>>> the given PE is a thread. Add a function to return that >>>>> information for a given linux logical CPU. >>>>> >>>>> Signed-off-by: Jeremy Linton >>>>> Reviewed-by: Sudeep Holla >>>>> --- >>>>>  drivers/acpi/pptt.c  | 53 >>>>> +++++++++++++++++++++++++++++++++++++++++++- >>>>>  include/linux/acpi.h |  5 +++++ >>>>>  2 files changed, 57 insertions(+), 1 deletion(-) >>>> >>>> Reviewed-by: Robert Richter >>> >>> Acked-by: Rafael J. Wysocki >>> >>> and please push it through ARM64 along with the second patch. >> >> Thanks. I'll push these into -next shortly. > > > Hi Jeremy, > > We're considering requesting this support is backported to stable. We > have a platform which incorrectly sets the MT bit. To update our > firmware to PPTT v2, we need the kernel to support PPTT v2 also. > > Please let me know if you anticipate an issue in this. No I don't see any issues with that once it lands. I believe the ball is rolling in the case of some older distro kernel's as well. Thanks,