diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-04-05 15:17:42 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-04-05 00:33:14 -0500 |
commit | e0c7c89b748312244c1b034b8b5279131add20bc (patch) | |
tree | 8a638d9ed4e1003b9768f835a5215fc9e836845a /platforms | |
parent | cfe9d4416aab87103bb90e734abd8d329a168656 (diff) | |
download | skiboot-e0c7c89b748312244c1b034b8b5279131add20bc.zip skiboot-e0c7c89b748312244c1b034b8b5279131add20bc.tar.gz skiboot-e0c7c89b748312244c1b034b8b5279131add20bc.tar.bz2 |
core/cpufeatures: Fix setting DARN and SCV HWCAP feature bits
DARN and SCV has been assigned AT_HWCAP2 (32-63) bits:
#define PPC_FEATURE2_DARN 0x00200000 /* darn random number insn */
#define PPC_FEATURE2_SCV 0x00100000 /* scv syscall */
A cpufeatures-aware OS will not advertise these to userspace without
this patch.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
0 files changed, 0 insertions, 0 deletions