Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2111597pxb; Sat, 2 Oct 2021 07:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVWjsKUntwlGUdXM1wU+zPC6LyNlnrRkhBLps6UZoioHcPd85+nQyYyBrLPPjlzPaiZIMX X-Received: by 2002:a17:906:d541:: with SMTP id cr1mr4588010ejc.81.1633183523645; Sat, 02 Oct 2021 07:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633183523; cv=none; d=google.com; s=arc-20160816; b=gxHVWq54GP6ASFmy4cuTpM1gA5HBWk16jdgfitRfdHPZhYH0hVvvb93+OBbax6YjMa ZEDZQL/va7VkeBxa2pk0GUK0lJDSFccH7u/s5FeQbFejOhMb8EniieezgAurJ1xMNHC8 TzyenRbLh4pgEU4cegLT86UqvYdlntGrz3gx/maFtruqotd1A2BN2iRbEpEXdme2dRSv frUiCHUZjq/8QCK3DndBhqtSqNyZTgAdQvHjG0bQSlA8B/MTgdny3SyobWpudUjMQeXd oHsZmSPa1Yh9tVCoSFhJ4pz+fLtd92FwwVaGH0FUFhtnyHj0iz8t3M/XmfrlMcP9OVFV i/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=9RBHsJgd0XITPQCFP1JPbGV3C58losMUiz+4xOzAv5M=; b=D14/jvkvVzu98M5FzhJz1/dPOyhckMItxJ3ij4UphfMPB/d2RbR7y1Y46EgJri/dfo i6k3tszpdsLDni4VjOsInlBP/a0zyk0Q26XGGB1AudwHf/wJfopyfxrTs+CimS3GtrUi jyZfo/an9kK3CkQLEtNMdbXlSFGxSiPLFur0gjA2WfWp0UgLocEzgKIjn0/1qU+EZKf2 ojcXkU9X3y99MIQrQmE7cw1OHxa/I6u/ugfREqU4fDIGE2ArcmemBNYzKZA5T01NDS69 cS3GfeAjI+NhLSIL/I64w4t/nsoIU6bYnhD2TvdBzWDffmEvHsks6H0Qmoy9SLq0x+F3 z9rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=sWpD+le2; 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 j6si10836294ejj.689.2021.10.02.07.04.57; Sat, 02 Oct 2021 07:05:23 -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=sWpD+le2; 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 S233350AbhJBNwO (ORCPT + 99 others); Sat, 2 Oct 2021 09:52:14 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:36105 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbhJBNwO (ORCPT ); Sat, 2 Oct 2021 09:52:14 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3D83E22247; Sat, 2 Oct 2021 15:50:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1633182627; 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=9RBHsJgd0XITPQCFP1JPbGV3C58losMUiz+4xOzAv5M=; b=sWpD+le2geJ1RENKYX/MzbeT8E4/7KKF3TvoiwAxa8C3Kk5wcyGqwAc/QcfwHv2jZyjF1h SxZv89b4gsmNda8Un0jiiM2nxbCqYqYI2a5PnPyH2ljWfzHr3bcnstUuFEpFGWJeoO/JDF tFi/mRo2JlIcIpzwPPDW1yynBvZofYw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 02 Oct 2021 15:50:26 +0200 From: Michael Walle To: Robin Murphy , 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 Subject: Re: [PATCH v2 0/3] drm/etnaviv: IOMMU related fixes In-Reply-To: <20210907164945.2309815-1-michael@walle.cc> References: <20210907164945.2309815-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <06f099f8799acb9506826050a8610ffa@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-09-07 18:49, schrieb Michael Walle: > 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 > > changes since v1: > - don't move the former dma_mask setup code around in patch 2/3. Will > avoid any confusion. > > 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(-) ping? :) -michael