Re: [PATCH net-next v2 2/3] net: cortina: Add CS7542 CPU network datapath
From: Fil Dunsky
Date: Wed Nov 25 2026 - 06:25:20 EST
Hi Philipp,
Thanks for the review. I'll drop the RESET_CONTROLLER select and both
status loops. The provider polls each of the seven reset bits on assert
and deassert and propagates a timeout or register access error.
The individual asserts matter during teardown, when the hardware may
still own DMA buffers. For example, if the QM assertion fails, bulk
assert would release NI, FE, TM and SCH again and skip DMA and XRAM.
I'll keep trying every line and leave successful assertions in place.
Any error keeps the active DMA mappings pinned. On bring-up I can use
reset_control_bulk_deassert() for the reverse order.
The 100 us hold was a conservative delay I added during bring-up. I
don't have a documented minimum for it. Cortina's BHR4 U-Boot toggles
the global NI reset bit without a delay, but that sequence covers only
NI. I'll test probe and rebind on the Almond+ with the delay removed.
Thanks,
Fil