mirror_zfs/module/icp/algs/sha2
Tino Reichardt 84a1c48c86
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
2023-03-06 17:01:01 -08:00
..
sha2_generic.c SHA2Init() should use signed assertions when checking an enum 2023-03-06 15:26:43 -08:00
sha256_impl.c Fix detection of IBM Power8 machines (ISA 2.07) 2023-03-06 17:01:01 -08:00
sha512_impl.c Fix detection of IBM Power8 machines (ISA 2.07) 2023-03-06 17:01:01 -08:00