From patchwork Thu Jan 23 11:01:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 13948144 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF07E20E028; Thu, 23 Jan 2025 11:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737630130; cv=none; b=AjkV3RnJ87wuLTcjoq3djw0nMizIh75igky5KKKgABp5tLdzhaaRgJb47eqojsU6BVZ9iJ2WYvx1sQdQiulROx/S1KDOaYAymIMVCKU+TZg285SaZJlRyqMIf1YvUBfvId9/Dq9RvOzmr8zBGKwW2q/BSWuJaufg9bHAOeQy2aU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737630130; c=relaxed/simple; bh=eCZcvNDqgRHWn+DEZZL59YOltlZjMrfu5yAU2RkOUHM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qggRfq7YE0S1IZdJzbhpCH3DNw7Vivc2ocFD6C8G3gPBvWmppjlY7+3rEzsVBKWqtFz8E+kcN7phFOG7zBcQlJrlPOcps0t5b8AtO52YaX2Tun+4TwsQeznGST/bzj+LnFkAheC3v9Hesp/dTBTUs3r3zpkvkoztp+HZ6ViAMV4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=NByx9zpL; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="NByx9zpL" Received: by mail.gandi.net (Postfix) with ESMTPSA id 632CA240003; Thu, 23 Jan 2025 11:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1737630125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Agaud90VoME8ZewXzuNqT14dIsUTegKa0Q3Nwf0CwVc=; b=NByx9zpLp8b3fVUc/6pKNAMD9hFS9sIEKZeMnbjjNXLuRzSqbvXHON8m0BImYG3+wSgK/k 1fSnxBOLgopAqc4Svp1gtSCcrKN5E1YI8Y7/g0cvgGz0IrNDocwWVBgeqMgKZBnKkOuQQd jSOKVpaxY9ecCx1JVJ1Wcxmcq5U0xIev1VeZ7yKZzD48O46xp7UZFJ4iir9JvpK8XMVCHt efAruvrbIHW1gXNYI3K5UpxDofR3iJQYXwYVzHzcsR9voz3bSVcGj1Y21go7AVtwsBE7t8 P17Xsm3VgaKM1qyk7JR999XCHmPcde49i8JYYAzkyNpT24UJjhvEFOQxDt/q4A== From: Gregory CLEMENT Date: Thu, 23 Jan 2025 12:01:55 +0100 Subject: [PATCH v3 2/5] dt-bindings: mips: mips-cm: Add a new compatible string for EyeQ6 Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250123-cluster-hci-broken-v3-2-8a7ec57cbf68@bootlin.com> References: <20250123-cluster-hci-broken-v3-0-8a7ec57cbf68@bootlin.com> In-Reply-To: <20250123-cluster-hci-broken-v3-0-8a7ec57cbf68@bootlin.com> To: Aleksandar Rikalo , Thomas Bogendoerfer , Jiaxun Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Vladimir Kondratiev , =?utf-8?q?Th?= =?utf-8?q?=C3=A9o_Lebrun?= , Tawfik Bayouk , Thomas Petazzoni , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gregory CLEMENT X-Mailer: b4 0.14.2 X-GND-Sasl: gregory.clement@bootlin.com The CM3.5 used on EyeQ6 reports that Hardware Cache Initialization is complete, but in reality it's not the case. It also incorrectly indicates that Hardware Cache Initialization is supported. This new compatible string allows warning about this broken feature that cannot be detected at runtime. Signed-off-by: Gregory CLEMENT Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mips/mti,mips-cm.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml b/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml index 4324b2306535f1bf66c44b1f96be9094ee282041..d129d6382847768dc026336d8d2c7328b6b81f9b 100644 --- a/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml +++ b/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml @@ -19,7 +19,12 @@ maintainers: properties: compatible: - const: mti,mips-cm + oneOf: + - const: mti,mips-cm + - const: mobileye,eyeq6-cm + description: + On EyeQ6 the HCI (Hardware Cache Initialization) information for + the L2 cache in multi-cluster configuration is broken. reg: description: @@ -44,4 +49,9 @@ examples: compatible = "mti,mips-cm"; reg = <0x1bde8000 0x8000>; }; + + - | + coherency-manager { + compatible = "mobileye,eyeq6-cm"; + }; ...