From: Michael D Kinney <michael.d.kinney@intel.com>
https://bugzilla.tianocore.org/show_bug.cgi?id=800
Based on content from the following branch/commits:
https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport
https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417d7d5a7d356c15a14c2e60302b2d
https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315c2d823f453e12d2135098f53d61
https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a4c2ef4c4e32379e111f016dbd9b
The BootGraphicsResourceTableDxe module uses the BmpSupportLib
and SafeIntLib to convert a GOP BLT buffer to a BMP graphics image.
Add library mappings for these new library classes.
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
---
OvmfPkg/OvmfPkgIa32.dsc | 2 ++
OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++
OvmfPkg/OvmfPkgX64.dsc | 2 ++
3 files changed, 6 insertions(+)
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
index d762955c5d..e10f898607 100644
--- a/OvmfPkg/OvmfPkgIa32.dsc
+++ b/OvmfPkg/OvmfPkgIa32.dsc
@@ -104,6 +104,8 @@
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+ SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
index 6bcbe70d64..a31c7919ad 100644
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
@@ -109,6 +109,8 @@
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+ SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
index 70fcdcba11..bc433a9724 100644
--- a/OvmfPkg/OvmfPkgX64.dsc
+++ b/OvmfPkg/OvmfPkgX64.dsc
@@ -109,6 +109,8 @@
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+ SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
+ BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
--
2.14.2.windows.3
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Hi Mike, On 02/07/18 23:58, Kinney, Michael D wrote: > From: Michael D Kinney <michael.d.kinney@intel.com> > > https://bugzilla.tianocore.org/show_bug.cgi?id=800 > > Based on content from the following branch/commits: > https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport > https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417d7d5a7d356c15a14c2e60302b2d > https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315c2d823f453e12d2135098f53d61 > https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a4c2ef4c4e32379e111f016dbd9b These commits look capsule-related, but the paragraph below speaks about BootGraphicsResourceTableDxe and image format conversion. Should the references be updated? Also, if part of the code is from Sean, do we need an S-o-b from him, above yours? The DSC file changes look fine; I'm ready to R-b once the above is clarified. (For the future, please consider the "xfuncname" setting from <https://github.com/tianocore/tianocore.github.io/wiki/Laszlo's-unkempt-git-guide-for-edk2-contributors-and-maintainers#contrib-05>, together with <https://github.com/tianocore/tianocore.github.io/wiki/Laszlo's-unkempt-git-guide-for-edk2-contributors-and-maintainers#contrib-09>. Those settings help with the review of DSC and similar files -- the @@ hunk headers in the patch will state the [LibraryClasses] file section, for example.) Thanks, Laszlo > The BootGraphicsResourceTableDxe module uses the BmpSupportLib > and SafeIntLib to convert a GOP BLT buffer to a BMP graphics image. > Add library mappings for these new library classes. > > Cc: Sean Brogan <sean.brogan@microsoft.com> > Cc: Jiewen Yao <jiewen.yao@intel.com> > Cc: Jordan Justen <jordan.l.justen@intel.com> > Cc: Laszlo Ersek <lersek@redhat.com> > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> > --- > OvmfPkg/OvmfPkgIa32.dsc | 2 ++ > OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++ > OvmfPkg/OvmfPkgX64.dsc | 2 ++ > 3 files changed, 6 insertions(+) > > diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc > index d762955c5d..e10f898607 100644 > --- a/OvmfPkg/OvmfPkgIa32.dsc > +++ b/OvmfPkg/OvmfPkgIa32.dsc > @@ -104,6 +104,8 @@ > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf > + BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf > diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc > index 6bcbe70d64..a31c7919ad 100644 > --- a/OvmfPkg/OvmfPkgIa32X64.dsc > +++ b/OvmfPkg/OvmfPkgIa32X64.dsc > @@ -109,6 +109,8 @@ > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf > + BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf > diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc > index 70fcdcba11..bc433a9724 100644 > --- a/OvmfPkg/OvmfPkgX64.dsc > +++ b/OvmfPkg/OvmfPkgX64.dsc > @@ -109,6 +109,8 @@ > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf > + BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
Laszlo, The BmpSupportLib content was from contributions from a capsule related branch. However, the BmpSupportLib can be used for UX capsules as well as other places that conversions between BMP and GOP BLT buffers are needed, so it is a more generic feature. The SafeIntLib was also based on content from the same capsule related branch but also has uses other than capsules. Yes. I need to add Signed-off-by for Sean. Thanks for the "xfuncname" tip. I will add that to my notes for sending patch emails so it is always enabled. Mike > -----Original Message----- > From: Laszlo Ersek [mailto:lersek@redhat.com] > Sent: Wednesday, February 7, 2018 3:17 PM > To: Kinney, Michael D <michael.d.kinney@intel.com>; edk2- > devel@lists.01.org > Cc: Sean Brogan <sean.brogan@microsoft.com>; Yao, Jiewen > <jiewen.yao@intel.com>; Justen, Jordan L > <jordan.l.justen@intel.com>; Ard Biesheuvel > <ard.biesheuvel@linaro.org> > Subject: Re: [Patch 05/10] OvmfPkg: Add SafeIntLib and > BmpSupportLib to DSC files > > Hi Mike, > > On 02/07/18 23:58, Kinney, Michael D wrote: > > From: Michael D Kinney <michael.d.kinney@intel.com> > > > > https://bugzilla.tianocore.org/show_bug.cgi?id=800 > > > > Based on content from the following branch/commits: > > > https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsule > Support > > > https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417 > d7d5a7d356c15a14c2e60302b2d > > > https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315 > c2d823f453e12d2135098f53d61 > > > https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a > 4c2ef4c4e32379e111f016dbd9b > > These commits look capsule-related, but the paragraph > below speaks about > BootGraphicsResourceTableDxe and image format conversion. > Should the > references be updated? > > Also, if part of the code is from Sean, do we need an S- > o-b from him, > above yours? > > The DSC file changes look fine; I'm ready to R-b once the > above is > clarified. > > (For the future, please consider the "xfuncname" setting > from > <https://github.com/tianocore/tianocore.github.io/wiki/La > szlo's-unkempt-git-guide-for-edk2-contributors-and- > maintainers#contrib-05>, > together with > <https://github.com/tianocore/tianocore.github.io/wiki/La > szlo's-unkempt-git-guide-for-edk2-contributors-and- > maintainers#contrib-09>. > > Those settings help with the review of DSC and similar > files -- the @@ > hunk headers in the patch will state the [LibraryClasses] > file section, > for example.) > > Thanks, > Laszlo > > > The BootGraphicsResourceTableDxe module uses the > BmpSupportLib > > and SafeIntLib to convert a GOP BLT buffer to a BMP > graphics image. > > Add library mappings for these new library classes. > > > > Cc: Sean Brogan <sean.brogan@microsoft.com> > > Cc: Jiewen Yao <jiewen.yao@intel.com> > > Cc: Jordan Justen <jordan.l.justen@intel.com> > > Cc: Laszlo Ersek <lersek@redhat.com> > > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> > > Contributed-under: TianoCore Contribution Agreement 1.1 > > Signed-off-by: Michael D Kinney > <michael.d.kinney@intel.com> > > --- > > OvmfPkg/OvmfPkgIa32.dsc | 2 ++ > > OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++ > > OvmfPkg/OvmfPkgX64.dsc | 2 ++ > > 3 files changed, 6 insertions(+) > > > > diff --git a/OvmfPkg/OvmfPkgIa32.dsc > b/OvmfPkg/OvmfPkgIa32.dsc > > index d762955c5d..e10f898607 100644 > > --- a/OvmfPkg/OvmfPkgIa32.dsc > > +++ b/OvmfPkg/OvmfPkgIa32.dsc > > @@ -104,6 +104,8 @@ > > > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > > > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo > ryLibRepStr.inf > > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf > > > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf > > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > > > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > > diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc > b/OvmfPkg/OvmfPkgIa32X64.dsc > > index 6bcbe70d64..a31c7919ad 100644 > > --- a/OvmfPkg/OvmfPkgIa32X64.dsc > > +++ b/OvmfPkg/OvmfPkgIa32X64.dsc > > @@ -109,6 +109,8 @@ > > > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > > > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo > ryLibRepStr.inf > > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf > > > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf > > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > > > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > > diff --git a/OvmfPkg/OvmfPkgX64.dsc > b/OvmfPkg/OvmfPkgX64.dsc > > index 70fcdcba11..bc433a9724 100644 > > --- a/OvmfPkg/OvmfPkgX64.dsc > > +++ b/OvmfPkg/OvmfPkgX64.dsc > > @@ -109,6 +109,8 @@ > > > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > > > BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo > ryLibRepStr.inf > > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > > + > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i > nf > > + > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base > BmpSupportLib.inf > > > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ > BaseSynchronizationLib.inf > > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf > > > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base > PerformanceLibNull.inf > > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 02/08/18 00:48, Kinney, Michael D wrote: > Laszlo, > > The BmpSupportLib content was from contributions from > a capsule related branch. However, the BmpSupportLib > can be used for UX capsules as well as other places that > conversions between BMP and GOP BLT buffers are needed, > so it is a more generic feature. The SafeIntLib was also > based on content from the same capsule related branch but > also has uses other than capsules. > > Yes. I need to add Signed-off-by for Sean. OK, with the S-o-b updated, for patches #5 and #10: Reviewed-by: Laszlo Ersek <lersek@redhat.com> Thank you, Laszlo > Thanks for the "xfuncname" tip. I will add that to my > notes for sending patch emails so it is always enabled. > > Mike > >> -----Original Message----- >> From: Laszlo Ersek [mailto:lersek@redhat.com] >> Sent: Wednesday, February 7, 2018 3:17 PM >> To: Kinney, Michael D <michael.d.kinney@intel.com>; edk2- >> devel@lists.01.org >> Cc: Sean Brogan <sean.brogan@microsoft.com>; Yao, Jiewen >> <jiewen.yao@intel.com>; Justen, Jordan L >> <jordan.l.justen@intel.com>; Ard Biesheuvel >> <ard.biesheuvel@linaro.org> >> Subject: Re: [Patch 05/10] OvmfPkg: Add SafeIntLib and >> BmpSupportLib to DSC files >> >> Hi Mike, >> >> On 02/07/18 23:58, Kinney, Michael D wrote: >>> From: Michael D Kinney <michael.d.kinney@intel.com> >>> >>> https://bugzilla.tianocore.org/show_bug.cgi?id=800 >>> >>> Based on content from the following branch/commits: >>> >> https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsule >> Support >>> >> https://github.com/Microsoft/MS_UEFI/commit/33bab4031a417 >> d7d5a7d356c15a14c2e60302b2d >>> >> https://github.com/Microsoft/MS_UEFI/commit/ca516b1a61315 >> c2d823f453e12d2135098f53d61 >>> >> https://github.com/Microsoft/MS_UEFI/commit/2b9f111f2e74a >> 4c2ef4c4e32379e111f016dbd9b >> >> These commits look capsule-related, but the paragraph >> below speaks about >> BootGraphicsResourceTableDxe and image format conversion. >> Should the >> references be updated? >> >> Also, if part of the code is from Sean, do we need an S- >> o-b from him, >> above yours? >> >> The DSC file changes look fine; I'm ready to R-b once the >> above is >> clarified. >> >> (For the future, please consider the "xfuncname" setting >> from >> <https://github.com/tianocore/tianocore.github.io/wiki/La >> szlo's-unkempt-git-guide-for-edk2-contributors-and- >> maintainers#contrib-05>, >> together with >> <https://github.com/tianocore/tianocore.github.io/wiki/La >> szlo's-unkempt-git-guide-for-edk2-contributors-and- >> maintainers#contrib-09>. >> >> Those settings help with the review of DSC and similar >> files -- the @@ >> hunk headers in the patch will state the [LibraryClasses] >> file section, >> for example.) >> >> Thanks, >> Laszlo >> >>> The BootGraphicsResourceTableDxe module uses the >> BmpSupportLib >>> and SafeIntLib to convert a GOP BLT buffer to a BMP >> graphics image. >>> Add library mappings for these new library classes. >>> >>> Cc: Sean Brogan <sean.brogan@microsoft.com> >>> Cc: Jiewen Yao <jiewen.yao@intel.com> >>> Cc: Jordan Justen <jordan.l.justen@intel.com> >>> Cc: Laszlo Ersek <lersek@redhat.com> >>> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> >>> Contributed-under: TianoCore Contribution Agreement 1.1 >>> Signed-off-by: Michael D Kinney >> <michael.d.kinney@intel.com> >>> --- >>> OvmfPkg/OvmfPkgIa32.dsc | 2 ++ >>> OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++ >>> OvmfPkg/OvmfPkgX64.dsc | 2 ++ >>> 3 files changed, 6 insertions(+) >>> >>> diff --git a/OvmfPkg/OvmfPkgIa32.dsc >> b/OvmfPkg/OvmfPkgIa32.dsc >>> index d762955c5d..e10f898607 100644 >>> --- a/OvmfPkg/OvmfPkgIa32.dsc >>> +++ b/OvmfPkg/OvmfPkgIa32.dsc >>> @@ -104,6 +104,8 @@ >>> >> PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf >>> >> BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo >> ryLibRepStr.inf >>> BaseLib|MdePkg/Library/BaseLib/BaseLib.inf >>> + >> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i >> nf >>> + >> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base >> BmpSupportLib.inf >>> >> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ >> BaseSynchronizationLib.inf >>> CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf >>> >> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base >> PerformanceLibNull.inf >>> diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc >> b/OvmfPkg/OvmfPkgIa32X64.dsc >>> index 6bcbe70d64..a31c7919ad 100644 >>> --- a/OvmfPkg/OvmfPkgIa32X64.dsc >>> +++ b/OvmfPkg/OvmfPkgIa32X64.dsc >>> @@ -109,6 +109,8 @@ >>> >> PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf >>> >> BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo >> ryLibRepStr.inf >>> BaseLib|MdePkg/Library/BaseLib/BaseLib.inf >>> + >> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i >> nf >>> + >> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base >> BmpSupportLib.inf >>> >> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ >> BaseSynchronizationLib.inf >>> CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf >>> >> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base >> PerformanceLibNull.inf >>> diff --git a/OvmfPkg/OvmfPkgX64.dsc >> b/OvmfPkg/OvmfPkgX64.dsc >>> index 70fcdcba11..bc433a9724 100644 >>> --- a/OvmfPkg/OvmfPkgX64.dsc >>> +++ b/OvmfPkg/OvmfPkgX64.dsc >>> @@ -109,6 +109,8 @@ >>> >> PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf >>> >> BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemo >> ryLibRepStr.inf >>> BaseLib|MdePkg/Library/BaseLib/BaseLib.inf >>> + >> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i >> nf >>> + >> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base >> BmpSupportLib.inf >>> >> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/ >> BaseSynchronizationLib.inf >>> CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf >>> >> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base >> PerformanceLibNull.inf >>> > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 8 February 2018 at 01:35, Laszlo Ersek <lersek@redhat.com> wrote: > On 02/08/18 00:48, Kinney, Michael D wrote: >> Laszlo, >> >> The BmpSupportLib content was from contributions from >> a capsule related branch. However, the BmpSupportLib >> can be used for UX capsules as well as other places that >> conversions between BMP and GOP BLT buffers are needed, >> so it is a more generic feature. The SafeIntLib was also >> based on content from the same capsule related branch but >> also has uses other than capsules. >> >> Yes. I need to add Signed-off-by for Sean. I will note once again that our signed off by deviates from other usage in the industry. Usually, a sign off is not an assertion of authorship. It means that the submitter is able to submit the code under the license that covers it. In our case, it means authorship, which is why we as reviewers/maintainers add 'reviewed-by' not 'signed-off-by' like we do in the linux kernel. So what if I want to merge code that is available under a suitable license, but the author is not available to give his sign off, or there are many (hundreds) of authors etc etc? The whole point of open source licensing is that we don't *need* the explicit sign off of the authors, because the license tells us what we can and cannot do with the code. I guess this is also related to the DCO vs contributed-under tags, but in general, I think adding the sign off of people who are not involved in the actual upstreaming of the code is wrong, and it is perfectly fine for the author not to be in a s-o-b line. -- Ard. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 2018-02-07 23:43:44, Ard Biesheuvel wrote: > On 8 February 2018 at 01:35, Laszlo Ersek <lersek@redhat.com> wrote: > > On 02/08/18 00:48, Kinney, Michael D wrote: > >> Laszlo, > >> > >> The BmpSupportLib content was from contributions from > >> a capsule related branch. However, the BmpSupportLib > >> can be used for UX capsules as well as other places that > >> conversions between BMP and GOP BLT buffers are needed, > >> so it is a more generic feature. The SafeIntLib was also > >> based on content from the same capsule related branch but > >> also has uses other than capsules. > >> > >> Yes. I need to add Signed-off-by for Sean. > > I will note once again that our signed off by deviates from other > usage in the industry. > > Usually, a sign off is not an assertion of authorship. It means that > the submitter is able to submit the code under the license that covers > it. > > In our case, it means authorship, From "TianoCore Contribution Agreement 1.1": "You" or "Contributor" shall mean the copyright owner or legal entity authorized by the copyright owner that is making a Contribution hereunder. For reference, the kernel DCO: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1 Maybe the kernel does make it clearer in some ways, but I don't think it has to be the actual author for EDK II. One argument for following the kernel process might be that more people that work on open source are familiar with it. > which is why we as > reviewers/maintainers add 'reviewed-by' not 'signed-off-by' like we do > in the linux kernel. Maybe this is more about the fact that sub-systems don't do pull requests in EDK II, but just push the changes directly? > So what if I want to merge code that is available under a suitable > license, but the author is not available to give his sign off, or > there are many (hundreds) of authors etc etc? The whole point of open > source licensing is that we don't *need* the explicit sign off of the > authors, because the license tells us what we can and cannot do with > the code. > > I guess this is also related to the DCO vs contributed-under tags, but > in general, I think adding the sign off of people who are not involved > in the actual upstreaming of the code is wrong, and it is perfectly > fine for the author not to be in a s-o-b line. It does seem like it would be preferable (or simpler?) for the author to publicly note that they wrote it and give their Signed-off-by under the contribution agreement. Given the wording from the contribution agreement, it appears that it would also be fine to just use Mike's Signed-off-by if he is authorized to contribute the code even though he didn't author it. -Jordan _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 02/08/18 09:32, Jordan Justen wrote: > Given the wording from the contribution agreement, it appears that it > would also be fine to just use Mike's Signed-off-by if he is > authorized to contribute the code even though he didn't author it. So basically just """ Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> """ implies Mike saying, "trust me guys, I got Microsoft's authorization (or whoever the original authors were) to contribute their code under the 2-clause BSDL". Is that right? Dunno why but this concept is hard for me to accept. :) "whoever the original authors were" is super vague to me. Let's say I want to verify that authorization myself: whom do I contact? Are the "https://github.com/Microsoft/MS_UEFI/..." references considered sufficient origin information? Thanks, Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 8 February 2018 at 09:25, Laszlo Ersek <lersek@redhat.com> wrote: > On 02/08/18 09:32, Jordan Justen wrote: > >> Given the wording from the contribution agreement, it appears that it >> would also be fine to just use Mike's Signed-off-by if he is >> authorized to contribute the code even though he didn't author it. > > So basically just > > """ > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> > """ > > implies Mike saying, "trust me guys, I got Microsoft's authorization (or > whoever the original authors were) to contribute their code under the > 2-clause BSDL". Is that right? > > Dunno why but this concept is hard for me to accept. :) "whoever the > original authors were" is super vague to me. Let's say I want to verify > that authorization myself: whom do I contact? Are the > "https://github.com/Microsoft/MS_UEFI/..." references considered > sufficient origin information? > This is exactly the reason: if someone contributes code under a suitable license, they should take full responsibility that the code in question is actually covered by that license. I refuse any responsibility for verifying the origin of code that others contribute, and I'm sure your workload doesn't allow it either. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 02/08/18 10:32, Ard Biesheuvel wrote: > On 8 February 2018 at 09:25, Laszlo Ersek <lersek@redhat.com> wrote: >> On 02/08/18 09:32, Jordan Justen wrote: >> >>> Given the wording from the contribution agreement, it appears that it >>> would also be fine to just use Mike's Signed-off-by if he is >>> authorized to contribute the code even though he didn't author it. >> >> So basically just >> >> """ >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> >> """ >> >> implies Mike saying, "trust me guys, I got Microsoft's authorization (or >> whoever the original authors were) to contribute their code under the >> 2-clause BSDL". Is that right? >> >> Dunno why but this concept is hard for me to accept. :) "whoever the >> original authors were" is super vague to me. Let's say I want to verify >> that authorization myself: whom do I contact? Are the >> "https://github.com/Microsoft/MS_UEFI/..." references considered >> sufficient origin information? >> > > This is exactly the reason: if someone contributes code under a > suitable license, they should take full responsibility that the code > in question is actually covered by that license. OK. If that works, then patches #5 and #10 are Reviewed-by: Laszlo Ersek <lersek@redhat.com> as they are in this series. (This keeps boggling my mind -- I honestly wonder whether responsibility *can* stop at the submitter, as opposed to "catching up" with the whole project --, so I'm pretty sure I'll forget about this interpretation again, and you'll have to remind me again. Please bear with me. :( ) > I refuse any responsibility for verifying the origin of code that > others contribute, and I'm sure your workload doesn't allow it either. It's definitely not that I'd take any responsibility for origin verification; I just figured that contributors could (or should) semi-formally support such efforts, *should* someone in the future feel like verifying the origin. Thanks Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 02/08/18 08:43, Ard Biesheuvel wrote: > On 8 February 2018 at 01:35, Laszlo Ersek <lersek@redhat.com> wrote: >> On 02/08/18 00:48, Kinney, Michael D wrote: >>> Laszlo, >>> >>> The BmpSupportLib content was from contributions from >>> a capsule related branch. However, the BmpSupportLib >>> can be used for UX capsules as well as other places that >>> conversions between BMP and GOP BLT buffers are needed, >>> so it is a more generic feature. The SafeIntLib was also >>> based on content from the same capsule related branch but >>> also has uses other than capsules. >>> >>> Yes. I need to add Signed-off-by for Sean. > > I will note once again that our signed off by deviates from other > usage in the industry. > > Usually, a sign off is not an assertion of authorship. It means that > the submitter is able to submit the code under the license that covers > it. I think a license is not really interpretable unless the identity of the licensor can be established. I'd just like something in the commit message and/or the git metadata to spell out the shared authorship between Microsoft and Intel. > In our case, it means authorship, which is why we as > reviewers/maintainers add 'reviewed-by' not 'signed-off-by' like we do > in the linux kernel. > > So what if I want to merge code that is available under a suitable > license, but the author is not available to give his sign off, or > there are many (hundreds) of authors etc etc? The whole point of open > source licensing is that we don't *need* the explicit sign off of the > authors, because the license tells us what we can and cannot do with > the code. We may not need an explicit sign-off from the original author, agreed, but we need *something* that states that it was the original author that put the original work under the license in question. Patch #5 starts with: "From: Michael D Kinney <michael.d.kinney@intel.com>" which means the git meta-datum for authorship will not credit Microsoft. Then, we also don't see a @microsoft.com email address anywhere at the end of the commit message. Finally, the code changes themselves don't add a Microsoft (C) to the DSC files. So we have a patch that is derived from original Microsoft work (at this point it is shared work between Intel and Microsoft), with none of the common attribution methods mentioning Microsoft. I don't insist on either form specifically, but *something* needs to be added, in my opinion. > I guess this is also related to the DCO vs contributed-under tags, but > in general, I think adding the sign off of people who are not involved > in the actual upstreaming of the code is wrong, and it is perfectly > fine for the author not to be in a s-o-b line. Fine by me; but please let us find another semi-formal method then that states that the original (non-upstreamimg) author has put the patch under the license that actually *permits* upstreaming now, without the original author's active participation. I thought the best method for this would be: """ Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sean Brogan <sean.brogan@microsoft.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> """ I may well be wrong about the specifics, but I feel that *something* should spell out Microsoft's co-authorship on this patch. Thanks Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
© 2016 - 2024 Red Hat, Inc.