From nobody Wed Apr 06 16:27:42 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 7700D1A91B7A for ; Wed, 6 Apr 2022 16:27:44 +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 4KYVKq5bXKz4d9k for ; Wed, 6 Apr 2022 16:27:43 +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 493261E7C3 for ; Wed, 6 Apr 2022 16:27:42 +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 236GRffe046915 for ; Wed, 6 Apr 2022 16:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 236GRfAR046914 for bugs@FreeBSD.org; Wed, 6 Apr 2022 16:27:41 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 16:27:42 +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=1649262464; 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=z7oCzbMU4QquO7gdtTLvHPQ7sv15eokARc62g/2kKBQ=; b=bpPtF7Hs6qXxlyrKwtPKHpoSBPtXDmkEPlbjJKy0hfx6tcW7pAbJSeVKeGw50HKnb/xJbE QJ5QcpOn9/T0s+WWFrnuuK4JP3ZeyNX1B8TVAAs6hOlZAwFsN3hk9tLKX1qFH1r41lxSDD lmC3zeGh6Wx1Tl1L896BMR1wxZi3Ro59ERAyWNCHHBnJFFkTfer/ZxnGD6ifcJO76JYuXp WU/ahC8IXimdXL4zZH9EohRJtByZ+23cSoFZamCJWSpmiUrjgL8EFzgXXppRJOldSBhiQd i3pgKllYIh9jV/54oMqKYESHipfKr9xCxgYBL+rO4WwMcp3uREuY7SVniESFPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649262464; a=rsa-sha256; cv=none; b=q+R+IcuscH72kX5HLSYDkZuyRePJTUkxtA5LXvED0b/8faRENCxnRY5RECvwKG1rDajGtP GKPhGfNQjWa7yx8nx9J2f+R4cDOT8JwiAnIWQl3etgsewJTvocyc9ga50pHkj6Q/JCjjFK UB7a/2LjQthrZa8RmjrBLxPsfu+4nuYndgHyIoJY92+BdzbaihBZFBw536UdPSDhe6LYNK RlSobpAwP+0FcsiBeWxepWMw+4wN2WMjSCHneM+HtwURec+7zJoei7oPV/jh6DJK5CU8KG yrorUBV+EY6KLtVfz5EWdoIJry5JloPh58mxGOIm1CMjMIB8u0nAPHuttIU54Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261375 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D09e161a29ee5b0e52494c861f451de35b= 286e327 commit 09e161a29ee5b0e52494c861f451de35b286e327 Author: Chandrakanth Patil AuthorDate: 2022-01-21 09:24:37 +0000 Commit: Warner Losh CommitDate: 2022-04-06 16:27:25 +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. Reviewed by: imp PR: 261375 (cherry picked from commit 79c4c4be9618470711480f46ef2cd3a15c00cdd2) 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.=