Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1057278imm; Fri, 29 Jun 2018 10:37:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI62ZU6TPchKuTpGgvKlELVwF0/Y9T9SRuPc77ElgxRkDmR7oQ4k8z0ITdfcJ6hdsTswfOj X-Received: by 2002:a63:2c94:: with SMTP id s142-v6mr13106573pgs.39.1530293842834; Fri, 29 Jun 2018 10:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530293842; cv=none; d=google.com; s=arc-20160816; b=VluosY2AxmZ4yOZeI4FtUBSQs3YRrH6ga3m9E1D60rWRIJMPFJsy+q1aTmXPX4oURS e92wWAqrwl36OZDtqGbof+EuAFOdDkbXDCH6eAeD6l6egPT1TY1BllJjugnjt46Aeqy2 Z7sF1YZ83+gRIdAak7/cwY219YkVS2tuBuPEPCGiqfiVcH7ngmQVU2WGUzFy3A4T/FXX YB2p+7lo5h90AcFVS6y41yFbCQjFn4sqnP9/82lCgMv0xCXQfoCJwU5di2JvM+Uzg3TK mmONNikBuH/HTPbKCE3jx/dQ5fGPI5cvIwy3tuGyeun8N46SGa9UF9UkqfuR8EpHI/Eu 94Tg== 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=8VqJIXd+9CAzZC0SqHO+K2uIcVDjBMt6Q9gsLnJhZG8=; b=GhCjMT2Hu5qCn1f6SiyLDUBpMRdjg2E51TJZuZhUOXPKzPZhEIFUoCPuDdD4KHuNgD dr/gCs0i5/5uPoHdC5MCLgRXQVAUJQLn57Z7h+p+5wePCoUXkI/3tCdAKej5Fo/IRMeI vurbUjNb0HLuVtDJ3zFO2MsJVV7caoiyaHEtY5wvXeH/DK/jhZ5aUNtKBlF+azQiyEn+ xIJcHJBTvsWYGx2dPVJuOMLwwy4xhPQo1GA7o8LNLNpihQ44zo4qM+vejh17bsksTWb/ lqvogtdKtnmg/qc0W3btfFoz5/1GXak//6CmWXHAqxADsakBj5gaLk7Lv8AjqyiPdfzW oybw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4-v6si7746093pgc.450.2018.06.29.10.37.08; Fri, 29 Jun 2018 10:37:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753626AbeF2RDk (ORCPT + 99 others); Fri, 29 Jun 2018 13:03:40 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33944 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750965AbeF2RDi (ORCPT ); Fri, 29 Jun 2018 13:03:38 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 41B0240201C7; Fri, 29 Jun 2018 17:03:38 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.43.2.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8986B2156880; Fri, 29 Jun 2018 17:03:36 +0000 (UTC) Date: Fri, 29 Jun 2018 19:03:34 +0200 From: Andrew Jones To: Jeremy Linton Cc: Sudeep Holla , 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 Subject: Re: [PATCH] arm64: acpi: reenumerate topology ids Message-ID: <20180629170334.3ab7ngru3abxcobf@kamzik.brq.redhat.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30d56d70-6043-0ad7-4530-208fab18c8d4@arm.com> User-Agent: NeoMutt/20180622 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 29 Jun 2018 17:03:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 29 Jun 2018 17:03:38 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'drjones@redhat.com' RCPT:'' 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 11:48:15AM -0500, Jeremy Linton wrote: > Just to be clear, there isn't anything (AFAIK) in the ACPI specification > which dictates what values should comprise the various ACPI id's. They are > assumed only to be machine readable, which is why it seems some > implementations are just using a sanitized version of mpidr for the > core/MADT acpi id. That is why simply using the id flagged as valid in a > PPTT node doesn't necessarily give you a more human readable value. I didn't expect them to be sequential integers, but I was starting to see value in them anyway if they were expected to be some something stamped on the socket. > > 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. Thanks, drew