RE: Re: CMA in AMD IOMMU driver

2019-06-30 Thread Sathyavathi M



Hi Christoph,
 
Im able to reserve CMA memory during boot up in AMD.
But how can i use/allocate that memory in my driver.
 
I dont know if this is the right forum to ask such question.
Any help will be appriciated.
 
Thanks and regards,
Sathya
 
 
- Original Message -
Sender : Christoph Hellwig 
Date   : 2019-06-26 12:28 (GMT+5:30)
Title  : Re: CMA in AMD IOMMU driver
To : Sathyavathi M
CC : null
 
Toms conversion of the AMD IOMMU driver to use dma-iommu adds CMA
support :)
 
 
Regards,
Sathya


 

___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

RE: RE: Re: CMA in AMD IOMMU driver

2019-06-26 Thread Sathyavathi M
I tried to apply the patch (AMD IOMMU driver to use dma-iommu) to linux kerenl 
5.1.15 but it gives me some errors. 
Downloaded the patch from https://patchwork.ozlabs.org/patch/1096015/

Is this the right way im doing?

Please let me know.

Thanks,
Sathya 
 
- Original Message -
Sender : Sathyavathi M  Engineer/Host Software 
/SSIR/Samsung Electronics
Date   : 2019-06-26 15:21 (GMT+5:30)
Title  : RE: Re: CMA in AMD IOMMU driver
To : null
CC : null
 
Dear Christoph,
 
Thanks for the reply.
can you please let me know which kernel has it?
 
 
Thanks,
Sathya 
 
- Original Message -
Sender : Christoph Hellwig 
Date   : 2019-06-26 12:28 (GMT+5:30)
Title  : Re: CMA in AMD IOMMU driver
To : Sathyavathi M
CC : null
 
Toms conversion of the AMD IOMMU driver to use dma-iommu adds CMA
support :)
 
 
Regards,
Sathya
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
 
Regards,
Sathya
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

RE: Re: CMA in AMD IOMMU driver

2019-06-26 Thread Sathyavathi M
Dear Christoph,

Thanks for the reply.
can you please let me know which kernel has it?


Thanks,
Sathya 
 
- Original Message -
Sender : Christoph Hellwig 
Date   : 2019-06-26 12:28 (GMT+5:30)
Title  : Re: CMA in AMD IOMMU driver
To : Sathyavathi M
CC : null
 
Toms conversion of the AMD IOMMU driver to use dma-iommu adds CMA
support :)
 
 
Regards,
Sathya
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu