1# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if IPC_SERVICE_BACKEND_RPMSG
5
6config IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE
7	int "Size of RX work queue stack"
8	default 1024
9	help
10	  Size of stack used by work queue RX thread. This work queue is
11	  created in the multi-instance / multi-core RPMsg backend module to
12	  prevent notifying service users about received data from the system
13	  work queue. Size is the same for all instances.
14
15config IPC_SERVICE_BACKEND_RPMSG_SHMEM_RESET
16	bool "Reset shared memory state"
17	help
18	  Some platforms retain the memory content upon reset. This is
19	  problematic because the backend expects a zero-ed memory to be
20	  able to correctly setup instances and endpoints at init time.
21	  When this parameter is set to 'y' the status region of the shared
22	  memory is reset on kernel initialization.
23
24config IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE
25	int "Max number of registered endpoints per instance"
26	default 2
27	help
28	  Maximal number of endpoints that can be registered for one instance
29	  for RPMSG backend.
30
31endif # IPC_SERVICE_BACKEND_RPMSG
32