Yun, You should NOT split the patch because only applying patch #1 will break the build. You can combine them with one patch.
Thanks, Ray > -----Original Message----- > From: Lou, Yun <yun....@intel.com> > Sent: Wednesday, January 20, 2021 3:44 PM > To: devel@edk2.groups.io > Cc: Lou, Yun <yun....@intel.com>; Ni, Ray <ray...@intel.com>; Dong, Eric > <eric.d...@intel.com>; Laszlo Ersek <ler...@redhat.com>; Kumar, Rahul1 > <rahul1.ku...@intel.com> > Subject: [PATCH v1 2/2] UefiCpuPkg/CpuCacheInfoLib: Update reference to the > macro definitions. > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3105 > > Update reference to some macro definitions about > CPUID_HYBRID_INFORMATION Leaf(1Ah). > > Signed-off-by: Jason Lou <yun....@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Eric Dong <eric.d...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Rahul Kumar <rahul1.ku...@intel.com> > --- > UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c > b/UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c > index 6b87be261acf..d1f9830c91e7 100644 > --- a/UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c > +++ b/UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c > @@ -175,7 +175,7 @@ CpuCacheInfoCollectCoreAndCacheData ( > // > > Context->ProcessorInfo[ProcessorIndex].CoreType = 0; > > if (CpuidMaxInput >= CPUID_HYBRID_INFORMATION) { > > - AsmCpuidEx (CPUID_HYBRID_INFORMATION, > CPUID_HYBRID_INFORMATION_SUB_LEAF, > &NativeModelIdAndCoreTypeEax.Uint32, NULL, NULL, NULL); > > + AsmCpuidEx (CPUID_HYBRID_INFORMATION, > CPUID_HYBRID_INFORMATION_MAIN_LEAF, > &NativeModelIdAndCoreTypeEax.Uint32, NULL, NULL, NULL); > > Context->ProcessorInfo[ProcessorIndex].CoreType = (UINT8) > NativeModelIdAndCoreTypeEax.Bits.CoreType; > > } > > > > -- > 2.28.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70568): https://edk2.groups.io/g/devel/message/70568 Mute This Topic: https://groups.io/mt/79974166/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-