intel / FdtBusPkg

Device Tree-based Platform Device Driver Development for Tiano UEFI
https://wiki.riseproject.dev/display/HOME/EDK2_00_03+-+FdtBusDxe+support
11 stars 1 forks source link

PciHostBridgeFdtDxe: Non-coherent DMA support #104

Closed andreiw closed 6 months ago

andreiw commented 6 months ago

Depends on new NonCoherent flag in EFI_DT_IO_PROTOCOL_DMA_EXTRA

Originally posted by @andreiw in https://github.com/intel/FdtBusPkg/issues/12#issuecomment-1977827163

andreiw commented 6 months ago

Need to add NonCoherent flag in EFI_DT_IO_PROTOCOL_DMA_EXTRA

andreiw commented 6 months ago

This is a no-op. Non-coherence is never set within extra constraints as EFI doesn't support the streaming DMA mode for PCIe anyway. Just remove the lone check for IsDmaCoherent in RC init.