Linux security modules

we are using HiFive unleashed u540 and we are running LTP with the kernel 5.4.3 with custom yocto.We want to know what kind of security module RISC v supports??


Linux Security Modules are not supported by the CPU per-se, but rather are software modules that interact with a set of hooks in the Linux kernel to support enforcing various security properties. Some of them may be written in low-level assembly code, so they’d need to be ported to a new CPU architecture, but most are just C code, configurable when you build the kernel.
There are security features provided by various CPUs, such as Intel’s Software Guard Extensions and ARM’s TrustZone, but neither of those are integral (or even particularly related) to Linux Security Modules.