linux/drivers/firmware/arm_scmi
Etienne Carriere 08ea2419b3 UPSTREAM: firmware: arm_scmi: Expand SMC/HVC message pool to more than one
SMC/HVC can transmit only one message at the time as the shared memory
needs to be protected and the calls are synchronous.

However, in order to allow multiple threads to send SCMI messages
simultaneously, we need a larger poll of memory.

Let us just use value of 20 to keep it in sync mailbox transport
implementation. Any other value must work perfectly.

Link: https://lore.kernel.org/r/20201008143722.21888-4-etienne.carriere@linaro.org
Fixes: 1dc6558062 ("firmware: arm_scmi: Add smc/hvc transport")
Cc: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[sudeep.holla: reworded the commit message to indicate the practicality]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 7adb2c8aaa)

Change-Id: I36bf5833a51c7e31f822a1eac504db28519219a3
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-12-22 15:54:12 +08:00
..
base.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2019-11-20 18:46:14 +01:00
bus.c UPSTREAM: firmware: arm_scmi: Add support for multiple device per protocol 2020-12-22 15:54:09 +08:00
clock.c firmware: arm_scmi: update rate_discrete in clock_describe_rates_get 2020-01-27 14:50:54 +01:00
common.h UPSTREAM: firmware: arm_scmi: Add smc/hvc transport 2020-12-22 15:54:10 +08:00
driver.c UPSTREAM: firmware: arm_scmi: Add smc/hvc transport 2020-12-22 15:54:10 +08:00
mailbox.c UPSTREAM: firmware: arm_scmi: Make scmi core independent of the transport type 2020-12-22 15:54:10 +08:00
Makefile UPSTREAM: firmware: arm_scmi: Add smc/hvc transport 2020-12-22 15:54:10 +08:00
perf.c This is the 4.19.85 stable release 2019-11-20 20:43:17 +01:00
power.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2019-11-20 18:46:14 +01:00
scmi_pm_domain.c firmware: arm_scmi: Fix SCMI genpd domain probing 2020-08-19 08:14:48 +02:00
sensors.c firmware: arm_scmi: fix bitfield definitions for SENSOR_DESC attributes 2020-01-27 14:50:54 +01:00
shmem.c UPSTREAM: firmware: arm_scmi: Make scmi core independent of the transport type 2020-12-22 15:54:10 +08:00
smc.c UPSTREAM: firmware: arm_scmi: Expand SMC/HVC message pool to more than one 2020-12-22 15:54:12 +08:00