Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752964AbaKQVbU (ORCPT ); Mon, 17 Nov 2014 16:31:20 -0500 Received: from www.linutronix.de ([62.245.132.108]:35694 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbaKQVbS (ORCPT ); Mon, 17 Nov 2014 16:31:18 -0500 Date: Mon, 17 Nov 2014 22:31:14 +0100 (CET) From: Thomas Gleixner To: Bjorn Helgaas cc: Yijing Wang , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Xinwei Hu , Wuyun , linux-arm , Russell King , Thierry Reding , Thomas Petazzoni , Marc Zyngier , Yingjoe Chen Subject: Re: [PATCH 00/10] Save MSI chip in pci_sys_data In-Reply-To: Message-ID: References: <1414396127-30023-1-git-send-email-wangyijing@huawei.com> <20141112042359.GK28161@google.com> <20141117025914.GC4280@google.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Nov 2014, Bjorn Helgaas wrote: > Super. Thank you very much for taking care of this; it's a big weight > off my mind. > > You can add my Acked-by to these patches if you want it. I would > suggest a minor comment expansion here, just because the code *looks > like* it's setting up something to match a hardware device: > > > +/** > > + * pci_msi_domain_calc_hwirq - Generate a unique ID for an MSI source > > + * @dev: Pointer to the PCI device > > + * @desc: Pointer to the msi descriptor > > + * > > + * The ID number is only used within the irqdomain. > > Maybe include something like: > > This "irq_hw_number_t" is an opaque identifier used only by the > irqdomain code. > It does not correspond to any hardware implementation or register encoding. Yes, that's really a way better description of it. Thanks for having a look! tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/