Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp357185ybl; Tue, 28 Jan 2020 04:35:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyJOfpGy929t4RyQETdw6i7WTMAeQGXMdZ2pHMxcHd2JMNCmyiT11jG1WXx1+37YPxsQI1a X-Received: by 2002:aca:cf12:: with SMTP id f18mr2681879oig.81.1580214923799; Tue, 28 Jan 2020 04:35:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580214923; cv=none; d=google.com; s=arc-20160816; b=D7xS6jLZC5PiV2WgRKiEBN36mEJDYfbCCQfVOkqxxtq3W5IsY7YryAwwGmrpgBi1DW qix5PBWcsdS6RI63a+iWN0w2qiApphJg8Tal6lpCKpvPx8pt7v83v6sUjhTkRrzZvSDb eH3n4WdqSWFC/wTCHoS1626lpICDWEJ0UQKhuThZ5/ftQo4cHDeh6zGi0Z2xAZxfRZXP B5gjBccdZTYI5l2ybI2dXSnhUQwKPCULGLAnRlVitb5aQ8A3gAsWfVcQV1tDnf7P5wsw VOX2/hx6NSQ3jJ08kLsf3YaaVJg57saTPg2FMhjRjyB0X9+P7GHk9WStBG/5bEFO6Tvi w1ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ROdhrQTwbey/jFqw/EVYUFbn8P6LqytVBVxBJFpjYIE=; b=AjwKWRY0LCM7jl4rNv1MWD8yt6RcqGLLDceXed0uK32rDPAWT2W9AXZvz3BKdoyyJd Ie+y4NJuztk0evLrXyg3d9gQealCkaqde8FMETC9YsnrNE1Slmr6O6hTvWqzLLo7H8au V1MPN7PLCGm0R3cLX0LNCXIkbH7ePQerDL4h4rW4ZIhCAaeT6/iSIHfKDUarJ2JzL5A/ GY6Jqykl9doxCEfF0SchUCXixB89ldF64f4PaMvEO/MLe9vANGFq9jRGS+Gu/EgzdAnJ ZXcxRPwMBBCsugtSI7PhUvWAyAPTyLQXcC5iEYCXcWQIyswV2pvQTm1Icj15dHJP5Oha dgaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si8816633oti.306.2020.01.28.04.35.11; Tue, 28 Jan 2020 04:35:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726067AbgA1MeT (ORCPT + 99 others); Tue, 28 Jan 2020 07:34:19 -0500 Received: from foss.arm.com ([217.140.110.172]:56188 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgA1MeT (ORCPT ); Tue, 28 Jan 2020 07:34:19 -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 A3346101E; Tue, 28 Jan 2020 04:34:18 -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 366903F52E; Tue, 28 Jan 2020 04:34:17 -0800 (PST) Date: Tue, 28 Jan 2020 12:34:15 +0000 From: Sudeep Holla To: John Garry Cc: rjw@rjwysocki.net, lenb@kernel.org, jeremy.linton@arm.com, arnd@arndb.de, olof@lixom.net, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, guohanjun@huawei.com, gregkh@linuxfoundation.org, Sudeep Holla Subject: Re: [PATCH RFC 1/2] ACPI/PPTT: Add acpi_pptt_get_package_info() API Message-ID: <20200128123415.GB36168@bogus> References: <1580210059-199540-1-git-send-email-john.garry@huawei.com> <1580210059-199540-2-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1580210059-199540-2-git-send-email-john.garry@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 28, 2020 at 07:14:18PM +0800, John Garry wrote: > The ACPI PPTT ID structure (see 6.2 spec, section 5.2.29.3) allows the > vendor to provide an identifier (or vendor specific part number) for a > particular processor hierarchy node structure. That may be a processor > identifier for a processor node, or some chip identifier for a processor > package node. > Unfortunately, there were plans to deprecate this in favour of the new SOC_ID SMCCC API[1]. I am not sure if you or anyone in your company have access to UEFI ASWG mantis where you can look for the ECR for the PPTT Type 2 deprecation. I understand it's not ideal, but we need to converge, please take a look at both before further discussion. I personally would not prefer to add the support when I know it is getting deprecated. I am not sure on kernel community policy on the same. [...] > > The ID structure table has a number of fields, which are left open to > interpretation per implementation. However the spec does provide reference > examples of how the fields could be used. As such, just provide the > table fields directly in the API, which the caller may interpret (probably > as per spec example). > The "open for interpretation" part is why it's not being favoured anymore by silicon vendors as OEM/ODMs can override the same. > https://lore.kernel.org/linux-arm-kernel/1579876505-113251-6-git-send-email-john.garry@huawei.com/ > Ah, there's already quite a lot of dependency built for this feature :( -- Regards, Sudeep [1] https://developer.arm.com/docs/den0028/c