Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp366830pxb; Thu, 26 Aug 2021 05:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb/SXgDjB0kJpQ+4cId5bgtFtinpD0UG03OMlDNgk1pB91Cvu7mZMgMA1MbmoHTV7h58Z0 X-Received: by 2002:a05:6602:20ce:: with SMTP id 14mr2811394ioz.204.1629979956938; Thu, 26 Aug 2021 05:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629979956; cv=none; d=google.com; s=arc-20160816; b=xIW4oR9E+HU2h0k9l3s+BvLx4DfAk/pdoQoXoYqXmPDEHOCtrXhVqMg/RVXci30koJ 2s64/HTrbKzwuYbIyiFFix6n6G5PG8qkdFsvWhBvuC2YxxBDVnzqFUWGoIcuGimSCGZN kcxWgXnnInVEftoQhnhT21b3de9ZTw+VHPcIgs4Ua6e7zjZVi+8mI7PyXMsWdLXjeSFv Ml8PM7pgLpmcyamFmTrQ/qrsSOrwS3f4nsPqEfBID5rl5Ciu9osoN4wOcwRVIkaREv/W P2zVG5bOwx7cr9P1CluzlZw3l6XVpS0C+gLreloWAEdAO04y7qCMShXettriUGBbP1yE uP8A== 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=H9RQiDxWvFG0IU5yJiqYwMEIyrB2lEpXizSuM9eNB9g=; b=Xu6hMGvvBbERB7KfC0GB1HJwTuuVd3qCzbeSAWa9kfwH2W3hbIB8e1RFlbPY+5I0F+ Nyqdn6mU7VQOyd3nSSVv+AlkVtoZpstbcKLejMbU2Zc1ltPQruAC0aeUP2mwibc0c142 uBr5DmVMG4Cmc1e4u7L0K7wnP8BjprzXleE8DMZpG99NyiGtf7UxZlG/KHjKa9eLJrKi IIawQiNOq20wpW0Ah4fev89sd7icILWOmNMNXWEAqDK6Y/0FRgIYSweADfK46EUq5vLb v+ryNslA7B7G7t3GEhNddzstIIPUWnsemZugP9ZD8LCGN92jhKIncut0Ol0MgeyBl7s2 qaAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=VgkBCCO1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si2869726jad.73.2021.08.26.05.12.24; Thu, 26 Aug 2021 05:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=VgkBCCO1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242469AbhHZMLE (ORCPT + 99 others); Thu, 26 Aug 2021 08:11:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242413AbhHZMLC (ORCPT ); Thu, 26 Aug 2021 08:11:02 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E4B6C061757 for ; Thu, 26 Aug 2021 05:10:15 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 7165A22173; Thu, 26 Aug 2021 14:10:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1629979812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=H9RQiDxWvFG0IU5yJiqYwMEIyrB2lEpXizSuM9eNB9g=; b=VgkBCCO1Akw5Ckhvs4F7Frt26/4hxfGx88YzzZpjSd60JvrJbkrkIjwS/SEeEdpFdpyVUI UrcHCvvdk0GhuwFElitHyRoBF9KSAXLhEa+kvaDy5yIvgDr+FAEfrcWkHOVU0hxeXx9G99 F4iQZyYOvfyR6Hr0K0xszVIQoWOtan4= From: Michael Walle To: etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: "Lukas F . Hartmann" , Marek Vasut , Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , Michael Walle Subject: [PATCH 0/3] drm/etnaviv: IOMMU related fixes Date: Thu, 26 Aug 2021 14:10:03 +0200 Message-Id: <20210826121006.685257-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series fixes usage of the etnaviv driver with GPUs behind a IOMMU. It was tested on a NXP LS1028A SoC. Together with Lucas' MMU patches [1] there are not more (GPU internal) MMU nor (system) IOMMU faults on the LS1028A. [1] https://lists.freedesktop.org/archives/etnaviv/2021-August/003682.html Michael Walle (3): drm/etnaviv: use PLATFORM_DEVID_NONE drm/etnaviv: fix dma configuration of the virtual device drm/etnaviv: use a 32 bit mask as coherent DMA mask drivers/gpu/drm/etnaviv/etnaviv_drv.c | 41 ++++++++++++++++++++------- 1 file changed, 31 insertions(+), 10 deletions(-) -- 2.30.2