• David S. Miller's avatar
    sparc64: Add detection for features new in SPARC-T4. · 6f859c0e
    David S. Miller authored
    Compare and branch, pause, and the various new cryptographic opcodes.
    
    We advertise the crypto opcodes to userspace using one hwcap bit,
    HWCAP_SPARC_CRYPTO.
    
    This essentially indicates that the %cfr register can be interrograted
    and used to determine exactly which crypto opcodes are available on
    the current cpu.
    
    We use the %cfr register to report all of the crypto opcodes available
    in the bootup CPU caps log message, and via /proc/cpuinfo.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6f859c0e
elf_64.h 6.02 KB