Blame view

drivers/trusty/Kconfig 2.32 KB
9e8e6f277   Eric Biggers   ANDROID: trusty: ...
1
  # SPDX-License-Identifier: GPL-2.0-only
ac8abe3dc   Arve Hjønnevåg   ANDROID: trusty: ...
2
  #
e3374dd55   Eric Biggers   ANDROID: trusty: ...
3
  # Trusty driver
ac8abe3dc   Arve Hjønnevåg   ANDROID: trusty: ...
4
  #
e3374dd55   Eric Biggers   ANDROID: trusty: ...
5
  menu "Trusty driver"
ac8abe3dc   Arve Hjønnevåg   ANDROID: trusty: ...
6
7
  
  config TRUSTY
e3374dd55   Eric Biggers   ANDROID: trusty: ...
8
  	tristate "Trusty core driver"
5d0250c62   Eric Biggers   ANDROID: trusty: ...
9
  	depends on ARM || ARM64
e3374dd55   Eric Biggers   ANDROID: trusty: ...
10
11
12
13
14
15
16
17
18
19
  	help
  	  Trusty is a secure OS that provides a Trusted Execution Environment
  	  (TEE) for Android.  Trusty runs on the same processor as Linux but is
  	  isolated from the rest of the system by both hardware and software.
  
  	  This option enables the core part of the Linux kernel driver for
  	  Trusty.  This doesn't do much by itself; you'll need to enable some of
  	  the sub-modules too.
  
  	  If you build this as a module, it will be called trusty-core.
ac8abe3dc   Arve Hjønnevåg   ANDROID: trusty: ...
20

f4de790d4   Eric Biggers   ANDROID: trusty: ...
21
  if TRUSTY
69c85d466   Tri Vo   ANDROID: trusty: ...
22
  config TRUSTY_IRQ
40b5b8c03   Eric Biggers   ANDROID: trusty: ...
23
  	tristate "Trusty IRQ support"
69c85d466   Tri Vo   ANDROID: trusty: ...
24
  	default y
e3374dd55   Eric Biggers   ANDROID: trusty: ...
25
26
27
28
29
30
31
32
  	help
  	  Enable forwarding of IRQs from Linux to Trusty.  This module retrieves
  	  from Trusty a list of IRQs that Trusty uses, and it registers handlers
  	  for them which notify Trusty that the IRQ has been received.
  
  	  If you build this as a module, it will be called trusty-irq.
  
  	  Usually this is needed for Trusty to work, so say 'y' or 'm'.
69c85d466   Tri Vo   ANDROID: trusty: ...
33

111cbbcaf   Riley Andrews   ANDROID: trusty: ...
34
  config TRUSTY_LOG
40b5b8c03   Eric Biggers   ANDROID: trusty: ...
35
  	tristate "Trusty log support"
111cbbcaf   Riley Andrews   ANDROID: trusty: ...
36
  	default y
e3374dd55   Eric Biggers   ANDROID: trusty: ...
37
38
39
40
41
42
43
  	help
  	  Print log messages generated by the secure OS to the Linux kernel log.
  
  	  While this module is loaded, messages are retrieved and printed after
  	  each call into Trusty, and also during Linux kernel panics.
  
  	  If you build this as a module, it will be called trusty-log.
111cbbcaf   Riley Andrews   ANDROID: trusty: ...
44

bf4d7b00c   Arve Hjønnevåg   ANDROID: trusty: ...
45
46
  config TRUSTY_TEST
  	tristate "Trusty stdcall test"
bf4d7b00c   Arve Hjønnevåg   ANDROID: trusty: ...
47
48
  	default y
  	help
e3374dd55   Eric Biggers   ANDROID: trusty: ...
49
50
  	  Allow running tests of the Trusty stdcall interface.  Running these
  	  tests is initiated by userspace writing to a sysfs file.
bf4d7b00c   Arve Hjønnevåg   ANDROID: trusty: ...
51

e3374dd55   Eric Biggers   ANDROID: trusty: ...
52
53
54
  	  This depends on having a test sevice running on the Trusty side.
  
  	  If you build this as a module, it will be called trusty-test.
bf4d7b00c   Arve Hjønnevåg   ANDROID: trusty: ...
55

b2ab215a8   Michael Ryleev   ANDROID: trusty: ...
56
57
  config TRUSTY_VIRTIO
  	tristate "Trusty virtio support"
b2ab215a8   Michael Ryleev   ANDROID: trusty: ...
58
59
  	select VIRTIO
  	default y
e3374dd55   Eric Biggers   ANDROID: trusty: ...
60
61
62
63
64
65
66
  	help
  	  Enable the Trusty virtio driver, which is responsible for management
  	  and interaction with virtio devices exposed by Trusty.  This driver
  	  requests the virtio device descriptors from Trusty, then parses them
  	  and adds the corresponding virtio devices.
  
  	  If you build this as a module, it will be called trusty-virtio.
b2ab215a8   Michael Ryleev   ANDROID: trusty: ...
67

91ea5bc82   Michael Ryleev   ANDROID: trusty: ...
68
69
70
71
72
  config TRUSTY_VIRTIO_IPC
  	tristate "Trusty Virtio IPC driver"
  	depends on TRUSTY_VIRTIO
  	default y
  	help
e3374dd55   Eric Biggers   ANDROID: trusty: ...
73
  	  Enable support for communicating with Trusty services.
91ea5bc82   Michael Ryleev   ANDROID: trusty: ...
74

e3374dd55   Eric Biggers   ANDROID: trusty: ...
75
  	  If you build this as a module, it will be called trusty-ipc.
91ea5bc82   Michael Ryleev   ANDROID: trusty: ...
76

f4de790d4   Eric Biggers   ANDROID: trusty: ...
77
  endif # TRUSTY
ac8abe3dc   Arve Hjønnevåg   ANDROID: trusty: ...
78
  endmenu