linux-surface/pkg/fedora/kernel-surface/configs/fedora.config
Dorian Stoll 3d3ce1ab74
pkg: fedora: Disable wrong NX compatibility flag
On Fedora the kernel needs to be loaded into RWX memory by GRUB.
If it is loaded from non-writable memory, it will crash and freeze
the machine at the Microsoft logo.

Unsetting this flag will cause GRUB to allocate RWX memory for the
kernel.

Note: This won't fix the stock kernels or the installation image.
2023-11-18 10:44:10 +01:00

15 lines
300 B
Plaintext

##
## Config options specific to Fedora
##
##
## The build fails because this is not enabled in the config set for RHEL,
## but enabled automatically by one of our patches.
##
CONFIG_VIDEO_V4L2_SUBDEV_API=y
##
## Disable (wrong) NX compatibility flag.
##
# CONFIG_EFI_DXE_MEM_ATTRIBUTES is not set