[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 2/2] intel_iommu: Add support for translation for
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-ppc] [PATCH 2/2] intel_iommu: Add support for translation for devices behind bridges. |
Date: |
Sat, 25 Oct 2014 14:28:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2014-10-21 00:34, Knut Omang wrote:
> @@ -1801,8 +1792,7 @@ static IOMMUTLBEntry vtd_iommu_translate(MemoryRegion
> *iommu, hwaddr addr,
> return ret;
> }
>
> - vtd_do_iommu_translate(vtd_as, vtd_as->bus_num, vtd_as->devfn, addr,
> - is_write, &ret);
> + vtd_do_iommu_translate(vtd_as, addr, is_write, &ret);
> VTD_DPRINTF(MMU,
> "bus %"PRIu8 " slot %"PRIu8 " func %"PRIu8 " devfn %"PRIu8
> " gpa 0x%"PRIx64 " hpa 0x%"PRIx64, vtd_as->bus_num,
You need to update the VTD_DPRINTF as well when removing bus_num from
VTDAddressSpace.
Jan
signature.asc
Description: OpenPGP digital signature
[Qemu-ppc] [PATCH 1/2] iommu: Replace bus+devfn arguments with PCIDevice* in PCIIOMMUFunc, Knut Omang, 2014/10/20
Re: [Qemu-ppc] [PATCH 0/2] intel_iommu: Add support for translation for devices behind bridges, Alexander Graf, 2014/10/20