Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp12109792ybi; Fri, 26 Jul 2019 04:59:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlGSsauKzFMAFfdmzw8ENQo68+RbqgFayCoy010iWOATsqkaOrcIlSgAx5K8W+s03RAsyu X-Received: by 2002:a65:5144:: with SMTP id g4mr38639775pgq.202.1564142371455; Fri, 26 Jul 2019 04:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564142371; cv=none; d=google.com; s=arc-20160816; b=Yy+wvrhSnNQMeHF5Kg2v5csUVI+tFoeYJpCpix3k0H/we3RjsDY8+ntEFG81JSifDf 0CfvNO79+GuFC4s6IObT7b8GzW28PzMT6BUmataJtxQhYDxPD+4KxFR4sLGhpy7q63ck C31Ufix7Xn1MgbNNU/Hwpt7+dXu89rKaggpIiZ+9JCePKO5uIgSErv6I5948ib9wCX5c FuT2glWWheti2+Iagzqo8w5ntirrIeBo2CKi7le5wvN5YK+mlw/2KGmzW7xz6FgQnVfw tm+r4oTm0QyVYEHqon8wOIFKlIFIA0pSlVI/bGx3YGjJ0efO3E4xENvkPc8fc8FfbZTd 5zJg== 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=mSBR8wSBkiyvnrGN7UWTBrUynRRS0ogfeVMiNUtkwdY=; b=vC3A4iK60AQfwDEAdpZRX3QCved62so/SUVHQPK0rb8PQbsMGW5Yyd3xBPXR3bmbTo 2JgOgyrGvFCoNdKD/3aoK1rtf7USqxKocNITyPePrP2DXq5fS3MeFC8AJgT3MKphX8kq juskFy9NS9z4nZalnZjGI/FCynkKckYebUZ3LTOsv3Q/AsOgK+YqL/Jsis6Xit4nxOXX MLkQdIW1KTR8R38m30/odnBytnEImlcJ8BnDCjbJ81TfFyKSTGZft6wcgKBrTpI5CwVF MFc1SpJMFP2Z0qMFxe5Y/mXOc8Ilaev2TVO7D87jcun+Sdn9ajaDf0Kl0G4Kg1C0px8u vL/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2agoaOv3; 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 k43si17355108pje.59.2019.07.26.04.59.15; Fri, 26 Jul 2019 04:59:31 -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=2agoaOv3; 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 S1726074AbfGZLna (ORCPT + 99 others); Fri, 26 Jul 2019 07:43:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:44720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbfGZLn3 (ORCPT ); Fri, 26 Jul 2019 07:43:29 -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 69DED229F3; Fri, 26 Jul 2019 11:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564141408; bh=5yhEY4/CW3iFSx6x2N72Exb83PWgWW4WYbcupxxH+EQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2agoaOv3lpVGYhSQxrkRuDOARn2KEXJcqmDa7xybgtHiM6/IJNjdpLnyRHt7Aubtc X8i7PeL0fMglVJ+kGD7HlNNxki0h00bW92TbkewMZwyidxTXpksfKgvJIVrarwrs/f 4bwd5fiplYiGBI4MZPkaodlW/in25rCAMv7VrmOs= Date: Fri, 26 Jul 2019 13:43:25 +0200 From: Greg Kroah-Hartman To: Thomas Petazzoni Cc: Sai Prakash Ranjan , Geert Uytterhoeven , Mathieu Poirier , Suzuki K Poulose , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Leo Yan , linux-arm-kernel@lists.infradead.org Subject: Re: [Regression] Missing device nodes for ETR, ETF and STM after CONFIG_UEVENT_HELPER=n Message-ID: <20190726114325.GA18727@kroah.com> References: <20190726070429.GA15714@kroah.com> <165028a7-ff12-dd28-cc4c-57a3961dbb40@codeaurora.org> <20190726084127.GA28470@kroah.com> <097942a1-6914-2542-450f-65a6147dc7aa@codeaurora.org> <6d48f996-6297-dc69-250b-790be6d2670c@codeaurora.org> <20190726101925.GA22476@kroah.com> <20190726133316.688a43d8@windsurf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190726133316.688a43d8@windsurf> 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 01:33:16PM +0200, Thomas Petazzoni wrote: > Hello, > > On Fri, 26 Jul 2019 12:19:25 +0200 > Greg Kroah-Hartman wrote: > > > > This somehow is not mounting etr, etf, stm devices when uevent-helper is > > > disabled. Anyways as Suzuki mentioned, using devtmpfs does fix the issue. > > > > Last I looked (many years ago) mdev requires uevent-helper in order for > > it to work. I recommend that if you rely on mdev to keep that option > > enabled, or to just use devtmpfs and udev :) > > Since Busybox 1.31.0, mdev has gained a daemon mode. In this mode, mdev > runs in the background, and receives uevent through a netlink socket. > So there's been some changes in how Busybox mdev works in recent times. Ideally mdev should switch to what udev did many many years ago and not do any device node creations and just leave all of that up to devtmpfs. Then it can just stick to any symlinks and any specific owner:group permissions that might be wanted separate from the default ones the kernel provides. Makes things much simpler and should save a lot of userspace code, making mdev even smaller. thanks, greg k-h