From: Peng Fan <peng.fan@nxp.com>
To: Sudeep Holla <sudeep.holla@arm.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Cc: Etienne Carriere <etienne.carriere@linaro.org>
Subject: RE: [PATCH] firmware: arm_scmi: Fix return error code in smc_send_message
Date: Sat, 18 Apr 2020 09:02:17 +0000 [thread overview]
Message-ID: <DB6PR0402MB27606D9E2721F98EA2397C6088D60@DB6PR0402MB2760.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20200417103232.6896-1-sudeep.holla@arm.com>
> Subject: [PATCH] firmware: arm_scmi: Fix return error code in
> smc_send_message
>
> SMCCC can return one of the 2 return error code here: NOT_SUPPORTED(-1)
> and INVALID_PARAMETER(-3). Map them to appropriate Linux error codes
> namely -EOPNOTSUPP and -EINVAL respectively. -EINVAL is also returned for
> any other return values.
>
> Cc: Peng Fan <peng.fan@nxp.com>
> Reported-by: Etienne Carriere <etienne.carriere@linaro.org>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-04-18 9:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 10:32 [PATCH] firmware: arm_scmi: Fix return error code in smc_send_message Sudeep Holla
2020-04-18 9:02 ` Peng Fan [this message]
2020-04-19 10:04 ` Etienne Carriere
2020-04-20 15:35 ` Sudeep Holla
2020-04-20 16:25 ` Etienne Carriere
2020-04-20 16:52 ` Sudeep Holla
2020-04-20 18:13 ` Sudeep Holla
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=DB6PR0402MB27606D9E2721F98EA2397C6088D60@DB6PR0402MB2760.eurprd04.prod.outlook.com \
--to=peng.fan@nxp.com \
--cc=etienne.carriere@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=sudeep.holla@arm.com \
/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;
as well as URLs for NNTP newsgroup(s).