Re: [PATCH RFC sparc] Break up iommu from monolithic lock for the map to multiple pools/locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (12/19/14 12:26), David Miller wrote:
> 
> If this is such a better and more scalable algorithm for IOMMU
> arena DMA region allocation, then instead of one platform after
> another putting a private implementation under arch/, the generic
> IOMMU code should be adjusted instead.
> 
> Right?

Then again, I just realized that you are talking about factorizing
common code across multiple architectures, instead of multiple drivers
within sparc.

yes, that would be even better. 

I could look into that, but would need help from other arch experts for
help with extraction of the platform-dependant parts, implementation and 
testing. Looks like pci-calgary_64.c also has an obvious copy of the
powerpc algorithm, and there are other *iommu.c implementations as well,
where the duplication may be there, but is not obvious (from cscope etc.).

--Sowmini



--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux