From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70938C4361A for ; Sat, 5 Dec 2020 20:50:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0AF6E230F9 for ; Sat, 5 Dec 2020 20:50:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AF6E230F9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DxQPdLIjECRneF/4xvkQ9qxyyXqDcRhROs1rrQE+nT4=; b=tZO4lxTve/lfKszUfgYNJ4L9X 7Y2BDMNugjucXK0icBnN38RdzZA0ZMnZSYuiWStiC1UqCK/cpfccuRUG7gTVB1LqKslv/+k+pBRHd prH+398yKwotJdkKES+ryuQyDFJt8KdhIYzrD39qPugENfOdH7H4gUH81DFcFYadjDHZISX6XU6Zr a9zKP7tTgJdoivbNbgBhCM4oAQ7eyhFa5aaEQYFVr6Ll1oYwd5HoDKcVL8cvP/SO2F3jzOSig9rDB PHq8m0aIWgeG3gnYv74G/HKc23svML1lFWHiaAXFj1YhGgSHISFdX7NHulCfiY+25Xtp5U657Hv4e rxUdhPQ0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kleTw-0002gJ-5N; Sat, 05 Dec 2020 20:48:40 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kleTs-0002fV-7s for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2020 20:48:37 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 326FA1C0B8D; Sat, 5 Dec 2020 21:48:35 +0100 (CET) Date: Sat, 5 Dec 2020 21:48:34 +0100 From: Pavel Machek To: Dmitry Torokhov Subject: Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3 Message-ID: <20201205204834.GC8578@amd> References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201205_154836_605964_F341F56E X-CRM114-Status: GOOD ( 22.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: Arnd Bergmann , Douglas Anderson , Linux Kernel Mailing List , SoC Team , Linus Torvalds , Linux ARM Content-Type: multipart/mixed; boundary="===============2628849776943824646==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2628849776943824646== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8X7/QrJGcKSMr1RN" Content-Disposition: inline --8X7/QrJGcKSMr1RN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > > > - Some DT patches for the Rockchip RK3399 platform, > > > in particular fixing the MMC device ordering that > > > recently became nondeterministic with async probe. > > > > Uhhuh. > > > > I didn't realize this MMC breakage happened. > > > > That's just an MMC bug. Other subsystems have been able to do async > > probing without making device ordering be random. > > > > So this really smells wrong, and I just never realized. > > > > Added Douglas Anderson to the cc - the whole PROBE_PREFER_ASYNCHRONOUS > > behavior appears broken. > > > > You basically should do the device numbering synchronously (or better > > yet - asynchronously, but single-threaded for the subsystem), and then > > asynchronously probe the actual device details after you've numbered > > them reliably. >=20 > Generally speaking it is either unnecessary for a lot of devices where > we do not care what number they get, harmful (why do I need to probe > i2c touchscreen and touchpad sequentially if I do not care which one > comes first but my boot will take 0.5 seconds longer if I serialize), > or impossible (if device is hit-pluggable). For many years userspace > has been moving away from static device assignments and we should not > be going back. Lets not make userspace's life harder than it should be. You can't break existing configurations, and people still use root=3D/dev/mmcblkX. Recently kernel on Droid 4 switched from MMC on mmcblk0 and mmcblk1 to MMC on mmcblk0 and mmcblk2. Of course that broke my config. And I'm fairly sure I'm not alone. (And it may not be this bug, and I do have workaround now.) Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --8X7/QrJGcKSMr1RN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl/L8iIACgkQMOfwapXb+vJiEACgn18v+/EzhNIclf1Mh8seK6kI JIoAnikMuD1kNbKhB4/JxIujWDxJxAvD =Ro3a -----END PGP SIGNATURE----- --8X7/QrJGcKSMr1RN-- --===============2628849776943824646== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2628849776943824646==--