[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/i386: Export TAA_NO bit to guests
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] target/i386: Export TAA_NO bit to guests |
Date: |
Tue, 19 Nov 2019 10:02:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 19/11/19 08:23, Pawan Gupta wrote:
> TSX Async Abort (TAA) is a side channel attack on internal buffers in
> some Intel processors similar to Microachitectural Data Sampling (MDS).
>
> Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the
> IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to
> TAA. Make this bit available to guests.
>
> Signed-off-by: Pawan Gupta <address@hidden>
> ---
> target/i386/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/i386/cpu.c b/target/i386/cpu.c
> index a624163ac2cd..af84b04951cf 100644
> --- a/target/i386/cpu.c
> +++ b/target/i386/cpu.c
> @@ -1205,7 +1205,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS]
> = {
> .feat_names = {
> "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
> "ssb-no", "mds-no", NULL, NULL,
> - NULL, NULL, NULL, NULL,
> + "taa-no", NULL, NULL, NULL,
> NULL, NULL, NULL, NULL,
> NULL, NULL, NULL, NULL,
> NULL, NULL, NULL, NULL,
>
Queued, thanks.
Paolo