Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp551594ybl; Fri, 6 Dec 2019 02:19:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwkpav6U73JDX5wKD5XMNEeRyn7Py7QOWzs/2DmASq/bKKA1bYLZhV4NJIhJG7dYyevFHao X-Received: by 2002:a9d:7757:: with SMTP id t23mr10445493otl.315.1575627570734; Fri, 06 Dec 2019 02:19:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575627570; cv=none; d=google.com; s=arc-20160816; b=Ik+AWVE/eJ6e3TRAmJ2Tck62lFU0QvTTUzw8F7vlL5cxrOjDK6jJmGmByOUojOkcvB PWsIdDCdlLONzWgM7ijmQhrgtyJKT34EkAeRL5EMIsuIH5qWAQ5hC+95oum6KNlCZ3kD Pv31dt3VVSYRDnUaM/kJPPwgiLRl5T/bWUthmYf8wf8Lyntg2Jx0vb8v0WdLxdjb+rc3 0A+nI9IpozaBPiWeGaiUyznSyztqBQGbIa1YF8HB+VQToDwrTiqUn6fm2LV1kKF1KXkm k+TEwOkJpGhmcdoO1GoIgQOd0R5HfSSIOrRU5+vrjJ3Uo5i38nM2G3qwoxkyhGl+tVQb JpFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wQbD0TaQnCCyjdF8tYf2x8M1VesCn+pzXeR/60dguDg=; b=GHc7JxpM++fGKY5aCQ6rTqeVdg+NeaTTbtCMw2rCEZvlCY4gf3/fP/A8gSj2Kvk9Sc v0RSKXd2PtjlzltPsKLaUJAv8bNdW5ns5RgHKKYfpwNPs73KPhNBvWzcZClK3/Swr7dD Q3w9X5VT/U79rH8ocD20l8EoQUTpEJKq6uP89xhERp803NP4S6qjwX36D7j6krbTnt+X ydgUv6FqLzhjmer7eel0s8wZHZ+pjxJhHhCwmGzGyx6/QczHWmmZ6+roGXW6+oUpJwaX 7EFYDpOa2P/WRoWAv93ljFLYNJAK0sJgMT4V6I1CZe2KlwHqNclEUkf2ImJNvhn5M8Id L8CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=Z+tCKCo5; 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 l5si7119727otr.255.2019.12.06.02.19.18; Fri, 06 Dec 2019 02:19:30 -0800 (PST) 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; dkim=pass header.i=@ffwll.ch header.s=google header.b=Z+tCKCo5; 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 S1726157AbfLFKSr (ORCPT + 99 others); Fri, 6 Dec 2019 05:18:47 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:43911 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbfLFKSr (ORCPT ); Fri, 6 Dec 2019 05:18:47 -0500 Received: by mail-oi1-f194.google.com with SMTP id x14so2134465oic.10 for ; Fri, 06 Dec 2019 02:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wQbD0TaQnCCyjdF8tYf2x8M1VesCn+pzXeR/60dguDg=; b=Z+tCKCo5OHTC3bBUN022In54CQxWvkmO+8Z2DhcuZjNic0NPoTnvHMsDdKVOa69cFj 64V8mXaD0aJoVnaMUZqPi9bUdgwowDOcB6GuyzWXSAOsefH/2O6h845owjqLpIcq32Up +3mXqrfoWHcEy9zKltpqdfnc/r5vDrE3pMuyw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wQbD0TaQnCCyjdF8tYf2x8M1VesCn+pzXeR/60dguDg=; b=dOn1AowkNXjN6+aUGf7q3PFp29s8SDzShZ+KUyQdSVNENEmAU9e+OZgZTo3sOyUyas n+CxhGP7siM7lTP8dyksB/c29RnbHQ5wiBpGmbm85r3sYRk94ECFtuUKE2rFxIZL/LRV iGd5aEvuO/Qq45MmDDHvd2UUsylKvHTbjss5Ra/nEQrfCAX67dyVT4/sjxkWC0G+CB/U H8+PQPeEiRKByUn/kigU9/CC+S1Rk4lKfA5IJfh5f9wWywOfc2lUH/vjT6Olh8asTHCu w2N9pK/iqMLEJxHceNYF1eVaSV7MxqCT/6qhtJjP0PZBJRUOh6In4fqB6byhcGnfQaXI 0THg== X-Gm-Message-State: APjAAAVaPpRThMxeUEBYl+q1OyhXWeJD3KAJ3NMH1gYW/dhKj3gbSO50 Y7QVIA2RsAgyBF1HbIM4Lf4Ya8ueGBtXmyVz3h4HCg== X-Received: by 2002:a54:440d:: with SMTP id k13mr11773948oiw.128.1575627525771; Fri, 06 Dec 2019 02:18:45 -0800 (PST) MIME-Version: 1.0 References: <20191127092523.5620-1-kraxel@redhat.com> <20191127092523.5620-2-kraxel@redhat.com> <20191128113930.yhckvneecpvfhlls@sirius.home.kraxel.org> <20191205221523.GN624164@phenom.ffwll.local> <20191206100724.ukzdyaym3ltcyfaa@sirius.home.kraxel.org> In-Reply-To: <20191206100724.ukzdyaym3ltcyfaa@sirius.home.kraxel.org> From: Daniel Vetter Date: Fri, 6 Dec 2019 11:18:34 +0100 Message-ID: Subject: Re: [Intel-gfx] [PATCH v3 1/2] drm: call drm_gem_object_funcs.mmap with fake offset To: Gerd Hoffmann Cc: dri-devel , Rob Herring , intel-gfx , Maarten Lankhorst , Maxime Ripard , David Airlie , Christian Koenig , Huang Rui , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 6, 2019 at 11:07 AM Gerd Hoffmann wrote: > > On Thu, Dec 05, 2019 at 11:15:23PM +0100, Daniel Vetter wrote: > > On Thu, Nov 28, 2019 at 12:39:30PM +0100, Gerd Hoffmann wrote: > > > On Wed, Nov 27, 2019 at 10:25:22AM +0100, Gerd Hoffmann wrote: > > > > The fake offset is going to stay, so change the calling convention for > > > > drm_gem_object_funcs.mmap to include the fake offset. Update all users > > > > accordingly. > > > > > > > > Note that this reverts 83b8a6f242ea ("drm/gem: Fix mmap fake offset > > > > handling for drm_gem_object_funcs.mmap") and on top then adds the fake > > > > offset to drm_gem_prime_mmap to make sure all paths leading to > > > > obj->funcs->mmap are consistent. > > > > > > > > v3: move fake-offset tweak in drm_gem_prime_mmap() so we have this code > > > > only once in the function (Rob Herring). > > > > > > Now this series fails in Intel CI. Can't see why though. The > > > difference between v2 and v3 is just the place where vma->vm_pgoff gets > > > updated, and no code between the v2 and v3 location touches vma ... > > > > Looks like unrelated flukes, this happens occasionally. If you're paranoid > > hit the retest button on patchwork to double-check. > > -Daniel > > Guess you kicked CI? Just got CI mails, now reporting success, without > doing anything. So I'll go push v3 to misc-next. Yeah I kicked it, since iirc you need your patchwork account to be treated with the re-run powers first. Might want to get those with a quick ping on irc, it's useful. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch