From patchwork Tue Apr 18 14:21:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 675329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE784C77B78 for ; Tue, 18 Apr 2023 14:21:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbjDROVb (ORCPT ); Tue, 18 Apr 2023 10:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232399AbjDROVZ (ORCPT ); Tue, 18 Apr 2023 10:21:25 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36DD313FB0; Tue, 18 Apr 2023 07:21:13 -0700 (PDT) Received: from jupiter.universe (unknown [91.248.213.255]) (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 592C9660320E; Tue, 18 Apr 2023 15:21:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681827671; bh=ll23Gil5LaleEG/Y/J2yGHu05FB8zSy5xWoGgPJ7WLU=; h=From:To:Cc:Subject:Date:From; b=RKWtWzfVtiuLDbkEEiMwaqtjxGFX+pL93U8HTPp38zbBsq5v9fP12PoPCIEgGwgCI WF0an6ib9Vip/4hhBI4DlHma92HbJkZpiI7uIOLHyrqQqkllnZ2YfhoGNJGToB3vWK FB2o4QOSpgkXkdJ6dWgbECKCDaV0XWp2Kxd8akOrdPjXVlk5ltF9LBwODpIqWW/JsE OtPGr8LW/tlQzihEDK4IAkoRrj9gqKELkYbro1emErzXixKRayusjPJ7UQkBBwtQKJ vshV4MNT6soQVDtfQAgBLKW9u/g1bDGWJRZjz02Piyn2JDd6n+YQN6Pi9m903OWZBy nk6pjGdM5ZVCw== Received: by jupiter.universe (Postfix, from userid 1000) id 85AB2480072; Tue, 18 Apr 2023 16:21:09 +0200 (CEST) From: Sebastian Reichel To: Marc Zyngier , Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Peng Fan , Robin Murphy , Peter Geis , XiaoDong Huang , Kever Yang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v4 0/2] Add Rockchip RK3588 GIC ITS support Date: Tue, 18 Apr 2023 16:21:07 +0200 Message-Id: <20230418142109.49762-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, This adds GIC ITS support to Rockchip RK3588, which is affected by an integration issue effectively breaking shareability support. PCIe2 support will follow in its own series. Changelog: * Changes since PATCHv3 - https://lore.kernel.org/lkml/20230417214035.101190-1-sebastian.reichel@collabora.com/ - Add RB from AngeloGioacchino Del Regno - Update patch description - Update Kconfig description - rename flags from BROKEN_SHAREABILITY to FORCE_NON_SHAREABLE * Changes since PATCHv2 - https://lore.kernel.org/lkml/20230417150038.51698-1-sebastian.reichel@collabora.com/ - apply changes requested by Marc Zyngier * PATCHv1 - https://lore.kernel.org/lkml/20230227151847.207922-1-lucas.tanure@collabora.com/ - uses of_dma_is_coherent() instead of providing errata info from kernel * RFCv1 - https://lore.kernel.org/lkml/20230310080518.78054-1-lucas.tanure@collabora.com/ - uses 0x0201743b IIDR for quirk detection and misses errata # Greetings, -- Sebastian Sebastian Reichel (2): irqchip/gic-v3: Add Rockchip 3588001 erratum workaround arm64: dts: rockchip: rk3588: add GIC ITS support Documentation/arm64/silicon-errata.rst | 3 ++ arch/arm64/Kconfig | 10 +++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 17 +++++++++++ drivers/irqchip/irq-gic-v3-its.c | 35 +++++++++++++++++++++++ 4 files changed, 65 insertions(+)