-
Notifications
You must be signed in to change notification settings - Fork 154
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
kunit: add extra coverage #327
Changes from all commits
245cb61
b30b336
524c06f
0a29ea8
908db36
e3205a9
9b52002
ccbc4d8
e3dde8b
6dd05d0
2c2dbc9
d396fcd
fa16a62
61ae2fa
4353a88
c490eaf
047c002
42aeea8
0453823
3cd8f53
f5d9e2f
7e1de6e
863cc21
c68828b
5c96728
045eb4a
955fbe1
34211a8
e84f5fb
6325bc3
3ca0371
1e6a42a
deffba0
2136334
ba643c5
71f12df
9a7416f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ CRYPTO_SM3_GENERIC: v5.19-rc1 | |
CRYPTO_SM4: v4.17-rc1 | ||
CRYPTO_SM4_GENERIC: v5.19-rc1 | ||
CRYPTO_XXHASH: v5.3-rc1 | ||
CRYPTO_MANAGER_EXTRA_TESTS: v5.1-rc1 | ||
CXL_BUS: v5.12-rc1 | ||
CXL_REGION: v6.0-rc1 | ||
CXL_REGION_INVALIDATION_TEST: v6.2-rc1 | ||
|
@@ -45,8 +46,11 @@ DAMON_DBGFS: v5.15-rc1 | |
DAMON_DBGFS_KUNIT_TEST: v5.15-rc1 | ||
DAMON_LRU_SORT: v6.0-rc1 | ||
DAMON_PADDR: v5.16-rc1 | ||
DMAPOOL_TEST: v6.4-rc1 | ||
DAMON_RECLAIM: v5.16-rc1 | ||
DMABUF_SELFTESTS: v5.4-rc1 | ||
DAMON_SYSFS: v5.18-rc1 | ||
DAMON_KUNIT_TEST: v5.15-rc1 | ||
DAMON_VADDR: v5.15-rc1 | ||
DAMON_VADDR_KUNIT_TEST: v5.15-rc1 | ||
DEBUG_CREDENTIALS: <= v6.7-rc5 | ||
|
@@ -62,9 +66,11 @@ DMA_CMA: <= v4.8-rc8 | |
DMA_MAP_BENCHMARK: v5.11-rc1 | ||
DRIVER_PE_KUNIT_TEST: v5.13-rc1 | ||
DRM_DEBUG_SELFTEST: v4.18-rc1, <= v6.0 | ||
DRM_VC4_KUNIT_TEST: v6.3-rc1 | ||
DRM_KUNIT_TEST: v6.0-rc1 | ||
EDAC_ATOMIC_SCRUB: v4.2-rc1 | ||
EMBEDDED: <= v6.5 | ||
EVENT_TRACE_STARTUP_TEST: v5.3-rc1 | ||
EXT4_ENCRYPTION: <= v5.0 | ||
EXT4_KUNIT_TESTS: v5.5-rc1 | ||
F2FS_FS_ENCRYPTION: <= v5.0 | ||
|
@@ -94,6 +100,7 @@ HASH_KUNIT_TEST: v5.17-rc1 | |
HID_KUNIT_TEST: v6.1-rc1 | ||
HID_SUPPORT: v6.3-rc1 | ||
HIST_TRIGGERS: v4.7-rc1 | ||
HTE_TEGRA194_TEST: v5.19-rc1 | ||
HW_BREAKPOINT_KUNIT_TEST: v6.1-rc1 | ||
IGC: v4.20-rc1 | ||
IIO_FORMAT_KUNIT_TEST: v6.0-rc1 | ||
|
@@ -120,7 +127,9 @@ IR_IMON_DECODER: v4.17-rc1 | |
IS_SIGNED_TYPE_KUNIT_TEST: v6.1-rc1 | ||
KALLSYMS_SELFTEST: v6.2-rc1 | ||
KASAN: v4.0-rc1, x86_64 | ||
KCSAN_SELFTEST: v5.8-rc1 | ||
KASAN_KUNIT_TEST: v5.10-rc1, x86_64 | ||
KCSAN_KUNIT_TEST: v5.13-rc1 | ||
KFENCE: v5.12-rc1 | ||
KFENCE_KUNIT_TEST: v5.12-rc1 | ||
KMSAN_KUNIT_TEST: v6.1-rc1 | ||
|
@@ -130,14 +139,16 @@ KUNIT_DEBUGFS: v5.7-rc1 | |
KUNIT_DEFAULT_ENABLED: v6.1-rc1 | ||
KUNIT_EXAMPLE_TEST: v5.5-rc1 | ||
KUNIT_TEST: v5.5-rc1 | ||
KPROBE_EVENT_GEN_TEST: v5.6-rc1 | ||
KPROBES_SANITY_TEST: v5.16-rc1 | ||
LEDS_CLASS_MULTICOLOR: v5.9-rc1 | ||
LIBNVDIMM: v4.2-rc1 | ||
LINEAR_RANGES_TEST: v5.8-rc1 | ||
LIST_KUNIT_TEST: v5.5-rc1 | ||
LIVEPATCH: v4.0-rc1, x86_64 | ||
LWTUNNEL: v4.3-rc1 | ||
MEMCPY_KUNIT_TEST: v5.16-rc1 | ||
MEMCPY_SLOW_KUNIT_TEST: v6.2-rc1 | ||
MEMCPY_SLOW_KUNIT_TEST: v6.2-rc6 | ||
MEMORY_HOTPLUG: x86_64 | ||
MEMORY_HOTPLUG_SPARSE: <= v5.15 | ||
MEMORY_HOTREMOVE: x86_64 | ||
|
@@ -147,6 +158,8 @@ MPLS_ROUTING: v4.1-rc1 | |
MPTCP: v5.6-rc1 | ||
MPTCP_IPV6: v5.6-rc1 | ||
MPTCP_KUNIT_TEST: v5.13-rc1 | ||
MCTP_TEST: v5.16-rc1 | ||
MMC_SDHCI_OF_ASPEED_TEST: v5.12-rc1 | ||
ND_BLK: <= v5.17 | ||
NETDEVSIM: v4.16-rc1 | ||
NETDEV_ADDR_LIST_TEST: v5.17-rc1 | ||
|
@@ -198,6 +211,8 @@ NF_TABLES_INET: v4.17-rc1 | |
NF_TABLES_IPV4: v4.17-rc1 | ||
NF_TABLES_IPV6: v4.17-rc1 | ||
NF_TABLES_NETDEV: v4.17-rc1 | ||
NITRO_ENCLAVES_MISC_DEV_TEST: v5.17-rc1 | ||
NTB_MSI_TEST: v5.3-rc1 | ||
NUMA: v5.6-rc1 | ||
NVDIMM_KEYS: v5.0-rc1 | ||
NVDIMM_PFN: v4.3-rc1, x86_64 | ||
|
@@ -207,6 +222,7 @@ OVERFLOW_KUNIT_TEST: v5.18-rc1 | |
PM_QOS_KUNIT_TEST: v5.5-rc1 | ||
POSIX_TIMERS: v4.10-rc1 | ||
PREEMPTIRQ_DELAY_TEST: v5.6-rc1 | ||
REED_SOLOMON_TEST: v5.3-rc1 | ||
PREEMPT_VOLUNTARY_BEHAVIOUR: v5.16-rc1, <= v5.16-rc1 | ||
PRIME_NUMBERS: v5.2-rc1 | ||
PTP_1588_CLOCK_MOCK: v6.6-rc1 | ||
|
@@ -223,6 +239,7 @@ RESOURCE_KUNIT_TEST: v5.11-rc1 | |
RTC_LIB_KUNIT_TEST: v5.15-rc1 | ||
RUNTIME_TESTING_MENU: v4.16-rc1 | ||
SAMPLE_FTRACE_DIRECT: v5.5-rc1, x86_64 | ||
SCF_TORTURE_TEST: v5.10-rc1 | ||
SECURITY_APPARMOR_KUNIT_TEST: v6.2-rc1 # type: tristate is supported | ||
SECURITY_LANDLOCK: v5.13-rc1 | ||
SECURITY_LOADPIN_ENABLED: <= v4.19 | ||
|
@@ -231,16 +248,21 @@ SECURITY_LOCKDOWN_LSM: v5.4-rc1 | |
SIPHASH_KUNIT_TEST: v6.2-rc1 | ||
SLAB_FREELIST_HARDENED: v5.14-rc1 | ||
SLUB_KUNIT_TEST: v5.14-rc1 | ||
SND_SOC_TOPOLOGY_KUNIT_TEST: v5.13-rc1 | ||
SND_SOC_INTEL_AVS: v5.18-rc1 | ||
SND_TEST_COMPONENT: v5.16-rc1 | ||
SND_SOC_INTEL_AVS_MACH_I2S_TEST: v6.0-rc1 | ||
SND_SOC_UTILS_KUNIT_TEST: v5.19-rc1 | ||
STACKINIT_KUNIT_TEST: v5.18-rc1 | ||
STATIC_CALL_SELFTEST: v5.10-rc1 | ||
STM: v4.4-rc1 | ||
STM_DUMMY: v4.4-rc1 | ||
STM_SOURCE_CONSOLE: v4.4-rc1 | ||
STMMAC_SELFTESTS: v5.3-rc1 | ||
STM_SOURCE_FTRACE: v4.6-rc1 | ||
STM_SOURCE_HEARTBEAT: v4.6-rc1 | ||
STRSCPY_KUNIT_TEST: v6.2-rc1 | ||
SYNTH_EVENT_GEN_TEST: v5.6-rc1 | ||
SYNC: <= v4.7 | ||
SYSCTL_KUNIT_TEST: v5.5-rc1 | ||
TASKS_RUDE_RCU: v5.8-rc1 | ||
|
@@ -263,26 +285,36 @@ TEST_MIN_HEAP: v5.7-rc1 | |
TEST_OVERFLOW: <= v5.17 | ||
TEST_PRINTF: v4.4-rc1 | ||
TEST_SCANF: v5.14-rc1 | ||
TEST_REF_TRACKER: v5.17-rc1 | ||
TEST_OBJAGG: v5.0-rc1 | ||
TEST_LOCKUP: v5.7-rc1 | ||
TEST_IRQ_TIMINGS: v5.3-rc1 | ||
TEST_DHRY: v6.3-rc1 | ||
TEST_CLOCKSOURCE_WATCHDOG: v5.14-rc1 | ||
TEST_STRSCPY: v5.2-rc1, <= v6.1 | ||
TEST_VMALLOC: v5.1-rc1 | ||
TEST_XARRAY: v4.20-rc1 | ||
TSNEP_SELFTESTS: v5.17-rc1 | ||
TIME_KUNIT_TEST: v5.14-rc1 | ||
TIME_NS: v5.6-rc1 | ||
TLS: v4.13-rc1 | ||
UBSAN_BOUNDS: v5.15-rc1 | ||
UDMABUF: v4.20-rc1 | ||
USB4: v5.6-rc1 | ||
USB4_DMA_TEST: v5.11-rc1 | ||
UNICODE_NORMALIZATION_SELFTEST: v5.2-rc1 | ||
USB4_KUNIT_TEST: v5.9-rc1 | ||
USER_EVENTS: v5.18-rc1 | ||
USERFAULTFD: v4.3-rc1 | ||
VALIDATE_FS_PARSER: v5.1-rc1 | ||
VCAP_KUNIT_TEST: v6.2-rc1 | ||
VIDEO_V4L2: <= v5.17 | ||
WATCH_QUEUE: v5.8-rc1 | ||
WW_MUTEX_SELFTEST: v4.11-rc1 | ||
X86_CPU_RESCTRL: v5.0-rc1 | ||
X86_INTEL_TSX_MODE_AUTO: v5.4-rc1 | ||
X86_INTEL_TSX_MODE_OFF: v5.4-rc1 | ||
X86_INTEL_TSX_MODE_ON:: v5.4-rc1 | ||
X86_INTEL_TSX_MODE_ON: v5.4-rc1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the patch subject need be like etc/kconfigs.yaml: fix typo of X86_INTEL_TSX_MODE_ON:: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok! i have modified it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just a test to see if my comments show |
||
X86_MCELOG_LEGACY: v4.12-rc1 | ||
X86_RESCTRL: v5.0-rc2, <= v5.0-rc4 | ||
X86_SGX: v5.11-rc1, x86_64 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,11 @@ need_kconfig: | |
- HASH_KUNIT_TEST: m | ||
- KUNIT_EXAMPLE_TEST: n | ||
- KUNIT_TEST: n | ||
- DRM_VC4_KUNIT_TEST: m | ||
- LINEAR_RANGES_TEST: m | ||
- LIST_KUNIT_TEST: m | ||
- MEMCPY_KUNIT_TEST: m | ||
- SND_SOC_TOPOLOGY_KUNIT_TEST: m | ||
# disable slow memcpy kunit test which are also part of MEMCPY_KUNIT_TEST but exhaustive | ||
- MEMCPY_SLOW_KUNIT_TEST: n | ||
- NETDEV_ADDR_LIST_TEST: m | ||
|
@@ -38,7 +40,7 @@ need_kconfig: | |
|
||
- KASAN: y | ||
- KASAN_KUNIT_TEST: m | ||
|
||
- KCSAN_KUNIT_TEST: m | ||
- TRACEPOINTS: y | ||
- KFENCE: y | ||
- KFENCE_KUNIT_TEST: m | ||
|
@@ -92,6 +94,9 @@ need_kconfig: | |
- FAT_KUNIT_TEST: m | ||
|
||
# below are kunit test configs of bool type | ||
- DAMON_KUNIT_TEST: y | ||
- VCAP_KUNIT_TEST: y | ||
- VCAP: y | ||
- PM_QOS_KUNIT_TEST: y | ||
- USB4: y | ||
- USB4_KUNIT_TEST: y | ||
|
@@ -112,6 +117,7 @@ need_kconfig: | |
- DAMON_DBGFS_KUNIT_TEST: y | ||
% elsif ___.group == "group-01" | ||
# below are not kunit test | ||
- KPROBE_EVENT_GEN_TEST: m | ||
- STRING_SELFTEST: m | ||
- TEST_DIV64: m | ||
- TEST_BPF: m | ||
|
@@ -131,6 +137,7 @@ need_kconfig: | |
- TEST_MEMCAT_P: m | ||
- TEST_UDELAY: m | ||
- TEST_VMALLOC: m | ||
- DMAPOOL_TEST: m | ||
- DYNAMIC_DEBUG: y | ||
- DYNAMIC_FTRACE_WITH_REGS: y | ||
- LIVEPATCH: y | ||
|
@@ -140,31 +147,77 @@ need_kconfig: | |
- MEMORY_HOTPLUG: y | ||
- MEMORY_HOTREMOVE: y | ||
- ZONE_DEVICE: y | ||
- DMABUF_SELFTESTS: m | ||
- DEVICE_PRIVATE: y | ||
- TEST_HMM: m | ||
- TEST_FREE_PAGES: m | ||
- KCOV_INSTRUMENT_ALL: n | ||
- TEST_FPU: m | ||
- TEST_BITOPS: m | ||
- TEST_BLACKHOLE_DEV: m | ||
- TEST_ASYNC_DRIVER_PROBE: m | ||
- SPI: y | ||
- SPI_MASTER: y | ||
- SPI_LOOPBACK_TEST: m | ||
- GLOB_SELFTEST: m | ||
- PREEMPTIRQ_DELAY_TEST: m | ||
- KPROBES_SANITY_TEST: m | ||
- MCTP_TEST: y | ||
- MCTP: y | ||
- MMC_SDHCI_OF_ASPEED_TEST: y | ||
- MMC_SDHCI_OF_ASPEED: m | ||
|
||
- CRC32: y | ||
- CRC32_SELFTEST: m | ||
- ATOMIC64_SELFTEST: m | ||
- TEST_MAPLE_TREE: m | ||
|
||
- HTE_TEGRA194_TEST: m | ||
- HTE_TEGRA194: m | ||
- SND: m | ||
- SND_SOC: m | ||
- SND_SOC_INTEL_AVS: m | ||
- SND_SOC_INTEL_AVS_MACH_I2S_TEST: m | ||
|
||
- NTB_MSI_TEST: m | ||
- NTB_MSI: y | ||
- KALLSYMS: y | ||
- USB4_DMA_TEST: m | ||
- UNICODE_NORMALIZATION_SELFTEST: m | ||
- UNICODE: m | ||
- TSNEP: m | ||
- PTP_1588_CLOCK_OPTIONAL: m | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this need be put after "# below are kunit test configs of bool type" line also refer to IOMMUFD_TEST, put dependency kconfigs before it, and have empty line before/after.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I'll refer to this example.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pls also move its dependency together. Since it has 3 kconfigs together, pls add empty line before/after them. |
||
- TEST_REF_TRACKER: m | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. need empty line after this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok! |
||
- TEST_OBJAGG: m | ||
- OBJAGG: m | ||
- TEST_LOCKUP: m | ||
- TEST_DHRY: m | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. need add empty line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok!i have added an empty line. |
||
- TEST_CLOCKSOURCE_WATCHDOG: m | ||
- SYNTH_EVENT_GEN_TEST: m | ||
- SYNTH_EVENTS: y | ||
- STMMAC_SELFTESTS: y | ||
- STMMAC_ETH: m | ||
- SND_TEST_COMPONENT: m | ||
- SCF_TORTURE_TEST: m | ||
- REED_SOLOMON_TEST: m | ||
- NITRO_ENCLAVES: m | ||
|
||
# below are kunit test configs of bool type | ||
- TSNEP | ||
- PTP_1588_CLOCK_OPTIONAL | ||
- TSNEP_SELFTESTS: y | ||
|
||
- PCI: y | ||
- HAVE_PCI: y | ||
- NITRO_ENCLAVES_MISC_DEV_TEST: y | ||
|
||
- EVENT_TRACE_STARTUP_TEST: y | ||
- GUP_TEST: y | ||
- CRYPTO_MANAGER_EXTRA_TESTS: y | ||
- KCSAN_SELFTEST: y | ||
|
||
- HAVE_STATIC_CALL: y | ||
- STATIC_CALL_SELFTEST: y | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. help add empty lines before/after these 2 lines to view them as a group (kconfig and its dependency) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok! |
||
|
||
- TEST_IRQ_TIMINGS: y | ||
- FUNCTION_TRACER: y | ||
- DYNAMIC_FTRACE: y | ||
- BUILDTIME_MCOUNT_SORT: y | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update change log to mention which kernel commit adds this kconfig?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok! i will update the change log later about this.
i have consulted oliver about this,he says it doesn't need such a fine query, just write rc1 by default .