Re: [PATCH v2] selftests/proc: proc-empty-vm: handle CPUs without protection keys

From: Christian Brauner

Date: Wed Nov 18 2026 - 08:01:29 EST


On Fri, 13 Nov 2026 23:44:11 +0800, Kurt Lin wrote:
> On x86 CPUs without protection keys, pkey_alloc() fails with ENOSPC,
> as documented in pkey_alloc(2). protection_key_support() only expects
> ENOSYS or EINVAL, so the test fails on such machines, e.g. an Intel
> Core i5-7200U:
>
> protection_key_support: error: rv -1, errno 28
>
> [...]

Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.misc

[1/1] selftests/proc: proc-empty-vm: handle CPUs without protection keys
https://git.kernel.org/vfs/vfs/c/21cd133d5875