On 01/03/2021 06:20, Masahisa Kojima via Asa-dev wrote:
Hi All,
I just encounter this error, I would like to share the information. SMP boot fails with the latest master branch of edk2/edk2-platforms/tf-a as of today. # I boot sbsa-qemu with "-smp 4".
Linux kernel outputs following error. [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT
debian@debian:~$ lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 BogoMIPS: 125.00 L1d cache: 32K L1i cache: 32K L2 cache: 512K NUMA node0 CPU(s): 0 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Hi Masahisa,
Just to check, your qemu is new enough to contain this commit?
commit 999f6ebde5d3ee30b03270bc05095bed737b7dab Author: Leif Lindholm leif@nuviainc.com Date: Thu Aug 27 13:43:35 2020 +0100
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes
Graeme
On Mon, 1 Mar 2021 at 19:34, Graeme Gregory graeme@nuviainc.com wrote:
On 01/03/2021 06:20, Masahisa Kojima via Asa-dev wrote:
Hi All,
I just encounter this error, I would like to share the information. SMP boot fails with the latest master branch of edk2/edk2-platforms/tf-a as of today. # I boot sbsa-qemu with "-smp 4".
Linux kernel outputs following error. [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT
debian@debian:~$ lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 BogoMIPS: 125.00 L1d cache: 32K L1i cache: 32K L2 cache: 512K NUMA node0 CPU(s): 0 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Hi Masahisa,
Just to check, your qemu is new enough to contain this commit?
commit 999f6ebde5d3ee30b03270bc05095bed737b7dab Author: Leif Lindholm leif@nuviainc.com Date: Thu Aug 27 13:43:35 2020 +0100
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes
Yes. I also updated qemu to the latest version today, but I encounter same error.
Thanks, Masahisa
Graeme
On 01/03/2021 12:45, Masahisa Kojima wrote:
On Mon, 1 Mar 2021 at 19:34, Graeme Gregory graeme@nuviainc.com wrote:
On 01/03/2021 06:20, Masahisa Kojima via Asa-dev wrote:
Hi All,
I just encounter this error, I would like to share the information. SMP boot fails with the latest master branch of edk2/edk2-platforms/tf-a as of today. # I boot sbsa-qemu with "-smp 4".
Linux kernel outputs following error. [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT
debian@debian:~$ lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 BogoMIPS: 125.00 L1d cache: 32K L1i cache: 32K L2 cache: 512K NUMA node0 CPU(s): 0 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Hi Masahisa,
Just to check, your qemu is new enough to contain this commit?
commit 999f6ebde5d3ee30b03270bc05095bed737b7dab Author: Leif Lindholm leif@nuviainc.com Date: Thu Aug 27 13:43:35 2020 +0100
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes
Yes. I also updated qemu to the latest version today, but I encounter same error.
You should be able to dump the MADT using acpiview from UEIF shell, this will tell us if MADT is filled in correctly.
Graeme
Hi,
I have confirmed that SMP boot works as expected with Leif's patch yesterday. Thank you. # I still have issue when the UEFI secure boot enabled on sbsa-ref machine as I reported separately.
Regards, Masahisa
On Tue, 2 Mar 2021 at 19:19, Graeme Gregory graeme@nuviainc.com wrote:
On 01/03/2021 12:45, Masahisa Kojima wrote:
On Mon, 1 Mar 2021 at 19:34, Graeme Gregory graeme@nuviainc.com wrote:
On 01/03/2021 06:20, Masahisa Kojima via Asa-dev wrote:
Hi All,
I just encounter this error, I would like to share the information. SMP boot fails with the latest master branch of edk2/edk2-platforms/tf-a as of today. # I boot sbsa-qemu with "-smp 4".
Linux kernel outputs following error. [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT [ 0.000000] duplicate boot CPU MPIDR: 0x0 in MADT
debian@debian:~$ lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 BogoMIPS: 125.00 L1d cache: 32K L1i cache: 32K L2 cache: 512K NUMA node0 CPU(s): 0 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Hi Masahisa,
Just to check, your qemu is new enough to contain this commit?
commit 999f6ebde5d3ee30b03270bc05095bed737b7dab Author: Leif Lindholm leif@nuviainc.com Date: Thu Aug 27 13:43:35 2020 +0100
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes
Yes. I also updated qemu to the latest version today, but I encounter same error.
You should be able to dump the MADT using acpiview from UEIF shell, this will tell us if MADT is filled in correctly.
Graeme