> On Wed, Oct 08, 2025 at 12:48:05PM +0200, Lorenzo Bianconi wrote: > > From: Rex Lu > > > > Limit tx/rx buffer address to 32-bit address space for board with more > > than 4GB DRAM. > > > > Hi Lorenzo, Rex, all, Hi Simon, > > As a fix for net a Fixes tag should probably go here. > > Tested-by: Daniel Pawlik > > Tested-by: Matteo Croce > > Signed-off-by: Rex Lu > > Co-developed-by: Lorenzo Bianconi > > Signed-off-by: Lorenzo Bianconi > > ... > > > @@ -2426,6 +2426,10 @@ mtk_wed_attach(struct mtk_wed_device *dev) > > dev->version = hw->version; > > dev->hw->pcie_base = mtk_wed_get_pcie_base(dev); > > > > + ret = dma_set_mask_and_coherent(hw->dev, DMA_BIT_MASK(32)); > > + if (ret) > > + return ret; > > I think 'goto out' is needed here to avoid leaking hw_lock. right, I will fix it in v2. Regards, Lorenzo > > > + > > if (hw->eth->dma_dev == hw->eth->dev && > > of_dma_is_coherent(hw->eth->dev->of_node)) > > mtk_eth_set_dma_device(hw->eth, hw->dev); > > > > -- > pw-bot: changes-requested