Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp830190pxb; Tue, 12 Apr 2022 14:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR4VcXEq4xEyDMKuS7uJwIhn8k41WtgNxPwRw8s21aBxnyKoA0e6OzUjFcfSsY00KA4zEX X-Received: by 2002:a17:902:f54e:b0:158:406f:19fa with SMTP id h14-20020a170902f54e00b00158406f19famr16817997plf.42.1649799584937; Tue, 12 Apr 2022 14:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649799584; cv=none; d=google.com; s=arc-20160816; b=hb+qZ6lhrLiaAj9bzOWIJbjIJw0mmvC71fhhxoUjEKwqOx95VnkPrpZtxLhPDshCkh +O8a92GxLk/J2GXpPkj1+I7Aphb0zuVkr55R8VcvelafPB0eyhhjM3FzDJe/O9wwrthR DAhI7xWXrLQOdoN5c9eA4VOf8ZGOmsSbj+UNxzwoT8ahkQP+MAqAZ86eiQel4KiHbbuJ jEgPHyfTQBHH2S3bwIiM/yyIqhAs7Qs4ate6gneLttqHsuM7oQTfM8VPkoxLLLuRkp6z yfyyo3A3dbMGLeQP7RVTegJhvd9J+ZmmWh3MLRCQaG7vu+LCVQyTKqzMZggzXdJXcG6V mFyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lU0csIEsZDzE41MwkALBCybhlERErvcPF+sfVBonqHs=; b=zKLOijlwy045T0SDpRMBU5TMnl3v0CQOkBBaBeYxvc50QbYbMX9LqDmtrFTcYlynKt 9Q7RjmvvlbAGxn59/PdDOCXX/BWrXCFr7XgLmWLo7QLDjkYbMQLYsPUzm9k14uPigHxa MF3rZvr5ZuPBIcwIypqmLI2EJeWDOqyZ+JUlM3Lo/cIWHrUSxqj+YvTma/oW03nMEPvU Y0aJVb5lBjOs21DafEl+QiJB2Dl3ZXwcReek+bJe5P1Om7oZPpBrOCKyEVWavTTSn1Sv xzo+NjlVPt1yBQgsNc4P7XaqdkNTW3LfQpAia25Wg1tuvnvKWgWehKiESFnB6mUfCwcc DfKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NM88+nbc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h137-20020a62838f000000b004fa63c4434fsi12728280pfe.322.2022.04.12.14.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NM88+nbc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ED0AD2C133; Tue, 12 Apr 2022 13:46:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235050AbiDHR1p (ORCPT + 99 others); Fri, 8 Apr 2022 13:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbiDHR1m (ORCPT ); Fri, 8 Apr 2022 13:27:42 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFA7B11DD1D for ; Fri, 8 Apr 2022 10:25:33 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id a5so8023688qvx.1 for ; Fri, 08 Apr 2022 10:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lU0csIEsZDzE41MwkALBCybhlERErvcPF+sfVBonqHs=; b=NM88+nbc35Zqm447HFRboPxAt50UQeRlmnPlgfN20A29ljQsY9vkOMUn+VGqIdiWmY Dcn8FOGQwYIcz83pr07P1FQYr6vwSF168HwNftLKO4abFG8/IwPYns3EvDN/fcJxbIbY w7vIf4RBx1g4q3Ri2kXbLAXvpdEwJy1duKfUJOEWtvx9rfX3Exe/iecmR4HWTjR04Ani /Smkf5jNYD6+B+EzB8Q1X9JR50QuruKTnTU6dno+QdtD2FxdZem31j8NxXnJ3scSE4kw B43o+ngT5M6F8XdvPxgHNI7EdJSlPinoNv2vkzs7G4rHMYRsy1eIXoGixwbv95JVebLQ Wi4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lU0csIEsZDzE41MwkALBCybhlERErvcPF+sfVBonqHs=; b=m49jQ+aag8orUB5tMBgckG0IWxTKHXYjFyJaRtObUbPAvo64cGumV/+EYzz3G/diJd pmneK2xxAD/DZasodKVZNpnF1ea7mIg4AlZ0htE0jYkfwtCDcsOPJ0YmbtGL4liGwO0F vkZ8TDyKOi0VxJFTDbnYyeQIM7xeRYqemRxGbaySAK+ALw1yLKbTJPEJpRrwsqi12D/1 dhAIyy1nziePAuwmp/qgs2ECBhlLr9etLRpLftkHiOFF5oo7PdM4SxjQrISFfezdg1O8 1FKzG7oRPfe7Fmzj/1DiA8uDxoZcjtzjuijYj7QL8+sylmPO9ScBINbmQJv4Tf0hALGg NfOw== X-Gm-Message-State: AOAM531+S7++k5VtLCiX6QBuZM80yYhYZWJhySQk3LFmT69qDi7XnDlm QgVeh0ngVbyMKsNZlvDCb3nf/eYKy9XXp/4qbdU= X-Received: by 2002:a05:6214:20a6:b0:443:5818:ade2 with SMTP id 6-20020a05621420a600b004435818ade2mr17297303qvd.84.1649438732926; Fri, 08 Apr 2022 10:25:32 -0700 (PDT) MIME-Version: 1.0 References: <0d5f66d8-9852-b6a9-0e27-9eb9e736d698@amd.com> In-Reply-To: From: Mikhail Gavrilov Date: Fri, 8 Apr 2022 22:25:22 +0500 Message-ID: Subject: Re: [Bug][5.18-rc0] Between commits ed4643521e6a and 34af78c4e616, appears warning "WARNING: CPU: 31 PID: 51848 at drivers/dma-buf/dma-fence-array.c:191 dma_fence_array_create+0x101/0x120" and some games stopped working. To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Ken.Xue@amd.com, "Deucher, Alexander" , amd-gfx list , Daniel Vetter , thomas.hellstrom@linux.intel.com, Linux List Kernel Mailing Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, 8 Apr 2022 at 19:27, Christian K=C3=B6nig wrote: > > Please test the attached patch, it just re-introduce the lock without > doing much else. > > And does your branch contain the following patch: > > commit d18b8eadd83e3d8d63a45f9479478640dbcfca02 > Author: Christian K=C3=B6nig > Date: Wed Feb 23 14:35:31 2022 +0100 > > drm/amdgpu: install ctx entities with cmpxchg > > Since we removed the context lock we need to make sure that not two > threads > are trying to install an entity at the same time. > > Signed-off-by: Christian K=C3=B6nig > Fixes: 461fa7b0ac565e ("drm/amdgpu: remove ctx->lock") > Reviewed-by: Andrey Grodzovsky > Signed-off-by: Alex Deucher The all listed games are now working with an attached patch. Also flood messages "WARNING: CPU: 31 PID: 51848 at drivers/dma-buf/dma-fence-array.c:191 dma_fence_array_create+0x101/0x120" has gone. Thanks. Tested-by: Mikhail Gavrilov --=20 Best Regards, Mike Gavrilov.