Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp7251ybl; Mon, 12 Aug 2019 10:46:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6wBSfuFX2gbdP7HTZOodvGgwUKIO2S7P1mwRn1v/4wJ9w2TEguqgI5eJ7DYbQJ5jL+CuT X-Received: by 2002:a17:90a:7788:: with SMTP id v8mr445042pjk.132.1565631991555; Mon, 12 Aug 2019 10:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565631991; cv=none; d=google.com; s=arc-20160816; b=bxszPK0F33/AG/FMd16QGwm1286Z2ZOtzkGDvAreitpJ59d5iMG3Aso9RQSWc1Bf3O vZE190pztLqXAVJSj/lC9GeIObS2iEY1DuTrVwIumqgiJFHtyGpmklfm7VldTv9h6uu9 ZgUVepJmh6xcy00vbFSuemap62nVpab6sLxYES2NP7s2REpBTiCnud6dTeigXfYUePip nL0m+oV93FEf/092KDlKEqFXwNrHMp8TA1Zb+5m1WDIXfQr2s5I1FFlx/UFA1mg/BXCU wGywLoAnm1lOwdqVgm+MfgLFozpVtXUeRKgrqDSS9TqRAxoo88wdu2JOWLAUdOjTLq6B eyDg== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=JG0uFUNtIbA4LIRfsKzGOBVvR0LTDKGNAl/hx2JeTSw=; b=Hhszh8kB6cKO0XNk4JKiORBmsGH+8XbQsfDpYmuZVg8KREoks1fJy+S/rY5NaJip3W 22aVwf3tqTUz7KI0PZCfAvwEwr3jGL9e9mZlgK/FAMs5aNqSKMn/LA50YviRvACus54N JOkZACkPvx9104MvUodTfes+seLGUo66JHImSeyKGWnZW1pw2Sctq6p6dOTGEX2EmUpq HUmCEnIQhqQjxK1byTKURk86rh8Nh7RT9oOMVmR24IKzHWLsl3q5mlTrKpCCe6nsGiAJ JbEGowbebs24NZ/joLQmz4Z4no2E7xS/J/BjcIZE3Ue5jzxIRyTD6vZSp03Ezu/c+XNn D6jQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id h6si62448253pgc.202.2019.08.12.10.46.07; Mon, 12 Aug 2019 10:46:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727270AbfHLReW (ORCPT + 99 others); Mon, 12 Aug 2019 13:34:22 -0400 Received: from mga06.intel.com ([134.134.136.31]:26428 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbfHLReV (ORCPT ); Mon, 12 Aug 2019 13:34:21 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 10:33:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,378,1559545200"; d="scan'208";a="376025887" Received: from megha-z97x-ud7-th.sc.intel.com ([143.183.85.162]) by fmsmga006.fm.intel.com with ESMTP; 12 Aug 2019 10:33:35 -0700 Message-ID: <1565632489.7042.17.camel@intel.com> Subject: Re: [RFC V1 RESEND 2/6] PCI/MSI: Dynamic allocation of MSI-X vectors by group From: Megha Dey To: Thomas Gleixner , Marc Zyngier Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ashok.raj@intel.com, jacob.jun.pan@linux.intel.com Date: Mon, 12 Aug 2019 10:54:49 -0700 In-Reply-To: References: <1561162778-12669-1-git-send-email-megha.dey@linux.intel.com> <1561162778-12669-3-git-send-email-megha.dey@linux.intel.com> <1565118316.2401.112.camel@intel.com> <48a44ffc-4b5b-5eef-73de-020f1710c41e@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2019-08-11 at 09:20 +0200, Thomas Gleixner wrote: > On Wed, 7 Aug 2019, Marc Zyngier wrote: > > > > On 07/08/2019 14:56, Thomas Gleixner wrote: > > > > > > On Tue, 6 Aug 2019, Megha Dey wrote: > > > > > > > > On Sat, 2019-06-29 at 09:59 +0200, Thomas Gleixner wrote: > > > > > > > > > > On Fri, 21 Jun 2019, Megha Dey wrote: > > > > Totally agreed. The request to add a dynamic MSI-X > > > > infrastructure came > > > > from some driver teams internally and currently they do not > > > > have > > > > bandwidth to come up with relevant test cases. > > > Hahahaha. > > > > > > > > > > > But we hope that this patch set could serve as a precursor to > > > > the > > > > interrupt message store (IMS) patch set, and we can use this > > > > patch set > > > > as the baseline for the IMS patches. > > > If IMS needs the same functionality, then we need to think about > > > it > > > slightly differently because IMS is not necessarily tied to PCI. > > >   > > > IMS has some similarity to the ARM GIC ITS stuff IIRC, which > > > already > > > provides these things outside of PCI. Marc? > > Indeed. We have MSI-like functionality almost everywhere, and make > > heavy > > use of the generic MSI framework. Platform-MSI is probably the most > > generic example we have (it's the Far West transposed to MSIs). > > > > > > > > We probably need some generic infrastructure for this so PCI and > > > everything > > > else can use it. > > Indeed. Overall, I'd like the concept of MSI on whatever bus to > > have one > > single behaviour across the board, as long as it makes sense for > > that > > bus (nobody needs another PCI MultiMSI, for example). > Right. > > @Intel: Is there documentation and perhaps early code for that IMS > muck to > look at? Hi Thomas, We have some early documentation on IMS which can be found here (part of the Scalable I/O Virtualization spec): https://software.intel.com/sites/default/files/managed/cc/0e/intel-scal able-io-virtualization-technical-specification.pdf (Section 3.4.1) Also, I do have some initial IMS patches that we use internally for testing. I will clean it up and send it as an RFC patchset shortly.   > > Thanks, > > tglx