Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #1157: the probles in in nested __kernel_fpu_begin_bh() calls:
firstly in DEFINE_TLS_TEST()->kernel_fpu_begin() and secondly in ttls_ecp_group_free()->ttls_bzero_safe()->kernel_fpu_begin(). The fix moves all the TLS unit tests to test_tls.c from tls/ and make each test responsible for calling kernel_fpu_{begin,end}(). The crypto routines can be split into 2 groups: called from process context of Tempesta FW initialization and called in run-time, softirq context. Only the second group must be called with saved FPU context. In fact, current crypto routines (covered by the test) don't use SIMD much and this is going to change in #1064.
- Loading branch information