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

[Xen-devel] [ARM] Handling CMA pool device nodes in Dom0



Hello!

I'm working under Renesas Gen3 H3 board with 4GB RAM (Salvator-X) support in Xen mainline.

Salvator-X has several  CMA pool nodes, for example:

1:
adsp_reserved: linux,adsp {
compatible = "shared-dma-pool";
reusable;
reg = <0x00000000 0x57000000 0x0 0x01000000>;
};

2:
linux,cma {
compatible = "shared-dma-pool";
reusable;
reg = <0x00000000 0x58000000 0x0 0x18000000>;
linux,cma-default;
};

During Dom0 allocation, we can't guarantee, that allocated memory will contain mentioned regions.
In second сase, we can actually hardcode mapped region by using separate DTS for Dom0 with changed memory regions. 
But for first one, this in not an option - this pool is used for audio DSP and its firmware relies on this addresses. 

What is the correct way to solve this situation?
Does Xen has some mechanism to handle such cases?

Thank you.

--

Iurii Mykhalskyi | Senior Software Engineer
GlobalLogic
+38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.