Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752648AbeAQJ0X convert rfc822-to-8bit (ORCPT + 1 other); Wed, 17 Jan 2018 04:26:23 -0500 Received: from mx01.hxt-semitech.com.96.203.223.in-addr.arpa ([223.203.96.7]:32967 "EHLO barracuda.hxt-semitech.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752134AbeAQJ0V (ORCPT ); Wed, 17 Jan 2018 04:26:21 -0500 X-ASG-Debug-ID: 1516181177-093b7e0d77373b0001-xx1T2L X-Barracuda-Envelope-From: shunyong.yang@hxt-semitech.com From: "Yang, Shunyong" To: "tglx@linutronix.de" , "marc.zyngier@arm.com" CC: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] irqdomain: provide useful debugging information for irq domain Thread-Topic: [PATCH] irqdomain: provide useful debugging information for irq domain X-ASG-Orig-Subj: Re: [PATCH] irqdomain: provide useful debugging information for irq domain Thread-Index: AQHTj009Wdh6WNEqvUKYpF9MpLNJq6N3N/6AgAALlACAAAIrgA== Date: Wed, 17 Jan 2018 09:26:24 +0000 Message-ID: <1516181177.3280.13.camel@hxt-semitech.com> References: <1516163877-32396-1-git-send-email-shunyong.yang@hxt-semitech.com> <210f90d0-1588-2185-4845-d5d143183621@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.64.6.73] Content-Type: text/plain; charset=US-ASCII Content-ID: <5A6D589629E01E428DE62A1F40D0B635@hxt-semitech.com> Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 X-Barracuda-Connect: localhost[10.128.0.14] X-Barracuda-Start-Time: 1516181177 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA X-Barracuda-URL: https://192.168.50.101:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4966 1.0000 0.0000 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.46963 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi, Marc and Thomas, Thanks for your feedback. On Wed, 2018-01-17 at 10:18 +0100, Thomas Gleixner wrote: > On Wed, 17 Jan 2018, Marc Zyngier wrote: > > > > In all honesty, I'd be more inclined to remove this debug feature > > altogether, as CONFIG_GENERIC_IRQ_DEBUGFS is more complete and more > > useful. Is there any feature missing from that infrastructure that > > prevents you from using it instead? > > > > If the answer is "none", then I'll post a patch removing it. > Wanted to do that quite some time ago and never came around to it. I think they have different purpose. irq_domain_mapping is an overiew of the mapping of each virq to hwirq and the domain it belongs. It likes a map or index of each IRQs. I tend to suggest to keep it. The nodes under debugfs irq/domains describes the hierarchy of each irq domain. The nodes under debugfs irq/irqs describes information of every single irq. Thanks Shunyong