arm64: cpufeature: Rework ptr auth hwcaps using multi_entry_cap_matches
mainline inclusion from v5.0-rc1 commit 1e013d06 category: feature bugzilla: 27615 CVE: NA ------------------------------------------------- Open-coding the pointer-auth HWCAPs is a mess and can be avoided by reusing the multi-cap logic from the CPU errata framework. Move the multi_entry_cap_matches code to cpufeature.h and reuse it for the pointer auth HWCAPs. Reviewed-by: NSuzuki Poulose <suzuki.poulose@arm.com> Signed-off-by: NWill Deacon <will.deacon@arm.com> Conflicts: arch/arm64/kernel/cpu_errata.c arch/arm64/kernel/cpufeature.c [Zheng Zengkai: adjust context and fix conflicts caused by skipping the following commit. a3dcea2c arm64: capabilities: Merge duplicate entries for Qualcomm erratum 1003] Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录