From patchwork Fri Jun 14 22:31:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 166931 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp34193ilk; Fri, 14 Jun 2019 15:32:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT8gN4zjcu1X1Gf0t0/SVhP+CquVX+IvfG7pinBU4p6XuflzBV/TDdrdD6ZuyHgY2SOc6A X-Received: by 2002:a17:90a:ad83:: with SMTP id s3mr13292011pjq.43.1560551531815; Fri, 14 Jun 2019 15:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560551531; cv=none; d=google.com; s=arc-20160816; b=UttV9IciWx/A2dWSxqSVRlEgn4zcVmm1uIFaJtcv9bN6dq2EParRsj4dW7tW5JL/1s nDMxYENJXphXkIRm0185TFwGYhJ+2du2C0t6I+gszTuBr+XgHYW1VG/Go0hxot5gfp3a Zack8fyNjWg88Ey3tGN4wlyoVOasyrSkdUTW444HJHdSA+ss3P8WtBRNaagk9ywe7EFn 9q0mVODrq4pdnjcm9cPwSt+zIVGUI/SOXSgK5Bgz49cueQCHFtoQzajawSJdaC4qDfel ysRkLXx8v/u0yha5lkFHiyqG3sEEqYK2PEy+jsiVz+eU9fPQZFqkJNqB3CDVDlov6dR/ aYuw== 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=GXbrysKUT0OGt+r0ZneYKa/U84Zto0wBruNt6/mvPpwYbw5T3YvbasXzChLpfK0PCp 7bvyMJTNX20GxUMmuj4ka0tXkDeRXDPd5JA+sqtGpfti2DvKeTcT+z5rZ3pe6eWBf7cl jmTn7uKfl6W/Ly1xGYZ0foYKTmCa5C79fUeun9dwP8ykQoLFmVNYfu4zs0GXhVYlvN9T Dag5pv+uYY9MhZQHjfDqSre18HAiIth3lHImubep7EzcWnTHpxuVjj94zwvrMHskxFiu 9j4KWX+UI94r7FhvMpf30fWxzeVIxERO5Cn21/qzTshyDDapk480+xO+sn+3esh5T2FP qgTQ== 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 k18si3702865pgh.244.2019.06.14.15.32.11; Fri, 14 Jun 2019 15:32:11 -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 S1726274AbfFNWcL (ORCPT + 8 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 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. 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