From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754448Ab3KTQVX (ORCPT ); Wed, 20 Nov 2013 11:21:23 -0500 Received: from mail-yh0-f54.google.com ([209.85.213.54]:46003 "EHLO mail-yh0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754426Ab3KTQVS (ORCPT ); Wed, 20 Nov 2013 11:21:18 -0500 Date: Wed, 20 Nov 2013 11:21:14 -0500 From: Tejun Heo To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas , Michael Ellerman , Benjamin Herrenschmidt , Ben Hutchings , David Laight , Mark Lord , "H. Peter Anvin" , linux-pci@vger.kernel.org Subject: Re: [PATCH RFC v2 10/29] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface Message-ID: <20131120162114.GJ28946@htj.dyndns.org> References: <246d1586c10fc8c787935e6d14c80f7fc268cd00.1382103786.git.agordeev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <246d1586c10fc8c787935e6d14c80f7fc268cd00.1382103786.git.agordeev@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2013 at 07:12:10PM +0200, Alexander Gordeev wrote: > As result of introduction of pci_get_msi_cap() interface > pci_enable_msi_block_auto() function became superflous. > > To enable maximum possible number of MSIs drivers will > first obtain that number from pci_get_msi_cap() function > and then call pci_enable_msi_block() interface. It'd be nice to mention that _auto has been introduced recently and has only single user in ahci which is updated by this patch. > Signed-off-by: Alexander Gordeev Acked-by: Tejun Heo Bjorn, please feel free to route this through pci branch. Thanks. -- tejun