[edk2] [PATCH] MdePkg/BaseLib: Enhance the return value for string to uint functions

2016-12-07 Thread Hao Wu
For the following APIs in MdePkg/BaseLib: AsciiStrDecimalToUintn AsciiStrDecimalToUint64 AsciiStrHexToUintn AsciiStrHexToUint64 StrDecimalToUintn StrDecimalToUint64 StrHexToUintn StrHexToUint64 They will ASSERT for DEBUG build when the input string exceeds the range of UINTN/UINT64. However, for R

[edk2] [PATCH] ShellPkg/Application: Fix ">v" cannot update environment variable

2016-12-07 Thread Ruiyu Ni
From: Chen A Chen When ">v" is used to redirect the command output to environment variable (e.g.: "echo xxx >v yyy"), we only called SetVariable() to update the variable storage but forgot to update the cached environment variables in gShellEnvVarList. When updating the variable storage, the exis

Re: [edk2] [PATCH] ShellPkg: Assign the correct value to ShellStatus

2016-12-07 Thread Wu, Jiaxin
Reviewed-by: Wu Jiaxin > -Original Message- > From: Gary Lin [mailto:g...@suse.com] > Sent: Wednesday, December 7, 2016 11:41 AM > To: edk2-devel@lists.01.org > Cc: Zhang, Lubo ; Ye, Ting ; Fu, > Siyuan ; Wu, Jiaxin > Subject: [PATCH] ShellPkg: Assign the correct value to ShellStatus >

[edk2] [Patch] NetworkPkg/DnsDxe: Fixed the assert issue in DnsDxe

2016-12-07 Thread Jiaxin Wu
Fix the DnsDxe assert issue when the incorrect answer message received. Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/DnsDxe/DnsImpl.c | 21 + 1 file changed, 17 insertions(+), 4 del

Re: [edk2] [PATCH] ShellPkg: Assign the correct value to ShellStatus

2016-12-07 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Fu, > Siyuan > Sent: Wednesday, December 07, 2016 1:20 AM > To: Gary Lin ; edk2-devel@lists.01.org > Cc: Ye, Ting ; Zhang, Lubo ; Wu, > Jiaxin > Subject: Re: [edk2] [PA

[edk2] [PATCH] UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection.

2016-12-07 Thread Jiewen Yao
This patch sets the normal OS buffer EfiLoaderCode/Data, EfiBootServicesCode/Data, EfiConventionalMemory, EfiACPIReclaimMemory to be not present after SmmReadyToLock. To access these region in OS runtime phase is not a good solution. Previously, we did similar check in SmmMemLib to help SMI handl

Re: [edk2] [Patch] UefiCpuPkg/PiSmmCpuDxeSmm: Remove MTRR field from PSD

2016-12-07 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, December 6, 2016 12:41 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Fan, Jeff ; Tian, > Feng > Subject: [Patch] UefiCpuPkg/PiSmmCpuDxeSmm: Remove MTRR field from PSD > > https://bugz

Re: [edk2] [PATCH v5 0/5] MdeModulePkg: add support for non-discoverable devices

2016-12-07 Thread Ard Biesheuvel
On 5 December 2016 at 15:35, Ard Biesheuvel wrote: > The rationale for this series is the fact that many ARM platforms implement > some form of PCI 'emulation', to allow non-discoverable devices that implement > standardized host controller interfaces (i.e., EHCI, AHCI) to be controlled by > the g

Re: [edk2] [PATCH] ShellPkg: Assign the correct value to ShellStatus

2016-12-07 Thread Fu, Siyuan
Reviewed-by: Fu Siyuan > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Gary Lin > Sent: Wednesday, December 7, 2016 11:41 AM > To: edk2-devel@lists.01.org > Cc: Ye, Ting ; Zhang, Lubo ; Fu, > Siyuan ; Wu, Jiaxin > Subject: [edk2] [PATCH] S

Re: [edk2] OvmfPkg: VM crashed trying to write to RO memory from CommonInterruptEntry

2016-12-07 Thread Evgeny Yakovlev
Hi Laszlo So i managed to reproduce this with debug logs this time and figured out what happened. tl;dr: KVM is spamming guest firmware with 8254 PIT timer IRQs after accumulating a lot of missed timer expiration events while win 2k16 boot loader was waiting for debugger connection on COM2. As in