CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2018/01/06 14:35:45
Modified files: sys/arch/sparc64/dev: vldcp.c Log message: Fix an interrupt storm condition in vldcp(8) (sparc64). If the Rx channel goes down with pending data on the ring, toss the pending data to ensure that the firmware's rx ring head index matches the rx ring tail index. Otherwise we trigger an interrupt storm since vldcpread() never consumes pending data while the channel is down, and the firmware keeps triggering the interrupt until all data on the ring is consumed. Interrupt storm observed and fix tested on a T5220 (which can now run ldom guests; without this fix starting ldomd would trigger the problem). ok kettenis@