Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1186004imm; Fri, 29 Jun 2018 13:01:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJPbH6Hdwv2KUpefOosExM3MokT4b76A5hssjHtfd0431kuVwOIs7WjUf0n4tp6T2+Z9rfQ X-Received: by 2002:a63:b213:: with SMTP id x19-v6mr13733349pge.393.1530302477879; Fri, 29 Jun 2018 13:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530302477; cv=none; d=google.com; s=arc-20160816; b=0rjVzmo6Mjq+t/qvUxcofJqmwQbORCiMLMThGQSz3L2hFTGiF8+be1x3D9Tv/UQddZ oKbzXtEoWJrjvwxHUPqOmiMzh5DoiAdQ1EojA7U3Ng1j41Cx/VDQwVjkS9lkZwxZl5Oy IXfIVt4oMmzYu0AA8vYJwUTQakJlz3nNMGxZpLYH3JTD4y73D4n4LT6ewZvz+FcY8dhl p1IvRyK0E/bcCSJ/lei0iWL2HOkaF0mLaKO+q+z03s0XYw+Eyw7p7KJrjl7hidozHg5x P6tZj/7X2yY2ZWhE/57idsZ6kotxXDyJzakiwz/r+WuTZygWgQkRAiMzpaJezCLHwOsA KgXg== 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:arc-authentication-results; bh=ES4GBNGIaV3nRzSxnLLO+i3sWKhP9Il7BgpWU190DvU=; b=RBIfl8L9j07skGB5fvfIK+qfnr8jJ2Y7mfEo6fHrP+28Lptixz1DBnzGDfJyTcOnWp MpiPvG9HR8v+fpV1d770xk+P05V090UY9qdKpEvwoqAkAfHjKYdIroXp/rrz+ETTqJ78 lCUr1yoY6l3hVpHQoiTxaXjs21NeHavVCish22PI8fRWxOkB4N1G4U3pWLDzFYsegToj Cqsqf51nZSLPl5/YBYq8TpXaoJfGm18ae625NolfEPlXFCaVsGxfC/kq3g+pksqdF6aS AUM64DYsXDppxdOUcHNj3R2VJCjJMkX4VBm1OrBR5qMuQP/M5Eh+3F6Ln+6h7GyiQYg4 i1Ug== 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 a81-v6si9981833pfl.349.2018.06.29.13.01.01; Fri, 29 Jun 2018 13:01:17 -0700 (PDT) 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 S1753537AbeF2RXZ (ORCPT + 99 others); Fri, 29 Jun 2018 13:23:25 -0400 Received: from foss.arm.com ([217.140.101.70]:37516 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbeF2RXY (ORCPT ); Fri, 29 Jun 2018 13:23:24 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4505918A; Fri, 29 Jun 2018 10:23:24 -0700 (PDT) Received: from e107155-lin (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 748C63F5AD; Fri, 29 Jun 2018 10:23:22 -0700 (PDT) Date: Fri, 29 Jun 2018 18:23:15 +0100 From: Sudeep Holla To: Andrew Jones Cc: Jeremy Linton , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ard.biesheuvel@linaro.org, shunyong.yang@hxt-semitech.com, yu.zheng@hxt-semitech.com, catalin.marinas@arm.com, will.deacon@arm.com, Sudeep Holla Subject: Re: [PATCH] arm64: acpi: reenumerate topology ids Message-ID: <20180629172252.GA6906@e107155-lin> References: <20180628145128.10057-1-drjones@redhat.com> <20180628173243.obydzakh2stfs26w@kamzik.brq.redhat.com> <20180629102927.GA18043@e107155-lin> <20180629112354.hefdl2pe72frl6x3@kamzik.brq.redhat.com> <20180629132934.GA16282@e107155-lin> <20180629154608.nqudibf54ti6dpjc@kamzik.brq.redhat.com> <30d56d70-6043-0ad7-4530-208fab18c8d4@arm.com> <20180629170334.3ab7ngru3abxcobf@kamzik.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180629170334.3ab7ngru3abxcobf@kamzik.brq.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 29, 2018 at 07:03:34PM +0200, Andrew Jones wrote: > On Fri, Jun 29, 2018 at 11:48:15AM -0500, Jeremy Linton wrote: [..] > > > > If you want a human readable socket identifier that matches something > > stamped above the socket, that is what SMBIOS is for. Queue discussion about > > that tables reliability for functional ids. Either way, as the spec is > > written today (or any ECRs I've seen), your definitely not going to get both > > nice socket1, socket2, and cpu1, cpu2 out of the same PPTT/ACPIid name-space > > since the numerical id's conflict. > > > > If we don't expect the ACPI processor ID to be something useful to users, > then I'll revert back to lobbying for counters, as those arbitrary numbers > can't be less useful than arbitrary offsets and ACPI IDs, and, IMO, are > more likely to make users/user apps happy. > I agree that ACPI processor ID may not be useful to the users, but providing some counter based ID which is highly dependent on the ordering the firmware table which can change between boots is highly inconsistent and unreliable and in some sense break user ABI. So I still NACK the counter based ID. -- Regards, Sudeep