HomeFreeBSD

vmm: emulate INVD by ignoring it

Description

vmm: emulate INVD by ignoring it

On physical systems the ram isn't initialized on boot. So, coreboot uses
the cache as ram in this boot phase. When exiting cache as ram, coreboot
calls INVD for making the cache consistent.

In a virtual environment ram is always initialized and the cache is
always consistent. So, we can safely ignore this call.

Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D35620
Sponsored by: Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 4eadbef92493ea8d375207b2c2a0bd3a22603750)

Details

Provenance
corvinkAuthored on Jul 27 2022, 2:39 PM
Reviewer
jhb
Differential Revision
D35620: vmm: emulate INVD by ignoring it
Parents
rG308d3d6be6da: acpi: Tell SMM we will handle CPPC notifications
Branches
Unknown
Tags
Unknown