Re: [PATCH v2 4/5] soc: qcom: smem: Support dynamic item limit

2017-09-15 Thread Bjorn Andersson
On Thu 14 Sep 14:25 PDT 2017, Chris Lew wrote: > In V12 SMEM, SBL writes SMEM parameter information > after the TOC. Use the SBL provided item count > as the max item number. Please wrap your commit messages at 72 chars (50 for the subject). [..] > +static u32 qcom_smem_get_dynamic_item(struct q

[PATCH v2 4/5] soc: qcom: smem: Support dynamic item limit

2017-09-14 Thread Chris Lew
In V12 SMEM, SBL writes SMEM parameter information after the TOC. Use the SBL provided item count as the max item number. Signed-off-by: Chris Lew --- Changes since v1: - Change num_items to __le16 from __le32 - Move max smem item warning to generic get/alloc functions - Use get ptable helper fu