[edk2] [PATCH 3/6] MdeModulePkg S3SaveStateDxe: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
S3SaveStateDxe to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c

[edk2] [PATCH 2/6] IntelSiliconPkg IntelVTdDxe: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
IntelVTdDxe to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c| 136

[edk2] [PATCH 6/6] UefiCpuPkg PiSmmCpuDxeSmm: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
PiSmmCpuDxeSmm to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Eric Dong Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- UefiCpuPkg

[edk2] [PATCH 0/6] Add new EfiFindAcpiTableBySignature() API

2018-08-31 Thread Star Zeng
: Ruiyu Ni Cc: Dandan Bi Cc: Eric Dong Cc: Laszlo Ersek Star Zeng (6): MdePkg UefiLib: Add new EfiFindAcpiTableBySignature() API IntelSiliconPkg IntelVTdDxe: Use new EfiFindAcpiTableBySignature() MdeModulePkg S3SaveStateDxe: Use new EfiFindAcpiTableBySignature() PcAtChipsetPkg PcRtc: Use new

[edk2] [PATCH 1/6] MdePkg UefiLib: Add new EfiFindAcpiTableBySignature() API

2018-08-31 Thread Star Zeng
EfiFindAcpiTableBySignature() API in UefiLib for the request and also the following patch to remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Library

[edk2] [PATCH] MdeModulePkg CapsuleApp: Fix NestedCapsuleHeader->Flags assigned wrong

2018-07-10 Thread Star Zeng
(FwType == ESRT_FW_TYPE_DEVICEFIRMWARE) ? system : device should be (FwType == ESRT_FW_TYPE_SYSTEMFIRMWARE) ? system : device Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application

[edk2] [PATCH 0/2] Capsule: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Star Zeng (2): MdeModulePkg DxeCapsuleLibFmp: Fix typo 'Press' to 'Process' SignedCapsulePkg RecoveryModuleLoadPei: Fix typo 'Press' to 'Process' MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 2 +- .../Universal

[edk2] [PATCH 2/2] SignedCapsulePkg RecoveryModuleLoadPei: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[edk2] [PATCH 1/2] MdeModulePkg DxeCapsuleLibFmp: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library

[edk2] [PATCH 3/3] MdeModulePkg CapsuleApp: Fix typo EFI_CAPSULE_RPORT_GUID

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 0/3] CapsuleApp: Some enhancements

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (3): MdeModulePkg CapsuleApp: Check Arg count for -D option MdeModulePkg CapsuleApp: Refine -D option help information MdeModulePkg CapsuleApp: Fix typo EFI_CAPSULE_RPORT_GUID MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 2/3] MdeModulePkg CapsuleApp: Refine -D option help information

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Application

[edk2] [PATCH 1/3] MdeModulePkg CapsuleApp: Check Arg count for -D option

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

[edk2] [PATCH 6/6] MdeModulePkg CapsuleApp: Use EFI_UNSUPPORTED for incorrect Argc case

2018-07-13 Thread Star Zeng
Align code to use EFI_UNSUPPORTED for all incorrect Argc cases. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 15 --- 1 file changed, 8

[edk2] [PATCH 4/6] MdeModulePkg CapsuleApp: Show clear message when option is unrecognized

2018-07-13 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 2/6] MdeModulePkg CapsuleApp: Fix memory leak in DumpFmpImage()

2018-07-13 Thread Star Zeng
Image buffer should be freed after using. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[edk2] [PATCH 3/6] MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT

2018-07-13 Thread Star Zeng
. CapsuleFlags The capsule flags field contains the CapsuleGuid flags (bits 0-15) as defined in the EFI_CAPSULE_HEADER that will be set in the capsule header. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng

[edk2] [PATCH 0/6] CapsuleApp: Some enhancements

2018-07-13 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (6): MdeModulePkg CapsuleApp: Check Arg count for -P GET option MdeModulePkg CapsuleApp: Fix memory leak in DumpFmpImage() MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT MdeModulePkg CapsuleApp: Show

[edk2] [PATCH 1/6] MdeModulePkg CapsuleApp: Check Arg count for -P GET option

2018-07-13 Thread Star Zeng
Also add help info for CapsuleApp -P GET option. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 19 +++ 1 file changed, 15 insertions

[edk2] [PATCH 5/6] MdeModulePkg CapsuleApp: Check capsule header before using its Flags

2018-07-13 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 38 1 file changed, 38 insertions(+) diff --git a/MdeModulePkg/Application

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix flush cache issue

