Re: [edk2] [PATCH edk2-non-osi v3] Hisilicon D0x: Remove uncacheable attribute from memory resource HOB

2017-11-13 Thread Leif Lindholm
On Mon, Nov 13, 2017 at 02:04:57PM +, Ard Biesheuvel wrote: > On 13 November 2017 at 12:23, Heyi Guo wrote: > > From: Ming Huang > > > > If uncacheable attribute is included in memory resource HOB, > > GCD spaces will also have EFI_MEMORY_UC

Re: [edk2] [PATCH edk2-non-osi v3] Hisilicon D0x: Remove uncacheable attribute from memory resource HOB

2017-11-13 Thread Ard Biesheuvel
On 13 November 2017 at 12:23, Heyi Guo wrote: > From: Ming Huang > > If uncacheable attribute is included in memory resource HOB, > GCD spaces will also have EFI_MEMORY_UC capability, > then NonCoherentPciIoAllocateBuffer of

[edk2] [PATCH edk2-non-osi v3] Hisilicon D0x: Remove uncacheable attribute from memory resource HOB

2017-11-13 Thread Heyi Guo
From: Ming Huang If uncacheable attribute is included in memory resource HOB, GCD spaces will also have EFI_MEMORY_UC capability, then NonCoherentPciIoAllocateBuffer of NonDiscoverablePciDeviceDxe module will allocate DMA buffer of EFI_MEMORY_UC type, which will cause