Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2518096imm; Mon, 10 Sep 2018 02:21:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcBgNROmAijG9A00rvj4h6Leqt2SXZ9MjNtNkjoAiCfugBqEluH009FyQPOqb4m588fskD X-Received: by 2002:a63:fa49:: with SMTP id g9-v6mr21850053pgk.18.1536571285269; Mon, 10 Sep 2018 02:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536571285; cv=none; d=google.com; s=arc-20160816; b=TJaT09mjY7Zqd+TaBICVj5K1bNTlPcjBIfZaTuHfrfac07LIkH3L470/5ng3kWdB6H djw0L/eA60WVtzS3I2ADQLE1xc++oqHTXVMWPd5ItDKJlb6/REu8slBZcXnl7F9XObDm I+fFm+bqocBRcALNmJjfceFzHz6O69nzWBarH/2V/FVBzc+r9G2ZTjX7gGsL1oPUIISk 4IQ9EqTI5DZm6Zaii7kaba2ogBk2iuiYWUGev7eEqtSQXrTE+gSgHTKSg9g6A58657Ss 9G7gZcgxYKbWwOTGVJyqXXR1XUlXcd6a0TakYUgYEhhdZgwJQ8AJVvVBVbrPWs3UmdsF CAaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=PQvEMTx1Kq6YcRuD0LZppO3oUDDZcsMzBNe824/3OPY=; b=n2/bEu8EcyW5lUe4t/dWwxFknVp1Dq8j5iFppZnzUQ2ECqct6LSZcxfPi3JLP1RHsS 21gu7bfZ4PhOHp/wRsv3gQKwII7FHR5xtwl8dfDDonTBoVXMEGDQDan3diVodmcdyDWu +PzZTLDe2iU9Rvab066jJFHtZoiN7wdoVOdYJzBXEtt1Dv0K9ZCCVxmwfCMyIVwVYsvt oPo0OYLyEc86mfuUyRoi5VIz3ufZ4N/9vxGoLmYv8BiWw1GFPNovhV/Eboex3FGh75q3 +0xxx0e8yrn5b/BPQqGmCTtoXZylDW7QczzNm0kxRrLFOPLsdVo9XA+/5JJpHKOV3/yp ouPw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si16406197pla.436.2018.09.10.02.21.10; Mon, 10 Sep 2018 02:21:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727996AbeIJOMy (ORCPT + 99 others); Mon, 10 Sep 2018 10:12:54 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:56020 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbeIJOMy (ORCPT ); Mon, 10 Sep 2018 10:12:54 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gerddie) with ESMTPSA id 5C120277A94 Message-ID: <1536571118.4810.38.camel@collabora.com> Subject: Re: [PATCH v7] Add udmabuf misc device From: Gert Wollny To: Gerd Hoffmann Cc: linux-kernel@vger.kernel.org, David Airlie , Tomeu Vizoso , Laurent Pinchart , Daniel Vetter Date: Mon, 10 Sep 2018 11:18:38 +0200 In-Reply-To: <20180910083731.o4rryvermyighbtp@sirius.home.kraxel.org> References: <1536491489.4810.22.camel@collabora.com> <20180910083731.o4rryvermyighbtp@sirius.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 10.09.2018, 10:37 +0200 schrieb Gerd Hoffmann: ... > > The other question is of course, why did dma_buf_export fail for me > > ... > > What exactly did you try? I ran qemu-system-x86_64 -enable-kvm -smp 5 -M q35 -m 8G \ -drive format=raw,file=ubuntu.raw,if=virtio \ -net nic,model=virtio -net user,hostfwd=tcp::2224-:22 \ -vga virtio ubuntu.raw = Ubuntu 18.04 (bionic) + 4.17 kernel (from Ubuntu cosmic). The VM boots up to a certain point, the last line from the boot log is varying, as far as I can see it is a few lines after virtio_blk detects the disks. When I add '-display sdl' the Xsession freezes. I was still able to log in remotely and kill -9 qemu, then X11 became usable again. In all cases I get on the host: qemu-system-x86_64: info: udmabuf: init ok and there it stays, certainly because of the kernel bug reported. Best, Gert