klauspost / cpuid

CPU feature identification for Go
MIT License
1.01k stars 125 forks source link

Support for memory encryption cpuids (AMD SME, SEV and Intel TME) #99

Closed iFrozenPhoenix closed 2 years ago

iFrozenPhoenix commented 2 years ago

It would be good to have support for AMD SME and SEV and Intel TME cpuids.

klauspost commented 2 years ago

AMD: https://github.com/klauspost/cpuid/pull/100

Note, that this detects if the feature is available, not if it is enabled. This would require kernel level privileges.

klauspost commented 2 years ago

Intel: #102

iFrozenPhoenix commented 2 years ago

@klauspost thank you very much for the rapid implementation. I've already tested it and can confirm that it works.