From nobody Tue Dec 07 15:58:02 2021 X-Original-To: freebsd-virtualization@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 90C5918C743D for ; Tue, 7 Dec 2021 15:58:14 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7lM96L1hz3m3x for ; Tue, 7 Dec 2021 15:58:13 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-yb1-xb2c.google.com with SMTP id v64so42106957ybi.5 for ; Tue, 07 Dec 2021 07:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=1tL9E3eouo5nYvT4E5HVjRpnE1ngfsapNNF7YwrQuGc=; b=XMUlprzAvPOQRk1TMiQaysgSsZwUgzXEQvZgmo+OCGItyUhE49JZhdhGo5EthXASS8 51J/WRAAIMZNxmX4klv8NPOAz5fEN3AkQECs/B0kzC3VOLJ56NSeYJ/PbL8mwH9qOauC hiBt6CwmxS3oVZhx9wBbiNnaYwJxrMYDe2AIN8UAj3U+1BjUGpO+70+cbAuWw5x5iBZN NApQIyQsmChm58UbRm/6Yi5ZhlyLgVj4uXOwyYwi+WGHL2x2zchQLKkFWAsemKv7rNuE q24l4mBHN3LvajBC9pZdwq6a3teHUYly27R/HFHHStgBqnlhYZFnL3y5aYkr323vhmqC IkoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1tL9E3eouo5nYvT4E5HVjRpnE1ngfsapNNF7YwrQuGc=; b=cwh/Hity5Qkba3K6JPzTrLvO6auHCbppc/CXa1MAW9t+cplfScRfStQhsY9T5GwKwA 6kEzI5PWVnDHSvuG6WkgJxcrtChil9/soho5UIqTBYIE1VKlTjTNKfc82/2kQ63p6WHo qCE8cuLCzq714jdNduusxcfAS8qVlIa4P6m+OQHbfXbP3ovQa/4zwbOQJyouyqGkW/KM 2mJVXWH116VJy566zzpDb/x+HBP12Z+qm5Zk+pWqouruBJlkAfzNMfTRn8CI56ZZrw4U 4PIuGBhJvsOKH3DvrHVXW3CDw9yUpBZyN5mC3eUKwDWsVoltgwH8h6o9DagxH99bQ75Y mE7Q== X-Gm-Message-State: AOAM532onywGqfENMs4C/WAfa4hAiSqfj9jatbwQ+0LUKdZtPdjyW090 10ftLh/viAsk0YbBOaGqDwq0khEYKEcEHfv/JNioY6dKurR2bse3 X-Google-Smtp-Source: ABdhPJzK58EkPTI4In+QUkhe/+RI6pG2tMZO7y4KYqbq7eFngziDr13bmpb9LIX26oA9/riHfcW7nGOxILwpvKhUweg= X-Received: by 2002:a25:b9c7:: with SMTP id y7mr53179865ybj.276.1638892693029; Tue, 07 Dec 2021 07:58:13 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Chuck Tuffli Date: Tue, 7 Dec 2021 07:58:02 -0800 Message-ID: Subject: bhyve NVMe 1.4 support To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4J7lM96L1hz3m3x X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuffli-net.20210112.gappssmtp.com header.s=20210112 header.b=XMUlprzA; dmarc=none; spf=permerror (mx1.freebsd.org: domain of chuck@tuffli.net uses mechanism not recognized by this client) smtp.mailfrom=chuck@tuffli.net X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; R_DKIM_ALLOW(-0.20)[tuffli-net.20210112.gappssmtp.com:s=20210112]; FREEFALL_USER(0.00)[chuck]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[tuffli.net]; R_SPF_PERMFAIL(0.00)[empty SPF record]; DKIM_TRACE(0.00)[tuffli-net.20210112.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2c:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I've been working on a patch series to get bhyve's NVMe emulation compliant with the v1.4 specification. The compliance tests now pass, and I will work on getting the patches up for review "soon". In the meantime, there is a copy of the full changes if anyone is interested in testing on current or 13-stable. https://people.freebsd.org/~chuck/nvme-1.4/pci_nvme.c --chuck