lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
_whitelogger has joined #armbian-rockchip
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
troglodito has quit [Ping timeout: 252 seconds]
troglodito has joined #armbian-rockchip
Dex_2x has joined #armbian-rockchip
Dex_2x has quit [Read error: Connection reset by peer]
<DC-IRC>
[Discord] <nagatoronyan> @mecoblock Did you notice this new warning in rkr5.1 (6.1.115)? It seems like some 6.1 backports is causing the rockchip mmc controller to emit this.
<DC-IRC>
[Discord] <nagatoronyan> ```
<DC-IRC>
[Discord] <nagatoronyan> [ 31.794471] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 942080 bytes), total 32768 (slots), used 52 (slots)
<DC-IRC>
[Discord] <nagatoronyan> [ 31.794828] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 942080 bytes), total 32768 (slots), used 54 (slots)
<DC-IRC>
[Discord] <nagatoronyan> [ 31.812276] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 1048576 bytes), total 32768 (slots), used 2 (slots)
<DC-IRC>
[Discord] <nagatoronyan> [ 31.813356] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 1048576 bytes), total 32768 (slots), used 0 (slots)
<DC-IRC>
[Discord] <nagatoronyan> [ 31.813460] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 1048576 bytes), total 32768 (slots), used 0 (slots)
<DC-IRC>
[Discord] <nagatoronyan> [ 31.833476] dwmmc_rockchip fe2c0000.mmc: swiotlb buffer is full (sz: 1048576 bytes), total 32768 (slots), used 0 (slots)
<any1>
I saw this from dwc a while back, but I "fixed" it by setting "mem=2G"; didn't need all that RAM anyway. :p
<any1>
Apparently, the designware controller can only supports 32 bit addresses for 64 bit memory, so you need to use a bounce buffer if you want to send it DMA-BUFs in higher address space.
<any1>
I guess dwmmc has the same problem. Is there a way to make sure that you only ever allocate DMA-BUFs from lower 32 bit addresses?
<any1>
s/for 64 bit memory/for physical memory/
<DC-IRC>
[Discord] <nagatoronyan> I know it is caused by hardware limitation. But the problem is that the previous version does not have this warning. Apparently rockchip needs to fix their bsp.