HomeFreeBSD

Move setting arm64 HWCAP values to the ID tables

Description

Move setting arm64 HWCAP values to the ID tables

The HWCAPS values are based on the ID registers. Move setting these
to the existing ID register parsing code.

Previously we would need to handle all possible ID field values where
a HWCAP is set, however as most ID fields follow a scheme where when
the field increments it will only add new features meaning we only
need to check if the field is greater than when the HWCAP feature
was added.

While here stop setting HWCAP value that need kernel support, but this
support is missing.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31201

(cherry picked from commit 1a78f44cd205b6f9ca11ef5cdb6e1f32c0134193)

Details

Provenance
andrewAuthored on Jul 16 2021, 1:49 PM
Differential Revision
D31201: Move setting arm64 HWCAP values to the ID tables
Parents
R10:b49a75c3932a: Add missing arm64 ID registers
Branches
Unknown
Tags
Unknown