* [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency
@ 2022-07-08 21:02 Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency Kun Qin
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel
Cc: Ard Biesheuvel, Leif Lindholm, Graeme Gregory, Radoslaw Biernacki,
Masami Hiramatsu, Nhi Pham, Vu Nguyen, Thang Nguyen, Chuong Tran,
Thomas Abraham, Sami Mujawar, Abner Chang, Gilbert Chen,
Daniel Schaefer, Jeremy Linton, Peng Xie, Ling Jia, Yiqi Shu
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This patch series added the new library instance from SecurityPkg to
resolve edk2 platforms build.
Patch v1 branch: https://github.com/kuqin12/edk2-platforms/tree/fix_sb_dep
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Graeme Gregory <graeme@nuviainc.com>
Cc: Radoslaw Biernacki <rad@semihalf.com>
Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Cc: Nhi Pham <nhi@os.amperecomputing.com>
Cc: Vu Nguyen <vunguyen@os.amperecomputing.com>
Cc: Thang Nguyen <thang@os.amperecomputing.com>
Cc: Chuong Tran <chuong@os.amperecomputing.com>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Peng Xie <xiepeng@phytium.com.cn>
Cc: Ling Jia <jialing@phytium.com.cn>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Kun Qin (7):
RaspberryPi: Pipeline: Resolving newly introduced dependency
U5SeriesPkg: Pipeline: Resolving newly introduced dependency
VExpressPkg: Pipeline: Resolving newly introduced dependency
Qemu: Pipeline: Resolving newly introduced dependency
Socionext: Pipeline: Resolving newly introduced dependency
AmpereAltraPkg: Pipeline: Resolving newly introduced dependency
PhytiumCommonPkg: Pipeline: Resolving newly introduced dependency
Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 +
Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 1 +
Platform/RaspberryPi/RPi3/RPi3.dsc | 1 +
Platform/RaspberryPi/RPi4/RPi4.dsc | 1 +
Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 +
Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1 +
Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 1 +
Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 1 +
Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc | 1 +
9 files changed, 9 insertions(+)
--
2.37.0.windows.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-14 15:30 ` Jeremy Linton
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 2/7] U5SeriesPkg: " Kun Qin
` (5 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Jeremy Linton
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
RaspberryPi platforms build.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Platform/RaspberryPi/RPi3/RPi3.dsc | 1 +
Platform/RaspberryPi/RPi4/RPi4.dsc | 1 +
2 files changed, 2 insertions(+)
diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc
index 0eed03c097f8..4e7377a00036 100644
--- a/Platform/RaspberryPi/RPi3/RPi3.dsc
+++ b/Platform/RaspberryPi/RPi3/RPi3.dsc
@@ -169,6 +169,7 @@ [LibraryClasses.common]
PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
!else
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
index eabddd7382cf..8ba0ca61851e 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.dsc
+++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
@@ -166,6 +166,7 @@ [LibraryClasses.common]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
# re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 2/7] U5SeriesPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 3/7] VExpressPkg: " Kun Qin
` (4 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Abner Chang, Gilbert Chen, Daniel Schaefer
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
U5SeriesPkg platforms build.
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 +
Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1 +
2 files changed, 2 insertions(+)
diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
index 7b36b2c885e0..fc1ed012a541 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
@@ -127,6 +127,7 @@ [LibraryClasses]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
!else
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index 26895a75ec2f..e59955d09452 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -127,6 +127,7 @@ [LibraryClasses]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
!else
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 3/7] VExpressPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 2/7] U5SeriesPkg: " Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-14 16:16 ` [edk2-devel] " Sami Mujawar
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 4/7] Qemu: " Kun Qin
` (3 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Ard Biesheuvel, Thomas Abraham, Sami Mujawar
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
ArmVExpress platforms build.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
index e637f8933f79..17e4a3fd13d7 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
@@ -143,6 +143,7 @@ [LibraryClasses.common]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
# re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 4/7] Qemu: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
` (2 preceding siblings ...)
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 3/7] VExpressPkg: " Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 5/7] Socionext: " Kun Qin
` (2 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Graeme Gregory, Radoslaw Biernacki
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
SbsaQemu platform builds.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Graeme Gregory <graeme@nuviainc.com>
Cc: Radoslaw Biernacki <rad@semihalf.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
index 97014e2fb630..c912424173a6 100644
--- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
+++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
@@ -158,6 +158,7 @@ [LibraryClasses.common]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
# re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 5/7] Socionext: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
` (3 preceding siblings ...)
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 4/7] Qemu: " Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: " Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 7/7] PhytiumCommonPkg: " Kun Qin
6 siblings, 0 replies; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Masami Hiramatsu
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
DeveloperBox platforms build.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
index 8419c89318fb..917c1532fb3c 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
@@ -55,6 +55,7 @@ [LibraryClasses]
!if $(SECURE_BOOT_ENABLE) == TRUE
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
!endif
[LibraryClasses.common.SEC]
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
` (4 preceding siblings ...)
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 5/7] Socionext: " Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
2022-07-14 3:30 ` Nhi Pham
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 7/7] PhytiumCommonPkg: " Kun Qin
6 siblings, 1 reply; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Nhi Pham, Vu Nguyen, Thang Nguyen, Chuong Tran, Leif Lindholm
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
AmpereAltraPkg platforms build.
Cc: Nhi Pham <nhi@os.amperecomputing.com>
Cc: Vu Nguyen <vunguyen@os.amperecomputing.com>
Cc: Thang Nguyen <thang@os.amperecomputing.com>
Cc: Chuong Tran <chuong@os.amperecomputing.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
index f4007d654ec8..f2c991b6aa6d 100644
--- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
+++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
@@ -144,6 +144,7 @@ [LibraryClasses.common]
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
#
# re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [edk2-platforms][PATCH v1 7/7] PhytiumCommonPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
` (5 preceding siblings ...)
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: " Kun Qin
@ 2022-07-08 21:02 ` Kun Qin
6 siblings, 0 replies; 11+ messages in thread
From: Kun Qin @ 2022-07-08 21:02 UTC (permalink / raw)
To: devel; +Cc: Leif Lindholm, Peng Xie, Ling Jia, Yiqi Shu
The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.
This change added the new library instance from SecurityPkg to resolve
PhytiumCommonPkg platforms build.
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Peng Xie <xiepeng@phytium.com.cn>
Cc: Ling Jia <jialing@phytium.com.cn>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc b/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc
index 2565b8ac626a..42fe2a5c2246 100644
--- a/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc
+++ b/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc
@@ -83,6 +83,7 @@ [LibraryClasses.common]
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
--
2.37.0.windows.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: " Kun Qin
@ 2022-07-14 3:30 ` Nhi Pham
0 siblings, 0 replies; 11+ messages in thread
From: Nhi Pham @ 2022-07-14 3:30 UTC (permalink / raw)
To: Kun Qin, devel; +Cc: Vu Nguyen, Thang Nguyen, Chuong Tran, Leif Lindholm
Thanks for the patch.
Reviewed-by: Nhi Pham <nhi@os.amperecomputing.com>
On 09/07/2022 04:02, Kun Qin wrote:
> The new changes in SecureBootVariableLib brought in a new dependency
> of PlatformPKProtectionLib.
>
> This change added the new library instance from SecurityPkg to resolve
> AmpereAltraPkg platforms build.
>
> Cc: Nhi Pham<nhi@os.amperecomputing.com>
> Cc: Vu Nguyen<vunguyen@os.amperecomputing.com>
> Cc: Thang Nguyen<thang@os.amperecomputing.com>
> Cc: Chuong Tran<chuong@os.amperecomputing.com>
> Cc: Leif Lindholm<quic_llindhol@quicinc.com>
>
> Signed-off-by: Kun Qin<kuqin12@gmail.com>
> ---
> Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
> index f4007d654ec8..f2c991b6aa6d 100644
> --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
> +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
> @@ -144,6 +144,7 @@ [LibraryClasses.common]
> BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
> SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
> SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
> + PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
>
> #
> # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency Kun Qin
@ 2022-07-14 15:30 ` Jeremy Linton
0 siblings, 0 replies; 11+ messages in thread
From: Jeremy Linton @ 2022-07-14 15:30 UTC (permalink / raw)
To: Kun Qin, devel; +Cc: Ard Biesheuvel, Leif Lindholm
Hi,
On 7/8/22 16:02, Kun Qin wrote:
> The new changes in SecureBootVariableLib brought in a new dependency
> of PlatformPKProtectionLib.
>
> This change added the new library instance from SecurityPkg to resolve
> RaspberryPi platforms build.
This applies cleanly, and fixes the build break when the rpis are built
against the latest edk2 branch.
Thanks,
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> Cc: Jeremy Linton <jeremy.linton@arm.com>
>
> Signed-off-by: Kun Qin <kuqin12@gmail.com>
> ---
> Platform/RaspberryPi/RPi3/RPi3.dsc | 1 +
> Platform/RaspberryPi/RPi4/RPi4.dsc | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc
> index 0eed03c097f8..4e7377a00036 100644
> --- a/Platform/RaspberryPi/RPi3/RPi3.dsc
> +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc
> @@ -169,6 +169,7 @@ [LibraryClasses.common]
> PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
> SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
> SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
> + PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
> !else
> TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
> AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
> diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
> index eabddd7382cf..8ba0ca61851e 100644
> --- a/Platform/RaspberryPi/RPi4/RPi4.dsc
> +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
> @@ -166,6 +166,7 @@ [LibraryClasses.common]
> AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
> SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
> SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
> + PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
>
> # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
> PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [edk2-devel] [edk2-platforms][PATCH v1 3/7] VExpressPkg: Pipeline: Resolving newly introduced dependency
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 3/7] VExpressPkg: " Kun Qin
@ 2022-07-14 16:16 ` Sami Mujawar
0 siblings, 0 replies; 11+ messages in thread
From: Sami Mujawar @ 2022-07-14 16:16 UTC (permalink / raw)
To: Kun Qin, devel
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Hi Kun,
Thank you for this patch.
These changes look good to me.
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Regards,
Sami Mujawar
[-- Attachment #2: Type: text/html, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-07-14 16:16 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08 21:02 [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency Kun Qin
2022-07-14 15:30 ` Jeremy Linton
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 2/7] U5SeriesPkg: " Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 3/7] VExpressPkg: " Kun Qin
2022-07-14 16:16 ` [edk2-devel] " Sami Mujawar
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 4/7] Qemu: " Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 5/7] Socionext: " Kun Qin
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: " Kun Qin
2022-07-14 3:30 ` Nhi Pham
2022-07-08 21:02 ` [edk2-platforms][PATCH v1 7/7] PhytiumCommonPkg: " Kun Qin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox