From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752958AbcDPBgI (ORCPT ); Fri, 15 Apr 2016 21:36:08 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:48857 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752475AbcDPBgA (ORCPT ); Fri, 15 Apr 2016 21:36:00 -0400 From: Christoph Hellwig To: tglx@linutronix.de, linux-block@vger.kernel.org, linux-pci@vger.kernel.org Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: RFC: automatic interrupt affinity for MSI/MSI-X capable devices Date: Fri, 15 Apr 2016 18:35:44 -0700 Message-Id: <1460770552-31260-1-git-send-email-hch@lst.de> X-Mailer: git-send-email 2.1.4 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series enhances the irq and PCI code to allow spreading around MSI and MSI-X vectors so that they have per-cpu affinity if possible, or at least per-node. For that it takes the algorithm from blk-mq, moves it to a common place, and makes it available through a vastly simplified PCI interrupt allocation API. It then switches blk-mq to be able to pick up the queue mapping from the device if available, and demostrates all this using the NVMe driver. There is still some work todo, mostly related to handling PCI hotplug, more details are in the individual patches.