From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6358BC433FE for ; Mon, 17 Oct 2022 22:44:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230336AbiJQWoG (ORCPT ); Mon, 17 Oct 2022 18:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbiJQWoE (ORCPT ); Mon, 17 Oct 2022 18:44:04 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86D4875FF7 for ; Mon, 17 Oct 2022 15:44:03 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 129so11727762pgc.5 for ; Mon, 17 Oct 2022 15:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D8T9R90NQr0Cus17IiTSAkyfNN/tN1vR67SiHbRuEPI=; b=U2N8UnthPtqfKpR8N9pAjr8gPmCblQJD92zioxeGUg0fl8+yjDCMjfD6zMOO/0v3VZ v4e9j8lUGszk1F0sxLkQ1OLHVl692mVKtG+ONjc5J+2LAGvNad8zGpHHoG3QbbBjEEQw w6YGf71fhPQdZJ7aZy20CV0WoLdzeROnm/DDfxK04pOIJo83y76ALsWC4HXBeDsIPvmR sfktx0UYQbYqFXpVHqqW2GNVE95VDn73P2ptaFUqJfoZKiEfCk8Nrps91kIv7yV5gxYL v0SheJdFEL+/OB0gq+pqO8tCN/vkB3IdkSuiWIA2RC3KGLXyeaXaUgWXtqWhPHTX/h1o stjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D8T9R90NQr0Cus17IiTSAkyfNN/tN1vR67SiHbRuEPI=; b=h3jA61zttG9O0vIfA9ZlsjKT3QoSLFSE/DYogTSejUXM/3gkXqwv/luCkpbAurnxpD MKhBLoqWvrGUKOcHFCAzQ/XN6DR3kxoAP+taNaxdFyLobUhlb6Bz2jXA31RIOO8iiip3 ySbaSQRwr9uEcDX2Hly5coV+rpxTiZ0WJ2pCJdZEcqWk2NwJ36Dd2R3NTZLbpTF2ju/0 WuMeCiIUJpmj/gQwkU2c1le3nUgmezjB0AW6d2qdrM1dftCPgWasUPN7w43D7v9HpbNi cI1oryc8Tu2fwKwM4vIU4UZZim97fZvbKtPrWc/F07tILhMkXo1233cXgag8A+0LJ0fY pUUg== X-Gm-Message-State: ACrzQf2KWwXS1hTaFyBAUXUzQJmHvC7+PbhWH9yxu20lMLfOBGBkNDk2 35GcA0PvVics7Ob7PDQfYYo+6S1Q3idm4vmps/M0ECk1C+anO4NI X-Google-Smtp-Source: AMsMyM79IeYRrUMTY0HLvtqCc2++5ANt+Zj8uvyOpxR0fR1UjDNuT8HK9/IMJyA2Zo8fWIUbzS5QGag+bo/+rF4c3Cw= X-Received: by 2002:a63:fd4f:0:b0:45f:d7ef:9f94 with SMTP id m15-20020a63fd4f000000b0045fd7ef9f94mr35647pgj.137.1666046642898; Mon, 17 Oct 2022 15:44:02 -0700 (PDT) MIME-Version: 1.0 References: <0d5f66d8-9852-b6a9-0e27-9eb9e736d698@amd.com> <4d0cbb79-4955-a3ed-4aa2-7f6cdaa00481@gmail.com> <675a2d33-b286-d1d0-e4e7-05d6516026c0@gmail.com> <8e54ec49-09da-f345-35cd-430712f5a6ad@gmail.com> In-Reply-To: <8e54ec49-09da-f345-35cd-430712f5a6ad@gmail.com> From: Mikhail Gavrilov Date: Tue, 18 Oct 2022 03:43:51 +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?= , "Deucher, Alexander" Cc: Linux List Kernel Mailing , amd-gfx list , dri-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 11, 2022 at 5:01 PM Christian K=C3=B6nig wrote: > > > We have implemented a workaround, but still don't know the exact root cau= se. > > If anybody wants to look into this it would be rather helpful to be able > to reproduce the issue. > > Regards, > Christian. I see that issue was returned after this commit dd80d9c8eecac8c516da5b240d01a35660ba6cb6 is the first bad commit commit dd80d9c8eecac8c516da5b240d01a35660ba6cb6 Author: Christian K=C3=B6nig Date: Thu Jul 14 10:23:38 2022 +0200 drm/amdgpu: revert "partial revert "remove ctx->lock" v2" This reverts commit 94f4c4965e5513ba624488f4b601d6b385635aec. We found that the bo_list is missing a protection for its list entries. Since that is fixed now this workaround can be removed again. Signed-off-by: Christian K=C3=B6nig Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 21 ++++++--------------- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 -- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | 1 - 3 files changed, 6 insertions(+), 18 deletions(-) The games Forza Horizon 4 and Cyberpunk 2077 again hangs at start. --=20 Best Regards, Mike Gavrilov. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 568C2C4332F for ; Mon, 17 Oct 2022 22:44:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 45BE110E27C; Mon, 17 Oct 2022 22:44:07 +0000 (UTC) Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74AC010E240; Mon, 17 Oct 2022 22:44:03 +0000 (UTC) Received: by mail-pf1-x42a.google.com with SMTP id 204so12390056pfx.10; Mon, 17 Oct 2022 15:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D8T9R90NQr0Cus17IiTSAkyfNN/tN1vR67SiHbRuEPI=; b=U2N8UnthPtqfKpR8N9pAjr8gPmCblQJD92zioxeGUg0fl8+yjDCMjfD6zMOO/0v3VZ v4e9j8lUGszk1F0sxLkQ1OLHVl692mVKtG+ONjc5J+2LAGvNad8zGpHHoG3QbbBjEEQw w6YGf71fhPQdZJ7aZy20CV0WoLdzeROnm/DDfxK04pOIJo83y76ALsWC4HXBeDsIPvmR sfktx0UYQbYqFXpVHqqW2GNVE95VDn73P2ptaFUqJfoZKiEfCk8Nrps91kIv7yV5gxYL v0SheJdFEL+/OB0gq+pqO8tCN/vkB3IdkSuiWIA2RC3KGLXyeaXaUgWXtqWhPHTX/h1o stjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D8T9R90NQr0Cus17IiTSAkyfNN/tN1vR67SiHbRuEPI=; b=T4JNU1TwGG7aGLhxr2Dv2cAnt/NqzOxU2sw04wkKzCZhlErX7tqdI8KF7mkPw5ry2L CjXXbHlkcs45IMI3BcQ78DFp9Em3FQW86SZrSFM3avu3aXe/4qJyhZaCBKnqGTcwCnJn ugfCD+0D9TRUxZ5M1HTaRPtmpoFr1cPBFA5pqEQ3XvLbG5oeuOCwFYeYt4hiV+SxqHAE Rh2sn15F5/iVreeFS7aNKadgdtGM6GPLhAfGoc3H2rYp39dVHPWY+f23+8P/oTP717TI zTicBx9RQkBj1oEKjM5sqGGJBwUMjcePA5WC7yqE8Suyferke82CWJvsUBlEtDs6TPCh JM8A== X-Gm-Message-State: ACrzQf1taqQoEv9glZ8gJDeqp6sz/jvN86idH4NBpM3Md8K6dA7A7vWx u3oINrdLxr1PFY0RT+m2wliDpm1ik5WARafrT20= X-Google-Smtp-Source: AMsMyM79IeYRrUMTY0HLvtqCc2++5ANt+Zj8uvyOpxR0fR1UjDNuT8HK9/IMJyA2Zo8fWIUbzS5QGag+bo/+rF4c3Cw= X-Received: by 2002:a63:fd4f:0:b0:45f:d7ef:9f94 with SMTP id m15-20020a63fd4f000000b0045fd7ef9f94mr35647pgj.137.1666046642898; Mon, 17 Oct 2022 15:44:02 -0700 (PDT) MIME-Version: 1.0 References: <0d5f66d8-9852-b6a9-0e27-9eb9e736d698@amd.com> <4d0cbb79-4955-a3ed-4aa2-7f6cdaa00481@gmail.com> <675a2d33-b286-d1d0-e4e7-05d6516026c0@gmail.com> <8e54ec49-09da-f345-35cd-430712f5a6ad@gmail.com> In-Reply-To: <8e54ec49-09da-f345-35cd-430712f5a6ad@gmail.com> From: Mikhail Gavrilov Date: Tue, 18 Oct 2022 03:43:51 +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?= , "Deucher, Alexander" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel , Linux List Kernel Mailing , amd-gfx list Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, May 11, 2022 at 5:01 PM Christian K=C3=B6nig wrote: > > > We have implemented a workaround, but still don't know the exact root cau= se. > > If anybody wants to look into this it would be rather helpful to be able > to reproduce the issue. > > Regards, > Christian. I see that issue was returned after this commit dd80d9c8eecac8c516da5b240d01a35660ba6cb6 is the first bad commit commit dd80d9c8eecac8c516da5b240d01a35660ba6cb6 Author: Christian K=C3=B6nig Date: Thu Jul 14 10:23:38 2022 +0200 drm/amdgpu: revert "partial revert "remove ctx->lock" v2" This reverts commit 94f4c4965e5513ba624488f4b601d6b385635aec. We found that the bo_list is missing a protection for its list entries. Since that is fixed now this workaround can be removed again. Signed-off-by: Christian K=C3=B6nig Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 21 ++++++--------------- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 -- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | 1 - 3 files changed, 6 insertions(+), 18 deletions(-) The games Forza Horizon 4 and Cyberpunk 2077 again hangs at start. --=20 Best Regards, Mike Gavrilov.