Unverified Commit 425c0a7b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!210 x86/tsc: use topology_max_packages() in tsc watchdog check

Merge Pull Request from: @juntianlinux 
 
[Description]​
Temporary fix for #I5U037

Occasionally TSC clocksource is wrongly judged as unstable watchdog like 'jiffies', HPET on some platforms like Skylake 4S. 

For normal cases, we can use nr_online_nodes <= 4 as a quick workaround for this issue. However, there are many cases that 'nr_online_nodes' could have issue. Intel is still working on a formal fix, the patch in this PR is a more general fix but still have open under discussion.

Generally, there are some corner cases, but we can use this for a temporary fix to this issue. In next step, we need to update this fix after upstream merging the final solution.

 
 
Link:https://gitee.com/openeuler/kernel/pulls/210

 
Reviewed-by: default avatarJiao Fenfang <jiaofenfang@uniontech.com>
Reviewed-by: default avatarChen Wei <chenwei@xfusion.com>
Reviewed-by: default avatarXibo.Wang <wangxb12@chinatelecom.cn>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents eda593e5 2558e3b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment