• L
    ACPI: Introduce DMA ranges parsing · c04ac679
    Lorenzo Pieralisi 提交于
    Some devices have limited addressing capabilities and cannot
    reference the whole memory address space while carrying out DMA
    operations (eg some devices with bus address bits range smaller than
    system bus - which prevents them from using bus addresses that are
    otherwise valid for the system).
    
    The ACPI _DMA object allows bus devices to define the DMA window that is
    actually addressable by devices that sit upstream the bus, therefore
    providing a means to parse and initialize the devices DMA masks and
    addressable DMA range size.
    
    By relying on the generic ACPI kernel layer to retrieve and parse
    resources, introduce ACPI core code to parse the _DMA object.
    Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Tested-by: NNate Watterson <nwatters@codeaurora.org>
    Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
    c04ac679
acpi.h 35.5 KB