From nobody Tue Aug 27 01:06:27 2024 X-Original-To: dev-commits-src-branches@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 4Wt8WS0vxMz5ThsX; Tue, 27 Aug 2024 01:06:28 +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 4Wt8WR6cy4z4lbD; Tue, 27 Aug 2024 01:06:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724720787; 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=WVUo2CACrmF+ah+32QCEsRTJHEotcNozZBcZqCZfQh4=; b=YM1AK+ncM8plcfwyAcutLPvEn8XJ99TmU9hTdb6iFAsnm4FTGwrDnJutuKV73JyxUfn/sr xKeLGGzPfKDEAm9fluK7BOtZ//ZuV+RprReOih+LRPINQAZj/l9Gn3yi6TKvr140hS5tV0 loDFmQLk03PEJsmT8iqRfS5NijKGcQMxPE10GvPQvW6XQBZ3tk9PKE+DwB0v4wmpQ/oEnW wXe5YIx8mznjK0H3NzCx7KN1DeJfRoRJyvAobE1SbugRzVflO/ywU9KOHehfLvdfGi4tjE yW7wXb27XE2LUbQa1EYdjZ6N5KuHYbLXlQEM9l9lBMzEI45FWusWt2tZWeDFew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724720787; a=rsa-sha256; cv=none; b=sjoNg2nc0Fqi+eZyV6Ja2LVtQAt0DM8utvrOZUKFe19A1zzh2Oi41jsvT+4uLkqCTiCSZB lGPXcJmBrHxZgmKIJPy2bIJRWq0Uc9aDzGY1E2xYGzyAD82gLv37vOaC3Lh9W6i+fwWozQ WmR6ovXCRZaW+yuTdK8hcKl7FWG7YSqLQ01FQicIJd3n01CcnvbsC2iC2iNyoZCDbF6YUg yEOp9jtnGd6HxsPx6c4LOL4837CDHFT+Vbx+dy+wm6yrTQwJgLza07ER1UVA/QyRGv6dMo nwjMSvvTiXlzqsy1D3a3g0EMhRoo2iMtF828/x2jUnqkTxhMiJPL4u8PaKIHyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724720787; 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=WVUo2CACrmF+ah+32QCEsRTJHEotcNozZBcZqCZfQh4=; b=k9zxbqz+iGmqYqP4/E/AzAO5PPOlBGjnBO4cLaqZIlJrl2TIKuzxK9qtznB/ht4i9Dwu3/ r4KxmiFJoo5hYMSa3raspv6QwHR0zPVB46E4sMuZmDGPItvMg3Al7kNL+hWC2rrg9hBd9v o/BqRadYocZJYsnGbJwGcOgb5UKoy/JUPeQdygevjrYpzkNr2qoe8swc50gNam+QF+igQS IMwcVWOOw+WiJ+mDxQzuAOoP3fSLG1lBubKbDNCXzMuBsTVCv04rcR5ejRFrR4XZpEQBVQ n2jCRyp/jU6j4K8yso7nd0N9oz4xgadX4rmeNeX3r/LrgV+hmm8hfbuRqHo6pw== 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 4Wt8WR5fQJzV3m; Tue, 27 Aug 2024 01:06:27 +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 47R16RTd056550; Tue, 27 Aug 2024 01:06:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47R16RlT056547; Tue, 27 Aug 2024 01:06:27 GMT (envelope-from git) Date: Tue, 27 Aug 2024 01:06:27 GMT Message-Id: <202408270106.47R16RlT056547@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: ae2a9307b5ea - stable/14 - nvme: Add constants for the extended data for Get Log Page command flag List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ae2a9307b5ea306cb4316f35c9c4d1d9105b56f8 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ae2a9307b5ea306cb4316f35c9c4d1d9105b56f8 commit ae2a9307b5ea306cb4316f35c9c4d1d9105b56f8 Author: John Baldwin AuthorDate: 2024-03-23 00:23:46 +0000 Commit: John Baldwin CommitDate: 2024-08-26 18:27:42 +0000 nvme: Add constants for the extended data for Get Log Page command flag nvme(4) doesn't check this flag, but Fabrics implementations may need to set this flag in the log page attributes cdata field. Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44444 (cherry picked from commit cbda1886ab1cd3ec2847b7da5136d3bb68d56101) --- sys/dev/nvme/nvme.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h index 04eec1ff0917..70d293cf278e 100644 --- a/sys/dev/nvme/nvme.h +++ b/sys/dev/nvme/nvme.h @@ -358,6 +358,9 @@ enum nvme_psdt { /* per namespace smart/health log page */ #define NVME_CTRLR_DATA_LPA_NS_SMART_SHIFT (0) #define NVME_CTRLR_DATA_LPA_NS_SMART_MASK (0x1) +/* extended data for Get Log Page command */ +#define NVME_CTRLR_DATA_LPA_EXT_DATA_SHIFT (2) +#define NVME_CTRLR_DATA_LPA_EXT_DATA_MASK (0x1) /** AVSCC - admin vendor specific command configuration */ /* admin vendor specific commands use spec format */