Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1106947imw; Tue, 5 Jul 2022 04:00:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vAms8/c0w8KCbrtalj/lXeAPUc3h/tfMTX1hKnEktXtz0s1kmPDhdDR7m4aydns663Q+AO X-Received: by 2002:aa7:db09:0:b0:43a:7353:94a6 with SMTP id t9-20020aa7db09000000b0043a735394a6mr5929754eds.191.1657018854644; Tue, 05 Jul 2022 04:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657018854; cv=none; d=google.com; s=arc-20160816; b=u5AcnW5ujtRXRPbqCQf1ec23/nUbS6zuzpkHKzf0i39Me/ZbMusCyJpjTC8zTN5hBG UFCJIDcXrNYpr7dPlvBlydkDmtLjpchw7jP+yBj/qYfQR8HJziXVxegBhwti4k2aNuYJ 2HygAkEZZdKXFJjKoXZ6v/6OMUSRTXladDALo0yMR+ZGtpyuvxzX+pCiRHfp6bVCKy/R YkMgF1Ko0RIiInKylTKVf4siEg8M4ZX6n5QQxk/1gTSLdC4U0fJHzIK4hvZ4OW2mLl9f ZysU+n4T4GFC8KDTS0BHxzsB1F6IC95DDHpP5XrRTHwKRQFj1UvkqCClEC4HNH5OAC0h /jow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=NQQnGHyjip0OZ1RWynypZEuTdnqab5+NfdTFFfcLN3U=; b=N2dAWnvn2UvImA+QZx3C56HXSarVsQpQEgqbDX9D7Ui2teymLXo8W3DBmKVMsAwh5h gExAyCAlW6LOXbuwTZE2EnhuVBVnE2IS6WhRYd62EaZ02sC6E0kLfvULr7t1TbNYfjTv 94xfsUSq5SIPiauwKj09qjwjRdkl5+L+/0RdOLWTBgmqSv45GC9E7K76R85GxQ11DLFW woLxFUVAs6EAIjkm2ItQHRj+l07T3yibtZA8fjSm+g4ZR6WqRIud1YT6SGYF/scRmZw+ gfsN7u8DSG1gO/cGJTctUWDB4nHHXtr7o8VH32ulSgWVlxQ3l7spSLeEqsoZCHs76pM4 WWeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="BFsJtEh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a056402354f00b004358c3bfb61si43161820edd.141.2022.07.05.04.00.29; Tue, 05 Jul 2022 04:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="BFsJtEh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232921AbiGEKxh (ORCPT + 99 others); Tue, 5 Jul 2022 06:53:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230217AbiGEKxK (ORCPT ); Tue, 5 Jul 2022 06:53:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ED8516596; Tue, 5 Jul 2022 03:52:35 -0700 (PDT) Received: from [192.168.2.145] (unknown [109.252.119.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 04042660180F; Tue, 5 Jul 2022 11:52:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657018353; bh=C0XVywH+oyNLG15zS9kJCfV/f1r6tRA5EPvm3RYnUOM=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=BFsJtEh/gBUsqY7oLRLDvEEt2L0qJInllcm8ERMdMkKs/ivYjVrMj7HM0VLqfdii4 iZJrTAHKS+FQJADUDLdChPRH7Y6aiXltet0/Ptkf7VzEZKH0NTIj3TrpzjnTsS5eIM +daU4k8lz/lV6BZmBuVv7AHzc7nHJfY2f1YwSD3ROdt84HfzsTGjByasgAXNcMz4d1 qg/O+0qPRX6gCd4cBJwu1DYAoDwhHm0Pyvxxug8XaHFbhF++KaNwZMKNBglpUncQwu n6itsrDfKq1GL6c0rmng3zw4Cd6j6JFnFqIEoFQiM5a30K8uZbuwLUOjlQtKkbkZuL 78aARH30ofTdQ== Message-ID: <37f028a0-f54a-a1a9-e23a-3c1af6979a62@collabora.com> Date: Tue, 5 Jul 2022 13:52:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v6 14/22] dma-buf: Introduce new locking convention Content-Language: en-US From: Dmitry Osipenko To: =?UTF-8?Q?Thomas_Hellstr=c3=b6m_=28Intel=29?= Cc: intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linaro-mm-sig@lists.linaro.org, amd-gfx@lists.freedesktop.org, linux-tegra@vger.kernel.org, Dmitry Osipenko , kernel@collabora.com, linux-media@vger.kernel.org, =?UTF-8?Q?Christian_K=c3=b6nig?= , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Daniel Almeida , Gert Wollny , Gustavo Padovan , Daniel Stone , Tomeu Vizoso , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Steven Price , Alyssa Rosenzweig , Rob Clark , Emil Velikov , Robin Murphy , Qiang Yu , Sumit Semwal , "Pan, Xinhui" , Thierry Reding , Tomasz Figa , Marek Szyprowski , Mauro Carvalho Chehab , Alex Deucher , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin References: <20220526235040.678984-1-dmitry.osipenko@collabora.com> <20220526235040.678984-15-dmitry.osipenko@collabora.com> <0a02a31d-a256-4ca4-0e35-e2ea1868a8ae@amd.com> <02e7946b-34ca-b48e-1ba6-e7b63740a2d9@amd.com> <7372dd1b-06f7-5336-4738-15f9b4d4d4b3@collabora.com> <90fe74f6-a622-e4ae-3004-6f1bc1790247@shipmail.org> <0d88cf7c-61e5-d7a8-a6ba-83388114a1fa@collabora.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/5/22 01:38, Dmitry Osipenko wrote: ... >>> Also i915 will run into trouble with attach. In particular since i915 >>> starts a full ww transaction in its attach callback to be able to lock >>> other objects if migration is needed. I think i915 CI would catch this >>> in a selftest. >> Seems it indeed it should deadlock. But i915 selftests apparently >> should've caught it and they didn't, I'll re-check what happened. >> > > The i915 selftests use a separate mock_dmabuf_ops. That's why it works > for the selftests, i.e. there is no deadlock. > > Thomas, would i915 CI run a different set of tests or will it be the > default i915 selftests ran by IGT? > Nevermind, I had a local kernel change that was forgotten about.. it prevented the i915 live tests from running. -- Best regards, Dmitry