Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp70410ybe; Tue, 3 Sep 2019 17:52:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw04TVIkZ302UHQGaMM8a2SRgkkh5I2yqlPLbIcejXgfcOMSpjOylW7ZTPk0RBimTQ3/2Mn X-Received: by 2002:a17:90a:a105:: with SMTP id s5mr2177006pjp.51.1567558328729; Tue, 03 Sep 2019 17:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567558328; cv=none; d=google.com; s=arc-20160816; b=OB76K1x06qwWpPZpHMNN0ef4krWAIlls5XdC2nsQEEiUO7Aab1v3wBbGwr+WQHaTc+ aKgtqEJuF7mj39aH4DFskKtL/9E/IZvFFT3vQqUV5TS8XYrn/5nu4Z9ybNbQnnsMLpA/ 8Exz1qdCIS4lUYxLa7zWtPIlIdHIolFk/Do83TtPIl550OdYLAqobmm2x54DPJh1jpaS soqussXLPKTWEk+A8w9AkD7AW/s6KKKVyeONN1cE0Dx7sB0kVg8IByB0RHU0CsYg7E+Q yyJixGRSSLYX3yNqaOOyD6VX/A/hWuDaZZLDvnzkOIRYlX6P7+UcT1n5iNyHROm8ZBwd Gj7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/sKpokSgV0d78qiyD9dXj1DJgXdYj7e/Ymk+1/2JYWk=; b=zjjf5fOkuvoX3EbXg3XW2LhlmNAXp+aUa39duvmjMWLfI3AFROsn6eBcyJ9+ayPkis LmKXgF5d7AQRTzHAmQ1OZ81qx9MYlCzuk3vCB0nV5Dy9WC3cmzi4WiePOSNlJJdE3GVm bnyJjqbdbSighXDxITBFriN8Q11C1mPb/MrYeWdkH8IbmF/q8WQ4/j6bXTMISIogLSKU YP14ecIwhQWSrClXck7IK6OWIYf9qKlidyuqkCEeJYjiYJI+S6D28hCu1xx91oU0hdAW xbHQVyAPLwlmdvhPJlWRokn7S+bdUke5geytfrbxDR24HzqyX/clI9OGxa+wkxR2w7Lp uHaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SNlV5oiI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si15639227pgc.75.2019.09.03.17.51.52; Tue, 03 Sep 2019 17:52:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SNlV5oiI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbfIDAu7 (ORCPT + 99 others); Tue, 3 Sep 2019 20:50:59 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42700 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbfIDAu6 (ORCPT ); Tue, 3 Sep 2019 20:50:58 -0400 Received: by mail-pg1-f194.google.com with SMTP id p3so10193962pgb.9 for ; Tue, 03 Sep 2019 17:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/sKpokSgV0d78qiyD9dXj1DJgXdYj7e/Ymk+1/2JYWk=; b=SNlV5oiI+D2sgp94B0oOXIg8DZWw36LWldCdfiJzkSHTqiwEare9/eJF6DtSgwmOEM R4P7sui524O56UG2FcjdzH2ljGyDRDI6HgjRL9eozhjlpYOrtuIRnmk2+q55NddxYlid HihwnE2DOUwfGNfdXWn25eKblO0rmV3BKLF65rFgVLUZjDFlLwx18Qpyaw+FhP1pEDNE TL9fZQ8fm2T/7m68hCGY5KQtRsYvTErMhDlWlo4+JUxVc96D/956cOV0gFvpcdTMO1Xx tzHAb5uBvkN1sH5NPQvaSmLO5vHaQTm1RNlMTksVWiBG3JglFbejcbxKDniCz50fGRUF u6YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/sKpokSgV0d78qiyD9dXj1DJgXdYj7e/Ymk+1/2JYWk=; b=k2dv6NXpUErFr3u5j4Rol+2UppAIXQey9igdhEkh90NrRmZYDh11rY4hUPUrjMBZt0 x9DEyusJ81rgUgsMtxi6BX4nbem8KFTbSC+/itPAGvBLHDQ3c1Cw8JrghGhUIAkuz1fD Gkvg6x24FMyH5LDNQFCHkinIE3CIR3zUjbH2Ayk9T1OeqoiTwyOltmtGEdDRKGYHKzwf hq58gAeRPMshAf/UqbKBZns3/8r9AammcQmd3hHSGqFmPRSx2NqXR2BZsEc/IInzbevk cJxiIIIC0zp58VsP3FOSk6IsWS6m7+H/c///38ioJvTMyIcA6CQ0smKB2ELONPBsX2AK pMKQ== X-Gm-Message-State: APjAAAUTp8Sp00jAOLnUCS4QPe6Quf8IQkUiX43fErtaNZQLp571QC1O kaB7bWD6Tnvm5GZ4Tb/69J8= X-Received: by 2002:a17:90a:e292:: with SMTP id d18mr914211pjz.100.1567558258044; Tue, 03 Sep 2019 17:50:58 -0700 (PDT) Received: from mail.google.com ([149.28.153.17]) by smtp.gmail.com with ESMTPSA id e66sm36363111pfe.142.2019.09.03.17.50.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Sep 2019 17:50:57 -0700 (PDT) Date: Wed, 4 Sep 2019 00:50:54 +0000 From: Changbin Du To: Marc Zyngier Cc: Changbin Du , Thomas Gleixner , Andrew Morton , yamada.masahiro@socionext.com, LKML Subject: Re: [PATCH] genirq: move debugfs option to kernel hacking Message-ID: <20190904005053.hnk3hh35vqagnikt@mail.google.com> References: <20190901035539.2957-1-changbin.du@gmail.com> <20190901101032.7pysfrpincyrci35@mail.google.com> <20190901114936.5e2f3490@why> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190901114936.5e2f3490@why> User-Agent: NeoMutt/20180716-508-7c9a6d Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 01, 2019 at 11:49:36AM +0100, Marc Zyngier wrote: > On Sun, 1 Sep 2019 18:10:33 +0800 > Changbin Du wrote: > > > On Sun, Sep 01, 2019 at 08:23:02AM +0200, Thomas Gleixner wrote: > > > On Sun, 1 Sep 2019, Changbin Du wrote: > > > > > > > Just like the other generic debug options, move the irq one to > > > > 'Kernel hacking' menu. > > > > > > Why? > > > > > > Kernel hacking is a inscrutable mess where you can waste a lot of time to > > > find what you are looking for. > > > > > yes, the 'kernel hacking' menu has many items now and are not well structured. > > Let me see if it can be improved. > > > > > If I want to debug interrupts then having the option right there where all > > > other interrupt related configuration is makes tons of sense. > > > > > > I would be less opposed to this when the kernel hacking menu would be > > > halfways well structured, but you just chose another random place for that > > > option which is worse than what we have now. > > > > > We already have an irq debug option CONFIG_DEBUG_SHIRQ here. Maybe we can group > > them into a submenu. > > DEBUG_SHIRQ is extremely different from GENERIC_IRQ_DEBUGFS. The former > is a test option, verifying that endpoint drivers have a correct > behaviour. The latter is a dump of the kernel internals, which is > mostly for people dealing with the internals of the IRQ subsystem. > > Preserving this distinction between the users of the IRQ API on one > side and the debugging of the IRQ subsystem on the other is important. > Moving these two things close together could make it even more confusing > for the users (who usually do not need to mess with the IRQ subsystem's > internals...). > IMHO, these are two distinct irq *debug* options. If we prefer preserving current position, please skip this patch. Thanks. > Thanks, > > M. > -- > Without deviation from the norm, progress is not possible. -- Cheers, Changbin Du