From: Pavel Machek <pavel@ucw.cz>
To: Daniele Alessandrelli <daniele.alessandrelli@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, Rob Herring <robh@kernel.org>,
Andy Shevchenko <andriy.shevchenko@intel.com>,
Paul J Murphy <paul.j.murphy@intel.com>,
Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 1/1] soc: keembay: Add Keem Bay IMR driver
Date: Sun, 24 May 2020 23:28:51 +0200 [thread overview]
Message-ID: <20200524212851.GG1192@bug> (raw)
In-Reply-To: <f60aece195cd0700728fc38b0398949a82b72fc3.camel@linux.intel.com>
Hi!
> > Like I said above, you just broke multi-system kernels by always
> > trying
> > to do this. Trigger off of a hardware device that only your platform
> > has in order to properly load and run. As-is, you don't want to do
> > this.
>
> My bad, I didn't consider the issue of multi-platform ARM kernels.
>
> The problem is that I need this code to be run early at boot, so I
> don't think I can make this a module.
How early is early enough?
What bootloader are you using?
I believe you should simply fix your bootloader not to pass locked memory to the kernel.
Alternatively, take that memory off the "memory available" maps, and only re-add it once
it is usable.
Anything else is dangerous.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2020-05-24 21:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 16:36 [PATCH 0/1] Add IMR driver for Keem Bay Daniele Alessandrelli
2020-04-21 16:36 ` [PATCH 1/1] soc: keembay: Add Keem Bay IMR driver Daniele Alessandrelli
2020-05-01 8:10 ` Greg Kroah-Hartman
2020-05-01 11:50 ` Daniele Alessandrelli
2020-05-01 11:59 ` Greg Kroah-Hartman
2020-05-24 21:28 ` Pavel Machek [this message]
2020-05-25 8:18 ` Arnd Bergmann
2020-05-27 13:31 ` Alessandrelli, Daniele
2020-05-27 14:33 ` Arnd Bergmann
2020-05-27 17:43 ` Daniele Alessandrelli
2020-05-27 18:59 ` Arnd Bergmann
2020-05-28 12:27 ` Daniele Alessandrelli
2020-05-28 11:22 ` Pavel Machek
2020-05-28 13:00 ` Daniele Alessandrelli
2020-05-07 17:44 ` Pavel Machek
2020-04-30 19:49 ` [PATCH 0/1] Add IMR driver for Keem Bay Alessandrelli, Daniele
2020-05-01 7:09 ` gregkh
2020-05-01 7:53 ` Daniele Alessandrelli
2020-05-01 8:04 ` gregkh
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=20200524212851.GG1192@bug \
--to=pavel@ucw.cz \
--cc=andriy.shevchenko@intel.com \
--cc=arnd@arndb.de \
--cc=daniele.alessandrelli@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.j.murphy@intel.com \
--cc=robh@kernel.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