From patchwork Thu Nov 17 10:25:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 21545 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp321863wrr; Thu, 17 Nov 2022 02:30:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf4pc24OJJE85X3mz13qHsEAJ3Z23GRQYaN3hJlVD7c3x6vlSNGFtNMM2fnBT3kI34a/xNd2 X-Received: by 2002:a17:902:e3d2:b0:185:55db:c328 with SMTP id r18-20020a170902e3d200b0018555dbc328mr2162086ple.71.1668681032456; Thu, 17 Nov 2022 02:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668681032; cv=none; d=google.com; s=arc-20160816; b=ezw3ES1EkgckKsg3e7ujMXG6Tpw6QuaaFkY/KrNU51TAtY92s1SaYNvAifhKz1ZrIR d+yPK5/KZ3gqVfkWmS8bHS3nmamWzw0HSsoN1U9gBPquVF+I5AVWdyxHGQzZnzW/+Uja 9BdkCldGBsG7d+8EW5xJnDHjfNKIskU0rJYnM85h6/Ra27KDVKH9OCbuoswjpvAAlzA5 5av8j69Yd+g7Z6CT79iJ/LS/8XsHpXczejfpnB7v+PZnEBh6oRLBpk8VuxVJ0FfFGe0b I3a7Wtca6efZBiukPuI9PmLbPeW17+5X/GBxj632R5mTr0vktLm83/zMar4JeLpjPO6B rm2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=URWQ9tm87kgq3kfyb2rCvSDbW7h6ghdD+bqtTs05Oc8=; b=tu1BHyzoPAvmDVvXbcI0DZXI5qcjflUdZot76VasJr4b4TgZ5PheUKYkH3uyvf1HCm t/2caBEwuona4VaRnl7ZAzBToBY2fdosmcTXAWtWgVP9LIkC9t4taMwsyFprxC6mIMu2 iKDXFRZQHv156A7Wt0FI4993ZRQ77fYKN5hiAJ2zfzFph2SsHsNqmPqgFgN7VSzF/0EE LfuzJyRIgqI6IiFFZssOMv/vCoMTocVM1UtdCKZ/gCtaMlH7Aq5+3eYJ2m1LOeeLHRRL HKTJVhdVk6gK76MIkx+sL9gWFt2hFWhIefth9kzyAg/nS0gVaKSPlrXH8wD2nAQ0Abku 6BAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020a170903024500b0017f61ac5a53si767166plh.111.2022.11.17.02.30.18; Thu, 17 Nov 2022 02:30:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234508AbiKQKZu (ORCPT + 99 others); Thu, 17 Nov 2022 05:25:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiKQKZt (ORCPT ); Thu, 17 Nov 2022 05:25:49 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C4F53E55; Thu, 17 Nov 2022 02:25:47 -0800 (PST) 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 E19C213D5; Thu, 17 Nov 2022 02:25:53 -0800 (PST) Received: from e126815.warwick.arm.com (e126815.arm.com [10.32.32.26]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2E35B3F73B; Thu, 17 Nov 2022 02:25:46 -0800 (PST) From: James Clark To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, James Clark , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: fvp: Add SPE to Foundation FVP Date: Thu, 17 Nov 2022 10:25:36 +0000 Message-Id: <20221117102536.237515-1-james.clark@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749738882511571430?= X-GMAIL-MSGID: =?utf-8?q?1749738882511571430?= Add SPE DT node to FVP model. If the model doesn't support SPE (e.g., turned off via parameter), the driver will skip the initialisation accordingly and thus is safe. Signed-off-by: James Clark --- arch/arm64/boot/dts/arm/foundation-v8.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi index 83e3e7e3984f..b8c1a674fb43 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi @@ -84,6 +84,11 @@ pmu { ; }; + spe-pmu { + compatible = "arm,statistical-profiling-extension-v1"; + interrupts = ; + }; + watchdog@2a440000 { compatible = "arm,sbsa-gwdt"; reg = <0x0 0x2a440000 0 0x1000>,