From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k <linux-m68k@lists.linux-m68k.org>,
kexec@lists.infradead.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Preliminary kexec support for Linux/m68k
Date: Fri, 20 Sep 2013 12:18:50 -0700 [thread overview]
Message-ID: <20130920191850.GA23335@verge.net.au> (raw)
In-Reply-To: <CAMuHMdVx3KmL9cK-_g3qcrkHxxCAno+3z4O=kVTOGCYhD_WmWw@mail.gmail.com>
On Fri, Sep 20, 2013 at 09:15:02AM +0200, Geert Uytterhoeven wrote:
> Hi Simon,
>
> Thanks for your comments!
>
> On Thu, Sep 19, 2013 at 11:07 PM, Simon Horman <horms@verge.net.au> wrote:
> > Pasting two series in one was a bit confusing for me at first.
> > Perhaps you could consider posting two separate series in future.
>
> Sorry, I wanted to have all information in one series for the first posting, to
> avoid people having to look around too much if they want to give it a try.
>
> I'll post seperate series in the future.
Thanks.
> >> Patches:
> >> - [PATCH 1/2] kexec: Let slurp_file_len() return the number of bytes
> >> - [PATCH 2/2] kexec: Add preliminary m68k support
> >>
> >> Notes:
> >> - Based on git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
> >
> > A good choice.
>
> Is it normal I don't see much activity there?
Yes, that is normal.
>
> >> - The ramdisk is loaded at the top of memory minus 4096, unlike with
> >> m68boot (ataboot/amiboot), as locate_hole() seems to have a bug that it
> >> cannot reserve a block at the real top of memory.
> >
> > Is this a bug that could be fixed?
>
> Possibly. I suspect an off-by-one bug somewhere, but I haven't looked deeply
> into it.
My feeling is that if possible it would be better to fix the bug than add a
work-around.
> >> - Do we want to check the struct bootversion at the start of the kernel,
> >> like m68kboot does?
> >> Kexec may be used to load ELF files that are not Linux kernel images,
> >> and thus don't have a Linux-specific struct bootversion.
> >
> > If the check can sanely be skipped for non Linux kernel images then
> > this sounds like a reasonable idea to me. Otherwise I would lean towards
> > omitting it. Either way, I don't feel strongly about this.
> >
> >> - Do we want to check the size of the kernel image + bootinfo, and warn the
> >> user if it's larger than 4 MiB?
> >> This is a limitation of the current Linux/m68k kernel only.
> >
> > I think that sounds like a good idea but I don't feel strongly about it.
>
> Currently I'm leaning towards just printing a warning for both
> (missing/incompatible
> bootversion and image-too-large).
That sounds fine to me.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2013-09-20 19:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-17 10:01 Preliminary kexec support for Linux/m68k Geert Uytterhoeven
2013-09-17 10:01 ` [PATCH 1/3] m68k: Add preliminary kexec support Geert Uytterhoeven
2013-09-17 10:01 ` [PATCH 2/3] m68k: Add support to export bootinfo in procfs Geert Uytterhoeven
2013-09-17 10:01 ` [PATCH 3/3] [RFC] m68k: Add System RAM to /proc/iomem Geert Uytterhoeven
2013-09-17 10:01 ` [PATCH 1/2] kexec: Let slurp_file_len() return the number of bytes read Geert Uytterhoeven
2013-09-19 14:40 ` Dave Young
2013-09-17 10:01 ` [PATCH 2/2] kexec: Add preliminary m68k support Geert Uytterhoeven
2013-09-19 9:20 ` Preliminary kexec support for Linux/m68k Geert Uytterhoeven
2013-09-19 21:00 ` Simon Horman
2013-09-19 21:07 ` Simon Horman
2013-09-20 7:15 ` Geert Uytterhoeven
2013-09-20 19:18 ` Simon Horman [this message]
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=20130920191850.GA23335@verge.net.au \
--to=horms@verge.net.au \
--cc=geert@linux-m68k.org \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.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