2018-01-23 Thread Star Zeng
ted. The patch also fixed a miscalculation for Lvl3End. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/TranslationTable.c | 13 + 1 fi

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix DMA does not work issue

2018-01-17 Thread Star Zeng
Fix DMA does not work issue when system memory is not greater than 4G. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/TranslationTable.c | 11 ++

[edk2] [PATCH V2] IntelSiliconPkg/Vtd: Add DMA_CTRL_PLATFORM_OPT_IN_FLAG dump

2018-03-08 Thread Star Zeng
From: Jiewen Yao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVT

[edk2] [PATCH V2] IntelSiliconPkg/Vtd: Add MapHandleInfo in VtdDxe.

2018-03-08 Thread Star Zeng
From: Jiewen Yao <jiewen@intel.com> This information is to record which device requested which DMA buffer. It can be used for DMA buffer analysis. Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewe

[edk2] [PATCH 2/3] SourceLevelDebugPkg DebugCommUsb3: Realloc granted DXE DMA buffer

2018-03-11 Thread Star Zeng
, this patch is to reinitialize USB3 debug port with granted DXE DMA buffer accessible by SMM environment. Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH 3/3] SourceLevelDebugPkg DebugCommUsb3: Use the Handle from DebugAgentLib

2018-03-11 Thread Star Zeng
com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCommunicationLibUsb3Common.c | 86 +-- .../DebugCommunicationLibUsb3Dxe

[edk2] [PATCH 1/3] SourceLevelDebugPkg DebugCommUsb3: Refine some formats

2018-03-11 Thread Star Zeng
Refine some formats and remove some unused prototypes. Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng &l

[edk2] [PATCH 0/3] SouceLevelDebugPkg DebugCommUsb3: Enhancements after supporting IOMMU

2018-03-11 Thread Star Zeng
Please get detailed information in the separated patches. Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Star Zeng (3): SourceLevelDebugPkg DebugCommUsb3: Refine some formats SourceLevelDebugPkg DebugCommUsb3: Reall

[edk2] [PATCH] SecurityPkg OpalPasswordPei: Continue when AhciModeInitialize is failed

2018-03-13 Thread Star Zeng
tion Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c index 7f

[edk2] [PATCH] MdeModulePkg PCD: Remove PCD_TYPE_SKU_ENABLED in PCD_TYPE_ALL_SET

2018-03-13 Thread Star Zeng
Remove PCD_TYPE_SKU_ENABLED in PCD_TYPE_ALL_SET. This change was missing at e8d2a9805286a2fd4f613697cf0cccb4a1ebc90d. Cc: Liming Gao <liming@intel.com> Cc: Thomas Lamprecht <t.lampre...@proxmox.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star

[edk2] [PATCH V2 6/6] SourceLevelDebugPkg DebugUsb3: Re-Support IOMMU

2018-03-14 Thread Star Zeng
DebugAgentLib. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCommunicationLibUsb3Common.c | 256 +++ .../DebugCommuni

[edk2] [PATCH V2 5/6] SourceLevelDebugPkg DebugCommUsb3: Refine some formats/comments

2018-03-14 Thread Star Zeng
Refine some formats/comments and remove some unused prototypes. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCommunicationLibUsb3Common.c

[edk2] [PATCH V2 3/6] Revert "DebugUsb3: Support IOMMU"

2018-03-14 Thread Star Zeng
This reverts commit de8373fa07f87ca735139bb86c51e2c29fb1d956. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCommunicationLibUsb3Common.c

[edk2] [PATCH V2 4/6] SourceLevelDebugPkg DebugUsb3: Re-Fix GCC build failures

2018-03-14 Thread Star Zeng
to be also reverted when reverting IOMMU support patches, otherwise there will be conflict. This patch is to re-do ad6040ec9b5bbc462762331f9738b8e42c0b9c80. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-

[edk2] [PATCH V2 2/6] Revert "DebugUsb3: Fix GCC build failures"

2018-03-14 Thread Star Zeng
This reverts commit ad6040ec9b5bbc462762331f9738b8e42c0b9c80. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCo

[edk2] [PATCH V2 0/6] SourceLevelDebugPkg DebugUsb3: Re-Support IOMMU

2018-03-14 Thread Star Zeng
. Then DebugCommunicationLibUsb3 could get consistent Handle(instance) from DebugAgentLib. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Star Zeng (6): Revert "DebugUsb3: Check mUsb3Instance before dereferencing it" Revert "DebugUsb3: Fix GCC build failures&qu

