From: Arun Kumar Neelakantam <aneela@codeaurora.org>
To: Chris Lew <clew@codeaurora.org>,
bjorn.andersson@linaro.org, andy.gross@linaro.org,
david.brown@linaro.org
Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] soc: qcom: smem: Support global partition
Date: Mon, 21 Aug 2017 11:35:15 +0530 [thread overview]
Message-ID: <1653d6e0-e62d-f341-3911-bd2b307ba885@codeaurora.org> (raw)
In-Reply-To: <1503018948-26629-2-git-send-email-clew@codeaurora.org>
On 8/18/2017 6:45 AM, Chris Lew wrote:
> @@ -782,7 +855,10 @@ static int qcom_smem_probe(struct platform_device *pdev)
> }
>
> version = qcom_smem_get_sbl_version(smem);
> - if (version >> 16 != SMEM_EXPECTED_VERSION) {
> + switch (version >> 16) {
> + case SMEM_GLOBAL_PART_VERSION:
> + case SMEM_GLOBAL_HEAP_VERSION:
break statement is needed for supported versions
> + default:
> dev_err(&pdev->dev, "Unsupported SMEM version 0x%x\n", version);
> return -EINVAL;
> }
next prev parent reply other threads:[~2017-08-21 6:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-18 1:15 [PATCH 0/3] Qualcomm SMEM V12 Support Chris Lew
2017-08-18 1:15 ` [PATCH 1/3] soc: qcom: smem: Support global partition Chris Lew
2017-08-21 6:05 ` Arun Kumar Neelakantam [this message]
2017-08-21 17:17 ` Bjorn Andersson
2017-08-23 0:28 ` Chris Lew
2017-08-23 0:32 ` Bjorn Andersson
2017-08-18 1:15 ` [PATCH 2/3] soc: qcom: smem: Support dynamic item limit Chris Lew
2017-08-21 8:57 ` Arun Kumar Neelakantam
2017-08-21 17:33 ` Bjorn Andersson
2017-08-18 1:15 ` [PATCH 3/3] soc: qcom: smem: Increase the number of hosts Chris Lew
2017-08-21 17:34 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653d6e0-e62d-f341-3911-bd2b307ba885@codeaurora.org \
--to=aneela@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=clew@codeaurora.org \
--cc=david.brown@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®