linux/drivers/firmware
Sudeep Holla c66f421b53 UPSTREAM: firmware: arm_scmi: Separate out tx buffer handling and prepare to add rx
Currently we pre-allocate transmit buffers only and use the first free
slot in that pre-allocated buffer for transmitting any new message that
are generally originated from OS to the platform firmware.

Notifications or the delayed responses on the other hand are originated
from the platform firmware and consumes by the OS. It's better to have
separate and dedicated pre-allocated buffers to handle the notifications.
We can still use the transmit buffers for the delayed responses.

In addition, let's prepare existing scmi_xfer_{get,put} for acquiring
and releasing a slot to identify the right(tx/rx) buffers.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 38c927fbeb)

Change-Id: Ie6411e89580a35ea78a32eeeb74756e2d62e528f
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-12-22 15:54:09 +08:00
..
arm_scmi UPSTREAM: firmware: arm_scmi: Separate out tx buffer handling and prepare to add rx 2020-12-22 15:54:09 +08:00
broadcom
efi This is the 4.19.142 stable release 2020-08-26 11:07:03 +02:00
google firmware: coreboot: Let OF core populate platform device 2020-01-27 14:49:55 +01:00
meson
tegra
arm_scpi.c
arm_sdei.c firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp 2020-10-01 13:14:35 +02:00
dcdbas.c
dcdbas.h
dell_rbu.c
dmi_scan.c firmware: dmi: Fix unlikely out-of-bounds read in save_mem_devices 2020-01-27 14:51:19 +01:00
dmi-id.c
dmi-sysfs.c
edd.c
iscsi_ibft_find.c
iscsi_ibft.c
Kconfig firmware: rockchip_sip: Support building as module 2020-09-15 19:58:23 +08:00
Makefile
memmap.c
pcdp.c
pcdp.h
psci_checker.c drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups() 2020-07-29 10:16:46 +02:00
psci.c Revert "ANDROID: GKI: arm64: psci: Support for OS initiated scheme" 2020-09-24 18:07:20 +08:00
qcom_scm-32.c
qcom_scm-64.c
qcom_scm.c firmware: qcom_scm: fix bogous abuse of dma-direct internals 2020-06-25 15:32:53 +02:00
qcom_scm.h
qemu_fw_cfg.c firmware: Fix a reference count leak. 2020-08-11 15:32:33 +02:00
raspberrypi.c
rockchip_sip.c firmware: rockchip_sip: Support building as module 2020-09-15 19:58:23 +08:00
scpi_pm_domain.c
ti_sci.c
ti_sci.h