From nobody Mon Oct 14 05:40:51 2024 X-Original-To: dev-commits-src-main@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 4XRmKw0Vq9z5ZCdn; Mon, 14 Oct 2024 05:40:52 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRmKv5CN6z40mP; Mon, 14 Oct 2024 05:40:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884451; 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; bh=2gtMbVVLej+S5k22rMXVaUeCaJwQOXWSG7AFvppg8UI=; b=NgI58Bo0iAPQPQsm9Ozu1WDr8JYceWD7AO2QAgGLKxcAkjMNex1dATtc/TqWPXL3yUQGV+ m92vj6Nl8FXd4s8z/7/+rRDHHoZCcmtWI2cWlvH2eCjTXR77MsTfY72C/Vu8DDQj42M4WJ WP8tv2ZO121m4qszfA5UY/IxPdH52GmfqYDNrRExFAqoVIJM6WOBjD2XYsfI85BVv7rCcv zsXavF7r/v7KOpk7e4zHQ7XTfixAkKYIvLdrCFU+C8XqHycIWm4PGBH8OVz0EG9c3Payhy B+U9Dw+/gWrrc7XchXFC24mjohzfylc3v1ZS7TR8WieiEVN271/dGN1gIcjOBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884451; 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; bh=2gtMbVVLej+S5k22rMXVaUeCaJwQOXWSG7AFvppg8UI=; b=Jgs2pzxG7vidcR6B0LcJC7bzLapPujxbyuSgzC8bhrC7VdAVHkd61OKCsmXsu3/zy8Uj99 dZt1G33tHmTi9WOSh3fum9J7cd5z6RxxXg7iAWYfjLRbH/126LsZK9RG1V2sMzMZsshY8i Z/a+mjoCbbXU5Z75zHogToEJ4hI74euRVvs2BJuhPg6R7SxoGbsbZOWSQ4BgORvzvgJUjR ZRc16jrkGkXdVtBPO4l9fBQPTfsmccPmdnkpWb7UU769842L/aZcqGDps0Jr27exUhWlnq fw+1EkpVpS2mxYZlYgkp3aQhTU9EwKN6vdo7WM/yxL49ZSvgbv/8AwXKoJJbcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728884451; a=rsa-sha256; cv=none; b=rYgMxOANgYYwFBFJQjsktMlb1KDMS//w0/q4PCO53zP4FborE4AunLmVa5qI0UgjQx//3C D7iKNcdS05DWLUXIT5f24UaKD+AlPOiZNRf1Ej02i3hLzlRdIAn6QS1Yds5SRYKU7zv4gS Nq0gudPNs+RDnrS0HdTr1wIbyOMnL9qzRg7N1GBkUXewaaSWcf9CkdXMrK44pbybna7x/S 2DASwnM+irJW12UsAk1X3jLHoZ/jtdC9yVk8JQaVyx6c+S0ZsMNnkveaJq5+sOEgWC0k9a zaLOvf1rVTvz52IIl1Du+ckb/02srQCrkWJ56LXVpS8TV3yR5o81AkjIjSHwQA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4XRmKv4n74zQDM; Mon, 14 Oct 2024 05:40:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5eplP089303; Mon, 14 Oct 2024 05:40:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5ep2I089300; Mon, 14 Oct 2024 05:40:51 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:40:51 GMT Message-Id: <202410140540.49E5ep2I089300@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cafc839393db - main - ciss: Ignore data over/under run on RECEIVE_DIAGNOSTIC List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cafc839393db5c5d8000fd086118b3c7b47e95c2 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cafc839393db5c5d8000fd086118b3c7b47e95c2 commit cafc839393db5c5d8000fd086118b3c7b47e95c2 Author: Peter Eriksson AuthorDate: 2024-10-14 04:01:33 +0000 Commit: Warner Losh CommitDate: 2024-10-14 05:22:19 +0000 ciss: Ignore data over/under run on RECEIVE_DIAGNOSTIC This appears to be harmless, so ignore data over/under run on diagnostics. PR: 246279 Reviewed by: imp Tested by: Marek Zarychta Differential Revision: https://reviews.freebsd.org/D25155 --- sys/dev/ciss/ciss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 6723d05e0cfe..866e67766818 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2299,13 +2299,14 @@ _ciss_report_request(struct ciss_request *cr, int *command_status, int *scsi_sta /* * We don't consider data under/overrun an error for the Report - * Logical/Physical LUNs commands. + * Logical/Physical LUNs, INQUIRY & RECEIVE_DIAGNOSTIC commands. */ if ((cc->header.host_tag & CISS_HDR_HOST_TAG_ERROR) && ((ce->command_status == CISS_CMD_STATUS_DATA_OVERRUN) || (ce->command_status == CISS_CMD_STATUS_DATA_UNDERRUN)) && ((cc->cdb.cdb[0] == CISS_OPCODE_REPORT_LOGICAL_LUNS) || (cc->cdb.cdb[0] == CISS_OPCODE_REPORT_PHYSICAL_LUNS) || + (cc->cdb.cdb[0] == RECEIVE_DIAGNOSTIC) || (cc->cdb.cdb[0] == INQUIRY))) { cc->header.host_tag &= ~CISS_HDR_HOST_TAG_ERROR; debug(2, "ignoring irrelevant under/overrun error");