Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1830274rwb; Thu, 17 Nov 2022 02:39:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5sGcFjxadT44TuCcZhslWxxkD06n9C+A4x0t437oJW/Z8vYXbP9J0QRPDYhDhhJEsxSte2 X-Received: by 2002:a63:2744:0:b0:46f:640:cb37 with SMTP id n65-20020a632744000000b0046f0640cb37mr1447712pgn.519.1668681573372; Thu, 17 Nov 2022 02:39:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668681573; cv=none; d=google.com; s=arc-20160816; b=sbZB6R9ceO6Y4TuT+2h2Dlyb2mhKeoikHykSpI4Hlixgx1ci10UWvsaQ0KRlgz0NWV r+NmrynHLs9NHAO3iQWZRpMM5/hEGn1G2zSF322XYDxJ3rmhIguzPwI+cJuNR5l5PCQy MhwZYhH91w+LakkRJ4o8O1oY2R78UR6iKW2N16FblQgDgqR4ciZlpRnlut5EF7xFYiXJ dYuk2wUycXKwYVVQdDpbyqMiUKbxv1rygRLA4fr2eBI5ApmEcD9Co56s63/RUPWaz1Ru Rkl9WZ2+XVl7Eksiei5LGn1NsXR9Z3OOv49M0nYcM2s6SodU5PlkAA45fDnswU+1hwDR p7wg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a63e043000000b0046f4d395e6dsi666222pgj.573.2022.11.17.02.39.21; Thu, 17 Nov 2022 02:39:33 -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 + 91 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 Content-Transfer-Encoding: 8bit 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 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>, -- 2.25.1