Apparently CLFLUSH on mmio can cause VM exit, as reported in PR 232081.
I do not see that anything useful can be done except emulating page faults on invalid addresses.
Can you suggest a way to test this ?
Differential D17482
bhyve: emulate CLFLUSH and CLFLUSHOPT. kib on Oct 9 2018, 2:23 PM. Authored by Tags None Referenced Files
Details
Apparently CLFLUSH on mmio can cause VM exit, as reported in PR 232081. Can you suggest a way to test this ?
Diff Detail
Event TimelineComment Actions Though this may fix running 12.0 on 12.0 we well need EN's back to 11 and perhaps even 10 as the issue exists there as well. Comment Actions It is not about 'fixing 12 on 12'. If CLFLUSH may cause vm exit, then it needs to be emulated regardless of the FreeBSD use of CLFLUSH.
I do not understand this question. Comment Actions Simplify. There is no sense in reading the first byte in the cacheline, the supplied address is good enough as well. A cacheline is always fully contained in the page which access permissions we probe. |