Re: [PATCH] iommu/vt-d: fix the wrong printing in RHSA parsing

From: Lu Baolu
Date: Thu Feb 20 2020 - 19:00:51 EST


Hi,

On 2020/1/15 18:28, Zhenzhong Duan wrote:
When base address in RHSA structure doesn't match base address in
each DRHD structure, the base address in last DRHD is printed out.

This doesn't make sense when there are multiple DRHD units, fix it
by printing the buggy RHSA's base address.

Signed-off-by: Zhenzhong Duan<zhenzhong.duan@xxxxxxxxx>
Cc: David Woodhouse<dwmw2@xxxxxxxxxxxxx>
Cc: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>
Cc: Joerg Roedel<joro@xxxxxxxxxx>
Cc:iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx

Queued for v5.7. Thanks!

Best regards,
baolu