On Sat, Oct 16, 2010 at 05:15:16PM +0100, Maciej W. Rozycki wrote:
Well, Maciej I believe the problem is not in modifying send_IPI_self
but rather _how_ to make it more natural and do not introduce overhead.
apic code is already weird enough :) Need to think.
(
btw, we will have to add additional flag which would check for NMI
being generated by "NMI-tester" and make a second apic write to
ICR to deassert level line, ie it could be something like
apic->send_IPI_self(NMI_VECTOR) ; with asserts level
default_do_nmi() ; check for NMI being sent for testing purpose
apic->send_IPI_self(NMI_VECTOR) ; with deasserts level
iirc apic itself doesn't deassert nmi line on message with
nmi deliver mode arrival
)
Cyrill
--