Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7137994pxb; Thu, 18 Feb 2021 02:23:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw88HBx84RigjGNrB4j2WUiS/mrxy6rC09VOL9fIXv9vCtQFJgvq530fCrDCdkFhRzE1eRC X-Received: by 2002:a17:907:e91:: with SMTP id ho17mr3363282ejc.93.1613643824962; Thu, 18 Feb 2021 02:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613643824; cv=none; d=google.com; s=arc-20160816; b=cYdORUAEsn2bS+5460JtHugWSiOx0rw3wE+2NvUnAcH+VKMOOJ4cZzBrCZS/h0ZrwY 0nW4V9xHN6Q/Y7Z5PDFrS8FkmxV1hc8uU2PZfAUkV79ogaZC45Y9Zb17jnFwhFwkg02a wq0E03z2xVJ/dJ3COKWNsson8ok6CO64yURP61Gjq0Lll6G3K94kTV+Hkw25m14ONndw 8XfA9wGpLOJJHaJEs3eNPJoUmI/ukdVV7Ucgm3DWCObwHpeT3HNk7iMa2KcTO/SbXX6O wKXADI5IiAlkE+f76x46reFk4SyT6kNlmEROKNVl/IJaYaiKsAgiXznbGfh8ANarFq89 C/Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=40zTIiz7htLxYEcENFFy2ilp62blY+p0f6RSMDdLhNw=; b=Zcbr1P5+kWcVfv0UwZqeYVrj9IwK1OgZKo7my1X+DtCEKVvlk2j214hDunxlh1HmAE mbEHOVtqWHBJv3KwDZsESMhVqsV9OP9vQldhOgkO7z5Ekd+2j5n3wJ7MAZ4yKJY9DKka ohEajAid7RfHLmrwi+idWgq2jMpE64JrjLNwzlIIZtgTaUBLM61FtgsU34XsTZqVsC3B NKXWEQJae8m69vpIP0CWKkA7Q8Oi3xZGhRJstgSGSmwRwwXRQO7DgXC2E5PND+Cru2Wk DDb7uyAIDLAD9sNqzMrVZwtBDKEl8/NtbSMpGdD/oa1S+IKH6TFepgXs6V3RWbaKBx3/ ORzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Fedan8Na; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr3si3051796ejc.380.2021.02.18.02.23.21; Thu, 18 Feb 2021 02:23:44 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Fedan8Na; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbhBRJyt (ORCPT + 99 others); Thu, 18 Feb 2021 04:54:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:45900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhBRIll (ORCPT ); Thu, 18 Feb 2021 03:41:41 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 343A960238; Thu, 18 Feb 2021 08:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613637660; bh=y1uZixkc/Teji98Qqjp10uO3bpz5x0IaskLw4jV+MyE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fedan8NayLvVSPabiYyb1K4vttKD/LAOxtKOMnbM8/e6gFo/kAMF57PfrlUatDJcb MFcSFAAQzDpccOcW6giD1hjmNdCnxU2OEtRO12Plbzl5WtDZ3ihwWcPPRQ4y0Z10PS dId7/kchTZAfbz6G6o/OWBTG7ZvM7ADeesW67sQE= Date: Thu, 18 Feb 2021 09:40:58 +0100 From: Greg KH To: Michael Walle Cc: linux-kernel@vger.kernel.org, maz@kernel.org, tglx@linutronix.de Subject: Re: [PATCH] irqdomain: remove debugfs_file from struct irq_domain Message-ID: References: <20210217195717.13727-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210217195717.13727-1-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 17, 2021 at 08:57:17PM +0100, 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. > > [ 0.000000] Linux version 5.11.0-next-20210217-00014-g41e0e92a2d05 (mwalle@mwalle01) (aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #69 SMP PREEMPT Wed Feb 17 20:47:10 CET 2021 > [..] > [ 0.000000] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 > [ 0.000000] Mem abort info: > [ 0.000000] ESR = 0x96000004 Back to this log, do you see: "Unable to pin filesystem for file " anywhere before this crash? thanks, greg k-h