From: "H. Peter Anvin" <h.peter.anvin@intel.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
Matthieu Castet <castet.matthieu@free.fr>,
Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [RFC] x86: Unify allocation of low memory trampolines
Date: Thu, 17 Feb 2011 20:56:04 -0800 [thread overview]
Message-ID: <4D5DFBE4.7090104@intel.com> (raw)
This patchset unifies all the allocation of low memory (a.k.a. realmode
memory, low megabyte) code (currently there are three users of low
memory: BIOS reboot, suspend, and of course the SMP trampoline -- there
is at least one additional one coming down the pipe in the near term)
and reserves and installs them as a single memory object very early
during initialization. This means the original can be put in initrodata
and discarded after the allocation is done.
I consider this patchset to be a first step: the next step is to
actually link all the realmode code together into a single common
address space before encapsulation. This will enable X/W separation as
well as provide an even more natural way to access symbols in the real
mode object.
-hpa
next reply other threads:[~2011-02-18 4:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 4:56 H. Peter Anvin [this message]
2011-02-18 5:19 ` [tip:x86/trampoline] x86, trampoline: Common infrastructure for low memory trampolines tip-bot for H. Peter Anvin
2011-02-18 12:16 ` Brian Gerst
2011-02-19 1:25 ` [tip:x86/trampoline] x86-64, trampoline: Remove unused variable tip-bot for H. Peter Anvin
2011-08-23 19:05 ` [tip:x86/trampoline] x86, trampoline: Common infrastructure for low memory trampolines Tony Luck
2011-08-23 19:12 ` H. Peter Anvin
2011-08-23 20:26 ` [PATCH] x86: remove some noise from boot log when starting cpus Luck, Tony
2012-02-20 16:08 ` Borislav Petkov
2012-02-22 10:33 ` Ingo Molnar
2012-02-22 10:57 ` Borislav Petkov
2012-02-22 11:29 ` Ingo Molnar
2012-02-22 18:06 ` [PATCH/resubmit] x86: Remove " Luck, Tony
2012-02-22 18:25 ` [tip:x86/cpu] " tip-bot for Luck, Tony
2012-02-22 20:34 ` [tip:x86/debug] x86/debug: Remove ancient debugging " tip-bot for Luck, Tony
2011-02-18 5:19 ` [tip:x86/trampoline] x86, trampoline: Use the unified trampoline setup for ACPI wakeup tip-bot for H. Peter Anvin
2011-03-09 22:41 ` matthieu castet
2011-03-10 0:07 ` Rafael J. Wysocki
2011-02-18 5:19 ` [tip:x86/trampoline] x86: Make the GDT_ENTRY() macro in <asm/segment.h> safe for assembly tip-bot for H. Peter Anvin
2011-02-18 5:20 ` [tip:x86/trampoline] x86, reboot: Move the real-mode reboot code to an assembly file tip-bot for H. Peter Anvin
2011-02-18 12:31 ` Brian Gerst
2011-02-18 17:42 ` H. Peter Anvin
2011-02-19 1:25 ` [tip:x86/trampoline] x86, reboot: Fix the use of passed arguments in 32-bit BIOS reboot tip-bot for H. Peter Anvin
2011-04-29 15:16 ` [tip:x86/trampoline] x86, reboot: Move the real-mode reboot code to an assembly file Alexey Zaytsev
2011-04-29 16:09 ` H. Peter Anvin
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=4D5DFBE4.7090104@intel.com \
--to=h.peter.anvin@intel.com \
--cc=castet.matthieu@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=sfr@canb.auug.org.au \
/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).