[edk2] [PATCH V2 1/6] Revert "DebugUsb3: Check mUsb3Instance before dereferencing it"

2018-03-14 Thread Star Zeng
This reverts commit 6ef394ffe29bbc67038fc16ed540bfe6eed10e16. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Library/DebugCo

[edk2] [PATCH 1/1] IntelSiliconPkg/Vtd: Add missing dump in ExtContext.

2018-03-08 Thread Star Zeng
From: Jiewen Yao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/

[edk2] [PATCH V2] SecurityPkg OpalPasswordDxe:Fix wrong BufferSize input to UnicodeSPrint

2018-03-14 Thread Star Zeng
ent 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c index 1b

[edk2] [PATCH V2 0/7] OpalPassword: New solution without SMM device code

2018-03-07 Thread Star Zeng
: Chao Zhang <chao.b.zh...@intel.com> Star Zeng (7): MdeModulePkg LockBoxLib: Support LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY SecurityPkg TcgStorageOpalLib: Make it be base type really SecurityPkg TcgStorageCoreLib: Make it be base type really SecurityPkg OpalPassword: Add solution witho

[edk2] [PATCH V2 1/7] MdeModulePkg LockBoxLib: Support LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY

2018-03-07 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Library/LockBoxLib.h | 14 +- .../Library/SmmLockBoxLib/SmmLockBoxDxeLib.c | 4 +- .../Library/SmmLockBoxLib/

[edk2] [PATCH V2 6/7] SecurityPkg OpalPasswordSupportLib: Remove it

2018-03-07 Thread Star Zeng
Remove OpalPasswordSupportLib as it is not been used anymore. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z..

