From patchwork Tue Nov 15 09:06:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13043336 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 E350AC4332F for ; Tue, 15 Nov 2022 09:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237679AbiKOJHM (ORCPT ); Tue, 15 Nov 2022 04:07:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237652AbiKOJHK (ORCPT ); Tue, 15 Nov 2022 04:07:10 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD25A21E03 for ; Tue, 15 Nov 2022 01:07:09 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id q1-20020a17090a750100b002139ec1e999so13257538pjk.1 for ; Tue, 15 Nov 2022 01:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BVzHUOg3Tw/oS7PqcIhE4bFaHM91oQiodH+CwJsS3b4=; b=cQNzhkJfVjxyKHBWiF4Trq5Tb7qKVSKPLT6h1vLWg7/3Q4RsgrlomSgDOqBJWObhJO ekLGK5Yyc2gpBQEs4FHjKosvholJvzPzfEJ1Ay48ZFXQ6XRtgKCDEXtr5gOu5bYEYeIX xLHMLM3T6F1sSQy8qXVbYx86hqV9lWWb2KYgc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BVzHUOg3Tw/oS7PqcIhE4bFaHM91oQiodH+CwJsS3b4=; b=nGYLRCbWny40KdgHzRzCxDQQhkPrUZTNoPECjFmCaid6z6NpXuUfFf9d4KH7FrvhPF c5cIwyKlFdCLHI1VH5R94RYeaWIr9NFdUqM1EhmgXbmIufbVdVQdnvclqezPAoXJS+CG U9ukfttyQbF9oNEHaH6rvBk9wRy4jqqsjzAA6RNOw5812BJamt8TevAeN+1L4KpKdlyf f6lHSZb3VXtY6StFl004KMill3VT7Ech5HJImIyhozm7yIq9KzDeypTGbQSFDtVnmKuc nlr+6t3LNaQkuMPUex/AaZoGBXawi6NjVQPWJ9wWNJodYte54CAxLCud89igXn8rco2y U7jA== X-Gm-Message-State: ANoB5pmVYcSaYz34+W8jVt/mimTr1aS7MReHeUdaT7E/s8y0mi2+A6Gy lC+vJHo7bXKtYybHMT+8hT1jlw== X-Google-Smtp-Source: AA0mqf5ZPq5c3BoUDT8xkuFzdF1QmWcMV7pUAtSTv0EFvGqy/jnfrTAIei6OAmdzrPX3VMusoP9+2w== X-Received: by 2002:a17:903:228c:b0:183:6efe:65eb with SMTP id b12-20020a170903228c00b001836efe65ebmr3224312plh.34.1668503229437; Tue, 15 Nov 2022 01:07:09 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:4d49:6d15:b250:5977]) by smtp.gmail.com with ESMTPSA id q16-20020a17090311d000b00182a9c27acfsm3378830plh.227.2022.11.15.01.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 01:07:09 -0800 (PST) From: Chen-Yu Tsai To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Jernej Skrabec , Samuel Holland , Hans Verkuil Cc: Chen-Yu Tsai , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64: allwinner: h6: Add IOMMU reference to Hantro G2 decoder Date: Tue, 15 Nov 2022 17:06:42 +0800 Message-Id: <20221115090644.3602573-1-wenst@chromium.org> X-Mailer: git-send-email 2.38.1.493.g58b659f92b-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org While doing some decoder tests with Fluster and Chrome's VDA tests, I found that the Hantro G2 was failing, and there were IOMMU fault errors in the kernel log. Turns out the decoder is behind the IOMMU on the H6, as shown in the user manual. This series adds the "iommus" property to the binding and the dtsi. Please have a look. Thanks ChenYu Chen-Yu Tsai (2): media: dt-bindings: allwinner: h6-vpu-g2: Add IOMMU reference property arm64: dts: allwinner: h6: Add IOMMU reference to Hantro G2 .../bindings/media/allwinner,sun50i-h6-vpu-g2.yaml | 5 +++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 1 + 2 files changed, 6 insertions(+)