Re: [edk2-devel] [PATCH] BaseTools: Optimize GenerateByteArrayValue and CollectPlatformGuids APIs

2024-01-22 Thread Michael D Kinney
Hi Ashraf, The PcdValueInit feature is not limited to only PCDs of type VPD. It is for any structured PCDs. Did you test PCDs with all types (e.g. PcdsFixedAtBuild PcdsPactahbleInModule, PcdsDynamicHii, PcdsDynamicDatabase, PcdsDynamicVpd, PcdsDynamicExHii, PcdsDynamicExDatabase,

Re: [edk2-devel] [PATCH V2 1/1] MdePkg: Update the definition of FileName on EFI_FILE_INFO

2024-01-22 Thread Michael D Kinney
[edk2-devel] [PATCH V2 1/1] MdePkg: Update the definition of > FileName on EFI_FILE_INFO > > Add the description of FileName to align with UEFI spec 2.10. > > REF: UEFI spec 2.10 Table 13.5.16 > > Signed-off-by: Suqiang Ren > Cc: Michael D Kinney > Cc: Liming Gao >

Re: [edk2-devel] [PATCH 1/1] MdePkg: Add EFI_UNSUPPORTED return for some Runtime Service functions

2024-01-22 Thread Michael D Kinney
RTIES_TABLE configuration table should be published > describing which runtime services are supported at runtime. So need to > add EFI_UNSUPPORTED return for some Runtime Service functions. > > REF: UEFI spec 2.10 section 8 Services — Runtime Services > > Signed-off-by: Suqiang Ren &

Re: [edk2-devel] [PATCH 1/1] StandaloneMmPkg/Core: Remove optimization for depex evaluation

2024-01-22 Thread Michael D Kinney
Hi Ray, +Andrew Fish That optimization was imported into git history 17 years ago, so it has effectively always been there. I do not recall the performance improvement at the time the optimization was originally implemented. The difference in behavior is that caching the result may miss an

Re: [edk2-devel] [PATCH v1 1/1] .pytool/Plugin: UncrustifyCheck: use stat instead of os.stat

2024-01-22 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Joey Vagedes > Sent: Monday, January 22, 2024 3:21 PM > To: devel@edk2.groups.io > Cc: Liming Gao ; Kinney, Michael D > ; Sean Brogan > Subject: [PATCH v1 1/1] .pytool/Plugin: UncrustifyCheck: use stat

Re: [edk2-devel] [PATCH 1/1] MdePkg:Updated the comments of EFI_FIRMWARE_MANAGEMENT_PROTOCOL

2024-01-22 Thread Michael D Kinney
ImageSize is not too small and Image is NULL." > > > > 2.For EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImageInfo(): > > Add the following sentence at the end of the ImageInfo parameter > > description."May be NULL with a zero ImageInfoSize in order to > > determine the size of t

Re: [edk2-devel] EFI_SYSTEM_TABLE allocated by AllocateRuntimeCopyPool isn't aligned to 4KB

2024-01-22 Thread Michael D Kinney
Hi Rebecca, I do not recall any statements in the EFI Spec that require 4KB alignment of the UEFI System Table, Boot Services Table, or Runtime Services Table. Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Rebecca > Cran > Sent: Monday, January 22, 2024 11:53 AM

Re: [edk2-devel] [PATCH] MdePkg: fix the types of casting for TD MMIO read

2024-01-19 Thread Michael D Kinney
f casting for > TD MMIO read > > Reviewed-by: Michael D Kinney > > Please include Cc tags in commit message with the maintainers of > the patch for review. Otherwise, the maintainers may miss the > email patches. > > Thanks, > > Mike > > > &

Re: [edk2-devel] [PATCH v2 1/1] MdePkg/IndustryStandard: Add _PSD/_CPC/Coord types definitions

2024-01-19 Thread Michael D Kinney
Merged: https://github.com/tianocore/edk2/pull/5277 From: devel@edk2.groups.io On Behalf Of gaoliming via groups.io Sent: Tuesday, January 16, 2024 6:18 AM To: devel@edk2.groups.io; sami.muja...@arm.com; 'PierreGondois' Subject: 回复: [edk2-devel] [PATCH v2 1/1] MdePkg/IndustryStandard: Add

Re: [edk2-devel] [PATCH] MdePkg: fix the types of casting for TD MMIO read

2024-01-19 Thread Michael D Kinney
Reviewed-by: Michael D Kinney Please include Cc tags in commit message with the maintainers of the patch for review. Otherwise, the maintainers may miss the email patches. Thanks, Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Zhiquan > Li > Se

Re: [edk2-devel] [PATCH 1/1] MdePkg: Update the comments of HiiConfigAccess ExtractConfig

2024-01-19 Thread Michael D Kinney
10:10 AM > To: devel@edk2.groups.io; Ren, SuqiangX > Cc: Kinney, Michael D ; Liu, Zhiguang > ; Li, Yi1 > Subject: 回复: [edk2-devel] [PATCH 1/1] MdePkg: Update the comments of > HiiConfigAccess ExtractConfig > > Reviewed-by: Liming Gao > > > -----邮件原件- >

Re: [edk2-devel] [PATCH] BaseTools: Optimize GenerateByteArrayValue and CollectPlatformGuids APIs

2024-01-19 Thread Michael D Kinney
Hi Ashraf, What is captured in the file? What PCD/VPD changes will invalidate the cache? Just the number and type of PCD/VPD elements or their default values/sizes? How was this tested? Were all conditions that invalidate the cache tested? I ask because incremental build is a very important

Re: [edk2-devel] [PATCH 1/2] MdeModulePkg: Remove the handle validation check in CoreGetProtocolInterface

2024-01-19 Thread Michael D Kinney
Hi Zhi, Some comments below. Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Zhi Jin > Sent: Tuesday, January 16, 2024 10:45 PM > To: devel@edk2.groups.io > Cc: Jin, Zhi ; Liming Gao ; > Ni, Ray > Subject: [edk2-devel] [PATCH 1/2] MdeModulePkg: Remove the handle >

Re: [edk2-devel] [PATCH 2/2] MdeModulePkg: Optimize CoreConnectSingleController

2024-01-19 Thread Michael D Kinney
I agree that this implements the similar check as other optional protocols to adjust driver binding order to skip checks for which where are no instances of the optional protocol. Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Z

Re: [edk2-devel] [PATCH 1/2] UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf

2024-01-19 Thread Michael D Kinney
The issue is if AsmCpuid() is called for an Index value that does depend on ECX. That would be a bug on the caller's part and would not have deterministic behavior because ECX on input is not deterministic. That is the condition that would be good to catch. Mike From: Ni, Ray Sent: Friday,

Re: [edk2-devel] [PATCH 1/2] UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf

2024-01-19 Thread Michael D Kinney
Hi Ray, It is about having deterministic behavior if a call if made for a CPUID EAX value that does depend on ECX. If ECX is not zeroed, then it will have a random value that may return different information. The problem statement from Tom is not about zeroing ECX. It is about avoiding code

Re: [edk2-devel] [PATCH] NetworkPkg/Ip4Dxe: Fix Reset To Default

2024-01-18 Thread Michael D Kinney
s.io>>; Clark-williams, Zachary mailto:zachary.clark-willi...@intel.com>>; Jeff Brasen mailto:jbra...@nvidia.com>>; Gao, Liming mailto:gaolim...@byosoft.com.cn>> Cc: Kinney, Michael D mailto:michael.d.kin...@intel.com>> Subject: RE: [PATCH] NetworkPkg/Ip4Dxe: Fix R

Re: [edk2-devel] [PATCH] NetworkPkg/Ip4Dxe: Fix Reset To Default

2024-01-18 Thread Michael D Kinney
Acked-by: Michael D Kinney I will prepare PR for merge From: Kasbekar, Saloni Sent: Wednesday, January 17, 2024 9:27 AM To: Ashish Singhal ; devel@edk2.groups.io; Clark-williams, Zachary ; Jeff Brasen ; Kinney, Michael D ; Gao, Liming Subject: RE: [PATCH] NetworkPkg/Ip4Dxe: Fix Reset

Re: [edk2-devel] [PATCH edk2-platforms 1/1] IpmiFeaturePkg/ServerManagementLib: Fix a GCC compile error

2024-01-18 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Xu, Wei6 > Sent: Wednesday, January 17, 2024 10:12 AM > To: devel@edk2.groups.io > Cc: Xu, Wei6 ; Abner Chang ; > Desimone, Nathaniel L > Subject: [edk2-devel] [PAT

Re: [edk2-devel] [PATCH 1/2] UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf

2024-01-18 Thread Michael D Kinney
Hi Tom, I do not see any harm in zeroing ECX in AsmCpuid(). If it is not zeroed, then it would have an undefined value. However, calling AsmCpuid() for any Index that evaluates ECX (including a check for 0) should never be done. If ECX is evaluated for a given Index, then AsmCpuIdEx() must be

Re: [edk2-devel] [PATCH RESEND v2 1/2] MdePkg: Adds AMD Extended CPU topology CPUID

2024-01-18 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Abdul Lateef Attar > Sent: Wednesday, January 17, 2024 7:54 PM > To: devel@edk2.groups.io > Cc: Abdul Lateef Attar ; Kinney, Michael D > ; Liming Gao ; > Liu, Zhiguang ; Ni, Ray ; > Kumar, Rahul R ; Ge

Re: [edk2-devel] [PATCH V2] FmpDevicePkg: GetImageInfo Add missing condition

2024-01-18 Thread Michael D Kinney
; > From: Kinney, Michael D > > Sent: Thursday, January 18, 2024 12:03 PM > > To: Pethaiyan, Madhan ; > devel@edk2.groups.io > > Cc: Gao, Liming ; Xu, Wei6 > > ; Tan, Ming ; S, Ashraf Ali > > ; Kinney, Michael D > > > Subject: RE: [PATCH V2] FmpDevicePk

Re: [edk2-devel] [PATCH V2] FmpDevicePkg: GetImageInfo Add missing condition

2024-01-18 Thread Michael D Kinney
D > Subject: RE: [PATCH V2] FmpDevicePkg: GetImageInfo Add missing condition > > Reviewed-by: Michael D Kinney > > > > > -Original Message- > > From: Pethaiyan, Madhan > > Sent: Thursday, January 18, 2024 12:57 AM > > To: devel@edk2.groups.io >

Re: [edk2-devel] [PATCH V2] FmpDevicePkg: GetImageInfo Add missing condition

2024-01-18 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Pethaiyan, Madhan > Sent: Thursday, January 18, 2024 12:57 AM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Kinney, Michael D > ; Xu, Wei6 ; Tan, Ming > ; S, Ashraf Ali > Subject: RE: [PATCH V2] Fm

Re: [edk2-devel] [PATCH 1/6] UefiCpuPkg/LocalApicTimerDxe: Duplicate OvmfPkg/LocalApicTimerDxe driver

2024-01-16 Thread Michael D Kinney
Unit tests for the math calculations would help with reviews too. Mike > -Original Message- > From: Laszlo Ersek > Sent: Tuesday, January 16, 2024 2:03 AM > To: Kinney, Michael D ; Pedro Falcato > ; devel@edk2.groups.io; Ni, Ray > > Cc: Desimone, Nathaniel L ; Kumar, Rahul > R ; Gerd

Re: [edk2-devel] [PATCH 1/6] UefiCpuPkg/LocalApicTimerDxe: Duplicate OvmfPkg/LocalApicTimerDxe driver

2024-01-15 Thread Michael D Kinney
Hi Ray, I think nesting may be possible in physical platforms, but very hard to induce. One option is to consolidate to a single LocalApicTimerDxe implementation in the UefiCpuPkg, but allow the platform DSC to either specify a Null NestedInterruptTplLib for physical platforms or the full one

Re: [edk2-devel] Memory Attribute for depex section

2024-01-12 Thread Michael D Kinney
D Cc: pedro.falc...@gmail.com; Laszlo Ersek ; n...@os.amperecomputing.com; ardb+tianoc...@kernel.org Subject: Re: [edk2-devel] Memory Attribute for depex section On Jan 12, 2024, at 8:37 AM, Michael D Kinney mailto:michael.d.kin...@intel.com>> wrote: Hi Pedro, Thank you for eval

Re: [edk2-devel] Memory Attribute for depex section

2024-01-12 Thread Michael D Kinney
Hi Pedro, Thank you for evaluating this idea change from linked list to improve performance of the handle database. The concept of using integers for an EFI_HANDLE has been considered before. One advantage over pointers is that a guarantee can be made that an EFI_HANDLE value can be guaranteed

Re: [edk2-devel] [PATCH v1 1/1] pip-requirements.txt: Update to latest

2024-01-11 Thread Michael D Kinney
Merged: https://github.com/tianocore/edk2/pull/5256 From: Joey Vagedes via groups.io Sent: Thursday, January 11, 2024 3:16 PM To: Kinney, Michael D ; devel@edk2.groups.io Subject: Re: [edk2-devel] [PATCH v1 1/1] pip-requirements.txt: Update to latest Thanks Mike, I've updated the PR / branch

Re: [edk2-devel] [PATCH v1 1/1] pip-requirements.txt: Update to latest

2024-01-11 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Joey Vagedes > Sent: Thursday, January 11, 2024 1:35 PM > To: devel@edk2.groups.io > Cc: Andrew Fish ; Leif Lindholm ; > Kinney, Michael D > Subject: [PATCH v1 1/1] pip-requirements.txt: Update to la

Re: [edk2-devel] TianoCore Community Meeting - call for topics

2024-01-10 Thread Michael D Kinney
Meeting canceled. Mike > -Original Message- > From: Kinney, Michael D > Sent: Wednesday, January 10, 2024 10:37 AM > To: devel@edk2.groups.io > Cc: Kinney, Michael D > Subject: TianoCore Community Meeting - call for topics > > Any topics for the TianoCore Community meeting this week?

[edk2-devel] TianoCore Community Meeting - call for topics

2024-01-10 Thread Michael D Kinney
Any topics for the TianoCore Community meeting this week? Mike -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113539): https://edk2.groups.io/g/devel/message/113539 Mute This Topic: https://groups.io/mt/103646667/21656 Group Owner:

Re: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

2023-12-15 Thread Michael D Kinney
There are several advantages for this direction: * Current VFR compiler in C has dependencies on very old libs that have not been updated. * The movement to python will remove the pre-build step that requires some of the build tools to be built using host C compiler before running edk2

Re: [edk2-devel] [PATCH v4 3/8] MdePkg/MdeLibs.dsc.inc: Add SafeIntLib instance

2023-12-15 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Wu, Jiaxin > Sent: Friday, December 15, 2023 1:55 AM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; > Laszlo Ersek ; Ni, Ray ; Zeng, Star > > Subject: [PATCH v4

Re: [edk2-devel] [PATCH v1 1/1] FatPkg/FatPei: Check array offset before use

2023-12-12 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Michael > Kubacki > Sent: Tuesday, December 12, 2023 11:24 AM > To: devel@edk2.groups.io > Cc: Ni, Ray > Subject: [edk2-devel] [PATCH v1 1/1] FatPkg/FatPei: Check arra

Re: [edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API in BaseIoLibIntrinsic

2023-12-11 Thread Michael D Kinney
[edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API in > BaseIoLibIntrinsic > > Acked-by: Michael D Kinney > > Mike > > > -Original Message- > > From: Tan, Dun > > Sent: Wednesday, December 6, 2023 1:26 AM > > To: devel@edk2.groups.io; Tan, Dun

Re: [edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API in BaseIoLibIntrinsic

2023-12-11 Thread Michael D Kinney
Acked-by: Michael D Kinney Mike > -Original Message- > From: Tan, Dun > Sent: Wednesday, December 6, 2023 1:26 AM > To: devel@edk2.groups.io; Tan, Dun > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; Ni, > Ray > Subject: RE: [edk2-devel] [PATCH 2/2]

Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: writeio function in edk2module.c not working as expected

2023-12-09 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Jayaprakash, N > Sent: Saturday, December 9, 2023 9:43 AM > To: devel@edk2.groups.io > Cc: Jayaprakash, N ; Rebecca Cran > ; Kinney, Michael D > Subject: [edk2-libc Patch 1/1] ek2-libc: writeio funct

Re: [edk2-devel] [PATCH v3] MdePkg: Add a new memory type definition

2023-12-08 Thread Michael D Kinney
, Michael D > > Subject: RE: [PATCH v3] MdePkg: Add a new memory type definition > > Reviewed-by: Michael D Kinney > > > -Original Message- > > From: Srinivasan, ManickamX > > Sent: Thursday, December 7, 2023 9:37 PM > > To: devel@edk2.groups

Re: [edk2-devel] [PATCH 0/4] Add DEBUG_MANAGEABILITY to debug level comments

2023-12-08 Thread Michael D Kinney
Series Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Rebecca > Cran via groups.io > Sent: Friday, December 8, 2023 4:20 PM > To: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; Ard > Biesheuvel ; Laszlo Ersek >

Re: [edk2-devel] [PATCH v2] MdePkg: Define the DevicePath argument from LoadImage as optional

2023-12-08 Thread Michael D Kinney
, Michael D > > Subject: RE: [PATCH v2] MdePkg: Define the DevicePath argument from > LoadImage as optional > > Reviewed-by: Michael D Kinney > > > -Original Message- > > From: Srinivasan, ManickamX > > Sent: Thursday, December 7, 2023 9:41 PM > &g

Re: [edk2-devel] [PATCH v2] MdePkg: Define the DevicePath argument from LoadImage as optional

2023-12-08 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Srinivasan, ManickamX > Sent: Thursday, December 7, 2023 9:41 PM > To: devel@edk2.groups.io > Cc: Srinivasan, ManickamX ; Kinney, > Michael D ; Gao, Liming > ; Liu, Zhiguang ; T V, > Krishnamoorthy >

Re: [edk2-devel] [PATCH v3] MdePkg: Add a new memory type definition

2023-12-08 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Srinivasan, ManickamX > Sent: Thursday, December 7, 2023 9:37 PM > To: devel@edk2.groups.io > Cc: Srinivasan, ManickamX ; Kinney, > Michael D ; Gao, Liming > ; Liu, Zhiguang ; T V, > Krishnamoorthy >

Re: [edk2-devel] TianoCore Community Meeting call for topics

2023-12-06 Thread Michael D Kinney
No topics. Meeting canceled. Mike From: Kinney, Michael D Sent: Tuesday, December 5, 2023 3:11 PM To: devel@edk2.groups.io Cc: Kinney, Michael D Subject: TianoCore Community Meeting call for topics Are there any topics for the TianoCore Community Meeting this week? Thanks, Mike

Re: [edk2-devel] [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message

2023-12-06 Thread Michael D Kinney
Merged Mike From: Kinney, Michael D Sent: Wednesday, December 6, 2023 8:47 AM To: Jake Garver ; Gao, Liming ; devel@edk2.groups.io Cc: Liu, Zhiguang ; Kinney, Michael D Subject: RE: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message Hi Jake, PR opened with Rb tag added:

Re: [edk2-devel] [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message

2023-12-06 Thread Michael D Kinney
Hi Jake, PR opened with Rb tag added: https://github.com/tianocore/edk2/pull/5113 Mike From: Jake Garver Sent: Wednesday, December 6, 2023 8:37 AM To: Gao, Liming ; devel@edk2.groups.io Cc: Kinney, Michael D ; Liu, Zhiguang Subject: Re: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message

[edk2-devel] TianoCore Community Meeting call for topics

2023-12-05 Thread Michael D Kinney
Are there any topics for the TianoCore Community Meeting this week? Thanks, Mike -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112083): https://edk2.groups.io/g/devel/message/112083 Mute This Topic:

Re: [edk2-devel] [PATCH v4 1/1] MdePkg:Add NVME Sanitize command support to Nvme.h

2023-12-05 Thread Michael D Kinney
higuang ; Sean Brogan > ; Kinney, Michael D > Subject: RE: [PATCH v4 1/1] MdePkg:Add NVME Sanitize command support to > Nvme.h > > Reviewed-by: Michael D Kinney > > > -Original Message- > > From: Chen, Tina > > Sent: Wednesday, November 8, 2023 11:5

Re: [edk2-devel] [PATCH 1/2] UnitTestFrameworkPkg: Fix Google Test components with multiple files

2023-12-02 Thread Michael D Kinney
AULTLIB for FW components. > > With /NODEFAULTLIB removed from UnitTestFrameworkPkgHost.dsc.inc > This series is: > > Reviewed-by: Michael D Kinney > > I have taken the branch from Michael Kubacki and added this > one change to run through EDK II CI and added by

[edk2-devel] [Patch 1/1] EmulatorPkg/Win/Host: Remove /NODEFAULTLIB in WinHost.inf

2023-12-02 Thread Michael D Kinney
options common to IA32/X64. -Wno-microsoft-static-assert added to CLANGPDB CC_FLAGS to address warnings. Cc: Andrew Fish Cc: Ray Ni Cc: Pedro Falcato Signed-off-by: Michael D Kinney --- EmulatorPkg/Win/Host/WinHost.inf | 32 +++- 1 file changed, 19 insertions(+), 13

Re: [edk2-devel] [PATCH 1/2] UnitTestFrameworkPkg: Fix Google Test components with multiple files

2023-12-02 Thread Michael D Kinney
and to the EmulatorPkg/Host/Win. I have verified that /NODEFAULTLIB can be removed from both of these use cases and only use /NODEFAULTLIB for FW components. With /NODEFAULTLIB removed from UnitTestFrameworkPkgHost.dsc.inc This series is: Reviewed-by: Michael D Kinney I have taken the branch from

Re: [edk2-devel] [PATCH 1/2] UnitTestFrameworkPkg: Fix Google Test components with multiple files

2023-12-01 Thread Michael D Kinney
Hi Pedro, Thanks for the follow up and debug. I suspect some of those flags were inherited from EmulatorPkg builds and may not apply to GoogeTest builds. I will investigate. Very happy to see a solution for this issue. Mike > -Original Message- > From: Pedro Falcato > Sent:

Re: [edk2-devel] [PATCH v1] PcAtChipsetPkg: Fix AcpiTimerLib incompatibility with XhciDxe

2023-11-30 Thread Michael D Kinney
erformanceCounterFrequency to STATIC. Since this variable is not > > used outside of the DxeStandaloneMmAcpiTimerLib.c compilation unit, > > there is no reason to have it exported as a global. > > > > Cc: Ray Ni > > Cc: Michael D Kinney > > Signed-off-by: N

Re: [edk2-devel] [edk2-platforms][PATCH v1] QuarkPlatformPkg: Fix DxeCore Build Failures

2023-11-30 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Desimone, Nathaniel L > Sent: Thursday, November 30, 2023 4:18 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Ni, Ray ; > Chaganty, Rangasai V ; Gao, Liming > ; Kinney, Michael D ; > Kelly Steele ;

Re: [edk2-devel] [edk2-platforms][PATCH v1] Vlv2TbltDevicePkg: Fix DxeCore Build Failures

2023-11-30 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Desimone, Nathaniel L > Sent: Thursday, November 30, 2023 4:18 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Ni, Ray ; > Chaganty, Rangasai V ; Gao, Liming > ; Kinney, Michael D ; > Sun, Zailiang ; Q

Re: [edk2-devel] [PATCH 2/2] MdePkg/Test: Add google tests for BaseLib

2023-11-30 Thread Michael D Kinney
t; To: devel@edk2.groups.io; Kinney, Michael D > Cc: Savva Mitrofanov ; Gao, Liming > ; Liu, Zhiguang > Subject: Re: [edk2-devel] [PATCH 2/2] MdePkg/Test: Add google tests for > BaseLib > > On Thu, Nov 30, 2023 at 7:32 PM Michael D Kinney > wrote: > > > > With

Re: [edk2-devel] [PATCH 1/2] MdePkg/BaseLib: Fix CRC16-ANSI calculation

2023-11-30 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Pedro Falcato > Sent: Wednesday, November 29, 2023 6:46 PM > To: devel@edk2.groups.io > Cc: Savva Mitrofanov ; Pedro Falcato > ; Gao, Liming ; Kinney, > Michael D ; Liu, Zhiguang > > Subject: [PAT

Re: [edk2-devel] [PATCH 2/2] MdePkg/Test: Add google tests for BaseLib

2023-11-30 Thread Michael D Kinney
With one comment below addressed Reviewed-by: Michael D Kinney > -Original Message- > From: Pedro Falcato > Sent: Wednesday, November 29, 2023 6:46 PM > To: devel@edk2.groups.io > Cc: Savva Mitrofanov ; Pedro Falcato > ; Gao, Liming ; Kinney, > Michael D ; Liu,

Re: [edk2-devel] [PATCH v1 1/1] .github/workflows/codeql.yml: Add emacs output

2023-11-29 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: mikub...@linux.microsoft.com > Sent: Wednesday, November 29, 2023 9:01 AM > To: devel@edk2.groups.io > Cc: Joey Vagedes ; Laszlo Ersek > ; Kinney, Michael D ; Sean > Brogan > Subject: [PATCH v1 1/1] .git

Re: [edk2-devel][edk2-staging] DeviceSimPkg branch creation

2023-11-28 Thread Michael D Kinney
Hi Maciej, Reviewed-by: Michael D Kinney I have invited you to the EDK II Staging Maintainer team that allows you to create this new branch in the edk2-staging repo. Mike > -Original Message- > From: Czajkowski, Maciej > Sent: Monday, November 13, 2023 7:09 AM > To

Re: [edk2-devel] [PATCH v1 1/1] .git-blame-ignore-revs: Ignore recent uncrustify commits

2023-11-27 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: mikub...@linux.microsoft.com > Sent: Monday, November 27, 2023 4:17 PM > To: devel@edk2.groups.io > Cc: Andrew Fish ; Leif Lindholm > ; Kinney, Michael D > ; Rebecca Cran > Subject: [PATCH v1 1/1] .git-b

Re: [edk2-devel] [PATCH v1 1/1] Maintainers.txt: Remove myself as a tools maintainer

2023-11-27 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: mikub...@linux.microsoft.com > Sent: Monday, November 27, 2023 11:45 AM > To: devel@edk2.groups.io > Cc: Andrew Fish ; Chris Fernald > ; Joey Vagedes ; Leif > Lindholm ; Gao, Liming > ; Kinney, M

Re: [edk2-devel] [Bug] Building NetworkPkg fails due to missing SynchronizationLib dependency of BaseCryptLib

2023-11-21 Thread Michael D Kinney
Hi Sean and Michael, The NetworkPkg.ci.yaml is pointing at a DSC file in the NetworkPkg. If I try a local build of that DSC file, it does fail immediately with a missing library mapping. Any ideas on how this was not seen by CI? Either for PR or Push actions? Thanks, Mike > -Original

Re: [edk2-devel] [PATCH 0/3] Maintainers.txt: add Laszlo Ersek as an ArmVirt, Ovmf, UefiCpu Pkg "M"

2023-11-16 Thread Michael D Kinney
Series Reviewed-by: Michael D Kinney > -Original Message- > From: Laszlo Ersek > Sent: Thursday, November 16, 2023 1:51 PM > To: devel@edk2.groups.io > Cc: Andrew Fish ; Ard Biesheuvel > ; Gerd Hoffmann ; Yao, > Jiewen ; Leif Lindholm > ; Kinney, Michael D > ;

Re: [edk2-devel] [PATCH v4 1/1] MdePkg:Add NVME Sanitize command support to Nvme.h

2023-11-15 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: Chen, Tina > Sent: Wednesday, November 8, 2023 11:51 PM > To: devel@edk2.groups.io > Cc: Chen, Tina ; Ni, Ray ; > Chen, Xiao X ; Chen, Arthur G > ; Gao, Liming ; > Liu, Zhiguang ; Sean Brogan > ; Kin

Re: edk2-stable202311 Code freeze process violation Re: [edk2-devel] [PATCH v5 2/2] RedfishPkg: RedfishDiscoverDxe: Optimize the Redfish Discover flow

2023-11-15 Thread Michael D Kinney
Hello, Looks like the process for permissions needs to be adjusted during soft/hard freeze. Liming reduced EDK II Maintainers team to "Triage" for edk2 repo. But from this documentation lists Triage as allowing add/remove labels.

Re: [edk2-devel] [PATCH v2 4/5] MdeModulePkg/Bus/Pci/PciBusDxe: Fix NULL_RETURNS Coverity issue

2023-11-14 Thread Michael D Kinney
Hi Ranbir, First I want to recognize your efforts to collect Coverity issues and propose changes to address them. I still disagree with adding CpuDealLoop() for any static analysis issues. There have been previous discussions about adding a PANIC() or FATAL() macro that would perform platform

Re: [edk2-devel] edk2 uncrustify update (73.0.8)?

2023-11-13 Thread Michael D Kinney
Hi Michael, Have you tried to upstream the edk2 specific elements to the uncrustify project? That would be a path to remove the fork and eventually all the distros would catch up. Mike > -Original Message- > From: Michael Kubacki > Sent: Monday, November 13, 2023 12:22 PM > To: Pedro

Re: [edk2-devel] [PATCH v3 0/5] BaseTools/Scripts/GetMaintainer: Handle reviewer only case

2023-11-10 Thread Michael D Kinney
eredDict() to accumulate unique addresses. > > > > Changes since v2: > > - Reworked internal return logic to use dictionaries. > > - Reordered cleanup before new functionality. > > Changes since v1: > > - Split into patch series > > > > Cc: Rebecca Cran

Re: [edk2-devel] [PATCH v3 3/5] BaseTools/Scripts/GetMaintainer: refactor internal returns as dicts

2023-11-10 Thread Michael D Kinney
Hi Leif, Thank you for the addition cleanup. Reviewed-by: Michael D Kinney Mike > -Original Message- > From: Leif Lindholm > Sent: Friday, November 10, 2023 11:31 AM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Rebecca Cran > ; Gao, Liming ; Feng, Bob >

[edk2-devel] [edk2-stable202311][Patch v2 2/4] BaseTools/Scripts/GetMaintainer: Handle reviewer only case

2023-11-10 Thread Michael D Kinney
. This also allows this module to be used by other scripts that need to distinguish between maintainers, reviewers, and lists. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney --- BaseTools/Scripts/GetMaintainer.py | 28

[edk2-devel] [edk2-stable202311][Patch v2 1/4] BaseTools/Scripts/GetMaintainer: Fix logic bug collecting maintainers

2023-11-10 Thread Michael D Kinney
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4593 Fix logic bug where maintainers is incorrectly added to lists. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney --- BaseTools/Scripts/GetMaintainer.py | 2 +- 1 file

[edk2-devel] [edk2-stable202311][Patch v2 3/4] BaseTools/Scripts/GetMaintainer: Simplify logic

2023-11-10 Thread Michael D Kinney
get_section_maintainers(). Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney --- BaseTools/Scripts/GetMaintainer.py | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/BaseTools/Scripts/GetMaintainer.py b/BaseTools/Scripts

[edk2-devel] [edk2-stable202311][Patch v2 4/4] BaseTools/Scripts/GetMaintainer: Sort output addresses

2023-11-10 Thread Michael D Kinney
of OrderedDict to accumulate the list of unique addresses that are sorted alphabetically. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney --- BaseTools/Scripts/GetMaintainer.py | 11 ++- 1 file changed, 6 insertions(+), 5

[edk2-devel] [edk2-stable202311][Patch v2 0/4] BaseTools/Scripts/GetMaintainer: Handle reviewer only case

2023-11-10 Thread Michael D Kinney
of output addresses alphabetically and use set() instead of OrderedDict() to accumulate unique addresses. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney Michael D Kinney (4): BaseTools/Scripts/GetMaintainer: Fix logic bug

Re: [edk2-devel] [edk2-stable202311][Patch 1/1] BaseTools/Scripts: Handle reviewer only case in GetMaintainer.py

2023-11-10 Thread Michael D Kinney
gt; Cc: devel@edk2.groups.io; Rebecca Cran ; Gao, > Liming ; Feng, Bob C ; > Chen, Christine > Subject: Re: [edk2-devel] [edk2-stable202311][Patch 1/1] > BaseTools/Scripts: Handle reviewer only case in GetMaintainer.py > > On Wed, Nov 08, 2023 at 12:43:23 -0800, Mi

Re: [edk2-devel] [PATCH v4] UefiCpuPkg/PiSmmCpuDxeSmm: Fix CP Exception when CET enable

2023-11-09 Thread Michael D Kinney
I approve this change for edk2-stable202311 The PR looks out of sync with this email patch. Can you please update PR with latest patch and commit message that was reviewed and add review tags? Mike > -Original Message- > From: Wu, Jiaxin > Sent: Thursday, November 9, 2023 4:01 PM >

Re: [edk2-devel] [PATCH v3 1/2] MdeModulePkg/Bus/Pci/PciHostBridgeDxe: Fix OVERRUN Coverity issues

2023-11-09 Thread Michael D Kinney
Hi Ranbir, A deadloop without even a debug print is not good behavior. If this condition really represents a condition where it is not possible to complete the PCI resource allocation/assignment, then an error status code should be returned to the caller of NotifyPhase(). Perhaps

Re: [edk2-devel] [Patch 1/1] Maintainers.txt: Remove unused OvmfPkg Confidential Computing path

2023-11-09 Thread Michael D Kinney
e tag. > > Thanks > Liming > > -邮件原件- > > 发件人: devel@edk2.groups.io 代表 Leif Lindholm > > 发送时间: 2023年11月9日 17:51 > > 收件人: Michael D Kinney ; > > devel@edk2.groups.io > > 抄送: Andrew Fish ; Erdem Aktas > > ; Jiewen Yao ; Min Xu > >

Re: 回复: [edk2-devel] [PATCH 1/1] BaseTools/tools_def: drop -mgeneral-regs-only for AArch64 CLANGDWARF

2023-11-09 Thread Michael D Kinney
Merged: https://github.com/tianocore/edk2/pull/5023 https://github.com/tianocore/edk2/commit/e077ccff6d0f2e8c3fc44b3e2ab71aff66927c3b Mike > -Original Message- > From: Leif Lindholm > Sent: Thursday, November 9, 2023 6:39 AM > To: devel@edk2.groups.io; Gao, Liming > Cc: 'Yeping Song

Re: [edk2-devel] [PATCH 0/4] Sync BSP's APIC mode to APs in MP init flow

2023-11-09 Thread Michael D Kinney
+Ray Unless I missed it, I do not see review of the patch series Ray sent back in July. Mike From: devel@edk2.groups.io On Behalf Of Aaron Young via groups.io Sent: Thursday, November 9, 2023 8:29 AM To: Gerd Hoffmann ; devel@edk2.groups.io Subject: Re: [edk2-devel] [PATCH 0/4] Sync BSP's

[edk2-devel] [edk2-stable202311][Patch 1/1] BaseTools/Scripts: Handle reviewer only case in GetMaintainer.py

2023-11-08 Thread Michael D Kinney
scripts and distinguish types. Sort the list of output addresses alphabetically. Fix logic bug where maintainers was incorrectly added to lists. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Leif Lindholm Signed-off-by: Michael D Kinney --- BaseTools/Scripts

Re: [edk2-devel] [PATCH v2 2/5] MdeModulePkg/Bus/Pci/PciBusDxe: Fix MISSING_BREAK Coverity issues

2023-11-07 Thread Michael D Kinney
Hi Ranbir, Ignoring false positive in static analysis tools is typically a burden. It is better to avoid false positives with code changes as long as the code changes do not make the implementation confusing and hard to maintain. I think depending on fall through case statements is confusing

[edk2-devel] [Patch 1/1] Maintainers.txt: Remove unused OvmfPkg Confidential Computing path

2023-11-07 Thread Michael D Kinney
Cc: Tom Lendacky Cc: Michael Roth Signed-off-by: Michael D Kinney --- Maintainers.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index cfbde42f2e04..7c0b4cb58cfd 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -497,7 +497,6 @@ F: OvmfPkg/Include

Re: [edk2-devel] [PATCH v2] MdeModulePkg/PciHostBridgeDxe: Add readback after final Cfg-Write

2023-11-07 Thread Michael D Kinney
Hi Jose, 1. This logic needs to move into an AARCH64 specific directory/file. Other architectures handle this in other ways. 2. There are many places throughout edk2 sources that perform PCI config write operations. You are only fixing it in a single location. You may want to look at

Re: [edk2-devel] [PATCH v2 2/5] MdeModulePkg/Bus/Pci/PciBusDxe: Fix MISSING_BREAK Coverity issues

2023-11-07 Thread Michael D Kinney
This comment style only works with Coverity. Other static analysis tools may flag the same issue again. It is better to update the logic so no static analysis tool will flag this issue. Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Laszlo > Ersek > Sent: Tuesday,

Re: [edk2-devel] [PATCH v2 08/30] MdePkg: Add IOCSR operation for LoongArch

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Chao Li > Sent: Sunday, November 5, 2023 7:28 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [PATCH v2 08/30] MdePkg: Add IOCSR operation for LoongArc

Re: [edk2-devel] [PATCH v2 03/30] MdePkg: Add LoongArch64 exception function set into BaseLib

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [PATCH v2 03/30] MdePkg: Add LoongArch64 exception functi

Re: [edk2-devel] [PATCH v2 07/30] MdePkg: Add CSR operation for LoongArch

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; > Bibo Mao > Subject: [edk2-devel]

Re: [edk2-devel] [PATCH v2 06/30] MdePkg: Add read stable counter operation for LoongArch

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [PATCH v2 06/30] MdePkg: Add read stable counter operation >

Re: [edk2-devel] [PATCH v2 05/30] MdePkg: Add LoongArch Cpucfg function

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [PATCH v2 05/30] MdePkg: Add LoongArch Cpucfg function > &

Re: [edk2-devel] [PATCH v2 02/30] MdePkg: Add LoongArch64 FPU function set into BaseCpuLib

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [edk2-devel] [PATCH v2 02/30] Md

Re: [edk2-devel] [PATCH v2 04/30] MdePkg: Add LoongArch64 local interrupt function set into BaseLib

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chao Li > Sent: Sunday, November 5, 2023 7:27 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [edk2-devel] [PATCH v2 04/30] Md

Re: [edk2-devel] [PATCH v2 01/30] MdePkg: Add the header file named Csr.h for LoongArch64

2023-11-06 Thread Michael D Kinney
Acked-by: Michael D Kinney > -Original Message- > From: Chao Li > Sent: Sunday, November 5, 2023 7:26 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang > Subject: [PATCH v2 01/30] MdePkg: Add the header file named Csr.h for >

Re: [edk2-devel] [PATCH 1/2] UefiCpuPkg/MpInitLib: Use AsmCpuidEx() for CPUID_EXTENDED_TOPOLOGY leaf

2023-11-06 Thread Michael D Kinney
Hi Tom, It likely would have been better to define AsmCpuid() to set ECX=0. However, how would new source code know if the BaseLib they linking against has this new behavior or not? It is probably safer to do what you propose which is to use AsmCpuidEx() that specifies exactly how ECX is set.

Re: [edk2-devel] [PATCH V1] MdePkg:Add NVME Sanitize command support to Nvme.h

2023-11-06 Thread Michael D Kinney
Please update the Nvme.h file header that the version being used is 2.0c. Thanks, Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Tina > Chen > Sent: Monday, November 6, 2023 6:01 AM > To: devel@edk2.groups.io > Cc: Chen, Tina ; Chen, Xiao X > ; Chen, Arthur G ; Ni,

Re: [edk2-devel] [PATCH 1/1] ShellPkg: Fix typos

2023-11-06 Thread Michael D Kinney
Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Page > Chen via groups.io > Sent: Monday, November 6, 2023 12:43 PM > To: devel@edk2.groups.io > Cc: Page Chen ; Gao, Zhichao > ; Andrew Fish > Subject: [edk2-devel] [

Re: [edk2-devel] [PATCH v2 0/1] Edk2ToolsBuild.py: Clarify make error

2023-11-06 Thread Michael D Kinney
Series Reviewed-by: Michael D Kinney > -Original Message- > From: devel@edk2.groups.io On Behalf Of Joey > Vagedes via groups.io > Sent: Monday, November 6, 2023 12:12 PM > To: devel@edk2.groups.io > Cc: Rebecca Cran ; Gao, Liming > ; Feng, Bob C ; Chen, > Chr

Re: [edk2-devel] [PATCH v1 0/1] Edk2ToolsBuild.py: Clarify make error

2023-11-06 Thread Michael D Kinney
What is the random data at the end of your path emails??? Thanks, Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Joey > Vagedes via groups.io > Sent: Monday, November 6, 2023 12:09 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [PATCH v1 0/1]

Re: [edk2-devel] Request for access for edk2-staging branch creation

2023-11-06 Thread Michael D Kinney
Hi, Can you please follow up with your Github ID and the additional details in a patch email wit Readme.MD content? https://github.com/tianocore/edk2-staging/blob/about/README 4) Process to add a new feature to edk2-staging a) Maintainer sends patch email to edk2-devel mailing

<    1   2   3   4   5   6   7   8   9   10   >