Re: [edk2] [patch] MdeModulePkg/Xhci: add 1ms delay before access MMIO reg during reset

2016-09-19 Thread Tian, Feng
Leif & Mike I will help to submit another tracker to Bugzilla to track this request. 1. create below new clear time definitions 2. remove those separate definitions in modules to get code clean. Thanks Feng -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On

Re: [edk2] [PATCH v2 2/3] MdePkg/BaseMemoryLib*: add missing ASSERT()s

2016-09-19 Thread Wu, Hao A
Hi Ard, The NULL checks for the input Guids in APIs CopyGuid(), CompareGuid() and IsZeroGuid() are implicitly done within calls to BaseLib APIs ReadUnaligned64() and WriteUnaligned64(). So I think the functions behavior matches with their comments. What do you think? Best Regards, Hao Wu >

Re: [edk2] Help Required legacy booting from an EFI

2016-09-19 Thread Laszlo Ersek
On 09/19/16 17:00, Saqib Khan wrote: > Hello all, this is my first post to this list and i am very new to edk2 > development. > > I started by building BootManagerMenuApp with following functionality > >- Boot from BootManagerManueApp >- Run an Helloworld EFI >- Run windows 7 EFI to

[edk2] Help Required legacy booting from an EFI

2016-09-19 Thread Saqib Khan
Hello all, this is my first post to this list and i am very new to edk2 development. I started by building BootManagerMenuApp with following functionality - Boot from BootManagerManueApp - Run an Helloworld EFI - Run windows 7 EFI to boot windows 7 Now i want to develop an EFI which

Re: [edk2] Ingebrigtsen: The End of Gmane?

2016-09-19 Thread Laszlo Ersek
On 09/06/16 18:20, Bruce Cran wrote: > On 9/6/16 3:25 AM, Laszlo Ersek wrote: > >> The gmane web interface is gone, and I'm unaware of anyone who has >> picked up the archive and exposed it under the same URLs (via domain >> name transfer etc). So, at the moment (to my knowledge) all our >>

Re: [edk2] edk2 compile error

2016-09-19 Thread Laszlo Ersek
On 09/18/16 05:38, Chen, Farrah wrote: > Hi, > > When I compile xen with the latest commit in RHEL 6.7, it failed when make > tools. Errors showed when running edk2 build for OvmfPkgX64. > Bisected and this error occurred from commit > 8c8b6fb02342f7aa78e611a5f0f63dcf8fbf48f2. > > commit

Re: [edk2] edk2 compile error

2016-09-19 Thread Wei Liu
Hi all In order to make things clearer: this seems to be a problem in upstream EDK2. Xen Project only tracks upstream, no additional patch is added on top. So, I deleted the irrelevant bits below. On Sun, Sep 18, 2016 at 03:38:19AM +, Chen, Farrah wrote: > I also tried: > > git clone

[edk2] [PATCH v2] MdeModulePkg/PciBusDxe: make OPROM BAR degradation configurable

2016-09-19 Thread Ard Biesheuvel
The 'universal' PCI bus driver in MdeModulePkg contains a quirk to degrade 64-bit PCI MMIO BARs to 32-bit in the presence of an option ROM on the same PCI controller. This quirk is highly specific to not just the X64 architecture in general, but to the PC platform in particular, given that only

[edk2] [PATCH v2 3/3] MdePkg/BaseMemoryLibOptDxe ARM|AARCH64: implement accelerated GUID functions

2016-09-19 Thread Ard Biesheuvel
As reported by Vishal, CompareGuid() is a hotspot, and switching from BaseMemoryLibStm in ArmPkg/ to BaseMemoryLibOptDxe causes a noticeable performance regression due to the fact that BaseMemoryLibOptDxe uses unaligned accessors explicitly to implement CompareGuid() and the related functions.

[edk2] [PATCH v2 1/3] MdePkg/BaseMemoryLibOptDxe ARM: fix arithmetic bugs in CompareMem()

2016-09-19 Thread Ard Biesheuvel
Fix two bugs: - Erroneous shift of 2 in a bytes to bits conversion. - Use reverse subtract rather than negate for value that is subsequently used as operand #2 in a shift operation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel

[edk2] [PATCH v2 2/3] MdePkg/BaseMemoryLib*: add missing ASSERT()s

2016-09-19 Thread Ard Biesheuvel
Add the ASSERT() statements to CopyGuid (), CompareGuid() and IsZeroGuid() that are mentioned in the respective comments but were missing from the actual code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel ---

[edk2] [PATCH v2 0/3] MdePkg/BaseMemoryLibOptDxe: generic and ARM/AARCH64 fixes

2016-09-19 Thread Ard Biesheuvel
Some pending fixes for BaseMemoryLib* and BaseMemoryLibOptDxe, now resent as a single series. Patch #1 fixes an arithmetic bug in BaseMemoryLibOptDxe for ARM, which renders it unusable at the moment. Patch #2 adds some asserts that are mentioned in the respective comment blocks but are missing