From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/3] platform: move the early platform device support to arch/sh
Date: Mon, 7 May 2018 17:13:25 -0400 [thread overview]
Message-ID: <CAK8P3a2Fn-QK6SzFTJCmrToSG2vyO2fZt47Bomqjq-sAe8s4-Q@mail.gmail.com> (raw)
In-Reply-To: <20180504132731.14574-3-brgl@bgdev.pl>
On Fri, May 4, 2018 at 9:27 AM, Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> SuperH is the only user of the current implementation of early platform
> device support. We want to introduce a more robust approach to early
> probing. As the first step - move all the current early platform code
> to arch/sh.
>
> In order not to export internal drivers/base functions to arch code for
> this temporary solution - copy the two needed routines for driver
> matching from drivers/base/platform.c to arch/sh/drivers/platform_early.c.
>
> Also: call early_platform_cleanup() from subsys_initcall() so that it's
> called after all early devices are probed.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
I had not gotten around to look at this in enough detail so far, but
looking now, it seems all good.
Acked-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2018-05-07 21:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 13:27 [PATCH v3 0/3] sh: make early_platform code SuperH-specific Bartosz Golaszewski
2018-05-04 13:27 ` [PATCH v3 1/3] clocksource: timer-ti-dm: remove the early platform driver registration Bartosz Golaszewski
2018-05-05 0:02 ` Arnd Bergmann
2018-05-08 1:40 ` Daniel Lezcano
2018-05-04 13:27 ` [PATCH v3 2/3] platform: move the early platform device support to arch/sh Bartosz Golaszewski
2018-05-07 21:13 ` Arnd Bergmann [this message]
2018-05-08 6:45 ` Geert Uytterhoeven
2018-05-14 11:38 ` Greg Kroah-Hartman
2018-05-04 13:27 ` [PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols Bartosz Golaszewski
2018-05-05 0:04 ` Arnd Bergmann
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=CAK8P3a2Fn-QK6SzFTJCmrToSG2vyO2fZt47Bomqjq-sAe8s4-Q@mail.gmail.com \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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).