mbox series

[0/2] target/i386: add support for cpu FLUSH_L1D feature and FB_CLEAR capability

Message ID 20230201135759.555607-1-eesposit@redhat.com (mailing list archive)
Headers show
Series target/i386: add support for cpu FLUSH_L1D feature and FB_CLEAR capability | expand

Message

Emanuele Giuseppe Esposito Feb. 1, 2023, 1:57 p.m. UTC
QEMU should be able to show the guest the above feature/capability,
otherwise we risk to have false vulnerability reports in the guest like in
/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
because the mitigation is present only if the guest supports
(FLUSH_L1D and MD_CLEAR) or FB_CLEAR.

Emanuele

Emanuele Giuseppe Esposito (2):
  target/i386: add support for FLUSH_L1D feature
  target/i386: add support for FB_CLEAR feature

 target/i386/cpu.h | 3 +++
 target/i386/cpu.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

Comments

Emanuele Giuseppe Esposito May 8, 2023, 3:04 p.m. UTC | #1
Ping?

Am 01/02/2023 um 14:57 schrieb Emanuele Giuseppe Esposito:
> QEMU should be able to show the guest the above feature/capability,
> otherwise we risk to have false vulnerability reports in the guest like in
> /sys/devices/system/cpu/vulnerabilities/mmio_stale_data
> because the mitigation is present only if the guest supports
> (FLUSH_L1D and MD_CLEAR) or FB_CLEAR.
> 
> Emanuele
> 
> Emanuele Giuseppe Esposito (2):
>   target/i386: add support for FLUSH_L1D feature
>   target/i386: add support for FB_CLEAR feature
> 
>  target/i386/cpu.h | 3 +++
>  target/i386/cpu.c | 4 ++--
>  2 files changed, 5 insertions(+), 2 deletions(-)
>
Paolo Bonzini May 9, 2023, 9:05 a.m. UTC | #2
Queued, thanks.

Paolo