From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48039C169C4 for ; Sat, 9 Feb 2019 00:48:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 143C820855 for ; Sat, 9 Feb 2019 00:48:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ew8m0sgF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 143C820855 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=LVLu0w/whGBWH05DYFMFqdhWGbZBxLT7qTct2V907Og=; b=ew8 m0sgFmYMLQTTErIrGzYpmQlo0+OzqDl5o1Jxf/yFObKm999/adu6BpRiUGcgx6jB65K9rmVk3FTY5 Md2oV64JCC9N+482xPPGzm7a0DWZ5cj6OROhLt6XZtwvSpcNLLscnviUa7A4EpBVIWmw3wyi/gpKY GNHu0j6vY1g2gzeOh3WUSr+NZDt6F4/B9ddwiIglC0vQpddM7UYUSqfoMFpjWJoGSvffMPELrocrb gOPipI+z21vkKWelQBrAauG4PpBH1Stw0GYTF5lQwRW3faBFsBw1qAkMohSyOeguUAQgphu/ka0/d dZNxExeTa9gxin6riM4dvGo0xEXWpcA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gsGoa-0006LL-NE; Sat, 09 Feb 2019 00:48:16 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gsGnv-0005cx-OX for linux-arm-kernel@lists.infradead.org; Sat, 09 Feb 2019 00:47:39 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190208_164735_994227_2ADD4B70 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, catalin.marinas@arm.com, rafael.j.wysocki@intel.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, Jeremy Linton , robert.moore@intel.com, linux-acpi@vger.kernel.org, lenb@kernel.org, erik.schmauss@intel.com, devel@acpica.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel