Re: [edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix incorrect code to clear VTd error

2018-06-05 Thread Yao, Jiewen
Thanks to fix it. Reviewed by: jiewen@intel.com thank you! Yao, Jiewen > 在 2018年6月5日,上午1:07,Zeng, Star 写道: > > According to VTd spec, Software writes the value read from this > field (F) to Clear it. But current code is using 0 to clear the > field, that is incorrect. > > And R_FSTS_REG

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix incorrect code to clear VTd error

2018-06-05 Thread Star Zeng
According to VTd spec, Software writes the value read from this field (F) to Clear it. But current code is using 0 to clear the field, that is incorrect. And R_FSTS_REG register value clearing should be not in the for loop. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 S