pygoscelis: Disable CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS

It looks as the SoC on the T14s (AMD Ryzen 7 PRO 4750U) doesn’t support
this feature, while grep’ing through my distfiles (i.e. source code of
my programms) indicated some software actually makes use of it.

For more details see e.g.:
- man 7 pkeys
- Documentation/core-api/protection-keys.rst (in the kernel sources)
- https://lwn.net/Articles/643797
- https://www.phoronix.com/scan.php?page=news_item&px=AMD-PRM-PCID-PKEY
This commit is contained in:
Nils Freydank 2022-01-09 13:44:07 +01:00
parent aebc3fdeab
commit 3cc0d7f086
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -441,7 +441,7 @@ CONFIG_ARCH_USES_PG_UNCACHED=y
CONFIG_ARCH_RANDOM=y CONFIG_ARCH_RANDOM=y
CONFIG_X86_SMAP=y CONFIG_X86_SMAP=y
CONFIG_X86_UMIP=y CONFIG_X86_UMIP=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y # CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS is not set
CONFIG_EFI=y CONFIG_EFI=y
CONFIG_EFI_STUB=y CONFIG_EFI_STUB=y
# CONFIG_EFI_MIXED is not set # CONFIG_EFI_MIXED is not set
@ -908,8 +908,6 @@ CONFIG_ARCH_HAS_ZONE_DMA_SET=y
# CONFIG_ZONE_DMA is not set # CONFIG_ZONE_DMA is not set
CONFIG_ZONE_DMA32=y CONFIG_ZONE_DMA32=y
CONFIG_HMM_MIRROR=y CONFIG_HMM_MIRROR=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_HAS_PKEYS=y
# CONFIG_PERCPU_STATS is not set # CONFIG_PERCPU_STATS is not set
# #