First wave of Sparc-T4 patches.
cover First wave of Sparc-T4 patches.
This patch set adds support for two aspects of SPARC-T4.
First, the ability to detect the newer chip features and export them as hwcap bits to userland as needed. The CPU CAPS output in the boot log on a SPARC-T4 looks like:
[ 0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,blkinit,n2,mul32] [ 0.000000] CPU CAPS: [div32,v8plus,popc,vis,vis2,ASIBlkInit,fmaf,vis3] [ 0.000000] CPU CAPS: [hpc,ima,pause,cbcond,aes,des,kasumi,camellia] [ 0.000000] CPU CAPS: [md5,sha1,sha256,sha512,mpmul,montmul,montsqr,crc32c]
Second, support for the NMI watchdog and perf events.
After giving a day or two for feedback I'll commit this work to sparc-next.
Signed-off-by David S. Miller <[email protected]>