Closed Bug 1564715 Opened 3 months ago Closed 3 months ago

Read /proc/cpuinfo when AT_HWCAP2 returns 0

Categories

(NSS :: Libraries, enhancement, P1)

ARM
Unspecified
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: m_kato, Assigned: m_kato)

References

(Blocks 3 open bugs)

Details

Attachments

(1 file)

From https://bugzilla.mozilla.org/show_bug.cgi?id=1556022#c16, although Moto G5 uses 32-bit kernel on Cortex-A53, AT_HWCAP2 doesn't return that ARM crypto extension is supported. But /proc/cpuinfo is

bogomips: 38.0 half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32

We have to read /proc/cpuinfo too to detect ARM's crypto extension. Chrome bug is https://bugs.chromium.org/p/boringssl/issues/detail?id=46

Blocks: 1555407
Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Priority: -- → P1
Blocks: 1556022
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 3.46
Blocks: 1570313
You need to log in before you can comment on or make changes to this bug.