[Skiboot] [PATCH] core/cpufeatures: Fix setting DARN and SCV HWCAP feature bits

Stewart Smith stewart at linux.ibm.com
Thu Apr 5 18:51:47 AEST 2018


Nicholas Piggin <npiggin at gmail.com> writes:
> 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 at gmail.com>

merged to master as of e0c7c89b748312244c1b034b8b5279131add20bc
and as discussed on slack, to 5.10.x as of ecadbe689b689216553c12fa91b3b9b0296653b1

We really neeed some tests for these kind of things...


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list