Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4844594rwb; Sun, 13 Nov 2022 15:21:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf48OdmEcq/rW01qSaGtDNBP3BGQFba4Q6EdBZWdricHDhxlVH5qF6UX6p8mjU8rCG97m+Y7 X-Received: by 2002:a05:6402:4447:b0:461:9f41:2960 with SMTP id o7-20020a056402444700b004619f412960mr9114774edb.242.1668381706307; Sun, 13 Nov 2022 15:21:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668381706; cv=none; d=google.com; s=arc-20160816; b=FsOKqbl3fhaAnoZbZuzaeWYZIhgySW/qe/d7anRDyI2gU1w3fIpOWdb31TGIDCeNZA YSvlM7tMb/9CJjYgBp0kcAkr5waumrZb3baeEYZ3T6v8qU95YESP7Cr52eVx+/mFAhat Pj79tENHKLMe2rlajPDIYwj5SkVFMdVY4maxTHAwvwFtGTaXq7N03eU1Ull7W9+R48iL +FO9wqPwxB/8LRZWYoaNfQQ44pF9RXSBRZFtGGIEeBmhdSKrUKPSjp/dTfl2dm5qQzDP 0Bs+yjg2blMO4kheaI6ajPQK/aNKu4R369qH+2ecV9aW3PYcWYLzWofxSJwrb9X0rBzU 8XtQ== 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:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=+0tpGVdh9ae2Ppr7A0kyTxlA0RJfJWeuXbjp43zK0uo=; b=VCzoIr909ppAdecvD6n+YtOryx0LkZKYYYVBWGRTjIYBM/m0brBFO59GYj++B03YJZ FtJEVlmPYS7po7jzl58VapwzsYk9/R2//fJYZYrh5vyKtcsEpoRFrI5W/qIjlipO05Ix 5vMGgU+QJxlecCoReSoIgbQLPoCAxjacXHUYD0awlQOqjEpoR4MRFNhL9DSQ7+O63NJS uL0eNPGwYC5BXBM6JNNzahHcJbWkkrO3zhxlnKe2nCpZCEBLjPrkXrrDKcTPu3DjbuKv 3m7IOf+F6D4R9qpGGD22S1duSRfzZ6k3oTHy5vlqXYDkWh9DxiVSswX52XdGIR6oYSbb A+Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iyW4Y2SB; 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 mp8-20020a1709071b0800b007ae1874c142si7810138ejc.446.2022.11.13.15.21.23; Sun, 13 Nov 2022 15:21:46 -0800 (PST) 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=iyW4Y2SB; 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 S231252AbiKMWzZ (ORCPT + 89 others); Sun, 13 Nov 2022 17:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234044AbiKMWzU (ORCPT ); Sun, 13 Nov 2022 17:55:20 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5D5D126 for ; Sun, 13 Nov 2022 14:55:19 -0800 (PST) Received: from [192.168.2.248] (109-252-117-140.nat.spd-mgts.ru [109.252.117.140]) (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 437F36601FAA; Sun, 13 Nov 2022 22:55:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668380117; bh=F03dUGn7tUZsgV2kBeJ7WoSqe3zgZ1vmINxDLXObmMY=; h=Date:Subject:To:References:From:In-Reply-To:From; b=iyW4Y2SB+TOshLi/YRYZ/rPdzXhchtZL3QJMHX9UGg2BGjYBt/nNVhEjt+JTlC2tU l9tJHSR42z4EC4ukScQRb/hK7DSyZVV6Cm/Zp0UmYeUQRLIsvwvQmQiizNT1ZVuA1p trwlmcbqA4Faj2KcAvh6NrQ46+s/X8uZXe30tjjYGIWu7pRfWHCvtgLQ9VIiAPd47e gaEOB4B0mi+4nvjmVow0KozTJ1ZHyyyDWkoPUUdjkoL9LMopjdk2/knI6O/iWlfJQc 8KLD2q7rv8B9WdGLsuJHB5BFhNn0Px2yXwA25CyPJpwxGf4XXbdUIqJNa2RjSk4RVy e97+1mCpb3l2g== Message-ID: <061ca923-866d-2d31-8084-f4133e05b171@collabora.com> Date: Mon, 14 Nov 2022 01:55:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: dealock in drm_fb_helper_damage_work To: Dmitry Vyukov , Dave Airlie , Daniel Vetter , DRI , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , LKML , =?UTF-8?Q?Christian_K=c3=b6nig?= References: Content-Language: en-US From: Dmitry Osipenko 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 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 11/13/22 23:48, Dmitry Vyukov wrote: >> Hi, >> >> I am getting the following deadlock on reservation_ww_class_mutex >> while trying to boot next-20221111 kernel: > The code is recently added by this commit: > > commit 79e2cf2e7a193473dfb0da3b9b869682b43dc60f > Author: Dmitry Osipenko > Date: Mon Oct 17 20:22:11 2022 +0300 > drm/gem: Take reservation lock for vmap/vunmap operations Thanks for the report. I reproduced this problem using bochs driver, will send the fix ASAP. -- Best regards, Dmitry