x86: Set default non_temporal_threshold for Zhaoxin processors
commit9dc645cb569af8db58dab2a1b296421f29c0cd4f
authorMayShao-oc <MayShao-oc@zhaoxin.com>
Sat, 29 Jun 2024 03:58:28 +0000 (29 11:58 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 30 Jun 2024 13:26:43 +0000 (30 06:26 -0700)
tree0bc3938dde3f6f1e8f03cc20512832e776097d5c
parentc19457aec67da28a3f78badef53556cd55640a6e
x86: Set default non_temporal_threshold for Zhaoxin processors

Current 'non_temporal_threshold' set to 'non_temporal_threshold_lowbound'
on Zhaoxin processors without ERMS. The default
'non_temporal_threshold_lowbound' is too small for the KH-40000 and KX-7000
Zhaoxin processors, this patch updates the value to
'shared / cachesize_non_temporal_divisor'.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/x86/cpu-features.c
sysdeps/x86/dl-cacheinfo.h