Re: [PATCH 3/6] x86/smpboot: Remove initial_stack on 64-bit

David Woodhouse
2023-02-23T08:27:16Z

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

On Thu, 2023-02-23 at 08:05 +0000, David Woodhouse wrote:
>
>
> Aren't all CPUs taking this .Linit_cpu0_data path for non-parallel
> startup, not just cpu0? I think you want something more like
>
> .Linit_cpuN_data:
> orl $0x0fffffff, %edx
> leaq __per_cpu_offset(%rip), %rbx
> movq (%rbx,%rdx,8), %rdx
> jmp .Lsetup_cpu
>

Er, nope. Forget that. More coffee...

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5965 bytes --]