Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

Jiri Kosina
2018-11-30T21:13:49Z

On Fri, 30 Nov 2018, Andy Lutomirski wrote:

> According to the SDM, you can program the APIC ICR to request an SMI.
> It's not remotely clear to me what will happen if we do this.

I think one of the known reliable ways to trigger SMI is to write 0x0 to
the SMI command I/O port (0xb2).

> For all I know, the SMI handler will explode and the computer will catch
> fire.

Ha, therefore noone can't claim any more that SMIs are always harmful :)

--
Jiri Kosina
SUSE Labs