Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11819324ybi; Fri, 26 Jul 2019 00:05:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzznKlMUJy4Xndis9dzWGZioiiar2geT+jTcQblrN+kW40wQRS6qseEzwQ6zoTJDR//5O3R X-Received: by 2002:a17:90a:cb15:: with SMTP id z21mr51035269pjt.87.1564124724944; Fri, 26 Jul 2019 00:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564124724; cv=none; d=google.com; s=arc-20160816; b=wmQynl33lSXNkqKZKy+GD1QPC7uzi6ibr4mG7ebBTvWaXCs3ZzwfLheS0toWPb1lka KcK+Ww0ljrMyOZ5e+caCeRj5LupXrj+fLtcX3+24e+3l35sSsVc2rQYJhWtJja71MRNh 1QzyV7c+L5CdSEnlrUePRaPJ1RfjsX1Keesht73kHHpI+pQ3ZI5L1cVTFFq5fPLWq/u4 p0bGIjDnX7+F/HFllzGGrv2DmKrlWbCDxJl+XIwcUsmkbeeE4gcgcu/oEz5zWOjO3c3T amDlneHal9YZAD2Ej6K9v0SqfOKHSGlrz89A9awGHb3B6qZzLLaFTUTKYKBrWtPW2z2B teNg== 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=Y1BE6YnhCmtHzm79SKKG2nPOOommNCDAYW2TWt23NMY=; b=Tfl+E/ozp7xF6MWMJj7YnHPlS2yzr42sqzrSE7TV0aEe/gpXwE4o7vRdwC9qJB7fog VBf5R0m48XX8GJz5STKJXTXsBzIAZfRrt7hY+eFiq5KORs9yzJ7IcxvRyBbrEiZw1fqj N9wSgRAsslln/eWDc1q6hK/j8ok/Ea/Gbsl8dQV+G/hDuKtnp7HrQLVLPCMOdSxc6NE1 UscruptI/7a+5Le86PHnmAieFvcp7wQD8ls1k4WKUjqlrQs47nzG6OKiabRlYZIbuv20 moXkPGl2BlHCr9INkxIE4dKb3jNvbs+2+1ZiFk3vyYh8mRkNh6mZhqkyWcd9hTDcEuOc 5MXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hj2bqG3O; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si16679699plr.103.2019.07.26.00.05.09; Fri, 26 Jul 2019 00:05:24 -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=@kernel.org header.s=default header.b=hj2bqG3O; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726265AbfGZHEd (ORCPT + 99 others); Fri, 26 Jul 2019 03:04:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:44538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbfGZHEd (ORCPT ); Fri, 26 Jul 2019 03:04:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 9B33C2189F; Fri, 26 Jul 2019 07:04:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564124672; bh=k/UOBs057nzqvM8wDXVsdhD34rUb8UosI2e9mYaPZcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hj2bqG3OC26tesrJHal/PYw3vjXJCXPcVlmZ/mvwcK60gprjxKzanyetOieQalQtC /Az1cdpFMBj1pj7fD6vzLZAQk3QkKKBYhyCBP0bowOvh4Z2hvHgTjIArDV9mZEW1at xZaN09LLnZSxwlkmcNlcEhZwoiJWK9WeJZ3uacKE= Date: Fri, 26 Jul 2019 09:04:29 +0200 From: Greg Kroah-Hartman To: Sai Prakash Ranjan Cc: Geert Uytterhoeven , Mathieu Poirier , Suzuki K Poulose , Leo Yan , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [Regression] Missing device nodes for ETR, ETF and STM after CONFIG_UEVENT_HELPER=n Message-ID: <20190726070429.GA15714@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 26, 2019 at 11:49:19AM +0530, Sai Prakash Ranjan wrote: > Hi, > > When trying to test my coresight patches, I found that etr,etf and stm > device nodes are missing from /dev. I have no idea what those device nodes are. > Bisection gives this as the bad commit. > > 1be01d4a57142ded23bdb9e0c8d9369e693b26cc is the first bad commit > commit 1be01d4a57142ded23bdb9e0c8d9369e693b26cc > Author: Geert Uytterhoeven > Date: Thu Mar 14 12:13:50 2019 +0100 > > driver: base: Disable CONFIG_UEVENT_HELPER by default > > Since commit 7934779a69f1184f ("Driver-Core: disable /sbin/hotplug by > default"), the help text for the /sbin/hotplug fork-bomb says > "This should not be used today [...] creates a high system load, or > [...] out-of-memory situations during bootup". The rationale for this > was that no recent mainstream system used this anymore (in 2010!). > > A few years later, the complete uevent helper support was made optional > in commit 86d56134f1b67d0c ("kobject: Make support for uevent_helper > optional."). However, if was still left enabled by default, to support > ancient userland. > > Time passed by, and nothing should use this anymore, so it can be > disabled by default. > > Signed-off-by: Geert Uytterhoeven > Signed-off-by: Greg Kroah-Hartman > > drivers/base/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > > Any idea on this? That means that who ever created those device nodes is relying on udev to do this, and is not doing the correct thing within the kernel and using devtmpfs. Any pointers to where in the kernel those devices are trying to be created? thanks, greg k-h