Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1462521ybi; Fri, 14 Jun 2019 15:33:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxG6eH25UxMdi7YYS0lXbS8/j4fPBPljRjVjLeg/auxSxQLCf16/fAZlIzRmZDtuiKK7Dk X-Received: by 2002:a63:eb55:: with SMTP id b21mr37004065pgk.67.1560551604238; Fri, 14 Jun 2019 15:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560551604; cv=none; d=google.com; s=arc-20160816; b=pwpy3/wCwdq88mIgtQAKwscH8O4UnNgTNxxgP+Xycd56vLnILO2bNJb6UgBNI/iHhr FDjJwlzaT2ZhwESSQRW7KHqKmzOrIZQAy5gmm5npwiv7Vb/Rx43wiqKPPqFvyf07FZ1y RwJ2saUNJisfyDokNrRtVORzoulyMKX8kezZe3kMD4ZqtkWJ3Ihw+ZDTvldH1FAOfRm4 cr7xkH/8v/djwJhVvMGwU2fs7xR6RJhmOKoB3d/F19y+S+jLr8qJOLOEqhiNbww3+nFQ Mq5u/O4+invYOUIpGL6OkxpOgbbKdIHEquWcm8LgTXYMSwvaH6/Dmb0DicFLuinGji/g LO4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=oANayF9Ms5DJi8ODnFTDtrr+maie3X2R8qLdNh4kBGw=; b=YaQdkDuWmT1J8nZvh0PvOtvpTSH11H0CblgVDbE9mYIJ6oJTInzWXuPOpYzCtJssGT hAXgvujsaru+8GfV80E0I9RrBjrEqglXh5X2BI4YvuS+W/bhmzob8+Uw9588jrPiG4kX v8cyGzI8hADHcbTtODhN2FiIEUpJw8IDDZ8pKQRMSwMTJvbcHxtK+kUGg7T7GXzhFb4P 1/EIlojKk4TsV0gMhOCpFRr4cMI0+SNaxdfbU/ilxfk3rh8rt6Y8fbm5GCn6IvSidNeN eRxbwNxoEsIzVmDHmCF89SG5TX1quzSa/BR65VqnJIhoGyFGbj1CaKAkYvlfBRQ9L96K vNYA== 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 b17si3340433pjq.20.2019.06.14.15.33.09; Fri, 14 Jun 2019 15:33:24 -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 S1726300AbfFNWcL (ORCPT + 99 others); Fri, 14 Jun 2019 18:32:11 -0400 Received: from foss.arm.com ([217.140.110.172]:43050 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725812AbfFNWcK (ORCPT ); Fri, 14 Jun 2019 18:32:10 -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 4F9D428; Fri, 14 Jun 2019 15:32:10 -0700 (PDT) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.30.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3DC2C3F694; Fri, 14 Jun 2019 15:32:10 -0700 (PDT) From: Jeremy Linton To: linux-arm-kernel@lists.infradead.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, sudeep.holla@arm.com, lenb@kernel.org, Jeremy Linton Subject: [PATCH v2 0/2] arm64/PPTT ACPI 6.3 thread flag support Date: Fri, 14 Jun 2019 17:31:56 -0500 Message-Id: <20190614223158.49575-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ACPI 6.3 adds a flag to the CPU node to indicate whether the given CPU is a thread. Add a function to return that information for a given linux logical CPU and then utilize it while building the arm64 topology. v1->v2: Return ENOENT instead on ENONET. Jeremy Linton (2): ACPI/PPTT: Add support for ACPI 6.3 thread flag arm64: topology: Use PPTT to determine if PE is a thread arch/arm64/kernel/topology.c | 8 ++++-- drivers/acpi/pptt.c | 53 +++++++++++++++++++++++++++++++++++- include/linux/acpi.h | 5 ++++ 3 files changed, 62 insertions(+), 4 deletions(-) -- 2.21.0