Reviewed-by: Star Zeng <[email protected]> -----Original Message----- From: Yao, Jiewen Sent: Friday, October 20, 2017 5:07 PM To: [email protected]; Zeng, Star <[email protected]> Subject: Re: [edk2] [PATCH] IntelSiliconPkg/VtdInfoSample: Fix IGD RMRR memory.
Correct email address thank you! Yao, Jiewen > 在 2017年10月20日,下午4:51,Jiewen Yao <[email protected]> 写道: > > Fix a calculation problem in IGD RMRR memory. > > Cc: Zeng Star <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Jiewen Yao <[email protected]> > --- > IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c > | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git > a/IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c > > b/IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c > index 08a4db3..6267da7 100644 > --- > a/IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c > +++ > b/IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c > @@ -159,7 +159,7 @@ PatchDmar ( > /// Calculate GTT mem size > /// > GttMemSize = 0; > - GttMode = PciRead16 (PCI_LIB_ADDRESS(0, 0, 0, R_SA_GGC) & > B_SKL_SA_GGC_GGMS_MASK) >> N_SKL_SA_GGC_GGMS_OFFSET; > + GttMode = (PciRead16 (PCI_LIB_ADDRESS(0, 0, 0, R_SA_GGC)) & > B_SKL_SA_GGC_GGMS_MASK) >> N_SKL_SA_GGC_GGMS_OFFSET; > if (GttMode <= V_SKL_SA_GGC_GGMS_8MB) { > GttMemSize = (1 << GttMode) * (1024) * (1024); > } > -- > 2.7.4.windows.1 > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

