Hi Vladimir, On Thu, Dec 03, 2026 at 11:52:15PM +0200, Vladimir Oltean wrote: > You're not being clear. Does your UEFI boot firmware actually produce > such a dirty cache line for FBPR? It means the firmware has also written > in the FBPR DRAM area, it's not sufficient to have mapped it.
No, not that I have been able to show. On our board FBPR lies inside an EfiLoaderCode allocation, so the boot chain most likely wrote it, but in eight boots no line of FBPR was still cached when BMan was given it. > What problem were you actually seeing that led you to send this patch? Rare crashes in the DPAA Rx path during boot, on a buffer at physical address 0 (x4 is phys_to_virt(0)): [ 20.202676] Unable to handle kernel paging request at virtual address ffff4bcd800000f8 [ 20.258552] Internal error: Oops: 96000005 [#1] PREEMPT SMP [ 20.341545] pc : rx_default_dqrr+0x30c/0x530 [fsl_dpa] [ 20.346687] lr : rx_default_dqrr+0x2fc/0x530 [fsl_dpa] [ 20.412177] x5 : 0000000000000000 x4 : ffff4bcd80000000 x3 : ffffdec2e49fe008 [ 20.430868] Call trace: [ 20.433305] rx_default_dqrr+0x30c/0x530 [fsl_dpa] [ 20.438095] __poll_portal_fast+0x190/0x1b0 [ 20.442276] qman_p_poll_dqrr+0x1c/0x30 [ 20.446105] dpaa_eth_poll+0x30/0xc0 [fsl_dpa] After the fact, we added a check to rx_default_dqrr() that drops any frame whose buffer address is zero and logs the first five. One board then logged, at boot: rx_default_dqrr(mgmt): NULL buffer! format=0, offset=256, length=97, status=0x4 rx_default_dqrr(mgmt): NULL buffer! format=0, offset=256, length=342, status=0x4 rx_default_dqrr(mgmt): NULL buffer! format=0, offset=256, length=342, status=0x4 rx_default_dqrr(mgmt): NULL buffer! format=0, offset=256, length=342, status=0x4 rx_default_dqrr(mgmt): NULL buffer! format=0, offset=256, length=342, status=0x4 The address is zero but the offset, length and status are real, so FMan received into zero-address buffers acquired from BMan, rather than QMan handing out a zeroed FD. I found no software path that releases a zero address into the pool. A zeroed FBPR fits that. It holds eight buffer addresses, so the five logged, all within 90 ms, fit one zeroed record. What I have not found is what zeroes it on the failing boots. Thanks, Anthony
