Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp140455imj; Fri, 8 Feb 2019 16:47:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IZySqmPipWGvpS0mTUkCMJI6/YB6gXb43Sby2kpXy9Zn5cpeDYNi7ogSb7E3d4O61WoufZz X-Received: by 2002:a63:1143:: with SMTP id 3mr22874378pgr.447.1549673271493; Fri, 08 Feb 2019 16:47:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549673271; cv=none; d=google.com; s=arc-20160816; b=ubbhOUSJf5Dl3bRG5yjqfMQqN/wibdMHphvznLycH4N/aYYXU1wgBxqJC8auNoek7d DLsDJ1S6z0E4LDyL/VcbANhu2MQQWbtrXJqSMt4H92UPEaBy4BZckFerv3rGX9ldTwd2 qlxQRi1aeoUoNJlUjWsrxialnK19CQ599uGbJ0Jx41WDPlj6HOq5ED5XD6ydwZYQ4JRL AIWkkMyDyHO494vK+rdp/GXmXs8UvNAt68Ddg/Pxc4TOB1HcJAAOHCagCBdNTa+ub+eV P1Jk07h7pHDpLgpFQMunrkKqilFMauIj4NxE3aDhVzk0FUJv16jLvNBIaLFSKQ1299bO cHkw== 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=sPPC9gxFyQ8kIvzwff04CXueR4X+9mw0q2jnUCtg9JIvuSFKlLlyJIrYZdsAJCo7RM 8p101er0FexDXmeV5NvF6daj1mVKbZgsTp1rWnBf+gzuFr3vTvMUOH34wiyPKCZ8ygLP ZnjXb7FSXN3cnr+3Ws7rsC9ifmetwOJ7vqRmgQZ9t+h9oSkuyQaU7VJDCANGOQ4wqBFK Cv0RbmZxTSCge3O6P3TGDR1Rctzs/TtwJ4ZpVGBxByGBgzvTPf9F78i5t3OC8b4f+6DI Ma52/jxf/ATuAjq9R0F7vGJ7mwjKf8crwtTDe4KbWvH4F6w8XX1vqLsKYap/3EaUWSIu We9w== 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 r29si3660422pga.477.2019.02.08.16.47.34; Fri, 08 Feb 2019 16:47:51 -0800 (PST) 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 S1726831AbfBIAr2 (ORCPT + 99 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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