android_kernel_xiaomi_sm7250/drivers/net/ethernet/microchip
Yuiko Oshino 84a9eb9a2f net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
commit 95a359c9553342d36d408d35331ff0bfce75272f upstream.

The dma failure was reported in the raspberry pi github (issue #4117).
https://github.com/raspberrypi/linux/issues/4117
The use of dma_set_mask_and_coherent fixes the issue.
Tested on 32/64-bit raspberry pi CM4 and 64-bit ubuntu x86 PC with EVB-LAN7430.

Fixes: 23f0703c12 ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-02 18:26:45 +01:00
..
enc28j60_hw.h
enc28j60.c
encx24j600_hw.h net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-20 11:23:03 +02:00
encx24j600-regmap.c net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-20 11:23:03 +02:00
encx24j600.c net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-20 11:23:03 +02:00
Kconfig
lan743x_ethtool.c lan743x: fix for potential NULL pointer dereference with bare card 2020-12-30 11:25:41 +01:00
lan743x_ethtool.h
lan743x_main.c net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent 2021-11-02 18:26:45 +01:00
lan743x_main.h
lan743x_ptp.c
lan743x_ptp.h
Makefile