Bug 26706 - [devel-6.6] Add comprehensive support for Zhaoxin ACE cryptographic algorithms
Summary: [devel-6.6] Add comprehensive support for Zhaoxin ACE cryptographic algorithms
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-28 16:12 UTC by LeoLiu-oc
Modified: 2025-10-28 16:14 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-10-28 16:12:24 UTC
This patch series enhances Zhaoxin processor support by adding comprehensive cryptographic algorithm implementations for both AES and SHA operations. The patches modernize the CPU matching mechanisms to ensure compatibility with recent kernel changes while extending support to additional processor models.

Patch 1: Add support for Zhaoxin AES algorithm
Updates Kconfig options to enable Zhaoxin AES support by default
Extends CPU model support for Zhaoxin processors (series 6 and 7)
Modernizes CPU ID matching using X86_MATCH_VENDOR_FAM_FEATURE macro for padlock-aes.c
Enhances compatibility with different Zhaoxin processor variants in zhaoxin-aes.c
Patch 2: Add support for Zhaoxin SHA algorithm
Updates Kconfig options to enable Zhaoxin SHA support by default
Extends CPU model support for Zhaoxin processors (series 6 and 7)
Modernizes CPU ID matching using X86_MATCH_VENDOR_FAM_FEATURE macro for padlock-sha.c
Enhances compatibility with different Zhaoxin processor variants in zhaoxin-sha.c
Both patches ensure compatibility with the mainline kernel commit torvalds/linux@9302248 that fixed x86_match_cpu() to match just X86_VENDOR_INTEL. These changes allow Zhaoxin processors with integrated crypto engines (ACE - Advanced Cryptography Engine) to utilize hardware-accelerated cryptographic operations more effectively while maintaining compatibility with updated kernel APIs.
Comment 1 小龙 admin 2025-10-28 16:14:29 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5923