From patchwork Thu May 23 22:40:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 165077 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2805999ili; Thu, 23 May 2019 15:40:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaCZDb72/d0VkAftHzX3CEIYqHUHUbxbJxkHOKesW6A26Y4XsvOkABSf9czqgwGDRj4HfG X-Received: by 2002:a63:5c4c:: with SMTP id n12mr102160929pgm.111.1558651229439; Thu, 23 May 2019 15:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558651229; cv=none; d=google.com; s=arc-20160816; b=NxPwf83QPICSfzT3mRsABZGU4RtREhHxhWtWN9h9F5f5c2XyRpLm/i8oSIrMLdSwDW 1MvMHeokcjIaNJj/yojAczRMRSn5hbsEDybgZXyPvfoQZsnuHkLs+AfBfjZj31Guilb7 hQb5/Oic4POJEGyHE1Y28gnsC8U+us0D/LJp9o/woOUdWAOopudnCo0c+9/NkyjB/Iyb ySraOFiyQ9c9Tm7/oppf8HMztmkGZrZVZJ26jT73Z5FUdG/8kvynN3T98wVYa9F9fbi0 rszMHMH4sll5/EhrHBofJlhMi5CFtrbF9bRDFFkO/zKXqAmbL/DFSddLcd0x1NR/G2HA YvQw== 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=vn8fGyy76dpRJYYJD17xMlvPakD0djQBxbK+5qKLHV0=; b=hl1VS4Eu4X5DzAevfZmxosYM5j74vE0FCpwNe4OXLooy7AZG++b94Ny7Wco0mYdQBZ A7nzri9p0dUIT5Db13/ZR+mqU7XAupM6RFdc3pKnwDcIYvsdAHTW1U84UAm2TpJVsXky OeX+vDW0erkNkPIkk2RCfyUAGw4DIEpZC9nESaBcnZDku6748Af8v5KiB056mK4viGRW JzLbxRXbEel7S4/rGxTtUz6cCbUvmFNruvXdrqUdCiRpbd09s+Z+XHhdjsQHgJRjc59k iautdQh/5F8no3yqsBScxDfvq6vMH0wxJqdHlWvqhLVuybxMYAzLN/x8IhMjA5h+mYzf Y3Uw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-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 g2si1414619plt.95.2019.05.23.15.40.28; Thu, 23 May 2019 15:40:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-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-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387584AbfEWWk2 (ORCPT + 9 others); Thu, 23 May 2019 18:40:28 -0400 Received: from foss.arm.com ([217.140.101.70]:57868 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387546AbfEWWk2 (ORCPT ); Thu, 23 May 2019 18:40:28 -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 96C0D374; Thu, 23 May 2019 15:40:27 -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 266A83F5AF; Thu, 23 May 2019 15:40:27 -0700 (PDT) From: Jeremy Linton To: linux-arm-kernel@lists.infradead.org Cc: linux-acpi@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, lenb@kernel.org, sudeep.holla@arm.com, Jeremy Linton Subject: [PATCH 0/2] arm64/PPTT ACPI 6.3 thread flag support Date: Thu, 23 May 2019 17:40:13 -0500 Message-Id: <20190523224015.56270-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@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. 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