From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796315827; b=UnniK8i2tLHVQJvC+pdPdUd38ir2OkzqN1EjLQlRq0OYcZ6/pP5r991ETIcb5CjHnUZy ZcwUZuVfR5Pd5ZOeoFz7yFupTu82RVM3j4AEiLRoxOESRLX3Qivv/3iCt6kknkUhcbBU/ YtVAXFc5A6CcNH/GjMo3nbvBGAqunSnlHNfEux1K+lywjRPesuWcNqythhXIzNVMIiUzS wCG90oZnxQES121szztLr9wWHC5l7OJQUaaYFJl7jvbGesvl/hqSllrUei7EERaXWRYNV o4XdoOg0dgjAZcdbaqPfYU+ZbKYmrhti7J0/Xsp4RRu/dlzxwez/rznIgAY3CNlq56A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796315827; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Zv0TH8xz2/lORZKHJGDjGWB0HPLoTVpLIDCCpoqvZLI=; b=OmMzcqLrxGSN+tJsXvv7lO5m4cdZRkKTcqTIxqMTM6bqJrsK9upX6iHRR8eHSGGtaE2t wSsVupDshxI8iBS5jOe7X2JBICJ4wu+N0xHUcw7pCHLeRFNH36fciVzns+MWYqYZ7VOxY 32STKuuU9FO40gSXFw7BebKp1jWso1GtajTPtor6Q8Rdaoy/p8z2v7KTIHmsL90Me6NT8 ZDPBxbalPUVh7tDDn7xEBt+b8E12m4poZpgT077N344rNgVyCG6+5zQbNnKq8qiPJykX0 AHCo5VgjggOR66uHE3gZOC2oJVBlbggWMg62WdVSm/QFQA6XOd6jdXa0hanZTYwMGsQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lUynHez3; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B740C606A322 for ; Thu, 3 Dec 2026 16:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lUynHez3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34AF01F000C1; Thu, 3 Dec 2026 16:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796315827; bh=Zv0TH8xz2/lORZKHJGDjGWB0HPLoTVpLIDCCpoqvZLI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=lUynHez3taYP3WEa5ZYy0jhmvAKF/791Gj5uvRmLmMdDB805qqXp1wERLCERMVL5f nnwYAtQyjgeZafEepjQNBg9msGOr6d09cWH8qfpoVpWwl99iB1dXJLGfkndff/ztn3 1Dof+msImumSFocINVTWM4AlBVoOrGqJDIYA/ZTlI7eSGVEHiDAQh5P3g+2Sb0YAtU L+whcDnE/uwg7Qk279A+YgFgYDCPy9CNwVlldvRZSWSDo4ZtHDwmQytOPvvQ2a2tzq N4ntymk1ZIRktWw+/fpfT9ZrezCiKN1srCL9Bk91+yLVNWtyFkSkCsBwznnX/XzpJx 7Rbi/NQUAcnWQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 1/2] dt-bindings: mailbox: add Marvell MHU Reply-To: sashiko-reviews@lists.linux.dev To: "Paul Cercueil" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203161314.150563-1-paul.cercueil@bootlin.com> References: <20261203161314.150563-1-paul.cercueil@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 16:37:06 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 3 potential issues to consider: - [Medium] dt-bindings: mailbox: marvell,mhu omits PCI device schema and conventions - [Low] dt-bindings: mailbox: marvell,mhu uses family compatibles and unverified ABI - [Low] dt-bindings: mailbox: marvell,mhu description refers to driver and omits CN10K -- commit 9c1dee079be27e44e0bc7f34f389ec1d5a82dbab Author: George Cherian dt-bindings: mailbox: add Marvell MHU This commit adds a Devicetree binding schema and MAINTAINERS entry for the Marvell Message Handling Unit mailbox controller. > diff --git a/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml b= /Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml > new file mode 100644 > index 0000000000000..d32a02b8442ad > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml [ ... ] > + This driver exposes AP-SCP Message Handling Unit to the system, provid= ing > + the mailbox communication mechanism to the system, with the intention > + of plugging into the SCMI framework. It is designed to work with Marve= ll > + OcteonTX and OcteonTX2-based platforms. > + The mailbox has no other usage than SCMI communication. In case of > + configurations running without SCMI support it should be disabled. [Severity: Low] Should this description focus on the hardware block rather than driver behavior and OS policy? writing-bindings.rst asks bindings not to refer to device drivers or OS configuration. Both this description and the commit message also omit CN10/CN10K, even though marvell,cn10-mhu is listed under compatible. [ ... ] > +properties: > + compatible: > + oneOf: > + - const: marvell,octeontx-mhu > + - items: > + - enum: > + - marvell,octeontx2-mhu > + - marvell,cn10-mhu > + - const: marvell,octeontx-mhu [Severity: Low] Should these compatible strings name specific SoC models rather than entire SoC families? writing-bindings.rst prohibits device-family names in compatible strings (compare marvell,cn9670-wdt and marvell,cn10624-wdt in marvell,cn10624-wdt.yaml). Are marvell,octeontx2-mhu and marvell,cn10-mhu confirmed to be programming-interface compatible with marvell,octeontx-mhu? The v5 changelog says they are "basically the same thing, or maybe even the exact same thing", but fallbacks require confirmed compatibility. [ ... ] > +additionalProperties: false > + > +examples: > + - | > + ecam { > + #address-cells =3D <3>; > + #size-cells =3D <2>; > + > + mailbox@1c,0 { > + compatible =3D "marvell,octeontx2-mhu", "marvell,octeontx-mh= u"; > + reg =3D <0xe000 0x0 0x0 0 0>; > + #mbox-cells =3D <1>; > + }; > + }; [Severity: Medium] Since this is a PCI ECAM endpoint device (5-cell PCI reg and @1c,0 unit address, matching PCI_VDEVICE(CAVIUM, 0xa067) in the driver), should this schema reference /schemas/pci/pci-device.yaml# via allOf and use unevaluatedProperties: false instead of additionalProperties: false? Keeping additionalProperties: false without pci-device.yaml# causes dtbs_check to reject standard PCI device properties such as assigned-addresses and skips PCI reg validation. Should compatible also include the standard IEEE 1275 PCI compatible pci177d,a067, as other in-tree PCI endpoint bindings such as nxp,ptp-netc.yaml and fsl,enetc.yaml do? In the example, naming the parent node ecam and omitting device_type =3D "pci" prevents dtc's check_pci_bridge() and check_pci_device_reg() from validating the example node; PCI bridge nodes should be named pci or pcie with device_type =3D "pci". --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203161314.1505= 63-1-paul.cercueil@bootlin.com?part=3D1