If the core id needs to be included in the hardware register calculation, up_cpu_index() should be used instead of this_cpu(). Signed-off-by: chao an <anchao@lixiang.com>