summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPraveen Kumar <kumarpraveen@linux.microsoft.com>2021-05-31 13:10:46 +0530
committerWei Liu <wei.liu@kernel.org>2021-06-02 15:13:20 +0000
commit450605c28d571eddca39a65fdbc1338add44c6d9 (patch)
treef0519d7221dcc656dac9e26242a50ce769b23676 /drivers
parentc6a8625fa4c6b0a97860d053271660ccedc3d1b3 (diff)
x86/hyperv: fix logical processor creation
Microsoft Hypervisor expects the logical processor index to be the same as CPU's index during logical processor creation. Using cpu_physical_id confuses hypervisor's scheduler. That causes the root partition not boot when core scheduler is used. This patch removes the call to cpu_physical_id and uses the CPU index directly for bringing up logical processor. This scheme works for both classic scheduler and core scheduler. Fixes: 333abaf5abb3 (x86/hyperv: implement and use hv_smp_prepare_cpus) Signed-off-by: Praveen Kumar <kumarpraveen@linux.microsoft.com> Link: https://lore.kernel.org/r/20210531074046.113452-1-kumarpraveen@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions