From: Ingo Molnar <mingo@kernel.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Li Zhijian <zhijianx.li@intel.com>,
Juergen Gross <jgross@suse.com>,
Li Zhijian <lizhijian@cn.fujitsu.com>,
Peter Maydell <peter.maydell@linaro.org>,
x86@kernel.org, bp@alien8.de, mingo@redhat.com,
tglx@linutronix.de, QEMU Developers <qemu-devel@nongnu.org>,
Philip Li <philip.li@intel.com>,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Kees Cook <keescook@chromium.org>
Subject: Re: [Qemu-devel] [RFC/PoC PATCH 1/3] i386: set initrd_max to 4G - 1 to allow up to 4G initrd
Date: Mon, 12 Nov 2018 07:19:40 +0100 [thread overview]
Message-ID: <20181112061940.GA61749@gmail.com> (raw)
In-Reply-To: <fcf1d6b5-e64f-3aea-f794-99237e1988cf@zytor.com>
* H. Peter Anvin <hpa@zytor.com> wrote:
> > Such an extended header could use a more modern (self-extending) ABI as
> > well.
>
> Yes, although I don't really think it is as much of an issue as it seems at
> this point.
>
> The limit comes from having used a one-byte jump instruction at the beginning;
> however, these days that limit is functionally walled.
>
> It is of course possible to address this if it should become necessary,
> however, the current protocol has lasted for 23 years so far and we haven't
> run out yet, even with occasional missteps. As such, I don't think we are in a
> huge hurry to address this particular aspect.
Agreed, fair enough!
> In part as a result of this exchange I have spent some time thinking
> about the boot protocol and its dependencies, and there is, in fact, a
> much more serious problem that needs to be addressed: it is not
> currently possible in a forward-compatible way to map all data areas
> that may be occupied by bootloader-provided data. The kernel proper has
> an advantage here, in that the kernel will by definition always be the
> "owner of the protocol" (anything the kernel doesn't know how to map
> won't be used by the kernel anyway), but it really isn't a good
> situation. So I'm currently trying to think up a way to make that
> possible.
I might be a bit dense early in the morning, but could you elaborate?
What do you mean by mapping all data areas?
Thanks,
Ingo
next prev parent reply other threads:[~2018-11-12 6:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 10:59 [Qemu-devel] [RFC/PoC PATCH 0/3] support initrd size up to 4G Li Zhijian
2018-11-08 10:59 ` [Qemu-devel] [RFC/PoC PATCH 1/3] i386: set initrd_max to 4G - 1 to allow up to 4G initrd Li Zhijian
2018-11-08 10:59 ` [Qemu-devel] [RFC/PoC PATCH 2/3] change size type from int to int64_t on load_image() Li Zhijian
2018-11-08 10:59 ` [Qemu-devel] [PATCH 3/3] change int len to uin32_t len Li Zhijian
2018-11-08 11:14 ` Peter Maydell
2018-11-08 11:04 ` [Qemu-devel] [RFC/PoC PATCH 2/3] change size type from int to int64_t on load_image() Peter Maydell
2018-11-09 2:48 ` Li Zhijian
2018-11-08 11:06 ` [Qemu-devel] [RFC/PoC PATCH 1/3] i386: set initrd_max to 4G - 1 to allow up to 4G initrd Peter Maydell
2018-11-09 1:47 ` Li Zhijian
2018-11-09 7:20 ` Ingo Molnar
2018-11-09 9:57 ` Li Zhijian
2018-11-09 10:04 ` Juergen Gross
2018-11-09 13:11 ` Li Zhijian
2018-11-09 13:40 ` Li Zhijian
2018-11-09 21:10 ` H. Peter Anvin
2018-11-12 4:56 ` Ingo Molnar
2018-11-12 6:00 ` H. Peter Anvin
2018-11-12 6:19 ` Ingo Molnar [this message]
2018-11-12 6:36 ` H. Peter Anvin
2018-11-12 16:47 ` H. Peter Anvin
2018-11-08 20:12 ` [Qemu-devel] [RFC/PoC PATCH 0/3] support initrd size up to 4G Wainer dos Santos Moschetta
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=20181112061940.GA61749@gmail.com \
--to=mingo@kernel.org \
--cc=a.p.zijlstra@chello.nl \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhijian@cn.fujitsu.com \
--cc=mingo@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philip.li@intel.com \
--cc=qemu-devel@nongnu.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
--cc=zhijianx.li@intel.com \
/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).