Re: [PATCH v2 3/5] soc: qcom: smem: Support global partition

2017-10-04 Thread Bjorn Andersson
On Fri 15 Sep 14:02 PDT 2017, Chris Lew wrote: > > > On 9/15/2017 11:33 AM, Bjorn Andersson wrote: > > On Thu 14 Sep 14:25 PDT 2017, Chris Lew wrote: > > > > [..] > > > +static struct smem_ptable *qcom_smem_get_ptable(struct qcom_smem *smem) > > > { > > > - struct smem_partition_header *heade

Re: [PATCH v2 3/5] soc: qcom: smem: Support global partition

2017-09-15 Thread Chris Lew
On 9/15/2017 11:33 AM, Bjorn Andersson wrote: On Thu 14 Sep 14:25 PDT 2017, Chris Lew wrote: [..] +static struct smem_ptable *qcom_smem_get_ptable(struct qcom_smem *smem) { - struct smem_partition_header *header; - struct smem_ptable_entry *entry; struct smem_ptable *pta

Re: [PATCH v2 3/5] soc: qcom: smem: Support global partition

2017-09-15 Thread Bjorn Andersson
On Thu 14 Sep 14:25 PDT 2017, Chris Lew wrote: [..] > +static struct smem_ptable *qcom_smem_get_ptable(struct qcom_smem *smem) > { > - struct smem_partition_header *header; > - struct smem_ptable_entry *entry; > struct smem_ptable *ptable; > - unsigned remote_host; > - u32 v

[PATCH v2 3/5] soc: qcom: smem: Support global partition

2017-09-14 Thread Chris Lew
SMEM V12 creates a global partition to allocate global smem items from instead of a global heap. The global partition has the same structure as a private partition. Signed-off-by: Chris Lew --- Changes since v1: - Move V12 descriptions to top comment - Add cacheline support to global partition -