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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CD2CC433E0 for ; Wed, 20 Jan 2021 09:26:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2F26C23139 for ; Wed, 20 Jan 2021 09:26:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F26C23139 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=irrelevant.dk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:36160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l29ke-0008SU-Ji for qemu-devel@archiver.kernel.org; Wed, 20 Jan 2021 04:26:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l29gX-0007Du-Hz; Wed, 20 Jan 2021 04:21:53 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l29gV-000339-PS; Wed, 20 Jan 2021 04:21:53 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 821505C00E5; Wed, 20 Jan 2021 04:21:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 20 Jan 2021 04:21:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=f5EeipKE+Pk+Yw80HIXUlQshlTM dR6x2JraybhKqWS8=; b=Tm8KXMaVjvG+S9OWzKyzlA2wR2kDee1NgyDMxToOOhs /Ksu2cNBuZuzgoFv+FDH1vsHUkMpaBPqKl3Ns6j0+gx9HHtFH0xqDVL4jcmjZG7J KdR9aKR7iBw9lSyt097pApPCA1Ai5TB3cZihnDldW3SrQggzIEbnYma3keOmKa8P 0yl47FV1EGWNMnMpYLb4W73JdRCmrVxslDGDZ+bRuOZjkl4Nq2NxJHgbt4jtBEgw 8LEUcn93yxa4my0syhVNfyWYr/o3mT+z4yNQzQCR+PkIQ+57Zp060Bce4QtSLck5 RiRqsIJ+VzchJS+Cno64+KCSyaiMV2Ylwdm7g4Gr3Xg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=f5Eeip KE+Pk+Yw80HIXUlQshlTMdR6x2JraybhKqWS8=; b=RKv3N/QK+U619kM9vCY+5q w0R5os7t5T/OvQ5ED5oCl6wW07JDXedq8dkhpTrPIwuUJbhX5Ze/pigsPsnnLaXj USbVKAC6/yZkOtLBTgdEgIsVB2Tnm8Zb8xCH3eZx/oROCBbCxwGZVIX5L7EniR/P FrN3L84RfNGlailSVZAoR43s7GZ8gWYDoZiBA2cP0kRZYy+oIIip6fbrYbMajRYE tsTj6N9Qj9AGXOOU1JTvUERZ/Yy3tDix5uz3Fy3GL62lnaf00cxzK2WoSRgOmjrQ hVQyJcW9ENs2ArnAGv4vf6UlU88MLtj9pZ3jV1IvVzU6Mrym2S6EpV4LVUuJ/M+g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepmfhlrghushcu lfgvnhhsvghnuceoihhtshesihhrrhgvlhgvvhgrnhhtrdgukheqnecuggftrfgrthhtvg hrnhepjeegudffueeiteekieelkedvueelteevjeduieeludfffeejgeffhfduvdduffek necukfhppeektddrudeijedrleekrdduledtnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepihhtshesihhrrhgvlhgvvhgrnhhtrdgukh X-ME-Proxy: Received: from apples.localdomain (80-167-98-190-cable.dk.customer.tdc.net [80.167.98.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A1CD1080063; Wed, 20 Jan 2021 04:21:48 -0500 (EST) Date: Wed, 20 Jan 2021 10:21:46 +0100 From: Klaus Jensen To: zhenwei pi Subject: Re: [PATCH v4 0/3] support NVMe smart critial warning injection Message-ID: References: <20210115032702.466631-1-pizhenwei@bytedance.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iPXtC8w1IPoLewX2" Content-Disposition: inline In-Reply-To: <20210115032702.466631-1-pizhenwei@bytedance.com> Received-SPF: pass client-ip=66.111.4.25; envelope-from=its@irrelevant.dk; helo=out1-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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, qemu-block@nongnu.org, qemu-devel@nongnu.org, mreitz@redhat.com, kbusch@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --iPXtC8w1IPoLewX2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 15 11:26, zhenwei pi wrote: > v3 -> v4: > - Drop "Fix overwritten bar.cap". (Already fixed) >=20 > - Avoid to enqueue the duplicate event. >=20 > - Several minor changes for coding style & function/variable name. >=20 > v2 -> v3: > - Introduce "Persistent Memory Region has become read-only or > unreliable" >=20 > - Fix overwritten bar.cap >=20 > - Check smart critical warning value from QOM. >=20 > - Trigger asynchronous event during smart warning injection. >=20 > v1 -> v2: > - Suggested by Philippe & Klaus, set/get smart_critical_warning by QMP. >=20 > v1: > - Add smart_critical_warning for nvme device which can be set by QEMU > command line to emulate hardware error. >=20 > Zhenwei Pi (3): > block/nvme: introduce bit 5 for critical warning > hw/block/nvme: add smart_critical_warning property > hw/blocl/nvme: trigger async event during injecting smart warning >=20 > hw/block/nvme.c | 91 +++++++++++++++++++++++++++++++++++++++----- > hw/block/nvme.h | 1 + > include/block/nvme.h | 3 ++ > 3 files changed, 86 insertions(+), 9 deletions(-) >=20 Thanks! Applied to nvme-next. --iPXtC8w1IPoLewX2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmAH9ikACgkQTeGvMW1P Dem/Xgf/QD7HSkKHrWC3qQlWFAInzEGMdalrz39LaNiqtyUwZNM0c8dN6OFNLGou GSKK268YvXOInH78nPcwMQzcY1N0dQSDzPZVnKF4WDqWAhdPh4H0SiLVnrkfR95v BL81D7/LakPC6UFdeyMsX7xbqWMKjEuv+zbwCAzIMpYVnieGNYDwzyqXrX2NQteI j5r9PoaJl0wdNG/KY3nKxe5jkWIzBEd7690XrUI1FXt2ibrlYBOO7pgo0W4uNk25 oWk0Y2jnPlyVSKGOrIFSzy0hcl1Ccr03Kd0aT33ZZHn/91BH2Kw7Nvg8aqKe2jDl 6cs3Q+m3nfvEeZOyjw+JofmhCcHmIw== =Y/a7 -----END PGP SIGNATURE----- --iPXtC8w1IPoLewX2--