[Linaro-acpi] [V2 PATCH 5/5] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()