diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2017-11-27 09:11:43 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-01-14 21:11:53 +0100 |
commit | 32c9c801a853f181448ed4e8730168c556f9e05a (patch) | |
tree | 29e62e4f909bb9539ef30a32bc4faadb0bb0d321 /arch/x86/include/asm/olpc_ofw.h | |
parent | c92a9a461dff6140c539c61e457aa97df29517d6 (diff) |
x86/apic: Install an empty physflat_init_apic_ldr
As the comment already stated, there is no need for setting up LDR (and
DFR) in physflat mode as it remains unused (see SDM, 10.6.2.1).
flat_init_apic_ldr only served as a placeholder for a nop operation so
far, causing no harm.
That will change when running over the Jailhouse hypervisor. Here we
must not touch LDR in a way that destroys the mapping originally set up
by the Linux root cell. Jailhouse enforces this setting in order to
efficiently validate any IPI requests sent by a cell.
Avoid a needless clash caused by flat_init_apic_ldr by installing a true
nop handler.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: jailhouse-dev@googlegroups.com
Link: https://lkml.kernel.org/r/f9867d294cdae4d45ed89d3a2e6adb524f4f6794.1511770314.git.jan.kiszka@siemens.com
Diffstat (limited to 'arch/x86/include/asm/olpc_ofw.h')
0 files changed, 0 insertions, 0 deletions