From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 8 Nov 2016 15:56:52 +0100 From: Christoph Hellwig To: Hannes Reinecke Cc: Thomas Gleixner , Christoph Hellwig , Jens Axboe , linux-block@vger.kernel.org, linux-pci@vger.kernel.org, Linux Kernel Mailinglist , Hannes Reinecke Subject: Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Message-ID: <20161108145652.GA12817@lst.de> References: <1478591241-123356-1-git-send-email-hare@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1478591241-123356-1-git-send-email-hare@suse.de> List-ID: On Tue, Nov 08, 2016 at 08:47:21AM +0100, Hannes Reinecke wrote: > Add a reverse-mapping function to return the interrupt vector for > any CPU if interrupt affinity is enabled. What's the use case of it? Also as-is this won't work due to the non-affinity vectors that have the affinity set to all cpus. It will get even worse if we have to support things like virtio_net that have multiple interrupts per CPU due to the send and receive virtqueues.