Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1141670ybz; Fri, 1 May 2020 15:33:18 -0700 (PDT) X-Google-Smtp-Source: APiQypJq6/PvgE9pGO6/i1bAZBSM8msgk8XOSwjXoKu3Zb4elHcx++G94Qt/7KcPGWdjIuvg3R/E X-Received: by 2002:a17:906:704c:: with SMTP id r12mr5248396ejj.105.1588372398545; Fri, 01 May 2020 15:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588372398; cv=none; d=google.com; s=arc-20160816; b=C1BQRluM4bxbH7CAZRnS1bHnZSaPW0BIdHZ1ij5Vn1kJIeF5+XwwoMkHIfxPX3h1LW evsUV7nXwvTP1NhwWJSFucQyHWGZ0XZHJMDo/Zxt3tqVyBITC9DYaGsoDvxFvnt0zr0K FJ9vHAiQWnexidgwDfQq8rF+qXNWZOe6071gPXbMVTFbcwdIprRn9WW7plme128gydcu l2sYsQIGzWGb4MS+L4/ELXmCEBJAl6UxWceLVavkVbf/89K2ZiFd9XtuDJ+HpHPlTp/J dYT/mTrHEWy+j7FXmBDTfsod2HwEyEhlL7Lc+6/QBysis0oQT69EhVgVANx32zAwHYHq 7nmg== 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:ironport-sdr:ironport-sdr; bh=jwAyQGLFSgyO0STCWLdIw0gy+98z7Eec+66dexoV/7Y=; b=idaCkv6y69p2MFZRDFGmfc5VjLXvpYsMXVzxXsl2Lpqm674RPA5TfO+t7U6FhHCyha RCQsWgXjndduFgDHny9VP6h02F4zV+UdGzOBDmVjqVU84KQOICo1NI2K+4/9Rm2CPzxC 8K7cuctGsbt2Y4/knsZosogRBSC/Nyw0/6NVO+w/oR02tkV/H/Sg5Nj6nTTieGZkLEol bD/sqsOh/0HOxWeVh22uFGuV0QpFHEH51ZSjizkstM4rvpPDjKOjplkBX6qxNDkEo7+K EnQED8We4JBF7F0InycCHUfDshyP4exrjU8R97XX42488CB+8Ay2jI7BsylgGFHA+6EF XFAA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq20si2470254ejb.419.2020.05.01.15.32.54; Fri, 01 May 2020 15:33:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726886AbgEAWbQ (ORCPT + 99 others); Fri, 1 May 2020 18:31:16 -0400 Received: from mga05.intel.com ([192.55.52.43]:7820 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbgEAWbP (ORCPT ); Fri, 1 May 2020 18:31:15 -0400 IronPort-SDR: 7VW1FGZhBElBZsA932mO7UrFHDkm24NGqJPtJFN61FHF1gzmcWkzYyTnoekJuc8c4rUlLi2M2u KW1OSCHkMP9Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2020 15:31:15 -0700 IronPort-SDR: Eaq5lnlgfSmBZO76/H/R8N96/MVxzX7b9QbV4njbjrtVZxxa4PlA8ycND7dnjtPhuK4sq/FZum 86Q0MhPfLEAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,341,1583222400"; d="scan'208";a="248656973" Received: from meghadey-mobl1.amr.corp.intel.com (HELO [10.251.135.85]) ([10.251.135.85]) by fmsmga007.fm.intel.com with ESMTP; 01 May 2020 15:31:14 -0700 Subject: Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver. To: Jason Gunthorpe , Dan Williams Cc: Dave Jiang , Vinod Koul , maz@kernel.org, Bjorn Helgaas , "Rafael J. Wysocki" , Greg KH , Thomas Gleixner , "H. Peter Anvin" , Alex Williamson , Jacob jun Pan , "Raj, Ashok" , Yi L Liu , Baolu Lu , "Tian, Kevin" , Sanjay K Kumar , "Luck, Tony" , Jing Lin , kwankhede@nvidia.com, eric.auger@redhat.com, parav@mellanox.com, dmaengine@vger.kernel.org, Linux Kernel Mailing List , X86 ML , linux-pci@vger.kernel.org, KVM list References: <158751095889.36773.6009825070990637468.stgit@djiang5-desk3.ch.intel.com> <20200421235442.GO11945@mellanox.com> <20200423194941.GG13640@mellanox.com> From: "Dey, Megha" Message-ID: Date: Fri, 1 May 2020 15:31:14 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200423194941.GG13640@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed 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 Hi Jason, On 4/23/2020 12:49 PM, Jason Gunthorpe wrote: > On Thu, Apr 23, 2020 at 12:17:50PM -0700, Dan Williams wrote: > >> Per Megha's follow-up can you send the details about that other device >> and help clear a path for a device-specific MSI addr/data table >> format. Ever since HMM I've been sensitive, perhaps overly-sensitive, >> to claims about future upstream users. The fact that you have an >> additional use case is golden for pushing this into a common area and >> validating the scope of the proposed API. > > I think I said it at plumbers, but yes, we are interested in this, and > would like dynamic MSI-like interrupts available to the driver (what > Intel calls IMS) > So basically you are looking for a way to dynamically allocate the platform-msi interrupts, correct? Since I don't have access to any of the platform-msi devices, it is hard for me to test this code for other drivers expect idxd for now. Once I submit the next round of patches, after addressing all the comments, would it be possible for you to test this code for any of your devices? > It is something easy enough to illustrate with any RDMA device really, > just open a MR against the addr and use RDMA_WRITE to trigger the > data. It should trigger a Linux IRQ. Nothing else should be needed. > > Jason >