Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   skrll
Date:           Fri Nov 13 14:25:16 UTC 2026

Modified Files:
        src/sys/dev/ic: nvme.c nvmevar.h
        src/sys/dev/pci: nvme_pci.c

Log Message:
nvme: Work around lost INTx notifications

Some controllers fail to reassert INTx for completions posted while
interrupts are masked. Recheck completion queues after unmasking and
reschedule the soft interrupt if work remains. For PCI INTx, also mask
PCI interrupt delivery while servicing the interrupt and recheck after
reenabling it.

It's unclear why this workaround is needed, but until the root cause
is found it makes more drives work.

Patch from berte on port-riscv

https://mail-index.netbsd.org/port-riscv/2026/11/09/msg000339.html


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/ic/nvme.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/ic/nvmevar.h
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/nvme_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index