| #
5c0152ef |
| 04-Dec-2025 |
Yann Gautier <yann.gautier@st.com> |
Merge "style(qemu-sbsa): wrap declaration in braces for clang" into integration
|
| #
03838f30 |
| 25-Nov-2025 |
Vineel Kovvuri[MSFT] <vineelko@microsoft.com> |
style(qemu-sbsa): wrap declaration in braces for clang
Clang errors if a label is followed directly by a declaration. The variable `struct platform_cpu_topology topology` must be inside a block to a
style(qemu-sbsa): wrap declaration in braces for clang
Clang errors if a label is followed directly by a declaration. The variable `struct platform_cpu_topology topology` must be inside a block to avoid the C23-extension diagnostic:
``` plat/qemu/qemu_sbsa/sbsa_sip_svc.c:86:3: error: label followed by a declaration is a C23 extension [-Werror,-Wc23-extensions] 86 | struct platform_cpu_topology topology; | ^ ```
Change-Id: I005f3eb054f8f33128403c79659ae10989c78d63 Signed-off-by: Vineel Kovvuri[MSFT] <vineelko@microsoft.com>
show more ...
|
| #
95977c2e |
| 17-Dec-2024 |
Yann Gautier <yann.gautier@st.com> |
Merge changes from topic "gerrit-master-v3" into integration
* changes: feat(qemu-sbsa): add support for RME on SBSA machine feat(qemu-sbsa): configure RMM manifest based on system RAM feat(qe
Merge changes from topic "gerrit-master-v3" into integration
* changes: feat(qemu-sbsa): add support for RME on SBSA machine feat(qemu-sbsa): configure RMM manifest based on system RAM feat(qemu-sbsa): configure GPT based on system RAM feat(qemu-sbsa): adjust DT memory start address when supporting RME feat(qemu-sbsa): relocate DT after the RMM when RME is enabled feat(qemu-sbsa): dissociate QEMU NS start address and NS_DRAM0_BASE feat(qemu-sbsa): increase maximum FIP size refactor(qemu-sbsa): move all DT related functions to sbsa_platform.c refactor(qemu-sbsa): create accessor functions for platform info refactor(qemu-sbsa): rename function sip_svc_init() to something more meaningful refactor(qemu-sbsa): move DT related structures to their own header refactor(qemu-sbsa): rename struct dynamic_platform_info refactor(qemu): make L0GPT size configurable refactor(qemu): move GPT setup to BL31 fix(qemu-sbsa): fix compilation error when accessing DT functions
show more ...
|
| #
ecadac7c |
| 17-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): move all DT related functions to sbsa_platform.c
Move all DT related functions to file sbsa_platform_dt.c so that clients other than SIP SVC can use the funtionality. At the sa
refactor(qemu-sbsa): move all DT related functions to sbsa_platform.c
Move all DT related functions to file sbsa_platform_dt.c so that clients other than SIP SVC can use the funtionality. At the same time, make all functions that don't need outside visibility static.
No change in functionality.
Change-Id: I9bce730c8f9e2b827937466f4432ecfa74c35675 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| #
d564e084 |
| 27-Sep-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): create accessor functions for platform info
Creating accessor functions to access information held by struct qemu_platform_info. That way the code that is relevant to fetching i
refactor(qemu-sbsa): create accessor functions for platform info
Creating accessor functions to access information held by struct qemu_platform_info. That way the code that is relevant to fetching information from the device tree can be taken out of sbsa_sip_svc.c and placed in a file where other client can use the information it provides.
No change in functionality.
Change-Id: I989952ee6d15e1436549002dd7c7767c745ea297 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| #
6d59413b |
| 27-Sep-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): rename function sip_svc_init() to something more meaningful
There is no relation between the name of function sip_svc_init() and what it does. As such rename it to something mo
refactor(qemu-sbsa): rename function sip_svc_init() to something more meaningful
There is no relation between the name of function sip_svc_init() and what it does. As such rename it to something more appropriate and move it to a header that make sense.
No change in functionality.
Change-Id: I7bd78b1fe70e2930c395ef0a097bfad3b1e55d3a Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| #
b386c6e6 |
| 26-Sep-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): move DT related structures to their own header
Move structure declaration related to the DT to their own header. That way they can be reused by other files. At the same time,
refactor(qemu-sbsa): move DT related structures to their own header
Move structure declaration related to the DT to their own header. That way they can be reused by other files. At the same time, typedefs are removed and structure names prepended with "platform_" to avoid clashing with other structure declarations available in the system.
No change in functionality.
Change-Id: If67a141cc7441b0636af774d7edfe51cf8034a11 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| #
5ad3c97a |
| 17-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): rename struct dynamic_platform_info
Rename struct dynamic_platform_info to qemu_platform_info and properly declare a variable name "dynamic_platform_info". That way structures
refactor(qemu-sbsa): rename struct dynamic_platform_info
Rename struct dynamic_platform_info to qemu_platform_info and properly declare a variable name "dynamic_platform_info". That way structures related to the device tree can be moved out of sbsa_sip_svc.c.
No change in functionality.
Change-Id: I1af39047af96ae02f3b8eecda6cb67508f14d37a Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| #
e493824d |
| 27-Jun-2024 |
Yann Gautier <yann.gautier@st.com> |
Merge "refactor(qemu-sbsa): use fdt_read_uint32_default more" into integration
|
| #
adc63c99 |
| 27-Jun-2024 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
refactor(qemu-sbsa): use fdt_read_uint32_default more
We have fdt_read_uint32_default() function which allows us to use less temporary variables. Let make use of it where applicable.
Signed-off-by:
refactor(qemu-sbsa): use fdt_read_uint32_default more
We have fdt_read_uint32_default() function which allows us to use less temporary variables. Let make use of it where applicable.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I6fc8a87d5aac427703fd3c8b689e153ed58fa8b7
show more ...
|
| #
badda892 |
| 27-Jun-2024 |
Yann Gautier <yann.gautier@st.com> |
Merge "feat(qemu-sbsa): handle the information of CPU topology" into integration
|
| #
c891b4d8 |
| 18-Mar-2024 |
Xiong Yining <xiongyining1480@phytium.com.cn> |
feat(qemu-sbsa): handle the information of CPU topology
We add the support for adding cpus/topology to device tree in sbsaQemu platform, and we can get this information via SMC calls:
- counting th
feat(qemu-sbsa): handle the information of CPU topology
We add the support for adding cpus/topology to device tree in sbsaQemu platform, and we can get this information via SMC calls:
- counting the number of sockets - counting the number of clusters in one socket - counting the number of cores in one cluster - counting the number of threads in one core
Signed-off-by: Xiong Yining <xiongyining1480@phytium.com.cn> Change-Id: I0059a5c7bb7055aba1aa5ec5bfd0ec78801874f8
show more ...
|
| #
fc26a0fc |
| 24-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "feat(qemu-sbsa): handle memory information" into integration
|
| #
8b7dd839 |
| 12-Jan-2024 |
Xiong Yining <xiongyining1480@phytium.com.cn> |
feat(qemu-sbsa): handle memory information
As a part of removing DeviceTree from EDK2, we move functions to TF-A:
- counting the number of memory nodes - checking NUMA node id - checking the memory
feat(qemu-sbsa): handle memory information
As a part of removing DeviceTree from EDK2, we move functions to TF-A:
- counting the number of memory nodes - checking NUMA node id - checking the memory address
Signed-off-by: Xiong Yining <xiongyining1480@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn> Change-Id: Ib7bce3a65c817a5b3bef6c9e0a459c7ce76c7e35
show more ...
|
| #
23d6774a |
| 16-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "feat(qemu-sbsa): mpidr needs to be present" into integration
|
| #
4fc54c99 |
| 15-Jan-2024 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
feat(qemu-sbsa): mpidr needs to be present
Coverity Scan reminded that we need to take care of MPIDR properly. We need to make sure that we get MPIDR values from QEMU.
No MPIDR == panic() in case w
feat(qemu-sbsa): mpidr needs to be present
Coverity Scan reminded that we need to take care of MPIDR properly. We need to make sure that we get MPIDR values from QEMU.
No MPIDR == panic() in case which should not happen.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: Idb5fe7d958f0bcecd3d66a643743f478538f4a8b
show more ...
|
| #
01e0f090 |
| 12-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "drop-dt-from-edk2/cpu" into integration
* changes: docs(qemu-sbsa): describe what we get from QEMU feat(qemu-sbsa): handle CPU information
|
| #
9b076436 |
| 10-Jan-2024 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
docs(qemu-sbsa): describe what we get from QEMU
QEMU provides us with minimal information about hardware platform using minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even a firm
docs(qemu-sbsa): describe what we get from QEMU
QEMU provides us with minimal information about hardware platform using minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even a firmware DeviceTree.
Change-Id: I7b6cc5f53a4f78a9ed69bc7fc2fa1a69ea65428d Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
show more ...
|
| #
42925c15 |
| 21-Nov-2023 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
feat(qemu-sbsa): handle CPU information
We want to remove use of DeviceTree from EDK2. So we move functions to TF-A:
- counting cpu cores - checking NUMA node id - checking MPIDR
And then it gets
feat(qemu-sbsa): handle CPU information
We want to remove use of DeviceTree from EDK2. So we move functions to TF-A:
- counting cpu cores - checking NUMA node id - checking MPIDR
And then it gets passed to EDK2 via SMC calls.
Change-Id: I1c7fc234ba90ba32433b6e4aa2cf127f26da00fd Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
show more ...
|
| #
54e4b922 |
| 28-Jun-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "feat(qemu_sbsa): handle GIC ITS address" into integration
|
| #
4171e981 |
| 18-May-2023 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
feat(qemu_sbsa): handle GIC ITS address
Read data from DeviceTree provided by QEMU, provide via SMC to the next firmware level.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Cha
feat(qemu_sbsa): handle GIC ITS address
Read data from DeviceTree provided by QEMU, provide via SMC to the next firmware level.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I95c5f00ab2cca3b5fda122dcc8d7704a7a82059b
show more ...
|
| #
e9736a01 |
| 06-Jun-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "version/0.1-gic" into integration
* changes: feat(qemu-sbsa): handle GIC base feat(qemu-sbsa): handle platform version
|
| #
1e67b1b1 |
| 15-May-2023 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
feat(qemu-sbsa): handle GIC base
QEMU provides GIC information in DeviceTree (on platform version 0.1+). Read it and provide to next firmware level via SMC.
Signed-off-by: Marcin Juszkiewicz <marci
feat(qemu-sbsa): handle GIC base
QEMU provides GIC information in DeviceTree (on platform version 0.1+). Read it and provide to next firmware level via SMC.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I383919bd172acc8873292a0c5e4469651dc96fb9
show more ...
|
| #
c681d02c |
| 10-May-2023 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
feat(qemu-sbsa): handle platform version
QEMU provides platform version information via DT. We want to use it in firmware to handle differences between platform versions.
Signed-off-by: Marcin Jusz
feat(qemu-sbsa): handle platform version
QEMU provides platform version information via DT. We want to use it in firmware to handle differences between platform versions.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I8def66dac9dd5d7ab0e459baa40e27a11b65f0ba
show more ...
|