Module Name: src Committed By: bouyer Date: Tue May 24 15:55:19 UTC 2022
Modified Files: src/sys/arch/amd64/amd64: genassym.cf vector.S src/sys/arch/i386/i386: genassym.cf vector.S src/sys/arch/x86/include: intr.h src/sys/arch/xen/xen: evtchn.c Log Message: Some devices (e.g. ixg in MSI-X mode) don't to have their handlers called when no interrupt are pending. So add an extra ih_pending field to struct intrhand, which is incremeted when the handler is not called because of IPL level and reset to 0 when called. Check this in Xen's resume assembly to call only handlers that are really pending. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/arch/amd64/amd64/genassym.cf cvs rdiff -u -r1.77 -r1.78 src/sys/arch/amd64/amd64/vector.S cvs rdiff -u -r1.122 -r1.123 src/sys/arch/i386/i386/genassym.cf cvs rdiff -u -r1.87 -r1.88 src/sys/arch/i386/i386/vector.S cvs rdiff -u -r1.64 -r1.65 src/sys/arch/x86/include/intr.h cvs rdiff -u -r1.97 -r1.98 src/sys/arch/xen/xen/evtchn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.