ANDROID: trusty: Add trusty-log driver
This driver is the consumer side of a ringbuffer of log data
that the secure operating system dumps prints into. Trusty
printfs will be dumped into the kernel log after smc calls
and during panics.
Original commits:
android-trusty-3.10:
573f23c5238a ("trusty: Add trusty logging driver.")
android-trusty-4.19:
27a7e49daf43 ("trusty: Rate limit Trusty logging")
4009cfccc996 ("trusty: Add share memory api and call it where needed")
android-trusty-5.4:
c154f1cb6da8 ("ANDROID: trusty: Modularize trusty-log driver")
1d7b4458df52 ("ANDROID: trusty: use SPDX license identifiers")
a91f687b026d ("ANDROID: trusty: fix some checkpatch warnings")
7b9dc3535ea6 ("ANDROID: trusty: use flexible arrays instead of zero-length arrays")
110d72546a67 ("ANDROID: trusty: remove unneeded assignments to device_driver::owner")
17e25e8d8be9 ("ANDROID: trusty-log: use min_t()")
bd4fb2f79c3e ("ANDROID: trusty: make TRUSTY_IRQ and TRUSTY_LOG deselectable")
0f32db5ee94a ("ANDROID: trusty: remove trivial function entry logging")
ac7a02aed444 ("ANDROID: trusty: use dev_*() instead of pr_*()")
0e5803182b45 ("ANDROID: trusty: avoid using BUG_ON()")
3f6ac3c63792 ("ANDROID: trusty: Kconfig: add help text")
86a6aff89332 ("ANDROID: trusty: use in-kernel integer types")
bd616a0d2b14 ("ANDROID: trusty: fix up headers shared with Trusty")
Bug: 187853933
Change-Id: Ife5449c232ed81438804a2592d1fa6e631bee27c
Signed-off-by: Michael Ryleev <[email protected]>
Signed-off-by: Matthew Maurer <[email protected]>
Signed-off-by: Tri Vo <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
5 files changed