[RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

Wei Yang weiyang at linux.vnet.ibm.com
Wed Jun 25 11:12:11 EST 2014


On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wrote:
>On 06/10/2014 11:56 AM, Wei Yang wrote:
>> Current iommu_table of a PE is a static field. This will have a problem when
>> iommu_free_table is called.
>
>What kind of problem? This table is per PE and PE is not going anywhere.
>

Yes, for Bus PE, they will always sit in the system. When VF PE introduced,
they could be released on the fly. When they are released, so do the iommu
table for the PE.


-- 
Richard Yang
Help you, Help me



More information about the Linuxppc-dev mailing list