From patchwork Fri Jun 11 23:46:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 12316751 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,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 1A184C48BE6 for ; Sat, 12 Jun 2021 00:12:31 +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 AE12A613CA for ; Sat, 12 Jun 2021 00:12:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE12A613CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:43138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrrGH-0005wg-Se for qemu-devel@archiver.kernel.org; Fri, 11 Jun 2021 20:12:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrqs9-0006Qm-Nh; Fri, 11 Jun 2021 19:47:33 -0400 Received: from mout.gmx.net ([212.227.15.18]:41067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrqs6-0006Ae-Bw; Fri, 11 Jun 2021 19:47:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623455240; bh=vP3uOGjMT3j8oyBEIC9/FMpOxCFiqSWtFvHhqP58gD0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=CY2i2JmMHAP36oa+CLMPILUqfZuabzrqpxkIZspysKTxtuf1a7GaVQORxcZpPz8+L y5nmntHCg+WhKHVe6Bt1au1tcVlqwFJGVIzQrnd0At1lA36ocCxnGJY0Xjlm7xXDKv psQQXTVyklhPsdchJta43dKXNlwA9ea8rnHHPzTs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([62.143.247.63]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MLR1V-1lZMHT260x-00IQrQ; Sat, 12 Jun 2021 01:47:20 +0200 From: Heinrich Schuchardt To: Keith Busch , Klaus Jensen , Peter Maydell Subject: [PATCH v2 0/3] hw/nvme: namespace parameter for EUI-64 Date: Sat, 12 Jun 2021 01:46:28 +0200 Message-Id: <20210611234631.81314-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:SmpuYZd23ddIcSqrvrOp9Uyz6g+qAEPAkxnp4cTR7AWyMzYLNgM S6VtJc2GQn4DdV19Ra2Yz2VLIaPf3dm12LaEPedYQZY5oQTCvLslMr49xveBYGb9+H4g+ac L2eKT+QHrcFdTgJ8mS6Xumb26Z+JKhhdt+bzec3uIXuCicBKxTgbzy6g/t0sZT2FQqxPUBl mYgZkMAUTZ2CcdP6he9NA== X-UI-Out-Filterresults: notjunk:1;V03:K0:RMRj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VK hUE/ziW5kWsxdDBsi5LQkH4+AE5UOXBRBinirDnKTV5tQNSTcstN/CC8UpGzLj9nMAEWwPPE4 fSFLEUZAf4Z0jtvsomCPUHc+WlqJUk2vrEC Received-SPF: pass client-ip=212.227.15.18; envelope-from=xypron.glpk@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: Eduardo Habkost , qemu-block@nongnu.org, Heinrich Schuchardt , Cornelia Huck , qemu-devel@nongnu.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The EUI-64 field is the only identifier for NVMe namespaces in UEFI device paths. Add a new namespace property "eui64", that provides the user the option to specify the EUI-64. v2: include patch for hw_compat_6_0 add a patch to implement default values for the EUI-64 Heinrich Schuchardt (3): hw: virt: consider hw_compat_6_0 hw/nvme: namespace parameter for EUI-64 hw/nvme: default for namespace EUI-64 docs/system/nvme.rst | 6 +++++ hw/arm/virt.c | 2 ++ hw/core/machine.c | 1 + hw/nvme/ctrl.c | 58 ++++++++++++++++++++++++++------------------ hw/nvme/ns.c | 11 +++++++++ hw/nvme/nvme.h | 3 +++ 6 files changed, 58 insertions(+), 23 deletions(-) --- 2.30.2