Subject: [Bug 203571] New: may_use_simd() returns false in kworkers

From: [email-masked]
Date: Sat, 11 May 2019 05:01:16 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=203571

            Bug ID: 203571
           Summary: may_use_simd() returns false in kworkers
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 4.19
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PPC-64
          Assignee: [email-masked]
          Reporter: [email-masked]
        Regression: No

This patch optimizing chacha20 for WireGuard
https://github.com/shawnl/WireGuard/commit/3e02fce92a14cba7b7d1e2733def3a51bec97498

doesn't work because may_use_simd() is always returning false in kworkers. If I
remove the check everything seems to work fine.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.