HomeFreeBSD

Fix detection of IBM Power8 machines (ISA 2.07)

Description

Fix detection of IBM Power8 machines (ISA 2.07)

An IBM POWER7 system with Power ISA 2.06 tried to execute
zfs_sha256_power8() - which should only be run on ISA 2.07
machines.

The detection is implemented via the zfs_isa207_available() call,
but this check was not used.

This pull request will fix this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Low-power <msl0000023508@gmail.com>
Closes #14576

Details

Provenance
Tino Reichardt <milky-zfs@mcmilk.de>Authored on Mar 7 2023, 1:01 AM
GitHub <noreply@github.com>Committed on Mar 7 2023, 1:01 AM
Parents
rG28bf26acb673: [FreeBSD] zfs_znode_alloc: lock the vnode earlier
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG84a1c48c8677: Fix detection of IBM Power8 machines (ISA 2.07) (authored by Tino Reichardt <milky-zfs@mcmilk.de>).Mar 7 2023, 1:01 AM