aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/realmode/init.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2023-05-12 23:07:51 +0200
committerPeter Zijlstra <[email protected]>2023-05-15 13:45:03 +0200
commitbea629d57d006733d155bdb65ba4867788da69b6 (patch)
tree0cd89568831448d32fb5088ba1c4fbcca71d4d52 /arch/x86/realmode/init.c
parent18415f33e2ac4ab382cbca8b5ff82a9036b5bd49 (diff)
x86/apic: Save the APIC virtual base address
For parallel CPU brinugp it's required to read the APIC ID in the low level startup code. The virtual APIC base address is a constant because its a fix-mapped address. Exposing that constant which is composed via macros to assembly code is non-trivial due to header inclusion hell. Aside of that it's constant only because of the vsyscall ABI requirement. Once vsyscall is out of the picture the fixmap can be placed at runtime. Avoid header hell, stay flexible and store the address in a variable which can be exposed to the low level startup code. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Michael Kelley <[email protected]> Tested-by: Oleksandr Natalenko <[email protected]> Tested-by: Helge Deller <[email protected]> # parisc Tested-by: Guilherme G. Piccoli <[email protected]> # Steam Deck Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/realmode/init.c')
0 files changed, 0 insertions, 0 deletions