summaryrefslogtreecommitdiff
path: root/scripts/sbom/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorYunhong Jiang <yunhong.jiang@linux.intel.com>2026-03-04 15:41:17 -0800
committerDexuan Cui <decui@microsoft.com>2026-05-28 20:01:25 +0000
commita7ac1ea1f06314f6690ac772e9a31d6e2db977fa (patch)
treea598ef744b1872ba2411d4729a3fac69f5e1ad16 /scripts/sbom/git@git.tavy.me:linux.git
parent7e4c083ece42ed6c90e4071772847db595081e0e (diff)
x86/realmode: Make the location of the trampoline configurable
x86 CPUs boot in real mode. This mode uses a 1MB address space. The trampoline must reside below this 1MB memory boundary. There are platforms in which the firmware boots the secondary CPUs, switches them to long mode and transfers control to the kernel. An example of such a mechanism is the ACPI Multiprocessor Wakeup Structure. In this scenario there is no restriction on locating the trampoline under 1MB memory. Moreover, certain platforms (for example, Hyper-V VTL guests) may not have memory available for allocation below 1MB. Add a new member to struct x86_init_resources to specify the upper bound for the location of the trampoline memory. Preserve the default upper bound of 1MB to conserve the current behavior. Reviewed-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Originally-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Dexuan Cui <dexuan@kernel.org>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions