Re: [PATCH 1/2] iommu: amd: Restore IRTE.RemapEn bit after programming IRTE

From: Joao Martins
Date: Wed Sep 02 2020 - 11:27:35 EST


On 9/2/20 5:51 AM, Suravee Suthikulpanit wrote:
> Currently, the RemapEn (valid) bit is accidentally cleared when
> programming IRTE w/ guestMode=0. It should be restored to
> the prior state.
>
Probably requires:

Fixes: b9fc6b56f478 ("iommu/amd: Implements irq_set_vcpu_affinity() hook to setup vapic
mode for pass-through devices")

?

> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>

FWIW,

Reviewed-by: Joao Martins <joao.m.martins@xxxxxxxxxx>