linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>, Sekhar Nori <nsekhar@ti.com>,
	Kevin Hilman <khilman@kernel.org>,
	David Lechner <david@lechnology.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Greg KH <gregkh@linuxfoundation.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Peter Rosin <peda@axentia.se>, Jiri Slaby <jslaby@suse.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Johan Hovold <johan@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frow>
Subject: Re: [RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols
Date: Tue, 23 Oct 2018 13:32:16 +0200	[thread overview]
Message-ID: <CAMuHMdWPPr56j3z4-eamtavt7cZ2jkKyE3W5_XiK1HNim8qXBg@mail.gmail.com> (raw)
In-Reply-To: <8636swude1.wl-marc.zyngier@arm.com>

Hi Marc,

On Tue, Oct 23, 2018 at 1:11 PM Marc Zyngier <marc.zyngier@arm.com> wrote:
> On Mon, 27 Aug 2018 10:06:51 +0100,
> Bartosz Golaszewski <brgl@bgdev.pl> 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

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>, Sekhar Nori <nsekhar@ti.com>,
	Kevin Hilman <khilman@kernel.org>,
	David Lechner <david@lechnology.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Greg KH <gregkh@linuxfoundation.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Peter Rosin <peda@axentia.se>, Jiri Slaby <jslaby@suse.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Johan Hovold <johan@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Philippe Ombredanne <pombredanne@nexb.com>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	Linux-Arch <linux-arch@vger.kernel.org>,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>
Subject: Re: [RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols
Date: Tue, 23 Oct 2018 13:32:16 +0200	[thread overview]
Message-ID: <CAMuHMdWPPr56j3z4-eamtavt7cZ2jkKyE3W5_XiK1HNim8qXBg@mail.gmail.com> (raw)
Message-ID: <20181023113216.RpffEkq99g2j_yhoVWxnflpRRKG-RRZqHlC_a12avnE@z> (raw)
In-Reply-To: <8636swude1.wl-marc.zyngier@arm.com>

Hi Marc,

On Tue, Oct 23, 2018 at 1:11 PM Marc Zyngier <marc.zyngier@arm.com> wrote:
> On Mon, 27 Aug 2018 10:06:51 +0100,
> Bartosz Golaszewski <brgl@bgdev.pl> 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

  parent reply	other threads:[~2018-10-23 11:32 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27  9:06 [RESEND PATCH v3 0/3] sh: make early_platform code SuperH-specific Bartosz Golaszewski
2018-08-27  9:06 ` Bartosz Golaszewski
2018-08-27  9:06 ` [RESEND PATCH v3 1/3] clocksource: timer-ti-dm: remove the early platform driver registration Bartosz Golaszewski
2018-08-27  9:06   ` Bartosz Golaszewski
2018-08-27  9:06 ` [RESEND PATCH v3 2/3] platform: move the early platform device support to arch/sh Bartosz Golaszewski
2018-08-27  9:06   ` Bartosz Golaszewski
2018-08-27  9:06 ` [RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols Bartosz Golaszewski
2018-08-27  9:06   ` Bartosz Golaszewski
2018-10-23 11:10   ` Marc Zyngier
2018-10-23 11:10     ` Marc Zyngier
2018-10-23 11:32     ` Geert Uytterhoeven [this message]
2018-10-23 11:32       ` Geert Uytterhoeven
2018-10-23 12:18       ` Marc Zyngier
2018-09-20 13:00 ` [RESEND PATCH v3 0/3] sh: make early_platform code SuperH-specific Bartosz Golaszewski
2018-09-20 13:00   ` Bartosz Golaszewski
2018-09-20 16:09   ` Daniel Lezcano
2018-09-20 16:09     ` Daniel Lezcano
2018-09-20 16:19     ` Bartosz Golaszewski
2018-09-20 16:19       ` Bartosz Golaszewski
2018-09-20 16:48       ` Daniel Lezcano
2018-09-20 16:48         ` Daniel Lezcano
2018-10-09  7:58         ` Bartosz Golaszewski
2018-10-09  7:58           ` Bartosz Golaszewski
  -- strict thread matches above, loose matches on Subject: below --
2018-06-21  8:23 Bartosz Golaszewski
2018-06-21  8:23 ` [RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols Bartosz Golaszewski
2018-06-21  8:23   ` Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMuHMdWPPr56j3z4-eamtavt7cZ2jkKyE3W5_XiK1HNim8qXBg@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=arnd@arndb.de \
    --cc=brgl@bgdev.pl \
    --cc=dalias@libc.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=david@lechnology.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=jslaby@suse.com \
    --cc=khilman@kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=nsekhar@ti.com \
    --cc=peda@axentia.se \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).