public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] SbsaQemu: SIP_SVC_GET_CPU_TOPOLOGY call failed (need updated binaries in edk2-non-osi?)
@ 2024-08-30 14:36 Rebecca Cran via groups.io
  2024-09-02 10:54 ` Marcin Juszkiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Rebecca Cran via groups.io @ 2024-08-30 14:36 UTC (permalink / raw)
  To: devel@edk2.groups.io, Ard Biesheuvel, Marcin Juszkiewicz,
	Leif Lindholm

Do the TF-A binaries in edk2-non-osi need updated for SbsaQemu?

With the binaries in Platform/Qemu/Sbsa I get the following error during 
boot:

GetCpuCount: We have 4 cpus.
GetMpidr: MPIDR for CPU0: = 0
GetMpidr: MPIDR for CPU1: = 1
GetMpidr: MPIDR for CPU2: = 2
GetMpidr: MPIDR for CPU3: = 3
GetCpuCount: We have 4 cpus.
ERROR:   sbsa_sip_smc_handler: unhandled SMC (0xc20000ca) (function id: 202)
GetCpuTopology: SIP_SVC_GET_CPU_TOPOLOGY call failed. We have no cpu 
topology information.


If I update the binaries with a fresh set built from TF-A commit 
8e9bdc5b1d65f49546afbe97943d263a1332e67e it successfully boots to the 
UEFI Shell.


-- 

Rebecca



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120481): https://edk2.groups.io/g/devel/message/120481
Mute This Topic: https://groups.io/mt/108224493/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] SbsaQemu: SIP_SVC_GET_CPU_TOPOLOGY call failed (need updated binaries in edk2-non-osi?)
  2024-08-30 14:36 [edk2-devel] SbsaQemu: SIP_SVC_GET_CPU_TOPOLOGY call failed (need updated binaries in edk2-non-osi?) Rebecca Cran via groups.io
@ 2024-09-02 10:54 ` Marcin Juszkiewicz
       [not found]   ` <15989.1742715270038644235@groups.io>
  0 siblings, 1 reply; 3+ messages in thread
From: Marcin Juszkiewicz @ 2024-09-02 10:54 UTC (permalink / raw)
  To: Rebecca Cran, devel@edk2.groups.io, Ard Biesheuvel, Leif Lindholm

On 30.08.2024 16:36, Rebecca Cran wrote:
> Do the TF-A binaries in edk2-non-osi need updated for SbsaQemu?
> 
> With the binaries in Platform/Qemu/Sbsa I get the following error during 
> boot:
> 
> GetCpuCount: We have 4 cpus.
> GetMpidr: MPIDR for CPU0: = 0
> GetMpidr: MPIDR for CPU1: = 1
> GetMpidr: MPIDR for CPU2: = 2
> GetMpidr: MPIDR for CPU3: = 3
> GetCpuCount: We have 4 cpus.
> ERROR:   sbsa_sip_smc_handler: unhandled SMC (0xc20000ca) (function id: 
> 202)
> GetCpuTopology: SIP_SVC_GET_CPU_TOPOLOGY call failed. We have no cpu 
> topology information.

Ops, forgot to update binaries. Sent patch for review.



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120465): https://edk2.groups.io/g/devel/message/120465
Mute This Topic: https://groups.io/mt/108224493/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] SbsaQemu: SIP_SVC_GET_CPU_TOPOLOGY call failed (need updated binaries in edk2-non-osi?)
       [not found]   ` <15989.1742715270038644235@groups.io>
@ 2025-03-23 12:50     ` Marcin Juszkiewicz via groups.io
  0 siblings, 0 replies; 3+ messages in thread
From: Marcin Juszkiewicz via groups.io @ 2025-03-23 12:50 UTC (permalink / raw)
  To: Johnny Lin/WYHQ/Wiwynn, devel

W dniu 23.03.2025 o 08:34, Johnny Lin/WYHQ/Wiwynn via groups.io pisze:
> Has this been fixed? I am seeing the same issue with QEMU emulator 
> version 8.0.93.

QemuSbsa needs QEMU 9.x or later. Especially this commit:

==========================

 From 3b36cead6ecc0e40edb8b2f3e253baa01ebc1e9a Mon Sep 17 00:00:00 2001
From: Xiong Yining <xiongyining1480@phytium.com.cn>
Date: Fri, 7 Jun 2024 10:38:25 +0000
Subject: [PATCH] hw/arm/sbsa-ref: Enable CPU cluster on ARM sbsa machine

Enable CPU cluster support on SbsaQemu platform, so that users can
specify a 4-level CPU hierarchy sockets/clusters/cores/threads. And
this topology can be passed to the firmware through /cpus/topology
Device Tree.

==========================

Without it we do not have topology information and machine stops.



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121215): https://edk2.groups.io/g/devel/message/121215
Mute This Topic: https://groups.io/mt/108224493/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-23 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 14:36 [edk2-devel] SbsaQemu: SIP_SVC_GET_CPU_TOPOLOGY call failed (need updated binaries in edk2-non-osi?) Rebecca Cran via groups.io
2024-09-02 10:54 ` Marcin Juszkiewicz
     [not found]   ` <15989.1742715270038644235@groups.io>
2025-03-23 12:50     ` Marcin Juszkiewicz via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox