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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 0A811C2BA83 for ; Thu, 13 Feb 2020 14:00:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDC20218AC for ; Thu, 13 Feb 2020 14:00:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730177AbgBMOAL (ORCPT ); Thu, 13 Feb 2020 09:00:11 -0500 Received: from foss.arm.com ([217.140.110.172]:46962 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730036AbgBMOAK (ORCPT ); Thu, 13 Feb 2020 09:00:10 -0500 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 2909F1FB; Thu, 13 Feb 2020 06:00:10 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B4C03F68F; Thu, 13 Feb 2020 06:00:08 -0800 (PST) Date: Thu, 13 Feb 2020 14:00:06 +0000 From: Sudeep Holla To: John Garry Cc: Jeremy Linton , "Guohanjun (Hanjun Guo)" , ACPI Devel Maling List , "liuqi (BA)" , wanghuiqiang , "wangxiongfeng (C)" , Sudeep Holla Subject: Re: About PPTT find_acpi_cpu_topology_package() Message-ID: <20200213140006.GB31787@bogus> References: <7a888a84-d4c5-2b49-05f3-29876d49cae6@huawei.com> <20200212115945.GA36981@bogus> <20200212135551.GB36981@bogus> <1a04ddf8-4903-2986-a94e-c070dc2c2160@huawei.com> <3c15a54a-18ac-265e-c16c-272577b9dead@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Thu, Feb 13, 2020 at 11:52:09AM +0000, John Garry wrote: [...] > > As for when it's not set, it's unclear. My understanding is that the ACPI > processor id should still be used as the non-leaf node identifier, but it > would not match a UID for a processor container (as it may not exist). > I can't infer anything that matches your understanding from the spec in this regard. If it's not set, then it is left to OSPM. > The kernel does have behave according to this. > According to what in the specification ? > So how I am misinterpreting this? > May be you are not, it is just ambiguous in the spec, worth checking and fixing if it is an issue. I reiterate we don't want to generate anything in the OS for this purpose. -- Regards, Sudeep