arm64: cpufeature: Effectively expose FRINT capability to userspace
mainline inclusion from mainline-v5.9-rc1 commit 7230f7e9 category: bugfix bugzilla: NA CVE: NA ------------------------------------------------- The HWCAP framework will detect a new capability based on the sanitized version of the ID registers. Sanitization is based on a whitelist, so any field not described will end up to be zeroed. At the moment, ID_AA64ISAR1_EL1.FRINTTS is not described in ftr_id_aa64isar1. This means the field will be zeroed and therefore the userspace will not be able to see the HWCAP even if the hardware supports the feature. This can be fixed by describing the field in ftr_id_aa64isar1. Fixes: ca9503fc ("arm64: Expose FRINT capabilities to userspace") Signed-off-by: NJulien Grall <julien.grall@arm.com> Cc: mark.brown@arm.com Signed-off-by: NWill Deacon <will@kernel.org> Signed-off-by: NWang Faren <wangfaren@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录