All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] target/i386: Export TAA_NO bit to guests
@ 2019-11-19  7:23 Pawan Gupta
  2019-11-19  9:02 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Pawan Gupta @ 2019-11-19  7:23 UTC (permalink / raw)
  To: pbonzini; +Cc: qemu-devel, ehabkost, rth

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 <pawan.kumar.gupta@linux.intel.com>
---
 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,
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] target/i386: Export TAA_NO bit to guests
  2019-11-19  7:23 [PATCH] target/i386: Export TAA_NO bit to guests Pawan Gupta
@ 2019-11-19  9:02 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2019-11-19  9:02 UTC (permalink / raw)
  To: Pawan Gupta; +Cc: qemu-devel, ehabkost, rth

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 <pawan.kumar.gupta@linux.intel.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-19  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19  7:23 [PATCH] target/i386: Export TAA_NO bit to guests Pawan Gupta
2019-11-19  9:02 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.