On 22/10/26 09:00, Stian Halseth wrote:
This series implements SPARC crypto instructions for QEMU. Most other
arches already support crypto instructions, but SPARC is lagging behind.
Changes in v2:
- 1/7: use suggested commit message (Philippe); R-b Philippe
- 2/7: start with an empty CFR. Bits set in each instruction patch
- 3/7: byte-order comment, rk half zeroed explicitly; T-b Philippe
- 4/7: sets CFR.aes; "3-operand"/"4-operand" wording.
- 5/7: sets CFR.crc32c; "3-operand" wording; explicit 64-bit return;
R-b + T-b Philippe
- 6/7: sets the SHA bits; comment on the narrowing; R-b + T-b Philippe
- 7/7: -cpu TI-UltraSparc-II,+crypto mentioned; R-b Philippe
- Tests: Follow-up, as agreed (Philippe)
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Stian Halseth (8):
target/sparc: Add crypto feature
target/sparc: Return CFR when crypto feature is enabled
target/sparc: Add the eight AES round instructions
target/sparc: Add the AES key expansion instructions
target/sparc: Add the CRC32C instruction
target/sparc: Add the SHA instructions
Mark, Artyom, if you Ack I can queue the first reviewed 6 patches
via my mist-target tree. I'll let the rest which is unreviewed go
via your or Helge's tree.
target/sparc: Allow block-init stores when the CPU has the crypto
feature
linux-user/sparc: Report HWCAP_SPARC_CRYPTO for crypto CPU feature