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.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 2B953C433DF for ; Tue, 18 Aug 2020 16:28:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 063C62067C for ; Tue, 18 Aug 2020 16:28:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="c7TB2s4n" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728121AbgHRQ2f (ORCPT ); Tue, 18 Aug 2020 12:28:35 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:30217 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728254AbgHRQ1h (ORCPT ); Tue, 18 Aug 2020 12:27:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597768047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=if9LpYICK0NhGXF5AA8XXB22L0fg+m6z8gcS1Q79zUU=; b=c7TB2s4nJZZtfxADyn2lGRVDOg1erPbexqz5JyHkRdT+GVyKZIv8FYzpmAr1N2W1yhNfBo WFTatipZ0ZxQuqde/DYFHWPh92se4d5i4khHQXSet1JybgZOjiQGC79wTJbqnebvWdl6oo EAHIc2eh+REJPofVh8YIU9MWgLr50Bk= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-496-Zoh9695HN-WCqpbPCsQrtA-1; Tue, 18 Aug 2020 12:27:25 -0400 X-MC-Unique: Zoh9695HN-WCqpbPCsQrtA-1 Received: by mail-wm1-f72.google.com with SMTP id p23so6300665wmc.2 for ; Tue, 18 Aug 2020 09:27:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=if9LpYICK0NhGXF5AA8XXB22L0fg+m6z8gcS1Q79zUU=; b=CBRkvoqnIfNEkSSrpZQnxLsqAjH+383SiLud0NfnffSV/LXVvG4FVu1x4yAjZNuwWj Pa5JVOXg56Gz8aa8FxisMbmb+MG0ORKzrohiHsKD9jpbvji9uVgKa9Q20AgqZ+Pcc8Bk naWCI5UwEK0HJq9bsCjzYUjkrCXVqvLplk0UPuP6pKwoC4yXQ8Ob+P/bV4I+RIlHVFEi R1oNLvVZNHCsOTqo6IAkTWuVUOc7/U7KQkU2x8OTkIfBCM92V4P/4Ot6ibbDbffLmSy5 uuANZT3UYYJTfB0nsCNe6RXgr8LuGERnuBKA5fVWDtCxiD/9FEigXkNS7MUwMvEfH4f3 1mAg== X-Gm-Message-State: AOAM531uqP5RbTZRCeViDNDZDK7UN/q+o/h4nHXK82z63Oo/piSfY4SM Z48mTneWBayeL/ulpC60fGNKR71IeqnlWzz6oEUfWsL6SdPJJpGNLVo9m7eW2xH2Qti4L8BkOuj CgAdzbSxOvQEZVDpekPxSP1nH X-Received: by 2002:a7b:cf29:: with SMTP id m9mr692508wmg.88.1597768044065; Tue, 18 Aug 2020 09:27:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykPaZdW75tblNPwohfUTSZAywU3pLEZHF86kgfsgbeUM6YEol+VFwyiwZdqftvl2orXJtznA== X-Received: by 2002:a7b:cf29:: with SMTP id m9mr692461wmg.88.1597768043853; Tue, 18 Aug 2020 09:27:23 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:38e0:ccf8:ca85:3d9b? ([2001:b07:6468:f312:38e0:ccf8:ca85:3d9b]) by smtp.gmail.com with ESMTPSA id e5sm37696385wrc.37.2020.08.18.09.27.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2020 09:27:23 -0700 (PDT) Subject: Re: [PATCH RFC v2 00/18] Add VFIO mediated device support and DEV-MSI support for the idxd driver To: Jason Gunthorpe , "Tian, Kevin" Cc: Alex Williamson , "Jiang, Dave" , "vkoul@kernel.org" , "Dey, Megha" , "maz@kernel.org" , "bhelgaas@google.com" , "rafael@kernel.org" , "gregkh@linuxfoundation.org" , "tglx@linutronix.de" , "hpa@zytor.com" , "Pan, Jacob jun" , "Raj, Ashok" , "Liu, Yi L" , "Lu, Baolu" , "Kumar, Sanjay K" , "Luck, Tony" , "Lin, Jing" , "Williams, Dan J" , "kwankhede@nvidia.com" , "eric.auger@redhat.com" , "parav@mellanox.com" , "Hansen, Dave" , "netanelg@mellanox.com" , "shahafs@mellanox.com" , "yan.y.zhao@linux.intel.com" , "Ortiz, Samuel" , "Hossain, Mona" , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "linux-pci@vger.kernel.org" , "kvm@vger.kernel.org" References: <20200721164527.GD2021248@mellanox.com> <20200724001930.GS2021248@mellanox.com> <20200805192258.5ee7a05b@x1.home> <20200807121955.GS16789@nvidia.com> <20200814133522.GE1152540@nvidia.com> <20200818004343.GG1152540@nvidia.com> <20200818115003.GM1152540@nvidia.com> From: Paolo Bonzini Message-ID: <0711a4ce-1e64-a0cb-3e6d-f6653284e2e3@redhat.com> Date: Tue, 18 Aug 2020 18:27:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200818115003.GM1152540@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/08/20 13:50, Jason Gunthorpe wrote: > For instance, what about suspend/resume of containers using idxd? > Wouldn't you want to have the same basic approach of controlling the > wq from userspace that virtualization uses? The difference is that VFIO more or less standardizes the approach you use for live migration. With another interface you'd have to come up with something for every driver, and add support in CRIU for every driver as well. Paolo