Re: [Xen-devel] [PATCH L1TF MDS GT v1 1/3] common/grant_table: harden helpers

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 for memory loads in helper functions > and macros. To avoid speculative out-of-bound accesses, we use the > array_index_nospec macro where applicable, or the

[Xen-devel] [PATCH L1TF MDS GT v1 1/3] common/grant_table: harden helpers

2019-05-21 Thread Norbert Manthey
Guests can issue grant table operations and provide guest controlled data to them. This data is used for memory loads in helper functions and macros. To avoid speculative out-of-bound accesses, we use the array_index_nospec macro where applicable, or the block_speculation macro. This is part of