Re: [PATCH v2 6/6] selftests/mm: remove local __NR_* definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/13/25 00:04, John Hubbard wrote:
> 
> 2) I'm unable to reproduce what you saw, because in ALL cases (before
> or after the commit, and with or without a revert), I get the same
> results on my Intel test machine:
> 
>     $ ./protection_keys_64
>     has pkeys: 0
>     running PKEY tests for unsupported CPU/OS
> 
> ...so that's why I'm attaching a patch, in case you can verify that a
> revert fixes it.

The revert fixes it for me, thanks!

You probably just have hardware without pkey support. This isn't 100%
definitive, but you can check:

	cat /proc/cpuinfo  | grep ospke

If that doesn't match the "flags" line, then your hardware doesn't have
support in the first place and the message is totally expected.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux