Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6783727pxb; Wed, 17 Feb 2021 13:22:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwf0MFq8grQSQJ4sRkx0O1+V3P4UImu7PoHnay3sF7x4ivMgawkNIRYrq8Xr44kXJ8ylyIK X-Received: by 2002:a17:906:68c1:: with SMTP id y1mr844912ejr.289.1613596958335; Wed, 17 Feb 2021 13:22:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613596958; cv=none; d=google.com; s=arc-20160816; b=ooY6dNiYAb0pzPdgd+WRM0CusBr3zA5a+3mjjnmxp9YSEjLlNCJTSrI8q2Atlq3QKq uwuxhI8HuHsbqoF0VTEnaOlQJItpA9BBbveDU2iT1zbeegSB2xtLMq75912xTyZj1QQ3 X5b0UgSGrDnv/q/BX9Ok7si9nnxRemuYPAZNdAWL1HhbwIl+6LNbK3/iERfxsaa4tKX9 OHE3eCWh2UjKv+NJbJ11qgqiO+TVSP3zuTA3TnWwRWKFwNdc4uRdEbF0VOdHMawVK7Ov uq8IrOxXdnj2xI4C7SDaF9G4pQr3VuiVNJv4xokC1qwnoazMa8wO5sLxs0pvGYRZ4+Wy eZGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=oXC60OVN8BuomyU0ZnSCOycNtYu8bOa634DVmmt/wow=; b=HE1sARR9uAu/Vr9tBD5u1RsZHGPu172lXQKN7WzB93ioJTt1XYVD0rWVPK5RL9K4k7 rggeKU8m+hjOPpvNX1prP/KbUWLvqs/Cgilov4k5Z7a6BRnI1CXmXpKs7JE6GHEvHPAd pXkL9wuNkHUhMQ1EC9reU3omuJ7Kf6tX/FNXx2takkCSGAhmGv3Xw/1mp2a6spaHjaTy vd2OHnbz3hch6YBK/tXGl1NCTeiShbIbbcXfKi+gc39e+SWs8iBiVJ5zxWMfEhS9C+yo HU4FHN7v2T8nxSrxpTbkc3igHWzxlbj1HLPXqpJu7o44b/CR1+cZqhPPqkIHlBSmU37P m8vA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ja23si2268393ejc.143.2021.02.17.13.22.13; Wed, 17 Feb 2021 13:22:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233924AbhBQUDI (ORCPT + 99 others); Wed, 17 Feb 2021 15:03:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:60378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233730AbhBQUDH (ORCPT ); Wed, 17 Feb 2021 15:03:07 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B451064E62; Wed, 17 Feb 2021 20:02:26 +0000 (UTC) Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1lCT1k-00EeXg-KE; Wed, 17 Feb 2021 20:02:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Feb 2021 20:02:24 +0000 From: Marc Zyngier To: Michael Walle Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [PATCH] irqdomain: remove debugfs_file from struct irq_domain In-Reply-To: <20210217195717.13727-1-michael@walle.cc> References: <20210217195717.13727-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <4e4d0479b935e60a53f75ef534086476@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: michael@walle.cc, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, tglx@linutronix.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-17 19:57, Michael Walle wrote: > Hi Greg, > >> There's no need to keep around a dentry pointer to a simple file that >> debugfs itself can look up when we need to remove it from the system. >> So simplify the code by deleting the variable and cleaning up the >> logic >> around the debugfs file. > > This will generate the following oops on my board (arm64, > freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts). In debugfs_lookup() > debugfs_mount is NULL. That's odd. I gave it a go yesterday, and nothing blew up. Which makes me wonder whether I had the debug stuff enabled the first place... I've dropped the patch from -next for now until I figure it out (probably tomorrow). Thanks, M. -- Jazz is not dead. It just smells funny...