1# ARM SiP service configuration options
2
3# Copyright (c) 2022-2023, Intel Corporation.
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig ARM_SIP_SVC_SUBSYS
7	bool "ARM SiP SVC Service"
8	depends on ARM_SIP_SVC_HAS_DRIVER
9	help
10	  Enable Zephyr to communicate with Lower exception levels by
11	  implementing the platform-specifics via SIP SVC driver.
12
13if ARM_SIP_SVC_SUBSYS
14
15module = ARM_SIP_SVC_SUBSYS
16module-str = arm_sip_svc_subsys
17source "subsys/logging/Kconfig.template.log_config"
18
19config ARM_SIP_SVC_SUBSYS_INIT_PRIORITY
20	int "ARM SiP service init function priority"
21	default 55
22
23config ARM_SIP_SVC_SUBSYS_THREAD_STACK_SIZE
24	int "ARM SiP service thread stack size"
25	default 4096
26	help
27	  Stack size of the ARM SiP  service.
28	  The thread calls the callbacks of the requestor
29	  when operation done.
30
31config ARM_SIP_SVC_SUBSYS_THREAD_PRIORITY
32	int "ARM SiP service thread priority"
33	default 2
34	help
35	  Priority of the ARM SiP  service.
36	  The thread calls the callbacks of the requestor
37	  when operation done.
38
39config ARM_SIP_SVC_SUBSYS_MSGQ_DEPTH
40	int "ARM SiP service request message queue depth"
41	default 16
42	help
43	  Depth of msgq used inside sip_svc controller.
44
45config ARM_SIP_SVC_SUBSYS_MAX_CLIENT_COUNT
46	int
47	default 16
48	help
49	  Maximum number of clients inside sip_svc subsystem per controller.
50
51config ARM_SIP_SVC_SUBSYS_MAX_TRANSACTION_ID_COUNT
52	int
53	default 16
54	help
55	  Maximum number of transaction_id per client.
56
57config ARM_SIP_SVC_SUBSYS_ASYNC_POLLING_DELAY
58	int "Delay used for polling asynchronous jobs in micro-seconds"
59	default 100
60	help
61	  Delay for sip_svc thread to sleep during each polling call for
62	  ASYNC response.
63
64config ARM_SIP_SVC_SUBSYS_SINGLY_OPEN
65	bool "Allow a single client to open a connection at a time"
66	help
67	  Allow only one client to open a session per controller
68
69config ARM_SIP_SVC_SUBSYS_SHELL
70	bool "ARM SiP SVC service shell"
71	depends on SHELL
72	help
73	  Enable ARM SiP SVC service shell support to communicate with EL3/EL2
74	  layers using SMC/HVC calls.
75
76endif
77