<html><body>
<p><tt><font size="2">Hi Nish,</font></tt><br>
<br>
<tt><font size="2">Nishanth Aravamudan <nacc@linux.vnet.ibm.com> wrote on 05/03/2013 07:47:56 PM:<br>
> +/* in AT_HWCAP2 */<br>
> +#define PPC_FEATURE2_ARCH_2_07 0x80000000<br>
> +#define PPC_FEATURE2_HTM 0x40000000<br>
> +#define PPC_FEATURE2_DSCR 0x20000000<br>
> +#define PPC_FEATURE2_EBB 0x10000000<br>
> +#define PPC_FEATURE2_ISEL 0x08000000<br>
> +#define PPC_FEATURE2_TAR 0x04000000<br>
> +<br>
> #endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */</font></tt><br>
<br>
<tt><font size="2">Following the existing naming convention in cputable.h, the features should probably be amended to the following:</font></tt><br>
<tt><font size="2"><br>
#define PPC_FEATURE2_ARCH_2_07 0x80000000 </font></tt><br>
<tt><font size="2">#define PPC_FEATURE2_HAS_HTM 0x40000000</font></tt><br>
<tt><font size="2">#define PPC_FEATURE2_HAS_DSC 0x20000000</font></tt><br>
<tt><font size="2">#define PPC_FEATURE2_HAS_EBB 0x10000000</font></tt><br>
<tt><font size="2">#define PPC_FEATURE2_HAS_ISEL 0x08000000</font></tt><br>
<tt><font size="2">#define PPC_FEATURE2_HAS_TAR 0x04000000</font></tt><br>
<br>
<tt><font size="2">Notice that I changed DSCR to DSC. The 'R' wasn't descriptive.</font></tt><br>
<br>
<tt><font size="2">Ryan S. Arnold</font></tt><br>
<tt><font size="2">IBM Linux Technology Center</font></tt><br>
</body></html>