Closed opsiff closed 1 month ago
关键摘要:
phytium_dwmac_probe
函数中,新增的ACPI设备ID匹配逻辑可能会影响现有功能,需要确认是否与现有代码库兼容。phytium_dwmac_probe
函数中,对pdev->dev.dma_ops
的操作可能会导致DMA操作的不可用,需要确保这是预期的行为。phytium_dwmac_probe
函数中,新增了对plat->host_dma_width
的赋值操作,需要确保这一改动不会影响其他模块或功能。phytium_dwmac_probe
函数中,新增了对plat->axi->axi_lpi_en
、plat->axi->axi_xit_frm
和plat->axi->axi_wr_osr_lmt
的赋值操作,需要确保这些改动不会影响其他模块或功能。是否建议立即修改:
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign zccrs for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign zccrs for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Compat with some quirk platform FT2000/4 as id "FTGM0001", use rgmii-rxid instead of rgmii (wrong ACPI DSDT), and set dma_ops and host_dma_width (fix code style).
origin code in k4.19 is following: acpi_dma_configure(priv->device,DEV_DMA_COHERENT); static u64 my_mask=0xffffffff; priv->device->dma_mask = &my_mask; priv->device->coherent_dma_mask = (u32)~0; port to k5.10 add: pdev->dev.dma_ops = NULL;