Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26452453rwd; Mon, 3 Jul 2023 09:51:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoyiLLTaGmHj3885xh+9eZOhkOD1JxdTjMtH6X2yP4dSi4fpm+PuJ1xscnsgqcUb6YHhGr X-Received: by 2002:a05:6a00:2d1d:b0:680:98c:c595 with SMTP id fa29-20020a056a002d1d00b00680098cc595mr15286739pfb.13.1688403098248; Mon, 03 Jul 2023 09:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688403098; cv=none; d=google.com; s=arc-20160816; b=zykmnG079Z29clxd6rYx0nkobrSyOZMPFeC3CG1l7XhcOfx0iliHlhTLhvpc0BC7/X Oj09nvoKOpq9I6oUHJ2OOL0LCikpVaZlpVggTZrEyAliQAdTfgpePKkvGjs8b9rxhDdq A+iDug5HEwhcu2ursG2gudrHERxOo6DG2sJlCq+KKX2ojioIU3GmRjeviOysfmExO3ca QFH4ZN4XxKFNsEp34hZSOuAXmv9gzIKSeNsN/m9egbZg5NyMnE9A269xsG8v1bQ7wB6e TbDQep9Itm3SY991HdMNMdeUxZJObkdU+piA6u6RHErLiAn+iANSV9/v4ICJbE+kumKf 5PKg== 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:dkim-signature; bh=q4xrkD56nNKiiMrXWqOeuNTorIbFtGqH+WXuEKQNup0=; fh=0/UJEimTIygu4rWh8GCTWJ2onVErnEQlMprij6bfe2w=; b=OAhh+pb+ZxstZ1qop3YrP/IwIGReT391ckBq4wk7gn7dtnIqoaOm9z5bh83ciKkX/B oOTY4wbYHLgK992I3UjWTQ7vP+UD3nyR5tbDyXaKGqT+Ri9LPU8VQyNvY12bk9atr0ht Yc2Y/zTT7lZiqXuAtqj4bRpa0ro6MnluUJq2LNCmsWF3WdEgvaoW/wQqq972mVwiL+Pm t9SJ7EwGR5o9v4sFaUIxH7weFO2FBGidQwFhdYs6r0IDc/rMroimgVK8VhEeNvGgn5o+ xpuPdlOK/l/6trHmbx5WbsEa9z2eUbP887n5cnOFQGVVi4CQgx8kE9B9+gzAx18KKg48 rZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BMfTbVp3; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr5-20020a056a000f0500b006738dfbaf42si16830522pfb.374.2023.07.03.09.51.21; Mon, 03 Jul 2023 09:51:38 -0700 (PDT) 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; dkim=pass header.i=@collabora.com header.s=mail header.b=BMfTbVp3; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbjGCQlh (ORCPT + 99 others); Mon, 3 Jul 2023 12:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjGCQlg (ORCPT ); Mon, 3 Jul 2023 12:41:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE82E49 for ; Mon, 3 Jul 2023 09:41:35 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-215-029.ewe-ip-backbone.de [91.248.215.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 01E206606F6C; Mon, 3 Jul 2023 17:41:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688402494; bh=B0URFXgImNMOKALU8VS0EvBoWTwaU4+U/GaqYEktyFs=; h=From:To:Cc:Subject:Date:From; b=BMfTbVp3pDQZF4LAVvTLSGGR61z5ggRm8jnjTib/HV9Ot5jRcI/poXVrBbrYueekA WjIMbrhiSEL+r1a4KraEd+kbEiph37/qfUkFTLgeJRAyqy/3tL7mRrN6iIHt3vA7/s YEyM82LNnqqlU2hPD3IF1yAjGLlJTtZgdCPAgT1D2TluR0pjVMc0IBNjoDmXliAz+G onWLTXc2lzkHcu14r9+fYsE6P3EIy38Rx1XFhTepLqu3uvFC6djLi/pjOR0jv5YUlL Hz0BNoZze96xk6jMfsMbZAaTCO4nxYElSF2qXc8xMlwsmI3LHwgfQK0+ZEyo8daPr0 AQWYPIxT299tw== Received: by jupiter.universe (Postfix, from userid 1000) id 025444829F6; Mon, 3 Jul 2023 18:41:30 +0200 (CEST) From: Sebastian Reichel To: Marc Zyngier Cc: Chris Morgan , Thomas Gleixner , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v1 1/1] irqchip/gic-v3: Enable Rockchip 3588001 erratum workaround for RK3588S Date: Mon, 3 Jul 2023 18:41:29 +0200 Message-Id: <20230703164129.193991-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Commit a8707f553884 ("irqchip/gic-v3: Add Rockchip 3588001 erratum workaround") mentioned RK3588S (the slimmed down variant of RK3588) being affected, but did not check for its compatible value. Thus the quirk is not applied on RK3588S. Since the GIC ITS node got added to the upstream DT, boards using RK3588S are no longer booting without this quirk being applied. Fixes: 06cdac8e8407 ("arm64: dts: rockchip: add GIC ITS support to rk3588") Signed-off-by: Sebastian Reichel --- I recently got a Rock 5A and noticed this issue. Apart from it, the Indiedroid Nova should also be affected (I don't have that board). There are no other upstream RK3588S boards at the moment. --- drivers/irqchip/irq-gic-v3-its.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 1994541eaef8..034ece9ac47c 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -4727,7 +4727,8 @@ static bool __maybe_unused its_enable_rk3588001(void *data) { struct its_node *its = data; - if (!of_machine_is_compatible("rockchip,rk3588")) + if (!of_machine_is_compatible("rockchip,rk3588") && + !of_machine_is_compatible("rockchip,rk3588s")) return false; its->flags |= ITS_FLAGS_FORCE_NON_SHAREABLE; -- 2.40.1