* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes [not found] <17BBD31426742776.6798@groups.io> @ 2024-03-13 17:33 ` Oliver Smith-Denny [not found] ` <17BC63588355F2EE.10267@groups.io> 1 sibling, 0 replies; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-13 17:33 UTC (permalink / raw) To: devel, Liming Gao Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Taylor Beebe Hi Liming, Friendly ping, can you please review this patchset? Thanks, Oliver On 3/11/2024 2:29 PM, Oliver Smith-Denny wrote: > ImagePropertiesRecordLib is currently creating Image Records that > are not accurate. It is setting the CodeSegmentSize to be the size > of the raw data in the image file, however, when the image is > loaded into memory, the raw data size is aligned to the > section alignment. This caused the memory attributes table to > have incorrect entries for systems, like ARM64, where the section > alignment is not 4k for all modules. > > In fixing this, I noticed that MemoryProtection.c is using its own > version of image record creation where this logic was actually > correct. ImagePropertiesRecordLib was created to consolidate the > logic around creating and managing image records, so this patchset > also updates MemoryProtection.c to use ImagePropertiesRecordsLib > after making a few small adjustments to ensure the same functionality > is present. > > This patchset was tested on ArmVirtQemu to ensure that all image > records were the same before and after this, other than fixing > the CodeSegmentSize. > > v2: > - Align VirtualSize instead of SizeOfRawData > > Github PR: https://github.com/tianocore/edk2/pull/5402 > > Cc: Liming Gao <gaoliming@byosoft.com.cn> > Cc: Leif Lindholm <quic_llindhol@quicinc.com> > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> > Cc: Sami Mujawar <sami.mujawar@arm.com> > Cc: Taylor Beebe <taylor.d.beebe@gmail.com> > > Oliver Smith-Denny (3): > MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for > CodeSize > MdeModulePkg: ImagePropertiesRecordLib: Consolidate Usage > MdeModulePkg: MemoryProtection: Use ImageRecordPropertiesLib > > MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 241 +++----------------- > MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c | 86 +++++-- > 2 files changed, 94 insertions(+), 233 deletions(-) > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116718): https://edk2.groups.io/g/devel/message/116718 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <17BC63588355F2EE.10267@groups.io>]
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes [not found] ` <17BC63588355F2EE.10267@groups.io> @ 2024-03-20 17:35 ` Oliver Smith-Denny [not found] ` <17BE8986E5F1B75A.24580@groups.io> 1 sibling, 0 replies; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-20 17:35 UTC (permalink / raw) To: devel, Liming Gao Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Taylor Beebe, Liming Gao Hi Liming, Another friendly ping, can you review these patches? 2 RBs and conversation has died down. Thanks, Oliver On 3/13/2024 10:33 AM, Oliver Smith-Denny wrote: > Hi Liming, > > Friendly ping, can you please review this patchset? > > Thanks, > Oliver > > On 3/11/2024 2:29 PM, Oliver Smith-Denny wrote: >> ImagePropertiesRecordLib is currently creating Image Records that >> are not accurate. It is setting the CodeSegmentSize to be the size >> of the raw data in the image file, however, when the image is >> loaded into memory, the raw data size is aligned to the >> section alignment. This caused the memory attributes table to >> have incorrect entries for systems, like ARM64, where the section >> alignment is not 4k for all modules. >> >> In fixing this, I noticed that MemoryProtection.c is using its own >> version of image record creation where this logic was actually >> correct. ImagePropertiesRecordLib was created to consolidate the >> logic around creating and managing image records, so this patchset >> also updates MemoryProtection.c to use ImagePropertiesRecordsLib >> after making a few small adjustments to ensure the same functionality >> is present. >> >> This patchset was tested on ArmVirtQemu to ensure that all image >> records were the same before and after this, other than fixing >> the CodeSegmentSize. >> >> v2: >> - Align VirtualSize instead of SizeOfRawData >> >> Github PR: https://github.com/tianocore/edk2/pull/5402 >> >> Cc: Liming Gao <gaoliming@byosoft.com.cn> >> Cc: Leif Lindholm <quic_llindhol@quicinc.com> >> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> >> Cc: Sami Mujawar <sami.mujawar@arm.com> >> Cc: Taylor Beebe <taylor.d.beebe@gmail.com> >> >> Oliver Smith-Denny (3): >> MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for >> CodeSize >> MdeModulePkg: ImagePropertiesRecordLib: Consolidate Usage >> MdeModulePkg: MemoryProtection: Use ImageRecordPropertiesLib >> >> >> MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 241 +++----------------- >> >> MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c | 86 +++++-- >> 2 files changed, 94 insertions(+), 233 deletions(-) >> > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116943): https://edk2.groups.io/g/devel/message/116943 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <17BE8986E5F1B75A.24580@groups.io>]
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes [not found] ` <17BE8986E5F1B75A.24580@groups.io> @ 2024-03-27 18:14 ` Oliver Smith-Denny 2024-03-29 8:03 ` Ard Biesheuvel 0 siblings, 1 reply; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-27 18:14 UTC (permalink / raw) To: devel, Liming Gao, Michael Kinney, Ray Ni Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Taylor Beebe Hi Mike and Ray, I'm here to bug you again :). I have another patchset that unfortunately Liming has not gotten to review in a month's time frame with weekly pings. When I bugged you last time, he reviewed the next day, so something must have worked out there. Can you please help get this merged? Liming, do you need the community to find another member to help as a second MdeModulePkg maintainer? It's obviously a large job and you have been less responsive the past few months, which has slowed down getting some really important fixes into MdeModulePkg. Thanks, Oliver On 3/20/2024 10:35 AM, Oliver Smith-Denny wrote: > Hi Liming, > > Another friendly ping, can you review these patches? 2 RBs and > conversation has died down. > > Thanks, > Oliver > > On 3/13/2024 10:33 AM, Oliver Smith-Denny wrote: >> Hi Liming, >> >> Friendly ping, can you please review this patchset? >> >> Thanks, >> Oliver >> >> On 3/11/2024 2:29 PM, Oliver Smith-Denny wrote: >>> ImagePropertiesRecordLib is currently creating Image Records that >>> are not accurate. It is setting the CodeSegmentSize to be the size >>> of the raw data in the image file, however, when the image is >>> loaded into memory, the raw data size is aligned to the >>> section alignment. This caused the memory attributes table to >>> have incorrect entries for systems, like ARM64, where the section >>> alignment is not 4k for all modules. >>> >>> In fixing this, I noticed that MemoryProtection.c is using its own >>> version of image record creation where this logic was actually >>> correct. ImagePropertiesRecordLib was created to consolidate the >>> logic around creating and managing image records, so this patchset >>> also updates MemoryProtection.c to use ImagePropertiesRecordsLib >>> after making a few small adjustments to ensure the same functionality >>> is present. >>> >>> This patchset was tested on ArmVirtQemu to ensure that all image >>> records were the same before and after this, other than fixing >>> the CodeSegmentSize. >>> >>> v2: >>> - Align VirtualSize instead of SizeOfRawData >>> >>> Github PR: https://github.com/tianocore/edk2/pull/5402 >>> >>> Cc: Liming Gao <gaoliming@byosoft.com.cn> >>> Cc: Leif Lindholm <quic_llindhol@quicinc.com> >>> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> >>> Cc: Sami Mujawar <sami.mujawar@arm.com> >>> Cc: Taylor Beebe <taylor.d.beebe@gmail.com> >>> >>> Oliver Smith-Denny (3): >>> MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for >>> CodeSize >>> MdeModulePkg: ImagePropertiesRecordLib: Consolidate Usage >>> MdeModulePkg: MemoryProtection: Use ImageRecordPropertiesLib >>> >>> MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 241 +++----------------- >>> MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c | 86 +++++-- >>> 2 files changed, 94 insertions(+), 233 deletions(-) >>> >> >> >> >> > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117178): https://edk2.groups.io/g/devel/message/117178 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes 2024-03-27 18:14 ` Oliver Smith-Denny @ 2024-03-29 8:03 ` Ard Biesheuvel 2024-03-29 17:12 ` Michael D Kinney 0 siblings, 1 reply; 10+ messages in thread From: Ard Biesheuvel @ 2024-03-29 8:03 UTC (permalink / raw) To: devel, osde Cc: Liming Gao, Michael Kinney, Ray Ni, Leif Lindholm, Sami Mujawar, Taylor Beebe On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny <osde@linux.microsoft.com> wrote: > > Hi Mike and Ray, > > I'm here to bug you again :). I have another patchset that > unfortunately Liming has not gotten to review in a month's > time frame with weekly pings. When I bugged you last time, > he reviewed the next day, so something must have worked out > there. Can you please help get this merged? > > Liming, do you need the community to find another member > to help as a second MdeModulePkg maintainer? It's obviously > a large job and you have been less responsive the past few > months, which has slowed down getting some really > important fixes into MdeModulePkg. > Yes, could we please get this merged? These are important fixes. In case it was missed, for the series: Reviewed-by: Ard Biesheuvel <ardb@kernel.org> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117231): https://edk2.groups.io/g/devel/message/117231 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes 2024-03-29 8:03 ` Ard Biesheuvel @ 2024-03-29 17:12 ` Michael D Kinney 2024-03-29 17:13 ` Oliver Smith-Denny 0 siblings, 1 reply; 10+ messages in thread From: Michael D Kinney @ 2024-03-29 17:12 UTC (permalink / raw) To: Ard Biesheuvel, devel@edk2.groups.io, osde@linux.microsoft.com Cc: Liming Gao, Ni, Ray, Leif Lindholm, Sami Mujawar, Taylor Beebe, Kinney, Michael D Hi Ard, I have reviewed the discussion on the V1 and V2 versions of the series. For the V2 Series: Acked-by: Michael D Kinney <michael.d.kinney@intel.com> I will add the Rb/Ab tags and get this merged. Mike > -----Original Message----- > From: Ard Biesheuvel <ardb@kernel.org> > Sent: Friday, March 29, 2024 1:03 AM > To: devel@edk2.groups.io; osde@linux.microsoft.com > Cc: Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D > <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Leif Lindholm > <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; Taylor > Beebe <taylor.d.beebe@gmail.com> > Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: > ImagePropertiesRecordLib Fixes > > On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny > <osde@linux.microsoft.com> wrote: > > > > Hi Mike and Ray, > > > > I'm here to bug you again :). I have another patchset that > > unfortunately Liming has not gotten to review in a month's > > time frame with weekly pings. When I bugged you last time, > > he reviewed the next day, so something must have worked out > > there. Can you please help get this merged? > > > > Liming, do you need the community to find another member > > to help as a second MdeModulePkg maintainer? It's obviously > > a large job and you have been less responsive the past few > > months, which has slowed down getting some really > > important fixes into MdeModulePkg. > > > > Yes, could we please get this merged? These are important fixes. > > In case it was missed, for the series: > > Reviewed-by: Ard Biesheuvel <ardb@kernel.org> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117235): https://edk2.groups.io/g/devel/message/117235 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes 2024-03-29 17:12 ` Michael D Kinney @ 2024-03-29 17:13 ` Oliver Smith-Denny 2024-03-29 17:27 ` Michael D Kinney 0 siblings, 1 reply; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-29 17:13 UTC (permalink / raw) To: devel, michael.d.kinney, Ard Biesheuvel Cc: Liming Gao, Ni, Ray, Leif Lindholm, Sami Mujawar, Taylor Beebe Thanks Mike! Oliver On 3/29/2024 10:12 AM, Michael D Kinney wrote: > Hi Ard, > > I have reviewed the discussion on the V1 and V2 versions of the series. > For the V2 Series: > > Acked-by: Michael D Kinney <michael.d.kinney@intel.com> > > I will add the Rb/Ab tags and get this merged. > > Mike > >> -----Original Message----- >> From: Ard Biesheuvel <ardb@kernel.org> >> Sent: Friday, March 29, 2024 1:03 AM >> To: devel@edk2.groups.io; osde@linux.microsoft.com >> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D >> <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Leif Lindholm >> <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; Taylor >> Beebe <taylor.d.beebe@gmail.com> >> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: >> ImagePropertiesRecordLib Fixes >> >> On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny >> <osde@linux.microsoft.com> wrote: >>> >>> Hi Mike and Ray, >>> >>> I'm here to bug you again :). I have another patchset that >>> unfortunately Liming has not gotten to review in a month's >>> time frame with weekly pings. When I bugged you last time, >>> he reviewed the next day, so something must have worked out >>> there. Can you please help get this merged? >>> >>> Liming, do you need the community to find another member >>> to help as a second MdeModulePkg maintainer? It's obviously >>> a large job and you have been less responsive the past few >>> months, which has slowed down getting some really >>> important fixes into MdeModulePkg. >>> >> >> Yes, could we please get this merged? These are important fixes. >> >> In case it was missed, for the series: >> >> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117236): https://edk2.groups.io/g/devel/message/117236 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes 2024-03-29 17:13 ` Oliver Smith-Denny @ 2024-03-29 17:27 ` Michael D Kinney 2024-03-29 17:28 ` Oliver Smith-Denny [not found] ` <17C14C5D0AA05940.7714@groups.io> 0 siblings, 2 replies; 10+ messages in thread From: Michael D Kinney @ 2024-03-29 17:27 UTC (permalink / raw) To: Oliver Smith-Denny, devel@edk2.groups.io, Ard Biesheuvel Cc: Liming Gao, Ni, Ray, Leif Lindholm, Sami Mujawar, Taylor Beebe, Kinney, Michael D Hi Oliver, I am seeing a merge conflict with the V2 patches from the emails. Can you please rebase, resolve conflicts, and resend? Thanks, Mike > -----Original Message----- > From: Oliver Smith-Denny <osde@linux.microsoft.com> > Sent: Friday, March 29, 2024 10:14 AM > To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>; > Ard Biesheuvel <ardb@kernel.org> > Cc: Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>; Leif > Lindholm <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; > Taylor Beebe <taylor.d.beebe@gmail.com> > Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: > ImagePropertiesRecordLib Fixes > > Thanks Mike! > > Oliver > > On 3/29/2024 10:12 AM, Michael D Kinney wrote: > > Hi Ard, > > > > I have reviewed the discussion on the V1 and V2 versions of the series. > > For the V2 Series: > > > > Acked-by: Michael D Kinney <michael.d.kinney@intel.com> > > > > I will add the Rb/Ab tags and get this merged. > > > > Mike > > > >> -----Original Message----- > >> From: Ard Biesheuvel <ardb@kernel.org> > >> Sent: Friday, March 29, 2024 1:03 AM > >> To: devel@edk2.groups.io; osde@linux.microsoft.com > >> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D > >> <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Leif Lindholm > >> <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; Taylor > >> Beebe <taylor.d.beebe@gmail.com> > >> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: > >> ImagePropertiesRecordLib Fixes > >> > >> On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny > >> <osde@linux.microsoft.com> wrote: > >>> > >>> Hi Mike and Ray, > >>> > >>> I'm here to bug you again :). I have another patchset that > >>> unfortunately Liming has not gotten to review in a month's > >>> time frame with weekly pings. When I bugged you last time, > >>> he reviewed the next day, so something must have worked out > >>> there. Can you please help get this merged? > >>> > >>> Liming, do you need the community to find another member > >>> to help as a second MdeModulePkg maintainer? It's obviously > >>> a large job and you have been less responsive the past few > >>> months, which has slowed down getting some really > >>> important fixes into MdeModulePkg. > >>> > >> > >> Yes, could we please get this merged? These are important fixes. > >> > >> In case it was missed, for the series: > >> > >> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117237): https://edk2.groups.io/g/devel/message/117237 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes 2024-03-29 17:27 ` Michael D Kinney @ 2024-03-29 17:28 ` Oliver Smith-Denny [not found] ` <17C14C5D0AA05940.7714@groups.io> 1 sibling, 0 replies; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-29 17:28 UTC (permalink / raw) To: devel, michael.d.kinney, Ard Biesheuvel Cc: Liming Gao, Ni, Ray, Leif Lindholm, Sami Mujawar, Taylor Beebe Will do! Sorry, it's sat for a bit, so not too surprising. I'll get that up soon. Thanks, Oliver On 3/29/2024 10:27 AM, Michael D Kinney wrote: > Hi Oliver, > > I am seeing a merge conflict with the V2 patches from the emails. > > Can you please rebase, resolve conflicts, and resend? > > Thanks, > > Mike > >> -----Original Message----- >> From: Oliver Smith-Denny <osde@linux.microsoft.com> >> Sent: Friday, March 29, 2024 10:14 AM >> To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>; >> Ard Biesheuvel <ardb@kernel.org> >> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>; Leif >> Lindholm <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; >> Taylor Beebe <taylor.d.beebe@gmail.com> >> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: >> ImagePropertiesRecordLib Fixes >> >> Thanks Mike! >> >> Oliver >> >> On 3/29/2024 10:12 AM, Michael D Kinney wrote: >>> Hi Ard, >>> >>> I have reviewed the discussion on the V1 and V2 versions of the series. >>> For the V2 Series: >>> >>> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> >>> >>> I will add the Rb/Ab tags and get this merged. >>> >>> Mike >>> >>>> -----Original Message----- >>>> From: Ard Biesheuvel <ardb@kernel.org> >>>> Sent: Friday, March 29, 2024 1:03 AM >>>> To: devel@edk2.groups.io; osde@linux.microsoft.com >>>> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D >>>> <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Leif Lindholm >>>> <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; Taylor >>>> Beebe <taylor.d.beebe@gmail.com> >>>> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: >>>> ImagePropertiesRecordLib Fixes >>>> >>>> On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny >>>> <osde@linux.microsoft.com> wrote: >>>>> >>>>> Hi Mike and Ray, >>>>> >>>>> I'm here to bug you again :). I have another patchset that >>>>> unfortunately Liming has not gotten to review in a month's >>>>> time frame with weekly pings. When I bugged you last time, >>>>> he reviewed the next day, so something must have worked out >>>>> there. Can you please help get this merged? >>>>> >>>>> Liming, do you need the community to find another member >>>>> to help as a second MdeModulePkg maintainer? It's obviously >>>>> a large job and you have been less responsive the past few >>>>> months, which has slowed down getting some really >>>>> important fixes into MdeModulePkg. >>>>> >>>> >>>> Yes, could we please get this merged? These are important fixes. >>>> >>>> In case it was missed, for the series: >>>> >>>> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> >>> >>> >>> >>> >>> > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117238): https://edk2.groups.io/g/devel/message/117238 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <17C14C5D0AA05940.7714@groups.io>]
* Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes [not found] ` <17C14C5D0AA05940.7714@groups.io> @ 2024-03-29 20:22 ` Oliver Smith-Denny 0 siblings, 0 replies; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-29 20:22 UTC (permalink / raw) To: devel, michael.d.kinney, Ard Biesheuvel Cc: Liming Gao, Ni, Ray, Leif Lindholm, Sami Mujawar, Taylor Beebe I sent a v3 with the fixup (it was trivial, from my last patch, apologies for not fixing up before). I added the RBs/AB, hope that was alright since there was no substantial code change, just the merge fix. Thanks, Oliver On 3/29/2024 10:28 AM, Oliver Smith-Denny wrote: > Will do! Sorry, it's sat for a bit, so not too surprising. I'll > get that up soon. > > Thanks, > Oliver > > On 3/29/2024 10:27 AM, Michael D Kinney wrote: >> Hi Oliver, >> >> I am seeing a merge conflict with the V2 patches from the emails. >> >> Can you please rebase, resolve conflicts, and resend? >> >> Thanks, >> >> Mike >> >>> -----Original Message----- >>> From: Oliver Smith-Denny <osde@linux.microsoft.com> >>> Sent: Friday, March 29, 2024 10:14 AM >>> To: devel@edk2.groups.io; Kinney, Michael D >>> <michael.d.kinney@intel.com>; >>> Ard Biesheuvel <ardb@kernel.org> >>> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray >>> <ray.ni@intel.com>; Leif >>> Lindholm <quic_llindhol@quicinc.com>; Sami Mujawar >>> <sami.mujawar@arm.com>; >>> Taylor Beebe <taylor.d.beebe@gmail.com> >>> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: >>> ImagePropertiesRecordLib Fixes >>> >>> Thanks Mike! >>> >>> Oliver >>> >>> On 3/29/2024 10:12 AM, Michael D Kinney wrote: >>>> Hi Ard, >>>> >>>> I have reviewed the discussion on the V1 and V2 versions of the series. >>>> For the V2 Series: >>>> >>>> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> >>>> >>>> I will add the Rb/Ab tags and get this merged. >>>> >>>> Mike >>>> >>>>> -----Original Message----- >>>>> From: Ard Biesheuvel <ardb@kernel.org> >>>>> Sent: Friday, March 29, 2024 1:03 AM >>>>> To: devel@edk2.groups.io; osde@linux.microsoft.com >>>>> Cc: Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D >>>>> <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Leif >>>>> Lindholm >>>>> <quic_llindhol@quicinc.com>; Sami Mujawar <sami.mujawar@arm.com>; >>>>> Taylor >>>>> Beebe <taylor.d.beebe@gmail.com> >>>>> Subject: Re: [edk2-devel] [PATCH v2 0/3] MdeModulePkg: >>>>> ImagePropertiesRecordLib Fixes >>>>> >>>>> On Wed, 27 Mar 2024 at 20:14, Oliver Smith-Denny >>>>> <osde@linux.microsoft.com> wrote: >>>>>> >>>>>> Hi Mike and Ray, >>>>>> >>>>>> I'm here to bug you again :). I have another patchset that >>>>>> unfortunately Liming has not gotten to review in a month's >>>>>> time frame with weekly pings. When I bugged you last time, >>>>>> he reviewed the next day, so something must have worked out >>>>>> there. Can you please help get this merged? >>>>>> >>>>>> Liming, do you need the community to find another member >>>>>> to help as a second MdeModulePkg maintainer? It's obviously >>>>>> a large job and you have been less responsive the past few >>>>>> months, which has slowed down getting some really >>>>>> important fixes into MdeModulePkg. >>>>>> >>>>> >>>>> Yes, could we please get this merged? These are important fixes. >>>>> >>>>> In case it was missed, for the series: >>>>> >>>>> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> >>>> >>>> >>>> >>>> >>>> >> >> >> >> >> > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117243): https://edk2.groups.io/g/devel/message/117243 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes @ 2024-03-11 21:29 Oliver Smith-Denny 0 siblings, 0 replies; 10+ messages in thread From: Oliver Smith-Denny @ 2024-03-11 21:29 UTC (permalink / raw) To: devel; +Cc: Liming Gao, Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Taylor Beebe ImagePropertiesRecordLib is currently creating Image Records that are not accurate. It is setting the CodeSegmentSize to be the size of the raw data in the image file, however, when the image is loaded into memory, the raw data size is aligned to the section alignment. This caused the memory attributes table to have incorrect entries for systems, like ARM64, where the section alignment is not 4k for all modules. In fixing this, I noticed that MemoryProtection.c is using its own version of image record creation where this logic was actually correct. ImagePropertiesRecordLib was created to consolidate the logic around creating and managing image records, so this patchset also updates MemoryProtection.c to use ImagePropertiesRecordsLib after making a few small adjustments to ensure the same functionality is present. This patchset was tested on ArmVirtQemu to ensure that all image records were the same before and after this, other than fixing the CodeSegmentSize. v2: - Align VirtualSize instead of SizeOfRawData Github PR: https://github.com/tianocore/edk2/pull/5402 Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Taylor Beebe <taylor.d.beebe@gmail.com> Oliver Smith-Denny (3): MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for CodeSize MdeModulePkg: ImagePropertiesRecordLib: Consolidate Usage MdeModulePkg: MemoryProtection: Use ImageRecordPropertiesLib MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 241 +++----------------- MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c | 86 +++++-- 2 files changed, 94 insertions(+), 233 deletions(-) -- 2.40.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116657): https://edk2.groups.io/g/devel/message/116657 Mute This Topic: https://groups.io/mt/104873191/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-03-29 20:22 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <17BBD31426742776.6798@groups.io> 2024-03-13 17:33 ` [edk2-devel] [PATCH v2 0/3] MdeModulePkg: ImagePropertiesRecordLib Fixes Oliver Smith-Denny [not found] ` <17BC63588355F2EE.10267@groups.io> 2024-03-20 17:35 ` Oliver Smith-Denny [not found] ` <17BE8986E5F1B75A.24580@groups.io> 2024-03-27 18:14 ` Oliver Smith-Denny 2024-03-29 8:03 ` Ard Biesheuvel 2024-03-29 17:12 ` Michael D Kinney 2024-03-29 17:13 ` Oliver Smith-Denny 2024-03-29 17:27 ` Michael D Kinney 2024-03-29 17:28 ` Oliver Smith-Denny [not found] ` <17C14C5D0AA05940.7714@groups.io> 2024-03-29 20:22 ` Oliver Smith-Denny 2024-03-11 21:29 Oliver Smith-Denny
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox