HomeFreeBSD

MFC r315361 and r315364: Hide MONITORX/MWAITX from guests.

Description

MFC r315361 and r315364: Hide MONITORX/MWAITX from guests.

r315361

Add the AMD MONITORX/MWAITX feature definition introduced in
Bulldozer/Ryzen CPUs.

r315364

Hide the AMD MONITORX/MWAITX capability.
Otherwise, recent Linux guests will use these instructions, resulting
in #UD exceptions since bhyve doesn't implement MONITOR/MWAIT exits.

This fixes boot-time hangs in recent Linux guests on Ryzen CPUs
(and probably Bulldozer aka AMD FX as well).

Details

Provenance
grehanAuthored on
Parents
rS315926: [iwm] Add the BSS's basic rates to iwm's LQ command, not all the rates.
Branches
Unknown
Tags
Unknown