From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=207.54.77.50 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796043107; b=yVDEpWRR5BNJYkHRTxTR72PZf6a2IVDlDA8OvblT/KZrMj8EMvninYuFCVJ+cB+qnwxy Xg4xT/OlzxS+Hfxg+0rN+g5Wdrt+BFzEdIKQLh2SwttpY68hsZqlX4cwqgRfhkdJlcfyr qvlf/cSVodVEDggbXhr79Uy/Pt6TUjnLR78xMgT6rSML4M1diXrFg9Hb7K9+NQ2KIuN5y MOqsWX1c6wx2RQFK2oKzwH/A3qUFC2ZRbJatONjPzI320TcnD26JDwnQcuCD3FUtgDa85 yAvvnNLHf7w7PW5mUXoVYK+9euNGdtz+9r3R4n2LNyftm1ABEeHM/ls9UQl0f9UrNxw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796043107; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-Amp-Result:X-Amp-File-Uploaded:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:Received:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer; bh=mWucQTu1TaBmJMfiM3lszjkz2QiHt7bmlJiqMOG/ycE=; b=E1q0A21rR69tQ72bxK/+SAlw4mpEBLPJHDw6ek33QSSeUWZ4Jmtme1CoHhy97rdmFXkd yqrrkgA4xnFUsTQXD35rWFM7W7UndutfQOrpQ9wVb2eo9RtwjVs3wnvJSl+C7xV8PeTjj oxosDkLHQxhWDmqJIr9DowXpdkJwyRl8/T3P7UcFU7FHzx1Tu1B18U7qKiCqARmuh+OXD CV9M/6/sPE3vInde9BRT+8oC7FNjOxh4v+ZttW54kZUgnW4jlMJzfaxuHyoFWIr598M/Q uCpR90KjodVl1VKH/lQRIH+SUH6ZUEE7+H8n9JdGc20yPvkvEf5+mcpDPSMEVawXlYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=mobileye.com; spf=pass smtp.mailfrom=mobileye.com; arc=none smtp.remote-ip=207.54.77.50 Received: from esa3.hc555-34.eu.iphmx.com (esa3.hc555-34.eu.iphmx.com [207.54.77.50]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EE7D606A681; Mon, 30 Nov 2026 12:51:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7EE7D606A681 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mobileye.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mobileye.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mobileye.com; i=@mobileye.com; q=dns/txt; s=MoEyIP; t=1796043107; x=1827579107; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=BAc8zF8qWs4khX6bfZ1lpkgoCKvNp2qOYJSfFJ8kldI=; b=o8ph7g6wdcE6LRDUAT5LkE+KqeNjI7ogpeADP0AcvP56Qkvd0cHgdsBT b6R3tys2sOqo++yQvkRkJktogJ3QIoxmJqtDMY7iMHaRfNHjBCQWSbNmM mh5Jxx59jDk4pYRaD92tXSTkd9a+iGUhSETpd1LujvH1FR/ihaK7M94n8 tn+Of9ZxqyFHP6OaUtj7H6aK107C4G6bikdAMNq9vaUX223svP8O3tX63 BT+jJj8Y1Es5gTnyvkWUMGOVrhRpPS96dKDP2w5Up2cu+f+cnGEMA+2Bo PJy9+Ml8dXNZdP4MqtLinJ+v+nuHR3sjFZFNt0RPbNctBqmr3E7AXskvi A==; X-CSE-ConnectionGUID: QSybJNKtRomZoJA3Paq+WA== X-CSE-MsgGUID: S/ySRMxQRjKZDk/wuk2BDg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from unknown (HELO ces04_data.me-crop.lan) ([146.255.191.134]) by esa3.hc555-34.eu.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 14:51:34 +0200 X-CSE-ConnectionGUID: e0Kh59FsQwC8oZUNTzII4w== X-CSE-MsgGUID: cebiU33gQQuEbV5d+2x+XA== Received: from unknown (HELO epgd071.me-corp.lan) ([10.154.54.3]) by ces04_data.me-crop.lan with SMTP; 30 Nov 2026 15:00:02 +0200 Received: by epgd071.me-corp.lan (sSMTP sendmail emulation); Mon, 30 Nov 2026 14:51:33 +0200 From: Vladimir Kondratiev Date: Mon, 30 Nov 2026 14:51:10 +0200 Subject: [PATCH 2/6] dt-bindings: perf: Add Arteris FlexNoC interconnect X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261130-flexnoc-pmu-v1-2-76c1ecf6f188@mobileye.com> References: <20261130-flexnoc-pmu-v1-0-76c1ecf6f188@mobileye.com> In-Reply-To: <20261130-flexnoc-pmu-v1-0-76c1ecf6f188@mobileye.com> To: Will Deacon , Mark Rutland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Shuah Khan , Randy Dunlap , =?utf-8?q?Beno=C3=AEt_Monin?= , Gregory CLEMENT , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Bogendoerfer Cc: linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mips@vger.kernel.org, Vladimir Kondratiev X-Mailer: b4 0.16.0 Add a Device Tree binding for the Arteris FlexNoC interconnect used by the performance monitoring driver. Each node describes a single service- network register range where hardware units (including packet probes) are discovered at runtime. Document the optional "arteris,counter-bits" property for counter widths that cannot be read back from hardware, and the optional "label" property used to name the resulting PMUs. Signed-off-by: Vladimir Kondratiev --- .../devicetree/bindings/perf/arteris,flexnoc.yaml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml b/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml new file mode 100644 index 000000000000..ed8f68da7062 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arteris,flexnoc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arteris FlexNoC interconnect + +maintainers: + - Vladimir Kondratiev + +description: + An Arteris FlexNoC interconnect gives run-time access to the registers of + its hardware units, such as observation probes, sideband managers and error + loggers, through a service network. The units are mapped one after the + other in a single register range, in blocks of 128 to 1024 bytes, each + starting with the same identification registers. Units are discovered by + reading those registers; a SoC usually has several FlexNoC instances, each + with its own set of units. Packet probes with statistics counters are + exposed as performance monitoring units. + +properties: + compatible: + oneOf: + - items: + - enum: + - mobileye,eyeq6h-flexnoc + - const: arteris,flexnoc + - const: arteris,flexnoc + + reg: + maxItems: 1 + description: + The range of unit registers of the interconnect. It must not extend + past the last unit; registers in gaps between units answer with a bus + error, but the range must be backed by the service network. + + arteris,counter-bits: + description: + Width in bits of the statistics counters of the packet probes of this + interconnect, which is a build option of the NoC that cannot be read + back from the hardware. + minimum: 8 + maximum: 32 + default: 32 + + label: + description: + human-readable name for the interconnect node + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + noc_ncore_ccti: interconnect@d1d00000 { + compatible = "mobileye,eyeq6h-flexnoc", "arteris,flexnoc"; + reg = <0 0xd1d00000 0 0x1000>; + label = "flexnoc_ccti"; + }; + + interconnect@48419000 { + compatible = "arteris,flexnoc"; + reg = <0x0 0x48419000 0x0 0x1000>; + arteris,counter-bits = <24>; + }; + }; -- 2.43.0