Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7262096ybi; Thu, 1 Aug 2019 05:42:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8opXvj8IdPD5CSGslM1FqeffkLz4OkUpPOssQEgmUjX+p8G7L9OsOAgO9KJJWMPaCewBe X-Received: by 2002:a17:90a:32ec:: with SMTP id l99mr8631891pjb.44.1564663331301; Thu, 01 Aug 2019 05:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564663331; cv=none; d=google.com; s=arc-20160816; b=uLSKRGECJS26HF3wHLptQO+dmCsKOZp7oZBFC136QlcArPXvt6/rhckbtHnUBlzzib kigMSKFPEIfDvknfVTgbZaqcYKCxgrVm2jBEwAi3JcDpLTuSue4U/MHfFk/BPoaIQgP2 KJ/n4/6AdKx2eWVg6hby/u5FlJ8SJ+jAOJ1SOAqNEqAL56sNV3wVU/awD33Rdm30Ll8V lHXvzB7HfBgND6GPJTzm1N359+hHIBe+ExiJk0dlOkAf6mWHcXxE0tn5P5IDDtMp6bEz fISkJQtMRyTAd7qM27s9++VO86DAadxkbxKanb0Dp7wyIE6HrHkgchb+kz8s5Vu7lTon m8sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:message-id:in-reply-to :references:to:user-agent:from:content-transfer-encoding :mime-version; bh=dixsaVm/5xvL/SVkB3/rF40fhnZdkiGXZf1D2Taj7Eg=; b=ol+i6yku/u2A3f1+0UPYy7dA0ZTaD5mSk4QMbQpz2nslzvFwbsgWcz104oO137mdd0 ITdwjD1WFHvhHwUKs9BDrVjTJ0+OjD4dRapdHTktnzgE6UBqQWF0XINlWOojF41FDax5 ijwM/OYqExUZpDFu/mWznizUJo79g9kZV+W2o4t7lPi6TiPheCpWOkJih5CmSNdPLcAy 2HGUx0cquEH4yvKk0kbQFTJQHr64AFX2efzkmb8WHaegCLnso6hSQeZi2ybTER2EM19m xrZ09pFogxb2O6sI+lSdok39lhjklW2xhYf5t7AOW/DOl8vWyZ+DzabD7sUblGXD0XWQ vbBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si32329619plr.131.2019.08.01.05.41.56; Thu, 01 Aug 2019 05:42:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731396AbfHAMkg convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Aug 2019 08:40:36 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:55739 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730319AbfHAMkf (ORCPT ); Thu, 1 Aug 2019 08:40:35 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 17788023-1500050 for multiple; Thu, 01 Aug 2019 13:40:29 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT From: Chris Wilson User-Agent: alot/0.6 To: David Airlie , Deepak Sharma , Emil Velikov , Eric Anholt , Eric Biggers , Imre Deak , Rob Clark , Rob Clark , Sean Paul , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20190717211542.30482-1-robdclark@gmail.com> <20190719092153.GJ15868@phenom.ffwll.local> <20190731192331.GT104440@art_vandelay> In-Reply-To: <20190731192331.GT104440@art_vandelay> Message-ID: <156466322613.6045.7313079853087889718@skylake-alporthouse-com> Subject: Re: [PATCH] drm/vgem: fix cache synchronization on arm/arm64 Date: Thu, 01 Aug 2019 13:40:26 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sean Paul (2019-07-31 20:23:31) > On Fri, Jul 19, 2019 at 11:21:53AM +0200, Daniel Vetter wrote: > > On Wed, Jul 17, 2019 at 02:15:37PM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > drm_cflush_pages() is no-op on arm/arm64. But instead we can use > > > dma_sync API. > > > > > > Fixes failures w/ vgem_test. > > > > > > Signed-off-by: Rob Clark > > > --- > > > An alternative approach to the series[1] I sent yesterday > > > > > > On the plus side, it keeps the WC buffers and avoids any drm core > > > changes. On the minus side, I don't think it will work (at least > > > on arm64) prior to v5.0[2], so the fix can't be backported very > > > far. > > > > Yeah seems a lot more reasonable. > > > > Acked-by: Daniel Vetter > > Applied to drm-misc-fixes, thanks! But it didn't actually fix the failures in CI. -Chris