Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp272305ybz; Thu, 23 Apr 2020 23:34:03 -0700 (PDT) X-Google-Smtp-Source: APiQypKdEYg5yVh+VjnqgBMI9mBXjTNdrpJDdjmNhlTXkgFMhJaG9ILBaeD0L/6DSjGMkBuEYCYb X-Received: by 2002:a17:906:6d95:: with SMTP id h21mr5838231ejt.66.1587710043657; Thu, 23 Apr 2020 23:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587710043; cv=none; d=google.com; s=arc-20160816; b=AgCFj5K6YymMEVz4He1EPKhcmIlu/3C5tRR9odWXXoWnXQCAEwFzNB1z3B2tcv0pBb iai28EaDK7bcPO8JpvvdhUwVGbZe8gAJj8jQ4IWHWPLQyx1zD5IEzvssGfVNRjLFydOJ KfEnF+OgyWPGWKyukWhPMp06aUcE3AR1Wusv83Dz/8eEX58SyrVKcJTyAojACoxKASGO OhTBXncRvvxQBawJHTL2taUNjQy0rNDIbaa/dlV7u/+tyRLrTKrSv2d75IKi0ATt5dyG OMGrkzD9TQ2TOisyBzFcNSWl1eFfpse3o6JNr7JQeXqSlt0Y6A+VJ1FPL9GrBWOP4Ssn cWJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Br99cdVjmyMMmE/vnpE4Kpx523ywPgMa8SOIrrQl4mQ=; b=JhS0kmpgonv6P9Ztel3dYI/QCqxvF+FUPiNEAFlWdSRWcgb/MFmMx9D0ddgNUDnvhv DKc/k7KqQgxSACkFAW1T9UYbTep0YmU/oLgWQATj7A7cJmmx0YznRissweqkjOf2rdch iCVkjaST+5rP46PSKe1aoWR3PRhduKEv7FEZIbUzQaPZ47trjYxRX/8f0pSrpP80lqR+ gLSCPvqfDK5oQIlR90VimSnYo7HTBeqoxXbrg2yBnjGs+5X7vrUyVWDPXeWAHFq8lyDl geTRG98mLh+k2JoEuGEhtCgtrFWFrzRWPEx4kpFpJtjpNAiiQkCc7f28Hqt/Vnho5f36 sSxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KJe2frUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si2528685ejk.483.2020.04.23.23.33.39; Thu, 23 Apr 2020 23:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KJe2frUx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726317AbgDXGcM (ORCPT + 99 others); Fri, 24 Apr 2020 02:32:12 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:53960 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgDXGcM (ORCPT ); Fri, 24 Apr 2020 02:32:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587709930; 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=Br99cdVjmyMMmE/vnpE4Kpx523ywPgMa8SOIrrQl4mQ=; b=KJe2frUxZz5wysffWwDZtlt04cNIMSxzV5NTejiRBfha0R7BJ2yW8ymNvLG0nSr0qaIoqv 9Z4nmWmqMM/OkvxbRzPlsC8xh6bo1cO/LqrGhgPE0DOh12CfsFnwOZQwHhSOPN2rrYV7dN 8hpeD2AJthDFKmBLsIB6d/65N971vHs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-16-3lI3ysjhOsOdV7hKIARvLQ-1; Fri, 24 Apr 2020 02:32:06 -0400 X-MC-Unique: 3lI3ysjhOsOdV7hKIARvLQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 633C880B70A; Fri, 24 Apr 2020 06:32:02 +0000 (UTC) Received: from [10.72.13.62] (ovpn-13-62.pek2.redhat.com [10.72.13.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id BF0DD60605; Fri, 24 Apr 2020 06:31:42 +0000 (UTC) Subject: Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver. To: Jason Gunthorpe , Dave Jiang Cc: vkoul@kernel.org, megha.dey@linux.intel.com, maz@kernel.org, bhelgaas@google.com, rafael@kernel.org, gregkh@linuxfoundation.org, tglx@linutronix.de, hpa@zytor.com, alex.williamson@redhat.com, jacob.jun.pan@intel.com, ashok.raj@intel.com, yi.l.liu@intel.com, baolu.lu@intel.com, kevin.tian@intel.com, sanjay.k.kumar@intel.com, tony.luck@intel.com, jing.lin@intel.com, dan.j.williams@intel.com, kwankhede@nvidia.com, eric.auger@redhat.com, parav@mellanox.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, "Michael S. Tsirkin" , Zha Bin , "Liu, Jing2" References: <158751095889.36773.6009825070990637468.stgit@djiang5-desk3.ch.intel.com> <20200421235442.GO11945@mellanox.com> From: Jason Wang Message-ID: Date: Fri, 24 Apr 2020 14:31:40 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200421235442.GO11945@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/4/22 =E4=B8=8A=E5=8D=887:54, Jason Gunthorpe wrote: >> The mdev utilizes Interrupt Message Store or IMS[3] instead of MSIX fo= r >> interrupts for the guest. This preserves MSIX for host usages and also= allows a >> significantly larger number of interrupt vectors for guest usage. > I never did get a reply to my earlier remarks on the IMS patches. > > The concept of a device specific addr/data table format for MSI is not > Intel specific. This should be general code. We have a device that can > use this kind of kernel capability today. > > Jason > +1. Another example is to extend virtio MMIO to support MSI[1]. Thanks [1] https://lkml.org/lkml/2020/2/10/127