From nobody Wed Apr 06 17:46:58 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 C3C6E1AA7D64 for ; Wed, 6 Apr 2022 17:46:59 +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 4KYX5G3lKBz3Dy0 for ; Wed, 6 Apr 2022 17:46:58 +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 4958A1FBC6 for ; Wed, 6 Apr 2022 17:46:58 +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 236Hkwgu086130 for ; Wed, 6 Apr 2022 17:46:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 236Hkwrd086129 for bugs@FreeBSD.org; Wed, 6 Apr 2022 17:46:58 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 261375] mrsas: Remove additional MPT command allocation for R1 FP IOs Date: Wed, 06 Apr 2022 17:46:58 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress 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=1649267218; 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=sjHDHzfKDwzApCMdHLU3yj1KFSOTFKBFAACWXhwSrxE=; b=xcIGw+huEj3QwHnHPTcE+2nGqH9KTM75UAxAzmNO7x7dIQr2HCYFKtKK3d36OsV1VoNTJo vLnow8YRohfHOncYFcU3btEuIQZqmol3Iz1QrX0IkS+PlO5axXFasqefgvgtKHLcEH1IWt y5hQUddsx777sf9jj2AxuM4agt2ukKq+j5Ik2kp/pFsEHt5LWmCmlfM98RsdUU+uHhfpOH +2uSDg2VmHrU94Ql/jiBdwTuhdmGXe9JLSA5ZTbnwBYJQmUYF589ItgEk+5/2vgPzjm/oe 2n3bCXhg+Ht7HeRCOO88rgywn3tQbqZe9dbz8DvOR6DCs/Imhvy1wCBEX82Hgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649267218; a=rsa-sha256; cv=none; b=VP/ozBLOZ+zCNBWQV7G8yDfcKL135a8PMq8N5h2KYnzqXMFx5nvcqLKk4Vd8BxPQDX8D/X HF2in6p9BANi/KxDEgwyUAe3S6O2z8sDFCy+MaF6FaCxQzvWe5QruxJLRdHVgaUxYdL2U5 KvbG1jqCrXykCXCg7tryTr88dF94qKCG5L9Uh2Iwp+aWOUtRkqM5S0B/twqXziUdmdheQ8 j4TYn4wQCRjdShxZy/FvasWfKwOqgh9/Had4LGm9vjQi6eR1D1UEhI7ZfA7LazP/2FJCMT EkFLRDzOFFFPZJRQH+cF/RLi6mB8mgYCOkRy+xksBgsOCjfw+4BKpCVMJ2Gs1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261375 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch releng/13.1 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc872d65b55aa3bf6c030276eb0c793301= 5b20801 commit c872d65b55aa3bf6c030276eb0c7933015b20801 Author: Chandrakanth Patil AuthorDate: 2022-01-21 09:24:37 +0000 Commit: Warner Losh CommitDate: 2022-04-06 17:46:00 +0000 mrsas: if controller reset is in progress, refrain from firing DCMDs to firmware in shutdown If controller reset is in progress, at same time if system shutdown is issued then corresponding shutdown function in driver will be invoked where driver is waiting 15 seconds to complete the controller reset. If the reset is not complteted within that time frame driver will go ahead and fire cache flush and shutdown DCMDs which will end up accessing the the queues which are not initialized due to undergoing reset leads to FMU error in firmware. Fix: In shutdown function, if controller reset is not finished within 15 seconds than driver will return to the OS without firing any DCMDs. Approved by: re@ (gjb) Reviewed by: imp PR: 261375 (cherry picked from commit 79c4c4be9618470711480f46ef2cd3a15c00cdd2) (cherry picked from commit 09e161a29ee5b0e52494c861f451de35b286e327) sys/dev/mrsas/mrsas.c | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are the assignee for the bug.=