mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 12:54:37 +08:00
7fd53f41f7
kunit_tool maintains a list of config options which are broken under
UML, which we exclude from an otherwise 'make ARCH=um allyesconfig'
build used to run all tests with the --alltests option.
Something in UML allyesconfig is causing segfaults when page poisining
is enabled (and is poisoning with a non-zero value). Previously, this
didn't occur, as allyesconfig enabled the CONFIG_PAGE_POISONING_ZERO
option, which worked around the problem by zeroing memory. This option
has since been removed, and memory is now poisoned with 0xAA, which
triggers segfaults in many different codepaths, preventing UML from
booting.
Note that we have to disable both CONFIG_PAGE_POISONING and
CONFIG_DEBUG_PAGEALLOC, as the latter will 'select' the former on
architectures (such as UML) which don't implement __kernel_map_pages().
Ideally, we'd fix this properly by tracking down the real root cause,
but since this is breaking KUnit's --alltests feature, it's worth
disabling there in the meantime so the kernel can boot to the point
where tests can actually run.
Fixes: f289041ed4
("mm, page_poison: remove CONFIG_PAGE_POISONING_ZERO")
Signed-off-by: David Gow <davidgow@google.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
# These are currently broken on UML and prevent allyesconfig from building
|
|
# CONFIG_STATIC_LINK is not set
|
|
# CONFIG_UML_NET_VECTOR is not set
|
|
# CONFIG_UML_NET_VDE is not set
|
|
# CONFIG_UML_NET_PCAP is not set
|
|
# CONFIG_NET_PTP_CLASSIFY is not set
|
|
# CONFIG_IP_VS is not set
|
|
# CONFIG_BRIDGE_EBT_BROUTE is not set
|
|
# CONFIG_BRIDGE_EBT_T_FILTER is not set
|
|
# CONFIG_BRIDGE_EBT_T_NAT is not set
|
|
# CONFIG_MTD_NAND_CADENCE is not set
|
|
# CONFIG_MTD_NAND_NANDSIM is not set
|
|
# CONFIG_BLK_DEV_NULL_BLK is not set
|
|
# CONFIG_BLK_DEV_RAM is not set
|
|
# CONFIG_SCSI_DEBUG is not set
|
|
# CONFIG_NET_VENDOR_XILINX is not set
|
|
# CONFIG_NULL_TTY is not set
|
|
# CONFIG_PTP_1588_CLOCK is not set
|
|
# CONFIG_PINCTRL_EQUILIBRIUM is not set
|
|
# CONFIG_DMABUF_SELFTESTS is not set
|
|
# CONFIG_COMEDI is not set
|
|
# CONFIG_XIL_AXIS_FIFO is not set
|
|
# CONFIG_EXFAT_FS is not set
|
|
# CONFIG_STM_DUMMY is not set
|
|
# CONFIG_FSI_MASTER_ASPEED is not set
|
|
# CONFIG_JFS_FS is not set
|
|
# CONFIG_UBIFS_FS is not set
|
|
# CONFIG_CRAMFS is not set
|
|
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
|
|
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
|
|
# CONFIG_KCOV is not set
|
|
# CONFIG_LKDTM is not set
|
|
# CONFIG_REED_SOLOMON_TEST is not set
|
|
# CONFIG_TEST_RHASHTABLE is not set
|
|
# CONFIG_TEST_MEMINIT is not set
|
|
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
|
|
# CONFIG_DEBUG_INFO_BTF is not set
|
|
# CONFIG_PTP_1588_CLOCK_INES is not set
|
|
# CONFIG_QCOM_CPR is not set
|
|
# CONFIG_RESET_BRCMSTB_RESCAL is not set
|
|
# CONFIG_RESET_INTEL_GW is not set
|
|
# CONFIG_ADI_AXI_ADC is not set
|
|
# CONFIG_DEBUG_PAGEALLOC is not set
|
|
# CONFIG_PAGE_POISONING is not set
|