Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5532367rwb; Sun, 11 Dec 2022 07:48:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vnh7QBEoCNwdSwMoL3kyHb6jsfpe1QKbUiQUhv7nzJ1VIzC7R9DMFlf4WXThw4Q4u7VUu X-Received: by 2002:a17:906:8d08:b0:7c1:700:1e2d with SMTP id rv8-20020a1709068d0800b007c107001e2dmr18337695ejc.20.1670773692478; Sun, 11 Dec 2022 07:48:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670773692; cv=pass; d=google.com; s=arc-20160816; b=xPS+WbU4VWpi3LTsJe59obrwEHIJCPOsWnzuBJ6YzXQ4TCl9Xx347ms1t+600gtiS4 XJwYf3iy1wmrFQcXDZKFYw+TWHwphutGYy+tV0NFgvFrkQFq4Fbcekgx68r5sAicjCBj 6LuHq8FCcnkPquybDpjk4JvkJW1oJYDbYTiyeU4+/g/9jrjZq8P6bV1GScILTsRLj+/j YQtWtl3V0TzH+O4rCYCbLuLqDocHK7DJHnBnWNuJLUieeWlEPFUK4dcyj7dDy4HaAUMe Br6xKl/Q2l9+srTftEJiAhTicv6H0XD6BEws7Hhsgg6Q1dbxrsT0l4o5doCe5S3A6ztC aHFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Ug+wqDOips3Wp5XlWj4LkqsigxLvN9OKXPvMr6NB2a4=; b=n116S9UBKaIC0P7qmLhgWWEwx45qT3OGtl+s0bmoBxgQnVbRMT+SLgGOgCl863AFeT ySwSRo7a5Jb1QVd+gcaPBDEI4cY/8BCCQ/+TUlIFy2HeA3UK7J+0NdHDMjVuCZI2stLa ZJtGDVJdifeDmYTYWu+0334Pjik4MvBWl4lTZWhl1s/4Dc9CQ4Xf3S4u/vTDYsLExa/1 e0hOfz36YWc4F3w6tXbfJCbr4DQfgpTF33U5hneEMwzdE5m/Vb2Z8BH7TFfIPM78+ZRQ TDNr9WM1y32wWiP3GgQibYH6X6U0ugGWXwoPa7yMvu3e4Ju4fiJOZuvx7i9Yaol/dpYq Nt0A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=GQxtNSk0; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wg11-20020a1709078f0b00b007826cb6f57csi3182454ejc.407.2022.12.11.07.47.53; Sun, 11 Dec 2022 07:48:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=GQxtNSk0; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbiLKOvW (ORCPT + 76 others); Sun, 11 Dec 2022 09:51:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiLKOvR (ORCPT ); Sun, 11 Dec 2022 09:51:17 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2077.outbound.protection.outlook.com [40.107.223.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EC86BF63; Sun, 11 Dec 2022 06:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gU93HWk9irJZPfIugWu031dFg78wVh0Sl7cdmBba47aC2GRSzlQLfm4v2CBjNUAj17oS1QxUbbwSpplHqxfufKp6BMEM3awSwfFfRy/pDuqv3gFAMGv9m7Sfqkpi/rtvNzrgwiDlK/E/T76sXaNbZRtdpcBN4TijXe3pNvJp9BFQFXtcP8GpxkJDf8c7IFEdXLcRQ5hUM3XGU9Pw2waRFcXpINmfdIvMoo5AgdaMUyPsyESUMTRXEjTYoU0wWaq0S4hxQ0aRyEAD+NG2HBIKPrp+ROPVNdJXz1zISEChyar3ioXxSkfq8PQ5b7PQ1c5lNTfBngwJlguBi3hkqz3j/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ug+wqDOips3Wp5XlWj4LkqsigxLvN9OKXPvMr6NB2a4=; b=YEGY0AEGvt1+NDWz1hBF7qMpZ4nGiYu/zGX/nbNwI3QzkYrJn7QhqlnWm4vUGUWeVgWjgGN15CtuFAPZBiNUZIGOkCFta+/2uJ4oGt/nJWrLglfO/ys5r+5KeRLmAU+yKl0ZK6niceImLuFYA5o6eAu+TZnm5IBwqH633DoU5QTPn0hoXT+o04JmZEypRlzgMzI7mSNLx2oj6Fh2H9Up0xtk2bOezM6tJzU793TAT7Hjb0sCuvqgookAnciwO9Tf8hokwoHnka4GBiKKLlBWJxEoIrCok27QphHhqU8A8tZgY8evLGhWHn3t+Xy3IV06bGbY1YueH5pyWmYriZxCYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ug+wqDOips3Wp5XlWj4LkqsigxLvN9OKXPvMr6NB2a4=; b=GQxtNSk0rp3V8/ak8WdRF2wjPhbgCq6s7rdVp/DplkbQA33WoFXZUpiRRIPnu4rwnJGV3JZMQLU2QRL5TukZyxeCgIL7tPDq64MLbvlXZ9h6hTE7lg0n3P+M9/JEDLuYtXQ/axh30kubIRHvE4eqXhvOtj7fYIwIgC0jU15CZKxXdQ+8B/5nHI7VE2GriSW9pU+TLaXDSgjSa6yjyVQxwcdYbQEDfZ42UiOacwl3cIeLYRoXtKhpHHQsvRMGkXlbTjrvVvKLfWj6FJiewOd6gvsvF7KKjswhOfKC/ccc3XcONldoLDmtBxLZsujIsclm9xqpFxt/HxAd479NNygIFg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) by SN7PR12MB7910.namprd12.prod.outlook.com (2603:10b6:806:34b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Sun, 11 Dec 2022 14:51:13 +0000 Received: from DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::3fb9:3266:7937:44fc]) by DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::3fb9:3266:7937:44fc%8]) with mapi id 15.20.5880.019; Sun, 11 Dec 2022 14:51:13 +0000 Message-ID: Date: Sun, 11 Dec 2022 16:51:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [RFC PATCH 5/5] nvme-vfio: Add a document for the NVMe device Content-Language: en-US To: "Rao, Lei" , Christoph Hellwig , Jason Gunthorpe Cc: kbusch@kernel.org, axboe@fb.com, kch@nvidia.com, sagi@grimberg.me, alex.williamson@redhat.com, cohuck@redhat.com, yishaih@nvidia.com, shameerali.kolothum.thodi@huawei.com, kevin.tian@intel.com, mjrosato@linux.ibm.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, kvm@vger.kernel.org, eddie.dong@intel.com, yadong.li@intel.com, yi.l.liu@intel.com, Konrad.wilk@oracle.com, stephen@eideticom.com, hang.yuan@intel.com, Oren Duer References: <20221206055816.292304-1-lei.rao@intel.com> <20221206055816.292304-6-lei.rao@intel.com> <20221206062604.GB6595@lst.de> <20221206130901.GB24358@lst.de> <20221206140002.GB27689@lst.de> <20221206143126.GB30297@lst.de> <20221206150131.GA32365@lst.de> <9bc8e614-a687-e419-f9fd-e3177cfb41dd@nvidia.com> From: Max Gurtovoy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0463.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::18) To DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR12MB5040:EE_|SN7PR12MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: ec24db79-8acc-4860-9073-08dadb872564 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TVqnQAbOm9kvYlP8rNb4U/k6P/szIfmIs1gdFGYV1P0nm+Yv/Q+LU7lCGYsDTr+YTuwZKh8qlN0zi/4P33AIU11hpTvxYXrkg/DHSp703qSECHALc0OiMbCZLwUi1OgnKsUKbYLtV8H9PLJFMVEEO8R3pl17WrXYktOKtl2qG5o6iJq1PxpwZoqODgpDG1TfuJbgj+9gnE2eD0YQ82GYtZ828me+jQwyq1E/REBMajr/pkNZ3NT1bzWD0xv7M3ZgkzCSw2syeyuRGpXctsjBouSR6r0lSQswbGCPPxG8nWY1yYLYQXz7ndKiPM1RxhkH3uElMitwmOhPLndECPX+VQsYMK87YR6O5lO2R14DLK0QtzGbjSx9lZi1UmyzFdQ6Up6pinrKCi3zl69QURvjt2EskDCG/mtHYNAutbbKl6w8v0IxwZungexXTuIl+IQwC6Rb04U3ed7TaaEHsVFC33P9wyb2+OvuR3GvNMKoPvJLz5gFDz/H76Aw+2QP4MeY6y/991CTD+dZmQIejPH6eRAdtQtqVQyfbl/XLZ8B8lvhxuiDYEdbWdq+Sqm12gOl3busm4XXSkg9rgCLWbfSPypFEBdYYxlKK8os7xKK6YEWNMPIVmkS22RccOvs+KQsn+OWIc+sUO6n2F/QSmZ+hciLkooJpHFxUSTzgHx8a0GXxNCOGNQMBoOB0PRd7dNBbwLYSLzku26DXzHhxo0f+Ozs/G+q9m5kGM/KLtWD25M= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5040.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(396003)(366004)(376002)(39860400002)(346002)(451199015)(478600001)(6506007)(53546011)(6486002)(6512007)(2616005)(26005)(186003)(110136005)(66476007)(8676002)(4326008)(31696002)(86362001)(2906002)(66946007)(41300700001)(83380400001)(316002)(66899015)(7416002)(5660300002)(6666004)(107886003)(31686004)(66556008)(8936002)(38100700002)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aEZob3IyaFl2TkRxNkxRcno4bGJFVGNYR2NmbEo4aHBqRXB4OS9HOG9veU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TS85V2JnaUlIcjJ1Tk5pa3dY?= =?utf-8?B?ZGRaeUtEYlpLcEtQeTUrRU9aeHdOMjZ2cFdyemNvdTJZVjArcE5aMTZCS3JJ?= =?utf-8?B?TVo0SGdLZms5dkVDMzJRRnVMdHhJWndEeVZwMnQvdVArKzJlKzQxTkN3U3k0?= =?utf-8?B?YUJqZmpTWmpKcldONjJXYVFnL0t6alFGd1Y0bXBQYlBuaTBuWHl3RlhpWU1o?= =?utf-8?B?T3gzUnU5VlQ0bE9XN0R1Ym51aTdra2Z6TnB6dlhRNW1hMjVHNDFBUlBmd1JP?= =?utf-8?Q?UjuId53C2c6N/15vpwrcZNH7X?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec24db79-8acc-4860-9073-08dadb872564 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5040.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2022 14:51:13.2322 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EB+Yr/2yEYqsK2DtWzz+Tda9rXpLR541cfkmgPC6Do1HmZkS9o7F4r+aHCjZ3lgNM80+kZpZnKhGfGnQq0F59g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7910 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/11/2022 3:21 PM, Rao, Lei wrote: > > > On 12/11/2022 8:05 PM, Max Gurtovoy wrote: >> >> On 12/6/2022 5:01 PM, Christoph Hellwig wrote: >>> On Tue, Dec 06, 2022 at 10:48:22AM -0400, Jason Gunthorpe wrote: >>>> Sadly in Linux we don't have a SRIOV VF lifecycle model that is any >>>> use. >>> Beward:  The secondary function might as well be a physical function >>> as well.  In fact one of the major customers for "smart" multifunction >>> nvme devices prefers multi-PF devices over SR-IOV VFs. (and all the >>> symmetric dual ported devices are multi-PF as well). >>> >>> So this isn't really about a VF live cycle, but how to manage life >>> migration, especially on the receive / restore side.  And restoring >>> the entire controller state is extremely invasive and can't be done >>> on a controller that is in any classic form live.  In fact a lot >>> of the state is subsystem-wide, so without some kind of virtualization >>> of the subsystem it is impossible to actually restore the state. >> >> ohh, great ! >> >> I read this subsystem virtualization proposal of yours after I sent >> my proposal for subsystem virtualization in patch 1/5 thread. >> I guess this means that this is the right way to go. >> Lets continue brainstorming this idea. I think this can be the way to >> migrate NVMe controllers in a standard way. >> >>> >>> To cycle back to the hardware that is posted here, I'm really confused >>> how it actually has any chance to work and no one has even tried >>> to explain how it is supposed to work. >> >> I guess in vendor specific implementation you can assume some things >> that we are discussing now for making it as a standard. > > Yes, as I wrote in the cover letter, this is a reference > implementation to > start a discussion and help drive standardization efforts, but this > series > works well for Intel IPU NVMe. As Jason said, there are two use cases: > shared medium and local medium. I think the live migration of the > local medium > is complicated due to the large amount of user data that needs to be > migrated. > I don't have a good idea to deal with this situation. But for Intel > IPU NVMe, > each VF can connect to remote storage via the NVMF protocol to achieve > storage > offloading. This is the shared medium. In this case, we don't need to > migrate > the user data, which will significantly simplify the work of live > migration. I don't think that medium migration should be part of the SPEC. We can specify it's out of scope. All the idea of live migration is to have a short downtime and I don't think we can guarantee short downtime if we need to copy few terabytes throw the networking. If the media copy is taking few seconds, there is no need to do live migration of few milisecs downtime. Just do regular migration of a VM. > > The series tries to solve the problem of live migration of shared medium. > But it still lacks dirty page tracking and P2P support, we are also > developing > these features. > > About the nvme device state, As described in my document, the VF > states include > VF CSR registers, Every IO Queue Pair state, and the AdminQ state. > During the > implementation, I found that the device state data is small per VF. > So, I decided > to use the admin queue of the Primary controller to send the live > migration > commands to save and restore the VF states like MLX5. I think and hope we all agree that the AdminQ of the controlling NVMe function will be used to migrate the controlled NVMe function. which document are you refereeing to ? > > Thanks, > Lei > >> >>