bsp: trusted-firmware-a: update patches' upstream status
PATCH 1/1 bsp: trusted-firmware-a: update patches' upstream status
From: Quentin Schulz <[email protected]>
The patches were sent upstream for review, so let's update their upstream status to point at the patchset in the appropriate Gerrit.
Signed-off-by Quentin Schulz <[email protected]>
--- ...01-fix-rk3399-dram-Fix-build-with-gcc-11.patch} | 14 ++++++++------ ...-plat_macros.S-Use-compatible-.asciz-asm.patch} | 15 +++++++++------ ...-pmu-Do-not-mark-already-defined-functio.patch} | 22 ++++++++++++++-------- .../trusted-firmware-a_%.bbappend | 6 +++--- 4 files changed, 34 insertions(+), 23 deletions(-)
recipes-bsp/trusted-firmware-a/files/0001-fix-rk3399-dram-Fix-build-with-gcc-11.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-dram-Fix-build-with-gcc-11.patch +8 -6
@@ -1,7 +1,7 @@ -From a09a1de53aba422249a8376b0d95024200021317 Mon Sep 17 00:00:00 2001 +From 300856a62de723e9a04376172e26fb01fa210f6f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 11:55:31 -0700 -Subject: [PATCH] dram: Fix build with gcc 11 +Subject: [PATCH 1/3] fix(rk3399): dram: Fix build with gcc 11 This is a redundant assignment which GCC warns about.
@@ -11,8 +11,13 @@ plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c:781:11: error: explicitly a twr_tmp = twr_tmp; ~~~~~~~ ^ ~~~~~~~ -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[add fix(rk3399): prefix to commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: Ib12281e0720346ffe68e81a24ea772ddc89d4f83 + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33082] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -30,6 +35,3 @@ index 3cdb7a296..76bc5ee96 100644 else if (twr_tmp <= 14) twr_tmp = 14; else --- -2.31.1 -
recipes-bsp/trusted-firmware-a/files/0002-fix-rockchip-plat_macros.S-Use-compatible-.asciz-asm.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-plat_macros.S-Use-compatible-.asciz-asm-directive.patch +9 -6
@@ -1,13 +1,19 @@ -From 5f78ce7eb9ab6bf5af682a715a9264d2a5ee7666 Mon Sep 17 00:00:00 2001 +From 1dcf6b1f6f50396c503c9506629c7a9371f8118b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 12:06:34 -0700 -Subject: [PATCH] plat_macros.S: Use compatible .asciz asm directive +Subject: [PATCH 2/3] fix(rockchip): plat_macros.S: Use compatible .asciz asm + directive clang asm does not like two strings to .asciz therefore make it single string which works on clang too. -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[added fix(rockchip): prefix to commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: I5bbc71b3d78c479d0f8099ee0a95ed77287c2bc2 + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33083] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/common/include/plat_macros.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
@@ -26,6 +32,3 @@ index 691beeb44..c07be9ca9 100644 newline: .asciz "\n" spacer: --- -2.31.1 -
recipes-bsp/trusted-firmware-a/files/0003-fix-rockchip-pmu-Do-not-mark-already-defined-functio.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-pmu-Do-not-mark-already-defined-functions-as-weak.patch +14 -8
@@ -1,24 +1,33 @@ -From 9d963cd69faf94bdcb80624132fd10392f57875b Mon Sep 17 00:00:00 2001 +From ba25a5bb2641feeacadbd7ec01ab03169aa0da6e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 12:11:51 -0700 -Subject: [PATCH] pmu: Do not mark already defined functions as weak +Subject: [PATCH 3/3] fix(rockchip): pmu: Do not mark already defined functions + as weak These functions are already defined as static functions in same header Fixes -| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: error: weak identifier 'pmu_power_domain_ctr' never declared [-Werror] | #pragma weak pmu_power_domain_ctr | ^ +| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: error: weak identifier 'pmu_power_domain_ctr' never declared [-Werror] +| #pragma weak pmu_power_domain_ctr +| ^ | plat/rockchip/common/drivers/pmu/pmu_com.h:36:14: error: weak identifier 'check_cpu_wfie' never declared [-Werror] | #pragma weak check_cpu_wfie | ^ -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[fixed alignment in commit log] +[added fix(rockchip): prefix in commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: I96d4acbe743ba4b8996f0be0fa713b341bd4903c + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33084] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/common/drivers/pmu/pmu_com.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/plat/rockchip/common/drivers/pmu/pmu_com.h b/plat/rockchip/common/drivers/pmu/pmu_com.h -index 5359f73b4..3f9ce7df9 100644 +index 022bb024a..259c8c006 100644 --- a/plat/rockchip/common/drivers/pmu/pmu_com.h +++ b/plat/rockchip/common/drivers/pmu/pmu_com.h @@ -32,8 +32,6 @@ enum pmu_pd_state {
@@ -30,6 +39,3 @@ index 5359f73b4..3f9ce7df9 100644 static inline uint32_t pmu_power_domain_st(uint32_t pd) { --- -2.31.1 -
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +3 -3
@@ -8,9 +8,9 @@ COMPATIBLE_MACHINE:append:px30 = "|px30" FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI += "\ - file://0001-dram-Fix-build-with-gcc-11.patch \ - file://0001-plat_macros.S-Use-compatible-.asciz-asm-directive.patch \ - file://0001-pmu-Do-not-mark-already-defined-functions-as-weak.patch \ + file://0001-fix-rk3399-dram-Fix-build-with-gcc-11.patch \ + file://0002-fix-rockchip-plat_macros.S-Use-compatible-.asciz-asm.patch \ + file://0003-fix-rockchip-pmu-Do-not-mark-already-defined-functio.patch \ "
---
base-commit: 24a411a17f389650c4cea38bef1f9279117fab8e
change-id: 20241028-tf-a-patch-submitted-ea5291721247
Best regards,
Signature · 1 line
Quentin Schulz <[email protected]>
lgtm
Quoted 169 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
The patches were sent upstream for review, so let's update their upstream status to point at the patchset in the appropriate Gerrit.
Signed-off-by Quentin Schulz <[email protected]>--- ...01-fix-rk3399-dram-Fix-build-with-gcc-11.patch} | 14 ++++++++------ ...-plat_macros.S-Use-compatible-.asciz-asm.patch} | 15 +++++++++------ ...-pmu-Do-not-mark-already-defined-functio.patch} | 22 ++++++++++++++-------- .../trusted-firmware-a_%.bbappend | 6 +++--- 4 files changed, 34 insertions(+), 23 deletions(-)recipes-bsp/trusted-firmware-a/files/0001-fix-rk3399-dram-Fix-build-with-gcc-11.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-dram-Fix-build-with-gcc-11.patch +8
-6@@ -1,7 +1,7 @@ -From a09a1de53aba422249a8376b0d95024200021317 Mon Sep 17 00:00:00 2001 +From 300856a62de723e9a04376172e26fb01fa210f6f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 11:55:31 -0700 -Subject: [PATCH] dram: Fix build with gcc 11 +Subject: [PATCH 1/3] fix(rk3399): dram: Fix build with gcc 11 This is a redundant assignment which GCC warns about.@@ -11,8 +11,13 @@ plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c:781:11: error: explicitly a twr_tmp = twr_tmp; ~~~~~~~ ^ ~~~~~~~ -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[add fix(rk3399): prefix to commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: Ib12281e0720346ffe68e81a24ea772ddc89d4f83 + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33082] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)@@ -30,6 +35,3 @@ index 3cdb7a296..76bc5ee96 100644 else if (twr_tmp <= 14) twr_tmp = 14; else --- -2.31.1 -recipes-bsp/trusted-firmware-a/files/0002-fix-rockchip-plat_macros.S-Use-compatible-.asciz-asm.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-plat_macros.S-Use-compatible-.asciz-asm-directive.patch +9
-6@@ -1,13 +1,19 @@ -From 5f78ce7eb9ab6bf5af682a715a9264d2a5ee7666 Mon Sep 17 00:00:00 2001 +From 1dcf6b1f6f50396c503c9506629c7a9371f8118b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 12:06:34 -0700 -Subject: [PATCH] plat_macros.S: Use compatible .asciz asm directive +Subject: [PATCH 2/3] fix(rockchip): plat_macros.S: Use compatible .asciz asm + directive clang asm does not like two strings to .asciz therefore make it single string which works on clang too. -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[added fix(rockchip): prefix to commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: I5bbc71b3d78c479d0f8099ee0a95ed77287c2bc2 + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33083] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/common/include/plat_macros.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)@@ -26,6 +32,3 @@ index 691beeb44..c07be9ca9 100644 newline: .asciz "\n" spacer: --- -2.31.1 -recipes-bsp/trusted-firmware-a/files/0003-fix-rockchip-pmu-Do-not-mark-already-defined-functio.patch renamed from recipes-bsp/trusted-firmware-a/files/0001-pmu-Do-not-mark-already-defined-functions-as-weak.patch +14
-8@@ -1,24 +1,33 @@ -From 9d963cd69faf94bdcb80624132fd10392f57875b Mon Sep 17 00:00:00 2001 +From ba25a5bb2641feeacadbd7ec01ab03169aa0da6e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 11 May 2021 12:11:51 -0700 -Subject: [PATCH] pmu: Do not mark already defined functions as weak +Subject: [PATCH 3/3] fix(rockchip): pmu: Do not mark already defined functions + as weak These functions are already defined as static functions in same header Fixes -| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: error: weak identifier 'pmu_power_domain_ctr' never declared [-Werror] | #pragma weak pmu_power_domain_ctr | ^ +| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: error: weak identifier 'pmu_power_domain_ctr' never declared [-Werror] +| #pragma weak pmu_power_domain_ctr +| ^ | plat/rockchip/common/drivers/pmu/pmu_com.h:36:14: error: weak identifier 'check_cpu_wfie' never declared [-Werror] | #pragma weak check_cpu_wfie | ^ -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +[fixed alignment in commit log] +[added fix(rockchip): prefix in commit title] +Signed-off-by: Quentin Schulz <[email protected]> +Change-Id: I96d4acbe743ba4b8996f0be0fa713b341bd4903c + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/33084] +Signed-off-by: Quentin Schulz <[email protected]> --- plat/rockchip/common/drivers/pmu/pmu_com.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/plat/rockchip/common/drivers/pmu/pmu_com.h b/plat/rockchip/common/drivers/pmu/pmu_com.h -index 5359f73b4..3f9ce7df9 100644 +index 022bb024a..259c8c006 100644 --- a/plat/rockchip/common/drivers/pmu/pmu_com.h +++ b/plat/rockchip/common/drivers/pmu/pmu_com.h @@ -32,8 +32,6 @@ enum pmu_pd_state {@@ -30,6 +39,3 @@ index 5359f73b4..3f9ce7df9 100644 static inline uint32_t pmu_power_domain_st(uint32_t pd) { --- -2.31.1 -recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +3
-4@@ -8,9 +8,9 @@ COMPATIBLE_MACHINE:append:px30 = "|px30" FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI += "\ - file://0001-dram-Fix-build-with-gcc-11.patch \ - file://0001-plat_macros.S-Use-compatible-.asciz-asm-directive.patch \ - file://0001-pmu-Do-not-mark-already-defined-functions-as-weak.patch \ + file://0001-fix-rk3399-dram-Fix-build-with-gcc-11.patch \ + file://0002-fix-rockchip-plat_macros.S-Use-compatible-.asciz-asm.patch \ + file://0003-fix-rockchip-pmu-Do-not-mark-already-defined-functio.patch \ " ---base-commit:
24a411a17f389650c4cea38bef1f9279117fab8e
change-id: 20241028-tf-a-patch-submitted-ea5291721247Best regards,
--
Quentin Schulz <[email protected]>