Re: [edk2-devel] [PATCH v3] MdeModulePkg: Correct high-memory use in NvmExpressDxe

2022-02-24 Thread Rebecca Cran
On 2/24/22 06:29, Tomas Pilar (tpilar) wrote: +// +// Enable 64-bit DMA support in the PCI layer. +// +Status = PciIo->Attributes ( + PciIo, + EfiPciIoAttributeOperationEnable, + EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE

Re: [edk2-devel] [PATCH v3] MdeModulePkg: Correct high-memory use in NvmExpressDxe

2022-02-24 Thread Ard Biesheuvel
(+ Hao Wu) On Thu, 24 Feb 2022 at 14:29, Tomas Pilar (tpilar) wrote: > > Move the logic that stores starting PCI attributes and sets the > EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE attribute to > DriverBindingStart() before the memory that backs the > DMA engine is allocated. > > This ensures that

[edk2-devel] [PATCH v3] MdeModulePkg: Correct high-memory use in NvmExpressDxe

2022-02-24 Thread Tomas Pilar (tpilar)
Move the logic that stores starting PCI attributes and sets the EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE attribute to DriverBindingStart() before the memory that backs the DMA engine is allocated. This ensures that the DMA-backing memory is not forcibly allocated below 4G in system address map. Oth