xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [ARM] Handling CMA pool device nodes in Dom0
@ 2016-11-25 12:19 Iurii Mykhalskyi
  2016-11-29 13:49 ` Julien Grall
  0 siblings, 1 reply; 11+ messages in thread
From: Iurii Mykhalskyi @ 2016-11-25 12:19 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall


[-- Attachment #1.1: Type: text/plain, Size: 1106 bytes --]

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
P +38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

[-- Attachment #1.2: Type: text/html, Size: 4519 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-07-27 11:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 12:19 [ARM] Handling CMA pool device nodes in Dom0 Iurii Mykhalskyi
2016-11-29 13:49 ` Julien Grall
2016-12-01  0:12   ` Stefano Stabellini
2017-07-26 15:04     ` Reserved-memory node handling in XEN ( WAS Re: [ARM] Handling CMA pool device nodes in Dom0) Andrii Anisov
2017-07-26 17:06       ` Julien Grall
2017-07-27  9:24         ` Andrii Anisov
2017-07-27  9:55           ` Julien Grall
2017-07-27 10:36             ` Andrii Anisov
2017-07-27 10:56               ` Julien Grall
2017-07-27 11:02                 ` Andrii Anisov
2016-12-02  7:26   ` [ARM] Handling CMA pool device nodes in Dom0 Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).