coreboot-kgpe-d16/src/mainboard/emulation
Patrick Rudolph 82e111cc2a mb/emulation/qemu: Copy page tables to DRAM in assembly
To work around various bugs running KVM enabled, copy page tables to
DRAM in assembly before jumping to x86_64 mode.

Tested on QEMU using KVM, no more stange bugs happen:
Tested on host
 - CPU Intel(R) Core(TM) i7-7700HQ
 - Linux 5.9
 - qemu 4.2.1
 Used to crash on emulating MMX instructions and failed to translate
 some addresses using the virtual MMU when running in long mode.

Tested on host
 - CPU AMD EPYC 7401P 24-Core Processor
 - Linux 5.4
 - qemu 4.2.1
 Used to crash on jumping to long mode.

Change-Id: Ic0bdd2bef7197edd2e7488a8efdeba7eb4ab0dd4
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49228
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2021-01-11 07:34:19 +00:00
..
qemu-aarch64 cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
qemu-armv7 drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
qemu-i440fx mb/emulation/qemu: Copy page tables to DRAM in assembly 2021-01-11 07:34:19 +00:00
qemu-power8 cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
qemu-q35 mb/emulation/qemu: Copy page tables to DRAM in assembly 2021-01-11 07:34:19 +00:00
qemu-riscv cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
spike-riscv cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
Kconfig
Kconfig.name