From nobody Tue Jan 18 20:15:54 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3868419670DC for ; Tue, 18 Jan 2022 20:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jdg562Wzpz58Cy for ; Tue, 18 Jan 2022 20:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E50F627A17 for ; Tue, 18 Jan 2022 20:15:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20IKFrhn032832 for ; Tue, 18 Jan 2022 20:15:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20IKFrKc032831 for x11@FreeBSD.org; Tue, 18 Jan 2022 20:15:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjExNjZdIExpbnV4S1BJIGtlcm5lbCBwYW5pY3M6IG1p?= =?UTF-8?B?X3N3aXRjaDogc3dpdGNoIGluIGEgY3JpdGljYWwgc2VjdGlvbiDigJMgMTQu?= =?UTF-8?B?MC1DVVJSRU5UIG1haW4tbjI1MjM4MS03NWQyMGE1ZTM4NiAoMjAyMi0wMS0x?= =?UTF-8?B?MSk=?= Date: Tue, 18 Jan 2022 20:15:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642536954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aGNdS5xB991vSA4U2ZnX/Pvy8ZWctgAnbT/IdB/joOc=; b=DFx2OPBA053+mqiEIkYhUqVHOx9uqEt7KXrJ+itxTMSPbO74QBXj4+BMT7xEB8HDvMhUJy HLt3LMCNbfNzE6jkHGb6pmtBiwyLlDaBQEmj95ZVZKmYeB760DNmwoXT8NZfpomG+CusIk IlSPMADPfPSoX+mKmEurITqNQZWCgNMpjdyxYdg00L69d7KZhjI8YL6D5rKKun/eZ6rsnw EfM5VSUqN4NfiBZw7jB1VTIWBaiT8gkU/dwZijepzFk/Eu1oEQT4R7e4WHBQDaQthMWM0b 3Hr63S9EOMMwvmPK+dwcNWEAWv6MqdaiJ/VD3wNC6zneNCuHnLPLExtHuQyK4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642536954; a=rsa-sha256; cv=none; b=VtlwIkgmcGnc75LdHbqRUnQ81SwTresYPE6ynuZkqR96cQaHNsFWl9t4gxBN7rFWFFfmo0 VPLZQZNAwkVdX2Y+Ai08Dx5GlfwinrN0zUxuPlYQhNNQ+pYtbPu76gtsowX0dcltj1BR1q CRpNPJG0vXZI+hxzxUYjC/29eMftg8o0k/9AAkS2t0bnYz4aDuAy8XyRzHqET+hO6RUW2k 7Z9/ZkHEhbXLFjwKkNMpj9g+SqWuw6xnQZDaS16rduCgK6X70todAv0tFLy7HUzH+z6j/z 4xZ/vxjBoBihGb2kLr/m8eBAzQRKJDA1ix3nzgv1ZrqutesfLnBuNXQb6rXPSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261166 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D89889ab470b9f1a1cd36913dd219b78ef= bf484df commit 89889ab470b9f1a1cd36913dd219b78efbf484df Author: Vladimir Kondratyev AuthorDate: 2022-01-18 20:14:13 +0000 Commit: Vladimir Kondratyev CommitDate: 2022-01-18 20:14:13 +0000 LinuxKPI: Allow wake_up to be executed within a critical section by replaceing of spin_lock() call with spin_lock_irqsave() This fixes following panic in drm-kmod: panic: mi_switch: switch in a critical section cpuid =3D 2 time =3D 1636939794 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b vpanic() at vpanic+0x187 panic() at panic+0x43 mi_switch() at mi_switch+0x198 __mtx_lock_sleep() at __mtx_lock_sleep+0x1c9 __mtx_lock_flags() at __mtx_lock_flags+0xa2 linux_wake_up() at linux_wake_up+0x38 __active_retire() at __active_retire+0xb7 dma_fence_signal() at dma_fence_signal+0x100 dma_resv_add_shared_fence() at dma_resv_add_shared_fence+0x96 i915_gem_do_execbuffer() at i915_gem_do_execbuffer+0x11d0 i915_gem_execbuffer2_ioctl() at i915_gem_execbuffer2_ioctl+0x19a drm_ioctl_kernel() at drm_ioctl_kernel+0x72 drm_ioctl() at drm_ioctl+0x2c4 linux_file_ioctl() at linux_file_ioctl+0x297 kern_ioctl() at kern_ioctl+0x1dc sys_ioctl() at sys_ioctl+0x124 amd64_syscall() at amd64_syscall+0x124 fast_syscall_common() at fast_syscall_common+0xf8 --- syscall (54, FreeBSD ELF64, sys_ioctl) MFC after: 1 week Reviewed by: manu Reported by: Graham Perrin PR: 261166 Differential Revision: https://reviews.freebsd.org/D33888 sys/compat/linuxkpi/common/src/linux_schedule.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=