aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorKristina Martsenko <[email protected]>2022-06-22 12:54:24 +0100
committerWill Deacon <[email protected]>2022-06-23 18:40:38 +0100
commit3a46b352a3e6721db02f60827bdb974d48825bfe (patch)
tree77bf81560d0a7adc014b955afbdbda72c395434f /lib/mpi/mpicoder.c
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
arm64: trap implementation defined functionality in userspace
The Arm v8.8 extension adds a new control FEAT_TIDCP1 that allows the kernel to disable all implementation-defined system registers and instructions in userspace. This can improve robustness against covert channels between processes, for example in cases where the firmware or hardware didn't disable that functionality by default. The kernel does not currently support any implementation-defined features, as there are no hwcaps for any such features, so disable all imp-def features unconditionally. Any use of imp-def instructions will result in a SIGILL being delivered to the process (same as for undefined instructions). Signed-off-by: Kristina Martsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions