Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-07-10 Thread Jan Beulich
On 10.07.2019 10:54, Norbert Manthey wrote: > On 7/10/19 05:04, Jan Beulich wrote: >> On 08.07.2019 14:58, Norbert Manthey wrote: >>> On 5/24/19 13:10, Jan Beulich wrote: >>> On 24.05.19 at 11:54, wrote: > On 5/23/19 16:17, Jan Beulich wrote: > On 21.05.19 at 09:45, wrote: >>>

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-07-10 Thread Norbert Manthey
On 7/10/19 05:04, Jan Beulich wrote: > On 08.07.2019 14:58, Norbert Manthey wrote: >> On 5/24/19 13:10, Jan Beulich wrote: >> On 24.05.19 at 11:54, wrote: On 5/23/19 16:17, Jan Beulich wrote: On 21.05.19 at 09:45, wrote: >> --- a/xen/common/grant_table.c >> +++ b/xen/com

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-07-09 Thread Jan Beulich
On 08.07.2019 14:58, Norbert Manthey wrote: > On 5/24/19 13:10, Jan Beulich wrote: > On 24.05.19 at 11:54, wrote: >>> On 5/23/19 16:17, Jan Beulich wrote: >>> On 21.05.19 at 09:45, wrote: > --- a/xen/common/grant_table.c > +++ b/xen/common/grant_table.c > @@ -988,9 +988,10 @@

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-07-08 Thread Norbert Manthey
Sorry for the late reply. I try to pick up where we left the discussion the last time. On 5/24/19 13:10, Jan Beulich wrote: On 24.05.19 at 11:54, wrote: >> On 5/23/19 16:17, Jan Beulich wrote: >> On 21.05.19 at 09:45, wrote: Guests can issue grant table operations and provide guest

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-05-24 Thread Jan Beulich
>>> On 24.05.19 at 11:54, wrote: > On 5/23/19 16:17, Jan Beulich wrote: > On 21.05.19 at 09:45, wrote: >>> Guests can issue grant table operations and provide guest controlled >>> data to them. This data is used as index for memory loads after bound >>> checks have been done. To avoid specula

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-05-24 Thread Norbert Manthey
On 5/23/19 16:17, Jan Beulich wrote: On 21.05.19 at 09:45, wrote: >> Guests can issue grant table operations and provide guest controlled >> data to them. This data is used as index for memory loads after bound >> checks have been done. To avoid speculative out-of-bound accesses, we >> use th

Re: [Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-05-23 Thread Jan Beulich
>>> On 21.05.19 at 09:45, wrote: > Guests can issue grant table operations and provide guest controlled > data to them. This data is used as index for memory loads after bound > checks have been done. To avoid speculative out-of-bound accesses, we > use the array_index_nospec macro where applicabl

[Xen-devel] [PATCH L1TF MDS GT v1 2/3] common/grant_table: harden bound accesses

2019-05-21 Thread Norbert Manthey
Guests can issue grant table operations and provide guest controlled data to them. This data is used as index for memory loads after bound checks have been done. To avoid speculative out-of-bound accesses, we use the array_index_nospec macro where applicable, or the macro block_speculation. Note, t