[edk2] [PATCH V2 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really

2018-03-07 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.co

[edk2] [PATCH V2 3/7] SecurityPkg TcgStorageCoreLib: Make it be base type really

2018-03-07 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.co

[edk2] [PATCH V2 7/7] SecurityPkg OpalPasswordExtraInfoVariable.h: Remove it

2018-03-07 Thread Star Zeng
Remove OpalPasswordExtraInfoVariable.h as it is not been used anymore. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z..

[edk2] [PATCH 0/7] OpalPassword: New solution without SMM device code

2018-03-06 Thread Star Zeng
to lock box used by OpalPasswordPei to unlock OPAL device for S3. The old solution related codes are also removed. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Star Zeng (7): MdeModulePkg L

[edk2] [PATCH 1/7] MdeModulePkg LockBoxLib: Support LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY

2018-03-06 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Include/Library/LockBoxLib.h | 14 +- .../Library/SmmLockBoxLib/SmmLockBoxDxeLib.c | 4 +- .../Library/SmmLockBoxLib/SmmLockBoxSmmLib.c | 227 -

[edk2] [PATCH 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really

2018-03-06 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpa

[edk2] [PATCH 3/7] SecurityPkg TcgStorageCoreLib: Make it be base type really

2018-03-06 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore

[edk2] [PATCH 6/7] SecurityPkg OpalPasswordSupportLib: Remove it

2018-03-06 Thread Star Zeng
Remove OpalPasswordSupportLib as it is not been used anymore. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.

[edk2] [PATCH 7/7] SecurityPkg OpalPasswordExtraInfoVariable.h: Remove it

2018-03-06 Thread Star Zeng
Remove OpalPasswordExtraInfoVariable.h as it is not been used anymore. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng &l

[edk2] [PATCH] SignedCapsulePkg SystemFirmwareUpdateDxe: Fix failure caused by d69d922

2018-04-13 Thread Star Zeng
t;case 1:" path in case the Handle is needed by other place in future. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com>

[edk2] [PATCH] MdePkg DxeHstiLib: Fix ErrorString pointer incorrectly calculated

2018-04-11 Thread Star Zeng
Fix ErrorString pointer is incorrectly calculated in InternalHstiIsValidTable(). Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH] UefiCpuPkg MpInitLib: Fix typo "sCPUID" to "CPUID"

2018-04-23 Thread Star Zeng
Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- UefiCpuPkg/Library/MpInitLib/Microcode.c | 4 ++-- 1 fi

[edk2] [PATCH 2/3] IntelSiliconPkg MicrocodeUpdate: Fix typo EFI_SECURITY_VIOLATIO

2018-04-23 Thread Star Zeng
Fix typo EFI_SECURITY_VIOLATIO to EFI_SECURITY_VIOLATION. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Feature/Capsule/MicrocodeUpdateDxe/MicrocodeFmp.c | 10 +-

[edk2] [PATCH 0/3] FirmwareManagement: Fix typo EFI_SECURITY_VIOLATIO

2018-04-23 Thread Star Zeng
Fix typo EFI_SECURITY_VIOLATIO to EFI_SECURITY_VIOLATION. Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming....@intel.com> Star Zeng (3): MdePkg FirmwareManagement.h: Fix typo EFI_SECURITY_VIOLATIO IntelSiliconP

[edk2] [PATCH 1/3] MdePkg FirmwareManagement.h: Fix typo EFI_SECURITY_VIOLATIO

2018-04-23 Thread Star Zeng
Fix typo EFI_SECURITY_VIOLATIO to EFI_SECURITY_VIOLATION. Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng &l

[edk2] [PATCH 3/3] SignedCapsulePkg SystemFirmwareUpdate: Fix typo EFI_SECURITY_VIOLATIO

2018-04-23 Thread Star Zeng
Fix typo EFI_SECURITY_VIOLATIO to EFI_SECURITY_VIOLATION. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c | 8 .

[edk2] [PATCH] MdeModulePkg EsrtFmpDxe: Use EfiBootServicesData for ESRT table

2018-04-23 Thread Star Zeng
oCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c b/MdeModulePkg/Universal/EsrtFmpDxe/Esrt

[edk2] [PATCH] MdeModulePkg NvmExpressDxe: return error code in error path

2018-04-23 Thread Star Zeng
gt; Cc: Michael Turner <michael.tur...@microsoft.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModu

[edk2] [PATCH] IntelSiliconPkg MicrocodeUpdateDxe: Honor FIT table

2018-04-23 Thread Star Zeng
It is the second step for https://bugzilla.tianocore.org/show_bug.cgi?id=540. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Capsule/MicrocodeUpdateDxe/MicrocodeFmp.

[edk2] [PATCH] SecurityPkg FmpAuthenticationLibRsa2048Sha256: Remove PCD reference

2018-04-16 Thread Star Zeng
in this library instance to be aligned with FmpAuthenticationLibPkcs7 that does not reference PcdPkcs7CertBuffer. Cc: Chao Zhang <chao.b.zh...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star

[edk2] [PATCH] MdeModulePkg DxeCapsuleLibFmp: Fix wrong Index is used

2018-04-16 Thread Star Zeng
tribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b/MdeModulePkg/Library/DxeCapsuleLib

[edk2] [PATCH] MdeModulePkg Variable: Align TPL level for (Smm)EndOfDxe callback

2018-03-28 Thread Star Zeng
untimeDxe and VariableSmm. Cc: Chasel Chiu <chasel.c...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com&g

[edk2] [PATCH 0/2] Refine some comments about SmmMemoryAttribute

2018-04-02 Thread Star Zeng
Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Star Zeng (2): MdeModulePkg SmmMemoryAttribute.h: Refine some comments UefiCpuPkg PiSmmCpuDxeSmm: Refine some comments about SmmMemoryAttribute MdeModulePkg/Include/Protocol/SmmMemoryAttribute.h

[edk2] [PATCH 2/2] UefiCpuPkg PiSmmCpuDxeSmm: Refine some comments about SmmMemoryAttribute

2018-04-02 Thread Star Zeng
Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 15 ++- UefiCpuPkg/PiSmmCpuDxeSmm/Sm

[edk2] [PATCH 1/2] MdeModulePkg SmmMemoryAttribute.h: Refine some comments

2018-04-02 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Include/Protocol/SmmMemoryAttribute.h | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/MdeModulePkg/Include/Protocol/SmmMemoryAttribu

[edk2] [PATCH V2] MdeModulePkg/Gcd: Filter gCpu->SetMemoryAttributes() calls

2018-04-03 Thread Star Zeng
o <heyi@linaro.org> Cc: Yi Li <phoenix.l...@huawei.com> Cc: Renhao Liang <liangren...@huawei.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Jian J Wang <jian.j.w...@intel.com> C

[edk2] [PATCH] SignedCapsulePkg SystemCapsuleLib: Change some dbg level to DEBUG_INFO

2018-04-04 Thread Star Zeng
gt; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/SignedCapsulePkg/Libra

[edk2] [PATCH] SourceLevelDebugPkg DebugCommUsb3: Return error when debug cap is reset

2018-03-19 Thread Star Zeng
00 D14 F00 Type - 1 (read) Reason - 6 IVA_REG - 0x IOTLB_REG - 0x1200 This patch is to return error for the case. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off

[edk2] [PATCH 1/1] IntelSiliconPkg/Vtd: Add more debug info.

2018-03-18 Thread Star Zeng
From: Jiewen Yao <jiewen@intel.com> Add more debug info for reason code. Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Star Zeng <star.z...@intel.com> --- Int

[edk2] [PATCH] IntelSiliconPkg VTdPmrPei: Add PcdVTdPeiDmaBufferSize(S3)

2018-03-05 Thread Star Zeng
Add PcdVTdPeiDmaBufferSize(S3) to replace the hard coded value TOTAL_DMA_BUFFER_SIZE and TOTAL_DMA_BUFFER_SIZE_S3 in IntelVTdPmrPei. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- ...

[edk2] [PATCH] IntelSiliconPkg VTdPmrPei: Return SUCCESS when Mapping == NULL in Unmap

2018-03-05 Thread Star Zeng
== NULL in PeiIoMmuUnmap(). This patch is to correct it. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c | 4 ++-- 1 fil

[edk2] [PATCH] MdeModulePkg UsbMass: Correct comment about TPL for BLOCK IO APIs

2018-03-02 Thread Star Zeng
Current BLOCK IO API code is using TPL_CALLBACK, but comment is saying TPL_NOTIFY. Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c | 6 ++

[edk2] [PATCH 2/3] MdeModulePkg PiSmmCore: Register SMI handler to install S3SmmInitDone

2018-03-01 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 62 ++- MdeModulePkg/Core/PiSmmCore/PiSmmC

[edk2] [PATCH 0/3] Add S3SmmInitDone point

2018-03-01 Thread Star Zeng
to SMM by communication, and then PiSmmCore will install the protocol. Star Zeng (3): MdeModulePkg: Add S3SmmInitDone definition MdeModulePkg PiSmmCore: Register SMI handler to install S3SmmInitDone UefiCpuPkg S3ResumePei: Signal S3SmmInitDone MdeModulePkg/Core/PiSmmCore/PiSmmCore.c

[edk2] [PATCH 1/3] MdeModulePkg: Add S3SmmInitDone definition

2018-03-01 Thread Star Zeng
com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Include/Guid/S3SmmInitDone.h | 27 +++ MdeModulePkg/MdeModulePkg.dec | 3 +++ 2 files changed, 30 insertions(+) create mode 100644

[edk2] [PATCH 3/3] UefiCpuPkg S3ResumePei: Signal S3SmmInitDone

2018-03-01 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- UefiCpuPkg/Universal/Acpi/S3Res

[edk2] [PATCH 2/2] MdeModulePkg Variable: Make sure no more than one Variable HOB

2018-06-28 Thread Star Zeng
VariableHob may be built in PcdPeim (by PcdNvStoreDefaultValueBuffer) or some platform module (by some tool). The two solutions should not be co-exist. Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg

[edk2] [PATCH 1/2] MdeModulePkg Variable: Abstract GetHobVariableStore function

2018-06-28 Thread Star Zeng
Move getting HOB variable store code logic to a separated GetHobVariableStore function. Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 40

[edk2] [PATCH 0/2] Variable: Make sure no more than one Variable HOB

2018-06-28 Thread Star Zeng
Star Zeng (2): MdeModulePkg Variable: Abstract GetHobVariableStore function MdeModulePkg Variable: Make sure no more than one Variable HOB MdeModulePkg/Universal/Variable/Pei/Variable.c | 64 --- .../Universal/Variable/RuntimeDxe/Variable.c | 117 +++-- 2

[edk2] [PATCH] MdeModulePkg PeiCore: Not assume PpiDescriptor and Ppi in same range

2018-06-28 Thread Star Zeng
-by: Star Zeng --- MdeModulePkg/Core/Pei/Ppi/Ppi.c | 204 ++-- 1 file changed, 115 insertions(+), 89 deletions(-) diff --git a/MdeModulePkg/Core/Pei/Ppi/Ppi.c b/MdeModulePkg/Core/Pei/Ppi/Ppi.c index 139cfeda0575..d8ba2dd42b59 100644 --- a/MdeModulePkg/Core/Pei/Ppi

[edk2] [PATCH] MdeModulePkg SataControllerDxe: Calculate ChannelCount based on PI value

2018-06-28 Thread Star Zeng
ore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Bus/Pci/SataControllerDxe/SataController.c | 28 ++ .../Bus/Pci/SataControllerDxe/SataController.h | 1 + 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/SataController

[edk2] [PATCH] MdePkg UefiLib: Check Table against NULL in ScanTableInSDT

2018-10-19 Thread Star Zeng
Table against NULL first before accessing Table->Signature. Cc: Liming Gao Cc: Michael D Kinney Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Library/UefiLib/Acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[edk2] [PATCH 0/2] Xhci: Handle value 5 in Port Speed field of PORTSC

2018-10-20 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1267 Please refer to the log message of each commit for more details. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Star Zeng (2): MdeModulePkg XhciDxe: Assign Usb2Hc.XXXRevision based on SBRN MdeModulePkg Xhci: Handle value 5 in Port Speed

[edk2] [PATCH 1/2] MdeModulePkg XhciDxe: Assign Usb2Hc.XXXRevision based on SBRN

2018-10-20 Thread Star Zeng
: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c| 14 ++ MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c

[edk2] [PATCH 2/2] MdeModulePkg Xhci: Handle value 5 in Port Speed field of PORTSC

2018-10-20 Thread Star Zeng
November 2017. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c| 4 +++- MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h | 4 ++-- MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c | 6

[edk2] [PATCH] MdeModulePkg PcdDxe: ASSERT PcdSetNvStoreDefaultId set

2018-10-12 Thread Star Zeng
: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/PCD/Dxe/Pcd.c | 5 + MdeModulePkg/Universal/PCD/Dxe/Pcd.inf | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[edk2] [PATCH] MdeModulePkg Variable: Fix Timestamp zeroing issue on APPEND_WRITE

2018-10-15 Thread Star Zeng
. This patch fixes this issue. Cc: Jiewen Yao Cc: Chao Zhang Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Universal

[edk2] [PATCH V3 2/4] MdeModulePkg EhciDxe: Extract new EhciInsertAsyncIntTransfer function

2018-10-26 Thread Star Zeng
e preparation for following patch, no essential functional change. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 25 +-- MdeModu

[edk2] [PATCH V3 3/4] MdeModulePkg XhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-26 Thread Star Zeng
from both the processor's and the bus master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-of

[edk2] [PATCH V3 0/4] Remove unnecessary Map/Unmap in XhciDxe/EhciDxe for AsyncInterruptTransfer

2018-10-26 Thread Star Zeng
2. Remove the unnecessary indentation change. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1274 Please refer to the log message of each commit for more details. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Star Zeng (4): MdeModulePkg XhciDxe: Extract new XhciInsertAsyncI

[edk2] [PATCH V3 1/4] MdeModulePkg XhciDxe: Extract new XhciInsertAsyncIntTransfer function

2018-10-26 Thread Star Zeng
ction from XhcAsyncInterruptTransfer. It is code preparation for following patch, no essential functional change. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu --- MdeModulePkg/Bus/Pci/Xhci

[edk2] [PATCH V3 4/4] MdeModulePkg EhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-26 Thread Star Zeng
us master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni Reviewed-by: Hao Wu --- Mde

[edk2] [PATCH 3/4] MdeModulePkg XhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
us master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c |

[edk2] [PATCH 4/4] MdeModulePkg EhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
us master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 3

[edk2] [PATCH 1/4] MdeModulePkg XhciDxe: Extract new XhciInsertAsyncIntTransfer function

2018-10-25 Thread Star Zeng
: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 18 +--- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 74 +--- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.h | 28 3 files changed, 98 insertions(+), 22

[edk2] [PATCH 0/4] Remove unnecessary Map/Unmap in XhciDxe/EhciDxe for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1274 Please refer to the log message of each commit for more details. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Star Zeng (4): MdeModulePkg XhciDxe: Extract new XhciInsertAsyncIntTransfer function MdeModulePkg EhciDxe

[edk2] [PATCH] IntelSiliconPkg VTdDxe: Option to force no early access attr request

2018-10-23 Thread Star Zeng
: Rangasai V Chaganty Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c | 8 +++- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.c | 7 +++ IntelSiliconPkg/IntelSiliconPkg.dec

[edk2] [PATCH] IntelSiliconPkg VTdDxe: Report status code for VTd error

2018-10-23 Thread Star Zeng
: Rangasai V Chaganty Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.h | 1 + IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf | 2 ++ IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c| 1

<    2   3   4   5   6   7   8   9   >