Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch: arm64: loongarch: x86: clean up release-bound kernel configs #335

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

MingcongBai
Copy link
Contributor

Drop debug, unit tests, self-tests, error/fault injection, emulated/fake drivers, and non-critical tracing support from the release kernel configs to save space and unneeded debug outputs (that may confuse our users).

With the exception of DebugFS support for rtw88/89, as we maintain a set of vendor patches for these devices and debug outputs are not enabled by default unless rtw8{8,9}_core.debug_mask=0x7fff was specificed.

Drop debug, unit tests, self-tests, error/fault injection, emulated/fake
drivers, and non-critical tracing support from the release kernel configs
to save space and unneeded debug outputs (that may confuse our users).

With the exception of DebugFS support for rtw88/89, as we maintain a set
of vendor patches for these devices and debug outputs are not enabled
by default unless rtw8{8,9}_core.debug_mask=0x7fff was specificed.

Signed-off-by: Mingcong Bai <baimingcong@uniontech.com>
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zeno-sole for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot
Copy link

deepin pr auto review

Remove some debugging and testing options

  • Disable CONFIG_SCSI_DEBUG which creates import problems
  • Disable CONFIG_TEST_SCSI_BUS which is specific to the qemu test
  • Disable CONFIG_TEST_BLACKHOLE_DEV which is specific to the qemu test
  • Disable CONFIG_TEST_BPF which is specific to the qemu test
  • Disable CONFIG_RUNTIME_TESTING_MENU which is specific to the qemu test
  • Disable CONFIG_DEBUG_BOOT_PARAMS which is specific to the qemu test
  • Disable CONFIG_PUNIT_ATOM_DEBUG which is specific to the qemu test
  • Disable CONFIG_NOTIFIER_ERROR_INJECTION which is specific to the qemu test
  • Disable CONFIG_FUNCTION_ERROR_INJECTION which is specific to the qemu test
  • Disable CONFIG_TEST_X86_DEBUG_FPU which is specific to the qemu test
  • Disable CONFIG_X86_DEBUG_FPU which is specific to the qemu test
  • Disable CONFIG_IO_DELAY_0XED which is specific to the qemu test
  • Disable CONFIG_EARLY_PRINTK_USB_XDBC which is specific to the qemu test
  • Disable CONFIG_EARLY_PRINTK_DBGP which is specific to the qemu test
  • Disable CONFIG_STRICT_DEVMEM which is specific to the qemu test
  • Disable CONFIG_SAMPLE_TRACE_ARRAY which is specific to the qemu test
  • Disable CONFIG_SAMPLE_FTRACE_DIRECT which is specific to the qemu test
  • Disable CONFIG_SAMPLES which is specific to the qemu test
  • Disable CONFIG_PROVIDE_OHCI1394_DMA_INIT which is specific to the qemu test
  • Disable CONFIG_BLK_DEV_IO_TRACE which is specific to the qemu test
  • Disable CONFIG_MMIOTRACE which is specific to the qemu test
  • Disable CONFIG_FTRACE_SYSCALLS which is specific to the qemu test
  • Disable CONFIG_HWLAT_TRACER which is specific to the qemu test
  • Disable CONFIG_SCHED_STACK_END_CHECK which is specific to the qemu test
  • Disable CONFIG_MEMORY_NOTIFIER_ERROR_INJECT which is specific to the qemu test
  • Disable CONFIG_SCHEDSTATS which is specific to the qemu test
  • Disable CONFIG_HARDLOCKUP_DETECTOR which is specific to the qemu test
  • Disable CONFIG_DEBUG_PLIST which is specific to the qemu test
  • Disable CONFIG_DEBUG_SG which is specific to the qemu test
  • Disable CONFIG_DEBUG_NOTIFIERS which is specific to the qemu test
  • Disable CONFIG_RCU_CPU_STALL_TIMEOUT which is specific to the qemu test
  • Disable CONFIG_FUNCTION_PROFILER which is specific to the qemu test
  • Disable CONFIG_BPF_KPROBE_OVERRIDE which is specific to the qemu test
  • Disable CONFIG_HIST_TRIGGERS which is specific to the qemu test
  • Disable CONFIG_SAMPLE_TRACE_PRINTK which is specific to the qemu test
  • Disable CONFIG_UNWINDER_FRAME_POINTER which is specific to the qemu test
  • Disable CONFIG_UNWIND_HISTORY which is specific to the qemu test
  • Disable CONFIG_KDB_KEYBOARD which is specific to the qemu test
  • Disable CONFIG_KGDB_KDB which is specific to the qemu test
  • Disable CONFIG_KGDB_LOW_LEVEL_TRAP which is specific to the qemu test
  • Disable CONFIG_KGDB which is specific to the qemu test
  • Disable CONFIG_PAGE_POISONING which is specific to the qemu test

@opsiff opsiff merged commit 972c91b into linux-6.6.y Jul 25, 2024
7 of 8 checks passed
opsiff pushed a commit to opsiff/UOS-kernel that referenced this pull request Jul 29, 2024
[ Upstream commit 5f1d18de79180deac2822c93e431bbe547f7d3ce ]

Add a test case which replaces an active ingress qdisc while keeping the
miniq in-tact during the transition period to the new clsact qdisc.

  # ./vmtest.sh -- ./test_progs -t tc_link
  [...]
  ./test_progs -t tc_link
  [    3.412871] bpf_testmod: loading out-of-tree module taints kernel.
  [    3.413343] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  deepin-community#332     tc_links_after:OK
  deepin-community#333     tc_links_append:OK
  deepin-community#334     tc_links_basic:OK
  deepin-community#335     tc_links_before:OK
  deepin-community#336     tc_links_chain_classic:OK
  deepin-community#337     tc_links_chain_mixed:OK
  deepin-community#338     tc_links_dev_chain0:OK
  deepin-community#339     tc_links_dev_cleanup:OK
  deepin-community#340     tc_links_dev_mixed:OK
  deepin-community#341     tc_links_ingress:OK
  deepin-community#342     tc_links_invalid:OK
  deepin-community#343     tc_links_prepend:OK
  deepin-community#344     tc_links_replace:OK
  deepin-community#345     tc_links_revision:OK
  Summary: 14/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240708133130.11609-2-daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e41db26543ef24b6906a832f73119cfadcd99f35)
@opsiff opsiff deleted the bai/linux-6.6.y/debug-cleanup branch August 5, 2024 11:26
Avenger-285714 pushed a commit that referenced this pull request Aug 12, 2024
[ Upstream commit 5f1d18de79180deac2822c93e431bbe547f7d3ce ]

Add a test case which replaces an active ingress qdisc while keeping the
miniq in-tact during the transition period to the new clsact qdisc.

  # ./vmtest.sh -- ./test_progs -t tc_link
  [...]
  ./test_progs -t tc_link
  [    3.412871] bpf_testmod: loading out-of-tree module taints kernel.
  [    3.413343] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  #332     tc_links_after:OK
  #333     tc_links_append:OK
  #334     tc_links_basic:OK
  #335     tc_links_before:OK
  #336     tc_links_chain_classic:OK
  #337     tc_links_chain_mixed:OK
  #338     tc_links_dev_chain0:OK
  #339     tc_links_dev_cleanup:OK
  #340     tc_links_dev_mixed:OK
  #341     tc_links_ingress:OK
  #342     tc_links_invalid:OK
  #343     tc_links_prepend:OK
  #344     tc_links_replace:OK
  #345     tc_links_revision:OK
  Summary: 14/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240708133130.11609-2-daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit e41db26543ef24b6906a832f73119cfadcd99f35)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants