arm64: dts: qcom: sun: Add SMMU pool configuration
Add Unsigned PD pool configuration and allocation ranges property, used to pool multiple SMMU context banks with a fixed allocation ranges. This pool can be used by multiple Unsigned applications to offload to remote DSP subsystem and this removes the limitation of only allowing fixed number of Unsigned applications to offload to remote DSP subsystem. Change-Id: I3dc4309f4423aae7e68c743d129f9671a1ed96ca Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
This commit is contained in:
committed by
Anirudh Raghavendra
parent
48f365b6cf
commit
b8de1292e9
@@ -32,6 +32,9 @@ Subnode Required properties:
|
|||||||
- dma-coherent : A flag marking a context bank as I/O coherent
|
- dma-coherent : A flag marking a context bank as I/O coherent
|
||||||
- shared-cb : A value indicating how many fastrpc sessions can share a
|
- shared-cb : A value indicating how many fastrpc sessions can share a
|
||||||
context bank
|
context bank
|
||||||
|
- pd-type : A value indicating remote subsystem proess type
|
||||||
|
- alloc-size-range: A pair values indicating the allocation size range
|
||||||
|
of context bank
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
qcom,msm_fastrpc {
|
qcom,msm_fastrpc {
|
||||||
|
@@ -154,7 +154,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x4000000 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@6 {
|
compute-cb@6 {
|
||||||
@@ -168,7 +169,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x4000000 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@7 {
|
compute-cb@7 {
|
||||||
@@ -182,7 +184,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x1000000 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@8 {
|
compute-cb@8 {
|
||||||
@@ -196,7 +199,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x1000000 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@9 {
|
compute-cb@9 {
|
||||||
@@ -226,7 +230,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x0 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@11 {
|
compute-cb@11 {
|
||||||
@@ -241,7 +246,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x0 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
|
|
||||||
compute-cb@12 {
|
compute-cb@12 {
|
||||||
@@ -254,7 +260,8 @@
|
|||||||
dma-coherent;
|
dma-coherent;
|
||||||
qcom,iova-best-fit;
|
qcom,iova-best-fit;
|
||||||
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/
|
||||||
pd-type = <7>; /* USERPD */
|
pd-type = <9>; /* USER_UNSIGNEDPD_POOL */
|
||||||
|
alloc-size-range = <0x0 0xFFFFFFFF>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
Reference in New Issue
Block a user