From patchwork Sat Feb 9 00:47:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 157897 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp118734jaa; Fri, 8 Feb 2019 16:47:29 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibu3nfvWKospY31sSgJU9i83/6MytprlYOkoaaLg/Q/fP5MOJgHu0A10OoX4k3K7ALu/c4U X-Received: by 2002:a63:7044:: with SMTP id a4mr22828335pgn.359.1549673249798; Fri, 08 Feb 2019 16:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549673249; cv=none; d=google.com; s=arc-20160816; b=WUpY2LZcW40i82lhj+mqU6auLw4nwDHAYEKeH9M6XDpPnlAF+wlFhoLyR02b6l1wxp vsxLAzAiFnp13QyLZ/HCuUAF9geh5S+V4Q9NGIYCyeegWDUuyCipJp1yxoBYeXiMFXls qofWZrJfVYEY+WowOiUYPj3IQaHybM9VyBJnQGhWHTZYxZ5JhJ5x8z2XYVlrdurzyuR6 yjghAgEQ7ldAjKKHGGDgkQpYYMnQq6P5APF44SMitN8XMksr8wJCzeW5646N3bJrwqMR 2TtQT2TKviHm0iQgMTTmP6PIijSDrTsWFaSjQEJHw02y2mnKpnoqY03i7iLPP7d4bJmy 9W+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Qqq16yzUyc9/dVCMbJe90iqpslvgApRMk2beW1b4lKM=; b=pDcVEJZx3T13KqPA6dmsoXugFCysvuefNTgT8Cz8UR/HGO+5bYakC0cgECS1mN/rcv cM7j85g+WiBif3Qt0PQ6VRSgMhJpSfrF2TqOCbtpggWi5kqY0m5xwhZVOyUEqKkYxp1G 66j79bIuJfemrkt0ohauC6GcFdceRfzB0WpH8BYm8L6sn12zETFsykdyLNM+0ydyujI/ 7r8cTux55JO6dGFVJ/qw3b/FyEMkB/xnqy8fhabqCgzV84zmEB1JhF4XDwpKeCjT01hZ 1VaVEQqXKD4O3fFE+k79BjugoIl5eL/kN9WH0lhuTcEfghHFoiEbaLXtCZ+aKwvohgBB mMBQ== 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 p4si3736902pls.45.2019.02.08.16.47.29; Fri, 08 Feb 2019 16:47:29 -0800 (PST) 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 S1726565AbfBIAr2 (ORCPT + 9 others); Fri, 8 Feb 2019 19:47:28 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58566 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726222AbfBIAr2 (ORCPT ); Fri, 8 Feb 2019 19:47:28 -0500 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 0A612A78; Fri, 8 Feb 2019 16:47:28 -0800 (PST) Received: from beelzebub.austin.arm.com (beelzebub.austin.arm.com [10.118.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 681083F719; Fri, 8 Feb 2019 16:47:27 -0800 (PST) From: Jeremy Linton To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org, catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com, robert.moore@intel.com, erik.schmauss@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org, Jeremy Linton Subject: [RFC 0/3] arm64: SPE ACPI enablement Date: Fri, 8 Feb 2019 18:47:15 -0600 Message-Id: <20190209004718.3292087-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.17.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org This patch series enables the Arm Statistical Profiling Extension (SPE) on ACPI platforms. This is possible because ACPI 6.3 uses a previously reserved field in the MADT to store the SPE interrupt number, similarly to how the normal PMU is described. If a consistent valid interrupt exists across all the cores in the system, a platform device is registered. That then triggers the SPE module, which runs as normal. Jeremy Linton (3): ACPICA: ACPI 6.3: Add MADT/GICC/SPE extension. arm_pmu: acpi: spe: Add initial MADT/SPE probing perf: arm_spe: Enable ACPI/Platform automatic module loading arch/arm64/include/asm/acpi.h | 4 +++ drivers/perf/arm_pmu_acpi.c | 67 +++++++++++++++++++++++++++++++++++ drivers/perf/arm_spe_pmu.c | 11 ++++-- include/acpi/actbl2.h | 5 +-- 4 files changed, 83 insertions(+), 4 deletions(-) -- 2.17.2