Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp389392pxb; Thu, 26 Aug 2021 05:44:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo74OWSrd+EhwRzDHWuoq50IoYKXyY6uH6yBx28vRLW428uw912KgCnM82lOn6sf4sbW0R X-Received: by 2002:a05:6e02:1054:: with SMTP id p20mr2539029ilj.159.1629981867808; Thu, 26 Aug 2021 05:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629981867; cv=none; d=google.com; s=arc-20160816; b=0wuhF6jAl/i1mncolRWPjyVVwHpdomD4Jh7AVn0fUpLoywdOore+4viuHdwR3mpMTz sIP5kZspTtFukHF3y3XDl3BHBxZ/IC9FaAREzdPgH+5I43bGWOG1HMXrZXtPm0cIn4vV P219dlF2bD6Cm8/Xd8f5SFH6F7ivlseWeQ26lvHx783jK0N+TFhBH3spMA7uGbZXIpGJ vxvlVI/iUCRv71O8UTgqvc+dfgPScCev54cTg5r6DPu8UOYl39mWkFz+LkfEen7wN1Cg 6ku46rXBYwm+DwapsMEqkdGEHKvuHwCIb7hooRsUcwhTq0qgmII5i3GClyiRGQhdivR4 3jzw== 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=xSWjg7oTauzs6qyI/TdnBZKk5aEHxZIo5MLqxy6CYF0=; b=eDrfFS9Y/CBNTjxV2em67zRZaWuUtt2ANKhY0uADknxgLyykv6Rv7nb8tz6Ju2xyGJ G9dCpmRaISwsquYjs/XCk6Xgk2P/i5Lpn4ZKiHh7mOGoSdiyL9ZG1lNQY+NCdYj26V5R 3XO/UBEaVtcO9/JoxADAg+SJcmoDB2e8IS/YqXeIxlLVJMULeAMPbinWe1UJa8EZoGwb mtIrOId3tDrGZdWba8cn0H5acD/obb+yfJjVSEuWe86m2p+arkEutrrvORsuktqh3jMs /7Hvy8qvSpoxle+UyijSfPKvi+uLVcVLODyiEH0tD9Kf90CmnHvBL/jmOY1PRpZtU1qN P6UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=rrMTNkLn; 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 x4si2729780ilj.121.2021.08.26.05.44.16; Thu, 26 Aug 2021 05:44:27 -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=rrMTNkLn; 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 S242250AbhHZMoQ (ORCPT + 99 others); Thu, 26 Aug 2021 08:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242201AbhHZMoP (ORCPT ); Thu, 26 Aug 2021 08:44:15 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48979C061757 for ; Thu, 26 Aug 2021 05:43:28 -0700 (PDT) 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 7201922173; Thu, 26 Aug 2021 14:43:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1629981806; 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=xSWjg7oTauzs6qyI/TdnBZKk5aEHxZIo5MLqxy6CYF0=; b=rrMTNkLnhRa+waIzNGf3Obc91poG0QomCOgxK2bU14KJM1K4vto55BvWNK5n11pqT0Dj4Z u9j4Vr+xs2ZlT7WpJHVxKyCbTX7jvHRN+KUabFzjfhnoaoZu+pFF9lWTRJuegH2FeLcxST iIT2rrJzYPJbuL2Xq1/HqnqZSw8f4dU= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 26 Aug 2021 14:43:26 +0200 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 Subject: Re: [PATCH 3/3] drm/etnaviv: use a 32 bit mask as coherent DMA mask In-Reply-To: <20210826121006.685257-4-michael@walle.cc> References: <20210826121006.685257-1-michael@walle.cc> <20210826121006.685257-4-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <732be3deb2a29b9d9e274ee543fa3b89@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-08-26 14:10, schrieb Michael Walle: > The STLB and the first command buffer (which is used to set up the > TLBs) > has a 32 bit size restriction in hardware. There seems to be no way to > specify addresses larger than 32 bit. Keep it simple and restict the > addresses to the lower 4 GiB range for all coherent DMA memory > allocations. > > Signed-off-by: Michael Walle Suggested-by: Lucas Stach is missing here. sorry, will add it in the next version. -michael