Thread (13 messages) flat view 13 messages, 5 authors, 2021-05-21

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

From: Thomas Gleixner <hidden>
Date: 2021-05-21 21:43:45
Also in: lkml

On Fri, May 21 2021 at 13:07, Andy Lutomirski wrote:
On Fri, May 21, 2021, at 12:10 PM, Thomas Gleixner wrote:
quoted
Why? The bit can be enabled and #NM catches the violation of the ABI
contract if the application did not request usage. No XCR0 fiddling on
context switch required.
XFD does nothing about signals.
It's a matter of what's implemented in #NM. XFD just arms #NM
It also doesn’t help give applications a non-Linux-specific way to ask
if AMX is available. The SDM says that one can read XCR0.  Sure, we
can use it, but cross platform libraries seem likely to get it wrong.
Well, that's the inevitable consequence of Intel declaring that
everything needs to be exposed unconditionally for the very wrong
reasons.

Thanks,

        tglx

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help