diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2019-08-12 15:42:02 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-08-21 11:32:11 +1000 |
commit | a14f04ebbab80fb7342c277705e6076c309a5e50 (patch) | |
tree | 37085217588485a484448b4f6e3a06cda1998a32 /hw/ppc/spapr_iommu.c | |
parent | f92be77fea88b6347f22ca96ba54bef0c382e3b7 (diff) | |
download | qemu-a14f04ebbab80fb7342c277705e6076c309a5e50.zip qemu-a14f04ebbab80fb7342c277705e6076c309a5e50.tar.gz qemu-a14f04ebbab80fb7342c277705e6076c309a5e50.tar.bz2 |
spapr_iommu: Fix xlate trace to print translated address
Currently we basically print IO address twice, fix this.
Fixes: 7e472264e9e2 ("PPC: spapr: iommu: rework traces")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20190812054202.125492-1-aik@ozlabs.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/spapr_iommu.c')
-rw-r--r-- | hw/ppc/spapr_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr_iommu.c b/hw/ppc/spapr_iommu.c index ce85f8a..e87b3d5 100644 --- a/hw/ppc/spapr_iommu.c +++ b/hw/ppc/spapr_iommu.c @@ -136,7 +136,7 @@ static IOMMUTLBEntry spapr_tce_translate_iommu(IOMMUMemoryRegion *iommu, ret.addr_mask = ~page_mask; ret.perm = spapr_tce_iommu_access_flags(tce); } - trace_spapr_iommu_xlate(tcet->liobn, addr, ret.iova, ret.perm, + trace_spapr_iommu_xlate(tcet->liobn, addr, ret.translated_addr, ret.perm, ret.addr_mask); return ret; |