[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Oct 2010 00:23:57 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: "Maciej W. Rozycki" <macro@...ux-mips.org>,
Don Zickus <dzickus@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, mingo@...e.hu,
fweisbec@...il.com, robert.richter@....com,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] arch generic way to trigger unknown NMIs
On Thu, Oct 07, 2010 at 11:45:59PM +0100, Maciej W. Rozycki wrote:
> On Thu, 7 Oct 2010, Don Zickus wrote:
>
> > No I prefer a single one too, but there didn't seem to be a
> > send_IPI_self() command, so I took the short route and sent it to
> > everyone. :-(
>
> Odd, APIC hardware does explicitly support such a mode (there are three
> shorthands like this actually: all-but-self, all and self), so why don't
> just add a suitable wrapper?
>
> Maciej
>
We have send_IPI_self which can't be used for NMI delivery mode (ie with
self shortland) but still can be used as say (didn't test)
apic->send_IPI_mask(cpumask_of(cpu), NMI_VECTOR)
where cpu is a target.
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists