On 18/10/2017 14:19, Brijesh Singh wrote: >> Is it needed to test mem_enc_enabled? Could it instead test for the >> availability of decode assists? > > We can use X86_FEATURE_DECODEASSIST but since mmu.c is common file hence > I was not sure if its safe for the VMX. Is it okay to use decode assist > feature bit in mm.c ? See the follow up email. :) Paolo