From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DD17C433FE for ; Fri, 18 Nov 2022 07:59:09 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovwGw-0005Y2-Fv; Fri, 18 Nov 2022 02:58:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovwGp-0005Ty-Nt; Fri, 18 Nov 2022 02:58:44 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovwGi-00029W-2f; Fri, 18 Nov 2022 02:58:43 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 838C43200406; Fri, 18 Nov 2022 02:58:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 18 Nov 2022 02:58:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1668758312; x=1668844712; bh=IF pvRnss92cokfHgBZzN5e63/3JL/0sAKClB9uMwWeA=; b=VcoLEiWDFvYtFfd+nb U4cSqSZPvNwSPralinFDis3uA8kvvI9s3RrBkj4bGn88pMxVfMvXLxrwS8v1IAVL FHHjrvEukDMUmzftUO/44SqhD2P5kK3282oZH+0kI69seCxfFgf0+91pTwuZQK8o fm15rK7pW52ySg3M0aEju+12tNepE8j1sHojjFDImZ6NzE6zUKbbDGYMQrYrgVFo hekRypLrAjXMs+FZqZ0C/KNPO8WLA8GbYjbyeTYKNtJ9Vdf/ix55un21tJyPcqTK zzj73w5fN9uL9SwM1J2r7O9tkV4zqfA/24BonbkRKCPTQibRrKJK4S4XJGIN3Rth lkiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1668758312; x=1668844712; bh=IFpvRnss92cokfHgBZzN5e63/3JL /0sAKClB9uMwWeA=; b=JiwwbCGsmdTUl3p38Z0QFLyM1Otl/U2rsfcq3/a6ni1N /o8ryvx2TstidFnsrUXTIUvwQNVNKk03Ecm0zrsMIGFpYllSmhxRlleyjxMfuiLQ DpWw8InyN3+28D4UPvPedsru66om3gxiG/T79T+QbaTPZTBve/80RxVucIK8TZKC 9qi6L3Ct9h7aHJGzHmNK3PzXp+D4PADsY2RNYIEAfX+l2NXZ3mPnN8imBZEtDTwc sWZqmHIvPfpiW1jhVL+aFgC4jn0VppRsqIJjHhmmGjUWqOKo8/7yeFEiFyssGcV4 3N9peLyXK2Sv33URvcrK4eCjjMTxruvhRClYBXBAHw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeelgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepmfhlrghu shculfgvnhhsvghnuceoihhtshesihhrrhgvlhgvvhgrnhhtrdgukheqnecuggftrfgrth htvghrnhepjefgjeefffdvuefhieefhffggfeuleehudekveejvedtuddugeeigeetffff jeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih htshesihhrrhgvlhgvvhgrnhhtrdgukh X-ME-Proxy: Feedback-ID: idc91472f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 18 Nov 2022 02:58:29 -0500 (EST) Date: Fri, 18 Nov 2022 08:58:27 +0100 From: Klaus Jensen To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, Andrew Jeffery , Keith Busch , Corey Minyard , Peter Delevoryas , qemu-arm@nongnu.org, Peter Maydell , qemu-block@nongnu.org, Jeremy Kerr , Joel Stanley , =?utf-8?Q?C=C3=A9dric?= Le Goater , Klaus Jensen Subject: Re: [PATCH RFC 3/3] hw/nvme: add nvme management interface model Message-ID: References: <20221116084312.35808-1-its@irrelevant.dk> <20221116084312.35808-4-its@irrelevant.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dtq9lZqJG0EqOq0K" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=64.147.123.24; envelope-from=its@irrelevant.dk; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --dtq9lZqJG0EqOq0K Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 18 08:56, Philippe Mathieu-Daud=C3=A9 wrote: > On 16/11/22 09:43, Klaus Jensen wrote: > > From: Klaus Jensen > >=20 > > Add the 'nmi-i2c' device that emulates an NVMe Management Interface > > controller. > >=20 > > Initial support is very basic (Read NMI DS, Configuration Get). > >=20 > > This is based on previously posted code by Padmakar Kalghatgi, Arun > > Kumar Agasar and Saurav Kumar. > >=20 > > Signed-off-by: Klaus Jensen > > --- > > hw/nvme/meson.build | 1 + > > hw/nvme/nmi-i2c.c | 381 +++++++++++++++++++++++++++++++++++++++++++ > > hw/nvme/trace-events | 6 + > > 3 files changed, 388 insertions(+) > > create mode 100644 hw/nvme/nmi-i2c.c >=20 > > +++ b/hw/nvme/nmi-i2c.c > > @@ -0,0 +1,381 @@ > > +/* > > + * SPDX-License-Identifier: GPL-2.0-only >=20 > Just curious, is this restricted license choice on purpose? >=20 No! That is a mistake! --dtq9lZqJG0EqOq0K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmN3OyIACgkQTeGvMW1P Dek9GQf/eutOJ+p8b3cLO9ew2T9qwJk4OS0lz3Eh8WiS+SSC2DX8XSICMi6UjFFs H5yHJ4WBg5t1WLv15/tZi1tNfGde3072LEKS//OV51YP9IhUAsP9OgtmDFd0YBsn AsvIc4/6zInJX4+mk3nOzSmBAwtFP1kHa0fFmOQ+Mqw6kIHunHVRmT+lxqNU8YTs LWU/EQVt0sAlBL/LH694EgliHlCzF31VtfmdCHLKCv4eOu+88BuQD9ajNP0YOshW x+Dhpi+2bD9JxJ6lOqKoSJz8Wis4Uk/UHAmfgZAAkzsMKTRWau14fOFRik7yZbxy Jx/COsjzp8Py90fEJmFNxYiKvgBcsw== =lb8i -----END PGP SIGNATURE----- --dtq9lZqJG0EqOq0K--