From nobody Mon Jun 27 17:08:05 2022 X-Original-To: bugs@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 DB5A387E6A2 for ; Mon, 27 Jun 2022 17:08:05 +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 4LWvLY42k0z4tdM for ; Mon, 27 Jun 2022 17:08:05 +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 4E6694696 for ; Mon, 27 Jun 2022 17:08:05 +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 25RH85Jn072633 for ; Mon, 27 Jun 2022 17:08:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25RH85K7072632 for bugs@FreeBSD.org; Mon, 27 Jun 2022 17:08:05 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: bugs@FreeBSD.org Subject: [Bug 263008] smartpqi: panic: malloc(M_WAITOK) with sleeping prohibited Date: Mon, 27 Jun 2022 17:08:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656349685; 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=VK5KRkQYrqhmAhzlWOPmW32n2c/raPMk60Ng9n3/cJk=; b=LyGK8nppJ0hIp2jdQ++L4lRArqktxXBrThW1CQxc5hjLNgQTpEtWn7FnGn/ONphhqqx+28 iBJNHCeoaDQ3PlHwTB+ph6WAykXwEuy1EBD2+vFxkaf578ykY5nw6/0YO4aYik8BPzoa1i fMrhz/c6gs7EEciWjrt1D9VLR12s1ZAq/ph7vHHv12opVs8SKC3m+VVVfSo4ElKeQ30LTG PVXD668apY7/yNm/xBluqy2iGRNywFqosUe5QwXaSKVywUCdGmKVXeoVM3HzcDwNc3ypqq TnC2QO6TiJlfBmjsbufsFgKLiPt4SqFWwn6K8fHrn/BoGR02P3Ob8udqYZswqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656349685; a=rsa-sha256; cv=none; b=W5HH7SwcIhX+lrUQM/ggs3ILaXe+XLzQUE8HF0/wrC1j3tXbYbNq7dqVKiEmsksOge07Da oBuDSPEg1dD5+ApPvrbQ8KnhcWKxuyEwpH/ax2Jy1DJdPeEZ3SmnumnvU08JstwwTrORGX Qp+pkQHipOjc9gB1xaHbcvzqwOOWnrzAuF+2yFxFoFTuzBnAcG7XyUdswBidAQagqKFqaJ ZOsbN2R2RQQkilhS3/NEhmJFHsr0mZV1byI5+HkWfPxnaxb5bHLi3kUqG+ohmACvH8F9dD /tOkABkyofUUXTZPzriA50dbUqiv8ekFEwm9gRnLwTOAvKm/oMd2x2VbWnSo4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263008 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df4497b9f77795ece4d2f2fad4c0329d82= d53bc63 commit f4497b9f77795ece4d2f2fad4c0329d82d53bc63 Author: Yuri AuthorDate: 2022-06-27 15:48:31 +0000 Commit: Warner Losh CommitDate: 2022-06-27 17:06:31 +0000 smartpqi: Allocate DMA memory NOWAIT We're not allowed to wait in this allocation path, so allocate the memory NOWAIT instead of WAITOK. The code already copes with the failures that may result, so no additional code is needed. PR: 263008 Reviewed by: markj, Scott Benesh at Microsemi, imp Differential Revision: https://reviews.freebsd.org/D35601 sys/dev/smartpqi/smartpqi_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=