Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp571635ybp; Fri, 11 Oct 2019 00:27:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2gTl7H3Mc8PoRCI0ZqiFA4rvl3LdbHUK2vFhKJFmdM15TPN+ONQFP9PPpK5aCiALhgJfL X-Received: by 2002:a17:906:7fd3:: with SMTP id r19mr12543393ejs.46.1570778867544; Fri, 11 Oct 2019 00:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570778867; cv=none; d=google.com; s=arc-20160816; b=wI1RnIameAwgchvuptebBcIeLM2LvOKncEgIyVMZX6SY05Y0Br5xh+Gdzz2jYv76+n S47t9xs3uomD6HqMm6azr3o0IdE3VhF6T9T9UOejGjPRB0f6i2M7nVj4bD65N8Z47907 ktfuEnevNoqcU2efZ8WvvOO0q0u0neGokSw52ltKx5CAhb29kktvY6zNOPbDUQYbHj+Y IilI25ASbZZfpMTfxjMPFF35tQZpgmwxXI2dVROHwlz4GyivBBsKCi3iLJ0mZLAydgyW gUKcI8I3pSQ99YWQ0EeiIBBTjx9XzA3r2e6xwJL7s8itdvBt6lWOaGH/9HU2uxiJPflO BXjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PXGQmsqTapiIi2DhUs9f3RGCuwoUA1FtXGFtbOssoUc=; b=BgDSz78vfwckoTF/72dnUmTlf/0tL6Ex2iaTLkpynGdghfRc1Slpp35uSrLxxrzSki tez+f6ubW+z/4mKLJuoMC0Jrvdo1RpCLn0xHjXoZN5k8w4EME7i4jozlTGrs440oImgi pJWQaMXoJQiFAuwZZdiModm6mtniQJzEt9Q3BD78cJcmk2mtGO4BrkL/8wtcu7GzaUZr nIs3WX8hbKbuACdxiqbRar5m8QwUKSYa99hG4igwxmi7AAYN/fL2kH6WF1l1MSo+O4fu 0dl1l3+DHzdllOdyHl2yKuXTYJ6W7mLv7NFmK1QsY41cWs3CJzZLjeuTIseqaQlUsih1 kccA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aUcLe5s9; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si5896603ede.126.2019.10.11.00.27.24; Fri, 11 Oct 2019 00:27:47 -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=@linaro.org header.s=google header.b=aUcLe5s9; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727632AbfJKH1K (ORCPT + 99 others); Fri, 11 Oct 2019 03:27:10 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38836 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726679AbfJKH1K (ORCPT ); Fri, 11 Oct 2019 03:27:10 -0400 Received: by mail-lj1-f195.google.com with SMTP id b20so8782956ljj.5 for ; Fri, 11 Oct 2019 00:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PXGQmsqTapiIi2DhUs9f3RGCuwoUA1FtXGFtbOssoUc=; b=aUcLe5s9fLYXfWdO1nU+IcaUqji/ba0XGgmPaXLGIqDAiKKfjNxU9dRwn51wVqsRk1 X5hvDH19knyBjkXiN7DlZmt4cOzNly0AJpmQ5TcrqqUurlGTpHwWfQCiCX+JHuFeEdW+ NUeWBOsIXokWt/pvgES23YR7C+RsSBZ6LJyyifkFpj1Y/wq9h7rrjb7LG4KDJ0x9qNZq VqMbmJHWVJrEcxeRkqmTnB8YLnzsq7SXs/79uFyA0apdMH9uUyMObiVBQ1a3jIL3sZv0 Ya1MsLQ2+02db9YcVOhZROJPVFszzjIlWqNtQufqu7tMe69GbqHfZUtkyFuhUy1e0nL0 ZTqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PXGQmsqTapiIi2DhUs9f3RGCuwoUA1FtXGFtbOssoUc=; b=erqiRTGS7ZdDQQy41hQPiCsoyQ6Htpf+lJhW1aGi7MGyswWRd6/thxaEIdIjYr8WJK B8cz5xae9jHKANDI5ZxhtlVRiIhpXBa8z/Ej5MKj13ekRNtb4OBfWz2DCGVrMbQhuE7u wuheDmN6gDehgcbQyOOtEyJkLiUqV5+NXvVYTODJmM/xIEFkL2y4tPkM2IIyNHD2RCjk Sc5pKKd0RJg2i3cp3zi15lvL/cfD5R1Do+pwBi6rJuzY4AEzJ9nQ+UOQZSx3Wtqon6gk BtZesPw7HqqHwGfvPxh44V9DQUcY2mZuZwJ1C14tlBZ9tpNS3HPHKjNOLoswpdcc+YGl 24ew== X-Gm-Message-State: APjAAAVHd7kHNwtQ5H1s0fU+9ZwJEbkW2r5AgHqLlZ5i2tyIiDbcOW6O RaKcfdtrUNuYFL8NGrrhehVpTbPRph+9x1AI4c5A6Q== X-Received: by 2002:a2e:9e0a:: with SMTP id e10mr8732217ljk.35.1570778826314; Fri, 11 Oct 2019 00:27:06 -0700 (PDT) MIME-Version: 1.0 References: <20191003000310.17099-1-chris.packham@alliedtelesis.co.nz> <20191003000310.17099-3-chris.packham@alliedtelesis.co.nz> <86blutdlap.wl-maz@kernel.org> In-Reply-To: <86blutdlap.wl-maz@kernel.org> From: Linus Walleij Date: Fri, 11 Oct 2019 09:26:54 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] pinctrl: iproc: use unique name for irq chip To: Marc Zyngier Cc: Geert Uytterhoeven , Chris Packham , Ray Jui , Scott Branden , bcm-kernel-feedback-list , Rayagonda Kokatanur , Li Jin , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 7, 2019 at 10:14 AM Marc Zyngier wrote: > On Mon, 07 Oct 2019 08:30:50 +0100, > Geert Uytterhoeven wrote: > > > > Hi Chris, > > > > CC MarcZ > > > > On Thu, Oct 3, 2019 at 2:03 AM Chris Packham > > wrote: > > > Use the dev_name(dev) for the irqc->name so that we get unique names > > > when we have multiple instances of this driver. > > > > > > Signed-off-by: Chris Packham > > > > A while ago, Marc Zyngier pointed out that the irq_chip .name field > > should contain the device's class name, not the instance's name. > > Hence the current code is correct? > > Thanks Geert for looping me in. The main reasons why I oppose this > kind of "let's show as much information as we can in /proc/interrupts" > are: > > - It clutters the output badly: the formatting of this file, which is > bad enough when you have a small number of CPUs, becomes unreadable > when you have a large number of them *and* stupidly long strings > that only make sense on a given platform. > > - Like it or not, /proc is ABI. We don't change things randomly there > without a good reason, and debugging isn't one of them. > > - Debug information belongs to debugfs, where we already have plenty > of stuff (see CONFIG_GENERIC_IRQ_DEBUGFS). I'd rather we improve > this infrastructure if needed, rather than add platform specific > hacks. > > I have reverted the patch. Yours, Linus Walleij