From patchwork Mon Apr 5 17:54:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Jensen X-Patchwork-Id: 12183437 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=-11.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 AE62BC43461 for ; Mon, 5 Apr 2021 17:59:36 +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 2848D611BE for ; Mon, 5 Apr 2021 17:59:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2848D611BE 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]:43218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTTVe-0003X0-TR for qemu-devel@archiver.kernel.org; Mon, 05 Apr 2021 13:59:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTTRE-000109-Fh; Mon, 05 Apr 2021 13:55:00 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTTRC-0000G2-TH; Mon, 05 Apr 2021 13:55:00 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9417C5C00D6; Mon, 5 Apr 2021 13:54:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 05 Apr 2021 13:54:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm2; bh=Yob5OoC+ZULXg7k+iWlEd59MoQ Ka4tMIf/Uo8lFz9RA=; b=aQdHYaGWneB+lGw191tu0320hVZiFKorHRY16PprQy ib1livELOctf0+1pDi7/d9RdndwWIZBerUG4gWdSWPNniRqRa9MjLa7f0T0yjDgQ FeK298KstWMlhSy1iT3EzxUqOjtTXToCcrbBJS8gC8ozKa0OeV3dYsDnVra7R0R0 XZO9/FNMTlg0eCgdeaTbCYK5uOYbBTLUJ/O1SeitJOfaRxdmUQykVVMR7pj6nAWV qClSWmuhmt6FlWkMKriZESHmIbRZjAtcbJVGh6E1AR3jQmCgsJoDjsVTDteUPxJ0 4xmqjEDAXhLrg9dNjPpx75bMp1+C1+HuugWy+LPZhlsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Yob5Oo C+ZULXg7k+iWlEd59MoQKa4tMIf/Uo8lFz9RA=; b=j0rbJ6BudA+dVF5/NP/M6z yC400xec6wf8GjY/421g+uy0Skx0knhjvAnvVkSdRWwpcwlO97e36KIRF4Ccs6Oh Uu+F3VNPgVQc1q4ppAwEDL4tP0r8A0qq7Za9dItJ+aJ9QsPgs4mJvR7rAx96Buwl htx8fbVPKUvTCGOTdl/kMVlbQ1YzKNOyMy8HcG4usn3+WL6DgEiUkmRygpfbfJTR u6Jl08WfjR1/hGqwqf7a2JRZHwp4ead5kPowphiwREUPhMSNkr7pwVwiWI+jJd4d CjoicnFCmBcDnED0vjYJ7H2gdiaT0I/MesAYcxV/ii9SGftzmywP9craXaTmD7Ew == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejvddguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgtggfgsehtqhertdertdejnecuhfhrohhmpefmlhgruhhs ucflvghnshgvnhcuoehithhssehirhhrvghlvghvrghnthdrughkqeenucggtffrrghtth gvrhhnpefhgeevkeeigfekvedvteejjeekkedugfdvheeijeffgfekffdvveelffetvdeg hfenucfkphepkedtrdduieejrdelkedrudeltdenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehithhssehirhhrvghlvghvrghnthdrughk X-ME-Proxy: Received: from apples.local (80-167-98-190-cable.dk.customer.tdc.net [80.167.98.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 635FD24005C; Mon, 5 Apr 2021 13:54:54 -0400 (EDT) From: Klaus Jensen To: qemu-devel@nongnu.org Subject: [PATCH for-6.0 v2 0/8] hw/block/nvme: misc fixes Date: Mon, 5 Apr 2021 19:54:44 +0200 Message-Id: <20210405175452.37578-1-its@irrelevant.dk> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.28; envelope-from=its@irrelevant.dk; helo=out4-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: Kevin Wolf , Fam Zheng , qemu-block@nongnu.org, Klaus Jensen , Max Reitz , Keith Busch , Stefan Hajnoczi , Klaus Jensen Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Klaus Jensen Various fixes for 6.0. v2: - "hw/block/nvme: fix handling of private namespaces" update documentation (Gollu) - add a patch for missing copyright headers Klaus Jensen (8): hw/block/nvme: fix pi constraint check hw/block/nvme: fix missing string representation for ns attachment hw/block/nvme: fix the nsid 'invalid' value hw/block/nvme: fix controller namespaces array indexing hw/block/nvme: fix warning about legacy namespace configuration hw/block/nvme: update dmsrl limit on namespace detachment hw/block/nvme: fix handling of private namespaces hw/block/nvme: add missing copyright headers hw/block/nvme-dif.h | 10 +++ hw/block/nvme-ns.h | 12 ++-- hw/block/nvme-subsys.h | 7 +- hw/block/nvme.h | 45 ++----------- include/block/nvme.h | 1 + hw/block/nvme-dif.c | 10 +++ hw/block/nvme-ns.c | 76 ++++++++++++++++++---- hw/block/nvme-subsys.c | 28 -------- hw/block/nvme.c | 142 +++++++++++++++++------------------------ hw/block/trace-events | 1 - 10 files changed, 156 insertions(+), 176 deletions(-) Reviewed-by: Keith Busch