From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-f68.google.com ([209.85.217.68]:42807 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728186AbeJWTze (ORCPT ); Tue, 23 Oct 2018 15:55:34 -0400 MIME-Version: 1.0 References: <20180827090651.25062-1-brgl@bgdev.pl> <20180827090651.25062-4-brgl@bgdev.pl> <8636swude1.wl-marc.zyngier@arm.com> In-Reply-To: <8636swude1.wl-marc.zyngier@arm.com> From: Geert Uytterhoeven Date: Tue, 23 Oct 2018 13:32:16 +0200 Message-ID: Subject: Re: [RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols Content-Type: text/plain; charset="UTF-8" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Marc Zyngier Cc: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg KH , Mark Rutland , Yoshinori Sato , Rich Felker , Andy Shevchenko , "Rafael J. Wysocki" , Peter Rosin , Jiri Slaby , Thomas Gleixner , Daniel Lezcano , Magnus Damm , Johan Hovold , Rob Herring , Frank Rowand , Philippe Ombredanne , Linux ARM , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Arch , Bartosz Golaszewski Message-ID: <20181023113216.RpffEkq99g2j_yhoVWxnflpRRKG-RRZqHlC_a12avnE@z> Hi Marc, On Tue, Oct 23, 2018 at 1:11 PM Marc Zyngier wrote: > On Mon, 27 Aug 2018 10:06:51 +0100, > Bartosz Golaszewski wrote: > As for the whole "early device" debate, my take is that we'd be much > better off making the device model available early, rather than trying > to architect something that is simply papering over the issue. The device model itself can be made available earlier, but the big blocker is mainly the use of everything related to the scheduler (threads, msleep()), which depends on the "early" timer. I think it can be made to work if msleep() and all thread-related functions would return -EPROBE_DEFER, but that should be handled in every single driver, which may be already the case for thread-related functions, but not for e.g. msleep(), which currently returns void. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds