From a81af506442cd6d77296ed0ecea0d494d83bce8a Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Tue, 17 Dec 2024 23:17:09 +0100 Subject: [PATCH] bump patchset --- .gitignore | 3 +- handheld.patch | 21008 +----------------------- kernel-riscv64-rt-debug-fedora.config | 8676 ---------- kernel-riscv64-rt-fedora.config | 8646 ---------- kernel.spec | 2 +- 5 files changed, 729 insertions(+), 37606 deletions(-) delete mode 100644 kernel-riscv64-rt-debug-fedora.config delete mode 100644 kernel-riscv64-rt-fedora.config diff --git a/.gitignore b/.gitignore index f8bcf438e..103322795 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ build buildroot *.rpm cache -x86_64 \ No newline at end of file +x86_64 +ccache \ No newline at end of file diff --git a/handheld.patch b/handheld.patch index 89f789f78..b68c57a21 100644 --- a/handheld.patch +++ b/handheld.patch @@ -12,10 +12,10 @@ Subject: [NA] add dev tools create mode 100755 sync.sh diff --git a/.gitignore b/.gitignore -index 8cd8290c6c93..9c64f0bcd8ac 100644 +index edf4f52c829a..18c89c307909 100644 --- a/.gitignore +++ b/.gitignore -@@ -188,3 +188,7 @@ sphinx_*/ +@@ -189,3 +189,7 @@ sphinx_*/ # Rust analyzer configuration /rust-project.json @@ -113,7 +113,7 @@ Signed-off-by: Jan200101 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_quirks.c b/drivers/gpu/drm/i915/display/intel_quirks.c -index dfd8b4960e6d..a63b3d513075 100644 +index 29b56d53a340..d15a123cf051 100644 --- a/drivers/gpu/drm/i915/display/intel_quirks.c +++ b/drivers/gpu/drm/i915/display/intel_quirks.c @@ -78,6 +78,12 @@ static void quirk_fw_sync_len(struct intel_dp *intel_dp) @@ -168,7 +168,7 @@ Signed-off-by: Jan200101 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c -index 794b4af38055..58edd0a9e537 100644 +index 069426d9260b..1f707c670bc1 100644 --- a/drivers/gpu/drm/i915/display/intel_display_driver.c +++ b/drivers/gpu/drm/i915/display/intel_display_driver.c @@ -127,7 +127,7 @@ static void intel_mode_config_init(struct drm_i915_private *i915) @@ -181,10 +181,10 @@ index 794b4af38055..58edd0a9e537 100644 /* * Maximum framebuffer dimensions, chosen to match diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c -index 316e55f3e87b..7da7dc413469 100644 +index 37746dd619fd..bfe92c94ca7c 100644 --- a/drivers/gpu/drm/i915/i915_params.c +++ b/drivers/gpu/drm/i915/i915_params.c -@@ -130,6 +130,10 @@ i915_param_named_unsafe(lmem_size, uint, 0400, +@@ -129,6 +129,10 @@ i915_param_named_unsafe(lmem_size, uint, 0400, "Set the lmem size(in MiB) for each region. (default: 0, all memory)"); i915_param_named_unsafe(lmem_bar_size, uint, 0400, "Set the lmem bar size(in MiB)."); @@ -208,10 +208,10 @@ index 0fbcb5b6d7bf..8e9aa9131569 100644 #define MEMBER(T, member, ...) T member; diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h -index ebdb6f2d1ca7..1d2900ad8477 100644 +index 687f3a9039bb..840ea9cf7dbc 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h -@@ -533,6 +533,9 @@ struct xe_device { +@@ -542,6 +542,9 @@ struct xe_device { unsigned int czclk_freq; unsigned int fsb_freq, mem_freq, is_ddr3; }; @@ -245,10 +245,10 @@ Subject: revert 1101185bc50f5e45b8b89300914d9aa35a0c8cbe 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 339bdfb7af2f..bc477a591124 100644 +index ad3a3aa72b51..987c873ce040 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -6673,6 +6673,8 @@ create_stream_for_sink(struct drm_connector *connector, +@@ -6723,6 +6723,8 @@ create_stream_for_sink(struct drm_connector *connector, if (recalculate_timing) drm_mode_set_crtcinfo(&saved_mode, 0); @@ -257,7 +257,7 @@ index 339bdfb7af2f..bc477a591124 100644 /* * If scaling is enabled and refresh rate didn't change -@@ -7370,8 +7372,6 @@ enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec +@@ -7429,8 +7431,6 @@ enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec goto fail; } @@ -318,10 +318,10 @@ Link: https://lore.kernel.org/r/20220830172851.269402-4-contact@emersion.fr 6 files changed, 16 insertions(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index bc477a591124..a6ed27a88895 100644 +index 987c873ce040..35a45f416528 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4422,6 +4422,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4478,6 +4478,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) adev_to_drm(adev)->mode_config.prefer_shadow = 1; /* indicates support for immediate flip */ adev_to_drm(adev)->mode_config.async_page_flip = true; @@ -342,7 +342,7 @@ index 9ce429f889ca..aa8700eefadb 100644 return 0; } diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/gpu/drm/i915/display/intel_display_driver.c -index 58edd0a9e537..7490afcbcde9 100644 +index 1f707c670bc1..7d7c3a93dd09 100644 --- a/drivers/gpu/drm/i915/display/intel_display_driver.c +++ b/drivers/gpu/drm/i915/display/intel_display_driver.c @@ -128,6 +128,7 @@ static void intel_mode_config_init(struct drm_i915_private *i915) @@ -354,10 +354,10 @@ index 58edd0a9e537..7490afcbcde9 100644 /* * Maximum framebuffer dimensions, chosen to match diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c -index d4725a968827..5cdcc4e79ba3 100644 +index e2fd561cd23f..d7aba6be9047 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c -@@ -723,6 +723,7 @@ nouveau_display_create(struct drm_device *dev) +@@ -720,6 +720,7 @@ nouveau_display_create(struct drm_device *dev) dev->mode_config.async_page_flip = false; else dev->mode_config.async_page_flip = true; @@ -366,7 +366,7 @@ index d4725a968827..5cdcc4e79ba3 100644 drm_kms_helper_poll_init(dev); drm_kms_helper_poll_disable(dev); diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c -index 5495f2a94fa9..5b6b311e70fd 100644 +index bddfcad10950..3ae548efe6fc 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c @@ -1068,6 +1068,7 @@ int vc4_kms_load(struct drm_device *dev) @@ -378,10 +378,10 @@ index 5495f2a94fa9..5b6b311e70fd 100644 ret = vc4_ctm_obj_init(vc4); diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h -index ab0f167474b1..5f311be7bcf2 100644 +index 271765e2e9f2..75a0d849f42a 100644 --- a/include/drm/drm_mode_config.h +++ b/include/drm/drm_mode_config.h -@@ -928,6 +928,17 @@ struct drm_mode_config { +@@ -912,6 +912,17 @@ struct drm_mode_config { */ bool async_page_flip; @@ -432,10 +432,10 @@ Link: https://lore.kernel.org/r/20220830172851.269402-7-contact@emersion.fr 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index a6ed27a88895..bc477a591124 100644 +index 35a45f416528..987c873ce040 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4422,7 +4422,6 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4478,7 +4478,6 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) adev_to_drm(adev)->mode_config.prefer_shadow = 1; /* indicates support for immediate flip */ adev_to_drm(adev)->mode_config.async_page_flip = true; @@ -476,10 +476,10 @@ Signed-off-by: Alex Deucher 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index bc477a591124..77830a7a70c3 100644 +index 987c873ce040..7258e46212b0 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -6673,7 +6673,7 @@ create_stream_for_sink(struct drm_connector *connector, +@@ -6723,7 +6723,7 @@ create_stream_for_sink(struct drm_connector *connector, if (recalculate_timing) drm_mode_set_crtcinfo(&saved_mode, 0); @@ -518,10 +518,10 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c -index df3d124c4d7a..7db9b8939af5 100644 +index 9be87b532517..93a8bdb2504d 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c -@@ -608,18 +608,6 @@ static int amdgpu_dm_crtc_helper_atomic_check(struct drm_crtc *crtc, +@@ -650,18 +650,6 @@ static int amdgpu_dm_crtc_helper_atomic_check(struct drm_crtc *crtc, return -EINVAL; } @@ -609,10 +609,10 @@ Patchset: secureboot 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt -index be010fec7654..cc6e7ae5786e 100644 +index d401577b5a6a..5a812e0b740a 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt -@@ -3020,6 +3020,11 @@ +@@ -3066,6 +3066,11 @@ to extract confidential information from the kernel are also disabled. @@ -625,7 +625,7 @@ index be010fec7654..cc6e7ae5786e 100644 Set the time limit in jiffies for a lock acquisition. Acquisitions exceeding this limit diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c -index 0a213f69a9e4..8e4f9dcc9f4c 100644 +index e35829d36039..6d54eb03b63d 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -37,6 +37,7 @@ @@ -645,7 +645,7 @@ index 0a213f69a9e4..8e4f9dcc9f4c 100644 !secretmem_active() && !cxl_mem_active(); } -@@ -1422,6 +1423,12 @@ static int __init nohibernate_setup(char *str) +@@ -1426,6 +1427,12 @@ static int __init nohibernate_setup(char *str) return 1; } @@ -658,7 +658,7 @@ index 0a213f69a9e4..8e4f9dcc9f4c 100644 static const char * const comp_alg_enabled[] = { #if IS_ENABLED(CONFIG_CRYPTO_LZO) COMPRESSION_ALGO_LZO, -@@ -1480,3 +1487,4 @@ __setup("hibernate=", hibernate_setup); +@@ -1484,3 +1491,4 @@ __setup("hibernate=", hibernate_setup); __setup("resumewait", resumewait_setup); __setup("resumedelay=", resumedelay_setup); __setup("nohibernate", nohibernate_setup); @@ -1126,7 +1126,7 @@ Patchset: mwifiex 1 file changed, 15 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c -index 2408e50743ca..9d6139a24982 100644 +index 202d43563e0b..7fee67e629b7 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -65,6 +65,7 @@ static struct usb_driver btusb_driver; @@ -1137,7 +1137,7 @@ index 2408e50743ca..9d6139a24982 100644 static const struct usb_device_id btusb_table[] = { /* Generic Bluetooth USB device */ -@@ -468,6 +469,7 @@ static const struct usb_device_id quirks_table[] = { +@@ -434,6 +435,7 @@ static const struct usb_device_id quirks_table[] = { { USB_DEVICE(0x1286, 0x2044), .driver_info = BTUSB_MARVELL }, { USB_DEVICE(0x1286, 0x2046), .driver_info = BTUSB_MARVELL }, { USB_DEVICE(0x1286, 0x204e), .driver_info = BTUSB_MARVELL }, @@ -1145,7 +1145,7 @@ index 2408e50743ca..9d6139a24982 100644 /* Intel Bluetooth devices */ { USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_COMBINED }, -@@ -3866,6 +3868,19 @@ static int btusb_probe(struct usb_interface *intf, +@@ -3839,6 +3841,19 @@ static int btusb_probe(struct usb_interface *intf, if (id->driver_info & BTUSB_MARVELL) hdev->set_bdaddr = btusb_set_bdaddr_marvell; @@ -1354,7 +1354,7 @@ Patchset: ipts 1 file changed, 29 insertions(+) diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c -index dda6dea7cce0..85b48ba6e0af 100644 +index a167d59101ae..f18d5635d2f6 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -40,6 +40,11 @@ @@ -1369,7 +1369,7 @@ index dda6dea7cce0..85b48ba6e0af 100644 #define IOAPIC_RANGE_START (0xfee00000) #define IOAPIC_RANGE_END (0xfeefffff) #define IOVA_START_ADDR (0x1000) -@@ -217,12 +222,14 @@ int intel_iommu_sm = IS_ENABLED(CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON); +@@ -208,12 +213,14 @@ int intel_iommu_sm = IS_ENABLED(CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON); int intel_iommu_enabled = 0; EXPORT_SYMBOL_GPL(intel_iommu_enabled); @@ -1384,7 +1384,7 @@ index dda6dea7cce0..85b48ba6e0af 100644 const struct iommu_ops intel_iommu_ops; static const struct iommu_dirty_ops intel_dirty_ops; -@@ -2156,6 +2163,9 @@ static int device_def_domain_type(struct device *dev) +@@ -2046,6 +2053,9 @@ static int device_def_domain_type(struct device *dev) if ((iommu_identity_mapping & IDENTMAP_AZALIA) && IS_AZALIA(pdev)) return IOMMU_DOMAIN_IDENTITY; @@ -1394,7 +1394,7 @@ index dda6dea7cce0..85b48ba6e0af 100644 } return 0; -@@ -2456,6 +2466,9 @@ static int __init init_dmars(void) +@@ -2344,6 +2354,9 @@ static int __init init_dmars(void) iommu_set_root_entry(iommu); } @@ -1403,8 +1403,8 @@ index dda6dea7cce0..85b48ba6e0af 100644 + check_tylersburg_isoch(); - ret = si_domain_init(hw_pass_through); -@@ -4701,6 +4714,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) + /* +@@ -4649,6 +4662,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) disable_igfx_iommu = 1; } @@ -1423,7 +1423,7 @@ index dda6dea7cce0..85b48ba6e0af 100644 /* G4x/GM45 integrated gfx dmar support is totally busted. */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e00, quirk_iommu_igfx); -@@ -4736,6 +4761,10 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); +@@ -4684,6 +4709,10 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163A, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx); @@ -1505,10 +1505,10 @@ Patchset: ipts create mode 100644 drivers/hid/ipts/thread.h diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig -index 08446c89eff6..ccddfba86004 100644 +index f8a56d631242..38eb29e4cc31 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig -@@ -1367,4 +1367,6 @@ source "drivers/hid/amd-sfh-hid/Kconfig" +@@ -1373,4 +1373,6 @@ source "drivers/hid/amd-sfh-hid/Kconfig" source "drivers/hid/surface-hid/Kconfig" @@ -1516,10 +1516,10 @@ index 08446c89eff6..ccddfba86004 100644 + endif # HID_SUPPORT diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile -index e40f1ddebbb7..bdb17cffca2f 100644 +index 496dab54c73a..02588e5d01eb 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile -@@ -169,3 +169,5 @@ obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ish-hid/ +@@ -170,3 +170,5 @@ obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ish-hid/ obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/ obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/ @@ -4546,7 +4546,7 @@ Patchset: ithc 1 file changed, 16 insertions(+) diff --git a/drivers/iommu/intel/irq_remapping.c b/drivers/iommu/intel/irq_remapping.c -index e090ca07364b..e575193615bf 100644 +index 7a6d188e3bea..0179baee4596 100644 --- a/drivers/iommu/intel/irq_remapping.c +++ b/drivers/iommu/intel/irq_remapping.c @@ -389,6 +389,22 @@ static int set_msi_sid(struct irte *irte, struct pci_dev *dev) @@ -4623,10 +4623,10 @@ Patchset: ithc create mode 100644 drivers/hid/ithc/ithc.h diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig -index ccddfba86004..8e2ea8175bfb 100644 +index 38eb29e4cc31..76ad7d9143c7 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig -@@ -1369,4 +1369,6 @@ source "drivers/hid/surface-hid/Kconfig" +@@ -1375,4 +1375,6 @@ source "drivers/hid/surface-hid/Kconfig" source "drivers/hid/ipts/Kconfig" @@ -4634,10 +4634,10 @@ index ccddfba86004..8e2ea8175bfb 100644 + endif # HID_SUPPORT diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile -index bdb17cffca2f..8987177f8b81 100644 +index 02588e5d01eb..1ea3d2e0d4e9 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile -@@ -171,3 +171,4 @@ obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/ +@@ -172,3 +172,4 @@ obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/ obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/ obj-$(CONFIG_HID_IPTS) += ipts/ @@ -7307,430 +7307,6 @@ index 000000000000..aec320d4e945 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Maximilian Luz -Date: Sat, 30 Dec 2023 18:07:54 +0100 -Subject: hwmon: Add thermal sensor driver for Surface Aggregator Module - -Some of the newer Microsoft Surface devices (such as the Surface Book -3 and Pro 9) have thermal sensors connected via the Surface Aggregator -Module (the embedded controller on those devices). Add a basic driver -to read out the temperature values of those sensors. - -Link: https://github.com/linux-surface/surface-aggregator-module/issues/59 -Signed-off-by: Maximilian Luz -Patchset: surface-sam ---- - drivers/hwmon/Kconfig | 10 +++ - drivers/hwmon/Makefile | 1 + - drivers/hwmon/surface_temp.c | 165 +++++++++++++++++++++++++++++++++++ - 3 files changed, 176 insertions(+) - create mode 100644 drivers/hwmon/surface_temp.c - -diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig -index 778e584c3a75..b8d65292db83 100644 ---- a/drivers/hwmon/Kconfig -+++ b/drivers/hwmon/Kconfig -@@ -2084,6 +2084,16 @@ config SENSORS_SURFACE_FAN - - Select M or Y here, if you want to be able to read the fan's speed. - -+config SENSORS_SURFACE_TEMP -+ tristate "Microsoft Surface Thermal Sensor Driver" -+ depends on SURFACE_AGGREGATOR -+ help -+ Driver for monitoring thermal sensors connected via the Surface -+ Aggregator Module (embedded controller) on Microsoft Surface devices. -+ -+ This driver can also be built as a module. If so, the module -+ will be called surface_temp. -+ - config SENSORS_ADC128D818 - tristate "Texas Instruments ADC128D818" - depends on I2C -diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile -index b1c7056c37db..3ce8d6a9202e 100644 ---- a/drivers/hwmon/Makefile -+++ b/drivers/hwmon/Makefile -@@ -209,6 +209,7 @@ obj-$(CONFIG_SENSORS_SPARX5) += sparx5-temp.o - obj-$(CONFIG_SENSORS_SPD5118) += spd5118.o - obj-$(CONFIG_SENSORS_STTS751) += stts751.o - obj-$(CONFIG_SENSORS_SURFACE_FAN)+= surface_fan.o -+obj-$(CONFIG_SENSORS_SURFACE_TEMP)+= surface_temp.o - obj-$(CONFIG_SENSORS_SY7636A) += sy7636a-hwmon.o - obj-$(CONFIG_SENSORS_AMC6821) += amc6821.o - obj-$(CONFIG_SENSORS_TC74) += tc74.o -diff --git a/drivers/hwmon/surface_temp.c b/drivers/hwmon/surface_temp.c -new file mode 100644 -index 000000000000..48c3e826713f ---- /dev/null -+++ b/drivers/hwmon/surface_temp.c -@@ -0,0 +1,165 @@ -+// SPDX-License-Identifier: GPL-2.0+ -+/* -+ * Thermal sensor subsystem driver for Surface System Aggregator Module (SSAM). -+ * -+ * Copyright (C) 2022-2023 Maximilian Luz -+ */ -+ -+#include -+#include -+#include -+#include -+#include -+ -+#include -+#include -+ -+ -+/* -- SAM interface. -------------------------------------------------------- */ -+ -+SSAM_DEFINE_SYNC_REQUEST_CL_R(__ssam_tmp_get_available_sensors, __le16, { -+ .target_category = SSAM_SSH_TC_TMP, -+ .command_id = 0x04, -+}); -+ -+SSAM_DEFINE_SYNC_REQUEST_MD_R(__ssam_tmp_get_temperature, __le16, { -+ .target_category = SSAM_SSH_TC_TMP, -+ .command_id = 0x01, -+}); -+ -+static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors) -+{ -+ __le16 sensors_le; -+ int status; -+ -+ status = __ssam_tmp_get_available_sensors(sdev, &sensors_le); -+ if (status) -+ return status; -+ -+ *sensors = le16_to_cpu(sensors_le); -+ return 0; -+} -+ -+static int ssam_tmp_get_temperature(struct ssam_device *sdev, u8 iid, long *temperature) -+{ -+ __le16 temp_le; -+ int status; -+ -+ status = __ssam_tmp_get_temperature(sdev->ctrl, sdev->uid.target, iid, &temp_le); -+ if (status) -+ return status; -+ -+ /* Convert 1/10 °K to 1/1000 °C */ -+ *temperature = (le16_to_cpu(temp_le) - 2731) * 100L; -+ return 0; -+} -+ -+ -+/* -- Driver.---------------------------------------------------------------- */ -+ -+struct ssam_temp { -+ struct ssam_device *sdev; -+ s16 sensors; -+}; -+ -+static umode_t ssam_temp_hwmon_is_visible(const void *data, -+ enum hwmon_sensor_types type, -+ u32 attr, int channel) -+{ -+ const struct ssam_temp *ssam_temp = data; -+ -+ if (!(ssam_temp->sensors & BIT(channel))) -+ return 0; -+ -+ return 0444; -+} -+ -+static int ssam_temp_hwmon_read(struct device *dev, -+ enum hwmon_sensor_types type, -+ u32 attr, int channel, long *value) -+{ -+ const struct ssam_temp *ssam_temp = dev_get_drvdata(dev); -+ -+ return ssam_tmp_get_temperature(ssam_temp->sdev, channel + 1, value); -+} -+ -+static const struct hwmon_channel_info * const ssam_temp_hwmon_info[] = { -+ HWMON_CHANNEL_INFO(chip, -+ HWMON_C_REGISTER_TZ), -+ /* We have at most 16 thermal sensor channels. */ -+ HWMON_CHANNEL_INFO(temp, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT, -+ HWMON_T_INPUT), -+ NULL -+}; -+ -+static const struct hwmon_ops ssam_temp_hwmon_ops = { -+ .is_visible = ssam_temp_hwmon_is_visible, -+ .read = ssam_temp_hwmon_read, -+}; -+ -+static const struct hwmon_chip_info ssam_temp_hwmon_chip_info = { -+ .ops = &ssam_temp_hwmon_ops, -+ .info = ssam_temp_hwmon_info, -+}; -+ -+static int ssam_temp_probe(struct ssam_device *sdev) -+{ -+ struct ssam_temp *ssam_temp; -+ struct device *hwmon_dev; -+ s16 sensors; -+ int status; -+ -+ status = ssam_tmp_get_available_sensors(sdev, &sensors); -+ if (status) -+ return status; -+ -+ ssam_temp = devm_kzalloc(&sdev->dev, sizeof(*ssam_temp), GFP_KERNEL); -+ if (!ssam_temp) -+ return -ENOMEM; -+ -+ ssam_temp->sdev = sdev; -+ ssam_temp->sensors = sensors; -+ -+ hwmon_dev = devm_hwmon_device_register_with_info(&sdev->dev, -+ "surface_thermal", ssam_temp, &ssam_temp_hwmon_chip_info, -+ NULL); -+ if (IS_ERR(hwmon_dev)) -+ return PTR_ERR(hwmon_dev); -+ -+ return 0; -+} -+ -+static const struct ssam_device_id ssam_temp_match[] = { -+ { SSAM_SDEV(TMP, SAM, 0x00, 0x02) }, -+ { }, -+}; -+MODULE_DEVICE_TABLE(ssam, ssam_temp_match); -+ -+static struct ssam_device_driver ssam_temp = { -+ .probe = ssam_temp_probe, -+ .match_table = ssam_temp_match, -+ .driver = { -+ .name = "surface_temp", -+ .probe_type = PROBE_PREFER_ASYNCHRONOUS, -+ }, -+}; -+module_ssam_device_driver(ssam_temp); -+ -+MODULE_AUTHOR("Maximilian Luz "); -+MODULE_DESCRIPTION("Thermal sensor subsystem driver for Surface System Aggregator Module"); -+MODULE_LICENSE("GPL"); --- -2.47.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Maximilian Luz -Date: Sat, 30 Dec 2023 18:12:23 +0100 -Subject: hwmon: surface_temp: Add support for sensor names - -The thermal subsystem of the Surface Aggregator Module allows us to -query the names of the respective thermal sensors. Forward those to -userspace. - -Signed-off-by: Ivor Wanders -Co-Developed-by: Maximilian Luz -Signed-off-by: Maximilian Luz -Patchset: surface-sam ---- - drivers/hwmon/surface_temp.c | 113 +++++++++++++++++++++++++++++------ - 1 file changed, 96 insertions(+), 17 deletions(-) - -diff --git a/drivers/hwmon/surface_temp.c b/drivers/hwmon/surface_temp.c -index 48c3e826713f..4c08926139db 100644 ---- a/drivers/hwmon/surface_temp.c -+++ b/drivers/hwmon/surface_temp.c -@@ -17,6 +17,27 @@ - - /* -- SAM interface. -------------------------------------------------------- */ - -+/* -+ * Available sensors are indicated by a 16-bit bitfield, where a 1 marks the -+ * presence of a sensor. So we have at most 16 possible sensors/channels. -+ */ -+#define SSAM_TMP_SENSOR_MAX_COUNT 16 -+ -+/* -+ * All names observed so far are 6 characters long, but there's only -+ * zeros after the name, so perhaps they can be longer. This number reflects -+ * the maximum zero-padded space observed in the returned buffer. -+ */ -+#define SSAM_TMP_SENSOR_NAME_LENGTH 18 -+ -+struct ssam_tmp_get_name_rsp { -+ __le16 unknown1; -+ char unknown2; -+ char name[SSAM_TMP_SENSOR_NAME_LENGTH]; -+} __packed; -+ -+static_assert(sizeof(struct ssam_tmp_get_name_rsp) == 21); -+ - SSAM_DEFINE_SYNC_REQUEST_CL_R(__ssam_tmp_get_available_sensors, __le16, { - .target_category = SSAM_SSH_TC_TMP, - .command_id = 0x04, -@@ -27,6 +48,11 @@ SSAM_DEFINE_SYNC_REQUEST_MD_R(__ssam_tmp_get_temperature, __le16, { - .command_id = 0x01, - }); - -+SSAM_DEFINE_SYNC_REQUEST_MD_R(__ssam_tmp_get_name, struct ssam_tmp_get_name_rsp, { -+ .target_category = SSAM_SSH_TC_TMP, -+ .command_id = 0x0e, -+}); -+ - static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors) - { - __le16 sensors_le; -@@ -54,12 +80,37 @@ static int ssam_tmp_get_temperature(struct ssam_device *sdev, u8 iid, long *temp - return 0; - } - -+static int ssam_tmp_get_name(struct ssam_device *sdev, u8 iid, char *buf, size_t buf_len) -+{ -+ struct ssam_tmp_get_name_rsp name_rsp; -+ int status; -+ -+ status = __ssam_tmp_get_name(sdev->ctrl, sdev->uid.target, iid, &name_rsp); -+ if (status) -+ return status; -+ -+ /* -+ * This should not fail unless the name in the returned struct is not -+ * null-terminated or someone changed something in the struct -+ * definitions above, since our buffer and struct have the same -+ * capacity by design. So if this fails blow this up with a warning. -+ * Since the more likely cause is that the returned string isn't -+ * null-terminated, we might have received garbage (as opposed to just -+ * an incomplete string), so also fail the function. -+ */ -+ status = strscpy(buf, name_rsp.name, buf_len); -+ WARN_ON(status < 0); -+ -+ return status < 0 ? status : 0; -+} -+ - - /* -- Driver.---------------------------------------------------------------- */ - - struct ssam_temp { - struct ssam_device *sdev; - s16 sensors; -+ char names[SSAM_TMP_SENSOR_MAX_COUNT][SSAM_TMP_SENSOR_NAME_LENGTH]; - }; - - static umode_t ssam_temp_hwmon_is_visible(const void *data, -@@ -83,33 +134,47 @@ static int ssam_temp_hwmon_read(struct device *dev, - return ssam_tmp_get_temperature(ssam_temp->sdev, channel + 1, value); - } - -+static int ssam_temp_hwmon_read_string(struct device *dev, -+ enum hwmon_sensor_types type, -+ u32 attr, int channel, const char **str) -+{ -+ const struct ssam_temp *ssam_temp = dev_get_drvdata(dev); -+ -+ *str = ssam_temp->names[channel]; -+ return 0; -+} -+ - static const struct hwmon_channel_info * const ssam_temp_hwmon_info[] = { - HWMON_CHANNEL_INFO(chip, - HWMON_C_REGISTER_TZ), -- /* We have at most 16 thermal sensor channels. */ -+ /* -+ * We have at most SSAM_TMP_SENSOR_MAX_COUNT = 16 thermal sensor -+ * channels. -+ */ - HWMON_CHANNEL_INFO(temp, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT, -- HWMON_T_INPUT), -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL, -+ HWMON_T_INPUT | HWMON_T_LABEL), - NULL - }; - - static const struct hwmon_ops ssam_temp_hwmon_ops = { - .is_visible = ssam_temp_hwmon_is_visible, - .read = ssam_temp_hwmon_read, -+ .read_string = ssam_temp_hwmon_read_string, - }; - - static const struct hwmon_chip_info ssam_temp_hwmon_chip_info = { -@@ -122,6 +187,7 @@ static int ssam_temp_probe(struct ssam_device *sdev) - struct ssam_temp *ssam_temp; - struct device *hwmon_dev; - s16 sensors; -+ int channel; - int status; - - status = ssam_tmp_get_available_sensors(sdev, &sensors); -@@ -135,6 +201,19 @@ static int ssam_temp_probe(struct ssam_device *sdev) - ssam_temp->sdev = sdev; - ssam_temp->sensors = sensors; - -+ /* Retrieve the name for each available sensor. */ -+ for (channel = 0; channel < SSAM_TMP_SENSOR_MAX_COUNT; channel++) -+ { -+ if (!(sensors & BIT(channel))) -+ continue; -+ -+ status = ssam_tmp_get_name(sdev, channel + 1, -+ ssam_temp->names[channel], -+ SSAM_TMP_SENSOR_NAME_LENGTH); -+ if (status) -+ return status; -+ } -+ - hwmon_dev = devm_hwmon_device_register_with_info(&sdev->dev, - "surface_thermal", ssam_temp, &ssam_temp_hwmon_chip_info, - NULL); --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jul 2020 17:19:53 +0200 @@ -8268,7 +7844,7 @@ Patchset: surface-typecover 1 file changed, 98 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c -index 24da73964763..42c393912645 100644 +index e936019d21fe..b2080e6c38d9 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -34,7 +34,10 @@ @@ -8315,17 +7891,17 @@ index 24da73964763..42c393912645 100644 }; static void mt_post_parse_default_settings(struct mt_device *td, -@@ -212,6 +221,7 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app); - #define MT_CLS_GOOGLE 0x0111 +@@ -213,6 +222,7 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app); #define MT_CLS_RAZER_BLADE_STEALTH 0x0112 #define MT_CLS_SMART_TECH 0x0113 + #define MT_CLS_SIS 0x0457 +#define MT_CLS_WIN_8_MS_SURFACE_TYPE_COVER 0x0114 #define MT_DEFAULT_MAXCONTACT 10 #define MT_MAX_MAXCONTACT 250 -@@ -396,6 +406,16 @@ static const struct mt_class mt_classes[] = { - MT_QUIRK_CONTACT_CNT_ACCURATE | - MT_QUIRK_SEPARATE_APP_REPORT, +@@ -402,6 +412,16 @@ static const struct mt_class mt_classes[] = { + MT_QUIRK_ALWAYS_VALID | + MT_QUIRK_CONTACT_CNT_ACCURATE, }, + { .name = MT_CLS_WIN_8_MS_SURFACE_TYPE_COVER, + .quirks = MT_QUIRK_HAS_TYPE_COVER_BACKLIGHT | @@ -8340,7 +7916,7 @@ index 24da73964763..42c393912645 100644 { } }; -@@ -1745,6 +1765,69 @@ static void mt_expired_timeout(struct timer_list *t) +@@ -1751,6 +1771,69 @@ static void mt_expired_timeout(struct timer_list *t) clear_bit_unlock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags); } @@ -8410,7 +7986,7 @@ index 24da73964763..42c393912645 100644 static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) { int ret, i; -@@ -1768,6 +1851,9 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) +@@ -1774,6 +1857,9 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) td->inputmode_value = MT_INPUTMODE_TOUCHSCREEN; hid_set_drvdata(hdev, td); @@ -8420,7 +7996,7 @@ index 24da73964763..42c393912645 100644 INIT_LIST_HEAD(&td->applications); INIT_LIST_HEAD(&td->reports); -@@ -1806,15 +1892,19 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) +@@ -1812,8 +1898,10 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) timer_setup(&td->release_timer, mt_expired_timeout, 0); ret = hid_parse(hdev); @@ -8432,6 +8008,8 @@ index 24da73964763..42c393912645 100644 if (mtclass->quirks & MT_QUIRK_FIX_CONST_CONTACT_ID) mt_fix_const_fields(hdev, HID_DG_CONTACTID); +@@ -1822,8 +1910,10 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) + hdev->quirks |= HID_QUIRK_NOGET; ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT); - if (ret) @@ -8442,7 +8020,7 @@ index 24da73964763..42c393912645 100644 ret = sysfs_create_group(&hdev->dev.kobj, &mt_attribute_group); if (ret) -@@ -1864,6 +1954,7 @@ static void mt_remove(struct hid_device *hdev) +@@ -1873,6 +1963,7 @@ static void mt_remove(struct hid_device *hdev) { struct mt_device *td = hid_get_drvdata(hdev); @@ -8450,7 +8028,7 @@ index 24da73964763..42c393912645 100644 del_timer_sync(&td->release_timer); sysfs_remove_group(&hdev->dev.kobj, &mt_attribute_group); -@@ -2290,6 +2381,11 @@ static const struct hid_device_id mt_devices[] = { +@@ -2299,6 +2390,11 @@ static const struct hid_device_id mt_devices[] = { MT_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_CSR2) }, @@ -8494,7 +8072,7 @@ Patchset: surface-typecover 1 file changed, 122 insertions(+), 26 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c -index 42c393912645..c44a43db1444 100644 +index b2080e6c38d9..af39bdc108c8 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -77,6 +77,7 @@ MODULE_LICENSE("GPL"); @@ -8514,7 +8092,7 @@ index 42c393912645..c44a43db1444 100644 enum latency_mode { HID_LATENCY_NORMAL = 0, -@@ -408,6 +411,7 @@ static const struct mt_class mt_classes[] = { +@@ -414,6 +417,7 @@ static const struct mt_class mt_classes[] = { }, { .name = MT_CLS_WIN_8_MS_SURFACE_TYPE_COVER, .quirks = MT_QUIRK_HAS_TYPE_COVER_BACKLIGHT | @@ -8522,7 +8100,7 @@ index 42c393912645..c44a43db1444 100644 MT_QUIRK_ALWAYS_VALID | MT_QUIRK_IGNORE_DUPLICATES | MT_QUIRK_HOVERING | -@@ -1389,6 +1393,9 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, +@@ -1395,6 +1399,9 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, field->application != HID_CP_CONSUMER_CONTROL && field->application != HID_GD_WIRELESS_RADIO_CTLS && field->application != HID_GD_SYSTEM_MULTIAXIS && @@ -8532,7 +8110,7 @@ index 42c393912645..c44a43db1444 100644 !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) return -1; -@@ -1416,6 +1423,21 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, +@@ -1422,6 +1429,21 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, return 1; } @@ -8554,7 +8132,7 @@ index 42c393912645..c44a43db1444 100644 if (rdata->is_mt_collection) return mt_touch_input_mapping(hdev, hi, field, usage, bit, max, application); -@@ -1437,6 +1459,7 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, +@@ -1443,6 +1465,7 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, { struct mt_device *td = hid_get_drvdata(hdev); struct mt_report_data *rdata; @@ -8562,7 +8140,7 @@ index 42c393912645..c44a43db1444 100644 rdata = mt_find_report_data(td, field->report); if (rdata && rdata->is_mt_collection) { -@@ -1444,6 +1467,19 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, +@@ -1450,6 +1473,19 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, return -1; } @@ -8582,7 +8160,7 @@ index 42c393912645..c44a43db1444 100644 /* let hid-core decide for the others */ return 0; } -@@ -1453,11 +1489,21 @@ static int mt_event(struct hid_device *hid, struct hid_field *field, +@@ -1459,11 +1495,21 @@ static int mt_event(struct hid_device *hid, struct hid_field *field, { struct mt_device *td = hid_get_drvdata(hid); struct mt_report_data *rdata; @@ -8604,7 +8182,7 @@ index 42c393912645..c44a43db1444 100644 return 0; } -@@ -1635,6 +1681,42 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app) +@@ -1641,6 +1687,42 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app) app->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; } @@ -8647,7 +8225,7 @@ index 42c393912645..c44a43db1444 100644 static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) { struct mt_device *td = hid_get_drvdata(hdev); -@@ -1683,6 +1765,13 @@ static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) +@@ -1689,6 +1771,13 @@ static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) /* force BTN_STYLUS to allow tablet matching in udev */ __set_bit(BTN_STYLUS, hi->input->keybit); break; @@ -8661,7 +8239,7 @@ index 42c393912645..c44a43db1444 100644 default: suffix = "UNKNOWN"; break; -@@ -1765,30 +1854,6 @@ static void mt_expired_timeout(struct timer_list *t) +@@ -1771,30 +1860,6 @@ static void mt_expired_timeout(struct timer_list *t) clear_bit_unlock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags); } @@ -8692,7 +8270,7 @@ index 42c393912645..c44a43db1444 100644 static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) { struct usb_device *udev = hid_to_usb_dev(hdev); -@@ -1797,8 +1862,9 @@ static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) +@@ -1803,8 +1868,9 @@ static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) /* Wake up the device in case it's already suspended */ pm_runtime_get_sync(&udev->dev); @@ -8704,7 +8282,7 @@ index 42c393912645..c44a43db1444 100644 hid_err(hdev, "couldn't find backlight field\n"); goto out; } -@@ -1932,13 +1998,24 @@ static int mt_suspend(struct hid_device *hdev, pm_message_t state) +@@ -1941,13 +2007,24 @@ static int mt_suspend(struct hid_device *hdev, pm_message_t state) static int mt_reset_resume(struct hid_device *hdev) { @@ -8729,7 +8307,7 @@ index 42c393912645..c44a43db1444 100644 /* Some Elan legacy devices require SET_IDLE to be set on resume. * It should be safe to send it to other devices too. * Tested on 3M, Stantum, Cypress, Zytronic, eGalax, and Elan panels. */ -@@ -1947,12 +2024,31 @@ static int mt_resume(struct hid_device *hdev) +@@ -1956,12 +2033,31 @@ static int mt_resume(struct hid_device *hdev) mt_set_modes(hdev, HID_LATENCY_NORMAL, true, true); @@ -8790,7 +8368,7 @@ Patchset: surface-shutdown 3 files changed, 40 insertions(+) diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c -index f412ef73a6e4..9892cd72dd2c 100644 +index 35270172c833..529779994ef6 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -505,6 +505,9 @@ static void pci_device_shutdown(struct device *dev) @@ -8804,10 +8382,10 @@ index f412ef73a6e4..9892cd72dd2c 100644 if (drv && drv->shutdown) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c -index c7ec62f076c3..69449d13ff21 100644 +index ea629c78fa7c..b3d17cfc54a4 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c -@@ -6322,3 +6322,39 @@ static void pci_mask_replay_timer_timeout(struct pci_dev *pdev) +@@ -6325,3 +6325,39 @@ static void pci_mask_replay_timer_timeout(struct pci_dev *pdev) DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9750, pci_mask_replay_timer_timeout); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9755, pci_mask_replay_timer_timeout); #endif @@ -8848,10 +8426,10 @@ index c7ec62f076c3..69449d13ff21 100644 +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x466d, quirk_no_shutdown); // Thunderbolt 4 NHI +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x46a8, quirk_no_shutdown); // GPU diff --git a/include/linux/pci.h b/include/linux/pci.h -index 37d97bef060f..056fce19477b 100644 +index 4e77c4230c0a..a4b0e6ef6cfe 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h -@@ -466,6 +466,7 @@ struct pci_dev { +@@ -467,6 +467,7 @@ struct pci_dev { unsigned int no_command_memory:1; /* No PCI_COMMAND_MEMORY */ unsigned int rom_bar_overlap:1; /* ROM BAR disable broken */ unsigned int rom_attr_enabled:1; /* Display of ROM attribute enabled? */ @@ -8975,10 +8553,10 @@ Patchset: cameras 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c -index 1329032ed09b..f5ac2e29a35f 100644 +index 52917b177122..6cde03b88351 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c -@@ -2194,6 +2194,9 @@ static acpi_status acpi_bus_check_add_2(acpi_handle handle, u32 lvl_not_used, +@@ -2214,6 +2214,9 @@ static acpi_status acpi_bus_check_add_2(acpi_handle handle, u32 lvl_not_used, static void acpi_default_enumeration(struct acpi_device *device) { @@ -9018,7 +8596,7 @@ Patchset: cameras 1 file changed, 30 insertions(+) diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c -index 85b48ba6e0af..1c2ad04c1abb 100644 +index f18d5635d2f6..361f4c178efb 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -45,6 +45,13 @@ @@ -9035,7 +8613,7 @@ index 85b48ba6e0af..1c2ad04c1abb 100644 #define IOAPIC_RANGE_START (0xfee00000) #define IOAPIC_RANGE_END (0xfeefffff) #define IOVA_START_ADDR (0x1000) -@@ -223,12 +230,14 @@ int intel_iommu_enabled = 0; +@@ -214,12 +221,14 @@ int intel_iommu_enabled = 0; EXPORT_SYMBOL_GPL(intel_iommu_enabled); static int dmar_map_ipts = 1; @@ -9050,7 +8628,7 @@ index 85b48ba6e0af..1c2ad04c1abb 100644 #define IDENTMAP_IPTS 16 const struct iommu_ops intel_iommu_ops; -@@ -2164,6 +2173,9 @@ static int device_def_domain_type(struct device *dev) +@@ -2054,6 +2063,9 @@ static int device_def_domain_type(struct device *dev) if ((iommu_identity_mapping & IDENTMAP_AZALIA) && IS_AZALIA(pdev)) return IOMMU_DOMAIN_IDENTITY; @@ -9060,7 +8638,7 @@ index 85b48ba6e0af..1c2ad04c1abb 100644 if ((iommu_identity_mapping & IDENTMAP_IPTS) && IS_IPTS(pdev)) return IOMMU_DOMAIN_IDENTITY; } -@@ -2466,6 +2478,9 @@ static int __init init_dmars(void) +@@ -2354,6 +2366,9 @@ static int __init init_dmars(void) iommu_set_root_entry(iommu); } @@ -9070,7 +8648,7 @@ index 85b48ba6e0af..1c2ad04c1abb 100644 if (!dmar_map_ipts) iommu_identity_mapping |= IDENTMAP_IPTS; -@@ -4714,6 +4729,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) +@@ -4662,6 +4677,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) disable_igfx_iommu = 1; } @@ -9089,7 +8667,7 @@ index 85b48ba6e0af..1c2ad04c1abb 100644 static void quirk_iommu_ipts(struct pci_dev *dev) { if (!IS_IPTS(dev)) -@@ -4761,6 +4788,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); +@@ -4709,6 +4736,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163A, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx); @@ -9163,10 +8741,10 @@ Patchset: cameras 1 file changed, 15 insertions(+) diff --git a/drivers/platform/x86/intel/int3472/discrete.c b/drivers/platform/x86/intel/int3472/discrete.c -index 07b302e09340..baad1e50ca81 100644 +index 3de463c3d13b..0a012eeed30a 100644 --- a/drivers/platform/x86/intel/int3472/discrete.c +++ b/drivers/platform/x86/intel/int3472/discrete.c -@@ -83,12 +83,27 @@ static int skl_int3472_map_gpio_to_sensor(struct int3472_discrete_device *int347 +@@ -80,12 +80,27 @@ static int skl_int3472_map_gpio_to_sensor(struct int3472_discrete_device *int347 const char *func, u32 polarity) { int ret; @@ -9396,10 +8974,10 @@ Patchset: cameras create mode 100644 drivers/leds/leds-tps68470.c diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig -index 8d9d8da376e4..d8597897aa83 100644 +index b784bb74a837..f8d8fcfacac2 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig -@@ -933,6 +933,18 @@ config LEDS_TPS6105X +@@ -941,6 +941,18 @@ config LEDS_TPS6105X It is a single boost converter primarily for white LEDs and audio amplifiers. @@ -9625,54 +9203,6 @@ index 000000000000..35aeb5db89c8 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: mojyack -Date: Sat, 3 Feb 2024 12:59:53 +0900 -Subject: media: staging: ipu3-imgu: Fix multiple calls of s_stream on stream - stop - -Adapt to 009905e "media: v4l2-subdev: Document and enforce .s_stream() requirements" - -Patchset: cameras ---- - drivers/staging/media/ipu3/ipu3-v4l2.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/drivers/staging/media/ipu3/ipu3-v4l2.c b/drivers/staging/media/ipu3/ipu3-v4l2.c -index 3df58eb3e882..81aff2d5d898 100644 ---- a/drivers/staging/media/ipu3/ipu3-v4l2.c -+++ b/drivers/staging/media/ipu3/ipu3-v4l2.c -@@ -538,18 +538,18 @@ static void imgu_vb2_stop_streaming(struct vb2_queue *vq) - - WARN_ON(!node->enabled); - -- pipe = node->pipe; -- dev_dbg(dev, "Try to stream off node [%u][%u]", pipe, node->id); -- imgu_pipe = &imgu->imgu_pipe[pipe]; -- r = v4l2_subdev_call(&imgu_pipe->imgu_sd.subdev, video, s_stream, 0); -- if (r) -- dev_err(&imgu->pci_dev->dev, -- "failed to stop subdev streaming\n"); -- - mutex_lock(&imgu->streaming_lock); - /* Was this the first node with streaming disabled? */ - if (imgu->streaming && imgu_all_nodes_streaming(imgu, node)) { - /* Yes, really stop streaming now */ -+ pipe = node->pipe; -+ dev_dbg(dev, "Try to stream off node [%u][%u]", pipe, node->id); -+ imgu_pipe = &imgu->imgu_pipe[pipe]; -+ r = v4l2_subdev_call(&imgu_pipe->imgu_sd.subdev, video, s_stream, 0); -+ if (r) -+ dev_err(&imgu->pci_dev->dev, -+ "failed to stop subdev streaming\n"); -+ - dev_dbg(dev, "IMGU streaming is ready to stop"); - r = imgu_s_stream(imgu, false); - if (!r) --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: mojyack Date: Tue, 26 Mar 2024 05:55:44 +0900 @@ -9945,10 +9475,10 @@ Subject: add ROG Ally devices to nct6775 1 file changed, 2 insertions(+) diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c -index 096f1daa8f2b..7c4e319ebc47 100644 +index 1218a3b449a8..ae8e837eb568 100644 --- a/drivers/hwmon/nct6775-platform.c +++ b/drivers/hwmon/nct6775-platform.c -@@ -1360,6 +1360,8 @@ static const char * const asus_msi_boards[] = { +@@ -1362,6 +1362,8 @@ static const char * const asus_msi_boards[] = { "ProArt X670E-CREATOR WIFI", "ProArt Z690-CREATOR WIFI", "ProArt Z790-CREATOR WIFI", @@ -9961,80 +9491,6 @@ index 096f1daa8f2b..7c4e319ebc47 100644 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jonathan LoBue -Date: Sun, 11 Aug 2024 21:53:25 -0700 -Subject: ALSA: hda/realtek: tas2781: Fix ROG ALLY X audio - -This patch enables the TI TAS2781 amplifier SoC for the ASUS ROG ALLY X. -This is a design change from the original ASUS ROG ALLY, creating the need -for this patch. All other Realtek Codec settings seem to be re-used from -the original ROG ALLY design (on the ROG ALLY X). This patch maintains the -previous settings for the Realtek codec portion, but enables the I2C -binding for the TI TAS2781 amplifier (instead of the Cirrus CS35L41 amp -used on the original ASUS ROG ALLY). - -One other requirement must be met for audio to work on the ASUS ROG ALLY X. -A proper firmware file in the correct location with a proper symlink. We -had reached out to TI engineers and confirmed that the firmware found in -the Windows' driver package has a GPL license. Bazzite Github is hosting -this firmware file for now until proper linux-firmware upstreaming can -occur. https://github.com/ublue-os/bazzite - -This firmware file should be placed in -/usr/lib/firmware/ti/tas2781/TAS2XXX1EB3.bin with a symlink to it from -/usr/lib/firmware/TAS2XXX1EB3.bin - -Co-developed by: Kyle Gospodnetich -Co-developed by: Jan Drogehoff - -Signed-off-by: Kyle Gospodnetich -Signed-off-by: Jan Drogehoff -Signed-off-by: Antheas Kapenekakis -Tested-by: Richard Alvarez -Tested-by: Miles Montierth -Signed-off-by: Jonathan LoBue ---- - sound/pci/hda/patch_realtek.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c -index 833635aaee1d..0bdfdf3dbe02 100644 ---- a/sound/pci/hda/patch_realtek.c -+++ b/sound/pci/hda/patch_realtek.c -@@ -7651,6 +7651,7 @@ enum { - ALC285_FIXUP_THINKPAD_X1_GEN7, - ALC285_FIXUP_THINKPAD_HEADSET_JACK, - ALC294_FIXUP_ASUS_ALLY, -+ ALC294_FIXUP_ASUS_ALLY_X, - ALC294_FIXUP_ASUS_ALLY_PINS, - ALC294_FIXUP_ASUS_ALLY_VERBS, - ALC294_FIXUP_ASUS_ALLY_SPEAKER, -@@ -9141,6 +9142,12 @@ static const struct hda_fixup alc269_fixups[] = { - .chained = true, - .chain_id = ALC294_FIXUP_ASUS_ALLY_PINS - }, -+ [ALC294_FIXUP_ASUS_ALLY_X] = { -+ .type = HDA_FIXUP_FUNC, -+ .v.func = tas2781_fixup_i2c, -+ .chained = true, -+ .chain_id = ALC294_FIXUP_ASUS_ALLY_PINS -+ }, - [ALC294_FIXUP_ASUS_ALLY_PINS] = { - .type = HDA_FIXUP_PINS, - .v.pins = (const struct hda_pintbl[]) { -@@ -10623,6 +10630,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x1043, 0x1740, "ASUS UX430UA", ALC295_FIXUP_ASUS_DACS), - SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_DUAL_SPK), - SND_PCI_QUIRK(0x1043, 0x17f3, "ROG Ally NR2301L/X", ALC294_FIXUP_ASUS_ALLY), -+ SND_PCI_QUIRK(0x1043, 0x1eb3, "ROG Ally X RC72LA", ALC294_FIXUP_ASUS_ALLY_X), - SND_PCI_QUIRK(0x1043, 0x1863, "ASUS UX6404VI/VV", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x1043, 0x1881, "ASUS Zephyrus S/M", ALC294_FIXUP_ASUS_GX502_PINS), - SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC), --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Baojun Xu Date: Sun, 27 Oct 2024 22:39:35 +0800 @@ -10055,10 +9511,10 @@ Signed-off-by: Baojun Xu 2 files changed, 56 insertions(+), 5 deletions(-) diff --git a/include/sound/tas2781.h b/include/sound/tas2781.h -index dbda552398b5..d098497bfbfd 100644 +index 8cd6da0480b7..621ae485d3cb 100644 --- a/include/sound/tas2781.h +++ b/include/sound/tas2781.h -@@ -60,6 +60,8 @@ +@@ -107,6 +107,8 @@ #define TASDEVICE_CMD_DELAY 0x3 #define TASDEVICE_CMD_FIELD_W 0x4 @@ -10067,7 +9523,7 @@ index dbda552398b5..d098497bfbfd 100644 enum audio_device { TAS2563, TAS2781, -@@ -91,6 +93,7 @@ struct tasdevice_priv { +@@ -156,6 +158,7 @@ struct tasdevice_priv { struct tasdevice_rca rcabin; struct calidata cali_data; struct tasdevice_fw *fmw; @@ -10076,7 +9532,7 @@ index dbda552398b5..d098497bfbfd 100644 struct mutex codec_lock; struct regmap *regmap; diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c -index f58f434e7110..6fad61f01b76 100644 +index 370d847517f9..a4f2ac1ddd90 100644 --- a/sound/pci/hda/tas2781_hda_i2c.c +++ b/sound/pci/hda/tas2781_hda_i2c.c @@ -110,10 +110,19 @@ static int tas2781_get_i2c_res(struct acpi_resource *ares, void *data) @@ -10197,10 +9653,10 @@ for the platform (should NOOP though). 1 file changed, 6 deletions(-) diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c -index a282388b7aa5..fd58eed1adde 100644 +index a4b47319ad8e..331129d2f034 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c -@@ -1245,12 +1245,6 @@ static const struct hid_device_id asus_devices[] = { +@@ -1252,12 +1252,6 @@ static const struct hid_device_id asus_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR), QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD }, @@ -10306,623 +9762,6 @@ Subject: [BEGIN] OneXPlayer Handheld patches 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Derek J. Clark" -Date: Thu, 22 Aug 2024 11:35:25 -0700 -Subject: Add support for multiple new devices. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add support for the OrangePi NEO-01. It uses different registers for PWM -manual mode, set PWM, and read fan speed than previous devices. Valid PWM -input and duty cycle is 1-244, we scale this from 1-255 to maintain -compatibility with the existing interface. - -Add OneXPlayer 2 series, OneXFly, and X1 series models. The 2/X1 series use -new registers for turbo button takeover and read fan speed. X1 has an Intel -variant so change the CPU detection at init to only check for the affected -devices. While at it, adjust formatting of some constants and reorder all -cases alphabetically for consistency. Rename OXP_OLD constants to OXP_MINI -for disambiguation. Update code comments for clarity. - -Add support for AYANEO models 2S, AIR 1S, Flip series, GEEK 1S, and KUN. - -Signed-off-by: Derek J. Clark -Tested-by: Kevin Greenberg -Tested-by: Joshua Tam -Tested-by: Parth Menon -Tested-by: Philip Müller -Reported-by: kernel test robot -Closes: https://lore.kernel.org/oe-kbuild-all/202408160329.TLNbIwRC-lkp@intel.com/ ---- - Documentation/hwmon/oxp-sensors.rst | 54 +++-- - drivers/hwmon/oxp-sensors.c | 299 +++++++++++++++++++++++----- - 2 files changed, 290 insertions(+), 63 deletions(-) - -diff --git a/Documentation/hwmon/oxp-sensors.rst b/Documentation/hwmon/oxp-sensors.rst -index 55b1ef61625e..97e82cbad3ee 100644 ---- a/Documentation/hwmon/oxp-sensors.rst -+++ b/Documentation/hwmon/oxp-sensors.rst -@@ -10,41 +10,59 @@ Authors: - Description: - ------------ - --Handheld devices from One Netbook and Aya Neo provide fan readings and fan --control through their embedded controllers. -+Handheld devices from OneNetbook, AOKZOE, AYANEO, And OrangePi provide fan -+readings and fan control through their embedded controllers. - --Currently only supports AMD boards from One X Player, AOK ZOE, and some Aya --Neo devices. One X Player Intel boards could be supported if we could figure --out the EC registers and values to write to since the EC layout and model is --different. Aya Neo devices preceding the AIR may not be supportable as the EC --model is different and do not appear to have manual control capabilities. -+Currently supports OneXPlayer devices, AOKZOE, AYANEO, and OrangePi -+handheld devices. AYANEO devices preceding the AIR and OneXPlayer devices -+preceding the Mini A07 are not supportable as the EC model is different -+and do not have manual control capabilities. - --Some models have a toggle for changing the behaviour of the "Turbo/Silent" --button of the device. It will change the key event that it triggers with --a flip of the `tt_toggle` attribute. See below for boards that support this --function. -+Some OneXPlayer and AOKZOE models have a toggle for changing the behaviour -+of the "Turbo/Silent" button of the device. It will change the key event -+that it triggers with a flip of the `tt_toggle` attribute. See below for -+boards that support this function. - - Supported devices - ----------------- - - Currently the driver supports the following handhelds: - -- - AOK ZOE A1 -- - AOK ZOE A1 PRO -- - Aya Neo 2 -- - Aya Neo AIR -- - Aya Neo AIR Plus (Mendocino) -- - Aya Neo AIR Pro -- - Aya Neo Geek -+ - AOKZOE A1 -+ - AOKZOE A1 PRO -+ - AYANEO 2 -+ - AYANEO 2S -+ - AYANEO AIR -+ - AYANEO AIR 1S -+ - AYANEO AIR Plus (Mendocino) -+ - AYANEO AIR Pro -+ - AYANEO Flip DS -+ - AYANEO Flip KB -+ - AYANEO Geek -+ - AYANEO Geek 1S -+ - AYANEO KUN -+ - OneXPlayer 2 -+ - OneXPlayer 2 Pro - - OneXPlayer AMD - - OneXPlayer mini AMD - - OneXPlayer mini AMD PRO -+ - OneXPlayer OneXFly -+ - OneXPlayer X1 A -+ - OneXPlayer X1 i -+ - OneXPlayer X1 mini -+ - OrangePi NEO-01 - - "Turbo/Silent" button behaviour toggle is only supported on: - - AOK ZOE A1 - - AOK ZOE A1 PRO -+ - OneXPlayer 2 -+ - OneXPlayer 2 Pro - - OneXPlayer mini AMD (only with updated alpha BIOS) - - OneXPlayer mini AMD PRO -+ - OneXPlayer OneXFly -+ - OneXPlayer X1 A -+ - OneXPlayer X1 i -+ - OneXPlayer X1 mini - - Sysfs entries - ------------- -diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c -index 8d3b0f86cc57..b6d06370469d 100644 ---- a/drivers/hwmon/oxp-sensors.c -+++ b/drivers/hwmon/oxp-sensors.c -@@ -1,18 +1,21 @@ - // SPDX-License-Identifier: GPL-2.0+ - /* -- * Platform driver for OneXPlayer, AOK ZOE, and Aya Neo Handhelds that expose -- * fan reading and control via hwmon sysfs. -+ * Platform driver for OneXPlayer, AOKZOE, AYANEO, and OrangePi Handhelds -+ * that expose fan reading and control via hwmon sysfs. - * - * Old OXP boards have the same DMI strings and they are told apart by -- * the boot cpu vendor (Intel/AMD). Currently only AMD boards are -- * supported but the code is made to be simple to add other handheld -- * boards in the future. -+ * the boot cpu vendor (Intel/AMD). Of these older models only AMD is -+ * supported. -+ * - * Fan control is provided via pwm interface in the range [0-255]. - * Old AMD boards use [0-100] as range in the EC, the written value is - * scaled to accommodate for that. Newer boards like the mini PRO and -- * AOK ZOE are not scaled but have the same EC layout. -+ * AOKZOE are not scaled but have the same EC layout. Newer models -+ * like the 2 and X1 are [0-184] and are scaled to 0-255. OrangePi -+ * are [1-244] and scaled to 0-255. - * - * Copyright (C) 2022 Joaquín I. Aramendía -+ * Copyright (C) 2024 Derek J. Clark - */ - - #include -@@ -43,32 +46,48 @@ enum oxp_board { - aok_zoe_a1 = 1, - aya_neo_2, - aya_neo_air, -+ aya_neo_air_1s, - aya_neo_air_plus_mendo, - aya_neo_air_pro, -+ aya_neo_flip, - aya_neo_geek, -+ aya_neo_kun, -+ orange_pi_neo, -+ oxp_2, -+ oxp_fly, - oxp_mini_amd, - oxp_mini_amd_a07, - oxp_mini_amd_pro, -+ oxp_x1, - }; - - static enum oxp_board board; - - /* Fan reading and PWM */ --#define OXP_SENSOR_FAN_REG 0x76 /* Fan reading is 2 registers long */ --#define OXP_SENSOR_PWM_ENABLE_REG 0x4A /* PWM enable is 1 register long */ --#define OXP_SENSOR_PWM_REG 0x4B /* PWM reading is 1 register long */ -+#define OXP_SENSOR_FAN_REG 0x76 /* Fan reading is 2 registers long */ -+#define OXP_2_SENSOR_FAN_REG 0x58 /* Fan reading is 2 registers long */ -+#define OXP_SENSOR_PWM_ENABLE_REG 0x4A /* PWM enable is 1 register long */ -+#define OXP_SENSOR_PWM_REG 0x4B /* PWM reading is 1 register long */ -+#define PWM_MODE_AUTO 0x00 -+#define PWM_MODE_MANUAL 0x01 -+ -+/* OrangePi fan reading and PWM */ -+#define ORANGEPI_SENSOR_FAN_REG 0x78 /* Fan reading is 2 registers long */ -+#define ORANGEPI_SENSOR_PWM_ENABLE_REG 0x40 /* PWM enable is 1 register long */ -+#define ORANGEPI_SENSOR_PWM_REG 0x38 /* PWM reading is 1 register long */ - - /* Turbo button takeover function -- * Older boards have different values and EC registers -+ * Different boards have different values and EC registers - * for the same function - */ --#define OXP_OLD_TURBO_SWITCH_REG 0x1E --#define OXP_OLD_TURBO_TAKE_VAL 0x01 --#define OXP_OLD_TURBO_RETURN_VAL 0x00 -+#define OXP_TURBO_SWITCH_REG 0xF1 /* Mini Pro, OneXFly, AOKZOE */ -+#define OXP_2_TURBO_SWITCH_REG 0xEB /* OXP2 and X1 */ -+#define OXP_MINI_TURBO_SWITCH_REG 0x1E /* Mini AO7 */ -+ -+#define OXP_MINI_TURBO_TAKE_VAL 0x01 /* Mini AO7 */ -+#define OXP_TURBO_TAKE_VAL 0x40 /* All other models */ - --#define OXP_TURBO_SWITCH_REG 0xF1 --#define OXP_TURBO_TAKE_VAL 0x40 --#define OXP_TURBO_RETURN_VAL 0x00 -+#define OXP_TURBO_RETURN_VAL 0x00 /* Common return val */ - - static const struct dmi_system_id dmi_table[] = { - { -@@ -88,7 +107,7 @@ static const struct dmi_system_id dmi_table[] = { - { - .matches = { - DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -- DMI_EXACT_MATCH(DMI_BOARD_NAME, "AYANEO 2"), -+ DMI_MATCH(DMI_BOARD_NAME, "AYANEO 2"), - }, - .driver_data = (void *)aya_neo_2, - }, -@@ -99,6 +118,13 @@ static const struct dmi_system_id dmi_table[] = { - }, - .driver_data = (void *)aya_neo_air, - }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "AIR 1S"), -+ }, -+ .driver_data = (void *)aya_neo_air_1s, -+ }, - { - .matches = { - DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -@@ -116,10 +142,31 @@ static const struct dmi_system_id dmi_table[] = { - { - .matches = { - DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -- DMI_EXACT_MATCH(DMI_BOARD_NAME, "GEEK"), -+ DMI_MATCH(DMI_BOARD_NAME, "FLIP"), -+ }, -+ .driver_data = (void *)aya_neo_flip, -+ }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -+ DMI_MATCH(DMI_BOARD_NAME, "GEEK"), - }, - .driver_data = (void *)aya_neo_geek, - }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), -+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "KUN"), -+ }, -+ .driver_data = (void *)aya_neo_kun, -+ }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "OrangePi"), -+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "NEO-01"), -+ }, -+ .driver_data = (void *)orange_pi_neo, -+ }, - { - .matches = { - DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), -@@ -127,6 +174,20 @@ static const struct dmi_system_id dmi_table[] = { - }, - .driver_data = (void *)oxp_mini_amd, - }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), -+ DMI_MATCH(DMI_BOARD_NAME, "ONEXPLAYER 2"), -+ }, -+ .driver_data = (void *)oxp_2, -+ }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), -+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER F1"), -+ }, -+ .driver_data = (void *)oxp_fly, -+ }, - { - .matches = { - DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), -@@ -141,6 +202,13 @@ static const struct dmi_system_id dmi_table[] = { - }, - .driver_data = (void *)oxp_mini_amd_pro, - }, -+ { -+ .matches = { -+ DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), -+ DMI_MATCH(DMI_BOARD_NAME, "ONEXPLAYER X1"), -+ }, -+ .driver_data = (void *)oxp_x1, -+ }, - {}, - }; - -@@ -192,14 +260,20 @@ static int tt_toggle_enable(void) - - switch (board) { - case oxp_mini_amd_a07: -- reg = OXP_OLD_TURBO_SWITCH_REG; -- val = OXP_OLD_TURBO_TAKE_VAL; -+ reg = OXP_MINI_TURBO_SWITCH_REG; -+ val = OXP_MINI_TURBO_TAKE_VAL; - break; -- case oxp_mini_amd_pro: - case aok_zoe_a1: -+ case oxp_fly: -+ case oxp_mini_amd_pro: - reg = OXP_TURBO_SWITCH_REG; - val = OXP_TURBO_TAKE_VAL; - break; -+ case oxp_2: -+ case oxp_x1: -+ reg = OXP_2_TURBO_SWITCH_REG; -+ val = OXP_TURBO_TAKE_VAL; -+ break; - default: - return -EINVAL; - } -@@ -213,14 +287,20 @@ static int tt_toggle_disable(void) - - switch (board) { - case oxp_mini_amd_a07: -- reg = OXP_OLD_TURBO_SWITCH_REG; -- val = OXP_OLD_TURBO_RETURN_VAL; -+ reg = OXP_MINI_TURBO_SWITCH_REG; -+ val = OXP_TURBO_RETURN_VAL; - break; -- case oxp_mini_amd_pro: - case aok_zoe_a1: -+ case oxp_fly: -+ case oxp_mini_amd_pro: - reg = OXP_TURBO_SWITCH_REG; - val = OXP_TURBO_RETURN_VAL; - break; -+ case oxp_2: -+ case oxp_x1: -+ reg = OXP_2_TURBO_SWITCH_REG; -+ val = OXP_TURBO_RETURN_VAL; -+ break; - default: - return -EINVAL; - } -@@ -233,8 +313,11 @@ static umode_t tt_toggle_is_visible(struct kobject *kobj, - { - switch (board) { - case aok_zoe_a1: -+ case oxp_2: -+ case oxp_fly: - case oxp_mini_amd_a07: - case oxp_mini_amd_pro: -+ case oxp_x1: - return attr->mode; - default: - break; -@@ -273,12 +356,17 @@ static ssize_t tt_toggle_show(struct device *dev, - - switch (board) { - case oxp_mini_amd_a07: -- reg = OXP_OLD_TURBO_SWITCH_REG; -+ reg = OXP_MINI_TURBO_SWITCH_REG; - break; -- case oxp_mini_amd_pro: - case aok_zoe_a1: -+ case oxp_fly: -+ case oxp_mini_amd_pro: - reg = OXP_TURBO_SWITCH_REG; - break; -+ case oxp_2: -+ case oxp_x1: -+ reg = OXP_2_TURBO_SWITCH_REG; -+ break; - default: - return -EINVAL; - } -@@ -295,12 +383,53 @@ static DEVICE_ATTR_RW(tt_toggle); - /* PWM enable/disable functions */ - static int oxp_pwm_enable(void) - { -- return write_to_ec(OXP_SENSOR_PWM_ENABLE_REG, 0x01); -+ switch (board) { -+ case orange_pi_neo: -+ return write_to_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, PWM_MODE_MANUAL); -+ case aok_zoe_a1: -+ case aya_neo_2: -+ case aya_neo_air: -+ case aya_neo_air_plus_mendo: -+ case aya_neo_air_pro: -+ case aya_neo_flip: -+ case aya_neo_geek: -+ case aya_neo_kun: -+ case oxp_2: -+ case oxp_fly: -+ case oxp_mini_amd: -+ case oxp_mini_amd_a07: -+ case oxp_mini_amd_pro: -+ case oxp_x1: -+ return write_to_ec(OXP_SENSOR_PWM_ENABLE_REG, PWM_MODE_MANUAL); -+ default: -+ return -EINVAL; -+ } - } - - static int oxp_pwm_disable(void) - { -- return write_to_ec(OXP_SENSOR_PWM_ENABLE_REG, 0x00); -+ switch (board) { -+ case orange_pi_neo: -+ return write_to_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, PWM_MODE_AUTO); -+ case aok_zoe_a1: -+ case aya_neo_2: -+ case aya_neo_air: -+ case aya_neo_air_1s: -+ case aya_neo_air_plus_mendo: -+ case aya_neo_air_pro: -+ case aya_neo_flip: -+ case aya_neo_geek: -+ case aya_neo_kun: -+ case oxp_2: -+ case oxp_fly: -+ case oxp_mini_amd: -+ case oxp_mini_amd_a07: -+ case oxp_mini_amd_pro: -+ case oxp_x1: -+ return write_to_ec(OXP_SENSOR_PWM_ENABLE_REG, PWM_MODE_AUTO); -+ default: -+ return -EINVAL; -+ } - } - - /* Callbacks for hwmon interface */ -@@ -326,7 +455,29 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, - case hwmon_fan: - switch (attr) { - case hwmon_fan_input: -- return read_from_ec(OXP_SENSOR_FAN_REG, 2, val); -+ switch (board) { -+ case orange_pi_neo: -+ return read_from_ec(ORANGEPI_SENSOR_FAN_REG, 2, val); -+ case oxp_2: -+ case oxp_x1: -+ return read_from_ec(OXP_2_SENSOR_FAN_REG, 2, val); -+ case aok_zoe_a1: -+ case aya_neo_2: -+ case aya_neo_air: -+ case aya_neo_air_1s: -+ case aya_neo_air_plus_mendo: -+ case aya_neo_air_pro: -+ case aya_neo_flip: -+ case aya_neo_geek: -+ case aya_neo_kun: -+ case oxp_fly: -+ case oxp_mini_amd: -+ case oxp_mini_amd_a07: -+ case oxp_mini_amd_pro: -+ return read_from_ec(OXP_SENSOR_FAN_REG, 2, val); -+ default: -+ break; -+ } - default: - break; - } -@@ -334,31 +485,74 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, - case hwmon_pwm: - switch (attr) { - case hwmon_pwm_input: -- ret = read_from_ec(OXP_SENSOR_PWM_REG, 1, val); -- if (ret) -- return ret; - switch (board) { -+ case orange_pi_neo: -+ ret = read_from_ec(ORANGEPI_SENSOR_PWM_REG, 1, val); -+ if (ret) -+ return ret; -+ /* scale from range [1-244] */ -+ *val = ((*val - 1) * 254 / 243) + 1; -+ break; -+ case oxp_2: -+ case oxp_x1: -+ ret = read_from_ec(OXP_SENSOR_PWM_REG, 1, val); -+ if (ret) -+ return ret; -+ /* scale from range [0-184] */ -+ *val = (*val * 255) / 184; -+ break; - case aya_neo_2: - case aya_neo_air: -+ case aya_neo_air_1s: - case aya_neo_air_plus_mendo: - case aya_neo_air_pro: -+ case aya_neo_flip: - case aya_neo_geek: -+ case aya_neo_kun: - case oxp_mini_amd: - case oxp_mini_amd_a07: -+ ret = read_from_ec(OXP_SENSOR_PWM_REG, 1, val); -+ if (ret) -+ return ret; -+ /* scale from range [0-100] */ - *val = (*val * 255) / 100; - break; -- case oxp_mini_amd_pro: - case aok_zoe_a1: -+ case oxp_fly: -+ case oxp_mini_amd_pro: - default: -+ ret = read_from_ec(OXP_SENSOR_PWM_REG, 1, val); -+ if (ret) -+ return ret; - break; - } - return 0; - case hwmon_pwm_enable: -- return read_from_ec(OXP_SENSOR_PWM_ENABLE_REG, 1, val); -+ switch (board) { -+ case orange_pi_neo: -+ return read_from_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, 1, val); -+ case aok_zoe_a1: -+ case aya_neo_2: -+ case aya_neo_air: -+ case aya_neo_air_1s: -+ case aya_neo_air_plus_mendo: -+ case aya_neo_air_pro: -+ case aya_neo_flip: -+ case aya_neo_geek: -+ case aya_neo_kun: -+ case oxp_2: -+ case oxp_fly: -+ case oxp_mini_amd: -+ case oxp_mini_amd_a07: -+ case oxp_mini_amd_pro: -+ case oxp_x1: -+ return read_from_ec(OXP_SENSOR_PWM_ENABLE_REG, 1, val); -+ default: -+ break; -+ } - default: - break; - } -- break; - default: - break; - } -@@ -381,21 +575,35 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type, - if (val < 0 || val > 255) - return -EINVAL; - switch (board) { -+ case orange_pi_neo: -+ /* scale to range [1-244] */ -+ val = ((val - 1) * 243 / 254) + 1; -+ return write_to_ec(ORANGEPI_SENSOR_PWM_REG, val); -+ case oxp_2: -+ case oxp_x1: -+ /* scale to range [0-184] */ -+ val = (val * 184) / 255; -+ return write_to_ec(OXP_SENSOR_PWM_REG, val); - case aya_neo_2: - case aya_neo_air: -+ case aya_neo_air_1s: - case aya_neo_air_plus_mendo: - case aya_neo_air_pro: -+ case aya_neo_flip: - case aya_neo_geek: -+ case aya_neo_kun: - case oxp_mini_amd: - case oxp_mini_amd_a07: -+ /* scale to range [0-100] */ - val = (val * 100) / 255; -- break; -+ return write_to_ec(OXP_SENSOR_PWM_REG, val); - case aok_zoe_a1: -+ case oxp_fly: - case oxp_mini_amd_pro: -+ return write_to_ec(OXP_SENSOR_PWM_REG, val); - default: - break; - } -- return write_to_ec(OXP_SENSOR_PWM_REG, val); - default: - break; - } -@@ -467,19 +675,20 @@ static int __init oxp_platform_init(void) - { - const struct dmi_system_id *dmi_entry; - -- /* -- * Have to check for AMD processor here because DMI strings are the -- * same between Intel and AMD boards, the only way to tell them apart -- * is the CPU. -- * Intel boards seem to have different EC registers and values to -- * read/write. -- */ - dmi_entry = dmi_first_match(dmi_table); -- if (!dmi_entry || boot_cpu_data.x86_vendor != X86_VENDOR_AMD) -+ if (!dmi_entry) - return -ENODEV; - - board = (enum oxp_board)(unsigned long)dmi_entry->driver_data; - -+ /* -+ * Have to check for AMD processor here because DMI strings are the same -+ * between Intel and AMD boards on older OneXPlayer devices, the only way -+ * to tell them apart is the CPU. Old Intel boards have an unsupported EC. -+ */ -+ if (board == oxp_mini_amd && boot_cpu_data.x86_vendor != X86_VENDOR_AMD) -+ return -ENODEV; -+ - oxp_platform_device = - platform_create_bundle(&oxp_platform_driver, - oxp_platform_probe, NULL, 0, NULL, 0); --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Wed, 2 Oct 2024 22:01:14 +0200 @@ -10934,10 +9773,10 @@ Signed-off-by: Antheas Kapenekakis 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index 0830cae9a4d0..bf11801ddba9 100644 +index 4a73821b81f6..cd96e98742aa 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c -@@ -426,6 +426,36 @@ static const struct dmi_system_id orientation_data[] = { +@@ -443,6 +443,36 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, @@ -10989,10 +9828,10 @@ Subject: HID: Add quirk to ignore the touchscreen battery on OneXPlayer X1 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h -index 92cff3f2658c..67ffbecc9114 100644 +index 0f23be98c56e..d8058bbfa521 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h -@@ -996,6 +996,7 @@ +@@ -997,6 +997,7 @@ #define USB_VENDOR_ID_NOVATEK 0x0603 #define USB_DEVICE_ID_NOVATEK_PCT 0x0600 #define USB_DEVICE_ID_NOVATEK_MOUSE 0x1602 @@ -11028,7 +9867,7 @@ Signed-off-by: Antheas Kapenekakis 1 file changed, 35 insertions(+) diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c -index b6d06370469d..37a3a80457bd 100644 +index 83730d931824..c184bde0e07b 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -188,6 +188,41 @@ static const struct dmi_system_id dmi_table[] = { @@ -11083,21 +9922,22 @@ Date: Sat, 26 Oct 2024 17:34:05 +0200 Subject: hwmon: (oxp-sensors) Add charge threshold and bypass to X1 models --- - Documentation/ABI/testing/sysfs-class-power | 5 +- + Documentation/ABI/testing/sysfs-class-power | 6 +- drivers/hwmon/oxp-sensors.c | 230 +++++++++++++++++++- - 2 files changed, 227 insertions(+), 8 deletions(-) + 2 files changed, 229 insertions(+), 7 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power -index 7c81f0a25a48..85b765df0d45 100644 +index 45180b62d426..1f5a56aa5c70 100644 --- a/Documentation/ABI/testing/sysfs-class-power +++ b/Documentation/ABI/testing/sysfs-class-power -@@ -387,13 +387,14 @@ Description: - charging rate in order to prolong the battery health. "Bypass" - means the charger bypasses the charging path around the - integrated converter allowing for a "smart" wall adaptor to -- perform the power conversion externally. -+ perform the power conversion externally. Certain devices -+ may enable bypass only when the device is awake ("BypassS0"). +@@ -404,12 +404,16 @@ Description: + The charger bypasses the charging path around the + integrated converter allowing for a "smart" wall + adaptor to perform the power conversion externally. ++ BypassS0: ++ Same as Bypass, but the device automatically enables ++ bypass only while on the S0 state and disables it when ++ it powers off or during sleep. Access: Read, Write @@ -11109,7 +9949,7 @@ index 7c81f0a25a48..85b765df0d45 100644 What: /sys/class/power_supply//charge_term_current Date: July 2014 diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c -index 37a3a80457bd..0501cbb41fcc 100644 +index c184bde0e07b..43ec655dc8db 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -27,6 +27,8 @@ @@ -11416,7 +10256,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 case oxp_mini_amd: case oxp_mini_amd_a07: case oxp_mini_amd_pro: -@@ -554,6 +764,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, +@@ -555,6 +765,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, break; case aok_zoe_a1: case oxp_fly: @@ -11424,7 +10264,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 case oxp_mini_amd_pro: default: ret = read_from_ec(OXP_SENSOR_PWM_REG, 1, val); -@@ -577,6 +788,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, +@@ -578,6 +789,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type, case aya_neo_kun: case oxp_2: case oxp_fly: @@ -11432,7 +10272,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 case oxp_mini_amd: case oxp_mini_amd_a07: case oxp_mini_amd_pro: -@@ -634,6 +846,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type, +@@ -637,6 +849,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type, return write_to_ec(OXP_SENSOR_PWM_REG, val); case aok_zoe_a1: case oxp_fly: @@ -11440,7 +10280,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 case oxp_mini_amd_pro: return write_to_ec(OXP_SENSOR_PWM_REG, val); default: -@@ -658,18 +871,18 @@ static const struct hwmon_channel_info * const oxp_platform_sensors[] = { +@@ -662,18 +875,18 @@ static const struct hwmon_channel_info * const oxp_platform_sensors[] = { NULL, }; @@ -11463,7 +10303,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 NULL }; -@@ -728,6 +941,9 @@ static int __init oxp_platform_init(void) +@@ -732,6 +945,9 @@ static int __init oxp_platform_init(void) platform_create_bundle(&oxp_platform_driver, oxp_platform_probe, NULL, 0, NULL, 0); @@ -11473,7 +10313,7 @@ index 37a3a80457bd..0501cbb41fcc 100644 return PTR_ERR_OR_ZERO(oxp_platform_device); } -@@ -735,6 +951,8 @@ static void __exit oxp_platform_exit(void) +@@ -739,6 +955,8 @@ static void __exit oxp_platform_exit(void) { platform_device_unregister(oxp_platform_device); platform_driver_unregister(&oxp_platform_driver); @@ -11496,7 +10336,7 @@ Subject: hwmon: (oxp-sensors) Add turbo led support (partial; for X1) 1 file changed, 60 insertions(+) diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c -index 0501cbb41fcc..bea31c51c374 100644 +index 43ec655dc8db..ccbfcd1bb48e 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -103,6 +103,11 @@ static enum oxp_board board; @@ -11572,7 +10412,7 @@ index 0501cbb41fcc..bea31c51c374 100644 /* Callbacks for turbo toggle attribute */ static bool charge_control_supported(void) { -@@ -873,6 +932,7 @@ static const struct hwmon_channel_info * const oxp_platform_sensors[] = { +@@ -877,6 +936,7 @@ static const struct hwmon_channel_info * const oxp_platform_sensors[] = { static struct attribute *oxp_turbo_attrs[] = { &dev_attr_tt_toggle.attr, @@ -11593,137 +10433,6 @@ Subject: [BEGIN] General Handheld Audio/Display Patches 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= - -Date: Wed, 21 Jun 2023 18:22:19 -0300 -Subject: drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add quirk orientation for AYA NEO 2. The name appears without spaces in -dmi strings. That made it difficult to reuse the 2021 match and the -display is greater in resolution. - -Tested by the JELOS team that has been patching their own kernel for a -while now and confirmed by users in the AYA NEO and ChimeraOS discord -servers. - -Signed-off-by: Joaquín Ignacio Aramendía ---- - drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index bf11801ddba9..218ee04601cc 100644 ---- a/drivers/gpu/drm/drm_panel_orientation_quirks.c -+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c -@@ -184,6 +184,12 @@ static const struct dmi_system_id orientation_data[] = { - DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), - }, - .driver_data = (void *)&lcd800x1280_rightside_up, -+ }, { /* AYA NEO AYANEO 2 */ -+ .matches = { -+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), -+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), -+ }, -+ .driver_data = (void *)&lcd1200x1920_rightside_up, - }, { /* AYA NEO 2021 */ - .matches = { - DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), --- -2.47.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= - -Date: Wed, 21 Jun 2023 18:40:10 -0300 -Subject: drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add quirk orientation for AYA NEO Founder. The name appears with spaces in -dmi strings as other devices of the brand. The panel is the same as the -NEXT and 2021 models. Those could not be reused as the former has VENDOR -name as "AYANEO" without spaces and the latter has "AYADEVICE". - -Tested by the JELOS team that has been patching their own kernel for a -while now and confirmed by users in the AYA NEO and ChimeraOS discord -servers. - -Signed-off-by: Joaquín Ignacio Aramendía ---- - drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index 218ee04601cc..49b8a457a0c7 100644 ---- a/drivers/gpu/drm/drm_panel_orientation_quirks.c -+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c -@@ -202,6 +202,12 @@ static const struct dmi_system_id orientation_data[] = { - DMI_MATCH(DMI_PRODUCT_NAME, "AIR"), - }, - .driver_data = (void *)&lcd1080x1920_leftside_up, -+ }, { /* AYA NEO Founder */ -+ .matches = { -+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"), -+ DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"), -+ }, -+ .driver_data = (void *)&lcd800x1280_rightside_up, - }, { /* AYA NEO NEXT */ - .matches = { - DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"), --- -2.47.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= - -Date: Wed, 21 Jun 2023 18:54:44 -0300 -Subject: drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add quirk orientation for AYA NEO GEEK. One of the more recent devices by -the brand. The name appears without spaces in dmi strings. The board -name is completely different to the previous models making it difficult -to reuse their quirks despite being the same resolution and mounting. - -Tested by the JELOS team that has been patching their own kernel for a -while now and confirmed by users in the AYA NEO and ChimeraOS discord -servers. - -Signed-off-by: Joaquín Ignacio Aramendía ---- - drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index 49b8a457a0c7..bf27cbbbc94b 100644 ---- a/drivers/gpu/drm/drm_panel_orientation_quirks.c -+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c -@@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = { - DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"), - }, - .driver_data = (void *)&lcd800x1280_rightside_up, -+ }, { /* AYA NEO GEEK */ -+ .matches = { -+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), -+ DMI_MATCH(DMI_PRODUCT_NAME, "GEEK"), -+ }, -+ .driver_data = (void *)&lcd800x1280_rightside_up, - }, { /* AYA NEO NEXT */ - .matches = { - DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"), --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Alesh Slovak Date: Tue, 30 Jul 2024 20:40:06 -0400 @@ -11734,7 +10443,7 @@ Subject: drm: panel-orientation-quirks: Add Aya Neo 2S orientation quirk 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index bf27cbbbc94b..bc585e82ec42 100644 +index cd96e98742aa..9a7edd635f25 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -190,6 +190,12 @@ static const struct dmi_system_id orientation_data[] = { @@ -11764,7 +10473,7 @@ Subject: drm: panel-orientation-quirks: Add AYANEO FLIP DS quirk 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c -index bc585e82ec42..e994b1422399 100644 +index 9a7edd635f25..c080ce8d48a1 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = { @@ -11846,10 +10555,10 @@ Co-developed-by: bouhaa create mode 100644 sound/soc/codecs/aw87xxx/aw87xxx_pid_9b_reg.h diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig -index b5e6d0a986c8..0626116d59af 100644 +index 7092842480ef..5cd2eb8f891a 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig -@@ -2589,4 +2589,6 @@ config SND_SOC_LPASS_TX_MACRO +@@ -2596,4 +2596,6 @@ config SND_SOC_LPASS_TX_MACRO select SND_SOC_LPASS_MACRO_COMMON tristate "Qualcomm TX Macro in LPASS(Low Power Audio SubSystem)" @@ -11857,10 +10566,10 @@ index b5e6d0a986c8..0626116d59af 100644 + endmenu diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile -index 622e360f0086..112f28c90cf2 100644 +index 54cbc3feae32..1a3e4fc09013 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile -@@ -806,6 +806,7 @@ obj-$(CONFIG_SND_SOC_WSA884X) += snd-soc-wsa884x.o +@@ -808,6 +808,7 @@ obj-$(CONFIG_SND_SOC_WSA884X) += snd-soc-wsa884x.o obj-$(CONFIG_SND_SOC_ZL38060) += snd-soc-zl38060.o # Amp @@ -32239,10 +30948,10 @@ Co-developed-by: linh1987 1 file changed, 10 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c -index 0bdfdf3dbe02..ac9f3a23cc33 100644 +index 973671e0cdb0..509ee8a6e589 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c -@@ -7532,6 +7532,7 @@ enum { +@@ -7535,6 +7535,7 @@ enum { ALC269VB_FIXUP_ASUS_ZENBOOK, ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A, ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE, @@ -32250,7 +30959,7 @@ index 0bdfdf3dbe02..ac9f3a23cc33 100644 ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED, ALC269VB_FIXUP_ORDISSIMO_EVE2, ALC283_FIXUP_CHROME_BOOK, -@@ -8290,6 +8291,13 @@ static const struct hda_fixup alc269_fixups[] = { +@@ -8242,6 +8243,13 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC269_FIXUP_HEADSET_MIC }, @@ -32264,15 +30973,15 @@ index 0bdfdf3dbe02..ac9f3a23cc33 100644 [ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED] = { .type = HDA_FIXUP_FUNC, .v.func = alc269_fixup_limit_int_mic_boost, -@@ -11025,6 +11033,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), - SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO), +@@ -10963,6 +10971,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { + SND_PCI_QUIRK(0x2782, 0x1705, "MEDION E15433", ALC269VC_FIXUP_INFINIX_Y4_MAX), SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME), + SND_PCI_QUIRK(0x2782, 0x4900, "MEDION E15443", ALC233_FIXUP_MEDION_MTL_SPK), + SND_PCI_QUIRK(0x1f66, 0x0103, "AYANEO AIR 1S", ALC269VB_FIXUP_AYANEO_SPKR_PIN_FIX), SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC), SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED), SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10), -@@ -11148,6 +11157,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = { +@@ -11086,6 +11095,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = { {.id = ALC269VB_FIXUP_ASUS_ZENBOOK, .name = "asus-zenbook"}, {.id = ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A, .name = "asus-zenbook-ux31a"}, {.id = ALC269VB_FIXUP_ORDISSIMO_EVE2, .name = "ordissimo"}, @@ -32292,14 +31001,14 @@ Subject: ALSA: hda/realtek: Use DMI matching for Ayaneo Geek, Ayaneo 2, and Co-developed-by: Bouke Sybren Haarsma --- - sound/pci/hda/patch_realtek.c | 49 +++++++++++++++++++++++++++++++++++ - 1 file changed, 49 insertions(+) + sound/pci/hda/patch_realtek.c | 51 ++++++++++++++++++++++++++++++++++- + 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c -index ac9f3a23cc33..825b62e245c1 100644 +index 509ee8a6e589..a13b1d793cb2 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c -@@ -6719,6 +6719,20 @@ static void alc294_gx502_toggle_output(struct hda_codec *codec, +@@ -6717,6 +6717,20 @@ static void alc294_gx502_toggle_output(struct hda_codec *codec, alc_write_coef_idx(codec, 0x10, 0x0a20); } @@ -32320,7 +31029,7 @@ index ac9f3a23cc33..825b62e245c1 100644 static void alc294_fixup_gx502_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) { -@@ -7519,6 +7533,8 @@ enum { +@@ -7522,6 +7536,8 @@ enum { ALC269_FIXUP_DELL4_MIC_NO_PRESENCE, ALC269_FIXUP_DELL4_MIC_NO_PRESENCE_QUIET, ALC269_FIXUP_HEADSET_MODE, @@ -32329,8 +31038,8 @@ index ac9f3a23cc33..825b62e245c1 100644 ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, ALC269_FIXUP_ASPIRE_HEADSET_MIC, ALC269_FIXUP_ASUS_X101_FUNC, -@@ -7777,6 +7793,30 @@ enum { - ALC245_FIXUP_CLEVO_NOISY_MIC, +@@ -7776,6 +7792,30 @@ enum { + ALC233_FIXUP_MEDION_MTL_SPK, }; +/* A special fixup for AYN and AYANEO handhelds as both @@ -32360,7 +31069,7 @@ index ac9f3a23cc33..825b62e245c1 100644 /* A special fixup for Lenovo C940 and Yoga Duet 7; * both have the very same PCI SSID, and we need to apply different fixups * depending on the codec ID -@@ -9084,6 +9124,14 @@ static const struct hda_fixup alc269_fixups[] = { +@@ -9036,6 +9076,14 @@ static const struct hda_fixup alc269_fixups[] = { { 0x1b, 0x90170152 } /* use as internal speaker (back) */ } }, @@ -32375,14 +31084,17 @@ index ac9f3a23cc33..825b62e245c1 100644 [ALC299_FIXUP_PREDATOR_SPK] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl[]) { -@@ -11033,6 +11081,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), - SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO), +@@ -10970,8 +11018,9 @@ static const struct hda_quirk alc269_fixup_tbl[] = { + SND_PCI_QUIRK(0x2782, 0x1701, "Infinix Y4 Max", ALC269VC_FIXUP_INFINIX_Y4_MAX), + SND_PCI_QUIRK(0x2782, 0x1705, "MEDION E15433", ALC269VC_FIXUP_INFINIX_Y4_MAX), SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME), +- SND_PCI_QUIRK(0x2782, 0x4900, "MEDION E15443", ALC233_FIXUP_MEDION_MTL_SPK), + SND_PCI_QUIRK(0x1f66, 0x0101, "AYANEO 2/GEEK/Ayn MiniPro", ALC269_FIXUP_DMI_MATCH), SND_PCI_QUIRK(0x1f66, 0x0103, "AYANEO AIR 1S", ALC269VB_FIXUP_AYANEO_SPKR_PIN_FIX), ++ SND_PCI_QUIRK(0x2782, 0x4900, "MEDION E15443", ALC233_FIXUP_MEDION_MTL_SPK), SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC), SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED), + SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10), -- 2.47.0 @@ -32416,10 +31128,10 @@ Signed-off-by: Jan200101 create mode 100644 drivers/mfd/steamdeck.c diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig -index bc8be2e593b6..f450294fbd25 100644 +index f9325bcce1b9..8e7c9b64b077 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig -@@ -2390,5 +2390,16 @@ config MFD_RSMU_SPI +@@ -2402,5 +2402,16 @@ config MFD_RSMU_SPI Additional drivers must be enabled in order to use the functionality of the device. @@ -32437,10 +31149,10 @@ index bc8be2e593b6..f450294fbd25 100644 endmenu endif diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile -index 02b651cd7535..71d992afbadd 100644 +index 2a9f91e81af8..8950b482f267 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile -@@ -288,3 +288,5 @@ obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o +@@ -289,3 +289,5 @@ obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o obj-$(CONFIG_MFD_RSMU_I2C) += rsmu_i2c.o rsmu_core.o obj-$(CONFIG_MFD_RSMU_SPI) += rsmu_spi.o rsmu_core.o @@ -32601,10 +31313,10 @@ Signed-off-by: Jan200101 create mode 100644 drivers/hwmon/steamdeck-hwmon.c diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig -index b8d65292db83..f8dd3390c91b 100644 +index 08a3c863f80a..2e9b739d9ad6 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig -@@ -2050,6 +2050,17 @@ config SENSORS_SCH5636 +@@ -2053,6 +2053,17 @@ config SENSORS_SCH5636 This driver can also be built as a module. If so, the module will be called sch5636. @@ -32623,10 +31335,10 @@ index b8d65292db83..f8dd3390c91b 100644 tristate "ST Microelectronics STTS751" depends on I2C diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile -index 3ce8d6a9202e..0ab2876917a5 100644 +index 9554d2fdcf7b..4de7d5cedbb8 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile -@@ -207,6 +207,7 @@ obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o +@@ -208,6 +208,7 @@ obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o obj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o obj-$(CONFIG_SENSORS_SPARX5) += sparx5-temp.o obj-$(CONFIG_SENSORS_SPD5118) += spd5118.o @@ -32884,10 +31596,10 @@ Signed-off-by: Jan200101 create mode 100644 drivers/leds/leds-steamdeck.c diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig -index d8597897aa83..1e23fdabf09f 100644 +index f8d8fcfacac2..ab03e6320be0 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig -@@ -963,6 +963,13 @@ config LEDS_ACER_A500 +@@ -971,6 +971,13 @@ config LEDS_ACER_A500 This option enables support for the Power Button LED of Acer Iconia Tab A500. @@ -33013,10 +31725,10 @@ Signed-off-by: Jan200101 create mode 100644 drivers/extcon/extcon-steamdeck.c diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig -index 3da94b382292..3a6e104d6ef6 100644 +index a6f6d467aacf..828fac76ebb0 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/extcon/Kconfig -@@ -203,4 +203,12 @@ config EXTCON_RTK_TYPE_C +@@ -214,4 +214,12 @@ config EXTCON_RTK_TYPE_C The DHC (Digital Home Hub) RTD series SoC contains a type c module. This driver will detect the status of the type-c port. @@ -33030,10 +31742,10 @@ index 3da94b382292..3a6e104d6ef6 100644 + endif diff --git a/drivers/extcon/Makefile b/drivers/extcon/Makefile -index f779adb5e4c7..6e0569b21d2f 100644 +index 0d6d23faf748..6eb613e0bcba 100644 --- a/drivers/extcon/Makefile +++ b/drivers/extcon/Makefile -@@ -26,3 +26,4 @@ obj-$(CONFIG_EXTCON_USB_GPIO) += extcon-usb-gpio.o +@@ -27,3 +27,4 @@ obj-$(CONFIG_EXTCON_USB_GPIO) += extcon-usb-gpio.o obj-$(CONFIG_EXTCON_USBC_CROS_EC) += extcon-usbc-cros-ec.o obj-$(CONFIG_EXTCON_USBC_TUSB320) += extcon-usbc-tusb320.o obj-$(CONFIG_EXTCON_RTK_TYPE_C) += extcon-rtk-type-c.o @@ -33547,7 +32259,7 @@ index be9d2c69cc41..e5a3389941c8 100644 if (window_start == ATH11K_PCI_WINDOW_START) { spin_lock_bh(&ab_pci->window_lock); diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c -index 2662092ee00a..d62248ba40b9 100644 +index 87abfa547529..ed327d3943eb 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -4177,6 +4177,7 @@ ath11k_wmi_copy_resource_config(struct wmi_resource_config *wmi_cfg, @@ -33727,7 +32439,7 @@ Theoretically, this is fixed by marking the SW_RESET register volatile. However, 3 files changed, 128 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp/acp-mach-common.c b/sound/soc/amd/acp/acp-mach-common.c -index a36300a4ed8a..6f7604a70e1f 100644 +index e9ff4815c12c..b080c6223b7a 100644 --- a/sound/soc/amd/acp/acp-mach-common.c +++ b/sound/soc/amd/acp/acp-mach-common.c @@ -26,6 +26,7 @@ @@ -33877,7 +32589,7 @@ index a36300a4ed8a..6f7604a70e1f 100644 } diff --git a/sound/soc/amd/acp/acp-mach.h b/sound/soc/amd/acp/acp-mach.h -index a48546d8d407..1d38025307b5 100644 +index 93d9e3886b7e..620e7c18d82c 100644 --- a/sound/soc/amd/acp/acp-mach.h +++ b/sound/soc/amd/acp/acp-mach.h @@ -27,8 +27,8 @@ @@ -33995,7 +32707,7 @@ Subject: Disable modes with >1200 MHz Pixel clocks when connected via dock 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_validation.c b/drivers/gpu/drm/amd/display/dc/link/link_validation.c -index 1aed55b0ab6a..27af7505caca 100644 +index 60f15a9ba7a5..c3da48c213d4 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_validation.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_validation.c @@ -35,6 +35,8 @@ @@ -34046,10 +32758,10 @@ Signed-off-by: Gabriel Krisman Bertazi 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 77830a7a70c3..e92e52bc90ef 100644 +index 7258e46212b0..4dac39694368 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4463,7 +4463,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4519,7 +4519,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) return 0; } @@ -34058,7 +32770,7 @@ index 77830a7a70c3..e92e52bc90ef 100644 #define AMDGPU_DM_DEFAULT_MAX_BACKLIGHT 255 #define AMDGPU_DM_MIN_SPREAD ((AMDGPU_DM_DEFAULT_MAX_BACKLIGHT - AMDGPU_DM_DEFAULT_MIN_BACKLIGHT) / 2) #define AUX_BL_DEFAULT_TRANSITION_TIME_MS 50 -@@ -4497,11 +4497,27 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, +@@ -4553,11 +4553,27 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, if (caps.caps_valid) { dm->backlight_caps[bl_idx].caps_valid = true; @@ -34086,7 +32798,7 @@ index 77830a7a70c3..e92e52bc90ef 100644 dm->backlight_caps[bl_idx].min_input_signal = AMDGPU_DM_DEFAULT_MIN_BACKLIGHT; dm->backlight_caps[bl_idx].max_input_signal = -@@ -4511,6 +4527,9 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, +@@ -4567,6 +4583,9 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, if (dm->backlight_caps[bl_idx].aux_support) return; @@ -34096,7 +32808,7 @@ index 77830a7a70c3..e92e52bc90ef 100644 dm->backlight_caps[bl_idx].min_input_signal = AMDGPU_DM_DEFAULT_MIN_BACKLIGHT; dm->backlight_caps[bl_idx].max_input_signal = AMDGPU_DM_DEFAULT_MAX_BACKLIGHT; #endif -@@ -4542,7 +4561,7 @@ static u32 convert_brightness_from_user(const struct amdgpu_dm_backlight_caps *c +@@ -4598,7 +4617,7 @@ static u32 convert_brightness_from_user(const struct amdgpu_dm_backlight_caps *c if (!get_brightness_range(caps, &min, &max)) return brightness; @@ -34105,7 +32817,7 @@ index 77830a7a70c3..e92e52bc90ef 100644 return min + DIV_ROUND_CLOSEST((max - min) * brightness, AMDGPU_MAX_BL_LEVEL); } -@@ -4557,7 +4576,7 @@ static u32 convert_brightness_to_user(const struct amdgpu_dm_backlight_caps *cap +@@ -4613,7 +4632,7 @@ static u32 convert_brightness_to_user(const struct amdgpu_dm_backlight_caps *cap if (brightness < min) return 0; @@ -34132,10 +32844,10 @@ Signed-off-by: Antheas Kapenekakis 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index e92e52bc90ef..746243bd8664 100644 +index 4dac39694368..2dbe98601e71 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4468,6 +4468,24 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4524,6 +4524,24 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) #define AMDGPU_DM_MIN_SPREAD ((AMDGPU_DM_DEFAULT_MAX_BACKLIGHT - AMDGPU_DM_DEFAULT_MIN_BACKLIGHT) / 2) #define AUX_BL_DEFAULT_TRANSITION_TIME_MS 50 @@ -34160,7 +32872,7 @@ index e92e52bc90ef..746243bd8664 100644 static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, int bl_idx) { -@@ -4501,8 +4519,12 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, +@@ -4557,8 +4575,12 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, printk(KERN_NOTICE"VLV Successfully queried backlight range over ACPI: %d %d\n", (int) caps.min_input_signal, (int) caps.max_input_signal); @@ -34194,7 +32906,7 @@ further investigation. 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c -index 69449d13ff21..ac32ff9b866a 100644 +index b3d17cfc54a4..3b4fbc24ec91 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -710,7 +710,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS100, quirk_ati_ @@ -34272,7 +32984,7 @@ Signed-off-by: Joshua Ashton 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 746243bd8664..65f05f9198d5 100644 +index 2dbe98601e71..6fabfae19bac 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -467,7 +467,7 @@ static void dm_pflip_high_irq(void *interrupt_params) @@ -34298,7 +33010,7 @@ index 746243bd8664..65f05f9198d5 100644 adev->family < AMDGPU_FAMILY_AI) { spin_lock_irqsave(&adev_to_drm(adev)->event_lock, flags); mod_freesync_handle_v_update( -@@ -8940,7 +8940,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state, +@@ -9022,7 +9022,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state, int planes_count = 0, vpos, hpos; unsigned long flags; u32 target_vblank, last_flip_vblank; @@ -34326,7 +33038,7 @@ Should also improve latency/stutter on internal display potentially too. 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 65f05f9198d5..6cc507cb43b8 100644 +index 6fabfae19bac..22be407875aa 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -467,7 +467,7 @@ static void dm_pflip_high_irq(void *interrupt_params) @@ -35438,10 +34150,10 @@ Signed-off-by: Antheas Kapenekakis 1 file changed, 54 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c -index 321a658e4554..0a3202bfaf1a 100644 +index 1101e5b2488e..a94d8fc79287 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c -@@ -137,29 +137,10 @@ module_param(fnlock_default, bool, 0444); +@@ -142,29 +142,10 @@ module_param(fnlock_default, bool, 0444); #define ASUS_MINI_LED_2024_STRONG 0x01 #define ASUS_MINI_LED_2024_OFF 0x02 @@ -35471,7 +34183,7 @@ index 321a658e4554..0a3202bfaf1a 100644 static bool ashs_present(void) { int i = 0; -@@ -269,9 +250,6 @@ struct asus_wmi { +@@ -274,9 +255,6 @@ struct asus_wmi { u32 tablet_switch_dev_id; bool tablet_switch_inverted; @@ -35481,7 +34193,7 @@ index 321a658e4554..0a3202bfaf1a 100644 enum fan_type fan_type; enum fan_type gpu_fan_type; enum fan_type mid_fan_type; -@@ -4708,8 +4686,6 @@ static int asus_wmi_add(struct platform_device *pdev) +@@ -4741,8 +4719,6 @@ static int asus_wmi_add(struct platform_device *pdev) asus->egpu_enable_available = asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_EGPU); asus->dgpu_disable_available = asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_DGPU); asus->kbd_rgb_state_available = asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_TUF_RGB_STATE); @@ -35490,7 +34202,7 @@ index 321a658e4554..0a3202bfaf1a 100644 if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MINI_LED_MODE)) asus->mini_led_dev_id = ASUS_WMI_DEVID_MINI_LED_MODE; -@@ -4902,34 +4878,6 @@ static int asus_hotk_resume(struct device *device) +@@ -4933,34 +4909,6 @@ static int asus_hotk_resume(struct device *device) return 0; } @@ -35525,7 +34237,7 @@ index 321a658e4554..0a3202bfaf1a 100644 static int asus_hotk_restore(struct device *device) { struct asus_wmi *asus = dev_get_drvdata(device); -@@ -4974,8 +4922,6 @@ static const struct dev_pm_ops asus_pm_ops = { +@@ -5005,8 +4953,6 @@ static const struct dev_pm_ops asus_pm_ops = { .thaw = asus_hotk_thaw, .restore = asus_hotk_restore, .resume = asus_hotk_resume, @@ -35555,10 +34267,10 @@ Signed-off-by: Antheas Kapenekakis 1 file changed, 71 insertions(+) diff --git a/kernel/power/main.c b/kernel/power/main.c -index a9e0693aaf69..51fbfb2340c0 100644 +index 6254814d4817..fcaffdee53ff 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c -@@ -746,6 +746,76 @@ static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, +@@ -748,6 +748,76 @@ static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, power_attr(state); @@ -35635,7 +34347,7 @@ index a9e0693aaf69..51fbfb2340c0 100644 #ifdef CONFIG_PM_SLEEP /* * The 'wakeup_count' attribute, along with the functions defined in -@@ -972,6 +1042,7 @@ static struct attribute * g[] = { +@@ -974,6 +1044,7 @@ static struct attribute * g[] = { #ifdef CONFIG_SUSPEND &mem_sleep_attr.attr, &sync_on_suspend_attr.attr, @@ -35872,7 +34584,7 @@ Subject: ASoC: qcom: q6asm-dai: Change some default periods 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c -index 3913706ccdc5..a4b1a32d2a12 100644 +index 045100c94352..3af3313b635e 100644 --- a/sound/soc/qcom/qdsp6/q6asm-dai.c +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c @@ -25,8 +25,8 @@ @@ -35890,106 +34602,6 @@ index 3913706ccdc5..a4b1a32d2a12 100644 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Srinivas Kandagatla -Date: Thu, 15 Aug 2024 18:05:42 +0100 -Subject: arm64: dts: qcom: sm8250: move lpass codec macros to use clks - directly - -Move lpass codecs va and wsa macros to use the clks directly from -AFE clock controller instead of going via gfm mux like other codec macros -and SoCs. - -This makes it more align with the other SoCs and codec macros in this SoC -which take AFE clocks directly. This will also avoid an extra clk mux layer, -provides consistency and avoids the buggy mux driver which will be removed. - -This should also fix RB5 audio. - -Remove the gfm mux drivers for both audiocc and aoncc. - -Change-Id: I22350f0c5ab8371efe8e62cf65ddb873f268a785 -Signed-off-by: Srinivas Kandagatla -Link: https://lore.kernel.org/r/20240815170542.20754-1-srinivas.kandagatla@linaro.org -Signed-off-by: Bjorn Andersson ---- - arch/arm64/boot/dts/qcom/sm8250.dtsi | 31 ++++------------------------ - 1 file changed, 4 insertions(+), 27 deletions(-) - -diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi -index 9d6c97d1fd9d..630f4eff20bf 100644 ---- a/arch/arm64/boot/dts/qcom/sm8250.dtsi -+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi -@@ -8,8 +8,6 @@ - #include - #include - #include --#include --#include - #include - #include - #include -@@ -2633,14 +2631,13 @@ tcsr: syscon@1fc0000 { - wsamacro: codec@3240000 { - compatible = "qcom,sm8250-lpass-wsa-macro"; - reg = <0 0x03240000 0 0x1000>; -- clocks = <&audiocc LPASS_CDC_WSA_MCLK>, -- <&audiocc LPASS_CDC_WSA_NPL>, -+ clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -+ <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -- <&aoncc LPASS_CDC_VA_MCLK>, - <&vamacro>; - -- clock-names = "mclk", "npl", "macro", "dcodec", "va", "fsgen"; -+ clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; - - #clock-cells = <0>; - clock-output-names = "mclk"; -@@ -2674,20 +2671,10 @@ swr0: soundwire@3250000 { - status = "disabled"; - }; - -- audiocc: clock-controller@3300000 { -- compatible = "qcom,sm8250-lpass-audiocc"; -- reg = <0 0x03300000 0 0x30000>; -- #clock-cells = <1>; -- clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -- <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -- <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; -- clock-names = "core", "audio", "bus"; -- }; -- - vamacro: codec@3370000 { - compatible = "qcom,sm8250-lpass-va-macro"; - reg = <0 0x03370000 0 0x1000>; -- clocks = <&aoncc LPASS_CDC_VA_MCLK>, -+ clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - -@@ -2792,16 +2779,6 @@ swr2: soundwire@3230000 { - #size-cells = <0>; - }; - -- aoncc: clock-controller@3380000 { -- compatible = "qcom,sm8250-lpass-aoncc"; -- reg = <0 0x03380000 0 0x40000>; -- #clock-cells = <1>; -- clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -- <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, -- <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; -- clock-names = "core", "audio", "bus"; -- }; -- - lpass_tlmm: pinctrl@33c0000 { - compatible = "qcom,sm8250-lpass-lpi-pinctrl"; - reg = <0 0x033c0000 0x0 0x20000>, --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Teguh Sobirin Date: Sun, 8 Sep 2024 06:16:22 +0800 @@ -36056,12 +34668,12 @@ Subject: drm: panel: Add DDIC CH13726A panel create mode 100644 drivers/gpu/drm/panel/panel-ddic-ch13726a.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig -index 9f49b0189d3b..c6fcccdcffa0 100644 +index d3a9a9fafe4e..996570dfcdeb 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig -@@ -87,6 +87,17 @@ config DRM_PANEL_BOE_TV101WUM_NL6 - Say Y here if you want to support for BOE TV101WUM and AUO KD101N80 - 45NA WUXGA PANEL DSI Video Mode panel +@@ -96,6 +96,17 @@ config DRM_PANEL_BOE_TV101WUM_LL2 + Say Y here if you want to support for BOE TV101WUM-LL2 + WUXGA PANEL DSI Video Mode panel +config DRM_PANEL_DDIC_CH13726A + tristate "DDIC CH13726A-based DSI panel" @@ -36078,12 +34690,12 @@ index 9f49b0189d3b..c6fcccdcffa0 100644 tristate "EBBG FT8719 panel driver" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile -index 5581387707c6..239a1049fb89 100644 +index 987a08702410..a2aa4d78756e 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile -@@ -7,6 +7,7 @@ obj-$(CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0) += panel-boe-bf060y8m-aj0.o - obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) += panel-boe-himax8279d.o +@@ -8,6 +8,7 @@ obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) += panel-boe-himax8279d.o obj-$(CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A) += panel-boe-th101mb31ig002-28a.o + obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_LL2) += panel-boe-tv101wum-ll2.o obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_NL6) += panel-boe-tv101wum-nl6.o +obj-$(CONFIG_DRM_PANEL_DDIC_CH13726A) += panel-ddic-ch13726a.o obj-$(CONFIG_DRM_PANEL_DSI_CM) += panel-dsi-cm.o @@ -39260,10 +37872,10 @@ Combination of two commits to fix git apply quirks create mode 100644 arch/arm64/boot/dts/qcom/sm8250-retroidpocket-rpmini.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile -index 0e5c810304fb..aecec23e2eaa 100644 +index ae002c7cf126..b015527b063f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile -@@ -235,6 +235,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8150-sony-xperia-kumano-bahamut.dtb +@@ -242,6 +242,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8150-sony-xperia-kumano-bahamut.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-sony-xperia-kumano-griffin.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb @@ -40785,10 +39397,10 @@ Subject: pwm: htr3212: Add HEROIC HTR3212 support create mode 100644 drivers/pwm/pwm-htr3212.c diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig -index 3e53838990f5..5440e8712ad7 100644 +index 0915c1e7df16..840008d332c2 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig -@@ -257,6 +257,16 @@ config PWM_HIBVT +@@ -264,6 +264,16 @@ config PWM_HIBVT To compile this driver as a module, choose M here: the module will be called pwm-hibvt. @@ -40806,10 +39418,10 @@ index 3e53838990f5..5440e8712ad7 100644 tristate "Imagination Technologies PWM driver" depends on HAS_IOMEM diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile -index 0be4f3e6dd43..5e4e8da8a379 100644 +index 9081e0c0e9e0..e6b5fd90e130 100644 --- a/drivers/pwm/Makefile +++ b/drivers/pwm/Makefile -@@ -21,6 +21,7 @@ obj-$(CONFIG_PWM_EP93XX) += pwm-ep93xx.o +@@ -22,6 +22,7 @@ obj-$(CONFIG_PWM_EP93XX) += pwm-ep93xx.o obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o obj-$(CONFIG_PWM_GPIO) += pwm-gpio.o obj-$(CONFIG_PWM_HIBVT) += pwm-hibvt.o @@ -41494,10 +40106,10 @@ From: Antheas Kapenekakis Date: Sat, 12 Oct 2024 20:11:00 +0200 Subject: [BEGIN] TKG, BORE, Sched_ext and HDR patches -TKG is from [1] and BORE and sched_ext are from [2]. +TKG is from [1] and BORE is from [2]. -Link: https://github.com/Frogging-Family/linux-tkg/blob/master/linux-tkg-patches/6.11/0012-misc-additions.patch [1] -Link: https://github.com/CachyOS/kernel-patches [2] +[1]: https://github.com/Frogging-Family/linux-tkg/blob/master/linux-tkg-patches/6.11/0012-misc-additions.patch +[2]: https://github.com/firelzrd/bore-scheduler/tree/main/patches -- 2.47.0 @@ -41553,7 +40165,7 @@ Also it interferes with the option to select the desired default governor we hav 1 file changed, 2 deletions(-) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig -index 10cda6f2fe1d..76a8e4741163 100644 +index 2561b215432a..1f6f291af340 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -71,7 +71,6 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE @@ -41588,10 +40200,10 @@ avoid having to enable `CONFIG_EXPERT`. 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig -index 975dd22a2dbd..de69b8f5b5be 100644 +index bd9f095d69fa..5fc4aa6b6b67 100644 --- a/arch/Kconfig +++ b/arch/Kconfig -@@ -1050,7 +1050,7 @@ config ARCH_MMAP_RND_BITS +@@ -1089,7 +1089,7 @@ config ARCH_MMAP_RND_BITS int "Number of bits to use for ASLR of mmap base address" if EXPERT range ARCH_MMAP_RND_BITS_MIN ARCH_MMAP_RND_BITS_MAX default ARCH_MMAP_RND_BITS_DEFAULT if ARCH_MMAP_RND_BITS_DEFAULT @@ -41600,7 +40212,7 @@ index 975dd22a2dbd..de69b8f5b5be 100644 depends on HAVE_ARCH_MMAP_RND_BITS help This value can be used to select the number of bits to use to -@@ -1084,7 +1084,7 @@ config ARCH_MMAP_RND_COMPAT_BITS +@@ -1123,7 +1123,7 @@ config ARCH_MMAP_RND_COMPAT_BITS int "Number of bits to use for ASLR of mmap base address for compatible applications" if EXPERT range ARCH_MMAP_RND_COMPAT_BITS_MIN ARCH_MMAP_RND_COMPAT_BITS_MAX default ARCH_MMAP_RND_COMPAT_BITS_DEFAULT if ARCH_MMAP_RND_COMPAT_BITS_DEFAULT @@ -41644,10 +40256,10 @@ index df17e79c45c7..e454488c1a31 100644 + endmenu diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 6cc507cb43b8..a8669fc8be86 100644 +index 22be407875aa..a93d60c788cf 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4445,7 +4445,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4501,7 +4501,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) return r; } @@ -41670,10 +40282,10 @@ index ebabfe3a512f..4d3ebcaacca1 100644 * * AMD driver supports pre-defined mathematical functions for transferring diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c -index 7db9b8939af5..76eca3cbd76b 100644 +index 93a8bdb2504d..00c7f9c657c2 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c -@@ -431,7 +431,7 @@ static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc) +@@ -473,7 +473,7 @@ static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc) } #endif @@ -41682,7 +40294,7 @@ index 7db9b8939af5..76eca3cbd76b 100644 /** * dm_crtc_additional_color_mgmt - enable additional color properties * @crtc: DRM CRTC -@@ -513,7 +513,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = { +@@ -555,7 +555,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = { #if defined(CONFIG_DEBUG_FS) .late_register = amdgpu_dm_crtc_late_register, #endif @@ -41691,7 +40303,7 @@ index 7db9b8939af5..76eca3cbd76b 100644 .atomic_set_property = amdgpu_dm_atomic_crtc_set_property, .atomic_get_property = amdgpu_dm_atomic_crtc_get_property, #endif -@@ -680,7 +680,7 @@ int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm, +@@ -722,7 +722,7 @@ int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm, drm_mode_crtc_set_gamma_size(&acrtc->base, MAX_COLOR_LEGACY_LUT_ENTRIES); @@ -41701,10 +40313,10 @@ index 7db9b8939af5..76eca3cbd76b 100644 #endif return 0; diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c -index a573a6639898..52e0e42e26a5 100644 +index 495e3cd70426..704a48209657 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c -@@ -1569,7 +1569,7 @@ static void amdgpu_dm_plane_drm_plane_destroy_state(struct drm_plane *plane, +@@ -1573,7 +1573,7 @@ static void amdgpu_dm_plane_drm_plane_destroy_state(struct drm_plane *plane, drm_atomic_helper_plane_destroy_state(plane, state); } @@ -41713,7 +40325,7 @@ index a573a6639898..52e0e42e26a5 100644 static void dm_atomic_plane_attach_color_mgmt_properties(struct amdgpu_display_manager *dm, struct drm_plane *plane) -@@ -1760,7 +1760,7 @@ static const struct drm_plane_funcs dm_plane_funcs = { +@@ -1764,7 +1764,7 @@ static const struct drm_plane_funcs dm_plane_funcs = { .atomic_duplicate_state = amdgpu_dm_plane_drm_plane_duplicate_state, .atomic_destroy_state = amdgpu_dm_plane_drm_plane_destroy_state, .format_mod_supported = amdgpu_dm_plane_format_mod_supported, @@ -41722,7 +40334,7 @@ index a573a6639898..52e0e42e26a5 100644 .atomic_set_property = dm_atomic_plane_set_property, .atomic_get_property = dm_atomic_plane_get_property, #endif -@@ -1853,7 +1853,7 @@ int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, +@@ -1857,7 +1857,7 @@ int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, drm_plane_helper_add(plane, &dm_plane_helper_funcs); @@ -41748,10 +40360,10 @@ This fixes 7700/7800 XT custom powercap. 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c -index 80e60ea2d11e..b5da64b1bca7 100644 +index 0c0b9aa44dfa..84f26f568135 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c -@@ -2753,7 +2753,6 @@ int smu_get_power_limit(void *handle, +@@ -2770,7 +2770,6 @@ int smu_get_power_limit(void *handle, case SMU_PPT_LIMIT_CURRENT: switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) { case IP_VERSION(13, 0, 2): @@ -41853,18353 +40465,409 @@ index a3df782fa687..940d8f514341 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Peter Jung -Date: Thu, 10 Oct 2024 12:47:12 +0200 -Subject: add sched-ext support +From: Masahito S +Date: Thu, 7 Nov 2024 01:47:21 +0900 +Subject: linux6.12.y-bore5.7.3 -Signed-off-by: Peter Jung --- - Documentation/scheduler/index.rst | 1 + - Documentation/scheduler/sched-ext.rst | 326 + - MAINTAINERS | 13 + - drivers/tty/sysrq.c | 1 + - include/asm-generic/vmlinux.lds.h | 1 + - include/linux/cgroup.h | 4 +- - include/linux/sched.h | 5 + - include/linux/sched/ext.h | 216 + - include/linux/sched/task.h | 8 +- - include/trace/events/sched_ext.h | 32 + - include/uapi/linux/sched.h | 1 + - init/Kconfig | 10 + - init/init_task.c | 12 + - kernel/Kconfig.preempt | 27 +- - kernel/fork.c | 17 +- - kernel/sched/build_policy.c | 11 + - kernel/sched/core.c | 296 +- - kernel/sched/cpufreq_schedutil.c | 50 +- - kernel/sched/debug.c | 3 + - kernel/sched/ext.c | 7281 +++++++++++++++++ - kernel/sched/ext.h | 91 + - kernel/sched/fair.c | 21 +- - kernel/sched/idle.c | 2 + - kernel/sched/sched.h | 203 +- - kernel/sched/syscalls.c | 26 + - lib/dump_stack.c | 1 + - tools/Makefile | 10 +- - tools/sched_ext/.gitignore | 2 + - tools/sched_ext/Makefile | 246 + - tools/sched_ext/README.md | 270 + - .../sched_ext/include/bpf-compat/gnu/stubs.h | 11 + - tools/sched_ext/include/scx/common.bpf.h | 427 + - tools/sched_ext/include/scx/common.h | 75 + - tools/sched_ext/include/scx/compat.bpf.h | 47 + - tools/sched_ext/include/scx/compat.h | 186 + - tools/sched_ext/include/scx/user_exit_info.h | 115 + - tools/sched_ext/scx_central.bpf.c | 361 + - tools/sched_ext/scx_central.c | 135 + - tools/sched_ext/scx_flatcg.bpf.c | 957 +++ - tools/sched_ext/scx_flatcg.c | 233 + - tools/sched_ext/scx_flatcg.h | 51 + - tools/sched_ext/scx_qmap.bpf.c | 813 ++ - tools/sched_ext/scx_qmap.c | 153 + - tools/sched_ext/scx_show_state.py | 40 + - tools/sched_ext/scx_simple.bpf.c | 156 + - tools/sched_ext/scx_simple.c | 107 + - tools/testing/selftests/sched_ext/.gitignore | 6 + - tools/testing/selftests/sched_ext/Makefile | 218 + - tools/testing/selftests/sched_ext/config | 9 + - .../selftests/sched_ext/create_dsq.bpf.c | 58 + - .../testing/selftests/sched_ext/create_dsq.c | 57 + - .../sched_ext/ddsp_bogus_dsq_fail.bpf.c | 42 + - .../selftests/sched_ext/ddsp_bogus_dsq_fail.c | 57 + - .../sched_ext/ddsp_vtimelocal_fail.bpf.c | 39 + - .../sched_ext/ddsp_vtimelocal_fail.c | 56 + - .../selftests/sched_ext/dsp_local_on.bpf.c | 65 + - .../selftests/sched_ext/dsp_local_on.c | 58 + - .../sched_ext/enq_last_no_enq_fails.bpf.c | 21 + - .../sched_ext/enq_last_no_enq_fails.c | 60 + - .../sched_ext/enq_select_cpu_fails.bpf.c | 43 + - .../sched_ext/enq_select_cpu_fails.c | 61 + - tools/testing/selftests/sched_ext/exit.bpf.c | 84 + - tools/testing/selftests/sched_ext/exit.c | 55 + - tools/testing/selftests/sched_ext/exit_test.h | 20 + - .../testing/selftests/sched_ext/hotplug.bpf.c | 61 + - tools/testing/selftests/sched_ext/hotplug.c | 168 + - .../selftests/sched_ext/hotplug_test.h | 15 + - .../sched_ext/init_enable_count.bpf.c | 53 + - .../selftests/sched_ext/init_enable_count.c | 166 + - .../testing/selftests/sched_ext/maximal.bpf.c | 164 + - tools/testing/selftests/sched_ext/maximal.c | 51 + - .../selftests/sched_ext/maybe_null.bpf.c | 36 + - .../testing/selftests/sched_ext/maybe_null.c | 49 + - .../sched_ext/maybe_null_fail_dsp.bpf.c | 25 + - .../sched_ext/maybe_null_fail_yld.bpf.c | 28 + - .../testing/selftests/sched_ext/minimal.bpf.c | 21 + - tools/testing/selftests/sched_ext/minimal.c | 58 + - .../selftests/sched_ext/prog_run.bpf.c | 33 + - tools/testing/selftests/sched_ext/prog_run.c | 78 + - .../testing/selftests/sched_ext/reload_loop.c | 75 + - tools/testing/selftests/sched_ext/runner.c | 201 + - tools/testing/selftests/sched_ext/scx_test.h | 131 + - .../selftests/sched_ext/select_cpu_dfl.bpf.c | 40 + - .../selftests/sched_ext/select_cpu_dfl.c | 72 + - .../sched_ext/select_cpu_dfl_nodispatch.bpf.c | 89 + - .../sched_ext/select_cpu_dfl_nodispatch.c | 72 + - .../sched_ext/select_cpu_dispatch.bpf.c | 41 + - .../selftests/sched_ext/select_cpu_dispatch.c | 70 + - .../select_cpu_dispatch_bad_dsq.bpf.c | 37 + - .../sched_ext/select_cpu_dispatch_bad_dsq.c | 56 + - .../select_cpu_dispatch_dbl_dsp.bpf.c | 38 + - .../sched_ext/select_cpu_dispatch_dbl_dsp.c | 56 + - .../sched_ext/select_cpu_vtime.bpf.c | 92 + - .../selftests/sched_ext/select_cpu_vtime.c | 59 + - .../selftests/sched_ext/test_example.c | 49 + - tools/testing/selftests/sched_ext/util.c | 71 + - tools/testing/selftests/sched_ext/util.h | 13 + - 97 files changed, 16201 insertions(+), 130 deletions(-) - create mode 100644 Documentation/scheduler/sched-ext.rst - create mode 100644 include/linux/sched/ext.h - create mode 100644 include/trace/events/sched_ext.h - create mode 100644 kernel/sched/ext.c - create mode 100644 kernel/sched/ext.h - create mode 100644 tools/sched_ext/.gitignore - create mode 100644 tools/sched_ext/Makefile - create mode 100644 tools/sched_ext/README.md - create mode 100644 tools/sched_ext/include/bpf-compat/gnu/stubs.h - create mode 100644 tools/sched_ext/include/scx/common.bpf.h - create mode 100644 tools/sched_ext/include/scx/common.h - create mode 100644 tools/sched_ext/include/scx/compat.bpf.h - create mode 100644 tools/sched_ext/include/scx/compat.h - create mode 100644 tools/sched_ext/include/scx/user_exit_info.h - create mode 100644 tools/sched_ext/scx_central.bpf.c - create mode 100644 tools/sched_ext/scx_central.c - create mode 100644 tools/sched_ext/scx_flatcg.bpf.c - create mode 100644 tools/sched_ext/scx_flatcg.c - create mode 100644 tools/sched_ext/scx_flatcg.h - create mode 100644 tools/sched_ext/scx_qmap.bpf.c - create mode 100644 tools/sched_ext/scx_qmap.c - create mode 100644 tools/sched_ext/scx_show_state.py - create mode 100644 tools/sched_ext/scx_simple.bpf.c - create mode 100644 tools/sched_ext/scx_simple.c - create mode 100644 tools/testing/selftests/sched_ext/.gitignore - create mode 100644 tools/testing/selftests/sched_ext/Makefile - create mode 100644 tools/testing/selftests/sched_ext/config - create mode 100644 tools/testing/selftests/sched_ext/create_dsq.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/create_dsq.c - create mode 100644 tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.c - create mode 100644 tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.c - create mode 100644 tools/testing/selftests/sched_ext/dsp_local_on.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/dsp_local_on.c - create mode 100644 tools/testing/selftests/sched_ext/enq_last_no_enq_fails.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/enq_last_no_enq_fails.c - create mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/enq_select_cpu_fails.c - create mode 100644 tools/testing/selftests/sched_ext/exit.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/exit.c - create mode 100644 tools/testing/selftests/sched_ext/exit_test.h - create mode 100644 tools/testing/selftests/sched_ext/hotplug.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/hotplug.c - create mode 100644 tools/testing/selftests/sched_ext/hotplug_test.h - create mode 100644 tools/testing/selftests/sched_ext/init_enable_count.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/init_enable_count.c - create mode 100644 tools/testing/selftests/sched_ext/maximal.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/maximal.c - create mode 100644 tools/testing/selftests/sched_ext/maybe_null.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/maybe_null.c - create mode 100644 tools/testing/selftests/sched_ext/maybe_null_fail_dsp.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/maybe_null_fail_yld.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/minimal.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/minimal.c - create mode 100644 tools/testing/selftests/sched_ext/prog_run.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/prog_run.c - create mode 100644 tools/testing/selftests/sched_ext/reload_loop.c - create mode 100644 tools/testing/selftests/sched_ext/runner.c - create mode 100644 tools/testing/selftests/sched_ext/scx_test.h - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dfl.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c - create mode 100644 tools/testing/selftests/sched_ext/select_cpu_vtime.c - create mode 100644 tools/testing/selftests/sched_ext/test_example.c - create mode 100644 tools/testing/selftests/sched_ext/util.c - create mode 100644 tools/testing/selftests/sched_ext/util.h - -diff --git a/Documentation/scheduler/index.rst b/Documentation/scheduler/index.rst -index 43bd8a145b7a..0611dc3dda8e 100644 ---- a/Documentation/scheduler/index.rst -+++ b/Documentation/scheduler/index.rst -@@ -20,6 +20,7 @@ Scheduler - sched-nice-design - sched-rt-group - sched-stats -+ sched-ext - sched-debug + include/linux/sched.h | 17 ++ + include/linux/sched/bore.h | 37 ++++ + init/Kconfig | 17 ++ + kernel/Kconfig.hz | 17 ++ + kernel/fork.c | 5 + + kernel/sched/Makefile | 1 + + kernel/sched/bore.c | 381 +++++++++++++++++++++++++++++++++++++ + kernel/sched/core.c | 7 + + kernel/sched/debug.c | 61 +++++- + kernel/sched/fair.c | 75 +++++++- + kernel/sched/sched.h | 9 + + 11 files changed, 622 insertions(+), 5 deletions(-) + create mode 100644 include/linux/sched/bore.h + create mode 100644 kernel/sched/bore.c + +diff --git a/include/linux/sched.h b/include/linux/sched.h +index bb343136ddd0..c86185f87e7b 100644 +--- a/include/linux/sched.h ++++ b/include/linux/sched.h +@@ -538,6 +538,14 @@ struct sched_statistics { + #endif /* CONFIG_SCHEDSTATS */ + } ____cacheline_aligned; + ++#ifdef CONFIG_SCHED_BORE ++struct sched_burst_cache { ++ u8 score; ++ u32 count; ++ u64 timestamp; ++}; ++#endif // CONFIG_SCHED_BORE ++ + struct sched_entity { + /* For load-balancing: */ + struct load_weight load; +@@ -557,6 +565,15 @@ struct sched_entity { + u64 sum_exec_runtime; + u64 prev_sum_exec_runtime; + u64 vruntime; ++#ifdef CONFIG_SCHED_BORE ++ u64 burst_time; ++ u8 prev_burst_penalty; ++ u8 curr_burst_penalty; ++ u8 burst_penalty; ++ u8 burst_score; ++ struct sched_burst_cache child_burst; ++ struct sched_burst_cache group_burst; ++#endif // CONFIG_SCHED_BORE + s64 vlag; + u64 slice; - text_files -diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst +diff --git a/include/linux/sched/bore.h b/include/linux/sched/bore.h new file mode 100644 -index 000000000000..6c0d70e2e27d +index 000000000000..12a613a94ff0 --- /dev/null -+++ b/Documentation/scheduler/sched-ext.rst -@@ -0,0 +1,326 @@ -+========================== -+Extensible Scheduler Class -+========================== -+ -+sched_ext is a scheduler class whose behavior can be defined by a set of BPF -+programs - the BPF scheduler. -+ -+* sched_ext exports a full scheduling interface so that any scheduling -+ algorithm can be implemented on top. -+ -+* The BPF scheduler can group CPUs however it sees fit and schedule them -+ together, as tasks aren't tied to specific CPUs at the time of wakeup. -+ -+* The BPF scheduler can be turned on and off dynamically anytime. -+ -+* The system integrity is maintained no matter what the BPF scheduler does. -+ The default scheduling behavior is restored anytime an error is detected, -+ a runnable task stalls, or on invoking the SysRq key sequence -+ :kbd:`SysRq-S`. -+ -+* When the BPF scheduler triggers an error, debug information is dumped to -+ aid debugging. The debug dump is passed to and printed out by the -+ scheduler binary. The debug dump can also be accessed through the -+ `sched_ext_dump` tracepoint. The SysRq key sequence :kbd:`SysRq-D` -+ triggers a debug dump. This doesn't terminate the BPF scheduler and can -+ only be read through the tracepoint. -+ -+Switching to and from sched_ext -+=============================== -+ -+``CONFIG_SCHED_CLASS_EXT`` is the config option to enable sched_ext and -+``tools/sched_ext`` contains the example schedulers. The following config -+options should be enabled to use sched_ext: -+ -+.. code-block:: none -+ -+ CONFIG_BPF=y -+ CONFIG_SCHED_CLASS_EXT=y -+ CONFIG_BPF_SYSCALL=y -+ CONFIG_BPF_JIT=y -+ CONFIG_DEBUG_INFO_BTF=y -+ CONFIG_BPF_JIT_ALWAYS_ON=y -+ CONFIG_BPF_JIT_DEFAULT_ON=y -+ CONFIG_PAHOLE_HAS_SPLIT_BTF=y -+ CONFIG_PAHOLE_HAS_BTF_TAG=y -+ -+sched_ext is used only when the BPF scheduler is loaded and running. -+ -+If a task explicitly sets its scheduling policy to ``SCHED_EXT``, it will be -+treated as ``SCHED_NORMAL`` and scheduled by CFS until the BPF scheduler is -+loaded. -+ -+When the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is not set -+in ``ops->flags``, all ``SCHED_NORMAL``, ``SCHED_BATCH``, ``SCHED_IDLE``, and -+``SCHED_EXT`` tasks are scheduled by sched_ext. -+ -+However, when the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is -+set in ``ops->flags``, only tasks with the ``SCHED_EXT`` policy are scheduled -+by sched_ext, while tasks with ``SCHED_NORMAL``, ``SCHED_BATCH`` and -+``SCHED_IDLE`` policies are scheduled by CFS. -+ -+Terminating the sched_ext scheduler program, triggering :kbd:`SysRq-S`, or -+detection of any internal error including stalled runnable tasks aborts the -+BPF scheduler and reverts all tasks back to CFS. -+ -+.. code-block:: none -+ -+ # make -j16 -C tools/sched_ext -+ # tools/sched_ext/scx_simple -+ local=0 global=3 -+ local=5 global=24 -+ local=9 global=44 -+ local=13 global=56 -+ local=17 global=72 -+ ^CEXIT: BPF scheduler unregistered -+ -+The current status of the BPF scheduler can be determined as follows: -+ -+.. code-block:: none -+ -+ # cat /sys/kernel/sched_ext/state -+ enabled -+ # cat /sys/kernel/sched_ext/root/ops -+ simple -+ -+You can check if any BPF scheduler has ever been loaded since boot by examining -+this monotonically incrementing counter (a value of zero indicates that no BPF -+scheduler has been loaded): -+ -+.. code-block:: none -+ -+ # cat /sys/kernel/sched_ext/enable_seq -+ 1 -+ -+``tools/sched_ext/scx_show_state.py`` is a drgn script which shows more -+detailed information: -+ -+.. code-block:: none -+ -+ # tools/sched_ext/scx_show_state.py -+ ops : simple -+ enabled : 1 -+ switching_all : 1 -+ switched_all : 1 -+ enable_state : enabled (2) -+ bypass_depth : 0 -+ nr_rejected : 0 -+ enable_seq : 1 -+ -+If ``CONFIG_SCHED_DEBUG`` is set, whether a given task is on sched_ext can -+be determined as follows: -+ -+.. code-block:: none -+ -+ # grep ext /proc/self/sched -+ ext.enabled : 1 -+ -+The Basics -+========== -+ -+Userspace can implement an arbitrary BPF scheduler by loading a set of BPF -+programs that implement ``struct sched_ext_ops``. The only mandatory field -+is ``ops.name`` which must be a valid BPF object name. All operations are -+optional. The following modified excerpt is from -+``tools/sched_ext/scx_simple.bpf.c`` showing a minimal global FIFO scheduler. -+ -+.. code-block:: c -+ -+ /* -+ * Decide which CPU a task should be migrated to before being -+ * enqueued (either at wakeup, fork time, or exec time). If an -+ * idle core is found by the default ops.select_cpu() implementation, -+ * then dispatch the task directly to SCX_DSQ_LOCAL and skip the -+ * ops.enqueue() callback. -+ * -+ * Note that this implementation has exactly the same behavior as the -+ * default ops.select_cpu implementation. The behavior of the scheduler -+ * would be exactly same if the implementation just didn't define the -+ * simple_select_cpu() struct_ops prog. -+ */ -+ s32 BPF_STRUCT_OPS(simple_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+ { -+ s32 cpu; -+ /* Need to initialize or the BPF verifier will reject the program */ -+ bool direct = false; -+ -+ cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &direct); -+ -+ if (direct) -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); -+ -+ return cpu; -+ } -+ -+ /* -+ * Do a direct dispatch of a task to the global DSQ. This ops.enqueue() -+ * callback will only be invoked if we failed to find a core to dispatch -+ * to in ops.select_cpu() above. -+ * -+ * Note that this implementation has exactly the same behavior as the -+ * default ops.enqueue implementation, which just dispatches the task -+ * to SCX_DSQ_GLOBAL. The behavior of the scheduler would be exactly same -+ * if the implementation just didn't define the simple_enqueue struct_ops -+ * prog. -+ */ -+ void BPF_STRUCT_OPS(simple_enqueue, struct task_struct *p, u64 enq_flags) -+ { -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); -+ } ++++ b/include/linux/sched/bore.h +@@ -0,0 +1,37 @@ + -+ s32 BPF_STRUCT_OPS_SLEEPABLE(simple_init) -+ { -+ /* -+ * By default, all SCHED_EXT, SCHED_OTHER, SCHED_IDLE, and -+ * SCHED_BATCH tasks should use sched_ext. -+ */ -+ return 0; -+ } ++#include ++#include + -+ void BPF_STRUCT_OPS(simple_exit, struct scx_exit_info *ei) -+ { -+ exit_type = ei->type; -+ } ++#ifndef _LINUX_SCHED_BORE_H ++#define _LINUX_SCHED_BORE_H + -+ SEC(".struct_ops") -+ struct sched_ext_ops simple_ops = { -+ .select_cpu = (void *)simple_select_cpu, -+ .enqueue = (void *)simple_enqueue, -+ .init = (void *)simple_init, -+ .exit = (void *)simple_exit, -+ .name = "simple", -+ }; -+ -+Dispatch Queues -+--------------- -+ -+To match the impedance between the scheduler core and the BPF scheduler, -+sched_ext uses DSQs (dispatch queues) which can operate as both a FIFO and a -+priority queue. By default, there is one global FIFO (``SCX_DSQ_GLOBAL``), -+and one local dsq per CPU (``SCX_DSQ_LOCAL``). The BPF scheduler can manage -+an arbitrary number of dsq's using ``scx_bpf_create_dsq()`` and -+``scx_bpf_destroy_dsq()``. -+ -+A CPU always executes a task from its local DSQ. A task is "dispatched" to a -+DSQ. A non-local DSQ is "consumed" to transfer a task to the consuming CPU's -+local DSQ. -+ -+When a CPU is looking for the next task to run, if the local DSQ is not -+empty, the first task is picked. Otherwise, the CPU tries to consume the -+global DSQ. If that doesn't yield a runnable task either, ``ops.dispatch()`` -+is invoked. ++#ifdef CONFIG_SCHED_BORE ++extern u8 __read_mostly sched_bore; ++extern u8 __read_mostly sched_burst_exclude_kthreads; ++extern u8 __read_mostly sched_burst_smoothness_long; ++extern u8 __read_mostly sched_burst_smoothness_short; ++extern u8 __read_mostly sched_burst_fork_atavistic; ++extern u8 __read_mostly sched_burst_parity_threshold; ++extern u8 __read_mostly sched_burst_penalty_offset; ++extern uint __read_mostly sched_burst_penalty_scale; ++extern uint __read_mostly sched_burst_cache_lifetime; ++extern uint __read_mostly sched_deadline_boost_mask; + -+Scheduling Cycle -+---------------- ++extern void update_burst_score(struct sched_entity *se); ++extern void update_burst_penalty(struct sched_entity *se); + -+The following briefly shows how a waking task is scheduled and executed. ++extern void restart_burst(struct sched_entity *se); ++extern void restart_burst_rescale_deadline(struct sched_entity *se); + -+1. When a task is waking up, ``ops.select_cpu()`` is the first operation -+ invoked. This serves two purposes. First, CPU selection optimization -+ hint. Second, waking up the selected CPU if idle. ++extern int sched_bore_update_handler(const struct ctl_table *table, int write, ++ void __user *buffer, size_t *lenp, loff_t *ppos); + -+ The CPU selected by ``ops.select_cpu()`` is an optimization hint and not -+ binding. The actual decision is made at the last step of scheduling. -+ However, there is a small performance gain if the CPU -+ ``ops.select_cpu()`` returns matches the CPU the task eventually runs on. ++extern void sched_clone_bore( ++ struct task_struct *p, struct task_struct *parent, u64 clone_flags); + -+ A side-effect of selecting a CPU is waking it up from idle. While a BPF -+ scheduler can wake up any cpu using the ``scx_bpf_kick_cpu()`` helper, -+ using ``ops.select_cpu()`` judiciously can be simpler and more efficient. -+ -+ A task can be immediately dispatched to a DSQ from ``ops.select_cpu()`` by -+ calling ``scx_bpf_dispatch()``. If the task is dispatched to -+ ``SCX_DSQ_LOCAL`` from ``ops.select_cpu()``, it will be dispatched to the -+ local DSQ of whichever CPU is returned from ``ops.select_cpu()``. -+ Additionally, dispatching directly from ``ops.select_cpu()`` will cause the -+ ``ops.enqueue()`` callback to be skipped. -+ -+ Note that the scheduler core will ignore an invalid CPU selection, for -+ example, if it's outside the allowed cpumask of the task. -+ -+2. Once the target CPU is selected, ``ops.enqueue()`` is invoked (unless the -+ task was dispatched directly from ``ops.select_cpu()``). ``ops.enqueue()`` -+ can make one of the following decisions: -+ -+ * Immediately dispatch the task to either the global or local DSQ by -+ calling ``scx_bpf_dispatch()`` with ``SCX_DSQ_GLOBAL`` or -+ ``SCX_DSQ_LOCAL``, respectively. -+ -+ * Immediately dispatch the task to a custom DSQ by calling -+ ``scx_bpf_dispatch()`` with a DSQ ID which is smaller than 2^63. -+ -+ * Queue the task on the BPF side. -+ -+3. When a CPU is ready to schedule, it first looks at its local DSQ. If -+ empty, it then looks at the global DSQ. If there still isn't a task to -+ run, ``ops.dispatch()`` is invoked which can use the following two -+ functions to populate the local DSQ. -+ -+ * ``scx_bpf_dispatch()`` dispatches a task to a DSQ. Any target DSQ can -+ be used - ``SCX_DSQ_LOCAL``, ``SCX_DSQ_LOCAL_ON | cpu``, -+ ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dispatch()`` -+ currently can't be called with BPF locks held, this is being worked on -+ and will be supported. ``scx_bpf_dispatch()`` schedules dispatching -+ rather than performing them immediately. There can be up to -+ ``ops.dispatch_max_batch`` pending tasks. -+ -+ * ``scx_bpf_consume()`` tranfers a task from the specified non-local DSQ -+ to the dispatching DSQ. This function cannot be called with any BPF -+ locks held. ``scx_bpf_consume()`` flushes the pending dispatched tasks -+ before trying to consume the specified DSQ. -+ -+4. After ``ops.dispatch()`` returns, if there are tasks in the local DSQ, -+ the CPU runs the first one. If empty, the following steps are taken: -+ -+ * Try to consume the global DSQ. If successful, run the task. -+ -+ * If ``ops.dispatch()`` has dispatched any tasks, retry #3. -+ -+ * If the previous task is an SCX task and still runnable, keep executing -+ it (see ``SCX_OPS_ENQ_LAST``). -+ -+ * Go idle. -+ -+Note that the BPF scheduler can always choose to dispatch tasks immediately -+in ``ops.enqueue()`` as illustrated in the above simple example. If only the -+built-in DSQs are used, there is no need to implement ``ops.dispatch()`` as -+a task is never queued on the BPF scheduler and both the local and global -+DSQs are consumed automatically. -+ -+``scx_bpf_dispatch()`` queues the task on the FIFO of the target DSQ. Use -+``scx_bpf_dispatch_vtime()`` for the priority queue. Internal DSQs such as -+``SCX_DSQ_LOCAL`` and ``SCX_DSQ_GLOBAL`` do not support priority-queue -+dispatching, and must be dispatched to with ``scx_bpf_dispatch()``. See the -+function documentation and usage in ``tools/sched_ext/scx_simple.bpf.c`` for -+more information. -+ -+Where to Look -+============= -+ -+* ``include/linux/sched/ext.h`` defines the core data structures, ops table -+ and constants. ++extern void init_task_bore(struct task_struct *p); + -+* ``kernel/sched/ext.c`` contains sched_ext core implementation and helpers. -+ The functions prefixed with ``scx_bpf_`` can be called from the BPF -+ scheduler. ++extern void reweight_entity( ++ struct cfs_rq *cfs_rq, struct sched_entity *se, unsigned long weight); ++#endif // CONFIG_SCHED_BORE ++#endif // _LINUX_SCHED_BORE_H +diff --git a/init/Kconfig b/init/Kconfig +index 7256fa127530..6bd6c8cab18b 100644 +--- a/init/Kconfig ++++ b/init/Kconfig +@@ -1341,6 +1341,23 @@ config CHECKPOINT_RESTORE + + If unsure, say N here. + ++config SCHED_BORE ++ bool "Burst-Oriented Response Enhancer" ++ default y ++ help ++ In Desktop and Mobile computing, one might prefer interactive ++ tasks to keep responsive no matter what they run in the background. + -+* ``tools/sched_ext/`` hosts example BPF scheduler implementations. -+ -+ * ``scx_simple[.bpf].c``: Minimal global FIFO scheduler example using a -+ custom DSQ. ++ Enabling this kernel feature modifies the scheduler to discriminate ++ tasks by their burst time (runtime since it last went sleeping or ++ yielding state) and prioritize those that run less bursty. ++ Such tasks usually include window compositor, widgets backend, ++ terminal emulator, video playback, games and so on. ++ With a little impact to scheduling fairness, it may improve ++ responsiveness especially under heavy background workload. + -+ * ``scx_qmap[.bpf].c``: A multi-level FIFO scheduler supporting five -+ levels of priority implemented with ``BPF_MAP_TYPE_QUEUE``. ++ If unsure, say Y here. + -+ABI Instability -+=============== -+ -+The APIs provided by sched_ext to BPF schedulers programs have no stability -+guarantees. This includes the ops table callbacks and constants defined in -+``include/linux/sched/ext.h``, as well as the ``scx_bpf_`` kfuncs defined in -+``kernel/sched/ext.c``. -+ -+While we will attempt to provide a relatively stable API surface when -+possible, they are subject to change without warning between kernel -+versions. -diff --git a/MAINTAINERS b/MAINTAINERS -index cc40a9d9b8cd..c6708612e199 100644 ---- a/MAINTAINERS -+++ b/MAINTAINERS -@@ -20338,6 +20338,19 @@ F: include/linux/wait.h - F: include/uapi/linux/sched.h - F: kernel/sched/ - -+SCHEDULER - SCHED_EXT -+R: Tejun Heo -+R: David Vernet -+L: linux-kernel@vger.kernel.org -+S: Maintained -+W: https://github.com/sched-ext/scx -+T: git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git -+F: include/linux/sched/ext.h -+F: kernel/sched/ext.h -+F: kernel/sched/ext.c -+F: tools/sched_ext/ -+F: tools/testing/selftests/sched_ext -+ - SCIOSENSE ENS160 MULTI-GAS SENSOR DRIVER - M: Gustavo Silva - S: Maintained -diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c -index 14f8f00fdcf9..930b04e3d148 100644 ---- a/drivers/tty/sysrq.c -+++ b/drivers/tty/sysrq.c -@@ -531,6 +531,7 @@ static const struct sysrq_key_op *sysrq_key_table[62] = { - NULL, /* P */ - NULL, /* Q */ - &sysrq_replay_logs_op, /* R */ -+ /* S: May be registered by sched_ext for resetting */ - NULL, /* S */ - NULL, /* T */ - NULL, /* U */ -diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h -index 1ae44793132a..19ec49a9179b 100644 ---- a/include/asm-generic/vmlinux.lds.h -+++ b/include/asm-generic/vmlinux.lds.h -@@ -133,6 +133,7 @@ - *(__dl_sched_class) \ - *(__rt_sched_class) \ - *(__fair_sched_class) \ -+ *(__ext_sched_class) \ - *(__idle_sched_class) \ - __sched_class_lowest = .; - -diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h -index c60ba0ab1462..7139b33cb104 100644 ---- a/include/linux/cgroup.h -+++ b/include/linux/cgroup.h -@@ -28,8 +28,6 @@ - - struct kernel_clone_args; - --#ifdef CONFIG_CGROUPS -- - /* - * All weight knobs on the default hierarchy should use the following min, - * default and max values. The default value is the logarithmic center of -@@ -39,6 +37,8 @@ struct kernel_clone_args; - #define CGROUP_WEIGHT_DFL 100 - #define CGROUP_WEIGHT_MAX 10000 + config SCHED_AUTOGROUP + bool "Automatic process group scheduling" + select CGROUPS +diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz +index 38ef6d06888e..253c566b5946 100644 +--- a/kernel/Kconfig.hz ++++ b/kernel/Kconfig.hz +@@ -55,5 +55,22 @@ config HZ + default 300 if HZ_300 + default 1000 if HZ_1000 -+#ifdef CONFIG_CGROUPS ++config MIN_BASE_SLICE_NS ++ int "Default value for min_base_slice_ns" ++ default 2000000 ++ help ++ The BORE Scheduler automatically calculates the optimal base ++ slice for the configured HZ using the following equation: ++ ++ base_slice_ns = ++ 1000000000/HZ * DIV_ROUNDUP(min_base_slice_ns, 1000000000/HZ) ++ ++ This option sets the default lower bound limit of the base slice ++ to prevent the loss of task throughput due to overscheduling. ++ ++ Setting this value too high can cause the system to boot with ++ an unnecessarily large base slice, resulting in high scheduling ++ latency and poor system responsiveness. + - enum { - CSS_TASK_ITER_PROCS = (1U << 0), /* walk only threadgroup leaders */ - CSS_TASK_ITER_THREADED = (1U << 1), /* walk all threaded css_sets in the domain */ -diff --git a/include/linux/sched.h b/include/linux/sched.h -index 1c771ea4481d..c5a7901b2580 100644 ---- a/include/linux/sched.h -+++ b/include/linux/sched.h -@@ -82,6 +82,8 @@ struct task_group; - struct task_struct; - struct user_event_mm; + config SCHED_HRTICK + def_bool HIGH_RES_TIMERS +diff --git a/kernel/fork.c b/kernel/fork.c +index ce8be55e5e04..fa1dab6e7dec 100644 +--- a/kernel/fork.c ++++ b/kernel/fork.c +@@ -113,6 +113,8 @@ + #include + #include -+#include ++#include + - /* - * Task state bitmask. NOTE! These bits are also - * encoded in fs/proc/array.c: get_task_state(). -@@ -812,6 +814,9 @@ struct task_struct { - struct sched_rt_entity rt; - struct sched_dl_entity dl; - struct sched_dl_entity *dl_server; -+#ifdef CONFIG_SCHED_CLASS_EXT -+ struct sched_ext_entity scx; -+#endif - const struct sched_class *sched_class; + #include + + #define CREATE_TRACE_POINTS +@@ -2364,6 +2366,9 @@ __latent_entropy struct task_struct *copy_process( + retval = sched_fork(clone_flags, p); + if (retval) + goto bad_fork_cleanup_policy; ++#ifdef CONFIG_SCHED_BORE ++ sched_clone_bore(p, current, clone_flags); ++#endif // CONFIG_SCHED_BORE - #ifdef CONFIG_SCHED_CORE -diff --git a/include/linux/sched/ext.h b/include/linux/sched/ext.h + retval = perf_event_init_task(p, clone_flags); + if (retval) +diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile +index 976092b7bd45..293aad675444 100644 +--- a/kernel/sched/Makefile ++++ b/kernel/sched/Makefile +@@ -32,3 +32,4 @@ obj-y += core.o + obj-y += fair.o + obj-y += build_policy.o + obj-y += build_utility.o ++obj-y += bore.o +diff --git a/kernel/sched/bore.c b/kernel/sched/bore.c new file mode 100644 -index 000000000000..76166d3b14fc +index 000000000000..cd7e8a8d6075 --- /dev/null -+++ b/include/linux/sched/ext.h -@@ -0,0 +1,216 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ ++++ b/kernel/sched/bore.c +@@ -0,0 +1,381 @@ +/* -+ * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet ++ * Burst-Oriented Response Enhancer (BORE) CPU Scheduler ++ * Copyright (C) 2021-2024 Masahito Suzuki + */ -+#ifndef _LINUX_SCHED_EXT_H -+#define _LINUX_SCHED_EXT_H -+ -+#ifdef CONFIG_SCHED_CLASS_EXT ++#include ++#include ++#include "sched.h" + -+#include -+#include ++#ifdef CONFIG_SCHED_BORE ++u8 __read_mostly sched_bore = 1; ++u8 __read_mostly sched_burst_exclude_kthreads = 1; ++u8 __read_mostly sched_burst_smoothness_long = 1; ++u8 __read_mostly sched_burst_smoothness_short = 0; ++u8 __read_mostly sched_burst_fork_atavistic = 2; ++u8 __read_mostly sched_burst_parity_threshold = 2; ++u8 __read_mostly sched_burst_penalty_offset = 24; ++uint __read_mostly sched_burst_penalty_scale = 1280; ++uint __read_mostly sched_burst_cache_lifetime = 60000000; ++uint __read_mostly sched_deadline_boost_mask = ENQUEUE_INITIAL ++ | ENQUEUE_WAKEUP; ++static int __maybe_unused sixty_four = 64; ++static int __maybe_unused maxval_u8 = 255; ++static int __maybe_unused maxval_12_bits = 4095; + -+enum scx_public_consts { -+ SCX_OPS_NAME_LEN = 128, ++#define MAX_BURST_PENALTY (39U <<2) + -+ SCX_SLICE_DFL = 20 * 1000000, /* 20ms */ -+ SCX_SLICE_INF = U64_MAX, /* infinite, implies nohz */ -+}; ++static inline u32 log2plus1_u64_u32f8(u64 v) { ++ u32 integral = fls64(v); ++ u8 fractional = v << (64 - integral) >> 55; ++ return integral << 8 | fractional; ++} + -+/* -+ * DSQ (dispatch queue) IDs are 64bit of the format: -+ * -+ * Bits: [63] [62 .. 0] -+ * [ B] [ ID ] -+ * -+ * B: 1 for IDs for built-in DSQs, 0 for ops-created user DSQs -+ * ID: 63 bit ID -+ * -+ * Built-in IDs: -+ * -+ * Bits: [63] [62] [61..32] [31 .. 0] -+ * [ 1] [ L] [ R ] [ V ] -+ * -+ * 1: 1 for built-in DSQs. -+ * L: 1 for LOCAL_ON DSQ IDs, 0 for others -+ * V: For LOCAL_ON DSQ IDs, a CPU number. For others, a pre-defined value. -+ */ -+enum scx_dsq_id_flags { -+ SCX_DSQ_FLAG_BUILTIN = 1LLU << 63, -+ SCX_DSQ_FLAG_LOCAL_ON = 1LLU << 62, -+ -+ SCX_DSQ_INVALID = SCX_DSQ_FLAG_BUILTIN | 0, -+ SCX_DSQ_GLOBAL = SCX_DSQ_FLAG_BUILTIN | 1, -+ SCX_DSQ_LOCAL = SCX_DSQ_FLAG_BUILTIN | 2, -+ SCX_DSQ_LOCAL_ON = SCX_DSQ_FLAG_BUILTIN | SCX_DSQ_FLAG_LOCAL_ON, -+ SCX_DSQ_LOCAL_CPU_MASK = 0xffffffffLLU, -+}; ++static inline u32 calc_burst_penalty(u64 burst_time) { ++ u32 greed, tolerance, penalty, scaled_penalty; ++ ++ greed = log2plus1_u64_u32f8(burst_time); ++ tolerance = sched_burst_penalty_offset << 8; ++ penalty = max(0, (s32)(greed - tolerance)); ++ scaled_penalty = penalty * sched_burst_penalty_scale >> 16; + -+/* -+ * A dispatch queue (DSQ) can be either a FIFO or p->scx.dsq_vtime ordered -+ * queue. A built-in DSQ is always a FIFO. The built-in local DSQs are used to -+ * buffer between the scheduler core and the BPF scheduler. See the -+ * documentation for more details. -+ */ -+struct scx_dispatch_q { -+ raw_spinlock_t lock; -+ struct list_head list; /* tasks in dispatch order */ -+ struct rb_root priq; /* used to order by p->scx.dsq_vtime */ -+ u32 nr; -+ u32 seq; /* used by BPF iter */ -+ u64 id; -+ struct rhash_head hash_node; -+ struct llist_node free_node; -+ struct rcu_head rcu; -+}; ++ return min(MAX_BURST_PENALTY, scaled_penalty); ++} + -+/* scx_entity.flags */ -+enum scx_ent_flags { -+ SCX_TASK_QUEUED = 1 << 0, /* on ext runqueue */ -+ SCX_TASK_BAL_KEEP = 1 << 1, /* balance decided to keep current */ -+ SCX_TASK_RESET_RUNNABLE_AT = 1 << 2, /* runnable_at should be reset */ -+ SCX_TASK_DEQD_FOR_SLEEP = 1 << 3, /* last dequeue was for SLEEP */ ++static inline u64 __scale_slice(u64 delta, u8 score) ++{return mul_u64_u32_shr(delta, sched_prio_to_wmult[score], 22);} + -+ SCX_TASK_STATE_SHIFT = 8, /* bit 8 and 9 are used to carry scx_task_state */ -+ SCX_TASK_STATE_BITS = 2, -+ SCX_TASK_STATE_MASK = ((1 << SCX_TASK_STATE_BITS) - 1) << SCX_TASK_STATE_SHIFT, ++static inline u64 __unscale_slice(u64 delta, u8 score) ++{return mul_u64_u32_shr(delta, sched_prio_to_weight[score], 10);} + -+ SCX_TASK_CURSOR = 1 << 31, /* iteration cursor, not a task */ -+}; ++static void reweight_task_by_prio(struct task_struct *p, int prio) { ++ struct sched_entity *se = &p->se; ++ unsigned long weight = scale_load(sched_prio_to_weight[prio]); + -+/* scx_entity.flags & SCX_TASK_STATE_MASK */ -+enum scx_task_state { -+ SCX_TASK_NONE, /* ops.init_task() not called yet */ -+ SCX_TASK_INIT, /* ops.init_task() succeeded, but task can be cancelled */ -+ SCX_TASK_READY, /* fully initialized, but not in sched_ext */ -+ SCX_TASK_ENABLED, /* fully initialized and in sched_ext */ ++ reweight_entity(cfs_rq_of(se), se, weight); ++ se->load.inv_weight = sched_prio_to_wmult[prio]; ++} + -+ SCX_TASK_NR_STATES, -+}; ++static inline u8 effective_prio(struct task_struct *p) { ++ u8 prio = p->static_prio - MAX_RT_PRIO; ++ if (likely(sched_bore)) ++ prio += p->se.burst_score; ++ return min(39, prio); ++} + -+/* scx_entity.dsq_flags */ -+enum scx_ent_dsq_flags { -+ SCX_TASK_DSQ_ON_PRIQ = 1 << 0, /* task is queued on the priority queue of a dsq */ -+}; ++void update_burst_score(struct sched_entity *se) { ++ if (!entity_is_task(se)) return; ++ struct task_struct *p = task_of(se); ++ u8 prev_prio = effective_prio(p); + -+/* -+ * Mask bits for scx_entity.kf_mask. Not all kfuncs can be called from -+ * everywhere and the following bits track which kfunc sets are currently -+ * allowed for %current. This simple per-task tracking works because SCX ops -+ * nest in a limited way. BPF will likely implement a way to allow and disallow -+ * kfuncs depending on the calling context which will replace this manual -+ * mechanism. See scx_kf_allow(). -+ */ -+enum scx_kf_mask { -+ SCX_KF_UNLOCKED = 0, /* sleepable and not rq locked */ -+ /* ENQUEUE and DISPATCH may be nested inside CPU_RELEASE */ -+ SCX_KF_CPU_RELEASE = 1 << 0, /* ops.cpu_release() */ -+ /* ops.dequeue (in REST) may be nested inside DISPATCH */ -+ SCX_KF_DISPATCH = 1 << 1, /* ops.dispatch() */ -+ SCX_KF_ENQUEUE = 1 << 2, /* ops.enqueue() and ops.select_cpu() */ -+ SCX_KF_SELECT_CPU = 1 << 3, /* ops.select_cpu() */ -+ SCX_KF_REST = 1 << 4, /* other rq-locked operations */ -+ -+ __SCX_KF_RQ_LOCKED = SCX_KF_CPU_RELEASE | SCX_KF_DISPATCH | -+ SCX_KF_ENQUEUE | SCX_KF_SELECT_CPU | SCX_KF_REST, -+ __SCX_KF_TERMINAL = SCX_KF_ENQUEUE | SCX_KF_SELECT_CPU | SCX_KF_REST, -+}; ++ u8 burst_score = 0; ++ if (!((p->flags & PF_KTHREAD) && likely(sched_burst_exclude_kthreads))) ++ burst_score = se->burst_penalty >> 2; ++ se->burst_score = burst_score; + -+enum scx_dsq_lnode_flags { -+ SCX_DSQ_LNODE_ITER_CURSOR = 1 << 0, ++ u8 new_prio = effective_prio(p); ++ if (new_prio != prev_prio) ++ reweight_task_by_prio(p, new_prio); ++} + -+ /* high 16 bits can be for iter cursor flags */ -+ __SCX_DSQ_LNODE_PRIV_SHIFT = 16, -+}; ++void update_burst_penalty(struct sched_entity *se) { ++ se->curr_burst_penalty = calc_burst_penalty(se->burst_time); ++ se->burst_penalty = max(se->prev_burst_penalty, se->curr_burst_penalty); ++ update_burst_score(se); ++} + -+struct scx_dsq_list_node { -+ struct list_head node; -+ u32 flags; -+ u32 priv; /* can be used by iter cursor */ -+}; ++static inline u32 binary_smooth(u32 new, u32 old) { ++ int increment = new - old; ++ return (0 <= increment)? ++ old + ( increment >> (int)sched_burst_smoothness_long): ++ old - (-increment >> (int)sched_burst_smoothness_short); ++} + -+/* -+ * The following is embedded in task_struct and contains all fields necessary -+ * for a task to be scheduled by SCX. -+ */ -+struct sched_ext_entity { -+ struct scx_dispatch_q *dsq; -+ struct scx_dsq_list_node dsq_list; /* dispatch order */ -+ struct rb_node dsq_priq; /* p->scx.dsq_vtime order */ -+ u32 dsq_seq; -+ u32 dsq_flags; /* protected by DSQ lock */ -+ u32 flags; /* protected by rq lock */ -+ u32 weight; -+ s32 sticky_cpu; -+ s32 holding_cpu; -+ u32 kf_mask; /* see scx_kf_mask above */ -+ struct task_struct *kf_tasks[2]; /* see SCX_CALL_OP_TASK() */ -+ atomic_long_t ops_state; -+ -+ struct list_head runnable_node; /* rq->scx.runnable_list */ -+ unsigned long runnable_at; -+ -+#ifdef CONFIG_SCHED_CORE -+ u64 core_sched_at; /* see scx_prio_less() */ -+#endif -+ u64 ddsp_dsq_id; -+ u64 ddsp_enq_flags; ++static void revolve_burst_penalty(struct sched_entity *se) { ++ se->prev_burst_penalty = ++ binary_smooth(se->curr_burst_penalty, se->prev_burst_penalty); ++ se->burst_time = 0; ++ se->curr_burst_penalty = 0; ++} + -+ /* BPF scheduler modifiable fields */ ++inline void restart_burst(struct sched_entity *se) { ++ revolve_burst_penalty(se); ++ se->burst_penalty = se->prev_burst_penalty; ++ update_burst_score(se); ++} + -+ /* -+ * Runtime budget in nsecs. This is usually set through -+ * scx_bpf_dispatch() but can also be modified directly by the BPF -+ * scheduler. Automatically decreased by SCX as the task executes. On -+ * depletion, a scheduling event is triggered. -+ * -+ * This value is cleared to zero if the task is preempted by -+ * %SCX_KICK_PREEMPT and shouldn't be used to determine how long the -+ * task ran. Use p->se.sum_exec_runtime instead. -+ */ -+ u64 slice; ++void restart_burst_rescale_deadline(struct sched_entity *se) { ++ s64 vscaled, wremain, vremain = se->deadline - se->vruntime; ++ struct task_struct *p = task_of(se); ++ u8 prev_prio = effective_prio(p); ++ restart_burst(se); ++ u8 new_prio = effective_prio(p); ++ if (prev_prio > new_prio) { ++ wremain = __unscale_slice(abs(vremain), prev_prio); ++ vscaled = __scale_slice(wremain, new_prio); ++ if (unlikely(vremain < 0)) ++ vscaled = -vscaled; ++ se->deadline = se->vruntime + vscaled; ++ } ++} + -+ /* -+ * Used to order tasks when dispatching to the vtime-ordered priority -+ * queue of a dsq. This is usually set through scx_bpf_dispatch_vtime() -+ * but can also be modified directly by the BPF scheduler. Modifying it -+ * while a task is queued on a dsq may mangle the ordering and is not -+ * recommended. -+ */ -+ u64 dsq_vtime; ++static inline bool task_is_bore_eligible(struct task_struct *p) ++{return p->sched_class == &fair_sched_class;} + -+ /* -+ * If set, reject future sched_setscheduler(2) calls updating the policy -+ * to %SCHED_EXT with -%EACCES. -+ * -+ * Can be set from ops.init_task() while the BPF scheduler is being -+ * loaded (!scx_init_task_args->fork). If set and the task's policy is -+ * already %SCHED_EXT, the task's policy is rejected and forcefully -+ * reverted to %SCHED_NORMAL. The number of such events are reported -+ * through /sys/kernel/debug/sched_ext::nr_rejected. Setting this flag -+ * during fork is not allowed. -+ */ -+ bool disallow; /* reject switching into SCX */ ++static void reset_task_weights_bore(void) { ++ struct task_struct *task; ++ struct rq *rq; ++ struct rq_flags rf; + -+ /* cold fields */ -+#ifdef CONFIG_EXT_GROUP_SCHED -+ struct cgroup *cgrp_moving_from; -+#endif -+ /* must be the last field, see init_scx_entity() */ -+ struct list_head tasks_node; -+}; ++ write_lock_irq(&tasklist_lock); ++ for_each_process(task) { ++ if (!task_is_bore_eligible(task)) continue; ++ rq = task_rq(task); ++ rq_lock_irqsave(rq, &rf); ++ reweight_task_by_prio(task, effective_prio(task)); ++ rq_unlock_irqrestore(rq, &rf); ++ } ++ write_unlock_irq(&tasklist_lock); ++} + -+void sched_ext_free(struct task_struct *p); -+void print_scx_info(const char *log_lvl, struct task_struct *p); ++int sched_bore_update_handler(const struct ctl_table *table, int write, ++ void __user *buffer, size_t *lenp, loff_t *ppos) { ++ int ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); ++ if (ret || !write) ++ return ret; + -+#else /* !CONFIG_SCHED_CLASS_EXT */ ++ reset_task_weights_bore(); + -+static inline void sched_ext_free(struct task_struct *p) {} -+static inline void print_scx_info(const char *log_lvl, struct task_struct *p) {} ++ return 0; ++} + -+#endif /* CONFIG_SCHED_CLASS_EXT */ -+#endif /* _LINUX_SCHED_EXT_H */ -diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h -index d362aacf9f89..0f2aeb37bbb0 100644 ---- a/include/linux/sched/task.h -+++ b/include/linux/sched/task.h -@@ -63,7 +63,8 @@ extern asmlinkage void schedule_tail(struct task_struct *prev); - extern void init_idle(struct task_struct *idle, int cpu); - - extern int sched_fork(unsigned long clone_flags, struct task_struct *p); --extern void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); -+extern int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); -+extern void sched_cancel_fork(struct task_struct *p); - extern void sched_post_fork(struct task_struct *p); - extern void sched_dead(struct task_struct *p); - -@@ -119,6 +120,11 @@ static inline struct task_struct *get_task_struct(struct task_struct *t) - return t; - } - -+static inline struct task_struct *tryget_task_struct(struct task_struct *t) -+{ -+ return refcount_inc_not_zero(&t->usage) ? t : NULL; ++static u32 count_child_tasks(struct task_struct *p) { ++ struct task_struct *child; ++ u32 cnt = 0; ++ list_for_each_entry(child, &p->children, sibling) {cnt++;} ++ return cnt; +} + - extern void __put_task_struct(struct task_struct *t); - extern void __put_task_struct_rcu_cb(struct rcu_head *rhp); - -diff --git a/include/trace/events/sched_ext.h b/include/trace/events/sched_ext.h -new file mode 100644 -index 000000000000..fe19da7315a9 ---- /dev/null -+++ b/include/trace/events/sched_ext.h -@@ -0,0 +1,32 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+#undef TRACE_SYSTEM -+#define TRACE_SYSTEM sched_ext ++static inline bool burst_cache_expired(struct sched_burst_cache *bc, u64 now) ++{return (s64)(bc->timestamp + sched_burst_cache_lifetime - now) < 0;} + -+#if !defined(_TRACE_SCHED_EXT_H) || defined(TRACE_HEADER_MULTI_READ) -+#define _TRACE_SCHED_EXT_H ++static void update_burst_cache(struct sched_burst_cache *bc, ++ struct task_struct *p, u32 cnt, u32 sum, u64 now) { ++ u8 avg = cnt ? sum / cnt : 0; ++ bc->score = max(avg, p->se.burst_penalty); ++ bc->count = cnt; ++ bc->timestamp = now; ++} + -+#include ++static inline void update_child_burst_direct(struct task_struct *p, u64 now) { ++ u32 cnt = 0, sum = 0; ++ struct task_struct *child; + -+TRACE_EVENT(sched_ext_dump, ++ list_for_each_entry(child, &p->children, sibling) { ++ if (!task_is_bore_eligible(child)) continue; ++ cnt++; ++ sum += child->se.burst_penalty; ++ } + -+ TP_PROTO(const char *line), ++ update_burst_cache(&p->se.child_burst, p, cnt, sum, now); ++} + -+ TP_ARGS(line), ++static inline u8 inherit_burst_direct(struct task_struct *p, u64 now) { ++ struct task_struct *parent = p; ++ if (burst_cache_expired(&parent->se.child_burst, now)) ++ update_child_burst_direct(parent, now); + -+ TP_STRUCT__entry( -+ __string(line, line) -+ ), ++ return parent->se.child_burst.score; ++} + -+ TP_fast_assign( -+ __assign_str(line); -+ ), ++static void update_child_burst_topological( ++ struct task_struct *p, u64 now, u32 depth, u32 *acnt, u32 *asum) { ++ u32 cnt = 0, dcnt = 0, sum = 0; ++ struct task_struct *child, *dec; + -+ TP_printk("%s", -+ __get_str(line) -+ ) -+); -+ -+#endif /* _TRACE_SCHED_EXT_H */ -+ -+/* This part must be outside protection */ -+#include -diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h -index 3bac0a8ceab2..359a14cc76a4 100644 ---- a/include/uapi/linux/sched.h -+++ b/include/uapi/linux/sched.h -@@ -118,6 +118,7 @@ struct clone_args { - /* SCHED_ISO: reserved but not implemented yet */ - #define SCHED_IDLE 5 - #define SCHED_DEADLINE 6 -+#define SCHED_EXT 7 - - /* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */ - #define SCHED_RESET_ON_FORK 0x40000000 -diff --git a/init/Kconfig b/init/Kconfig -index 5783a0b87517..34cfb0d41b26 100644 ---- a/init/Kconfig -+++ b/init/Kconfig -@@ -1024,9 +1024,13 @@ menuconfig CGROUP_SCHED - tasks. - - if CGROUP_SCHED -+config GROUP_SCHED_WEIGHT -+ def_bool n -+ - config FAIR_GROUP_SCHED - bool "Group scheduling for SCHED_OTHER" - depends on CGROUP_SCHED -+ select GROUP_SCHED_WEIGHT - default CGROUP_SCHED - - config CFS_BANDWIDTH -@@ -1051,6 +1055,12 @@ config RT_GROUP_SCHED - realtime bandwidth for them. - See Documentation/scheduler/sched-rt-group.rst for more information. - -+config EXT_GROUP_SCHED -+ bool -+ depends on SCHED_CLASS_EXT && CGROUP_SCHED -+ select GROUP_SCHED_WEIGHT -+ default y -+ - endif #CGROUP_SCHED - - config SCHED_MM_CID -diff --git a/init/init_task.c b/init/init_task.c -index eeb110c65fe2..e222722e790b 100644 ---- a/init/init_task.c -+++ b/init/init_task.c -@@ -6,6 +6,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -98,6 +99,17 @@ struct task_struct init_task __aligned(L1_CACHE_BYTES) = { - #endif - #ifdef CONFIG_CGROUP_SCHED - .sched_task_group = &root_task_group, -+#endif -+#ifdef CONFIG_SCHED_CLASS_EXT -+ .scx = { -+ .dsq_list.node = LIST_HEAD_INIT(init_task.scx.dsq_list.node), -+ .sticky_cpu = -1, -+ .holding_cpu = -1, -+ .runnable_node = LIST_HEAD_INIT(init_task.scx.runnable_node), -+ .runnable_at = INITIAL_JIFFIES, -+ .ddsp_dsq_id = SCX_DSQ_INVALID, -+ .slice = SCX_SLICE_DFL, -+ }, - #endif - .ptraced = LIST_HEAD_INIT(init_task.ptraced), - .ptrace_entry = LIST_HEAD_INIT(init_task.ptrace_entry), -diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt -index c2f1fd95a821..fe782cd77388 100644 ---- a/kernel/Kconfig.preempt -+++ b/kernel/Kconfig.preempt -@@ -133,4 +133,29 @@ config SCHED_CORE - which is the likely usage by Linux distributions, there should - be no measurable impact on performance. - -- -+config SCHED_CLASS_EXT -+ bool "Extensible Scheduling Class" -+ depends on BPF_SYSCALL && BPF_JIT && DEBUG_INFO_BTF -+ select STACKTRACE if STACKTRACE_SUPPORT -+ help -+ This option enables a new scheduler class sched_ext (SCX), which -+ allows scheduling policies to be implemented as BPF programs to -+ achieve the following: -+ -+ - Ease of experimentation and exploration: Enabling rapid -+ iteration of new scheduling policies. -+ - Customization: Building application-specific schedulers which -+ implement policies that are not applicable to general-purpose -+ schedulers. -+ - Rapid scheduler deployments: Non-disruptive swap outs of -+ scheduling policies in production environments. -+ -+ sched_ext leverages BPF struct_ops feature to define a structure -+ which exports function callbacks and flags to BPF programs that -+ wish to implement scheduling policies. The struct_ops structure -+ exported by sched_ext is struct sched_ext_ops, and is conceptually -+ similar to struct sched_class. -+ -+ For more information: -+ Documentation/scheduler/sched-ext.rst -+ https://github.com/sched-ext/scx -diff --git a/kernel/fork.c b/kernel/fork.c -index dc08a2374733..2c41c91a6495 100644 ---- a/kernel/fork.c -+++ b/kernel/fork.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -970,6 +971,7 @@ void __put_task_struct(struct task_struct *tsk) - WARN_ON(refcount_read(&tsk->usage)); - WARN_ON(tsk == current); - -+ sched_ext_free(tsk); - io_uring_free(tsk); - cgroup_free(tsk); - task_numa_free(tsk, true); -@@ -2346,7 +2348,7 @@ __latent_entropy struct task_struct *copy_process( - - retval = perf_event_init_task(p, clone_flags); - if (retval) -- goto bad_fork_cleanup_policy; -+ goto bad_fork_sched_cancel_fork; - retval = audit_alloc(p); - if (retval) - goto bad_fork_cleanup_perf; -@@ -2479,7 +2481,9 @@ __latent_entropy struct task_struct *copy_process( - * cgroup specific, it unconditionally needs to place the task on a - * runqueue. - */ -- sched_cgroup_fork(p, args); -+ retval = sched_cgroup_fork(p, args); -+ if (retval) -+ goto bad_fork_cancel_cgroup; - - /* - * From this point on we must avoid any synchronous user-space -@@ -2525,13 +2529,13 @@ __latent_entropy struct task_struct *copy_process( - /* Don't start children in a dying pid namespace */ - if (unlikely(!(ns_of_pid(pid)->pid_allocated & PIDNS_ADDING))) { - retval = -ENOMEM; -- goto bad_fork_cancel_cgroup; -+ goto bad_fork_core_free; - } - - /* Let kill terminate clone/fork in the middle */ - if (fatal_signal_pending(current)) { - retval = -EINTR; -- goto bad_fork_cancel_cgroup; -+ goto bad_fork_core_free; - } - - /* No more failure paths after this point. */ -@@ -2605,10 +2609,11 @@ __latent_entropy struct task_struct *copy_process( - - return p; - --bad_fork_cancel_cgroup: -+bad_fork_core_free: - sched_core_free(p); - spin_unlock(¤t->sighand->siglock); - write_unlock_irq(&tasklist_lock); -+bad_fork_cancel_cgroup: - cgroup_cancel_fork(p, args); - bad_fork_put_pidfd: - if (clone_flags & CLONE_PIDFD) { -@@ -2647,6 +2652,8 @@ __latent_entropy struct task_struct *copy_process( - audit_free(p); - bad_fork_cleanup_perf: - perf_event_free_task(p); -+bad_fork_sched_cancel_fork: -+ sched_cancel_fork(p); - bad_fork_cleanup_policy: - lockdep_free_task(p); - #ifdef CONFIG_NUMA -diff --git a/kernel/sched/build_policy.c b/kernel/sched/build_policy.c -index 39c315182b35..fae1f5c921eb 100644 ---- a/kernel/sched/build_policy.c -+++ b/kernel/sched/build_policy.c -@@ -16,18 +16,25 @@ - #include - #include - #include -+#include - #include - #include - - #include - #include -+#include - #include -+#include - #include -+#include -+#include - #include - #include - #include - #include - #include -+#include -+#include - - #include - -@@ -52,4 +59,8 @@ - #include "cputime.c" - #include "deadline.c" - -+#ifdef CONFIG_SCHED_CLASS_EXT -+# include "ext.c" -+#endif -+ - #include "syscalls.c" -diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 3713341c2e72..0ec92f0023c4 100644 ---- a/kernel/sched/core.c -+++ b/kernel/sched/core.c -@@ -169,7 +169,10 @@ static inline int __task_prio(const struct task_struct *p) - if (p->sched_class == &idle_sched_class) - return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ - -- return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ -+ if (task_on_scx(p)) -+ return MAX_RT_PRIO + MAX_NICE + 1; /* 120, squash ext */ -+ -+ return MAX_RT_PRIO + MAX_NICE; /* 119, squash fair */ - } - - /* -@@ -198,6 +201,11 @@ static inline bool prio_less(const struct task_struct *a, - if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ - return cfs_prio_less(a, b, in_fi); - -+#ifdef CONFIG_SCHED_CLASS_EXT -+ if (pa == MAX_RT_PRIO + MAX_NICE + 1) /* ext */ -+ return scx_prio_less(a, b, in_fi); -+#endif -+ - return false; - } - -@@ -1255,11 +1263,14 @@ bool sched_can_stop_tick(struct rq *rq) - return true; - - /* -- * If there are no DL,RR/FIFO tasks, there must only be CFS tasks left; -- * if there's more than one we need the tick for involuntary -- * preemption. -+ * If there are no DL,RR/FIFO tasks, there must only be CFS or SCX tasks -+ * left. For CFS, if there's more than one we need the tick for -+ * involuntary preemption. For SCX, ask. - */ -- if (rq->nr_running > 1) -+ if (scx_enabled() && !scx_can_stop_tick(rq)) -+ return false; -+ -+ if (rq->cfs.nr_running > 1) - return false; - - /* -@@ -1341,8 +1352,8 @@ void set_load_weight(struct task_struct *p, bool update_load) - * SCHED_OTHER tasks have to update their load when changing their - * weight - */ -- if (update_load && p->sched_class == &fair_sched_class) -- reweight_task(p, &lw); -+ if (update_load && p->sched_class->reweight_task) -+ p->sched_class->reweight_task(task_rq(p), p, &lw); - else - p->se.load = lw; - } -@@ -2031,6 +2042,17 @@ inline int task_curr(const struct task_struct *p) - return cpu_curr(task_cpu(p)) == p; - } - -+/* -+ * ->switching_to() is called with the pi_lock and rq_lock held and must not -+ * mess with locking. -+ */ -+void check_class_changing(struct rq *rq, struct task_struct *p, -+ const struct sched_class *prev_class) -+{ -+ if (prev_class != p->sched_class && p->sched_class->switching_to) -+ p->sched_class->switching_to(rq, p); -+} -+ - /* - * switched_from, switched_to and prio_changed must _NOT_ drop rq->lock, - * use the balance_callback list if you want balancing. -@@ -2289,7 +2311,7 @@ static inline bool rq_has_pinned_tasks(struct rq *rq) - static inline bool is_cpu_allowed(struct task_struct *p, int cpu) - { - /* When not in the task's cpumask, no point in looking further. */ -- if (!cpumask_test_cpu(cpu, p->cpus_ptr)) -+ if (!task_allowed_on_cpu(p, cpu)) - return false; - - /* migrate_disabled() must be allowed to finish. */ -@@ -2298,7 +2320,7 @@ static inline bool is_cpu_allowed(struct task_struct *p, int cpu) - - /* Non kernel threads are not allowed during either online or offline. */ - if (!(p->flags & PF_KTHREAD)) -- return cpu_active(cpu) && task_cpu_possible(cpu, p); -+ return cpu_active(cpu); - - /* KTHREAD_IS_PER_CPU is always allowed. */ - if (kthread_is_per_cpu(p)) -@@ -3775,6 +3797,15 @@ bool cpus_share_resources(int this_cpu, int that_cpu) - - static inline bool ttwu_queue_cond(struct task_struct *p, int cpu) - { -+ /* -+ * The BPF scheduler may depend on select_task_rq() being invoked during -+ * wakeups. In addition, @p may end up executing on a different CPU -+ * regardless of what happens in the wakeup path making the ttwu_queue -+ * optimization less meaningful. Skip if on SCX. -+ */ -+ if (task_on_scx(p)) -+ return false; -+ - /* - * Do not complicate things with the async wake_list while the CPU is - * in hotplug state. -@@ -4342,6 +4373,10 @@ static void __sched_fork(unsigned long clone_flags, struct task_struct *p) - p->rt.on_rq = 0; - p->rt.on_list = 0; - -+#ifdef CONFIG_SCHED_CLASS_EXT -+ init_scx_entity(&p->scx); -+#endif -+ - #ifdef CONFIG_PREEMPT_NOTIFIERS - INIT_HLIST_HEAD(&p->preempt_notifiers); - #endif -@@ -4582,10 +4617,18 @@ int sched_fork(unsigned long clone_flags, struct task_struct *p) - - if (dl_prio(p->prio)) - return -EAGAIN; -- else if (rt_prio(p->prio)) -+ -+ scx_pre_fork(p); -+ -+ if (rt_prio(p->prio)) { - p->sched_class = &rt_sched_class; -- else -+#ifdef CONFIG_SCHED_CLASS_EXT -+ } else if (task_should_scx(p)) { -+ p->sched_class = &ext_sched_class; -+#endif -+ } else { - p->sched_class = &fair_sched_class; -+ } - - init_entity_runnable_average(&p->se); - -@@ -4605,7 +4648,7 @@ int sched_fork(unsigned long clone_flags, struct task_struct *p) - return 0; - } - --void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) -+int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) - { - unsigned long flags; - -@@ -4632,11 +4675,19 @@ void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) - if (p->sched_class->task_fork) - p->sched_class->task_fork(p); - raw_spin_unlock_irqrestore(&p->pi_lock, flags); -+ -+ return scx_fork(p); -+} -+ -+void sched_cancel_fork(struct task_struct *p) -+{ -+ scx_cancel_fork(p); - } - - void sched_post_fork(struct task_struct *p) - { - uclamp_post_fork(p); -+ scx_post_fork(p); - } - - unsigned long to_ratio(u64 period, u64 runtime) -@@ -5469,6 +5520,7 @@ void sched_tick(void) - calc_global_load_tick(rq); - sched_core_tick(rq); - task_tick_mm_cid(rq, curr); -+ scx_tick(rq); - - rq_unlock(rq, &rf); - -@@ -5481,8 +5533,10 @@ void sched_tick(void) - wq_worker_tick(curr); - - #ifdef CONFIG_SMP -- rq->idle_balance = idle_cpu(cpu); -- sched_balance_trigger(rq); -+ if (!scx_switched_all()) { -+ rq->idle_balance = idle_cpu(cpu); -+ sched_balance_trigger(rq); -+ } - #endif - } - -@@ -5772,8 +5826,19 @@ static inline void schedule_debug(struct task_struct *prev, bool preempt) - static void put_prev_task_balance(struct rq *rq, struct task_struct *prev, - struct rq_flags *rf) - { --#ifdef CONFIG_SMP -+ const struct sched_class *start_class = prev->sched_class; - const struct sched_class *class; -+ -+#ifdef CONFIG_SCHED_CLASS_EXT -+ /* -+ * SCX requires a balance() call before every pick_next_task() including -+ * when waking up from SCHED_IDLE. If @start_class is below SCX, start -+ * from SCX instead. -+ */ -+ if (scx_enabled() && sched_class_above(&ext_sched_class, start_class)) -+ start_class = &ext_sched_class; -+#endif -+ - /* - * We must do the balancing pass before put_prev_task(), such - * that when we release the rq->lock the task is in the same -@@ -5782,11 +5847,10 @@ static void put_prev_task_balance(struct rq *rq, struct task_struct *prev, - * We can terminate the balance pass as soon as we know there is - * a runnable task of @class priority or higher. - */ -- for_class_range(class, prev->sched_class, &idle_sched_class) { -- if (class->balance(rq, prev, rf)) -+ for_active_class_range(class, start_class, &idle_sched_class) { -+ if (class->balance && class->balance(rq, prev, rf)) - break; - } --#endif - - put_prev_task(rq, prev); - -@@ -5808,6 +5872,9 @@ __pick_next_task(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) - const struct sched_class *class; - struct task_struct *p; - -+ if (scx_enabled()) -+ goto restart; -+ - /* - * Optimization: we know that if all tasks are in the fair class we can - * call that function directly, but only if the @prev task wasn't of a -@@ -5847,10 +5914,23 @@ __pick_next_task(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) - restart: - put_prev_task_balance(rq, prev, rf); - -- for_each_class(class) { -+ /* -+ * We've updated @prev and no longer need the server link, clear it. -+ * Must be done before ->pick_next_task() because that can (re)set -+ * ->dl_server. -+ */ -+ if (prev->dl_server) -+ prev->dl_server = NULL; -+ -+ for_each_active_class(class) { - p = class->pick_next_task(rq); -- if (p) -+ if (p) { -+ const struct sched_class *prev_class = prev->sched_class; -+ -+ if (class != prev_class && prev_class->switch_class) -+ prev_class->switch_class(rq, p); - return p; -+ } - } - - BUG(); /* The idle class should always have a runnable task. */ -@@ -5880,7 +5960,7 @@ static inline struct task_struct *pick_task(struct rq *rq) - const struct sched_class *class; - struct task_struct *p; - -- for_each_class(class) { -+ for_each_active_class(class) { - p = class->pick_task(rq); - if (p) - return p; -@@ -6877,6 +6957,10 @@ void __setscheduler_prio(struct task_struct *p, int prio) - p->sched_class = &dl_sched_class; - else if (rt_prio(prio)) - p->sched_class = &rt_sched_class; -+#ifdef CONFIG_SCHED_CLASS_EXT -+ else if (task_should_scx(p)) -+ p->sched_class = &ext_sched_class; -+#endif - else - p->sched_class = &fair_sched_class; - -@@ -7022,6 +7106,7 @@ void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) - } - - __setscheduler_prio(p, prio); -+ check_class_changing(rq, p, prev_class); - - if (queued) - enqueue_task(rq, p, queue_flag); -@@ -7436,6 +7521,7 @@ void sched_show_task(struct task_struct *p) - - print_worker_info(KERN_INFO, p); - print_stop_info(KERN_INFO, p); -+ print_scx_info(KERN_INFO, p); - show_stack(p, NULL, KERN_INFO); - put_task_stack(p); - } -@@ -7964,6 +8050,8 @@ int sched_cpu_activate(unsigned int cpu) - cpuset_cpu_active(); - } - -+ scx_rq_activate(rq); -+ - /* - * Put the rq online, if not already. This happens: - * -@@ -8013,6 +8101,8 @@ int sched_cpu_deactivate(unsigned int cpu) - - sched_set_rq_offline(rq, cpu); - -+ scx_rq_deactivate(rq); -+ - /* - * When going down, decrement the number of cores with SMT present. - */ -@@ -8197,11 +8287,15 @@ void __init sched_init(void) - int i; - - /* Make sure the linker didn't screw up */ -- BUG_ON(&idle_sched_class != &fair_sched_class + 1 || -- &fair_sched_class != &rt_sched_class + 1 || -- &rt_sched_class != &dl_sched_class + 1); - #ifdef CONFIG_SMP -- BUG_ON(&dl_sched_class != &stop_sched_class + 1); -+ BUG_ON(!sched_class_above(&stop_sched_class, &dl_sched_class)); -+#endif -+ BUG_ON(!sched_class_above(&dl_sched_class, &rt_sched_class)); -+ BUG_ON(!sched_class_above(&rt_sched_class, &fair_sched_class)); -+ BUG_ON(!sched_class_above(&fair_sched_class, &idle_sched_class)); -+#ifdef CONFIG_SCHED_CLASS_EXT -+ BUG_ON(!sched_class_above(&fair_sched_class, &ext_sched_class)); -+ BUG_ON(!sched_class_above(&ext_sched_class, &idle_sched_class)); - #endif - - wait_bit_init(); -@@ -8225,6 +8319,9 @@ void __init sched_init(void) - root_task_group.shares = ROOT_TASK_GROUP_LOAD; - init_cfs_bandwidth(&root_task_group.cfs_bandwidth, NULL); - #endif /* CONFIG_FAIR_GROUP_SCHED */ -+#ifdef CONFIG_EXT_GROUP_SCHED -+ root_task_group.scx_weight = CGROUP_WEIGHT_DFL; -+#endif /* CONFIG_EXT_GROUP_SCHED */ - #ifdef CONFIG_RT_GROUP_SCHED - root_task_group.rt_se = (struct sched_rt_entity **)ptr; - ptr += nr_cpu_ids * sizeof(void **); -@@ -8370,6 +8467,7 @@ void __init sched_init(void) - balance_push_set(smp_processor_id(), false); - #endif - init_sched_fair_class(); -+ init_sched_ext_class(); - - psi_init(); - -@@ -8655,6 +8753,7 @@ struct task_group *sched_create_group(struct task_group *parent) - if (!alloc_rt_sched_group(tg, parent)) - goto err; - -+ scx_group_set_weight(tg, CGROUP_WEIGHT_DFL); - alloc_uclamp_sched_group(tg, parent); - - return tg; -@@ -8782,6 +8881,7 @@ void sched_move_task(struct task_struct *tsk) - put_prev_task(rq, tsk); - - sched_change_group(tsk, group); -+ scx_move_task(tsk); - - if (queued) - enqueue_task(rq, tsk, queue_flags); -@@ -8796,11 +8896,6 @@ void sched_move_task(struct task_struct *tsk) - } - } - --static inline struct task_group *css_tg(struct cgroup_subsys_state *css) --{ -- return css ? container_of(css, struct task_group, css) : NULL; --} -- - static struct cgroup_subsys_state * - cpu_cgroup_css_alloc(struct cgroup_subsys_state *parent_css) - { -@@ -8824,6 +8919,11 @@ static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) - { - struct task_group *tg = css_tg(css); - struct task_group *parent = css_tg(css->parent); -+ int ret; -+ -+ ret = scx_tg_online(tg); -+ if (ret) -+ return ret; - - if (parent) - sched_online_group(tg, parent); -@@ -8838,6 +8938,13 @@ static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) - return 0; - } - -+static void cpu_cgroup_css_offline(struct cgroup_subsys_state *css) -+{ -+ struct task_group *tg = css_tg(css); -+ -+ scx_tg_offline(tg); -+} -+ - static void cpu_cgroup_css_released(struct cgroup_subsys_state *css) - { - struct task_group *tg = css_tg(css); -@@ -8855,9 +8962,9 @@ static void cpu_cgroup_css_free(struct cgroup_subsys_state *css) - sched_unregister_group(tg); - } - --#ifdef CONFIG_RT_GROUP_SCHED - static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) - { -+#ifdef CONFIG_RT_GROUP_SCHED - struct task_struct *task; - struct cgroup_subsys_state *css; - -@@ -8865,9 +8972,9 @@ static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) - if (!sched_rt_can_attach(css_tg(css), task)) - return -EINVAL; - } -- return 0; --} - #endif -+ return scx_cgroup_can_attach(tset); -+} - - static void cpu_cgroup_attach(struct cgroup_taskset *tset) - { -@@ -8876,6 +8983,13 @@ static void cpu_cgroup_attach(struct cgroup_taskset *tset) - - cgroup_taskset_for_each(task, css, tset) - sched_move_task(task); -+ -+ scx_cgroup_finish_attach(); -+} -+ -+static void cpu_cgroup_cancel_attach(struct cgroup_taskset *tset) -+{ -+ scx_cgroup_cancel_attach(tset); - } - - #ifdef CONFIG_UCLAMP_TASK_GROUP -@@ -9052,22 +9166,36 @@ static int cpu_uclamp_max_show(struct seq_file *sf, void *v) - } - #endif /* CONFIG_UCLAMP_TASK_GROUP */ - -+#ifdef CONFIG_GROUP_SCHED_WEIGHT -+static unsigned long tg_weight(struct task_group *tg) -+{ - #ifdef CONFIG_FAIR_GROUP_SCHED -+ return scale_load_down(tg->shares); -+#else -+ return sched_weight_from_cgroup(tg->scx_weight); -+#endif -+} -+ - static int cpu_shares_write_u64(struct cgroup_subsys_state *css, - struct cftype *cftype, u64 shareval) - { -+ int ret; -+ - if (shareval > scale_load_down(ULONG_MAX)) - shareval = MAX_SHARES; -- return sched_group_set_shares(css_tg(css), scale_load(shareval)); -+ ret = sched_group_set_shares(css_tg(css), scale_load(shareval)); -+ if (!ret) -+ scx_group_set_weight(css_tg(css), -+ sched_weight_to_cgroup(shareval)); -+ return ret; - } - - static u64 cpu_shares_read_u64(struct cgroup_subsys_state *css, - struct cftype *cft) - { -- struct task_group *tg = css_tg(css); -- -- return (u64) scale_load_down(tg->shares); -+ return tg_weight(css_tg(css)); - } -+#endif /* CONFIG_GROUP_SCHED_WEIGHT */ - - #ifdef CONFIG_CFS_BANDWIDTH - static DEFINE_MUTEX(cfs_constraints_mutex); -@@ -9413,7 +9541,6 @@ static int cpu_cfs_local_stat_show(struct seq_file *sf, void *v) - return 0; - } - #endif /* CONFIG_CFS_BANDWIDTH */ --#endif /* CONFIG_FAIR_GROUP_SCHED */ - - #ifdef CONFIG_RT_GROUP_SCHED - static int cpu_rt_runtime_write(struct cgroup_subsys_state *css, -@@ -9441,7 +9568,7 @@ static u64 cpu_rt_period_read_uint(struct cgroup_subsys_state *css, - } - #endif /* CONFIG_RT_GROUP_SCHED */ - --#ifdef CONFIG_FAIR_GROUP_SCHED -+#ifdef CONFIG_GROUP_SCHED_WEIGHT - static s64 cpu_idle_read_s64(struct cgroup_subsys_state *css, - struct cftype *cft) - { -@@ -9451,12 +9578,17 @@ static s64 cpu_idle_read_s64(struct cgroup_subsys_state *css, - static int cpu_idle_write_s64(struct cgroup_subsys_state *css, - struct cftype *cft, s64 idle) - { -- return sched_group_set_idle(css_tg(css), idle); -+ int ret; -+ -+ ret = sched_group_set_idle(css_tg(css), idle); -+ if (!ret) -+ scx_group_set_idle(css_tg(css), idle); -+ return ret; - } - #endif - - static struct cftype cpu_legacy_files[] = { --#ifdef CONFIG_FAIR_GROUP_SCHED -+#ifdef CONFIG_GROUP_SCHED_WEIGHT - { - .name = "shares", - .read_u64 = cpu_shares_read_u64, -@@ -9566,38 +9698,35 @@ static int cpu_local_stat_show(struct seq_file *sf, - return 0; - } - --#ifdef CONFIG_FAIR_GROUP_SCHED -+#ifdef CONFIG_GROUP_SCHED_WEIGHT -+ - static u64 cpu_weight_read_u64(struct cgroup_subsys_state *css, - struct cftype *cft) - { -- struct task_group *tg = css_tg(css); -- u64 weight = scale_load_down(tg->shares); -- -- return DIV_ROUND_CLOSEST_ULL(weight * CGROUP_WEIGHT_DFL, 1024); -+ return sched_weight_to_cgroup(tg_weight(css_tg(css))); - } - - static int cpu_weight_write_u64(struct cgroup_subsys_state *css, -- struct cftype *cft, u64 weight) -+ struct cftype *cft, u64 cgrp_weight) - { -- /* -- * cgroup weight knobs should use the common MIN, DFL and MAX -- * values which are 1, 100 and 10000 respectively. While it loses -- * a bit of range on both ends, it maps pretty well onto the shares -- * value used by scheduler and the round-trip conversions preserve -- * the original value over the entire range. -- */ -- if (weight < CGROUP_WEIGHT_MIN || weight > CGROUP_WEIGHT_MAX) -+ unsigned long weight; -+ int ret; -+ -+ if (cgrp_weight < CGROUP_WEIGHT_MIN || cgrp_weight > CGROUP_WEIGHT_MAX) - return -ERANGE; - -- weight = DIV_ROUND_CLOSEST_ULL(weight * 1024, CGROUP_WEIGHT_DFL); -+ weight = sched_weight_from_cgroup(cgrp_weight); - -- return sched_group_set_shares(css_tg(css), scale_load(weight)); -+ ret = sched_group_set_shares(css_tg(css), scale_load(weight)); -+ if (!ret) -+ scx_group_set_weight(css_tg(css), cgrp_weight); -+ return ret; - } - - static s64 cpu_weight_nice_read_s64(struct cgroup_subsys_state *css, - struct cftype *cft) - { -- unsigned long weight = scale_load_down(css_tg(css)->shares); -+ unsigned long weight = tg_weight(css_tg(css)); - int last_delta = INT_MAX; - int prio, delta; - -@@ -9616,7 +9745,7 @@ static int cpu_weight_nice_write_s64(struct cgroup_subsys_state *css, - struct cftype *cft, s64 nice) - { - unsigned long weight; -- int idx; -+ int idx, ret; - - if (nice < MIN_NICE || nice > MAX_NICE) - return -ERANGE; -@@ -9625,9 +9754,13 @@ static int cpu_weight_nice_write_s64(struct cgroup_subsys_state *css, - idx = array_index_nospec(idx, 40); - weight = sched_prio_to_weight[idx]; - -- return sched_group_set_shares(css_tg(css), scale_load(weight)); -+ ret = sched_group_set_shares(css_tg(css), scale_load(weight)); -+ if (!ret) -+ scx_group_set_weight(css_tg(css), -+ sched_weight_to_cgroup(weight)); -+ return ret; - } --#endif -+#endif /* CONFIG_GROUP_SCHED_WEIGHT */ - - static void __maybe_unused cpu_period_quota_print(struct seq_file *sf, - long period, long quota) -@@ -9687,7 +9820,7 @@ static ssize_t cpu_max_write(struct kernfs_open_file *of, - #endif - - static struct cftype cpu_files[] = { --#ifdef CONFIG_FAIR_GROUP_SCHED -+#ifdef CONFIG_GROUP_SCHED_WEIGHT - { - .name = "weight", - .flags = CFTYPE_NOT_ON_ROOT, -@@ -9741,14 +9874,14 @@ static struct cftype cpu_files[] = { - struct cgroup_subsys cpu_cgrp_subsys = { - .css_alloc = cpu_cgroup_css_alloc, - .css_online = cpu_cgroup_css_online, -+ .css_offline = cpu_cgroup_css_offline, - .css_released = cpu_cgroup_css_released, - .css_free = cpu_cgroup_css_free, - .css_extra_stat_show = cpu_extra_stat_show, - .css_local_stat_show = cpu_local_stat_show, --#ifdef CONFIG_RT_GROUP_SCHED - .can_attach = cpu_cgroup_can_attach, --#endif - .attach = cpu_cgroup_attach, -+ .cancel_attach = cpu_cgroup_cancel_attach, - .legacy_cftypes = cpu_legacy_files, - .dfl_cftypes = cpu_files, - .early_init = true, -@@ -10340,3 +10473,38 @@ void sched_mm_cid_fork(struct task_struct *t) - t->mm_cid_active = 1; - } - #endif -+ -+#ifdef CONFIG_SCHED_CLASS_EXT -+void sched_deq_and_put_task(struct task_struct *p, int queue_flags, -+ struct sched_enq_and_set_ctx *ctx) -+{ -+ struct rq *rq = task_rq(p); -+ -+ lockdep_assert_rq_held(rq); -+ -+ *ctx = (struct sched_enq_and_set_ctx){ -+ .p = p, -+ .queue_flags = queue_flags, -+ .queued = task_on_rq_queued(p), -+ .running = task_current(rq, p), -+ }; -+ -+ update_rq_clock(rq); -+ if (ctx->queued) -+ dequeue_task(rq, p, queue_flags | DEQUEUE_NOCLOCK); -+ if (ctx->running) -+ put_prev_task(rq, p); -+} -+ -+void sched_enq_and_set_task(struct sched_enq_and_set_ctx *ctx) -+{ -+ struct rq *rq = task_rq(ctx->p); -+ -+ lockdep_assert_rq_held(rq); -+ -+ if (ctx->queued) -+ enqueue_task(rq, ctx->p, ctx->queue_flags | ENQUEUE_NOCLOCK); -+ if (ctx->running) -+ set_next_task(rq, ctx->p); -+} -+#endif /* CONFIG_SCHED_CLASS_EXT */ -diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c -index eece6244f9d2..e683e5d08daa 100644 ---- a/kernel/sched/cpufreq_schedutil.c -+++ b/kernel/sched/cpufreq_schedutil.c -@@ -197,8 +197,10 @@ unsigned long sugov_effective_cpu_perf(int cpu, unsigned long actual, - - static void sugov_get_util(struct sugov_cpu *sg_cpu, unsigned long boost) - { -- unsigned long min, max, util = cpu_util_cfs_boost(sg_cpu->cpu); -+ unsigned long min, max, util = scx_cpuperf_target(sg_cpu->cpu); - -+ if (!scx_switched_all()) -+ util += cpu_util_cfs_boost(sg_cpu->cpu); - util = effective_cpu_util(sg_cpu->cpu, util, &min, &max); - util = max(util, boost); - sg_cpu->bw_min = min; -@@ -325,16 +327,35 @@ static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, - } - - #ifdef CONFIG_NO_HZ_COMMON --static bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu) -+static bool sugov_hold_freq(struct sugov_cpu *sg_cpu) - { -- unsigned long idle_calls = tick_nohz_get_idle_calls_cpu(sg_cpu->cpu); -- bool ret = idle_calls == sg_cpu->saved_idle_calls; -+ unsigned long idle_calls; -+ bool ret; -+ -+ /* -+ * The heuristics in this function is for the fair class. For SCX, the -+ * performance target comes directly from the BPF scheduler. Let's just -+ * follow it. -+ */ -+ if (scx_switched_all()) -+ return false; -+ -+ /* if capped by uclamp_max, always update to be in compliance */ -+ if (uclamp_rq_is_capped(cpu_rq(sg_cpu->cpu))) -+ return false; -+ -+ /* -+ * Maintain the frequency if the CPU has not been idle recently, as -+ * reduction is likely to be premature. -+ */ -+ idle_calls = tick_nohz_get_idle_calls_cpu(sg_cpu->cpu); -+ ret = idle_calls == sg_cpu->saved_idle_calls; - - sg_cpu->saved_idle_calls = idle_calls; - return ret; - } - #else --static inline bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu) { return false; } -+static inline bool sugov_hold_freq(struct sugov_cpu *sg_cpu) { return false; } - #endif /* CONFIG_NO_HZ_COMMON */ - - /* -@@ -382,14 +403,8 @@ static void sugov_update_single_freq(struct update_util_data *hook, u64 time, - return; - - next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap); -- /* -- * Do not reduce the frequency if the CPU has not been idle -- * recently, as the reduction is likely to be premature then. -- * -- * Except when the rq is capped by uclamp_max. -- */ -- if (!uclamp_rq_is_capped(cpu_rq(sg_cpu->cpu)) && -- sugov_cpu_is_busy(sg_cpu) && next_f < sg_policy->next_freq && -+ -+ if (sugov_hold_freq(sg_cpu) && next_f < sg_policy->next_freq && - !sg_policy->need_freq_update) { - next_f = sg_policy->next_freq; - -@@ -436,14 +451,7 @@ static void sugov_update_single_perf(struct update_util_data *hook, u64 time, - if (!sugov_update_single_common(sg_cpu, time, max_cap, flags)) - return; - -- /* -- * Do not reduce the target performance level if the CPU has not been -- * idle recently, as the reduction is likely to be premature then. -- * -- * Except when the rq is capped by uclamp_max. -- */ -- if (!uclamp_rq_is_capped(cpu_rq(sg_cpu->cpu)) && -- sugov_cpu_is_busy(sg_cpu) && sg_cpu->util < prev_util) -+ if (sugov_hold_freq(sg_cpu) && sg_cpu->util < prev_util) - sg_cpu->util = prev_util; - - cpufreq_driver_adjust_perf(sg_cpu->cpu, sg_cpu->bw_min, -diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c -index c1eb9a1afd13..c057ef46c5f8 100644 ---- a/kernel/sched/debug.c -+++ b/kernel/sched/debug.c -@@ -1090,6 +1090,9 @@ void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns, - P(dl.runtime); - P(dl.deadline); - } -+#ifdef CONFIG_SCHED_CLASS_EXT -+ __PS("ext.enabled", task_on_scx(p)); -+#endif - #undef PN_SCHEDSTAT - #undef P_SCHEDSTAT - -diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c -new file mode 100644 -index 000000000000..5fae2292ec29 ---- /dev/null -+++ b/kernel/sched/ext.c -@@ -0,0 +1,7281 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#define SCX_OP_IDX(op) (offsetof(struct sched_ext_ops, op) / sizeof(void (*)(void))) -+ -+enum scx_consts { -+ SCX_DSP_DFL_MAX_BATCH = 32, -+ SCX_DSP_MAX_LOOPS = 32, -+ SCX_WATCHDOG_MAX_TIMEOUT = 30 * HZ, -+ -+ SCX_EXIT_BT_LEN = 64, -+ SCX_EXIT_MSG_LEN = 1024, -+ SCX_EXIT_DUMP_DFL_LEN = 32768, -+ -+ SCX_CPUPERF_ONE = SCHED_CAPACITY_SCALE, -+ -+ /* -+ * Iterating all tasks may take a while. Periodically drop -+ * scx_tasks_lock to avoid causing e.g. CSD and RCU stalls. -+ */ -+ SCX_OPS_TASK_ITER_BATCH = 32, -+}; -+ -+enum scx_exit_kind { -+ SCX_EXIT_NONE, -+ SCX_EXIT_DONE, -+ -+ SCX_EXIT_UNREG = 64, /* user-space initiated unregistration */ -+ SCX_EXIT_UNREG_BPF, /* BPF-initiated unregistration */ -+ SCX_EXIT_UNREG_KERN, /* kernel-initiated unregistration */ -+ SCX_EXIT_SYSRQ, /* requested by 'S' sysrq */ -+ -+ SCX_EXIT_ERROR = 1024, /* runtime error, error msg contains details */ -+ SCX_EXIT_ERROR_BPF, /* ERROR but triggered through scx_bpf_error() */ -+ SCX_EXIT_ERROR_STALL, /* watchdog detected stalled runnable tasks */ -+}; -+ -+/* -+ * An exit code can be specified when exiting with scx_bpf_exit() or -+ * scx_ops_exit(), corresponding to exit_kind UNREG_BPF and UNREG_KERN -+ * respectively. The codes are 64bit of the format: -+ * -+ * Bits: [63 .. 48 47 .. 32 31 .. 0] -+ * [ SYS ACT ] [ SYS RSN ] [ USR ] -+ * -+ * SYS ACT: System-defined exit actions -+ * SYS RSN: System-defined exit reasons -+ * USR : User-defined exit codes and reasons -+ * -+ * Using the above, users may communicate intention and context by ORing system -+ * actions and/or system reasons with a user-defined exit code. -+ */ -+enum scx_exit_code { -+ /* Reasons */ -+ SCX_ECODE_RSN_HOTPLUG = 1LLU << 32, -+ -+ /* Actions */ -+ SCX_ECODE_ACT_RESTART = 1LLU << 48, -+}; -+ -+/* -+ * scx_exit_info is passed to ops.exit() to describe why the BPF scheduler is -+ * being disabled. -+ */ -+struct scx_exit_info { -+ /* %SCX_EXIT_* - broad category of the exit reason */ -+ enum scx_exit_kind kind; -+ -+ /* exit code if gracefully exiting */ -+ s64 exit_code; -+ -+ /* textual representation of the above */ -+ const char *reason; -+ -+ /* backtrace if exiting due to an error */ -+ unsigned long *bt; -+ u32 bt_len; -+ -+ /* informational message */ -+ char *msg; -+ -+ /* debug dump */ -+ char *dump; -+}; -+ -+/* sched_ext_ops.flags */ -+enum scx_ops_flags { -+ /* -+ * Keep built-in idle tracking even if ops.update_idle() is implemented. -+ */ -+ SCX_OPS_KEEP_BUILTIN_IDLE = 1LLU << 0, -+ -+ /* -+ * By default, if there are no other task to run on the CPU, ext core -+ * keeps running the current task even after its slice expires. If this -+ * flag is specified, such tasks are passed to ops.enqueue() with -+ * %SCX_ENQ_LAST. See the comment above %SCX_ENQ_LAST for more info. -+ */ -+ SCX_OPS_ENQ_LAST = 1LLU << 1, -+ -+ /* -+ * An exiting task may schedule after PF_EXITING is set. In such cases, -+ * bpf_task_from_pid() may not be able to find the task and if the BPF -+ * scheduler depends on pid lookup for dispatching, the task will be -+ * lost leading to various issues including RCU grace period stalls. -+ * -+ * To mask this problem, by default, unhashed tasks are automatically -+ * dispatched to the local DSQ on enqueue. If the BPF scheduler doesn't -+ * depend on pid lookups and wants to handle these tasks directly, the -+ * following flag can be used. -+ */ -+ SCX_OPS_ENQ_EXITING = 1LLU << 2, -+ -+ /* -+ * If set, only tasks with policy set to SCHED_EXT are attached to -+ * sched_ext. If clear, SCHED_NORMAL tasks are also included. -+ */ -+ SCX_OPS_SWITCH_PARTIAL = 1LLU << 3, -+ -+ /* -+ * CPU cgroup support flags -+ */ -+ SCX_OPS_HAS_CGROUP_WEIGHT = 1LLU << 16, /* cpu.weight */ -+ -+ SCX_OPS_ALL_FLAGS = SCX_OPS_KEEP_BUILTIN_IDLE | -+ SCX_OPS_ENQ_LAST | -+ SCX_OPS_ENQ_EXITING | -+ SCX_OPS_SWITCH_PARTIAL | -+ SCX_OPS_HAS_CGROUP_WEIGHT, -+}; -+ -+/* argument container for ops.init_task() */ -+struct scx_init_task_args { -+ /* -+ * Set if ops.init_task() is being invoked on the fork path, as opposed -+ * to the scheduler transition path. -+ */ -+ bool fork; -+#ifdef CONFIG_EXT_GROUP_SCHED -+ /* the cgroup the task is joining */ -+ struct cgroup *cgroup; -+#endif -+}; -+ -+/* argument container for ops.exit_task() */ -+struct scx_exit_task_args { -+ /* Whether the task exited before running on sched_ext. */ -+ bool cancelled; -+}; -+ -+/* argument container for ops->cgroup_init() */ -+struct scx_cgroup_init_args { -+ /* the weight of the cgroup [1..10000] */ -+ u32 weight; -+}; -+ -+enum scx_cpu_preempt_reason { -+ /* next task is being scheduled by &sched_class_rt */ -+ SCX_CPU_PREEMPT_RT, -+ /* next task is being scheduled by &sched_class_dl */ -+ SCX_CPU_PREEMPT_DL, -+ /* next task is being scheduled by &sched_class_stop */ -+ SCX_CPU_PREEMPT_STOP, -+ /* unknown reason for SCX being preempted */ -+ SCX_CPU_PREEMPT_UNKNOWN, -+}; -+ -+/* -+ * Argument container for ops->cpu_acquire(). Currently empty, but may be -+ * expanded in the future. -+ */ -+struct scx_cpu_acquire_args {}; -+ -+/* argument container for ops->cpu_release() */ -+struct scx_cpu_release_args { -+ /* the reason the CPU was preempted */ -+ enum scx_cpu_preempt_reason reason; -+ -+ /* the task that's going to be scheduled on the CPU */ -+ struct task_struct *task; -+}; -+ -+/* -+ * Informational context provided to dump operations. -+ */ -+struct scx_dump_ctx { -+ enum scx_exit_kind kind; -+ s64 exit_code; -+ const char *reason; -+ u64 at_ns; -+ u64 at_jiffies; -+}; -+ -+/** -+ * struct sched_ext_ops - Operation table for BPF scheduler implementation -+ * -+ * Userland can implement an arbitrary scheduling policy by implementing and -+ * loading operations in this table. -+ */ -+struct sched_ext_ops { -+ /** -+ * select_cpu - Pick the target CPU for a task which is being woken up -+ * @p: task being woken up -+ * @prev_cpu: the cpu @p was on before sleeping -+ * @wake_flags: SCX_WAKE_* -+ * -+ * Decision made here isn't final. @p may be moved to any CPU while it -+ * is getting dispatched for execution later. However, as @p is not on -+ * the rq at this point, getting the eventual execution CPU right here -+ * saves a small bit of overhead down the line. -+ * -+ * If an idle CPU is returned, the CPU is kicked and will try to -+ * dispatch. While an explicit custom mechanism can be added, -+ * select_cpu() serves as the default way to wake up idle CPUs. -+ * -+ * @p may be dispatched directly by calling scx_bpf_dispatch(). If @p -+ * is dispatched, the ops.enqueue() callback will be skipped. Finally, -+ * if @p is dispatched to SCX_DSQ_LOCAL, it will be dispatched to the -+ * local DSQ of whatever CPU is returned by this callback. -+ */ -+ s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags); -+ -+ /** -+ * enqueue - Enqueue a task on the BPF scheduler -+ * @p: task being enqueued -+ * @enq_flags: %SCX_ENQ_* -+ * -+ * @p is ready to run. Dispatch directly by calling scx_bpf_dispatch() -+ * or enqueue on the BPF scheduler. If not directly dispatched, the bpf -+ * scheduler owns @p and if it fails to dispatch @p, the task will -+ * stall. -+ * -+ * If @p was dispatched from ops.select_cpu(), this callback is -+ * skipped. -+ */ -+ void (*enqueue)(struct task_struct *p, u64 enq_flags); -+ -+ /** -+ * dequeue - Remove a task from the BPF scheduler -+ * @p: task being dequeued -+ * @deq_flags: %SCX_DEQ_* -+ * -+ * Remove @p from the BPF scheduler. This is usually called to isolate -+ * the task while updating its scheduling properties (e.g. priority). -+ * -+ * The ext core keeps track of whether the BPF side owns a given task or -+ * not and can gracefully ignore spurious dispatches from BPF side, -+ * which makes it safe to not implement this method. However, depending -+ * on the scheduling logic, this can lead to confusing behaviors - e.g. -+ * scheduling position not being updated across a priority change. -+ */ -+ void (*dequeue)(struct task_struct *p, u64 deq_flags); -+ -+ /** -+ * dispatch - Dispatch tasks from the BPF scheduler and/or consume DSQs -+ * @cpu: CPU to dispatch tasks for -+ * @prev: previous task being switched out -+ * -+ * Called when a CPU's local dsq is empty. The operation should dispatch -+ * one or more tasks from the BPF scheduler into the DSQs using -+ * scx_bpf_dispatch() and/or consume user DSQs into the local DSQ using -+ * scx_bpf_consume(). -+ * -+ * The maximum number of times scx_bpf_dispatch() can be called without -+ * an intervening scx_bpf_consume() is specified by -+ * ops.dispatch_max_batch. See the comments on top of the two functions -+ * for more details. -+ * -+ * When not %NULL, @prev is an SCX task with its slice depleted. If -+ * @prev is still runnable as indicated by set %SCX_TASK_QUEUED in -+ * @prev->scx.flags, it is not enqueued yet and will be enqueued after -+ * ops.dispatch() returns. To keep executing @prev, return without -+ * dispatching or consuming any tasks. Also see %SCX_OPS_ENQ_LAST. -+ */ -+ void (*dispatch)(s32 cpu, struct task_struct *prev); -+ -+ /** -+ * tick - Periodic tick -+ * @p: task running currently -+ * -+ * This operation is called every 1/HZ seconds on CPUs which are -+ * executing an SCX task. Setting @p->scx.slice to 0 will trigger an -+ * immediate dispatch cycle on the CPU. -+ */ -+ void (*tick)(struct task_struct *p); -+ -+ /** -+ * runnable - A task is becoming runnable on its associated CPU -+ * @p: task becoming runnable -+ * @enq_flags: %SCX_ENQ_* -+ * -+ * This and the following three functions can be used to track a task's -+ * execution state transitions. A task becomes ->runnable() on a CPU, -+ * and then goes through one or more ->running() and ->stopping() pairs -+ * as it runs on the CPU, and eventually becomes ->quiescent() when it's -+ * done running on the CPU. -+ * -+ * @p is becoming runnable on the CPU because it's -+ * -+ * - waking up (%SCX_ENQ_WAKEUP) -+ * - being moved from another CPU -+ * - being restored after temporarily taken off the queue for an -+ * attribute change. -+ * -+ * This and ->enqueue() are related but not coupled. This operation -+ * notifies @p's state transition and may not be followed by ->enqueue() -+ * e.g. when @p is being dispatched to a remote CPU, or when @p is -+ * being enqueued on a CPU experiencing a hotplug event. Likewise, a -+ * task may be ->enqueue()'d without being preceded by this operation -+ * e.g. after exhausting its slice. -+ */ -+ void (*runnable)(struct task_struct *p, u64 enq_flags); -+ -+ /** -+ * running - A task is starting to run on its associated CPU -+ * @p: task starting to run -+ * -+ * See ->runnable() for explanation on the task state notifiers. -+ */ -+ void (*running)(struct task_struct *p); -+ -+ /** -+ * stopping - A task is stopping execution -+ * @p: task stopping to run -+ * @runnable: is task @p still runnable? -+ * -+ * See ->runnable() for explanation on the task state notifiers. If -+ * !@runnable, ->quiescent() will be invoked after this operation -+ * returns. -+ */ -+ void (*stopping)(struct task_struct *p, bool runnable); -+ -+ /** -+ * quiescent - A task is becoming not runnable on its associated CPU -+ * @p: task becoming not runnable -+ * @deq_flags: %SCX_DEQ_* -+ * -+ * See ->runnable() for explanation on the task state notifiers. -+ * -+ * @p is becoming quiescent on the CPU because it's -+ * -+ * - sleeping (%SCX_DEQ_SLEEP) -+ * - being moved to another CPU -+ * - being temporarily taken off the queue for an attribute change -+ * (%SCX_DEQ_SAVE) -+ * -+ * This and ->dequeue() are related but not coupled. This operation -+ * notifies @p's state transition and may not be preceded by ->dequeue() -+ * e.g. when @p is being dispatched to a remote CPU. -+ */ -+ void (*quiescent)(struct task_struct *p, u64 deq_flags); -+ -+ /** -+ * yield - Yield CPU -+ * @from: yielding task -+ * @to: optional yield target task -+ * -+ * If @to is NULL, @from is yielding the CPU to other runnable tasks. -+ * The BPF scheduler should ensure that other available tasks are -+ * dispatched before the yielding task. Return value is ignored in this -+ * case. -+ * -+ * If @to is not-NULL, @from wants to yield the CPU to @to. If the bpf -+ * scheduler can implement the request, return %true; otherwise, %false. -+ */ -+ bool (*yield)(struct task_struct *from, struct task_struct *to); -+ -+ /** -+ * core_sched_before - Task ordering for core-sched -+ * @a: task A -+ * @b: task B -+ * -+ * Used by core-sched to determine the ordering between two tasks. See -+ * Documentation/admin-guide/hw-vuln/core-scheduling.rst for details on -+ * core-sched. -+ * -+ * Both @a and @b are runnable and may or may not currently be queued on -+ * the BPF scheduler. Should return %true if @a should run before @b. -+ * %false if there's no required ordering or @b should run before @a. -+ * -+ * If not specified, the default is ordering them according to when they -+ * became runnable. -+ */ -+ bool (*core_sched_before)(struct task_struct *a, struct task_struct *b); -+ -+ /** -+ * set_weight - Set task weight -+ * @p: task to set weight for -+ * @weight: new weight [1..10000] -+ * -+ * Update @p's weight to @weight. -+ */ -+ void (*set_weight)(struct task_struct *p, u32 weight); -+ -+ /** -+ * set_cpumask - Set CPU affinity -+ * @p: task to set CPU affinity for -+ * @cpumask: cpumask of cpus that @p can run on -+ * -+ * Update @p's CPU affinity to @cpumask. -+ */ -+ void (*set_cpumask)(struct task_struct *p, -+ const struct cpumask *cpumask); -+ -+ /** -+ * update_idle - Update the idle state of a CPU -+ * @cpu: CPU to udpate the idle state for -+ * @idle: whether entering or exiting the idle state -+ * -+ * This operation is called when @rq's CPU goes or leaves the idle -+ * state. By default, implementing this operation disables the built-in -+ * idle CPU tracking and the following helpers become unavailable: -+ * -+ * - scx_bpf_select_cpu_dfl() -+ * - scx_bpf_test_and_clear_cpu_idle() -+ * - scx_bpf_pick_idle_cpu() -+ * -+ * The user also must implement ops.select_cpu() as the default -+ * implementation relies on scx_bpf_select_cpu_dfl(). -+ * -+ * Specify the %SCX_OPS_KEEP_BUILTIN_IDLE flag to keep the built-in idle -+ * tracking. -+ */ -+ void (*update_idle)(s32 cpu, bool idle); -+ -+ /** -+ * cpu_acquire - A CPU is becoming available to the BPF scheduler -+ * @cpu: The CPU being acquired by the BPF scheduler. -+ * @args: Acquire arguments, see the struct definition. -+ * -+ * A CPU that was previously released from the BPF scheduler is now once -+ * again under its control. -+ */ -+ void (*cpu_acquire)(s32 cpu, struct scx_cpu_acquire_args *args); -+ -+ /** -+ * cpu_release - A CPU is taken away from the BPF scheduler -+ * @cpu: The CPU being released by the BPF scheduler. -+ * @args: Release arguments, see the struct definition. -+ * -+ * The specified CPU is no longer under the control of the BPF -+ * scheduler. This could be because it was preempted by a higher -+ * priority sched_class, though there may be other reasons as well. The -+ * caller should consult @args->reason to determine the cause. -+ */ -+ void (*cpu_release)(s32 cpu, struct scx_cpu_release_args *args); -+ -+ /** -+ * init_task - Initialize a task to run in a BPF scheduler -+ * @p: task to initialize for BPF scheduling -+ * @args: init arguments, see the struct definition -+ * -+ * Either we're loading a BPF scheduler or a new task is being forked. -+ * Initialize @p for BPF scheduling. This operation may block and can -+ * be used for allocations, and is called exactly once for a task. -+ * -+ * Return 0 for success, -errno for failure. An error return while -+ * loading will abort loading of the BPF scheduler. During a fork, it -+ * will abort that specific fork. -+ */ -+ s32 (*init_task)(struct task_struct *p, struct scx_init_task_args *args); -+ -+ /** -+ * exit_task - Exit a previously-running task from the system -+ * @p: task to exit -+ * -+ * @p is exiting or the BPF scheduler is being unloaded. Perform any -+ * necessary cleanup for @p. -+ */ -+ void (*exit_task)(struct task_struct *p, struct scx_exit_task_args *args); -+ -+ /** -+ * enable - Enable BPF scheduling for a task -+ * @p: task to enable BPF scheduling for -+ * -+ * Enable @p for BPF scheduling. enable() is called on @p any time it -+ * enters SCX, and is always paired with a matching disable(). -+ */ -+ void (*enable)(struct task_struct *p); -+ -+ /** -+ * disable - Disable BPF scheduling for a task -+ * @p: task to disable BPF scheduling for -+ * -+ * @p is exiting, leaving SCX or the BPF scheduler is being unloaded. -+ * Disable BPF scheduling for @p. A disable() call is always matched -+ * with a prior enable() call. -+ */ -+ void (*disable)(struct task_struct *p); -+ -+ /** -+ * dump - Dump BPF scheduler state on error -+ * @ctx: debug dump context -+ * -+ * Use scx_bpf_dump() to generate BPF scheduler specific debug dump. -+ */ -+ void (*dump)(struct scx_dump_ctx *ctx); -+ -+ /** -+ * dump_cpu - Dump BPF scheduler state for a CPU on error -+ * @ctx: debug dump context -+ * @cpu: CPU to generate debug dump for -+ * @idle: @cpu is currently idle without any runnable tasks -+ * -+ * Use scx_bpf_dump() to generate BPF scheduler specific debug dump for -+ * @cpu. If @idle is %true and this operation doesn't produce any -+ * output, @cpu is skipped for dump. -+ */ -+ void (*dump_cpu)(struct scx_dump_ctx *ctx, s32 cpu, bool idle); -+ -+ /** -+ * dump_task - Dump BPF scheduler state for a runnable task on error -+ * @ctx: debug dump context -+ * @p: runnable task to generate debug dump for -+ * -+ * Use scx_bpf_dump() to generate BPF scheduler specific debug dump for -+ * @p. -+ */ -+ void (*dump_task)(struct scx_dump_ctx *ctx, struct task_struct *p); -+ -+#ifdef CONFIG_EXT_GROUP_SCHED -+ /** -+ * cgroup_init - Initialize a cgroup -+ * @cgrp: cgroup being initialized -+ * @args: init arguments, see the struct definition -+ * -+ * Either the BPF scheduler is being loaded or @cgrp created, initialize -+ * @cgrp for sched_ext. This operation may block. -+ * -+ * Return 0 for success, -errno for failure. An error return while -+ * loading will abort loading of the BPF scheduler. During cgroup -+ * creation, it will abort the specific cgroup creation. -+ */ -+ s32 (*cgroup_init)(struct cgroup *cgrp, -+ struct scx_cgroup_init_args *args); -+ -+ /** -+ * cgroup_exit - Exit a cgroup -+ * @cgrp: cgroup being exited -+ * -+ * Either the BPF scheduler is being unloaded or @cgrp destroyed, exit -+ * @cgrp for sched_ext. This operation my block. -+ */ -+ void (*cgroup_exit)(struct cgroup *cgrp); -+ -+ /** -+ * cgroup_prep_move - Prepare a task to be moved to a different cgroup -+ * @p: task being moved -+ * @from: cgroup @p is being moved from -+ * @to: cgroup @p is being moved to -+ * -+ * Prepare @p for move from cgroup @from to @to. This operation may -+ * block and can be used for allocations. -+ * -+ * Return 0 for success, -errno for failure. An error return aborts the -+ * migration. -+ */ -+ s32 (*cgroup_prep_move)(struct task_struct *p, -+ struct cgroup *from, struct cgroup *to); -+ -+ /** -+ * cgroup_move - Commit cgroup move -+ * @p: task being moved -+ * @from: cgroup @p is being moved from -+ * @to: cgroup @p is being moved to -+ * -+ * Commit the move. @p is dequeued during this operation. -+ */ -+ void (*cgroup_move)(struct task_struct *p, -+ struct cgroup *from, struct cgroup *to); -+ -+ /** -+ * cgroup_cancel_move - Cancel cgroup move -+ * @p: task whose cgroup move is being canceled -+ * @from: cgroup @p was being moved from -+ * @to: cgroup @p was being moved to -+ * -+ * @p was cgroup_prep_move()'d but failed before reaching cgroup_move(). -+ * Undo the preparation. -+ */ -+ void (*cgroup_cancel_move)(struct task_struct *p, -+ struct cgroup *from, struct cgroup *to); -+ -+ /** -+ * cgroup_set_weight - A cgroup's weight is being changed -+ * @cgrp: cgroup whose weight is being updated -+ * @weight: new weight [1..10000] -+ * -+ * Update @tg's weight to @weight. -+ */ -+ void (*cgroup_set_weight)(struct cgroup *cgrp, u32 weight); -+#endif /* CONFIG_CGROUPS */ -+ -+ /* -+ * All online ops must come before ops.cpu_online(). -+ */ -+ -+ /** -+ * cpu_online - A CPU became online -+ * @cpu: CPU which just came up -+ * -+ * @cpu just came online. @cpu will not call ops.enqueue() or -+ * ops.dispatch(), nor run tasks associated with other CPUs beforehand. -+ */ -+ void (*cpu_online)(s32 cpu); -+ -+ /** -+ * cpu_offline - A CPU is going offline -+ * @cpu: CPU which is going offline -+ * -+ * @cpu is going offline. @cpu will not call ops.enqueue() or -+ * ops.dispatch(), nor run tasks associated with other CPUs afterwards. -+ */ -+ void (*cpu_offline)(s32 cpu); -+ -+ /* -+ * All CPU hotplug ops must come before ops.init(). -+ */ -+ -+ /** -+ * init - Initialize the BPF scheduler -+ */ -+ s32 (*init)(void); -+ -+ /** -+ * exit - Clean up after the BPF scheduler -+ * @info: Exit info -+ */ -+ void (*exit)(struct scx_exit_info *info); -+ -+ /** -+ * dispatch_max_batch - Max nr of tasks that dispatch() can dispatch -+ */ -+ u32 dispatch_max_batch; -+ -+ /** -+ * flags - %SCX_OPS_* flags -+ */ -+ u64 flags; -+ -+ /** -+ * timeout_ms - The maximum amount of time, in milliseconds, that a -+ * runnable task should be able to wait before being scheduled. The -+ * maximum timeout may not exceed the default timeout of 30 seconds. -+ * -+ * Defaults to the maximum allowed timeout value of 30 seconds. -+ */ -+ u32 timeout_ms; -+ -+ /** -+ * exit_dump_len - scx_exit_info.dump buffer length. If 0, the default -+ * value of 32768 is used. -+ */ -+ u32 exit_dump_len; -+ -+ /** -+ * hotplug_seq - A sequence number that may be set by the scheduler to -+ * detect when a hotplug event has occurred during the loading process. -+ * If 0, no detection occurs. Otherwise, the scheduler will fail to -+ * load if the sequence number does not match @scx_hotplug_seq on the -+ * enable path. -+ */ -+ u64 hotplug_seq; -+ -+ /** -+ * name - BPF scheduler's name -+ * -+ * Must be a non-zero valid BPF object name including only isalnum(), -+ * '_' and '.' chars. Shows up in kernel.sched_ext_ops sysctl while the -+ * BPF scheduler is enabled. -+ */ -+ char name[SCX_OPS_NAME_LEN]; -+}; -+ -+enum scx_opi { -+ SCX_OPI_BEGIN = 0, -+ SCX_OPI_NORMAL_BEGIN = 0, -+ SCX_OPI_NORMAL_END = SCX_OP_IDX(cpu_online), -+ SCX_OPI_CPU_HOTPLUG_BEGIN = SCX_OP_IDX(cpu_online), -+ SCX_OPI_CPU_HOTPLUG_END = SCX_OP_IDX(init), -+ SCX_OPI_END = SCX_OP_IDX(init), -+}; -+ -+enum scx_wake_flags { -+ /* expose select WF_* flags as enums */ -+ SCX_WAKE_FORK = WF_FORK, -+ SCX_WAKE_TTWU = WF_TTWU, -+ SCX_WAKE_SYNC = WF_SYNC, -+}; -+ -+enum scx_enq_flags { -+ /* expose select ENQUEUE_* flags as enums */ -+ SCX_ENQ_WAKEUP = ENQUEUE_WAKEUP, -+ SCX_ENQ_HEAD = ENQUEUE_HEAD, -+ -+ /* high 32bits are SCX specific */ -+ -+ /* -+ * Set the following to trigger preemption when calling -+ * scx_bpf_dispatch() with a local dsq as the target. The slice of the -+ * current task is cleared to zero and the CPU is kicked into the -+ * scheduling path. Implies %SCX_ENQ_HEAD. -+ */ -+ SCX_ENQ_PREEMPT = 1LLU << 32, -+ -+ /* -+ * The task being enqueued was previously enqueued on the current CPU's -+ * %SCX_DSQ_LOCAL, but was removed from it in a call to the -+ * bpf_scx_reenqueue_local() kfunc. If bpf_scx_reenqueue_local() was -+ * invoked in a ->cpu_release() callback, and the task is again -+ * dispatched back to %SCX_LOCAL_DSQ by this current ->enqueue(), the -+ * task will not be scheduled on the CPU until at least the next invocation -+ * of the ->cpu_acquire() callback. -+ */ -+ SCX_ENQ_REENQ = 1LLU << 40, -+ -+ /* -+ * The task being enqueued is the only task available for the cpu. By -+ * default, ext core keeps executing such tasks but when -+ * %SCX_OPS_ENQ_LAST is specified, they're ops.enqueue()'d with the -+ * %SCX_ENQ_LAST flag set. -+ * -+ * If the BPF scheduler wants to continue executing the task, -+ * ops.enqueue() should dispatch the task to %SCX_DSQ_LOCAL immediately. -+ * If the task gets queued on a different dsq or the BPF side, the BPF -+ * scheduler is responsible for triggering a follow-up scheduling event. -+ * Otherwise, Execution may stall. -+ */ -+ SCX_ENQ_LAST = 1LLU << 41, -+ -+ /* high 8 bits are internal */ -+ __SCX_ENQ_INTERNAL_MASK = 0xffLLU << 56, -+ -+ SCX_ENQ_CLEAR_OPSS = 1LLU << 56, -+ SCX_ENQ_DSQ_PRIQ = 1LLU << 57, -+}; -+ -+enum scx_deq_flags { -+ /* expose select DEQUEUE_* flags as enums */ -+ SCX_DEQ_SLEEP = DEQUEUE_SLEEP, -+ -+ /* high 32bits are SCX specific */ -+ -+ /* -+ * The generic core-sched layer decided to execute the task even though -+ * it hasn't been dispatched yet. Dequeue from the BPF side. -+ */ -+ SCX_DEQ_CORE_SCHED_EXEC = 1LLU << 32, -+}; -+ -+enum scx_pick_idle_cpu_flags { -+ SCX_PICK_IDLE_CORE = 1LLU << 0, /* pick a CPU whose SMT siblings are also idle */ -+}; -+ -+enum scx_kick_flags { -+ /* -+ * Kick the target CPU if idle. Guarantees that the target CPU goes -+ * through at least one full scheduling cycle before going idle. If the -+ * target CPU can be determined to be currently not idle and going to go -+ * through a scheduling cycle before going idle, noop. -+ */ -+ SCX_KICK_IDLE = 1LLU << 0, -+ -+ /* -+ * Preempt the current task and execute the dispatch path. If the -+ * current task of the target CPU is an SCX task, its ->scx.slice is -+ * cleared to zero before the scheduling path is invoked so that the -+ * task expires and the dispatch path is invoked. -+ */ -+ SCX_KICK_PREEMPT = 1LLU << 1, -+ -+ /* -+ * Wait for the CPU to be rescheduled. The scx_bpf_kick_cpu() call will -+ * return after the target CPU finishes picking the next task. -+ */ -+ SCX_KICK_WAIT = 1LLU << 2, -+}; -+ -+enum scx_tg_flags { -+ SCX_TG_ONLINE = 1U << 0, -+ SCX_TG_INITED = 1U << 1, -+}; -+ -+enum scx_ops_enable_state { -+ SCX_OPS_ENABLING, -+ SCX_OPS_ENABLED, -+ SCX_OPS_DISABLING, -+ SCX_OPS_DISABLED, -+}; -+ -+static const char *scx_ops_enable_state_str[] = { -+ [SCX_OPS_ENABLING] = "enabling", -+ [SCX_OPS_ENABLED] = "enabled", -+ [SCX_OPS_DISABLING] = "disabling", -+ [SCX_OPS_DISABLED] = "disabled", -+}; -+ -+/* -+ * sched_ext_entity->ops_state -+ * -+ * Used to track the task ownership between the SCX core and the BPF scheduler. -+ * State transitions look as follows: -+ * -+ * NONE -> QUEUEING -> QUEUED -> DISPATCHING -+ * ^ | | -+ * | v v -+ * \-------------------------------/ -+ * -+ * QUEUEING and DISPATCHING states can be waited upon. See wait_ops_state() call -+ * sites for explanations on the conditions being waited upon and why they are -+ * safe. Transitions out of them into NONE or QUEUED must store_release and the -+ * waiters should load_acquire. -+ * -+ * Tracking scx_ops_state enables sched_ext core to reliably determine whether -+ * any given task can be dispatched by the BPF scheduler at all times and thus -+ * relaxes the requirements on the BPF scheduler. This allows the BPF scheduler -+ * to try to dispatch any task anytime regardless of its state as the SCX core -+ * can safely reject invalid dispatches. -+ */ -+enum scx_ops_state { -+ SCX_OPSS_NONE, /* owned by the SCX core */ -+ SCX_OPSS_QUEUEING, /* in transit to the BPF scheduler */ -+ SCX_OPSS_QUEUED, /* owned by the BPF scheduler */ -+ SCX_OPSS_DISPATCHING, /* in transit back to the SCX core */ -+ -+ /* -+ * QSEQ brands each QUEUED instance so that, when dispatch races -+ * dequeue/requeue, the dispatcher can tell whether it still has a claim -+ * on the task being dispatched. -+ * -+ * As some 32bit archs can't do 64bit store_release/load_acquire, -+ * p->scx.ops_state is atomic_long_t which leaves 30 bits for QSEQ on -+ * 32bit machines. The dispatch race window QSEQ protects is very narrow -+ * and runs with IRQ disabled. 30 bits should be sufficient. -+ */ -+ SCX_OPSS_QSEQ_SHIFT = 2, -+}; -+ -+/* Use macros to ensure that the type is unsigned long for the masks */ -+#define SCX_OPSS_STATE_MASK ((1LU << SCX_OPSS_QSEQ_SHIFT) - 1) -+#define SCX_OPSS_QSEQ_MASK (~SCX_OPSS_STATE_MASK) -+ -+/* -+ * During exit, a task may schedule after losing its PIDs. When disabling the -+ * BPF scheduler, we need to be able to iterate tasks in every state to -+ * guarantee system safety. Maintain a dedicated task list which contains every -+ * task between its fork and eventual free. -+ */ -+static DEFINE_SPINLOCK(scx_tasks_lock); -+static LIST_HEAD(scx_tasks); -+ -+/* ops enable/disable */ -+static struct kthread_worker *scx_ops_helper; -+static DEFINE_MUTEX(scx_ops_enable_mutex); -+DEFINE_STATIC_KEY_FALSE(__scx_ops_enabled); -+DEFINE_STATIC_PERCPU_RWSEM(scx_fork_rwsem); -+static atomic_t scx_ops_enable_state_var = ATOMIC_INIT(SCX_OPS_DISABLED); -+static atomic_t scx_ops_bypass_depth = ATOMIC_INIT(0); -+static bool scx_ops_init_task_enabled; -+static bool scx_switching_all; -+DEFINE_STATIC_KEY_FALSE(__scx_switched_all); -+ -+static struct sched_ext_ops scx_ops; -+static bool scx_warned_zero_slice; -+ -+static DEFINE_STATIC_KEY_FALSE(scx_ops_enq_last); -+static DEFINE_STATIC_KEY_FALSE(scx_ops_enq_exiting); -+static DEFINE_STATIC_KEY_FALSE(scx_ops_cpu_preempt); -+static DEFINE_STATIC_KEY_FALSE(scx_builtin_idle_enabled); -+ -+static struct static_key_false scx_has_op[SCX_OPI_END] = -+ { [0 ... SCX_OPI_END-1] = STATIC_KEY_FALSE_INIT }; -+ -+static atomic_t scx_exit_kind = ATOMIC_INIT(SCX_EXIT_DONE); -+static struct scx_exit_info *scx_exit_info; -+ -+static atomic_long_t scx_nr_rejected = ATOMIC_LONG_INIT(0); -+static atomic_long_t scx_hotplug_seq = ATOMIC_LONG_INIT(0); -+ -+/* -+ * A monotically increasing sequence number that is incremented every time a -+ * scheduler is enabled. This can be used by to check if any custom sched_ext -+ * scheduler has ever been used in the system. -+ */ -+static atomic_long_t scx_enable_seq = ATOMIC_LONG_INIT(0); -+ -+/* -+ * The maximum amount of time in jiffies that a task may be runnable without -+ * being scheduled on a CPU. If this timeout is exceeded, it will trigger -+ * scx_ops_error(). -+ */ -+static unsigned long scx_watchdog_timeout; -+ -+/* -+ * The last time the delayed work was run. This delayed work relies on -+ * ksoftirqd being able to run to service timer interrupts, so it's possible -+ * that this work itself could get wedged. To account for this, we check that -+ * it's not stalled in the timer tick, and trigger an error if it is. -+ */ -+static unsigned long scx_watchdog_timestamp = INITIAL_JIFFIES; -+ -+static struct delayed_work scx_watchdog_work; -+ -+/* idle tracking */ -+#ifdef CONFIG_SMP -+#ifdef CONFIG_CPUMASK_OFFSTACK -+#define CL_ALIGNED_IF_ONSTACK -+#else -+#define CL_ALIGNED_IF_ONSTACK __cacheline_aligned_in_smp -+#endif -+ -+static struct { -+ cpumask_var_t cpu; -+ cpumask_var_t smt; -+} idle_masks CL_ALIGNED_IF_ONSTACK; -+ -+#endif /* CONFIG_SMP */ -+ -+/* for %SCX_KICK_WAIT */ -+static unsigned long __percpu *scx_kick_cpus_pnt_seqs; -+ -+/* -+ * Direct dispatch marker. -+ * -+ * Non-NULL values are used for direct dispatch from enqueue path. A valid -+ * pointer points to the task currently being enqueued. An ERR_PTR value is used -+ * to indicate that direct dispatch has already happened. -+ */ -+static DEFINE_PER_CPU(struct task_struct *, direct_dispatch_task); -+ -+/* -+ * Dispatch queues. -+ * -+ * The global DSQ (%SCX_DSQ_GLOBAL) is split per-node for scalability. This is -+ * to avoid live-locking in bypass mode where all tasks are dispatched to -+ * %SCX_DSQ_GLOBAL and all CPUs consume from it. If per-node split isn't -+ * sufficient, it can be further split. -+ */ -+static struct scx_dispatch_q **global_dsqs; -+ -+static const struct rhashtable_params dsq_hash_params = { -+ .key_len = 8, -+ .key_offset = offsetof(struct scx_dispatch_q, id), -+ .head_offset = offsetof(struct scx_dispatch_q, hash_node), -+}; -+ -+static struct rhashtable dsq_hash; -+static LLIST_HEAD(dsqs_to_free); -+ -+/* dispatch buf */ -+struct scx_dsp_buf_ent { -+ struct task_struct *task; -+ unsigned long qseq; -+ u64 dsq_id; -+ u64 enq_flags; -+}; -+ -+static u32 scx_dsp_max_batch; -+ -+struct scx_dsp_ctx { -+ struct rq *rq; -+ u32 cursor; -+ u32 nr_tasks; -+ struct scx_dsp_buf_ent buf[]; -+}; -+ -+static struct scx_dsp_ctx __percpu *scx_dsp_ctx; -+ -+/* string formatting from BPF */ -+struct scx_bstr_buf { -+ u64 data[MAX_BPRINTF_VARARGS]; -+ char line[SCX_EXIT_MSG_LEN]; -+}; -+ -+static DEFINE_RAW_SPINLOCK(scx_exit_bstr_buf_lock); -+static struct scx_bstr_buf scx_exit_bstr_buf; -+ -+/* ops debug dump */ -+struct scx_dump_data { -+ s32 cpu; -+ bool first; -+ s32 cursor; -+ struct seq_buf *s; -+ const char *prefix; -+ struct scx_bstr_buf buf; -+}; -+ -+static struct scx_dump_data scx_dump_data = { -+ .cpu = -1, -+}; -+ -+/* /sys/kernel/sched_ext interface */ -+static struct kset *scx_kset; -+static struct kobject *scx_root_kobj; -+ -+#define CREATE_TRACE_POINTS -+#include -+ -+static void process_ddsp_deferred_locals(struct rq *rq); -+static void scx_bpf_kick_cpu(s32 cpu, u64 flags); -+static __printf(3, 4) void scx_ops_exit_kind(enum scx_exit_kind kind, -+ s64 exit_code, -+ const char *fmt, ...); -+ -+#define scx_ops_error_kind(err, fmt, args...) \ -+ scx_ops_exit_kind((err), 0, fmt, ##args) -+ -+#define scx_ops_exit(code, fmt, args...) \ -+ scx_ops_exit_kind(SCX_EXIT_UNREG_KERN, (code), fmt, ##args) -+ -+#define scx_ops_error(fmt, args...) \ -+ scx_ops_error_kind(SCX_EXIT_ERROR, fmt, ##args) -+ -+#define SCX_HAS_OP(op) static_branch_likely(&scx_has_op[SCX_OP_IDX(op)]) -+ -+static long jiffies_delta_msecs(unsigned long at, unsigned long now) -+{ -+ if (time_after(at, now)) -+ return jiffies_to_msecs(at - now); -+ else -+ return -(long)jiffies_to_msecs(now - at); -+} -+ -+/* if the highest set bit is N, return a mask with bits [N+1, 31] set */ -+static u32 higher_bits(u32 flags) -+{ -+ return ~((1 << fls(flags)) - 1); -+} -+ -+/* return the mask with only the highest bit set */ -+static u32 highest_bit(u32 flags) -+{ -+ int bit = fls(flags); -+ return ((u64)1 << bit) >> 1; -+} -+ -+static bool u32_before(u32 a, u32 b) -+{ -+ return (s32)(a - b) < 0; -+} -+ -+static struct scx_dispatch_q *find_global_dsq(struct task_struct *p) -+{ -+ return global_dsqs[cpu_to_node(task_cpu(p))]; -+} -+ -+static struct scx_dispatch_q *find_user_dsq(u64 dsq_id) -+{ -+ return rhashtable_lookup_fast(&dsq_hash, &dsq_id, dsq_hash_params); -+} -+ -+/* -+ * scx_kf_mask enforcement. Some kfuncs can only be called from specific SCX -+ * ops. When invoking SCX ops, SCX_CALL_OP[_RET]() should be used to indicate -+ * the allowed kfuncs and those kfuncs should use scx_kf_allowed() to check -+ * whether it's running from an allowed context. -+ * -+ * @mask is constant, always inline to cull the mask calculations. -+ */ -+static __always_inline void scx_kf_allow(u32 mask) -+{ -+ /* nesting is allowed only in increasing scx_kf_mask order */ -+ WARN_ONCE((mask | higher_bits(mask)) & current->scx.kf_mask, -+ "invalid nesting current->scx.kf_mask=0x%x mask=0x%x\n", -+ current->scx.kf_mask, mask); -+ current->scx.kf_mask |= mask; -+ barrier(); -+} -+ -+static void scx_kf_disallow(u32 mask) -+{ -+ barrier(); -+ current->scx.kf_mask &= ~mask; -+} -+ -+#define SCX_CALL_OP(mask, op, args...) \ -+do { \ -+ if (mask) { \ -+ scx_kf_allow(mask); \ -+ scx_ops.op(args); \ -+ scx_kf_disallow(mask); \ -+ } else { \ -+ scx_ops.op(args); \ -+ } \ -+} while (0) -+ -+#define SCX_CALL_OP_RET(mask, op, args...) \ -+({ \ -+ __typeof__(scx_ops.op(args)) __ret; \ -+ if (mask) { \ -+ scx_kf_allow(mask); \ -+ __ret = scx_ops.op(args); \ -+ scx_kf_disallow(mask); \ -+ } else { \ -+ __ret = scx_ops.op(args); \ -+ } \ -+ __ret; \ -+}) -+ -+/* -+ * Some kfuncs are allowed only on the tasks that are subjects of the -+ * in-progress scx_ops operation for, e.g., locking guarantees. To enforce such -+ * restrictions, the following SCX_CALL_OP_*() variants should be used when -+ * invoking scx_ops operations that take task arguments. These can only be used -+ * for non-nesting operations due to the way the tasks are tracked. -+ * -+ * kfuncs which can only operate on such tasks can in turn use -+ * scx_kf_allowed_on_arg_tasks() to test whether the invocation is allowed on -+ * the specific task. -+ */ -+#define SCX_CALL_OP_TASK(mask, op, task, args...) \ -+do { \ -+ BUILD_BUG_ON((mask) & ~__SCX_KF_TERMINAL); \ -+ current->scx.kf_tasks[0] = task; \ -+ SCX_CALL_OP(mask, op, task, ##args); \ -+ current->scx.kf_tasks[0] = NULL; \ -+} while (0) -+ -+#define SCX_CALL_OP_TASK_RET(mask, op, task, args...) \ -+({ \ -+ __typeof__(scx_ops.op(task, ##args)) __ret; \ -+ BUILD_BUG_ON((mask) & ~__SCX_KF_TERMINAL); \ -+ current->scx.kf_tasks[0] = task; \ -+ __ret = SCX_CALL_OP_RET(mask, op, task, ##args); \ -+ current->scx.kf_tasks[0] = NULL; \ -+ __ret; \ -+}) -+ -+#define SCX_CALL_OP_2TASKS_RET(mask, op, task0, task1, args...) \ -+({ \ -+ __typeof__(scx_ops.op(task0, task1, ##args)) __ret; \ -+ BUILD_BUG_ON((mask) & ~__SCX_KF_TERMINAL); \ -+ current->scx.kf_tasks[0] = task0; \ -+ current->scx.kf_tasks[1] = task1; \ -+ __ret = SCX_CALL_OP_RET(mask, op, task0, task1, ##args); \ -+ current->scx.kf_tasks[0] = NULL; \ -+ current->scx.kf_tasks[1] = NULL; \ -+ __ret; \ -+}) -+ -+/* @mask is constant, always inline to cull unnecessary branches */ -+static __always_inline bool scx_kf_allowed(u32 mask) -+{ -+ if (unlikely(!(current->scx.kf_mask & mask))) { -+ scx_ops_error("kfunc with mask 0x%x called from an operation only allowing 0x%x", -+ mask, current->scx.kf_mask); -+ return false; -+ } -+ -+ /* -+ * Enforce nesting boundaries. e.g. A kfunc which can be called from -+ * DISPATCH must not be called if we're running DEQUEUE which is nested -+ * inside ops.dispatch(). We don't need to check boundaries for any -+ * blocking kfuncs as the verifier ensures they're only called from -+ * sleepable progs. -+ */ -+ if (unlikely(highest_bit(mask) == SCX_KF_CPU_RELEASE && -+ (current->scx.kf_mask & higher_bits(SCX_KF_CPU_RELEASE)))) { -+ scx_ops_error("cpu_release kfunc called from a nested operation"); -+ return false; -+ } -+ -+ if (unlikely(highest_bit(mask) == SCX_KF_DISPATCH && -+ (current->scx.kf_mask & higher_bits(SCX_KF_DISPATCH)))) { -+ scx_ops_error("dispatch kfunc called from a nested operation"); -+ return false; -+ } -+ -+ return true; -+} -+ -+/* see SCX_CALL_OP_TASK() */ -+static __always_inline bool scx_kf_allowed_on_arg_tasks(u32 mask, -+ struct task_struct *p) -+{ -+ if (!scx_kf_allowed(mask)) -+ return false; -+ -+ if (unlikely((p != current->scx.kf_tasks[0] && -+ p != current->scx.kf_tasks[1]))) { -+ scx_ops_error("called on a task not being operated on"); -+ return false; -+ } -+ -+ return true; -+} -+ -+static bool scx_kf_allowed_if_unlocked(void) -+{ -+ return !current->scx.kf_mask; -+} -+ -+/** -+ * nldsq_next_task - Iterate to the next task in a non-local DSQ -+ * @dsq: user dsq being interated -+ * @cur: current position, %NULL to start iteration -+ * @rev: walk backwards -+ * -+ * Returns %NULL when iteration is finished. -+ */ -+static struct task_struct *nldsq_next_task(struct scx_dispatch_q *dsq, -+ struct task_struct *cur, bool rev) -+{ -+ struct list_head *list_node; -+ struct scx_dsq_list_node *dsq_lnode; -+ -+ lockdep_assert_held(&dsq->lock); -+ -+ if (cur) -+ list_node = &cur->scx.dsq_list.node; -+ else -+ list_node = &dsq->list; -+ -+ /* find the next task, need to skip BPF iteration cursors */ -+ do { -+ if (rev) -+ list_node = list_node->prev; -+ else -+ list_node = list_node->next; -+ -+ if (list_node == &dsq->list) -+ return NULL; -+ -+ dsq_lnode = container_of(list_node, struct scx_dsq_list_node, -+ node); -+ } while (dsq_lnode->flags & SCX_DSQ_LNODE_ITER_CURSOR); -+ -+ return container_of(dsq_lnode, struct task_struct, scx.dsq_list); -+} -+ -+#define nldsq_for_each_task(p, dsq) \ -+ for ((p) = nldsq_next_task((dsq), NULL, false); (p); \ -+ (p) = nldsq_next_task((dsq), (p), false)) -+ -+ -+/* -+ * BPF DSQ iterator. Tasks in a non-local DSQ can be iterated in [reverse] -+ * dispatch order. BPF-visible iterator is opaque and larger to allow future -+ * changes without breaking backward compatibility. Can be used with -+ * bpf_for_each(). See bpf_iter_scx_dsq_*(). -+ */ -+enum scx_dsq_iter_flags { -+ /* iterate in the reverse dispatch order */ -+ SCX_DSQ_ITER_REV = 1U << 16, -+ -+ __SCX_DSQ_ITER_HAS_SLICE = 1U << 30, -+ __SCX_DSQ_ITER_HAS_VTIME = 1U << 31, -+ -+ __SCX_DSQ_ITER_USER_FLAGS = SCX_DSQ_ITER_REV, -+ __SCX_DSQ_ITER_ALL_FLAGS = __SCX_DSQ_ITER_USER_FLAGS | -+ __SCX_DSQ_ITER_HAS_SLICE | -+ __SCX_DSQ_ITER_HAS_VTIME, -+}; -+ -+struct bpf_iter_scx_dsq_kern { -+ struct scx_dsq_list_node cursor; -+ struct scx_dispatch_q *dsq; -+ u64 slice; -+ u64 vtime; -+} __attribute__((aligned(8))); -+ -+struct bpf_iter_scx_dsq { -+ u64 __opaque[6]; -+} __attribute__((aligned(8))); -+ -+ -+/* -+ * SCX task iterator. -+ */ -+struct scx_task_iter { -+ struct sched_ext_entity cursor; -+ struct task_struct *locked; -+ struct rq *rq; -+ struct rq_flags rf; -+ u32 cnt; -+}; -+ -+/** -+ * scx_task_iter_start - Lock scx_tasks_lock and start a task iteration -+ * @iter: iterator to init -+ * -+ * Initialize @iter and return with scx_tasks_lock held. Once initialized, @iter -+ * must eventually be stopped with scx_task_iter_stop(). -+ * -+ * scx_tasks_lock and the rq lock may be released using scx_task_iter_unlock() -+ * between this and the first next() call or between any two next() calls. If -+ * the locks are released between two next() calls, the caller is responsible -+ * for ensuring that the task being iterated remains accessible either through -+ * RCU read lock or obtaining a reference count. -+ * -+ * All tasks which existed when the iteration started are guaranteed to be -+ * visited as long as they still exist. -+ */ -+static void scx_task_iter_start(struct scx_task_iter *iter) -+{ -+ BUILD_BUG_ON(__SCX_DSQ_ITER_ALL_FLAGS & -+ ((1U << __SCX_DSQ_LNODE_PRIV_SHIFT) - 1)); -+ -+ spin_lock_irq(&scx_tasks_lock); -+ -+ iter->cursor = (struct sched_ext_entity){ .flags = SCX_TASK_CURSOR }; -+ list_add(&iter->cursor.tasks_node, &scx_tasks); -+ iter->locked = NULL; -+ iter->cnt = 0; -+} -+ -+static void __scx_task_iter_rq_unlock(struct scx_task_iter *iter) -+{ -+ if (iter->locked) { -+ task_rq_unlock(iter->rq, iter->locked, &iter->rf); -+ iter->locked = NULL; -+ } -+} -+ -+/** -+ * scx_task_iter_unlock - Unlock rq and scx_tasks_lock held by a task iterator -+ * @iter: iterator to unlock -+ * -+ * If @iter is in the middle of a locked iteration, it may be locking the rq of -+ * the task currently being visited in addition to scx_tasks_lock. Unlock both. -+ * This function can be safely called anytime during an iteration. -+ */ -+static void scx_task_iter_unlock(struct scx_task_iter *iter) -+{ -+ __scx_task_iter_rq_unlock(iter); -+ spin_unlock_irq(&scx_tasks_lock); -+} -+ -+/** -+ * scx_task_iter_relock - Lock scx_tasks_lock released by scx_task_iter_unlock() -+ * @iter: iterator to re-lock -+ * -+ * Re-lock scx_tasks_lock unlocked by scx_task_iter_unlock(). Note that it -+ * doesn't re-lock the rq lock. Must be called before other iterator operations. -+ */ -+static void scx_task_iter_relock(struct scx_task_iter *iter) -+{ -+ spin_lock_irq(&scx_tasks_lock); -+} -+ -+/** -+ * scx_task_iter_stop - Stop a task iteration and unlock scx_tasks_lock -+ * @iter: iterator to exit -+ * -+ * Exit a previously initialized @iter. Must be called with scx_tasks_lock held -+ * which is released on return. If the iterator holds a task's rq lock, that rq -+ * lock is also released. See scx_task_iter_start() for details. -+ */ -+static void scx_task_iter_stop(struct scx_task_iter *iter) -+{ -+ list_del_init(&iter->cursor.tasks_node); -+ scx_task_iter_unlock(iter); -+} -+ -+/** -+ * scx_task_iter_next - Next task -+ * @iter: iterator to walk -+ * -+ * Visit the next task. See scx_task_iter_start() for details. Locks are dropped -+ * and re-acquired every %SCX_OPS_TASK_ITER_BATCH iterations to avoid causing -+ * stalls by holding scx_tasks_lock for too long. -+ */ -+static struct task_struct *scx_task_iter_next(struct scx_task_iter *iter) -+{ -+ struct list_head *cursor = &iter->cursor.tasks_node; -+ struct sched_ext_entity *pos; -+ -+ if (!(++iter->cnt % SCX_OPS_TASK_ITER_BATCH)) { -+ scx_task_iter_unlock(iter); -+ cpu_relax(); -+ cond_resched(); -+ scx_task_iter_relock(iter); -+ } -+ -+ list_for_each_entry(pos, cursor, tasks_node) { -+ if (&pos->tasks_node == &scx_tasks) -+ return NULL; -+ if (!(pos->flags & SCX_TASK_CURSOR)) { -+ list_move(cursor, &pos->tasks_node); -+ return container_of(pos, struct task_struct, scx); -+ } -+ } -+ -+ /* can't happen, should always terminate at scx_tasks above */ -+ BUG(); -+} -+ -+/** -+ * scx_task_iter_next_locked - Next non-idle task with its rq locked -+ * @iter: iterator to walk -+ * @include_dead: Whether we should include dead tasks in the iteration -+ * -+ * Visit the non-idle task with its rq lock held. Allows callers to specify -+ * whether they would like to filter out dead tasks. See scx_task_iter_start() -+ * for details. -+ */ -+static struct task_struct *scx_task_iter_next_locked(struct scx_task_iter *iter) -+{ -+ struct task_struct *p; -+ -+ __scx_task_iter_rq_unlock(iter); -+ -+ while ((p = scx_task_iter_next(iter))) { -+ /* -+ * scx_task_iter is used to prepare and move tasks into SCX -+ * while loading the BPF scheduler and vice-versa while -+ * unloading. The init_tasks ("swappers") should be excluded -+ * from the iteration because: -+ * -+ * - It's unsafe to use __setschduler_prio() on an init_task to -+ * determine the sched_class to use as it won't preserve its -+ * idle_sched_class. -+ * -+ * - ops.init/exit_task() can easily be confused if called with -+ * init_tasks as they, e.g., share PID 0. -+ * -+ * As init_tasks are never scheduled through SCX, they can be -+ * skipped safely. Note that is_idle_task() which tests %PF_IDLE -+ * doesn't work here: -+ * -+ * - %PF_IDLE may not be set for an init_task whose CPU hasn't -+ * yet been onlined. -+ * -+ * - %PF_IDLE can be set on tasks that are not init_tasks. See -+ * play_idle_precise() used by CONFIG_IDLE_INJECT. -+ * -+ * Test for idle_sched_class as only init_tasks are on it. -+ */ -+ if (p->sched_class != &idle_sched_class) -+ break; -+ } -+ if (!p) -+ return NULL; -+ -+ iter->rq = task_rq_lock(p, &iter->rf); -+ iter->locked = p; -+ -+ return p; -+} -+ -+static enum scx_ops_enable_state scx_ops_enable_state(void) -+{ -+ return atomic_read(&scx_ops_enable_state_var); -+} -+ -+static enum scx_ops_enable_state -+scx_ops_set_enable_state(enum scx_ops_enable_state to) -+{ -+ return atomic_xchg(&scx_ops_enable_state_var, to); -+} -+ -+static bool scx_ops_tryset_enable_state(enum scx_ops_enable_state to, -+ enum scx_ops_enable_state from) -+{ -+ int from_v = from; -+ -+ return atomic_try_cmpxchg(&scx_ops_enable_state_var, &from_v, to); -+} -+ -+static bool scx_rq_bypassing(struct rq *rq) -+{ -+ return unlikely(rq->scx.flags & SCX_RQ_BYPASSING); -+} -+ -+/** -+ * wait_ops_state - Busy-wait the specified ops state to end -+ * @p: target task -+ * @opss: state to wait the end of -+ * -+ * Busy-wait for @p to transition out of @opss. This can only be used when the -+ * state part of @opss is %SCX_QUEUEING or %SCX_DISPATCHING. This function also -+ * has load_acquire semantics to ensure that the caller can see the updates made -+ * in the enqueueing and dispatching paths. -+ */ -+static void wait_ops_state(struct task_struct *p, unsigned long opss) -+{ -+ do { -+ cpu_relax(); -+ } while (atomic_long_read_acquire(&p->scx.ops_state) == opss); -+} -+ -+/** -+ * ops_cpu_valid - Verify a cpu number -+ * @cpu: cpu number which came from a BPF ops -+ * @where: extra information reported on error -+ * -+ * @cpu is a cpu number which came from the BPF scheduler and can be any value. -+ * Verify that it is in range and one of the possible cpus. If invalid, trigger -+ * an ops error. -+ */ -+static bool ops_cpu_valid(s32 cpu, const char *where) -+{ -+ if (likely(cpu >= 0 && cpu < nr_cpu_ids && cpu_possible(cpu))) { -+ return true; -+ } else { -+ scx_ops_error("invalid CPU %d%s%s", cpu, -+ where ? " " : "", where ?: ""); -+ return false; -+ } -+} -+ -+/** -+ * ops_sanitize_err - Sanitize a -errno value -+ * @ops_name: operation to blame on failure -+ * @err: -errno value to sanitize -+ * -+ * Verify @err is a valid -errno. If not, trigger scx_ops_error() and return -+ * -%EPROTO. This is necessary because returning a rogue -errno up the chain can -+ * cause misbehaviors. For an example, a large negative return from -+ * ops.init_task() triggers an oops when passed up the call chain because the -+ * value fails IS_ERR() test after being encoded with ERR_PTR() and then is -+ * handled as a pointer. -+ */ -+static int ops_sanitize_err(const char *ops_name, s32 err) -+{ -+ if (err < 0 && err >= -MAX_ERRNO) -+ return err; -+ -+ scx_ops_error("ops.%s() returned an invalid errno %d", ops_name, err); -+ return -EPROTO; -+} -+ -+static void run_deferred(struct rq *rq) -+{ -+ process_ddsp_deferred_locals(rq); -+} -+ -+#ifdef CONFIG_SMP -+static void deferred_bal_cb_workfn(struct rq *rq) -+{ -+ run_deferred(rq); -+} -+#endif -+ -+static void deferred_irq_workfn(struct irq_work *irq_work) -+{ -+ struct rq *rq = container_of(irq_work, struct rq, scx.deferred_irq_work); -+ -+ raw_spin_rq_lock(rq); -+ run_deferred(rq); -+ raw_spin_rq_unlock(rq); -+} -+ -+/** -+ * schedule_deferred - Schedule execution of deferred actions on an rq -+ * @rq: target rq -+ * -+ * Schedule execution of deferred actions on @rq. Must be called with @rq -+ * locked. Deferred actions are executed with @rq locked but unpinned, and thus -+ * can unlock @rq to e.g. migrate tasks to other rqs. -+ */ -+static void schedule_deferred(struct rq *rq) -+{ -+ lockdep_assert_rq_held(rq); -+ -+#ifdef CONFIG_SMP -+ /* -+ * If in the middle of waking up a task, task_woken_scx() will be called -+ * afterwards which will then run the deferred actions, no need to -+ * schedule anything. -+ */ -+ if (rq->scx.flags & SCX_RQ_IN_WAKEUP) -+ return; -+ -+ /* -+ * If in balance, the balance callbacks will be called before rq lock is -+ * released. Schedule one. -+ */ -+ if (rq->scx.flags & SCX_RQ_IN_BALANCE) { -+ queue_balance_callback(rq, &rq->scx.deferred_bal_cb, -+ deferred_bal_cb_workfn); -+ return; -+ } -+#endif -+ /* -+ * No scheduler hooks available. Queue an irq work. They are executed on -+ * IRQ re-enable which may take a bit longer than the scheduler hooks. -+ * The above WAKEUP and BALANCE paths should cover most of the cases and -+ * the time to IRQ re-enable shouldn't be long. -+ */ -+ irq_work_queue(&rq->scx.deferred_irq_work); -+} -+ -+/** -+ * touch_core_sched - Update timestamp used for core-sched task ordering -+ * @rq: rq to read clock from, must be locked -+ * @p: task to update the timestamp for -+ * -+ * Update @p->scx.core_sched_at timestamp. This is used by scx_prio_less() to -+ * implement global or local-DSQ FIFO ordering for core-sched. Should be called -+ * when a task becomes runnable and its turn on the CPU ends (e.g. slice -+ * exhaustion). -+ */ -+static void touch_core_sched(struct rq *rq, struct task_struct *p) -+{ -+ lockdep_assert_rq_held(rq); -+ -+#ifdef CONFIG_SCHED_CORE -+ /* -+ * It's okay to update the timestamp spuriously. Use -+ * sched_core_disabled() which is cheaper than enabled(). -+ * -+ * As this is used to determine ordering between tasks of sibling CPUs, -+ * it may be better to use per-core dispatch sequence instead. -+ */ -+ if (!sched_core_disabled()) -+ p->scx.core_sched_at = sched_clock_cpu(cpu_of(rq)); -+#endif -+} -+ -+/** -+ * touch_core_sched_dispatch - Update core-sched timestamp on dispatch -+ * @rq: rq to read clock from, must be locked -+ * @p: task being dispatched -+ * -+ * If the BPF scheduler implements custom core-sched ordering via -+ * ops.core_sched_before(), @p->scx.core_sched_at is used to implement FIFO -+ * ordering within each local DSQ. This function is called from dispatch paths -+ * and updates @p->scx.core_sched_at if custom core-sched ordering is in effect. -+ */ -+static void touch_core_sched_dispatch(struct rq *rq, struct task_struct *p) -+{ -+ lockdep_assert_rq_held(rq); -+ -+#ifdef CONFIG_SCHED_CORE -+ if (SCX_HAS_OP(core_sched_before)) -+ touch_core_sched(rq, p); -+#endif -+} -+ -+static void update_curr_scx(struct rq *rq) -+{ -+ struct task_struct *curr = rq->curr; -+ s64 delta_exec; -+ -+ delta_exec = update_curr_common(rq); -+ if (unlikely(delta_exec <= 0)) -+ return; -+ -+ if (curr->scx.slice != SCX_SLICE_INF) { -+ curr->scx.slice -= min_t(u64, curr->scx.slice, delta_exec); -+ if (!curr->scx.slice) -+ touch_core_sched(rq, curr); -+ } -+} -+ -+static bool scx_dsq_priq_less(struct rb_node *node_a, -+ const struct rb_node *node_b) -+{ -+ const struct task_struct *a = -+ container_of(node_a, struct task_struct, scx.dsq_priq); -+ const struct task_struct *b = -+ container_of(node_b, struct task_struct, scx.dsq_priq); -+ -+ return time_before64(a->scx.dsq_vtime, b->scx.dsq_vtime); -+} -+ -+static void dsq_mod_nr(struct scx_dispatch_q *dsq, s32 delta) -+{ -+ /* scx_bpf_dsq_nr_queued() reads ->nr without locking, use WRITE_ONCE() */ -+ WRITE_ONCE(dsq->nr, dsq->nr + delta); -+} -+ -+static void dispatch_enqueue(struct scx_dispatch_q *dsq, struct task_struct *p, -+ u64 enq_flags) -+{ -+ bool is_local = dsq->id == SCX_DSQ_LOCAL; -+ -+ WARN_ON_ONCE(p->scx.dsq || !list_empty(&p->scx.dsq_list.node)); -+ WARN_ON_ONCE((p->scx.dsq_flags & SCX_TASK_DSQ_ON_PRIQ) || -+ !RB_EMPTY_NODE(&p->scx.dsq_priq)); -+ -+ if (!is_local) { -+ raw_spin_lock(&dsq->lock); -+ if (unlikely(dsq->id == SCX_DSQ_INVALID)) { -+ scx_ops_error("attempting to dispatch to a destroyed dsq"); -+ /* fall back to the global dsq */ -+ raw_spin_unlock(&dsq->lock); -+ dsq = find_global_dsq(p); -+ raw_spin_lock(&dsq->lock); -+ } -+ } -+ -+ if (unlikely((dsq->id & SCX_DSQ_FLAG_BUILTIN) && -+ (enq_flags & SCX_ENQ_DSQ_PRIQ))) { -+ /* -+ * SCX_DSQ_LOCAL and SCX_DSQ_GLOBAL DSQs always consume from -+ * their FIFO queues. To avoid confusion and accidentally -+ * starving vtime-dispatched tasks by FIFO-dispatched tasks, we -+ * disallow any internal DSQ from doing vtime ordering of -+ * tasks. -+ */ -+ scx_ops_error("cannot use vtime ordering for built-in DSQs"); -+ enq_flags &= ~SCX_ENQ_DSQ_PRIQ; -+ } -+ -+ if (enq_flags & SCX_ENQ_DSQ_PRIQ) { -+ struct rb_node *rbp; -+ -+ /* -+ * A PRIQ DSQ shouldn't be using FIFO enqueueing. As tasks are -+ * linked to both the rbtree and list on PRIQs, this can only be -+ * tested easily when adding the first task. -+ */ -+ if (unlikely(RB_EMPTY_ROOT(&dsq->priq) && -+ nldsq_next_task(dsq, NULL, false))) -+ scx_ops_error("DSQ ID 0x%016llx already had FIFO-enqueued tasks", -+ dsq->id); -+ -+ p->scx.dsq_flags |= SCX_TASK_DSQ_ON_PRIQ; -+ rb_add(&p->scx.dsq_priq, &dsq->priq, scx_dsq_priq_less); -+ -+ /* -+ * Find the previous task and insert after it on the list so -+ * that @dsq->list is vtime ordered. -+ */ -+ rbp = rb_prev(&p->scx.dsq_priq); -+ if (rbp) { -+ struct task_struct *prev = -+ container_of(rbp, struct task_struct, -+ scx.dsq_priq); -+ list_add(&p->scx.dsq_list.node, &prev->scx.dsq_list.node); -+ } else { -+ list_add(&p->scx.dsq_list.node, &dsq->list); -+ } -+ } else { -+ /* a FIFO DSQ shouldn't be using PRIQ enqueuing */ -+ if (unlikely(!RB_EMPTY_ROOT(&dsq->priq))) -+ scx_ops_error("DSQ ID 0x%016llx already had PRIQ-enqueued tasks", -+ dsq->id); -+ -+ if (enq_flags & (SCX_ENQ_HEAD | SCX_ENQ_PREEMPT)) -+ list_add(&p->scx.dsq_list.node, &dsq->list); -+ else -+ list_add_tail(&p->scx.dsq_list.node, &dsq->list); -+ } -+ -+ /* seq records the order tasks are queued, used by BPF DSQ iterator */ -+ dsq->seq++; -+ p->scx.dsq_seq = dsq->seq; -+ -+ dsq_mod_nr(dsq, 1); -+ p->scx.dsq = dsq; -+ -+ /* -+ * scx.ddsp_dsq_id and scx.ddsp_enq_flags are only relevant on the -+ * direct dispatch path, but we clear them here because the direct -+ * dispatch verdict may be overridden on the enqueue path during e.g. -+ * bypass. -+ */ -+ p->scx.ddsp_dsq_id = SCX_DSQ_INVALID; -+ p->scx.ddsp_enq_flags = 0; -+ -+ /* -+ * We're transitioning out of QUEUEING or DISPATCHING. store_release to -+ * match waiters' load_acquire. -+ */ -+ if (enq_flags & SCX_ENQ_CLEAR_OPSS) -+ atomic_long_set_release(&p->scx.ops_state, SCX_OPSS_NONE); -+ -+ if (is_local) { -+ struct rq *rq = container_of(dsq, struct rq, scx.local_dsq); -+ bool preempt = false; -+ -+ if ((enq_flags & SCX_ENQ_PREEMPT) && p != rq->curr && -+ rq->curr->sched_class == &ext_sched_class) { -+ rq->curr->scx.slice = 0; -+ preempt = true; -+ } -+ -+ if (preempt || sched_class_above(&ext_sched_class, -+ rq->curr->sched_class)) -+ resched_curr(rq); -+ } else { -+ raw_spin_unlock(&dsq->lock); -+ } -+} -+ -+static void task_unlink_from_dsq(struct task_struct *p, -+ struct scx_dispatch_q *dsq) -+{ -+ WARN_ON_ONCE(list_empty(&p->scx.dsq_list.node)); -+ -+ if (p->scx.dsq_flags & SCX_TASK_DSQ_ON_PRIQ) { -+ rb_erase(&p->scx.dsq_priq, &dsq->priq); -+ RB_CLEAR_NODE(&p->scx.dsq_priq); -+ p->scx.dsq_flags &= ~SCX_TASK_DSQ_ON_PRIQ; -+ } -+ -+ list_del_init(&p->scx.dsq_list.node); -+ dsq_mod_nr(dsq, -1); -+} -+ -+static void dispatch_dequeue(struct rq *rq, struct task_struct *p) -+{ -+ struct scx_dispatch_q *dsq = p->scx.dsq; -+ bool is_local = dsq == &rq->scx.local_dsq; -+ -+ if (!dsq) { -+ /* -+ * If !dsq && on-list, @p is on @rq's ddsp_deferred_locals. -+ * Unlinking is all that's needed to cancel. -+ */ -+ if (unlikely(!list_empty(&p->scx.dsq_list.node))) -+ list_del_init(&p->scx.dsq_list.node); -+ -+ /* -+ * When dispatching directly from the BPF scheduler to a local -+ * DSQ, the task isn't associated with any DSQ but -+ * @p->scx.holding_cpu may be set under the protection of -+ * %SCX_OPSS_DISPATCHING. -+ */ -+ if (p->scx.holding_cpu >= 0) -+ p->scx.holding_cpu = -1; -+ -+ return; -+ } -+ -+ if (!is_local) -+ raw_spin_lock(&dsq->lock); -+ -+ /* -+ * Now that we hold @dsq->lock, @p->holding_cpu and @p->scx.dsq_* can't -+ * change underneath us. -+ */ -+ if (p->scx.holding_cpu < 0) { -+ /* @p must still be on @dsq, dequeue */ -+ task_unlink_from_dsq(p, dsq); -+ } else { -+ /* -+ * We're racing against dispatch_to_local_dsq() which already -+ * removed @p from @dsq and set @p->scx.holding_cpu. Clear the -+ * holding_cpu which tells dispatch_to_local_dsq() that it lost -+ * the race. -+ */ -+ WARN_ON_ONCE(!list_empty(&p->scx.dsq_list.node)); -+ p->scx.holding_cpu = -1; -+ } -+ p->scx.dsq = NULL; -+ -+ if (!is_local) -+ raw_spin_unlock(&dsq->lock); -+} -+ -+static struct scx_dispatch_q *find_dsq_for_dispatch(struct rq *rq, u64 dsq_id, -+ struct task_struct *p) -+{ -+ struct scx_dispatch_q *dsq; -+ -+ if (dsq_id == SCX_DSQ_LOCAL) -+ return &rq->scx.local_dsq; -+ -+ if ((dsq_id & SCX_DSQ_LOCAL_ON) == SCX_DSQ_LOCAL_ON) { -+ s32 cpu = dsq_id & SCX_DSQ_LOCAL_CPU_MASK; -+ -+ if (!ops_cpu_valid(cpu, "in SCX_DSQ_LOCAL_ON dispatch verdict")) -+ return find_global_dsq(p); -+ -+ return &cpu_rq(cpu)->scx.local_dsq; -+ } -+ -+ if (dsq_id == SCX_DSQ_GLOBAL) -+ dsq = find_global_dsq(p); -+ else -+ dsq = find_user_dsq(dsq_id); -+ -+ if (unlikely(!dsq)) { -+ scx_ops_error("non-existent DSQ 0x%llx for %s[%d]", -+ dsq_id, p->comm, p->pid); -+ return find_global_dsq(p); -+ } -+ -+ return dsq; -+} -+ -+static void mark_direct_dispatch(struct task_struct *ddsp_task, -+ struct task_struct *p, u64 dsq_id, -+ u64 enq_flags) -+{ -+ /* -+ * Mark that dispatch already happened from ops.select_cpu() or -+ * ops.enqueue() by spoiling direct_dispatch_task with a non-NULL value -+ * which can never match a valid task pointer. -+ */ -+ __this_cpu_write(direct_dispatch_task, ERR_PTR(-ESRCH)); -+ -+ /* @p must match the task on the enqueue path */ -+ if (unlikely(p != ddsp_task)) { -+ if (IS_ERR(ddsp_task)) -+ scx_ops_error("%s[%d] already direct-dispatched", -+ p->comm, p->pid); -+ else -+ scx_ops_error("scheduling for %s[%d] but trying to direct-dispatch %s[%d]", -+ ddsp_task->comm, ddsp_task->pid, -+ p->comm, p->pid); -+ return; -+ } -+ -+ WARN_ON_ONCE(p->scx.ddsp_dsq_id != SCX_DSQ_INVALID); -+ WARN_ON_ONCE(p->scx.ddsp_enq_flags); -+ -+ p->scx.ddsp_dsq_id = dsq_id; -+ p->scx.ddsp_enq_flags = enq_flags; -+} -+ -+static void direct_dispatch(struct task_struct *p, u64 enq_flags) -+{ -+ struct rq *rq = task_rq(p); -+ struct scx_dispatch_q *dsq = -+ find_dsq_for_dispatch(rq, p->scx.ddsp_dsq_id, p); -+ -+ touch_core_sched_dispatch(rq, p); -+ -+ p->scx.ddsp_enq_flags |= enq_flags; -+ -+ /* -+ * We are in the enqueue path with @rq locked and pinned, and thus can't -+ * double lock a remote rq and enqueue to its local DSQ. For -+ * DSQ_LOCAL_ON verdicts targeting the local DSQ of a remote CPU, defer -+ * the enqueue so that it's executed when @rq can be unlocked. -+ */ -+ if (dsq->id == SCX_DSQ_LOCAL && dsq != &rq->scx.local_dsq) { -+ unsigned long opss; -+ -+ opss = atomic_long_read(&p->scx.ops_state) & SCX_OPSS_STATE_MASK; -+ -+ switch (opss & SCX_OPSS_STATE_MASK) { -+ case SCX_OPSS_NONE: -+ break; -+ case SCX_OPSS_QUEUEING: -+ /* -+ * As @p was never passed to the BPF side, _release is -+ * not strictly necessary. Still do it for consistency. -+ */ -+ atomic_long_set_release(&p->scx.ops_state, SCX_OPSS_NONE); -+ break; -+ default: -+ WARN_ONCE(true, "sched_ext: %s[%d] has invalid ops state 0x%lx in direct_dispatch()", -+ p->comm, p->pid, opss); -+ atomic_long_set_release(&p->scx.ops_state, SCX_OPSS_NONE); -+ break; -+ } -+ -+ WARN_ON_ONCE(p->scx.dsq || !list_empty(&p->scx.dsq_list.node)); -+ list_add_tail(&p->scx.dsq_list.node, -+ &rq->scx.ddsp_deferred_locals); -+ schedule_deferred(rq); -+ return; -+ } -+ -+ dispatch_enqueue(dsq, p, p->scx.ddsp_enq_flags | SCX_ENQ_CLEAR_OPSS); -+} -+ -+static bool scx_rq_online(struct rq *rq) -+{ -+ /* -+ * Test both cpu_active() and %SCX_RQ_ONLINE. %SCX_RQ_ONLINE indicates -+ * the online state as seen from the BPF scheduler. cpu_active() test -+ * guarantees that, if this function returns %true, %SCX_RQ_ONLINE will -+ * stay set until the current scheduling operation is complete even if -+ * we aren't locking @rq. -+ */ -+ return likely((rq->scx.flags & SCX_RQ_ONLINE) && cpu_active(cpu_of(rq))); -+} -+ -+static void do_enqueue_task(struct rq *rq, struct task_struct *p, u64 enq_flags, -+ int sticky_cpu) -+{ -+ struct task_struct **ddsp_taskp; -+ unsigned long qseq; -+ -+ WARN_ON_ONCE(!(p->scx.flags & SCX_TASK_QUEUED)); -+ -+ /* rq migration */ -+ if (sticky_cpu == cpu_of(rq)) -+ goto local_norefill; -+ -+ /* -+ * If !scx_rq_online(), we already told the BPF scheduler that the CPU -+ * is offline and are just running the hotplug path. Don't bother the -+ * BPF scheduler. -+ */ -+ if (!scx_rq_online(rq)) -+ goto local; -+ -+ if (scx_rq_bypassing(rq)) { -+ if (enq_flags & SCX_ENQ_LAST) -+ goto local; -+ else -+ goto global; -+ } -+ -+ if (p->scx.ddsp_dsq_id != SCX_DSQ_INVALID) -+ goto direct; -+ -+ /* see %SCX_OPS_ENQ_EXITING */ -+ if (!static_branch_unlikely(&scx_ops_enq_exiting) && -+ unlikely(p->flags & PF_EXITING)) -+ goto local; -+ -+ /* see %SCX_OPS_ENQ_LAST */ -+ if (!static_branch_unlikely(&scx_ops_enq_last) && -+ (enq_flags & SCX_ENQ_LAST)) -+ goto local; -+ -+ if (!SCX_HAS_OP(enqueue)) -+ goto global; -+ -+ /* DSQ bypass didn't trigger, enqueue on the BPF scheduler */ -+ qseq = rq->scx.ops_qseq++ << SCX_OPSS_QSEQ_SHIFT; -+ -+ WARN_ON_ONCE(atomic_long_read(&p->scx.ops_state) != SCX_OPSS_NONE); -+ atomic_long_set(&p->scx.ops_state, SCX_OPSS_QUEUEING | qseq); -+ -+ ddsp_taskp = this_cpu_ptr(&direct_dispatch_task); -+ WARN_ON_ONCE(*ddsp_taskp); -+ *ddsp_taskp = p; -+ -+ SCX_CALL_OP_TASK(SCX_KF_ENQUEUE, enqueue, p, enq_flags); -+ -+ *ddsp_taskp = NULL; -+ if (p->scx.ddsp_dsq_id != SCX_DSQ_INVALID) -+ goto direct; -+ -+ /* -+ * If not directly dispatched, QUEUEING isn't clear yet and dispatch or -+ * dequeue may be waiting. The store_release matches their load_acquire. -+ */ -+ atomic_long_set_release(&p->scx.ops_state, SCX_OPSS_QUEUED | qseq); -+ return; -+ -+direct: -+ direct_dispatch(p, enq_flags); -+ return; -+ -+local: -+ /* -+ * For task-ordering, slice refill must be treated as implying the end -+ * of the current slice. Otherwise, the longer @p stays on the CPU, the -+ * higher priority it becomes from scx_prio_less()'s POV. -+ */ -+ touch_core_sched(rq, p); -+ p->scx.slice = SCX_SLICE_DFL; -+local_norefill: -+ dispatch_enqueue(&rq->scx.local_dsq, p, enq_flags); -+ return; -+ -+global: -+ touch_core_sched(rq, p); /* see the comment in local: */ -+ p->scx.slice = SCX_SLICE_DFL; -+ dispatch_enqueue(find_global_dsq(p), p, enq_flags); -+} -+ -+static bool task_runnable(const struct task_struct *p) -+{ -+ return !list_empty(&p->scx.runnable_node); -+} -+ -+static void set_task_runnable(struct rq *rq, struct task_struct *p) -+{ -+ lockdep_assert_rq_held(rq); -+ -+ if (p->scx.flags & SCX_TASK_RESET_RUNNABLE_AT) { -+ p->scx.runnable_at = jiffies; -+ p->scx.flags &= ~SCX_TASK_RESET_RUNNABLE_AT; -+ } -+ -+ /* -+ * list_add_tail() must be used. scx_ops_bypass() depends on tasks being -+ * appened to the runnable_list. -+ */ -+ list_add_tail(&p->scx.runnable_node, &rq->scx.runnable_list); -+} -+ -+static void clr_task_runnable(struct task_struct *p, bool reset_runnable_at) -+{ -+ list_del_init(&p->scx.runnable_node); -+ if (reset_runnable_at) -+ p->scx.flags |= SCX_TASK_RESET_RUNNABLE_AT; -+} -+ -+static void enqueue_task_scx(struct rq *rq, struct task_struct *p, int enq_flags) -+{ -+ int sticky_cpu = p->scx.sticky_cpu; -+ -+ if (enq_flags & ENQUEUE_WAKEUP) -+ rq->scx.flags |= SCX_RQ_IN_WAKEUP; -+ -+ enq_flags |= rq->scx.extra_enq_flags; -+ -+ if (sticky_cpu >= 0) -+ p->scx.sticky_cpu = -1; -+ -+ /* -+ * Restoring a running task will be immediately followed by -+ * set_next_task_scx() which expects the task to not be on the BPF -+ * scheduler as tasks can only start running through local DSQs. Force -+ * direct-dispatch into the local DSQ by setting the sticky_cpu. -+ */ -+ if (unlikely(enq_flags & ENQUEUE_RESTORE) && task_current(rq, p)) -+ sticky_cpu = cpu_of(rq); -+ -+ if (p->scx.flags & SCX_TASK_QUEUED) { -+ WARN_ON_ONCE(!task_runnable(p)); -+ goto out; -+ } -+ -+ set_task_runnable(rq, p); -+ p->scx.flags |= SCX_TASK_QUEUED; -+ rq->scx.nr_running++; -+ add_nr_running(rq, 1); -+ -+ if (SCX_HAS_OP(runnable) && !task_on_rq_migrating(p)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, runnable, p, enq_flags); -+ -+ if (enq_flags & SCX_ENQ_WAKEUP) -+ touch_core_sched(rq, p); -+ -+ do_enqueue_task(rq, p, enq_flags, sticky_cpu); -+out: -+ rq->scx.flags &= ~SCX_RQ_IN_WAKEUP; -+} -+ -+static void ops_dequeue(struct task_struct *p, u64 deq_flags) -+{ -+ unsigned long opss; -+ -+ /* dequeue is always temporary, don't reset runnable_at */ -+ clr_task_runnable(p, false); -+ -+ /* acquire ensures that we see the preceding updates on QUEUED */ -+ opss = atomic_long_read_acquire(&p->scx.ops_state); -+ -+ switch (opss & SCX_OPSS_STATE_MASK) { -+ case SCX_OPSS_NONE: -+ break; -+ case SCX_OPSS_QUEUEING: -+ /* -+ * QUEUEING is started and finished while holding @p's rq lock. -+ * As we're holding the rq lock now, we shouldn't see QUEUEING. -+ */ -+ BUG(); -+ case SCX_OPSS_QUEUED: -+ if (SCX_HAS_OP(dequeue)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, dequeue, p, deq_flags); -+ -+ if (atomic_long_try_cmpxchg(&p->scx.ops_state, &opss, -+ SCX_OPSS_NONE)) -+ break; -+ fallthrough; -+ case SCX_OPSS_DISPATCHING: -+ /* -+ * If @p is being dispatched from the BPF scheduler to a DSQ, -+ * wait for the transfer to complete so that @p doesn't get -+ * added to its DSQ after dequeueing is complete. -+ * -+ * As we're waiting on DISPATCHING with the rq locked, the -+ * dispatching side shouldn't try to lock the rq while -+ * DISPATCHING is set. See dispatch_to_local_dsq(). -+ * -+ * DISPATCHING shouldn't have qseq set and control can reach -+ * here with NONE @opss from the above QUEUED case block. -+ * Explicitly wait on %SCX_OPSS_DISPATCHING instead of @opss. -+ */ -+ wait_ops_state(p, SCX_OPSS_DISPATCHING); -+ BUG_ON(atomic_long_read(&p->scx.ops_state) != SCX_OPSS_NONE); -+ break; -+ } -+} -+ -+static void dequeue_task_scx(struct rq *rq, struct task_struct *p, int deq_flags) -+{ -+ if (!(p->scx.flags & SCX_TASK_QUEUED)) { -+ WARN_ON_ONCE(task_runnable(p)); -+ return; -+ } -+ -+ ops_dequeue(p, deq_flags); -+ -+ /* -+ * A currently running task which is going off @rq first gets dequeued -+ * and then stops running. As we want running <-> stopping transitions -+ * to be contained within runnable <-> quiescent transitions, trigger -+ * ->stopping() early here instead of in put_prev_task_scx(). -+ * -+ * @p may go through multiple stopping <-> running transitions between -+ * here and put_prev_task_scx() if task attribute changes occur while -+ * balance_scx() leaves @rq unlocked. However, they don't contain any -+ * information meaningful to the BPF scheduler and can be suppressed by -+ * skipping the callbacks if the task is !QUEUED. -+ */ -+ if (SCX_HAS_OP(stopping) && task_current(rq, p)) { -+ update_curr_scx(rq); -+ SCX_CALL_OP_TASK(SCX_KF_REST, stopping, p, false); -+ } -+ -+ if (SCX_HAS_OP(quiescent) && !task_on_rq_migrating(p)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, quiescent, p, deq_flags); -+ -+ if (deq_flags & SCX_DEQ_SLEEP) -+ p->scx.flags |= SCX_TASK_DEQD_FOR_SLEEP; -+ else -+ p->scx.flags &= ~SCX_TASK_DEQD_FOR_SLEEP; -+ -+ p->scx.flags &= ~SCX_TASK_QUEUED; -+ rq->scx.nr_running--; -+ sub_nr_running(rq, 1); -+ -+ dispatch_dequeue(rq, p); -+} -+ -+static void yield_task_scx(struct rq *rq) -+{ -+ struct task_struct *p = rq->curr; -+ -+ if (SCX_HAS_OP(yield)) -+ SCX_CALL_OP_2TASKS_RET(SCX_KF_REST, yield, p, NULL); -+ else -+ p->scx.slice = 0; -+} -+ -+static bool yield_to_task_scx(struct rq *rq, struct task_struct *to) -+{ -+ struct task_struct *from = rq->curr; -+ -+ if (SCX_HAS_OP(yield)) -+ return SCX_CALL_OP_2TASKS_RET(SCX_KF_REST, yield, from, to); -+ else -+ return false; -+} -+ -+static void move_local_task_to_local_dsq(struct task_struct *p, u64 enq_flags, -+ struct scx_dispatch_q *src_dsq, -+ struct rq *dst_rq) -+{ -+ struct scx_dispatch_q *dst_dsq = &dst_rq->scx.local_dsq; -+ -+ /* @dsq is locked and @p is on @dst_rq */ -+ lockdep_assert_held(&src_dsq->lock); -+ lockdep_assert_rq_held(dst_rq); -+ -+ WARN_ON_ONCE(p->scx.holding_cpu >= 0); -+ -+ if (enq_flags & (SCX_ENQ_HEAD | SCX_ENQ_PREEMPT)) -+ list_add(&p->scx.dsq_list.node, &dst_dsq->list); -+ else -+ list_add_tail(&p->scx.dsq_list.node, &dst_dsq->list); -+ -+ dsq_mod_nr(dst_dsq, 1); -+ p->scx.dsq = dst_dsq; -+} -+ -+#ifdef CONFIG_SMP -+/** -+ * move_remote_task_to_local_dsq - Move a task from a foreign rq to a local DSQ -+ * @p: task to move -+ * @enq_flags: %SCX_ENQ_* -+ * @src_rq: rq to move the task from, locked on entry, released on return -+ * @dst_rq: rq to move the task into, locked on return -+ * -+ * Move @p which is currently on @src_rq to @dst_rq's local DSQ. -+ */ -+static void move_remote_task_to_local_dsq(struct task_struct *p, u64 enq_flags, -+ struct rq *src_rq, struct rq *dst_rq) -+{ -+ lockdep_assert_rq_held(src_rq); -+ -+ /* the following marks @p MIGRATING which excludes dequeue */ -+ deactivate_task(src_rq, p, 0); -+ set_task_cpu(p, cpu_of(dst_rq)); -+ p->scx.sticky_cpu = cpu_of(dst_rq); -+ -+ raw_spin_rq_unlock(src_rq); -+ raw_spin_rq_lock(dst_rq); -+ -+ /* -+ * We want to pass scx-specific enq_flags but activate_task() will -+ * truncate the upper 32 bit. As we own @rq, we can pass them through -+ * @rq->scx.extra_enq_flags instead. -+ */ -+ WARN_ON_ONCE(!cpumask_test_cpu(cpu_of(dst_rq), p->cpus_ptr)); -+ WARN_ON_ONCE(dst_rq->scx.extra_enq_flags); -+ dst_rq->scx.extra_enq_flags = enq_flags; -+ activate_task(dst_rq, p, 0); -+ dst_rq->scx.extra_enq_flags = 0; -+} -+ -+/* -+ * Similar to kernel/sched/core.c::is_cpu_allowed(). However, there are two -+ * differences: -+ * -+ * - is_cpu_allowed() asks "Can this task run on this CPU?" while -+ * task_can_run_on_remote_rq() asks "Can the BPF scheduler migrate the task to -+ * this CPU?". -+ * -+ * While migration is disabled, is_cpu_allowed() has to say "yes" as the task -+ * must be allowed to finish on the CPU that it's currently on regardless of -+ * the CPU state. However, task_can_run_on_remote_rq() must say "no" as the -+ * BPF scheduler shouldn't attempt to migrate a task which has migration -+ * disabled. -+ * -+ * - The BPF scheduler is bypassed while the rq is offline and we can always say -+ * no to the BPF scheduler initiated migrations while offline. -+ */ -+static bool task_can_run_on_remote_rq(struct task_struct *p, struct rq *rq, -+ bool trigger_error) -+{ -+ int cpu = cpu_of(rq); -+ -+ /* -+ * We don't require the BPF scheduler to avoid dispatching to offline -+ * CPUs mostly for convenience but also because CPUs can go offline -+ * between scx_bpf_dispatch() calls and here. Trigger error iff the -+ * picked CPU is outside the allowed mask. -+ */ -+ if (!task_allowed_on_cpu(p, cpu)) { -+ if (trigger_error) -+ scx_ops_error("SCX_DSQ_LOCAL[_ON] verdict target cpu %d not allowed for %s[%d]", -+ cpu_of(rq), p->comm, p->pid); -+ return false; -+ } -+ -+ if (unlikely(is_migration_disabled(p))) -+ return false; -+ -+ if (!scx_rq_online(rq)) -+ return false; -+ -+ return true; -+} -+ -+/** -+ * unlink_dsq_and_lock_src_rq() - Unlink task from its DSQ and lock its task_rq -+ * @p: target task -+ * @dsq: locked DSQ @p is currently on -+ * @src_rq: rq @p is currently on, stable with @dsq locked -+ * -+ * Called with @dsq locked but no rq's locked. We want to move @p to a different -+ * DSQ, including any local DSQ, but are not locking @src_rq. Locking @src_rq is -+ * required when transferring into a local DSQ. Even when transferring into a -+ * non-local DSQ, it's better to use the same mechanism to protect against -+ * dequeues and maintain the invariant that @p->scx.dsq can only change while -+ * @src_rq is locked, which e.g. scx_dump_task() depends on. -+ * -+ * We want to grab @src_rq but that can deadlock if we try while locking @dsq, -+ * so we want to unlink @p from @dsq, drop its lock and then lock @src_rq. As -+ * this may race with dequeue, which can't drop the rq lock or fail, do a little -+ * dancing from our side. -+ * -+ * @p->scx.holding_cpu is set to this CPU before @dsq is unlocked. If @p gets -+ * dequeued after we unlock @dsq but before locking @src_rq, the holding_cpu -+ * would be cleared to -1. While other cpus may have updated it to different -+ * values afterwards, as this operation can't be preempted or recurse, the -+ * holding_cpu can never become this CPU again before we're done. Thus, we can -+ * tell whether we lost to dequeue by testing whether the holding_cpu still -+ * points to this CPU. See dispatch_dequeue() for the counterpart. -+ * -+ * On return, @dsq is unlocked and @src_rq is locked. Returns %true if @p is -+ * still valid. %false if lost to dequeue. -+ */ -+static bool unlink_dsq_and_lock_src_rq(struct task_struct *p, -+ struct scx_dispatch_q *dsq, -+ struct rq *src_rq) -+{ -+ s32 cpu = raw_smp_processor_id(); -+ -+ lockdep_assert_held(&dsq->lock); -+ -+ WARN_ON_ONCE(p->scx.holding_cpu >= 0); -+ task_unlink_from_dsq(p, dsq); -+ p->scx.holding_cpu = cpu; -+ -+ raw_spin_unlock(&dsq->lock); -+ raw_spin_rq_lock(src_rq); -+ -+ /* task_rq couldn't have changed if we're still the holding cpu */ -+ return likely(p->scx.holding_cpu == cpu) && -+ !WARN_ON_ONCE(src_rq != task_rq(p)); -+} -+ -+static bool consume_remote_task(struct rq *this_rq, struct task_struct *p, -+ struct scx_dispatch_q *dsq, struct rq *src_rq) -+{ -+ raw_spin_rq_unlock(this_rq); -+ -+ if (unlink_dsq_and_lock_src_rq(p, dsq, src_rq)) { -+ move_remote_task_to_local_dsq(p, 0, src_rq, this_rq); -+ return true; -+ } else { -+ raw_spin_rq_unlock(src_rq); -+ raw_spin_rq_lock(this_rq); -+ return false; -+ } -+} -+#else /* CONFIG_SMP */ -+static inline void move_remote_task_to_local_dsq(struct task_struct *p, u64 enq_flags, struct rq *src_rq, struct rq *dst_rq) { WARN_ON_ONCE(1); } -+static inline bool task_can_run_on_remote_rq(struct task_struct *p, struct rq *rq, bool trigger_error) { return false; } -+static inline bool consume_remote_task(struct rq *this_rq, struct task_struct *p, struct scx_dispatch_q *dsq, struct rq *task_rq) { return false; } -+#endif /* CONFIG_SMP */ -+ -+static bool consume_dispatch_q(struct rq *rq, struct scx_dispatch_q *dsq) -+{ -+ struct task_struct *p; -+retry: -+ /* -+ * The caller can't expect to successfully consume a task if the task's -+ * addition to @dsq isn't guaranteed to be visible somehow. Test -+ * @dsq->list without locking and skip if it seems empty. -+ */ -+ if (list_empty(&dsq->list)) -+ return false; -+ -+ raw_spin_lock(&dsq->lock); -+ -+ nldsq_for_each_task(p, dsq) { -+ struct rq *task_rq = task_rq(p); -+ -+ if (rq == task_rq) { -+ task_unlink_from_dsq(p, dsq); -+ move_local_task_to_local_dsq(p, 0, dsq, rq); -+ raw_spin_unlock(&dsq->lock); -+ return true; -+ } -+ -+ if (task_can_run_on_remote_rq(p, rq, false)) { -+ if (likely(consume_remote_task(rq, p, dsq, task_rq))) -+ return true; -+ goto retry; -+ } -+ } -+ -+ raw_spin_unlock(&dsq->lock); -+ return false; -+} -+ -+static bool consume_global_dsq(struct rq *rq) -+{ -+ int node = cpu_to_node(cpu_of(rq)); -+ -+ return consume_dispatch_q(rq, global_dsqs[node]); -+} -+ -+/** -+ * dispatch_to_local_dsq - Dispatch a task to a local dsq -+ * @rq: current rq which is locked -+ * @dst_dsq: destination DSQ -+ * @p: task to dispatch -+ * @enq_flags: %SCX_ENQ_* -+ * -+ * We're holding @rq lock and want to dispatch @p to @dst_dsq which is a local -+ * DSQ. This function performs all the synchronization dancing needed because -+ * local DSQs are protected with rq locks. -+ * -+ * The caller must have exclusive ownership of @p (e.g. through -+ * %SCX_OPSS_DISPATCHING). -+ */ -+static void dispatch_to_local_dsq(struct rq *rq, struct scx_dispatch_q *dst_dsq, -+ struct task_struct *p, u64 enq_flags) -+{ -+ struct rq *src_rq = task_rq(p); -+ struct rq *dst_rq = container_of(dst_dsq, struct rq, scx.local_dsq); -+ -+ /* -+ * We're synchronized against dequeue through DISPATCHING. As @p can't -+ * be dequeued, its task_rq and cpus_allowed are stable too. -+ * -+ * If dispatching to @rq that @p is already on, no lock dancing needed. -+ */ -+ if (rq == src_rq && rq == dst_rq) { -+ dispatch_enqueue(dst_dsq, p, enq_flags | SCX_ENQ_CLEAR_OPSS); -+ return; -+ } -+ -+#ifdef CONFIG_SMP -+ if (unlikely(!task_can_run_on_remote_rq(p, dst_rq, true))) { -+ dispatch_enqueue(find_global_dsq(p), p, -+ enq_flags | SCX_ENQ_CLEAR_OPSS); -+ return; -+ } -+ -+ /* -+ * @p is on a possibly remote @src_rq which we need to lock to move the -+ * task. If dequeue is in progress, it'd be locking @src_rq and waiting -+ * on DISPATCHING, so we can't grab @src_rq lock while holding -+ * DISPATCHING. -+ * -+ * As DISPATCHING guarantees that @p is wholly ours, we can pretend that -+ * we're moving from a DSQ and use the same mechanism - mark the task -+ * under transfer with holding_cpu, release DISPATCHING and then follow -+ * the same protocol. See unlink_dsq_and_lock_src_rq(). -+ */ -+ p->scx.holding_cpu = raw_smp_processor_id(); -+ -+ /* store_release ensures that dequeue sees the above */ -+ atomic_long_set_release(&p->scx.ops_state, SCX_OPSS_NONE); -+ -+ /* switch to @src_rq lock */ -+ if (rq != src_rq) { -+ raw_spin_rq_unlock(rq); -+ raw_spin_rq_lock(src_rq); -+ } -+ -+ /* task_rq couldn't have changed if we're still the holding cpu */ -+ if (likely(p->scx.holding_cpu == raw_smp_processor_id()) && -+ !WARN_ON_ONCE(src_rq != task_rq(p))) { -+ /* -+ * If @p is staying on the same rq, there's no need to go -+ * through the full deactivate/activate cycle. Optimize by -+ * abbreviating move_remote_task_to_local_dsq(). -+ */ -+ if (src_rq == dst_rq) { -+ p->scx.holding_cpu = -1; -+ dispatch_enqueue(&dst_rq->scx.local_dsq, p, enq_flags); -+ } else { -+ move_remote_task_to_local_dsq(p, enq_flags, -+ src_rq, dst_rq); -+ } -+ -+ /* if the destination CPU is idle, wake it up */ -+ if (sched_class_above(p->sched_class, dst_rq->curr->sched_class)) -+ resched_curr(dst_rq); -+ } -+ -+ /* switch back to @rq lock */ -+ if (rq != dst_rq) { -+ raw_spin_rq_unlock(dst_rq); -+ raw_spin_rq_lock(rq); -+ } -+#else /* CONFIG_SMP */ -+ BUG(); /* control can not reach here on UP */ -+#endif /* CONFIG_SMP */ -+} -+ -+/** -+ * finish_dispatch - Asynchronously finish dispatching a task -+ * @rq: current rq which is locked -+ * @p: task to finish dispatching -+ * @qseq_at_dispatch: qseq when @p started getting dispatched -+ * @dsq_id: destination DSQ ID -+ * @enq_flags: %SCX_ENQ_* -+ * -+ * Dispatching to local DSQs may need to wait for queueing to complete or -+ * require rq lock dancing. As we don't wanna do either while inside -+ * ops.dispatch() to avoid locking order inversion, we split dispatching into -+ * two parts. scx_bpf_dispatch() which is called by ops.dispatch() records the -+ * task and its qseq. Once ops.dispatch() returns, this function is called to -+ * finish up. -+ * -+ * There is no guarantee that @p is still valid for dispatching or even that it -+ * was valid in the first place. Make sure that the task is still owned by the -+ * BPF scheduler and claim the ownership before dispatching. -+ */ -+static void finish_dispatch(struct rq *rq, struct task_struct *p, -+ unsigned long qseq_at_dispatch, -+ u64 dsq_id, u64 enq_flags) -+{ -+ struct scx_dispatch_q *dsq; -+ unsigned long opss; -+ -+ touch_core_sched_dispatch(rq, p); -+retry: -+ /* -+ * No need for _acquire here. @p is accessed only after a successful -+ * try_cmpxchg to DISPATCHING. -+ */ -+ opss = atomic_long_read(&p->scx.ops_state); -+ -+ switch (opss & SCX_OPSS_STATE_MASK) { -+ case SCX_OPSS_DISPATCHING: -+ case SCX_OPSS_NONE: -+ /* someone else already got to it */ -+ return; -+ case SCX_OPSS_QUEUED: -+ /* -+ * If qseq doesn't match, @p has gone through at least one -+ * dispatch/dequeue and re-enqueue cycle between -+ * scx_bpf_dispatch() and here and we have no claim on it. -+ */ -+ if ((opss & SCX_OPSS_QSEQ_MASK) != qseq_at_dispatch) -+ return; -+ -+ /* -+ * While we know @p is accessible, we don't yet have a claim on -+ * it - the BPF scheduler is allowed to dispatch tasks -+ * spuriously and there can be a racing dequeue attempt. Let's -+ * claim @p by atomically transitioning it from QUEUED to -+ * DISPATCHING. -+ */ -+ if (likely(atomic_long_try_cmpxchg(&p->scx.ops_state, &opss, -+ SCX_OPSS_DISPATCHING))) -+ break; -+ goto retry; -+ case SCX_OPSS_QUEUEING: -+ /* -+ * do_enqueue_task() is in the process of transferring the task -+ * to the BPF scheduler while holding @p's rq lock. As we aren't -+ * holding any kernel or BPF resource that the enqueue path may -+ * depend upon, it's safe to wait. -+ */ -+ wait_ops_state(p, opss); -+ goto retry; -+ } -+ -+ BUG_ON(!(p->scx.flags & SCX_TASK_QUEUED)); -+ -+ dsq = find_dsq_for_dispatch(this_rq(), dsq_id, p); -+ -+ if (dsq->id == SCX_DSQ_LOCAL) -+ dispatch_to_local_dsq(rq, dsq, p, enq_flags); -+ else -+ dispatch_enqueue(dsq, p, enq_flags | SCX_ENQ_CLEAR_OPSS); -+} -+ -+static void flush_dispatch_buf(struct rq *rq) -+{ -+ struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); -+ u32 u; -+ -+ for (u = 0; u < dspc->cursor; u++) { -+ struct scx_dsp_buf_ent *ent = &dspc->buf[u]; -+ -+ finish_dispatch(rq, ent->task, ent->qseq, ent->dsq_id, -+ ent->enq_flags); -+ } -+ -+ dspc->nr_tasks += dspc->cursor; -+ dspc->cursor = 0; -+} -+ -+static int balance_one(struct rq *rq, struct task_struct *prev, bool local) -+{ -+ struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); -+ bool prev_on_scx = prev->sched_class == &ext_sched_class; -+ int nr_loops = SCX_DSP_MAX_LOOPS; -+ bool has_tasks = false; -+ -+ lockdep_assert_rq_held(rq); -+ rq->scx.flags |= SCX_RQ_IN_BALANCE; -+ -+ if (static_branch_unlikely(&scx_ops_cpu_preempt) && -+ unlikely(rq->scx.cpu_released)) { -+ /* -+ * If the previous sched_class for the current CPU was not SCX, -+ * notify the BPF scheduler that it again has control of the -+ * core. This callback complements ->cpu_release(), which is -+ * emitted in scx_next_task_picked(). -+ */ -+ if (SCX_HAS_OP(cpu_acquire)) -+ SCX_CALL_OP(0, cpu_acquire, cpu_of(rq), NULL); -+ rq->scx.cpu_released = false; -+ } -+ -+ if (prev_on_scx) { -+ WARN_ON_ONCE(local && (prev->scx.flags & SCX_TASK_BAL_KEEP)); -+ update_curr_scx(rq); -+ -+ /* -+ * If @prev is runnable & has slice left, it has priority and -+ * fetching more just increases latency for the fetched tasks. -+ * Tell put_prev_task_scx() to put @prev on local_dsq. If the -+ * BPF scheduler wants to handle this explicitly, it should -+ * implement ->cpu_released(). -+ * -+ * See scx_ops_disable_workfn() for the explanation on the -+ * bypassing test. -+ * -+ * When balancing a remote CPU for core-sched, there won't be a -+ * following put_prev_task_scx() call and we don't own -+ * %SCX_TASK_BAL_KEEP. Instead, pick_task_scx() will test the -+ * same conditions later and pick @rq->curr accordingly. -+ */ -+ if ((prev->scx.flags & SCX_TASK_QUEUED) && -+ prev->scx.slice && !scx_rq_bypassing(rq)) { -+ if (local) -+ prev->scx.flags |= SCX_TASK_BAL_KEEP; -+ goto has_tasks; -+ } -+ } -+ -+ /* if there already are tasks to run, nothing to do */ -+ if (rq->scx.local_dsq.nr) -+ goto has_tasks; -+ -+ if (consume_global_dsq(rq)) -+ goto has_tasks; -+ -+ if (!SCX_HAS_OP(dispatch) || scx_rq_bypassing(rq) || !scx_rq_online(rq)) -+ goto out; -+ -+ dspc->rq = rq; -+ -+ /* -+ * The dispatch loop. Because flush_dispatch_buf() may drop the rq lock, -+ * the local DSQ might still end up empty after a successful -+ * ops.dispatch(). If the local DSQ is empty even after ops.dispatch() -+ * produced some tasks, retry. The BPF scheduler may depend on this -+ * looping behavior to simplify its implementation. -+ */ -+ do { -+ dspc->nr_tasks = 0; -+ -+ SCX_CALL_OP(SCX_KF_DISPATCH, dispatch, cpu_of(rq), -+ prev_on_scx ? prev : NULL); -+ -+ flush_dispatch_buf(rq); -+ -+ if (rq->scx.local_dsq.nr) -+ goto has_tasks; -+ if (consume_global_dsq(rq)) -+ goto has_tasks; -+ -+ /* -+ * ops.dispatch() can trap us in this loop by repeatedly -+ * dispatching ineligible tasks. Break out once in a while to -+ * allow the watchdog to run. As IRQ can't be enabled in -+ * balance(), we want to complete this scheduling cycle and then -+ * start a new one. IOW, we want to call resched_curr() on the -+ * next, most likely idle, task, not the current one. Use -+ * scx_bpf_kick_cpu() for deferred kicking. -+ */ -+ if (unlikely(!--nr_loops)) { -+ scx_bpf_kick_cpu(cpu_of(rq), 0); -+ break; -+ } -+ } while (dspc->nr_tasks); -+ -+ goto out; -+ -+has_tasks: -+ has_tasks = true; -+out: -+ rq->scx.flags &= ~SCX_RQ_IN_BALANCE; -+ return has_tasks; -+} -+ -+static int balance_scx(struct rq *rq, struct task_struct *prev, -+ struct rq_flags *rf) -+{ -+ int ret; -+ -+ rq_unpin_lock(rq, rf); -+ -+ ret = balance_one(rq, prev, true); -+ -+#ifdef CONFIG_SCHED_SMT -+ /* -+ * When core-sched is enabled, this ops.balance() call will be followed -+ * by put_prev_scx() and pick_task_scx() on this CPU and pick_task_scx() -+ * on the SMT siblings. Balance the siblings too. -+ */ -+ if (sched_core_enabled(rq)) { -+ const struct cpumask *smt_mask = cpu_smt_mask(cpu_of(rq)); -+ int scpu; -+ -+ for_each_cpu_andnot(scpu, smt_mask, cpumask_of(cpu_of(rq))) { -+ struct rq *srq = cpu_rq(scpu); -+ struct task_struct *sprev = srq->curr; -+ -+ WARN_ON_ONCE(__rq_lockp(rq) != __rq_lockp(srq)); -+ update_rq_clock(srq); -+ balance_one(srq, sprev, false); -+ } -+ } -+#endif -+ rq_repin_lock(rq, rf); -+ -+ return ret; -+} -+ -+static void process_ddsp_deferred_locals(struct rq *rq) -+{ -+ struct task_struct *p; -+ -+ lockdep_assert_rq_held(rq); -+ -+ /* -+ * Now that @rq can be unlocked, execute the deferred enqueueing of -+ * tasks directly dispatched to the local DSQs of other CPUs. See -+ * direct_dispatch(). Keep popping from the head instead of using -+ * list_for_each_entry_safe() as dispatch_local_dsq() may unlock @rq -+ * temporarily. -+ */ -+ while ((p = list_first_entry_or_null(&rq->scx.ddsp_deferred_locals, -+ struct task_struct, scx.dsq_list.node))) { -+ struct scx_dispatch_q *dsq; -+ -+ list_del_init(&p->scx.dsq_list.node); -+ -+ dsq = find_dsq_for_dispatch(rq, p->scx.ddsp_dsq_id, p); -+ if (!WARN_ON_ONCE(dsq->id != SCX_DSQ_LOCAL)) -+ dispatch_to_local_dsq(rq, dsq, p, p->scx.ddsp_enq_flags); -+ } -+} -+ -+static void set_next_task_scx(struct rq *rq, struct task_struct *p, bool first) -+{ -+ if (p->scx.flags & SCX_TASK_QUEUED) { -+ /* -+ * Core-sched might decide to execute @p before it is -+ * dispatched. Call ops_dequeue() to notify the BPF scheduler. -+ */ -+ ops_dequeue(p, SCX_DEQ_CORE_SCHED_EXEC); -+ dispatch_dequeue(rq, p); -+ } -+ -+ p->se.exec_start = rq_clock_task(rq); -+ -+ /* see dequeue_task_scx() on why we skip when !QUEUED */ -+ if (SCX_HAS_OP(running) && (p->scx.flags & SCX_TASK_QUEUED)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, running, p); -+ -+ clr_task_runnable(p, true); -+ -+ /* -+ * @p is getting newly scheduled or got kicked after someone updated its -+ * slice. Refresh whether tick can be stopped. See scx_can_stop_tick(). -+ */ -+ if ((p->scx.slice == SCX_SLICE_INF) != -+ (bool)(rq->scx.flags & SCX_RQ_CAN_STOP_TICK)) { -+ if (p->scx.slice == SCX_SLICE_INF) -+ rq->scx.flags |= SCX_RQ_CAN_STOP_TICK; -+ else -+ rq->scx.flags &= ~SCX_RQ_CAN_STOP_TICK; -+ -+ sched_update_tick_dependency(rq); -+ -+ /* -+ * For now, let's refresh the load_avgs just when transitioning -+ * in and out of nohz. In the future, we might want to add a -+ * mechanism which calls the following periodically on -+ * tick-stopped CPUs. -+ */ -+ update_other_load_avgs(rq); -+ } -+} -+ -+static enum scx_cpu_preempt_reason -+preempt_reason_from_class(const struct sched_class *class) -+{ -+#ifdef CONFIG_SMP -+ if (class == &stop_sched_class) -+ return SCX_CPU_PREEMPT_STOP; -+#endif -+ if (class == &dl_sched_class) -+ return SCX_CPU_PREEMPT_DL; -+ if (class == &rt_sched_class) -+ return SCX_CPU_PREEMPT_RT; -+ return SCX_CPU_PREEMPT_UNKNOWN; -+} -+ -+static void switch_class_scx(struct rq *rq, struct task_struct *next) -+{ -+ const struct sched_class *next_class = next->sched_class; -+ -+ if (!scx_enabled()) -+ return; -+#ifdef CONFIG_SMP -+ /* -+ * Pairs with the smp_load_acquire() issued by a CPU in -+ * kick_cpus_irq_workfn() who is waiting for this CPU to perform a -+ * resched. -+ */ -+ smp_store_release(&rq->scx.pnt_seq, rq->scx.pnt_seq + 1); -+#endif -+ if (!static_branch_unlikely(&scx_ops_cpu_preempt)) -+ return; -+ -+ /* -+ * The callback is conceptually meant to convey that the CPU is no -+ * longer under the control of SCX. Therefore, don't invoke the callback -+ * if the next class is below SCX (in which case the BPF scheduler has -+ * actively decided not to schedule any tasks on the CPU). -+ */ -+ if (sched_class_above(&ext_sched_class, next_class)) -+ return; -+ -+ /* -+ * At this point we know that SCX was preempted by a higher priority -+ * sched_class, so invoke the ->cpu_release() callback if we have not -+ * done so already. We only send the callback once between SCX being -+ * preempted, and it regaining control of the CPU. -+ * -+ * ->cpu_release() complements ->cpu_acquire(), which is emitted the -+ * next time that balance_scx() is invoked. -+ */ -+ if (!rq->scx.cpu_released) { -+ if (SCX_HAS_OP(cpu_release)) { -+ struct scx_cpu_release_args args = { -+ .reason = preempt_reason_from_class(next_class), -+ .task = next, -+ }; -+ -+ SCX_CALL_OP(SCX_KF_CPU_RELEASE, -+ cpu_release, cpu_of(rq), &args); -+ } -+ rq->scx.cpu_released = true; -+ } -+} -+ -+static void put_prev_task_scx(struct rq *rq, struct task_struct *p) -+{ -+ update_curr_scx(rq); -+ -+ /* see dequeue_task_scx() on why we skip when !QUEUED */ -+ if (SCX_HAS_OP(stopping) && (p->scx.flags & SCX_TASK_QUEUED)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, stopping, p, true); -+ -+ /* -+ * If we're being called from put_prev_task_balance(), balance_scx() may -+ * have decided that @p should keep running. -+ */ -+ if (p->scx.flags & SCX_TASK_BAL_KEEP) { -+ p->scx.flags &= ~SCX_TASK_BAL_KEEP; -+ set_task_runnable(rq, p); -+ dispatch_enqueue(&rq->scx.local_dsq, p, SCX_ENQ_HEAD); -+ return; -+ } -+ -+ if (p->scx.flags & SCX_TASK_QUEUED) { -+ set_task_runnable(rq, p); -+ -+ /* -+ * If @p has slice left and balance_scx() didn't tag it for -+ * keeping, @p is getting preempted by a higher priority -+ * scheduler class or core-sched forcing a different task. Leave -+ * it at the head of the local DSQ. -+ */ -+ if (p->scx.slice && !scx_rq_bypassing(rq)) { -+ dispatch_enqueue(&rq->scx.local_dsq, p, SCX_ENQ_HEAD); -+ return; -+ } -+ -+ /* -+ * If we're in the pick_next_task path, balance_scx() should -+ * have already populated the local DSQ if there are any other -+ * available tasks. If empty, tell ops.enqueue() that @p is the -+ * only one available for this cpu. ops.enqueue() should put it -+ * on the local DSQ so that the subsequent pick_next_task_scx() -+ * can find the task unless it wants to trigger a separate -+ * follow-up scheduling event. -+ */ -+ if (list_empty(&rq->scx.local_dsq.list)) -+ do_enqueue_task(rq, p, SCX_ENQ_LAST, -1); -+ else -+ do_enqueue_task(rq, p, 0, -1); -+ } -+} -+ -+static struct task_struct *first_local_task(struct rq *rq) -+{ -+ return list_first_entry_or_null(&rq->scx.local_dsq.list, -+ struct task_struct, scx.dsq_list.node); -+} -+ -+static struct task_struct *pick_next_task_scx(struct rq *rq) -+{ -+ struct task_struct *p; -+ -+ p = first_local_task(rq); -+ if (!p) -+ return NULL; -+ -+ set_next_task_scx(rq, p, true); -+ -+ if (unlikely(!p->scx.slice)) { -+ if (!scx_rq_bypassing(rq) && !scx_warned_zero_slice) { -+ printk_deferred(KERN_WARNING "sched_ext: %s[%d] has zero slice in pick_next_task_scx()\n", -+ p->comm, p->pid); -+ scx_warned_zero_slice = true; -+ } -+ p->scx.slice = SCX_SLICE_DFL; -+ } -+ -+ return p; -+} -+ -+#ifdef CONFIG_SCHED_CORE -+/** -+ * scx_prio_less - Task ordering for core-sched -+ * @a: task A -+ * @b: task B -+ * -+ * Core-sched is implemented as an additional scheduling layer on top of the -+ * usual sched_class'es and needs to find out the expected task ordering. For -+ * SCX, core-sched calls this function to interrogate the task ordering. -+ * -+ * Unless overridden by ops.core_sched_before(), @p->scx.core_sched_at is used -+ * to implement the default task ordering. The older the timestamp, the higher -+ * prority the task - the global FIFO ordering matching the default scheduling -+ * behavior. -+ * -+ * When ops.core_sched_before() is enabled, @p->scx.core_sched_at is used to -+ * implement FIFO ordering within each local DSQ. See pick_task_scx(). -+ */ -+bool scx_prio_less(const struct task_struct *a, const struct task_struct *b, -+ bool in_fi) -+{ -+ /* -+ * The const qualifiers are dropped from task_struct pointers when -+ * calling ops.core_sched_before(). Accesses are controlled by the -+ * verifier. -+ */ -+ if (SCX_HAS_OP(core_sched_before) && !scx_rq_bypassing(task_rq(a))) -+ return SCX_CALL_OP_2TASKS_RET(SCX_KF_REST, core_sched_before, -+ (struct task_struct *)a, -+ (struct task_struct *)b); -+ else -+ return time_after64(a->scx.core_sched_at, b->scx.core_sched_at); -+} -+ -+/** -+ * pick_task_scx - Pick a candidate task for core-sched -+ * @rq: rq to pick the candidate task from -+ * -+ * Core-sched calls this function on each SMT sibling to determine the next -+ * tasks to run on the SMT siblings. balance_one() has been called on all -+ * siblings and put_prev_task_scx() has been called only for the current CPU. -+ * -+ * As put_prev_task_scx() hasn't been called on remote CPUs, we can't just look -+ * at the first task in the local dsq. @rq->curr has to be considered explicitly -+ * to mimic %SCX_TASK_BAL_KEEP. -+ */ -+static struct task_struct *pick_task_scx(struct rq *rq) -+{ -+ struct task_struct *curr = rq->curr; -+ struct task_struct *first = first_local_task(rq); -+ -+ if (curr->scx.flags & SCX_TASK_QUEUED) { -+ /* is curr the only runnable task? */ -+ if (!first) -+ return curr; -+ -+ /* -+ * Does curr trump first? We can always go by core_sched_at for -+ * this comparison as it represents global FIFO ordering when -+ * the default core-sched ordering is used and local-DSQ FIFO -+ * ordering otherwise. -+ * -+ * We can have a task with an earlier timestamp on the DSQ. For -+ * example, when a current task is preempted by a sibling -+ * picking a different cookie, the task would be requeued at the -+ * head of the local DSQ with an earlier timestamp than the -+ * core-sched picked next task. Besides, the BPF scheduler may -+ * dispatch any tasks to the local DSQ anytime. -+ */ -+ if (curr->scx.slice && time_before64(curr->scx.core_sched_at, -+ first->scx.core_sched_at)) -+ return curr; -+ } -+ -+ return first; /* this may be %NULL */ -+} -+#endif /* CONFIG_SCHED_CORE */ -+ -+#ifdef CONFIG_SMP -+ -+static bool test_and_clear_cpu_idle(int cpu) -+{ -+#ifdef CONFIG_SCHED_SMT -+ /* -+ * SMT mask should be cleared whether we can claim @cpu or not. The SMT -+ * cluster is not wholly idle either way. This also prevents -+ * scx_pick_idle_cpu() from getting caught in an infinite loop. -+ */ -+ if (sched_smt_active()) { -+ const struct cpumask *smt = cpu_smt_mask(cpu); -+ -+ /* -+ * If offline, @cpu is not its own sibling and -+ * scx_pick_idle_cpu() can get caught in an infinite loop as -+ * @cpu is never cleared from idle_masks.smt. Ensure that @cpu -+ * is eventually cleared. -+ */ -+ if (cpumask_intersects(smt, idle_masks.smt)) -+ cpumask_andnot(idle_masks.smt, idle_masks.smt, smt); -+ else if (cpumask_test_cpu(cpu, idle_masks.smt)) -+ __cpumask_clear_cpu(cpu, idle_masks.smt); -+ } -+#endif -+ return cpumask_test_and_clear_cpu(cpu, idle_masks.cpu); -+} -+ -+static s32 scx_pick_idle_cpu(const struct cpumask *cpus_allowed, u64 flags) -+{ -+ int cpu; -+ -+retry: -+ if (sched_smt_active()) { -+ cpu = cpumask_any_and_distribute(idle_masks.smt, cpus_allowed); -+ if (cpu < nr_cpu_ids) -+ goto found; -+ -+ if (flags & SCX_PICK_IDLE_CORE) -+ return -EBUSY; -+ } -+ -+ cpu = cpumask_any_and_distribute(idle_masks.cpu, cpus_allowed); -+ if (cpu >= nr_cpu_ids) -+ return -EBUSY; -+ -+found: -+ if (test_and_clear_cpu_idle(cpu)) -+ return cpu; -+ else -+ goto retry; -+} -+ -+static s32 scx_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, -+ u64 wake_flags, bool *found) -+{ -+ s32 cpu; -+ -+ *found = false; -+ -+ /* -+ * If WAKE_SYNC, the waker's local DSQ is empty, and the system is -+ * under utilized, wake up @p to the local DSQ of the waker. Checking -+ * only for an empty local DSQ is insufficient as it could give the -+ * wakee an unfair advantage when the system is oversaturated. -+ * Checking only for the presence of idle CPUs is also insufficient as -+ * the local DSQ of the waker could have tasks piled up on it even if -+ * there is an idle core elsewhere on the system. -+ */ -+ cpu = smp_processor_id(); -+ if ((wake_flags & SCX_WAKE_SYNC) && p->nr_cpus_allowed > 1 && -+ !cpumask_empty(idle_masks.cpu) && !(current->flags & PF_EXITING) && -+ cpu_rq(cpu)->scx.local_dsq.nr == 0) { -+ if (cpumask_test_cpu(cpu, p->cpus_ptr)) -+ goto cpu_found; -+ } -+ -+ if (p->nr_cpus_allowed == 1) { -+ if (test_and_clear_cpu_idle(prev_cpu)) { -+ cpu = prev_cpu; -+ goto cpu_found; -+ } else { -+ return prev_cpu; -+ } -+ } -+ -+ /* -+ * If CPU has SMT, any wholly idle CPU is likely a better pick than -+ * partially idle @prev_cpu. -+ */ -+ if (sched_smt_active()) { -+ if (cpumask_test_cpu(prev_cpu, idle_masks.smt) && -+ test_and_clear_cpu_idle(prev_cpu)) { -+ cpu = prev_cpu; -+ goto cpu_found; -+ } -+ -+ cpu = scx_pick_idle_cpu(p->cpus_ptr, SCX_PICK_IDLE_CORE); -+ if (cpu >= 0) -+ goto cpu_found; -+ } -+ -+ if (test_and_clear_cpu_idle(prev_cpu)) { -+ cpu = prev_cpu; -+ goto cpu_found; -+ } -+ -+ cpu = scx_pick_idle_cpu(p->cpus_ptr, 0); -+ if (cpu >= 0) -+ goto cpu_found; -+ -+ return prev_cpu; -+ -+cpu_found: -+ *found = true; -+ return cpu; -+} -+ -+static int select_task_rq_scx(struct task_struct *p, int prev_cpu, int wake_flags) -+{ -+ /* -+ * sched_exec() calls with %WF_EXEC when @p is about to exec(2) as it -+ * can be a good migration opportunity with low cache and memory -+ * footprint. Returning a CPU different than @prev_cpu triggers -+ * immediate rq migration. However, for SCX, as the current rq -+ * association doesn't dictate where the task is going to run, this -+ * doesn't fit well. If necessary, we can later add a dedicated method -+ * which can decide to preempt self to force it through the regular -+ * scheduling path. -+ */ -+ if (unlikely(wake_flags & WF_EXEC)) -+ return prev_cpu; -+ -+ if (SCX_HAS_OP(select_cpu) && !scx_rq_bypassing(task_rq(p))) { -+ s32 cpu; -+ struct task_struct **ddsp_taskp; -+ -+ ddsp_taskp = this_cpu_ptr(&direct_dispatch_task); -+ WARN_ON_ONCE(*ddsp_taskp); -+ *ddsp_taskp = p; -+ -+ cpu = SCX_CALL_OP_TASK_RET(SCX_KF_ENQUEUE | SCX_KF_SELECT_CPU, -+ select_cpu, p, prev_cpu, wake_flags); -+ *ddsp_taskp = NULL; -+ if (ops_cpu_valid(cpu, "from ops.select_cpu()")) -+ return cpu; -+ else -+ return prev_cpu; -+ } else { -+ bool found; -+ s32 cpu; -+ -+ cpu = scx_select_cpu_dfl(p, prev_cpu, wake_flags, &found); -+ if (found) { -+ p->scx.slice = SCX_SLICE_DFL; -+ p->scx.ddsp_dsq_id = SCX_DSQ_LOCAL; -+ } -+ return cpu; -+ } -+} -+ -+static void task_woken_scx(struct rq *rq, struct task_struct *p) -+{ -+ run_deferred(rq); -+} -+ -+static void set_cpus_allowed_scx(struct task_struct *p, -+ struct affinity_context *ac) -+{ -+ set_cpus_allowed_common(p, ac); -+ -+ /* -+ * The effective cpumask is stored in @p->cpus_ptr which may temporarily -+ * differ from the configured one in @p->cpus_mask. Always tell the bpf -+ * scheduler the effective one. -+ * -+ * Fine-grained memory write control is enforced by BPF making the const -+ * designation pointless. Cast it away when calling the operation. -+ */ -+ if (SCX_HAS_OP(set_cpumask)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, set_cpumask, p, -+ (struct cpumask *)p->cpus_ptr); -+} -+ -+static void reset_idle_masks(void) -+{ -+ /* -+ * Consider all online cpus idle. Should converge to the actual state -+ * quickly. -+ */ -+ cpumask_copy(idle_masks.cpu, cpu_online_mask); -+ cpumask_copy(idle_masks.smt, cpu_online_mask); -+} -+ -+void __scx_update_idle(struct rq *rq, bool idle) -+{ -+ int cpu = cpu_of(rq); -+ -+ if (SCX_HAS_OP(update_idle) && !scx_rq_bypassing(rq)) { -+ SCX_CALL_OP(SCX_KF_REST, update_idle, cpu_of(rq), idle); -+ if (!static_branch_unlikely(&scx_builtin_idle_enabled)) -+ return; -+ } -+ -+ if (idle) -+ cpumask_set_cpu(cpu, idle_masks.cpu); -+ else -+ cpumask_clear_cpu(cpu, idle_masks.cpu); -+ -+#ifdef CONFIG_SCHED_SMT -+ if (sched_smt_active()) { -+ const struct cpumask *smt = cpu_smt_mask(cpu); -+ -+ if (idle) { -+ /* -+ * idle_masks.smt handling is racy but that's fine as -+ * it's only for optimization and self-correcting. -+ */ -+ for_each_cpu(cpu, smt) { -+ if (!cpumask_test_cpu(cpu, idle_masks.cpu)) -+ return; -+ } -+ cpumask_or(idle_masks.smt, idle_masks.smt, smt); -+ } else { -+ cpumask_andnot(idle_masks.smt, idle_masks.smt, smt); -+ } -+ } -+#endif -+} -+ -+static void handle_hotplug(struct rq *rq, bool online) -+{ -+ int cpu = cpu_of(rq); -+ -+ atomic_long_inc(&scx_hotplug_seq); -+ -+ if (online && SCX_HAS_OP(cpu_online)) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cpu_online, cpu); -+ else if (!online && SCX_HAS_OP(cpu_offline)) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cpu_offline, cpu); -+ else -+ scx_ops_exit(SCX_ECODE_ACT_RESTART | SCX_ECODE_RSN_HOTPLUG, -+ "cpu %d going %s, exiting scheduler", cpu, -+ online ? "online" : "offline"); -+} -+ -+void scx_rq_activate(struct rq *rq) -+{ -+ handle_hotplug(rq, true); -+} -+ -+void scx_rq_deactivate(struct rq *rq) -+{ -+ handle_hotplug(rq, false); -+} -+ -+static void rq_online_scx(struct rq *rq) -+{ -+ rq->scx.flags |= SCX_RQ_ONLINE; -+} -+ -+static void rq_offline_scx(struct rq *rq) -+{ -+ rq->scx.flags &= ~SCX_RQ_ONLINE; -+} -+ -+#else /* CONFIG_SMP */ -+ -+static bool test_and_clear_cpu_idle(int cpu) { return false; } -+static s32 scx_pick_idle_cpu(const struct cpumask *cpus_allowed, u64 flags) { return -EBUSY; } -+static void reset_idle_masks(void) {} -+ -+#endif /* CONFIG_SMP */ -+ -+static bool check_rq_for_timeouts(struct rq *rq) -+{ -+ struct task_struct *p; -+ struct rq_flags rf; -+ bool timed_out = false; -+ -+ rq_lock_irqsave(rq, &rf); -+ list_for_each_entry(p, &rq->scx.runnable_list, scx.runnable_node) { -+ unsigned long last_runnable = p->scx.runnable_at; -+ -+ if (unlikely(time_after(jiffies, -+ last_runnable + scx_watchdog_timeout))) { -+ u32 dur_ms = jiffies_to_msecs(jiffies - last_runnable); -+ -+ scx_ops_error_kind(SCX_EXIT_ERROR_STALL, -+ "%s[%d] failed to run for %u.%03us", -+ p->comm, p->pid, -+ dur_ms / 1000, dur_ms % 1000); -+ timed_out = true; -+ break; -+ } -+ } -+ rq_unlock_irqrestore(rq, &rf); -+ -+ return timed_out; -+} -+ -+static void scx_watchdog_workfn(struct work_struct *work) -+{ -+ int cpu; -+ -+ WRITE_ONCE(scx_watchdog_timestamp, jiffies); -+ -+ for_each_online_cpu(cpu) { -+ if (unlikely(check_rq_for_timeouts(cpu_rq(cpu)))) -+ break; -+ -+ cond_resched(); -+ } -+ queue_delayed_work(system_unbound_wq, to_delayed_work(work), -+ scx_watchdog_timeout / 2); -+} -+ -+void scx_tick(struct rq *rq) -+{ -+ unsigned long last_check; -+ -+ if (!scx_enabled()) -+ return; -+ -+ last_check = READ_ONCE(scx_watchdog_timestamp); -+ if (unlikely(time_after(jiffies, -+ last_check + READ_ONCE(scx_watchdog_timeout)))) { -+ u32 dur_ms = jiffies_to_msecs(jiffies - last_check); -+ -+ scx_ops_error_kind(SCX_EXIT_ERROR_STALL, -+ "watchdog failed to check in for %u.%03us", -+ dur_ms / 1000, dur_ms % 1000); -+ } -+ -+ update_other_load_avgs(rq); -+} -+ -+static void task_tick_scx(struct rq *rq, struct task_struct *curr, int queued) -+{ -+ update_curr_scx(rq); -+ -+ /* -+ * While disabling, always resched and refresh core-sched timestamp as -+ * we can't trust the slice management or ops.core_sched_before(). -+ */ -+ if (scx_rq_bypassing(rq)) { -+ curr->scx.slice = 0; -+ touch_core_sched(rq, curr); -+ } else if (SCX_HAS_OP(tick)) { -+ SCX_CALL_OP(SCX_KF_REST, tick, curr); -+ } -+ -+ if (!curr->scx.slice) -+ resched_curr(rq); -+} -+ -+#ifdef CONFIG_EXT_GROUP_SCHED -+static struct cgroup *tg_cgrp(struct task_group *tg) -+{ -+ /* -+ * If CGROUP_SCHED is disabled, @tg is NULL. If @tg is an autogroup, -+ * @tg->css.cgroup is NULL. In both cases, @tg can be treated as the -+ * root cgroup. -+ */ -+ if (tg && tg->css.cgroup) -+ return tg->css.cgroup; -+ else -+ return &cgrp_dfl_root.cgrp; -+} -+ -+#define SCX_INIT_TASK_ARGS_CGROUP(tg) .cgroup = tg_cgrp(tg), -+ -+#else /* CONFIG_EXT_GROUP_SCHED */ -+ -+#define SCX_INIT_TASK_ARGS_CGROUP(tg) -+ -+#endif /* CONFIG_EXT_GROUP_SCHED */ -+ -+static enum scx_task_state scx_get_task_state(const struct task_struct *p) -+{ -+ return (p->scx.flags & SCX_TASK_STATE_MASK) >> SCX_TASK_STATE_SHIFT; -+} -+ -+static void scx_set_task_state(struct task_struct *p, enum scx_task_state state) -+{ -+ enum scx_task_state prev_state = scx_get_task_state(p); -+ bool warn = false; -+ -+ BUILD_BUG_ON(SCX_TASK_NR_STATES > (1 << SCX_TASK_STATE_BITS)); -+ -+ switch (state) { -+ case SCX_TASK_NONE: -+ break; -+ case SCX_TASK_INIT: -+ warn = prev_state != SCX_TASK_NONE; -+ break; -+ case SCX_TASK_READY: -+ warn = prev_state == SCX_TASK_NONE; -+ break; -+ case SCX_TASK_ENABLED: -+ warn = prev_state != SCX_TASK_READY; -+ break; -+ default: -+ warn = true; -+ return; -+ } -+ -+ WARN_ONCE(warn, "sched_ext: Invalid task state transition %d -> %d for %s[%d]", -+ prev_state, state, p->comm, p->pid); -+ -+ p->scx.flags &= ~SCX_TASK_STATE_MASK; -+ p->scx.flags |= state << SCX_TASK_STATE_SHIFT; -+} -+ -+static int scx_ops_init_task(struct task_struct *p, struct task_group *tg, bool fork) -+{ -+ int ret; -+ -+ p->scx.disallow = false; -+ -+ if (SCX_HAS_OP(init_task)) { -+ struct scx_init_task_args args = { -+ SCX_INIT_TASK_ARGS_CGROUP(tg) -+ .fork = fork, -+ }; -+ -+ ret = SCX_CALL_OP_RET(SCX_KF_UNLOCKED, init_task, p, &args); -+ if (unlikely(ret)) { -+ ret = ops_sanitize_err("init_task", ret); -+ return ret; -+ } -+ } -+ -+ scx_set_task_state(p, SCX_TASK_INIT); -+ -+ if (p->scx.disallow) { -+ if (!fork) { -+ struct rq *rq; -+ struct rq_flags rf; -+ -+ rq = task_rq_lock(p, &rf); -+ -+ /* -+ * We're in the load path and @p->policy will be applied -+ * right after. Reverting @p->policy here and rejecting -+ * %SCHED_EXT transitions from scx_check_setscheduler() -+ * guarantees that if ops.init_task() sets @p->disallow, -+ * @p can never be in SCX. -+ */ -+ if (p->policy == SCHED_EXT) { -+ p->policy = SCHED_NORMAL; -+ atomic_long_inc(&scx_nr_rejected); -+ } -+ -+ task_rq_unlock(rq, p, &rf); -+ } else if (p->policy == SCHED_EXT) { -+ scx_ops_error("ops.init_task() set task->scx.disallow for %s[%d] during fork", -+ p->comm, p->pid); -+ } -+ } -+ -+ p->scx.flags |= SCX_TASK_RESET_RUNNABLE_AT; -+ return 0; -+} -+ -+static void scx_ops_enable_task(struct task_struct *p) -+{ -+ u32 weight; -+ -+ lockdep_assert_rq_held(task_rq(p)); -+ -+ /* -+ * Set the weight before calling ops.enable() so that the scheduler -+ * doesn't see a stale value if they inspect the task struct. -+ */ -+ if (task_has_idle_policy(p)) -+ weight = WEIGHT_IDLEPRIO; -+ else -+ weight = sched_prio_to_weight[p->static_prio - MAX_RT_PRIO]; -+ -+ p->scx.weight = sched_weight_to_cgroup(weight); -+ -+ if (SCX_HAS_OP(enable)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, enable, p); -+ scx_set_task_state(p, SCX_TASK_ENABLED); -+ -+ if (SCX_HAS_OP(set_weight)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, set_weight, p, p->scx.weight); -+} -+ -+static void scx_ops_disable_task(struct task_struct *p) -+{ -+ lockdep_assert_rq_held(task_rq(p)); -+ WARN_ON_ONCE(scx_get_task_state(p) != SCX_TASK_ENABLED); -+ -+ if (SCX_HAS_OP(disable)) -+ SCX_CALL_OP(SCX_KF_REST, disable, p); -+ scx_set_task_state(p, SCX_TASK_READY); -+} -+ -+static void scx_ops_exit_task(struct task_struct *p) -+{ -+ struct scx_exit_task_args args = { -+ .cancelled = false, -+ }; -+ -+ lockdep_assert_rq_held(task_rq(p)); -+ -+ switch (scx_get_task_state(p)) { -+ case SCX_TASK_NONE: -+ return; -+ case SCX_TASK_INIT: -+ args.cancelled = true; -+ break; -+ case SCX_TASK_READY: -+ break; -+ case SCX_TASK_ENABLED: -+ scx_ops_disable_task(p); -+ break; -+ default: -+ WARN_ON_ONCE(true); -+ return; -+ } -+ -+ if (SCX_HAS_OP(exit_task)) -+ SCX_CALL_OP(SCX_KF_REST, exit_task, p, &args); -+ scx_set_task_state(p, SCX_TASK_NONE); -+} -+ -+void init_scx_entity(struct sched_ext_entity *scx) -+{ -+ /* -+ * init_idle() calls this function again after fork sequence is -+ * complete. Don't touch ->tasks_node as it's already linked. -+ */ -+ memset(scx, 0, offsetof(struct sched_ext_entity, tasks_node)); -+ -+ INIT_LIST_HEAD(&scx->dsq_list.node); -+ RB_CLEAR_NODE(&scx->dsq_priq); -+ scx->sticky_cpu = -1; -+ scx->holding_cpu = -1; -+ INIT_LIST_HEAD(&scx->runnable_node); -+ scx->runnable_at = jiffies; -+ scx->ddsp_dsq_id = SCX_DSQ_INVALID; -+ scx->slice = SCX_SLICE_DFL; -+} -+ -+void scx_pre_fork(struct task_struct *p) -+{ -+ /* -+ * BPF scheduler enable/disable paths want to be able to iterate and -+ * update all tasks which can become complex when racing forks. As -+ * enable/disable are very cold paths, let's use a percpu_rwsem to -+ * exclude forks. -+ */ -+ percpu_down_read(&scx_fork_rwsem); -+} -+ -+int scx_fork(struct task_struct *p) -+{ -+ percpu_rwsem_assert_held(&scx_fork_rwsem); -+ -+ if (scx_ops_init_task_enabled) -+ return scx_ops_init_task(p, task_group(p), true); -+ else -+ return 0; -+} -+ -+void scx_post_fork(struct task_struct *p) -+{ -+ if (scx_ops_init_task_enabled) { -+ scx_set_task_state(p, SCX_TASK_READY); -+ -+ /* -+ * Enable the task immediately if it's running on sched_ext. -+ * Otherwise, it'll be enabled in switching_to_scx() if and -+ * when it's ever configured to run with a SCHED_EXT policy. -+ */ -+ if (p->sched_class == &ext_sched_class) { -+ struct rq_flags rf; -+ struct rq *rq; -+ -+ rq = task_rq_lock(p, &rf); -+ scx_ops_enable_task(p); -+ task_rq_unlock(rq, p, &rf); -+ } -+ } -+ -+ spin_lock_irq(&scx_tasks_lock); -+ list_add_tail(&p->scx.tasks_node, &scx_tasks); -+ spin_unlock_irq(&scx_tasks_lock); -+ -+ percpu_up_read(&scx_fork_rwsem); -+} -+ -+void scx_cancel_fork(struct task_struct *p) -+{ -+ if (scx_enabled()) { -+ struct rq *rq; -+ struct rq_flags rf; -+ -+ rq = task_rq_lock(p, &rf); -+ WARN_ON_ONCE(scx_get_task_state(p) >= SCX_TASK_READY); -+ scx_ops_exit_task(p); -+ task_rq_unlock(rq, p, &rf); -+ } -+ -+ percpu_up_read(&scx_fork_rwsem); -+} -+ -+void sched_ext_free(struct task_struct *p) -+{ -+ unsigned long flags; -+ -+ spin_lock_irqsave(&scx_tasks_lock, flags); -+ list_del_init(&p->scx.tasks_node); -+ spin_unlock_irqrestore(&scx_tasks_lock, flags); -+ -+ /* -+ * @p is off scx_tasks and wholly ours. scx_ops_enable()'s READY -> -+ * ENABLED transitions can't race us. Disable ops for @p. -+ */ -+ if (scx_get_task_state(p) != SCX_TASK_NONE) { -+ struct rq_flags rf; -+ struct rq *rq; -+ -+ rq = task_rq_lock(p, &rf); -+ scx_ops_exit_task(p); -+ task_rq_unlock(rq, p, &rf); -+ } -+} -+ -+static void reweight_task_scx(struct rq *rq, struct task_struct *p, -+ const struct load_weight *lw) -+{ -+ lockdep_assert_rq_held(task_rq(p)); -+ -+ p->scx.weight = sched_weight_to_cgroup(scale_load_down(lw->weight)); -+ if (SCX_HAS_OP(set_weight)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, set_weight, p, p->scx.weight); -+} -+ -+static void prio_changed_scx(struct rq *rq, struct task_struct *p, int oldprio) -+{ -+} -+ -+static void switching_to_scx(struct rq *rq, struct task_struct *p) -+{ -+ scx_ops_enable_task(p); -+ -+ /* -+ * set_cpus_allowed_scx() is not called while @p is associated with a -+ * different scheduler class. Keep the BPF scheduler up-to-date. -+ */ -+ if (SCX_HAS_OP(set_cpumask)) -+ SCX_CALL_OP_TASK(SCX_KF_REST, set_cpumask, p, -+ (struct cpumask *)p->cpus_ptr); -+} -+ -+static void switched_from_scx(struct rq *rq, struct task_struct *p) -+{ -+ scx_ops_disable_task(p); -+} -+ -+static void wakeup_preempt_scx(struct rq *rq, struct task_struct *p,int wake_flags) {} -+static void switched_to_scx(struct rq *rq, struct task_struct *p) {} -+ -+int scx_check_setscheduler(struct task_struct *p, int policy) -+{ -+ lockdep_assert_rq_held(task_rq(p)); -+ -+ /* if disallow, reject transitioning into SCX */ -+ if (scx_enabled() && READ_ONCE(p->scx.disallow) && -+ p->policy != policy && policy == SCHED_EXT) -+ return -EACCES; -+ -+ return 0; -+} -+ -+#ifdef CONFIG_NO_HZ_FULL -+bool scx_can_stop_tick(struct rq *rq) -+{ -+ struct task_struct *p = rq->curr; -+ -+ if (scx_rq_bypassing(rq)) -+ return false; -+ -+ if (p->sched_class != &ext_sched_class) -+ return true; -+ -+ /* -+ * @rq can dispatch from different DSQs, so we can't tell whether it -+ * needs the tick or not by looking at nr_running. Allow stopping ticks -+ * iff the BPF scheduler indicated so. See set_next_task_scx(). -+ */ -+ return rq->scx.flags & SCX_RQ_CAN_STOP_TICK; -+} -+#endif -+ -+#ifdef CONFIG_EXT_GROUP_SCHED -+ -+DEFINE_STATIC_PERCPU_RWSEM(scx_cgroup_rwsem); -+static bool scx_cgroup_enabled; -+static bool cgroup_warned_missing_weight; -+static bool cgroup_warned_missing_idle; -+ -+static void scx_cgroup_warn_missing_weight(struct task_group *tg) -+{ -+ if (scx_ops_enable_state() == SCX_OPS_DISABLED || -+ cgroup_warned_missing_weight) -+ return; -+ -+ if ((scx_ops.flags & SCX_OPS_HAS_CGROUP_WEIGHT) || !tg->css.parent) -+ return; -+ -+ pr_warn("sched_ext: \"%s\" does not implement cgroup cpu.weight\n", -+ scx_ops.name); -+ cgroup_warned_missing_weight = true; -+} -+ -+static void scx_cgroup_warn_missing_idle(struct task_group *tg) -+{ -+ if (!scx_cgroup_enabled || cgroup_warned_missing_idle) -+ return; -+ -+ if (!tg->idle) -+ return; -+ -+ pr_warn("sched_ext: \"%s\" does not implement cgroup cpu.idle\n", -+ scx_ops.name); -+ cgroup_warned_missing_idle = true; -+} -+ -+int scx_tg_online(struct task_group *tg) -+{ -+ int ret = 0; -+ -+ WARN_ON_ONCE(tg->scx_flags & (SCX_TG_ONLINE | SCX_TG_INITED)); -+ -+ percpu_down_read(&scx_cgroup_rwsem); -+ -+ scx_cgroup_warn_missing_weight(tg); -+ -+ if (scx_cgroup_enabled) { -+ if (SCX_HAS_OP(cgroup_init)) { -+ struct scx_cgroup_init_args args = -+ { .weight = tg->scx_weight }; -+ -+ ret = SCX_CALL_OP_RET(SCX_KF_UNLOCKED, cgroup_init, -+ tg->css.cgroup, &args); -+ if (ret) -+ ret = ops_sanitize_err("cgroup_init", ret); -+ } -+ if (ret == 0) -+ tg->scx_flags |= SCX_TG_ONLINE | SCX_TG_INITED; -+ } else { -+ tg->scx_flags |= SCX_TG_ONLINE; -+ } -+ -+ percpu_up_read(&scx_cgroup_rwsem); -+ return ret; -+} -+ -+void scx_tg_offline(struct task_group *tg) -+{ -+ WARN_ON_ONCE(!(tg->scx_flags & SCX_TG_ONLINE)); -+ -+ percpu_down_read(&scx_cgroup_rwsem); -+ -+ if (SCX_HAS_OP(cgroup_exit) && (tg->scx_flags & SCX_TG_INITED)) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cgroup_exit, tg->css.cgroup); -+ tg->scx_flags &= ~(SCX_TG_ONLINE | SCX_TG_INITED); -+ -+ percpu_up_read(&scx_cgroup_rwsem); -+} -+ -+int scx_cgroup_can_attach(struct cgroup_taskset *tset) -+{ -+ struct cgroup_subsys_state *css; -+ struct task_struct *p; -+ int ret; -+ -+ /* released in scx_finish/cancel_attach() */ -+ percpu_down_read(&scx_cgroup_rwsem); -+ -+ if (!scx_cgroup_enabled) -+ return 0; -+ -+ cgroup_taskset_for_each(p, css, tset) { -+ struct cgroup *from = tg_cgrp(task_group(p)); -+ struct cgroup *to = tg_cgrp(css_tg(css)); -+ -+ WARN_ON_ONCE(p->scx.cgrp_moving_from); -+ -+ /* -+ * sched_move_task() omits identity migrations. Let's match the -+ * behavior so that ops.cgroup_prep_move() and ops.cgroup_move() -+ * always match one-to-one. -+ */ -+ if (from == to) -+ continue; -+ -+ if (SCX_HAS_OP(cgroup_prep_move)) { -+ ret = SCX_CALL_OP_RET(SCX_KF_UNLOCKED, cgroup_prep_move, -+ p, from, css->cgroup); -+ if (ret) -+ goto err; -+ } -+ -+ p->scx.cgrp_moving_from = from; -+ } -+ -+ return 0; -+ -+err: -+ cgroup_taskset_for_each(p, css, tset) { -+ if (SCX_HAS_OP(cgroup_cancel_move) && p->scx.cgrp_moving_from) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cgroup_cancel_move, p, -+ p->scx.cgrp_moving_from, css->cgroup); -+ p->scx.cgrp_moving_from = NULL; -+ } -+ -+ percpu_up_read(&scx_cgroup_rwsem); -+ return ops_sanitize_err("cgroup_prep_move", ret); -+} -+ -+void scx_move_task(struct task_struct *p) -+{ -+ if (!scx_cgroup_enabled) -+ return; -+ -+ /* -+ * We're called from sched_move_task() which handles both cgroup and -+ * autogroup moves. Ignore the latter. -+ * -+ * Also ignore exiting tasks, because in the exit path tasks transition -+ * from the autogroup to the root group, so task_group_is_autogroup() -+ * alone isn't able to catch exiting autogroup tasks. This is safe for -+ * cgroup_move(), because cgroup migrations never happen for PF_EXITING -+ * tasks. -+ */ -+ if (task_group_is_autogroup(task_group(p)) || (p->flags & PF_EXITING)) -+ return; -+ -+ /* -+ * @p must have ops.cgroup_prep_move() called on it and thus -+ * cgrp_moving_from set. -+ */ -+ if (SCX_HAS_OP(cgroup_move) && !WARN_ON_ONCE(!p->scx.cgrp_moving_from)) -+ SCX_CALL_OP_TASK(SCX_KF_UNLOCKED, cgroup_move, p, -+ p->scx.cgrp_moving_from, tg_cgrp(task_group(p))); -+ p->scx.cgrp_moving_from = NULL; -+} -+ -+void scx_cgroup_finish_attach(void) -+{ -+ percpu_up_read(&scx_cgroup_rwsem); -+} -+ -+void scx_cgroup_cancel_attach(struct cgroup_taskset *tset) -+{ -+ struct cgroup_subsys_state *css; -+ struct task_struct *p; -+ -+ if (!scx_cgroup_enabled) -+ goto out_unlock; -+ -+ cgroup_taskset_for_each(p, css, tset) { -+ if (SCX_HAS_OP(cgroup_cancel_move) && p->scx.cgrp_moving_from) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cgroup_cancel_move, p, -+ p->scx.cgrp_moving_from, css->cgroup); -+ p->scx.cgrp_moving_from = NULL; -+ } -+out_unlock: -+ percpu_up_read(&scx_cgroup_rwsem); -+} -+ -+void scx_group_set_weight(struct task_group *tg, unsigned long weight) -+{ -+ percpu_down_read(&scx_cgroup_rwsem); -+ -+ if (scx_cgroup_enabled && tg->scx_weight != weight) { -+ if (SCX_HAS_OP(cgroup_set_weight)) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cgroup_set_weight, -+ tg_cgrp(tg), weight); -+ tg->scx_weight = weight; -+ } -+ -+ percpu_up_read(&scx_cgroup_rwsem); -+} -+ -+void scx_group_set_idle(struct task_group *tg, bool idle) -+{ -+ percpu_down_read(&scx_cgroup_rwsem); -+ scx_cgroup_warn_missing_idle(tg); -+ percpu_up_read(&scx_cgroup_rwsem); -+} -+ -+static void scx_cgroup_lock(void) -+{ -+ percpu_down_write(&scx_cgroup_rwsem); -+} -+ -+static void scx_cgroup_unlock(void) -+{ -+ percpu_up_write(&scx_cgroup_rwsem); -+} -+ -+#else /* CONFIG_EXT_GROUP_SCHED */ -+ -+static inline void scx_cgroup_lock(void) {} -+static inline void scx_cgroup_unlock(void) {} -+ -+#endif /* CONFIG_EXT_GROUP_SCHED */ -+ -+/* -+ * Omitted operations: -+ * -+ * - wakeup_preempt: NOOP as it isn't useful in the wakeup path because the task -+ * isn't tied to the CPU at that point. Preemption is implemented by resetting -+ * the victim task's slice to 0 and triggering reschedule on the target CPU. -+ * -+ * - migrate_task_rq: Unnecessary as task to cpu mapping is transient. -+ * -+ * - task_fork/dead: We need fork/dead notifications for all tasks regardless of -+ * their current sched_class. Call them directly from sched core instead. -+ */ -+DEFINE_SCHED_CLASS(ext) = { -+ .enqueue_task = enqueue_task_scx, -+ .dequeue_task = dequeue_task_scx, -+ .yield_task = yield_task_scx, -+ .yield_to_task = yield_to_task_scx, -+ -+ .wakeup_preempt = wakeup_preempt_scx, -+ -+ .balance = balance_scx, -+ .pick_next_task = pick_next_task_scx, -+ -+ .put_prev_task = put_prev_task_scx, -+ .set_next_task = set_next_task_scx, -+ -+ .switch_class = switch_class_scx, -+ -+#ifdef CONFIG_SMP -+ .select_task_rq = select_task_rq_scx, -+ .task_woken = task_woken_scx, -+ .set_cpus_allowed = set_cpus_allowed_scx, -+ -+ .rq_online = rq_online_scx, -+ .rq_offline = rq_offline_scx, -+#endif -+ -+#ifdef CONFIG_SCHED_CORE -+ .pick_task = pick_task_scx, -+#endif -+ -+ .task_tick = task_tick_scx, -+ -+ .switching_to = switching_to_scx, -+ .switched_from = switched_from_scx, -+ .switched_to = switched_to_scx, -+ .reweight_task = reweight_task_scx, -+ .prio_changed = prio_changed_scx, -+ -+ .update_curr = update_curr_scx, -+ -+#ifdef CONFIG_UCLAMP_TASK -+ .uclamp_enabled = 1, -+#endif -+}; -+ -+static void init_dsq(struct scx_dispatch_q *dsq, u64 dsq_id) -+{ -+ memset(dsq, 0, sizeof(*dsq)); -+ -+ raw_spin_lock_init(&dsq->lock); -+ INIT_LIST_HEAD(&dsq->list); -+ dsq->id = dsq_id; -+} -+ -+static struct scx_dispatch_q *create_dsq(u64 dsq_id, int node) -+{ -+ struct scx_dispatch_q *dsq; -+ int ret; -+ -+ if (dsq_id & SCX_DSQ_FLAG_BUILTIN) -+ return ERR_PTR(-EINVAL); -+ -+ dsq = kmalloc_node(sizeof(*dsq), GFP_KERNEL, node); -+ if (!dsq) -+ return ERR_PTR(-ENOMEM); -+ -+ init_dsq(dsq, dsq_id); -+ -+ ret = rhashtable_insert_fast(&dsq_hash, &dsq->hash_node, -+ dsq_hash_params); -+ if (ret) { -+ kfree(dsq); -+ return ERR_PTR(ret); -+ } -+ return dsq; -+} -+ -+static void free_dsq_irq_workfn(struct irq_work *irq_work) -+{ -+ struct llist_node *to_free = llist_del_all(&dsqs_to_free); -+ struct scx_dispatch_q *dsq, *tmp_dsq; -+ -+ llist_for_each_entry_safe(dsq, tmp_dsq, to_free, free_node) -+ kfree_rcu(dsq, rcu); -+} -+ -+static DEFINE_IRQ_WORK(free_dsq_irq_work, free_dsq_irq_workfn); -+ -+static void destroy_dsq(u64 dsq_id) -+{ -+ struct scx_dispatch_q *dsq; -+ unsigned long flags; -+ -+ rcu_read_lock(); -+ -+ dsq = find_user_dsq(dsq_id); -+ if (!dsq) -+ goto out_unlock_rcu; -+ -+ raw_spin_lock_irqsave(&dsq->lock, flags); -+ -+ if (dsq->nr) { -+ scx_ops_error("attempting to destroy in-use dsq 0x%016llx (nr=%u)", -+ dsq->id, dsq->nr); -+ goto out_unlock_dsq; -+ } -+ -+ if (rhashtable_remove_fast(&dsq_hash, &dsq->hash_node, dsq_hash_params)) -+ goto out_unlock_dsq; -+ -+ /* -+ * Mark dead by invalidating ->id to prevent dispatch_enqueue() from -+ * queueing more tasks. As this function can be called from anywhere, -+ * freeing is bounced through an irq work to avoid nesting RCU -+ * operations inside scheduler locks. -+ */ -+ dsq->id = SCX_DSQ_INVALID; -+ llist_add(&dsq->free_node, &dsqs_to_free); -+ irq_work_queue(&free_dsq_irq_work); -+ -+out_unlock_dsq: -+ raw_spin_unlock_irqrestore(&dsq->lock, flags); -+out_unlock_rcu: -+ rcu_read_unlock(); -+} -+ -+#ifdef CONFIG_EXT_GROUP_SCHED -+static void scx_cgroup_exit(void) -+{ -+ struct cgroup_subsys_state *css; -+ -+ percpu_rwsem_assert_held(&scx_cgroup_rwsem); -+ -+ WARN_ON_ONCE(!scx_cgroup_enabled); -+ scx_cgroup_enabled = false; -+ -+ /* -+ * scx_tg_on/offline() are excluded through scx_cgroup_rwsem. If we walk -+ * cgroups and exit all the inited ones, all online cgroups are exited. -+ */ -+ rcu_read_lock(); -+ css_for_each_descendant_post(css, &root_task_group.css) { -+ struct task_group *tg = css_tg(css); -+ -+ if (!(tg->scx_flags & SCX_TG_INITED)) -+ continue; -+ tg->scx_flags &= ~SCX_TG_INITED; -+ -+ if (!scx_ops.cgroup_exit) -+ continue; -+ -+ if (WARN_ON_ONCE(!css_tryget(css))) -+ continue; -+ rcu_read_unlock(); -+ -+ SCX_CALL_OP(SCX_KF_UNLOCKED, cgroup_exit, css->cgroup); -+ -+ rcu_read_lock(); -+ css_put(css); -+ } -+ rcu_read_unlock(); -+} -+ -+static int scx_cgroup_init(void) -+{ -+ struct cgroup_subsys_state *css; -+ int ret; -+ -+ percpu_rwsem_assert_held(&scx_cgroup_rwsem); -+ -+ cgroup_warned_missing_weight = false; -+ cgroup_warned_missing_idle = false; -+ -+ /* -+ * scx_tg_on/offline() are excluded thorugh scx_cgroup_rwsem. If we walk -+ * cgroups and init, all online cgroups are initialized. -+ */ -+ rcu_read_lock(); -+ css_for_each_descendant_pre(css, &root_task_group.css) { -+ struct task_group *tg = css_tg(css); -+ struct scx_cgroup_init_args args = { .weight = tg->scx_weight }; -+ -+ scx_cgroup_warn_missing_weight(tg); -+ scx_cgroup_warn_missing_idle(tg); -+ -+ if ((tg->scx_flags & -+ (SCX_TG_ONLINE | SCX_TG_INITED)) != SCX_TG_ONLINE) -+ continue; -+ -+ if (!scx_ops.cgroup_init) { -+ tg->scx_flags |= SCX_TG_INITED; -+ continue; -+ } -+ -+ if (WARN_ON_ONCE(!css_tryget(css))) -+ continue; -+ rcu_read_unlock(); -+ -+ ret = SCX_CALL_OP_RET(SCX_KF_UNLOCKED, cgroup_init, -+ css->cgroup, &args); -+ if (ret) { -+ css_put(css); -+ return ret; -+ } -+ tg->scx_flags |= SCX_TG_INITED; -+ -+ rcu_read_lock(); -+ css_put(css); -+ } -+ rcu_read_unlock(); -+ -+ WARN_ON_ONCE(scx_cgroup_enabled); -+ scx_cgroup_enabled = true; -+ -+ return 0; -+} -+ -+#else -+static void scx_cgroup_exit(void) {} -+static int scx_cgroup_init(void) { return 0; } -+#endif -+ -+ -+/******************************************************************************** -+ * Sysfs interface and ops enable/disable. -+ */ -+ -+#define SCX_ATTR(_name) \ -+ static struct kobj_attribute scx_attr_##_name = { \ -+ .attr = { .name = __stringify(_name), .mode = 0444 }, \ -+ .show = scx_attr_##_name##_show, \ -+ } -+ -+static ssize_t scx_attr_state_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%s\n", -+ scx_ops_enable_state_str[scx_ops_enable_state()]); -+} -+SCX_ATTR(state); -+ -+static ssize_t scx_attr_switch_all_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%d\n", READ_ONCE(scx_switching_all)); -+} -+SCX_ATTR(switch_all); -+ -+static ssize_t scx_attr_nr_rejected_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%ld\n", atomic_long_read(&scx_nr_rejected)); -+} -+SCX_ATTR(nr_rejected); -+ -+static ssize_t scx_attr_hotplug_seq_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%ld\n", atomic_long_read(&scx_hotplug_seq)); -+} -+SCX_ATTR(hotplug_seq); -+ -+static ssize_t scx_attr_enable_seq_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%ld\n", atomic_long_read(&scx_enable_seq)); -+} -+SCX_ATTR(enable_seq); -+ -+static struct attribute *scx_global_attrs[] = { -+ &scx_attr_state.attr, -+ &scx_attr_switch_all.attr, -+ &scx_attr_nr_rejected.attr, -+ &scx_attr_hotplug_seq.attr, -+ &scx_attr_enable_seq.attr, -+ NULL, -+}; -+ -+static const struct attribute_group scx_global_attr_group = { -+ .attrs = scx_global_attrs, -+}; -+ -+static void scx_kobj_release(struct kobject *kobj) -+{ -+ kfree(kobj); -+} -+ -+static ssize_t scx_attr_ops_show(struct kobject *kobj, -+ struct kobj_attribute *ka, char *buf) -+{ -+ return sysfs_emit(buf, "%s\n", scx_ops.name); -+} -+SCX_ATTR(ops); -+ -+static struct attribute *scx_sched_attrs[] = { -+ &scx_attr_ops.attr, -+ NULL, -+}; -+ATTRIBUTE_GROUPS(scx_sched); -+ -+static const struct kobj_type scx_ktype = { -+ .release = scx_kobj_release, -+ .sysfs_ops = &kobj_sysfs_ops, -+ .default_groups = scx_sched_groups, -+}; -+ -+static int scx_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) -+{ -+ return add_uevent_var(env, "SCXOPS=%s", scx_ops.name); -+} -+ -+static const struct kset_uevent_ops scx_uevent_ops = { -+ .uevent = scx_uevent, -+}; -+ -+/* -+ * Used by sched_fork() and __setscheduler_prio() to pick the matching -+ * sched_class. dl/rt are already handled. -+ */ -+bool task_should_scx(struct task_struct *p) -+{ -+ if (!scx_enabled() || -+ unlikely(scx_ops_enable_state() == SCX_OPS_DISABLING)) -+ return false; -+ if (READ_ONCE(scx_switching_all)) -+ return true; -+ return p->policy == SCHED_EXT; -+} -+ -+/** -+ * scx_ops_bypass - [Un]bypass scx_ops and guarantee forward progress -+ * -+ * Bypassing guarantees that all runnable tasks make forward progress without -+ * trusting the BPF scheduler. We can't grab any mutexes or rwsems as they might -+ * be held by tasks that the BPF scheduler is forgetting to run, which -+ * unfortunately also excludes toggling the static branches. -+ * -+ * Let's work around by overriding a couple ops and modifying behaviors based on -+ * the DISABLING state and then cycling the queued tasks through dequeue/enqueue -+ * to force global FIFO scheduling. -+ * -+ * - ops.select_cpu() is ignored and the default select_cpu() is used. -+ * -+ * - ops.enqueue() is ignored and tasks are queued in simple global FIFO order. -+ * -+ * - ops.dispatch() is ignored. -+ * -+ * - balance_scx() does not set %SCX_RQ_BAL_KEEP on no*n-zero slice as slice -+ * can't be trusted. Whenever a tick triggers, the running task is rotated to -+ * the tail of the queue with core_sched_at touched. -+ * -+ * - pick_next_task() suppresses zero slice warning. -+ * -+ * - scx_bpf_kick_cpu() is disabled to avoid irq_work malfunction during PM -+ * operations. -+ * -+ * - scx_prio_less() reverts to the default core_sched_at order. -+ */ -+static void scx_ops_bypass(bool bypass) -+{ -+ int depth, cpu; -+ -+ if (bypass) { -+ depth = atomic_inc_return(&scx_ops_bypass_depth); -+ WARN_ON_ONCE(depth <= 0); -+ if (depth != 1) -+ return; -+ } else { -+ depth = atomic_dec_return(&scx_ops_bypass_depth); -+ WARN_ON_ONCE(depth < 0); -+ if (depth != 0) -+ return; -+ } -+ -+ /* -+ * No task property is changing. We just need to make sure all currently -+ * queued tasks are re-queued according to the new scx_rq_bypassing() -+ * state. As an optimization, walk each rq's runnable_list instead of -+ * the scx_tasks list. -+ * -+ * This function can't trust the scheduler and thus can't use -+ * cpus_read_lock(). Walk all possible CPUs instead of online. -+ */ -+ for_each_possible_cpu(cpu) { -+ struct rq *rq = cpu_rq(cpu); -+ struct rq_flags rf; -+ struct task_struct *p, *n; -+ -+ rq_lock_irqsave(rq, &rf); -+ -+ if (bypass) { -+ WARN_ON_ONCE(rq->scx.flags & SCX_RQ_BYPASSING); -+ rq->scx.flags |= SCX_RQ_BYPASSING; -+ } else { -+ WARN_ON_ONCE(!(rq->scx.flags & SCX_RQ_BYPASSING)); -+ rq->scx.flags &= ~SCX_RQ_BYPASSING; -+ } -+ -+ /* -+ * We need to guarantee that no tasks are on the BPF scheduler -+ * while bypassing. Either we see enabled or the enable path -+ * sees scx_rq_bypassing() before moving tasks to SCX. -+ */ -+ if (!scx_enabled()) { -+ rq_unlock_irqrestore(rq, &rf); -+ continue; -+ } -+ -+ /* -+ * The use of list_for_each_entry_safe_reverse() is required -+ * because each task is going to be removed from and added back -+ * to the runnable_list during iteration. Because they're added -+ * to the tail of the list, safe reverse iteration can still -+ * visit all nodes. -+ */ -+ list_for_each_entry_safe_reverse(p, n, &rq->scx.runnable_list, -+ scx.runnable_node) { -+ struct sched_enq_and_set_ctx ctx; -+ -+ /* cycling deq/enq is enough, see the function comment */ -+ sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx); -+ sched_enq_and_set_task(&ctx); -+ } -+ -+ rq_unlock_irqrestore(rq, &rf); -+ -+ /* resched to restore ticks and idle state */ -+ resched_cpu(cpu); -+ } -+} -+ -+static void free_exit_info(struct scx_exit_info *ei) -+{ -+ kfree(ei->dump); -+ kfree(ei->msg); -+ kfree(ei->bt); -+ kfree(ei); -+} -+ -+static struct scx_exit_info *alloc_exit_info(size_t exit_dump_len) -+{ -+ struct scx_exit_info *ei; -+ -+ ei = kzalloc(sizeof(*ei), GFP_KERNEL); -+ if (!ei) -+ return NULL; -+ -+ ei->bt = kcalloc(SCX_EXIT_BT_LEN, sizeof(ei->bt[0]), GFP_KERNEL); -+ ei->msg = kzalloc(SCX_EXIT_MSG_LEN, GFP_KERNEL); -+ ei->dump = kzalloc(exit_dump_len, GFP_KERNEL); -+ -+ if (!ei->bt || !ei->msg || !ei->dump) { -+ free_exit_info(ei); -+ return NULL; -+ } -+ -+ return ei; -+} -+ -+static const char *scx_exit_reason(enum scx_exit_kind kind) -+{ -+ switch (kind) { -+ case SCX_EXIT_UNREG: -+ return "unregistered from user space"; -+ case SCX_EXIT_UNREG_BPF: -+ return "unregistered from BPF"; -+ case SCX_EXIT_UNREG_KERN: -+ return "unregistered from the main kernel"; -+ case SCX_EXIT_SYSRQ: -+ return "disabled by sysrq-S"; -+ case SCX_EXIT_ERROR: -+ return "runtime error"; -+ case SCX_EXIT_ERROR_BPF: -+ return "scx_bpf_error"; -+ case SCX_EXIT_ERROR_STALL: -+ return "runnable task stall"; -+ default: -+ return ""; -+ } -+} -+ -+static void scx_ops_disable_workfn(struct kthread_work *work) -+{ -+ struct scx_exit_info *ei = scx_exit_info; -+ struct scx_task_iter sti; -+ struct task_struct *p; -+ struct rhashtable_iter rht_iter; -+ struct scx_dispatch_q *dsq; -+ int i, kind; -+ -+ kind = atomic_read(&scx_exit_kind); -+ while (true) { -+ /* -+ * NONE indicates that a new scx_ops has been registered since -+ * disable was scheduled - don't kill the new ops. DONE -+ * indicates that the ops has already been disabled. -+ */ -+ if (kind == SCX_EXIT_NONE || kind == SCX_EXIT_DONE) -+ return; -+ if (atomic_try_cmpxchg(&scx_exit_kind, &kind, SCX_EXIT_DONE)) -+ break; -+ } -+ ei->kind = kind; -+ ei->reason = scx_exit_reason(ei->kind); -+ -+ /* guarantee forward progress by bypassing scx_ops */ -+ scx_ops_bypass(true); -+ -+ switch (scx_ops_set_enable_state(SCX_OPS_DISABLING)) { -+ case SCX_OPS_DISABLING: -+ WARN_ONCE(true, "sched_ext: duplicate disabling instance?"); -+ break; -+ case SCX_OPS_DISABLED: -+ pr_warn("sched_ext: ops error detected without ops (%s)\n", -+ scx_exit_info->msg); -+ WARN_ON_ONCE(scx_ops_set_enable_state(SCX_OPS_DISABLED) != -+ SCX_OPS_DISABLING); -+ goto done; -+ default: -+ break; -+ } -+ -+ /* -+ * Here, every runnable task is guaranteed to make forward progress and -+ * we can safely use blocking synchronization constructs. Actually -+ * disable ops. -+ */ -+ mutex_lock(&scx_ops_enable_mutex); -+ -+ static_branch_disable(&__scx_switched_all); -+ WRITE_ONCE(scx_switching_all, false); -+ -+ /* -+ * Shut down cgroup support before tasks so that the cgroup attach path -+ * doesn't race against scx_ops_exit_task(). -+ */ -+ scx_cgroup_lock(); -+ scx_cgroup_exit(); -+ scx_cgroup_unlock(); -+ -+ /* -+ * The BPF scheduler is going away. All tasks including %TASK_DEAD ones -+ * must be switched out and exited synchronously. -+ */ -+ percpu_down_write(&scx_fork_rwsem); -+ -+ scx_ops_init_task_enabled = false; -+ -+ scx_task_iter_start(&sti); -+ while ((p = scx_task_iter_next_locked(&sti))) { -+ const struct sched_class *old_class = p->sched_class; -+ struct sched_enq_and_set_ctx ctx; -+ -+ sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx); -+ -+ __setscheduler_prio(p, p->prio); -+ check_class_changing(task_rq(p), p, old_class); -+ -+ sched_enq_and_set_task(&ctx); -+ -+ check_class_changed(task_rq(p), p, old_class, p->prio); -+ scx_ops_exit_task(p); -+ } -+ scx_task_iter_stop(&sti); -+ percpu_up_write(&scx_fork_rwsem); -+ -+ /* no task is on scx, turn off all the switches and flush in-progress calls */ -+ static_branch_disable(&__scx_ops_enabled); -+ for (i = SCX_OPI_BEGIN; i < SCX_OPI_END; i++) -+ static_branch_disable(&scx_has_op[i]); -+ static_branch_disable(&scx_ops_enq_last); -+ static_branch_disable(&scx_ops_enq_exiting); -+ static_branch_disable(&scx_ops_cpu_preempt); -+ static_branch_disable(&scx_builtin_idle_enabled); -+ synchronize_rcu(); -+ -+ if (ei->kind >= SCX_EXIT_ERROR) { -+ pr_err("sched_ext: BPF scheduler \"%s\" disabled (%s)\n", -+ scx_ops.name, ei->reason); -+ -+ if (ei->msg[0] != '\0') -+ pr_err("sched_ext: %s: %s\n", scx_ops.name, ei->msg); -+#ifdef CONFIG_STACKTRACE -+ stack_trace_print(ei->bt, ei->bt_len, 2); -+#endif -+ } else { -+ pr_info("sched_ext: BPF scheduler \"%s\" disabled (%s)\n", -+ scx_ops.name, ei->reason); -+ } -+ -+ if (scx_ops.exit) -+ SCX_CALL_OP(SCX_KF_UNLOCKED, exit, ei); -+ -+ cancel_delayed_work_sync(&scx_watchdog_work); -+ -+ /* -+ * Delete the kobject from the hierarchy eagerly in addition to just -+ * dropping a reference. Otherwise, if the object is deleted -+ * asynchronously, sysfs could observe an object of the same name still -+ * in the hierarchy when another scheduler is loaded. -+ */ -+ kobject_del(scx_root_kobj); -+ kobject_put(scx_root_kobj); -+ scx_root_kobj = NULL; -+ -+ memset(&scx_ops, 0, sizeof(scx_ops)); -+ -+ rhashtable_walk_enter(&dsq_hash, &rht_iter); -+ do { -+ rhashtable_walk_start(&rht_iter); -+ -+ while ((dsq = rhashtable_walk_next(&rht_iter)) && !IS_ERR(dsq)) -+ destroy_dsq(dsq->id); -+ -+ rhashtable_walk_stop(&rht_iter); -+ } while (dsq == ERR_PTR(-EAGAIN)); -+ rhashtable_walk_exit(&rht_iter); -+ -+ free_percpu(scx_dsp_ctx); -+ scx_dsp_ctx = NULL; -+ scx_dsp_max_batch = 0; -+ -+ free_exit_info(scx_exit_info); -+ scx_exit_info = NULL; -+ -+ mutex_unlock(&scx_ops_enable_mutex); -+ -+ WARN_ON_ONCE(scx_ops_set_enable_state(SCX_OPS_DISABLED) != -+ SCX_OPS_DISABLING); -+done: -+ scx_ops_bypass(false); -+} -+ -+static DEFINE_KTHREAD_WORK(scx_ops_disable_work, scx_ops_disable_workfn); -+ -+static void schedule_scx_ops_disable_work(void) -+{ -+ struct kthread_worker *helper = READ_ONCE(scx_ops_helper); -+ -+ /* -+ * We may be called spuriously before the first bpf_sched_ext_reg(). If -+ * scx_ops_helper isn't set up yet, there's nothing to do. -+ */ -+ if (helper) -+ kthread_queue_work(helper, &scx_ops_disable_work); -+} -+ -+static void scx_ops_disable(enum scx_exit_kind kind) -+{ -+ int none = SCX_EXIT_NONE; -+ -+ if (WARN_ON_ONCE(kind == SCX_EXIT_NONE || kind == SCX_EXIT_DONE)) -+ kind = SCX_EXIT_ERROR; -+ -+ atomic_try_cmpxchg(&scx_exit_kind, &none, kind); -+ -+ schedule_scx_ops_disable_work(); -+} -+ -+static void dump_newline(struct seq_buf *s) -+{ -+ trace_sched_ext_dump(""); -+ -+ /* @s may be zero sized and seq_buf triggers WARN if so */ -+ if (s->size) -+ seq_buf_putc(s, '\n'); -+} -+ -+static __printf(2, 3) void dump_line(struct seq_buf *s, const char *fmt, ...) -+{ -+ va_list args; -+ -+#ifdef CONFIG_TRACEPOINTS -+ if (trace_sched_ext_dump_enabled()) { -+ /* protected by scx_dump_state()::dump_lock */ -+ static char line_buf[SCX_EXIT_MSG_LEN]; -+ -+ va_start(args, fmt); -+ vscnprintf(line_buf, sizeof(line_buf), fmt, args); -+ va_end(args); -+ -+ trace_sched_ext_dump(line_buf); -+ } -+#endif -+ /* @s may be zero sized and seq_buf triggers WARN if so */ -+ if (s->size) { -+ va_start(args, fmt); -+ seq_buf_vprintf(s, fmt, args); -+ va_end(args); -+ -+ seq_buf_putc(s, '\n'); -+ } -+} -+ -+static void dump_stack_trace(struct seq_buf *s, const char *prefix, -+ const unsigned long *bt, unsigned int len) -+{ -+ unsigned int i; -+ -+ for (i = 0; i < len; i++) -+ dump_line(s, "%s%pS", prefix, (void *)bt[i]); -+} -+ -+static void ops_dump_init(struct seq_buf *s, const char *prefix) -+{ -+ struct scx_dump_data *dd = &scx_dump_data; -+ -+ lockdep_assert_irqs_disabled(); -+ -+ dd->cpu = smp_processor_id(); /* allow scx_bpf_dump() */ -+ dd->first = true; -+ dd->cursor = 0; -+ dd->s = s; -+ dd->prefix = prefix; -+} -+ -+static void ops_dump_flush(void) -+{ -+ struct scx_dump_data *dd = &scx_dump_data; -+ char *line = dd->buf.line; -+ -+ if (!dd->cursor) -+ return; -+ -+ /* -+ * There's something to flush and this is the first line. Insert a blank -+ * line to distinguish ops dump. -+ */ -+ if (dd->first) { -+ dump_newline(dd->s); -+ dd->first = false; -+ } -+ -+ /* -+ * There may be multiple lines in $line. Scan and emit each line -+ * separately. -+ */ -+ while (true) { -+ char *end = line; -+ char c; -+ -+ while (*end != '\n' && *end != '\0') -+ end++; -+ -+ /* -+ * If $line overflowed, it may not have newline at the end. -+ * Always emit with a newline. -+ */ -+ c = *end; -+ *end = '\0'; -+ dump_line(dd->s, "%s%s", dd->prefix, line); -+ if (c == '\0') -+ break; -+ -+ /* move to the next line */ -+ end++; -+ if (*end == '\0') -+ break; -+ line = end; -+ } -+ -+ dd->cursor = 0; -+} -+ -+static void ops_dump_exit(void) -+{ -+ ops_dump_flush(); -+ scx_dump_data.cpu = -1; -+} -+ -+static void scx_dump_task(struct seq_buf *s, struct scx_dump_ctx *dctx, -+ struct task_struct *p, char marker) -+{ -+ static unsigned long bt[SCX_EXIT_BT_LEN]; -+ char dsq_id_buf[19] = "(n/a)"; -+ unsigned long ops_state = atomic_long_read(&p->scx.ops_state); -+ unsigned int bt_len = 0; -+ -+ if (p->scx.dsq) -+ scnprintf(dsq_id_buf, sizeof(dsq_id_buf), "0x%llx", -+ (unsigned long long)p->scx.dsq->id); -+ -+ dump_newline(s); -+ dump_line(s, " %c%c %s[%d] %+ldms", -+ marker, task_state_to_char(p), p->comm, p->pid, -+ jiffies_delta_msecs(p->scx.runnable_at, dctx->at_jiffies)); -+ dump_line(s, " scx_state/flags=%u/0x%x dsq_flags=0x%x ops_state/qseq=%lu/%lu", -+ scx_get_task_state(p), p->scx.flags & ~SCX_TASK_STATE_MASK, -+ p->scx.dsq_flags, ops_state & SCX_OPSS_STATE_MASK, -+ ops_state >> SCX_OPSS_QSEQ_SHIFT); -+ dump_line(s, " sticky/holding_cpu=%d/%d dsq_id=%s dsq_vtime=%llu", -+ p->scx.sticky_cpu, p->scx.holding_cpu, dsq_id_buf, -+ p->scx.dsq_vtime); -+ dump_line(s, " cpus=%*pb", cpumask_pr_args(p->cpus_ptr)); -+ -+ if (SCX_HAS_OP(dump_task)) { -+ ops_dump_init(s, " "); -+ SCX_CALL_OP(SCX_KF_REST, dump_task, dctx, p); -+ ops_dump_exit(); -+ } -+ -+#ifdef CONFIG_STACKTRACE -+ bt_len = stack_trace_save_tsk(p, bt, SCX_EXIT_BT_LEN, 1); -+#endif -+ if (bt_len) { -+ dump_newline(s); -+ dump_stack_trace(s, " ", bt, bt_len); -+ } -+} -+ -+static void scx_dump_state(struct scx_exit_info *ei, size_t dump_len) -+{ -+ static DEFINE_SPINLOCK(dump_lock); -+ static const char trunc_marker[] = "\n\n~~~~ TRUNCATED ~~~~\n"; -+ struct scx_dump_ctx dctx = { -+ .kind = ei->kind, -+ .exit_code = ei->exit_code, -+ .reason = ei->reason, -+ .at_ns = ktime_get_ns(), -+ .at_jiffies = jiffies, -+ }; -+ struct seq_buf s; -+ unsigned long flags; -+ char *buf; -+ int cpu; -+ -+ spin_lock_irqsave(&dump_lock, flags); -+ -+ seq_buf_init(&s, ei->dump, dump_len); -+ -+ if (ei->kind == SCX_EXIT_NONE) { -+ dump_line(&s, "Debug dump triggered by %s", ei->reason); -+ } else { -+ dump_line(&s, "%s[%d] triggered exit kind %d:", -+ current->comm, current->pid, ei->kind); -+ dump_line(&s, " %s (%s)", ei->reason, ei->msg); -+ dump_newline(&s); -+ dump_line(&s, "Backtrace:"); -+ dump_stack_trace(&s, " ", ei->bt, ei->bt_len); -+ } -+ -+ if (SCX_HAS_OP(dump)) { -+ ops_dump_init(&s, ""); -+ SCX_CALL_OP(SCX_KF_UNLOCKED, dump, &dctx); -+ ops_dump_exit(); -+ } -+ -+ dump_newline(&s); -+ dump_line(&s, "CPU states"); -+ dump_line(&s, "----------"); -+ -+ for_each_possible_cpu(cpu) { -+ struct rq *rq = cpu_rq(cpu); -+ struct rq_flags rf; -+ struct task_struct *p; -+ struct seq_buf ns; -+ size_t avail, used; -+ bool idle; -+ -+ rq_lock(rq, &rf); -+ -+ idle = list_empty(&rq->scx.runnable_list) && -+ rq->curr->sched_class == &idle_sched_class; -+ -+ if (idle && !SCX_HAS_OP(dump_cpu)) -+ goto next; -+ -+ /* -+ * We don't yet know whether ops.dump_cpu() will produce output -+ * and we may want to skip the default CPU dump if it doesn't. -+ * Use a nested seq_buf to generate the standard dump so that we -+ * can decide whether to commit later. -+ */ -+ avail = seq_buf_get_buf(&s, &buf); -+ seq_buf_init(&ns, buf, avail); -+ -+ dump_newline(&ns); -+ dump_line(&ns, "CPU %-4d: nr_run=%u flags=0x%x cpu_rel=%d ops_qseq=%lu pnt_seq=%lu", -+ cpu, rq->scx.nr_running, rq->scx.flags, -+ rq->scx.cpu_released, rq->scx.ops_qseq, -+ rq->scx.pnt_seq); -+ dump_line(&ns, " curr=%s[%d] class=%ps", -+ rq->curr->comm, rq->curr->pid, -+ rq->curr->sched_class); -+ if (!cpumask_empty(rq->scx.cpus_to_kick)) -+ dump_line(&ns, " cpus_to_kick : %*pb", -+ cpumask_pr_args(rq->scx.cpus_to_kick)); -+ if (!cpumask_empty(rq->scx.cpus_to_kick_if_idle)) -+ dump_line(&ns, " idle_to_kick : %*pb", -+ cpumask_pr_args(rq->scx.cpus_to_kick_if_idle)); -+ if (!cpumask_empty(rq->scx.cpus_to_preempt)) -+ dump_line(&ns, " cpus_to_preempt: %*pb", -+ cpumask_pr_args(rq->scx.cpus_to_preempt)); -+ if (!cpumask_empty(rq->scx.cpus_to_wait)) -+ dump_line(&ns, " cpus_to_wait : %*pb", -+ cpumask_pr_args(rq->scx.cpus_to_wait)); -+ -+ used = seq_buf_used(&ns); -+ if (SCX_HAS_OP(dump_cpu)) { -+ ops_dump_init(&ns, " "); -+ SCX_CALL_OP(SCX_KF_REST, dump_cpu, &dctx, cpu, idle); -+ ops_dump_exit(); -+ } -+ -+ /* -+ * If idle && nothing generated by ops.dump_cpu(), there's -+ * nothing interesting. Skip. -+ */ -+ if (idle && used == seq_buf_used(&ns)) -+ goto next; -+ -+ /* -+ * $s may already have overflowed when $ns was created. If so, -+ * calling commit on it will trigger BUG. -+ */ -+ if (avail) { -+ seq_buf_commit(&s, seq_buf_used(&ns)); -+ if (seq_buf_has_overflowed(&ns)) -+ seq_buf_set_overflow(&s); -+ } -+ -+ if (rq->curr->sched_class == &ext_sched_class) -+ scx_dump_task(&s, &dctx, rq->curr, '*'); -+ -+ list_for_each_entry(p, &rq->scx.runnable_list, scx.runnable_node) -+ scx_dump_task(&s, &dctx, p, ' '); -+ next: -+ rq_unlock(rq, &rf); -+ } -+ -+ if (seq_buf_has_overflowed(&s) && dump_len >= sizeof(trunc_marker)) -+ memcpy(ei->dump + dump_len - sizeof(trunc_marker), -+ trunc_marker, sizeof(trunc_marker)); -+ -+ spin_unlock_irqrestore(&dump_lock, flags); -+} -+ -+static void scx_ops_error_irq_workfn(struct irq_work *irq_work) -+{ -+ struct scx_exit_info *ei = scx_exit_info; -+ -+ if (ei->kind >= SCX_EXIT_ERROR) -+ scx_dump_state(ei, scx_ops.exit_dump_len); -+ -+ schedule_scx_ops_disable_work(); -+} -+ -+static DEFINE_IRQ_WORK(scx_ops_error_irq_work, scx_ops_error_irq_workfn); -+ -+static __printf(3, 4) void scx_ops_exit_kind(enum scx_exit_kind kind, -+ s64 exit_code, -+ const char *fmt, ...) -+{ -+ struct scx_exit_info *ei = scx_exit_info; -+ int none = SCX_EXIT_NONE; -+ va_list args; -+ -+ if (!atomic_try_cmpxchg(&scx_exit_kind, &none, kind)) -+ return; -+ -+ ei->exit_code = exit_code; -+#ifdef CONFIG_STACKTRACE -+ if (kind >= SCX_EXIT_ERROR) -+ ei->bt_len = stack_trace_save(ei->bt, SCX_EXIT_BT_LEN, 1); -+#endif -+ va_start(args, fmt); -+ vscnprintf(ei->msg, SCX_EXIT_MSG_LEN, fmt, args); -+ va_end(args); -+ -+ /* -+ * Set ei->kind and ->reason for scx_dump_state(). They'll be set again -+ * in scx_ops_disable_workfn(). -+ */ -+ ei->kind = kind; -+ ei->reason = scx_exit_reason(ei->kind); -+ -+ irq_work_queue(&scx_ops_error_irq_work); -+} -+ -+static struct kthread_worker *scx_create_rt_helper(const char *name) -+{ -+ struct kthread_worker *helper; -+ -+ helper = kthread_create_worker(0, name); -+ if (helper) -+ sched_set_fifo(helper->task); -+ return helper; -+} -+ -+static void check_hotplug_seq(const struct sched_ext_ops *ops) -+{ -+ unsigned long long global_hotplug_seq; -+ -+ /* -+ * If a hotplug event has occurred between when a scheduler was -+ * initialized, and when we were able to attach, exit and notify user -+ * space about it. -+ */ -+ if (ops->hotplug_seq) { -+ global_hotplug_seq = atomic_long_read(&scx_hotplug_seq); -+ if (ops->hotplug_seq != global_hotplug_seq) { -+ scx_ops_exit(SCX_ECODE_ACT_RESTART | SCX_ECODE_RSN_HOTPLUG, -+ "expected hotplug seq %llu did not match actual %llu", -+ ops->hotplug_seq, global_hotplug_seq); -+ } -+ } -+} -+ -+static int validate_ops(const struct sched_ext_ops *ops) -+{ -+ /* -+ * It doesn't make sense to specify the SCX_OPS_ENQ_LAST flag if the -+ * ops.enqueue() callback isn't implemented. -+ */ -+ if ((ops->flags & SCX_OPS_ENQ_LAST) && !ops->enqueue) { -+ scx_ops_error("SCX_OPS_ENQ_LAST requires ops.enqueue() to be implemented"); -+ return -EINVAL; -+ } -+ -+ return 0; -+} -+ -+static int scx_ops_enable(struct sched_ext_ops *ops, struct bpf_link *link) -+{ -+ struct scx_task_iter sti; -+ struct task_struct *p; -+ unsigned long timeout; -+ int i, cpu, node, ret; -+ -+ if (!cpumask_equal(housekeeping_cpumask(HK_TYPE_DOMAIN), -+ cpu_possible_mask)) { -+ pr_err("sched_ext: Not compatible with \"isolcpus=\" domain isolation"); -+ return -EINVAL; -+ } -+ -+ mutex_lock(&scx_ops_enable_mutex); -+ -+ if (!scx_ops_helper) { -+ WRITE_ONCE(scx_ops_helper, -+ scx_create_rt_helper("sched_ext_ops_helper")); -+ if (!scx_ops_helper) { -+ ret = -ENOMEM; -+ goto err_unlock; -+ } -+ } -+ -+ if (!global_dsqs) { -+ struct scx_dispatch_q **dsqs; -+ -+ dsqs = kcalloc(nr_node_ids, sizeof(dsqs[0]), GFP_KERNEL); -+ if (!dsqs) { -+ ret = -ENOMEM; -+ goto err_unlock; -+ } -+ -+ for_each_node_state(node, N_POSSIBLE) { -+ struct scx_dispatch_q *dsq; -+ -+ dsq = kzalloc_node(sizeof(*dsq), GFP_KERNEL, node); -+ if (!dsq) { -+ for_each_node_state(node, N_POSSIBLE) -+ kfree(dsqs[node]); -+ kfree(dsqs); -+ ret = -ENOMEM; -+ goto err_unlock; -+ } -+ -+ init_dsq(dsq, SCX_DSQ_GLOBAL); -+ dsqs[node] = dsq; -+ } -+ -+ global_dsqs = dsqs; -+ } -+ -+ if (scx_ops_enable_state() != SCX_OPS_DISABLED) { -+ ret = -EBUSY; -+ goto err_unlock; -+ } -+ -+ scx_root_kobj = kzalloc(sizeof(*scx_root_kobj), GFP_KERNEL); -+ if (!scx_root_kobj) { -+ ret = -ENOMEM; -+ goto err_unlock; -+ } -+ -+ scx_root_kobj->kset = scx_kset; -+ ret = kobject_init_and_add(scx_root_kobj, &scx_ktype, NULL, "root"); -+ if (ret < 0) -+ goto err; -+ -+ scx_exit_info = alloc_exit_info(ops->exit_dump_len); -+ if (!scx_exit_info) { -+ ret = -ENOMEM; -+ goto err_del; -+ } -+ -+ /* -+ * Set scx_ops, transition to ENABLING and clear exit info to arm the -+ * disable path. Failure triggers full disabling from here on. -+ */ -+ scx_ops = *ops; -+ -+ WARN_ON_ONCE(scx_ops_set_enable_state(SCX_OPS_ENABLING) != -+ SCX_OPS_DISABLED); -+ -+ atomic_set(&scx_exit_kind, SCX_EXIT_NONE); -+ scx_warned_zero_slice = false; -+ -+ atomic_long_set(&scx_nr_rejected, 0); -+ -+ for_each_possible_cpu(cpu) -+ cpu_rq(cpu)->scx.cpuperf_target = SCX_CPUPERF_ONE; -+ -+ /* -+ * Keep CPUs stable during enable so that the BPF scheduler can track -+ * online CPUs by watching ->on/offline_cpu() after ->init(). -+ */ -+ cpus_read_lock(); -+ -+ if (scx_ops.init) { -+ ret = SCX_CALL_OP_RET(SCX_KF_UNLOCKED, init); -+ if (ret) { -+ ret = ops_sanitize_err("init", ret); -+ cpus_read_unlock(); -+ goto err_disable; -+ } -+ } -+ -+ for (i = SCX_OPI_CPU_HOTPLUG_BEGIN; i < SCX_OPI_CPU_HOTPLUG_END; i++) -+ if (((void (**)(void))ops)[i]) -+ static_branch_enable_cpuslocked(&scx_has_op[i]); -+ -+ check_hotplug_seq(ops); -+ cpus_read_unlock(); -+ -+ ret = validate_ops(ops); -+ if (ret) -+ goto err_disable; -+ -+ WARN_ON_ONCE(scx_dsp_ctx); -+ scx_dsp_max_batch = ops->dispatch_max_batch ?: SCX_DSP_DFL_MAX_BATCH; -+ scx_dsp_ctx = __alloc_percpu(struct_size_t(struct scx_dsp_ctx, buf, -+ scx_dsp_max_batch), -+ __alignof__(struct scx_dsp_ctx)); -+ if (!scx_dsp_ctx) { -+ ret = -ENOMEM; -+ goto err_disable; -+ } -+ -+ if (ops->timeout_ms) -+ timeout = msecs_to_jiffies(ops->timeout_ms); -+ else -+ timeout = SCX_WATCHDOG_MAX_TIMEOUT; -+ -+ WRITE_ONCE(scx_watchdog_timeout, timeout); -+ WRITE_ONCE(scx_watchdog_timestamp, jiffies); -+ queue_delayed_work(system_unbound_wq, &scx_watchdog_work, -+ scx_watchdog_timeout / 2); -+ -+ /* -+ * Once __scx_ops_enabled is set, %current can be switched to SCX -+ * anytime. This can lead to stalls as some BPF schedulers (e.g. -+ * userspace scheduling) may not function correctly before all tasks are -+ * switched. Init in bypass mode to guarantee forward progress. -+ */ -+ scx_ops_bypass(true); -+ -+ for (i = SCX_OPI_NORMAL_BEGIN; i < SCX_OPI_NORMAL_END; i++) -+ if (((void (**)(void))ops)[i]) -+ static_branch_enable(&scx_has_op[i]); -+ -+ if (ops->flags & SCX_OPS_ENQ_LAST) -+ static_branch_enable(&scx_ops_enq_last); -+ -+ if (ops->flags & SCX_OPS_ENQ_EXITING) -+ static_branch_enable(&scx_ops_enq_exiting); -+ if (scx_ops.cpu_acquire || scx_ops.cpu_release) -+ static_branch_enable(&scx_ops_cpu_preempt); -+ -+ if (!ops->update_idle || (ops->flags & SCX_OPS_KEEP_BUILTIN_IDLE)) { -+ reset_idle_masks(); -+ static_branch_enable(&scx_builtin_idle_enabled); -+ } else { -+ static_branch_disable(&scx_builtin_idle_enabled); -+ } -+ -+ /* -+ * Lock out forks, cgroup on/offlining and moves before opening the -+ * floodgate so that they don't wander into the operations prematurely. -+ */ -+ percpu_down_write(&scx_fork_rwsem); -+ -+ WARN_ON_ONCE(scx_ops_init_task_enabled); -+ scx_ops_init_task_enabled = true; -+ -+ /* -+ * Enable ops for every task. Fork is excluded by scx_fork_rwsem -+ * preventing new tasks from being added. No need to exclude tasks -+ * leaving as sched_ext_free() can handle both prepped and enabled -+ * tasks. Prep all tasks first and then enable them with preemption -+ * disabled. -+ * -+ * All cgroups should be initialized before scx_ops_init_task() so that -+ * the BPF scheduler can reliably track each task's cgroup membership -+ * from scx_ops_init_task(). Lock out cgroup on/offlining and task -+ * migrations while tasks are being initialized so that -+ * scx_cgroup_can_attach() never sees uninitialized tasks. -+ */ -+ scx_cgroup_lock(); -+ ret = scx_cgroup_init(); -+ if (ret) -+ goto err_disable_unlock_all; -+ -+ scx_task_iter_start(&sti); -+ while ((p = scx_task_iter_next_locked(&sti))) { -+ /* -+ * @p may already be dead, have lost all its usages counts and -+ * be waiting for RCU grace period before being freed. @p can't -+ * be initialized for SCX in such cases and should be ignored. -+ */ -+ if (!tryget_task_struct(p)) -+ continue; -+ -+ scx_task_iter_unlock(&sti); -+ -+ ret = scx_ops_init_task(p, task_group(p), false); -+ if (ret) { -+ put_task_struct(p); -+ scx_task_iter_relock(&sti); -+ scx_task_iter_stop(&sti); -+ pr_err("sched_ext: ops.init_task() failed (%d) for %s[%d] while loading\n", -+ ret, p->comm, p->pid); -+ goto err_disable_unlock_all; -+ } -+ -+ scx_set_task_state(p, SCX_TASK_READY); -+ -+ put_task_struct(p); -+ scx_task_iter_relock(&sti); -+ } -+ scx_task_iter_stop(&sti); -+ scx_cgroup_unlock(); -+ percpu_up_write(&scx_fork_rwsem); -+ -+ /* -+ * All tasks are READY. It's safe to turn on scx_enabled() and switch -+ * all eligible tasks. -+ */ -+ WRITE_ONCE(scx_switching_all, !(ops->flags & SCX_OPS_SWITCH_PARTIAL)); -+ static_branch_enable(&__scx_ops_enabled); -+ -+ /* -+ * We're fully committed and can't fail. The task READY -> ENABLED -+ * transitions here are synchronized against sched_ext_free() through -+ * scx_tasks_lock. -+ */ -+ percpu_down_write(&scx_fork_rwsem); -+ scx_task_iter_start(&sti); -+ while ((p = scx_task_iter_next_locked(&sti))) { -+ const struct sched_class *old_class = p->sched_class; -+ struct sched_enq_and_set_ctx ctx; -+ -+ sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx); -+ -+ p->scx.slice = SCX_SLICE_DFL; -+ __setscheduler_prio(p, p->prio); -+ check_class_changing(task_rq(p), p, old_class); -+ -+ sched_enq_and_set_task(&ctx); -+ -+ check_class_changed(task_rq(p), p, old_class, p->prio); -+ } -+ scx_task_iter_stop(&sti); -+ percpu_up_write(&scx_fork_rwsem); -+ -+ scx_ops_bypass(false); -+ -+ /* -+ * Returning an error code here would lose the recorded error -+ * information. Exit indicating success so that the error is notified -+ * through ops.exit() with all the details. -+ */ -+ if (!scx_ops_tryset_enable_state(SCX_OPS_ENABLED, SCX_OPS_ENABLING)) { -+ WARN_ON_ONCE(atomic_read(&scx_exit_kind) == SCX_EXIT_NONE); -+ ret = 0; -+ goto err_disable; -+ } -+ -+ if (!(ops->flags & SCX_OPS_SWITCH_PARTIAL)) -+ static_branch_enable(&__scx_switched_all); -+ -+ pr_info("sched_ext: BPF scheduler \"%s\" enabled%s\n", -+ scx_ops.name, scx_switched_all() ? "" : " (partial)"); -+ kobject_uevent(scx_root_kobj, KOBJ_ADD); -+ mutex_unlock(&scx_ops_enable_mutex); -+ -+ atomic_long_inc(&scx_enable_seq); -+ -+ return 0; -+ -+err_del: -+ kobject_del(scx_root_kobj); -+err: -+ kobject_put(scx_root_kobj); -+ scx_root_kobj = NULL; -+ if (scx_exit_info) { -+ free_exit_info(scx_exit_info); -+ scx_exit_info = NULL; -+ } -+err_unlock: -+ mutex_unlock(&scx_ops_enable_mutex); -+ return ret; -+ -+err_disable_unlock_all: -+ scx_cgroup_unlock(); -+ percpu_up_write(&scx_fork_rwsem); -+ scx_ops_bypass(false); -+err_disable: -+ mutex_unlock(&scx_ops_enable_mutex); -+ /* must be fully disabled before returning */ -+ scx_ops_disable(SCX_EXIT_ERROR); -+ kthread_flush_work(&scx_ops_disable_work); -+ return ret; -+} -+ -+ -+/******************************************************************************** -+ * bpf_struct_ops plumbing. -+ */ -+#include -+#include -+#include -+ -+extern struct btf *btf_vmlinux; -+static const struct btf_type *task_struct_type; -+static u32 task_struct_type_id; -+ -+static bool set_arg_maybe_null(const char *op, int arg_n, int off, int size, -+ enum bpf_access_type type, -+ const struct bpf_prog *prog, -+ struct bpf_insn_access_aux *info) -+{ -+ struct btf *btf = bpf_get_btf_vmlinux(); -+ const struct bpf_struct_ops_desc *st_ops_desc; -+ const struct btf_member *member; -+ const struct btf_type *t; -+ u32 btf_id, member_idx; -+ const char *mname; -+ -+ /* struct_ops op args are all sequential, 64-bit numbers */ -+ if (off != arg_n * sizeof(__u64)) -+ return false; -+ -+ /* btf_id should be the type id of struct sched_ext_ops */ -+ btf_id = prog->aux->attach_btf_id; -+ st_ops_desc = bpf_struct_ops_find(btf, btf_id); -+ if (!st_ops_desc) -+ return false; -+ -+ /* BTF type of struct sched_ext_ops */ -+ t = st_ops_desc->type; -+ -+ member_idx = prog->expected_attach_type; -+ if (member_idx >= btf_type_vlen(t)) -+ return false; -+ -+ /* -+ * Get the member name of this struct_ops program, which corresponds to -+ * a field in struct sched_ext_ops. For example, the member name of the -+ * dispatch struct_ops program (callback) is "dispatch". -+ */ -+ member = &btf_type_member(t)[member_idx]; -+ mname = btf_name_by_offset(btf_vmlinux, member->name_off); -+ -+ if (!strcmp(mname, op)) { -+ /* -+ * The value is a pointer to a type (struct task_struct) given -+ * by a BTF ID (PTR_TO_BTF_ID). It is trusted (PTR_TRUSTED), -+ * however, can be a NULL (PTR_MAYBE_NULL). The BPF program -+ * should check the pointer to make sure it is not NULL before -+ * using it, or the verifier will reject the program. -+ * -+ * Longer term, this is something that should be addressed by -+ * BTF, and be fully contained within the verifier. -+ */ -+ info->reg_type = PTR_MAYBE_NULL | PTR_TO_BTF_ID | PTR_TRUSTED; -+ info->btf = btf_vmlinux; -+ info->btf_id = task_struct_type_id; -+ -+ return true; -+ } -+ -+ return false; -+} -+ -+static bool bpf_scx_is_valid_access(int off, int size, -+ enum bpf_access_type type, -+ const struct bpf_prog *prog, -+ struct bpf_insn_access_aux *info) -+{ -+ if (type != BPF_READ) -+ return false; -+ if (set_arg_maybe_null("dispatch", 1, off, size, type, prog, info) || -+ set_arg_maybe_null("yield", 1, off, size, type, prog, info)) -+ return true; -+ if (off < 0 || off >= sizeof(__u64) * MAX_BPF_FUNC_ARGS) -+ return false; -+ if (off % size != 0) -+ return false; -+ -+ return btf_ctx_access(off, size, type, prog, info); -+} -+ -+static int bpf_scx_btf_struct_access(struct bpf_verifier_log *log, -+ const struct bpf_reg_state *reg, int off, -+ int size) -+{ -+ const struct btf_type *t; -+ -+ t = btf_type_by_id(reg->btf, reg->btf_id); -+ if (t == task_struct_type) { -+ if (off >= offsetof(struct task_struct, scx.slice) && -+ off + size <= offsetofend(struct task_struct, scx.slice)) -+ return SCALAR_VALUE; -+ if (off >= offsetof(struct task_struct, scx.dsq_vtime) && -+ off + size <= offsetofend(struct task_struct, scx.dsq_vtime)) -+ return SCALAR_VALUE; -+ if (off >= offsetof(struct task_struct, scx.disallow) && -+ off + size <= offsetofend(struct task_struct, scx.disallow)) -+ return SCALAR_VALUE; -+ } -+ -+ return -EACCES; -+} -+ -+static const struct bpf_func_proto * -+bpf_scx_get_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) -+{ -+ switch (func_id) { -+ case BPF_FUNC_task_storage_get: -+ return &bpf_task_storage_get_proto; -+ case BPF_FUNC_task_storage_delete: -+ return &bpf_task_storage_delete_proto; -+ default: -+ return bpf_base_func_proto(func_id, prog); -+ } -+} -+ -+static const struct bpf_verifier_ops bpf_scx_verifier_ops = { -+ .get_func_proto = bpf_scx_get_func_proto, -+ .is_valid_access = bpf_scx_is_valid_access, -+ .btf_struct_access = bpf_scx_btf_struct_access, -+}; -+ -+static int bpf_scx_init_member(const struct btf_type *t, -+ const struct btf_member *member, -+ void *kdata, const void *udata) -+{ -+ const struct sched_ext_ops *uops = udata; -+ struct sched_ext_ops *ops = kdata; -+ u32 moff = __btf_member_bit_offset(t, member) / 8; -+ int ret; -+ -+ switch (moff) { -+ case offsetof(struct sched_ext_ops, dispatch_max_batch): -+ if (*(u32 *)(udata + moff) > INT_MAX) -+ return -E2BIG; -+ ops->dispatch_max_batch = *(u32 *)(udata + moff); -+ return 1; -+ case offsetof(struct sched_ext_ops, flags): -+ if (*(u64 *)(udata + moff) & ~SCX_OPS_ALL_FLAGS) -+ return -EINVAL; -+ ops->flags = *(u64 *)(udata + moff); -+ return 1; -+ case offsetof(struct sched_ext_ops, name): -+ ret = bpf_obj_name_cpy(ops->name, uops->name, -+ sizeof(ops->name)); -+ if (ret < 0) -+ return ret; -+ if (ret == 0) -+ return -EINVAL; -+ return 1; -+ case offsetof(struct sched_ext_ops, timeout_ms): -+ if (msecs_to_jiffies(*(u32 *)(udata + moff)) > -+ SCX_WATCHDOG_MAX_TIMEOUT) -+ return -E2BIG; -+ ops->timeout_ms = *(u32 *)(udata + moff); -+ return 1; -+ case offsetof(struct sched_ext_ops, exit_dump_len): -+ ops->exit_dump_len = -+ *(u32 *)(udata + moff) ?: SCX_EXIT_DUMP_DFL_LEN; -+ return 1; -+ case offsetof(struct sched_ext_ops, hotplug_seq): -+ ops->hotplug_seq = *(u64 *)(udata + moff); -+ return 1; -+ } -+ -+ return 0; -+} -+ -+static int bpf_scx_check_member(const struct btf_type *t, -+ const struct btf_member *member, -+ const struct bpf_prog *prog) -+{ -+ u32 moff = __btf_member_bit_offset(t, member) / 8; -+ -+ switch (moff) { -+ case offsetof(struct sched_ext_ops, init_task): -+#ifdef CONFIG_EXT_GROUP_SCHED -+ case offsetof(struct sched_ext_ops, cgroup_init): -+ case offsetof(struct sched_ext_ops, cgroup_exit): -+ case offsetof(struct sched_ext_ops, cgroup_prep_move): -+#endif -+ case offsetof(struct sched_ext_ops, cpu_online): -+ case offsetof(struct sched_ext_ops, cpu_offline): -+ case offsetof(struct sched_ext_ops, init): -+ case offsetof(struct sched_ext_ops, exit): -+ break; -+ default: -+ if (prog->sleepable) -+ return -EINVAL; -+ } -+ -+ return 0; -+} -+ -+static int bpf_scx_reg(void *kdata, struct bpf_link *link) -+{ -+ return scx_ops_enable(kdata, link); -+} -+ -+static void bpf_scx_unreg(void *kdata, struct bpf_link *link) -+{ -+ scx_ops_disable(SCX_EXIT_UNREG); -+ kthread_flush_work(&scx_ops_disable_work); -+} -+ -+static int bpf_scx_init(struct btf *btf) -+{ -+ s32 type_id; -+ -+ type_id = btf_find_by_name_kind(btf, "task_struct", BTF_KIND_STRUCT); -+ if (type_id < 0) -+ return -EINVAL; -+ task_struct_type = btf_type_by_id(btf, type_id); -+ task_struct_type_id = type_id; -+ -+ return 0; -+} -+ -+static int bpf_scx_update(void *kdata, void *old_kdata, struct bpf_link *link) -+{ -+ /* -+ * sched_ext does not support updating the actively-loaded BPF -+ * scheduler, as registering a BPF scheduler can always fail if the -+ * scheduler returns an error code for e.g. ops.init(), ops.init_task(), -+ * etc. Similarly, we can always race with unregistration happening -+ * elsewhere, such as with sysrq. -+ */ -+ return -EOPNOTSUPP; -+} -+ -+static int bpf_scx_validate(void *kdata) -+{ -+ return 0; -+} -+ -+static s32 select_cpu_stub(struct task_struct *p, s32 prev_cpu, u64 wake_flags) { return -EINVAL; } -+static void enqueue_stub(struct task_struct *p, u64 enq_flags) {} -+static void dequeue_stub(struct task_struct *p, u64 enq_flags) {} -+static void dispatch_stub(s32 prev_cpu, struct task_struct *p) {} -+static void tick_stub(struct task_struct *p) {} -+static void runnable_stub(struct task_struct *p, u64 enq_flags) {} -+static void running_stub(struct task_struct *p) {} -+static void stopping_stub(struct task_struct *p, bool runnable) {} -+static void quiescent_stub(struct task_struct *p, u64 deq_flags) {} -+static bool yield_stub(struct task_struct *from, struct task_struct *to) { return false; } -+static bool core_sched_before_stub(struct task_struct *a, struct task_struct *b) { return false; } -+static void set_weight_stub(struct task_struct *p, u32 weight) {} -+static void set_cpumask_stub(struct task_struct *p, const struct cpumask *mask) {} -+static void update_idle_stub(s32 cpu, bool idle) {} -+static void cpu_acquire_stub(s32 cpu, struct scx_cpu_acquire_args *args) {} -+static void cpu_release_stub(s32 cpu, struct scx_cpu_release_args *args) {} -+static s32 init_task_stub(struct task_struct *p, struct scx_init_task_args *args) { return -EINVAL; } -+static void exit_task_stub(struct task_struct *p, struct scx_exit_task_args *args) {} -+static void enable_stub(struct task_struct *p) {} -+static void disable_stub(struct task_struct *p) {} -+#ifdef CONFIG_EXT_GROUP_SCHED -+static s32 cgroup_init_stub(struct cgroup *cgrp, struct scx_cgroup_init_args *args) { return -EINVAL; } -+static void cgroup_exit_stub(struct cgroup *cgrp) {} -+static s32 cgroup_prep_move_stub(struct task_struct *p, struct cgroup *from, struct cgroup *to) { return -EINVAL; } -+static void cgroup_move_stub(struct task_struct *p, struct cgroup *from, struct cgroup *to) {} -+static void cgroup_cancel_move_stub(struct task_struct *p, struct cgroup *from, struct cgroup *to) {} -+static void cgroup_set_weight_stub(struct cgroup *cgrp, u32 weight) {} -+#endif -+static void cpu_online_stub(s32 cpu) {} -+static void cpu_offline_stub(s32 cpu) {} -+static s32 init_stub(void) { return -EINVAL; } -+static void exit_stub(struct scx_exit_info *info) {} -+static void dump_stub(struct scx_dump_ctx *ctx) {} -+static void dump_cpu_stub(struct scx_dump_ctx *ctx, s32 cpu, bool idle) {} -+static void dump_task_stub(struct scx_dump_ctx *ctx, struct task_struct *p) {} -+ -+static struct sched_ext_ops __bpf_ops_sched_ext_ops = { -+ .select_cpu = select_cpu_stub, -+ .enqueue = enqueue_stub, -+ .dequeue = dequeue_stub, -+ .dispatch = dispatch_stub, -+ .tick = tick_stub, -+ .runnable = runnable_stub, -+ .running = running_stub, -+ .stopping = stopping_stub, -+ .quiescent = quiescent_stub, -+ .yield = yield_stub, -+ .core_sched_before = core_sched_before_stub, -+ .set_weight = set_weight_stub, -+ .set_cpumask = set_cpumask_stub, -+ .update_idle = update_idle_stub, -+ .cpu_acquire = cpu_acquire_stub, -+ .cpu_release = cpu_release_stub, -+ .init_task = init_task_stub, -+ .exit_task = exit_task_stub, -+ .enable = enable_stub, -+ .disable = disable_stub, -+#ifdef CONFIG_EXT_GROUP_SCHED -+ .cgroup_init = cgroup_init_stub, -+ .cgroup_exit = cgroup_exit_stub, -+ .cgroup_prep_move = cgroup_prep_move_stub, -+ .cgroup_move = cgroup_move_stub, -+ .cgroup_cancel_move = cgroup_cancel_move_stub, -+ .cgroup_set_weight = cgroup_set_weight_stub, -+#endif -+ .cpu_online = cpu_online_stub, -+ .cpu_offline = cpu_offline_stub, -+ .init = init_stub, -+ .exit = exit_stub, -+ .dump = dump_stub, -+ .dump_cpu = dump_cpu_stub, -+ .dump_task = dump_task_stub, -+}; -+ -+static struct bpf_struct_ops bpf_sched_ext_ops = { -+ .verifier_ops = &bpf_scx_verifier_ops, -+ .reg = bpf_scx_reg, -+ .unreg = bpf_scx_unreg, -+ .check_member = bpf_scx_check_member, -+ .init_member = bpf_scx_init_member, -+ .init = bpf_scx_init, -+ .update = bpf_scx_update, -+ .validate = bpf_scx_validate, -+ .name = "sched_ext_ops", -+ .owner = THIS_MODULE, -+ .cfi_stubs = &__bpf_ops_sched_ext_ops -+}; -+ -+ -+/******************************************************************************** -+ * System integration and init. -+ */ -+ -+static void sysrq_handle_sched_ext_reset(u8 key) -+{ -+ if (scx_ops_helper) -+ scx_ops_disable(SCX_EXIT_SYSRQ); -+ else -+ pr_info("sched_ext: BPF scheduler not yet used\n"); -+} -+ -+static const struct sysrq_key_op sysrq_sched_ext_reset_op = { -+ .handler = sysrq_handle_sched_ext_reset, -+ .help_msg = "reset-sched-ext(S)", -+ .action_msg = "Disable sched_ext and revert all tasks to CFS", -+ .enable_mask = SYSRQ_ENABLE_RTNICE, -+}; -+ -+static void sysrq_handle_sched_ext_dump(u8 key) -+{ -+ struct scx_exit_info ei = { .kind = SCX_EXIT_NONE, .reason = "SysRq-D" }; -+ -+ if (scx_enabled()) -+ scx_dump_state(&ei, 0); -+} -+ -+static const struct sysrq_key_op sysrq_sched_ext_dump_op = { -+ .handler = sysrq_handle_sched_ext_dump, -+ .help_msg = "dump-sched-ext(D)", -+ .action_msg = "Trigger sched_ext debug dump", -+ .enable_mask = SYSRQ_ENABLE_RTNICE, -+}; -+ -+static bool can_skip_idle_kick(struct rq *rq) -+{ -+ lockdep_assert_rq_held(rq); -+ -+ /* -+ * We can skip idle kicking if @rq is going to go through at least one -+ * full SCX scheduling cycle before going idle. Just checking whether -+ * curr is not idle is insufficient because we could be racing -+ * balance_one() trying to pull the next task from a remote rq, which -+ * may fail, and @rq may become idle afterwards. -+ * -+ * The race window is small and we don't and can't guarantee that @rq is -+ * only kicked while idle anyway. Skip only when sure. -+ */ -+ return !is_idle_task(rq->curr) && !(rq->scx.flags & SCX_RQ_IN_BALANCE); -+} -+ -+static bool kick_one_cpu(s32 cpu, struct rq *this_rq, unsigned long *pseqs) -+{ -+ struct rq *rq = cpu_rq(cpu); -+ struct scx_rq *this_scx = &this_rq->scx; -+ bool should_wait = false; -+ unsigned long flags; -+ -+ raw_spin_rq_lock_irqsave(rq, flags); -+ -+ /* -+ * During CPU hotplug, a CPU may depend on kicking itself to make -+ * forward progress. Allow kicking self regardless of online state. -+ */ -+ if (cpu_online(cpu) || cpu == cpu_of(this_rq)) { -+ if (cpumask_test_cpu(cpu, this_scx->cpus_to_preempt)) { -+ if (rq->curr->sched_class == &ext_sched_class) -+ rq->curr->scx.slice = 0; -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_preempt); -+ } -+ -+ if (cpumask_test_cpu(cpu, this_scx->cpus_to_wait)) { -+ pseqs[cpu] = rq->scx.pnt_seq; -+ should_wait = true; -+ } -+ -+ resched_curr(rq); -+ } else { -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_preempt); -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_wait); -+ } -+ -+ raw_spin_rq_unlock_irqrestore(rq, flags); -+ -+ return should_wait; -+} -+ -+static void kick_one_cpu_if_idle(s32 cpu, struct rq *this_rq) -+{ -+ struct rq *rq = cpu_rq(cpu); -+ unsigned long flags; -+ -+ raw_spin_rq_lock_irqsave(rq, flags); -+ -+ if (!can_skip_idle_kick(rq) && -+ (cpu_online(cpu) || cpu == cpu_of(this_rq))) -+ resched_curr(rq); -+ -+ raw_spin_rq_unlock_irqrestore(rq, flags); -+} -+ -+static void kick_cpus_irq_workfn(struct irq_work *irq_work) -+{ -+ struct rq *this_rq = this_rq(); -+ struct scx_rq *this_scx = &this_rq->scx; -+ unsigned long *pseqs = this_cpu_ptr(scx_kick_cpus_pnt_seqs); -+ bool should_wait = false; -+ s32 cpu; -+ -+ for_each_cpu(cpu, this_scx->cpus_to_kick) { -+ should_wait |= kick_one_cpu(cpu, this_rq, pseqs); -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_kick); -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_kick_if_idle); -+ } -+ -+ for_each_cpu(cpu, this_scx->cpus_to_kick_if_idle) { -+ kick_one_cpu_if_idle(cpu, this_rq); -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_kick_if_idle); -+ } -+ -+ if (!should_wait) -+ return; -+ -+ for_each_cpu(cpu, this_scx->cpus_to_wait) { -+ unsigned long *wait_pnt_seq = &cpu_rq(cpu)->scx.pnt_seq; -+ -+ if (cpu != cpu_of(this_rq)) { -+ /* -+ * Pairs with smp_store_release() issued by this CPU in -+ * scx_next_task_picked() on the resched path. -+ * -+ * We busy-wait here to guarantee that no other task can -+ * be scheduled on our core before the target CPU has -+ * entered the resched path. -+ */ -+ while (smp_load_acquire(wait_pnt_seq) == pseqs[cpu]) -+ cpu_relax(); -+ } -+ -+ cpumask_clear_cpu(cpu, this_scx->cpus_to_wait); -+ } -+} -+ -+/** -+ * print_scx_info - print out sched_ext scheduler state -+ * @log_lvl: the log level to use when printing -+ * @p: target task -+ * -+ * If a sched_ext scheduler is enabled, print the name and state of the -+ * scheduler. If @p is on sched_ext, print further information about the task. -+ * -+ * This function can be safely called on any task as long as the task_struct -+ * itself is accessible. While safe, this function isn't synchronized and may -+ * print out mixups or garbages of limited length. -+ */ -+void print_scx_info(const char *log_lvl, struct task_struct *p) -+{ -+ enum scx_ops_enable_state state = scx_ops_enable_state(); -+ const char *all = READ_ONCE(scx_switching_all) ? "+all" : ""; -+ char runnable_at_buf[22] = "?"; -+ struct sched_class *class; -+ unsigned long runnable_at; -+ -+ if (state == SCX_OPS_DISABLED) -+ return; -+ -+ /* -+ * Carefully check if the task was running on sched_ext, and then -+ * carefully copy the time it's been runnable, and its state. -+ */ -+ if (copy_from_kernel_nofault(&class, &p->sched_class, sizeof(class)) || -+ class != &ext_sched_class) { -+ printk("%sSched_ext: %s (%s%s)", log_lvl, scx_ops.name, -+ scx_ops_enable_state_str[state], all); -+ return; -+ } -+ -+ if (!copy_from_kernel_nofault(&runnable_at, &p->scx.runnable_at, -+ sizeof(runnable_at))) -+ scnprintf(runnable_at_buf, sizeof(runnable_at_buf), "%+ldms", -+ jiffies_delta_msecs(runnable_at, jiffies)); -+ -+ /* print everything onto one line to conserve console space */ -+ printk("%sSched_ext: %s (%s%s), task: runnable_at=%s", -+ log_lvl, scx_ops.name, scx_ops_enable_state_str[state], all, -+ runnable_at_buf); -+} -+ -+static int scx_pm_handler(struct notifier_block *nb, unsigned long event, void *ptr) -+{ -+ /* -+ * SCX schedulers often have userspace components which are sometimes -+ * involved in critial scheduling paths. PM operations involve freezing -+ * userspace which can lead to scheduling misbehaviors including stalls. -+ * Let's bypass while PM operations are in progress. -+ */ -+ switch (event) { -+ case PM_HIBERNATION_PREPARE: -+ case PM_SUSPEND_PREPARE: -+ case PM_RESTORE_PREPARE: -+ scx_ops_bypass(true); -+ break; -+ case PM_POST_HIBERNATION: -+ case PM_POST_SUSPEND: -+ case PM_POST_RESTORE: -+ scx_ops_bypass(false); -+ break; -+ } -+ -+ return NOTIFY_OK; -+} -+ -+static struct notifier_block scx_pm_notifier = { -+ .notifier_call = scx_pm_handler, -+}; -+ -+void __init init_sched_ext_class(void) -+{ -+ s32 cpu, v; -+ -+ /* -+ * The following is to prevent the compiler from optimizing out the enum -+ * definitions so that BPF scheduler implementations can use them -+ * through the generated vmlinux.h. -+ */ -+ WRITE_ONCE(v, SCX_ENQ_WAKEUP | SCX_DEQ_SLEEP | SCX_KICK_PREEMPT | -+ SCX_TG_ONLINE); -+ -+ BUG_ON(rhashtable_init(&dsq_hash, &dsq_hash_params)); -+#ifdef CONFIG_SMP -+ BUG_ON(!alloc_cpumask_var(&idle_masks.cpu, GFP_KERNEL)); -+ BUG_ON(!alloc_cpumask_var(&idle_masks.smt, GFP_KERNEL)); -+#endif -+ scx_kick_cpus_pnt_seqs = -+ __alloc_percpu(sizeof(scx_kick_cpus_pnt_seqs[0]) * nr_cpu_ids, -+ __alignof__(scx_kick_cpus_pnt_seqs[0])); -+ BUG_ON(!scx_kick_cpus_pnt_seqs); -+ -+ for_each_possible_cpu(cpu) { -+ struct rq *rq = cpu_rq(cpu); -+ -+ init_dsq(&rq->scx.local_dsq, SCX_DSQ_LOCAL); -+ INIT_LIST_HEAD(&rq->scx.runnable_list); -+ INIT_LIST_HEAD(&rq->scx.ddsp_deferred_locals); -+ -+ BUG_ON(!zalloc_cpumask_var(&rq->scx.cpus_to_kick, GFP_KERNEL)); -+ BUG_ON(!zalloc_cpumask_var(&rq->scx.cpus_to_kick_if_idle, GFP_KERNEL)); -+ BUG_ON(!zalloc_cpumask_var(&rq->scx.cpus_to_preempt, GFP_KERNEL)); -+ BUG_ON(!zalloc_cpumask_var(&rq->scx.cpus_to_wait, GFP_KERNEL)); -+ init_irq_work(&rq->scx.deferred_irq_work, deferred_irq_workfn); -+ init_irq_work(&rq->scx.kick_cpus_irq_work, kick_cpus_irq_workfn); -+ -+ if (cpu_online(cpu)) -+ cpu_rq(cpu)->scx.flags |= SCX_RQ_ONLINE; -+ } -+ -+ register_sysrq_key('S', &sysrq_sched_ext_reset_op); -+ register_sysrq_key('D', &sysrq_sched_ext_dump_op); -+ INIT_DELAYED_WORK(&scx_watchdog_work, scx_watchdog_workfn); -+} -+ -+ -+/******************************************************************************** -+ * Helpers that can be called from the BPF scheduler. -+ */ -+#include -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_select_cpu_dfl - The default implementation of ops.select_cpu() -+ * @p: task_struct to select a CPU for -+ * @prev_cpu: CPU @p was on previously -+ * @wake_flags: %SCX_WAKE_* flags -+ * @is_idle: out parameter indicating whether the returned CPU is idle -+ * -+ * Can only be called from ops.select_cpu() if the built-in CPU selection is -+ * enabled - ops.update_idle() is missing or %SCX_OPS_KEEP_BUILTIN_IDLE is set. -+ * @p, @prev_cpu and @wake_flags match ops.select_cpu(). -+ * -+ * Returns the picked CPU with *@is_idle indicating whether the picked CPU is -+ * currently idle and thus a good candidate for direct dispatching. -+ */ -+__bpf_kfunc s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, -+ u64 wake_flags, bool *is_idle) -+{ -+ if (!static_branch_likely(&scx_builtin_idle_enabled)) { -+ scx_ops_error("built-in idle tracking is disabled"); -+ goto prev_cpu; -+ } -+ -+ if (!scx_kf_allowed(SCX_KF_SELECT_CPU)) -+ goto prev_cpu; -+ -+#ifdef CONFIG_SMP -+ return scx_select_cpu_dfl(p, prev_cpu, wake_flags, is_idle); -+#endif -+ -+prev_cpu: -+ *is_idle = false; -+ return prev_cpu; -+} -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_select_cpu) -+BTF_ID_FLAGS(func, scx_bpf_select_cpu_dfl, KF_RCU) -+BTF_KFUNCS_END(scx_kfunc_ids_select_cpu) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_select_cpu = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_select_cpu, -+}; -+ -+static bool scx_dispatch_preamble(struct task_struct *p, u64 enq_flags) -+{ -+ if (!scx_kf_allowed(SCX_KF_ENQUEUE | SCX_KF_DISPATCH)) -+ return false; -+ -+ lockdep_assert_irqs_disabled(); -+ -+ if (unlikely(!p)) { -+ scx_ops_error("called with NULL task"); -+ return false; -+ } -+ -+ if (unlikely(enq_flags & __SCX_ENQ_INTERNAL_MASK)) { -+ scx_ops_error("invalid enq_flags 0x%llx", enq_flags); -+ return false; -+ } -+ -+ return true; -+} -+ -+static void scx_dispatch_commit(struct task_struct *p, u64 dsq_id, u64 enq_flags) -+{ -+ struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); -+ struct task_struct *ddsp_task; -+ -+ ddsp_task = __this_cpu_read(direct_dispatch_task); -+ if (ddsp_task) { -+ mark_direct_dispatch(ddsp_task, p, dsq_id, enq_flags); -+ return; -+ } -+ -+ if (unlikely(dspc->cursor >= scx_dsp_max_batch)) { -+ scx_ops_error("dispatch buffer overflow"); -+ return; -+ } -+ -+ dspc->buf[dspc->cursor++] = (struct scx_dsp_buf_ent){ -+ .task = p, -+ .qseq = atomic_long_read(&p->scx.ops_state) & SCX_OPSS_QSEQ_MASK, -+ .dsq_id = dsq_id, -+ .enq_flags = enq_flags, -+ }; -+} -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_dispatch - Dispatch a task into the FIFO queue of a DSQ -+ * @p: task_struct to dispatch -+ * @dsq_id: DSQ to dispatch to -+ * @slice: duration @p can run for in nsecs, 0 to keep the current value -+ * @enq_flags: SCX_ENQ_* -+ * -+ * Dispatch @p into the FIFO queue of the DSQ identified by @dsq_id. It is safe -+ * to call this function spuriously. Can be called from ops.enqueue(), -+ * ops.select_cpu(), and ops.dispatch(). -+ * -+ * When called from ops.select_cpu() or ops.enqueue(), it's for direct dispatch -+ * and @p must match the task being enqueued. Also, %SCX_DSQ_LOCAL_ON can't be -+ * used to target the local DSQ of a CPU other than the enqueueing one. Use -+ * ops.select_cpu() to be on the target CPU in the first place. -+ * -+ * When called from ops.select_cpu(), @enq_flags and @dsp_id are stored, and @p -+ * will be directly dispatched to the corresponding dispatch queue after -+ * ops.select_cpu() returns. If @p is dispatched to SCX_DSQ_LOCAL, it will be -+ * dispatched to the local DSQ of the CPU returned by ops.select_cpu(). -+ * @enq_flags are OR'd with the enqueue flags on the enqueue path before the -+ * task is dispatched. -+ * -+ * When called from ops.dispatch(), there are no restrictions on @p or @dsq_id -+ * and this function can be called upto ops.dispatch_max_batch times to dispatch -+ * multiple tasks. scx_bpf_dispatch_nr_slots() returns the number of the -+ * remaining slots. scx_bpf_consume() flushes the batch and resets the counter. -+ * -+ * This function doesn't have any locking restrictions and may be called under -+ * BPF locks (in the future when BPF introduces more flexible locking). -+ * -+ * @p is allowed to run for @slice. The scheduling path is triggered on slice -+ * exhaustion. If zero, the current residual slice is maintained. If -+ * %SCX_SLICE_INF, @p never expires and the BPF scheduler must kick the CPU with -+ * scx_bpf_kick_cpu() to trigger scheduling. -+ */ -+__bpf_kfunc void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, -+ u64 enq_flags) -+{ -+ if (!scx_dispatch_preamble(p, enq_flags)) -+ return; -+ -+ if (slice) -+ p->scx.slice = slice; -+ else -+ p->scx.slice = p->scx.slice ?: 1; -+ -+ scx_dispatch_commit(p, dsq_id, enq_flags); -+} -+ -+/** -+ * scx_bpf_dispatch_vtime - Dispatch a task into the vtime priority queue of a DSQ -+ * @p: task_struct to dispatch -+ * @dsq_id: DSQ to dispatch to -+ * @slice: duration @p can run for in nsecs, 0 to keep the current value -+ * @vtime: @p's ordering inside the vtime-sorted queue of the target DSQ -+ * @enq_flags: SCX_ENQ_* -+ * -+ * Dispatch @p into the vtime priority queue of the DSQ identified by @dsq_id. -+ * Tasks queued into the priority queue are ordered by @vtime and always -+ * consumed after the tasks in the FIFO queue. All other aspects are identical -+ * to scx_bpf_dispatch(). -+ * -+ * @vtime ordering is according to time_before64() which considers wrapping. A -+ * numerically larger vtime may indicate an earlier position in the ordering and -+ * vice-versa. -+ */ -+__bpf_kfunc void scx_bpf_dispatch_vtime(struct task_struct *p, u64 dsq_id, -+ u64 slice, u64 vtime, u64 enq_flags) -+{ -+ if (!scx_dispatch_preamble(p, enq_flags)) -+ return; -+ -+ if (slice) -+ p->scx.slice = slice; -+ else -+ p->scx.slice = p->scx.slice ?: 1; -+ -+ p->scx.dsq_vtime = vtime; -+ -+ scx_dispatch_commit(p, dsq_id, enq_flags | SCX_ENQ_DSQ_PRIQ); -+} -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_enqueue_dispatch) -+BTF_ID_FLAGS(func, scx_bpf_dispatch, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime, KF_RCU) -+BTF_KFUNCS_END(scx_kfunc_ids_enqueue_dispatch) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_enqueue_dispatch = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_enqueue_dispatch, -+}; -+ -+static bool scx_dispatch_from_dsq(struct bpf_iter_scx_dsq_kern *kit, -+ struct task_struct *p, u64 dsq_id, -+ u64 enq_flags) -+{ -+ struct scx_dispatch_q *src_dsq = kit->dsq, *dst_dsq; -+ struct rq *this_rq, *src_rq, *dst_rq, *locked_rq; -+ bool dispatched = false; -+ bool in_balance; -+ unsigned long flags; -+ -+ if (!scx_kf_allowed_if_unlocked() && !scx_kf_allowed(SCX_KF_DISPATCH)) -+ return false; -+ -+ /* -+ * Can be called from either ops.dispatch() locking this_rq() or any -+ * context where no rq lock is held. If latter, lock @p's task_rq which -+ * we'll likely need anyway. -+ */ -+ src_rq = task_rq(p); -+ -+ local_irq_save(flags); -+ this_rq = this_rq(); -+ in_balance = this_rq->scx.flags & SCX_RQ_IN_BALANCE; -+ -+ if (in_balance) { -+ if (this_rq != src_rq) { -+ raw_spin_rq_unlock(this_rq); -+ raw_spin_rq_lock(src_rq); -+ } -+ } else { -+ raw_spin_rq_lock(src_rq); -+ } -+ -+ locked_rq = src_rq; -+ raw_spin_lock(&src_dsq->lock); -+ -+ /* -+ * Did someone else get to it? @p could have already left $src_dsq, got -+ * re-enqueud, or be in the process of being consumed by someone else. -+ */ -+ if (unlikely(p->scx.dsq != src_dsq || -+ u32_before(kit->cursor.priv, p->scx.dsq_seq) || -+ p->scx.holding_cpu >= 0) || -+ WARN_ON_ONCE(src_rq != task_rq(p))) { -+ raw_spin_unlock(&src_dsq->lock); -+ goto out; -+ } -+ -+ /* @p is still on $src_dsq and stable, determine the destination */ -+ dst_dsq = find_dsq_for_dispatch(this_rq, dsq_id, p); -+ -+ if (dst_dsq->id == SCX_DSQ_LOCAL) { -+ dst_rq = container_of(dst_dsq, struct rq, scx.local_dsq); -+ if (!task_can_run_on_remote_rq(p, dst_rq, true)) { -+ dst_dsq = find_global_dsq(p); -+ dst_rq = src_rq; -+ } -+ } else { -+ /* no need to migrate if destination is a non-local DSQ */ -+ dst_rq = src_rq; -+ } -+ -+ /* -+ * Move @p into $dst_dsq. If $dst_dsq is the local DSQ of a different -+ * CPU, @p will be migrated. -+ */ -+ if (dst_dsq->id == SCX_DSQ_LOCAL) { -+ /* @p is going from a non-local DSQ to a local DSQ */ -+ if (src_rq == dst_rq) { -+ task_unlink_from_dsq(p, src_dsq); -+ move_local_task_to_local_dsq(p, enq_flags, -+ src_dsq, dst_rq); -+ raw_spin_unlock(&src_dsq->lock); -+ } else { -+ raw_spin_unlock(&src_dsq->lock); -+ move_remote_task_to_local_dsq(p, enq_flags, -+ src_rq, dst_rq); -+ locked_rq = dst_rq; -+ } -+ } else { -+ /* -+ * @p is going from a non-local DSQ to a non-local DSQ. As -+ * $src_dsq is already locked, do an abbreviated dequeue. -+ */ -+ task_unlink_from_dsq(p, src_dsq); -+ p->scx.dsq = NULL; -+ raw_spin_unlock(&src_dsq->lock); -+ -+ if (kit->cursor.flags & __SCX_DSQ_ITER_HAS_VTIME) -+ p->scx.dsq_vtime = kit->vtime; -+ dispatch_enqueue(dst_dsq, p, enq_flags); -+ } -+ -+ if (kit->cursor.flags & __SCX_DSQ_ITER_HAS_SLICE) -+ p->scx.slice = kit->slice; -+ -+ dispatched = true; -+out: -+ if (in_balance) { -+ if (this_rq != locked_rq) { -+ raw_spin_rq_unlock(locked_rq); -+ raw_spin_rq_lock(this_rq); -+ } -+ } else { -+ raw_spin_rq_unlock_irqrestore(locked_rq, flags); -+ } -+ -+ kit->cursor.flags &= ~(__SCX_DSQ_ITER_HAS_SLICE | -+ __SCX_DSQ_ITER_HAS_VTIME); -+ return dispatched; -+} -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_dispatch_nr_slots - Return the number of remaining dispatch slots -+ * -+ * Can only be called from ops.dispatch(). -+ */ -+__bpf_kfunc u32 scx_bpf_dispatch_nr_slots(void) -+{ -+ if (!scx_kf_allowed(SCX_KF_DISPATCH)) -+ return 0; -+ -+ return scx_dsp_max_batch - __this_cpu_read(scx_dsp_ctx->cursor); -+} -+ -+/** -+ * scx_bpf_dispatch_cancel - Cancel the latest dispatch -+ * -+ * Cancel the latest dispatch. Can be called multiple times to cancel further -+ * dispatches. Can only be called from ops.dispatch(). -+ */ -+__bpf_kfunc void scx_bpf_dispatch_cancel(void) -+{ -+ struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); -+ -+ if (!scx_kf_allowed(SCX_KF_DISPATCH)) -+ return; -+ -+ if (dspc->cursor > 0) -+ dspc->cursor--; -+ else -+ scx_ops_error("dispatch buffer underflow"); -+} -+ -+/** -+ * scx_bpf_consume - Transfer a task from a DSQ to the current CPU's local DSQ -+ * @dsq_id: DSQ to consume -+ * -+ * Consume a task from the non-local DSQ identified by @dsq_id and transfer it -+ * to the current CPU's local DSQ for execution. Can only be called from -+ * ops.dispatch(). -+ * -+ * This function flushes the in-flight dispatches from scx_bpf_dispatch() before -+ * trying to consume the specified DSQ. It may also grab rq locks and thus can't -+ * be called under any BPF locks. -+ * -+ * Returns %true if a task has been consumed, %false if there isn't any task to -+ * consume. -+ */ -+__bpf_kfunc bool scx_bpf_consume(u64 dsq_id) -+{ -+ struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); -+ struct scx_dispatch_q *dsq; -+ -+ if (!scx_kf_allowed(SCX_KF_DISPATCH)) -+ return false; -+ -+ flush_dispatch_buf(dspc->rq); -+ -+ dsq = find_user_dsq(dsq_id); -+ if (unlikely(!dsq)) { -+ scx_ops_error("invalid DSQ ID 0x%016llx", dsq_id); -+ return false; -+ } -+ -+ if (consume_dispatch_q(dspc->rq, dsq)) { -+ /* -+ * A successfully consumed task can be dequeued before it starts -+ * running while the CPU is trying to migrate other dispatched -+ * tasks. Bump nr_tasks to tell balance_scx() to retry on empty -+ * local DSQ. -+ */ -+ dspc->nr_tasks++; -+ return true; -+ } else { -+ return false; -+ } -+} -+ -+/** -+ * scx_bpf_dispatch_from_dsq_set_slice - Override slice when dispatching from DSQ -+ * @it__iter: DSQ iterator in progress -+ * @slice: duration the dispatched task can run for in nsecs -+ * -+ * Override the slice of the next task that will be dispatched from @it__iter -+ * using scx_bpf_dispatch_from_dsq[_vtime](). If this function is not called, -+ * the previous slice duration is kept. -+ */ -+__bpf_kfunc void scx_bpf_dispatch_from_dsq_set_slice( -+ struct bpf_iter_scx_dsq *it__iter, u64 slice) -+{ -+ struct bpf_iter_scx_dsq_kern *kit = (void *)it__iter; -+ -+ kit->slice = slice; -+ kit->cursor.flags |= __SCX_DSQ_ITER_HAS_SLICE; -+} -+ -+/** -+ * scx_bpf_dispatch_from_dsq_set_vtime - Override vtime when dispatching from DSQ -+ * @it__iter: DSQ iterator in progress -+ * @vtime: task's ordering inside the vtime-sorted queue of the target DSQ -+ * -+ * Override the vtime of the next task that will be dispatched from @it__iter -+ * using scx_bpf_dispatch_from_dsq_vtime(). If this function is not called, the -+ * previous slice vtime is kept. If scx_bpf_dispatch_from_dsq() is used to -+ * dispatch the next task, the override is ignored and cleared. -+ */ -+__bpf_kfunc void scx_bpf_dispatch_from_dsq_set_vtime( -+ struct bpf_iter_scx_dsq *it__iter, u64 vtime) -+{ -+ struct bpf_iter_scx_dsq_kern *kit = (void *)it__iter; -+ -+ kit->vtime = vtime; -+ kit->cursor.flags |= __SCX_DSQ_ITER_HAS_VTIME; -+} -+ -+/** -+ * scx_bpf_dispatch_from_dsq - Move a task from DSQ iteration to a DSQ -+ * @it__iter: DSQ iterator in progress -+ * @p: task to transfer -+ * @dsq_id: DSQ to move @p to -+ * @enq_flags: SCX_ENQ_* -+ * -+ * Transfer @p which is on the DSQ currently iterated by @it__iter to the DSQ -+ * specified by @dsq_id. All DSQs - local DSQs, global DSQ and user DSQs - can -+ * be the destination. -+ * -+ * For the transfer to be successful, @p must still be on the DSQ and have been -+ * queued before the DSQ iteration started. This function doesn't care whether -+ * @p was obtained from the DSQ iteration. @p just has to be on the DSQ and have -+ * been queued before the iteration started. -+ * -+ * @p's slice is kept by default. Use scx_bpf_dispatch_from_dsq_set_slice() to -+ * update. -+ * -+ * Can be called from ops.dispatch() or any BPF context which doesn't hold a rq -+ * lock (e.g. BPF timers or SYSCALL programs). -+ * -+ * Returns %true if @p has been consumed, %false if @p had already been consumed -+ * or dequeued. -+ */ -+__bpf_kfunc bool scx_bpf_dispatch_from_dsq(struct bpf_iter_scx_dsq *it__iter, -+ struct task_struct *p, u64 dsq_id, -+ u64 enq_flags) -+{ -+ return scx_dispatch_from_dsq((struct bpf_iter_scx_dsq_kern *)it__iter, -+ p, dsq_id, enq_flags); -+} -+ -+/** -+ * scx_bpf_dispatch_vtime_from_dsq - Move a task from DSQ iteration to a PRIQ DSQ -+ * @it__iter: DSQ iterator in progress -+ * @p: task to transfer -+ * @dsq_id: DSQ to move @p to -+ * @enq_flags: SCX_ENQ_* -+ * -+ * Transfer @p which is on the DSQ currently iterated by @it__iter to the -+ * priority queue of the DSQ specified by @dsq_id. The destination must be a -+ * user DSQ as only user DSQs support priority queue. -+ * -+ * @p's slice and vtime are kept by default. Use -+ * scx_bpf_dispatch_from_dsq_set_slice() and -+ * scx_bpf_dispatch_from_dsq_set_vtime() to update. -+ * -+ * All other aspects are identical to scx_bpf_dispatch_from_dsq(). See -+ * scx_bpf_dispatch_vtime() for more information on @vtime. -+ */ -+__bpf_kfunc bool scx_bpf_dispatch_vtime_from_dsq(struct bpf_iter_scx_dsq *it__iter, -+ struct task_struct *p, u64 dsq_id, -+ u64 enq_flags) -+{ -+ return scx_dispatch_from_dsq((struct bpf_iter_scx_dsq_kern *)it__iter, -+ p, dsq_id, enq_flags | SCX_ENQ_DSQ_PRIQ); -+} -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_dispatch) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_nr_slots) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_cancel) -+BTF_ID_FLAGS(func, scx_bpf_consume) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq_set_slice) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq_set_vtime) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime_from_dsq, KF_RCU) -+BTF_KFUNCS_END(scx_kfunc_ids_dispatch) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_dispatch = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_dispatch, -+}; -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_reenqueue_local - Re-enqueue tasks on a local DSQ -+ * -+ * Iterate over all of the tasks currently enqueued on the local DSQ of the -+ * caller's CPU, and re-enqueue them in the BPF scheduler. Returns the number of -+ * processed tasks. Can only be called from ops.cpu_release(). -+ */ -+__bpf_kfunc u32 scx_bpf_reenqueue_local(void) -+{ -+ LIST_HEAD(tasks); -+ u32 nr_enqueued = 0; -+ struct rq *rq; -+ struct task_struct *p, *n; -+ -+ if (!scx_kf_allowed(SCX_KF_CPU_RELEASE)) -+ return 0; -+ -+ rq = cpu_rq(smp_processor_id()); -+ lockdep_assert_rq_held(rq); -+ -+ /* -+ * The BPF scheduler may choose to dispatch tasks back to -+ * @rq->scx.local_dsq. Move all candidate tasks off to a private list -+ * first to avoid processing the same tasks repeatedly. -+ */ -+ list_for_each_entry_safe(p, n, &rq->scx.local_dsq.list, -+ scx.dsq_list.node) { -+ /* -+ * If @p is being migrated, @p's current CPU may not agree with -+ * its allowed CPUs and the migration_cpu_stop is about to -+ * deactivate and re-activate @p anyway. Skip re-enqueueing. -+ * -+ * While racing sched property changes may also dequeue and -+ * re-enqueue a migrating task while its current CPU and allowed -+ * CPUs disagree, they use %ENQUEUE_RESTORE which is bypassed to -+ * the current local DSQ for running tasks and thus are not -+ * visible to the BPF scheduler. -+ */ -+ if (p->migration_pending) -+ continue; -+ -+ dispatch_dequeue(rq, p); -+ list_add_tail(&p->scx.dsq_list.node, &tasks); -+ } -+ -+ list_for_each_entry_safe(p, n, &tasks, scx.dsq_list.node) { -+ list_del_init(&p->scx.dsq_list.node); -+ do_enqueue_task(rq, p, SCX_ENQ_REENQ, -1); -+ nr_enqueued++; -+ } -+ -+ return nr_enqueued; -+} -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_cpu_release) -+BTF_ID_FLAGS(func, scx_bpf_reenqueue_local) -+BTF_KFUNCS_END(scx_kfunc_ids_cpu_release) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_cpu_release = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_cpu_release, -+}; -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_create_dsq - Create a custom DSQ -+ * @dsq_id: DSQ to create -+ * @node: NUMA node to allocate from -+ * -+ * Create a custom DSQ identified by @dsq_id. Can be called from any sleepable -+ * scx callback, and any BPF_PROG_TYPE_SYSCALL prog. -+ */ -+__bpf_kfunc s32 scx_bpf_create_dsq(u64 dsq_id, s32 node) -+{ -+ if (unlikely(node >= (int)nr_node_ids || -+ (node < 0 && node != NUMA_NO_NODE))) -+ return -EINVAL; -+ return PTR_ERR_OR_ZERO(create_dsq(dsq_id, node)); -+} -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_unlocked) -+BTF_ID_FLAGS(func, scx_bpf_create_dsq, KF_SLEEPABLE) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime_from_dsq, KF_RCU) -+BTF_KFUNCS_END(scx_kfunc_ids_unlocked) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_unlocked = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_unlocked, -+}; -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_kick_cpu - Trigger reschedule on a CPU -+ * @cpu: cpu to kick -+ * @flags: %SCX_KICK_* flags -+ * -+ * Kick @cpu into rescheduling. This can be used to wake up an idle CPU or -+ * trigger rescheduling on a busy CPU. This can be called from any online -+ * scx_ops operation and the actual kicking is performed asynchronously through -+ * an irq work. -+ */ -+__bpf_kfunc void scx_bpf_kick_cpu(s32 cpu, u64 flags) -+{ -+ struct rq *this_rq; -+ unsigned long irq_flags; -+ -+ if (!ops_cpu_valid(cpu, NULL)) -+ return; -+ -+ local_irq_save(irq_flags); -+ -+ this_rq = this_rq(); -+ -+ /* -+ * While bypassing for PM ops, IRQ handling may not be online which can -+ * lead to irq_work_queue() malfunction such as infinite busy wait for -+ * IRQ status update. Suppress kicking. -+ */ -+ if (scx_rq_bypassing(this_rq)) -+ goto out; -+ -+ /* -+ * Actual kicking is bounced to kick_cpus_irq_workfn() to avoid nesting -+ * rq locks. We can probably be smarter and avoid bouncing if called -+ * from ops which don't hold a rq lock. -+ */ -+ if (flags & SCX_KICK_IDLE) { -+ struct rq *target_rq = cpu_rq(cpu); -+ -+ if (unlikely(flags & (SCX_KICK_PREEMPT | SCX_KICK_WAIT))) -+ scx_ops_error("PREEMPT/WAIT cannot be used with SCX_KICK_IDLE"); -+ -+ if (raw_spin_rq_trylock(target_rq)) { -+ if (can_skip_idle_kick(target_rq)) { -+ raw_spin_rq_unlock(target_rq); -+ goto out; -+ } -+ raw_spin_rq_unlock(target_rq); -+ } -+ cpumask_set_cpu(cpu, this_rq->scx.cpus_to_kick_if_idle); -+ } else { -+ cpumask_set_cpu(cpu, this_rq->scx.cpus_to_kick); -+ -+ if (flags & SCX_KICK_PREEMPT) -+ cpumask_set_cpu(cpu, this_rq->scx.cpus_to_preempt); -+ if (flags & SCX_KICK_WAIT) -+ cpumask_set_cpu(cpu, this_rq->scx.cpus_to_wait); -+ } -+ -+ irq_work_queue(&this_rq->scx.kick_cpus_irq_work); -+out: -+ local_irq_restore(irq_flags); -+} -+ -+/** -+ * scx_bpf_dsq_nr_queued - Return the number of queued tasks -+ * @dsq_id: id of the DSQ -+ * -+ * Return the number of tasks in the DSQ matching @dsq_id. If not found, -+ * -%ENOENT is returned. -+ */ -+__bpf_kfunc s32 scx_bpf_dsq_nr_queued(u64 dsq_id) -+{ -+ struct scx_dispatch_q *dsq; -+ s32 ret; -+ -+ preempt_disable(); -+ -+ if (dsq_id == SCX_DSQ_LOCAL) { -+ ret = READ_ONCE(this_rq()->scx.local_dsq.nr); -+ goto out; -+ } else if ((dsq_id & SCX_DSQ_LOCAL_ON) == SCX_DSQ_LOCAL_ON) { -+ s32 cpu = dsq_id & SCX_DSQ_LOCAL_CPU_MASK; -+ -+ if (ops_cpu_valid(cpu, NULL)) { -+ ret = READ_ONCE(cpu_rq(cpu)->scx.local_dsq.nr); -+ goto out; -+ } -+ } else { -+ dsq = find_user_dsq(dsq_id); -+ if (dsq) { -+ ret = READ_ONCE(dsq->nr); -+ goto out; -+ } -+ } -+ ret = -ENOENT; -+out: -+ preempt_enable(); -+ return ret; -+} -+ -+/** -+ * scx_bpf_destroy_dsq - Destroy a custom DSQ -+ * @dsq_id: DSQ to destroy -+ * -+ * Destroy the custom DSQ identified by @dsq_id. Only DSQs created with -+ * scx_bpf_create_dsq() can be destroyed. The caller must ensure that the DSQ is -+ * empty and no further tasks are dispatched to it. Ignored if called on a DSQ -+ * which doesn't exist. Can be called from any online scx_ops operations. -+ */ -+__bpf_kfunc void scx_bpf_destroy_dsq(u64 dsq_id) -+{ -+ destroy_dsq(dsq_id); -+} -+ -+/** -+ * bpf_iter_scx_dsq_new - Create a DSQ iterator -+ * @it: iterator to initialize -+ * @dsq_id: DSQ to iterate -+ * @flags: %SCX_DSQ_ITER_* -+ * -+ * Initialize BPF iterator @it which can be used with bpf_for_each() to walk -+ * tasks in the DSQ specified by @dsq_id. Iteration using @it only includes -+ * tasks which are already queued when this function is invoked. -+ */ -+__bpf_kfunc int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, -+ u64 flags) -+{ -+ struct bpf_iter_scx_dsq_kern *kit = (void *)it; -+ -+ BUILD_BUG_ON(sizeof(struct bpf_iter_scx_dsq_kern) > -+ sizeof(struct bpf_iter_scx_dsq)); -+ BUILD_BUG_ON(__alignof__(struct bpf_iter_scx_dsq_kern) != -+ __alignof__(struct bpf_iter_scx_dsq)); -+ -+ if (flags & ~__SCX_DSQ_ITER_USER_FLAGS) -+ return -EINVAL; -+ -+ kit->dsq = find_user_dsq(dsq_id); -+ if (!kit->dsq) -+ return -ENOENT; -+ -+ INIT_LIST_HEAD(&kit->cursor.node); -+ kit->cursor.flags |= SCX_DSQ_LNODE_ITER_CURSOR | flags; -+ kit->cursor.priv = READ_ONCE(kit->dsq->seq); -+ -+ return 0; -+} -+ -+/** -+ * bpf_iter_scx_dsq_next - Progress a DSQ iterator -+ * @it: iterator to progress -+ * -+ * Return the next task. See bpf_iter_scx_dsq_new(). -+ */ -+__bpf_kfunc struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) -+{ -+ struct bpf_iter_scx_dsq_kern *kit = (void *)it; -+ bool rev = kit->cursor.flags & SCX_DSQ_ITER_REV; -+ struct task_struct *p; -+ unsigned long flags; -+ -+ if (!kit->dsq) -+ return NULL; -+ -+ raw_spin_lock_irqsave(&kit->dsq->lock, flags); -+ -+ if (list_empty(&kit->cursor.node)) -+ p = NULL; -+ else -+ p = container_of(&kit->cursor, struct task_struct, scx.dsq_list); -+ -+ /* -+ * Only tasks which were queued before the iteration started are -+ * visible. This bounds BPF iterations and guarantees that vtime never -+ * jumps in the other direction while iterating. -+ */ -+ do { -+ p = nldsq_next_task(kit->dsq, p, rev); -+ } while (p && unlikely(u32_before(kit->cursor.priv, p->scx.dsq_seq))); -+ -+ if (p) { -+ if (rev) -+ list_move_tail(&kit->cursor.node, &p->scx.dsq_list.node); -+ else -+ list_move(&kit->cursor.node, &p->scx.dsq_list.node); -+ } else { -+ list_del_init(&kit->cursor.node); -+ } -+ -+ raw_spin_unlock_irqrestore(&kit->dsq->lock, flags); -+ -+ return p; -+} -+ -+/** -+ * bpf_iter_scx_dsq_destroy - Destroy a DSQ iterator -+ * @it: iterator to destroy -+ * -+ * Undo scx_iter_scx_dsq_new(). -+ */ -+__bpf_kfunc void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) -+{ -+ struct bpf_iter_scx_dsq_kern *kit = (void *)it; -+ -+ if (!kit->dsq) -+ return; -+ -+ if (!list_empty(&kit->cursor.node)) { -+ unsigned long flags; -+ -+ raw_spin_lock_irqsave(&kit->dsq->lock, flags); -+ list_del_init(&kit->cursor.node); -+ raw_spin_unlock_irqrestore(&kit->dsq->lock, flags); -+ } -+ kit->dsq = NULL; -+} -+ -+__bpf_kfunc_end_defs(); -+ -+static s32 __bstr_format(u64 *data_buf, char *line_buf, size_t line_size, -+ char *fmt, unsigned long long *data, u32 data__sz) -+{ -+ struct bpf_bprintf_data bprintf_data = { .get_bin_args = true }; -+ s32 ret; -+ -+ if (data__sz % 8 || data__sz > MAX_BPRINTF_VARARGS * 8 || -+ (data__sz && !data)) { -+ scx_ops_error("invalid data=%p and data__sz=%u", -+ (void *)data, data__sz); -+ return -EINVAL; -+ } -+ -+ ret = copy_from_kernel_nofault(data_buf, data, data__sz); -+ if (ret < 0) { -+ scx_ops_error("failed to read data fields (%d)", ret); -+ return ret; -+ } -+ -+ ret = bpf_bprintf_prepare(fmt, UINT_MAX, data_buf, data__sz / 8, -+ &bprintf_data); -+ if (ret < 0) { -+ scx_ops_error("format preparation failed (%d)", ret); -+ return ret; -+ } -+ -+ ret = bstr_printf(line_buf, line_size, fmt, -+ bprintf_data.bin_args); -+ bpf_bprintf_cleanup(&bprintf_data); -+ if (ret < 0) { -+ scx_ops_error("(\"%s\", %p, %u) failed to format", -+ fmt, data, data__sz); -+ return ret; -+ } -+ -+ return ret; -+} -+ -+static s32 bstr_format(struct scx_bstr_buf *buf, -+ char *fmt, unsigned long long *data, u32 data__sz) -+{ -+ return __bstr_format(buf->data, buf->line, sizeof(buf->line), -+ fmt, data, data__sz); -+} -+ -+__bpf_kfunc_start_defs(); -+ -+/** -+ * scx_bpf_exit_bstr - Gracefully exit the BPF scheduler. -+ * @exit_code: Exit value to pass to user space via struct scx_exit_info. -+ * @fmt: error message format string -+ * @data: format string parameters packaged using ___bpf_fill() macro -+ * @data__sz: @data len, must end in '__sz' for the verifier -+ * -+ * Indicate that the BPF scheduler wants to exit gracefully, and initiate ops -+ * disabling. -+ */ -+__bpf_kfunc void scx_bpf_exit_bstr(s64 exit_code, char *fmt, -+ unsigned long long *data, u32 data__sz) -+{ -+ unsigned long flags; -+ -+ raw_spin_lock_irqsave(&scx_exit_bstr_buf_lock, flags); -+ if (bstr_format(&scx_exit_bstr_buf, fmt, data, data__sz) >= 0) -+ scx_ops_exit_kind(SCX_EXIT_UNREG_BPF, exit_code, "%s", -+ scx_exit_bstr_buf.line); -+ raw_spin_unlock_irqrestore(&scx_exit_bstr_buf_lock, flags); -+} -+ -+/** -+ * scx_bpf_error_bstr - Indicate fatal error -+ * @fmt: error message format string -+ * @data: format string parameters packaged using ___bpf_fill() macro -+ * @data__sz: @data len, must end in '__sz' for the verifier -+ * -+ * Indicate that the BPF scheduler encountered a fatal error and initiate ops -+ * disabling. -+ */ -+__bpf_kfunc void scx_bpf_error_bstr(char *fmt, unsigned long long *data, -+ u32 data__sz) -+{ -+ unsigned long flags; -+ -+ raw_spin_lock_irqsave(&scx_exit_bstr_buf_lock, flags); -+ if (bstr_format(&scx_exit_bstr_buf, fmt, data, data__sz) >= 0) -+ scx_ops_exit_kind(SCX_EXIT_ERROR_BPF, 0, "%s", -+ scx_exit_bstr_buf.line); -+ raw_spin_unlock_irqrestore(&scx_exit_bstr_buf_lock, flags); -+} -+ -+/** -+ * scx_bpf_dump - Generate extra debug dump specific to the BPF scheduler -+ * @fmt: format string -+ * @data: format string parameters packaged using ___bpf_fill() macro -+ * @data__sz: @data len, must end in '__sz' for the verifier -+ * -+ * To be called through scx_bpf_dump() helper from ops.dump(), dump_cpu() and -+ * dump_task() to generate extra debug dump specific to the BPF scheduler. -+ * -+ * The extra dump may be multiple lines. A single line may be split over -+ * multiple calls. The last line is automatically terminated. -+ */ -+__bpf_kfunc void scx_bpf_dump_bstr(char *fmt, unsigned long long *data, -+ u32 data__sz) -+{ -+ struct scx_dump_data *dd = &scx_dump_data; -+ struct scx_bstr_buf *buf = &dd->buf; -+ s32 ret; -+ -+ if (raw_smp_processor_id() != dd->cpu) { -+ scx_ops_error("scx_bpf_dump() must only be called from ops.dump() and friends"); -+ return; -+ } -+ -+ /* append the formatted string to the line buf */ -+ ret = __bstr_format(buf->data, buf->line + dd->cursor, -+ sizeof(buf->line) - dd->cursor, fmt, data, data__sz); -+ if (ret < 0) { -+ dump_line(dd->s, "%s[!] (\"%s\", %p, %u) failed to format (%d)", -+ dd->prefix, fmt, data, data__sz, ret); -+ return; -+ } -+ -+ dd->cursor += ret; -+ dd->cursor = min_t(s32, dd->cursor, sizeof(buf->line)); -+ -+ if (!dd->cursor) -+ return; -+ -+ /* -+ * If the line buf overflowed or ends in a newline, flush it into the -+ * dump. This is to allow the caller to generate a single line over -+ * multiple calls. As ops_dump_flush() can also handle multiple lines in -+ * the line buf, the only case which can lead to an unexpected -+ * truncation is when the caller keeps generating newlines in the middle -+ * instead of the end consecutively. Don't do that. -+ */ -+ if (dd->cursor >= sizeof(buf->line) || buf->line[dd->cursor - 1] == '\n') -+ ops_dump_flush(); -+} -+ -+/** -+ * scx_bpf_cpuperf_cap - Query the maximum relative capacity of a CPU -+ * @cpu: CPU of interest -+ * -+ * Return the maximum relative capacity of @cpu in relation to the most -+ * performant CPU in the system. The return value is in the range [1, -+ * %SCX_CPUPERF_ONE]. See scx_bpf_cpuperf_cur(). -+ */ -+__bpf_kfunc u32 scx_bpf_cpuperf_cap(s32 cpu) -+{ -+ if (ops_cpu_valid(cpu, NULL)) -+ return arch_scale_cpu_capacity(cpu); -+ else -+ return SCX_CPUPERF_ONE; -+} -+ -+/** -+ * scx_bpf_cpuperf_cur - Query the current relative performance of a CPU -+ * @cpu: CPU of interest -+ * -+ * Return the current relative performance of @cpu in relation to its maximum. -+ * The return value is in the range [1, %SCX_CPUPERF_ONE]. -+ * -+ * The current performance level of a CPU in relation to the maximum performance -+ * available in the system can be calculated as follows: -+ * -+ * scx_bpf_cpuperf_cap() * scx_bpf_cpuperf_cur() / %SCX_CPUPERF_ONE -+ * -+ * The result is in the range [1, %SCX_CPUPERF_ONE]. -+ */ -+__bpf_kfunc u32 scx_bpf_cpuperf_cur(s32 cpu) -+{ -+ if (ops_cpu_valid(cpu, NULL)) -+ return arch_scale_freq_capacity(cpu); -+ else -+ return SCX_CPUPERF_ONE; -+} -+ -+/** -+ * scx_bpf_cpuperf_set - Set the relative performance target of a CPU -+ * @cpu: CPU of interest -+ * @perf: target performance level [0, %SCX_CPUPERF_ONE] -+ * @flags: %SCX_CPUPERF_* flags -+ * -+ * Set the target performance level of @cpu to @perf. @perf is in linear -+ * relative scale between 0 and %SCX_CPUPERF_ONE. This determines how the -+ * schedutil cpufreq governor chooses the target frequency. -+ * -+ * The actual performance level chosen, CPU grouping, and the overhead and -+ * latency of the operations are dependent on the hardware and cpufreq driver in -+ * use. Consult hardware and cpufreq documentation for more information. The -+ * current performance level can be monitored using scx_bpf_cpuperf_cur(). -+ */ -+__bpf_kfunc void scx_bpf_cpuperf_set(s32 cpu, u32 perf) -+{ -+ if (unlikely(perf > SCX_CPUPERF_ONE)) { -+ scx_ops_error("Invalid cpuperf target %u for CPU %d", perf, cpu); -+ return; -+ } -+ -+ if (ops_cpu_valid(cpu, NULL)) { -+ struct rq *rq = cpu_rq(cpu); -+ -+ rq->scx.cpuperf_target = perf; -+ -+ rcu_read_lock_sched_notrace(); -+ cpufreq_update_util(cpu_rq(cpu), 0); -+ rcu_read_unlock_sched_notrace(); -+ } -+} -+ -+/** -+ * scx_bpf_nr_cpu_ids - Return the number of possible CPU IDs -+ * -+ * All valid CPU IDs in the system are smaller than the returned value. -+ */ -+__bpf_kfunc u32 scx_bpf_nr_cpu_ids(void) -+{ -+ return nr_cpu_ids; -+} -+ -+/** -+ * scx_bpf_get_possible_cpumask - Get a referenced kptr to cpu_possible_mask -+ */ -+__bpf_kfunc const struct cpumask *scx_bpf_get_possible_cpumask(void) -+{ -+ return cpu_possible_mask; -+} -+ -+/** -+ * scx_bpf_get_online_cpumask - Get a referenced kptr to cpu_online_mask -+ */ -+__bpf_kfunc const struct cpumask *scx_bpf_get_online_cpumask(void) -+{ -+ return cpu_online_mask; -+} -+ -+/** -+ * scx_bpf_put_cpumask - Release a possible/online cpumask -+ * @cpumask: cpumask to release -+ */ -+__bpf_kfunc void scx_bpf_put_cpumask(const struct cpumask *cpumask) -+{ -+ /* -+ * Empty function body because we aren't actually acquiring or releasing -+ * a reference to a global cpumask, which is read-only in the caller and -+ * is never released. The acquire / release semantics here are just used -+ * to make the cpumask is a trusted pointer in the caller. -+ */ -+} -+ -+/** -+ * scx_bpf_get_idle_cpumask - Get a referenced kptr to the idle-tracking -+ * per-CPU cpumask. -+ * -+ * Returns NULL if idle tracking is not enabled, or running on a UP kernel. -+ */ -+__bpf_kfunc const struct cpumask *scx_bpf_get_idle_cpumask(void) -+{ -+ if (!static_branch_likely(&scx_builtin_idle_enabled)) { -+ scx_ops_error("built-in idle tracking is disabled"); -+ return cpu_none_mask; -+ } -+ -+#ifdef CONFIG_SMP -+ return idle_masks.cpu; -+#else -+ return cpu_none_mask; -+#endif -+} -+ -+/** -+ * scx_bpf_get_idle_smtmask - Get a referenced kptr to the idle-tracking, -+ * per-physical-core cpumask. Can be used to determine if an entire physical -+ * core is free. -+ * -+ * Returns NULL if idle tracking is not enabled, or running on a UP kernel. -+ */ -+__bpf_kfunc const struct cpumask *scx_bpf_get_idle_smtmask(void) -+{ -+ if (!static_branch_likely(&scx_builtin_idle_enabled)) { -+ scx_ops_error("built-in idle tracking is disabled"); -+ return cpu_none_mask; -+ } -+ -+#ifdef CONFIG_SMP -+ if (sched_smt_active()) -+ return idle_masks.smt; -+ else -+ return idle_masks.cpu; -+#else -+ return cpu_none_mask; -+#endif -+} -+ -+/** -+ * scx_bpf_put_idle_cpumask - Release a previously acquired referenced kptr to -+ * either the percpu, or SMT idle-tracking cpumask. -+ */ -+__bpf_kfunc void scx_bpf_put_idle_cpumask(const struct cpumask *idle_mask) -+{ -+ /* -+ * Empty function body because we aren't actually acquiring or releasing -+ * a reference to a global idle cpumask, which is read-only in the -+ * caller and is never released. The acquire / release semantics here -+ * are just used to make the cpumask a trusted pointer in the caller. -+ */ -+} -+ -+/** -+ * scx_bpf_test_and_clear_cpu_idle - Test and clear @cpu's idle state -+ * @cpu: cpu to test and clear idle for -+ * -+ * Returns %true if @cpu was idle and its idle state was successfully cleared. -+ * %false otherwise. -+ * -+ * Unavailable if ops.update_idle() is implemented and -+ * %SCX_OPS_KEEP_BUILTIN_IDLE is not set. -+ */ -+__bpf_kfunc bool scx_bpf_test_and_clear_cpu_idle(s32 cpu) -+{ -+ if (!static_branch_likely(&scx_builtin_idle_enabled)) { -+ scx_ops_error("built-in idle tracking is disabled"); -+ return false; -+ } -+ -+ if (ops_cpu_valid(cpu, NULL)) -+ return test_and_clear_cpu_idle(cpu); -+ else -+ return false; -+} -+ -+/** -+ * scx_bpf_pick_idle_cpu - Pick and claim an idle cpu -+ * @cpus_allowed: Allowed cpumask -+ * @flags: %SCX_PICK_IDLE_CPU_* flags -+ * -+ * Pick and claim an idle cpu in @cpus_allowed. Returns the picked idle cpu -+ * number on success. -%EBUSY if no matching cpu was found. -+ * -+ * Idle CPU tracking may race against CPU scheduling state transitions. For -+ * example, this function may return -%EBUSY as CPUs are transitioning into the -+ * idle state. If the caller then assumes that there will be dispatch events on -+ * the CPUs as they were all busy, the scheduler may end up stalling with CPUs -+ * idling while there are pending tasks. Use scx_bpf_pick_any_cpu() and -+ * scx_bpf_kick_cpu() to guarantee that there will be at least one dispatch -+ * event in the near future. -+ * -+ * Unavailable if ops.update_idle() is implemented and -+ * %SCX_OPS_KEEP_BUILTIN_IDLE is not set. -+ */ -+__bpf_kfunc s32 scx_bpf_pick_idle_cpu(const struct cpumask *cpus_allowed, -+ u64 flags) -+{ -+ if (!static_branch_likely(&scx_builtin_idle_enabled)) { -+ scx_ops_error("built-in idle tracking is disabled"); -+ return -EBUSY; -+ } -+ -+ return scx_pick_idle_cpu(cpus_allowed, flags); -+} -+ -+/** -+ * scx_bpf_pick_any_cpu - Pick and claim an idle cpu if available or pick any CPU -+ * @cpus_allowed: Allowed cpumask -+ * @flags: %SCX_PICK_IDLE_CPU_* flags -+ * -+ * Pick and claim an idle cpu in @cpus_allowed. If none is available, pick any -+ * CPU in @cpus_allowed. Guaranteed to succeed and returns the picked idle cpu -+ * number if @cpus_allowed is not empty. -%EBUSY is returned if @cpus_allowed is -+ * empty. -+ * -+ * If ops.update_idle() is implemented and %SCX_OPS_KEEP_BUILTIN_IDLE is not -+ * set, this function can't tell which CPUs are idle and will always pick any -+ * CPU. -+ */ -+__bpf_kfunc s32 scx_bpf_pick_any_cpu(const struct cpumask *cpus_allowed, -+ u64 flags) -+{ -+ s32 cpu; -+ -+ if (static_branch_likely(&scx_builtin_idle_enabled)) { -+ cpu = scx_pick_idle_cpu(cpus_allowed, flags); -+ if (cpu >= 0) -+ return cpu; -+ } -+ -+ cpu = cpumask_any_distribute(cpus_allowed); -+ if (cpu < nr_cpu_ids) -+ return cpu; -+ else -+ return -EBUSY; -+} -+ -+/** -+ * scx_bpf_task_running - Is task currently running? -+ * @p: task of interest -+ */ -+__bpf_kfunc bool scx_bpf_task_running(const struct task_struct *p) -+{ -+ return task_rq(p)->curr == p; -+} -+ -+/** -+ * scx_bpf_task_cpu - CPU a task is currently associated with -+ * @p: task of interest -+ */ -+__bpf_kfunc s32 scx_bpf_task_cpu(const struct task_struct *p) -+{ -+ return task_cpu(p); -+} -+ -+/** -+ * scx_bpf_cpu_rq - Fetch the rq of a CPU -+ * @cpu: CPU of the rq -+ */ -+__bpf_kfunc struct rq *scx_bpf_cpu_rq(s32 cpu) -+{ -+ if (!ops_cpu_valid(cpu, NULL)) -+ return NULL; -+ -+ return cpu_rq(cpu); -+} -+ -+/** -+ * scx_bpf_task_cgroup - Return the sched cgroup of a task -+ * @p: task of interest -+ * -+ * @p->sched_task_group->css.cgroup represents the cgroup @p is associated with -+ * from the scheduler's POV. SCX operations should use this function to -+ * determine @p's current cgroup as, unlike following @p->cgroups, -+ * @p->sched_task_group is protected by @p's rq lock and thus atomic w.r.t. all -+ * rq-locked operations. Can be called on the parameter tasks of rq-locked -+ * operations. The restriction guarantees that @p's rq is locked by the caller. -+ */ -+#ifdef CONFIG_CGROUP_SCHED -+__bpf_kfunc struct cgroup *scx_bpf_task_cgroup(struct task_struct *p) -+{ -+ struct task_group *tg = p->sched_task_group; -+ struct cgroup *cgrp = &cgrp_dfl_root.cgrp; -+ -+ if (!scx_kf_allowed_on_arg_tasks(__SCX_KF_RQ_LOCKED, p)) -+ goto out; -+ -+ /* -+ * A task_group may either be a cgroup or an autogroup. In the latter -+ * case, @tg->css.cgroup is %NULL. A task_group can't become the other -+ * kind once created. -+ */ -+ if (tg && tg->css.cgroup) -+ cgrp = tg->css.cgroup; -+ else -+ cgrp = &cgrp_dfl_root.cgrp; -+out: -+ cgroup_get(cgrp); -+ return cgrp; -+} -+#endif -+ -+__bpf_kfunc_end_defs(); -+ -+BTF_KFUNCS_START(scx_kfunc_ids_any) -+BTF_ID_FLAGS(func, scx_bpf_kick_cpu) -+BTF_ID_FLAGS(func, scx_bpf_dsq_nr_queued) -+BTF_ID_FLAGS(func, scx_bpf_destroy_dsq) -+BTF_ID_FLAGS(func, bpf_iter_scx_dsq_new, KF_ITER_NEW | KF_RCU_PROTECTED) -+BTF_ID_FLAGS(func, bpf_iter_scx_dsq_next, KF_ITER_NEXT | KF_RET_NULL) -+BTF_ID_FLAGS(func, bpf_iter_scx_dsq_destroy, KF_ITER_DESTROY) -+BTF_ID_FLAGS(func, scx_bpf_exit_bstr, KF_TRUSTED_ARGS) -+BTF_ID_FLAGS(func, scx_bpf_error_bstr, KF_TRUSTED_ARGS) -+BTF_ID_FLAGS(func, scx_bpf_dump_bstr, KF_TRUSTED_ARGS) -+BTF_ID_FLAGS(func, scx_bpf_cpuperf_cap) -+BTF_ID_FLAGS(func, scx_bpf_cpuperf_cur) -+BTF_ID_FLAGS(func, scx_bpf_cpuperf_set) -+BTF_ID_FLAGS(func, scx_bpf_nr_cpu_ids) -+BTF_ID_FLAGS(func, scx_bpf_get_possible_cpumask, KF_ACQUIRE) -+BTF_ID_FLAGS(func, scx_bpf_get_online_cpumask, KF_ACQUIRE) -+BTF_ID_FLAGS(func, scx_bpf_put_cpumask, KF_RELEASE) -+BTF_ID_FLAGS(func, scx_bpf_get_idle_cpumask, KF_ACQUIRE) -+BTF_ID_FLAGS(func, scx_bpf_get_idle_smtmask, KF_ACQUIRE) -+BTF_ID_FLAGS(func, scx_bpf_put_idle_cpumask, KF_RELEASE) -+BTF_ID_FLAGS(func, scx_bpf_test_and_clear_cpu_idle) -+BTF_ID_FLAGS(func, scx_bpf_pick_idle_cpu, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_pick_any_cpu, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_task_running, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_task_cpu, KF_RCU) -+BTF_ID_FLAGS(func, scx_bpf_cpu_rq) -+#ifdef CONFIG_CGROUP_SCHED -+BTF_ID_FLAGS(func, scx_bpf_task_cgroup, KF_RCU | KF_ACQUIRE) -+#endif -+BTF_KFUNCS_END(scx_kfunc_ids_any) -+ -+static const struct btf_kfunc_id_set scx_kfunc_set_any = { -+ .owner = THIS_MODULE, -+ .set = &scx_kfunc_ids_any, -+}; -+ -+static int __init scx_init(void) -+{ -+ int ret; -+ -+ /* -+ * kfunc registration can't be done from init_sched_ext_class() as -+ * register_btf_kfunc_id_set() needs most of the system to be up. -+ * -+ * Some kfuncs are context-sensitive and can only be called from -+ * specific SCX ops. They are grouped into BTF sets accordingly. -+ * Unfortunately, BPF currently doesn't have a way of enforcing such -+ * restrictions. Eventually, the verifier should be able to enforce -+ * them. For now, register them the same and make each kfunc explicitly -+ * check using scx_kf_allowed(). -+ */ -+ if ((ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_select_cpu)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_enqueue_dispatch)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_dispatch)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_cpu_release)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_unlocked)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_SYSCALL, -+ &scx_kfunc_set_unlocked)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, -+ &scx_kfunc_set_any)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_TRACING, -+ &scx_kfunc_set_any)) || -+ (ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_SYSCALL, -+ &scx_kfunc_set_any))) { -+ pr_err("sched_ext: Failed to register kfunc sets (%d)\n", ret); -+ return ret; -+ } -+ -+ ret = register_bpf_struct_ops(&bpf_sched_ext_ops, sched_ext_ops); -+ if (ret) { -+ pr_err("sched_ext: Failed to register struct_ops (%d)\n", ret); -+ return ret; -+ } -+ -+ ret = register_pm_notifier(&scx_pm_notifier); -+ if (ret) { -+ pr_err("sched_ext: Failed to register PM notifier (%d)\n", ret); -+ return ret; -+ } -+ -+ scx_kset = kset_create_and_add("sched_ext", &scx_uevent_ops, kernel_kobj); -+ if (!scx_kset) { -+ pr_err("sched_ext: Failed to create /sys/kernel/sched_ext\n"); -+ return -ENOMEM; -+ } -+ -+ ret = sysfs_create_group(&scx_kset->kobj, &scx_global_attr_group); -+ if (ret < 0) { -+ pr_err("sched_ext: Failed to add global attributes\n"); -+ return ret; -+ } -+ -+ return 0; -+} -+__initcall(scx_init); -diff --git a/kernel/sched/ext.h b/kernel/sched/ext.h -new file mode 100644 -index 000000000000..246019519231 ---- /dev/null -+++ b/kernel/sched/ext.h -@@ -0,0 +1,91 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#ifdef CONFIG_SCHED_CLASS_EXT -+ -+void scx_tick(struct rq *rq); -+void init_scx_entity(struct sched_ext_entity *scx); -+void scx_pre_fork(struct task_struct *p); -+int scx_fork(struct task_struct *p); -+void scx_post_fork(struct task_struct *p); -+void scx_cancel_fork(struct task_struct *p); -+bool scx_can_stop_tick(struct rq *rq); -+void scx_rq_activate(struct rq *rq); -+void scx_rq_deactivate(struct rq *rq); -+int scx_check_setscheduler(struct task_struct *p, int policy); -+bool task_should_scx(struct task_struct *p); -+void init_sched_ext_class(void); -+ -+static inline u32 scx_cpuperf_target(s32 cpu) -+{ -+ if (scx_enabled()) -+ return cpu_rq(cpu)->scx.cpuperf_target; -+ else -+ return 0; -+} -+ -+static inline bool task_on_scx(const struct task_struct *p) -+{ -+ return scx_enabled() && p->sched_class == &ext_sched_class; -+} -+ -+#ifdef CONFIG_SCHED_CORE -+bool scx_prio_less(const struct task_struct *a, const struct task_struct *b, -+ bool in_fi); -+#endif -+ -+#else /* CONFIG_SCHED_CLASS_EXT */ -+ -+static inline void scx_tick(struct rq *rq) {} -+static inline void scx_pre_fork(struct task_struct *p) {} -+static inline int scx_fork(struct task_struct *p) { return 0; } -+static inline void scx_post_fork(struct task_struct *p) {} -+static inline void scx_cancel_fork(struct task_struct *p) {} -+static inline u32 scx_cpuperf_target(s32 cpu) { return 0; } -+static inline bool scx_can_stop_tick(struct rq *rq) { return true; } -+static inline void scx_rq_activate(struct rq *rq) {} -+static inline void scx_rq_deactivate(struct rq *rq) {} -+static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } -+static inline bool task_on_scx(const struct task_struct *p) { return false; } -+static inline void init_sched_ext_class(void) {} -+ -+#endif /* CONFIG_SCHED_CLASS_EXT */ -+ -+#if defined(CONFIG_SCHED_CLASS_EXT) && defined(CONFIG_SMP) -+void __scx_update_idle(struct rq *rq, bool idle); -+ -+static inline void scx_update_idle(struct rq *rq, bool idle) -+{ -+ if (scx_enabled()) -+ __scx_update_idle(rq, idle); -+} -+#else -+static inline void scx_update_idle(struct rq *rq, bool idle) {} -+#endif -+ -+#ifdef CONFIG_CGROUP_SCHED -+#ifdef CONFIG_EXT_GROUP_SCHED -+int scx_tg_online(struct task_group *tg); -+void scx_tg_offline(struct task_group *tg); -+int scx_cgroup_can_attach(struct cgroup_taskset *tset); -+void scx_move_task(struct task_struct *p); -+void scx_cgroup_finish_attach(void); -+void scx_cgroup_cancel_attach(struct cgroup_taskset *tset); -+void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight); -+void scx_group_set_idle(struct task_group *tg, bool idle); -+#else /* CONFIG_EXT_GROUP_SCHED */ -+static inline int scx_tg_online(struct task_group *tg) { return 0; } -+static inline void scx_tg_offline(struct task_group *tg) {} -+static inline int scx_cgroup_can_attach(struct cgroup_taskset *tset) { return 0; } -+static inline void scx_move_task(struct task_struct *p) {} -+static inline void scx_cgroup_finish_attach(void) {} -+static inline void scx_cgroup_cancel_attach(struct cgroup_taskset *tset) {} -+static inline void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight) {} -+static inline void scx_group_set_idle(struct task_group *tg, bool idle) {} -+#endif /* CONFIG_EXT_GROUP_SCHED */ -+#endif /* CONFIG_CGROUP_SCHED */ -diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index 425348b8d9eb..b27fd3fc7d67 100644 ---- a/kernel/sched/fair.c -+++ b/kernel/sched/fair.c -@@ -3844,7 +3844,8 @@ static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, - } - } - --void reweight_task(struct task_struct *p, const struct load_weight *lw) -+static void reweight_task_fair(struct rq *rq, struct task_struct *p, -+ const struct load_weight *lw) - { - struct sched_entity *se = &p->se; - struct cfs_rq *cfs_rq = cfs_rq_of(se); -@@ -9352,29 +9353,18 @@ static inline void update_blocked_load_status(struct rq *rq, bool has_blocked) { - - static bool __update_blocked_others(struct rq *rq, bool *done) - { -- const struct sched_class *curr_class; -- u64 now = rq_clock_pelt(rq); -- unsigned long hw_pressure; -- bool decayed; -+ bool updated; - - /* - * update_load_avg() can call cpufreq_update_util(). Make sure that RT, - * DL and IRQ signals have been updated before updating CFS. - */ -- curr_class = rq->curr->sched_class; -- -- hw_pressure = arch_scale_hw_pressure(cpu_of(rq)); -- -- /* hw_pressure doesn't care about invariance */ -- decayed = update_rt_rq_load_avg(now, rq, curr_class == &rt_sched_class) | -- update_dl_rq_load_avg(now, rq, curr_class == &dl_sched_class) | -- update_hw_load_avg(rq_clock_task(rq), rq, hw_pressure) | -- update_irq_load_avg(rq, 0); -+ updated = update_other_load_avgs(rq); - - if (others_have_blocked(rq)) - *done = false; - -- return decayed; -+ return updated; - } - - #ifdef CONFIG_FAIR_GROUP_SCHED -@@ -13220,6 +13210,7 @@ DEFINE_SCHED_CLASS(fair) = { - .task_tick = task_tick_fair, - .task_fork = task_fork_fair, - -+ .reweight_task = reweight_task_fair, - .prio_changed = prio_changed_fair, - .switched_from = switched_from_fair, - .switched_to = switched_to_fair, -diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c -index 6e78d071beb5..c7a218123b7a 100644 ---- a/kernel/sched/idle.c -+++ b/kernel/sched/idle.c -@@ -452,11 +452,13 @@ static void wakeup_preempt_idle(struct rq *rq, struct task_struct *p, int flags) - - static void put_prev_task_idle(struct rq *rq, struct task_struct *prev) - { -+ scx_update_idle(rq, false); - } - - static void set_next_task_idle(struct rq *rq, struct task_struct *next, bool first) - { - update_idle_core(rq); -+ scx_update_idle(rq, true); - schedstat_inc(rq->sched_goidle); - } - -diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h -index 4c36cc680361..4965853277e2 100644 ---- a/kernel/sched/sched.h -+++ b/kernel/sched/sched.h -@@ -192,9 +192,18 @@ static inline int idle_policy(int policy) - return policy == SCHED_IDLE; - } - -+static inline int normal_policy(int policy) -+{ -+#ifdef CONFIG_SCHED_CLASS_EXT -+ if (policy == SCHED_EXT) -+ return true; -+#endif -+ return policy == SCHED_NORMAL; -+} -+ - static inline int fair_policy(int policy) - { -- return policy == SCHED_NORMAL || policy == SCHED_BATCH; -+ return normal_policy(policy) || policy == SCHED_BATCH; - } - - static inline int rt_policy(int policy) -@@ -244,6 +253,24 @@ static inline void update_avg(u64 *avg, u64 sample) - #define shr_bound(val, shift) \ - (val >> min_t(typeof(shift), shift, BITS_PER_TYPE(typeof(val)) - 1)) - -+/* -+ * cgroup weight knobs should use the common MIN, DFL and MAX values which are -+ * 1, 100 and 10000 respectively. While it loses a bit of range on both ends, it -+ * maps pretty well onto the shares value used by scheduler and the round-trip -+ * conversions preserve the original value over the entire range. -+ */ -+static inline unsigned long sched_weight_from_cgroup(unsigned long cgrp_weight) -+{ -+ return DIV_ROUND_CLOSEST_ULL(cgrp_weight * 1024, CGROUP_WEIGHT_DFL); -+} -+ -+static inline unsigned long sched_weight_to_cgroup(unsigned long weight) -+{ -+ return clamp_t(unsigned long, -+ DIV_ROUND_CLOSEST_ULL(weight * CGROUP_WEIGHT_DFL, 1024), -+ CGROUP_WEIGHT_MIN, CGROUP_WEIGHT_MAX); -+} -+ - /* - * !! For sched_setattr_nocheck() (kernel) only !! - * -@@ -397,16 +424,17 @@ struct cfs_bandwidth { - struct task_group { - struct cgroup_subsys_state css; - -+#ifdef CONFIG_GROUP_SCHED_WEIGHT -+ /* A positive value indicates that this is a SCHED_IDLE group. */ -+ int idle; -+#endif -+ - #ifdef CONFIG_FAIR_GROUP_SCHED - /* schedulable entities of this group on each CPU */ - struct sched_entity **se; - /* runqueue "owned" by this group on each CPU */ - struct cfs_rq **cfs_rq; - unsigned long shares; -- -- /* A positive value indicates that this is a SCHED_IDLE group. */ -- int idle; -- - #ifdef CONFIG_SMP - /* - * load_avg can be heavily contended at clock tick time, so put -@@ -424,6 +452,11 @@ struct task_group { - struct rt_bandwidth rt_bandwidth; - #endif - -+#ifdef CONFIG_EXT_GROUP_SCHED -+ u32 scx_flags; /* SCX_TG_* */ -+ u32 scx_weight; -+#endif -+ - struct rcu_head rcu; - struct list_head list; - -@@ -448,7 +481,7 @@ struct task_group { - - }; - --#ifdef CONFIG_FAIR_GROUP_SCHED -+#ifdef CONFIG_GROUP_SCHED_WEIGHT - #define ROOT_TASK_GROUP_LOAD NICE_0_LOAD - - /* -@@ -479,6 +512,11 @@ static inline int walk_tg_tree(tg_visitor down, tg_visitor up, void *data) - return walk_tg_tree_from(&root_task_group, down, up, data); - } - -+static inline struct task_group *css_tg(struct cgroup_subsys_state *css) -+{ -+ return css ? container_of(css, struct task_group, css) : NULL; -+} -+ - extern int tg_nop(struct task_group *tg, void *data); - - #ifdef CONFIG_FAIR_GROUP_SCHED -@@ -535,6 +573,9 @@ extern void set_task_rq_fair(struct sched_entity *se, - static inline void set_task_rq_fair(struct sched_entity *se, - struct cfs_rq *prev, struct cfs_rq *next) { } - #endif /* CONFIG_SMP */ -+#else /* !CONFIG_FAIR_GROUP_SCHED */ -+static inline int sched_group_set_shares(struct task_group *tg, unsigned long shares) { return 0; } -+static inline int sched_group_set_idle(struct task_group *tg, long idle) { return 0; } - #endif /* CONFIG_FAIR_GROUP_SCHED */ - - #else /* CONFIG_CGROUP_SCHED */ -@@ -588,6 +629,11 @@ do { \ - # define u64_u32_load(var) u64_u32_load_copy(var, var##_copy) - # define u64_u32_store(var, val) u64_u32_store_copy(var, var##_copy, val) - -+struct balance_callback { -+ struct balance_callback *next; -+ void (*func)(struct rq *rq); -+}; -+ - /* CFS-related fields in a runqueue */ - struct cfs_rq { - struct load_weight load; -@@ -696,6 +742,43 @@ struct cfs_rq { - #endif /* CONFIG_FAIR_GROUP_SCHED */ - }; - -+#ifdef CONFIG_SCHED_CLASS_EXT -+/* scx_rq->flags, protected by the rq lock */ -+enum scx_rq_flags { -+ /* -+ * A hotplugged CPU starts scheduling before rq_online_scx(). Track -+ * ops.cpu_on/offline() state so that ops.enqueue/dispatch() are called -+ * only while the BPF scheduler considers the CPU to be online. -+ */ -+ SCX_RQ_ONLINE = 1 << 0, -+ SCX_RQ_CAN_STOP_TICK = 1 << 1, -+ SCX_RQ_BYPASSING = 1 << 3, -+ -+ SCX_RQ_IN_WAKEUP = 1 << 16, -+ SCX_RQ_IN_BALANCE = 1 << 17, -+}; -+ -+struct scx_rq { -+ struct scx_dispatch_q local_dsq; -+ struct list_head runnable_list; /* runnable tasks on this rq */ -+ struct list_head ddsp_deferred_locals; /* deferred ddsps from enq */ -+ unsigned long ops_qseq; -+ u64 extra_enq_flags; /* see move_task_to_local_dsq() */ -+ u32 nr_running; -+ u32 flags; -+ u32 cpuperf_target; /* [0, SCHED_CAPACITY_SCALE] */ -+ bool cpu_released; -+ cpumask_var_t cpus_to_kick; -+ cpumask_var_t cpus_to_kick_if_idle; -+ cpumask_var_t cpus_to_preempt; -+ cpumask_var_t cpus_to_wait; -+ unsigned long pnt_seq; -+ struct balance_callback deferred_bal_cb; -+ struct irq_work deferred_irq_work; -+ struct irq_work kick_cpus_irq_work; -+}; -+#endif /* CONFIG_SCHED_CLASS_EXT */ -+ - static inline int rt_bandwidth_enabled(void) - { - return sysctl_sched_rt_runtime >= 0; -@@ -996,11 +1079,6 @@ struct uclamp_rq { - DECLARE_STATIC_KEY_FALSE(sched_uclamp_used); - #endif /* CONFIG_UCLAMP_TASK */ - --struct balance_callback { -- struct balance_callback *next; -- void (*func)(struct rq *rq); --}; -- - /* - * This is the main, per-CPU runqueue data structure. - * -@@ -1043,6 +1121,9 @@ struct rq { - struct cfs_rq cfs; - struct rt_rq rt; - struct dl_rq dl; -+#ifdef CONFIG_SCHED_CLASS_EXT -+ struct scx_rq scx; -+#endif - - #ifdef CONFIG_FAIR_GROUP_SCHED - /* list of leaf cfs_rq on this CPU: */ -@@ -2291,13 +2372,15 @@ struct sched_class { - - void (*wakeup_preempt)(struct rq *rq, struct task_struct *p, int flags); - -+ int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf); - struct task_struct *(*pick_next_task)(struct rq *rq); - - void (*put_prev_task)(struct rq *rq, struct task_struct *p); - void (*set_next_task)(struct rq *rq, struct task_struct *p, bool first); - -+ void (*switch_class)(struct rq *rq, struct task_struct *next); -+ - #ifdef CONFIG_SMP -- int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf); - int (*select_task_rq)(struct task_struct *p, int task_cpu, int flags); - - struct task_struct * (*pick_task)(struct rq *rq); -@@ -2323,8 +2406,11 @@ struct sched_class { - * cannot assume the switched_from/switched_to pair is serialized by - * rq->lock. They are however serialized by p->pi_lock. - */ -+ void (*switching_to) (struct rq *this_rq, struct task_struct *task); - void (*switched_from)(struct rq *this_rq, struct task_struct *task); - void (*switched_to) (struct rq *this_rq, struct task_struct *task); -+ void (*reweight_task)(struct rq *this_rq, struct task_struct *task, -+ const struct load_weight *lw); - void (*prio_changed) (struct rq *this_rq, struct task_struct *task, - int oldprio); - -@@ -2373,19 +2459,54 @@ const struct sched_class name##_sched_class \ - extern struct sched_class __sched_class_highest[]; - extern struct sched_class __sched_class_lowest[]; - -+extern const struct sched_class stop_sched_class; -+extern const struct sched_class dl_sched_class; -+extern const struct sched_class rt_sched_class; -+extern const struct sched_class fair_sched_class; -+extern const struct sched_class idle_sched_class; -+ -+#ifdef CONFIG_SCHED_CLASS_EXT -+extern const struct sched_class ext_sched_class; -+ -+DECLARE_STATIC_KEY_FALSE(__scx_ops_enabled); /* SCX BPF scheduler loaded */ -+DECLARE_STATIC_KEY_FALSE(__scx_switched_all); /* all fair class tasks on SCX */ -+ -+#define scx_enabled() static_branch_unlikely(&__scx_ops_enabled) -+#define scx_switched_all() static_branch_unlikely(&__scx_switched_all) -+#else /* !CONFIG_SCHED_CLASS_EXT */ -+#define scx_enabled() false -+#define scx_switched_all() false -+#endif /* !CONFIG_SCHED_CLASS_EXT */ -+ -+/* -+ * Iterate only active classes. SCX can take over all fair tasks or be -+ * completely disabled. If the former, skip fair. If the latter, skip SCX. -+ */ -+static inline const struct sched_class *next_active_class(const struct sched_class *class) -+{ -+ class++; -+#ifdef CONFIG_SCHED_CLASS_EXT -+ if (scx_switched_all() && class == &fair_sched_class) -+ class++; -+ if (!scx_enabled() && class == &ext_sched_class) -+ class++; -+#endif -+ return class; -+} -+ - #define for_class_range(class, _from, _to) \ - for (class = (_from); class < (_to); class++) - - #define for_each_class(class) \ - for_class_range(class, __sched_class_highest, __sched_class_lowest) - --#define sched_class_above(_a, _b) ((_a) < (_b)) -+#define for_active_class_range(class, _from, _to) \ -+ for (class = (_from); class != (_to); class = next_active_class(class)) - --extern const struct sched_class stop_sched_class; --extern const struct sched_class dl_sched_class; --extern const struct sched_class rt_sched_class; --extern const struct sched_class fair_sched_class; --extern const struct sched_class idle_sched_class; -+#define for_each_active_class(class) \ -+ for_active_class_range(class, __sched_class_highest, __sched_class_lowest) -+ -+#define sched_class_above(_a, _b) ((_a) < (_b)) - - static inline bool sched_stop_runnable(struct rq *rq) - { -@@ -2424,6 +2545,19 @@ extern void sched_balance_trigger(struct rq *rq); - extern int __set_cpus_allowed_ptr(struct task_struct *p, struct affinity_context *ctx); - extern void set_cpus_allowed_common(struct task_struct *p, struct affinity_context *ctx); - -+static inline bool task_allowed_on_cpu(struct task_struct *p, int cpu) -+{ -+ /* When not in the task's cpumask, no point in looking further. */ -+ if (!cpumask_test_cpu(cpu, p->cpus_ptr)) -+ return false; -+ -+ /* Can @cpu run a user thread? */ -+ if (!(p->flags & PF_KTHREAD) && !task_cpu_possible(cpu, p)) -+ return false; -+ -+ return true; -+} -+ - static inline cpumask_t *alloc_user_cpus_ptr(int node) - { - /* -@@ -2457,6 +2591,11 @@ extern int push_cpu_stop(void *arg); - - #else /* !CONFIG_SMP: */ - -+static inline bool task_allowed_on_cpu(struct task_struct *p, int cpu) -+{ -+ return true; -+} -+ - static inline int __set_cpus_allowed_ptr(struct task_struct *p, - struct affinity_context *ctx) - { -@@ -2510,8 +2649,6 @@ extern void init_sched_dl_class(void); - extern void init_sched_rt_class(void); - extern void init_sched_fair_class(void); - --extern void reweight_task(struct task_struct *p, const struct load_weight *lw); -- - extern void resched_curr(struct rq *rq); - extern void resched_cpu(int cpu); - -@@ -3056,6 +3193,8 @@ static inline void cpufreq_update_util(struct rq *rq, unsigned int flags) { } - - #ifdef CONFIG_SMP - -+bool update_other_load_avgs(struct rq *rq); -+ - unsigned long effective_cpu_util(int cpu, unsigned long util_cfs, - unsigned long *min, - unsigned long *max); -@@ -3099,6 +3238,8 @@ static inline unsigned long cpu_util_rt(struct rq *rq) - return READ_ONCE(rq->avg_rt.util_avg); - } - -+#else /* !CONFIG_SMP */ -+static inline bool update_other_load_avgs(struct rq *rq) { return false; } - #endif /* CONFIG_SMP */ - - #ifdef CONFIG_UCLAMP_TASK -@@ -3609,6 +3750,8 @@ extern void set_load_weight(struct task_struct *p, bool update_load); - extern void enqueue_task(struct rq *rq, struct task_struct *p, int flags); - extern void dequeue_task(struct rq *rq, struct task_struct *p, int flags); - -+extern void check_class_changing(struct rq *rq, struct task_struct *p, -+ const struct sched_class *prev_class); - extern void check_class_changed(struct rq *rq, struct task_struct *p, - const struct sched_class *prev_class, - int oldprio); -@@ -3629,4 +3772,24 @@ static inline void balance_callbacks(struct rq *rq, struct balance_callback *hea - - #endif - -+#ifdef CONFIG_SCHED_CLASS_EXT -+/* -+ * Used by SCX in the enable/disable paths to move tasks between sched_classes -+ * and establish invariants. -+ */ -+struct sched_enq_and_set_ctx { -+ struct task_struct *p; -+ int queue_flags; -+ bool queued; -+ bool running; -+}; -+ -+void sched_deq_and_put_task(struct task_struct *p, int queue_flags, -+ struct sched_enq_and_set_ctx *ctx); -+void sched_enq_and_set_task(struct sched_enq_and_set_ctx *ctx); -+ -+#endif /* CONFIG_SCHED_CLASS_EXT */ -+ -+#include "ext.h" -+ - #endif /* _KERNEL_SCHED_SCHED_H */ -diff --git a/kernel/sched/syscalls.c b/kernel/sched/syscalls.c -index ae1b42775ef9..4fa59c9f69ac 100644 ---- a/kernel/sched/syscalls.c -+++ b/kernel/sched/syscalls.c -@@ -259,6 +259,25 @@ int sched_core_idle_cpu(int cpu) - #endif - - #ifdef CONFIG_SMP -+/* -+ * Load avg and utiliztion metrics need to be updated periodically and before -+ * consumption. This function updates the metrics for all subsystems except for -+ * the fair class. @rq must be locked and have its clock updated. -+ */ -+bool update_other_load_avgs(struct rq *rq) -+{ -+ u64 now = rq_clock_pelt(rq); -+ const struct sched_class *curr_class = rq->curr->sched_class; -+ unsigned long hw_pressure = arch_scale_hw_pressure(cpu_of(rq)); -+ -+ lockdep_assert_rq_held(rq); -+ -+ return update_rt_rq_load_avg(now, rq, curr_class == &rt_sched_class) | -+ update_dl_rq_load_avg(now, rq, curr_class == &dl_sched_class) | -+ update_hw_load_avg(now, rq, hw_pressure) | -+ update_irq_load_avg(rq, 0); -+} -+ - /* - * This function computes an effective utilization for the given CPU, to be - * used for frequency selection given the linear relation: f = u * f_max. -@@ -695,6 +714,10 @@ int __sched_setscheduler(struct task_struct *p, - goto unlock; - } - -+ retval = scx_check_setscheduler(p, policy); -+ if (retval) -+ goto unlock; -+ - /* - * If not changing anything there's no need to proceed further, - * but store a possible modification of reset_on_fork. -@@ -797,6 +820,7 @@ int __sched_setscheduler(struct task_struct *p, - __setscheduler_prio(p, newprio); - } - __setscheduler_uclamp(p, attr); -+ check_class_changing(rq, p, prev_class); - - if (queued) { - /* -@@ -1602,6 +1626,7 @@ SYSCALL_DEFINE1(sched_get_priority_max, int, policy) - case SCHED_NORMAL: - case SCHED_BATCH: - case SCHED_IDLE: -+ case SCHED_EXT: - ret = 0; - break; - } -@@ -1629,6 +1654,7 @@ SYSCALL_DEFINE1(sched_get_priority_min, int, policy) - case SCHED_NORMAL: - case SCHED_BATCH: - case SCHED_IDLE: -+ case SCHED_EXT: - ret = 0; - } - return ret; -diff --git a/lib/dump_stack.c b/lib/dump_stack.c -index 1a996fbbf50a..388da1aea14a 100644 ---- a/lib/dump_stack.c -+++ b/lib/dump_stack.c -@@ -73,6 +73,7 @@ void dump_stack_print_info(const char *log_lvl) - - print_worker_info(log_lvl, current); - print_stop_info(log_lvl, current); -+ print_scx_info(log_lvl, current); - } - - /** -diff --git a/tools/Makefile b/tools/Makefile -index 276f5d0d53a4..278d24723b74 100644 ---- a/tools/Makefile -+++ b/tools/Makefile -@@ -28,6 +28,7 @@ help: - @echo ' pci - PCI tools' - @echo ' perf - Linux performance measurement and analysis tool' - @echo ' selftests - various kernel selftests' -+ @echo ' sched_ext - sched_ext example schedulers' - @echo ' bootconfig - boot config tool' - @echo ' spi - spi tools' - @echo ' tmon - thermal monitoring and tuning tool' -@@ -91,6 +92,9 @@ perf: FORCE - $(Q)mkdir -p $(PERF_O) . - $(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= - -+sched_ext: FORCE -+ $(call descend,sched_ext) -+ - selftests: FORCE - $(call descend,testing/$@) - -@@ -184,6 +188,9 @@ perf_clean: - $(Q)mkdir -p $(PERF_O) . - $(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= clean - -+sched_ext_clean: -+ $(call descend,sched_ext,clean) -+ - selftests_clean: - $(call descend,testing/$(@:_clean=),clean) - -@@ -213,6 +220,7 @@ clean: acpi_clean counter_clean cpupower_clean hv_clean firewire_clean \ - mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \ - freefall_clean build_clean libbpf_clean libsubcmd_clean \ - gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \ -- intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean -+ intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean \ -+ sched_ext_clean - - .PHONY: FORCE -diff --git a/tools/sched_ext/.gitignore b/tools/sched_ext/.gitignore -new file mode 100644 -index 000000000000..d6264fe1c8cd ---- /dev/null -+++ b/tools/sched_ext/.gitignore -@@ -0,0 +1,2 @@ -+tools/ -+build/ -diff --git a/tools/sched_ext/Makefile b/tools/sched_ext/Makefile -new file mode 100644 -index 000000000000..ca3815e572d8 ---- /dev/null -+++ b/tools/sched_ext/Makefile -@@ -0,0 +1,246 @@ -+# SPDX-License-Identifier: GPL-2.0 -+# Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+include ../build/Build.include -+include ../scripts/Makefile.arch -+include ../scripts/Makefile.include -+ -+all: all_targets -+ -+ifneq ($(LLVM),) -+ifneq ($(filter %/,$(LLVM)),) -+LLVM_PREFIX := $(LLVM) -+else ifneq ($(filter -%,$(LLVM)),) -+LLVM_SUFFIX := $(LLVM) -+endif -+ -+CLANG_TARGET_FLAGS_arm := arm-linux-gnueabi -+CLANG_TARGET_FLAGS_arm64 := aarch64-linux-gnu -+CLANG_TARGET_FLAGS_hexagon := hexagon-linux-musl -+CLANG_TARGET_FLAGS_m68k := m68k-linux-gnu -+CLANG_TARGET_FLAGS_mips := mipsel-linux-gnu -+CLANG_TARGET_FLAGS_powerpc := powerpc64le-linux-gnu -+CLANG_TARGET_FLAGS_riscv := riscv64-linux-gnu -+CLANG_TARGET_FLAGS_s390 := s390x-linux-gnu -+CLANG_TARGET_FLAGS_x86 := x86_64-linux-gnu -+CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH)) -+ -+ifeq ($(CROSS_COMPILE),) -+ifeq ($(CLANG_TARGET_FLAGS),) -+$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk) -+else -+CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS) -+endif # CLANG_TARGET_FLAGS -+else -+CLANG_FLAGS += --target=$(notdir $(CROSS_COMPILE:%-=%)) -+endif # CROSS_COMPILE -+ -+CC := $(LLVM_PREFIX)clang$(LLVM_SUFFIX) $(CLANG_FLAGS) -fintegrated-as -+else -+CC := $(CROSS_COMPILE)gcc -+endif # LLVM -+ -+CURDIR := $(abspath .) -+TOOLSDIR := $(abspath ..) -+LIBDIR := $(TOOLSDIR)/lib -+BPFDIR := $(LIBDIR)/bpf -+TOOLSINCDIR := $(TOOLSDIR)/include -+BPFTOOLDIR := $(TOOLSDIR)/bpf/bpftool -+APIDIR := $(TOOLSINCDIR)/uapi -+GENDIR := $(abspath ../../include/generated) -+GENHDR := $(GENDIR)/autoconf.h -+ -+ifeq ($(O),) -+OUTPUT_DIR := $(CURDIR)/build -+else -+OUTPUT_DIR := $(O)/build -+endif # O -+OBJ_DIR := $(OUTPUT_DIR)/obj -+INCLUDE_DIR := $(OUTPUT_DIR)/include -+BPFOBJ_DIR := $(OBJ_DIR)/libbpf -+SCXOBJ_DIR := $(OBJ_DIR)/sched_ext -+BINDIR := $(OUTPUT_DIR)/bin -+BPFOBJ := $(BPFOBJ_DIR)/libbpf.a -+ifneq ($(CROSS_COMPILE),) -+HOST_BUILD_DIR := $(OBJ_DIR)/host -+HOST_OUTPUT_DIR := host-tools -+HOST_INCLUDE_DIR := $(HOST_OUTPUT_DIR)/include -+else -+HOST_BUILD_DIR := $(OBJ_DIR) -+HOST_OUTPUT_DIR := $(OUTPUT_DIR) -+HOST_INCLUDE_DIR := $(INCLUDE_DIR) -+endif -+HOST_BPFOBJ := $(HOST_BUILD_DIR)/libbpf/libbpf.a -+RESOLVE_BTFIDS := $(HOST_BUILD_DIR)/resolve_btfids/resolve_btfids -+DEFAULT_BPFTOOL := $(HOST_OUTPUT_DIR)/sbin/bpftool -+ -+VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ -+ $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ -+ ../../vmlinux \ -+ /sys/kernel/btf/vmlinux \ -+ /boot/vmlinux-$(shell uname -r) -+VMLINUX_BTF ?= $(abspath $(firstword $(wildcard $(VMLINUX_BTF_PATHS)))) -+ifeq ($(VMLINUX_BTF),) -+$(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") -+endif -+ -+BPFTOOL ?= $(DEFAULT_BPFTOOL) -+ -+ifneq ($(wildcard $(GENHDR)),) -+ GENFLAGS := -DHAVE_GENHDR -+endif -+ -+CFLAGS += -g -O2 -rdynamic -pthread -Wall -Werror $(GENFLAGS) \ -+ -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \ -+ -I$(TOOLSINCDIR) -I$(APIDIR) -I$(CURDIR)/include -+ -+# Silence some warnings when compiled with clang -+ifneq ($(LLVM),) -+CFLAGS += -Wno-unused-command-line-argument -+endif -+ -+LDFLAGS = -lelf -lz -lpthread -+ -+IS_LITTLE_ENDIAN = $(shell $(CC) -dM -E - &1 \ -+ | sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }') \ -+$(shell $(1) -dM -E - $@ -+else -+ $(call msg,CP,,$@) -+ $(Q)cp "$(VMLINUX_H)" $@ -+endif -+ -+$(SCXOBJ_DIR)/%.bpf.o: %.bpf.c $(INCLUDE_DIR)/vmlinux.h include/scx/*.h \ -+ | $(BPFOBJ) $(SCXOBJ_DIR) -+ $(call msg,CLNG-BPF,,$(notdir $@)) -+ $(Q)$(CLANG) $(BPF_CFLAGS) -target bpf -c $< -o $@ -+ -+$(INCLUDE_DIR)/%.bpf.skel.h: $(SCXOBJ_DIR)/%.bpf.o $(INCLUDE_DIR)/vmlinux.h $(BPFTOOL) -+ $(eval sched=$(notdir $@)) -+ $(call msg,GEN-SKEL,,$(sched)) -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked1.o) $< -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked2.o) $(<:.o=.linked1.o) -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked3.o) $(<:.o=.linked2.o) -+ $(Q)diff $(<:.o=.linked2.o) $(<:.o=.linked3.o) -+ $(Q)$(BPFTOOL) gen skeleton $(<:.o=.linked3.o) name $(subst .bpf.skel.h,,$(sched)) > $@ -+ $(Q)$(BPFTOOL) gen subskeleton $(<:.o=.linked3.o) name $(subst .bpf.skel.h,,$(sched)) > $(@:.skel.h=.subskel.h) -+ -+SCX_COMMON_DEPS := include/scx/common.h include/scx/user_exit_info.h | $(BINDIR) -+ -+c-sched-targets = scx_simple scx_qmap scx_central scx_flatcg -+ -+$(addprefix $(BINDIR)/,$(c-sched-targets)): \ -+ $(BINDIR)/%: \ -+ $(filter-out %.bpf.c,%.c) \ -+ $(INCLUDE_DIR)/%.bpf.skel.h \ -+ $(SCX_COMMON_DEPS) -+ $(eval sched=$(notdir $@)) -+ $(CC) $(CFLAGS) -c $(sched).c -o $(SCXOBJ_DIR)/$(sched).o -+ $(CC) -o $@ $(SCXOBJ_DIR)/$(sched).o $(HOST_BPFOBJ) $(LDFLAGS) -+ -+$(c-sched-targets): %: $(BINDIR)/% -+ -+install: all -+ $(Q)mkdir -p $(DESTDIR)/usr/local/bin/ -+ $(Q)cp $(BINDIR)/* $(DESTDIR)/usr/local/bin/ -+ -+clean: -+ rm -rf $(OUTPUT_DIR) $(HOST_OUTPUT_DIR) -+ rm -f *.o *.bpf.o *.bpf.skel.h *.bpf.subskel.h -+ rm -f $(c-sched-targets) -+ -+help: -+ @echo 'Building targets' -+ @echo '================' -+ @echo '' -+ @echo ' all - Compile all schedulers' -+ @echo '' -+ @echo 'Alternatively, you may compile individual schedulers:' -+ @echo '' -+ @printf ' %s\n' $(c-sched-targets) -+ @echo '' -+ @echo 'For any scheduler build target, you may specify an alternative' -+ @echo 'build output path with the O= environment variable. For example:' -+ @echo '' -+ @echo ' O=/tmp/sched_ext make all' -+ @echo '' -+ @echo 'will compile all schedulers, and emit the build artifacts to' -+ @echo '/tmp/sched_ext/build.' -+ @echo '' -+ @echo '' -+ @echo 'Installing targets' -+ @echo '==================' -+ @echo '' -+ @echo ' install - Compile and install all schedulers to /usr/bin.' -+ @echo ' You may specify the DESTDIR= environment variable' -+ @echo ' to indicate a prefix for /usr/bin. For example:' -+ @echo '' -+ @echo ' DESTDIR=/tmp/sched_ext make install' -+ @echo '' -+ @echo ' will build the schedulers in CWD/build, and' -+ @echo ' install the schedulers to /tmp/sched_ext/usr/bin.' -+ @echo '' -+ @echo '' -+ @echo 'Cleaning targets' -+ @echo '================' -+ @echo '' -+ @echo ' clean - Remove all generated files' -+ -+all_targets: $(c-sched-targets) -+ -+.PHONY: all all_targets $(c-sched-targets) clean help -+ -+# delete failed targets -+.DELETE_ON_ERROR: -+ -+# keep intermediate (.bpf.skel.h, .bpf.o, etc) targets -+.SECONDARY: -diff --git a/tools/sched_ext/README.md b/tools/sched_ext/README.md -new file mode 100644 -index 000000000000..16a42e4060f6 ---- /dev/null -+++ b/tools/sched_ext/README.md -@@ -0,0 +1,270 @@ -+SCHED_EXT EXAMPLE SCHEDULERS -+============================ -+ -+# Introduction -+ -+This directory contains a number of example sched_ext schedulers. These -+schedulers are meant to provide examples of different types of schedulers -+that can be built using sched_ext, and illustrate how various features of -+sched_ext can be used. -+ -+Some of the examples are performant, production-ready schedulers. That is, for -+the correct workload and with the correct tuning, they may be deployed in a -+production environment with acceptable or possibly even improved performance. -+Others are just examples that in practice, would not provide acceptable -+performance (though they could be improved to get there). -+ -+This README will describe these example schedulers, including describing the -+types of workloads or scenarios they're designed to accommodate, and whether or -+not they're production ready. For more details on any of these schedulers, -+please see the header comment in their .bpf.c file. -+ -+ -+# Compiling the examples -+ -+There are a few toolchain dependencies for compiling the example schedulers. -+ -+## Toolchain dependencies -+ -+1. clang >= 16.0.0 -+ -+The schedulers are BPF programs, and therefore must be compiled with clang. gcc -+is actively working on adding a BPF backend compiler as well, but are still -+missing some features such as BTF type tags which are necessary for using -+kptrs. -+ -+2. pahole >= 1.25 -+ -+You may need pahole in order to generate BTF from DWARF. -+ -+3. rust >= 1.70.0 -+ -+Rust schedulers uses features present in the rust toolchain >= 1.70.0. You -+should be able to use the stable build from rustup, but if that doesn't -+work, try using the rustup nightly build. -+ -+There are other requirements as well, such as make, but these are the main / -+non-trivial ones. -+ -+## Compiling the kernel -+ -+In order to run a sched_ext scheduler, you'll have to run a kernel compiled -+with the patches in this repository, and with a minimum set of necessary -+Kconfig options: -+ -+``` -+CONFIG_BPF=y -+CONFIG_SCHED_CLASS_EXT=y -+CONFIG_BPF_SYSCALL=y -+CONFIG_BPF_JIT=y -+CONFIG_DEBUG_INFO_BTF=y -+``` -+ -+It's also recommended that you also include the following Kconfig options: -+ -+``` -+CONFIG_BPF_JIT_ALWAYS_ON=y -+CONFIG_BPF_JIT_DEFAULT_ON=y -+CONFIG_PAHOLE_HAS_SPLIT_BTF=y -+CONFIG_PAHOLE_HAS_BTF_TAG=y -+``` -+ -+There is a `Kconfig` file in this directory whose contents you can append to -+your local `.config` file, as long as there are no conflicts with any existing -+options in the file. -+ -+## Getting a vmlinux.h file -+ -+You may notice that most of the example schedulers include a "vmlinux.h" file. -+This is a large, auto-generated header file that contains all of the types -+defined in some vmlinux binary that was compiled with -+[BTF](https://docs.kernel.org/bpf/btf.html) (i.e. with the BTF-related Kconfig -+options specified above). -+ -+The header file is created using `bpftool`, by passing it a vmlinux binary -+compiled with BTF as follows: -+ -+```bash -+$ bpftool btf dump file /path/to/vmlinux format c > vmlinux.h -+``` -+ -+`bpftool` analyzes all of the BTF encodings in the binary, and produces a -+header file that can be included by BPF programs to access those types. For -+example, using vmlinux.h allows a scheduler to access fields defined directly -+in vmlinux as follows: -+ -+```c -+#include "vmlinux.h" -+// vmlinux.h is also implicitly included by scx_common.bpf.h. -+#include "scx_common.bpf.h" -+ -+/* -+ * vmlinux.h provides definitions for struct task_struct and -+ * struct scx_enable_args. -+ */ -+void BPF_STRUCT_OPS(example_enable, struct task_struct *p, -+ struct scx_enable_args *args) -+{ -+ bpf_printk("Task %s enabled in example scheduler", p->comm); -+} -+ -+// vmlinux.h provides the definition for struct sched_ext_ops. -+SEC(".struct_ops.link") -+struct sched_ext_ops example_ops { -+ .enable = (void *)example_enable, -+ .name = "example", -+} -+``` -+ -+The scheduler build system will generate this vmlinux.h file as part of the -+scheduler build pipeline. It looks for a vmlinux file in the following -+dependency order: -+ -+1. If the O= environment variable is defined, at `$O/vmlinux` -+2. If the KBUILD_OUTPUT= environment variable is defined, at -+ `$KBUILD_OUTPUT/vmlinux` -+3. At `../../vmlinux` (i.e. at the root of the kernel tree where you're -+ compiling the schedulers) -+3. `/sys/kernel/btf/vmlinux` -+4. `/boot/vmlinux-$(uname -r)` -+ -+In other words, if you have compiled a kernel in your local repo, its vmlinux -+file will be used to generate vmlinux.h. Otherwise, it will be the vmlinux of -+the kernel you're currently running on. This means that if you're running on a -+kernel with sched_ext support, you may not need to compile a local kernel at -+all. -+ -+### Aside on CO-RE -+ -+One of the cooler features of BPF is that it supports -+[CO-RE](https://nakryiko.com/posts/bpf-core-reference-guide/) (Compile Once Run -+Everywhere). This feature allows you to reference fields inside of structs with -+types defined internal to the kernel, and not have to recompile if you load the -+BPF program on a different kernel with the field at a different offset. In our -+example above, we print out a task name with `p->comm`. CO-RE would perform -+relocations for that access when the program is loaded to ensure that it's -+referencing the correct offset for the currently running kernel. -+ -+## Compiling the schedulers -+ -+Once you have your toolchain setup, and a vmlinux that can be used to generate -+a full vmlinux.h file, you can compile the schedulers using `make`: -+ -+```bash -+$ make -j($nproc) -+``` -+ -+# Example schedulers -+ -+This directory contains the following example schedulers. These schedulers are -+for testing and demonstrating different aspects of sched_ext. While some may be -+useful in limited scenarios, they are not intended to be practical. -+ -+For more scheduler implementations, tools and documentation, visit -+https://github.com/sched-ext/scx. -+ -+## scx_simple -+ -+A simple scheduler that provides an example of a minimal sched_ext scheduler. -+scx_simple can be run in either global weighted vtime mode, or FIFO mode. -+ -+Though very simple, in limited scenarios, this scheduler can perform reasonably -+well on single-socket systems with a unified L3 cache. -+ -+## scx_qmap -+ -+Another simple, yet slightly more complex scheduler that provides an example of -+a basic weighted FIFO queuing policy. It also provides examples of some common -+useful BPF features, such as sleepable per-task storage allocation in the -+`ops.prep_enable()` callback, and using the `BPF_MAP_TYPE_QUEUE` map type to -+enqueue tasks. It also illustrates how core-sched support could be implemented. -+ -+## scx_central -+ -+A "central" scheduler where scheduling decisions are made from a single CPU. -+This scheduler illustrates how scheduling decisions can be dispatched from a -+single CPU, allowing other cores to run with infinite slices, without timer -+ticks, and without having to incur the overhead of making scheduling decisions. -+ -+The approach demonstrated by this scheduler may be useful for any workload that -+benefits from minimizing scheduling overhead and timer ticks. An example of -+where this could be particularly useful is running VMs, where running with -+infinite slices and no timer ticks allows the VM to avoid unnecessary expensive -+vmexits. -+ -+## scx_flatcg -+ -+A flattened cgroup hierarchy scheduler. This scheduler implements hierarchical -+weight-based cgroup CPU control by flattening the cgroup hierarchy into a single -+layer, by compounding the active weight share at each level. The effect of this -+is a much more performant CPU controller, which does not need to descend down -+cgroup trees in order to properly compute a cgroup's share. -+ -+Similar to scx_simple, in limited scenarios, this scheduler can perform -+reasonably well on single socket-socket systems with a unified L3 cache and show -+significantly lowered hierarchical scheduling overhead. -+ -+ -+# Troubleshooting -+ -+There are a number of common issues that you may run into when building the -+schedulers. We'll go over some of the common ones here. -+ -+## Build Failures -+ -+### Old version of clang -+ -+``` -+error: static assertion failed due to requirement 'SCX_DSQ_FLAG_BUILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and pahole -+ _Static_assert(SCX_DSQ_FLAG_BUILTIN, -+ ^~~~~~~~~~~~~~~~~~~~ -+1 error generated. -+``` -+ -+This means you built the kernel or the schedulers with an older version of -+clang than what's supported (i.e. older than 16.0.0). To remediate this: -+ -+1. `which clang` to make sure you're using a sufficiently new version of clang. -+ -+2. `make fullclean` in the root path of the repository, and rebuild the kernel -+ and schedulers. -+ -+3. Rebuild the kernel, and then your example schedulers. -+ -+The schedulers are also cleaned if you invoke `make mrproper` in the root -+directory of the tree. -+ -+### Stale kernel build / incomplete vmlinux.h file -+ -+As described above, you'll need a `vmlinux.h` file that was generated from a -+vmlinux built with BTF, and with sched_ext support enabled. If you don't, -+you'll see errors such as the following which indicate that a type being -+referenced in a scheduler is unknown: -+ -+``` -+/path/to/sched_ext/tools/sched_ext/user_exit_info.h:25:23: note: forward declaration of 'struct scx_exit_info' -+ -+const struct scx_exit_info *ei) -+ -+^ -+``` -+ -+In order to resolve this, please follow the steps above in -+[Getting a vmlinux.h file](#getting-a-vmlinuxh-file) in order to ensure your -+schedulers are using a vmlinux.h file that includes the requisite types. -+ -+## Misc -+ -+### llvm: [OFF] -+ -+You may see the following output when building the schedulers: -+ -+``` -+Auto-detecting system features: -+... clang-bpf-co-re: [ on ] -+... llvm: [ OFF ] -+... libcap: [ on ] -+... libbfd: [ on ] -+``` -+ -+Seeing `llvm: [ OFF ]` here is not an issue. You can safely ignore. -diff --git a/tools/sched_ext/include/bpf-compat/gnu/stubs.h b/tools/sched_ext/include/bpf-compat/gnu/stubs.h -new file mode 100644 -index 000000000000..ad7d139ce907 ---- /dev/null -+++ b/tools/sched_ext/include/bpf-compat/gnu/stubs.h -@@ -0,0 +1,11 @@ -+/* -+ * Dummy gnu/stubs.h. clang can end up including /usr/include/gnu/stubs.h when -+ * compiling BPF files although its content doesn't play any role. The file in -+ * turn includes stubs-64.h or stubs-32.h depending on whether __x86_64__ is -+ * defined. When compiling a BPF source, __x86_64__ isn't set and thus -+ * stubs-32.h is selected. However, the file is not there if the system doesn't -+ * have 32bit glibc devel package installed leading to a build failure. -+ * -+ * The problem is worked around by making this file available in the include -+ * search paths before the system one when building BPF. -+ */ -diff --git a/tools/sched_ext/include/scx/common.bpf.h b/tools/sched_ext/include/scx/common.bpf.h -new file mode 100644 -index 000000000000..225f61f9bfca ---- /dev/null -+++ b/tools/sched_ext/include/scx/common.bpf.h -@@ -0,0 +1,427 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#ifndef __SCX_COMMON_BPF_H -+#define __SCX_COMMON_BPF_H -+ -+#ifdef LSP -+#define __bpf__ -+#include "../vmlinux/vmlinux.h" -+#else -+#include "vmlinux.h" -+#endif -+ -+#include -+#include -+#include -+#include "user_exit_info.h" -+ -+#define PF_WQ_WORKER 0x00000020 /* I'm a workqueue worker */ -+#define PF_KTHREAD 0x00200000 /* I am a kernel thread */ -+#define PF_EXITING 0x00000004 -+#define CLOCK_MONOTONIC 1 -+ -+/* -+ * Earlier versions of clang/pahole lost upper 32bits in 64bit enums which can -+ * lead to really confusing misbehaviors. Let's trigger a build failure. -+ */ -+static inline void ___vmlinux_h_sanity_check___(void) -+{ -+ _Static_assert(SCX_DSQ_FLAG_BUILTIN, -+ "bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and pahole"); -+} -+ -+s32 scx_bpf_create_dsq(u64 dsq_id, s32 node) __ksym; -+s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, bool *is_idle) __ksym; -+void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym; -+void scx_bpf_dispatch_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) __ksym; -+u32 scx_bpf_dispatch_nr_slots(void) __ksym; -+void scx_bpf_dispatch_cancel(void) __ksym; -+bool scx_bpf_consume(u64 dsq_id) __ksym; -+void scx_bpf_dispatch_from_dsq_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym; -+void scx_bpf_dispatch_from_dsq_set_vtime(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym; -+bool scx_bpf_dispatch_from_dsq(struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak; -+bool scx_bpf_dispatch_vtime_from_dsq(struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak; -+u32 scx_bpf_reenqueue_local(void) __ksym; -+void scx_bpf_kick_cpu(s32 cpu, u64 flags) __ksym; -+s32 scx_bpf_dsq_nr_queued(u64 dsq_id) __ksym; -+void scx_bpf_destroy_dsq(u64 dsq_id) __ksym; -+int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, u64 flags) __ksym __weak; -+struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) __ksym __weak; -+void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak; -+void scx_bpf_exit_bstr(s64 exit_code, char *fmt, unsigned long long *data, u32 data__sz) __ksym __weak; -+void scx_bpf_error_bstr(char *fmt, unsigned long long *data, u32 data_len) __ksym; -+void scx_bpf_dump_bstr(char *fmt, unsigned long long *data, u32 data_len) __ksym __weak; -+u32 scx_bpf_cpuperf_cap(s32 cpu) __ksym __weak; -+u32 scx_bpf_cpuperf_cur(s32 cpu) __ksym __weak; -+void scx_bpf_cpuperf_set(s32 cpu, u32 perf) __ksym __weak; -+u32 scx_bpf_nr_cpu_ids(void) __ksym __weak; -+const struct cpumask *scx_bpf_get_possible_cpumask(void) __ksym __weak; -+const struct cpumask *scx_bpf_get_online_cpumask(void) __ksym __weak; -+void scx_bpf_put_cpumask(const struct cpumask *cpumask) __ksym __weak; -+const struct cpumask *scx_bpf_get_idle_cpumask(void) __ksym; -+const struct cpumask *scx_bpf_get_idle_smtmask(void) __ksym; -+void scx_bpf_put_idle_cpumask(const struct cpumask *cpumask) __ksym; -+bool scx_bpf_test_and_clear_cpu_idle(s32 cpu) __ksym; -+s32 scx_bpf_pick_idle_cpu(const cpumask_t *cpus_allowed, u64 flags) __ksym; -+s32 scx_bpf_pick_any_cpu(const cpumask_t *cpus_allowed, u64 flags) __ksym; -+bool scx_bpf_task_running(const struct task_struct *p) __ksym; -+s32 scx_bpf_task_cpu(const struct task_struct *p) __ksym; -+struct rq *scx_bpf_cpu_rq(s32 cpu) __ksym; -+struct cgroup *scx_bpf_task_cgroup(struct task_struct *p) __ksym; -+ -+/* -+ * Use the following as @it__iter when calling -+ * scx_bpf_dispatch[_vtime]_from_dsq() from within bpf_for_each() loops. -+ */ -+#define BPF_FOR_EACH_ITER (&___it) -+ -+static inline __attribute__((format(printf, 1, 2))) -+void ___scx_bpf_bstr_format_checker(const char *fmt, ...) {} -+ -+/* -+ * Helper macro for initializing the fmt and variadic argument inputs to both -+ * bstr exit kfuncs. Callers to this function should use ___fmt and ___param to -+ * refer to the initialized list of inputs to the bstr kfunc. -+ */ -+#define scx_bpf_bstr_preamble(fmt, args...) \ -+ static char ___fmt[] = fmt; \ -+ /* \ -+ * Note that __param[] must have at least one \ -+ * element to keep the verifier happy. \ -+ */ \ -+ unsigned long long ___param[___bpf_narg(args) ?: 1] = {}; \ -+ \ -+ _Pragma("GCC diagnostic push") \ -+ _Pragma("GCC diagnostic ignored \"-Wint-conversion\"") \ -+ ___bpf_fill(___param, args); \ -+ _Pragma("GCC diagnostic pop") \ -+ -+/* -+ * scx_bpf_exit() wraps the scx_bpf_exit_bstr() kfunc with variadic arguments -+ * instead of an array of u64. Using this macro will cause the scheduler to -+ * exit cleanly with the specified exit code being passed to user space. -+ */ -+#define scx_bpf_exit(code, fmt, args...) \ -+({ \ -+ scx_bpf_bstr_preamble(fmt, args) \ -+ scx_bpf_exit_bstr(code, ___fmt, ___param, sizeof(___param)); \ -+ ___scx_bpf_bstr_format_checker(fmt, ##args); \ -+}) -+ -+/* -+ * scx_bpf_error() wraps the scx_bpf_error_bstr() kfunc with variadic arguments -+ * instead of an array of u64. Invoking this macro will cause the scheduler to -+ * exit in an erroneous state, with diagnostic information being passed to the -+ * user. -+ */ -+#define scx_bpf_error(fmt, args...) \ -+({ \ -+ scx_bpf_bstr_preamble(fmt, args) \ -+ scx_bpf_error_bstr(___fmt, ___param, sizeof(___param)); \ -+ ___scx_bpf_bstr_format_checker(fmt, ##args); \ -+}) -+ -+/* -+ * scx_bpf_dump() wraps the scx_bpf_dump_bstr() kfunc with variadic arguments -+ * instead of an array of u64. To be used from ops.dump() and friends. -+ */ -+#define scx_bpf_dump(fmt, args...) \ -+({ \ -+ scx_bpf_bstr_preamble(fmt, args) \ -+ scx_bpf_dump_bstr(___fmt, ___param, sizeof(___param)); \ -+ ___scx_bpf_bstr_format_checker(fmt, ##args); \ -+}) -+ -+#define BPF_STRUCT_OPS(name, args...) \ -+SEC("struct_ops/"#name) \ -+BPF_PROG(name, ##args) -+ -+#define BPF_STRUCT_OPS_SLEEPABLE(name, args...) \ -+SEC("struct_ops.s/"#name) \ -+BPF_PROG(name, ##args) -+ -+/** -+ * RESIZABLE_ARRAY - Generates annotations for an array that may be resized -+ * @elfsec: the data section of the BPF program in which to place the array -+ * @arr: the name of the array -+ * -+ * libbpf has an API for setting map value sizes. Since data sections (i.e. -+ * bss, data, rodata) themselves are maps, a data section can be resized. If -+ * a data section has an array as its last element, the BTF info for that -+ * array will be adjusted so that length of the array is extended to meet the -+ * new length of the data section. This macro annotates an array to have an -+ * element count of one with the assumption that this array can be resized -+ * within the userspace program. It also annotates the section specifier so -+ * this array exists in a custom sub data section which can be resized -+ * independently. -+ * -+ * See RESIZE_ARRAY() for the userspace convenience macro for resizing an -+ * array declared with RESIZABLE_ARRAY(). -+ */ -+#define RESIZABLE_ARRAY(elfsec, arr) arr[1] SEC("."#elfsec"."#arr) -+ -+/** -+ * MEMBER_VPTR - Obtain the verified pointer to a struct or array member -+ * @base: struct or array to index -+ * @member: dereferenced member (e.g. .field, [idx0][idx1], .field[idx0] ...) -+ * -+ * The verifier often gets confused by the instruction sequence the compiler -+ * generates for indexing struct fields or arrays. This macro forces the -+ * compiler to generate a code sequence which first calculates the byte offset, -+ * checks it against the struct or array size and add that byte offset to -+ * generate the pointer to the member to help the verifier. -+ * -+ * Ideally, we want to abort if the calculated offset is out-of-bounds. However, -+ * BPF currently doesn't support abort, so evaluate to %NULL instead. The caller -+ * must check for %NULL and take appropriate action to appease the verifier. To -+ * avoid confusing the verifier, it's best to check for %NULL and dereference -+ * immediately. -+ * -+ * vptr = MEMBER_VPTR(my_array, [i][j]); -+ * if (!vptr) -+ * return error; -+ * *vptr = new_value; -+ * -+ * sizeof(@base) should encompass the memory area to be accessed and thus can't -+ * be a pointer to the area. Use `MEMBER_VPTR(*ptr, .member)` instead of -+ * `MEMBER_VPTR(ptr, ->member)`. -+ */ -+#define MEMBER_VPTR(base, member) (typeof((base) member) *) \ -+({ \ -+ u64 __base = (u64)&(base); \ -+ u64 __addr = (u64)&((base) member) - __base; \ -+ _Static_assert(sizeof(base) >= sizeof((base) member), \ -+ "@base is smaller than @member, is @base a pointer?"); \ -+ asm volatile ( \ -+ "if %0 <= %[max] goto +2\n" \ -+ "%0 = 0\n" \ -+ "goto +1\n" \ -+ "%0 += %1\n" \ -+ : "+r"(__addr) \ -+ : "r"(__base), \ -+ [max]"i"(sizeof(base) - sizeof((base) member))); \ -+ __addr; \ -+}) -+ -+/** -+ * ARRAY_ELEM_PTR - Obtain the verified pointer to an array element -+ * @arr: array to index into -+ * @i: array index -+ * @n: number of elements in array -+ * -+ * Similar to MEMBER_VPTR() but is intended for use with arrays where the -+ * element count needs to be explicit. -+ * It can be used in cases where a global array is defined with an initial -+ * size but is intended to be be resized before loading the BPF program. -+ * Without this version of the macro, MEMBER_VPTR() will use the compile time -+ * size of the array to compute the max, which will result in rejection by -+ * the verifier. -+ */ -+#define ARRAY_ELEM_PTR(arr, i, n) (typeof(arr[i]) *) \ -+({ \ -+ u64 __base = (u64)arr; \ -+ u64 __addr = (u64)&(arr[i]) - __base; \ -+ asm volatile ( \ -+ "if %0 <= %[max] goto +2\n" \ -+ "%0 = 0\n" \ -+ "goto +1\n" \ -+ "%0 += %1\n" \ -+ : "+r"(__addr) \ -+ : "r"(__base), \ -+ [max]"r"(sizeof(arr[0]) * ((n) - 1))); \ -+ __addr; \ -+}) -+ -+ -+/* -+ * BPF declarations and helpers -+ */ -+ -+/* list and rbtree */ -+#define __contains(name, node) __attribute__((btf_decl_tag("contains:" #name ":" #node))) -+#define private(name) SEC(".data." #name) __hidden __attribute__((aligned(8))) -+ -+void *bpf_obj_new_impl(__u64 local_type_id, void *meta) __ksym; -+void bpf_obj_drop_impl(void *kptr, void *meta) __ksym; -+ -+#define bpf_obj_new(type) ((type *)bpf_obj_new_impl(bpf_core_type_id_local(type), NULL)) -+#define bpf_obj_drop(kptr) bpf_obj_drop_impl(kptr, NULL) -+ -+void bpf_list_push_front(struct bpf_list_head *head, struct bpf_list_node *node) __ksym; -+void bpf_list_push_back(struct bpf_list_head *head, struct bpf_list_node *node) __ksym; -+struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __ksym; -+struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __ksym; -+struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, -+ struct bpf_rb_node *node) __ksym; -+int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, -+ bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b), -+ void *meta, __u64 off) __ksym; -+#define bpf_rbtree_add(head, node, less) bpf_rbtree_add_impl(head, node, less, NULL, 0) -+ -+struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __ksym; -+ -+void *bpf_refcount_acquire_impl(void *kptr, void *meta) __ksym; -+#define bpf_refcount_acquire(kptr) bpf_refcount_acquire_impl(kptr, NULL) -+ -+/* task */ -+struct task_struct *bpf_task_from_pid(s32 pid) __ksym; -+struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym; -+void bpf_task_release(struct task_struct *p) __ksym; -+ -+/* cgroup */ -+struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) __ksym; -+void bpf_cgroup_release(struct cgroup *cgrp) __ksym; -+struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym; -+ -+/* css iteration */ -+struct bpf_iter_css; -+struct cgroup_subsys_state; -+extern int bpf_iter_css_new(struct bpf_iter_css *it, -+ struct cgroup_subsys_state *start, -+ unsigned int flags) __weak __ksym; -+extern struct cgroup_subsys_state * -+bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym; -+extern void bpf_iter_css_destroy(struct bpf_iter_css *it) __weak __ksym; -+ -+/* cpumask */ -+struct bpf_cpumask *bpf_cpumask_create(void) __ksym; -+struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym; -+void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym; -+u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym; -+u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym; -+void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; -+void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; -+bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym; -+bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; -+bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; -+void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __ksym; -+void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __ksym; -+bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, -+ const struct cpumask *src2) __ksym; -+void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, -+ const struct cpumask *src2) __ksym; -+void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, -+ const struct cpumask *src2) __ksym; -+bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym; -+bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym; -+bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym; -+bool bpf_cpumask_empty(const struct cpumask *cpumask) __ksym; -+bool bpf_cpumask_full(const struct cpumask *cpumask) __ksym; -+void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __ksym; -+u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __ksym; -+u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, -+ const struct cpumask *src2) __ksym; -+u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym; -+ -+/* -+ * Access a cpumask in read-only mode (typically to check bits). -+ */ -+const struct cpumask *cast_mask(struct bpf_cpumask *mask) -+{ -+ return (const struct cpumask *)mask; -+} -+ -+/* rcu */ -+void bpf_rcu_read_lock(void) __ksym; -+void bpf_rcu_read_unlock(void) __ksym; -+ -+ -+/* -+ * Other helpers -+ */ -+ -+/* useful compiler attributes */ -+#define likely(x) __builtin_expect(!!(x), 1) -+#define unlikely(x) __builtin_expect(!!(x), 0) -+#define __maybe_unused __attribute__((__unused__)) -+ -+/* -+ * READ/WRITE_ONCE() are from kernel (include/asm-generic/rwonce.h). They -+ * prevent compiler from caching, redoing or reordering reads or writes. -+ */ -+typedef __u8 __attribute__((__may_alias__)) __u8_alias_t; -+typedef __u16 __attribute__((__may_alias__)) __u16_alias_t; -+typedef __u32 __attribute__((__may_alias__)) __u32_alias_t; -+typedef __u64 __attribute__((__may_alias__)) __u64_alias_t; -+ -+static __always_inline void __read_once_size(const volatile void *p, void *res, int size) -+{ -+ switch (size) { -+ case 1: *(__u8_alias_t *) res = *(volatile __u8_alias_t *) p; break; -+ case 2: *(__u16_alias_t *) res = *(volatile __u16_alias_t *) p; break; -+ case 4: *(__u32_alias_t *) res = *(volatile __u32_alias_t *) p; break; -+ case 8: *(__u64_alias_t *) res = *(volatile __u64_alias_t *) p; break; -+ default: -+ barrier(); -+ __builtin_memcpy((void *)res, (const void *)p, size); -+ barrier(); -+ } -+} -+ -+static __always_inline void __write_once_size(volatile void *p, void *res, int size) -+{ -+ switch (size) { -+ case 1: *(volatile __u8_alias_t *) p = *(__u8_alias_t *) res; break; -+ case 2: *(volatile __u16_alias_t *) p = *(__u16_alias_t *) res; break; -+ case 4: *(volatile __u32_alias_t *) p = *(__u32_alias_t *) res; break; -+ case 8: *(volatile __u64_alias_t *) p = *(__u64_alias_t *) res; break; -+ default: -+ barrier(); -+ __builtin_memcpy((void *)p, (const void *)res, size); -+ barrier(); -+ } -+} -+ -+#define READ_ONCE(x) \ -+({ \ -+ union { typeof(x) __val; char __c[1]; } __u = \ -+ { .__c = { 0 } }; \ -+ __read_once_size(&(x), __u.__c, sizeof(x)); \ -+ __u.__val; \ -+}) -+ -+#define WRITE_ONCE(x, val) \ -+({ \ -+ union { typeof(x) __val; char __c[1]; } __u = \ -+ { .__val = (val) }; \ -+ __write_once_size(&(x), __u.__c, sizeof(x)); \ -+ __u.__val; \ -+}) -+ -+/* -+ * log2_u32 - Compute the base 2 logarithm of a 32-bit exponential value. -+ * @v: The value for which we're computing the base 2 logarithm. -+ */ -+static inline u32 log2_u32(u32 v) -+{ -+ u32 r; -+ u32 shift; -+ -+ r = (v > 0xFFFF) << 4; v >>= r; -+ shift = (v > 0xFF) << 3; v >>= shift; r |= shift; -+ shift = (v > 0xF) << 2; v >>= shift; r |= shift; -+ shift = (v > 0x3) << 1; v >>= shift; r |= shift; -+ r |= (v >> 1); -+ return r; -+} -+ -+/* -+ * log2_u64 - Compute the base 2 logarithm of a 64-bit exponential value. -+ * @v: The value for which we're computing the base 2 logarithm. -+ */ -+static inline u32 log2_u64(u64 v) -+{ -+ u32 hi = v >> 32; -+ if (hi) -+ return log2_u32(hi) + 32 + 1; -+ else -+ return log2_u32(v) + 1; -+} -+ -+#include "compat.bpf.h" -+ -+#endif /* __SCX_COMMON_BPF_H */ -diff --git a/tools/sched_ext/include/scx/common.h b/tools/sched_ext/include/scx/common.h -new file mode 100644 -index 000000000000..5b0f90152152 ---- /dev/null -+++ b/tools/sched_ext/include/scx/common.h -@@ -0,0 +1,75 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 Tejun Heo -+ * Copyright (c) 2023 David Vernet -+ */ -+#ifndef __SCHED_EXT_COMMON_H -+#define __SCHED_EXT_COMMON_H -+ -+#ifdef __KERNEL__ -+#error "Should not be included by BPF programs" -+#endif -+ -+#include -+#include -+#include -+#include -+#include -+ -+typedef uint8_t u8; -+typedef uint16_t u16; -+typedef uint32_t u32; -+typedef uint64_t u64; -+typedef int8_t s8; -+typedef int16_t s16; -+typedef int32_t s32; -+typedef int64_t s64; -+ -+#define SCX_BUG(__fmt, ...) \ -+ do { \ -+ fprintf(stderr, "[SCX_BUG] %s:%d", __FILE__, __LINE__); \ -+ if (errno) \ -+ fprintf(stderr, " (%s)\n", strerror(errno)); \ -+ else \ -+ fprintf(stderr, "\n"); \ -+ fprintf(stderr, __fmt __VA_OPT__(,) __VA_ARGS__); \ -+ fprintf(stderr, "\n"); \ -+ \ -+ exit(EXIT_FAILURE); \ -+ } while (0) -+ -+#define SCX_BUG_ON(__cond, __fmt, ...) \ -+ do { \ -+ if (__cond) \ -+ SCX_BUG((__fmt) __VA_OPT__(,) __VA_ARGS__); \ -+ } while (0) -+ -+/** -+ * RESIZE_ARRAY - Convenience macro for resizing a BPF array -+ * @__skel: the skeleton containing the array -+ * @elfsec: the data section of the BPF program in which the array exists -+ * @arr: the name of the array -+ * @n: the desired array element count -+ * -+ * For BPF arrays declared with RESIZABLE_ARRAY(), this macro performs two -+ * operations. It resizes the map which corresponds to the custom data -+ * section that contains the target array. As a side effect, the BTF info for -+ * the array is adjusted so that the array length is sized to cover the new -+ * data section size. The second operation is reassigning the skeleton pointer -+ * for that custom data section so that it points to the newly memory mapped -+ * region. -+ */ -+#define RESIZE_ARRAY(__skel, elfsec, arr, n) \ -+ do { \ -+ size_t __sz; \ -+ bpf_map__set_value_size((__skel)->maps.elfsec##_##arr, \ -+ sizeof((__skel)->elfsec##_##arr->arr[0]) * (n)); \ -+ (__skel)->elfsec##_##arr = \ -+ bpf_map__initial_value((__skel)->maps.elfsec##_##arr, &__sz); \ -+ } while (0) -+ -+#include "user_exit_info.h" -+#include "compat.h" -+ -+#endif /* __SCHED_EXT_COMMON_H */ -diff --git a/tools/sched_ext/include/scx/compat.bpf.h b/tools/sched_ext/include/scx/compat.bpf.h -new file mode 100644 -index 000000000000..e5afe9efd3f3 ---- /dev/null -+++ b/tools/sched_ext/include/scx/compat.bpf.h -@@ -0,0 +1,47 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 Tejun Heo -+ * Copyright (c) 2024 David Vernet -+ */ -+#ifndef __SCX_COMPAT_BPF_H -+#define __SCX_COMPAT_BPF_H -+ -+#define __COMPAT_ENUM_OR_ZERO(__type, __ent) \ -+({ \ -+ __type __ret = 0; \ -+ if (bpf_core_enum_value_exists(__type, __ent)) \ -+ __ret = __ent; \ -+ __ret; \ -+}) -+ -+/* v6.12: 819513666966 ("sched_ext: Add cgroup support") */ -+#define __COMPAT_scx_bpf_task_cgroup(p) \ -+ (bpf_ksym_exists(scx_bpf_task_cgroup) ? \ -+ scx_bpf_task_cgroup((p)) : NULL) -+ -+/* v6.12: 4c30f5ce4f7a ("sched_ext: Implement scx_bpf_dispatch[_vtime]_from_dsq()") */ -+#define __COMPAT_scx_bpf_dispatch_from_dsq_set_slice(it, slice) \ -+ (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_slice) ? \ -+ scx_bpf_dispatch_from_dsq_set_slice((it), (slice)) : (void)0) -+#define __COMPAT_scx_bpf_dispatch_from_dsq_set_vtime(it, vtime) \ -+ (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_vtime) ? \ -+ scx_bpf_dispatch_from_dsq_set_vtime((it), (vtime)) : (void)0) -+#define __COMPAT_scx_bpf_dispatch_from_dsq(it, p, dsq_id, enq_flags) \ -+ (bpf_ksym_exists(scx_bpf_dispatch_from_dsq) ? \ -+ scx_bpf_dispatch_from_dsq((it), (p), (dsq_id), (enq_flags)) : false) -+#define __COMPAT_scx_bpf_dispatch_vtime_from_dsq(it, p, dsq_id, enq_flags) \ -+ (bpf_ksym_exists(scx_bpf_dispatch_vtime_from_dsq) ? \ -+ scx_bpf_dispatch_vtime_from_dsq((it), (p), (dsq_id), (enq_flags)) : false) -+ -+/* -+ * Define sched_ext_ops. This may be expanded to define multiple variants for -+ * backward compatibility. See compat.h::SCX_OPS_LOAD/ATTACH(). -+ */ -+#define SCX_OPS_DEFINE(__name, ...) \ -+ SEC(".struct_ops.link") \ -+ struct sched_ext_ops __name = { \ -+ __VA_ARGS__, \ -+ }; -+ -+#endif /* __SCX_COMPAT_BPF_H */ -diff --git a/tools/sched_ext/include/scx/compat.h b/tools/sched_ext/include/scx/compat.h -new file mode 100644 -index 000000000000..cc56ff9aa252 ---- /dev/null -+++ b/tools/sched_ext/include/scx/compat.h -@@ -0,0 +1,186 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 Tejun Heo -+ * Copyright (c) 2024 David Vernet -+ */ -+#ifndef __SCX_COMPAT_H -+#define __SCX_COMPAT_H -+ -+#include -+#include -+#include -+#include -+ -+struct btf *__COMPAT_vmlinux_btf __attribute__((weak)); -+ -+static inline void __COMPAT_load_vmlinux_btf(void) -+{ -+ if (!__COMPAT_vmlinux_btf) { -+ __COMPAT_vmlinux_btf = btf__load_vmlinux_btf(); -+ SCX_BUG_ON(!__COMPAT_vmlinux_btf, "btf__load_vmlinux_btf()"); -+ } -+} -+ -+static inline bool __COMPAT_read_enum(const char *type, const char *name, u64 *v) -+{ -+ const struct btf_type *t; -+ const char *n; -+ s32 tid; -+ int i; -+ -+ __COMPAT_load_vmlinux_btf(); -+ -+ tid = btf__find_by_name(__COMPAT_vmlinux_btf, type); -+ if (tid < 0) -+ return false; -+ -+ t = btf__type_by_id(__COMPAT_vmlinux_btf, tid); -+ SCX_BUG_ON(!t, "btf__type_by_id(%d)", tid); -+ -+ if (btf_is_enum(t)) { -+ struct btf_enum *e = btf_enum(t); -+ -+ for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { -+ n = btf__name_by_offset(__COMPAT_vmlinux_btf, e[i].name_off); -+ SCX_BUG_ON(!n, "btf__name_by_offset()"); -+ if (!strcmp(n, name)) { -+ *v = e[i].val; -+ return true; -+ } -+ } -+ } else if (btf_is_enum64(t)) { -+ struct btf_enum64 *e = btf_enum64(t); -+ -+ for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { -+ n = btf__name_by_offset(__COMPAT_vmlinux_btf, e[i].name_off); -+ SCX_BUG_ON(!n, "btf__name_by_offset()"); -+ if (!strcmp(n, name)) { -+ *v = btf_enum64_value(&e[i]); -+ return true; -+ } -+ } -+ } -+ -+ return false; -+} -+ -+#define __COMPAT_ENUM_OR_ZERO(__type, __ent) \ -+({ \ -+ u64 __val = 0; \ -+ __COMPAT_read_enum(__type, __ent, &__val); \ -+ __val; \ -+}) -+ -+static inline bool __COMPAT_has_ksym(const char *ksym) -+{ -+ __COMPAT_load_vmlinux_btf(); -+ return btf__find_by_name(__COMPAT_vmlinux_btf, ksym) >= 0; -+} -+ -+static inline bool __COMPAT_struct_has_field(const char *type, const char *field) -+{ -+ const struct btf_type *t; -+ const struct btf_member *m; -+ const char *n; -+ s32 tid; -+ int i; -+ -+ __COMPAT_load_vmlinux_btf(); -+ tid = btf__find_by_name_kind(__COMPAT_vmlinux_btf, type, BTF_KIND_STRUCT); -+ if (tid < 0) -+ return false; -+ -+ t = btf__type_by_id(__COMPAT_vmlinux_btf, tid); -+ SCX_BUG_ON(!t, "btf__type_by_id(%d)", tid); -+ -+ m = btf_members(t); -+ -+ for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { -+ n = btf__name_by_offset(__COMPAT_vmlinux_btf, m[i].name_off); -+ SCX_BUG_ON(!n, "btf__name_by_offset()"); -+ if (!strcmp(n, field)) -+ return true; -+ } -+ -+ return false; -+} -+ -+#define SCX_OPS_SWITCH_PARTIAL \ -+ __COMPAT_ENUM_OR_ZERO("scx_ops_flags", "SCX_OPS_SWITCH_PARTIAL") -+ -+static inline long scx_hotplug_seq(void) -+{ -+ int fd; -+ char buf[32]; -+ ssize_t len; -+ long val; -+ -+ fd = open("/sys/kernel/sched_ext/hotplug_seq", O_RDONLY); -+ if (fd < 0) -+ return -ENOENT; -+ -+ len = read(fd, buf, sizeof(buf) - 1); -+ SCX_BUG_ON(len <= 0, "read failed (%ld)", len); -+ buf[len] = 0; -+ close(fd); -+ -+ val = strtoul(buf, NULL, 10); -+ SCX_BUG_ON(val < 0, "invalid num hotplug events: %lu", val); -+ -+ return val; -+} -+ -+/* -+ * struct sched_ext_ops can change over time. If compat.bpf.h::SCX_OPS_DEFINE() -+ * is used to define ops and compat.h::SCX_OPS_LOAD/ATTACH() are used to load -+ * and attach it, backward compatibility is automatically maintained where -+ * reasonable. -+ * -+ * ec7e3b0463e1 ("implement-ops") in https://github.com/sched-ext/sched_ext is -+ * the current minimum required kernel version. -+ */ -+#define SCX_OPS_OPEN(__ops_name, __scx_name) ({ \ -+ struct __scx_name *__skel; \ -+ \ -+ SCX_BUG_ON(!__COMPAT_struct_has_field("sched_ext_ops", "dump"), \ -+ "sched_ext_ops.dump() missing, kernel too old?"); \ -+ \ -+ __skel = __scx_name##__open(); \ -+ SCX_BUG_ON(!__skel, "Could not open " #__scx_name); \ -+ __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \ -+ __skel; \ -+}) -+ -+#define SCX_OPS_LOAD(__skel, __ops_name, __scx_name, __uei_name) ({ \ -+ UEI_SET_SIZE(__skel, __ops_name, __uei_name); \ -+ SCX_BUG_ON(__scx_name##__load((__skel)), "Failed to load skel"); \ -+}) -+ -+/* -+ * New versions of bpftool now emit additional link placeholders for BPF maps, -+ * and set up BPF skeleton in such a way that libbpf will auto-attach BPF maps -+ * automatically, assumming libbpf is recent enough (v1.5+). Old libbpf will do -+ * nothing with those links and won't attempt to auto-attach maps. -+ * -+ * To maintain compatibility with older libbpf while avoiding trying to attach -+ * twice, disable the autoattach feature on newer libbpf. -+ */ -+#if LIBBPF_MAJOR_VERSION > 1 || \ -+ (LIBBPF_MAJOR_VERSION == 1 && LIBBPF_MINOR_VERSION >= 5) -+#define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) \ -+ bpf_map__set_autoattach((__skel)->maps.__ops_name, false) -+#else -+#define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) do {} while (0) -+#endif -+ -+#define SCX_OPS_ATTACH(__skel, __ops_name, __scx_name) ({ \ -+ struct bpf_link *__link; \ -+ __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name); \ -+ SCX_BUG_ON(__scx_name##__attach((__skel)), "Failed to attach skel"); \ -+ __link = bpf_map__attach_struct_ops((__skel)->maps.__ops_name); \ -+ SCX_BUG_ON(!__link, "Failed to attach struct_ops"); \ -+ __link; \ -+}) -+ -+#endif /* __SCX_COMPAT_H */ -diff --git a/tools/sched_ext/include/scx/user_exit_info.h b/tools/sched_ext/include/scx/user_exit_info.h -new file mode 100644 -index 000000000000..8ce2734402e1 ---- /dev/null -+++ b/tools/sched_ext/include/scx/user_exit_info.h -@@ -0,0 +1,115 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Define struct user_exit_info which is shared between BPF and userspace parts -+ * to communicate exit status and other information. -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#ifndef __USER_EXIT_INFO_H -+#define __USER_EXIT_INFO_H -+ -+enum uei_sizes { -+ UEI_REASON_LEN = 128, -+ UEI_MSG_LEN = 1024, -+ UEI_DUMP_DFL_LEN = 32768, -+}; -+ -+struct user_exit_info { -+ int kind; -+ s64 exit_code; -+ char reason[UEI_REASON_LEN]; -+ char msg[UEI_MSG_LEN]; -+}; -+ -+#ifdef __bpf__ -+ -+#ifdef LSP -+#include "../vmlinux/vmlinux.h" -+#else -+#include "vmlinux.h" -+#endif -+#include -+ -+#define UEI_DEFINE(__name) \ -+ char RESIZABLE_ARRAY(data, __name##_dump); \ -+ const volatile u32 __name##_dump_len; \ -+ struct user_exit_info __name SEC(".data") -+ -+#define UEI_RECORD(__uei_name, __ei) ({ \ -+ bpf_probe_read_kernel_str(__uei_name.reason, \ -+ sizeof(__uei_name.reason), (__ei)->reason); \ -+ bpf_probe_read_kernel_str(__uei_name.msg, \ -+ sizeof(__uei_name.msg), (__ei)->msg); \ -+ bpf_probe_read_kernel_str(__uei_name##_dump, \ -+ __uei_name##_dump_len, (__ei)->dump); \ -+ if (bpf_core_field_exists((__ei)->exit_code)) \ -+ __uei_name.exit_code = (__ei)->exit_code; \ -+ /* use __sync to force memory barrier */ \ -+ __sync_val_compare_and_swap(&__uei_name.kind, __uei_name.kind, \ -+ (__ei)->kind); \ -+}) -+ -+#else /* !__bpf__ */ -+ -+#include -+#include -+ -+/* no need to call the following explicitly if SCX_OPS_LOAD() is used */ -+#define UEI_SET_SIZE(__skel, __ops_name, __uei_name) ({ \ -+ u32 __len = (__skel)->struct_ops.__ops_name->exit_dump_len ?: UEI_DUMP_DFL_LEN; \ -+ (__skel)->rodata->__uei_name##_dump_len = __len; \ -+ RESIZE_ARRAY((__skel), data, __uei_name##_dump, __len); \ -+}) -+ -+#define UEI_EXITED(__skel, __uei_name) ({ \ -+ /* use __sync to force memory barrier */ \ -+ __sync_val_compare_and_swap(&(__skel)->data->__uei_name.kind, -1, -1); \ -+}) -+ -+#define UEI_REPORT(__skel, __uei_name) ({ \ -+ struct user_exit_info *__uei = &(__skel)->data->__uei_name; \ -+ char *__uei_dump = (__skel)->data_##__uei_name##_dump->__uei_name##_dump; \ -+ if (__uei_dump[0] != '\0') { \ -+ fputs("\nDEBUG DUMP\n", stderr); \ -+ fputs("================================================================================\n\n", stderr); \ -+ fputs(__uei_dump, stderr); \ -+ fputs("\n================================================================================\n\n", stderr); \ -+ } \ -+ fprintf(stderr, "EXIT: %s", __uei->reason); \ -+ if (__uei->msg[0] != '\0') \ -+ fprintf(stderr, " (%s)", __uei->msg); \ -+ fputs("\n", stderr); \ -+ __uei->exit_code; \ -+}) -+ -+/* -+ * We can't import vmlinux.h while compiling user C code. Let's duplicate -+ * scx_exit_code definition. -+ */ -+enum scx_exit_code { -+ /* Reasons */ -+ SCX_ECODE_RSN_HOTPLUG = 1LLU << 32, -+ -+ /* Actions */ -+ SCX_ECODE_ACT_RESTART = 1LLU << 48, -+}; -+ -+enum uei_ecode_mask { -+ UEI_ECODE_USER_MASK = ((1LLU << 32) - 1), -+ UEI_ECODE_SYS_RSN_MASK = ((1LLU << 16) - 1) << 32, -+ UEI_ECODE_SYS_ACT_MASK = ((1LLU << 16) - 1) << 48, -+}; -+ -+/* -+ * These macro interpret the ecode returned from UEI_REPORT(). -+ */ -+#define UEI_ECODE_USER(__ecode) ((__ecode) & UEI_ECODE_USER_MASK) -+#define UEI_ECODE_SYS_RSN(__ecode) ((__ecode) & UEI_ECODE_SYS_RSN_MASK) -+#define UEI_ECODE_SYS_ACT(__ecode) ((__ecode) & UEI_ECODE_SYS_ACT_MASK) -+ -+#define UEI_ECODE_RESTART(__ecode) (UEI_ECODE_SYS_ACT((__ecode)) == SCX_ECODE_ACT_RESTART) -+ -+#endif /* __bpf__ */ -+#endif /* __USER_EXIT_INFO_H */ -diff --git a/tools/sched_ext/scx_central.bpf.c b/tools/sched_ext/scx_central.bpf.c -new file mode 100644 -index 000000000000..8dd8eb73b6b8 ---- /dev/null -+++ b/tools/sched_ext/scx_central.bpf.c -@@ -0,0 +1,361 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A central FIFO sched_ext scheduler which demonstrates the followings: -+ * -+ * a. Making all scheduling decisions from one CPU: -+ * -+ * The central CPU is the only one making scheduling decisions. All other -+ * CPUs kick the central CPU when they run out of tasks to run. -+ * -+ * There is one global BPF queue and the central CPU schedules all CPUs by -+ * dispatching from the global queue to each CPU's local dsq from dispatch(). -+ * This isn't the most straightforward. e.g. It'd be easier to bounce -+ * through per-CPU BPF queues. The current design is chosen to maximally -+ * utilize and verify various SCX mechanisms such as LOCAL_ON dispatching. -+ * -+ * b. Tickless operation -+ * -+ * All tasks are dispatched with the infinite slice which allows stopping the -+ * ticks on CONFIG_NO_HZ_FULL kernels running with the proper nohz_full -+ * parameter. The tickless operation can be observed through -+ * /proc/interrupts. -+ * -+ * Periodic switching is enforced by a periodic timer checking all CPUs and -+ * preempting them as necessary. Unfortunately, BPF timer currently doesn't -+ * have a way to pin to a specific CPU, so the periodic timer isn't pinned to -+ * the central CPU. -+ * -+ * c. Preemption -+ * -+ * Kthreads are unconditionally queued to the head of a matching local dsq -+ * and dispatched with SCX_DSQ_PREEMPT. This ensures that a kthread is always -+ * prioritized over user threads, which is required for ensuring forward -+ * progress as e.g. the periodic timer may run on a ksoftirqd and if the -+ * ksoftirqd gets starved by a user thread, there may not be anything else to -+ * vacate that user thread. -+ * -+ * SCX_KICK_PREEMPT is used to trigger scheduling and CPUs to move to the -+ * next tasks. -+ * -+ * This scheduler is designed to maximize usage of various SCX mechanisms. A -+ * more practical implementation would likely put the scheduling loop outside -+ * the central CPU's dispatch() path and add some form of priority mechanism. -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+enum { -+ FALLBACK_DSQ_ID = 0, -+ MS_TO_NS = 1000LLU * 1000, -+ TIMER_INTERVAL_NS = 1 * MS_TO_NS, -+}; -+ -+const volatile s32 central_cpu; -+const volatile u32 nr_cpu_ids = 1; /* !0 for veristat, set during init */ -+const volatile u64 slice_ns = SCX_SLICE_DFL; -+ -+bool timer_pinned = true; -+u64 nr_total, nr_locals, nr_queued, nr_lost_pids; -+u64 nr_timers, nr_dispatches, nr_mismatches, nr_retries; -+u64 nr_overflows; -+ -+UEI_DEFINE(uei); -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_QUEUE); -+ __uint(max_entries, 4096); -+ __type(value, s32); -+} central_q SEC(".maps"); -+ -+/* can't use percpu map due to bad lookups */ -+bool RESIZABLE_ARRAY(data, cpu_gimme_task); -+u64 RESIZABLE_ARRAY(data, cpu_started_at); -+ -+struct central_timer { -+ struct bpf_timer timer; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_ARRAY); -+ __uint(max_entries, 1); -+ __type(key, u32); -+ __type(value, struct central_timer); -+} central_timer SEC(".maps"); -+ -+static bool vtime_before(u64 a, u64 b) -+{ -+ return (s64)(a - b) < 0; -+} -+ -+s32 BPF_STRUCT_OPS(central_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ /* -+ * Steer wakeups to the central CPU as much as possible to avoid -+ * disturbing other CPUs. It's safe to blindly return the central cpu as -+ * select_cpu() is a hint and if @p can't be on it, the kernel will -+ * automatically pick a fallback CPU. -+ */ -+ return central_cpu; -+} -+ -+void BPF_STRUCT_OPS(central_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ s32 pid = p->pid; -+ -+ __sync_fetch_and_add(&nr_total, 1); -+ -+ /* -+ * Push per-cpu kthreads at the head of local dsq's and preempt the -+ * corresponding CPU. This ensures that e.g. ksoftirqd isn't blocked -+ * behind other threads which is necessary for forward progress -+ * guarantee as we depend on the BPF timer which may run from ksoftirqd. -+ */ -+ if ((p->flags & PF_KTHREAD) && p->nr_cpus_allowed == 1) { -+ __sync_fetch_and_add(&nr_locals, 1); -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_INF, -+ enq_flags | SCX_ENQ_PREEMPT); -+ return; -+ } -+ -+ if (bpf_map_push_elem(¢ral_q, &pid, 0)) { -+ __sync_fetch_and_add(&nr_overflows, 1); -+ scx_bpf_dispatch(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, enq_flags); -+ return; -+ } -+ -+ __sync_fetch_and_add(&nr_queued, 1); -+ -+ if (!scx_bpf_task_running(p)) -+ scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); -+} -+ -+static bool dispatch_to_cpu(s32 cpu) -+{ -+ struct task_struct *p; -+ s32 pid; -+ -+ bpf_repeat(BPF_MAX_LOOPS) { -+ if (bpf_map_pop_elem(¢ral_q, &pid)) -+ break; -+ -+ __sync_fetch_and_sub(&nr_queued, 1); -+ -+ p = bpf_task_from_pid(pid); -+ if (!p) { -+ __sync_fetch_and_add(&nr_lost_pids, 1); -+ continue; -+ } -+ -+ /* -+ * If we can't run the task at the top, do the dumb thing and -+ * bounce it to the fallback dsq. -+ */ -+ if (!bpf_cpumask_test_cpu(cpu, p->cpus_ptr)) { -+ __sync_fetch_and_add(&nr_mismatches, 1); -+ scx_bpf_dispatch(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, 0); -+ bpf_task_release(p); -+ /* -+ * We might run out of dispatch buffer slots if we continue dispatching -+ * to the fallback DSQ, without dispatching to the local DSQ of the -+ * target CPU. In such a case, break the loop now as will fail the -+ * next dispatch operation. -+ */ -+ if (!scx_bpf_dispatch_nr_slots()) -+ break; -+ continue; -+ } -+ -+ /* dispatch to local and mark that @cpu doesn't need more */ -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_INF, 0); -+ -+ if (cpu != central_cpu) -+ scx_bpf_kick_cpu(cpu, SCX_KICK_IDLE); -+ -+ bpf_task_release(p); -+ return true; -+ } -+ -+ return false; -+} -+ -+void BPF_STRUCT_OPS(central_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ if (cpu == central_cpu) { -+ /* dispatch for all other CPUs first */ -+ __sync_fetch_and_add(&nr_dispatches, 1); -+ -+ bpf_for(cpu, 0, nr_cpu_ids) { -+ bool *gimme; -+ -+ if (!scx_bpf_dispatch_nr_slots()) -+ break; -+ -+ /* central's gimme is never set */ -+ gimme = ARRAY_ELEM_PTR(cpu_gimme_task, cpu, nr_cpu_ids); -+ if (!gimme || !*gimme) -+ continue; -+ -+ if (dispatch_to_cpu(cpu)) -+ *gimme = false; -+ } -+ -+ /* -+ * Retry if we ran out of dispatch buffer slots as we might have -+ * skipped some CPUs and also need to dispatch for self. The ext -+ * core automatically retries if the local dsq is empty but we -+ * can't rely on that as we're dispatching for other CPUs too. -+ * Kick self explicitly to retry. -+ */ -+ if (!scx_bpf_dispatch_nr_slots()) { -+ __sync_fetch_and_add(&nr_retries, 1); -+ scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); -+ return; -+ } -+ -+ /* look for a task to run on the central CPU */ -+ if (scx_bpf_consume(FALLBACK_DSQ_ID)) -+ return; -+ dispatch_to_cpu(central_cpu); -+ } else { -+ bool *gimme; -+ -+ if (scx_bpf_consume(FALLBACK_DSQ_ID)) -+ return; -+ -+ gimme = ARRAY_ELEM_PTR(cpu_gimme_task, cpu, nr_cpu_ids); -+ if (gimme) -+ *gimme = true; -+ -+ /* -+ * Force dispatch on the scheduling CPU so that it finds a task -+ * to run for us. -+ */ -+ scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); -+ } -+} -+ -+void BPF_STRUCT_OPS(central_running, struct task_struct *p) -+{ -+ s32 cpu = scx_bpf_task_cpu(p); -+ u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); -+ if (started_at) -+ *started_at = bpf_ktime_get_ns() ?: 1; /* 0 indicates idle */ -+} -+ -+void BPF_STRUCT_OPS(central_stopping, struct task_struct *p, bool runnable) -+{ -+ s32 cpu = scx_bpf_task_cpu(p); -+ u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); -+ if (started_at) -+ *started_at = 0; -+} -+ -+static int central_timerfn(void *map, int *key, struct bpf_timer *timer) -+{ -+ u64 now = bpf_ktime_get_ns(); -+ u64 nr_to_kick = nr_queued; -+ s32 i, curr_cpu; -+ -+ curr_cpu = bpf_get_smp_processor_id(); -+ if (timer_pinned && (curr_cpu != central_cpu)) { -+ scx_bpf_error("Central timer ran on CPU %d, not central CPU %d", -+ curr_cpu, central_cpu); -+ return 0; -+ } -+ -+ bpf_for(i, 0, nr_cpu_ids) { -+ s32 cpu = (nr_timers + i) % nr_cpu_ids; -+ u64 *started_at; -+ -+ if (cpu == central_cpu) -+ continue; -+ -+ /* kick iff the current one exhausted its slice */ -+ started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); -+ if (started_at && *started_at && -+ vtime_before(now, *started_at + slice_ns)) -+ continue; -+ -+ /* and there's something pending */ -+ if (scx_bpf_dsq_nr_queued(FALLBACK_DSQ_ID) || -+ scx_bpf_dsq_nr_queued(SCX_DSQ_LOCAL_ON | cpu)) -+ ; -+ else if (nr_to_kick) -+ nr_to_kick--; -+ else -+ continue; -+ -+ scx_bpf_kick_cpu(cpu, SCX_KICK_PREEMPT); -+ } -+ -+ bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); -+ __sync_fetch_and_add(&nr_timers, 1); -+ return 0; -+} -+ -+int BPF_STRUCT_OPS_SLEEPABLE(central_init) -+{ -+ u32 key = 0; -+ struct bpf_timer *timer; -+ int ret; -+ -+ ret = scx_bpf_create_dsq(FALLBACK_DSQ_ID, -1); -+ if (ret) -+ return ret; -+ -+ timer = bpf_map_lookup_elem(¢ral_timer, &key); -+ if (!timer) -+ return -ESRCH; -+ -+ if (bpf_get_smp_processor_id() != central_cpu) { -+ scx_bpf_error("init from non-central CPU"); -+ return -EINVAL; -+ } -+ -+ bpf_timer_init(timer, ¢ral_timer, CLOCK_MONOTONIC); -+ bpf_timer_set_callback(timer, central_timerfn); -+ -+ ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); -+ /* -+ * BPF_F_TIMER_CPU_PIN is pretty new (>=6.7). If we're running in a -+ * kernel which doesn't have it, bpf_timer_start() will return -EINVAL. -+ * Retry without the PIN. This would be the perfect use case for -+ * bpf_core_enum_value_exists() but the enum type doesn't have a name -+ * and can't be used with bpf_core_enum_value_exists(). Oh well... -+ */ -+ if (ret == -EINVAL) { -+ timer_pinned = false; -+ ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, 0); -+ } -+ if (ret) -+ scx_bpf_error("bpf_timer_start failed (%d)", ret); -+ return ret; -+} -+ -+void BPF_STRUCT_OPS(central_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SCX_OPS_DEFINE(central_ops, -+ /* -+ * We are offloading all scheduling decisions to the central CPU -+ * and thus being the last task on a given CPU doesn't mean -+ * anything special. Enqueue the last tasks like any other tasks. -+ */ -+ .flags = SCX_OPS_ENQ_LAST, -+ -+ .select_cpu = (void *)central_select_cpu, -+ .enqueue = (void *)central_enqueue, -+ .dispatch = (void *)central_dispatch, -+ .running = (void *)central_running, -+ .stopping = (void *)central_stopping, -+ .init = (void *)central_init, -+ .exit = (void *)central_exit, -+ .name = "central"); -diff --git a/tools/sched_ext/scx_central.c b/tools/sched_ext/scx_central.c -new file mode 100644 -index 000000000000..21deea320bd7 ---- /dev/null -+++ b/tools/sched_ext/scx_central.c -@@ -0,0 +1,135 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#define _GNU_SOURCE -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include "scx_central.bpf.skel.h" -+ -+const char help_fmt[] = -+"A central FIFO sched_ext scheduler.\n" -+"\n" -+"See the top-level comment in .bpf.c for more details.\n" -+"\n" -+"Usage: %s [-s SLICE_US] [-c CPU]\n" -+"\n" -+" -s SLICE_US Override slice duration\n" -+" -c CPU Override the central CPU (default: 0)\n" -+" -v Print libbpf debug messages\n" -+" -h Display this help and exit\n"; -+ -+static bool verbose; -+static volatile int exit_req; -+ -+static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va_list args) -+{ -+ if (level == LIBBPF_DEBUG && !verbose) -+ return 0; -+ return vfprintf(stderr, format, args); -+} -+ -+static void sigint_handler(int dummy) -+{ -+ exit_req = 1; -+} -+ -+int main(int argc, char **argv) -+{ -+ struct scx_central *skel; -+ struct bpf_link *link; -+ __u64 seq = 0, ecode; -+ __s32 opt; -+ cpu_set_t *cpuset; -+ -+ libbpf_set_print(libbpf_print_fn); -+ signal(SIGINT, sigint_handler); -+ signal(SIGTERM, sigint_handler); -+restart: -+ skel = SCX_OPS_OPEN(central_ops, scx_central); -+ -+ skel->rodata->central_cpu = 0; -+ skel->rodata->nr_cpu_ids = libbpf_num_possible_cpus(); -+ -+ while ((opt = getopt(argc, argv, "s:c:pvh")) != -1) { -+ switch (opt) { -+ case 's': -+ skel->rodata->slice_ns = strtoull(optarg, NULL, 0) * 1000; -+ break; -+ case 'c': -+ skel->rodata->central_cpu = strtoul(optarg, NULL, 0); -+ break; -+ case 'v': -+ verbose = true; -+ break; -+ default: -+ fprintf(stderr, help_fmt, basename(argv[0])); -+ return opt != 'h'; -+ } -+ } -+ -+ /* Resize arrays so their element count is equal to cpu count. */ -+ RESIZE_ARRAY(skel, data, cpu_gimme_task, skel->rodata->nr_cpu_ids); -+ RESIZE_ARRAY(skel, data, cpu_started_at, skel->rodata->nr_cpu_ids); -+ -+ SCX_OPS_LOAD(skel, central_ops, scx_central, uei); -+ -+ /* -+ * Affinitize the loading thread to the central CPU, as: -+ * - That's where the BPF timer is first invoked in the BPF program. -+ * - We probably don't want this user space component to take up a core -+ * from a task that would benefit from avoiding preemption on one of -+ * the tickless cores. -+ * -+ * Until BPF supports pinning the timer, it's not guaranteed that it -+ * will always be invoked on the central CPU. In practice, this -+ * suffices the majority of the time. -+ */ -+ cpuset = CPU_ALLOC(skel->rodata->nr_cpu_ids); -+ SCX_BUG_ON(!cpuset, "Failed to allocate cpuset"); -+ CPU_ZERO(cpuset); -+ CPU_SET(skel->rodata->central_cpu, cpuset); -+ SCX_BUG_ON(sched_setaffinity(0, sizeof(cpuset), cpuset), -+ "Failed to affinitize to central CPU %d (max %d)", -+ skel->rodata->central_cpu, skel->rodata->nr_cpu_ids - 1); -+ CPU_FREE(cpuset); -+ -+ link = SCX_OPS_ATTACH(skel, central_ops, scx_central); -+ -+ if (!skel->data->timer_pinned) -+ printf("WARNING : BPF_F_TIMER_CPU_PIN not available, timer not pinned to central\n"); -+ -+ while (!exit_req && !UEI_EXITED(skel, uei)) { -+ printf("[SEQ %llu]\n", seq++); -+ printf("total :%10" PRIu64 " local:%10" PRIu64 " queued:%10" PRIu64 " lost:%10" PRIu64 "\n", -+ skel->bss->nr_total, -+ skel->bss->nr_locals, -+ skel->bss->nr_queued, -+ skel->bss->nr_lost_pids); -+ printf("timer :%10" PRIu64 " dispatch:%10" PRIu64 " mismatch:%10" PRIu64 " retry:%10" PRIu64 "\n", -+ skel->bss->nr_timers, -+ skel->bss->nr_dispatches, -+ skel->bss->nr_mismatches, -+ skel->bss->nr_retries); -+ printf("overflow:%10" PRIu64 "\n", -+ skel->bss->nr_overflows); -+ fflush(stdout); -+ sleep(1); -+ } -+ -+ bpf_link__destroy(link); -+ ecode = UEI_REPORT(skel, uei); -+ scx_central__destroy(skel); -+ -+ if (UEI_ECODE_RESTART(ecode)) -+ goto restart; -+ return 0; -+} -diff --git a/tools/sched_ext/scx_flatcg.bpf.c b/tools/sched_ext/scx_flatcg.bpf.c -new file mode 100644 -index 000000000000..b722baf6da4b ---- /dev/null -+++ b/tools/sched_ext/scx_flatcg.bpf.c -@@ -0,0 +1,957 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A demo sched_ext flattened cgroup hierarchy scheduler. It implements -+ * hierarchical weight-based cgroup CPU control by flattening the cgroup -+ * hierarchy into a single layer by compounding the active weight share at each -+ * level. Consider the following hierarchy with weights in parentheses: -+ * -+ * R + A (100) + B (100) -+ * | \ C (100) -+ * \ D (200) -+ * -+ * Ignoring the root and threaded cgroups, only B, C and D can contain tasks. -+ * Let's say all three have runnable tasks. The total share that each of these -+ * three cgroups is entitled to can be calculated by compounding its share at -+ * each level. -+ * -+ * For example, B is competing against C and in that competition its share is -+ * 100/(100+100) == 1/2. At its parent level, A is competing against D and A's -+ * share in that competition is 100/(200+100) == 1/3. B's eventual share in the -+ * system can be calculated by multiplying the two shares, 1/2 * 1/3 == 1/6. C's -+ * eventual shaer is the same at 1/6. D is only competing at the top level and -+ * its share is 200/(100+200) == 2/3. -+ * -+ * So, instead of hierarchically scheduling level-by-level, we can consider it -+ * as B, C and D competing each other with respective share of 1/6, 1/6 and 2/3 -+ * and keep updating the eventual shares as the cgroups' runnable states change. -+ * -+ * This flattening of hierarchy can bring a substantial performance gain when -+ * the cgroup hierarchy is nested multiple levels. in a simple benchmark using -+ * wrk[8] on apache serving a CGI script calculating sha1sum of a small file, it -+ * outperforms CFS by ~3% with CPU controller disabled and by ~10% with two -+ * apache instances competing with 2:1 weight ratio nested four level deep. -+ * -+ * However, the gain comes at the cost of not being able to properly handle -+ * thundering herd of cgroups. For example, if many cgroups which are nested -+ * behind a low priority parent cgroup wake up around the same time, they may be -+ * able to consume more CPU cycles than they are entitled to. In many use cases, -+ * this isn't a real concern especially given the performance gain. Also, there -+ * are ways to mitigate the problem further by e.g. introducing an extra -+ * scheduling layer on cgroup delegation boundaries. -+ * -+ * The scheduler first picks the cgroup to run and then schedule the tasks -+ * within by using nested weighted vtime scheduling by default. The -+ * cgroup-internal scheduling can be switched to FIFO with the -f option. -+ */ -+#include -+#include "scx_flatcg.h" -+ -+/* -+ * Maximum amount of retries to find a valid cgroup. -+ */ -+enum { -+ FALLBACK_DSQ = 0, -+ CGROUP_MAX_RETRIES = 1024, -+}; -+ -+char _license[] SEC("license") = "GPL"; -+ -+const volatile u32 nr_cpus = 32; /* !0 for veristat, set during init */ -+const volatile u64 cgrp_slice_ns = SCX_SLICE_DFL; -+const volatile bool fifo_sched; -+ -+u64 cvtime_now; -+UEI_DEFINE(uei); -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); -+ __type(key, u32); -+ __type(value, u64); -+ __uint(max_entries, FCG_NR_STATS); -+} stats SEC(".maps"); -+ -+static void stat_inc(enum fcg_stat_idx idx) -+{ -+ u32 idx_v = idx; -+ -+ u64 *cnt_p = bpf_map_lookup_elem(&stats, &idx_v); -+ if (cnt_p) -+ (*cnt_p)++; -+} -+ -+struct fcg_cpu_ctx { -+ u64 cur_cgid; -+ u64 cur_at; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); -+ __type(key, u32); -+ __type(value, struct fcg_cpu_ctx); -+ __uint(max_entries, 1); -+} cpu_ctx SEC(".maps"); -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_CGRP_STORAGE); -+ __uint(map_flags, BPF_F_NO_PREALLOC); -+ __type(key, int); -+ __type(value, struct fcg_cgrp_ctx); -+} cgrp_ctx SEC(".maps"); -+ -+struct cgv_node { -+ struct bpf_rb_node rb_node; -+ __u64 cvtime; -+ __u64 cgid; -+}; -+ -+private(CGV_TREE) struct bpf_spin_lock cgv_tree_lock; -+private(CGV_TREE) struct bpf_rb_root cgv_tree __contains(cgv_node, rb_node); -+ -+struct cgv_node_stash { -+ struct cgv_node __kptr *node; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_HASH); -+ __uint(max_entries, 16384); -+ __type(key, __u64); -+ __type(value, struct cgv_node_stash); -+} cgv_node_stash SEC(".maps"); -+ -+struct fcg_task_ctx { -+ u64 bypassed_at; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_TASK_STORAGE); -+ __uint(map_flags, BPF_F_NO_PREALLOC); -+ __type(key, int); -+ __type(value, struct fcg_task_ctx); -+} task_ctx SEC(".maps"); -+ -+/* gets inc'd on weight tree changes to expire the cached hweights */ -+u64 hweight_gen = 1; -+ -+static u64 div_round_up(u64 dividend, u64 divisor) -+{ -+ return (dividend + divisor - 1) / divisor; -+} -+ -+static bool vtime_before(u64 a, u64 b) -+{ -+ return (s64)(a - b) < 0; -+} -+ -+static bool cgv_node_less(struct bpf_rb_node *a, const struct bpf_rb_node *b) -+{ -+ struct cgv_node *cgc_a, *cgc_b; -+ -+ cgc_a = container_of(a, struct cgv_node, rb_node); -+ cgc_b = container_of(b, struct cgv_node, rb_node); -+ -+ return cgc_a->cvtime < cgc_b->cvtime; -+} -+ -+static struct fcg_cpu_ctx *find_cpu_ctx(void) -+{ -+ struct fcg_cpu_ctx *cpuc; -+ u32 idx = 0; -+ -+ cpuc = bpf_map_lookup_elem(&cpu_ctx, &idx); -+ if (!cpuc) { -+ scx_bpf_error("cpu_ctx lookup failed"); -+ return NULL; -+ } -+ return cpuc; -+} -+ -+static struct fcg_cgrp_ctx *find_cgrp_ctx(struct cgroup *cgrp) -+{ -+ struct fcg_cgrp_ctx *cgc; -+ -+ cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); -+ if (!cgc) { -+ scx_bpf_error("cgrp_ctx lookup failed for cgid %llu", cgrp->kn->id); -+ return NULL; -+ } -+ return cgc; -+} -+ -+static struct fcg_cgrp_ctx *find_ancestor_cgrp_ctx(struct cgroup *cgrp, int level) -+{ -+ struct fcg_cgrp_ctx *cgc; -+ -+ cgrp = bpf_cgroup_ancestor(cgrp, level); -+ if (!cgrp) { -+ scx_bpf_error("ancestor cgroup lookup failed"); -+ return NULL; -+ } -+ -+ cgc = find_cgrp_ctx(cgrp); -+ if (!cgc) -+ scx_bpf_error("ancestor cgrp_ctx lookup failed"); -+ bpf_cgroup_release(cgrp); -+ return cgc; -+} -+ -+static void cgrp_refresh_hweight(struct cgroup *cgrp, struct fcg_cgrp_ctx *cgc) -+{ -+ int level; -+ -+ if (!cgc->nr_active) { -+ stat_inc(FCG_STAT_HWT_SKIP); -+ return; -+ } -+ -+ if (cgc->hweight_gen == hweight_gen) { -+ stat_inc(FCG_STAT_HWT_CACHE); -+ return; -+ } -+ -+ stat_inc(FCG_STAT_HWT_UPDATES); -+ bpf_for(level, 0, cgrp->level + 1) { -+ struct fcg_cgrp_ctx *cgc; -+ bool is_active; -+ -+ cgc = find_ancestor_cgrp_ctx(cgrp, level); -+ if (!cgc) -+ break; -+ -+ if (!level) { -+ cgc->hweight = FCG_HWEIGHT_ONE; -+ cgc->hweight_gen = hweight_gen; -+ } else { -+ struct fcg_cgrp_ctx *pcgc; -+ -+ pcgc = find_ancestor_cgrp_ctx(cgrp, level - 1); -+ if (!pcgc) -+ break; -+ -+ /* -+ * We can be opportunistic here and not grab the -+ * cgv_tree_lock and deal with the occasional races. -+ * However, hweight updates are already cached and -+ * relatively low-frequency. Let's just do the -+ * straightforward thing. -+ */ -+ bpf_spin_lock(&cgv_tree_lock); -+ is_active = cgc->nr_active; -+ if (is_active) { -+ cgc->hweight_gen = pcgc->hweight_gen; -+ cgc->hweight = -+ div_round_up(pcgc->hweight * cgc->weight, -+ pcgc->child_weight_sum); -+ } -+ bpf_spin_unlock(&cgv_tree_lock); -+ -+ if (!is_active) { -+ stat_inc(FCG_STAT_HWT_RACE); -+ break; -+ } -+ } -+ } -+} -+ -+static void cgrp_cap_budget(struct cgv_node *cgv_node, struct fcg_cgrp_ctx *cgc) -+{ -+ u64 delta, cvtime, max_budget; -+ -+ /* -+ * A node which is on the rbtree can't be pointed to from elsewhere yet -+ * and thus can't be updated and repositioned. Instead, we collect the -+ * vtime deltas separately and apply it asynchronously here. -+ */ -+ delta = __sync_fetch_and_sub(&cgc->cvtime_delta, cgc->cvtime_delta); -+ cvtime = cgv_node->cvtime + delta; -+ -+ /* -+ * Allow a cgroup to carry the maximum budget proportional to its -+ * hweight such that a full-hweight cgroup can immediately take up half -+ * of the CPUs at the most while staying at the front of the rbtree. -+ */ -+ max_budget = (cgrp_slice_ns * nr_cpus * cgc->hweight) / -+ (2 * FCG_HWEIGHT_ONE); -+ if (vtime_before(cvtime, cvtime_now - max_budget)) -+ cvtime = cvtime_now - max_budget; -+ -+ cgv_node->cvtime = cvtime; -+} -+ -+static void cgrp_enqueued(struct cgroup *cgrp, struct fcg_cgrp_ctx *cgc) -+{ -+ struct cgv_node_stash *stash; -+ struct cgv_node *cgv_node; -+ u64 cgid = cgrp->kn->id; -+ -+ /* paired with cmpxchg in try_pick_next_cgroup() */ -+ if (__sync_val_compare_and_swap(&cgc->queued, 0, 1)) { -+ stat_inc(FCG_STAT_ENQ_SKIP); -+ return; -+ } -+ -+ stash = bpf_map_lookup_elem(&cgv_node_stash, &cgid); -+ if (!stash) { -+ scx_bpf_error("cgv_node lookup failed for cgid %llu", cgid); -+ return; -+ } -+ -+ /* NULL if the node is already on the rbtree */ -+ cgv_node = bpf_kptr_xchg(&stash->node, NULL); -+ if (!cgv_node) { -+ stat_inc(FCG_STAT_ENQ_RACE); -+ return; -+ } -+ -+ bpf_spin_lock(&cgv_tree_lock); -+ cgrp_cap_budget(cgv_node, cgc); -+ bpf_rbtree_add(&cgv_tree, &cgv_node->rb_node, cgv_node_less); -+ bpf_spin_unlock(&cgv_tree_lock); -+} -+ -+static void set_bypassed_at(struct task_struct *p, struct fcg_task_ctx *taskc) -+{ -+ /* -+ * Tell fcg_stopping() that this bypassed the regular scheduling path -+ * and should be force charged to the cgroup. 0 is used to indicate that -+ * the task isn't bypassing, so if the current runtime is 0, go back by -+ * one nanosecond. -+ */ -+ taskc->bypassed_at = p->se.sum_exec_runtime ?: (u64)-1; -+} -+ -+s32 BPF_STRUCT_OPS(fcg_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) -+{ -+ struct fcg_task_ctx *taskc; -+ bool is_idle = false; -+ s32 cpu; -+ -+ cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &is_idle); -+ -+ taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); -+ if (!taskc) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return cpu; -+ } -+ -+ /* -+ * If select_cpu_dfl() is recommending local enqueue, the target CPU is -+ * idle. Follow it and charge the cgroup later in fcg_stopping() after -+ * the fact. -+ */ -+ if (is_idle) { -+ set_bypassed_at(p, taskc); -+ stat_inc(FCG_STAT_LOCAL); -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); -+ } -+ -+ return cpu; -+} -+ -+void BPF_STRUCT_OPS(fcg_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ struct fcg_task_ctx *taskc; -+ struct cgroup *cgrp; -+ struct fcg_cgrp_ctx *cgc; -+ -+ taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); -+ if (!taskc) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return; -+ } -+ -+ /* -+ * Use the direct dispatching and force charging to deal with tasks with -+ * custom affinities so that we don't have to worry about per-cgroup -+ * dq's containing tasks that can't be executed from some CPUs. -+ */ -+ if (p->nr_cpus_allowed != nr_cpus) { -+ set_bypassed_at(p, taskc); -+ -+ /* -+ * The global dq is deprioritized as we don't want to let tasks -+ * to boost themselves by constraining its cpumask. The -+ * deprioritization is rather severe, so let's not apply that to -+ * per-cpu kernel threads. This is ham-fisted. We probably wanna -+ * implement per-cgroup fallback dq's instead so that we have -+ * more control over when tasks with custom cpumask get issued. -+ */ -+ if (p->nr_cpus_allowed == 1 && (p->flags & PF_KTHREAD)) { -+ stat_inc(FCG_STAT_LOCAL); -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, enq_flags); -+ } else { -+ stat_inc(FCG_STAT_GLOBAL); -+ scx_bpf_dispatch(p, FALLBACK_DSQ, SCX_SLICE_DFL, enq_flags); -+ } -+ return; -+ } -+ -+ cgrp = __COMPAT_scx_bpf_task_cgroup(p); -+ cgc = find_cgrp_ctx(cgrp); -+ if (!cgc) -+ goto out_release; -+ -+ if (fifo_sched) { -+ scx_bpf_dispatch(p, cgrp->kn->id, SCX_SLICE_DFL, enq_flags); -+ } else { -+ u64 tvtime = p->scx.dsq_vtime; -+ -+ /* -+ * Limit the amount of budget that an idling task can accumulate -+ * to one slice. -+ */ -+ if (vtime_before(tvtime, cgc->tvtime_now - SCX_SLICE_DFL)) -+ tvtime = cgc->tvtime_now - SCX_SLICE_DFL; -+ -+ scx_bpf_dispatch_vtime(p, cgrp->kn->id, SCX_SLICE_DFL, -+ tvtime, enq_flags); -+ } -+ -+ cgrp_enqueued(cgrp, cgc); -+out_release: -+ bpf_cgroup_release(cgrp); -+} -+ -+/* -+ * Walk the cgroup tree to update the active weight sums as tasks wake up and -+ * sleep. The weight sums are used as the base when calculating the proportion a -+ * given cgroup or task is entitled to at each level. -+ */ -+static void update_active_weight_sums(struct cgroup *cgrp, bool runnable) -+{ -+ struct fcg_cgrp_ctx *cgc; -+ bool updated = false; -+ int idx; -+ -+ cgc = find_cgrp_ctx(cgrp); -+ if (!cgc) -+ return; -+ -+ /* -+ * In most cases, a hot cgroup would have multiple threads going to -+ * sleep and waking up while the whole cgroup stays active. In leaf -+ * cgroups, ->nr_runnable which is updated with __sync operations gates -+ * ->nr_active updates, so that we don't have to grab the cgv_tree_lock -+ * repeatedly for a busy cgroup which is staying active. -+ */ -+ if (runnable) { -+ if (__sync_fetch_and_add(&cgc->nr_runnable, 1)) -+ return; -+ stat_inc(FCG_STAT_ACT); -+ } else { -+ if (__sync_sub_and_fetch(&cgc->nr_runnable, 1)) -+ return; -+ stat_inc(FCG_STAT_DEACT); -+ } -+ -+ /* -+ * If @cgrp is becoming runnable, its hweight should be refreshed after -+ * it's added to the weight tree so that enqueue has the up-to-date -+ * value. If @cgrp is becoming quiescent, the hweight should be -+ * refreshed before it's removed from the weight tree so that the usage -+ * charging which happens afterwards has access to the latest value. -+ */ -+ if (!runnable) -+ cgrp_refresh_hweight(cgrp, cgc); -+ -+ /* propagate upwards */ -+ bpf_for(idx, 0, cgrp->level) { -+ int level = cgrp->level - idx; -+ struct fcg_cgrp_ctx *cgc, *pcgc = NULL; -+ bool propagate = false; -+ -+ cgc = find_ancestor_cgrp_ctx(cgrp, level); -+ if (!cgc) -+ break; -+ if (level) { -+ pcgc = find_ancestor_cgrp_ctx(cgrp, level - 1); -+ if (!pcgc) -+ break; -+ } -+ -+ /* -+ * We need the propagation protected by a lock to synchronize -+ * against weight changes. There's no reason to drop the lock at -+ * each level but bpf_spin_lock() doesn't want any function -+ * calls while locked. -+ */ -+ bpf_spin_lock(&cgv_tree_lock); -+ -+ if (runnable) { -+ if (!cgc->nr_active++) { -+ updated = true; -+ if (pcgc) { -+ propagate = true; -+ pcgc->child_weight_sum += cgc->weight; -+ } -+ } -+ } else { -+ if (!--cgc->nr_active) { -+ updated = true; -+ if (pcgc) { -+ propagate = true; -+ pcgc->child_weight_sum -= cgc->weight; -+ } -+ } -+ } -+ -+ bpf_spin_unlock(&cgv_tree_lock); -+ -+ if (!propagate) -+ break; -+ } -+ -+ if (updated) -+ __sync_fetch_and_add(&hweight_gen, 1); -+ -+ if (runnable) -+ cgrp_refresh_hweight(cgrp, cgc); -+} -+ -+void BPF_STRUCT_OPS(fcg_runnable, struct task_struct *p, u64 enq_flags) -+{ -+ struct cgroup *cgrp; -+ -+ cgrp = __COMPAT_scx_bpf_task_cgroup(p); -+ update_active_weight_sums(cgrp, true); -+ bpf_cgroup_release(cgrp); -+} -+ -+void BPF_STRUCT_OPS(fcg_running, struct task_struct *p) -+{ -+ struct cgroup *cgrp; -+ struct fcg_cgrp_ctx *cgc; -+ -+ if (fifo_sched) -+ return; -+ -+ cgrp = __COMPAT_scx_bpf_task_cgroup(p); -+ cgc = find_cgrp_ctx(cgrp); -+ if (cgc) { -+ /* -+ * @cgc->tvtime_now always progresses forward as tasks start -+ * executing. The test and update can be performed concurrently -+ * from multiple CPUs and thus racy. Any error should be -+ * contained and temporary. Let's just live with it. -+ */ -+ if (vtime_before(cgc->tvtime_now, p->scx.dsq_vtime)) -+ cgc->tvtime_now = p->scx.dsq_vtime; -+ } -+ bpf_cgroup_release(cgrp); -+} -+ -+void BPF_STRUCT_OPS(fcg_stopping, struct task_struct *p, bool runnable) -+{ -+ struct fcg_task_ctx *taskc; -+ struct cgroup *cgrp; -+ struct fcg_cgrp_ctx *cgc; -+ -+ /* -+ * Scale the execution time by the inverse of the weight and charge. -+ * -+ * Note that the default yield implementation yields by setting -+ * @p->scx.slice to zero and the following would treat the yielding task -+ * as if it has consumed all its slice. If this penalizes yielding tasks -+ * too much, determine the execution time by taking explicit timestamps -+ * instead of depending on @p->scx.slice. -+ */ -+ if (!fifo_sched) -+ p->scx.dsq_vtime += -+ (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; -+ -+ taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); -+ if (!taskc) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return; -+ } -+ -+ if (!taskc->bypassed_at) -+ return; -+ -+ cgrp = __COMPAT_scx_bpf_task_cgroup(p); -+ cgc = find_cgrp_ctx(cgrp); -+ if (cgc) { -+ __sync_fetch_and_add(&cgc->cvtime_delta, -+ p->se.sum_exec_runtime - taskc->bypassed_at); -+ taskc->bypassed_at = 0; -+ } -+ bpf_cgroup_release(cgrp); -+} -+ -+void BPF_STRUCT_OPS(fcg_quiescent, struct task_struct *p, u64 deq_flags) -+{ -+ struct cgroup *cgrp; -+ -+ cgrp = __COMPAT_scx_bpf_task_cgroup(p); -+ update_active_weight_sums(cgrp, false); -+ bpf_cgroup_release(cgrp); -+} -+ -+void BPF_STRUCT_OPS(fcg_cgroup_set_weight, struct cgroup *cgrp, u32 weight) -+{ -+ struct fcg_cgrp_ctx *cgc, *pcgc = NULL; -+ -+ cgc = find_cgrp_ctx(cgrp); -+ if (!cgc) -+ return; -+ -+ if (cgrp->level) { -+ pcgc = find_ancestor_cgrp_ctx(cgrp, cgrp->level - 1); -+ if (!pcgc) -+ return; -+ } -+ -+ bpf_spin_lock(&cgv_tree_lock); -+ if (pcgc && cgc->nr_active) -+ pcgc->child_weight_sum += (s64)weight - cgc->weight; -+ cgc->weight = weight; -+ bpf_spin_unlock(&cgv_tree_lock); -+} -+ -+static bool try_pick_next_cgroup(u64 *cgidp) -+{ -+ struct bpf_rb_node *rb_node; -+ struct cgv_node_stash *stash; -+ struct cgv_node *cgv_node; -+ struct fcg_cgrp_ctx *cgc; -+ struct cgroup *cgrp; -+ u64 cgid; -+ -+ /* pop the front cgroup and wind cvtime_now accordingly */ -+ bpf_spin_lock(&cgv_tree_lock); -+ -+ rb_node = bpf_rbtree_first(&cgv_tree); -+ if (!rb_node) { -+ bpf_spin_unlock(&cgv_tree_lock); -+ stat_inc(FCG_STAT_PNC_NO_CGRP); -+ *cgidp = 0; -+ return true; -+ } -+ -+ rb_node = bpf_rbtree_remove(&cgv_tree, rb_node); -+ bpf_spin_unlock(&cgv_tree_lock); -+ -+ if (!rb_node) { -+ /* -+ * This should never happen. bpf_rbtree_first() was called -+ * above while the tree lock was held, so the node should -+ * always be present. -+ */ -+ scx_bpf_error("node could not be removed"); -+ return true; -+ } -+ -+ cgv_node = container_of(rb_node, struct cgv_node, rb_node); -+ cgid = cgv_node->cgid; -+ -+ if (vtime_before(cvtime_now, cgv_node->cvtime)) -+ cvtime_now = cgv_node->cvtime; -+ -+ /* -+ * If lookup fails, the cgroup's gone. Free and move on. See -+ * fcg_cgroup_exit(). -+ */ -+ cgrp = bpf_cgroup_from_id(cgid); -+ if (!cgrp) { -+ stat_inc(FCG_STAT_PNC_GONE); -+ goto out_free; -+ } -+ -+ cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); -+ if (!cgc) { -+ bpf_cgroup_release(cgrp); -+ stat_inc(FCG_STAT_PNC_GONE); -+ goto out_free; -+ } -+ -+ if (!scx_bpf_consume(cgid)) { -+ bpf_cgroup_release(cgrp); -+ stat_inc(FCG_STAT_PNC_EMPTY); -+ goto out_stash; -+ } -+ -+ /* -+ * Successfully consumed from the cgroup. This will be our current -+ * cgroup for the new slice. Refresh its hweight. -+ */ -+ cgrp_refresh_hweight(cgrp, cgc); -+ -+ bpf_cgroup_release(cgrp); -+ -+ /* -+ * As the cgroup may have more tasks, add it back to the rbtree. Note -+ * that here we charge the full slice upfront and then exact later -+ * according to the actual consumption. This prevents lowpri thundering -+ * herd from saturating the machine. -+ */ -+ bpf_spin_lock(&cgv_tree_lock); -+ cgv_node->cvtime += cgrp_slice_ns * FCG_HWEIGHT_ONE / (cgc->hweight ?: 1); -+ cgrp_cap_budget(cgv_node, cgc); -+ bpf_rbtree_add(&cgv_tree, &cgv_node->rb_node, cgv_node_less); -+ bpf_spin_unlock(&cgv_tree_lock); -+ -+ *cgidp = cgid; -+ stat_inc(FCG_STAT_PNC_NEXT); -+ return true; -+ -+out_stash: -+ stash = bpf_map_lookup_elem(&cgv_node_stash, &cgid); -+ if (!stash) { -+ stat_inc(FCG_STAT_PNC_GONE); -+ goto out_free; -+ } -+ -+ /* -+ * Paired with cmpxchg in cgrp_enqueued(). If they see the following -+ * transition, they'll enqueue the cgroup. If they are earlier, we'll -+ * see their task in the dq below and requeue the cgroup. -+ */ -+ __sync_val_compare_and_swap(&cgc->queued, 1, 0); -+ -+ if (scx_bpf_dsq_nr_queued(cgid)) { -+ bpf_spin_lock(&cgv_tree_lock); -+ bpf_rbtree_add(&cgv_tree, &cgv_node->rb_node, cgv_node_less); -+ bpf_spin_unlock(&cgv_tree_lock); -+ stat_inc(FCG_STAT_PNC_RACE); -+ } else { -+ cgv_node = bpf_kptr_xchg(&stash->node, cgv_node); -+ if (cgv_node) { -+ scx_bpf_error("unexpected !NULL cgv_node stash"); -+ goto out_free; -+ } -+ } -+ -+ return false; -+ -+out_free: -+ bpf_obj_drop(cgv_node); -+ return false; -+} -+ -+void BPF_STRUCT_OPS(fcg_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ struct fcg_cpu_ctx *cpuc; -+ struct fcg_cgrp_ctx *cgc; -+ struct cgroup *cgrp; -+ u64 now = bpf_ktime_get_ns(); -+ bool picked_next = false; -+ -+ cpuc = find_cpu_ctx(); -+ if (!cpuc) -+ return; -+ -+ if (!cpuc->cur_cgid) -+ goto pick_next_cgroup; -+ -+ if (vtime_before(now, cpuc->cur_at + cgrp_slice_ns)) { -+ if (scx_bpf_consume(cpuc->cur_cgid)) { -+ stat_inc(FCG_STAT_CNS_KEEP); -+ return; -+ } -+ stat_inc(FCG_STAT_CNS_EMPTY); -+ } else { -+ stat_inc(FCG_STAT_CNS_EXPIRE); -+ } -+ -+ /* -+ * The current cgroup is expiring. It was already charged a full slice. -+ * Calculate the actual usage and accumulate the delta. -+ */ -+ cgrp = bpf_cgroup_from_id(cpuc->cur_cgid); -+ if (!cgrp) { -+ stat_inc(FCG_STAT_CNS_GONE); -+ goto pick_next_cgroup; -+ } -+ -+ cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); -+ if (cgc) { -+ /* -+ * We want to update the vtime delta and then look for the next -+ * cgroup to execute but the latter needs to be done in a loop -+ * and we can't keep the lock held. Oh well... -+ */ -+ bpf_spin_lock(&cgv_tree_lock); -+ __sync_fetch_and_add(&cgc->cvtime_delta, -+ (cpuc->cur_at + cgrp_slice_ns - now) * -+ FCG_HWEIGHT_ONE / (cgc->hweight ?: 1)); -+ bpf_spin_unlock(&cgv_tree_lock); -+ } else { -+ stat_inc(FCG_STAT_CNS_GONE); -+ } -+ -+ bpf_cgroup_release(cgrp); -+ -+pick_next_cgroup: -+ cpuc->cur_at = now; -+ -+ if (scx_bpf_consume(FALLBACK_DSQ)) { -+ cpuc->cur_cgid = 0; -+ return; -+ } -+ -+ bpf_repeat(CGROUP_MAX_RETRIES) { -+ if (try_pick_next_cgroup(&cpuc->cur_cgid)) { -+ picked_next = true; -+ break; -+ } -+ } -+ -+ /* -+ * This only happens if try_pick_next_cgroup() races against enqueue -+ * path for more than CGROUP_MAX_RETRIES times, which is extremely -+ * unlikely and likely indicates an underlying bug. There shouldn't be -+ * any stall risk as the race is against enqueue. -+ */ -+ if (!picked_next) -+ stat_inc(FCG_STAT_PNC_FAIL); -+} -+ -+s32 BPF_STRUCT_OPS(fcg_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ struct fcg_task_ctx *taskc; -+ struct fcg_cgrp_ctx *cgc; -+ -+ /* -+ * @p is new. Let's ensure that its task_ctx is available. We can sleep -+ * in this function and the following will automatically use GFP_KERNEL. -+ */ -+ taskc = bpf_task_storage_get(&task_ctx, p, 0, -+ BPF_LOCAL_STORAGE_GET_F_CREATE); -+ if (!taskc) -+ return -ENOMEM; -+ -+ taskc->bypassed_at = 0; -+ -+ if (!(cgc = find_cgrp_ctx(args->cgroup))) -+ return -ENOENT; -+ -+ p->scx.dsq_vtime = cgc->tvtime_now; -+ -+ return 0; -+} -+ -+int BPF_STRUCT_OPS_SLEEPABLE(fcg_cgroup_init, struct cgroup *cgrp, -+ struct scx_cgroup_init_args *args) -+{ -+ struct fcg_cgrp_ctx *cgc; -+ struct cgv_node *cgv_node; -+ struct cgv_node_stash empty_stash = {}, *stash; -+ u64 cgid = cgrp->kn->id; -+ int ret; -+ -+ /* -+ * Technically incorrect as cgroup ID is full 64bit while dsq ID is -+ * 63bit. Should not be a problem in practice and easy to spot in the -+ * unlikely case that it breaks. -+ */ -+ ret = scx_bpf_create_dsq(cgid, -1); -+ if (ret) -+ return ret; -+ -+ cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, -+ BPF_LOCAL_STORAGE_GET_F_CREATE); -+ if (!cgc) { -+ ret = -ENOMEM; -+ goto err_destroy_dsq; -+ } -+ -+ cgc->weight = args->weight; -+ cgc->hweight = FCG_HWEIGHT_ONE; -+ -+ ret = bpf_map_update_elem(&cgv_node_stash, &cgid, &empty_stash, -+ BPF_NOEXIST); -+ if (ret) { -+ if (ret != -ENOMEM) -+ scx_bpf_error("unexpected stash creation error (%d)", -+ ret); -+ goto err_destroy_dsq; -+ } -+ -+ stash = bpf_map_lookup_elem(&cgv_node_stash, &cgid); -+ if (!stash) { -+ scx_bpf_error("unexpected cgv_node stash lookup failure"); -+ ret = -ENOENT; -+ goto err_destroy_dsq; -+ } -+ -+ cgv_node = bpf_obj_new(struct cgv_node); -+ if (!cgv_node) { -+ ret = -ENOMEM; -+ goto err_del_cgv_node; -+ } -+ -+ cgv_node->cgid = cgid; -+ cgv_node->cvtime = cvtime_now; -+ -+ cgv_node = bpf_kptr_xchg(&stash->node, cgv_node); -+ if (cgv_node) { -+ scx_bpf_error("unexpected !NULL cgv_node stash"); -+ ret = -EBUSY; -+ goto err_drop; -+ } -+ -+ return 0; -+ -+err_drop: -+ bpf_obj_drop(cgv_node); -+err_del_cgv_node: -+ bpf_map_delete_elem(&cgv_node_stash, &cgid); -+err_destroy_dsq: -+ scx_bpf_destroy_dsq(cgid); -+ return ret; -+} -+ -+void BPF_STRUCT_OPS(fcg_cgroup_exit, struct cgroup *cgrp) -+{ -+ u64 cgid = cgrp->kn->id; -+ -+ /* -+ * For now, there's no way find and remove the cgv_node if it's on the -+ * cgv_tree. Let's drain them in the dispatch path as they get popped -+ * off the front of the tree. -+ */ -+ bpf_map_delete_elem(&cgv_node_stash, &cgid); -+ scx_bpf_destroy_dsq(cgid); -+} -+ -+void BPF_STRUCT_OPS(fcg_cgroup_move, struct task_struct *p, -+ struct cgroup *from, struct cgroup *to) -+{ -+ struct fcg_cgrp_ctx *from_cgc, *to_cgc; -+ s64 vtime_delta; -+ -+ /* find_cgrp_ctx() triggers scx_ops_error() on lookup failures */ -+ if (!(from_cgc = find_cgrp_ctx(from)) || !(to_cgc = find_cgrp_ctx(to))) -+ return; -+ -+ vtime_delta = p->scx.dsq_vtime - from_cgc->tvtime_now; -+ p->scx.dsq_vtime = to_cgc->tvtime_now + vtime_delta; -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(fcg_init) -+{ -+ return scx_bpf_create_dsq(FALLBACK_DSQ, -1); -+} -+ -+void BPF_STRUCT_OPS(fcg_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SCX_OPS_DEFINE(flatcg_ops, -+ .select_cpu = (void *)fcg_select_cpu, -+ .enqueue = (void *)fcg_enqueue, -+ .dispatch = (void *)fcg_dispatch, -+ .runnable = (void *)fcg_runnable, -+ .running = (void *)fcg_running, -+ .stopping = (void *)fcg_stopping, -+ .quiescent = (void *)fcg_quiescent, -+ .init_task = (void *)fcg_init_task, -+ .cgroup_set_weight = (void *)fcg_cgroup_set_weight, -+ .cgroup_init = (void *)fcg_cgroup_init, -+ .cgroup_exit = (void *)fcg_cgroup_exit, -+ .cgroup_move = (void *)fcg_cgroup_move, -+ .init = (void *)fcg_init, -+ .exit = (void *)fcg_exit, -+ .flags = SCX_OPS_HAS_CGROUP_WEIGHT | SCX_OPS_ENQ_EXITING, -+ .name = "flatcg"); -diff --git a/tools/sched_ext/scx_flatcg.c b/tools/sched_ext/scx_flatcg.c -new file mode 100644 -index 000000000000..5d24ca9c29d9 ---- /dev/null -+++ b/tools/sched_ext/scx_flatcg.c -@@ -0,0 +1,233 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 Tejun Heo -+ * Copyright (c) 2023 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include "scx_flatcg.h" -+#include "scx_flatcg.bpf.skel.h" -+ -+#ifndef FILEID_KERNFS -+#define FILEID_KERNFS 0xfe -+#endif -+ -+const char help_fmt[] = -+"A flattened cgroup hierarchy sched_ext scheduler.\n" -+"\n" -+"See the top-level comment in .bpf.c for more details.\n" -+"\n" -+"Usage: %s [-s SLICE_US] [-i INTERVAL] [-f] [-v]\n" -+"\n" -+" -s SLICE_US Override slice duration\n" -+" -i INTERVAL Report interval\n" -+" -f Use FIFO scheduling instead of weighted vtime scheduling\n" -+" -v Print libbpf debug messages\n" -+" -h Display this help and exit\n"; -+ -+static bool verbose; -+static volatile int exit_req; -+ -+static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va_list args) -+{ -+ if (level == LIBBPF_DEBUG && !verbose) -+ return 0; -+ return vfprintf(stderr, format, args); -+} -+ -+static void sigint_handler(int dummy) -+{ -+ exit_req = 1; -+} -+ -+static float read_cpu_util(__u64 *last_sum, __u64 *last_idle) -+{ -+ FILE *fp; -+ char buf[4096]; -+ char *line, *cur = NULL, *tok; -+ __u64 sum = 0, idle = 0; -+ __u64 delta_sum, delta_idle; -+ int idx; -+ -+ fp = fopen("/proc/stat", "r"); -+ if (!fp) { -+ perror("fopen(\"/proc/stat\")"); -+ return 0.0; -+ } -+ -+ if (!fgets(buf, sizeof(buf), fp)) { -+ perror("fgets(\"/proc/stat\")"); -+ fclose(fp); -+ return 0.0; -+ } -+ fclose(fp); -+ -+ line = buf; -+ for (idx = 0; (tok = strtok_r(line, " \n", &cur)); idx++) { -+ char *endp = NULL; -+ __u64 v; -+ -+ if (idx == 0) { -+ line = NULL; -+ continue; -+ } -+ v = strtoull(tok, &endp, 0); -+ if (!endp || *endp != '\0') { -+ fprintf(stderr, "failed to parse %dth field of /proc/stat (\"%s\")\n", -+ idx, tok); -+ continue; -+ } -+ sum += v; -+ if (idx == 4) -+ idle = v; -+ } -+ -+ delta_sum = sum - *last_sum; -+ delta_idle = idle - *last_idle; -+ *last_sum = sum; -+ *last_idle = idle; -+ -+ return delta_sum ? (float)(delta_sum - delta_idle) / delta_sum : 0.0; -+} -+ -+static void fcg_read_stats(struct scx_flatcg *skel, __u64 *stats) -+{ -+ __u64 cnts[FCG_NR_STATS][skel->rodata->nr_cpus]; -+ __u32 idx; -+ -+ memset(stats, 0, sizeof(stats[0]) * FCG_NR_STATS); -+ -+ for (idx = 0; idx < FCG_NR_STATS; idx++) { -+ int ret, cpu; -+ -+ ret = bpf_map_lookup_elem(bpf_map__fd(skel->maps.stats), -+ &idx, cnts[idx]); -+ if (ret < 0) -+ continue; -+ for (cpu = 0; cpu < skel->rodata->nr_cpus; cpu++) -+ stats[idx] += cnts[idx][cpu]; -+ } -+} -+ -+int main(int argc, char **argv) -+{ -+ struct scx_flatcg *skel; -+ struct bpf_link *link; -+ struct timespec intv_ts = { .tv_sec = 2, .tv_nsec = 0 }; -+ bool dump_cgrps = false; -+ __u64 last_cpu_sum = 0, last_cpu_idle = 0; -+ __u64 last_stats[FCG_NR_STATS] = {}; -+ unsigned long seq = 0; -+ __s32 opt; -+ __u64 ecode; -+ -+ libbpf_set_print(libbpf_print_fn); -+ signal(SIGINT, sigint_handler); -+ signal(SIGTERM, sigint_handler); -+restart: -+ skel = SCX_OPS_OPEN(flatcg_ops, scx_flatcg); -+ -+ skel->rodata->nr_cpus = libbpf_num_possible_cpus(); -+ -+ while ((opt = getopt(argc, argv, "s:i:dfvh")) != -1) { -+ double v; -+ -+ switch (opt) { -+ case 's': -+ v = strtod(optarg, NULL); -+ skel->rodata->cgrp_slice_ns = v * 1000; -+ break; -+ case 'i': -+ v = strtod(optarg, NULL); -+ intv_ts.tv_sec = v; -+ intv_ts.tv_nsec = (v - (float)intv_ts.tv_sec) * 1000000000; -+ break; -+ case 'd': -+ dump_cgrps = true; -+ break; -+ case 'f': -+ skel->rodata->fifo_sched = true; -+ break; -+ case 'v': -+ verbose = true; -+ break; -+ case 'h': -+ default: -+ fprintf(stderr, help_fmt, basename(argv[0])); -+ return opt != 'h'; -+ } -+ } -+ -+ printf("slice=%.1lfms intv=%.1lfs dump_cgrps=%d", -+ (double)skel->rodata->cgrp_slice_ns / 1000000.0, -+ (double)intv_ts.tv_sec + (double)intv_ts.tv_nsec / 1000000000.0, -+ dump_cgrps); -+ -+ SCX_OPS_LOAD(skel, flatcg_ops, scx_flatcg, uei); -+ link = SCX_OPS_ATTACH(skel, flatcg_ops, scx_flatcg); -+ -+ while (!exit_req && !UEI_EXITED(skel, uei)) { -+ __u64 acc_stats[FCG_NR_STATS]; -+ __u64 stats[FCG_NR_STATS]; -+ float cpu_util; -+ int i; -+ -+ cpu_util = read_cpu_util(&last_cpu_sum, &last_cpu_idle); -+ -+ fcg_read_stats(skel, acc_stats); -+ for (i = 0; i < FCG_NR_STATS; i++) -+ stats[i] = acc_stats[i] - last_stats[i]; -+ -+ memcpy(last_stats, acc_stats, sizeof(acc_stats)); -+ -+ printf("\n[SEQ %6lu cpu=%5.1lf hweight_gen=%" PRIu64 "]\n", -+ seq++, cpu_util * 100.0, skel->data->hweight_gen); -+ printf(" act:%6llu deact:%6llu global:%6llu local:%6llu\n", -+ stats[FCG_STAT_ACT], -+ stats[FCG_STAT_DEACT], -+ stats[FCG_STAT_GLOBAL], -+ stats[FCG_STAT_LOCAL]); -+ printf("HWT cache:%6llu update:%6llu skip:%6llu race:%6llu\n", -+ stats[FCG_STAT_HWT_CACHE], -+ stats[FCG_STAT_HWT_UPDATES], -+ stats[FCG_STAT_HWT_SKIP], -+ stats[FCG_STAT_HWT_RACE]); -+ printf("ENQ skip:%6llu race:%6llu\n", -+ stats[FCG_STAT_ENQ_SKIP], -+ stats[FCG_STAT_ENQ_RACE]); -+ printf("CNS keep:%6llu expire:%6llu empty:%6llu gone:%6llu\n", -+ stats[FCG_STAT_CNS_KEEP], -+ stats[FCG_STAT_CNS_EXPIRE], -+ stats[FCG_STAT_CNS_EMPTY], -+ stats[FCG_STAT_CNS_GONE]); -+ printf("PNC next:%6llu empty:%6llu nocgrp:%6llu gone:%6llu race:%6llu fail:%6llu\n", -+ stats[FCG_STAT_PNC_NEXT], -+ stats[FCG_STAT_PNC_EMPTY], -+ stats[FCG_STAT_PNC_NO_CGRP], -+ stats[FCG_STAT_PNC_GONE], -+ stats[FCG_STAT_PNC_RACE], -+ stats[FCG_STAT_PNC_FAIL]); -+ printf("BAD remove:%6llu\n", -+ acc_stats[FCG_STAT_BAD_REMOVAL]); -+ fflush(stdout); -+ -+ nanosleep(&intv_ts, NULL); -+ } -+ -+ bpf_link__destroy(link); -+ ecode = UEI_REPORT(skel, uei); -+ scx_flatcg__destroy(skel); -+ -+ if (UEI_ECODE_RESTART(ecode)) -+ goto restart; -+ return 0; -+} -diff --git a/tools/sched_ext/scx_flatcg.h b/tools/sched_ext/scx_flatcg.h -new file mode 100644 -index 000000000000..6f2ea50acb1c ---- /dev/null -+++ b/tools/sched_ext/scx_flatcg.h -@@ -0,0 +1,51 @@ -+#ifndef __SCX_EXAMPLE_FLATCG_H -+#define __SCX_EXAMPLE_FLATCG_H -+ -+enum { -+ FCG_HWEIGHT_ONE = 1LLU << 16, -+}; -+ -+enum fcg_stat_idx { -+ FCG_STAT_ACT, -+ FCG_STAT_DEACT, -+ FCG_STAT_LOCAL, -+ FCG_STAT_GLOBAL, -+ -+ FCG_STAT_HWT_UPDATES, -+ FCG_STAT_HWT_CACHE, -+ FCG_STAT_HWT_SKIP, -+ FCG_STAT_HWT_RACE, -+ -+ FCG_STAT_ENQ_SKIP, -+ FCG_STAT_ENQ_RACE, -+ -+ FCG_STAT_CNS_KEEP, -+ FCG_STAT_CNS_EXPIRE, -+ FCG_STAT_CNS_EMPTY, -+ FCG_STAT_CNS_GONE, -+ -+ FCG_STAT_PNC_NO_CGRP, -+ FCG_STAT_PNC_NEXT, -+ FCG_STAT_PNC_EMPTY, -+ FCG_STAT_PNC_GONE, -+ FCG_STAT_PNC_RACE, -+ FCG_STAT_PNC_FAIL, -+ -+ FCG_STAT_BAD_REMOVAL, -+ -+ FCG_NR_STATS, -+}; -+ -+struct fcg_cgrp_ctx { -+ u32 nr_active; -+ u32 nr_runnable; -+ u32 queued; -+ u32 weight; -+ u32 hweight; -+ u64 child_weight_sum; -+ u64 hweight_gen; -+ s64 cvtime_delta; -+ u64 tvtime_now; -+}; -+ -+#endif /* __SCX_EXAMPLE_FLATCG_H */ -diff --git a/tools/sched_ext/scx_qmap.bpf.c b/tools/sched_ext/scx_qmap.bpf.c -new file mode 100644 -index 000000000000..5b39bee9eb23 ---- /dev/null -+++ b/tools/sched_ext/scx_qmap.bpf.c -@@ -0,0 +1,813 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A simple five-level FIFO queue scheduler. -+ * -+ * There are five FIFOs implemented using BPF_MAP_TYPE_QUEUE. A task gets -+ * assigned to one depending on its compound weight. Each CPU round robins -+ * through the FIFOs and dispatches more from FIFOs with higher indices - 1 from -+ * queue0, 2 from queue1, 4 from queue2 and so on. -+ * -+ * This scheduler demonstrates: -+ * -+ * - BPF-side queueing using PIDs. -+ * - Sleepable per-task storage allocation using ops.prep_enable(). -+ * - Using ops.cpu_release() to handle a higher priority scheduling class taking -+ * the CPU away. -+ * - Core-sched support. -+ * -+ * This scheduler is primarily for demonstration and testing of sched_ext -+ * features and unlikely to be useful for actual workloads. -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#include -+ -+enum consts { -+ ONE_SEC_IN_NS = 1000000000, -+ SHARED_DSQ = 0, -+ HIGHPRI_DSQ = 1, -+ HIGHPRI_WEIGHT = 8668, /* this is what -20 maps to */ -+}; -+ -+char _license[] SEC("license") = "GPL"; -+ -+const volatile u64 slice_ns = SCX_SLICE_DFL; -+const volatile u32 stall_user_nth; -+const volatile u32 stall_kernel_nth; -+const volatile u32 dsp_inf_loop_after; -+const volatile u32 dsp_batch; -+const volatile bool highpri_boosting; -+const volatile bool print_shared_dsq; -+const volatile s32 disallow_tgid; -+const volatile bool suppress_dump; -+ -+u64 nr_highpri_queued; -+u32 test_error_cnt; -+ -+UEI_DEFINE(uei); -+ -+struct qmap { -+ __uint(type, BPF_MAP_TYPE_QUEUE); -+ __uint(max_entries, 4096); -+ __type(value, u32); -+} queue0 SEC(".maps"), -+ queue1 SEC(".maps"), -+ queue2 SEC(".maps"), -+ queue3 SEC(".maps"), -+ queue4 SEC(".maps"); -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); -+ __uint(max_entries, 5); -+ __type(key, int); -+ __array(values, struct qmap); -+} queue_arr SEC(".maps") = { -+ .values = { -+ [0] = &queue0, -+ [1] = &queue1, -+ [2] = &queue2, -+ [3] = &queue3, -+ [4] = &queue4, -+ }, -+}; -+ -+/* -+ * If enabled, CPU performance target is set according to the queue index -+ * according to the following table. -+ */ -+static const u32 qidx_to_cpuperf_target[] = { -+ [0] = SCX_CPUPERF_ONE * 0 / 4, -+ [1] = SCX_CPUPERF_ONE * 1 / 4, -+ [2] = SCX_CPUPERF_ONE * 2 / 4, -+ [3] = SCX_CPUPERF_ONE * 3 / 4, -+ [4] = SCX_CPUPERF_ONE * 4 / 4, -+}; -+ -+/* -+ * Per-queue sequence numbers to implement core-sched ordering. -+ * -+ * Tail seq is assigned to each queued task and incremented. Head seq tracks the -+ * sequence number of the latest dispatched task. The distance between the a -+ * task's seq and the associated queue's head seq is called the queue distance -+ * and used when comparing two tasks for ordering. See qmap_core_sched_before(). -+ */ -+static u64 core_sched_head_seqs[5]; -+static u64 core_sched_tail_seqs[5]; -+ -+/* Per-task scheduling context */ -+struct task_ctx { -+ bool force_local; /* Dispatch directly to local_dsq */ -+ bool highpri; -+ u64 core_sched_seq; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_TASK_STORAGE); -+ __uint(map_flags, BPF_F_NO_PREALLOC); -+ __type(key, int); -+ __type(value, struct task_ctx); -+} task_ctx_stor SEC(".maps"); -+ -+struct cpu_ctx { -+ u64 dsp_idx; /* dispatch index */ -+ u64 dsp_cnt; /* remaining count */ -+ u32 avg_weight; -+ u32 cpuperf_target; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); -+ __uint(max_entries, 1); -+ __type(key, u32); -+ __type(value, struct cpu_ctx); -+} cpu_ctx_stor SEC(".maps"); -+ -+/* Statistics */ -+u64 nr_enqueued, nr_dispatched, nr_reenqueued, nr_dequeued, nr_ddsp_from_enq; -+u64 nr_core_sched_execed; -+u64 nr_expedited_local, nr_expedited_remote, nr_expedited_lost, nr_expedited_from_timer; -+u32 cpuperf_min, cpuperf_avg, cpuperf_max; -+u32 cpuperf_target_min, cpuperf_target_avg, cpuperf_target_max; -+ -+static s32 pick_direct_dispatch_cpu(struct task_struct *p, s32 prev_cpu) -+{ -+ s32 cpu; -+ -+ if (p->nr_cpus_allowed == 1 || -+ scx_bpf_test_and_clear_cpu_idle(prev_cpu)) -+ return prev_cpu; -+ -+ cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ if (cpu >= 0) -+ return cpu; -+ -+ return -1; -+} -+ -+static struct task_ctx *lookup_task_ctx(struct task_struct *p) -+{ -+ struct task_ctx *tctx; -+ -+ if (!(tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0))) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return NULL; -+ } -+ return tctx; -+} -+ -+s32 BPF_STRUCT_OPS(qmap_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ struct task_ctx *tctx; -+ s32 cpu; -+ -+ if (!(tctx = lookup_task_ctx(p))) -+ return -ESRCH; -+ -+ cpu = pick_direct_dispatch_cpu(p, prev_cpu); -+ -+ if (cpu >= 0) { -+ tctx->force_local = true; -+ return cpu; -+ } else { -+ return prev_cpu; -+ } -+} -+ -+static int weight_to_idx(u32 weight) -+{ -+ /* Coarsely map the compound weight to a FIFO. */ -+ if (weight <= 25) -+ return 0; -+ else if (weight <= 50) -+ return 1; -+ else if (weight < 200) -+ return 2; -+ else if (weight < 400) -+ return 3; -+ else -+ return 4; -+} -+ -+void BPF_STRUCT_OPS(qmap_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ static u32 user_cnt, kernel_cnt; -+ struct task_ctx *tctx; -+ u32 pid = p->pid; -+ int idx = weight_to_idx(p->scx.weight); -+ void *ring; -+ s32 cpu; -+ -+ if (p->flags & PF_KTHREAD) { -+ if (stall_kernel_nth && !(++kernel_cnt % stall_kernel_nth)) -+ return; -+ } else { -+ if (stall_user_nth && !(++user_cnt % stall_user_nth)) -+ return; -+ } -+ -+ if (test_error_cnt && !--test_error_cnt) -+ scx_bpf_error("test triggering error"); -+ -+ if (!(tctx = lookup_task_ctx(p))) -+ return; -+ -+ /* -+ * All enqueued tasks must have their core_sched_seq updated for correct -+ * core-sched ordering, which is why %SCX_OPS_ENQ_LAST is specified in -+ * qmap_ops.flags. -+ */ -+ tctx->core_sched_seq = core_sched_tail_seqs[idx]++; -+ -+ /* -+ * If qmap_select_cpu() is telling us to or this is the last runnable -+ * task on the CPU, enqueue locally. -+ */ -+ if (tctx->force_local || (enq_flags & SCX_ENQ_LAST)) { -+ tctx->force_local = false; -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, slice_ns, enq_flags); -+ return; -+ } -+ -+ /* if !WAKEUP, select_cpu() wasn't called, try direct dispatch */ -+ if (!(enq_flags & SCX_ENQ_WAKEUP) && -+ (cpu = pick_direct_dispatch_cpu(p, scx_bpf_task_cpu(p))) >= 0) { -+ __sync_fetch_and_add(&nr_ddsp_from_enq, 1); -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | cpu, slice_ns, enq_flags); -+ return; -+ } -+ -+ /* -+ * If the task was re-enqueued due to the CPU being preempted by a -+ * higher priority scheduling class, just re-enqueue the task directly -+ * on the global DSQ. As we want another CPU to pick it up, find and -+ * kick an idle CPU. -+ */ -+ if (enq_flags & SCX_ENQ_REENQ) { -+ s32 cpu; -+ -+ scx_bpf_dispatch(p, SHARED_DSQ, 0, enq_flags); -+ cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ if (cpu >= 0) -+ scx_bpf_kick_cpu(cpu, SCX_KICK_IDLE); -+ return; -+ } -+ -+ ring = bpf_map_lookup_elem(&queue_arr, &idx); -+ if (!ring) { -+ scx_bpf_error("failed to find ring %d", idx); -+ return; -+ } -+ -+ /* Queue on the selected FIFO. If the FIFO overflows, punt to global. */ -+ if (bpf_map_push_elem(ring, &pid, 0)) { -+ scx_bpf_dispatch(p, SHARED_DSQ, slice_ns, enq_flags); -+ return; -+ } -+ -+ if (highpri_boosting && p->scx.weight >= HIGHPRI_WEIGHT) { -+ tctx->highpri = true; -+ __sync_fetch_and_add(&nr_highpri_queued, 1); -+ } -+ __sync_fetch_and_add(&nr_enqueued, 1); -+} -+ -+/* -+ * The BPF queue map doesn't support removal and sched_ext can handle spurious -+ * dispatches. qmap_dequeue() is only used to collect statistics. -+ */ -+void BPF_STRUCT_OPS(qmap_dequeue, struct task_struct *p, u64 deq_flags) -+{ -+ __sync_fetch_and_add(&nr_dequeued, 1); -+ if (deq_flags & SCX_DEQ_CORE_SCHED_EXEC) -+ __sync_fetch_and_add(&nr_core_sched_execed, 1); -+} -+ -+static void update_core_sched_head_seq(struct task_struct *p) -+{ -+ int idx = weight_to_idx(p->scx.weight); -+ struct task_ctx *tctx; -+ -+ if ((tctx = lookup_task_ctx(p))) -+ core_sched_head_seqs[idx] = tctx->core_sched_seq; -+} -+ -+/* -+ * To demonstrate the use of scx_bpf_dispatch_from_dsq(), implement silly -+ * selective priority boosting mechanism by scanning SHARED_DSQ looking for -+ * highpri tasks, moving them to HIGHPRI_DSQ and then consuming them first. This -+ * makes minor difference only when dsp_batch is larger than 1. -+ * -+ * scx_bpf_dispatch[_vtime]_from_dsq() are allowed both from ops.dispatch() and -+ * non-rq-lock holding BPF programs. As demonstration, this function is called -+ * from qmap_dispatch() and monitor_timerfn(). -+ */ -+static bool dispatch_highpri(bool from_timer) -+{ -+ struct task_struct *p; -+ s32 this_cpu = bpf_get_smp_processor_id(); -+ -+ /* scan SHARED_DSQ and move highpri tasks to HIGHPRI_DSQ */ -+ bpf_for_each(scx_dsq, p, SHARED_DSQ, 0) { -+ static u64 highpri_seq; -+ struct task_ctx *tctx; -+ -+ if (!(tctx = lookup_task_ctx(p))) -+ return false; -+ -+ if (tctx->highpri) { -+ /* exercise the set_*() and vtime interface too */ -+ __COMPAT_scx_bpf_dispatch_from_dsq_set_slice( -+ BPF_FOR_EACH_ITER, slice_ns * 2); -+ __COMPAT_scx_bpf_dispatch_from_dsq_set_vtime( -+ BPF_FOR_EACH_ITER, highpri_seq++); -+ __COMPAT_scx_bpf_dispatch_vtime_from_dsq( -+ BPF_FOR_EACH_ITER, p, HIGHPRI_DSQ, 0); -+ } -+ } -+ -+ /* -+ * Scan HIGHPRI_DSQ and dispatch until a task that can run on this CPU -+ * is found. -+ */ -+ bpf_for_each(scx_dsq, p, HIGHPRI_DSQ, 0) { -+ bool dispatched = false; -+ s32 cpu; -+ -+ if (bpf_cpumask_test_cpu(this_cpu, p->cpus_ptr)) -+ cpu = this_cpu; -+ else -+ cpu = scx_bpf_pick_any_cpu(p->cpus_ptr, 0); -+ -+ if (__COMPAT_scx_bpf_dispatch_from_dsq(BPF_FOR_EACH_ITER, p, -+ SCX_DSQ_LOCAL_ON | cpu, -+ SCX_ENQ_PREEMPT)) { -+ if (cpu == this_cpu) { -+ dispatched = true; -+ __sync_fetch_and_add(&nr_expedited_local, 1); -+ } else { -+ __sync_fetch_and_add(&nr_expedited_remote, 1); -+ } -+ if (from_timer) -+ __sync_fetch_and_add(&nr_expedited_from_timer, 1); -+ } else { -+ __sync_fetch_and_add(&nr_expedited_lost, 1); -+ } -+ -+ if (dispatched) -+ return true; -+ } -+ -+ return false; -+} -+ -+void BPF_STRUCT_OPS(qmap_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ struct task_struct *p; -+ struct cpu_ctx *cpuc; -+ u32 zero = 0, batch = dsp_batch ?: 1; -+ void *fifo; -+ s32 i, pid; -+ -+ if (dispatch_highpri(false)) -+ return; -+ -+ if (!nr_highpri_queued && scx_bpf_consume(SHARED_DSQ)) -+ return; -+ -+ if (dsp_inf_loop_after && nr_dispatched > dsp_inf_loop_after) { -+ /* -+ * PID 2 should be kthreadd which should mostly be idle and off -+ * the scheduler. Let's keep dispatching it to force the kernel -+ * to call this function over and over again. -+ */ -+ p = bpf_task_from_pid(2); -+ if (p) { -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, slice_ns, 0); -+ bpf_task_release(p); -+ return; -+ } -+ } -+ -+ if (!(cpuc = bpf_map_lookup_elem(&cpu_ctx_stor, &zero))) { -+ scx_bpf_error("failed to look up cpu_ctx"); -+ return; -+ } -+ -+ for (i = 0; i < 5; i++) { -+ /* Advance the dispatch cursor and pick the fifo. */ -+ if (!cpuc->dsp_cnt) { -+ cpuc->dsp_idx = (cpuc->dsp_idx + 1) % 5; -+ cpuc->dsp_cnt = 1 << cpuc->dsp_idx; -+ } -+ -+ fifo = bpf_map_lookup_elem(&queue_arr, &cpuc->dsp_idx); -+ if (!fifo) { -+ scx_bpf_error("failed to find ring %llu", cpuc->dsp_idx); -+ return; -+ } -+ -+ /* Dispatch or advance. */ -+ bpf_repeat(BPF_MAX_LOOPS) { -+ struct task_ctx *tctx; -+ -+ if (bpf_map_pop_elem(fifo, &pid)) -+ break; -+ -+ p = bpf_task_from_pid(pid); -+ if (!p) -+ continue; -+ -+ if (!(tctx = lookup_task_ctx(p))) { -+ bpf_task_release(p); -+ return; -+ } -+ -+ if (tctx->highpri) -+ __sync_fetch_and_sub(&nr_highpri_queued, 1); -+ -+ update_core_sched_head_seq(p); -+ __sync_fetch_and_add(&nr_dispatched, 1); -+ -+ scx_bpf_dispatch(p, SHARED_DSQ, slice_ns, 0); -+ bpf_task_release(p); -+ -+ batch--; -+ cpuc->dsp_cnt--; -+ if (!batch || !scx_bpf_dispatch_nr_slots()) { -+ if (dispatch_highpri(false)) -+ return; -+ scx_bpf_consume(SHARED_DSQ); -+ return; -+ } -+ if (!cpuc->dsp_cnt) -+ break; -+ } -+ -+ cpuc->dsp_cnt = 0; -+ } -+} -+ -+void BPF_STRUCT_OPS(qmap_tick, struct task_struct *p) -+{ -+ struct cpu_ctx *cpuc; -+ u32 zero = 0; -+ int idx; -+ -+ if (!(cpuc = bpf_map_lookup_elem(&cpu_ctx_stor, &zero))) { -+ scx_bpf_error("failed to look up cpu_ctx"); -+ return; -+ } -+ -+ /* -+ * Use the running avg of weights to select the target cpuperf level. -+ * This is a demonstration of the cpuperf feature rather than a -+ * practical strategy to regulate CPU frequency. -+ */ -+ cpuc->avg_weight = cpuc->avg_weight * 3 / 4 + p->scx.weight / 4; -+ idx = weight_to_idx(cpuc->avg_weight); -+ cpuc->cpuperf_target = qidx_to_cpuperf_target[idx]; -+ -+ scx_bpf_cpuperf_set(scx_bpf_task_cpu(p), cpuc->cpuperf_target); -+} -+ -+/* -+ * The distance from the head of the queue scaled by the weight of the queue. -+ * The lower the number, the older the task and the higher the priority. -+ */ -+static s64 task_qdist(struct task_struct *p) -+{ -+ int idx = weight_to_idx(p->scx.weight); -+ struct task_ctx *tctx; -+ s64 qdist; -+ -+ tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0); -+ if (!tctx) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return 0; -+ } -+ -+ qdist = tctx->core_sched_seq - core_sched_head_seqs[idx]; -+ -+ /* -+ * As queue index increments, the priority doubles. The queue w/ index 3 -+ * is dispatched twice more frequently than 2. Reflect the difference by -+ * scaling qdists accordingly. Note that the shift amount needs to be -+ * flipped depending on the sign to avoid flipping priority direction. -+ */ -+ if (qdist >= 0) -+ return qdist << (4 - idx); -+ else -+ return qdist << idx; -+} -+ -+/* -+ * This is called to determine the task ordering when core-sched is picking -+ * tasks to execute on SMT siblings and should encode about the same ordering as -+ * the regular scheduling path. Use the priority-scaled distances from the head -+ * of the queues to compare the two tasks which should be consistent with the -+ * dispatch path behavior. -+ */ -+bool BPF_STRUCT_OPS(qmap_core_sched_before, -+ struct task_struct *a, struct task_struct *b) -+{ -+ return task_qdist(a) > task_qdist(b); -+} -+ -+void BPF_STRUCT_OPS(qmap_cpu_release, s32 cpu, struct scx_cpu_release_args *args) -+{ -+ u32 cnt; -+ -+ /* -+ * Called when @cpu is taken by a higher priority scheduling class. This -+ * makes @cpu no longer available for executing sched_ext tasks. As we -+ * don't want the tasks in @cpu's local dsq to sit there until @cpu -+ * becomes available again, re-enqueue them into the global dsq. See -+ * %SCX_ENQ_REENQ handling in qmap_enqueue(). -+ */ -+ cnt = scx_bpf_reenqueue_local(); -+ if (cnt) -+ __sync_fetch_and_add(&nr_reenqueued, cnt); -+} -+ -+s32 BPF_STRUCT_OPS(qmap_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ if (p->tgid == disallow_tgid) -+ p->scx.disallow = true; -+ -+ /* -+ * @p is new. Let's ensure that its task_ctx is available. We can sleep -+ * in this function and the following will automatically use GFP_KERNEL. -+ */ -+ if (bpf_task_storage_get(&task_ctx_stor, p, 0, -+ BPF_LOCAL_STORAGE_GET_F_CREATE)) -+ return 0; -+ else -+ return -ENOMEM; -+} -+ -+void BPF_STRUCT_OPS(qmap_dump, struct scx_dump_ctx *dctx) -+{ -+ s32 i, pid; -+ -+ if (suppress_dump) -+ return; -+ -+ bpf_for(i, 0, 5) { -+ void *fifo; -+ -+ if (!(fifo = bpf_map_lookup_elem(&queue_arr, &i))) -+ return; -+ -+ scx_bpf_dump("QMAP FIFO[%d]:", i); -+ bpf_repeat(4096) { -+ if (bpf_map_pop_elem(fifo, &pid)) -+ break; -+ scx_bpf_dump(" %d", pid); -+ } -+ scx_bpf_dump("\n"); -+ } -+} -+ -+void BPF_STRUCT_OPS(qmap_dump_cpu, struct scx_dump_ctx *dctx, s32 cpu, bool idle) -+{ -+ u32 zero = 0; -+ struct cpu_ctx *cpuc; -+ -+ if (suppress_dump || idle) -+ return; -+ if (!(cpuc = bpf_map_lookup_percpu_elem(&cpu_ctx_stor, &zero, cpu))) -+ return; -+ -+ scx_bpf_dump("QMAP: dsp_idx=%llu dsp_cnt=%llu avg_weight=%u cpuperf_target=%u", -+ cpuc->dsp_idx, cpuc->dsp_cnt, cpuc->avg_weight, -+ cpuc->cpuperf_target); -+} -+ -+void BPF_STRUCT_OPS(qmap_dump_task, struct scx_dump_ctx *dctx, struct task_struct *p) -+{ -+ struct task_ctx *taskc; -+ -+ if (suppress_dump) -+ return; -+ if (!(taskc = bpf_task_storage_get(&task_ctx_stor, p, 0, 0))) -+ return; -+ -+ scx_bpf_dump("QMAP: force_local=%d core_sched_seq=%llu", -+ taskc->force_local, taskc->core_sched_seq); -+} -+ -+/* -+ * Print out the online and possible CPU map using bpf_printk() as a -+ * demonstration of using the cpumask kfuncs and ops.cpu_on/offline(). -+ */ -+static void print_cpus(void) -+{ -+ const struct cpumask *possible, *online; -+ s32 cpu; -+ char buf[128] = "", *p; -+ int idx; -+ -+ possible = scx_bpf_get_possible_cpumask(); -+ online = scx_bpf_get_online_cpumask(); -+ -+ idx = 0; -+ bpf_for(cpu, 0, scx_bpf_nr_cpu_ids()) { -+ if (!(p = MEMBER_VPTR(buf, [idx++]))) -+ break; -+ if (bpf_cpumask_test_cpu(cpu, online)) -+ *p++ = 'O'; -+ else if (bpf_cpumask_test_cpu(cpu, possible)) -+ *p++ = 'X'; -+ else -+ *p++ = ' '; -+ -+ if ((cpu & 7) == 7) { -+ if (!(p = MEMBER_VPTR(buf, [idx++]))) -+ break; -+ *p++ = '|'; -+ } -+ } -+ buf[sizeof(buf) - 1] = '\0'; -+ -+ scx_bpf_put_cpumask(online); -+ scx_bpf_put_cpumask(possible); -+ -+ bpf_printk("CPUS: |%s", buf); -+} -+ -+void BPF_STRUCT_OPS(qmap_cpu_online, s32 cpu) -+{ -+ bpf_printk("CPU %d coming online", cpu); -+ /* @cpu is already online at this point */ -+ print_cpus(); -+} -+ -+void BPF_STRUCT_OPS(qmap_cpu_offline, s32 cpu) -+{ -+ bpf_printk("CPU %d going offline", cpu); -+ /* @cpu is still online at this point */ -+ print_cpus(); -+} -+ -+struct monitor_timer { -+ struct bpf_timer timer; -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_ARRAY); -+ __uint(max_entries, 1); -+ __type(key, u32); -+ __type(value, struct monitor_timer); -+} monitor_timer SEC(".maps"); -+ -+/* -+ * Print out the min, avg and max performance levels of CPUs every second to -+ * demonstrate the cpuperf interface. -+ */ -+static void monitor_cpuperf(void) -+{ -+ u32 zero = 0, nr_cpu_ids; -+ u64 cap_sum = 0, cur_sum = 0, cur_min = SCX_CPUPERF_ONE, cur_max = 0; -+ u64 target_sum = 0, target_min = SCX_CPUPERF_ONE, target_max = 0; -+ const struct cpumask *online; -+ int i, nr_online_cpus = 0; -+ -+ nr_cpu_ids = scx_bpf_nr_cpu_ids(); -+ online = scx_bpf_get_online_cpumask(); -+ -+ bpf_for(i, 0, nr_cpu_ids) { -+ struct cpu_ctx *cpuc; -+ u32 cap, cur; -+ -+ if (!bpf_cpumask_test_cpu(i, online)) -+ continue; -+ nr_online_cpus++; -+ -+ /* collect the capacity and current cpuperf */ -+ cap = scx_bpf_cpuperf_cap(i); -+ cur = scx_bpf_cpuperf_cur(i); -+ -+ cur_min = cur < cur_min ? cur : cur_min; -+ cur_max = cur > cur_max ? cur : cur_max; -+ -+ /* -+ * $cur is relative to $cap. Scale it down accordingly so that -+ * it's in the same scale as other CPUs and $cur_sum/$cap_sum -+ * makes sense. -+ */ -+ cur_sum += cur * cap / SCX_CPUPERF_ONE; -+ cap_sum += cap; -+ -+ if (!(cpuc = bpf_map_lookup_percpu_elem(&cpu_ctx_stor, &zero, i))) { -+ scx_bpf_error("failed to look up cpu_ctx"); -+ goto out; -+ } -+ -+ /* collect target */ -+ cur = cpuc->cpuperf_target; -+ target_sum += cur; -+ target_min = cur < target_min ? cur : target_min; -+ target_max = cur > target_max ? cur : target_max; -+ } -+ -+ cpuperf_min = cur_min; -+ cpuperf_avg = cur_sum * SCX_CPUPERF_ONE / cap_sum; -+ cpuperf_max = cur_max; -+ -+ cpuperf_target_min = target_min; -+ cpuperf_target_avg = target_sum / nr_online_cpus; -+ cpuperf_target_max = target_max; -+out: -+ scx_bpf_put_cpumask(online); -+} -+ -+/* -+ * Dump the currently queued tasks in the shared DSQ to demonstrate the usage of -+ * scx_bpf_dsq_nr_queued() and DSQ iterator. Raise the dispatch batch count to -+ * see meaningful dumps in the trace pipe. -+ */ -+static void dump_shared_dsq(void) -+{ -+ struct task_struct *p; -+ s32 nr; -+ -+ if (!(nr = scx_bpf_dsq_nr_queued(SHARED_DSQ))) -+ return; -+ -+ bpf_printk("Dumping %d tasks in SHARED_DSQ in reverse order", nr); -+ -+ bpf_rcu_read_lock(); -+ bpf_for_each(scx_dsq, p, SHARED_DSQ, SCX_DSQ_ITER_REV) -+ bpf_printk("%s[%d]", p->comm, p->pid); -+ bpf_rcu_read_unlock(); -+} -+ -+static int monitor_timerfn(void *map, int *key, struct bpf_timer *timer) -+{ -+ bpf_rcu_read_lock(); -+ dispatch_highpri(true); -+ bpf_rcu_read_unlock(); -+ -+ monitor_cpuperf(); -+ -+ if (print_shared_dsq) -+ dump_shared_dsq(); -+ -+ bpf_timer_start(timer, ONE_SEC_IN_NS, 0); -+ return 0; -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(qmap_init) -+{ -+ u32 key = 0; -+ struct bpf_timer *timer; -+ s32 ret; -+ -+ print_cpus(); -+ -+ ret = scx_bpf_create_dsq(SHARED_DSQ, -1); -+ if (ret) -+ return ret; -+ -+ ret = scx_bpf_create_dsq(HIGHPRI_DSQ, -1); -+ if (ret) -+ return ret; -+ -+ timer = bpf_map_lookup_elem(&monitor_timer, &key); -+ if (!timer) -+ return -ESRCH; -+ -+ bpf_timer_init(timer, &monitor_timer, CLOCK_MONOTONIC); -+ bpf_timer_set_callback(timer, monitor_timerfn); -+ -+ return bpf_timer_start(timer, ONE_SEC_IN_NS, 0); -+} -+ -+void BPF_STRUCT_OPS(qmap_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SCX_OPS_DEFINE(qmap_ops, -+ .select_cpu = (void *)qmap_select_cpu, -+ .enqueue = (void *)qmap_enqueue, -+ .dequeue = (void *)qmap_dequeue, -+ .dispatch = (void *)qmap_dispatch, -+ .tick = (void *)qmap_tick, -+ .core_sched_before = (void *)qmap_core_sched_before, -+ .cpu_release = (void *)qmap_cpu_release, -+ .init_task = (void *)qmap_init_task, -+ .dump = (void *)qmap_dump, -+ .dump_cpu = (void *)qmap_dump_cpu, -+ .dump_task = (void *)qmap_dump_task, -+ .cpu_online = (void *)qmap_cpu_online, -+ .cpu_offline = (void *)qmap_cpu_offline, -+ .init = (void *)qmap_init, -+ .exit = (void *)qmap_exit, -+ .flags = SCX_OPS_ENQ_LAST, -+ .timeout_ms = 5000U, -+ .name = "qmap"); -diff --git a/tools/sched_ext/scx_qmap.c b/tools/sched_ext/scx_qmap.c -new file mode 100644 -index 000000000000..ac45a02b4055 ---- /dev/null -+++ b/tools/sched_ext/scx_qmap.c -@@ -0,0 +1,153 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include "scx_qmap.bpf.skel.h" -+ -+const char help_fmt[] = -+"A simple five-level FIFO queue sched_ext scheduler.\n" -+"\n" -+"See the top-level comment in .bpf.c for more details.\n" -+"\n" -+"Usage: %s [-s SLICE_US] [-e COUNT] [-t COUNT] [-T COUNT] [-l COUNT] [-b COUNT]\n" -+" [-P] [-d PID] [-D LEN] [-p] [-v]\n" -+"\n" -+" -s SLICE_US Override slice duration\n" -+" -e COUNT Trigger scx_bpf_error() after COUNT enqueues\n" -+" -t COUNT Stall every COUNT'th user thread\n" -+" -T COUNT Stall every COUNT'th kernel thread\n" -+" -l COUNT Trigger dispatch infinite looping after COUNT dispatches\n" -+" -b COUNT Dispatch upto COUNT tasks together\n" -+" -P Print out DSQ content to trace_pipe every second, use with -b\n" -+" -H Boost nice -20 tasks in SHARED_DSQ, use with -b\n" -+" -d PID Disallow a process from switching into SCHED_EXT (-1 for self)\n" -+" -D LEN Set scx_exit_info.dump buffer length\n" -+" -S Suppress qmap-specific debug dump\n" -+" -p Switch only tasks on SCHED_EXT policy instead of all\n" -+" -v Print libbpf debug messages\n" -+" -h Display this help and exit\n"; -+ -+static bool verbose; -+static volatile int exit_req; -+ -+static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va_list args) -+{ -+ if (level == LIBBPF_DEBUG && !verbose) -+ return 0; -+ return vfprintf(stderr, format, args); -+} -+ -+static void sigint_handler(int dummy) -+{ -+ exit_req = 1; -+} -+ -+int main(int argc, char **argv) -+{ -+ struct scx_qmap *skel; -+ struct bpf_link *link; -+ int opt; -+ -+ libbpf_set_print(libbpf_print_fn); -+ signal(SIGINT, sigint_handler); -+ signal(SIGTERM, sigint_handler); -+ -+ skel = SCX_OPS_OPEN(qmap_ops, scx_qmap); -+ -+ while ((opt = getopt(argc, argv, "s:e:t:T:l:b:PHd:D:Spvh")) != -1) { -+ switch (opt) { -+ case 's': -+ skel->rodata->slice_ns = strtoull(optarg, NULL, 0) * 1000; -+ break; -+ case 'e': -+ skel->bss->test_error_cnt = strtoul(optarg, NULL, 0); -+ break; -+ case 't': -+ skel->rodata->stall_user_nth = strtoul(optarg, NULL, 0); -+ break; -+ case 'T': -+ skel->rodata->stall_kernel_nth = strtoul(optarg, NULL, 0); -+ break; -+ case 'l': -+ skel->rodata->dsp_inf_loop_after = strtoul(optarg, NULL, 0); -+ break; -+ case 'b': -+ skel->rodata->dsp_batch = strtoul(optarg, NULL, 0); -+ break; -+ case 'P': -+ skel->rodata->print_shared_dsq = true; -+ break; -+ case 'H': -+ skel->rodata->highpri_boosting = true; -+ break; -+ case 'd': -+ skel->rodata->disallow_tgid = strtol(optarg, NULL, 0); -+ if (skel->rodata->disallow_tgid < 0) -+ skel->rodata->disallow_tgid = getpid(); -+ break; -+ case 'D': -+ skel->struct_ops.qmap_ops->exit_dump_len = strtoul(optarg, NULL, 0); -+ break; -+ case 'S': -+ skel->rodata->suppress_dump = true; -+ break; -+ case 'p': -+ skel->struct_ops.qmap_ops->flags |= SCX_OPS_SWITCH_PARTIAL; -+ break; -+ case 'v': -+ verbose = true; -+ break; -+ default: -+ fprintf(stderr, help_fmt, basename(argv[0])); -+ return opt != 'h'; -+ } -+ } -+ -+ SCX_OPS_LOAD(skel, qmap_ops, scx_qmap, uei); -+ link = SCX_OPS_ATTACH(skel, qmap_ops, scx_qmap); -+ -+ while (!exit_req && !UEI_EXITED(skel, uei)) { -+ long nr_enqueued = skel->bss->nr_enqueued; -+ long nr_dispatched = skel->bss->nr_dispatched; -+ -+ printf("stats : enq=%lu dsp=%lu delta=%ld reenq=%"PRIu64" deq=%"PRIu64" core=%"PRIu64" enq_ddsp=%"PRIu64"\n", -+ nr_enqueued, nr_dispatched, nr_enqueued - nr_dispatched, -+ skel->bss->nr_reenqueued, skel->bss->nr_dequeued, -+ skel->bss->nr_core_sched_execed, -+ skel->bss->nr_ddsp_from_enq); -+ printf(" exp_local=%"PRIu64" exp_remote=%"PRIu64" exp_timer=%"PRIu64" exp_lost=%"PRIu64"\n", -+ skel->bss->nr_expedited_local, -+ skel->bss->nr_expedited_remote, -+ skel->bss->nr_expedited_from_timer, -+ skel->bss->nr_expedited_lost); -+ if (__COMPAT_has_ksym("scx_bpf_cpuperf_cur")) -+ printf("cpuperf: cur min/avg/max=%u/%u/%u target min/avg/max=%u/%u/%u\n", -+ skel->bss->cpuperf_min, -+ skel->bss->cpuperf_avg, -+ skel->bss->cpuperf_max, -+ skel->bss->cpuperf_target_min, -+ skel->bss->cpuperf_target_avg, -+ skel->bss->cpuperf_target_max); -+ fflush(stdout); -+ sleep(1); -+ } -+ -+ bpf_link__destroy(link); -+ UEI_REPORT(skel, uei); -+ scx_qmap__destroy(skel); -+ /* -+ * scx_qmap implements ops.cpu_on/offline() and doesn't need to restart -+ * on CPU hotplug events. -+ */ -+ return 0; -+} -diff --git a/tools/sched_ext/scx_show_state.py b/tools/sched_ext/scx_show_state.py -new file mode 100644 -index 000000000000..8bc626ede1c4 ---- /dev/null -+++ b/tools/sched_ext/scx_show_state.py -@@ -0,0 +1,40 @@ -+#!/usr/bin/env drgn -+# -+# Copyright (C) 2024 Tejun Heo -+# Copyright (C) 2024 Meta Platforms, Inc. and affiliates. -+ -+desc = """ -+This is a drgn script to show the current sched_ext state. -+For more info on drgn, visit https://github.com/osandov/drgn. -+""" -+ -+import drgn -+import sys -+ -+def err(s): -+ print(s, file=sys.stderr, flush=True) -+ sys.exit(1) -+ -+def read_int(name): -+ return int(prog[name].value_()) -+ -+def read_atomic(name): -+ return prog[name].counter.value_() -+ -+def read_static_key(name): -+ return prog[name].key.enabled.counter.value_() -+ -+def ops_state_str(state): -+ return prog['scx_ops_enable_state_str'][state].string_().decode() -+ -+ops = prog['scx_ops'] -+enable_state = read_atomic("scx_ops_enable_state_var") -+ -+print(f'ops : {ops.name.string_().decode()}') -+print(f'enabled : {read_static_key("__scx_ops_enabled")}') -+print(f'switching_all : {read_int("scx_switching_all")}') -+print(f'switched_all : {read_static_key("__scx_switched_all")}') -+print(f'enable_state : {ops_state_str(enable_state)} ({enable_state})') -+print(f'bypass_depth : {read_atomic("scx_ops_bypass_depth")}') -+print(f'nr_rejected : {read_atomic("scx_nr_rejected")}') -+print(f'enable_seq : {read_atomic("scx_enable_seq")}') -diff --git a/tools/sched_ext/scx_simple.bpf.c b/tools/sched_ext/scx_simple.bpf.c -new file mode 100644 -index 000000000000..ed7e8d535fc5 ---- /dev/null -+++ b/tools/sched_ext/scx_simple.bpf.c -@@ -0,0 +1,156 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A simple scheduler. -+ * -+ * By default, it operates as a simple global weighted vtime scheduler and can -+ * be switched to FIFO scheduling. It also demonstrates the following niceties. -+ * -+ * - Statistics tracking how many tasks are queued to local and global dsq's. -+ * - Termination notification for userspace. -+ * -+ * While very simple, this scheduler should work reasonably well on CPUs with a -+ * uniform L3 cache topology. While preemption is not implemented, the fact that -+ * the scheduling queue is shared across all CPUs means that whatever is at the -+ * front of the queue is likely to be executed fairly quickly given enough -+ * number of CPUs. The FIFO scheduling mode may be beneficial to some workloads -+ * but comes with the usual problems with FIFO scheduling where saturating -+ * threads can easily drown out interactive ones. -+ * -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+const volatile bool fifo_sched; -+ -+static u64 vtime_now; -+UEI_DEFINE(uei); -+ -+/* -+ * Built-in DSQs such as SCX_DSQ_GLOBAL cannot be used as priority queues -+ * (meaning, cannot be dispatched to with scx_bpf_dispatch_vtime()). We -+ * therefore create a separate DSQ with ID 0 that we dispatch to and consume -+ * from. If scx_simple only supported global FIFO scheduling, then we could -+ * just use SCX_DSQ_GLOBAL. -+ */ -+#define SHARED_DSQ 0 -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); -+ __uint(key_size, sizeof(u32)); -+ __uint(value_size, sizeof(u64)); -+ __uint(max_entries, 2); /* [local, global] */ -+} stats SEC(".maps"); -+ -+static void stat_inc(u32 idx) -+{ -+ u64 *cnt_p = bpf_map_lookup_elem(&stats, &idx); -+ if (cnt_p) -+ (*cnt_p)++; -+} -+ -+static inline bool vtime_before(u64 a, u64 b) -+{ -+ return (s64)(a - b) < 0; -+} -+ -+s32 BPF_STRUCT_OPS(simple_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) -+{ -+ bool is_idle = false; -+ s32 cpu; -+ -+ cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &is_idle); -+ if (is_idle) { -+ stat_inc(0); /* count local queueing */ -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); -+ } -+ -+ return cpu; -+} -+ -+void BPF_STRUCT_OPS(simple_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ stat_inc(1); /* count global queueing */ -+ -+ if (fifo_sched) { -+ scx_bpf_dispatch(p, SHARED_DSQ, SCX_SLICE_DFL, enq_flags); -+ } else { -+ u64 vtime = p->scx.dsq_vtime; -+ -+ /* -+ * Limit the amount of budget that an idling task can accumulate -+ * to one slice. -+ */ -+ if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) -+ vtime = vtime_now - SCX_SLICE_DFL; -+ -+ scx_bpf_dispatch_vtime(p, SHARED_DSQ, SCX_SLICE_DFL, vtime, -+ enq_flags); -+ } -+} -+ -+void BPF_STRUCT_OPS(simple_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ scx_bpf_consume(SHARED_DSQ); -+} -+ -+void BPF_STRUCT_OPS(simple_running, struct task_struct *p) -+{ -+ if (fifo_sched) -+ return; -+ -+ /* -+ * Global vtime always progresses forward as tasks start executing. The -+ * test and update can be performed concurrently from multiple CPUs and -+ * thus racy. Any error should be contained and temporary. Let's just -+ * live with it. -+ */ -+ if (vtime_before(vtime_now, p->scx.dsq_vtime)) -+ vtime_now = p->scx.dsq_vtime; -+} -+ -+void BPF_STRUCT_OPS(simple_stopping, struct task_struct *p, bool runnable) -+{ -+ if (fifo_sched) -+ return; -+ -+ /* -+ * Scale the execution time by the inverse of the weight and charge. -+ * -+ * Note that the default yield implementation yields by setting -+ * @p->scx.slice to zero and the following would treat the yielding task -+ * as if it has consumed all its slice. If this penalizes yielding tasks -+ * too much, determine the execution time by taking explicit timestamps -+ * instead of depending on @p->scx.slice. -+ */ -+ p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; -+} -+ -+void BPF_STRUCT_OPS(simple_enable, struct task_struct *p) -+{ -+ p->scx.dsq_vtime = vtime_now; -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(simple_init) -+{ -+ return scx_bpf_create_dsq(SHARED_DSQ, -1); -+} -+ -+void BPF_STRUCT_OPS(simple_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SCX_OPS_DEFINE(simple_ops, -+ .select_cpu = (void *)simple_select_cpu, -+ .enqueue = (void *)simple_enqueue, -+ .dispatch = (void *)simple_dispatch, -+ .running = (void *)simple_running, -+ .stopping = (void *)simple_stopping, -+ .enable = (void *)simple_enable, -+ .init = (void *)simple_init, -+ .exit = (void *)simple_exit, -+ .name = "simple"); -diff --git a/tools/sched_ext/scx_simple.c b/tools/sched_ext/scx_simple.c -new file mode 100644 -index 000000000000..76d83199545c ---- /dev/null -+++ b/tools/sched_ext/scx_simple.c -@@ -0,0 +1,107 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2022 Tejun Heo -+ * Copyright (c) 2022 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+#include "scx_simple.bpf.skel.h" -+ -+const char help_fmt[] = -+"A simple sched_ext scheduler.\n" -+"\n" -+"See the top-level comment in .bpf.c for more details.\n" -+"\n" -+"Usage: %s [-f] [-v]\n" -+"\n" -+" -f Use FIFO scheduling instead of weighted vtime scheduling\n" -+" -v Print libbpf debug messages\n" -+" -h Display this help and exit\n"; -+ -+static bool verbose; -+static volatile int exit_req; -+ -+static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va_list args) -+{ -+ if (level == LIBBPF_DEBUG && !verbose) -+ return 0; -+ return vfprintf(stderr, format, args); -+} -+ -+static void sigint_handler(int simple) -+{ -+ exit_req = 1; -+} -+ -+static void read_stats(struct scx_simple *skel, __u64 *stats) -+{ -+ int nr_cpus = libbpf_num_possible_cpus(); -+ __u64 cnts[2][nr_cpus]; -+ __u32 idx; -+ -+ memset(stats, 0, sizeof(stats[0]) * 2); -+ -+ for (idx = 0; idx < 2; idx++) { -+ int ret, cpu; -+ -+ ret = bpf_map_lookup_elem(bpf_map__fd(skel->maps.stats), -+ &idx, cnts[idx]); -+ if (ret < 0) -+ continue; -+ for (cpu = 0; cpu < nr_cpus; cpu++) -+ stats[idx] += cnts[idx][cpu]; -+ } -+} -+ -+int main(int argc, char **argv) -+{ -+ struct scx_simple *skel; -+ struct bpf_link *link; -+ __u32 opt; -+ __u64 ecode; -+ -+ libbpf_set_print(libbpf_print_fn); -+ signal(SIGINT, sigint_handler); -+ signal(SIGTERM, sigint_handler); -+restart: -+ skel = SCX_OPS_OPEN(simple_ops, scx_simple); -+ -+ while ((opt = getopt(argc, argv, "fvh")) != -1) { -+ switch (opt) { -+ case 'f': -+ skel->rodata->fifo_sched = true; -+ break; -+ case 'v': -+ verbose = true; -+ break; -+ default: -+ fprintf(stderr, help_fmt, basename(argv[0])); -+ return opt != 'h'; -+ } -+ } -+ -+ SCX_OPS_LOAD(skel, simple_ops, scx_simple, uei); -+ link = SCX_OPS_ATTACH(skel, simple_ops, scx_simple); -+ -+ while (!exit_req && !UEI_EXITED(skel, uei)) { -+ __u64 stats[2]; -+ -+ read_stats(skel, stats); -+ printf("local=%llu global=%llu\n", stats[0], stats[1]); -+ fflush(stdout); -+ sleep(1); -+ } -+ -+ bpf_link__destroy(link); -+ ecode = UEI_REPORT(skel, uei); -+ scx_simple__destroy(skel); -+ -+ if (UEI_ECODE_RESTART(ecode)) -+ goto restart; -+ return 0; -+} -diff --git a/tools/testing/selftests/sched_ext/.gitignore b/tools/testing/selftests/sched_ext/.gitignore -new file mode 100644 -index 000000000000..ae5491a114c0 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/.gitignore -@@ -0,0 +1,6 @@ -+* -+!*.c -+!*.h -+!Makefile -+!.gitignore -+!config -diff --git a/tools/testing/selftests/sched_ext/Makefile b/tools/testing/selftests/sched_ext/Makefile -new file mode 100644 -index 000000000000..0754a2c110a1 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/Makefile -@@ -0,0 +1,218 @@ -+# SPDX-License-Identifier: GPL-2.0 -+# Copyright (c) 2022 Meta Platforms, Inc. and affiliates. -+include ../../../build/Build.include -+include ../../../scripts/Makefile.arch -+include ../../../scripts/Makefile.include -+include ../lib.mk -+ -+ifneq ($(LLVM),) -+ifneq ($(filter %/,$(LLVM)),) -+LLVM_PREFIX := $(LLVM) -+else ifneq ($(filter -%,$(LLVM)),) -+LLVM_SUFFIX := $(LLVM) -+endif -+ -+CC := $(LLVM_PREFIX)clang$(LLVM_SUFFIX) $(CLANG_FLAGS) -fintegrated-as -+else -+CC := gcc -+endif # LLVM -+ -+ifneq ($(CROSS_COMPILE),) -+$(error CROSS_COMPILE not supported for scx selftests) -+endif # CROSS_COMPILE -+ -+CURDIR := $(abspath .) -+REPOROOT := $(abspath ../../../..) -+TOOLSDIR := $(REPOROOT)/tools -+LIBDIR := $(TOOLSDIR)/lib -+BPFDIR := $(LIBDIR)/bpf -+TOOLSINCDIR := $(TOOLSDIR)/include -+BPFTOOLDIR := $(TOOLSDIR)/bpf/bpftool -+APIDIR := $(TOOLSINCDIR)/uapi -+GENDIR := $(REPOROOT)/include/generated -+GENHDR := $(GENDIR)/autoconf.h -+SCXTOOLSDIR := $(TOOLSDIR)/sched_ext -+SCXTOOLSINCDIR := $(TOOLSDIR)/sched_ext/include -+ -+OUTPUT_DIR := $(CURDIR)/build -+OBJ_DIR := $(OUTPUT_DIR)/obj -+INCLUDE_DIR := $(OUTPUT_DIR)/include -+BPFOBJ_DIR := $(OBJ_DIR)/libbpf -+SCXOBJ_DIR := $(OBJ_DIR)/sched_ext -+BPFOBJ := $(BPFOBJ_DIR)/libbpf.a -+LIBBPF_OUTPUT := $(OBJ_DIR)/libbpf/libbpf.a -+DEFAULT_BPFTOOL := $(OUTPUT_DIR)/sbin/bpftool -+HOST_BUILD_DIR := $(OBJ_DIR) -+HOST_OUTPUT_DIR := $(OUTPUT_DIR) -+ -+VMLINUX_BTF_PATHS ?= ../../../../vmlinux \ -+ /sys/kernel/btf/vmlinux \ -+ /boot/vmlinux-$(shell uname -r) -+VMLINUX_BTF ?= $(abspath $(firstword $(wildcard $(VMLINUX_BTF_PATHS)))) -+ifeq ($(VMLINUX_BTF),) -+$(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)") -+endif -+ -+BPFTOOL ?= $(DEFAULT_BPFTOOL) -+ -+ifneq ($(wildcard $(GENHDR)),) -+ GENFLAGS := -DHAVE_GENHDR -+endif -+ -+CFLAGS += -g -O2 -rdynamic -pthread -Wall -Werror $(GENFLAGS) \ -+ -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \ -+ -I$(TOOLSINCDIR) -I$(APIDIR) -I$(CURDIR)/include -I$(SCXTOOLSINCDIR) -+ -+# Silence some warnings when compiled with clang -+ifneq ($(LLVM),) -+CFLAGS += -Wno-unused-command-line-argument -+endif -+ -+LDFLAGS = -lelf -lz -lpthread -lzstd -+ -+IS_LITTLE_ENDIAN = $(shell $(CC) -dM -E - &1 \ -+ | sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }') \ -+$(shell $(1) -dM -E - $@ -+else -+ $(call msg,CP,,$@) -+ $(Q)cp "$(VMLINUX_H)" $@ -+endif -+ -+$(SCXOBJ_DIR)/%.bpf.o: %.bpf.c $(INCLUDE_DIR)/vmlinux.h | $(BPFOBJ) $(SCXOBJ_DIR) -+ $(call msg,CLNG-BPF,,$(notdir $@)) -+ $(Q)$(CLANG) $(BPF_CFLAGS) -target bpf -c $< -o $@ -+ -+$(INCLUDE_DIR)/%.bpf.skel.h: $(SCXOBJ_DIR)/%.bpf.o $(INCLUDE_DIR)/vmlinux.h $(BPFTOOL) | $(INCLUDE_DIR) -+ $(eval sched=$(notdir $@)) -+ $(call msg,GEN-SKEL,,$(sched)) -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked1.o) $< -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked2.o) $(<:.o=.linked1.o) -+ $(Q)$(BPFTOOL) gen object $(<:.o=.linked3.o) $(<:.o=.linked2.o) -+ $(Q)diff $(<:.o=.linked2.o) $(<:.o=.linked3.o) -+ $(Q)$(BPFTOOL) gen skeleton $(<:.o=.linked3.o) name $(subst .bpf.skel.h,,$(sched)) > $@ -+ $(Q)$(BPFTOOL) gen subskeleton $(<:.o=.linked3.o) name $(subst .bpf.skel.h,,$(sched)) > $(@:.skel.h=.subskel.h) -+ -+################ -+# C schedulers # -+################ -+ -+override define CLEAN -+ rm -rf $(OUTPUT_DIR) -+ rm -f *.o *.bpf.o *.bpf.skel.h *.bpf.subskel.h -+ rm -f $(TEST_GEN_PROGS) -+ rm -f runner -+endef -+ -+# Every testcase takes all of the BPF progs are dependencies by default. This -+# allows testcases to load any BPF scheduler, which is useful for testcases -+# that don't need their own prog to run their test. -+all_test_bpfprogs := $(foreach prog,$(wildcard *.bpf.c),$(INCLUDE_DIR)/$(patsubst %.c,%.skel.h,$(prog))) -+ -+auto-test-targets := \ -+ create_dsq \ -+ enq_last_no_enq_fails \ -+ enq_select_cpu_fails \ -+ ddsp_bogus_dsq_fail \ -+ ddsp_vtimelocal_fail \ -+ dsp_local_on \ -+ exit \ -+ hotplug \ -+ init_enable_count \ -+ maximal \ -+ maybe_null \ -+ minimal \ -+ prog_run \ -+ reload_loop \ -+ select_cpu_dfl \ -+ select_cpu_dfl_nodispatch \ -+ select_cpu_dispatch \ -+ select_cpu_dispatch_bad_dsq \ -+ select_cpu_dispatch_dbl_dsp \ -+ select_cpu_vtime \ -+ test_example \ -+ -+testcase-targets := $(addsuffix .o,$(addprefix $(SCXOBJ_DIR)/,$(auto-test-targets))) -+ -+$(SCXOBJ_DIR)/runner.o: runner.c | $(SCXOBJ_DIR) -+ $(CC) $(CFLAGS) -c $< -o $@ -+ -+# Create all of the test targets object files, whose testcase objects will be -+# registered into the runner in ELF constructors. -+# -+# Note that we must do double expansion here in order to support conditionally -+# compiling BPF object files only if one is present, as the wildcard Make -+# function doesn't support using implicit rules otherwise. -+$(testcase-targets): $(SCXOBJ_DIR)/%.o: %.c $(SCXOBJ_DIR)/runner.o $(all_test_bpfprogs) | $(SCXOBJ_DIR) -+ $(eval test=$(patsubst %.o,%.c,$(notdir $@))) -+ $(CC) $(CFLAGS) -c $< -o $@ $(SCXOBJ_DIR)/runner.o -+ -+$(SCXOBJ_DIR)/util.o: util.c | $(SCXOBJ_DIR) -+ $(CC) $(CFLAGS) -c $< -o $@ -+ -+runner: $(SCXOBJ_DIR)/runner.o $(SCXOBJ_DIR)/util.o $(BPFOBJ) $(testcase-targets) -+ @echo "$(testcase-targets)" -+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -+ -+TEST_GEN_PROGS := runner -+ -+all: runner -+ -+.PHONY: all clean help -+ -+.DEFAULT_GOAL := all -+ -+.DELETE_ON_ERROR: -+ -+.SECONDARY: -diff --git a/tools/testing/selftests/sched_ext/config b/tools/testing/selftests/sched_ext/config -new file mode 100644 -index 000000000000..0de9b4ee249d ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/config -@@ -0,0 +1,9 @@ -+CONFIG_SCHED_DEBUG=y -+CONFIG_SCHED_CLASS_EXT=y -+CONFIG_CGROUPS=y -+CONFIG_CGROUP_SCHED=y -+CONFIG_EXT_GROUP_SCHED=y -+CONFIG_BPF=y -+CONFIG_BPF_SYSCALL=y -+CONFIG_DEBUG_INFO=y -+CONFIG_DEBUG_INFO_BTF=y -diff --git a/tools/testing/selftests/sched_ext/create_dsq.bpf.c b/tools/testing/selftests/sched_ext/create_dsq.bpf.c -new file mode 100644 -index 000000000000..23f79ed343f0 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/create_dsq.bpf.c -@@ -0,0 +1,58 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Create and destroy DSQs in a loop. -+ * -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+void BPF_STRUCT_OPS(create_dsq_exit_task, struct task_struct *p, -+ struct scx_exit_task_args *args) -+{ -+ scx_bpf_destroy_dsq(p->pid); -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(create_dsq_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ s32 err; -+ -+ err = scx_bpf_create_dsq(p->pid, -1); -+ if (err) -+ scx_bpf_error("Failed to create DSQ for %s[%d]", -+ p->comm, p->pid); -+ -+ return err; -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(create_dsq_init) -+{ -+ u32 i; -+ s32 err; -+ -+ bpf_for(i, 0, 1024) { -+ err = scx_bpf_create_dsq(i, -1); -+ if (err) { -+ scx_bpf_error("Failed to create DSQ %d", i); -+ return 0; -+ } -+ } -+ -+ bpf_for(i, 0, 1024) { -+ scx_bpf_destroy_dsq(i); -+ } -+ -+ return 0; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops create_dsq_ops = { -+ .init_task = create_dsq_init_task, -+ .exit_task = create_dsq_exit_task, -+ .init = create_dsq_init, -+ .name = "create_dsq", -+}; -diff --git a/tools/testing/selftests/sched_ext/create_dsq.c b/tools/testing/selftests/sched_ext/create_dsq.c -new file mode 100644 -index 000000000000..fa946d9146d4 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/create_dsq.c -@@ -0,0 +1,57 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include "create_dsq.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct create_dsq *skel; -+ -+ skel = create_dsq__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct create_dsq *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.create_dsq_ops); -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ return SCX_TEST_FAIL; -+ } -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct create_dsq *skel = ctx; -+ -+ create_dsq__destroy(skel); -+} -+ -+struct scx_test create_dsq = { -+ .name = "create_dsq", -+ .description = "Create and destroy a dsq in a loop", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&create_dsq) -diff --git a/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c b/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c -new file mode 100644 -index 000000000000..e97ad41d354a ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c -@@ -0,0 +1,42 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+UEI_DEFINE(uei); -+ -+s32 BPF_STRUCT_OPS(ddsp_bogus_dsq_fail_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ s32 cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ -+ if (cpu >= 0) { -+ /* -+ * If we dispatch to a bogus DSQ that will fall back to the -+ * builtin global DSQ, we fail gracefully. -+ */ -+ scx_bpf_dispatch_vtime(p, 0xcafef00d, SCX_SLICE_DFL, -+ p->scx.dsq_vtime, 0); -+ return cpu; -+ } -+ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(ddsp_bogus_dsq_fail_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops ddsp_bogus_dsq_fail_ops = { -+ .select_cpu = ddsp_bogus_dsq_fail_select_cpu, -+ .exit = ddsp_bogus_dsq_fail_exit, -+ .name = "ddsp_bogus_dsq_fail", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.c b/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.c -new file mode 100644 -index 000000000000..e65d22f23f3b ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.c -@@ -0,0 +1,57 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "ddsp_bogus_dsq_fail.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct ddsp_bogus_dsq_fail *skel; -+ -+ skel = ddsp_bogus_dsq_fail__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct ddsp_bogus_dsq_fail *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.ddsp_bogus_dsq_fail_ops); -+ SCX_FAIL_IF(!link, "Failed to attach struct_ops"); -+ -+ sleep(1); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_ERROR)); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct ddsp_bogus_dsq_fail *skel = ctx; -+ -+ ddsp_bogus_dsq_fail__destroy(skel); -+} -+ -+struct scx_test ddsp_bogus_dsq_fail = { -+ .name = "ddsp_bogus_dsq_fail", -+ .description = "Verify we gracefully fail, and fall back to using a " -+ "built-in DSQ, if we do a direct dispatch to an invalid" -+ " DSQ in ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&ddsp_bogus_dsq_fail) -diff --git a/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c b/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c -new file mode 100644 -index 000000000000..dde7e7dafbfb ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c -@@ -0,0 +1,39 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+UEI_DEFINE(uei); -+ -+s32 BPF_STRUCT_OPS(ddsp_vtimelocal_fail_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ s32 cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ -+ if (cpu >= 0) { -+ /* Shouldn't be allowed to vtime dispatch to a builtin DSQ. */ -+ scx_bpf_dispatch_vtime(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, -+ p->scx.dsq_vtime, 0); -+ return cpu; -+ } -+ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(ddsp_vtimelocal_fail_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops ddsp_vtimelocal_fail_ops = { -+ .select_cpu = ddsp_vtimelocal_fail_select_cpu, -+ .exit = ddsp_vtimelocal_fail_exit, -+ .name = "ddsp_vtimelocal_fail", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.c b/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.c -new file mode 100644 -index 000000000000..abafee587cd6 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.c -@@ -0,0 +1,56 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+#include -+#include -+#include "ddsp_vtimelocal_fail.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct ddsp_vtimelocal_fail *skel; -+ -+ skel = ddsp_vtimelocal_fail__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct ddsp_vtimelocal_fail *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.ddsp_vtimelocal_fail_ops); -+ SCX_FAIL_IF(!link, "Failed to attach struct_ops"); -+ -+ sleep(1); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_ERROR)); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct ddsp_vtimelocal_fail *skel = ctx; -+ -+ ddsp_vtimelocal_fail__destroy(skel); -+} -+ -+struct scx_test ddsp_vtimelocal_fail = { -+ .name = "ddsp_vtimelocal_fail", -+ .description = "Verify we gracefully fail, and fall back to using a " -+ "built-in DSQ, if we do a direct vtime dispatch to a " -+ "built-in DSQ from DSQ in ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&ddsp_vtimelocal_fail) -diff --git a/tools/testing/selftests/sched_ext/dsp_local_on.bpf.c b/tools/testing/selftests/sched_ext/dsp_local_on.bpf.c -new file mode 100644 -index 000000000000..efb4672decb4 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/dsp_local_on.bpf.c -@@ -0,0 +1,65 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+const volatile s32 nr_cpus; -+ -+UEI_DEFINE(uei); -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_QUEUE); -+ __uint(max_entries, 8192); -+ __type(value, s32); -+} queue SEC(".maps"); -+ -+s32 BPF_STRUCT_OPS(dsp_local_on_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(dsp_local_on_enqueue, struct task_struct *p, -+ u64 enq_flags) -+{ -+ s32 pid = p->pid; -+ -+ if (bpf_map_push_elem(&queue, &pid, 0)) -+ scx_bpf_error("Failed to enqueue %s[%d]", p->comm, p->pid); -+} -+ -+void BPF_STRUCT_OPS(dsp_local_on_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ s32 pid, target; -+ struct task_struct *p; -+ -+ if (bpf_map_pop_elem(&queue, &pid)) -+ return; -+ -+ p = bpf_task_from_pid(pid); -+ if (!p) -+ return; -+ -+ target = bpf_get_prandom_u32() % nr_cpus; -+ -+ scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); -+ bpf_task_release(p); -+} -+ -+void BPF_STRUCT_OPS(dsp_local_on_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops dsp_local_on_ops = { -+ .select_cpu = dsp_local_on_select_cpu, -+ .enqueue = dsp_local_on_enqueue, -+ .dispatch = dsp_local_on_dispatch, -+ .exit = dsp_local_on_exit, -+ .name = "dsp_local_on", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/dsp_local_on.c b/tools/testing/selftests/sched_ext/dsp_local_on.c -new file mode 100644 -index 000000000000..472851b56854 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/dsp_local_on.c -@@ -0,0 +1,58 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include "dsp_local_on.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct dsp_local_on *skel; -+ -+ skel = dsp_local_on__open(); -+ SCX_FAIL_IF(!skel, "Failed to open"); -+ -+ skel->rodata->nr_cpus = libbpf_num_possible_cpus(); -+ SCX_FAIL_IF(dsp_local_on__load(skel), "Failed to load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct dsp_local_on *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.dsp_local_on_ops); -+ SCX_FAIL_IF(!link, "Failed to attach struct_ops"); -+ -+ /* Just sleeping is fine, plenty of scheduling events happening */ -+ sleep(1); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_ERROR)); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct dsp_local_on *skel = ctx; -+ -+ dsp_local_on__destroy(skel); -+} -+ -+struct scx_test dsp_local_on = { -+ .name = "dsp_local_on", -+ .description = "Verify we can directly dispatch tasks to a local DSQs " -+ "from osp.dispatch()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&dsp_local_on) -diff --git a/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.bpf.c b/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.bpf.c -new file mode 100644 -index 000000000000..b0b99531d5d5 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.bpf.c -@@ -0,0 +1,21 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops enq_last_no_enq_fails_ops = { -+ .name = "enq_last_no_enq_fails", -+ /* Need to define ops.enqueue() with SCX_OPS_ENQ_LAST */ -+ .flags = SCX_OPS_ENQ_LAST, -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.c b/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.c -new file mode 100644 -index 000000000000..2a3eda5e2c0b ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/enq_last_no_enq_fails.c -@@ -0,0 +1,60 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "enq_last_no_enq_fails.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct enq_last_no_enq_fails *skel; -+ -+ skel = enq_last_no_enq_fails__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct enq_last_no_enq_fails *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.enq_last_no_enq_fails_ops); -+ if (link) { -+ SCX_ERR("Incorrectly succeeded in to attaching scheduler"); -+ return SCX_TEST_FAIL; -+ } -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct enq_last_no_enq_fails *skel = ctx; -+ -+ enq_last_no_enq_fails__destroy(skel); -+} -+ -+struct scx_test enq_last_no_enq_fails = { -+ .name = "enq_last_no_enq_fails", -+ .description = "Verify we fail to load a scheduler if we specify " -+ "the SCX_OPS_ENQ_LAST flag without defining " -+ "ops.enqueue()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&enq_last_no_enq_fails) -diff --git a/tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c b/tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c -new file mode 100644 -index 000000000000..b3dfc1033cd6 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c -@@ -0,0 +1,43 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+/* Manually specify the signature until the kfunc is added to the scx repo. */ -+s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, -+ bool *found) __ksym; -+ -+s32 BPF_STRUCT_OPS(enq_select_cpu_fails_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(enq_select_cpu_fails_enqueue, struct task_struct *p, -+ u64 enq_flags) -+{ -+ /* -+ * Need to initialize the variable or the verifier will fail to load. -+ * Improving these semantics is actively being worked on. -+ */ -+ bool found = false; -+ -+ /* Can only call from ops.select_cpu() */ -+ scx_bpf_select_cpu_dfl(p, 0, 0, &found); -+ -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops enq_select_cpu_fails_ops = { -+ .select_cpu = enq_select_cpu_fails_select_cpu, -+ .enqueue = enq_select_cpu_fails_enqueue, -+ .name = "enq_select_cpu_fails", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/enq_select_cpu_fails.c b/tools/testing/selftests/sched_ext/enq_select_cpu_fails.c -new file mode 100644 -index 000000000000..dd1350e5f002 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/enq_select_cpu_fails.c -@@ -0,0 +1,61 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "enq_select_cpu_fails.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct enq_select_cpu_fails *skel; -+ -+ skel = enq_select_cpu_fails__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct enq_select_cpu_fails *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.enq_select_cpu_fails_ops); -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ return SCX_TEST_FAIL; -+ } -+ -+ sleep(1); -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct enq_select_cpu_fails *skel = ctx; -+ -+ enq_select_cpu_fails__destroy(skel); -+} -+ -+struct scx_test enq_select_cpu_fails = { -+ .name = "enq_select_cpu_fails", -+ .description = "Verify we fail to call scx_bpf_select_cpu_dfl() " -+ "from ops.enqueue()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&enq_select_cpu_fails) -diff --git a/tools/testing/selftests/sched_ext/exit.bpf.c b/tools/testing/selftests/sched_ext/exit.bpf.c -new file mode 100644 -index 000000000000..ae12ddaac921 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/exit.bpf.c -@@ -0,0 +1,84 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+#include "exit_test.h" -+ -+const volatile int exit_point; -+UEI_DEFINE(uei); -+ -+#define EXIT_CLEANLY() scx_bpf_exit(exit_point, "%d", exit_point) -+ -+s32 BPF_STRUCT_OPS(exit_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ bool found; -+ -+ if (exit_point == EXIT_SELECT_CPU) -+ EXIT_CLEANLY(); -+ -+ return scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &found); -+} -+ -+void BPF_STRUCT_OPS(exit_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ if (exit_point == EXIT_ENQUEUE) -+ EXIT_CLEANLY(); -+ -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); -+} -+ -+void BPF_STRUCT_OPS(exit_dispatch, s32 cpu, struct task_struct *p) -+{ -+ if (exit_point == EXIT_DISPATCH) -+ EXIT_CLEANLY(); -+ -+ scx_bpf_consume(SCX_DSQ_GLOBAL); -+} -+ -+void BPF_STRUCT_OPS(exit_enable, struct task_struct *p) -+{ -+ if (exit_point == EXIT_ENABLE) -+ EXIT_CLEANLY(); -+} -+ -+s32 BPF_STRUCT_OPS(exit_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ if (exit_point == EXIT_INIT_TASK) -+ EXIT_CLEANLY(); -+ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(exit_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(exit_init) -+{ -+ if (exit_point == EXIT_INIT) -+ EXIT_CLEANLY(); -+ -+ return 0; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops exit_ops = { -+ .select_cpu = exit_select_cpu, -+ .enqueue = exit_enqueue, -+ .dispatch = exit_dispatch, -+ .init_task = exit_init_task, -+ .enable = exit_enable, -+ .exit = exit_exit, -+ .init = exit_init, -+ .name = "exit", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/exit.c b/tools/testing/selftests/sched_ext/exit.c -new file mode 100644 -index 000000000000..31bcd06e21cd ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/exit.c -@@ -0,0 +1,55 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include "exit.bpf.skel.h" -+#include "scx_test.h" -+ -+#include "exit_test.h" -+ -+static enum scx_test_status run(void *ctx) -+{ -+ enum exit_test_case tc; -+ -+ for (tc = 0; tc < NUM_EXITS; tc++) { -+ struct exit *skel; -+ struct bpf_link *link; -+ char buf[16]; -+ -+ skel = exit__open(); -+ skel->rodata->exit_point = tc; -+ exit__load(skel); -+ link = bpf_map__attach_struct_ops(skel->maps.exit_ops); -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ exit__destroy(skel); -+ return SCX_TEST_FAIL; -+ } -+ -+ /* Assumes uei.kind is written last */ -+ while (skel->data->uei.kind == EXIT_KIND(SCX_EXIT_NONE)) -+ sched_yield(); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_UNREG_BPF)); -+ SCX_EQ(skel->data->uei.exit_code, tc); -+ sprintf(buf, "%d", tc); -+ SCX_ASSERT(!strcmp(skel->data->uei.msg, buf)); -+ bpf_link__destroy(link); -+ exit__destroy(skel); -+ } -+ -+ return SCX_TEST_PASS; -+} -+ -+struct scx_test exit_test = { -+ .name = "exit", -+ .description = "Verify we can cleanly exit a scheduler in multiple places", -+ .run = run, -+}; -+REGISTER_SCX_TEST(&exit_test) -diff --git a/tools/testing/selftests/sched_ext/exit_test.h b/tools/testing/selftests/sched_ext/exit_test.h -new file mode 100644 -index 000000000000..94f0268b9cb8 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/exit_test.h -@@ -0,0 +1,20 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#ifndef __EXIT_TEST_H__ -+#define __EXIT_TEST_H__ -+ -+enum exit_test_case { -+ EXIT_SELECT_CPU, -+ EXIT_ENQUEUE, -+ EXIT_DISPATCH, -+ EXIT_ENABLE, -+ EXIT_INIT_TASK, -+ EXIT_INIT, -+ NUM_EXITS, -+}; -+ -+#endif // # __EXIT_TEST_H__ -diff --git a/tools/testing/selftests/sched_ext/hotplug.bpf.c b/tools/testing/selftests/sched_ext/hotplug.bpf.c -new file mode 100644 -index 000000000000..8f2601db39f3 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/hotplug.bpf.c -@@ -0,0 +1,61 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+#include "hotplug_test.h" -+ -+UEI_DEFINE(uei); -+ -+void BPF_STRUCT_OPS(hotplug_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+static void exit_from_hotplug(s32 cpu, bool onlining) -+{ -+ /* -+ * Ignored, just used to verify that we can invoke blocking kfuncs -+ * from the hotplug path. -+ */ -+ scx_bpf_create_dsq(0, -1); -+ -+ s64 code = SCX_ECODE_ACT_RESTART | HOTPLUG_EXIT_RSN; -+ -+ if (onlining) -+ code |= HOTPLUG_ONLINING; -+ -+ scx_bpf_exit(code, "hotplug event detected (%d going %s)", cpu, -+ onlining ? "online" : "offline"); -+} -+ -+void BPF_STRUCT_OPS_SLEEPABLE(hotplug_cpu_online, s32 cpu) -+{ -+ exit_from_hotplug(cpu, true); -+} -+ -+void BPF_STRUCT_OPS_SLEEPABLE(hotplug_cpu_offline, s32 cpu) -+{ -+ exit_from_hotplug(cpu, false); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops hotplug_cb_ops = { -+ .cpu_online = hotplug_cpu_online, -+ .cpu_offline = hotplug_cpu_offline, -+ .exit = hotplug_exit, -+ .name = "hotplug_cbs", -+ .timeout_ms = 1000U, -+}; -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops hotplug_nocb_ops = { -+ .exit = hotplug_exit, -+ .name = "hotplug_nocbs", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/hotplug.c b/tools/testing/selftests/sched_ext/hotplug.c -new file mode 100644 -index 000000000000..87bf220b1bce ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/hotplug.c -@@ -0,0 +1,168 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+ -+#include "hotplug_test.h" -+#include "hotplug.bpf.skel.h" -+#include "scx_test.h" -+#include "util.h" -+ -+const char *online_path = "/sys/devices/system/cpu/cpu1/online"; -+ -+static bool is_cpu_online(void) -+{ -+ return file_read_long(online_path) > 0; -+} -+ -+static void toggle_online_status(bool online) -+{ -+ long val = online ? 1 : 0; -+ int ret; -+ -+ ret = file_write_long(online_path, val); -+ if (ret != 0) -+ fprintf(stderr, "Failed to bring CPU %s (%s)", -+ online ? "online" : "offline", strerror(errno)); -+} -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ if (!is_cpu_online()) -+ return SCX_TEST_SKIP; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status test_hotplug(bool onlining, bool cbs_defined) -+{ -+ struct hotplug *skel; -+ struct bpf_link *link; -+ long kind, code; -+ -+ SCX_ASSERT(is_cpu_online()); -+ -+ skel = hotplug__open_and_load(); -+ SCX_ASSERT(skel); -+ -+ /* Testing the offline -> online path, so go offline before starting */ -+ if (onlining) -+ toggle_online_status(0); -+ -+ if (cbs_defined) { -+ kind = SCX_KIND_VAL(SCX_EXIT_UNREG_BPF); -+ code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | HOTPLUG_EXIT_RSN; -+ if (onlining) -+ code |= HOTPLUG_ONLINING; -+ } else { -+ kind = SCX_KIND_VAL(SCX_EXIT_UNREG_KERN); -+ code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | -+ SCX_ECODE_VAL(SCX_ECODE_RSN_HOTPLUG); -+ } -+ -+ if (cbs_defined) -+ link = bpf_map__attach_struct_ops(skel->maps.hotplug_cb_ops); -+ else -+ link = bpf_map__attach_struct_ops(skel->maps.hotplug_nocb_ops); -+ -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ hotplug__destroy(skel); -+ return SCX_TEST_FAIL; -+ } -+ -+ toggle_online_status(onlining ? 1 : 0); -+ -+ while (!UEI_EXITED(skel, uei)) -+ sched_yield(); -+ -+ SCX_EQ(skel->data->uei.kind, kind); -+ SCX_EQ(UEI_REPORT(skel, uei), code); -+ -+ if (!onlining) -+ toggle_online_status(1); -+ -+ bpf_link__destroy(link); -+ hotplug__destroy(skel); -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status test_hotplug_attach(void) -+{ -+ struct hotplug *skel; -+ struct bpf_link *link; -+ enum scx_test_status status = SCX_TEST_PASS; -+ long kind, code; -+ -+ SCX_ASSERT(is_cpu_online()); -+ SCX_ASSERT(scx_hotplug_seq() > 0); -+ -+ skel = SCX_OPS_OPEN(hotplug_nocb_ops, hotplug); -+ SCX_ASSERT(skel); -+ -+ SCX_OPS_LOAD(skel, hotplug_nocb_ops, hotplug, uei); -+ -+ /* -+ * Take the CPU offline to increment the global hotplug seq, which -+ * should cause attach to fail due to us setting the hotplug seq above -+ */ -+ toggle_online_status(0); -+ link = bpf_map__attach_struct_ops(skel->maps.hotplug_nocb_ops); -+ -+ toggle_online_status(1); -+ -+ SCX_ASSERT(link); -+ while (!UEI_EXITED(skel, uei)) -+ sched_yield(); -+ -+ kind = SCX_KIND_VAL(SCX_EXIT_UNREG_KERN); -+ code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | -+ SCX_ECODE_VAL(SCX_ECODE_RSN_HOTPLUG); -+ SCX_EQ(skel->data->uei.kind, kind); -+ SCX_EQ(UEI_REPORT(skel, uei), code); -+ -+ bpf_link__destroy(link); -+ hotplug__destroy(skel); -+ -+ return status; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ -+#define HP_TEST(__onlining, __cbs_defined) ({ \ -+ if (test_hotplug(__onlining, __cbs_defined) != SCX_TEST_PASS) \ -+ return SCX_TEST_FAIL; \ -+}) -+ -+ HP_TEST(true, true); -+ HP_TEST(false, true); -+ HP_TEST(true, false); -+ HP_TEST(false, false); -+ -+#undef HP_TEST -+ -+ return test_hotplug_attach(); -+} -+ -+static void cleanup(void *ctx) -+{ -+ toggle_online_status(1); -+} -+ -+struct scx_test hotplug_test = { -+ .name = "hotplug", -+ .description = "Verify hotplug behavior", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&hotplug_test) -diff --git a/tools/testing/selftests/sched_ext/hotplug_test.h b/tools/testing/selftests/sched_ext/hotplug_test.h -new file mode 100644 -index 000000000000..73d236f90787 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/hotplug_test.h -@@ -0,0 +1,15 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#ifndef __HOTPLUG_TEST_H__ -+#define __HOTPLUG_TEST_H__ -+ -+enum hotplug_test_flags { -+ HOTPLUG_EXIT_RSN = 1LLU << 0, -+ HOTPLUG_ONLINING = 1LLU << 1, -+}; -+ -+#endif // # __HOTPLUG_TEST_H__ -diff --git a/tools/testing/selftests/sched_ext/init_enable_count.bpf.c b/tools/testing/selftests/sched_ext/init_enable_count.bpf.c -new file mode 100644 -index 000000000000..47ea89a626c3 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/init_enable_count.bpf.c -@@ -0,0 +1,53 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that verifies that we do proper counting of init, enable, etc -+ * callbacks. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+u64 init_task_cnt, exit_task_cnt, enable_cnt, disable_cnt; -+u64 init_fork_cnt, init_transition_cnt; -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(cnt_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ __sync_fetch_and_add(&init_task_cnt, 1); -+ -+ if (args->fork) -+ __sync_fetch_and_add(&init_fork_cnt, 1); -+ else -+ __sync_fetch_and_add(&init_transition_cnt, 1); -+ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(cnt_exit_task, struct task_struct *p) -+{ -+ __sync_fetch_and_add(&exit_task_cnt, 1); -+} -+ -+void BPF_STRUCT_OPS(cnt_enable, struct task_struct *p) -+{ -+ __sync_fetch_and_add(&enable_cnt, 1); -+} -+ -+void BPF_STRUCT_OPS(cnt_disable, struct task_struct *p) -+{ -+ __sync_fetch_and_add(&disable_cnt, 1); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops init_enable_count_ops = { -+ .init_task = cnt_init_task, -+ .exit_task = cnt_exit_task, -+ .enable = cnt_enable, -+ .disable = cnt_disable, -+ .name = "init_enable_count", -+}; -diff --git a/tools/testing/selftests/sched_ext/init_enable_count.c b/tools/testing/selftests/sched_ext/init_enable_count.c -new file mode 100644 -index 000000000000..97d45f1e5597 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/init_enable_count.c -@@ -0,0 +1,166 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+#include "scx_test.h" -+#include "init_enable_count.bpf.skel.h" -+ -+#define SCHED_EXT 7 -+ -+static struct init_enable_count * -+open_load_prog(bool global) -+{ -+ struct init_enable_count *skel; -+ -+ skel = init_enable_count__open(); -+ SCX_BUG_ON(!skel, "Failed to open skel"); -+ -+ if (!global) -+ skel->struct_ops.init_enable_count_ops->flags |= SCX_OPS_SWITCH_PARTIAL; -+ -+ SCX_BUG_ON(init_enable_count__load(skel), "Failed to load skel"); -+ -+ return skel; -+} -+ -+static enum scx_test_status run_test(bool global) -+{ -+ struct init_enable_count *skel; -+ struct bpf_link *link; -+ const u32 num_children = 5, num_pre_forks = 1024; -+ int ret, i, status; -+ struct sched_param param = {}; -+ pid_t pids[num_pre_forks]; -+ -+ skel = open_load_prog(global); -+ -+ /* -+ * Fork a bunch of children before we attach the scheduler so that we -+ * ensure (at least in practical terms) that there are more tasks that -+ * transition from SCHED_OTHER -> SCHED_EXT than there are tasks that -+ * take the fork() path either below or in other processes. -+ */ -+ for (i = 0; i < num_pre_forks; i++) { -+ pids[i] = fork(); -+ SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); -+ if (pids[i] == 0) { -+ sleep(1); -+ exit(0); -+ } -+ } -+ -+ link = bpf_map__attach_struct_ops(skel->maps.init_enable_count_ops); -+ SCX_FAIL_IF(!link, "Failed to attach struct_ops"); -+ -+ for (i = 0; i < num_pre_forks; i++) { -+ SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], -+ "Failed to wait for pre-forked child\n"); -+ -+ SCX_FAIL_IF(status != 0, "Pre-forked child %d exited with status %d\n", i, -+ status); -+ } -+ -+ bpf_link__destroy(link); -+ SCX_GE(skel->bss->init_task_cnt, num_pre_forks); -+ SCX_GE(skel->bss->exit_task_cnt, num_pre_forks); -+ -+ link = bpf_map__attach_struct_ops(skel->maps.init_enable_count_ops); -+ SCX_FAIL_IF(!link, "Failed to attach struct_ops"); -+ -+ /* SCHED_EXT children */ -+ for (i = 0; i < num_children; i++) { -+ pids[i] = fork(); -+ SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); -+ -+ if (pids[i] == 0) { -+ ret = sched_setscheduler(0, SCHED_EXT, ¶m); -+ SCX_BUG_ON(ret, "Failed to set sched to sched_ext"); -+ -+ /* -+ * Reset to SCHED_OTHER for half of them. Counts for -+ * everything should still be the same regardless, as -+ * ops.disable() is invoked even if a task is still on -+ * SCHED_EXT before it exits. -+ */ -+ if (i % 2 == 0) { -+ ret = sched_setscheduler(0, SCHED_OTHER, ¶m); -+ SCX_BUG_ON(ret, "Failed to reset sched to normal"); -+ } -+ exit(0); -+ } -+ } -+ for (i = 0; i < num_children; i++) { -+ SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], -+ "Failed to wait for SCX child\n"); -+ -+ SCX_FAIL_IF(status != 0, "SCX child %d exited with status %d\n", i, -+ status); -+ } -+ -+ /* SCHED_OTHER children */ -+ for (i = 0; i < num_children; i++) { -+ pids[i] = fork(); -+ if (pids[i] == 0) -+ exit(0); -+ } -+ -+ for (i = 0; i < num_children; i++) { -+ SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], -+ "Failed to wait for normal child\n"); -+ -+ SCX_FAIL_IF(status != 0, "Normal child %d exited with status %d\n", i, -+ status); -+ } -+ -+ bpf_link__destroy(link); -+ -+ SCX_GE(skel->bss->init_task_cnt, 2 * num_children); -+ SCX_GE(skel->bss->exit_task_cnt, 2 * num_children); -+ -+ if (global) { -+ SCX_GE(skel->bss->enable_cnt, 2 * num_children); -+ SCX_GE(skel->bss->disable_cnt, 2 * num_children); -+ } else { -+ SCX_EQ(skel->bss->enable_cnt, num_children); -+ SCX_EQ(skel->bss->disable_cnt, num_children); -+ } -+ /* -+ * We forked a ton of tasks before we attached the scheduler above, so -+ * this should be fine. Technically it could be flaky if a ton of forks -+ * are happening at the same time in other processes, but that should -+ * be exceedingly unlikely. -+ */ -+ SCX_GT(skel->bss->init_transition_cnt, skel->bss->init_fork_cnt); -+ SCX_GE(skel->bss->init_fork_cnt, 2 * num_children); -+ -+ init_enable_count__destroy(skel); -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ enum scx_test_status status; -+ -+ status = run_test(true); -+ if (status != SCX_TEST_PASS) -+ return status; -+ -+ return run_test(false); -+} -+ -+struct scx_test init_enable_count = { -+ .name = "init_enable_count", -+ .description = "Verify we do the correct amount of counting of init, " -+ "enable, etc callbacks.", -+ .run = run, -+}; -+REGISTER_SCX_TEST(&init_enable_count) -diff --git a/tools/testing/selftests/sched_ext/maximal.bpf.c b/tools/testing/selftests/sched_ext/maximal.bpf.c -new file mode 100644 -index 000000000000..00bfa9cb95d3 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maximal.bpf.c -@@ -0,0 +1,164 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler with every callback defined. -+ * -+ * This scheduler defines every callback. -+ * -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+s32 BPF_STRUCT_OPS(maximal_select_cpu, struct task_struct *p, s32 prev_cpu, -+ u64 wake_flags) -+{ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(maximal_enqueue, struct task_struct *p, u64 enq_flags) -+{ -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); -+} -+ -+void BPF_STRUCT_OPS(maximal_dequeue, struct task_struct *p, u64 deq_flags) -+{} -+ -+void BPF_STRUCT_OPS(maximal_dispatch, s32 cpu, struct task_struct *prev) -+{ -+ scx_bpf_consume(SCX_DSQ_GLOBAL); -+} -+ -+void BPF_STRUCT_OPS(maximal_runnable, struct task_struct *p, u64 enq_flags) -+{} -+ -+void BPF_STRUCT_OPS(maximal_running, struct task_struct *p) -+{} -+ -+void BPF_STRUCT_OPS(maximal_stopping, struct task_struct *p, bool runnable) -+{} -+ -+void BPF_STRUCT_OPS(maximal_quiescent, struct task_struct *p, u64 deq_flags) -+{} -+ -+bool BPF_STRUCT_OPS(maximal_yield, struct task_struct *from, -+ struct task_struct *to) -+{ -+ return false; -+} -+ -+bool BPF_STRUCT_OPS(maximal_core_sched_before, struct task_struct *a, -+ struct task_struct *b) -+{ -+ return false; -+} -+ -+void BPF_STRUCT_OPS(maximal_set_weight, struct task_struct *p, u32 weight) -+{} -+ -+void BPF_STRUCT_OPS(maximal_set_cpumask, struct task_struct *p, -+ const struct cpumask *cpumask) -+{} -+ -+void BPF_STRUCT_OPS(maximal_update_idle, s32 cpu, bool idle) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cpu_acquire, s32 cpu, -+ struct scx_cpu_acquire_args *args) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cpu_release, s32 cpu, -+ struct scx_cpu_release_args *args) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cpu_online, s32 cpu) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cpu_offline, s32 cpu) -+{} -+ -+s32 BPF_STRUCT_OPS(maximal_init_task, struct task_struct *p, -+ struct scx_init_task_args *args) -+{ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(maximal_enable, struct task_struct *p) -+{} -+ -+void BPF_STRUCT_OPS(maximal_exit_task, struct task_struct *p, -+ struct scx_exit_task_args *args) -+{} -+ -+void BPF_STRUCT_OPS(maximal_disable, struct task_struct *p) -+{} -+ -+s32 BPF_STRUCT_OPS(maximal_cgroup_init, struct cgroup *cgrp, -+ struct scx_cgroup_init_args *args) -+{ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(maximal_cgroup_exit, struct cgroup *cgrp) -+{} -+ -+s32 BPF_STRUCT_OPS(maximal_cgroup_prep_move, struct task_struct *p, -+ struct cgroup *from, struct cgroup *to) -+{ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(maximal_cgroup_move, struct task_struct *p, -+ struct cgroup *from, struct cgroup *to) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cgroup_cancel_move, struct task_struct *p, -+ struct cgroup *from, struct cgroup *to) -+{} -+ -+void BPF_STRUCT_OPS(maximal_cgroup_set_weight, struct cgroup *cgrp, u32 weight) -+{} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(maximal_init) -+{ -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(maximal_exit, struct scx_exit_info *info) -+{} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops maximal_ops = { -+ .select_cpu = maximal_select_cpu, -+ .enqueue = maximal_enqueue, -+ .dequeue = maximal_dequeue, -+ .dispatch = maximal_dispatch, -+ .runnable = maximal_runnable, -+ .running = maximal_running, -+ .stopping = maximal_stopping, -+ .quiescent = maximal_quiescent, -+ .yield = maximal_yield, -+ .core_sched_before = maximal_core_sched_before, -+ .set_weight = maximal_set_weight, -+ .set_cpumask = maximal_set_cpumask, -+ .update_idle = maximal_update_idle, -+ .cpu_acquire = maximal_cpu_acquire, -+ .cpu_release = maximal_cpu_release, -+ .cpu_online = maximal_cpu_online, -+ .cpu_offline = maximal_cpu_offline, -+ .init_task = maximal_init_task, -+ .enable = maximal_enable, -+ .exit_task = maximal_exit_task, -+ .disable = maximal_disable, -+ .cgroup_init = maximal_cgroup_init, -+ .cgroup_exit = maximal_cgroup_exit, -+ .cgroup_prep_move = maximal_cgroup_prep_move, -+ .cgroup_move = maximal_cgroup_move, -+ .cgroup_cancel_move = maximal_cgroup_cancel_move, -+ .cgroup_set_weight = maximal_cgroup_set_weight, -+ .init = maximal_init, -+ .exit = maximal_exit, -+ .name = "maximal", -+}; -diff --git a/tools/testing/selftests/sched_ext/maximal.c b/tools/testing/selftests/sched_ext/maximal.c -new file mode 100644 -index 000000000000..f38fc973c380 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maximal.c -@@ -0,0 +1,51 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include "maximal.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct maximal *skel; -+ -+ skel = maximal__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct maximal *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.maximal_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct maximal *skel = ctx; -+ -+ maximal__destroy(skel); -+} -+ -+struct scx_test maximal = { -+ .name = "maximal", -+ .description = "Verify we can load a scheduler with every callback defined", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&maximal) -diff --git a/tools/testing/selftests/sched_ext/maybe_null.bpf.c b/tools/testing/selftests/sched_ext/maybe_null.bpf.c -new file mode 100644 -index 000000000000..27d0f386acfb ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maybe_null.bpf.c -@@ -0,0 +1,36 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+u64 vtime_test; -+ -+void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) -+{} -+ -+void BPF_STRUCT_OPS(maybe_null_success_dispatch, s32 cpu, struct task_struct *p) -+{ -+ if (p != NULL) -+ vtime_test = p->scx.dsq_vtime; -+} -+ -+bool BPF_STRUCT_OPS(maybe_null_success_yield, struct task_struct *from, -+ struct task_struct *to) -+{ -+ if (to) -+ bpf_printk("Yielding to %s[%d]", to->comm, to->pid); -+ -+ return false; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops maybe_null_success = { -+ .dispatch = maybe_null_success_dispatch, -+ .yield = maybe_null_success_yield, -+ .enable = maybe_null_running, -+ .name = "minimal", -+}; -diff --git a/tools/testing/selftests/sched_ext/maybe_null.c b/tools/testing/selftests/sched_ext/maybe_null.c -new file mode 100644 -index 000000000000..31cfafb0cf65 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maybe_null.c -@@ -0,0 +1,49 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ */ -+#include -+#include -+#include -+#include -+#include "maybe_null.bpf.skel.h" -+#include "maybe_null_fail_dsp.bpf.skel.h" -+#include "maybe_null_fail_yld.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct maybe_null *skel; -+ struct maybe_null_fail_dsp *fail_dsp; -+ struct maybe_null_fail_yld *fail_yld; -+ -+ skel = maybe_null__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load maybe_null skel"); -+ return SCX_TEST_FAIL; -+ } -+ maybe_null__destroy(skel); -+ -+ fail_dsp = maybe_null_fail_dsp__open_and_load(); -+ if (fail_dsp) { -+ maybe_null_fail_dsp__destroy(fail_dsp); -+ SCX_ERR("Should failed to open and load maybe_null_fail_dsp skel"); -+ return SCX_TEST_FAIL; -+ } -+ -+ fail_yld = maybe_null_fail_yld__open_and_load(); -+ if (fail_yld) { -+ maybe_null_fail_yld__destroy(fail_yld); -+ SCX_ERR("Should failed to open and load maybe_null_fail_yld skel"); -+ return SCX_TEST_FAIL; -+ } -+ -+ return SCX_TEST_PASS; -+} -+ -+struct scx_test maybe_null = { -+ .name = "maybe_null", -+ .description = "Verify if PTR_MAYBE_NULL work for .dispatch", -+ .run = run, -+}; -+REGISTER_SCX_TEST(&maybe_null) -diff --git a/tools/testing/selftests/sched_ext/maybe_null_fail_dsp.bpf.c b/tools/testing/selftests/sched_ext/maybe_null_fail_dsp.bpf.c -new file mode 100644 -index 000000000000..c0641050271d ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maybe_null_fail_dsp.bpf.c -@@ -0,0 +1,25 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+u64 vtime_test; -+ -+void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) -+{} -+ -+void BPF_STRUCT_OPS(maybe_null_fail_dispatch, s32 cpu, struct task_struct *p) -+{ -+ vtime_test = p->scx.dsq_vtime; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops maybe_null_fail = { -+ .dispatch = maybe_null_fail_dispatch, -+ .enable = maybe_null_running, -+ .name = "maybe_null_fail_dispatch", -+}; -diff --git a/tools/testing/selftests/sched_ext/maybe_null_fail_yld.bpf.c b/tools/testing/selftests/sched_ext/maybe_null_fail_yld.bpf.c -new file mode 100644 -index 000000000000..3c1740028e3b ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/maybe_null_fail_yld.bpf.c -@@ -0,0 +1,28 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+u64 vtime_test; -+ -+void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) -+{} -+ -+bool BPF_STRUCT_OPS(maybe_null_fail_yield, struct task_struct *from, -+ struct task_struct *to) -+{ -+ bpf_printk("Yielding to %s[%d]", to->comm, to->pid); -+ -+ return false; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops maybe_null_fail = { -+ .yield = maybe_null_fail_yield, -+ .enable = maybe_null_running, -+ .name = "maybe_null_fail_yield", -+}; -diff --git a/tools/testing/selftests/sched_ext/minimal.bpf.c b/tools/testing/selftests/sched_ext/minimal.bpf.c -new file mode 100644 -index 000000000000..6a7eccef0104 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/minimal.bpf.c -@@ -0,0 +1,21 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A completely minimal scheduler. -+ * -+ * This scheduler defines the absolute minimal set of struct sched_ext_ops -+ * fields: its name. It should _not_ fail to be loaded, and can be used to -+ * exercise the default scheduling paths in ext.c. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops minimal_ops = { -+ .name = "minimal", -+}; -diff --git a/tools/testing/selftests/sched_ext/minimal.c b/tools/testing/selftests/sched_ext/minimal.c -new file mode 100644 -index 000000000000..6c5db8ebbf8a ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/minimal.c -@@ -0,0 +1,58 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "minimal.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct minimal *skel; -+ -+ skel = minimal__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct minimal *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.minimal_ops); -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ return SCX_TEST_FAIL; -+ } -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct minimal *skel = ctx; -+ -+ minimal__destroy(skel); -+} -+ -+struct scx_test minimal = { -+ .name = "minimal", -+ .description = "Verify we can load a fully minimal scheduler", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&minimal) -diff --git a/tools/testing/selftests/sched_ext/prog_run.bpf.c b/tools/testing/selftests/sched_ext/prog_run.bpf.c -new file mode 100644 -index 000000000000..6a4d7c48e3f2 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/prog_run.bpf.c -@@ -0,0 +1,33 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates that we can invoke sched_ext kfuncs in -+ * BPF_PROG_TYPE_SYSCALL programs. -+ * -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#include -+ -+UEI_DEFINE(uei); -+ -+char _license[] SEC("license") = "GPL"; -+ -+SEC("syscall") -+int BPF_PROG(prog_run_syscall) -+{ -+ scx_bpf_create_dsq(0, -1); -+ scx_bpf_exit(0xdeadbeef, "Exited from PROG_RUN"); -+ return 0; -+} -+ -+void BPF_STRUCT_OPS(prog_run_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops prog_run_ops = { -+ .exit = prog_run_exit, -+ .name = "prog_run", -+}; -diff --git a/tools/testing/selftests/sched_ext/prog_run.c b/tools/testing/selftests/sched_ext/prog_run.c -new file mode 100644 -index 000000000000..3cd57ef8daaa ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/prog_run.c -@@ -0,0 +1,78 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include "prog_run.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct prog_run *skel; -+ -+ skel = prog_run__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct prog_run *skel = ctx; -+ struct bpf_link *link; -+ int prog_fd, err = 0; -+ -+ prog_fd = bpf_program__fd(skel->progs.prog_run_syscall); -+ if (prog_fd < 0) { -+ SCX_ERR("Failed to get BPF_PROG_RUN prog"); -+ return SCX_TEST_FAIL; -+ } -+ -+ LIBBPF_OPTS(bpf_test_run_opts, topts); -+ -+ link = bpf_map__attach_struct_ops(skel->maps.prog_run_ops); -+ if (!link) { -+ SCX_ERR("Failed to attach scheduler"); -+ close(prog_fd); -+ return SCX_TEST_FAIL; -+ } -+ -+ err = bpf_prog_test_run_opts(prog_fd, &topts); -+ SCX_EQ(err, 0); -+ -+ /* Assumes uei.kind is written last */ -+ while (skel->data->uei.kind == EXIT_KIND(SCX_EXIT_NONE)) -+ sched_yield(); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_UNREG_BPF)); -+ SCX_EQ(skel->data->uei.exit_code, 0xdeadbeef); -+ close(prog_fd); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct prog_run *skel = ctx; -+ -+ prog_run__destroy(skel); -+} -+ -+struct scx_test prog_run = { -+ .name = "prog_run", -+ .description = "Verify we can call into a scheduler with BPF_PROG_RUN, and invoke kfuncs", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&prog_run) -diff --git a/tools/testing/selftests/sched_ext/reload_loop.c b/tools/testing/selftests/sched_ext/reload_loop.c -new file mode 100644 -index 000000000000..5cfba2d6e056 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/reload_loop.c -@@ -0,0 +1,75 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include "maximal.bpf.skel.h" -+#include "scx_test.h" -+ -+static struct maximal *skel; -+static pthread_t threads[2]; -+ -+bool force_exit = false; -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ skel = maximal__open_and_load(); -+ if (!skel) { -+ SCX_ERR("Failed to open and load skel"); -+ return SCX_TEST_FAIL; -+ } -+ -+ return SCX_TEST_PASS; -+} -+ -+static void *do_reload_loop(void *arg) -+{ -+ u32 i; -+ -+ for (i = 0; i < 1024 && !force_exit; i++) { -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.maximal_ops); -+ if (link) -+ bpf_link__destroy(link); -+ } -+ -+ return NULL; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ int err; -+ void *ret; -+ -+ err = pthread_create(&threads[0], NULL, do_reload_loop, NULL); -+ SCX_FAIL_IF(err, "Failed to create thread 0"); -+ -+ err = pthread_create(&threads[1], NULL, do_reload_loop, NULL); -+ SCX_FAIL_IF(err, "Failed to create thread 1"); -+ -+ SCX_FAIL_IF(pthread_join(threads[0], &ret), "thread 0 failed"); -+ SCX_FAIL_IF(pthread_join(threads[1], &ret), "thread 1 failed"); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ force_exit = true; -+ maximal__destroy(skel); -+} -+ -+struct scx_test reload_loop = { -+ .name = "reload_loop", -+ .description = "Stress test loading and unloading schedulers repeatedly in a tight loop", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&reload_loop) -diff --git a/tools/testing/selftests/sched_ext/runner.c b/tools/testing/selftests/sched_ext/runner.c -new file mode 100644 -index 000000000000..eab48c7ff309 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/runner.c -@@ -0,0 +1,201 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include -+#include "scx_test.h" -+ -+const char help_fmt[] = -+"The runner for sched_ext tests.\n" -+"\n" -+"The runner is statically linked against all testcases, and runs them all serially.\n" -+"It's required for the testcases to be serial, as only a single host-wide sched_ext\n" -+"scheduler may be loaded at any given time." -+"\n" -+"Usage: %s [-t TEST] [-h]\n" -+"\n" -+" -t TEST Only run tests whose name includes this string\n" -+" -s Include print output for skipped tests\n" -+" -q Don't print the test descriptions during run\n" -+" -h Display this help and exit\n"; -+ -+static volatile int exit_req; -+static bool quiet, print_skipped; -+ -+#define MAX_SCX_TESTS 2048 -+ -+static struct scx_test __scx_tests[MAX_SCX_TESTS]; -+static unsigned __scx_num_tests = 0; -+ -+static void sigint_handler(int simple) -+{ -+ exit_req = 1; -+} -+ -+static void print_test_preamble(const struct scx_test *test, bool quiet) -+{ -+ printf("===== START =====\n"); -+ printf("TEST: %s\n", test->name); -+ if (!quiet) -+ printf("DESCRIPTION: %s\n", test->description); -+ printf("OUTPUT:\n"); -+} -+ -+static const char *status_to_result(enum scx_test_status status) -+{ -+ switch (status) { -+ case SCX_TEST_PASS: -+ case SCX_TEST_SKIP: -+ return "ok"; -+ case SCX_TEST_FAIL: -+ return "not ok"; -+ default: -+ return ""; -+ } -+} -+ -+static void print_test_result(const struct scx_test *test, -+ enum scx_test_status status, -+ unsigned int testnum) -+{ -+ const char *result = status_to_result(status); -+ const char *directive = status == SCX_TEST_SKIP ? "SKIP " : ""; -+ -+ printf("%s %u %s # %s\n", result, testnum, test->name, directive); -+ printf("===== END =====\n"); -+} -+ -+static bool should_skip_test(const struct scx_test *test, const char * filter) -+{ -+ return !strstr(test->name, filter); -+} -+ -+static enum scx_test_status run_test(const struct scx_test *test) -+{ -+ enum scx_test_status status; -+ void *context = NULL; -+ -+ if (test->setup) { -+ status = test->setup(&context); -+ if (status != SCX_TEST_PASS) -+ return status; -+ } -+ -+ status = test->run(context); -+ -+ if (test->cleanup) -+ test->cleanup(context); -+ -+ return status; -+} -+ -+static bool test_valid(const struct scx_test *test) -+{ -+ if (!test) { -+ fprintf(stderr, "NULL test detected\n"); -+ return false; -+ } -+ -+ if (!test->name) { -+ fprintf(stderr, -+ "Test with no name found. Must specify test name.\n"); -+ return false; -+ } -+ -+ if (!test->description) { -+ fprintf(stderr, "Test %s requires description.\n", test->name); -+ return false; -+ } -+ -+ if (!test->run) { -+ fprintf(stderr, "Test %s has no run() callback\n", test->name); -+ return false; -+ } -+ -+ return true; -+} -+ -+int main(int argc, char **argv) -+{ -+ const char *filter = NULL; -+ unsigned testnum = 0, i; -+ unsigned passed = 0, skipped = 0, failed = 0; -+ int opt; -+ -+ signal(SIGINT, sigint_handler); -+ signal(SIGTERM, sigint_handler); -+ -+ libbpf_set_strict_mode(LIBBPF_STRICT_ALL); -+ -+ while ((opt = getopt(argc, argv, "qst:h")) != -1) { -+ switch (opt) { -+ case 'q': -+ quiet = true; -+ break; -+ case 's': -+ print_skipped = true; -+ break; -+ case 't': -+ filter = optarg; -+ break; -+ default: -+ fprintf(stderr, help_fmt, basename(argv[0])); -+ return opt != 'h'; -+ } -+ } -+ -+ for (i = 0; i < __scx_num_tests; i++) { -+ enum scx_test_status status; -+ struct scx_test *test = &__scx_tests[i]; -+ -+ if (filter && should_skip_test(test, filter)) { -+ /* -+ * Printing the skipped tests and their preambles can -+ * add a lot of noise to the runner output. Printing -+ * this is only really useful for CI, so let's skip it -+ * by default. -+ */ -+ if (print_skipped) { -+ print_test_preamble(test, quiet); -+ print_test_result(test, SCX_TEST_SKIP, ++testnum); -+ } -+ continue; -+ } -+ -+ print_test_preamble(test, quiet); -+ status = run_test(test); -+ print_test_result(test, status, ++testnum); -+ switch (status) { -+ case SCX_TEST_PASS: -+ passed++; -+ break; -+ case SCX_TEST_SKIP: -+ skipped++; -+ break; -+ case SCX_TEST_FAIL: -+ failed++; -+ break; -+ } -+ } -+ printf("\n\n=============================\n\n"); -+ printf("RESULTS:\n\n"); -+ printf("PASSED: %u\n", passed); -+ printf("SKIPPED: %u\n", skipped); -+ printf("FAILED: %u\n", failed); -+ -+ return 0; -+} -+ -+void scx_test_register(struct scx_test *test) -+{ -+ SCX_BUG_ON(!test_valid(test), "Invalid test found"); -+ SCX_BUG_ON(__scx_num_tests >= MAX_SCX_TESTS, "Maximum tests exceeded"); -+ -+ __scx_tests[__scx_num_tests++] = *test; -+} -diff --git a/tools/testing/selftests/sched_ext/scx_test.h b/tools/testing/selftests/sched_ext/scx_test.h -new file mode 100644 -index 000000000000..90b8d6915bb7 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/scx_test.h -@@ -0,0 +1,131 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 Tejun Heo -+ * Copyright (c) 2023 David Vernet -+ */ -+ -+#ifndef __SCX_TEST_H__ -+#define __SCX_TEST_H__ -+ -+#include -+#include -+#include -+ -+enum scx_test_status { -+ SCX_TEST_PASS = 0, -+ SCX_TEST_SKIP, -+ SCX_TEST_FAIL, -+}; -+ -+#define EXIT_KIND(__ent) __COMPAT_ENUM_OR_ZERO("scx_exit_kind", #__ent) -+ -+struct scx_test { -+ /** -+ * name - The name of the testcase. -+ */ -+ const char *name; -+ -+ /** -+ * description - A description of your testcase: what it tests and is -+ * meant to validate. -+ */ -+ const char *description; -+ -+ /* -+ * setup - Setup the test. -+ * @ctx: A pointer to a context object that will be passed to run and -+ * cleanup. -+ * -+ * An optional callback that allows a testcase to perform setup for its -+ * run. A test may return SCX_TEST_SKIP to skip the run. -+ */ -+ enum scx_test_status (*setup)(void **ctx); -+ -+ /* -+ * run - Run the test. -+ * @ctx: Context set in the setup() callback. If @ctx was not set in -+ * setup(), it is NULL. -+ * -+ * The main test. Callers should return one of: -+ * -+ * - SCX_TEST_PASS: Test passed -+ * - SCX_TEST_SKIP: Test should be skipped -+ * - SCX_TEST_FAIL: Test failed -+ * -+ * This callback must be defined. -+ */ -+ enum scx_test_status (*run)(void *ctx); -+ -+ /* -+ * cleanup - Perform cleanup following the test -+ * @ctx: Context set in the setup() callback. If @ctx was not set in -+ * setup(), it is NULL. -+ * -+ * An optional callback that allows a test to perform cleanup after -+ * being run. This callback is run even if the run() callback returns -+ * SCX_TEST_SKIP or SCX_TEST_FAIL. It is not run if setup() returns -+ * SCX_TEST_SKIP or SCX_TEST_FAIL. -+ */ -+ void (*cleanup)(void *ctx); -+}; -+ -+void scx_test_register(struct scx_test *test); -+ -+#define REGISTER_SCX_TEST(__test) \ -+ __attribute__((constructor)) \ -+ static void ___scxregister##__LINE__(void) \ -+ { \ -+ scx_test_register(__test); \ -+ } -+ -+#define SCX_ERR(__fmt, ...) \ -+ do { \ -+ fprintf(stderr, "ERR: %s:%d\n", __FILE__, __LINE__); \ -+ fprintf(stderr, __fmt"\n", ##__VA_ARGS__); \ -+ } while (0) -+ -+#define SCX_FAIL(__fmt, ...) \ -+ do { \ -+ SCX_ERR(__fmt, ##__VA_ARGS__); \ -+ return SCX_TEST_FAIL; \ -+ } while (0) -+ -+#define SCX_FAIL_IF(__cond, __fmt, ...) \ -+ do { \ -+ if (__cond) \ -+ SCX_FAIL(__fmt, ##__VA_ARGS__); \ -+ } while (0) -+ -+#define SCX_GT(_x, _y) SCX_FAIL_IF((_x) <= (_y), "Expected %s > %s (%lu > %lu)", \ -+ #_x, #_y, (u64)(_x), (u64)(_y)) -+#define SCX_GE(_x, _y) SCX_FAIL_IF((_x) < (_y), "Expected %s >= %s (%lu >= %lu)", \ -+ #_x, #_y, (u64)(_x), (u64)(_y)) -+#define SCX_LT(_x, _y) SCX_FAIL_IF((_x) >= (_y), "Expected %s < %s (%lu < %lu)", \ -+ #_x, #_y, (u64)(_x), (u64)(_y)) -+#define SCX_LE(_x, _y) SCX_FAIL_IF((_x) > (_y), "Expected %s <= %s (%lu <= %lu)", \ -+ #_x, #_y, (u64)(_x), (u64)(_y)) -+#define SCX_EQ(_x, _y) SCX_FAIL_IF((_x) != (_y), "Expected %s == %s (%lu == %lu)", \ -+ #_x, #_y, (u64)(_x), (u64)(_y)) -+#define SCX_ASSERT(_x) SCX_FAIL_IF(!(_x), "Expected %s to be true (%lu)", \ -+ #_x, (u64)(_x)) -+ -+#define SCX_ECODE_VAL(__ecode) ({ \ -+ u64 __val = 0; \ -+ bool __found = false; \ -+ \ -+ __found = __COMPAT_read_enum("scx_exit_code", #__ecode, &__val); \ -+ SCX_ASSERT(__found); \ -+ (s64)__val; \ -+}) -+ -+#define SCX_KIND_VAL(__kind) ({ \ -+ u64 __val = 0; \ -+ bool __found = false; \ -+ \ -+ __found = __COMPAT_read_enum("scx_exit_kind", #__kind, &__val); \ -+ SCX_ASSERT(__found); \ -+ __val; \ -+}) -+ -+#endif // # __SCX_TEST_H__ -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c -new file mode 100644 -index 000000000000..2ed2991afafe ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c -@@ -0,0 +1,40 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+bool saw_local = false; -+ -+static bool task_is_test(const struct task_struct *p) -+{ -+ return !bpf_strncmp(p->comm, 9, "select_cpu"); -+} -+ -+void BPF_STRUCT_OPS(select_cpu_dfl_enqueue, struct task_struct *p, -+ u64 enq_flags) -+{ -+ const struct cpumask *idle_mask = scx_bpf_get_idle_cpumask(); -+ -+ if (task_is_test(p) && -+ bpf_cpumask_test_cpu(scx_bpf_task_cpu(p), idle_mask)) { -+ saw_local = true; -+ } -+ scx_bpf_put_idle_cpumask(idle_mask); -+ -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_dfl_ops = { -+ .enqueue = select_cpu_dfl_enqueue, -+ .name = "select_cpu_dfl", -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dfl.c b/tools/testing/selftests/sched_ext/select_cpu_dfl.c -new file mode 100644 -index 000000000000..a53a40c2d2f0 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dfl.c -@@ -0,0 +1,72 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_dfl.bpf.skel.h" -+#include "scx_test.h" -+ -+#define NUM_CHILDREN 1028 -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_dfl *skel; -+ -+ skel = select_cpu_dfl__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_dfl *skel = ctx; -+ struct bpf_link *link; -+ pid_t pids[NUM_CHILDREN]; -+ int i, status; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_dfl_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ pids[i] = fork(); -+ if (pids[i] == 0) { -+ sleep(1); -+ exit(0); -+ } -+ } -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ SCX_EQ(waitpid(pids[i], &status, 0), pids[i]); -+ SCX_EQ(status, 0); -+ } -+ -+ SCX_ASSERT(!skel->bss->saw_local); -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_dfl *skel = ctx; -+ -+ select_cpu_dfl__destroy(skel); -+} -+ -+struct scx_test select_cpu_dfl = { -+ .name = "select_cpu_dfl", -+ .description = "Verify the default ops.select_cpu() dispatches tasks " -+ "when idles cores are found, and skips ops.enqueue()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_dfl) -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c -new file mode 100644 -index 000000000000..4bb5abb2d369 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c -@@ -0,0 +1,89 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation, and with the SCX_OPS_ENQ_DFL_NO_DISPATCH ops flag -+ * specified. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+bool saw_local = false; -+ -+/* Per-task scheduling context */ -+struct task_ctx { -+ bool force_local; /* CPU changed by ops.select_cpu() */ -+}; -+ -+struct { -+ __uint(type, BPF_MAP_TYPE_TASK_STORAGE); -+ __uint(map_flags, BPF_F_NO_PREALLOC); -+ __type(key, int); -+ __type(value, struct task_ctx); -+} task_ctx_stor SEC(".maps"); -+ -+/* Manually specify the signature until the kfunc is added to the scx repo. */ -+s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, -+ bool *found) __ksym; -+ -+s32 BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ struct task_ctx *tctx; -+ s32 cpu; -+ -+ tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0); -+ if (!tctx) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return -ESRCH; -+ } -+ -+ cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, -+ &tctx->force_local); -+ -+ return cpu; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_enqueue, struct task_struct *p, -+ u64 enq_flags) -+{ -+ u64 dsq_id = SCX_DSQ_GLOBAL; -+ struct task_ctx *tctx; -+ -+ tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0); -+ if (!tctx) { -+ scx_bpf_error("task_ctx lookup failed"); -+ return; -+ } -+ -+ if (tctx->force_local) { -+ dsq_id = SCX_DSQ_LOCAL; -+ tctx->force_local = false; -+ saw_local = true; -+ } -+ -+ scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, enq_flags); -+} -+ -+s32 BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_init_task, -+ struct task_struct *p, struct scx_init_task_args *args) -+{ -+ if (bpf_task_storage_get(&task_ctx_stor, p, 0, -+ BPF_LOCAL_STORAGE_GET_F_CREATE)) -+ return 0; -+ else -+ return -ENOMEM; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_dfl_nodispatch_ops = { -+ .select_cpu = select_cpu_dfl_nodispatch_select_cpu, -+ .enqueue = select_cpu_dfl_nodispatch_enqueue, -+ .init_task = select_cpu_dfl_nodispatch_init_task, -+ .name = "select_cpu_dfl_nodispatch", -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.c b/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.c -new file mode 100644 -index 000000000000..1d85bf4bf3a3 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.c -@@ -0,0 +1,72 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_dfl_nodispatch.bpf.skel.h" -+#include "scx_test.h" -+ -+#define NUM_CHILDREN 1028 -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_dfl_nodispatch *skel; -+ -+ skel = select_cpu_dfl_nodispatch__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_dfl_nodispatch *skel = ctx; -+ struct bpf_link *link; -+ pid_t pids[NUM_CHILDREN]; -+ int i, status; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_dfl_nodispatch_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ pids[i] = fork(); -+ if (pids[i] == 0) { -+ sleep(1); -+ exit(0); -+ } -+ } -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ SCX_EQ(waitpid(pids[i], &status, 0), pids[i]); -+ SCX_EQ(status, 0); -+ } -+ -+ SCX_ASSERT(skel->bss->saw_local); -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_dfl_nodispatch *skel = ctx; -+ -+ select_cpu_dfl_nodispatch__destroy(skel); -+} -+ -+struct scx_test select_cpu_dfl_nodispatch = { -+ .name = "select_cpu_dfl_nodispatch", -+ .description = "Verify behavior of scx_bpf_select_cpu_dfl() in " -+ "ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_dfl_nodispatch) -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c -new file mode 100644 -index 000000000000..f0b96a4a04b2 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c -@@ -0,0 +1,41 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+s32 BPF_STRUCT_OPS(select_cpu_dispatch_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ u64 dsq_id = SCX_DSQ_LOCAL; -+ s32 cpu = prev_cpu; -+ -+ if (scx_bpf_test_and_clear_cpu_idle(cpu)) -+ goto dispatch; -+ -+ cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ if (cpu >= 0) -+ goto dispatch; -+ -+ dsq_id = SCX_DSQ_GLOBAL; -+ cpu = prev_cpu; -+ -+dispatch: -+ scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, 0); -+ return cpu; -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_dispatch_ops = { -+ .select_cpu = select_cpu_dispatch_select_cpu, -+ .name = "select_cpu_dispatch", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch.c -new file mode 100644 -index 000000000000..0309ca8785b3 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch.c -@@ -0,0 +1,70 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_dispatch.bpf.skel.h" -+#include "scx_test.h" -+ -+#define NUM_CHILDREN 1028 -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_dispatch *skel; -+ -+ skel = select_cpu_dispatch__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_dispatch *skel = ctx; -+ struct bpf_link *link; -+ pid_t pids[NUM_CHILDREN]; -+ int i, status; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_dispatch_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ pids[i] = fork(); -+ if (pids[i] == 0) { -+ sleep(1); -+ exit(0); -+ } -+ } -+ -+ for (i = 0; i < NUM_CHILDREN; i++) { -+ SCX_EQ(waitpid(pids[i], &status, 0), pids[i]); -+ SCX_EQ(status, 0); -+ } -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_dispatch *skel = ctx; -+ -+ select_cpu_dispatch__destroy(skel); -+} -+ -+struct scx_test select_cpu_dispatch = { -+ .name = "select_cpu_dispatch", -+ .description = "Test direct dispatching to built-in DSQs from " -+ "ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_dispatch) -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c -new file mode 100644 -index 000000000000..7b42ddce0f56 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c -@@ -0,0 +1,37 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+UEI_DEFINE(uei); -+ -+s32 BPF_STRUCT_OPS(select_cpu_dispatch_bad_dsq_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ /* Dispatching to a random DSQ should fail. */ -+ scx_bpf_dispatch(p, 0xcafef00d, SCX_SLICE_DFL, 0); -+ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_dispatch_bad_dsq_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_dispatch_bad_dsq_ops = { -+ .select_cpu = select_cpu_dispatch_bad_dsq_select_cpu, -+ .exit = select_cpu_dispatch_bad_dsq_exit, -+ .name = "select_cpu_dispatch_bad_dsq", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.c -new file mode 100644 -index 000000000000..47eb6ed7627d ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.c -@@ -0,0 +1,56 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_dispatch_bad_dsq.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_dispatch_bad_dsq *skel; -+ -+ skel = select_cpu_dispatch_bad_dsq__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_dispatch_bad_dsq *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_dispatch_bad_dsq_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ sleep(1); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_ERROR)); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_dispatch_bad_dsq *skel = ctx; -+ -+ select_cpu_dispatch_bad_dsq__destroy(skel); -+} -+ -+struct scx_test select_cpu_dispatch_bad_dsq = { -+ .name = "select_cpu_dispatch_bad_dsq", -+ .description = "Verify graceful failure if we direct-dispatch to a " -+ "bogus DSQ in ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_dispatch_bad_dsq) -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c -new file mode 100644 -index 000000000000..653e3dc0b4dc ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c -@@ -0,0 +1,38 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates the behavior of direct dispatching with a default -+ * select_cpu implementation. -+ * -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+UEI_DEFINE(uei); -+ -+s32 BPF_STRUCT_OPS(select_cpu_dispatch_dbl_dsp_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ /* Dispatching twice in a row is disallowed. */ -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); -+ scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); -+ -+ return prev_cpu; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_dispatch_dbl_dsp_exit, struct scx_exit_info *ei) -+{ -+ UEI_RECORD(uei, ei); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_dispatch_dbl_dsp_ops = { -+ .select_cpu = select_cpu_dispatch_dbl_dsp_select_cpu, -+ .exit = select_cpu_dispatch_dbl_dsp_exit, -+ .name = "select_cpu_dispatch_dbl_dsp", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.c b/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.c -new file mode 100644 -index 000000000000..48ff028a3c46 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.c -@@ -0,0 +1,56 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2023 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2023 David Vernet -+ * Copyright (c) 2023 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_dispatch_dbl_dsp.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_dispatch_dbl_dsp *skel; -+ -+ skel = select_cpu_dispatch_dbl_dsp__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_dispatch_dbl_dsp *skel = ctx; -+ struct bpf_link *link; -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_dispatch_dbl_dsp_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ sleep(1); -+ -+ SCX_EQ(skel->data->uei.kind, EXIT_KIND(SCX_EXIT_ERROR)); -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_dispatch_dbl_dsp *skel = ctx; -+ -+ select_cpu_dispatch_dbl_dsp__destroy(skel); -+} -+ -+struct scx_test select_cpu_dispatch_dbl_dsp = { -+ .name = "select_cpu_dispatch_dbl_dsp", -+ .description = "Verify graceful failure if we dispatch twice to a " -+ "DSQ in ops.select_cpu()", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_dispatch_dbl_dsp) -diff --git a/tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c b/tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c -new file mode 100644 -index 000000000000..7f3ebf4fc2ea ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c -@@ -0,0 +1,92 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * A scheduler that validates that enqueue flags are properly stored and -+ * applied at dispatch time when a task is directly dispatched from -+ * ops.select_cpu(). We validate this by using scx_bpf_dispatch_vtime(), and -+ * making the test a very basic vtime scheduler. -+ * -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+ -+#include -+ -+char _license[] SEC("license") = "GPL"; -+ -+volatile bool consumed; -+ -+static u64 vtime_now; -+ -+#define VTIME_DSQ 0 -+ -+static inline bool vtime_before(u64 a, u64 b) -+{ -+ return (s64)(a - b) < 0; -+} -+ -+static inline u64 task_vtime(const struct task_struct *p) -+{ -+ u64 vtime = p->scx.dsq_vtime; -+ -+ if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) -+ return vtime_now - SCX_SLICE_DFL; -+ else -+ return vtime; -+} -+ -+s32 BPF_STRUCT_OPS(select_cpu_vtime_select_cpu, struct task_struct *p, -+ s32 prev_cpu, u64 wake_flags) -+{ -+ s32 cpu; -+ -+ cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0); -+ if (cpu >= 0) -+ goto ddsp; -+ -+ cpu = prev_cpu; -+ scx_bpf_test_and_clear_cpu_idle(cpu); -+ddsp: -+ scx_bpf_dispatch_vtime(p, VTIME_DSQ, SCX_SLICE_DFL, task_vtime(p), 0); -+ return cpu; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_vtime_dispatch, s32 cpu, struct task_struct *p) -+{ -+ if (scx_bpf_consume(VTIME_DSQ)) -+ consumed = true; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_vtime_running, struct task_struct *p) -+{ -+ if (vtime_before(vtime_now, p->scx.dsq_vtime)) -+ vtime_now = p->scx.dsq_vtime; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_vtime_stopping, struct task_struct *p, -+ bool runnable) -+{ -+ p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; -+} -+ -+void BPF_STRUCT_OPS(select_cpu_vtime_enable, struct task_struct *p) -+{ -+ p->scx.dsq_vtime = vtime_now; -+} -+ -+s32 BPF_STRUCT_OPS_SLEEPABLE(select_cpu_vtime_init) -+{ -+ return scx_bpf_create_dsq(VTIME_DSQ, -1); -+} -+ -+SEC(".struct_ops.link") -+struct sched_ext_ops select_cpu_vtime_ops = { -+ .select_cpu = select_cpu_vtime_select_cpu, -+ .dispatch = select_cpu_vtime_dispatch, -+ .running = select_cpu_vtime_running, -+ .stopping = select_cpu_vtime_stopping, -+ .enable = select_cpu_vtime_enable, -+ .init = select_cpu_vtime_init, -+ .name = "select_cpu_vtime", -+ .timeout_ms = 1000U, -+}; -diff --git a/tools/testing/selftests/sched_ext/select_cpu_vtime.c b/tools/testing/selftests/sched_ext/select_cpu_vtime.c -new file mode 100644 -index 000000000000..b4629c2364f5 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/select_cpu_vtime.c -@@ -0,0 +1,59 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ * Copyright (c) 2024 Tejun Heo -+ */ -+#include -+#include -+#include -+#include -+#include "select_cpu_vtime.bpf.skel.h" -+#include "scx_test.h" -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ struct select_cpu_vtime *skel; -+ -+ skel = select_cpu_vtime__open_and_load(); -+ SCX_FAIL_IF(!skel, "Failed to open and load skel"); -+ *ctx = skel; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ struct select_cpu_vtime *skel = ctx; -+ struct bpf_link *link; -+ -+ SCX_ASSERT(!skel->bss->consumed); -+ -+ link = bpf_map__attach_struct_ops(skel->maps.select_cpu_vtime_ops); -+ SCX_FAIL_IF(!link, "Failed to attach scheduler"); -+ -+ sleep(1); -+ -+ SCX_ASSERT(skel->bss->consumed); -+ -+ bpf_link__destroy(link); -+ -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup(void *ctx) -+{ -+ struct select_cpu_vtime *skel = ctx; -+ -+ select_cpu_vtime__destroy(skel); -+} -+ -+struct scx_test select_cpu_vtime = { -+ .name = "select_cpu_vtime", -+ .description = "Test doing direct vtime-dispatching from " -+ "ops.select_cpu(), to a non-built-in DSQ", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&select_cpu_vtime) -diff --git a/tools/testing/selftests/sched_ext/test_example.c b/tools/testing/selftests/sched_ext/test_example.c -new file mode 100644 -index 000000000000..ce36cdf03cdc ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/test_example.c -@@ -0,0 +1,49 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 Tejun Heo -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include "scx_test.h" -+ -+static bool setup_called = false; -+static bool run_called = false; -+static bool cleanup_called = false; -+ -+static int context = 10; -+ -+static enum scx_test_status setup(void **ctx) -+{ -+ setup_called = true; -+ *ctx = &context; -+ -+ return SCX_TEST_PASS; -+} -+ -+static enum scx_test_status run(void *ctx) -+{ -+ int *arg = ctx; -+ -+ SCX_ASSERT(setup_called); -+ SCX_ASSERT(!run_called && !cleanup_called); -+ SCX_EQ(*arg, context); -+ -+ run_called = true; -+ return SCX_TEST_PASS; -+} -+ -+static void cleanup (void *ctx) -+{ -+ SCX_BUG_ON(!run_called || cleanup_called, "Wrong callbacks invoked"); -+} -+ -+struct scx_test example = { -+ .name = "example", -+ .description = "Validate the basic function of the test suite itself", -+ .setup = setup, -+ .run = run, -+ .cleanup = cleanup, -+}; -+REGISTER_SCX_TEST(&example) -diff --git a/tools/testing/selftests/sched_ext/util.c b/tools/testing/selftests/sched_ext/util.c -new file mode 100644 -index 000000000000..e47769c91918 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/util.c -@@ -0,0 +1,71 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+ -+/* Returns read len on success, or -errno on failure. */ -+static ssize_t read_text(const char *path, char *buf, size_t max_len) -+{ -+ ssize_t len; -+ int fd; -+ -+ fd = open(path, O_RDONLY); -+ if (fd < 0) -+ return -errno; -+ -+ len = read(fd, buf, max_len - 1); -+ -+ if (len >= 0) -+ buf[len] = 0; -+ -+ close(fd); -+ return len < 0 ? -errno : len; -+} -+ -+/* Returns written len on success, or -errno on failure. */ -+static ssize_t write_text(const char *path, char *buf, ssize_t len) -+{ -+ int fd; -+ ssize_t written; -+ -+ fd = open(path, O_WRONLY | O_APPEND); -+ if (fd < 0) -+ return -errno; -+ -+ written = write(fd, buf, len); -+ close(fd); -+ return written < 0 ? -errno : written; -+} -+ -+long file_read_long(const char *path) -+{ -+ char buf[128]; -+ -+ -+ if (read_text(path, buf, sizeof(buf)) <= 0) -+ return -1; -+ -+ return atol(buf); -+} -+ -+int file_write_long(const char *path, long val) -+{ -+ char buf[64]; -+ int ret; -+ -+ ret = sprintf(buf, "%lu", val); -+ if (ret < 0) -+ return ret; -+ -+ if (write_text(path, buf, sizeof(buf)) <= 0) -+ return -1; -+ -+ return 0; -+} -diff --git a/tools/testing/selftests/sched_ext/util.h b/tools/testing/selftests/sched_ext/util.h -new file mode 100644 -index 000000000000..bc13dfec1267 ---- /dev/null -+++ b/tools/testing/selftests/sched_ext/util.h -@@ -0,0 +1,13 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. -+ * Copyright (c) 2024 David Vernet -+ */ -+ -+#ifndef __SCX_TEST_UTIL_H__ -+#define __SCX_TEST_UTIL_H__ -+ -+long file_read_long(const char *path); -+int file_write_long(const char *path, long val); -+ -+#endif // __SCX_TEST_H__ --- -2.47.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sat, 12 Oct 2024 20:36:44 +0200 -Subject: add bore scheduler (linux6.11.y-bore5.6.1) - ---- - include/linux/sched.h | 20 +- - include/linux/sched/bore.h | 37 ++++ - init/Kconfig | 17 ++ - kernel/Kconfig.hz | 17 ++ - kernel/fork.c | 5 + - kernel/sched/Makefile | 1 + - kernel/sched/bore.c | 381 +++++++++++++++++++++++++++++++++++++ - kernel/sched/core.c | 7 + - kernel/sched/debug.c | 60 +++++- - kernel/sched/fair.c | 89 ++++++++- - kernel/sched/features.h | 4 + - kernel/sched/sched.h | 7 + - 12 files changed, 640 insertions(+), 5 deletions(-) - create mode 100644 include/linux/sched/bore.h - create mode 100644 kernel/sched/bore.c - -diff --git a/include/linux/sched.h b/include/linux/sched.h -index c5a7901b2580..bab2d659b667 100644 ---- a/include/linux/sched.h -+++ b/include/linux/sched.h -@@ -537,6 +537,14 @@ struct sched_statistics { - #endif /* CONFIG_SCHEDSTATS */ - } ____cacheline_aligned; - -+#ifdef CONFIG_SCHED_BORE -+struct sched_burst_cache { -+ u8 score; -+ u32 count; -+ u64 timestamp; -+}; -+#endif // CONFIG_SCHED_BORE -+ - struct sched_entity { - /* For load-balancing: */ - struct load_weight load; -@@ -545,12 +553,22 @@ struct sched_entity { - u64 min_vruntime; - - struct list_head group_node; -- unsigned int on_rq; -+ unsigned char on_rq; -+ unsigned char rel_deadline; - - u64 exec_start; - u64 sum_exec_runtime; - u64 prev_sum_exec_runtime; - u64 vruntime; -+#ifdef CONFIG_SCHED_BORE -+ u64 burst_time; -+ u8 prev_burst_penalty; -+ u8 curr_burst_penalty; -+ u8 burst_penalty; -+ u8 burst_score; -+ struct sched_burst_cache child_burst; -+ struct sched_burst_cache group_burst; -+#endif // CONFIG_SCHED_BORE - s64 vlag; - u64 slice; - -diff --git a/include/linux/sched/bore.h b/include/linux/sched/bore.h -new file mode 100644 -index 000000000000..12a613a94ff0 ---- /dev/null -+++ b/include/linux/sched/bore.h -@@ -0,0 +1,37 @@ -+ -+#include -+#include -+ -+#ifndef _LINUX_SCHED_BORE_H -+#define _LINUX_SCHED_BORE_H -+ -+#ifdef CONFIG_SCHED_BORE -+extern u8 __read_mostly sched_bore; -+extern u8 __read_mostly sched_burst_exclude_kthreads; -+extern u8 __read_mostly sched_burst_smoothness_long; -+extern u8 __read_mostly sched_burst_smoothness_short; -+extern u8 __read_mostly sched_burst_fork_atavistic; -+extern u8 __read_mostly sched_burst_parity_threshold; -+extern u8 __read_mostly sched_burst_penalty_offset; -+extern uint __read_mostly sched_burst_penalty_scale; -+extern uint __read_mostly sched_burst_cache_lifetime; -+extern uint __read_mostly sched_deadline_boost_mask; -+ -+extern void update_burst_score(struct sched_entity *se); -+extern void update_burst_penalty(struct sched_entity *se); -+ -+extern void restart_burst(struct sched_entity *se); -+extern void restart_burst_rescale_deadline(struct sched_entity *se); -+ -+extern int sched_bore_update_handler(const struct ctl_table *table, int write, -+ void __user *buffer, size_t *lenp, loff_t *ppos); -+ -+extern void sched_clone_bore( -+ struct task_struct *p, struct task_struct *parent, u64 clone_flags); -+ -+extern void init_task_bore(struct task_struct *p); -+ -+extern void reweight_entity( -+ struct cfs_rq *cfs_rq, struct sched_entity *se, unsigned long weight); -+#endif // CONFIG_SCHED_BORE -+#endif // _LINUX_SCHED_BORE_H -diff --git a/init/Kconfig b/init/Kconfig -index 34cfb0d41b26..d67aa0b27163 100644 ---- a/init/Kconfig -+++ b/init/Kconfig -@@ -1307,6 +1307,23 @@ config CHECKPOINT_RESTORE - - If unsure, say N here. - -+config SCHED_BORE -+ bool "Burst-Oriented Response Enhancer" -+ default y -+ help -+ In Desktop and Mobile computing, one might prefer interactive -+ tasks to keep responsive no matter what they run in the background. -+ -+ Enabling this kernel feature modifies the scheduler to discriminate -+ tasks by their burst time (runtime since it last went sleeping or -+ yielding state) and prioritize those that run less bursty. -+ Such tasks usually include window compositor, widgets backend, -+ terminal emulator, video playback, games and so on. -+ With a little impact to scheduling fairness, it may improve -+ responsiveness especially under heavy background workload. -+ -+ If unsure, say Y here. -+ - config SCHED_AUTOGROUP - bool "Automatic process group scheduling" - select CGROUPS -diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz -index 38ef6d06888e..253c566b5946 100644 ---- a/kernel/Kconfig.hz -+++ b/kernel/Kconfig.hz -@@ -55,5 +55,22 @@ config HZ - default 300 if HZ_300 - default 1000 if HZ_1000 - -+config MIN_BASE_SLICE_NS -+ int "Default value for min_base_slice_ns" -+ default 2000000 -+ help -+ The BORE Scheduler automatically calculates the optimal base -+ slice for the configured HZ using the following equation: -+ -+ base_slice_ns = -+ 1000000000/HZ * DIV_ROUNDUP(min_base_slice_ns, 1000000000/HZ) -+ -+ This option sets the default lower bound limit of the base slice -+ to prevent the loss of task throughput due to overscheduling. -+ -+ Setting this value too high can cause the system to boot with -+ an unnecessarily large base slice, resulting in high scheduling -+ latency and poor system responsiveness. -+ - config SCHED_HRTICK - def_bool HIGH_RES_TIMERS -diff --git a/kernel/fork.c b/kernel/fork.c -index 2c41c91a6495..7714d639f4bf 100644 ---- a/kernel/fork.c -+++ b/kernel/fork.c -@@ -113,6 +113,8 @@ - #include - #include - -+#include -+ - #include - - #define CREATE_TRACE_POINTS -@@ -2345,6 +2347,9 @@ __latent_entropy struct task_struct *copy_process( - retval = sched_fork(clone_flags, p); - if (retval) - goto bad_fork_cleanup_policy; -+#ifdef CONFIG_SCHED_BORE -+ sched_clone_bore(p, current, clone_flags); -+#endif // CONFIG_SCHED_BORE - - retval = perf_event_init_task(p, clone_flags); - if (retval) -diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile -index 976092b7bd45..293aad675444 100644 ---- a/kernel/sched/Makefile -+++ b/kernel/sched/Makefile -@@ -32,3 +32,4 @@ obj-y += core.o - obj-y += fair.o - obj-y += build_policy.o - obj-y += build_utility.o -+obj-y += bore.o -diff --git a/kernel/sched/bore.c b/kernel/sched/bore.c -new file mode 100644 -index 000000000000..cd7e8a8d6075 ---- /dev/null -+++ b/kernel/sched/bore.c -@@ -0,0 +1,381 @@ -+/* -+ * Burst-Oriented Response Enhancer (BORE) CPU Scheduler -+ * Copyright (C) 2021-2024 Masahito Suzuki -+ */ -+#include -+#include -+#include "sched.h" -+ -+#ifdef CONFIG_SCHED_BORE -+u8 __read_mostly sched_bore = 1; -+u8 __read_mostly sched_burst_exclude_kthreads = 1; -+u8 __read_mostly sched_burst_smoothness_long = 1; -+u8 __read_mostly sched_burst_smoothness_short = 0; -+u8 __read_mostly sched_burst_fork_atavistic = 2; -+u8 __read_mostly sched_burst_parity_threshold = 2; -+u8 __read_mostly sched_burst_penalty_offset = 24; -+uint __read_mostly sched_burst_penalty_scale = 1280; -+uint __read_mostly sched_burst_cache_lifetime = 60000000; -+uint __read_mostly sched_deadline_boost_mask = ENQUEUE_INITIAL -+ | ENQUEUE_WAKEUP; -+static int __maybe_unused sixty_four = 64; -+static int __maybe_unused maxval_u8 = 255; -+static int __maybe_unused maxval_12_bits = 4095; -+ -+#define MAX_BURST_PENALTY (39U <<2) -+ -+static inline u32 log2plus1_u64_u32f8(u64 v) { -+ u32 integral = fls64(v); -+ u8 fractional = v << (64 - integral) >> 55; -+ return integral << 8 | fractional; -+} -+ -+static inline u32 calc_burst_penalty(u64 burst_time) { -+ u32 greed, tolerance, penalty, scaled_penalty; -+ -+ greed = log2plus1_u64_u32f8(burst_time); -+ tolerance = sched_burst_penalty_offset << 8; -+ penalty = max(0, (s32)(greed - tolerance)); -+ scaled_penalty = penalty * sched_burst_penalty_scale >> 16; -+ -+ return min(MAX_BURST_PENALTY, scaled_penalty); -+} -+ -+static inline u64 __scale_slice(u64 delta, u8 score) -+{return mul_u64_u32_shr(delta, sched_prio_to_wmult[score], 22);} -+ -+static inline u64 __unscale_slice(u64 delta, u8 score) -+{return mul_u64_u32_shr(delta, sched_prio_to_weight[score], 10);} -+ -+static void reweight_task_by_prio(struct task_struct *p, int prio) { -+ struct sched_entity *se = &p->se; -+ unsigned long weight = scale_load(sched_prio_to_weight[prio]); -+ -+ reweight_entity(cfs_rq_of(se), se, weight); -+ se->load.inv_weight = sched_prio_to_wmult[prio]; -+} -+ -+static inline u8 effective_prio(struct task_struct *p) { -+ u8 prio = p->static_prio - MAX_RT_PRIO; -+ if (likely(sched_bore)) -+ prio += p->se.burst_score; -+ return min(39, prio); -+} -+ -+void update_burst_score(struct sched_entity *se) { -+ if (!entity_is_task(se)) return; -+ struct task_struct *p = task_of(se); -+ u8 prev_prio = effective_prio(p); -+ -+ u8 burst_score = 0; -+ if (!((p->flags & PF_KTHREAD) && likely(sched_burst_exclude_kthreads))) -+ burst_score = se->burst_penalty >> 2; -+ se->burst_score = burst_score; -+ -+ u8 new_prio = effective_prio(p); -+ if (new_prio != prev_prio) -+ reweight_task_by_prio(p, new_prio); -+} -+ -+void update_burst_penalty(struct sched_entity *se) { -+ se->curr_burst_penalty = calc_burst_penalty(se->burst_time); -+ se->burst_penalty = max(se->prev_burst_penalty, se->curr_burst_penalty); -+ update_burst_score(se); -+} -+ -+static inline u32 binary_smooth(u32 new, u32 old) { -+ int increment = new - old; -+ return (0 <= increment)? -+ old + ( increment >> (int)sched_burst_smoothness_long): -+ old - (-increment >> (int)sched_burst_smoothness_short); -+} -+ -+static void revolve_burst_penalty(struct sched_entity *se) { -+ se->prev_burst_penalty = -+ binary_smooth(se->curr_burst_penalty, se->prev_burst_penalty); -+ se->burst_time = 0; -+ se->curr_burst_penalty = 0; -+} -+ -+inline void restart_burst(struct sched_entity *se) { -+ revolve_burst_penalty(se); -+ se->burst_penalty = se->prev_burst_penalty; -+ update_burst_score(se); -+} -+ -+void restart_burst_rescale_deadline(struct sched_entity *se) { -+ s64 vscaled, wremain, vremain = se->deadline - se->vruntime; -+ struct task_struct *p = task_of(se); -+ u8 prev_prio = effective_prio(p); -+ restart_burst(se); -+ u8 new_prio = effective_prio(p); -+ if (prev_prio > new_prio) { -+ wremain = __unscale_slice(abs(vremain), prev_prio); -+ vscaled = __scale_slice(wremain, new_prio); -+ if (unlikely(vremain < 0)) -+ vscaled = -vscaled; -+ se->deadline = se->vruntime + vscaled; -+ } -+} -+ -+static inline bool task_is_bore_eligible(struct task_struct *p) -+{return p->sched_class == &fair_sched_class;} -+ -+static void reset_task_weights_bore(void) { -+ struct task_struct *task; -+ struct rq *rq; -+ struct rq_flags rf; -+ -+ write_lock_irq(&tasklist_lock); -+ for_each_process(task) { -+ if (!task_is_bore_eligible(task)) continue; -+ rq = task_rq(task); -+ rq_lock_irqsave(rq, &rf); -+ reweight_task_by_prio(task, effective_prio(task)); -+ rq_unlock_irqrestore(rq, &rf); -+ } -+ write_unlock_irq(&tasklist_lock); -+} -+ -+int sched_bore_update_handler(const struct ctl_table *table, int write, -+ void __user *buffer, size_t *lenp, loff_t *ppos) { -+ int ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); -+ if (ret || !write) -+ return ret; -+ -+ reset_task_weights_bore(); -+ -+ return 0; -+} -+ -+static u32 count_child_tasks(struct task_struct *p) { -+ struct task_struct *child; -+ u32 cnt = 0; -+ list_for_each_entry(child, &p->children, sibling) {cnt++;} -+ return cnt; -+} -+ -+static inline bool burst_cache_expired(struct sched_burst_cache *bc, u64 now) -+{return (s64)(bc->timestamp + sched_burst_cache_lifetime - now) < 0;} -+ -+static void update_burst_cache(struct sched_burst_cache *bc, -+ struct task_struct *p, u32 cnt, u32 sum, u64 now) { -+ u8 avg = cnt ? sum / cnt : 0; -+ bc->score = max(avg, p->se.burst_penalty); -+ bc->count = cnt; -+ bc->timestamp = now; -+} -+ -+static inline void update_child_burst_direct(struct task_struct *p, u64 now) { -+ u32 cnt = 0, sum = 0; -+ struct task_struct *child; -+ -+ list_for_each_entry(child, &p->children, sibling) { -+ if (!task_is_bore_eligible(child)) continue; -+ cnt++; -+ sum += child->se.burst_penalty; -+ } -+ -+ update_burst_cache(&p->se.child_burst, p, cnt, sum, now); -+} -+ -+static inline u8 inherit_burst_direct(struct task_struct *p, u64 now) { -+ struct task_struct *parent = p; -+ if (burst_cache_expired(&parent->se.child_burst, now)) -+ update_child_burst_direct(parent, now); -+ -+ return parent->se.child_burst.score; -+} -+ -+static void update_child_burst_topological( -+ struct task_struct *p, u64 now, u32 depth, u32 *acnt, u32 *asum) { -+ u32 cnt = 0, dcnt = 0, sum = 0; -+ struct task_struct *child, *dec; -+ -+ list_for_each_entry(child, &p->children, sibling) { -+ dec = child; -+ while ((dcnt = count_child_tasks(dec)) == 1) -+ dec = list_first_entry(&dec->children, struct task_struct, sibling); -+ -+ if (!dcnt || !depth) { -+ if (!task_is_bore_eligible(dec)) continue; -+ cnt++; -+ sum += dec->se.burst_penalty; -+ continue; -+ } -+ if (!burst_cache_expired(&dec->se.child_burst, now)) { -+ cnt += dec->se.child_burst.count; -+ sum += (u32)dec->se.child_burst.score * dec->se.child_burst.count; -+ continue; -+ } -+ update_child_burst_topological(dec, now, depth - 1, &cnt, &sum); -+ } ++ list_for_each_entry(child, &p->children, sibling) { ++ dec = child; ++ while ((dcnt = count_child_tasks(dec)) == 1) ++ dec = list_first_entry(&dec->children, struct task_struct, sibling); ++ ++ if (!dcnt || !depth) { ++ if (!task_is_bore_eligible(dec)) continue; ++ cnt++; ++ sum += dec->se.burst_penalty; ++ continue; ++ } ++ if (!burst_cache_expired(&dec->se.child_burst, now)) { ++ cnt += dec->se.child_burst.count; ++ sum += (u32)dec->se.child_burst.score * dec->se.child_burst.count; ++ continue; ++ } ++ update_child_burst_topological(dec, now, depth - 1, &cnt, &sum); ++ } + + update_burst_cache(&p->se.child_burst, p, cnt, sum, now); + *acnt += cnt; @@ -60370,7 +41038,7 @@ index 000000000000..cd7e8a8d6075 +#endif // CONFIG_SYSCTL +#endif // CONFIG_SCHED_BORE diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 0ec92f0023c4..5dd570fbf7e4 100644 +index 6cc12777bb11..aefedae462f0 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -97,6 +97,8 @@ @@ -60382,12 +41050,12 @@ index 0ec92f0023c4..5dd570fbf7e4 100644 EXPORT_TRACEPOINT_SYMBOL_GPL(ipi_send_cpu); EXPORT_TRACEPOINT_SYMBOL_GPL(ipi_send_cpumask); -@@ -8298,6 +8300,11 @@ void __init sched_init(void) +@@ -8377,6 +8379,11 @@ void __init sched_init(void) BUG_ON(!sched_class_above(&ext_sched_class, &idle_sched_class)); #endif +#ifdef CONFIG_SCHED_BORE -+ printk(KERN_INFO "BORE (Burst-Oriented Response Enhancer) CPU Scheduler modification 5.6.1 by Masahito Suzuki"); ++ printk(KERN_INFO "BORE (Burst-Oriented Response Enhancer) CPU Scheduler modification 5.7.3 by Masahito Suzuki"); + init_task_bore(&init_task); +#endif // CONFIG_SCHED_BORE + @@ -60395,63 +41063,64 @@ index 0ec92f0023c4..5dd570fbf7e4 100644 #ifdef CONFIG_FAIR_GROUP_SCHED diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c -index c057ef46c5f8..3cab39e34824 100644 +index f4035c7a0fa1..0edb3a216f5d 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c -@@ -167,7 +167,52 @@ static const struct file_operations sched_feat_fops = { +@@ -167,7 +167,53 @@ static const struct file_operations sched_feat_fops = { }; #ifdef CONFIG_SMP +#ifdef CONFIG_SCHED_BORE -+static ssize_t sched_min_base_slice_write(struct file *filp, const char __user *ubuf, -+ size_t cnt, loff_t *ppos) -+{ -+ char buf[16]; -+ unsigned int value; -+ -+ if (cnt > 15) -+ cnt = 15; -+ -+ if (copy_from_user(&buf, ubuf, cnt)) -+ return -EFAULT; -+ buf[cnt] = '\0'; -+ -+ if (kstrtouint(buf, 10, &value)) -+ return -EINVAL; - -+ if (!value) -+ return -EINVAL; -+ -+ sysctl_sched_min_base_slice = value; -+ sched_update_min_base_slice(); -+ -+ *ppos += cnt; -+ return cnt; -+} -+ -+static int sched_min_base_slice_show(struct seq_file *m, void *v) -+{ -+ seq_printf(m, "%d\n", sysctl_sched_min_base_slice); -+ return 0; -+} -+ -+static int sched_min_base_slice_open(struct inode *inode, struct file *filp) -+{ -+ return single_open(filp, sched_min_base_slice_show, NULL); -+} -+ -+static const struct file_operations sched_min_base_slice_fops = { -+ .open = sched_min_base_slice_open, -+ .write = sched_min_base_slice_write, -+ .read = seq_read, -+ .llseek = seq_lseek, -+ .release = single_release, -+}; ++#define DEFINE_SYSCTL_SCHED_FUNC(name, update_func) \ ++static ssize_t sched_##name##_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) \ ++{ \ ++ char buf[16]; \ ++ unsigned int value; \ ++\ ++ if (cnt > 15) \ ++ cnt = 15; \ ++\ ++ if (copy_from_user(&buf, ubuf, cnt)) \ ++ return -EFAULT; \ ++ buf[cnt] = '\0'; \ ++\ ++ if (kstrtouint(buf, 10, &value)) \ ++ return -EINVAL; \ ++\ ++ sysctl_sched_##name = value; \ ++ sched_update_##update_func(); \ ++\ ++ *ppos += cnt; \ ++ return cnt; \ ++} \ ++\ ++static int sched_##name##_show(struct seq_file *m, void *v) \ ++{ \ ++ seq_printf(m, "%d\n", sysctl_sched_##name); \ ++ return 0; \ ++} \ ++\ ++static int sched_##name##_open(struct inode *inode, struct file *filp) \ ++{ \ ++ return single_open(filp, sched_##name##_show, NULL); \ ++} \ ++\ ++static const struct file_operations sched_##name##_fops = { \ ++ .open = sched_##name##_open, \ ++ .write = sched_##name##_write, \ ++ .read = seq_read, \ ++ .llseek = seq_lseek, \ ++ .release = single_release, \ ++}; ++ ++DEFINE_SYSCTL_SCHED_FUNC(min_base_slice, min_base_slice) + ++#undef DEFINE_SYSCTL_SCHED_FUNC +#else // !CONFIG_SCHED_BORE static ssize_t sched_scaling_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) { -@@ -213,7 +258,7 @@ static const struct file_operations sched_scaling_fops = { +@@ -213,7 +259,7 @@ static const struct file_operations sched_scaling_fops = { .llseek = seq_lseek, .release = single_release, }; @@ -60460,13 +41129,13 @@ index c057ef46c5f8..3cab39e34824 100644 #endif /* SMP */ #ifdef CONFIG_PREEMPT_DYNAMIC -@@ -347,13 +392,20 @@ static __init int sched_init_debug(void) +@@ -504,13 +550,20 @@ static __init int sched_init_debug(void) debugfs_create_file("preempt", 0644, debugfs_sched, NULL, &sched_dynamic_fops); #endif +#ifdef CONFIG_SCHED_BORE + debugfs_create_file("min_base_slice_ns", 0644, debugfs_sched, NULL, &sched_min_base_slice_fops); -+ debugfs_create_u32("base_slice_ns", 0400, debugfs_sched, &sysctl_sched_base_slice); ++ debugfs_create_u32("base_slice_ns", 0444, debugfs_sched, &sysctl_sched_base_slice); +#else // !CONFIG_SCHED_BORE debugfs_create_u32("base_slice_ns", 0644, debugfs_sched, &sysctl_sched_base_slice); +#endif // CONFIG_SCHED_BORE @@ -60481,7 +41150,7 @@ index c057ef46c5f8..3cab39e34824 100644 debugfs_create_u32("migration_cost_ns", 0644, debugfs_sched, &sysctl_sched_migration_cost); debugfs_create_u32("nr_migrate", 0644, debugfs_sched, &sysctl_sched_nr_migrate); -@@ -596,6 +648,9 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p) +@@ -755,6 +808,9 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p) SPLIT_NS(schedstat_val_or_zero(p->stats.sum_sleep_runtime)), SPLIT_NS(schedstat_val_or_zero(p->stats.sum_block_runtime))); @@ -60489,9 +41158,9 @@ index c057ef46c5f8..3cab39e34824 100644 + SEQ_printf(m, " %2d", p->se.burst_score); +#endif // CONFIG_SCHED_BORE #ifdef CONFIG_NUMA_BALANCING - SEQ_printf(m, " %d %d", task_node(p), task_numa_group_id(p)); + SEQ_printf(m, " %d %d", task_node(p), task_numa_group_id(p)); #endif -@@ -1069,6 +1124,9 @@ void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns, +@@ -1243,6 +1299,9 @@ void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns, P(se.load.weight); #ifdef CONFIG_SMP @@ -60502,7 +41171,7 @@ index c057ef46c5f8..3cab39e34824 100644 P(se.avg.runnable_sum); P(se.avg.util_sum); diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index b27fd3fc7d67..b93a3beab6b7 100644 +index 782ce70ebd1b..48dea624ccf0 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -55,6 +55,8 @@ @@ -60514,13 +41183,13 @@ index b27fd3fc7d67..b93a3beab6b7 100644 /* * The initial- and re-scaling of tunables is configurable * -@@ -64,17 +66,29 @@ +@@ -64,17 +66,30 @@ * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus) * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus * - * (default SCHED_TUNABLESCALING_LOG = *(1+ilog(ncpus)) -+ * (BORE default SCHED_TUNABLESCALING_NONE = *1 constant) -+ * (EEVDF default SCHED_TUNABLESCALING_LOG = *(1+ilog(ncpus)) ++ * BORE : default SCHED_TUNABLESCALING_NONE = *1 constant ++ * EEVDF: default SCHED_TUNABLESCALING_LOG = *(1+ilog(ncpus)) */ +#ifdef CONFIG_SCHED_BORE +unsigned int sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_NONE; @@ -60532,13 +41201,14 @@ index b27fd3fc7d67..b93a3beab6b7 100644 * Minimal preemption granularity for CPU-bound tasks: * - * (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds) -+ * (BORE default: max(1 sec / HZ, min_base_slice) constant, units: nanoseconds) -+ * (EEVDF default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds) ++ * BORE : base_slice = minimum multiple of nsecs_per_tick >= min_base_slice ++ * (default min_base_slice = 2000000 constant, units: nanoseconds) ++ * EEVDF: default 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds */ +#ifdef CONFIG_SCHED_BORE -+unsigned int sysctl_sched_base_slice = 1000000000ULL / HZ; -+static unsigned int configured_sched_base_slice = 1000000000ULL / HZ; -+unsigned int sysctl_sched_min_base_slice = CONFIG_MIN_BASE_SLICE_NS; ++static const unsigned int nsecs_per_tick = 1000000000ULL / HZ; ++unsigned int sysctl_sched_min_base_slice = CONFIG_MIN_BASE_SLICE_NS; ++__read_mostly uint sysctl_sched_base_slice = nsecs_per_tick; +#else // !CONFIG_SCHED_BORE unsigned int sysctl_sched_base_slice = 750000ULL; static unsigned int normalized_sysctl_sched_base_slice = 750000ULL; @@ -60546,26 +41216,21 @@ index b27fd3fc7d67..b93a3beab6b7 100644 const_debug unsigned int sysctl_sched_migration_cost = 500000UL; -@@ -188,6 +202,18 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w) +@@ -188,6 +203,13 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w) * * This idea comes from the SD scheduler of Con Kolivas: */ +#ifdef CONFIG_SCHED_BORE +static void update_sysctl(void) { -+ unsigned int base_slice = configured_sched_base_slice; -+ unsigned int min_base_slice = sysctl_sched_min_base_slice; -+ -+ if (min_base_slice) -+ base_slice *= DIV_ROUND_UP(min_base_slice, base_slice); -+ -+ sysctl_sched_base_slice = base_slice; ++ sysctl_sched_base_slice = nsecs_per_tick * ++ max(1UL, DIV_ROUND_UP(sysctl_sched_min_base_slice, nsecs_per_tick)); +} +void sched_update_min_base_slice(void) { update_sysctl(); } +#else // !CONFIG_SCHED_BORE static unsigned int get_update_sysctl_factor(void) { unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8); -@@ -218,6 +244,7 @@ static void update_sysctl(void) +@@ -218,6 +240,7 @@ static void update_sysctl(void) SET_SYSCTL(sched_base_slice); #undef SET_SYSCTL } @@ -60573,7 +41238,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 void __init sched_init_granularity(void) { -@@ -695,6 +722,9 @@ static s64 entity_lag(u64 avruntime, struct sched_entity *se) +@@ -695,6 +718,9 @@ static s64 entity_lag(u64 avruntime, struct sched_entity *se) vlag = avruntime - se->vruntime; limit = calc_delta_fair(max_t(u64, 2*se->slice, TICK_NSEC), se); @@ -60583,7 +41248,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 return clamp(vlag, -limit, limit); } -@@ -896,6 +926,10 @@ static struct sched_entity *pick_eevdf(struct cfs_rq *cfs_rq) +@@ -926,6 +952,10 @@ static struct sched_entity *pick_eevdf(struct cfs_rq *cfs_rq) * until it gets a new slice. See the HACK in set_next_entity(). */ if (sched_feat(RUN_TO_PARITY) && curr && curr->vlag == curr->deadline) @@ -60594,7 +41259,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 return curr; /* Pick the leftmost entity if it's eligible */ -@@ -954,6 +988,7 @@ struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq) +@@ -984,6 +1014,7 @@ struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq) * Scheduling class statistics methods: */ #ifdef CONFIG_SMP @@ -60602,7 +41267,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 int sched_update_scaling(void) { unsigned int factor = get_update_sysctl_factor(); -@@ -965,6 +1000,7 @@ int sched_update_scaling(void) +@@ -995,6 +1026,7 @@ int sched_update_scaling(void) return 0; } @@ -60610,7 +41275,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 #endif #endif -@@ -1165,6 +1201,10 @@ static void update_curr(struct cfs_rq *cfs_rq) +@@ -1227,6 +1259,10 @@ static void update_curr(struct cfs_rq *cfs_rq) if (unlikely(delta_exec <= 0)) return; @@ -60619,9 +41284,9 @@ index b27fd3fc7d67..b93a3beab6b7 100644 + update_burst_penalty(curr); +#endif // CONFIG_SCHED_BORE curr->vruntime += calc_delta_fair(delta_exec, curr); - update_deadline(cfs_rq, curr); + resched = update_deadline(cfs_rq, curr); update_min_vruntime(cfs_rq); -@@ -3791,7 +3831,7 @@ static void reweight_eevdf(struct sched_entity *se, u64 avruntime, +@@ -3877,7 +3913,7 @@ static void reweight_eevdf(struct sched_entity *se, u64 avruntime, se->deadline = avruntime + vslice; } @@ -60630,7 +41295,7 @@ index b27fd3fc7d67..b93a3beab6b7 100644 unsigned long weight) { bool curr = cfs_rq->curr == se; -@@ -5199,6 +5239,9 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) +@@ -5286,6 +5322,9 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) * * EEVDF: placement strategy #1 / #2 */ @@ -60640,15 +41305,11 @@ index b27fd3fc7d67..b93a3beab6b7 100644 if (sched_feat(PLACE_LAG) && cfs_rq->nr_running) { struct sched_entity *curr = cfs_rq->curr; unsigned long load; -@@ -5269,6 +5312,16 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) - - se->vruntime = vruntime - lag; - -+ if (sched_feat(PLACE_REL_DEADLINE) && se->rel_deadline) { -+ se->deadline += se->vruntime; -+ se->rel_deadline = 0; -+ return; -+ } +@@ -5361,7 +5400,11 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) + se->rel_deadline = 0; + return; + } +- +#ifdef CONFIG_SCHED_BORE + else if (likely(sched_bore)) + vslice >>= !!(flags & sched_deadline_boost_mask); @@ -60657,42 +41318,22 @@ index b27fd3fc7d67..b93a3beab6b7 100644 /* * When joining the competition; the existing tasks will be, * on average, halfway through their slice, as such start tasks -@@ -5378,6 +5431,7 @@ static __always_inline void return_cfs_rq_runtime(struct cfs_rq *cfs_rq); - static void - dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) - { -+ bool sleep = flags & DEQUEUE_SLEEP; - int action = UPDATE_TG; - - if (entity_is_task(se) && task_on_rq_migrating(task_of(se))) -@@ -5405,6 +5459,11 @@ dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags) - clear_buddies(cfs_rq, se); - - update_entity_lag(cfs_rq, se); -+ if (sched_feat(PLACE_REL_DEADLINE) && !sleep) { -+ se->deadline -= se->vruntime; -+ se->rel_deadline = 1; -+ } -+ - if (se != cfs_rq->curr) - __dequeue_entity(cfs_rq, se); - se->on_rq = 0; -@@ -6856,6 +6915,14 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int flags) - bool was_sched_idle = sched_idle_rq(rq); - - util_est_dequeue(&rq->cfs, p); +@@ -7103,6 +7146,14 @@ static int dequeue_entities(struct rq *rq, struct sched_entity *se, int flags) + p = task_of(se); + h_nr_running = 1; + idle_h_nr_running = task_has_idle_policy(p); +#ifdef CONFIG_SCHED_BORE -+ if (task_sleep) { -+ cfs_rq = cfs_rq_of(se); -+ if (cfs_rq->curr == se) -+ update_curr(cfs_rq); -+ restart_burst(se); -+ } ++ if (task_sleep) { ++ cfs_rq = cfs_rq_of(se); ++ if (cfs_rq->curr == se) ++ update_curr(cfs_rq); ++ restart_burst(se); ++ } +#endif // CONFIG_SCHED_BORE - - for_each_sched_entity(se) { - cfs_rq = cfs_rq_of(se); -@@ -8638,16 +8705,25 @@ static void yield_task_fair(struct rq *rq) + } else { + cfs_rq = group_cfs_rq(se); + slice = cfs_rq_min_slice(cfs_rq); +@@ -9018,16 +9069,25 @@ static void yield_task_fair(struct rq *rq) /* * Are we the only task in the tree? */ @@ -60718,17 +41359,17 @@ index b27fd3fc7d67..b93a3beab6b7 100644 /* * Tell update_rq_clock() that we've just updated, * so we don't do microscopic update in schedule() -@@ -12712,6 +12788,9 @@ static void task_fork_fair(struct task_struct *p) - curr = cfs_rq->curr; - if (curr) - update_curr(cfs_rq); +@@ -13079,6 +13139,9 @@ static void task_tick_fair(struct rq *rq, struct task_struct *curr, int queued) + static void task_fork_fair(struct task_struct *p) + { + set_task_max_allowed_capacity(p); +#ifdef CONFIG_SCHED_BORE -+ update_burst_score(se); ++ update_burst_score(&p->se); +#endif // CONFIG_SCHED_BORE - place_entity(cfs_rq, se, ENQUEUE_INITIAL); - rq_unlock(rq, &rf); } -@@ -12824,6 +12903,10 @@ static void attach_task_cfs_rq(struct task_struct *p) + + /* +@@ -13189,6 +13252,10 @@ static void attach_task_cfs_rq(struct task_struct *p) static void switched_from_fair(struct rq *rq, struct task_struct *p) { @@ -60739,26 +41380,11 @@ index b27fd3fc7d67..b93a3beab6b7 100644 detach_task_cfs_rq(p); } -diff --git a/kernel/sched/features.h b/kernel/sched/features.h -index 143f55df890b..e97b7b68bdd3 100644 ---- a/kernel/sched/features.h -+++ b/kernel/sched/features.h -@@ -6,6 +6,10 @@ - */ - SCHED_FEAT(PLACE_LAG, true) - SCHED_FEAT(PLACE_DEADLINE_INITIAL, true) -+/* -+ * Preserve relative virtual deadline on 'migration'. -+ */ -+SCHED_FEAT(PLACE_REL_DEADLINE, true) - SCHED_FEAT(RUN_TO_PARITY, true) - - /* diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h -index 4965853277e2..f2256886a700 100644 +index c03b3d7b320e..bbe2f77aa42d 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h -@@ -2065,7 +2065,11 @@ static inline void update_sched_domain_debugfs(void) { } +@@ -2075,7 +2075,11 @@ static inline void update_sched_domain_debugfs(void) { } static inline void dirty_sched_domain_sysctl(int cpu) { } #endif @@ -60770,12 +41396,15 @@ index 4965853277e2..f2256886a700 100644 static inline const struct cpumask *task_user_cpus(struct task_struct *p) { -@@ -2738,6 +2742,9 @@ extern const_debug unsigned int sysctl_sched_nr_migrate; +@@ -2825,7 +2829,12 @@ extern void wakeup_preempt(struct rq *rq, struct task_struct *p, int flags); + extern const_debug unsigned int sysctl_sched_nr_migrate; extern const_debug unsigned int sysctl_sched_migration_cost; - extern unsigned int sysctl_sched_base_slice; +#ifdef CONFIG_SCHED_BORE +extern unsigned int sysctl_sched_min_base_slice; ++extern __read_mostly uint sysctl_sched_base_slice; ++#else // !CONFIG_SCHED_BORE + extern unsigned int sysctl_sched_base_slice; +#endif // CONFIG_SCHED_BORE #ifdef CONFIG_SCHED_DEBUG @@ -60806,7 +41435,7 @@ Subject: [NOT FOR UPSTREAM] add acpi_call module create mode 100644 drivers/platform/x86/acpi_call.c diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig -index ddfccc226751..10af8a252f88 100644 +index 3875abba5a79..95dec316c4df 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -180,6 +180,11 @@ config ACER_WIRELESS @@ -61323,7 +41952,7 @@ Signed-off-by: Abhishek Pandit-Subedi 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c -index 445856c9127a..4514f7d65ddb 100644 +index 2c51ea9d01d7..7dd31d2ff3b7 100644 --- a/drivers/input/misc/uinput.c +++ b/drivers/input/misc/uinput.c @@ -20,6 +20,7 @@ @@ -61513,10 +42142,10 @@ This reverts commit 907830b0fc9e374d00f3c83de5e426157b482c01. 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index 51407c376a22..b11aa92e8e97 100644 +index dd3c6dcb47ae..b10696b25a76 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c -@@ -3747,14 +3747,8 @@ u32 pci_rebar_get_possible_sizes(struct pci_dev *pdev, int bar) +@@ -3762,14 +3762,8 @@ u32 pci_rebar_get_possible_sizes(struct pci_dev *pdev, int bar) return 0; pci_read_config_dword(pdev, pos + PCI_REBAR_CAP, &cap); @@ -61690,7 +42319,7 @@ This reverts commits: 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c -index 4b9fda0b1d9a..f0ca7b9abf56 100644 +index 55af3dfbc260..d971b091730f 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -5,6 +5,7 @@ @@ -61701,7 +42330,7 @@ index 4b9fda0b1d9a..f0ca7b9abf56 100644 #include #include #include -@@ -2599,6 +2600,7 @@ static int nvme_pci_enable(struct nvme_dev *dev) +@@ -2596,6 +2597,7 @@ static int nvme_pci_enable(struct nvme_dev *dev) nvme_map_cmb(dev); @@ -61709,7 +42338,7 @@ index 4b9fda0b1d9a..f0ca7b9abf56 100644 pci_save_state(pdev); result = nvme_pci_configure_admin_queue(dev); -@@ -2663,8 +2665,10 @@ static void nvme_dev_disable(struct nvme_dev *dev, bool shutdown) +@@ -2660,8 +2662,10 @@ static void nvme_dev_disable(struct nvme_dev *dev, bool shutdown) nvme_suspend_io_queues(dev); nvme_suspend_queue(dev, 0); pci_free_irq_vectors(pdev); @@ -61797,10 +42426,10 @@ Subject: Cachy: drm/amdgpu/pm: Allow override of min_power_limit with 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -index 137a88b8de45..233c17537492 100644 +index 9b1e0ede05a4..7617963901fa 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -@@ -162,6 +162,7 @@ struct amdgpu_watchdog_timer { +@@ -164,6 +164,7 @@ struct amdgpu_watchdog_timer { */ extern int amdgpu_modeset; extern unsigned int amdgpu_vram_limit; @@ -61809,10 +42438,10 @@ index 137a88b8de45..233c17537492 100644 extern int amdgpu_gart_size; extern int amdgpu_gtt_size; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -index e2382566af44..7514399024d7 100644 +index 81d9877c8735..6f3161796fd2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -@@ -135,6 +135,7 @@ enum AMDGPU_DEBUG_MASK { +@@ -136,6 +136,7 @@ enum AMDGPU_DEBUG_MASK { }; unsigned int amdgpu_vram_limit = UINT_MAX; @@ -61820,7 +42449,7 @@ index e2382566af44..7514399024d7 100644 int amdgpu_vis_vram_limit; int amdgpu_gart_size = -1; /* auto */ int amdgpu_gtt_size = -1; /* auto */ -@@ -248,6 +249,15 @@ struct amdgpu_watchdog_timer amdgpu_watchdog_timer = { +@@ -259,6 +260,15 @@ struct amdgpu_watchdog_timer amdgpu_watchdog_timer = { .period = 0x0, /* default to 0x0 (timeout disable) */ }; @@ -61837,10 +42466,10 @@ index e2382566af44..7514399024d7 100644 * DOC: vramlimit (int) * Restrict the total amount of VRAM in MiB for testing. The default is 0 (Use full VRAM). diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c -index d5d6ab484e5a..dccba7bcdf97 100644 +index 0fa6fbee1978..907bf4ed9663 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c -@@ -3272,6 +3272,9 @@ static ssize_t amdgpu_hwmon_show_power_cap_min(struct device *dev, +@@ -3276,6 +3276,9 @@ static ssize_t amdgpu_hwmon_show_power_cap_min(struct device *dev, struct device_attribute *attr, char *buf) { @@ -61851,10 +42480,10 @@ index d5d6ab484e5a..dccba7bcdf97 100644 } diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c -index b5da64b1bca7..7a4bae3d010d 100644 +index 84f26f568135..0d8843a27193 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c -@@ -2774,7 +2774,10 @@ int smu_get_power_limit(void *handle, +@@ -2791,7 +2791,10 @@ int smu_get_power_limit(void *handle, *limit = smu->max_power_limit; break; case SMU_PPT_LIMIT_MIN: @@ -61866,7 +42495,7 @@ index b5da64b1bca7..7a4bae3d010d 100644 break; default: return -EINVAL; -@@ -2798,7 +2801,14 @@ static int smu_set_power_limit(void *handle, uint32_t limit) +@@ -2815,7 +2818,14 @@ static int smu_set_power_limit(void *handle, uint32_t limit) if (smu->ppt_funcs->set_power_limit) return smu->ppt_funcs->set_power_limit(smu, limit_type, limit); @@ -61900,10 +42529,10 @@ Subject: Allow to set custom USB pollrate for specific devices like so: 4 files changed, 179 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt -index cc6e7ae5786e..3fc1ebd881a8 100644 +index 5a812e0b740a..6ca7968aab03 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt -@@ -7091,6 +7091,14 @@ +@@ -7217,6 +7217,14 @@ request from 5000 ms to 500 ms); Example: quirks=0781:5580:bk,0a5c:5834:gij @@ -62155,7 +42784,7 @@ Subject: set ds controller bluetooth pollrate to 1 ms 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-playstation.c b/drivers/hid/hid-playstation.c -index e7c309cfe3a0..f3ea20af54ab 100644 +index 1468fb11e39d..52f48be5fc55 100644 --- a/drivers/hid/hid-playstation.c +++ b/drivers/hid/hid-playstation.c @@ -337,8 +337,8 @@ struct dualsense_output_report { @@ -62185,10 +42814,10 @@ Signed-off-by: Jan200101 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -index 7514399024d7..75c33701fa7f 100644 +index 6f3161796fd2..dd05dae981cb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c -@@ -610,13 +610,8 @@ module_param_named(timeout_period, amdgpu_watchdog_timer.period, uint, 0644); +@@ -628,13 +628,8 @@ module_param_named(timeout_period, amdgpu_watchdog_timer.period, uint, 0644); */ #ifdef CONFIG_DRM_AMDGPU_SI @@ -62202,7 +42831,7 @@ index 7514399024d7..75c33701fa7f 100644 module_param_named(si_support, amdgpu_si_support, int, 0444); #endif -@@ -629,13 +624,8 @@ module_param_named(si_support, amdgpu_si_support, int, 0444); +@@ -647,13 +642,8 @@ module_param_named(si_support, amdgpu_si_support, int, 0444); */ #ifdef CONFIG_DRM_AMDGPU_CIK @@ -62217,7 +42846,7 @@ index 7514399024d7..75c33701fa7f 100644 module_param_named(cik_support, amdgpu_cik_support, int, 0444); #endif diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c -index 7bf08164140e..865f186f48c4 100644 +index e5a6f3e7c75b..fa10cd4be7a6 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c @@ -239,12 +239,22 @@ module_param_named(uvd, radeon_uvd, int, 0444); @@ -62261,7 +42890,7 @@ Add extra support for Lenovo Legion laptops. create mode 100644 drivers/platform/x86/legion-laptop.c diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig -index 10af8a252f88..e1499b15fafc 100644 +index 95dec316c4df..b17e20e331e7 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -659,6 +659,16 @@ config THINKPAD_LMI @@ -68391,87 +49020,6 @@ index 000000000000..cbdc716e9dd0 2.47.0 -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Mon, 11 Nov 2024 19:57:04 +0100 -Subject: Revert "drm/amdgpu/smu13: always apply the powersave optimization" - -This reverts commit 7a1613e47e65ba6967085ad99dee95420346a0ce. - -Causes HDMI audio cut outs in certain hardware for a marginal perf gain. - -Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3732 ---- - .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 22 ++++++++++--------- - 1 file changed, 12 insertions(+), 10 deletions(-) - -diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c -index d53e162dcd8d..678a33a522e2 100644 ---- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c -+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c -@@ -2555,16 +2555,18 @@ static int smu_v13_0_0_set_power_profile_mode(struct smu_context *smu, - selected_workload_mask = workload_mask = 1 << workload_type; - - /* Add optimizations for SMU13.0.0/10. Reuse the power saving profile */ -- if ((amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 0) && -- ((smu->adev->pm.fw_version == 0x004e6601) || -- (smu->adev->pm.fw_version >= 0x004e7300))) || -- (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 10) && -- smu->adev->pm.fw_version >= 0x00504500)) { -- workload_type = smu_cmn_to_asic_specific_index(smu, -- CMN2ASIC_MAPPING_WORKLOAD, -- PP_SMC_POWER_PROFILE_POWERSAVING); -- if (workload_type >= 0) -- workload_mask |= 1 << workload_type; -+ if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { -+ if ((amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 0) && -+ ((smu->adev->pm.fw_version == 0x004e6601) || -+ (smu->adev->pm.fw_version >= 0x004e7300))) || -+ (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 10) && -+ smu->adev->pm.fw_version >= 0x00504500)) { -+ workload_type = smu_cmn_to_asic_specific_index(smu, -+ CMN2ASIC_MAPPING_WORKLOAD, -+ PP_SMC_POWER_PROFILE_POWERSAVING); -+ if (workload_type >= 0) -+ workload_mask |= 1 << workload_type; -+ } - } - - ret = smu_cmn_send_smc_msg_with_param(smu, --- -2.47.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Luke D. Jones" -Date: Thu, 10 Oct 2024 09:58:00 +1300 -Subject: ALSA: hda/realtek: fixup ASUS GA605W - -The GA605W laptop has almost the exact same codec setup as the GA403 -and so the same quirks apply to it. - -Signed-off-by: Luke D. Jones ---- - sound/pci/hda/patch_realtek.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c -index 825b62e245c1..6a11e158f92a 100644 ---- a/sound/pci/hda/patch_realtek.c -+++ b/sound/pci/hda/patch_realtek.c -@@ -10731,7 +10731,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS), - SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS), - SND_PCI_QUIRK(0x1043, 0x1e63, "ASUS H7606W", ALC285_FIXUP_CS35L56_I2C_2), -- SND_PCI_QUIRK(0x1043, 0x1e83, "ASUS GA605W", ALC285_FIXUP_CS35L56_I2C_2), -+ SND_PCI_QUIRK(0x1043, 0x1e83, "ASUS GA605W", ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC), - SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), - SND_PCI_QUIRK(0x1043, 0x1eb3, "ASUS Ally RCLA72", ALC287_FIXUP_TAS2781_I2C), - SND_PCI_QUIRK(0x1043, 0x1ed3, "ASUS HN7306W", ALC287_FIXUP_CS35L41_I2C_2), --- -2.47.0 - - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Sat, 23 Nov 2024 00:04:46 +0100 @@ -68486,13 +49034,13 @@ and "Bluetooth: btmtk: Fix kernel crash when entering btmtk_usb_suspend" Commits ceac1cb0259de682d78f5c784ef8e0b13022e9d9 and d09009bc80d9d0d812b988888c40cd86e52eaf1e respectively. --- - drivers/bluetooth/btmtk.c | 312 -------------------------------------- + drivers/bluetooth/btmtk.c | 311 -------------------------------------- drivers/bluetooth/btmtk.h | 37 ----- - drivers/bluetooth/btusb.c | 68 --------- + drivers/bluetooth/btusb.c | 69 --------- 3 files changed, 417 deletions(-) diff --git a/drivers/bluetooth/btmtk.c b/drivers/bluetooth/btmtk.c -index 2b7c80043aa2..b25349afde2b 100644 +index 480e4adba9fa..3be814f5f206 100644 --- a/drivers/bluetooth/btmtk.c +++ b/drivers/bluetooth/btmtk.c @@ -22,9 +22,6 @@ @@ -68505,7 +49053,7 @@ index 2b7c80043aa2..b25349afde2b 100644 struct btmtk_patch_header { u8 datetime[16]; u8 platform[4]; -@@ -967,309 +964,6 @@ int btmtk_usb_recv_acl(struct hci_dev *hdev, struct sk_buff *skb) +@@ -967,308 +964,6 @@ int btmtk_usb_recv_acl(struct hci_dev *hdev, struct sk_buff *skb) } EXPORT_SYMBOL_GPL(btmtk_usb_recv_acl); @@ -68757,7 +49305,6 @@ index 2b7c80043aa2..b25349afde2b 100644 - struct sk_buff *skb; - int err; - -- init_usb_anchor(&btmtk_data->isopkt_anchor); - spin_lock_init(&btmtk_data->isorxlock); - - __set_mtk_intr_interface(hdev); @@ -68815,7 +49362,7 @@ index 2b7c80043aa2..b25349afde2b 100644 int btmtk_usb_setup(struct hci_dev *hdev) { struct btmtk_data *btmtk_data = hci_get_priv(hdev); -@@ -1371,12 +1065,6 @@ int btmtk_usb_setup(struct hci_dev *hdev) +@@ -1370,12 +1065,6 @@ int btmtk_usb_setup(struct hci_dev *hdev) hci_set_msft_opcode(hdev, 0xFD30); hci_set_aosp_capable(hdev); @@ -68905,10 +49452,10 @@ index 5df7c3296624..c61337123a19 100644 { return -EOPNOTSUPP; diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c -index 9d6139a24982..fa4ea5dcbf2a 100644 +index 7fee67e629b7..197066a1304e 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c -@@ -2658,40 +2658,6 @@ static int btusb_recv_event_realtek(struct hci_dev *hdev, struct sk_buff *skb) +@@ -2630,41 +2630,6 @@ static int btusb_recv_event_realtek(struct hci_dev *hdev, struct sk_buff *skb) return hci_recv_frame(hdev, skb); } @@ -68926,6 +49473,7 @@ index 9d6139a24982..fa4ea5dcbf2a 100644 - } - - set_bit(BTMTK_ISOPKT_OVER_INTR, &btmtk_data->flags); +- init_usb_anchor(&btmtk_data->isopkt_anchor); -} - -static void btusb_mtk_release_iso_intf(struct btusb_data *data) @@ -68949,7 +49497,7 @@ index 9d6139a24982..fa4ea5dcbf2a 100644 static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) { struct btusb_data *data = hci_get_drvdata(hdev); -@@ -2708,9 +2674,6 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) +@@ -2681,9 +2646,6 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) if (err < 0) return err; @@ -68959,7 +49507,7 @@ index 9d6139a24982..fa4ea5dcbf2a 100644 btusb_stop_traffic(data); usb_kill_anchored_urbs(&data->tx_anchor); -@@ -2722,23 +2685,6 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) +@@ -2695,23 +2657,6 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) return err; } @@ -68983,7 +49531,7 @@ index 9d6139a24982..fa4ea5dcbf2a 100644 static int btusb_mtk_setup(struct hci_dev *hdev) { struct btusb_data *data = hci_get_drvdata(hdev); -@@ -2753,22 +2699,11 @@ static int btusb_mtk_setup(struct hci_dev *hdev) +@@ -2726,22 +2671,11 @@ static int btusb_mtk_setup(struct hci_dev *hdev) btmtk_data->ctrl_anchor = &data->ctrl_anchor; btmtk_data->reset_sync = btusb_mtk_reset; @@ -69006,7 +49554,7 @@ index 9d6139a24982..fa4ea5dcbf2a 100644 return btmtk_usb_shutdown(hdev); } -@@ -3888,12 +3823,9 @@ static int btusb_probe(struct usb_interface *intf, +@@ -3861,12 +3795,9 @@ static int btusb_probe(struct usb_interface *intf, hdev->manufacturer = 70; hdev->cmd_timeout = btmtk_reset_sync; hdev->set_bdaddr = btmtk_set_bdaddr; @@ -69053,10 +49601,10 @@ Signed-off-by: Mario Limonciello 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index bcacf2e35eba..6fc3454e49c6 100644 +index 51904906545e..cef805736d59 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -@@ -4604,8 +4604,8 @@ static int amdgpu_device_evict_resources(struct amdgpu_device *adev) +@@ -4688,8 +4688,8 @@ static int amdgpu_device_evict_resources(struct amdgpu_device *adev) { int ret; @@ -69101,10 +49649,10 @@ Signed-off-by: Mario Limonciello 2 files changed, 43 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -index 233c17537492..dc05df25be91 100644 +index 7617963901fa..03933b2c5ebc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -@@ -863,6 +863,7 @@ struct amdgpu_device { +@@ -855,6 +855,7 @@ struct amdgpu_device { bool need_swiotlb; bool accel_working; struct notifier_block acpi_nb; @@ -69113,7 +49661,7 @@ index 233c17537492..dc05df25be91 100644 struct debugfs_blob_wrapper debugfs_vbios_blob; struct debugfs_blob_wrapper debugfs_discovery_blob; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index 6fc3454e49c6..9edb6faae605 100644 +index cef805736d59..c173bdf7cd71 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -145,6 +145,8 @@ const char *amdgpu_asic_name[] = { @@ -69125,7 +49673,7 @@ index 6fc3454e49c6..9edb6faae605 100644 /** * DOC: pcie_replay_count -@@ -4423,6 +4425,11 @@ int amdgpu_device_init(struct amdgpu_device *adev, +@@ -4507,6 +4509,11 @@ int amdgpu_device_init(struct amdgpu_device *adev, amdgpu_device_check_iommu_direct_map(adev); @@ -69137,8 +49685,8 @@ index 6fc3454e49c6..9edb6faae605 100644 return 0; release_ras_con: -@@ -4484,6 +4491,8 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev) - flush_delayed_work(&adev->delayed_init_work); +@@ -4571,6 +4578,8 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev) + drain_workqueue(adev->mman.bdev.wq); adev->shutdown = true; + unregister_pm_notifier(&adev->pm_nb); @@ -69146,7 +49694,7 @@ index 6fc3454e49c6..9edb6faae605 100644 /* make sure IB test finished before entering exclusive mode * to avoid preemption on IB test */ -@@ -4617,6 +4626,39 @@ static int amdgpu_device_evict_resources(struct amdgpu_device *adev) +@@ -4701,6 +4710,39 @@ static int amdgpu_device_evict_resources(struct amdgpu_device *adev) /* * Suspend & resume. */ @@ -69193,112 +49741,8 @@ index 6fc3454e49c6..9edb6faae605 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Fri, 25 Oct 2024 09:54:28 +0200 -Subject: [BEGIN] 6.12 Cherry picks - --- -2.47.0 +Subject: [BEGIN] 6.13 Cherry picks - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Michael Burch -Date: Sun, 1 Sep 2024 04:28:47 +0000 -Subject: Bluetooth: btusb: Add multiple device ids from 6.12 - -Add 2 USB HW IDs for MT7925 (0xe118/e) to ensure proper recognition. - -These HW IDs are extracted from Windows driver inf file: -https://dlcdnets.asus.com/pub/ASUS/nb/Image/Driver/Bluetooth/39389/Bluetooth_DCH_MediaTek_B_V1.1037.0.433Sub2_39389.exe?model=H7606WV - -Patch has been tested successfully on an Asus ProArt P16 model H7606WV. -Controller is recognized devices pair successfully. - -Signed-off-by: Michael Burch -Signed-off-by: Luiz Augusto von Dentz - -Bluetooth: btusb: Add Mediatek MT7925 support ID 0x13d3:0x3608 - -Add the support ID (0x13d3, 0x3608) to usb_device_id table for -Realtek MT7925B14L found on AW-EM637 WiFi+BT modules in 2024 Asus laptops. - -The device info from /sys/kernel/debug/usb/devices as below. - -T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 -D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 -P: Vendor=13d3 ProdID=3608 Rev= 1.00 -S: Manufacturer=MediaTek Inc. -S: Product=Wireless_Device -S: SerialNumber=000000000 -C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA -A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01 -I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us -E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms -E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms -I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms -I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms -I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms -I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms -I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms -I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms -I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms -E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms -I: If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us -E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us -I:* If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb -E: Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us -E: Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us - -Signed-off-by: Pavel Nikulin -Signed-off-by: Luiz Augusto von Dentz - -[TMP] Add BTUSB_VALID_LE_STATES to new bluetooth modules ---- - drivers/bluetooth/btusb.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c -index fa4ea5dcbf2a..d46c36c06f23 100644 ---- a/drivers/bluetooth/btusb.c -+++ b/drivers/bluetooth/btusb.c -@@ -694,12 +694,24 @@ static const struct usb_device_id quirks_table[] = { - { USB_DEVICE(0x0489, 0xe113), .driver_info = BTUSB_MEDIATEK | - BTUSB_WIDEBAND_SPEECH | - BTUSB_VALID_LE_STATES }, -+ { USB_DEVICE(0x0489, 0xe118), .driver_info = BTUSB_MEDIATEK | -+ BTUSB_WIDEBAND_SPEECH | -+ BTUSB_VALID_LE_STATES }, -+ { USB_DEVICE(0x0489, 0xe11e), .driver_info = BTUSB_MEDIATEK | -+ BTUSB_WIDEBAND_SPEECH | -+ BTUSB_VALID_LE_STATES }, - { USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK | - BTUSB_WIDEBAND_SPEECH | - BTUSB_VALID_LE_STATES }, - { USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK | - BTUSB_WIDEBAND_SPEECH | - BTUSB_VALID_LE_STATES }, -+ { USB_DEVICE(0x13d3, 0x3604), .driver_info = BTUSB_MEDIATEK | -+ BTUSB_WIDEBAND_SPEECH | -+ BTUSB_VALID_LE_STATES }, -+ { USB_DEVICE(0x13d3, 0x3608), .driver_info = BTUSB_MEDIATEK | -+ BTUSB_WIDEBAND_SPEECH | -+ BTUSB_VALID_LE_STATES }, - - /* Additional Realtek 8723AE Bluetooth devices */ - { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK }, -- 2.47.0 diff --git a/kernel-riscv64-rt-debug-fedora.config b/kernel-riscv64-rt-debug-fedora.config deleted file mode 100644 index 176675b4d..000000000 --- a/kernel-riscv64-rt-debug-fedora.config +++ /dev/null @@ -1,8676 +0,0 @@ -# riscv -# CONFIG_60XX_WDT is not set -CONFIG_6LOWPAN_DEBUGFS=y -CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=m -CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=m -CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=m -CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=m -CONFIG_6LOWPAN_GHC_ICMPV6=m -CONFIG_6LOWPAN_GHC_UDP=m -CONFIG_6LOWPAN=m -CONFIG_6LOWPAN_NHC_DEST=m -CONFIG_6LOWPAN_NHC_FRAGMENT=m -CONFIG_6LOWPAN_NHC_HOP=m -CONFIG_6LOWPAN_NHC_IPV6=m -CONFIG_6LOWPAN_NHC=m -CONFIG_6LOWPAN_NHC_MOBILITY=m -CONFIG_6LOWPAN_NHC_ROUTING=m -CONFIG_6LOWPAN_NHC_UDP=m -CONFIG_6PACK=m -CONFIG_8139CP=m -# CONFIG_8139_OLD_RX_RESET is not set -CONFIG_8139TOO_8129=y -CONFIG_8139TOO=m -# CONFIG_8139TOO_PIO is not set -# CONFIG_8139TOO_TUNE_TWISTER is not set -CONFIG_9P_FSCACHE=y -CONFIG_9P_FS=m -CONFIG_9P_FS_POSIX_ACL=y -CONFIG_9P_FS_SECURITY=y -CONFIG_A11Y_BRAILLE_CONSOLE=y -CONFIG_ABP060MG=m -CONFIG_ACCESSIBILITY=y -CONFIG_ACENIC=m -# CONFIG_ACENIC_OMIT_TIGON_I is not set -# CONFIG_ACORN_PARTITION is not set -CONFIG_ACPI_AC=y -CONFIG_ACPI_ALS=m -CONFIG_ACPI_APEI_EINJ_CXL=y -CONFIG_ACPI_APEI_EINJ=m -CONFIG_ACPI_APEI_ERST_DEBUG=m -CONFIG_ACPI_APEI_GHES=y -CONFIG_ACPI_APEI_MEMORY_FAILURE=y -CONFIG_ACPI_APEI_PCIEAER=y -CONFIG_ACPI_APEI=y -CONFIG_ACPI_BATTERY=y -CONFIG_ACPI_BGRT=y -CONFIG_ACPI_BUTTON=y -# CONFIG_ACPI_CMPC is not set -CONFIG_ACPI_CONFIGFS=m -CONFIG_ACPI_CONTAINER=y -CONFIG_ACPI_CPPC_CPUFREQ_FIE=y -CONFIG_ACPI_CPPC_CPUFREQ=m -CONFIG_ACPI_CUSTOM_METHOD=m -CONFIG_ACPI_DEBUGGER_USER=m -CONFIG_ACPI_DEBUGGER=y -CONFIG_ACPI_DEBUG=y -# CONFIG_ACPI_DOCK is not set -CONFIG_ACPI_EC_DEBUGFS=m -CONFIG_ACPI_FAN=y -CONFIG_ACPI_FFH=y -# CONFIG_ACPI_FPDT is not set -CONFIG_ACPI_HED=y -CONFIG_ACPI_HMAT=y -CONFIG_ACPI_I2C_OPREGION=y -CONFIG_ACPI_IPMI=m -CONFIG_ACPI_NFIT=m -CONFIG_ACPI_NUMA=y -CONFIG_ACPI_PCC=y -CONFIG_ACPI_PCI_SLOT=y -CONFIG_ACPI_PFRUT=m -CONFIG_ACPI_PLATFORM_PROFILE=m -CONFIG_ACPI_PRMT=y -CONFIG_ACPI_PROCESSOR=y -CONFIG_ACPI_SPCR_TABLE=y -CONFIG_ACPI_TABLE_UPGRADE=y -CONFIG_ACPI_TAD=m -CONFIG_ACPI_THERMAL=y -CONFIG_ACPI_VIDEO=m -CONFIG_ACPI=y -# CONFIG_ACQUIRE_WDT is not set -# CONFIG_AD2S1200 is not set -# CONFIG_AD2S1210 is not set -# CONFIG_AD2S90 is not set -CONFIG_AD3552R=m -CONFIG_AD4000=m -CONFIG_AD4130=m -CONFIG_AD4695=m -# CONFIG_AD5064 is not set -CONFIG_AD5110=m -# CONFIG_AD525X_DPOT is not set -CONFIG_AD5272=m -# CONFIG_AD5360 is not set -# CONFIG_AD5380 is not set -# CONFIG_AD5421 is not set -# CONFIG_AD5446 is not set -# CONFIG_AD5449 is not set -# CONFIG_AD5504 is not set -# CONFIG_AD5592R is not set -# CONFIG_AD5593R is not set -# CONFIG_AD5624R_SPI is not set -# CONFIG_AD5686_SPI is not set -# CONFIG_AD5696_I2C is not set -# CONFIG_AD5755 is not set -# CONFIG_AD5758 is not set -# CONFIG_AD5761 is not set -# CONFIG_AD5764 is not set -CONFIG_AD5766=m -CONFIG_AD5770R=m -# CONFIG_AD5791 is not set -# CONFIG_AD5933 is not set -# CONFIG_AD7091R5 is not set -CONFIG_AD7091R8=m -CONFIG_AD7124=m -# CONFIG_AD7150 is not set -# CONFIG_AD7173 is not set -# CONFIG_AD7192 is not set -# CONFIG_AD7266 is not set -# CONFIG_AD7280 is not set -# CONFIG_AD7291 is not set -CONFIG_AD7292=m -CONFIG_AD7293=m -# CONFIG_AD7298 is not set -# CONFIG_AD7303 is not set -CONFIG_AD7380=m -CONFIG_AD74115=m -CONFIG_AD74413R=m -# CONFIG_AD7476 is not set -# CONFIG_AD7606_IFACE_PARALLEL is not set -# CONFIG_AD7606_IFACE_SPI is not set -# CONFIG_AD7746 is not set -CONFIG_AD7766=m -# CONFIG_AD7768_1 is not set -# CONFIG_AD7780 is not set -# CONFIG_AD7791 is not set -# CONFIG_AD7793 is not set -# CONFIG_AD7816 is not set -# CONFIG_AD7887 is not set -# CONFIG_AD7923 is not set -# CONFIG_AD7944 is not set -CONFIG_AD7949=m -# CONFIG_AD799X is not set -# CONFIG_AD8366 is not set -# CONFIG_AD8801 is not set -CONFIG_AD9467=m -# CONFIG_AD9523 is not set -# CONFIG_AD9739A is not set -# CONFIG_AD9832 is not set -# CONFIG_AD9834 is not set -# CONFIG_ADA4250 is not set -CONFIG_ADAPTEC_STARFIRE=m -# CONFIG_ADDRESS_MASKING is not set -# CONFIG_ADE7854 is not set -# CONFIG_ADF4350 is not set -# CONFIG_ADF4371 is not set -CONFIG_ADF4377=m -# CONFIG_ADFS_FS is not set -# CONFIG_ADI_AXI_ADC is not set -# CONFIG_ADI_AXI_DAC is not set -# CONFIG_ADIN1100_PHY is not set -CONFIG_ADIN1110=m -CONFIG_ADIN_PHY=m -# CONFIG_ADIS16080 is not set -# CONFIG_ADIS16130 is not set -# CONFIG_ADIS16136 is not set -# CONFIG_ADIS16201 is not set -# CONFIG_ADIS16203 is not set -# CONFIG_ADIS16209 is not set -# CONFIG_ADIS16240 is not set -# CONFIG_ADIS16260 is not set -# CONFIG_ADIS16400 is not set -# CONFIG_ADIS16460 is not set -CONFIG_ADIS16475=m -# CONFIG_ADIS16480 is not set -# CONFIG_ADJD_S311 is not set -# CONFIG_ADMFM2000 is not set -# CONFIG_ADMV1013 is not set -# CONFIG_ADMV1014 is not set -# CONFIG_ADMV4420 is not set -# CONFIG_ADMV8818 is not set -# CONFIG_ADRF6780 is not set -# CONFIG_ADT7316 is not set -CONFIG_ADUX1020=m -# CONFIG_ADVANTECH_WDT is not set -CONFIG_ADVISE_SYSCALLS=y -# CONFIG_ADV_SWBUTTON is not set -CONFIG_ADXL313_I2C=m -CONFIG_ADXL313_SPI=m -# CONFIG_ADXL345_I2C is not set -# CONFIG_ADXL345_SPI is not set -CONFIG_ADXL355_I2C=m -CONFIG_ADXL355_SPI=m -CONFIG_ADXL367_I2C=m -CONFIG_ADXL367_SPI=m -CONFIG_ADXL372_I2C=m -CONFIG_ADXL372_SPI=m -CONFIG_ADXL380_I2C=m -CONFIG_ADXL380_SPI=m -CONFIG_ADXRS290=m -# CONFIG_ADXRS450 is not set -CONFIG_AF8133J=m -# CONFIG_AFE4403 is not set -# CONFIG_AFE4404 is not set -CONFIG_AFFS_FS=m -CONFIG_AF_KCM=m -CONFIG_AF_RXRPC_DEBUG=y -# CONFIG_AF_RXRPC_INJECT_LOSS is not set -# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set -CONFIG_AF_RXRPC_IPV6=y -CONFIG_AF_RXRPC=m -# CONFIG_AFS_DEBUG_CURSOR is not set -CONFIG_AFS_DEBUG=y -CONFIG_AFS_FSCACHE=y -CONFIG_AFS_FS=m -# CONFIG_AHCI_CEVA is not set -CONFIG_AHCI_DWC=m -# CONFIG_AHCI_QORIQ is not set -CONFIG_AIC79XX_CMDS_PER_DEVICE=4 -# CONFIG_AIC79XX_DEBUG_ENABLE is not set -CONFIG_AIC79XX_DEBUG_MASK=0 -# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set -CONFIG_AIC79XX_RESET_DELAY_MS=15000 -CONFIG_AIC7XXX_CMDS_PER_DEVICE=4 -# CONFIG_AIC7XXX_DEBUG_ENABLE is not set -CONFIG_AIC7XXX_DEBUG_MASK=0 -# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set -CONFIG_AIC7XXX_RESET_DELAY_MS=15000 -CONFIG_AIO=y -CONFIG_AIR_EN8811H_PHY=m -CONFIG_AIX_PARTITION=y -# CONFIG_AK09911 is not set -# CONFIG_AK8974 is not set -# CONFIG_AK8975 is not set -CONFIG_AL3010=m -# CONFIG_AL3320A is not set -# CONFIG_AL_FIC is not set -# CONFIG_ALIBABA_ENI_VDPA is not set -CONFIG_ALIM1535_WDT=m -CONFIG_ALIM7101_WDT=m -CONFIG_ALLOW_DEV_COREDUMP=y -# CONFIG_ALTERA_FREEZE_BRIDGE is not set -# CONFIG_ALTERA_MBOX is not set -CONFIG_ALTERA_MSGDMA=m -CONFIG_ALTERA_PR_IP_CORE=m -CONFIG_ALTERA_PR_IP_CORE_PLAT=m -CONFIG_ALTERA_STAPL=m -CONFIG_ALTERA_TSE=m -CONFIG_ALX=m -# CONFIG_AM2315 is not set -# CONFIG_AMBA_PL08X is not set -# CONFIG_AMCC_QT2025_PHY is not set -CONFIG_AMD8111_ETH=m -CONFIG_AMD_ATL=m -# CONFIG_AMD_IOMMU_DEBUGFS is not set -CONFIG_AMD_PHY=m -CONFIG_AMD_PMC=m -# CONFIG_AMD_PTDMA is not set -CONFIG_AMD_QDMA=m -# CONFIG_AMDTEE is not set -# CONFIG_AMD_XGBE_DCB is not set -# CONFIG_AMIGA_PARTITION is not set -CONFIG_AMT=m -CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" -CONFIG_ANDROID_BINDERFS=y -# CONFIG_ANDROID_BINDER_IPC is not set -# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set -# CONFIG_ANON_VMA_NAME is not set -# CONFIG_AOSONG_AGS02MA is not set -# CONFIG_APDS9300 is not set -CONFIG_APDS9306=m -CONFIG_APDS9802ALS=m -# CONFIG_APDS9960 is not set -CONFIG_APPLE_MFI_FASTCHARGE=m -# CONFIG_APPLE_PROPERTIES is not set -# CONFIG_APPLICOM is not set -CONFIG_AQTION=m -CONFIG_AQUANTIA_PHY=m -CONFIG_AR5523=m -# CONFIG_ARCH_APPLE is not set -# CONFIG_ARCH_BCM4908 is not set -CONFIG_ARCH_CANAAN=y -# CONFIG_ARCH_DOVE is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_IOP32X is not set -# CONFIG_ARCH_IXP4XX is not set -# CONFIG_ARCH_KEEMBAY is not set -CONFIG_ARCH_MICROCHIP_POLARFIRE=y -CONFIG_ARCH_MICROCHIP=y -CONFIG_ARCH_MMAP_RND_BITS=18 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 -CONFIG_ARCH_MULTIPLATFORM=y -# CONFIG_ARCH_OMAP1 is not set -# CONFIG_ARCH_PXA is not set -# CONFIG_ARCH_R9A07G043 is not set -CONFIG_ARCH_RANDOM=y -# CONFIG_ARCH_REALTEK is not set -# CONFIG_ARCH_RENESAS is not set -# CONFIG_ARCH_RV32I is not set -CONFIG_ARCH_RV64I=y -# CONFIG_ARCH_S32 is not set -# CONFIG_ARCH_SA1100 is not set -CONFIG_ARCH_SIFIVE=y -CONFIG_ARCH_SOPHGO=y -# CONFIG_ARCH_SPARX5 is not set -CONFIG_ARCH_STARFIVE=y -# CONFIG_ARCH_SUNXI is not set -CONFIG_ARCH_THEAD=y -CONFIG_ARCH_VIRT=y -# CONFIG_ARCNET is not set -CONFIG_ARM64_AMU_EXTN=y -CONFIG_ARM64_E0PD=y -CONFIG_ARM64_EPAN=y -CONFIG_ARM64_ERRATUM_1319367=y -CONFIG_ARM64_ERRATUM_1530923=y -CONFIG_ARM64_ERRATUM_1542419=y -CONFIG_ARM64_ERRATUM_2054223=y -CONFIG_ARM64_ERRATUM_2067961=y -CONFIG_ARM64_ERRATUM_2119858=y -CONFIG_ARM64_ERRATUM_2139208=y -CONFIG_ARM64_ERRATUM_2224489=y -CONFIG_ARM64_ERRATUM_2253138=y -CONFIG_ARM64_USE_LSE_ATOMICS=y -CONFIG_ARM_CMN=m -# CONFIG_ARM_MHU is not set -# CONFIG_ARM_MHU_V2 is not set -CONFIG_ARM_PTDUMP_DEBUGFS=y -CONFIG_ARM_SMCCC_SOC_ID=y -# CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS is not set -# CONFIG_AS3935 is not set -# CONFIG_AS73211 is not set -# CONFIG_ASUS_TF103C_DOCK is not set -CONFIG_ASYMMETRIC_KEY_TYPE=y -CONFIG_ASYMMETRIC_TPM_KEY_SUBTYPE=m -CONFIG_ASYNC_RAID6_TEST=m -CONFIG_ASYNC_TX_DMA=y -CONFIG_AT803X_PHY=m -CONFIG_ATA_ACPI=y -CONFIG_ATA_BMDMA=y -CONFIG_ATA_FORCE=y -CONFIG_ATA_GENERIC=m -CONFIG_ATALK=m -CONFIG_ATA_OVER_ETH=m -CONFIG_ATA_PIIX=y -# CONFIG_ATARI_PARTITION is not set -CONFIG_ATA_SFF=y -CONFIG_ATA_VERBOSE_ERROR=y -CONFIG_ATA=y -CONFIG_ATH10K_AHB=y -CONFIG_ATH10K_DEBUGFS=y -CONFIG_ATH10K_DEBUG=y -CONFIG_ATH10K=m -CONFIG_ATH10K_PCI=m -CONFIG_ATH10K_SDIO=m -# CONFIG_ATH10K_SPECTRAL is not set -CONFIG_ATH10K_TRACING=y -CONFIG_ATH10K_USB=m -# CONFIG_ATH11K_AHB is not set -CONFIG_ATH11K_DEBUGFS=y -CONFIG_ATH11K_DEBUG=y -CONFIG_ATH11K=m -CONFIG_ATH11K_PCI=m -CONFIG_ATH11K_SPECTRAL=y -CONFIG_ATH11K_TRACING=y -CONFIG_ATH12K_DEBUGFS=y -CONFIG_ATH12K_DEBUG=y -CONFIG_ATH12K=m -CONFIG_ATH12K_TRACING=y -CONFIG_ATH5K_DEBUG=y -CONFIG_ATH5K=m -# CONFIG_ATH5K_TRACER is not set -CONFIG_ATH6KL_DEBUG=y -CONFIG_ATH6KL=m -CONFIG_ATH6KL_SDIO=m -# CONFIG_ATH6KL_TRACING is not set -CONFIG_ATH6KL_USB=m -CONFIG_ATH9K_AHB=y -CONFIG_ATH9K_BTCOEX_SUPPORT=y -# CONFIG_ATH9K_CHANNEL_CONTEXT is not set -# CONFIG_ATH9K_COMMON_SPECTRAL is not set -CONFIG_ATH9K_DEBUGFS=y -# CONFIG_ATH9K_DYNACK is not set -# CONFIG_ATH9K_HTC_DEBUGFS is not set -CONFIG_ATH9K_HTC=m -# CONFIG_ATH9K_HWRNG is not set -CONFIG_ATH9K=m -CONFIG_ATH9K_PCI_NO_EEPROM=m -CONFIG_ATH9K_PCI=y -CONFIG_ATH9K_PCOEM=y -CONFIG_ATH9K_RFKILL=y -# CONFIG_ATH9K_STATION_STATISTICS is not set -# CONFIG_ATH9K_WOW is not set -CONFIG_ATH_COMMON=m -CONFIG_ATH_DEBUG=y -# CONFIG_ATH_TRACEPOINTS is not set -CONFIG_ATL1C=m -CONFIG_ATL1E=m -CONFIG_ATL1=m -CONFIG_ATL2=m -# CONFIG_ATLAS_EZO_SENSOR is not set -# CONFIG_ATLAS_PH_SENSOR is not set -# CONFIG_ATM_BR2684_IPFILTER is not set -CONFIG_ATM_BR2684=m -CONFIG_ATM_CLIP=m -# CONFIG_ATM_CLIP_NO_ICMP is not set -CONFIG_ATM_DRIVERS=y -# CONFIG_ATM_DUMMY is not set -# CONFIG_ATM_ENI_DEBUG is not set -CONFIG_ATM_ENI=m -# CONFIG_ATM_ENI_TUNE_BURST is not set -# CONFIG_ATM_FORE200E is not set -CONFIG_ATM_HE=m -# CONFIG_ATM_HE_USE_SUNI is not set -# CONFIG_ATM_IA is not set -# CONFIG_ATM_IDT77252 is not set -# CONFIG_ATM_LANAI is not set -CONFIG_ATM_LANE=m -CONFIG_ATM=m -# CONFIG_ATM_MPOA is not set -CONFIG_ATM_NICSTAR=m -# CONFIG_ATM_NICSTAR_USE_IDT77105 is not set -# CONFIG_ATM_NICSTAR_USE_SUNI is not set -CONFIG_ATM_SOLOS=m -CONFIG_ATM_TCP=m -CONFIG_ATOMIC64_SELFTEST=y -CONFIG_ATP=m -CONFIG_AUDITSYSCALL=y -CONFIG_AUDIT=y -CONFIG_AUTOFS_FS=y -CONFIG_AUXDISPLAY=y -# CONFIG_AW96103 is not set -CONFIG_AX25_DAMA_SLAVE=y -CONFIG_AX25=m -# CONFIG_AX45MP_L2_CACHE is not set -CONFIG_AX88796B_PHY=m -CONFIG_AX88796B_RUST_PHY=y -CONFIG_AXP20X_ADC=m -CONFIG_AXP20X_POWER=m -CONFIG_AXP288_ADC=m -CONFIG_B43_BCMA_PIO=y -CONFIG_B43_BCMA=y -CONFIG_B43_BUSES_BCMA_AND_SSB=y -# CONFIG_B43_BUSES_BCMA is not set -# CONFIG_B43_BUSES_SSB is not set -CONFIG_B43_DEBUG=y -CONFIG_B43LEGACY_DEBUG=y -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y -# CONFIG_B43LEGACY_DMA_MODE is not set -CONFIG_B43LEGACY_DMA=y -CONFIG_B43LEGACY=m -# CONFIG_B43LEGACY_PIO_MODE is not set -CONFIG_B43LEGACY_PIO=y -CONFIG_B43=m -CONFIG_B43_PHY_G=y -CONFIG_B43_PHY_HT=y -CONFIG_B43_PHY_LP=y -CONFIG_B43_PHY_N=y -CONFIG_B43_SDIO=y -CONFIG_B44=m -CONFIG_B44_PCI=y -CONFIG_B53=m -CONFIG_B53_MDIO_DRIVER=m -CONFIG_B53_MMAP_DRIVER=m -CONFIG_B53_SERDES=m -CONFIG_B53_SPI_DRIVER=m -CONFIG_B53_SRAB_DRIVER=m -# CONFIG_BACKLIGHT_ADP8860 is not set -# CONFIG_BACKLIGHT_ADP8870 is not set -CONFIG_BACKLIGHT_ARCXCNN=m -# CONFIG_BACKLIGHT_BD6107 is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -# CONFIG_BACKLIGHT_GPIO is not set -CONFIG_BACKLIGHT_KTD253=m -# CONFIG_BACKLIGHT_KTD2801 is not set -CONFIG_BACKLIGHT_KTZ8866=m -CONFIG_BACKLIGHT_LED=m -CONFIG_BACKLIGHT_LM3509=m -# CONFIG_BACKLIGHT_LM3630A is not set -# CONFIG_BACKLIGHT_LM3639 is not set -CONFIG_BACKLIGHT_LP855X=m -# CONFIG_BACKLIGHT_LV5207LP is not set -CONFIG_BACKLIGHT_MP3309C=m -CONFIG_BACKLIGHT_MT6370=m -CONFIG_BACKLIGHT_PWM=m -# CONFIG_BACKLIGHT_QCOM_WLED is not set -CONFIG_BACKLIGHT_RT4831=m -# CONFIG_BACKLIGHT_SAHARA is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -CONFIG_BALLOON_COMPACTION=y -# CONFIG_BARCO_P50_GPIO is not set -CONFIG_BAREUDP=m -CONFIG_BASE_FULL=y -# CONFIG_BASE_SMALL is not set -CONFIG_BATMAN_ADV_BATMAN_V=y -CONFIG_BATMAN_ADV_BLA=y -CONFIG_BATMAN_ADV_DAT=y -# CONFIG_BATMAN_ADV_DEBUG is not set -CONFIG_BATMAN_ADV=m -CONFIG_BATMAN_ADV_MCAST=y -CONFIG_BATMAN_ADV_NC=y -CONFIG_BATMAN_ADV_TRACING=y -CONFIG_BATTERY_AXP20X=m -# CONFIG_BATTERY_BQ27XXX is not set -CONFIG_BATTERY_CW2015=m -# CONFIG_BATTERY_DS2760 is not set -# CONFIG_BATTERY_DS2780 is not set -# CONFIG_BATTERY_DS2781 is not set -# CONFIG_BATTERY_DS2782 is not set -# CONFIG_BATTERY_GAUGE_LTC2941 is not set -# CONFIG_BATTERY_GOLDFISH is not set -# CONFIG_BATTERY_MAX17040 is not set -# CONFIG_BATTERY_MAX17042 is not set -CONFIG_BATTERY_MAX1720X=m -# CONFIG_BATTERY_MAX1721X is not set -CONFIG_BATTERY_RT5033=m -CONFIG_BATTERY_SAMSUNG_SDI=y -# CONFIG_BATTERY_SBS is not set -CONFIG_BATTERY_SURFACE=m -CONFIG_BATTERY_UG3105=m -CONFIG_BAYCOM_EPP=m -CONFIG_BAYCOM_PAR=m -CONFIG_BAYCOM_SER_FDX=m -CONFIG_BAYCOM_SER_HDX=m -# CONFIG_BCACHE_ASYNC_REGISTRATION is not set -# CONFIG_BCACHE_CLOSURES_DEBUG is not set -# CONFIG_BCACHE_DEBUG is not set -CONFIG_BCACHEFS_DEBUG_TRANSACTIONS=y -CONFIG_BCACHEFS_DEBUG=y -# CONFIG_BCACHEFS_ERASURE_CODING is not set -CONFIG_BCACHEFS_FS=m -CONFIG_BCACHEFS_LOCK_TIME_STATS=y -# CONFIG_BCACHEFS_NO_LATENCY_ACCT is not set -# CONFIG_BCACHEFS_PATH_TRACEPOINTS is not set -CONFIG_BCACHEFS_POSIX_ACL=y -CONFIG_BCACHEFS_QUOTA=y -CONFIG_BCACHEFS_SIX_OPTIMISTIC_SPIN=y -# CONFIG_BCACHEFS_TESTS is not set -CONFIG_BCACHE=m -CONFIG_BCM54140_PHY=m -CONFIG_BCM7XXX_PHY=m -# CONFIG_BCM84881_PHY is not set -CONFIG_BCM87XX_PHY=m -CONFIG_BCMA_BLOCKIO=y -# CONFIG_BCMA_DEBUG is not set -CONFIG_BCMA_DRIVER_GMAC_CMN=y -CONFIG_BCMA_DRIVER_GPIO=y -CONFIG_BCMA_HOST_PCI_POSSIBLE=y -CONFIG_BCMA_HOST_PCI=y -# CONFIG_BCMA_HOST_SOC is not set -CONFIG_BCMA=m -CONFIG_BCMGENET=m -# CONFIG_BCM_KONA_USB2_PHY is not set -CONFIG_BCM_NET_PHYPTP=m -CONFIG_BCM_VK=m -CONFIG_BCM_VK_TTY=y -CONFIG_BD96801_WATCHDOG=m -CONFIG_BE2ISCSI=m -CONFIG_BE2NET_BE2=y -CONFIG_BE2NET_BE3=y -# CONFIG_BE2NET_HWMON is not set -CONFIG_BE2NET_LANCER=y -CONFIG_BE2NET=m -CONFIG_BE2NET_SKYHAWK=y -# CONFIG_BEFS_DEBUG is not set -CONFIG_BEFS_FS=m -# CONFIG_BFQ_CGROUP_DEBUG is not set -CONFIG_BFQ_GROUP_IOSCHED=y -# CONFIG_BFS_FS is not set -CONFIG_BH1745=m -CONFIG_BH1750=m -# CONFIG_BH1780 is not set -CONFIG_BIG_KEYS=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_FLAT is not set -CONFIG_BINFMT_MISC=m -CONFIG_BINFMT_SCRIPT=y -CONFIG_BITFIELD_KUNIT=m -CONFIG_BITS_TEST=m -CONFIG_BLK_CGROUP_FC_APPID=y -CONFIG_BLK_CGROUP_IOCOST=y -CONFIG_BLK_CGROUP_IOLATENCY=y -CONFIG_BLK_CGROUP_IOPRIO=y -CONFIG_BLK_CGROUP=y -CONFIG_BLK_DEBUG_FS=y -CONFIG_BLK_DEV_3W_XXXX_RAID=m -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_DM=y -CONFIG_BLK_DEV_DRBD=m -CONFIG_BLK_DEV_FD=m -# CONFIG_BLK_DEV_FD_RAWCMD is not set -CONFIG_BLK_DEV_INITRD=y -CONFIG_BLK_DEV_INTEGRITY=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_BLK_DEV_LOOP=m -CONFIG_BLK_DEV_LOOP_MIN_COUNT=0 -CONFIG_BLK_DEV_MD=y -CONFIG_BLK_DEV_NBD=m -CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y -CONFIG_BLK_DEV_NULL_BLK=m -CONFIG_BLK_DEV_NVME=m -# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set -CONFIG_BLK_DEV_PMEM=m -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM=m -CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_BLK_DEV_RBD=m -CONFIG_BLK_DEV_RNBD_CLIENT=m -CONFIG_BLK_DEV_RNBD_SERVER=m -# CONFIG_BLK_DEV_RSXX is not set -CONFIG_BLK_DEV_RUST_NULL=m -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_BLK_DEV_SX8=m -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -CONFIG_BLK_DEV_THROTTLING=y -CONFIG_BLKDEV_UBLK_LEGACY_OPCODES=y -CONFIG_BLK_DEV_UBLK=m -CONFIG_BLK_DEV_WRITE_MOUNTED=y -CONFIG_BLK_DEV=y -CONFIG_BLK_DEV_ZONED=y -# CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK is not set -CONFIG_BLK_INLINE_ENCRYPTION=y -CONFIG_BLK_SED_OPAL=y -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_WBT=y -CONFIG_BLOCK_LEGACY_AUTOLOAD=y -CONFIG_BLOCK=y -# CONFIG_BMA180 is not set -# CONFIG_BMA220 is not set -# CONFIG_BMA400 is not set -CONFIG_BMC150_ACCEL=m -CONFIG_BMC150_MAGN_I2C=m -CONFIG_BMC150_MAGN_SPI=m -CONFIG_BME680=m -# CONFIG_BMG160 is not set -# CONFIG_BMI088_ACCEL is not set -CONFIG_BMI160_I2C=m -CONFIG_BMI160_SPI=m -# CONFIG_BMI323_I2C is not set -# CONFIG_BMI323_SPI is not set -CONFIG_BMP280=m -CONFIG_BNA=m -CONFIG_BNX2=m -CONFIG_BNX2X=m -CONFIG_BNX2X_SRIOV=y -CONFIG_BNXT_DCB=y -CONFIG_BNXT_FLOWER_OFFLOAD=y -CONFIG_BNXT_HWMON=y -CONFIG_BNXT=m -CONFIG_BNXT_SRIOV=y -CONFIG_BONDING=m -# CONFIG_BOOT_CONFIG_EMBED is not set -# CONFIG_BOOT_CONFIG_FORCE is not set -CONFIG_BOOT_CONFIG=y -# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_BOOTTIME_TRACING=y -CONFIG_BOSCH_BNO055_I2C=m -CONFIG_BOSCH_BNO055_SERIAL=m -CONFIG_BOUNCE=y -# CONFIG_BPFILTER is not set -CONFIG_BPF_JIT_ALWAYS_ON=y -CONFIG_BPF_JIT=y -CONFIG_BPF_KPROBE_OVERRIDE=y -CONFIG_BPF_LIRC_MODE2=y -CONFIG_BPF_LSM=y -CONFIG_BPF_PRELOAD_UMD=m -CONFIG_BPF_PRELOAD=y -CONFIG_BPF_STREAM_PARSER=y -CONFIG_BPF_SYSCALL=y -CONFIG_BPF_UNPRIV_DEFAULT_OFF=y -CONFIG_BPQETHER=m -CONFIG_BQL=y -CONFIG_BRANCH_PROFILE_NONE=y -CONFIG_BRCMDBG=y -CONFIG_BRCMFMAC=m -CONFIG_BRCMFMAC_PCIE=y -CONFIG_BRCMFMAC_SDIO=y -CONFIG_BRCMFMAC_USB=y -CONFIG_BRCMSMAC=m -CONFIG_BRCM_TRACING=y -CONFIG_BRIDGE_CFM=y -CONFIG_BRIDGE_EBT_802_3=m -CONFIG_BRIDGE_EBT_AMONG=m -CONFIG_BRIDGE_EBT_ARP=m -CONFIG_BRIDGE_EBT_ARPREPLY=m -CONFIG_BRIDGE_EBT_BROUTE=m -CONFIG_BRIDGE_EBT_DNAT=m -CONFIG_BRIDGE_EBT_IP6=m -CONFIG_BRIDGE_EBT_IP=m -CONFIG_BRIDGE_EBT_LIMIT=m -CONFIG_BRIDGE_EBT_LOG=m -CONFIG_BRIDGE_EBT_MARK=m -CONFIG_BRIDGE_EBT_MARK_T=m -CONFIG_BRIDGE_EBT_NFLOG=m -CONFIG_BRIDGE_EBT_PKTTYPE=m -CONFIG_BRIDGE_EBT_REDIRECT=m -CONFIG_BRIDGE_EBT_SNAT=m -CONFIG_BRIDGE_EBT_STP=m -CONFIG_BRIDGE_EBT_T_FILTER=m -CONFIG_BRIDGE_EBT_T_NAT=m -CONFIG_BRIDGE_EBT_VLAN=m -CONFIG_BRIDGE_IGMP_SNOOPING=y -CONFIG_BRIDGE=m -CONFIG_BRIDGE_MRP=y -CONFIG_BRIDGE_NETFILTER=m -CONFIG_BRIDGE_NF_EBTABLES=m -CONFIG_BRIDGE_VLAN_FILTERING=y -CONFIG_BROADCOM_PHY=m -CONFIG_BSD_DISKLABEL=y -CONFIG_BSD_PROCESS_ACCT_V3=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_BT_6LOWPAN=m -CONFIG_BT_AOSPEXT=y -CONFIG_BT_ATH3K=m -CONFIG_BT_BNEP=m -CONFIG_BT_BNEP_MC_FILTER=y -CONFIG_BT_BNEP_PROTO_FILTER=y -CONFIG_BT_BREDR=y -# CONFIG_BT_DEBUGFS is not set -CONFIG_BT_HCIBCM203X=m -CONFIG_BT_HCIBCM4377=m -CONFIG_BT_HCIBFUSB=m -CONFIG_BT_HCIBLUECARD=m -CONFIG_BT_HCIBPA10X=m -CONFIG_BT_HCIBT3C=m -CONFIG_BT_HCIBTSDIO=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y -CONFIG_BT_HCIBTUSB_BCM=y -CONFIG_BT_HCIBTUSB=m -CONFIG_BT_HCIBTUSB_MTK=y -CONFIG_BT_HCIBTUSB_POLL_SYNC=y -CONFIG_BT_HCIBTUSB_RTL=y -CONFIG_BT_HCIDTL1=m -CONFIG_BT_HCIUART_3WIRE=y -CONFIG_BT_HCIUART_AG6XX=y -# CONFIG_BT_HCIUART_AML is not set -CONFIG_BT_HCIUART_ATH3K=y -CONFIG_BT_HCIUART_BCM=y -CONFIG_BT_HCIUART_BCSP=y -CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_INTEL=y -CONFIG_BT_HCIUART_LL=y -CONFIG_BT_HCIUART=m -CONFIG_BT_HCIUART_MRVL=y -CONFIG_BT_HCIUART_NOKIA=m -CONFIG_BT_HCIUART_QCA=y -# CONFIG_BT_HCIUART_RTL is not set -CONFIG_BT_HCIUART_SERDEV=y -CONFIG_BT_HCIVHCI=m -CONFIG_BT_HIDP=m -# CONFIG_BT_HS is not set -CONFIG_BT_INTEL_PCIE=m -CONFIG_BT_LEDS=y -CONFIG_BT_LE_L2CAP_ECRED=y -CONFIG_BT_LE=y -CONFIG_BT=m -CONFIG_BT_MRVL=m -CONFIG_BT_MRVL_SDIO=m -CONFIG_BT_MSFTEXT=y -CONFIG_BT_MTKSDIO=m -CONFIG_BT_MTKUART=m -CONFIG_BT_NXPUART=m -CONFIG_BT_QCA=m -CONFIG_BT_RFCOMM=m -CONFIG_BT_RFCOMM_TTY=y -CONFIG_BTRFS_ASSERT=y -# CONFIG_BTRFS_DEBUG is not set -# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set -CONFIG_BTRFS_FS_POSIX_ACL=y -# CONFIG_BTRFS_FS_REF_VERIFY is not set -# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set -CONFIG_BTRFS_FS=y -# CONFIG_BT_SELFTEST is not set -# CONFIG_BTT is not set -CONFIG_BT_VIRTIO=m -CONFIG_BUG_ON_DATA_CORRUPTION=y -CONFIG_BUG=y -CONFIG_BUILD_SALT="" -# CONFIG_C2PORT is not set -# CONFIG_CACHEFILES_DEBUG is not set -# CONFIG_CACHEFILES_ERROR_INJECTION is not set -CONFIG_CACHEFILES=m -CONFIG_CACHEFILES_ONDEMAND=y -CONFIG_CACHESTAT_SYSCALL=y -# CONFIG_CADENCE_WATCHDOG is not set -# CONFIG_CAIF is not set -CONFIG_CAN_8DEV_USB=m -CONFIG_CAN_BCM=m -CONFIG_CAN_CALC_BITTIMING=y -CONFIG_CAN_CAN327=m -# CONFIG_CAN_CC770 is not set -# CONFIG_CAN_C_CAN is not set -CONFIG_CAN_CTUCANFD_PCI=m -CONFIG_CAN_CTUCANFD_PLATFORM=m -CONFIG_CAN_DEBUG_DEVICES=y -CONFIG_CAN_DEV=m -CONFIG_CAN_EMS_USB=m -# CONFIG_CAN_ESD_402_PCI is not set -CONFIG_CAN_ESD_USB2=m -CONFIG_CAN_ESD_USB=m -# CONFIG_CAN_ETAS_ES58X is not set -CONFIG_CAN_F81604=m -# CONFIG_CAN_FLEXCAN is not set -# CONFIG_CAN_GRCAN is not set -CONFIG_CAN_GS_USB=m -CONFIG_CAN_GW=m -CONFIG_CAN_HI311X=m -CONFIG_CAN_IFI_CANFD=m -CONFIG_CAN_ISOTP=m -CONFIG_CAN_J1939=m -# CONFIG_CAN_KVASER_PCIEFD is not set -CONFIG_CAN_KVASER_USB=m -CONFIG_CAN=m -CONFIG_CAN_M_CAN=m -CONFIG_CAN_M_CAN_PCI=m -# CONFIG_CAN_M_CAN_PLATFORM is not set -# CONFIG_CAN_M_CAN_TCAN4X5X is not set -CONFIG_CAN_MCBA_USB=m -CONFIG_CAN_MCP251XFD=m -# CONFIG_CAN_MCP251XFD_SANITY is not set -CONFIG_CAN_MCP251X=m -CONFIG_CAN_NETLINK=y -CONFIG_CAN_PEAK_PCIEFD=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_RAW=m -# CONFIG_CAN_ROCKCHIP_CANFD is not set -# CONFIG_CAN_SJA1000 is not set -CONFIG_CAN_SLCAN=m -# CONFIG_CAN_SOFTING is not set -CONFIG_CAN_SUN4I=m -# CONFIG_CAN_UCAN is not set -CONFIG_CAN_VCAN=m -CONFIG_CAN_VXCAN=m -# CONFIG_CARDBUS is not set -CONFIG_CARL9170_DEBUGFS=y -# CONFIG_CARL9170_HWRNG is not set -CONFIG_CARL9170_LEDS=y -CONFIG_CARL9170=m -CONFIG_CASSINI=m -CONFIG_CB710_CORE=m -# CONFIG_CB710_DEBUG is not set -# CONFIG_CC10001_ADC is not set -CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -# CONFIG_CCS811 is not set -CONFIG_CDROM_PKTCDVD_BUFFERS=8 -CONFIG_CDROM_PKTCDVD=m -# CONFIG_CDROM_PKTCDVD_WCACHE is not set -CONFIG_CDX_CONTROLLER=m -CONFIG_CEC_CH7322=m -CONFIG_CEC_GPIO=m -# CONFIG_CEC_PIN_ERROR_INJ is not set -CONFIG_CEC_PIN=y -# CONFIG_CEC_SECO is not set -CONFIG_CEC_SECO_RC=y -CONFIG_CEPH_FSCACHE=y -CONFIG_CEPH_FS=m -CONFIG_CEPH_FS_POSIX_ACL=y -CONFIG_CEPH_FS_SECURITY_LABEL=y -CONFIG_CEPH_LIB=m -CONFIG_CEPH_LIB_PRETTYDEBUG=y -# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set -CONFIG_CFAG12864B=m -CONFIG_CFAG12864B_RATE=20 -# CONFIG_CFG80211_CERTIFICATION_ONUS is not set -CONFIG_CFG80211_CRDA_SUPPORT=y -CONFIG_CFG80211_DEBUGFS=y -CONFIG_CFG80211_DEFAULT_PS=y -# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set -CONFIG_CFG80211_KUNIT_TEST=m -CONFIG_CFG80211=m -# CONFIG_CFG80211_WEXT is not set -# CONFIG_CFI_CLANG is not set -CONFIG_CFS_BANDWIDTH=y -CONFIG_CGROUP_BPF=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_DEVICE=y -# CONFIG_CGROUP_FAVOR_DYNMODS is not set -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_HUGETLB=y -CONFIG_CGROUP_MISC=y -CONFIG_CGROUP_NET_CLASSID=y -CONFIG_CGROUP_NET_PRIO=y -CONFIG_CGROUP_PERF=y -CONFIG_CGROUP_PIDS=y -CONFIG_CGROUP_RDMA=y -CONFIG_CGROUP_SCHED=y -CONFIG_CGROUPS=y -# CONFIG_CHARGER_ADP5061 is not set -CONFIG_CHARGER_AXP20X=m -CONFIG_CHARGER_BD99954=m -# CONFIG_CHARGER_BQ2415X is not set -# CONFIG_CHARGER_BQ24190 is not set -# CONFIG_CHARGER_BQ24257 is not set -# CONFIG_CHARGER_BQ24735 is not set -CONFIG_CHARGER_BQ2515X=m -CONFIG_CHARGER_BQ256XX=m -# CONFIG_CHARGER_BQ25890 is not set -# CONFIG_CHARGER_BQ25980 is not set -CONFIG_CHARGER_CROS_CONTROL=m -CONFIG_CHARGER_CROS_PCHG=m -# CONFIG_CHARGER_CROS_USBPD is not set -# CONFIG_CHARGER_DETECTOR_MAX14656 is not set -# CONFIG_CHARGER_GPIO is not set -# CONFIG_CHARGER_ISP1704 is not set -# CONFIG_CHARGER_LP8727 is not set -CONFIG_CHARGER_LT3651=m -CONFIG_CHARGER_LTC4162L=m -# CONFIG_CHARGER_MANAGER is not set -CONFIG_CHARGER_MAX77650=m -CONFIG_CHARGER_MAX77976=m -# CONFIG_CHARGER_MAX8903 is not set -CONFIG_CHARGER_MT6370=m -# CONFIG_CHARGER_RT9455 is not set -CONFIG_CHARGER_RT9467=m -CONFIG_CHARGER_RT9471=m -# CONFIG_CHARGER_SBS is not set -CONFIG_CHARGER_SMB347=m -CONFIG_CHARGER_SURFACE=m -CONFIG_CHARGER_UCS1002=m -CONFIG_CHARLCD_BL_FLASH=y -# CONFIG_CHARLCD_BL_OFF is not set -# CONFIG_CHARLCD_BL_ON is not set -CONFIG_CHECKPOINT_RESTORE=y -CONFIG_CHECKSUM_KUNIT=m -CONFIG_CHELSIO_INLINE_CRYPTO=y -CONFIG_CHELSIO_IPSEC_INLINE=m -CONFIG_CHELSIO_T1_1G=y -CONFIG_CHELSIO_T1=m -CONFIG_CHELSIO_T3=m -CONFIG_CHELSIO_T4_DCB=y -# CONFIG_CHELSIO_T4_FCOE is not set -CONFIG_CHELSIO_T4=m -CONFIG_CHELSIO_T4VF=m -CONFIG_CHELSIO_TLS_DEVICE=m -CONFIG_CHR_DEV_SCH=m -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_ST=m -CONFIG_CHROMEOS_ACPI=m -CONFIG_CHROMEOS_PRIVACY_SCREEN=m -CONFIG_CHROMEOS_TBMC=y -CONFIG_CHROME_PLATFORMS=y -CONFIG_CHT_DC_TI_PMIC_OPREGION=y -CONFIG_CICADA_PHY=m -CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y -# CONFIG_CIFS_COMPRESSION is not set -# CONFIG_CIFS_DEBUG2 is not set -# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set -CONFIG_CIFS_DEBUG=y -CONFIG_CIFS_DFS_UPCALL=y -CONFIG_CIFS_FSCACHE=y -CONFIG_CIFS=m -CONFIG_CIFS_POSIX=y -# CONFIG_CIFS_SMB_DIRECT is not set -# CONFIG_CIFS_STATS2 is not set -CONFIG_CIFS_SWN_UPCALL=y -CONFIG_CIFS_UPCALL=y -CONFIG_CIFS_XATTR=y -CONFIG_CIO2_BRIDGE=y -CONFIG_CLEANCACHE=y -CONFIG_CLK_FD_KUNIT_TEST=m -CONFIG_CLK_FIXED_RATE_KUNIT_TEST=m -CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_ICST is not set -CONFIG_CLK_KUNIT_TEST=m -# CONFIG_CLK_QORIQ is not set -CONFIG_CLK_SIFIVE_PRCI=y -CONFIG_CLK_SIFIVE=y -CONFIG_CLK_SOPHGO_CV1800=y -# CONFIG_CLK_SOPHGO_SG2042_PLL is not set -# CONFIG_CLK_SP810 is not set -CONFIG_CLK_STARFIVE_JH7100_AUDIO=m -CONFIG_CLK_STARFIVE_JH7100=y -CONFIG_CLK_STARFIVE_JH7110_AON=y -CONFIG_CLK_STARFIVE_JH7110_ISP=y -CONFIG_CLK_STARFIVE_JH7110_PLL=y -CONFIG_CLK_STARFIVE_JH7110_STG=y -CONFIG_CLK_STARFIVE_JH7110_SYS=y -CONFIG_CLK_STARFIVE_JH7110_VOUT=y -CONFIG_CLK_STARFIVE_JH71X0=y -# CONFIG_CLK_SUNXI_CLOCKS is not set -# CONFIG_CLK_SUNXI is not set -# CONFIG_CLK_SUNXI_PRCM_SUN6I is not set -# CONFIG_CLK_SUNXI_PRCM_SUN8I is not set -# CONFIG_CLK_SUNXI_PRCM_SUN9I is not set -CONFIG_CLK_THEAD_TH1520_AP=y -CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=100 -CONFIG_CLS_U32_MARK=y -CONFIG_CLS_U32_PERF=y -CONFIG_CM32181=m -# CONFIG_CM3232 is not set -# CONFIG_CM3323 is not set -CONFIG_CM3605=m -# CONFIG_CM36651 is not set -CONFIG_CMA_AREAS=7 -# CONFIG_CMA_DEBUGFS is not set -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA is not set -CONFIG_CMA_SYSFS=y -CONFIG_CMDLINE="" -# CONFIG_CMDLINE_BOOL is not set -CONFIG_CMDLINE_FROM_BOOTLOADER=y -CONFIG_CMDLINE_KUNIT_TEST=m -# CONFIG_CMDLINE_PARTITION is not set -CONFIG_CMODEL_MEDANY=y -# CONFIG_CMODEL_MEDLOW is not set -CONFIG_CNIC=m -CONFIG_CODA_FS=m -# CONFIG_COMEDI is not set -CONFIG_COMMAND_LINE_SIZE=4096 -CONFIG_COMMON_CLK_AXG_AUDIO=y -CONFIG_COMMON_CLK_AXI_CLKGEN=m -# CONFIG_COMMON_CLK_CDCE706 is not set -# CONFIG_COMMON_CLK_CDCE925 is not set -# CONFIG_COMMON_CLK_CS2000_CP is not set -# CONFIG_COMMON_CLK_FIXED_MMIO is not set -# CONFIG_COMMON_CLK_FSL_FLEXSPI is not set -# CONFIG_COMMON_CLK_FSL_SAI is not set -# CONFIG_COMMON_CLK_LAN966X is not set -# CONFIG_COMMON_CLK_MAX9485 is not set -# CONFIG_COMMON_CLK_MMP2_AUDIO is not set -CONFIG_COMMON_CLK_PWM=m -CONFIG_COMMON_CLK_RS9_PCIE=m -# CONFIG_COMMON_CLK_SI514 is not set -CONFIG_COMMON_CLK_SI521XX=y -# CONFIG_COMMON_CLK_SI5341 is not set -# CONFIG_COMMON_CLK_SI5351 is not set -CONFIG_COMMON_CLK_SI544=m -# CONFIG_COMMON_CLK_SI570 is not set -CONFIG_COMMON_CLK_VC3=m -# CONFIG_COMMON_CLK_VC5 is not set -CONFIG_COMMON_CLK_VC7=m -# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set -CONFIG_COMMON_CLK=y -CONFIG_COMPACTION=y -CONFIG_COMPAT_32BIT_TIME=y -# CONFIG_COMPAT_BRK is not set -# CONFIG_COMPAT is not set -# CONFIG_COMPILE_TEST is not set -CONFIG_CONFIGFS_FS=y -CONFIG_CONNECTOR=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_CONSOLE_LOGLEVEL_QUIET=3 -CONFIG_CONSOLE_TRANSLATIONS=y -CONFIG_CONTEXT_SWITCH_TRACER=y -# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set -CONFIG_CORDIC=m -CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y -CONFIG_COREDUMP=y -# CONFIG_CORESIGHT_CPU_DEBUG_DEFAULT_ON is not set -CONFIG_CORTINA_PHY=m -# CONFIG_COUNTER is not set -# CONFIG_CPU5_WDT is not set -# CONFIG_CPU_BIG_ENDIAN is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y -CONFIG_CPUFREQ_DT=m -CONFIG_CPUFREQ_DT_PLATDEV=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_PERFORMANCE=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_STAT=y -CONFIG_CPU_FREQ_THERMAL=y -CONFIG_CPU_FREQ=y -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -# CONFIG_CPU_IDLE_GOV_HALTPOLL is not set -# CONFIG_CPU_IDLE_GOV_LADDER is not set -# CONFIG_CPU_IDLE_GOV_TEO is not set -CONFIG_CPU_IDLE=y -CONFIG_CPU_ISOLATION=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPUMASK_KUNIT_TEST=m -CONFIG_CPUMASK_OFFSTACK=y -CONFIG_CPU_MITIGATIONS=y -# CONFIG_CPUSETS_V1 is not set -CONFIG_CPUSETS=y -# CONFIG_CPU_THERMAL is not set -CONFIG_CRAMFS_BLOCKDEV=y -# CONFIG_CRAMFS is not set -# CONFIG_CRAMFS_MTD is not set -CONFIG_CRASH_DUMP=y -CONFIG_CRASH_HOTPLUG=y -CONFIG_CRASH_MAX_MEMORY_RANGES=8192 -CONFIG_CRC16=y -# CONFIG_CRC32_BIT is not set -# CONFIG_CRC32_SARWATE is not set -# CONFIG_CRC32_SELFTEST is not set -# CONFIG_CRC32_SLICEBY4 is not set -CONFIG_CRC32_SLICEBY8=y -CONFIG_CRC32=y -CONFIG_CRC4=m -CONFIG_CRC64=y -CONFIG_CRC7=y -CONFIG_CRC8=m -CONFIG_CRC_CCITT=y -CONFIG_CRC_ITU_T=y -CONFIG_CRC_T10DIF=y -# CONFIG_CROS_EC_DEBUGFS is not set -# CONFIG_CROS_EC is not set -# CONFIG_CROS_EC_LIGHTBAR is not set -CONFIG_CROS_EC_MKBP_PROXIMITY=m -CONFIG_CROS_EC_RPMSG=m -CONFIG_CROS_EC_SENSORHUB=m -CONFIG_CROS_EC_TYPEC=m -CONFIG_CROS_EC_UART=m -CONFIG_CROS_EC_WATCHDOG=m -CONFIG_CROS_HPS_I2C=m -CONFIG_CROS_KBD_LED_BACKLIGHT=m -CONFIG_CROS_KUNIT_EC_PROTO_TEST=m -CONFIG_CROS_KUNIT=m -CONFIG_CROSS_MEMORY_ATTACH=y -CONFIG_CROS_TYPEC_SWITCH=m -CONFIG_CROS_USBPD_LOGGER=m -CONFIG_CROS_USBPD_NOTIFY=m -CONFIG_CRYPTO_842=y -CONFIG_CRYPTO_ADIANTUM=m -CONFIG_CRYPTO_AEGIS128=m -# CONFIG_CRYPTO_AES_ARM64 is not set -CONFIG_CRYPTO_AES_RISCV64=y -CONFIG_CRYPTO_AES_TI=m -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ANSI_CPRNG=m -# CONFIG_CRYPTO_ARIA is not set -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m -CONFIG_CRYPTO_BLOWFISH=m -CONFIG_CRYPTO_CAMELLIA=m -CONFIG_CRYPTO_CAST5=m -CONFIG_CRYPTO_CAST6=m -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_CCM=y -CONFIG_CRYPTO_CHACHA20=m -CONFIG_CRYPTO_CHACHA20POLY1305=m -CONFIG_CRYPTO_CHACHA_RISCV64=y -CONFIG_CRYPTO_CMAC=y -CONFIG_CRYPTO_CRC32C_VPMSUM=m -CONFIG_CRYPTO_CRC32C=y -CONFIG_CRYPTO_CRC32=m -# CONFIG_CRYPTO_CRYPTD is not set -CONFIG_CRYPTO_CTR=y -CONFIG_CRYPTO_CTS=y -CONFIG_CRYPTO_CURVE25519=m -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DES=m -# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set -CONFIG_CRYPTO_DEV_ATMEL_ECC=m -CONFIG_CRYPTO_DEV_ATMEL_SHA204A=m -CONFIG_CRYPTO_DEV_CCP_DEBUGFS=y -# CONFIG_CRYPTO_DEV_CCREE is not set -CONFIG_CRYPTO_DEV_CHELSIO=m -# CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST is not set -CONFIG_CRYPTO_DEV_HIFN_795X=m -CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y -# CONFIG_CRYPTO_DEV_HISI_HPRE is not set -# CONFIG_CRYPTO_DEV_HISI_SEC2 is not set -# CONFIG_CRYPTO_DEV_HISI_SEC is not set -# CONFIG_CRYPTO_DEV_HISI_TRNG is not set -CONFIG_CRYPTO_DEV_JH7110=m -CONFIG_CRYPTO_DEV_NITROX_CNN55XX=m -# CONFIG_CRYPTO_DEV_OCTEONTX_CPT is not set -CONFIG_CRYPTO_DEV_QAT_420XX=m -CONFIG_CRYPTO_DEV_QAT_4XXX=m -CONFIG_CRYPTO_DEV_QAT_C3XXX=m -CONFIG_CRYPTO_DEV_QAT_C3XXXVF=m -CONFIG_CRYPTO_DEV_QAT_C62X=m -CONFIG_CRYPTO_DEV_QAT_C62XVF=m -CONFIG_CRYPTO_DEV_QAT_DH895xCC=m -CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=m -# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set -# CONFIG_CRYPTO_DEV_SAFEXCEL is not set -# CONFIG_CRYPTO_DEV_SP_CCP is not set -CONFIG_CRYPTO_DEV_VIRTIO=m -CONFIG_CRYPTO_DH_RFC7919_GROUPS=y -CONFIG_CRYPTO_DH=y -CONFIG_CRYPTO_DRBG_CTR=y -CONFIG_CRYPTO_DRBG_HASH=y -CONFIG_CRYPTO_DRBG_MENU=y -CONFIG_CRYPTO_ECB=y -CONFIG_CRYPTO_ECDH=y -CONFIG_CRYPTO_ECDSA=y -CONFIG_CRYPTO_ECHAINIV=m -CONFIG_CRYPTO_ECRDSA=m -CONFIG_CRYPTO_ESSIV=m -CONFIG_CRYPTO_FCRYPT=m -# CONFIG_CRYPTO_FIPS_CUSTOM_VERSION is not set -CONFIG_CRYPTO_FIPS_NAME="Linux Kernel Cryptographic API" -CONFIG_CRYPTO_FIPS=y -CONFIG_CRYPTO_GCM=y -CONFIG_CRYPTO_GHASH_RISCV64=y -CONFIG_CRYPTO_GHASH=y -CONFIG_CRYPTO_HCTR2=m -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_HW=y -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_1024 is not set -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_128 is not set -CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_2=y -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_8192 is not set -CONFIG_CRYPTO_JITTERENTROPY_OSR=1 -# CONFIG_CRYPTO_JITTERENTROPY_TESTINTERFACE is not set -CONFIG_CRYPTO_KEYWRAP=m -CONFIG_CRYPTO_LIB_BLAKE2S=m -CONFIG_CRYPTO_LIB_CHACHA20POLY1305=y -CONFIG_CRYPTO_LIB_CHACHA=y -CONFIG_CRYPTO_LIB_CURVE25519=m -CONFIG_CRYPTO_LIB_POLY1305=y -CONFIG_CRYPTO_LRW=m -CONFIG_CRYPTO_LZ4HC=m -CONFIG_CRYPTO_LZ4=m -CONFIG_CRYPTO_LZO=y -# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set -# CONFIG_CRYPTO_MANAGER_EXTRA_TESTS is not set -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_MD4=m -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_MICHAEL_MIC=m -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_PCRYPT=m -CONFIG_CRYPTO_POLY1305=m -CONFIG_CRYPTO_RMD160=m -CONFIG_CRYPTO_RSA=y -CONFIG_CRYPTO_SEQIV=y -CONFIG_CRYPTO_SERPENT=m -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256_RISCV64=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_SHA3=y -CONFIG_CRYPTO_SHA512_RISCV64=y -CONFIG_CRYPTO_SHA512=y -CONFIG_CRYPTO_SIMD=y -# CONFIG_CRYPTO_SM2 is not set -# CONFIG_CRYPTO_SM3_GENERIC is not set -# CONFIG_CRYPTO_SM3 is not set -# CONFIG_CRYPTO_SM3_RISCV64 is not set -# CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set -# CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set -# CONFIG_CRYPTO_SM4_GENERIC is not set -# CONFIG_CRYPTO_SM4 is not set -# CONFIG_CRYPTO_SM4_RISCV64 is not set -# CONFIG_CRYPTO_STATS is not set -CONFIG_CRYPTO_STREEBOG=m -CONFIG_CRYPTO_TEST=m -CONFIG_CRYPTO_TWOFISH=m -CONFIG_CRYPTO_USER_API_AEAD=y -# CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is not set -CONFIG_CRYPTO_USER_API_HASH=y -# CONFIG_CRYPTO_USER_API_RNG_CAVP is not set -CONFIG_CRYPTO_USER_API_RNG=y -CONFIG_CRYPTO_USER_API_SKCIPHER=y -CONFIG_CRYPTO_USER=m -CONFIG_CRYPTO_VMAC=m -CONFIG_CRYPTO_WP512=m -CONFIG_CRYPTO_XCBC=m -CONFIG_CRYPTO_XTS=y -CONFIG_CRYPTO_XXHASH=y -CONFIG_CRYPTO=y -CONFIG_CRYPTO_ZSTD=m -# CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set -CONFIG_CSD_LOCK_WAIT_DEBUG=y -CONFIG_CUSE=m -CONFIG_CW1200=m -CONFIG_CW1200_WLAN_SDIO=m -CONFIG_CW1200_WLAN_SPI=m -CONFIG_CXD2880_SPI_DRV=m -# CONFIG_CX_ECAT is not set -CONFIG_CXL_ACPI=m -CONFIG_CXL_BUS=m -CONFIG_CXL_MEM=m -# CONFIG_CXL_MEM_RAW_COMMANDS is not set -CONFIG_CXL_PCI=m -CONFIG_CXL_PMEM=m -CONFIG_CXL_PMU=m -# CONFIG_CXL_REGION_INVALIDATION_TEST is not set -CONFIG_CXL_REGION=y -# CONFIG_CZNIC_PLATFORMS is not set -CONFIG_DA280=m -CONFIG_DA311=m -CONFIG_DA9063_WATCHDOG=m -# CONFIG_DAMON_DBGFS_DEPRECATED is not set -CONFIG_DAMON_DBGFS=y -# CONFIG_DAMON_LRU_SORT is not set -CONFIG_DAMON_PADDR=y -CONFIG_DAMON_RECLAIM=y -CONFIG_DAMON_SYSFS=y -CONFIG_DAMON_VADDR=y -CONFIG_DAMON=y -CONFIG_DAVICOM_PHY=m -CONFIG_DAX=y -CONFIG_DCB=y -# CONFIG_DDR is not set -CONFIG_DE2104X_DSL=0 -CONFIG_DE2104X=m -CONFIG_DEBUG_ATOMIC_SLEEP=y -CONFIG_DEBUG_BOOT_PARAMS=y -CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_CGROUP_REF is not set -# CONFIG_DEBUG_CLOSURES is not set -CONFIG_DEBUG_CREDENTIALS=y -# CONFIG_DEBUG_DEVRES is not set -# CONFIG_DEBUG_DRIVER is not set -# CONFIG_DEBUG_ENTRY is not set -# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_32B is not set -# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set -CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y -CONFIG_DEBUG_FS_ALLOW_ALL=y -# CONFIG_DEBUG_FS_ALLOW_NONE is not set -# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set -CONFIG_DEBUG_FS=y -# CONFIG_DEBUG_GPIO is not set -CONFIG_DEBUG_HIGHMEM=y -CONFIG_DEBUG_INFO_BTF_MODULES=y -CONFIG_DEBUG_INFO_BTF=y -# CONFIG_DEBUG_INFO_COMPRESSED is not set -CONFIG_DEBUG_INFO_COMPRESSED_NONE=y -# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set -# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set -# CONFIG_DEBUG_INFO_DWARF4 is not set -# CONFIG_DEBUG_INFO_DWARF5 is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -# CONFIG_DEBUG_INFO_NONE is not set -# CONFIG_DEBUG_INFO_REDUCED is not set -# CONFIG_DEBUG_INFO_SPLIT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_IRQFLAGS=y -# CONFIG_DEBUG_KERNEL_DC is not set -CONFIG_DEBUG_KERNEL=y -CONFIG_DEBUG_KMAP_LOCAL=y -CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y -CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y -CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE=40000 -# CONFIG_DEBUG_KMEMLEAK_TEST is not set -CONFIG_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KOBJECT is not set -# CONFIG_DEBUG_KOBJECT_RELEASE is not set -CONFIG_DEBUG_LIST=y -CONFIG_DEBUG_LOCK_ALLOC=y -# CONFIG_DEBUG_LOCKDEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_DEBUG_MAPLE_TREE is not set -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_DEBUG_MISC=y -CONFIG_DEBUG_MUTEXES=y -CONFIG_DEBUG_NET=y -CONFIG_DEBUG_NOTIFIERS=y -CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 -CONFIG_DEBUG_OBJECTS_FREE=y -CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y -CONFIG_DEBUG_OBJECTS_RCU_HEAD=y -# CONFIG_DEBUG_OBJECTS_SELFTEST is not set -CONFIG_DEBUG_OBJECTS_TIMERS=y -CONFIG_DEBUG_OBJECTS_WORK=y -CONFIG_DEBUG_OBJECTS=y -# CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT is not set -CONFIG_DEBUG_PAGEALLOC=y -CONFIG_DEBUG_PAGE_REF=y -CONFIG_DEBUG_PER_CPU_MAPS=y -CONFIG_DEBUG_PERF_USE_VMALLOC=y -# CONFIG_DEBUG_PINCTRL is not set -# CONFIG_DEBUG_PLIST is not set -CONFIG_DEBUG_PREEMPT=y -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_RSEQ is not set -CONFIG_DEBUG_RT_MUTEXES=y -CONFIG_DEBUG_RWSEMS=y -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_DEBUG_SG=y -CONFIG_DEBUG_SHIRQ=y -CONFIG_DEBUG_SPINLOCK=y -CONFIG_DEBUG_STACK_USAGE=y -# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set -# CONFIG_DEBUG_TIMEKEEPING is not set -# CONFIG_DEBUG_VIRTUAL is not set -# CONFIG_DEBUG_VM_MAPLE_TREE is not set -CONFIG_DEBUG_VM_PGFLAGS=y -CONFIG_DEBUG_VM_PGTABLE=y -# CONFIG_DEBUG_VM_RB is not set -CONFIG_DEBUG_VM_SHOOT_LAZIES=y -# CONFIG_DEBUG_VM_VMACACHE is not set -CONFIG_DEBUG_VM=y -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y -CONFIG_DEBUG_WX=y -# CONFIG_DECNET is not set -CONFIG_DEFAULT_CUBIC=y -CONFIG_DEFAULT_HOSTNAME="(none)" -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -CONFIG_DEFAULT_INIT="" -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -# CONFIG_DEFAULT_RENO is not set -# CONFIG_DEFAULT_SECURITY_DAC is not set -CONFIG_DEFAULT_SECURITY_SELINUX=y -# CONFIG_DEFAULT_SECURITY_TOMOYO is not set -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEV_DAX_CXL=m -CONFIG_DEV_DAX_HMEM=m -# CONFIG_DEV_DAX_KMEM is not set -CONFIG_DEV_DAX=m -# CONFIG_DEV_DAX_PMEM_COMPAT is not set -CONFIG_DEVMEM=y -CONFIG_DEVPORT=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DEVTMPFS_SAFE=y -CONFIG_DEVTMPFS=y -CONFIG_DHT11=m -CONFIG_DL2K=m -# CONFIG_DLHL60D is not set -CONFIG_DLM_DEBUG=y -# CONFIG_DLM_DEPRECATED_API is not set -CONFIG_DLM=m -CONFIG_DLN2_ADC=m -CONFIG_DM9051=m -CONFIG_DM9102=m -CONFIG_DMA_API_DEBUG_SG=y -CONFIG_DMA_API_DEBUG=y -CONFIG_DMABUF_DEBUG=y -CONFIG_DMABUF_HEAPS_CMA=y -CONFIG_DMABUF_HEAPS_SYSTEM=y -CONFIG_DMABUF_HEAPS=y -# CONFIG_DMABUF_MOVE_NOTIFY is not set -# CONFIG_DMABUF_SELFTESTS is not set -# CONFIG_DMABUF_SYSFS_STATS is not set -# CONFIG_DMA_CMA is not set -CONFIG_DMADEVICES_DEBUG=y -# CONFIG_DMADEVICES_VDEBUG is not set -CONFIG_DMADEVICES=y -CONFIG_DMA_ENGINE=y -# CONFIG_DMA_FENCE_TRACE is not set -# CONFIG_DMA_MAP_BENCHMARK is not set -# CONFIG_DMA_NUMA_CMA is not set -# CONFIG_DMAPOOL_TEST is not set -# CONFIG_DMARD06 is not set -# CONFIG_DMARD09 is not set -CONFIG_DMARD10=m -# CONFIG_DMA_RESTRICTED_POOL is not set -# CONFIG_DMATEST is not set -CONFIG_DM_CACHE=m -CONFIG_DM_CACHE_SMQ=m -CONFIG_DM_CLONE=m -CONFIG_DM_CRYPT=m -# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set -# CONFIG_DM_DEBUG_BLOCK_STACK_TRACING is not set -CONFIG_DM_DEBUG=y -CONFIG_DM_DELAY=m -CONFIG_DM_DUST=m -CONFIG_DM_EBS=m -CONFIG_DM_ERA=m -CONFIG_DM_FLAKEY=m -CONFIG_DMIID=y -CONFIG_DM_INIT=y -CONFIG_DM_INTEGRITY=m -CONFIG_DMI_SYSFS=y -CONFIG_DMI=y -# CONFIG_DM_KUNIT_TEST is not set -CONFIG_DM_LOG_USERSPACE=m -CONFIG_DM_LOG_WRITES=m -CONFIG_DM_MIRROR=y -CONFIG_DM_MULTIPATH_HST=m -CONFIG_DM_MULTIPATH_IOA=m -CONFIG_DM_MULTIPATH=m -CONFIG_DM_MULTIPATH_QL=m -CONFIG_DM_MULTIPATH_ST=m -CONFIG_DM_RAID=m -CONFIG_DM_SNAPSHOT=y -CONFIG_DM_SWITCH=m -CONFIG_DM_THIN_PROVISIONING=m -CONFIG_DM_UEVENT=y -CONFIG_DM_UNSTRIPED=m -CONFIG_DM_VDO=m -CONFIG_DM_VERITY_FEC=y -CONFIG_DM_VERITY=m -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING=y -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING=y -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y -CONFIG_DM_WRITECACHE=m -CONFIG_DM_ZERO=y -CONFIG_DM_ZONED=m -CONFIG_DNET=m -CONFIG_DNOTIFY=y -CONFIG_DNS_RESOLVER=m -CONFIG_DP83640_PHY=m -CONFIG_DP83822_PHY=m -CONFIG_DP83848_PHY=m -CONFIG_DP83867_PHY=m -CONFIG_DP83869_PHY=m -# CONFIG_DP83TC811_PHY is not set -# CONFIG_DP83TD510_PHY is not set -CONFIG_DP83TG720_PHY=m -# CONFIG_DPM_WATCHDOG is not set -CONFIG_DPOT_DAC=m -# CONFIG_DPS310 is not set -CONFIG_DRAGONRISE_FF=y -CONFIG_DRBD_FAULT_INJECTION=y -CONFIG_DRIVER_PE_KUNIT_TEST=m -# CONFIG_DRM_ACCEL_QAIC is not set -CONFIG_DRM_ACCEL=y -CONFIG_DRM_AMD_ACP=y -CONFIG_DRM_AMD_DC_HDCP=y -CONFIG_DRM_AMD_DC_SI=y -CONFIG_DRM_AMD_DC=y -CONFIG_DRM_AMDGPU_CIK=y -CONFIG_DRM_AMDGPU=m -CONFIG_DRM_AMDGPU_SI=y -CONFIG_DRM_AMDGPU_USERPTR=y -# CONFIG_DRM_AMDGPU_WERROR is not set -CONFIG_DRM_AMD_ISP=y -CONFIG_DRM_AMD_SECURE_DISPLAY=y -CONFIG_DRM_ANALOGIX_ANX6345=m -CONFIG_DRM_ANALOGIX_ANX7625=m -CONFIG_DRM_ANALOGIX_ANX78XX=m -# CONFIG_DRM_ARCPGU is not set -CONFIG_DRM_AST=m -CONFIG_DRM_BOCHS=m -# CONFIG_DRM_CDNS_DSI is not set -# CONFIG_DRM_CDNS_MHDP8546 is not set -CONFIG_DRM_CHIPONE_ICN6211=m -CONFIG_DRM_CHRONTEL_CH7033=m -CONFIG_DRM_CIRRUS_QEMU=m -# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set -# CONFIG_DRM_DEBUG_MM is not set -# CONFIG_DRM_DEBUG_MODESET_LOCK is not set -# CONFIG_DRM_DEBUG_SELFTEST is not set -CONFIG_DRM_DISPLAY_CONNECTOR=m -# CONFIG_DRM_DISPLAY_DEBUG_DP_TUNNEL_STATE is not set -CONFIG_DRM_DISPLAY_DP_AUX_CEC=y -CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV=y -# CONFIG_DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG is not set -CONFIG_DRM_DP_AUX_CHARDEV=y -CONFIG_DRM_DP_CEC=y -# CONFIG_DRM_DW_HDMI_AHB_AUDIO is not set -# CONFIG_DRM_DW_HDMI_I2S_AUDIO is not set -# CONFIG_DRM_ETNAVIV is not set -CONFIG_DRM_FBDEV_EMULATION=y -# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set -CONFIG_DRM_FBDEV_OVERALLOC=100 -# CONFIG_DRM_FSL_LDB is not set -CONFIG_DRM_GM12U320=m -CONFIG_DRM_GUD=m -# CONFIG_DRM_HISI_HIBMC is not set -CONFIG_DRM_HYPERV=m -# CONFIG_DRM_I2C_ADV7511 is not set -CONFIG_DRM_I2C_CH7006=m -# CONFIG_DRM_I2C_NXP_TDA9950 is not set -# CONFIG_DRM_I2C_NXP_TDA998X is not set -CONFIG_DRM_I2C_SIL164=m -# CONFIG_DRM_IMX_LCDIF is not set -CONFIG_DRM_ITE_IT6505=m -# CONFIG_DRM_ITE_IT66121 is not set -# CONFIG_DRM_KOMEDA is not set -CONFIG_DRM_KUNIT_TEST=m -# CONFIG_DRM_LEGACY is not set -CONFIG_DRM_LOAD_EDID_FIRMWARE=y -# CONFIG_DRM_LOGICVC is not set -CONFIG_DRM_LONTIUM_LT8912B=m -# CONFIG_DRM_LONTIUM_LT9211 is not set -# CONFIG_DRM_LONTIUM_LT9611 is not set -CONFIG_DRM_LONTIUM_LT9611UXC=m -# CONFIG_DRM_LOONGSON is not set -# CONFIG_DRM_LVDS_CODEC is not set -# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set -CONFIG_DRM_MGAG200_DISABLE_WRITECOMBINE=y -CONFIG_DRM_MGAG200=m -# CONFIG_DRM_MSM_GPU_SUDO is not set -# CONFIG_DRM_MSM_VALIDATE_XML is not set -# CONFIG_DRM_MXSFB is not set -CONFIG_DRM_NOUVEAU_BACKLIGHT=y -CONFIG_DRM_NOUVEAU_GSP_DEFAULT=y -CONFIG_DRM_NOUVEAU=m -# CONFIG_DRM_NOUVEAU_SVM is not set -# CONFIG_DRM_NWL_MIPI_DSI is not set -# CONFIG_DRM_NXP_PTN3460 is not set -# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set -# CONFIG_DRM_PANEL_ARM_VERSATILE is not set -# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set -# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set -CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0=m -# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set -# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set -CONFIG_DRM_PANEL_BOE_TV101WUM_LL2=m -CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m -CONFIG_DRM_PANEL_BRIDGE=y -CONFIG_DRM_PANEL_DSI_CM=m -# CONFIG_DRM_PANEL_EBBG_FT8719 is not set -# CONFIG_DRM_PANEL_EDP is not set -CONFIG_DRM_PANEL_ELIDA_KD35T133=m -CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02=m -CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D=m -CONFIG_DRM_PANEL_HIMAX_HX83102=m -# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set -# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set -# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set -# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set -# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set -CONFIG_DRM_PANEL_ILITEK_ILI9806E=m -# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set -CONFIG_DRM_PANEL_ILITEK_ILI9882T=m -CONFIG_DRM_PANEL_INNOLUX_EJ030NA=m -# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set -CONFIG_DRM_PANEL_JADARD_JD9365DA_H3=m -CONFIG_DRM_PANEL_JDI_LPM102A188A=m -# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set -CONFIG_DRM_PANEL_JDI_R63452=m -# CONFIG_DRM_PANEL_KHADAS_TS050 is not set -# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set -# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set -# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set -# CONFIG_DRM_PANEL_LG_LB035Q02 is not set -# CONFIG_DRM_PANEL_LG_LG4573 is not set -# CONFIG_DRM_PANEL_LG_SW43408 is not set -CONFIG_DRM_PANEL_LINCOLNTECH_LCD197=m -# CONFIG_DRM_PANEL_LVDS is not set -CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966=m -CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m -CONFIG_DRM_PANEL_MIPI_DBI=m -# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set -CONFIG_DRM_PANEL_NEWVISION_NV3051D=m -# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set -CONFIG_DRM_PANEL_NOVATEK_NT35510=m -CONFIG_DRM_PANEL_NOVATEK_NT35560=m -CONFIG_DRM_PANEL_NOVATEK_NT35950=m -# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set -# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set -# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set -# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set -# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set -# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set -CONFIG_DRM_PANEL_ORISETECH_OTM8009A=m -# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set -# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set -# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set -# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set -# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set -CONFIG_DRM_PANEL_RAYDIUM_RM692E5=m -CONFIG_DRM_PANEL_RAYDIUM_RM69380=m -CONFIG_DRM_PANEL_RONBO_RB070D30=m -CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=m -CONFIG_DRM_PANEL_SAMSUNG_DB7430=m -# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set -CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03=m -# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set -CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01=m -# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set -CONFIG_DRM_PANEL_SEIKO_43WVF1G=m -# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set -# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set -# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set -# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set -# CONFIG_DRM_PANEL_SIMPLE is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set -# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set -# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set -CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521=m -CONFIG_DRM_PANEL_STARTEK_KD070FHFID015=m -# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set -# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set -# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set -# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set -# CONFIG_DRM_PANEL_TPO_TPG110 is not set -# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set -CONFIG_DRM_PANEL_VISIONOX_R66451=m -CONFIG_DRM_PANEL_VISIONOX_RM69299=m -# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set -CONFIG_DRM_PANEL_WIDECHIPS_WS2401=m -# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set -CONFIG_DRM_PANEL=y -CONFIG_DRM_PANIC_BACKGROUND_COLOR=0x000000 -# CONFIG_DRM_PANIC_DEBUG is not set -CONFIG_DRM_PANIC_FOREGROUND_COLOR=0xffffff -CONFIG_DRM_PANIC_SCREEN_QR_CODE_URL="" -CONFIG_DRM_PANIC_SCREEN_QR_CODE=y -CONFIG_DRM_PANIC_SCREEN_QR_VERSION=40 -CONFIG_DRM_PANIC_SCREEN="user" -CONFIG_DRM_PANIC=y -# CONFIG_DRM_PARADE_PS8622 is not set -CONFIG_DRM_PARADE_PS8640=m -CONFIG_DRM_QXL=m -CONFIG_DRM_RADEON=m -CONFIG_DRM_RADEON_USERPTR=y -# CONFIG_DRM_RCAR_DW_HDMI is not set -# CONFIG_DRM_RCAR_LVDS is not set -# CONFIG_DRM_RCAR_MIPI_DSI is not set -# CONFIG_DRM_RCAR_USE_LVDS is not set -# CONFIG_DRM_RCAR_USE_MIPI_DSI is not set -CONFIG_DRM_SAMSUNG_DSIM=m -CONFIG_DRM_SII902X=m -CONFIG_DRM_SII9234=m -# CONFIG_DRM_SIL_SII8620 is not set -CONFIG_DRM_SIMPLE_BRIDGE=m -CONFIG_DRM_SIMPLEDRM=y -CONFIG_DRM_SSD130X_I2C=m -CONFIG_DRM_SSD130X=m -CONFIG_DRM_SSD130X_SPI=m -# CONFIG_DRM_THINE_THC63LVD1024 is not set -CONFIG_DRM_TI_DLPC3433=m -# CONFIG_DRM_TIDSS is not set -# CONFIG_DRM_TI_SN65DSI83 is not set -CONFIG_DRM_TI_SN65DSI86=m -CONFIG_DRM_TI_TFP410=m -CONFIG_DRM_TI_TPD12S015=m -CONFIG_DRM_TOSHIBA_TC358762=m -CONFIG_DRM_TOSHIBA_TC358764=m -# CONFIG_DRM_TOSHIBA_TC358767 is not set -CONFIG_DRM_TOSHIBA_TC358768=m -CONFIG_DRM_TOSHIBA_TC358775=m -# CONFIG_DRM_TTM_KUNIT_TEST is not set -CONFIG_DRM_UDL=m -CONFIG_DRM_USE_DYNAMIC_DEBUG=y -# CONFIG_DRM_VBOXVIDEO is not set -CONFIG_DRM_VGEM=m -CONFIG_DRM_VIRTIO_GPU_KMS=y -CONFIG_DRM_VIRTIO_GPU=m -CONFIG_DRM_VKMS=m -CONFIG_DRM_VMWGFX_FBCON=y -CONFIG_DRM_VMWGFX=m -# CONFIG_DRM_VMWGFX_MKSSTATS is not set -CONFIG_DRM_WERROR=y -# CONFIG_DRM_XE_DEBUG is not set -# CONFIG_DRM_XE_DEBUG_MEM is not set -# CONFIG_DRM_XE_DEBUG_SRIOV is not set -# CONFIG_DRM_XE_DEBUG_VM is not set -CONFIG_DRM_XE_DISPLAY=y -CONFIG_DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT=y -CONFIG_DRM_XE_FORCE_PROBE="" -CONFIG_DRM_XE_JOB_TIMEOUT_MAX=10000 -CONFIG_DRM_XE_JOB_TIMEOUT_MIN=1 -# CONFIG_DRM_XE_KUNIT_TEST is not set -# CONFIG_DRM_XE_LARGE_GUC_BUFFER is not set -CONFIG_DRM_XE=m -# CONFIG_DRM_XEN_FRONTEND is not set -CONFIG_DRM_XE_PREEMPT_TIMEOUT=640000 -CONFIG_DRM_XE_PREEMPT_TIMEOUT_MAX=10000000 -CONFIG_DRM_XE_PREEMPT_TIMEOUT_MIN=1 -# CONFIG_DRM_XE_SIMPLE_ERROR_CAPTURE is not set -CONFIG_DRM_XE_TIMESLICE_MAX=10000000 -CONFIG_DRM_XE_TIMESLICE_MIN=1 -# CONFIG_DRM_XE_USERPTR_INVAL_INJECT is not set -# CONFIG_DRM_XE_WERROR is not set -CONFIG_DRM=y -# CONFIG_DS1682 is not set -# CONFIG_DS1803 is not set -# CONFIG_DS4424 is not set -CONFIG_DTPM_CPU=y -CONFIG_DTPM_DEVFREQ=y -CONFIG_DTPM=y -CONFIG_DUMMY_CONSOLE_COLUMNS=80 -CONFIG_DUMMY_CONSOLE_ROWS=25 -CONFIG_DUMMY_CONSOLE=y -# CONFIG_DUMMY_IRQ is not set -CONFIG_DUMMY=m -CONFIG_DVB_AS102=m -# CONFIG_DVB_AV7110 is not set -CONFIG_DVB_B2C2_FLEXCOP=m -# CONFIG_DVB_B2C2_FLEXCOP_PCI_DEBUG is not set -CONFIG_DVB_B2C2_FLEXCOP_PCI=m -# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set -CONFIG_DVB_B2C2_FLEXCOP_USB=m -CONFIG_DVB_BT8XX=m -CONFIG_DVB_BUDGET_AV=m -CONFIG_DVB_BUDGET_CI=m -CONFIG_DVB_BUDGET_CORE=m -CONFIG_DVB_BUDGET=m -CONFIG_DVB_CORE=m -CONFIG_DVB_CXD2099=m -# CONFIG_DVB_CXD2880 is not set -CONFIG_DVB_DDBRIDGE=m -# CONFIG_DVB_DDBRIDGE_MSIENABLE is not set -# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set -# CONFIG_DVB_DIB9000 is not set -CONFIG_DVB_DM1105=m -# CONFIG_DVB_DUMMY_FE is not set -CONFIG_DVB_DYNAMIC_MINORS=y -CONFIG_DVB_FIREDTV=m -CONFIG_DVB_HOPPER=m -# CONFIG_DVB_LGS8GL5 is not set -# CONFIG_DVB_LNBH29 is not set -CONFIG_DVB_MANTIS=m -CONFIG_DVB_MAX_ADAPTERS=16 -# CONFIG_DVB_MMAP is not set -# CONFIG_DVB_MN88443X is not set -CONFIG_DVB_MN88472=m -CONFIG_DVB_MN88473=m -CONFIG_DVB_NETUP_UNIDVB=m -CONFIG_DVB_NET=y -CONFIG_DVB_NGENE=m -# CONFIG_DVB_PLATFORM_DRIVERS is not set -CONFIG_DVB_PLUTO2=m -CONFIG_DVB_PT1=m -# CONFIG_DVB_PT3 is not set -# CONFIG_DVB_S5H1432 is not set -CONFIG_DVB_SMIPCIE=m -# CONFIG_DVB_TEST_DRIVERS is not set -CONFIG_DVB_TTUSB_BUDGET=m -CONFIG_DVB_TTUSB_DEC=m -# CONFIG_DVB_ULE_DEBUG is not set -CONFIG_DVB_USB_A800=m -CONFIG_DVB_USB_AF9005=m -CONFIG_DVB_USB_AF9005_REMOTE=m -CONFIG_DVB_USB_AF9015=m -CONFIG_DVB_USB_AF9035=m -CONFIG_DVB_USB_ANYSEE=m -CONFIG_DVB_USB_AU6610=m -CONFIG_DVB_USB_AZ6007=m -CONFIG_DVB_USB_AZ6027=m -CONFIG_DVB_USB_CE6230=m -CONFIG_DVB_USB_CINERGY_T2=m -CONFIG_DVB_USB_CXUSB_ANALOG=y -CONFIG_DVB_USB_CXUSB=m -# CONFIG_DVB_USB_DEBUG is not set -CONFIG_DVB_USB_DIB0700=m -# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set -CONFIG_DVB_USB_DIBUSB_MB=m -CONFIG_DVB_USB_DIBUSB_MC=m -CONFIG_DVB_USB_DIGITV=m -CONFIG_DVB_USB_DTT200U=m -CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_DVBSKY=m -CONFIG_DVB_USB_DW2102=m -CONFIG_DVB_USB_EC168=m -CONFIG_DVB_USB_GL861=m -CONFIG_DVB_USB_GP8PSK=m -CONFIG_DVB_USB_LME2510=m -CONFIG_DVB_USB=m -CONFIG_DVB_USB_M920X=m -CONFIG_DVB_USB_MXL111SF=m -CONFIG_DVB_USB_NOVA_T_USB2=m -CONFIG_DVB_USB_OPERA1=m -CONFIG_DVB_USB_PCTV452E=m -CONFIG_DVB_USB_RTL28XXU=m -CONFIG_DVB_USB_TECHNISAT_USB2=m -CONFIG_DVB_USB_TTUSB2=m -CONFIG_DVB_USB_UMT_010=m -CONFIG_DVB_USB_V2=m -CONFIG_DVB_USB_VP702X=m -CONFIG_DVB_USB_VP7045=m -CONFIG_DVB_USB_ZD1301=m -CONFIG_DW_AXI_DMAC=m -CONFIG_DWC_PCIE_PMU=m -CONFIG_DW_DMAC_CORE=m -CONFIG_DW_DMAC=m -CONFIG_DW_DMAC_PCI=m -CONFIG_DW_EDMA=m -CONFIG_DW_EDMA_PCIE=m -CONFIG_DWMAC_DWC_QOS_ETH=m -CONFIG_DWMAC_GENERIC=m -# CONFIG_DWMAC_INTEL_PLAT is not set -# CONFIG_DWMAC_LOONGSON is not set -CONFIG_DWMAC_STARFIVE=m -# CONFIG_DW_WATCHDOG is not set -CONFIG_DW_XDATA_PCIE=m -CONFIG_DYNAMIC_DEBUG=y -CONFIG_DYNAMIC_FTRACE=y -CONFIG_E1000E=m -CONFIG_E1000=m -CONFIG_E100=m -CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_EARLY_PRINTK_USB_XDBC=y -CONFIG_EARLY_PRINTK=y -# CONFIG_EBC_C384_WDT is not set -CONFIG_ECHO=m -CONFIG_ECRYPT_FS=m -# CONFIG_ECRYPT_FS_MESSAGING is not set -CONFIG_EDAC_DEBUG=y -CONFIG_EDAC_DMC520=m -CONFIG_EDAC_GHES=y -CONFIG_EDAC_IGEN6=m -CONFIG_EDAC_LEGACY_SYSFS=y -CONFIG_EDAC_SIFIVE=y -# CONFIG_EDAC_SYNOPSYS is not set -CONFIG_EDAC=y -CONFIG_EEPROM_93CX6=m -# CONFIG_EEPROM_93XX46 is not set -CONFIG_EEPROM_AT24=m -# CONFIG_EEPROM_AT25 is not set -CONFIG_EEPROM_EE1004=m -CONFIG_EEPROM_IDT_89HPESX=m -CONFIG_EEPROM_MAX6875=m -# CONFIG_EFI_BOOTLOADER_CONTROL is not set -# CONFIG_EFI_CAPSULE_LOADER is not set -CONFIG_EFI_COCO_SECRET=y -CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y -# CONFIG_EFI_DISABLE_PCI_DMA is not set -# CONFIG_EFI_DISABLE_RUNTIME is not set -CONFIG_EFI_HANDOVER_PROTOCOL=y -CONFIG_EFI_PARTITION=y -CONFIG_EFI_PGT_DUMP=y -# CONFIG_EFI_RCI2_TABLE is not set -CONFIG_EFI_SECRET=m -CONFIG_EFI_SOFT_RESERVE=y -CONFIG_EFI_STUB=y -CONFIG_EFI_TEST=m -CONFIG_EFIVAR_FS=y -CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE=y -CONFIG_EFI_VARS_PSTORE=y -CONFIG_EFI=y -CONFIG_EFI_ZBOOT=y -# CONFIG_EFS_FS is not set -CONFIG_ELF_CORE=y -# CONFIG_EMBEDDED is not set -# CONFIG_ENA_ETHERNET is not set -# CONFIG_ENC28J60 is not set -CONFIG_ENCLOSURE_SERVICES=m -CONFIG_ENCRYPTED_KEYS=y -# CONFIG_ENCX24J600 is not set -CONFIG_ENERGY_MODEL=y -CONFIG_ENIC=m -# CONFIG_ENS160 is not set -# CONFIG_ENS210 is not set -CONFIG_ENVELOPE_DETECTOR=m -CONFIG_EPIC100=m -CONFIG_EPOLL=y -CONFIG_EQUALIZER=m -CONFIG_EROFS_FS_BACKED_BY_FILE=y -# CONFIG_EROFS_FS_DEBUG is not set -CONFIG_EROFS_FS=m -CONFIG_EROFS_FS_ONDEMAND=y -# CONFIG_EROFS_FS_PCPU_KTHREAD is not set -CONFIG_EROFS_FS_POSIX_ACL=y -CONFIG_EROFS_FS_SECURITY=y -CONFIG_EROFS_FS_XATTR=y -CONFIG_EROFS_FS_ZIP_DEFLATE=y -CONFIG_EROFS_FS_ZIP_LZMA=y -CONFIG_EROFS_FS_ZIP=y -CONFIG_EROFS_FS_ZIP_ZSTD=y -CONFIG_ERRATA_ANDES_CMO=y -CONFIG_ERRATA_ANDES=y -CONFIG_ERRATA_SIFIVE_CIP_1200=y -CONFIG_ERRATA_SIFIVE_CIP_453=y -CONFIG_ERRATA_SIFIVE=y -# CONFIG_ERRATA_STARFIVE_JH7100 is not set -CONFIG_ERRATA_THEAD_CMO=y -CONFIG_ERRATA_THEAD_MAE=y -CONFIG_ERRATA_THEAD_PMU=y -CONFIG_ERRATA_THEAD=y -CONFIG_ET131X=m -CONFIG_ETHERNET=y -CONFIG_ETHOC=m -CONFIG_ETHTOOL_NETLINK=y -# CONFIG_EUROTECH_WDT is not set -# CONFIG_EVM_ADD_XATTRS is not set -CONFIG_EVM_ATTR_FSUUID=y -# CONFIG_EVM_LOAD_X509 is not set -CONFIG_EVM=y -CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8" -CONFIG_EXFAT_FS=m -CONFIG_EXPERT=y -CONFIG_EXPORTFS=y -# CONFIG_EXT2_FS is not set -# CONFIG_EXT3_FS is not set -CONFIG_EXT4_DEBUG=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_KUNIT_TESTS=m -CONFIG_EXT4_USE_FOR_EXT2=y -# CONFIG_EXTCON_ADC_JACK is not set -# CONFIG_EXTCON_FSA9480 is not set -# CONFIG_EXTCON_GPIO is not set -CONFIG_EXTCON_LC824206XA=m -# CONFIG_EXTCON_MAX3355 is not set -# CONFIG_EXTCON_PTN5150 is not set -# CONFIG_EXTCON_QCOM_SPMI_MISC is not set -# CONFIG_EXTCON_RT8973A is not set -# CONFIG_EXTCON_SM5502 is not set -CONFIG_EXTCON_USBC_TUSB320=m -# CONFIG_EXTCON_USB_GPIO is not set -CONFIG_EXTCON=y -CONFIG_EXTRA_FIRMWARE="" -# CONFIG_EZX_PCAP is not set -# CONFIG_F2FS_CHECK_FS is not set -# CONFIG_F2FS_FAULT_INJECTION is not set -CONFIG_F2FS_FS_COMPRESSION=y -CONFIG_F2FS_FS_LZ4HC=y -CONFIG_F2FS_FS_LZ4=y -CONFIG_F2FS_FS_LZORLE=y -CONFIG_F2FS_FS_LZO=y -CONFIG_F2FS_FS=m -CONFIG_F2FS_FS_POSIX_ACL=y -CONFIG_F2FS_FS_SECURITY=y -CONFIG_F2FS_FS_XATTR=y -CONFIG_F2FS_FS_ZSTD=y -CONFIG_F2FS_IOSTAT=y -CONFIG_F2FS_STAT_FS=y -CONFIG_F2FS_UNFAIR_RWSEM=y -CONFIG_FAIL_FUNCTION=y -# CONFIG_FAIL_FUTEX is not set -CONFIG_FAIL_IO_TIMEOUT=y -CONFIG_FAIL_MAKE_REQUEST=y -CONFIG_FAIL_MMC_REQUEST=y -CONFIG_FAILOVER=m -CONFIG_FAIL_PAGE_ALLOC=y -CONFIG_FAILSLAB=y -CONFIG_FAIL_SUNRPC=y -CONFIG_FAIR_GROUP_SCHED=y -CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y -CONFIG_FANOTIFY=y -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="ascii" -# CONFIG_FAT_DEFAULT_UTF8 is not set -CONFIG_FAT_FS=m -CONFIG_FAT_KUNIT_TEST=m -# CONFIG_FAULT_INJECTION_CONFIGFS is not set -CONFIG_FAULT_INJECTION_DEBUG_FS=y -CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y -# CONFIG_FAULT_INJECTION_USERCOPY is not set -CONFIG_FAULT_INJECTION=y -# CONFIG_FB_3DFX is not set -# CONFIG_FB_ARC is not set -# CONFIG_FB_ARK is not set -# CONFIG_FB_ASILIANT is not set -# CONFIG_FB_ATY128 is not set -# CONFIG_FB_ATY is not set -# CONFIG_FB_CARMINE is not set -# CONFIG_FB_CIRRUS is not set -# CONFIG_FB_CYBER2000 is not set -# CONFIG_FB_DA8XX is not set -# CONFIG_FB_DEVICE is not set -CONFIG_FB_EFI=y -# CONFIG_FB_FOREIGN_ENDIAN is not set -# CONFIG_FB_GEODE is not set -# CONFIG_FB_GOLDFISH is not set -# CONFIG_FB_HGA is not set -# CONFIG_FB_HYPERV is not set -# CONFIG_FB_I740 is not set -# CONFIG_FB_I810 is not set -# CONFIG_FB_IBM_GXT4500 is not set -# CONFIG_FB_IMSTT is not set -# CONFIG_FB_IMX is not set -# CONFIG_FB_KYRO is not set -# CONFIG_FB_MATROX_G is not set -# CONFIG_FB_MATROX_I2C is not set -# CONFIG_FB_MATROX is not set -# CONFIG_FB_MATROX_MILLENIUM is not set -# CONFIG_FB_MATROX_MYSTIQUE is not set -# CONFIG_FB_MB862XX is not set -# CONFIG_FB_METRONOME is not set -CONFIG_FB_MODE_HELPERS=y -# CONFIG_FB_NEOMAGIC is not set -# CONFIG_FB_NVIDIA is not set -# CONFIG_FB_OF is not set -# CONFIG_FB_OPENCORES is not set -# CONFIG_FB_PM2 is not set -# CONFIG_FB_PM3 is not set -# CONFIG_FB_RADEON is not set -# CONFIG_FB_RIVA is not set -# CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_S3 is not set -# CONFIG_FB_SAVAGE is not set -# CONFIG_FB_SIMPLE is not set -# CONFIG_FB_SIS is not set -# CONFIG_FB_SM501 is not set -# CONFIG_FB_SM712 is not set -# CONFIG_FB_SM750 is not set -# CONFIG_FB_SMSCUFX is not set -CONFIG_FB_SSD1307=m -# CONFIG_FB_TFT is not set -CONFIG_FB_TILEBLITTING=y -# CONFIG_FB_TRIDENT is not set -# CONFIG_FB_UDL is not set -# CONFIG_FB_UVESA is not set -# CONFIG_FB_VESA is not set -# CONFIG_FB_VGA16 is not set -# CONFIG_FB_VIA is not set -# CONFIG_FB_VIRTUAL is not set -# CONFIG_FB_VOODOO1 is not set -# CONFIG_FB_VT8623 is not set -# CONFIG_FB_XILINX is not set -CONFIG_FB=y -CONFIG_FCOE=m -# CONFIG_FDDI is not set -CONFIG_FDMA=y -CONFIG_FEALNX=m -CONFIG_FHANDLE=y -# CONFIG_FIELDBUS_DEV is not set -CONFIG_FILE_LOCKING=y -# CONFIG_FIND_BIT_BENCHMARK is not set -# CONFIG_FIPS_SIGNATURE_SELFTEST is not set -# CONFIG_FIREWIRE is not set -CONFIG_FIREWIRE_KUNIT_OHCI_SERDES_TEST=m -CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST=m -CONFIG_FIREWIRE_KUNIT_SELF_ID_SEQUENCE_HELPER_TEST=m -# CONFIG_FIREWIRE_NOSY is not set -# CONFIG_FIRMWARE_EDID is not set -# CONFIG_FIRMWARE_MEMMAP is not set -CONFIG_FIXED_PHY=y -# CONFIG_FLATMEM_MANUAL is not set -CONFIG_FM10K=m -# CONFIG_FONTS is not set -CONFIG_FORCEDETH=m -# CONFIG_FORCE_NR_CPUS is not set -CONFIG_FORTIFY_KUNIT_TEST=m -CONFIG_FORTIFY_SOURCE=y -CONFIG_FPGA_BRIDGE=m -CONFIG_FPGA_DFL_AFU=m -CONFIG_FPGA_DFL_EMIF=m -CONFIG_FPGA_DFL_FME_BRIDGE=m -CONFIG_FPGA_DFL_FME=m -CONFIG_FPGA_DFL_FME_MGR=m -CONFIG_FPGA_DFL_FME_REGION=m -CONFIG_FPGA_DFL=m -CONFIG_FPGA_DFL_NIOS_INTEL_PAC_N3000=m -CONFIG_FPGA_DFL_PCI=m -CONFIG_FPGA=m -CONFIG_FPGA_M10_BMC_SEC_UPDATE=m -CONFIG_FPGA_MGR_ALTERA_CVP=m -CONFIG_FPGA_MGR_ALTERA_PS_SPI=m -CONFIG_FPGA_MGR_ICE40_SPI=m -CONFIG_FPGA_MGR_LATTICE_SYSCONFIG_SPI=m -CONFIG_FPGA_MGR_MACHXO2_SPI=m -# CONFIG_FPGA_MGR_MICROCHIP_SPI is not set -CONFIG_FPGA_MGR_XILINX_SELECTMAP=m -CONFIG_FPGA_MGR_XILINX_SPI=m -CONFIG_FPGA_MGR_ZYNQ_FPGA=m -CONFIG_FPGA_REGION=m -CONFIG_FPROBE_EVENTS=y -CONFIG_FPROBE=y -CONFIG_FPU=y -CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y -CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y -# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set -CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FRAME_POINTER=y -CONFIG_FRAME_WARN=2048 -CONFIG_FRONTSWAP=y -CONFIG_FSCACHE_STATS=y -CONFIG_FSCACHE=y -CONFIG_FS_DAX=y -CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y -CONFIG_FS_ENCRYPTION=y -# CONFIG_FSI is not set -# CONFIG_FSL_EDMA is not set -# CONFIG_FSL_ENETC_IERB is not set -# CONFIG_FSL_ENETC is not set -# CONFIG_FSL_ENETC_MDIO is not set -# CONFIG_FSL_ENETC_VF is not set -# CONFIG_FSL_PQ_MDIO is not set -# CONFIG_FSL_QDMA is not set -# CONFIG_FSL_RCPM is not set -CONFIG_FS_MBCACHE=y -CONFIG_FSNOTIFY=y -CONFIG_FS_PID=y -# CONFIG_FS_VERITY_BUILTIN_SIGNATURES is not set -# CONFIG_FS_VERITY_DEBUG is not set -CONFIG_FS_VERITY=y -# CONFIG_FTL is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_RECORD_RECURSION is not set -# CONFIG_FTRACE_SORT_STARTUP_TEST is not set -# CONFIG_FTRACE_STARTUP_TEST is not set -CONFIG_FTRACE_SYSCALLS=y -# CONFIG_FTRACE_VALIDATE_RCU_IS_WATCHING is not set -CONFIG_FTRACE=y -CONFIG_FUEL_GAUGE_MM8013=m -# CONFIG_FUJITSU_ES is not set -# CONFIG_FUNCTION_ERROR_INJECTION is not set -CONFIG_FUNCTION_GRAPH_RETVAL=y -CONFIG_FUNCTION_GRAPH_TRACER=y -CONFIG_FUNCTION_PROFILER=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUN_ETH=m -CONFIG_FUSE_DAX=y -CONFIG_FUSE_FS=m -CONFIG_FUSE_PASSTHROUGH=y -CONFIG_FUSION_CTL=m -CONFIG_FUSION_FC=m -CONFIG_FUSION_LAN=m -CONFIG_FUSION_LOGGING=y -CONFIG_FUSION_MAX_SGE=128 -CONFIG_FUSION_SAS=m -CONFIG_FUSION_SPI=m -CONFIG_FUSION=y -CONFIG_FUTEX=y -CONFIG_FW_CACHE=y -# CONFIG_FW_CFG_SYSFS_CMDLINE is not set -CONFIG_FW_CFG_SYSFS=m -# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set -CONFIG_FW_LOADER_COMPRESS_XZ=y -CONFIG_FW_LOADER_COMPRESS=y -CONFIG_FW_LOADER_COMPRESS_ZSTD=y -CONFIG_FW_LOADER_DEBUG=y -# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set -# CONFIG_FW_LOADER_USER_HELPER is not set -CONFIG_FW_LOADER=y -CONFIG_FW_UPLOAD=y -CONFIG_FXAS21002C=m -# CONFIG_FXLS8962AF_I2C is not set -# CONFIG_FXLS8962AF_SPI is not set -CONFIG_FXOS8700_I2C=m -CONFIG_FXOS8700_SPI=m -CONFIG_GACT_PROB=y -CONFIG_GAMEPORT_EMU10K1=m -CONFIG_GAMEPORT_FM801=m -CONFIG_GAMEPORT_L4=m -CONFIG_GAMEPORT=m -CONFIG_GAMEPORT_NS558=m -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set -# CONFIG_GCC_PLUGINS is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set -# CONFIG_GCOV_KERNEL is not set -# CONFIG_GDB_SCRIPTS is not set -# CONFIG_GENERIC_ADC_BATTERY is not set -# CONFIG_GENERIC_ADC_THERMAL is not set -# CONFIG_GENERIC_CPU is not set -CONFIG_GENERIC_IRQ_DEBUGFS=y -CONFIG_GENERIC_PHY=y -CONFIG_GENEVE=m -# CONFIG_GEN_RTC is not set -# CONFIG_GENWQE is not set -CONFIG_GFS2_FS_LOCKING_DLM=y -CONFIG_GFS2_FS=m -# CONFIG_GIGABYTE_WMI is not set -# CONFIG_GLOB_SELFTEST is not set -CONFIG_GNSS=m -CONFIG_GNSS_MTK_SERIAL=m -CONFIG_GNSS_SIRF_SERIAL=m -CONFIG_GNSS_UBX_SERIAL=m -CONFIG_GNSS_USB=m -# CONFIG_GOLDFISH_AUDIO is not set -# CONFIG_GOLDFISH_PIPE is not set -# CONFIG_GOLDFISH_TTY is not set -CONFIG_GOLDFISH=y -# CONFIG_GOOGLE_FIRMWARE is not set -CONFIG_GP2AP002=m -# CONFIG_GP2AP020A00F is not set -# CONFIG_GPIO_74X164 is not set -# CONFIG_GPIO_74XX_MMIO is not set -# CONFIG_GPIO_ADNP is not set -CONFIG_GPIO_ADP5585=m -# CONFIG_GPIO_ADP5588 is not set -CONFIG_GPIO_AGGREGATOR=m -# CONFIG_GPIO_ALTERA is not set -# CONFIG_GPIO_AMD_FCH is not set -# CONFIG_GPIO_AMDPT is not set -# CONFIG_GPIO_BCM_XGS_IPROC is not set -CONFIG_GPIO_BD9571MWV=m -CONFIG_GPIO_BT8XX=m -CONFIG_GPIO_CADENCE=m -CONFIG_GPIO_CDEV_V1=y -CONFIG_GPIO_CDEV=y -CONFIG_GPIO_CROS_EC=m -CONFIG_GPIO_DLN2=m -CONFIG_GPIO_DS4520=m -# CONFIG_GPIO_DWAPB is not set -CONFIG_GPIO_EXAR=m -# CONFIG_GPIO_FTGPIO010 is not set -CONFIG_GPIO_FXL6408=m -# CONFIG_GPIO_GENERIC_PLATFORM is not set -# CONFIG_GPIO_GRGPIO is not set -# CONFIG_GPIO_GW_PLD is not set -# CONFIG_GPIO_HLWD is not set -# CONFIG_GPIO_IT87 is not set -# CONFIG_GPIO_LATCH is not set -CONFIG_GPIOLIB_FASTPATH_LIMIT=512 -CONFIG_GPIOLIB=y -# CONFIG_GPIO_LOGICVC is not set -# CONFIG_GPIO_MAX3191X is not set -# CONFIG_GPIO_MAX7300 is not set -# CONFIG_GPIO_MAX7301 is not set -# CONFIG_GPIO_MAX732X is not set -CONFIG_GPIO_MAX77650=m -# CONFIG_GPIO_MB86S7X is not set -# CONFIG_GPIO_MC33880 is not set -CONFIG_GPIO_MLXBF2=m -# CONFIG_GPIO_MOCKUP is not set -CONFIG_GPIO_MXC=m -# CONFIG_GPIO_PCA953X_IRQ is not set -CONFIG_GPIO_PCA953X=m -CONFIG_GPIO_PCA9570=m -# CONFIG_GPIO_PCF857X is not set -# CONFIG_GPIO_PCH is not set -# CONFIG_GPIO_PCIE_IDIO_24 is not set -CONFIG_GPIO_PCI_IDIO_16=m -# CONFIG_GPIO_PISOSR is not set -# CONFIG_GPIO_PL061 is not set -# CONFIG_GPIO_RDC321X is not set -# CONFIG_GPIO_SAMA5D2_PIOBU is not set -# CONFIG_GPIO_SCH311X is not set -CONFIG_GPIO_SIFIVE=y -CONFIG_GPIO_SIM=m -# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set -CONFIG_GPIO_SYSCON=m -# CONFIG_GPIO_SYSFS is not set -# CONFIG_GPIO_TPIC2810 is not set -CONFIG_GPIO_TPS65219=m -# CONFIG_GPIO_TS4900 is not set -# CONFIG_GPIO_VIPERBOARD is not set -CONFIG_GPIO_VIRTIO=m -CONFIG_GPIO_VIRTUSER=m -# CONFIG_GPIO_WATCHDOG is not set -# CONFIG_GPIO_WINBOND is not set -CONFIG_GPIO_WM8994=m -# CONFIG_GPIO_WS16C48 is not set -# CONFIG_GPIO_XILINX is not set -# CONFIG_GPIO_XRA1403 is not set -CONFIG_GP_PCI1XXXX=m -CONFIG_GREENASIA_FF=y -# CONFIG_GREYBUS is not set -# CONFIG_GS_FPGABOOT is not set -CONFIG_GTP=m -CONFIG_GUP_TEST=y -CONFIG_GVE=m -# CONFIG_HABANA_AI is not set -CONFIG_HAMACHI=m -CONFIG_HAMRADIO=y -CONFIG_HANGCHECK_TIMER=m -CONFIG_HAPPYMEAL=m -# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set -CONFIG_HARDENED_USERCOPY=y -# CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set -CONFIG_HARDLOCKUP_DETECTOR=y -CONFIG_HASH_KUNIT_TEST=m -CONFIG_HASHTABLE_KUNIT_TEST=m -CONFIG_HD44780=m -# CONFIG_HDC100X is not set -CONFIG_HDC2010=m -# CONFIG_HDC3020 is not set -CONFIG_HEADERS_INSTALL=y -CONFIG_HFS_FS=m -CONFIG_HFSPLUS_FS=m -CONFIG_HI6421V600_IRQ=m -# CONFIG_HI8435 is not set -# CONFIG_HIBERNATION_COMP_LZ4 is not set -CONFIG_HIBERNATION_COMP_LZO=y -CONFIG_HIBERNATION_SNAPSHOT_DEV=y -CONFIG_HIBERNATION=y -CONFIG_HID_A4TECH=m -CONFIG_HID_ACCUTOUCH=m -CONFIG_HID_ACRUX_FF=y -CONFIG_HID_ACRUX=m -CONFIG_HID_ALPS=m -CONFIG_HID_APPLEIR=m -CONFIG_HID_APPLE=m -# CONFIG_HID_ASUS is not set -CONFIG_HID_AUREAL=m -CONFIG_HID_BATTERY_STRENGTH=y -CONFIG_HID_BELKIN=m -CONFIG_HID_BETOP_FF=m -CONFIG_HID_BIGBEN_FF=m -CONFIG_HID_BPF=y -CONFIG_HID_CHERRY=m -CONFIG_HID_CHICONY=m -CONFIG_HID_CMEDIA=m -CONFIG_HID_CORSAIR=m -CONFIG_HID_COUGAR=m -CONFIG_HID_CP2112=m -CONFIG_HID_CREATIVE_SB0540=m -CONFIG_HID_CYPRESS=m -CONFIG_HID_DRAGONRISE=m -CONFIG_HID_ELAN=m -CONFIG_HID_ELECOM=m -CONFIG_HID_ELO=m -CONFIG_HID_EMS_FF=m -CONFIG_HID_EVISION=m -CONFIG_HID_EZKEY=m -CONFIG_HID_FT260=m -CONFIG_HID_GEMBIRD=m -CONFIG_HID_GENERIC=y -CONFIG_HID_GFRM=m -CONFIG_HID_GLORIOUS=m -CONFIG_HID_GOODIX_SPI=m -# CONFIG_HID_GOOGLE_HAMMER is not set -CONFIG_HID_GOOGLE_STADIA_FF=m -CONFIG_HID_GREENASIA=m -CONFIG_HID_GT683R=m -CONFIG_HID_GYRATION=m -CONFIG_HID_HOLTEK=m -CONFIG_HID_HYPERV_MOUSE=m -CONFIG_HID_ICADE=m -CONFIG_HID_ITE=m -CONFIG_HID_JABRA=m -CONFIG_HID_KENSINGTON=m -CONFIG_HID_KEYTOUCH=m -CONFIG_HID_KUNIT_TEST=m -CONFIG_HID_KYE=m -CONFIG_HID_LCPOWER=m -CONFIG_HID_LED=m -CONFIG_HID_LENOVO=m -CONFIG_HID_LETSKETCH=m -CONFIG_HID_LOGITECH_DJ=m -CONFIG_HID_LOGITECH_HIDPP=m -CONFIG_HID_LOGITECH=m -CONFIG_HID_MACALLY=m -CONFIG_HID_MAGICMOUSE=y -CONFIG_HID_MALTRON=m -CONFIG_HID_MAYFLASH=m -# CONFIG_HID_MCP2200 is not set -CONFIG_HID_MCP2221=m -CONFIG_HID_MEGAWORLD_FF=m -CONFIG_HID_MICROSOFT=m -CONFIG_HID_MONTEREY=m -CONFIG_HID_MULTITOUCH=m -CONFIG_HID_NINTENDO=m -CONFIG_HID_NTI=m -CONFIG_HID_NTRIG=y -CONFIG_HID_NVIDIA_SHIELD=m -CONFIG_HID_ORTEK=m -CONFIG_HID_PANTHERLORD=m -CONFIG_HID_PENMOUNT=m -CONFIG_HID_PETALYNX=m -CONFIG_HID_PICOLCD_BACKLIGHT=y -CONFIG_HID_PICOLCD_CIR=y -CONFIG_HID_PICOLCD_FB=y -CONFIG_HID_PICOLCD_LCD=y -CONFIG_HID_PICOLCD_LEDS=y -CONFIG_HID_PICOLCD=m -CONFIG_HID_PID=y -CONFIG_HID_PLANTRONICS=m -CONFIG_HID_PLAYSTATION=m -CONFIG_HID_PRIMAX=m -CONFIG_HID_PRODIKEYS=m -CONFIG_HID_PXRC=m -CONFIG_HIDRAW=y -CONFIG_HID_RAZER=m -# CONFIG_HID_REDRAGON is not set -CONFIG_HID_RETRODE=m -CONFIG_HID_RMI=m -CONFIG_HID_ROCCAT=m -CONFIG_HID_SAITEK=m -CONFIG_HID_SAMSUNG=m -CONFIG_HID_SEMITEK=m -CONFIG_HID_SENSOR_ACCEL_3D=m -CONFIG_HID_SENSOR_ALS=m -CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=m -# CONFIG_HID_SENSOR_CUSTOM_SENSOR is not set -CONFIG_HID_SENSOR_DEVICE_ROTATION=m -CONFIG_HID_SENSOR_GYRO_3D=m -CONFIG_HID_SENSOR_HUB=m -CONFIG_HID_SENSOR_HUMIDITY=m -CONFIG_HID_SENSOR_IIO_COMMON=m -CONFIG_HID_SENSOR_IIO_TRIGGER=m -CONFIG_HID_SENSOR_INCLINOMETER_3D=m -CONFIG_HID_SENSOR_MAGNETOMETER_3D=m -# CONFIG_HID_SENSOR_PRESS is not set -# CONFIG_HID_SENSOR_PROX is not set -CONFIG_HID_SENSOR_TEMP=m -CONFIG_HID_SIGMAMICRO=m -CONFIG_HID_SMARTJOYPLUS=m -CONFIG_HID_SONY=m -CONFIG_HID_SPEEDLINK=m -CONFIG_HID_STEAM=m -CONFIG_HID_STEELSERIES=m -CONFIG_HID_SUNPLUS=m -CONFIG_HID_SUPPORT=y -CONFIG_HID_THINGM=m -CONFIG_HID_THRUSTMASTER=m -CONFIG_HID_TIVO=m -CONFIG_HID_TOPRE=m -CONFIG_HID_TOPSEED=m -CONFIG_HID_TWINHAN=m -CONFIG_HID_U2FZERO=m -CONFIG_HID_UCLOGIC=m -CONFIG_HID_UDRAW_PS3=m -CONFIG_HID_VIEWSONIC=m -CONFIG_HID_VIVALDI=m -# CONFIG_HID_VRC2 is not set -CONFIG_HID_WACOM=m -CONFIG_HID_WALTOP=m -CONFIG_HID_WIIMOTE=m -CONFIG_HID_WINWING=m -CONFIG_HID_XIAOMI=m -CONFIG_HID_XINMO=m -CONFIG_HID=y -CONFIG_HID_ZEROPLUS=m -CONFIG_HID_ZYDACRON=m -CONFIG_HIGH_RES_TIMERS=y -# CONFIG_HIPPI is not set -# CONFIG_HISI_DMA is not set -CONFIG_HISI_HIKEY_USB=m -# CONFIG_HISI_PCIE_PMU is not set -# CONFIG_HIST_TRIGGERS_DEBUG is not set -CONFIG_HIST_TRIGGERS=y -CONFIG_HMC425=m -# CONFIG_HMC6352 is not set -CONFIG_HOLTEK_FF=y -CONFIG_HOTPLUG_CPU=y -CONFIG_HOTPLUG_PCI_ACPI_IBM=m -CONFIG_HOTPLUG_PCI_ACPI=y -# CONFIG_HOTPLUG_PCI_CPCI is not set -CONFIG_HOTPLUG_PCI_PCIE=y -# CONFIG_HOTPLUG_PCI_SHPC is not set -CONFIG_HOTPLUG_PCI=y -# CONFIG_HP03 is not set -# CONFIG_HP206C is not set -# CONFIG_HPFS_FS is not set -# CONFIG_HP_ILO is not set -CONFIG_HSA_AMD_SVM=y -CONFIG_HSA_AMD=y -# CONFIG_HSC030PA is not set -# CONFIG_HSI is not set -CONFIG_HSR=m -# CONFIG_HSU_DMA is not set -CONFIG_HT16K33=m -# CONFIG_HTC_EGPIO is not set -# CONFIG_HTC_I2CPLD is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_HTE is not set -CONFIG_HTS221=m -# CONFIG_HTU21 is not set -CONFIG_HUGETLBFS=y -# CONFIG_HUGETLB_PAGE_FREE_VMEMMAP_DEFAULT_ON is not set -# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set -CONFIG_HUGETLB_PAGE=y -# CONFIG_HVC_RISCV_SBI is not set -CONFIG_HW_CONSOLE=y -CONFIG_HWLAT_TRACER=y -# CONFIG_HWMON_DEBUG_CHIP is not set -CONFIG_HWMON=y -CONFIG_HWPOISON_INJECT=m -CONFIG_HW_RANDOM_ARM_SMCCC_TRNG=y -# CONFIG_HW_RANDOM_BA431 is not set -# CONFIG_HW_RANDOM_CCTRNG is not set -CONFIG_HW_RANDOM_JH7110=y -CONFIG_HW_RANDOM_TIMERIOMEM=m -CONFIG_HW_RANDOM_TPM=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_HW_RANDOM_XIPHERA=m -CONFIG_HW_RANDOM=y -CONFIG_HWSPINLOCK=y -# CONFIG_HX711 is not set -# CONFIG_HX9023S is not set -CONFIG_HYPERV_BALLOON=m -CONFIG_HYPERV_IOMMU=y -CONFIG_HYPERV_KEYBOARD=m -CONFIG_HYPERV=m -CONFIG_HYPERV_NET=m -CONFIG_HYPERV_STORAGE=m -# CONFIG_HYPERV_TESTING is not set -CONFIG_HYPERV_UTILS=m -CONFIG_HYPERV_VSOCKETS=m -CONFIG_HZ_1000=y -# CONFIG_HZ_100 is not set -# CONFIG_HZ_200 is not set -# CONFIG_HZ_250 is not set -# CONFIG_HZ_300 is not set -# CONFIG_HZ_500 is not set -# CONFIG_HZ_PERIODIC is not set -CONFIG_I2C_ALGOBIT=m -CONFIG_I2C_ALGOPCA=m -CONFIG_I2C_ALGOPCF=m -# CONFIG_I2C_ALI1535 is not set -# CONFIG_I2C_ALI1563 is not set -# CONFIG_I2C_ALI15X3 is not set -# CONFIG_I2C_AMD756 is not set -# CONFIG_I2C_AMD756_S4882 is not set -# CONFIG_I2C_AMD8111 is not set -CONFIG_I2C_AMD_MP2=m -# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set -CONFIG_I2C_ATR=m -# CONFIG_I2C_CADENCE is not set -# CONFIG_I2C_CBUS_GPIO is not set -CONFIG_I2C_CHARDEV=m -CONFIG_I2C_COMPAT=y -CONFIG_I2C_CP2615=m -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEMUX_PINCTRL is not set -CONFIG_I2C_DESIGNWARE_CORE=y -CONFIG_I2C_DESIGNWARE_PCI=m -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_I2C_DESIGNWARE_SLAVE=y -CONFIG_I2C_DIOLAN_U2C=m -CONFIG_I2C_DLN2=m -# CONFIG_I2C_EG20T is not set -# CONFIG_I2C_EMEV2 is not set -# CONFIG_I2C_FSI is not set -CONFIG_I2C_GPIO_FAULT_INJECTOR=y -# CONFIG_I2C_GPIO is not set -CONFIG_I2C_HELPER_AUTO=y -CONFIG_I2C_HID_ACPI=m -CONFIG_I2C_HID_OF_ELAN=m -# CONFIG_I2C_HID_OF_GOODIX is not set -# CONFIG_I2C_HID_OF is not set -CONFIG_I2C_HID=y -# CONFIG_I2C_HISI is not set -# CONFIG_I2C_I801 is not set -# CONFIG_I2C_ISCH is not set -CONFIG_I2C_KEBA=m -# CONFIG_I2C_MICROCHIP_CORE is not set -CONFIG_I2C_MLXBF=m -CONFIG_I2C_MLXCPLD=m -# CONFIG_I2C_MUX_GPIO is not set -CONFIG_I2C_MUX_GPMUX=m -CONFIG_I2C_MUX_LTC4306=m -CONFIG_I2C_MUX=m -CONFIG_I2C_MUX_MLXCPLD=m -CONFIG_I2C_MUX_MULE=m -# CONFIG_I2C_MUX_PCA9541 is not set -# CONFIG_I2C_MUX_PCA954x is not set -# CONFIG_I2C_MUX_PINCTRL is not set -# CONFIG_I2C_MUX_REG is not set -CONFIG_I2C_NFORCE2=m -# CONFIG_I2C_NFORCE2_S4985 is not set -# CONFIG_I2C_NOMADIK is not set -CONFIG_I2C_NVIDIA_GPU=m -CONFIG_I2C_OCORES=y -CONFIG_I2C_PCA_PLATFORM=m -CONFIG_I2C_PCI1XXXX=m -# CONFIG_I2C_PIIX4 is not set -# CONFIG_I2C_QCOM_CCI is not set -# CONFIG_I2C_RK3X is not set -# CONFIG_I2C_ROBOTFUZZ_OSIF is not set -CONFIG_I2C_SCMI=m -CONFIG_I2C_SI470X=m -# CONFIG_I2C_SI4713 is not set -CONFIG_I2C_SIMTEC=m -# CONFIG_I2C_SIS5595 is not set -# CONFIG_I2C_SIS630 is not set -# CONFIG_I2C_SIS96X is not set -CONFIG_I2C_SLAVE_EEPROM=m -# CONFIG_I2C_SLAVE_TESTUNIT is not set -CONFIG_I2C_SLAVE=y -CONFIG_I2C_SMBUS=m -CONFIG_I2C_STUB=m -# CONFIG_I2C_TAOS_EVM is not set -CONFIG_I2C_TINY_USB=m -# CONFIG_I2C_VIA is not set -# CONFIG_I2C_VIAPRO is not set -# CONFIG_I2C_VIPERBOARD is not set -CONFIG_I2C_VIRTIO=m -# CONFIG_I2C_XILINX is not set -CONFIG_I2C=y -CONFIG_I2C_ZHAOXIN=m -# CONFIG_I3C is not set -# CONFIG_I40E_DCB is not set -CONFIG_I40E=m -CONFIG_I40EVF=m -CONFIG_I6300ESB_WDT=m -# CONFIG_I8K is not set -# CONFIG_IAQCORE is not set -CONFIG_ICE_HWMON=y -CONFIG_ICE_HWTS=y -CONFIG_ICE=m -CONFIG_ICE_SWITCHDEV=y -CONFIG_ICP10100=m -CONFIG_ICPLUS_PHY=m -# CONFIG_ICS932S401 is not set -# CONFIG_IDLE_INJECT is not set -CONFIG_IDLE_PAGE_TRACKING=y -CONFIG_IDPF=m -CONFIG_IDPF_SINGLEQ=y -CONFIG_IEEE802154_6LOWPAN=m -CONFIG_IEEE802154_ADF7242=m -# CONFIG_IEEE802154_AT86RF230_DEBUGFS is not set -CONFIG_IEEE802154_AT86RF230=m -CONFIG_IEEE802154_ATUSB=m -# CONFIG_IEEE802154_CA8210_DEBUGFS is not set -CONFIG_IEEE802154_CA8210=m -CONFIG_IEEE802154_CC2520=m -CONFIG_IEEE802154_DRIVERS=m -CONFIG_IEEE802154_FAKELB=m -# CONFIG_IEEE802154_HWSIM is not set -CONFIG_IEEE802154=m -CONFIG_IEEE802154_MCR20A=m -CONFIG_IEEE802154_MRF24J40=m -# CONFIG_IEEE802154_NL802154_EXPERIMENTAL is not set -CONFIG_IEEE802154_SOCKET=m -CONFIG_IFB=m -CONFIG_IFCVF=m -CONFIG_IGB_DCA=y -CONFIG_IGB_HWMON=y -CONFIG_IGB=m -CONFIG_IGBVF=m -CONFIG_IGC=m -CONFIG_IIO_BUFFER_CB=m -CONFIG_IIO_BUFFER_DMAENGINE=m -CONFIG_IIO_BUFFER_DMA=m -CONFIG_IIO_BUFFER_HW_CONSUMER=m -CONFIG_IIO_BUFFER=y -CONFIG_IIO_CONFIGFS=m -CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 -CONFIG_IIO_CROS_EC_ACCEL_LEGACY=m -CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE=m -CONFIG_IIO_FORMAT_KUNIT_TEST=m -CONFIG_IIO_GTS_KUNIT_TEST=m -# CONFIG_IIO_HRTIMER_TRIGGER is not set -CONFIG_IIO_INTERRUPT_TRIGGER=m -CONFIG_IIO_KFIFO_BUF=m -CONFIG_IIO_KX022A_I2C=m -CONFIG_IIO_KX022A_SPI=m -CONFIG_IIO=m -CONFIG_IIO_MUX=m -CONFIG_IIO_RESCALE_KUNIT_TEST=m -CONFIG_IIO_RESCALE=m -# CONFIG_IIO_SIMPLE_DUMMY is not set -# CONFIG_IIO_SSP_SENSORHUB is not set -CONFIG_IIO_ST_ACCEL_3AXIS=m -CONFIG_IIO_ST_ACCEL_I2C_3AXIS=m -CONFIG_IIO_ST_ACCEL_SPI_3AXIS=m -CONFIG_IIO_ST_GYRO_3AXIS=m -CONFIG_IIO_ST_GYRO_I2C_3AXIS=m -CONFIG_IIO_ST_GYRO_SPI_3AXIS=m -CONFIG_IIO_ST_LSM6DSX=m -# CONFIG_IIO_ST_LSM9DS0 is not set -CONFIG_IIO_ST_MAGN_3AXIS=m -CONFIG_IIO_ST_MAGN_I2C_3AXIS=m -CONFIG_IIO_ST_MAGN_SPI_3AXIS=m -# CONFIG_IIO_ST_PRESS is not set -CONFIG_IIO_SW_DEVICE=m -CONFIG_IIO_SW_TRIGGER=m -# CONFIG_IIO_SYSFS_TRIGGER is not set -CONFIG_IIO_TIGHTLOOP_TRIGGER=m -CONFIG_IIO_TRIGGERED_BUFFER=m -CONFIG_IIO_TRIGGERED_EVENT=m -CONFIG_IIO_TRIGGER=y -# CONFIG_IKCONFIG is not set -CONFIG_IKHEADERS=m -CONFIG_IMA_APPRAISE_BOOTPARAM=y -# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set -CONFIG_IMA_APPRAISE_MODSIG=y -CONFIG_IMA_APPRAISE=y -CONFIG_IMA_ARCH_POLICY=y -# CONFIG_IMA_BLACKLIST_KEYRING is not set -# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set -CONFIG_IMA_DEFAULT_HASH="sha256" -CONFIG_IMA_DEFAULT_HASH_SHA256=y -# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set -# CONFIG_IMA_DISABLE_HTABLE is not set -CONFIG_IMA_KEXEC=y -CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY=y -# CONFIG_IMA_LOAD_X509 is not set -CONFIG_IMA_LSM_RULES=y -CONFIG_IMA_MEASURE_PCR_IDX=10 -CONFIG_IMA_NG_TEMPLATE=y -CONFIG_IMA_READ_POLICY=y -# CONFIG_IMA_SIG_TEMPLATE is not set -# CONFIG_IMA_TEMPLATE is not set -CONFIG_IMA_WRITE_POLICY=y -CONFIG_IMA=y -# CONFIG_IMG_ASCII_LCD is not set -# CONFIG_INA2XX_ADC is not set -CONFIG_INET6_AH=m -CONFIG_INET6_ESPINTCP=y -CONFIG_INET6_ESP=m -CONFIG_INET6_ESP_OFFLOAD=m -CONFIG_INET6_IPCOMP=m -CONFIG_INET_AH=m -CONFIG_INET_DIAG_DESTROY=y -CONFIG_INET_DIAG=y -CONFIG_INET_ESPINTCP=y -CONFIG_INET_ESP=m -CONFIG_INET_ESP_OFFLOAD=m -CONFIG_INET_IPCOMP=m -CONFIG_INET_MPTCP_DIAG=y -CONFIG_INET_RAW_DIAG=y -CONFIG_INET_TABLE_PERTURB_ORDER=16 -CONFIG_INET_TCP_DIAG=y -CONFIG_INET_TUNNEL=m -CONFIG_INET_UDP_DIAG=y -CONFIG_INET=y -CONFIG_INFINIBAND_ADDR_TRANS=y -# CONFIG_INFINIBAND_BNXT_RE is not set -CONFIG_INFINIBAND_CXGB4=m -CONFIG_INFINIBAND_EFA=m -CONFIG_INFINIBAND_ERDMA=m -CONFIG_INFINIBAND_IPOIB_CM=y -CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y -CONFIG_INFINIBAND_IPOIB_DEBUG=y -CONFIG_INFINIBAND_IPOIB=m -CONFIG_INFINIBAND_IRDMA=m -CONFIG_INFINIBAND_ISER=m -CONFIG_INFINIBAND_ISERT=m -CONFIG_INFINIBAND=m -CONFIG_INFINIBAND_MTHCA_DEBUG=y -CONFIG_INFINIBAND_MTHCA=m -CONFIG_INFINIBAND_OCRDMA=m -CONFIG_INFINIBAND_ON_DEMAND_PAGING=y -CONFIG_INFINIBAND_QEDR=m -CONFIG_INFINIBAND_QIB_DCA=y -CONFIG_INFINIBAND_QIB=m -CONFIG_INFINIBAND_RDMAVT=m -CONFIG_INFINIBAND_RTRS_CLIENT=m -CONFIG_INFINIBAND_RTRS_SERVER=m -CONFIG_INFINIBAND_SRP=m -CONFIG_INFINIBAND_SRPT=m -CONFIG_INFINIBAND_USER_ACCESS=m -CONFIG_INFINIBAND_USER_MAD=m -CONFIG_INFINIBAND_USNIC=m -# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set -# CONFIG_INFTL is not set -# CONFIG_INIT_MLOCKED_ON_FREE_DEFAULT_ON is not set -CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y -# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set -# CONFIG_INITRAMFS_PRESERVE_MTIME is not set -CONFIG_INITRAMFS_SOURCE="" -# CONFIG_INIT_STACK_ALL_PATTERN is not set -CONFIG_INIT_STACK_ALL_ZERO=y -# CONFIG_INIT_STACK_NONE is not set -CONFIG_INOTIFY_USER=y -CONFIG_INPUT_88PM886_ONKEY=m -# CONFIG_INPUT_AD714X is not set -# CONFIG_INPUT_ADXL34X is not set -CONFIG_INPUT_APANEL=m -CONFIG_INPUT_ATI_REMOTE2=m -CONFIG_INPUT_ATLAS_BTNS=m -# CONFIG_INPUT_ATMEL_CAPTOUCH is not set -CONFIG_INPUT_AXP20X_PEK=m -# CONFIG_INPUT_BMA150 is not set -CONFIG_INPUT_CM109=m -CONFIG_INPUT_CMA3000_I2C=m -CONFIG_INPUT_CMA3000=m -CONFIG_INPUT_CS40L50_VIBRA=m -# CONFIG_INPUT_DA7280_HAPTICS is not set -CONFIG_INPUT_DA9063_ONKEY=m -# CONFIG_INPUT_DRV260X_HAPTICS is not set -# CONFIG_INPUT_DRV2665_HAPTICS is not set -# CONFIG_INPUT_DRV2667_HAPTICS is not set -CONFIG_INPUT_E3X0_BUTTON=m -# CONFIG_INPUT_EVBUG is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_FF_MEMLESS=m -# CONFIG_INPUT_GPIO_BEEPER is not set -# CONFIG_INPUT_GPIO_DECODER is not set -CONFIG_INPUT_GPIO_ROTARY_ENCODER=m -CONFIG_INPUT_GPIO_VIBRA=m -# CONFIG_INPUT_IBM_PANEL is not set -CONFIG_INPUT_IDEAPAD_SLIDEBAR=m -# CONFIG_INPUT_IMS_PCU is not set -CONFIG_INPUT_IQS269A=m -CONFIG_INPUT_IQS626A=m -CONFIG_INPUT_IQS7222=m -CONFIG_INPUT_JOYDEV=m -CONFIG_INPUT_JOYSTICK=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_INPUT_KEYSPAN_REMOTE=m -CONFIG_INPUT_KUNIT_TEST=m -CONFIG_INPUT_KXTJ9=m -CONFIG_INPUT_LEDS=y -CONFIG_INPUT_MATRIXKMAP=m -CONFIG_INPUT_MAX77650_ONKEY=m -CONFIG_INPUT_MISC=y -# CONFIG_INPUT_MMA8450 is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -CONFIG_INPUT_MOUSEDEV=y -CONFIG_INPUT_MOUSE=y -# CONFIG_INPUT_PCF8574 is not set -CONFIG_INPUT_PCSPKR=m -CONFIG_INPUT_PM8XXX_VIBRATOR=m -CONFIG_INPUT_PMIC8XXX_PWRKEY=m -CONFIG_INPUT_POWERMATE=m -CONFIG_INPUT_PWM_BEEPER=m -# CONFIG_INPUT_PWM_VIBRA is not set -CONFIG_INPUT_REGULATOR_HAPTIC=m -CONFIG_INPUT_RK805_PWRKEY=m -CONFIG_INPUT_RT5120_PWRKEY=m -CONFIG_INPUT_SPARSEKMAP=m -CONFIG_INPUT_TABLET=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_INPUT_UINPUT=m -CONFIG_INPUT_WISTRON_BTNS=m -CONFIG_INPUT=y -CONFIG_INPUT_YEALINK=m -CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y -CONFIG_INTEGRITY_AUDIT=y -CONFIG_INTEGRITY_CA_MACHINE_KEYRING_MAX=y -CONFIG_INTEGRITY_CA_MACHINE_KEYRING=y -CONFIG_INTEGRITY_MACHINE_KEYRING=y -CONFIG_INTEGRITY_PLATFORM_KEYRING=y -CONFIG_INTEGRITY_SIGNATURE=y -CONFIG_INTEGRITY_TRUSTED_KEYRING=y -CONFIG_INTEGRITY=y -# CONFIG_INTEL_IDMA64 is not set -# CONFIG_INTEL_IDXD_COMPAT is not set -CONFIG_INTEL_IDXD=m -# CONFIG_INTEL_IDXD_PERFMON is not set -# CONFIG_INTEL_IOMMU_DEBUGFS is not set -# CONFIG_INTEL_ISHTP_ECLITE is not set -# CONFIG_INTEL_LDMA is not set -# CONFIG_INTEL_MEI_PXP is not set -# CONFIG_INTEL_PMT_CLASS is not set -# CONFIG_INTEL_PMT_CRASHLOG is not set -# CONFIG_INTEL_PMT_TELEMETRY is not set -# CONFIG_INTEL_SAR_INT1092 is not set -# CONFIG_INTEL_SCU_PCI is not set -# CONFIG_INTEL_SCU_PLATFORM is not set -CONFIG_INTEL_SOC_PMIC_CHTDC_TI=y -# CONFIG_INTEL_SOC_PMIC is not set -# CONFIG_INTEL_TCC_COOLING is not set -# CONFIG_INTEL_TH is not set -CONFIG_INTEL_UNCORE_FREQ_CONTROL=m -# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set -CONFIG_INTEL_XWAY_PHY=m -# CONFIG_INTERCONNECT_QCOM_SM6350 is not set -CONFIG_INTERCONNECT=y -# CONFIG_INTERVAL_TREE_TEST is not set -CONFIG_INT_POW_TEST=m -CONFIG_INV_ICM42600_I2C=m -CONFIG_INV_ICM42600_SPI=m -# CONFIG_INV_MPU6050_I2C is not set -# CONFIG_INV_MPU6050_IIO is not set -# CONFIG_INV_MPU6050_SPI is not set -CONFIG_IO_DELAY_0X80=y -# CONFIG_IO_DELAY_0XED is not set -# CONFIG_IO_DELAY_NONE is not set -# CONFIG_IO_DELAY_UDELAY is not set -CONFIG_IOMMU_DEBUGFS=y -CONFIG_IOMMU_DEFAULT_DMA_LAZY=y -# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set -CONFIG_IOMMUFD_TEST=y -CONFIG_IOMMUFD=y -CONFIG_IOMMU_SUPPORT=y -CONFIG_IONIC=m -CONFIG_IOSCHED_BFQ=y -CONFIG_IOSM=m -CONFIG_IO_STRICT_DEVMEM=y -CONFIG_IO_URING=y -# CONFIG_IP5XXX_POWER is not set -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_IPTABLES=m -CONFIG_IP6_NF_MANGLE=m -CONFIG_IP6_NF_MATCH_AH=m -CONFIG_IP6_NF_MATCH_EUI64=m -CONFIG_IP6_NF_MATCH_FRAG=m -CONFIG_IP6_NF_MATCH_HL=m -CONFIG_IP6_NF_MATCH_IPV6HEADER=m -CONFIG_IP6_NF_MATCH_MH=m -CONFIG_IP6_NF_MATCH_OPTS=m -CONFIG_IP6_NF_MATCH_RPFILTER=m -CONFIG_IP6_NF_MATCH_RT=m -CONFIG_IP6_NF_MATCH_SRH=m -CONFIG_IP6_NF_NAT=m -CONFIG_IP6_NF_RAW=m -CONFIG_IP6_NF_SECURITY=m -CONFIG_IP6_NF_TARGET_HL=m -CONFIG_IP6_NF_TARGET_MASQUERADE=m -CONFIG_IP6_NF_TARGET_NPT=m -CONFIG_IP6_NF_TARGET_REJECT=m -CONFIG_IP6_NF_TARGET_SYNPROXY=m -# CONFIG_IPACK_BUS is not set -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IPC_NS=y -# CONFIG_IP_DCCP is not set -CONFIG_IPE_BOOT_POLICY="" -CONFIG_IPE_POLICY_SIG_PLATFORM_KEYRING=y -CONFIG_IPE_POLICY_SIG_SECONDARY_KEYRING=y -CONFIG_IP_FIB_TRIE_STATS=y -# CONFIG_IPMB_DEVICE_INTERFACE is not set -CONFIG_IPMI_DEVICE_INTERFACE=m -CONFIG_IPMI_HANDLER=m -CONFIG_IPMI_IPMB=m -# CONFIG_IPMI_PANIC_EVENT is not set -CONFIG_IPMI_POWEROFF=m -CONFIG_IPMI_SI=m -CONFIG_IPMI_SSIF=m -CONFIG_IPMI_WATCHDOG=m -CONFIG_IP_MROUTE_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_NF_ARPFILTER=m -CONFIG_IP_NF_ARP_MANGLE=m -CONFIG_IP_NF_ARPTABLES=m -CONFIG_IP_NF_FILTER=m -CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MANGLE=m -CONFIG_IP_NF_MATCH_AH=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_RPFILTER=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_NAT=m -CONFIG_IP_NF_RAW=m -CONFIG_IP_NF_SECURITY=m -CONFIG_IP_NF_TARGET_CLUSTERIP=m -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_MASQUERADE=m -CONFIG_IP_NF_TARGET_NETMAP=m -CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_IP_NF_TARGET_REJECT=m -CONFIG_IP_NF_TARGET_SYNPROXY=m -CONFIG_IP_NF_TARGET_TTL=m -CONFIG_IP_PIMSM_V1=y -CONFIG_IP_PIMSM_V2=y -# CONFIG_IP_PNP is not set -CONFIG_IP_ROUTE_MULTIPATH=y -CONFIG_IP_ROUTE_VERBOSE=y -CONFIG_IP_SCTP=m -CONFIG_IP_SET_BITMAP_IP=m -CONFIG_IP_SET_BITMAP_IPMAC=m -CONFIG_IP_SET_BITMAP_PORT=m -CONFIG_IP_SET_HASH_IP=m -CONFIG_IP_SET_HASH_IPMAC=m -CONFIG_IP_SET_HASH_IPMARK=m -CONFIG_IP_SET_HASH_IPPORTIP=m -CONFIG_IP_SET_HASH_IPPORT=m -CONFIG_IP_SET_HASH_IPPORTNET=m -CONFIG_IP_SET_HASH_MAC=m -CONFIG_IP_SET_HASH_NETIFACE=m -CONFIG_IP_SET_HASH_NET=m -CONFIG_IP_SET_HASH_NETNET=m -CONFIG_IP_SET_HASH_NETPORT=m -CONFIG_IP_SET_HASH_NETPORTNET=m -CONFIG_IP_SET_LIST_SET=m -CONFIG_IP_SET=m -CONFIG_IP_SET_MAX=256 -CONFIG_IPU_BRIDGE=m -CONFIG_IPV6_GRE=m -CONFIG_IPV6_ILA=m -CONFIG_IPV6_IOAM6_LWTUNNEL=y -CONFIG_IPV6_MIP6=y -CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y -CONFIG_IPV6_MROUTE=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_OPTIMISTIC_DAD=y -CONFIG_IPV6_PIMSM_V2=y -CONFIG_IPV6_ROUTE_INFO=y -CONFIG_IPV6_ROUTER_PREF=y -CONFIG_IPV6_RPL_LWTUNNEL=y -CONFIG_IPV6_SEG6_HMAC=y -CONFIG_IPV6_SEG6_LWTUNNEL=y -CONFIG_IPV6_SIT_6RD=y -CONFIG_IPV6_SIT=m -CONFIG_IPV6_SUBTREES=y -CONFIG_IPV6_TUNNEL=m -CONFIG_IPV6_VTI=m -CONFIG_IPV6=y -CONFIG_IPVLAN=m -CONFIG_IP_VS_DEBUG=y -CONFIG_IP_VS_DH=m -CONFIG_IP_VS_FO=m -CONFIG_IP_VS_FTP=m -CONFIG_IP_VS_IPV6=y -CONFIG_IP_VS_LBLC=m -CONFIG_IP_VS_LBLCR=m -CONFIG_IP_VS_LC=m -CONFIG_IP_VS=m -CONFIG_IP_VS_MH=m -CONFIG_IP_VS_MH_TAB_INDEX=12 -CONFIG_IP_VS_NQ=m -CONFIG_IP_VS_OVF=m -CONFIG_IP_VS_PE_SIP=m -CONFIG_IP_VS_PROTO_AH=y -CONFIG_IP_VS_PROTO_ESP=y -CONFIG_IP_VS_PROTO_SCTP=y -CONFIG_IP_VS_PROTO_TCP=y -CONFIG_IP_VS_PROTO_UDP=y -CONFIG_IP_VS_RR=m -CONFIG_IP_VS_SED=m -CONFIG_IP_VS_SH=m -CONFIG_IP_VS_SH_TAB_BITS=8 -CONFIG_IP_VS_TAB_BITS=12 -CONFIG_IP_VS_TWOS=m -CONFIG_IP_VS_WLC=m -CONFIG_IP_VS_WRR=m -CONFIG_IPVTAP=m -# CONFIG_IPW2100 is not set -# CONFIG_IPW2200 is not set -CONFIG_IR_ENE=m -CONFIG_IR_FINTEK=m -CONFIG_IR_GPIO_CIR=m -CONFIG_IR_GPIO_TX=m -CONFIG_IR_HIX5HD2=m -CONFIG_IR_IGORPLUGUSB=m -CONFIG_IR_IGUANA=m -CONFIG_IR_IMON_DECODER=m -CONFIG_IR_IMON=m -CONFIG_IR_IMON_RAW=m -CONFIG_IR_ITE_CIR=m -CONFIG_IR_JVC_DECODER=m -CONFIG_IR_MCE_KBD_DECODER=m -CONFIG_IR_MCEUSB=m -CONFIG_IR_NEC_DECODER=m -CONFIG_IR_NUVOTON=m -CONFIG_IR_PWM_TX=m -# CONFIG_IRQSOFF_TRACER is not set -CONFIG_IRQ_STACKS=y -CONFIG_IRQ_TIME_ACCOUNTING=y -CONFIG_IR_RC5_DECODER=m -CONFIG_IR_RC6_DECODER=m -CONFIG_IR_RCMM_DECODER=m -CONFIG_IR_REDRAT3=m -CONFIG_IR_SANYO_DECODER=m -# CONFIG_IRSD200 is not set -CONFIG_IR_SERIAL=m -CONFIG_IR_SERIAL_TRANSMITTER=y -CONFIG_IR_SHARP_DECODER=m -CONFIG_IR_SONY_DECODER=m -CONFIG_IR_SPI=m -CONFIG_IR_STREAMZAP=m -CONFIG_IR_TOY=m -CONFIG_IR_TTUSBIR=m -CONFIG_IR_WINBOND_CIR=m -CONFIG_IR_XMP_DECODER=m -# CONFIG_ISA_BUS is not set -CONFIG_ISA_DMA_API=y -# CONFIG_ISA is not set -CONFIG_ISCSI_BOOT_SYSFS=m -# CONFIG_ISCSI_IBFT is not set -CONFIG_ISCSI_TARGET_CXGB4=m -CONFIG_ISCSI_TARGET=m -CONFIG_ISCSI_TCP=m -# CONFIG_ISDN is not set -CONFIG_ISL29003=m -CONFIG_ISL29020=m -# CONFIG_ISL29125 is not set -# CONFIG_ISL29501 is not set -# CONFIG_ISL76682 is not set -CONFIG_ISO9660_FS=m -CONFIG_IS_SIGNED_TYPE_KUNIT_TEST=m -CONFIG_IT8712F_WDT=m -CONFIG_IT87_WDT=m -CONFIG_ITCO_VENDOR_SUPPORT=y -CONFIG_ITCO_WDT=m -# CONFIG_ITG3200 is not set -CONFIG_IWL3945=m -CONFIG_IWL4965=m -CONFIG_IWLDVM=m -CONFIG_IWLEGACY_DEBUGFS=y -CONFIG_IWLEGACY_DEBUG=y -CONFIG_IWLEGACY=m -# CONFIG_IWLMEI is not set -CONFIG_IWLMVM=m -# CONFIG_IWLWIFI_BCAST_FILTERING is not set -CONFIG_IWLWIFI_DEBUGFS=y -CONFIG_IWLWIFI_DEBUG=y -CONFIG_IWLWIFI_DEVICE_TRACING=y -CONFIG_IWLWIFI=m -CONFIG_IXGBE_DCA=y -CONFIG_IXGBE_DCB=y -CONFIG_IXGBE_HWMON=y -CONFIG_IXGBE_IPSEC=y -CONFIG_IXGBE=m -CONFIG_IXGBEVF_IPSEC=y -CONFIG_IXGBEVF=m -CONFIG_IXGB=m -CONFIG_JBD2_DEBUG=y -CONFIG_JBD2=y -# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_JFFS2_FS=m -CONFIG_JFFS2_FS_POSIX_ACL=y -CONFIG_JFFS2_FS_SECURITY=y -# CONFIG_JFFS2_FS_WBUF_VERIFY is not set -CONFIG_JFFS2_FS_WRITEBUFFER=y -CONFIG_JFFS2_FS_XATTR=y -CONFIG_JFFS2_RTIME=y -CONFIG_JFFS2_SUMMARY=y -CONFIG_JFFS2_ZLIB=y -# CONFIG_JFS_DEBUG is not set -CONFIG_JFS_FS=m -CONFIG_JFS_POSIX_ACL=y -CONFIG_JFS_SECURITY=y -# CONFIG_JFS_STATISTICS is not set -CONFIG_JH71XX_PMU=y -CONFIG_JME=m -CONFIG_JOLIET=y -CONFIG_JOYSTICK_A3D=m -CONFIG_JOYSTICK_ADC=m -CONFIG_JOYSTICK_ADI=m -CONFIG_JOYSTICK_ANALOG=m -# CONFIG_JOYSTICK_AS5011 is not set -CONFIG_JOYSTICK_COBRA=m -CONFIG_JOYSTICK_DB9=m -# CONFIG_JOYSTICK_FSIA6B is not set -CONFIG_JOYSTICK_GAMECON=m -CONFIG_JOYSTICK_GF2K=m -CONFIG_JOYSTICK_GRIP=m -CONFIG_JOYSTICK_GRIP_MP=m -CONFIG_JOYSTICK_GUILLEMOT=m -CONFIG_JOYSTICK_IFORCE_232=m -CONFIG_JOYSTICK_IFORCE=m -CONFIG_JOYSTICK_IFORCE_USB=m -CONFIG_JOYSTICK_INTERACT=m -CONFIG_JOYSTICK_JOYDUMP=m -# CONFIG_JOYSTICK_MAGELLAN is not set -CONFIG_JOYSTICK_PSXPAD_SPI_FF=y -CONFIG_JOYSTICK_PSXPAD_SPI=m -CONFIG_JOYSTICK_PXRC=m -CONFIG_JOYSTICK_QWIIC=m -# CONFIG_JOYSTICK_SEESAW is not set -# CONFIG_JOYSTICK_SENSEHAT is not set -CONFIG_JOYSTICK_SIDEWINDER=m -# CONFIG_JOYSTICK_SPACEBALL is not set -# CONFIG_JOYSTICK_SPACEORB is not set -# CONFIG_JOYSTICK_STINGER is not set -CONFIG_JOYSTICK_TMDC=m -CONFIG_JOYSTICK_TURBOGRAFX=m -# CONFIG_JOYSTICK_TWIDJOY is not set -CONFIG_JOYSTICK_WALKERA0701=m -# CONFIG_JOYSTICK_WARRIOR is not set -CONFIG_JOYSTICK_XPAD_FF=y -CONFIG_JOYSTICK_XPAD_LEDS=y -CONFIG_JOYSTICK_XPAD=m -# CONFIG_JOYSTICK_ZHENHUA is not set -# CONFIG_JSA1212 is not set -CONFIG_JUMP_LABEL=y -CONFIG_KALLSYMS_ALL=y -# CONFIG_KALLSYMS_SELFTEST is not set -CONFIG_KALLSYMS=y -# CONFIG_KARMA_PARTITION is not set -# CONFIG_KASAN_EXTRA_INFO is not set -CONFIG_KASAN_GENERIC=y -# CONFIG_KASAN_INLINE is not set -CONFIG_KASAN_KUNIT_TEST=m -# CONFIG_KASAN_MODULE_TEST is not set -CONFIG_KASAN_OUTLINE=y -CONFIG_KASAN_VMALLOC=y -CONFIG_KASAN=y -# CONFIG_KCOV is not set -# CONFIG_KCSAN is not set -CONFIG_KDB_CONTINUE_CATASTROPHIC=0 -CONFIG_KDB_DEFAULT_ENABLE=0x0 -CONFIG_KDB_KEYBOARD=y -CONFIG_KEBA_CP500=m -# CONFIG_KERNEL_BZIP2 is not set -CONFIG_KERNEL_GZIP=y -# CONFIG_KERNEL_LZ4 is not set -# CONFIG_KERNEL_LZMA is not set -# CONFIG_KERNEL_LZO is not set -# CONFIG_KERNEL_UNCOMPRESSED is not set -# CONFIG_KERNEL_XZ is not set -# CONFIG_KERNEL_ZSTD is not set -CONFIG_KEXEC_FILE=y -CONFIG_KEXEC_IMAGE_VERIFY_SIG=y -CONFIG_KEXEC_SIG=y -CONFIG_KEXEC=y -# CONFIG_KEYBOARD_ADC is not set -# CONFIG_KEYBOARD_ADP5588 is not set -# CONFIG_KEYBOARD_ADP5589 is not set -# CONFIG_KEYBOARD_APPLESPI is not set -# CONFIG_KEYBOARD_ATKBD is not set -# CONFIG_KEYBOARD_BCM is not set -# CONFIG_KEYBOARD_CAP11XX is not set -CONFIG_KEYBOARD_CYPRESS_SF=m -# CONFIG_KEYBOARD_DLINK_DIR685 is not set -# CONFIG_KEYBOARD_GOLDFISH_EVENTS is not set -# CONFIG_KEYBOARD_GPIO is not set -# CONFIG_KEYBOARD_GPIO_POLLED is not set -# CONFIG_KEYBOARD_LKKBD is not set -# CONFIG_KEYBOARD_LM8323 is not set -# CONFIG_KEYBOARD_LM8333 is not set -# CONFIG_KEYBOARD_MATRIX is not set -# CONFIG_KEYBOARD_MAX7359 is not set -# CONFIG_KEYBOARD_MCS is not set -# CONFIG_KEYBOARD_MPR121 is not set -# CONFIG_KEYBOARD_NEWTON is not set -# CONFIG_KEYBOARD_OMAP4 is not set -# CONFIG_KEYBOARD_OPENCORES is not set -# CONFIG_KEYBOARD_PINEPHONE is not set -CONFIG_KEYBOARD_PMIC8XXX=m -CONFIG_KEYBOARD_QT1050=m -CONFIG_KEYBOARD_QT1070=m -# CONFIG_KEYBOARD_QT2160 is not set -# CONFIG_KEYBOARD_SAMSUNG is not set -# CONFIG_KEYBOARD_STOWAWAY is not set -# CONFIG_KEYBOARD_SUNKBD is not set -# CONFIG_KEYBOARD_TCA6416 is not set -# CONFIG_KEYBOARD_TCA8418 is not set -CONFIG_KEYBOARD_TM2_TOUCHKEY=m -# CONFIG_KEYBOARD_XTKBD is not set -CONFIG_KEY_DH_OPERATIONS=y -CONFIG_KEY_NOTIFICATIONS=y -CONFIG_KEYS_REQUEST_CACHE=y -CONFIG_KEYS=y -# CONFIG_KFENCE_DEFERRABLE is not set -# CONFIG_KFENCE is not set -CONFIG_KFENCE_KUNIT_TEST=m -CONFIG_KFENCE_NUM_OBJECTS=255 -CONFIG_KFENCE_SAMPLE_INTERVAL=100 -# CONFIG_KFENCE_STATIC_KEYS is not set -CONFIG_KFENCE_STRESS_TEST_FAULTS=0 -CONFIG_KGDB_HONOUR_BLOCKLIST=y -CONFIG_KGDB_KDB=y -CONFIG_KGDB_LOW_LEVEL_TRAP=y -CONFIG_KGDB_SERIAL_CONSOLE=y -# CONFIG_KGDB_TESTS is not set -# CONFIG_KGDB_TESTS_ON_BOOT is not set -CONFIG_KGDB=y -# CONFIG_KMX61 is not set -CONFIG_KPROBE_EVENT_GEN_TEST=m -# CONFIG_KPROBE_EVENTS_ON_NOTRACE is not set -CONFIG_KPROBE_EVENTS=y -CONFIG_KPROBES_SANITY_TEST=m -CONFIG_KPROBES=y -# CONFIG_KS8842 is not set -# CONFIG_KS8851 is not set -# CONFIG_KS8851_MLL is not set -CONFIG_KSM=y -CONFIG_KSZ884X_PCI=m -CONFIG_KUNIT_ALL_TESTS=m -CONFIG_KUNIT_DEBUGFS=y -# CONFIG_KUNIT_DEFAULT_ENABLED is not set -CONFIG_KUNIT_EXAMPLE_TEST=m -# CONFIG_KUNIT_FAULT_TEST is not set -CONFIG_KUNIT=m -CONFIG_KUNIT_TEST=m -CONFIG_KVM_MAX_NR_VCPUS=4096 -CONFIG_KVM_PROVE_MMU=y -CONFIG_KVM_SMM=y -# CONFIG_KVM_WERROR is not set -CONFIG_KVM_XEN=y -CONFIG_KVM=y -CONFIG_KXCJK1013=m -# CONFIG_KXSD9 is not set -CONFIG_L2TP_DEBUGFS=m -CONFIG_L2TP_ETH=m -CONFIG_L2TP_IP=m -CONFIG_L2TP=m -CONFIG_L2TP_V3=y -CONFIG_LAN743X=m -# CONFIG_LAN865X is not set -CONFIG_LAN966X_DCB=y -CONFIG_LAN966X_OIC=m -CONFIG_LAN966X_SWITCH=m -# CONFIG_LAPB is not set -CONFIG_LATENCYTOP=y -# CONFIG_LATTICE_ECP3_CONFIG is not set -# CONFIG_LCD2S is not set -# CONFIG_LCD_AMS369FG06 is not set -CONFIG_LCD_CLASS_DEVICE=m -# CONFIG_LCD_HX8357 is not set -# CONFIG_LCD_ILI922X is not set -# CONFIG_LCD_ILI9320 is not set -# CONFIG_LCD_L4F00242T03 is not set -# CONFIG_LCD_LMS283GF05 is not set -# CONFIG_LCD_LMS501KF03 is not set -# CONFIG_LCD_LTV350QV is not set -# CONFIG_LCD_OTM3225A is not set -CONFIG_LCD_PLATFORM=m -# CONFIG_LCD_TDO24M is not set -# CONFIG_LCD_VGG2432A4 is not set -# CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is not set -CONFIG_LDISC_AUTOLOAD=y -# CONFIG_LDM_DEBUG is not set -CONFIG_LDM_PARTITION=y -# CONFIG_LEDS_AAT1290 is not set -CONFIG_LEDS_AN30259A=m -# CONFIG_LEDS_ARIEL is not set -CONFIG_LEDS_AS3645A=m -CONFIG_LEDS_AW200XX=m -# CONFIG_LEDS_AW2013 is not set -# CONFIG_LEDS_BCM6328 is not set -# CONFIG_LEDS_BCM6358 is not set -# CONFIG_LEDS_BD2606MVV is not set -# CONFIG_LEDS_BD2802 is not set -CONFIG_LEDS_BLINKM=m -CONFIG_LEDS_BLINKM_MULTICOLOR=y -CONFIG_LEDS_BRIGHTNESS_HW_CHANGED=y -CONFIG_LEDS_CLASS_FLASH=m -CONFIG_LEDS_CLASS_MULTICOLOR=m -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_CLEVO_MAIL=m -CONFIG_LEDS_CR0014114=m -CONFIG_LEDS_CROS_EC=m -# CONFIG_LEDS_DAC124S085 is not set -# CONFIG_LEDS_EL15203000 is not set -CONFIG_LEDS_GPIO=m -CONFIG_LEDS_GROUP_MULTICOLOR=m -# CONFIG_LEDS_IS31FL319X is not set -CONFIG_LEDS_IS31FL32XX=m -CONFIG_LEDS_KTD202X=m -# CONFIG_LEDS_KTD2692 is not set -# CONFIG_LEDS_LGM is not set -CONFIG_LEDS_LM3530=m -CONFIG_LEDS_LM3532=m -# CONFIG_LEDS_LM355x is not set -CONFIG_LEDS_LM3601X=m -# CONFIG_LEDS_LM36274 is not set -# CONFIG_LEDS_LM3642 is not set -CONFIG_LEDS_LM3692X=m -# CONFIG_LEDS_LM3697 is not set -CONFIG_LEDS_LP3944=m -CONFIG_LEDS_LP3952=m -CONFIG_LEDS_LP50XX=m -# CONFIG_LEDS_LP55XX_COMMON is not set -# CONFIG_LEDS_LP8860 is not set -CONFIG_LEDS_LT3593=m -CONFIG_LEDS_MAX5970=m -CONFIG_LEDS_MAX77650=m -CONFIG_LEDS_MLXCPLD=m -CONFIG_LEDS_MLXREG=m -CONFIG_LEDS_NCP5623=m -CONFIG_LEDS_NIC78BX=m -# CONFIG_LEDS_OT200 is not set -CONFIG_LEDS_PCA9532_GPIO=y -CONFIG_LEDS_PCA9532=m -# CONFIG_LEDS_PCA955X is not set -# CONFIG_LEDS_PCA963X is not set -CONFIG_LEDS_PCA995X=m -CONFIG_LEDS_PWM=m -CONFIG_LEDS_PWM_MULTICOLOR=m -CONFIG_LEDS_REGULATOR=m -# CONFIG_LEDS_RT4505 is not set -# CONFIG_LEDS_RT8515 is not set -# CONFIG_LEDS_SGM3140 is not set -# CONFIG_LEDS_SPI_BYTE is not set -CONFIG_LEDS_SY7802=m -CONFIG_LEDS_SYSCON=y -# CONFIG_LEDS_TCA6507 is not set -# CONFIG_LEDS_TI_LMU_COMMON is not set -# CONFIG_LEDS_TLC591XX is not set -CONFIG_LEDS_TRIGGER_ACTIVITY=m -CONFIG_LEDS_TRIGGER_AUDIO=m -CONFIG_LEDS_TRIGGER_BACKLIGHT=m -CONFIG_LEDS_TRIGGER_CAMERA=m -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=m -CONFIG_LEDS_TRIGGER_DISK=y -CONFIG_LEDS_TRIGGER_GPIO=m -CONFIG_LEDS_TRIGGER_HEARTBEAT=m -CONFIG_LEDS_TRIGGER_INPUT_EVENTS=m -CONFIG_LEDS_TRIGGER_MTD=y -CONFIG_LEDS_TRIGGER_NETDEV=m -CONFIG_LEDS_TRIGGER_ONESHOT=m -CONFIG_LEDS_TRIGGER_PANIC=y -CONFIG_LEDS_TRIGGER_PATTERN=m -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=m -CONFIG_LEDS_TRIGGER_TRANSIENT=m -CONFIG_LEDS_TRIGGER_TTY=m -CONFIG_LEDS_USER=m -CONFIG_LED_TRIGGER_PHY=y -# CONFIG_LEGACY_PTYS is not set -# CONFIG_LEGACY_TIOCSTI is not set -CONFIG_LIBCRC32C=y -# CONFIG_LIBERTAS is not set -# CONFIG_LIBERTAS_THINFIRM_DEBUG is not set -CONFIG_LIBERTAS_THINFIRM=m -CONFIG_LIBERTAS_THINFIRM_USB=m -CONFIG_LIBFC=m -CONFIG_LIBFCOE=m -CONFIG_LIBNVDIMM=m -# CONFIG_LIDAR_LITE_V2 is not set -CONFIG_LINEAR_RANGES_TEST=m -CONFIG_LIRC=y -CONFIG_LIST_KUNIT_TEST=m -CONFIG_LITEX_LITEETH=y -CONFIG_LITEX_SOC_CONTROLLER=y -CONFIG_LIVEPATCH=y -# CONFIG_LKDTM is not set -# CONFIG_LLC2 is not set -CONFIG_LLC=m -# CONFIG_LMK04832 is not set -CONFIG_LMP91000=m -CONFIG_LOAD_UEFI_KEYS=y -CONFIG_LOCALVERSION="" -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_LOCKDEP_BITS=18 -CONFIG_LOCKDEP_CHAINS_BITS=20 -CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=13 -CONFIG_LOCKDEP_STACK_TRACE_BITS=19 -CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14 -CONFIG_LOCKD=m -# CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT is not set -# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set -# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set -CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y -CONFIG_LOCKD_V4=y -CONFIG_LOCK_EVENT_COUNTS=y -CONFIG_LOCK_STAT=y -CONFIG_LOCK_TORTURE_TEST=m -CONFIG_LOCKUP_DETECTOR=y -CONFIG_LOG_BUF_SHIFT=18 -CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 -CONFIG_LOGIG940_FF=y -CONFIG_LOGIRUMBLEPAD2_FF=y -CONFIG_LOGITECH_FF=y -CONFIG_LOGIWHEELS_FF=y -CONFIG_LOGO_LINUX_CLUT224=y -# CONFIG_LOGO_LINUX_MONO is not set -# CONFIG_LOGO_LINUX_VGA16 is not set -CONFIG_LOGO=y -CONFIG_LOOPBACK_TARGET=m -# CONFIG_LPC_ICH is not set -CONFIG_LP_CONSOLE=y -# CONFIG_LPC_SCH is not set -CONFIG_LRU_GEN_ENABLED=y -# CONFIG_LRU_GEN_STATS is not set -CONFIG_LRU_GEN=y -CONFIG_LSI_ET1011C_PHY=m -CONFIG_LSM="lockdown,yama,integrity,selinux,bpf,landlock,ipe" -CONFIG_LSM_MMAP_MIN_ADDR=65535 -CONFIG_LTC1660=m -# CONFIG_LTC2309 is not set -# CONFIG_LTC2471 is not set -# CONFIG_LTC2485 is not set -# CONFIG_LTC2496 is not set -# CONFIG_LTC2497 is not set -# CONFIG_LTC2632 is not set -CONFIG_LTC2664=m -CONFIG_LTC2688=m -CONFIG_LTC2983=m -# CONFIG_LTE_GDM724X is not set -# CONFIG_LTO_CLANG_FULL is not set -# CONFIG_LTO_CLANG_THIN is not set -CONFIG_LTO_NONE=y -# CONFIG_LTR390 is not set -CONFIG_LTR501=m -CONFIG_LTRF216A=m -CONFIG_LV0104CS=m -# CONFIG_LWQ_TEST is not set -CONFIG_LWTUNNEL_BPF=y -CONFIG_LWTUNNEL=y -CONFIG_LXT_PHY=m -CONFIG_LZ4_COMPRESS=m -# CONFIG_M62332 is not set -CONFIG_MAC80211_DEBUGFS=y -# CONFIG_MAC80211_DEBUG_MENU is not set -CONFIG_MAC80211_HWSIM=m -CONFIG_MAC80211_KUNIT_TEST=m -CONFIG_MAC80211_LEDS=y -CONFIG_MAC80211=m -CONFIG_MAC80211_MESH=y -CONFIG_MAC80211_MESSAGE_TRACING=y -CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" -CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y -CONFIG_MAC80211_RC_MINSTREL=y -CONFIG_MAC802154=m -CONFIG_MACB=m -CONFIG_MACB_PCI=m -CONFIG_MACB_USE_HWSTAMP=y -CONFIG_MAC_EMUMOUSEBTN=y -CONFIG_MACHZ_WDT=m -# CONFIG_MACINTOSH_DRIVERS is not set -CONFIG_MAC_PARTITION=y -CONFIG_MACSEC=m -CONFIG_MACVLAN=m -CONFIG_MACVTAP=m -# CONFIG_MAG3110 is not set -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0 -CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE="" -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_MAGIC_SYSRQ=y -# CONFIG_MAILBOX_TEST is not set -CONFIG_MAILBOX=y -# CONFIG_MANAGER_SBS is not set -CONFIG_MANTIS_CORE=m -# CONFIG_MARCH_Z16 is not set -CONFIG_MARVELL_10G_PHY=m -CONFIG_MARVELL_88Q2XXX_PHY=m -CONFIG_MARVELL_88X2222_PHY=m -CONFIG_MARVELL_PHY=m -# CONFIG_MATOM is not set -# CONFIG_MAX1027 is not set -# CONFIG_MAX11100 is not set -# CONFIG_MAX1118 is not set -CONFIG_MAX11205=m -CONFIG_MAX11410=m -CONFIG_MAX1241=m -CONFIG_MAX1363=m -CONFIG_MAX30100=m -# CONFIG_MAX30102 is not set -CONFIG_MAX30208=m -CONFIG_MAX31827=m -CONFIG_MAX31856=m -CONFIG_MAX31865=m -CONFIG_MAX34408=m -# CONFIG_MAX44000 is not set -CONFIG_MAX44009=m -# CONFIG_MAX517 is not set -# CONFIG_MAX5432 is not set -# CONFIG_MAX5481 is not set -# CONFIG_MAX5487 is not set -CONFIG_MAX5522=m -# CONFIG_MAX5821 is not set -# CONFIG_MAX63XX_WATCHDOG is not set -# CONFIG_MAX6959 is not set -CONFIG_MAX77620_WATCHDOG=m -# CONFIG_MAX9611 is not set -CONFIG_MAXIM_THERMOCOUPLE=m -CONFIG_MAXLINEAR_GPHY=m -CONFIG_MAXPHYSMEM_128GB=y -# CONFIG_MAXPHYSMEM_2GB is not set -CONFIG_MAX_SKB_FRAGS=17 -CONFIG_MAXSMP=y -CONFIG_MB1232=m -# CONFIG_MC3230 is not set -# CONFIG_MCB is not set -CONFIG_MCHP_CLK_MPFS=y -# CONFIG_MCORE2 is not set -# CONFIG_MCP320X is not set -# CONFIG_MCP3422 is not set -# CONFIG_MCP3564 is not set -CONFIG_MCP3911=m -CONFIG_MCP4018=m -CONFIG_MCP41010=m -# CONFIG_MCP4131 is not set -# CONFIG_MCP4531 is not set -# CONFIG_MCP4725 is not set -CONFIG_MCP4728=m -CONFIG_MCP4821=m -# CONFIG_MCP4922 is not set -CONFIG_MCP9600=m -CONFIG_MCTP_SERIAL=m -# CONFIG_MCTP_TRANSPORT_I2C is not set -# CONFIG_MCTP_TRANSPORT_I3C is not set -CONFIG_MCTP=y -CONFIG_MD_AUTODETECT=y -CONFIG_MD_BITMAP_FILE=y -# CONFIG_MD_CLUSTER is not set -CONFIG_MD_FAULTY=m -CONFIG_MDIO_BCM_UNIMAC=m -CONFIG_MDIO_BITBANG=m -# CONFIG_MDIO_BUS_MUX_GPIO is not set -# CONFIG_MDIO_BUS_MUX is not set -# CONFIG_MDIO_BUS_MUX_MMIOREG is not set -# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set -CONFIG_MDIO_DEVICE=y -# CONFIG_MDIO_GPIO is not set -# CONFIG_MDIO_HISI_FEMAC is not set -CONFIG_MDIO_I2C=m -# CONFIG_MDIO_IPQ4019 is not set -# CONFIG_MDIO_IPQ8064 is not set -# CONFIG_MDIO_MSCC_MIIM is not set -CONFIG_MDIO_MVUSB=m -# CONFIG_MDIO_OCTEON is not set -# CONFIG_MDIO_THUNDER is not set -CONFIG_MD_LINEAR=m -CONFIG_MDM_GCC_9607=m -CONFIG_MD_MULTIPATH=m -CONFIG_MD_RAID0=m -CONFIG_MD_RAID10=m -CONFIG_MD_RAID1=m -CONFIG_MD_RAID456=m -CONFIG_MD=y -CONFIG_MEAN_AND_VARIANCE_UNIT_TEST=m -CONFIG_MEDIA_ALTERA_CI=m -CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -CONFIG_MEDIA_ATTACH=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_CEC_RC=y -CONFIG_MEDIA_CEC_SUPPORT=y -CONFIG_MEDIA_CONTROLLER_DVB=y -CONFIG_MEDIA_CONTROLLER=y -CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y -CONFIG_MEDIA_PCI_SUPPORT=y -CONFIG_MEDIA_PLATFORM_DRIVERS=y -CONFIG_MEDIA_PLATFORM_SUPPORT=y -CONFIG_MEDIA_RADIO_SUPPORT=y -# CONFIG_MEDIA_SDR_SUPPORT is not set -CONFIG_MEDIA_SUBDRV_AUTOSELECT=y -CONFIG_MEDIA_SUPPORT_FILTER=y -CONFIG_MEDIA_SUPPORT=m -CONFIG_MEDIATEK_GE_PHY=m -CONFIG_MEDIATEK_MT6370_ADC=m -CONFIG_MEDIA_TEST_SUPPORT=y -# CONFIG_MEDIA_TUNER_MSI001 is not set -# CONFIG_MEDIA_TUNER_MXL301RF is not set -CONFIG_MEDIA_USB_SUPPORT=y -# CONFIG_MEFFICEON is not set -CONFIG_MEGARAID_LEGACY=m -CONFIG_MEGARAID_MAILBOX=m -CONFIG_MEGARAID_MM=m -CONFIG_MEGARAID_NEWGEN=y -CONFIG_MEGARAID_SAS=m -# CONFIG_MELAN is not set -CONFIG_MELLANOX_PLATFORM=y -# CONFIG_MEM_ALLOC_PROFILING is not set -CONFIG_MEMCG_SWAP=y -CONFIG_MEMCG_V1=y -CONFIG_MEMCG=y -CONFIG_MEMCPY_KUNIT_TEST=m -CONFIG_MEMCPY_SLOW_KUNIT_TEST=y -CONFIG_MEMORY_FAILURE=y -# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set -# CONFIG_MEMORY_HOTPLUG is not set -# CONFIG_MEMORY is not set -# CONFIG_MEMSTICK_DEBUG is not set -CONFIG_MEMSTICK_JMICRON_38X=m -CONFIG_MEMSTICK=m -CONFIG_MEMSTICK_R592=m -CONFIG_MEMSTICK_REALTEK_USB=m -CONFIG_MEMSTICK_TIFM_MS=m -# CONFIG_MEMSTICK_UNSAFE_RESUME is not set -CONFIG_MEMTEST=y -# CONFIG_MEN_A21_WDT is not set -# CONFIG_MERAKI_MX100 is not set -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -# CONFIG_MFD_88PM800 is not set -# CONFIG_MFD_88PM805 is not set -# CONFIG_MFD_88PM860X is not set -CONFIG_MFD_88PM886_PMIC=y -# CONFIG_MFD_AAT2870_CORE is not set -# CONFIG_MFD_ACT8945A is not set -CONFIG_MFD_ADP5585=m -# CONFIG_MFD_ARIZONA_I2C is not set -# CONFIG_MFD_ARIZONA_SPI is not set -# CONFIG_MFD_AS3711 is not set -# CONFIG_MFD_AS3722 is not set -# CONFIG_MFD_ATC260X_I2C is not set -# CONFIG_MFD_ATMEL_FLEXCOM is not set -# CONFIG_MFD_ATMEL_HLCDC is not set -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_AXP20X_RSB=m -CONFIG_MFD_AXP20X=y -# CONFIG_MFD_BCM590XX is not set -CONFIG_MFD_BD9571MWV=m -CONFIG_MFD_CORE=y -# CONFIG_MFD_CPCAP is not set -CONFIG_MFD_CS40L50_I2C=m -CONFIG_MFD_CS40L50_SPI=m -CONFIG_MFD_CS42L43_I2C=m -CONFIG_MFD_CS42L43_SDW=m -# CONFIG_MFD_CS5535 is not set -# CONFIG_MFD_DA9052_I2C is not set -# CONFIG_MFD_DA9052_SPI is not set -# CONFIG_MFD_DA9055 is not set -# CONFIG_MFD_DA9062 is not set -CONFIG_MFD_DA9063=m -# CONFIG_MFD_DA9150 is not set -CONFIG_MFD_DLN2=m -CONFIG_MFD_ENE_KB3930=m -# CONFIG_MFD_GATEWORKS_GSC is not set -# CONFIG_MFD_HI6421_PMIC is not set -# CONFIG_MFD_HI6421_SPMI is not set -CONFIG_MFD_INTEL_M10_BMC=m -CONFIG_MFD_INTEL_M10_BMC_PMCI=m -CONFIG_MFD_INTEL_M10_BMC_SPI=m -# CONFIG_MFD_INTEL_PMC_BXT is not set -# CONFIG_MFD_IQS62X is not set -# CONFIG_MFD_JANZ_CMODIO is not set -# CONFIG_MFD_KEMPLD is not set -# CONFIG_MFD_KHADAS_MCU is not set -# CONFIG_MFD_LM3533 is not set -# CONFIG_MFD_LOCHNAGAR is not set -# CONFIG_MFD_LP3943 is not set -# CONFIG_MFD_LP8788 is not set -# CONFIG_MFD_MADERA is not set -# CONFIG_MFD_MAX14577 is not set -CONFIG_MFD_MAX5970=m -CONFIG_MFD_MAX597X=m -# CONFIG_MFD_MAX77541 is not set -# CONFIG_MFD_MAX77620 is not set -CONFIG_MFD_MAX77650=m -# CONFIG_MFD_MAX77686 is not set -# CONFIG_MFD_MAX77693 is not set -CONFIG_MFD_MAX77714=m -# CONFIG_MFD_MAX77843 is not set -# CONFIG_MFD_MAX8907 is not set -# CONFIG_MFD_MAX8925 is not set -# CONFIG_MFD_MAX8997 is not set -# CONFIG_MFD_MAX8998 is not set -# CONFIG_MFD_MC13XXX_I2C is not set -# CONFIG_MFD_MC13XXX_SPI is not set -# CONFIG_MFD_MENF21BMC is not set -# CONFIG_MFD_MP2629 is not set -# CONFIG_MFD_MT6360 is not set -# CONFIG_MFD_MT6370 is not set -# CONFIG_MFD_MT6397 is not set -# CONFIG_MFD_NTXEC is not set -# CONFIG_MFD_OCELOT is not set -# CONFIG_MFD_PALMAS is not set -# CONFIG_MFD_PCF50633 is not set -# CONFIG_MFD_QCOM_PM8008 is not set -# CONFIG_MFD_RC5T583 is not set -# CONFIG_MFD_RDC321X is not set -# CONFIG_MFD_RETU is not set -# CONFIG_MFD_RK808 is not set -# CONFIG_MFD_RK8XX_I2C is not set -# CONFIG_MFD_RK8XX_SPI is not set -# CONFIG_MFD_RN5T618 is not set -# CONFIG_MFD_ROHM_BD71828 is not set -# CONFIG_MFD_ROHM_BD718XX is not set -# CONFIG_MFD_ROHM_BD957XMUF is not set -CONFIG_MFD_ROHM_BD96801=m -CONFIG_MFD_RSMU_I2C=m -CONFIG_MFD_RSMU_SPI=m -CONFIG_MFD_RT4831=m -# CONFIG_MFD_RT5033 is not set -CONFIG_MFD_RT5120=m -# CONFIG_MFD_SEC_CORE is not set -# CONFIG_MFD_SI476X_CORE is not set -CONFIG_MFD_SIMPLE_MFD_I2C=m -# CONFIG_MFD_SKY81452 is not set -# CONFIG_MFD_SL28CPLD is not set -CONFIG_MFD_SM501_GPIO=y -CONFIG_MFD_SM501=m -# CONFIG_MFD_SMPRO is not set -# CONFIG_MFD_STMFX is not set -# CONFIG_MFD_STMPE is not set -# CONFIG_MFD_STPMIC1 is not set -CONFIG_MFD_SY7636A=m -CONFIG_MFD_SYSCON=y -# CONFIG_MFD_TC3589X is not set -# CONFIG_MFD_TI_AM335X_TSCADC is not set -# CONFIG_MFD_TI_LMU is not set -# CONFIG_MFD_TI_LP873X is not set -# CONFIG_MFD_TI_LP87565 is not set -# CONFIG_MFD_TIMBERDALE is not set -# CONFIG_MFD_TPS65086 is not set -# CONFIG_MFD_TPS65090 is not set -# CONFIG_MFD_TPS65217 is not set -# CONFIG_MFD_TPS65218 is not set -# CONFIG_MFD_TPS65219 is not set -# CONFIG_MFD_TPS6586X is not set -# CONFIG_MFD_TPS65910 is not set -# CONFIG_MFD_TPS65912_I2C is not set -# CONFIG_MFD_TPS65912 is not set -# CONFIG_MFD_TPS65912_SPI is not set -CONFIG_MFD_TPS6594_I2C=m -# CONFIG_MFD_TPS6594_SPI is not set -# CONFIG_MFD_TQMX86 is not set -# CONFIG_MFD_VIPERBOARD is not set -CONFIG_MFD_VX855=m -CONFIG_MFD_WL1273_CORE=m -# CONFIG_MFD_WM831X_I2C is not set -# CONFIG_MFD_WM831X_SPI is not set -# CONFIG_MFD_WM8350_I2C is not set -# CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM8994 is not set -# CONFIG_MGEODEGX1 is not set -# CONFIG_MGEODE_LX is not set -# CONFIG_MHI_BUS_DEBUG is not set -# CONFIG_MHI_BUS_EP is not set -CONFIG_MHI_BUS=m -CONFIG_MHI_BUS_PCI_GENERIC=m -CONFIG_MHI_NET=m -CONFIG_MHI_WWAN_CTRL=m -CONFIG_MHI_WWAN_MBIM=m -# CONFIG_MICREL_KS8995MA is not set -CONFIG_MICREL_PHY=m -CONFIG_MICROCHIP_PHY=m -# CONFIG_MICROCHIP_PIT64B is not set -# CONFIG_MICROCHIP_T1_PHY is not set -CONFIG_MICROCHIP_T1S_PHY=m -CONFIG_MICROSEMI_PHY=m -CONFIG_MICROSOFT_MANA=m -CONFIG_MIGRATION=y -CONFIG_MII=m -CONFIG_MINIX_FS=m -CONFIG_MINIX_SUBPARTITION=y -CONFIG_MISC_ALCOR_PCI=m -CONFIG_MISC_FILESYSTEMS=y -CONFIG_MISC_RTSX_PCI=m -CONFIG_MISC_RTSX_USB=m -CONFIG_MKISS=m -CONFIG_MLX4_CORE_GEN2=y -CONFIG_MLX4_CORE=m -CONFIG_MLX4_DEBUG=y -CONFIG_MLX4_EN_DCB=y -CONFIG_MLX4_EN=m -CONFIG_MLX4_INFINIBAND=m -CONFIG_MLX5_ACCEL=y -CONFIG_MLX5_CLS_ACT=y -CONFIG_MLX5_CORE_EN_DCB=y -CONFIG_MLX5_CORE_EN=y -CONFIG_MLX5_CORE_IPOIB=y -CONFIG_MLX5_CORE=m -CONFIG_MLX5_DPLL=m -CONFIG_MLX5_EN_ARFS=y -CONFIG_MLX5_EN_IPSEC=y -CONFIG_MLX5_EN_RXNFC=y -CONFIG_MLX5_EN_TLS=y -CONFIG_MLX5_ESWITCH=y -# CONFIG_MLX5_FPGA_IPSEC is not set -# CONFIG_MLX5_FPGA_TLS is not set -CONFIG_MLX5_FPGA=y -CONFIG_MLX5_HW_STEERING=y -CONFIG_MLX5_INFINIBAND=m -CONFIG_MLX5_IPSEC=y -CONFIG_MLX5_MACSEC=y -CONFIG_MLX5_MPFS=y -CONFIG_MLX5_SF=y -CONFIG_MLX5_SW_STEERING=y -CONFIG_MLX5_TC_CT=y -CONFIG_MLX5_TC_SAMPLE=y -CONFIG_MLX5_TLS=y -CONFIG_MLX5_VDPA_NET=m -# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set -CONFIG_MLX5_VDPA=y -CONFIG_MLX5_VFIO_PCI=m -CONFIG_MLX90614=m -CONFIG_MLX90632=m -# CONFIG_MLX90635 is not set -# CONFIG_MLXBF_BOOTCTL is not set -# CONFIG_MLXBF_GIGE is not set -# CONFIG_MLXBF_TMFIFO is not set -CONFIG_MLXFW=m -CONFIG_MLXREG_HOTPLUG=m -CONFIG_MLXREG_IO=m -CONFIG_MLXREG_LC=m -CONFIG_MLXSW_CORE_HWMON=y -CONFIG_MLXSW_CORE=m -CONFIG_MLXSW_CORE_THERMAL=y -CONFIG_MLXSW_I2C=m -CONFIG_MLXSW_MINIMAL=m -CONFIG_MLXSW_PCI=m -CONFIG_MLXSW_SPECTRUM_DCB=y -CONFIG_MLXSW_SPECTRUM=m -CONFIG_MLX_WDT=m -# CONFIG_MMA7455_I2C is not set -# CONFIG_MMA7455_SPI is not set -CONFIG_MMA7660=m -# CONFIG_MMA8452 is not set -# CONFIG_MMA9551 is not set -# CONFIG_MMA9553 is not set -# CONFIG_MMC35240 is not set -CONFIG_MMC_ALCOR=m -# CONFIG_MMC_ARMMMCI is not set -CONFIG_MMC_BLOCK=m -CONFIG_MMC_BLOCK_MINORS=8 -CONFIG_MMC_CB710=m -CONFIG_MMC_CQHCI=m -# CONFIG_MMC_CRYPTO is not set -# CONFIG_MMC_DEBUG is not set -# CONFIG_MMC_DW_BLUEFIELD is not set -# CONFIG_MMC_DW_EXYNOS is not set -# CONFIG_MMC_DW_HI3798CV200 is not set -CONFIG_MMC_DW_HI3798MV200=m -# CONFIG_MMC_DW_K3 is not set -CONFIG_MMC_DW=m -CONFIG_MMC_DW_PCI=m -CONFIG_MMC_DW_PLTFM=m -CONFIG_MMC_DW_STARFIVE=m -CONFIG_MMC_HSQ=m -CONFIG_MMC_LITEX=m -CONFIG_MMC=m -# CONFIG_MMC_MTK is not set -CONFIG_MMC_REALTEK_PCI=m -CONFIG_MMC_REALTEK_USB=m -CONFIG_MMC_RICOH_MMC=y -CONFIG_MMC_SDHCI_ACPI=m -# CONFIG_MMC_SDHCI_AM654 is not set -CONFIG_MMC_SDHCI_CADENCE=m -# CONFIG_MMC_SDHCI_F_SDH30 is not set -CONFIG_MMC_SDHCI=m -# CONFIG_MMC_SDHCI_MILBEAUT is not set -# CONFIG_MMC_SDHCI_OF_ARASAN is not set -# CONFIG_MMC_SDHCI_OF_AT91 is not set -CONFIG_MMC_SDHCI_OF_DWCMSHC=m -# CONFIG_MMC_SDHCI_OF_ESDHC is not set -# CONFIG_MMC_SDHCI_OMAP is not set -CONFIG_MMC_SDHCI_PCI=m -CONFIG_MMC_SDHCI_PLTFM=m -CONFIG_MMC_SDHCI_XENON=m -CONFIG_MMC_SDRICOH_CS=m -# CONFIG_MMC_SPI is not set -# CONFIG_MMC_STM32_SDMMC is not set -# CONFIG_MMC_TEST is not set -CONFIG_MMC_TIFM_SD=m -# CONFIG_MMC_TOSHIBA_PCI is not set -# CONFIG_MMC_USDHI6ROL0 is not set -CONFIG_MMC_USHC=m -CONFIG_MMC_VIA_SDMMC=m -CONFIG_MMC_VUB300=m -CONFIG_MMC_WBSD=m -CONFIG_MMIOTRACE=y -CONFIG_MMU=y -CONFIG_MODIFY_LDT_SYSCALL=y -CONFIG_MODPROBE_PATH="/usr/sbin/modprobe" -# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set -# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set -# CONFIG_MODULE_COMPRESS_GZIP is not set -# CONFIG_MODULE_COMPRESS is not set -CONFIG_MODULE_COMPRESS_NONE=y -# CONFIG_MODULE_COMPRESS_XZ is not set -# CONFIG_MODULE_COMPRESS_ZSTD is not set -# CONFIG_MODULE_DEBUG is not set -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODULE_SIG_ALL=y -# CONFIG_MODULE_SIG_FORCE is not set -CONFIG_MODULE_SIG_KEY="certs/signing_key.pem" -# CONFIG_MODULE_SIG_KEY_TYPE_ECDSA is not set -CONFIG_MODULE_SIG_KEY_TYPE_RSA=y -# CONFIG_MODULE_SIG_SHA1 is not set -# CONFIG_MODULE_SIG_SHA224 is not set -# CONFIG_MODULE_SIG_SHA256 is not set -# CONFIG_MODULE_SIG_SHA3_256 is not set -# CONFIG_MODULE_SIG_SHA3_384 is not set -# CONFIG_MODULE_SIG_SHA3_512 is not set -# CONFIG_MODULE_SIG_SHA384 is not set -CONFIG_MODULE_SIG_SHA512=y -CONFIG_MODULE_SIG=y -# CONFIG_MODULE_SRCVERSION_ALL is not set -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD_TAINT_TRACKING=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODVERSIONS is not set -# CONFIG_MOST is not set -CONFIG_MOTORCOMM_PHY=m -CONFIG_MOUSE_APPLETOUCH=m -CONFIG_MOUSE_BCM5974=m -CONFIG_MOUSE_CYAPA=m -CONFIG_MOUSE_ELAN_I2C_I2C=y -CONFIG_MOUSE_ELAN_I2C=m -CONFIG_MOUSE_ELAN_I2C_SMBUS=y -# CONFIG_MOUSE_GPIO is not set -CONFIG_MOUSE_PS2_ALPS=y -CONFIG_MOUSE_PS2_BYD=y -CONFIG_MOUSE_PS2_CYPRESS=y -# CONFIG_MOUSE_PS2_ELANTECH is not set -CONFIG_MOUSE_PS2_ELANTECH_SMBUS=y -CONFIG_MOUSE_PS2_FOCALTECH=y -# CONFIG_MOUSE_PS2 is not set -CONFIG_MOUSE_PS2_LIFEBOOK=y -CONFIG_MOUSE_PS2_LOGIPS2PP=y -# CONFIG_MOUSE_PS2_SENTELIC is not set -CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y -CONFIG_MOUSE_PS2_SYNAPTICS=y -# CONFIG_MOUSE_PS2_TOUCHKIT is not set -CONFIG_MOUSE_PS2_TRACKPOINT=y -# CONFIG_MOUSE_SERIAL is not set -CONFIG_MOUSE_SYNAPTICS_I2C=m -CONFIG_MOUSE_SYNAPTICS_USB=m -CONFIG_MOUSE_VSXXXAA=m -# CONFIG_MOXA_INTELLIO is not set -# CONFIG_MOXA_SMARTIO is not set -# CONFIG_MOXTET is not set -CONFIG_MPL115_I2C=m -# CONFIG_MPL115_SPI is not set -# CONFIG_MPL3115 is not set -CONFIG_MPLS_IPTUNNEL=m -CONFIG_MPLS_ROUTING=m -# CONFIG_MPRLS0025PA is not set -CONFIG_MPTCP_IPV6=y -CONFIG_MPTCP_KUNIT_TEST=m -CONFIG_MPTCP=y -CONFIG_MPU3050_I2C=m -CONFIG_MQ_IOSCHED_DEADLINE=y -CONFIG_MQ_IOSCHED_KYBER=y -# CONFIG_MS5611 is not set -# CONFIG_MS5637 is not set -CONFIG_MSA311=m -# CONFIG_MS_BLOCK is not set -CONFIG_MSDOS_FS=m -CONFIG_MSDOS_PARTITION=y -CONFIG_MSE102X=m -# CONFIG_MSM_GCC_8939 is not set -# CONFIG_MSM_GCC_8953 is not set -# CONFIG_MSM_GPUCC_8998 is not set -# CONFIG_MSM_MMCC_8998 is not set -CONFIG_MSPRO_BLOCK=m -CONFIG_MT7601U=m -CONFIG_MT7603E=m -CONFIG_MT7615E=m -CONFIG_MT7663S=m -CONFIG_MT7663U=m -CONFIG_MT76x0E=m -CONFIG_MT76x0U=m -CONFIG_MT76x2E=m -CONFIG_MT76x2U=m -CONFIG_MT7915E=m -CONFIG_MT7921E=m -CONFIG_MT7921S=m -CONFIG_MT7921U=m -CONFIG_MT7925E=m -CONFIG_MT7925U=m -CONFIG_MT7996E=m -# CONFIG_MTD_ABSENT is not set -# CONFIG_MTD_AR7_PARTS is not set -CONFIG_MTD_BLKDEVS=m -CONFIG_MTD_BLOCK2MTD=m -CONFIG_MTD_BLOCK=m -# CONFIG_MTD_BLOCK_RO is not set -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_CFI_AMDSTD=m -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -CONFIG_MTD_CFI_INTELEXT=m -CONFIG_MTD_CFI=m -CONFIG_MTD_CFI_STAA=m -# CONFIG_MTD_CMDLINE_PARTS is not set -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -# CONFIG_MTD_DATAFLASH is not set -# CONFIG_MTD_DOCG3 is not set -# CONFIG_MTD_HYPERBUS is not set -# CONFIG_MTD_INTEL_VR_NOR is not set -# CONFIG_MTD_JEDECPROBE is not set -# CONFIG_MTD_LPDDR is not set -CONFIG_MTD=m -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MCHP23K256 is not set -CONFIG_MTD_MCHP48L640=m -CONFIG_MTD_MTDRAM=m -# CONFIG_MTD_NAND_ARASAN is not set -# CONFIG_MTD_NAND_BRCMNAND is not set -CONFIG_MTD_NAND_CADENCE=m -# CONFIG_MTD_NAND_CAFE is not set -# CONFIG_MTD_NAND_CS553X is not set -# CONFIG_MTD_NAND_DENALI_DT is not set -# CONFIG_MTD_NAND_DENALI_PCI is not set -# CONFIG_MTD_NAND_DISKONCHIP is not set -CONFIG_MTD_NAND_ECC_MXIC=y -# CONFIG_MTD_NAND_ECC_SW_BCH is not set -# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set -CONFIG_MTD_NAND_ECC_SW_HAMMING=y -# CONFIG_MTD_NAND_GPIO is not set -# CONFIG_MTD_NAND_HISI504 is not set -# CONFIG_MTD_NAND_INTEL_LGM is not set -# CONFIG_MTD_NAND_MESON is not set -# CONFIG_MTD_NAND_MXC is not set -# CONFIG_MTD_NAND_MXIC is not set -CONFIG_MTD_NAND_NANDSIM=m -# CONFIG_MTD_NAND_OMAP2 is not set -# CONFIG_MTD_NAND_PL35X is not set -# CONFIG_MTD_NAND_PLATFORM is not set -# CONFIG_MTD_NAND_QCOM is not set -# CONFIG_MTD_NAND_RICOH is not set -# CONFIG_MTD_NAND_ROCKCHIP is not set -# CONFIG_MTD_NAND_SUNXI is not set -CONFIG_MTD_OF_PARTS=m -# CONFIG_MTD_ONENAND is not set -# CONFIG_MTD_OOPS is not set -# CONFIG_MTD_PARTITIONED_MASTER is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_PHYSMAP_COMPAT is not set -# CONFIG_MTD_PHYSMAP_GEMINI is not set -CONFIG_MTD_PHYSMAP=m -CONFIG_MTD_PHYSMAP_OF=y -# CONFIG_MTD_PHYSMAP_VERSATILE is not set -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_PMC551 is not set -CONFIG_MTDRAM_ERASE_SIZE=128 -# CONFIG_MTD_RAM is not set -CONFIG_MTDRAM_TOTAL_SIZE=4096 -CONFIG_MTD_RAW_NAND=m -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_SHARPSL_PARTS is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_SPI_NAND is not set -CONFIG_MTD_SPI_NOR=m -# CONFIG_MTD_SPI_NOR_SWP_DISABLE is not set -CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE=y -# CONFIG_MTD_SPI_NOR_SWP_KEEP is not set -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -# CONFIG_MTD_SST25L is not set -# CONFIG_MTD_SWAP is not set -# CONFIG_MTD_TESTS is not set -CONFIG_MTD_UBI_BEB_LIMIT=20 -# CONFIG_MTD_UBI_BLOCK is not set -# CONFIG_MTD_UBI_FASTMAP is not set -# CONFIG_MTD_UBI_FAULT_INJECTION is not set -# CONFIG_MTD_UBI_GLUEBI is not set -CONFIG_MTD_UBI=m -CONFIG_MTD_UBI_NVMEM=m -CONFIG_MTD_UBI_WL_THRESHOLD=4096 -CONFIG_MTK_T7XX=m -CONFIG_MULTIPLEXER=m -CONFIG_MULTIUSER=y -CONFIG_MUX_ADG792A=m -# CONFIG_MUX_ADGS1408 is not set -CONFIG_MUX_GPIO=m -CONFIG_MUX_MMIO=m -# CONFIG_MVIAC7 is not set -CONFIG_MVMDIO=m -CONFIG_MWAVE=m -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_PCIE=m -CONFIG_MWIFIEX_SDIO=m -CONFIG_MWIFIEX_USB=m -CONFIG_MWL8K=m -CONFIG_MXC4005=m -CONFIG_MXC6255=m -CONFIG_MYRI10GE_DCA=y -CONFIG_MYRI10GE=m -CONFIG_NAMESPACES=y -CONFIG_NATIONAL_PHY=m -CONFIG_NATSEMI=m -# CONFIG_NAU7802 is not set -# CONFIG_NBPFAXI_DMA is not set -CONFIG_NCN26000_PHY=m -CONFIG_NCSI_OEM_CMD_GET_MAC=y -CONFIG_NCSI_OEM_CMD_KEEP_PHY=y -# CONFIG_NDC_DIS_DYNAMIC_CACHING is not set -CONFIG_NE2K_PCI=m -# CONFIG_NET_9P_DEBUG is not set -CONFIG_NET_9P_FD=m -CONFIG_NET_9P=m -CONFIG_NET_9P_RDMA=m -CONFIG_NET_9P_USBG=y -CONFIG_NET_9P_VIRTIO=m -CONFIG_NET_9P_XEN=m -CONFIG_NET_ACT_BPF=m -CONFIG_NET_ACT_CONNMARK=m -CONFIG_NET_ACT_CSUM=m -CONFIG_NET_ACT_CTINFO=m -CONFIG_NET_ACT_CT=m -CONFIG_NET_ACT_GACT=m -CONFIG_NET_ACT_GATE=m -CONFIG_NET_ACT_IFE=m -CONFIG_NET_ACT_MIRRED=m -CONFIG_NET_ACT_MPLS=m -CONFIG_NET_ACT_NAT=m -CONFIG_NET_ACT_PEDIT=m -CONFIG_NET_ACT_POLICE=m -CONFIG_NET_ACT_SAMPLE=m -CONFIG_NET_ACT_SIMP=m -CONFIG_NET_ACT_SKBEDIT=m -CONFIG_NET_ACT_SKBMOD=m -CONFIG_NET_ACT_TUNNEL_KEY=m -CONFIG_NET_ACT_VLAN=m -CONFIG_NET_CALXEDA_XGMAC=m -CONFIG_NET_CLS_ACT=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_BPF=m -CONFIG_NET_CLS_CGROUP=y -CONFIG_NET_CLS_FLOWER=m -CONFIG_NET_CLS_FLOW=m -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_MATCHALL=m -CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_U32=m -CONFIG_NET_CLS=y -CONFIG_NETCONSOLE_DYNAMIC=y -# CONFIG_NETCONSOLE_EXTENDED_LOG is not set -CONFIG_NETCONSOLE=m -CONFIG_NET_CORE=y -CONFIG_NETDEV_ADDR_LIST_TEST=m -CONFIG_NETDEVICES=y -CONFIG_NET_DEVLINK=y -CONFIG_NET_DEV_REFCNT_TRACKER=y -CONFIG_NETDEVSIM=m -CONFIG_NET_DROP_MONITOR=y -# CONFIG_NET_DSA_AR9331 is not set -CONFIG_NET_DSA_BCM_SF2=m -CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK=m -# CONFIG_NET_DSA_LANTIQ_GSWIP is not set -CONFIG_NET_DSA_LOOP=m -CONFIG_NET_DSA=m -# CONFIG_NET_DSA_MICROCHIP_KSZ8795 is not set -# CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C is not set -CONFIG_NET_DSA_MICROCHIP_KSZ9477=m -CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI=m -# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set -CONFIG_NET_DSA_MT7530=m -CONFIG_NET_DSA_MT7530_MDIO=m -CONFIG_NET_DSA_MT7530_MMIO=m -# CONFIG_NET_DSA_MV88E6060 is not set -CONFIG_NET_DSA_MV88E6XXX=m -CONFIG_NET_DSA_MV88E6XXX_PTP=y -CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT=y -CONFIG_NET_DSA_QCA8K=m -CONFIG_NET_DSA_REALTEK=m -# CONFIG_NET_DSA_REALTEK_MDIO is not set -CONFIG_NET_DSA_REALTEK_RTL8365MB=m -CONFIG_NET_DSA_REALTEK_RTL8366RB=m -# CONFIG_NET_DSA_REALTEK_SMI is not set -# CONFIG_NET_DSA_SJA1105 is not set -CONFIG_NET_DSA_SMSC_LAN9303_I2C=m -CONFIG_NET_DSA_SMSC_LAN9303_MDIO=m -# CONFIG_NET_DSA_TAG_AR9331 is not set -CONFIG_NET_DSA_TAG_GSWIP=m -CONFIG_NET_DSA_TAG_HELLCREEK=m -CONFIG_NET_DSA_TAG_KSZ=m -CONFIG_NET_DSA_TAG_OCELOT_8021Q=m -CONFIG_NET_DSA_TAG_OCELOT=m -CONFIG_NET_DSA_TAG_RTL4_A=m -CONFIG_NET_DSA_TAG_RTL8_4=m -# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set -CONFIG_NET_DSA_TAG_SJA1105=m -CONFIG_NET_DSA_TAG_TRAILER=m -# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set -CONFIG_NET_DSA_TAG_XRS700X=m -# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set -# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set -CONFIG_NET_DSA_XRS700X_I2C=m -CONFIG_NET_DSA_XRS700X_MDIO=m -CONFIG_NET_EMATCH_CANID=m -CONFIG_NET_EMATCH_CMP=m -CONFIG_NET_EMATCH_IPSET=m -CONFIG_NET_EMATCH_IPT=m -CONFIG_NET_EMATCH_META=m -CONFIG_NET_EMATCH_NBYTE=m -CONFIG_NET_EMATCH_STACK=32 -CONFIG_NET_EMATCH_TEXT=m -CONFIG_NET_EMATCH_U32=m -CONFIG_NET_EMATCH=y -CONFIG_NET_FAILOVER=m -CONFIG_NET_FC=y -CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_EGRESS=y -CONFIG_NETFILTER_INGRESS=y -CONFIG_NETFILTER_NETLINK_ACCT=m -# CONFIG_NETFILTER_NETLINK_GLUE_CT is not set -CONFIG_NETFILTER_NETLINK_HOOK=m -CONFIG_NETFILTER_NETLINK_LOG=m -CONFIG_NETFILTER_NETLINK=m -CONFIG_NETFILTER_NETLINK_OSF=m -CONFIG_NETFILTER_NETLINK_QUEUE=m -# CONFIG_NETFILTER_XTABLES_COMPAT is not set -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_CONNMARK=m -CONFIG_NETFILTER_XT_MARK=m -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m -CONFIG_NETFILTER_XT_MATCH_BPF=m -CONFIG_NETFILTER_XT_MATCH_CGROUP=m -CONFIG_NETFILTER_XT_MATCH_CLUSTER=m -CONFIG_NETFILTER_XT_MATCH_COMMENT=m -CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m -CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m -CONFIG_NETFILTER_XT_MATCH_CONNMARK=m -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m -CONFIG_NETFILTER_XT_MATCH_CPU=m -CONFIG_NETFILTER_XT_MATCH_DCCP=m -CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m -CONFIG_NETFILTER_XT_MATCH_DSCP=m -CONFIG_NETFILTER_XT_MATCH_ECN=m -CONFIG_NETFILTER_XT_MATCH_ESP=m -CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m -CONFIG_NETFILTER_XT_MATCH_HELPER=m -CONFIG_NETFILTER_XT_MATCH_HL=m -CONFIG_NETFILTER_XT_MATCH_IPCOMP=m -CONFIG_NETFILTER_XT_MATCH_IPRANGE=m -CONFIG_NETFILTER_XT_MATCH_IPVS=m -CONFIG_NETFILTER_XT_MATCH_L2TP=m -CONFIG_NETFILTER_XT_MATCH_LENGTH=m -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m -CONFIG_NETFILTER_XT_MATCH_NFACCT=m -CONFIG_NETFILTER_XT_MATCH_OSF=m -CONFIG_NETFILTER_XT_MATCH_OWNER=m -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m -CONFIG_NETFILTER_XT_MATCH_POLICY=m -CONFIG_NETFILTER_XT_MATCH_QUOTA=m -CONFIG_NETFILTER_XT_MATCH_RATEEST=m -CONFIG_NETFILTER_XT_MATCH_REALM=m -CONFIG_NETFILTER_XT_MATCH_RECENT=m -CONFIG_NETFILTER_XT_MATCH_SCTP=m -CONFIG_NETFILTER_XT_MATCH_SOCKET=m -CONFIG_NETFILTER_XT_MATCH_STATE=m -CONFIG_NETFILTER_XT_MATCH_STATISTIC=m -CONFIG_NETFILTER_XT_MATCH_STRING=m -CONFIG_NETFILTER_XT_MATCH_TCPMSS=m -CONFIG_NETFILTER_XT_MATCH_TIME=m -CONFIG_NETFILTER_XT_MATCH_U32=m -CONFIG_NETFILTER_XT_NAT=m -CONFIG_NETFILTER_XT_SET=m -CONFIG_NETFILTER_XT_TARGET_AUDIT=m -CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m -CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m -CONFIG_NETFILTER_XT_TARGET_CONNMARK=m -CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m -CONFIG_NETFILTER_XT_TARGET_CT=m -CONFIG_NETFILTER_XT_TARGET_DSCP=m -CONFIG_NETFILTER_XT_TARGET_HMARK=m -CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m -CONFIG_NETFILTER_XT_TARGET_LED=m -CONFIG_NETFILTER_XT_TARGET_LOG=m -CONFIG_NETFILTER_XT_TARGET_MARK=m -CONFIG_NETFILTER_XT_TARGET_NETMAP=m -CONFIG_NETFILTER_XT_TARGET_NFLOG=m -CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m -CONFIG_NETFILTER_XT_TARGET_NOTRACK=m -CONFIG_NETFILTER_XT_TARGET_RATEEST=m -CONFIG_NETFILTER_XT_TARGET_REDIRECT=m -CONFIG_NETFILTER_XT_TARGET_SECMARK=m -CONFIG_NETFILTER_XT_TARGET_TCPMSS=m -CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m -CONFIG_NETFILTER_XT_TARGET_TEE=m -CONFIG_NETFILTER_XT_TARGET_TPROXY=m -CONFIG_NETFILTER_XT_TARGET_TRACE=m -CONFIG_NETFILTER=y -CONFIG_NET_FLOW_LIMIT=y -CONFIG_NET_FOU_IP_TUNNELS=y -CONFIG_NET_FOU=m -# CONFIG_NETFS_DEBUG is not set -CONFIG_NETFS_STATS=y -CONFIG_NETFS_SUPPORT=m -CONFIG_NET_HANDSHAKE_KUNIT_TEST=m -CONFIG_NET_IFE=m -CONFIG_NET_IFE_SKBMARK=m -CONFIG_NET_IFE_SKBPRIO=m -CONFIG_NET_IFE_SKBTCINDEX=m -CONFIG_NET_IPGRE_BROADCAST=y -CONFIG_NET_IPGRE_DEMUX=m -CONFIG_NET_IPGRE=m -CONFIG_NET_IPIP=m -CONFIG_NET_IPVTI=m -CONFIG_NET_KEY=m -CONFIG_NET_KEY_MIGRATE=y -CONFIG_NETKIT=y -CONFIG_NET_L3_MASTER_DEV=y -CONFIG_NETLABEL=y -CONFIG_NETLINK_DIAG=y -CONFIG_NET_MPLS_GSO=m -CONFIG_NET_NCSI=y -CONFIG_NET_NSH=m -CONFIG_NET_NS_REFCNT_TRACKER=y -CONFIG_NET_NS=y -CONFIG_NET_PKTGEN=m -CONFIG_NET_POLL_CONTROLLER=y -CONFIG_NETROM=m -# CONFIG_NET_SB1000 is not set -CONFIG_NET_SCH_CAKE=m -CONFIG_NET_SCH_CBS=m -CONFIG_NET_SCH_CHOKE=m -CONFIG_NET_SCH_CODEL=m -# CONFIG_NET_SCH_DEFAULT is not set -CONFIG_NET_SCH_DRR=m -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_ETF=m -CONFIG_NET_SCH_ETS=m -CONFIG_NET_SCH_FQ_CODEL=y -CONFIG_NET_SCH_FQ=m -CONFIG_NET_SCH_FQ_PIE=m -CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_HFSC=m -CONFIG_NET_SCH_HHF=m -CONFIG_NET_SCH_HTB=m -CONFIG_NET_SCH_INGRESS=m -CONFIG_NET_SCH_MQPRIO=m -CONFIG_NET_SCH_MULTIQ=m -CONFIG_NET_SCH_NETEM=m -CONFIG_NET_SCH_PIE=m -CONFIG_NET_SCH_PLUG=m -CONFIG_NET_SCH_PRIO=m -CONFIG_NET_SCH_QFQ=m -CONFIG_NET_SCH_RED=m -CONFIG_NET_SCH_SFB=m -CONFIG_NET_SCH_SFQ=m -# CONFIG_NET_SCH_SKBPRIO is not set -CONFIG_NET_SCH_TAPRIO=m -CONFIG_NET_SCH_TBF=m -CONFIG_NET_SCH_TEQL=m -CONFIG_NET_SWITCHDEV=y -CONFIG_NET_TC_SKB_EXT=y -CONFIG_NET_TEAM=m -CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m -CONFIG_NET_TEAM_MODE_BROADCAST=m -CONFIG_NET_TEAM_MODE_LOADBALANCE=m -CONFIG_NET_TEAM_MODE_RANDOM=m -CONFIG_NET_TEAM_MODE_ROUNDROBIN=m -CONFIG_NET_TEST=m -CONFIG_NET_TULIP=y -CONFIG_NET_UDP_TUNNEL=m -CONFIG_NET_VENDOR_3COM=y -CONFIG_NET_VENDOR_8390=y -CONFIG_NET_VENDOR_ADAPTEC=y -CONFIG_NET_VENDOR_ADI=y -CONFIG_NET_VENDOR_AGERE=y -# CONFIG_NET_VENDOR_ALACRITECH is not set -CONFIG_NET_VENDOR_ALTEON=y -CONFIG_NET_VENDOR_AMAZON=y -CONFIG_NET_VENDOR_AMD=y -CONFIG_NET_VENDOR_AQUANTIA=y -CONFIG_NET_VENDOR_ARC=y -CONFIG_NET_VENDOR_ASIX=y -CONFIG_NET_VENDOR_ATHEROS=y -CONFIG_NET_VENDOR_BROADCOM=y -CONFIG_NET_VENDOR_BROCADE=y -CONFIG_NET_VENDOR_CADENCE=y -# CONFIG_NET_VENDOR_CAVIUM is not set -CONFIG_NET_VENDOR_CHELSIO=y -CONFIG_NET_VENDOR_CISCO=y -# CONFIG_NET_VENDOR_CORTINA is not set -CONFIG_NET_VENDOR_DAVICOM=y -CONFIG_NET_VENDOR_DEC=y -CONFIG_NET_VENDOR_DLINK=y -CONFIG_NET_VENDOR_EMULEX=y -CONFIG_NET_VENDOR_ENGLEDER=y -# CONFIG_NET_VENDOR_EZCHIP is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_FUJITSU is not set -CONFIG_NET_VENDOR_FUNGIBLE=y -CONFIG_NET_VENDOR_GOOGLE=y -# CONFIG_NET_VENDOR_HISILICON is not set -# CONFIG_NET_VENDOR_HUAWEI is not set -# CONFIG_NET_VENDOR_I825XX is not set -CONFIG_NET_VENDOR_INTEL=y -CONFIG_NET_VENDOR_LITEX=y -CONFIG_NET_VENDOR_MARVELL=y -CONFIG_NET_VENDOR_MELLANOX=y -CONFIG_NET_VENDOR_META=y -CONFIG_NET_VENDOR_MICREL=y -CONFIG_NET_VENDOR_MICROCHIP=y -# CONFIG_NET_VENDOR_MICROSEMI is not set -CONFIG_NET_VENDOR_MICROSOFT=y -CONFIG_NET_VENDOR_MYRI=y -CONFIG_NET_VENDOR_NATSEMI=y -CONFIG_NET_VENDOR_NETERION=y -CONFIG_NET_VENDOR_NETRONOME=y -# CONFIG_NET_VENDOR_NI is not set -CONFIG_NET_VENDOR_NVIDIA=y -CONFIG_NET_VENDOR_OKI=y -CONFIG_NET_VENDOR_PACKET_ENGINES=y -CONFIG_NET_VENDOR_PENSANDO=y -CONFIG_NET_VENDOR_QLOGIC=y -CONFIG_NET_VENDOR_QUALCOMM=y -CONFIG_NET_VENDOR_RDC=y -CONFIG_NET_VENDOR_REALTEK=y -# CONFIG_NET_VENDOR_RENESAS is not set -CONFIG_NET_VENDOR_ROCKER=y -# CONFIG_NET_VENDOR_SAMSUNG is not set -# CONFIG_NET_VENDOR_SEEQ is not set -CONFIG_NET_VENDOR_SILAN=y -CONFIG_NET_VENDOR_SIS=y -CONFIG_NET_VENDOR_SMSC=y -# CONFIG_NET_VENDOR_SOCIONEXT is not set -# CONFIG_NET_VENDOR_SOLARFLARE is not set -CONFIG_NET_VENDOR_STMICRO=y -CONFIG_NET_VENDOR_SUN=y -# CONFIG_NET_VENDOR_SYNOPSYS is not set -CONFIG_NET_VENDOR_TEHUTI=y -CONFIG_NET_VENDOR_TI=y -CONFIG_NET_VENDOR_VERTEXCOM=y -CONFIG_NET_VENDOR_VIA=y -CONFIG_NET_VENDOR_WANGXUN=y -CONFIG_NET_VENDOR_WIZNET=y -CONFIG_NET_VENDOR_XILINX=y -CONFIG_NET_VENDOR_XIRCOM=y -CONFIG_NET_VRF=m -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_NETWORK_PHY_TIMESTAMPING=y -CONFIG_NETXEN_NIC=m -CONFIG_NET=y -CONFIG_NEW_LEDS=y -CONFIG_NFC_DIGITAL=m -# CONFIG_NFC_FDP is not set -CONFIG_NFC_HCI=m -CONFIG_NFC=m -CONFIG_NFC_MICROREAD_I2C=m -CONFIG_NFC_MICROREAD=m -# CONFIG_NFC_MRVL_I2C is not set -CONFIG_NFC_MRVL=m -# CONFIG_NFC_MRVL_SPI is not set -CONFIG_NFC_MRVL_USB=m -CONFIG_NFC_NCI=m -CONFIG_NFC_NCI_SPI=m -# CONFIG_NFC_NCI_UART is not set -CONFIG_NFC_NXP_NCI_I2C=m -CONFIG_NFC_NXP_NCI=m -CONFIG_NF_CONNTRACK_AMANDA=m -CONFIG_NF_CONNTRACK_BRIDGE=m -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_FTP=m -CONFIG_NF_CONNTRACK_H323=m -CONFIG_NF_CONNTRACK_IRC=m -CONFIG_NF_CONNTRACK=m -CONFIG_NF_CONNTRACK_MARK=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=m -CONFIG_NF_CONNTRACK_PPTP=m -CONFIG_NF_CONNTRACK_PROCFS=y -CONFIG_NF_CONNTRACK_SANE=m -CONFIG_NF_CONNTRACK_SECMARK=y -CONFIG_NF_CONNTRACK_SIP=m -CONFIG_NF_CONNTRACK_SNMP=m -CONFIG_NF_CONNTRACK_TFTP=m -# CONFIG_NF_CONNTRACK_TIMEOUT is not set -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CONNTRACK_ZONES=y -CONFIG_NFC_PN532_UART=m -CONFIG_NFC_PN533_I2C=m -CONFIG_NFC_PN533=m -CONFIG_NFC_PN533_USB=m -CONFIG_NFC_PN544_I2C=m -CONFIG_NFC_PN544=m -CONFIG_NFC_PORT100=m -# CONFIG_NFC_S3FWRN5_I2C is not set -# CONFIG_NFC_S3FWRN82_UART is not set -CONFIG_NFC_SHDLC=y -CONFIG_NFC_SIM=m -CONFIG_NFC_ST21NFCA_I2C=m -CONFIG_NFC_ST21NFCA=m -# CONFIG_NFC_ST95HF is not set -# CONFIG_NFC_ST_NCI_I2C is not set -# CONFIG_NFC_ST_NCI_SPI is not set -CONFIG_NF_CT_NETLINK=m -# CONFIG_NF_CT_PROTO_DCCP is not set -CONFIG_NF_CT_PROTO_SCTP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NFC_TRF7970A=m -# CONFIG_NFC_VIRTUAL_NCI is not set -CONFIG_NF_DUP_IPV4=m -CONFIG_NF_DUP_IPV6=m -CONFIG_NF_DUP_NETDEV=m -CONFIG_NF_FLOW_TABLE_INET=m -CONFIG_NF_FLOW_TABLE_IPV4=m -CONFIG_NF_FLOW_TABLE_IPV6=m -CONFIG_NF_FLOW_TABLE=m -CONFIG_NF_FLOW_TABLE_PROCFS=y -# CONFIG_NFIT_SECURITY_DEBUG is not set -CONFIG_NF_LOG_ARP=m -CONFIG_NF_LOG_IPV4=m -CONFIG_NF_LOG_IPV6=m -CONFIG_NF_LOG_SYSLOG=m -CONFIG_NF_NAT=m -CONFIG_NF_NAT_SNMP_BASIC=m -# CONFIG_NFP_APP_ABM_NIC is not set -CONFIG_NFP_APP_FLOWER=y -CONFIG_NFP_DEBUG=y -CONFIG_NFP=m -CONFIG_NFP_NET_IPSEC=y -CONFIG_NF_REJECT_IPV4=m -CONFIG_NF_REJECT_IPV6=m -CONFIG_NFSD_BLOCKLAYOUT=y -CONFIG_NFSD_FLEXFILELAYOUT=y -CONFIG_NFS_DISABLE_UDP_SUPPORT=y -# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set -CONFIG_NFSD=m -CONFIG_NFSD_PNFS=y -CONFIG_NFSD_SCSILAYOUT=y -# CONFIG_NFSD_V2 is not set -CONFIG_NFSD_V3_ACL=y -CONFIG_NFSD_V3=y -CONFIG_NFSD_V4_2_INTER_SSC=y -CONFIG_NFSD_V4_SECURITY_LABEL=y -CONFIG_NFSD_V4=y -CONFIG_NFS_FSCACHE=y -CONFIG_NFS_FS=m -CONFIG_NFS_LOCALIO=y -CONFIG_NF_SOCKET_IPV4=m -CONFIG_NF_SOCKET_IPV6=m -CONFIG_NFS_SWAP=y -# CONFIG_NFS_USE_LEGACY_DNS is not set -# CONFIG_NFS_V2 is not set -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V3=m -CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" -# CONFIG_NFS_V4_1_MIGRATION is not set -CONFIG_NFS_V4_1=y -# CONFIG_NFS_V4_2_READ_PLUS is not set -CONFIG_NFS_V4_2=y -CONFIG_NFS_V4=m -CONFIG_NF_TABLES_ARP=y -CONFIG_NF_TABLES_BRIDGE=m -CONFIG_NF_TABLES_INET=y -CONFIG_NF_TABLES_IPV4=y -CONFIG_NF_TABLES_IPV6=y -CONFIG_NF_TABLES=m -CONFIG_NF_TABLES_NETDEV=y -CONFIG_NFT_BRIDGE_META=m -CONFIG_NFT_BRIDGE_REJECT=m -CONFIG_NFT_COMPAT=m -CONFIG_NFT_CONNLIMIT=m -CONFIG_NFT_COUNTER=m -CONFIG_NFT_CT=m -CONFIG_NFT_DUP_IPV4=m -CONFIG_NFT_DUP_IPV6=m -CONFIG_NFT_DUP_NETDEV=m -CONFIG_NFT_FIB_INET=m -CONFIG_NFT_FIB_IPV4=m -CONFIG_NFT_FIB_IPV6=m -CONFIG_NFT_FIB_NETDEV=m -CONFIG_NFT_FLOW_OFFLOAD=m -CONFIG_NFT_FWD_NETDEV=m -CONFIG_NFT_HASH=m -CONFIG_NFT_LIMIT=m -# CONFIG_NFTL is not set -CONFIG_NFT_LOG=m -CONFIG_NFT_MASQ=m -CONFIG_NFT_NAT=m -CONFIG_NFT_NUMGEN=m -CONFIG_NFT_OBJREF=m -# CONFIG_NFT_OSF is not set -CONFIG_NF_TPROXY_IPV4=m -CONFIG_NF_TPROXY_IPV6=m -CONFIG_NFT_QUEUE=m -CONFIG_NFT_QUOTA=m -CONFIG_NFT_REDIR=m -CONFIG_NFT_REJECT_IPV4=m -CONFIG_NFT_REJECT=m -CONFIG_NFT_REJECT_NETDEV=m -CONFIG_NFT_SOCKET=m -CONFIG_NFT_SYNPROXY=m -CONFIG_NFT_TPROXY=m -CONFIG_NFT_TUNNEL=m -CONFIG_NFT_XFRM=m -CONFIG_NGBE=m -# CONFIG_N_GSM is not set -CONFIG_N_HDLC=m -# CONFIG_NI903X_WDT is not set -CONFIG_NILFS2_FS=m -CONFIG_NINTENDO_FF=y -CONFIG_NITRO_ENCLAVES=m -# CONFIG_NITRO_ENCLAVES_MISC_DEV_TEST is not set -CONFIG_NIU=m -# CONFIG_NL80211_TESTMODE is not set -CONFIG_NLMON=m -CONFIG_NLS_ASCII=y -CONFIG_NLS_CODEPAGE_1250=m -CONFIG_NLS_CODEPAGE_1251=m -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_737=m -CONFIG_NLS_CODEPAGE_775=m -CONFIG_NLS_CODEPAGE_850=m -CONFIG_NLS_CODEPAGE_852=m -CONFIG_NLS_CODEPAGE_855=m -CONFIG_NLS_CODEPAGE_857=m -CONFIG_NLS_CODEPAGE_860=m -CONFIG_NLS_CODEPAGE_861=m -CONFIG_NLS_CODEPAGE_862=m -CONFIG_NLS_CODEPAGE_863=m -CONFIG_NLS_CODEPAGE_864=m -CONFIG_NLS_CODEPAGE_865=m -CONFIG_NLS_CODEPAGE_866=m -CONFIG_NLS_CODEPAGE_869=m -CONFIG_NLS_CODEPAGE_874=m -CONFIG_NLS_CODEPAGE_932=m -CONFIG_NLS_CODEPAGE_936=m -CONFIG_NLS_CODEPAGE_949=m -CONFIG_NLS_CODEPAGE_950=m -CONFIG_NLS_DEFAULT="utf8" -CONFIG_NLS_ISO8859_13=m -CONFIG_NLS_ISO8859_14=m -CONFIG_NLS_ISO8859_15=m -CONFIG_NLS_ISO8859_1=m -CONFIG_NLS_ISO8859_2=m -CONFIG_NLS_ISO8859_3=m -CONFIG_NLS_ISO8859_4=m -CONFIG_NLS_ISO8859_5=m -CONFIG_NLS_ISO8859_6=m -CONFIG_NLS_ISO8859_7=m -CONFIG_NLS_ISO8859_8=m -CONFIG_NLS_ISO8859_9=m -CONFIG_NLS_KOI8_R=m -CONFIG_NLS_KOI8_U=m -CONFIG_NLS_MAC_CELTIC=m -CONFIG_NLS_MAC_CENTEURO=m -CONFIG_NLS_MAC_CROATIAN=m -CONFIG_NLS_MAC_CYRILLIC=m -CONFIG_NLS_MAC_GAELIC=m -CONFIG_NLS_MAC_GREEK=m -CONFIG_NLS_MAC_ICELAND=m -CONFIG_NLS_MAC_INUIT=m -CONFIG_NLS_MAC_ROMANIAN=m -CONFIG_NLS_MAC_ROMAN=m -CONFIG_NLS_MAC_TURKISH=m -CONFIG_NLS_UCS2_UTILS=m -CONFIG_NLS_UTF8=m -CONFIG_NLS=y -# CONFIG_NMI_CHECK_CPU is not set -# CONFIG_NOA1305 is not set -CONFIG_NODES_SHIFT=2 -CONFIG_NO_HZ_FULL=y -# CONFIG_NO_HZ_IDLE is not set -CONFIG_NO_HZ=y -# CONFIG_NONPORTABLE is not set -CONFIG_NOP_USB_XCEIV=m -# CONFIG_NOTIFIER_ERROR_INJECTION is not set -CONFIG_NOUVEAU_DEBUG=5 -CONFIG_NOUVEAU_DEBUG_DEFAULT=3 -CONFIG_NOUVEAU_DEBUG_MMU=y -CONFIG_NOUVEAU_DEBUG_PUSH=y -# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set -CONFIG_NOZOMI=m -CONFIG_NR_CPUS=32 -CONFIG_NS83820=m -CONFIG_NSM=m -CONFIG_NTB_EPF=m -# CONFIG_NTB is not set -# CONFIG_NTFS3_64BIT_CLUSTER is not set -CONFIG_NTFS3_FS=m -CONFIG_NTFS3_FS_POSIX_ACL=y -CONFIG_NTFS3_LZX_XPRESS=y -# CONFIG_NTFS_FS is not set -CONFIG_NULL_TTY=m -CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y -CONFIG_NUMA_BALANCING=y -# CONFIG_NUMA_EMU is not set -CONFIG_NUMA=y -# CONFIG_NVDIMM_SECURITY_TEST is not set -# CONFIG_NVHE_EL2_DEBUG is not set -CONFIG_NVIDIA_SHIELD_FF=y -# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set -CONFIG_NVME_AUTH=m -CONFIG_NVME_FC=m -CONFIG_NVME_HOST_AUTH=y -CONFIG_NVME_HWMON=y -CONFIG_NVMEM_LAYOUT_ONIE_TLV=m -CONFIG_NVMEM_LAYOUT_SL28_VPD=m -CONFIG_NVMEM_LAYOUT_U_BOOT_ENV=m -# CONFIG_NVMEM_QCOM_QFPROM is not set -# CONFIG_NVMEM_REBOOT_MODE is not set -CONFIG_NVMEM_RMEM=m -CONFIG_NVMEM_SYSFS=y -CONFIG_NVMEM_U_BOOT_ENV=m -CONFIG_NVME_MULTIPATH=y -CONFIG_NVMEM=y -CONFIG_NVME_RDMA=m -CONFIG_NVME_TARGET_AUTH=y -# CONFIG_NVME_TARGET_DEBUGFS is not set -CONFIG_NVME_TARGET_FCLOOP=m -CONFIG_NVME_TARGET_FC=m -CONFIG_NVME_TARGET_LOOP=m -CONFIG_NVME_TARGET=m -CONFIG_NVME_TARGET_PASSTHRU=y -CONFIG_NVME_TARGET_RDMA=m -CONFIG_NVME_TARGET_TCP=m -CONFIG_NVME_TARGET_TCP_TLS=y -CONFIG_NVME_TCP=m -CONFIG_NVME_TCP_TLS=y -# CONFIG_NVME_VERBOSE_ERRORS is not set -# CONFIG_NVRAM is not set -# CONFIG_NVSW_SN2201 is not set -CONFIG_NXP_C45_TJA11XX_PHY=m -CONFIG_NXP_CBTX_PHY=m -# CONFIG_NXP_TJA11XX_PHY is not set -# CONFIG_OA_TC6 is not set -# CONFIG_OCFS2_DEBUG_FS is not set -# CONFIG_OCFS2_DEBUG_MASKLOG is not set -CONFIG_OCFS2_FS=m -CONFIG_OCFS2_FS_O2CB=m -# CONFIG_OCFS2_FS_STATS is not set -CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m -CONFIG_OCTEON_EP=m -CONFIG_OCTEONEP_VDPA=m -CONFIG_OCTEON_EP_VF=m -CONFIG_OF_FPGA_REGION=m -CONFIG_OF_GPIO=y -CONFIG_OF_KUNIT_TEST=m -CONFIG_OF_OVERLAY_KUNIT_TEST=m -CONFIG_OF_OVERLAY=y -CONFIG_OF_PMEM=m -# CONFIG_OF_UNITTEST is not set -CONFIG_OF=y -# CONFIG_OMFS_FS is not set -# CONFIG_OPAL_CORE is not set -# CONFIG_OPEN_DICE is not set -CONFIG_OPENVSWITCH_GENEVE=m -CONFIG_OPENVSWITCH_GRE=m -CONFIG_OPENVSWITCH=m -CONFIG_OPENVSWITCH_VXLAN=m -CONFIG_OPT3001=m -CONFIG_OPT4001=m -CONFIG_OPTPROBES=y -CONFIG_ORANGEFS_FS=m -CONFIG_OSF_PARTITION=y -CONFIG_OSNOISE_TRACER=y -CONFIG_OVERFLOW_KUNIT_TEST=m -# CONFIG_OVERLAY_FS_DEBUG is not set -# CONFIG_OVERLAY_FS_INDEX is not set -CONFIG_OVERLAY_FS=m -# CONFIG_OVERLAY_FS_METACOPY is not set -CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y -# CONFIG_OVERLAY_FS_REDIRECT_DIR is not set -# CONFIG_OVERLAY_FS_XINO_AUTO is not set -CONFIG_PA12203001=m -CONFIG_PAC1921=m -CONFIG_PAC1934=m -CONFIG_PACKET_DIAG=y -CONFIG_PACKET=y -CONFIG_PACKING=y -CONFIG_PAGE_EXTENSION=y -CONFIG_PAGE_OWNER=y -CONFIG_PAGE_POISONING=y -CONFIG_PAGE_POOL_STATS=y -CONFIG_PAGE_REPORTING=y -CONFIG_PAGE_SIZE_4KB=y -CONFIG_PAGE_TABLE_CHECK_ENFORCED=y -CONFIG_PAGE_TABLE_CHECK=y -# CONFIG_PANEL_CHANGE_MESSAGE is not set -# CONFIG_PANEL is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_TIMEOUT=0 -CONFIG_PANTHERLORD_FF=y -CONFIG_PARAVIRT_TIME_ACCOUNTING=y -CONFIG_PARAVIRT=y -CONFIG_PARMAN=m -# CONFIG_PARPORT is not set -# CONFIG_PARPORT_PC is not set -CONFIG_PARTITION_ADVANCED=y -# CONFIG_PATA_ACPI is not set -CONFIG_PATA_ALI=m -CONFIG_PATA_AMD=m -CONFIG_PATA_ARTOP=m -# CONFIG_PATA_ATIIXP is not set -CONFIG_PATA_ATP867X=m -CONFIG_PATA_CMD640_PCI=m -CONFIG_PATA_CMD64X=m -CONFIG_PATA_CS5520=m -CONFIG_PATA_CS5530=m -CONFIG_PATA_CS5535=m -CONFIG_PATA_CS5536=m -# CONFIG_PATA_CYPRESS is not set -CONFIG_PATA_EFAR=m -CONFIG_PATA_HPT366=m -CONFIG_PATA_HPT37X=m -CONFIG_PATA_HPT3X2N=m -# CONFIG_PATA_HPT3X3_DMA is not set -CONFIG_PATA_HPT3X3=m -CONFIG_PATA_IT8213=m -CONFIG_PATA_IT821X=m -CONFIG_PATA_JMICRON=m -# CONFIG_PATA_LEGACY is not set -CONFIG_PATA_MARVELL=m -# CONFIG_PATA_MPIIX is not set -CONFIG_PATA_NETCELL=m -CONFIG_PATA_NINJA32=m -CONFIG_PATA_NS87410=m -CONFIG_PATA_NS87415=m -# CONFIG_PATA_OF_PLATFORM is not set -# CONFIG_PATA_OLDPIIX is not set -CONFIG_PATA_OPTIDMA=m -CONFIG_PATA_OPTI=m -# CONFIG_PATA_PARPORT is not set -CONFIG_PATA_PDC2027X=m -CONFIG_PATA_PDC_OLD=m -# CONFIG_PATA_RADISYS is not set -# CONFIG_PATA_RDC is not set -# CONFIG_PATA_RZ1000 is not set -# CONFIG_PATA_SC1200 is not set -# CONFIG_PATA_SCH is not set -CONFIG_PATA_SERVERWORKS=m -CONFIG_PATA_SIL680=m -CONFIG_PATA_SIS=m -# CONFIG_PATA_TOSHIBA is not set -# CONFIG_PATA_TRIFLEX is not set -CONFIG_PATA_VIA=m -CONFIG_PATA_WINBOND=m -# CONFIG_PC104 is not set -# CONFIG_PC87413_WDT is not set -# CONFIG_PCCARD is not set -# CONFIG_PCH_GBE is not set -# CONFIG_PCI_CNB20LE_QUIRK is not set -# CONFIG_PCI_DEBUG is not set -# CONFIG_PCI_DYNAMIC_OF_NODES is not set -CONFIG_PCIEAER_CXL=y -CONFIG_PCIEAER_INJECT=m -CONFIG_PCIEAER=y -# CONFIG_PCIE_ALTERA is not set -CONFIG_PCIEASPM_DEFAULT=y -# CONFIG_PCIEASPM_PERFORMANCE is not set -# CONFIG_PCIEASPM_POWERSAVE is not set -# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set -CONFIG_PCIEASPM=y -CONFIG_PCIE_BUS_DEFAULT=y -# CONFIG_PCIE_BUS_PEER2PEER is not set -# CONFIG_PCIE_BUS_PERFORMANCE is not set -# CONFIG_PCIE_BUS_SAFE is not set -# CONFIG_PCIE_BUS_TUNE_OFF is not set -CONFIG_PCIE_CADENCE_HOST=y -CONFIG_PCIE_CADENCE_PLAT_EP=y -# CONFIG_PCIE_CADENCE_PLAT_HOST is not set -CONFIG_PCIE_DPC=y -# CONFIG_PCIE_DW_PLAT_HOST is not set -CONFIG_PCIE_ECRC=y -CONFIG_PCIE_EDR=y -CONFIG_PCIE_FU740=y -# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set -CONFIG_PCIE_MICROCHIP_HOST=y -# CONFIG_PCIE_MOBIVEIL is not set -# CONFIG_PCI_ENDPOINT is not set -# CONFIG_PCI_ENDPOINT_TEST is not set -CONFIG_PCIEPORTBUS=y -CONFIG_PCIE_PTM=y -# CONFIG_PCIE_STARFIVE_HOST is not set -CONFIG_PCIE_XILINX_CPM=y -CONFIG_PCIE_XILINX=y -# CONFIG_PCI_FTPCI100 is not set -# CONFIG_PCI_GOOLPC is not set -CONFIG_PCI_HOST_COMMON=y -CONFIG_PCI_HOST_GENERIC=y -CONFIG_PCI_HYPERV=m -CONFIG_PCI_IOV=y -CONFIG_PCI_J721E_HOST=y -# CONFIG_PCI_MESON is not set -CONFIG_PCI_MSI_IRQ_DOMAIN=y -CONFIG_PCI_MSI=y -CONFIG_PCI_NPEM=y -CONFIG_PCI_P2PDMA=y -CONFIG_PCI_PASID=y -CONFIG_PCIPCWATCHDOG=m -CONFIG_PCI_PF_STUB=m -CONFIG_PCI_PRI=y -CONFIG_PCI_PWRCTL_PWRSEQ=m -CONFIG_PCI_QUIRKS=y -# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set -CONFIG_PCI_STUB=y -CONFIG_PCI_SW_SWITCHTEC=m -CONFIG_PCI=y -CONFIG_PCNET32=m -CONFIG_PCP_BATCH_SCALE_MAX=5 -CONFIG_PCPU_DEV_REFCNT=y -CONFIG_PCSPKR_PLATFORM=y -CONFIG_PCS_XPCS=m -# CONFIG_PDA_POWER is not set -CONFIG_PDC_ADMA=m -CONFIG_PDS_CORE=m -CONFIG_PDS_VDPA=m -CONFIG_PDS_VFIO_PCI=m -# CONFIG_PECI is not set -CONFIG_PERCPU_STATS=y -# CONFIG_PERCPU_TEST is not set -CONFIG_PERF_EVENTS_AMD_UNCORE=y -CONFIG_PERF_EVENTS=y -CONFIG_PERSISTENT_KEYRINGS=y -CONFIG_PER_VMA_LOCK_STATS=y -CONFIG_PFCP=m -# CONFIG_PHANTOM is not set -# CONFIG_PHONET is not set -CONFIG_PHY_CADENCE_DPHY=m -CONFIG_PHY_CADENCE_DPHY_RX=m -CONFIG_PHY_CADENCE_SALVO=m -CONFIG_PHY_CADENCE_SIERRA=m -CONFIG_PHY_CADENCE_TORRENT=m -# CONFIG_PHY_CAN_TRANSCEIVER is not set -# CONFIG_PHY_CPCAP_USB is not set -# CONFIG_PHY_HI3670_PCIE is not set -# CONFIG_PHY_HI3670_USB is not set -# CONFIG_PHY_LAN966X_SERDES is not set -CONFIG_PHYLIB=y -CONFIG_PHYLINK=m -# CONFIG_PHY_MAPPHONE_MDM6600 is not set -# CONFIG_PHY_OCELOT_SERDES is not set -# CONFIG_PHY_PXA_28NM_HSIC is not set -# CONFIG_PHY_PXA_28NM_USB2 is not set -# CONFIG_PHY_QCOM_EDP is not set -# CONFIG_PHY_QCOM_IPQ4019_USB is not set -# CONFIG_PHY_QCOM_IPQ806X_USB is not set -# CONFIG_PHY_QCOM_USB_HS_28NM is not set -# CONFIG_PHY_QCOM_USB_HSIC is not set -# CONFIG_PHY_QCOM_USB_HS is not set -# CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2 is not set -# CONFIG_PHY_QCOM_USB_SS is not set -CONFIG_PHY_RTK_RTD_USB2PHY=m -CONFIG_PHY_RTK_RTD_USB3PHY=m -# CONFIG_PHY_SAMSUNG_USB2 is not set -# CONFIG_PHYS_RAM_BASE_FIXED is not set -CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m -# CONFIG_PHY_STARFIVE_JH7110_DPHY_TX is not set -CONFIG_PHY_STARFIVE_JH7110_PCIE=m -CONFIG_PHY_STARFIVE_JH7110_USB=m -# CONFIG_PHY_TUSB1210 is not set -# CONFIG_PI433 is not set -CONFIG_PID_NS=y -CONFIG_PINCONF=y -# CONFIG_PINCTRL_AMD is not set -# CONFIG_PINCTRL_AW9523 is not set -CONFIG_PINCTRL_AXP209=m -CONFIG_PINCTRL_CS42L43=m -CONFIG_PINCTRL_CY8C95X0=m -# CONFIG_PINCTRL_EQUILIBRIUM is not set -# CONFIG_PINCTRL_IPQ6018 is not set -# CONFIG_PINCTRL_IPQ8074 is not set -# CONFIG_PINCTRL_LPASS_LPI is not set -# CONFIG_PINCTRL_MCP23S08 is not set -CONFIG_PINCTRL_MESON=y -# CONFIG_PINCTRL_MICROCHIP_SGPIO is not set -# CONFIG_PINCTRL_MSM8226 is not set -# CONFIG_PINCTRL_MSM8953 is not set -# CONFIG_PINCTRL_MSM8976 is not set -# CONFIG_PINCTRL_MSM is not set -# CONFIG_PINCTRL_OCELOT is not set -# CONFIG_PINCTRL_QCS404 is not set -CONFIG_PINCTRL_RK805=m -# CONFIG_PINCTRL_SC7180 is not set -# CONFIG_PINCTRL_SC8180X is not set -# CONFIG_PINCTRL_SDM660 is not set -# CONFIG_PINCTRL_SINGLE is not set -# CONFIG_PINCTRL_SM8150 is not set -# CONFIG_PINCTRL_SM8250 is not set -# CONFIG_PINCTRL_SM8350 is not set -CONFIG_PINCTRL_SM8350_LPASS_LPI=m -# CONFIG_PINCTRL_SM8450 is not set -CONFIG_PINCTRL_SOPHGO_CV1800B=y -CONFIG_PINCTRL_SOPHGO_CV1812H=y -CONFIG_PINCTRL_SOPHGO_SG2000=y -CONFIG_PINCTRL_SOPHGO_SG2002=y -CONFIG_PINCTRL_STARFIVE_JH7100=y -CONFIG_PINCTRL_STARFIVE_JH7110_AON=y -CONFIG_PINCTRL_STARFIVE_JH7110_SYS=y -CONFIG_PINCTRL_STARFIVE_JH7110=y -CONFIG_PINCTRL_STARFIVE=y -# CONFIG_PINCTRL_STMFX is not set -CONFIG_PINCTRL_SUN20I_D1=y -# CONFIG_PINCTRL_SX150X is not set -CONFIG_PINCTRL_TPS6594=m -CONFIG_PINCTRL=y -# CONFIG_PING is not set -CONFIG_PINMUX=y -CONFIG_PKCS7_MESSAGE_PARSER=y -# CONFIG_PKCS7_TEST_KEY is not set -CONFIG_PKCS8_PRIVATE_KEY_PARSER=m -# CONFIG_PL320_MBOX is not set -# CONFIG_PL330_DMA is not set -# CONFIG_PLATFORM_MHU is not set -# CONFIG_PLATFORM_SI4713 is not set -CONFIG_PLAYSTATION_FF=y -# CONFIG_PLFXLC is not set -# CONFIG_PLIP is not set -# CONFIG_PLX_DMA is not set -CONFIG_PM_ADVANCED_DEBUG=y -# CONFIG_PM_AUTOSLEEP is not set -CONFIG_PMBUS=m -CONFIG_PM_DEBUG=y -# CONFIG_PM_DEVFREQ is not set -# CONFIG_PMIC_ADP5520 is not set -# CONFIG_PMIC_DA903X is not set -# CONFIG_PMIC_OPREGION is not set -CONFIG_PM_OPP=y -CONFIG_PMS7003=m -CONFIG_PM_STD_PARTITION="" -CONFIG_PM_TEST_SUSPEND=y -CONFIG_PM_TRACE_RTC=y -CONFIG_PM_TRACE=y -# CONFIG_PM_USERSPACE_AUTOSLEEP is not set -# CONFIG_PMU_SYSFS is not set -# CONFIG_PM_WAKELOCKS is not set -CONFIG_PM=y -CONFIG_PNFS_BLOCK=m -CONFIG_PNP_DEBUG_MESSAGES=y -# CONFIG_POLARFIRE_SOC_MAILBOX is not set -CONFIG_PORTABLE=y -CONFIG_POSIX_MQUEUE=y -CONFIG_POSIX_TIMERS=y -CONFIG_POWERCAP=y -# CONFIG_POWER_RESET_BRCMKONA is not set -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_POWER_RESET_GPIO=y -# CONFIG_POWER_RESET_LINKSTATION is not set -# CONFIG_POWER_RESET_LTC2952 is not set -# CONFIG_POWER_RESET_REGULATOR is not set -CONFIG_POWER_RESET_RESTART=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_TPS65086=y -# CONFIG_POWER_RESET_VEXPRESS is not set -CONFIG_POWER_RESET=y -CONFIG_POWER_SEQUENCING=m -CONFIG_POWER_SEQUENCING_QCOM_WCN=m -# CONFIG_POWER_SUPPLY_DEBUG is not set -CONFIG_POWER_SUPPLY_HWMON=y -CONFIG_POWER_SUPPLY=y -# CONFIG_PPC_PROT_SAO_LPAR is not set -CONFIG_PPC_QUEUED_SPINLOCKS=y -CONFIG_PPC_RTAS_FILTER=y -CONFIG_PPDEV=m -CONFIG_PPP_ASYNC=m -CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_FILTER=y -CONFIG_PPP=m -CONFIG_PPP_MPPE=m -CONFIG_PPP_MULTILINK=y -CONFIG_PPPOATM=m -# CONFIG_PPPOE_HASH_BITS_1 is not set -# CONFIG_PPPOE_HASH_BITS_2 is not set -CONFIG_PPPOE_HASH_BITS_4=y -# CONFIG_PPPOE_HASH_BITS_8 is not set -CONFIG_PPPOE=m -CONFIG_PPPOL2TP=m -CONFIG_PPP_SYNC_TTY=m -CONFIG_PPS_CLIENT_GPIO=m -# CONFIG_PPS_CLIENT_KTIMER is not set -CONFIG_PPS_CLIENT_LDISC=m -# CONFIG_PPS_DEBUG is not set -CONFIG_PPS=y -CONFIG_PPTP=m -# CONFIG_PREEMPT_AUTO is not set -# CONFIG_PREEMPT_BEHAVIOUR is not set -# CONFIG_PREEMPT_DYNAMIC is not set -# CONFIG_PREEMPTIRQ_DELAY_TEST is not set -# CONFIG_PREEMPT is not set -# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_RT=y -# CONFIG_PREEMPT_TRACER is not set -# CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR is not set -# CONFIG_PREEMPT_VOLUNTARY is not set -CONFIG_PRESTERA=m -CONFIG_PRESTERA_PCI=m -CONFIG_PREVENT_FIRMWARE_BUILD=y -CONFIG_PRIME_NUMBERS=m -CONFIG_PRINTER=m -# CONFIG_PRINTK_CALLER is not set -CONFIG_PRINTK_INDEX=y -CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12 -CONFIG_PRINTK_TIME=y -CONFIG_PRINTK=y -# CONFIG_PRINT_QUOTA_WARNING is not set -# CONFIG_PRISM2_USB is not set -CONFIG_PROBE_EVENTS_BTF_ARGS=y -CONFIG_PROC_CHILDREN=y -# CONFIG_PROCESSOR_SELECT is not set -CONFIG_PROC_EVENTS=y -CONFIG_PROC_FS=y -CONFIG_PROC_KCORE=y -CONFIG_PROC_MEM_ALWAYS_FORCE=y -# CONFIG_PROC_MEM_FORCE_PTRACE is not set -# CONFIG_PROC_MEM_NO_FORCE is not set -CONFIG_PROC_PAGE_MONITOR=y -CONFIG_PROC_PID_CPUSET=y -CONFIG_PROC_SYSCTL=y -CONFIG_PROC_VMCORE_DEVICE_DUMP=y -CONFIG_PROC_VMCORE=y -# CONFIG_PROFILE_ALL_BRANCHES is not set -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -CONFIG_PROFILING=y -CONFIG_PROVE_CXL_LOCKING=y -CONFIG_PROVE_LOCKING=y -# CONFIG_PROVE_NVDIMM_LOCKING is not set -# CONFIG_PROVE_RAW_LOCK_NESTING is not set -CONFIG_PSAMPLE=m -# CONFIG_PSE_CONTROLLER is not set -# CONFIG_PSI_DEFAULT_DISABLED is not set -CONFIG_PSI=y -# CONFIG_PSTORE_842_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_842_COMPRESS=y -# CONFIG_PSTORE_BLK is not set -CONFIG_PSTORE_COMPRESS=y -# CONFIG_PSTORE_CONSOLE is not set -CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240 -CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y -CONFIG_PSTORE_DEFLATE_COMPRESS=y -# CONFIG_PSTORE_FTRACE is not set -# CONFIG_PSTORE_LZ4_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZ4_COMPRESS=m -# CONFIG_PSTORE_LZ4HC_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZ4HC_COMPRESS=m -# CONFIG_PSTORE_LZO_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZO_COMPRESS=m -# CONFIG_PSTORE_PMSG is not set -CONFIG_PSTORE_RAM=m -CONFIG_PSTORE=y -# CONFIG_PSTORE_ZSTD_COMPRESS is not set -CONFIG_PTDUMP_DEBUGFS=y -CONFIG_PTE_MARKER_UFFD_WP=y -CONFIG_PTP_1588_CLOCK_FC3W=m -CONFIG_PTP_1588_CLOCK_IDT82P33=m -CONFIG_PTP_1588_CLOCK_IDTCM=m -# CONFIG_PTP_1588_CLOCK_INES is not set -CONFIG_PTP_1588_CLOCK_KVM=m -CONFIG_PTP_1588_CLOCK_MOCK=m -# CONFIG_PTP_1588_CLOCK_OCP is not set -CONFIG_PTP_1588_CLOCK_PCH=m -CONFIG_PTP_1588_CLOCK=y -CONFIG_PTP_DFL_TOD=m -# CONFIG_PVPANIC_MMIO is not set -# CONFIG_PVPANIC_PCI is not set -CONFIG_PVPANIC=y -CONFIG_PWM_ADP5585=m -# CONFIG_PWM_ATMEL_TCB is not set -CONFIG_PWM_AXI_PWMGEN=m -# CONFIG_PWM_CLK is not set -# CONFIG_PWM_DEBUG is not set -CONFIG_PWM_DWC=m -# CONFIG_PWM_FSL_FTM is not set -CONFIG_PWM_GPIO=m -CONFIG_PWM_HIBVT=m -# CONFIG_PWM_MICROCHIP_CORE is not set -CONFIG_PWM_OMAP_DMTIMER=m -# CONFIG_PWM_PCA9685 is not set -CONFIG_PWM_SIFIVE=y -CONFIG_PWM_SYSFS=y -# CONFIG_PWM_XILINX is not set -CONFIG_PWM=y -CONFIG_PWRSEQ_EMMC=m -CONFIG_PWRSEQ_SD8787=m -CONFIG_PWRSEQ_SIMPLE=m -CONFIG_QAT_VFIO_PCI=m -# CONFIG_QCA7000_SPI is not set -# CONFIG_QCA7000_UART is not set -CONFIG_QCA807X_PHY=m -CONFIG_QCA808X_PHY=m -CONFIG_QCA83XX_PHY=m -# CONFIG_QCOM_A7PLL is not set -# CONFIG_QCOM_CPR is not set -# CONFIG_QCOM_EMAC is not set -# CONFIG_QCOM_GPI_DMA is not set -# CONFIG_QCOM_HIDMA is not set -# CONFIG_QCOM_HIDMA_MGMT is not set -# CONFIG_QCOM_IPCC is not set -# CONFIG_QCOM_LMH is not set -# CONFIG_QCOM_OCMEM is not set -CONFIG_QCOM_PBS=m -# CONFIG_QCOM_PD_MAPPER is not set -# CONFIG_QCOM_PMIC_GLINK is not set -# CONFIG_QCOM_PMIC_PDCHARGER_ULOG is not set -# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set -# CONFIG_QCOM_SCM is not set -# CONFIG_QCOM_SPM is not set -# CONFIG_QCS_TURING_404 is not set -CONFIG_QEDE=m -CONFIG_QEDF=m -CONFIG_QEDI=m -CONFIG_QED=m -CONFIG_QED_SRIOV=y -# CONFIG_QFMT_V1 is not set -CONFIG_QFMT_V2=y -CONFIG_QLA3XXX=m -CONFIG_QLCNIC_DCB=y -CONFIG_QLCNIC_HWMON=y -CONFIG_QLCNIC=m -CONFIG_QLCNIC_SRIOV=y -CONFIG_QLGE=m -# CONFIG_QNX4FS_FS is not set -# CONFIG_QNX6FS_FS is not set -CONFIG_QRTR=m -CONFIG_QRTR_MHI=m -# CONFIG_QRTR_SMD is not set -# CONFIG_QRTR_TUN is not set -CONFIG_QSEMI_PHY=m -CONFIG_QTNFMAC_PCIE=m -# CONFIG_QUICC_ENGINE is not set -CONFIG_QUOTACTL=y -CONFIG_QUOTA_DEBUG=y -CONFIG_QUOTA_NETLINK_INTERFACE=y -CONFIG_QUOTA=y -CONFIG_R6040=m -CONFIG_R8169=m -CONFIG_R8712U=m -CONFIG_RADIO_ADAPTERS=m -CONFIG_RADIO_MAXIRADIO=m -CONFIG_RADIO_SAA7706H=m -CONFIG_RADIO_SHARK2=m -CONFIG_RADIO_SHARK=m -CONFIG_RADIO_SI470X=m -CONFIG_RADIO_SI4713=m -CONFIG_RADIO_TEA5764=m -# CONFIG_RADIO_TEF6862 is not set -CONFIG_RADIO_WL1273=m -# CONFIG_RAID6_PQ_BENCHMARK is not set -CONFIG_RAID_ATTRS=m -CONFIG_RANDOM32_SELFTEST=y -CONFIG_RANDOMIZE_BASE=y -CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y -CONFIG_RANDOMIZE_KSTACK_OFFSET=y -CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -CONFIG_RANDOM_KMALLOC_CACHES=y -CONFIG_RANDOM_TRUST_BOOTLOADER=y -CONFIG_RANDOM_TRUST_CPU=y -# CONFIG_RANDSTRUCT_FULL is not set -CONFIG_RANDSTRUCT_NONE=y -# CONFIG_RANDSTRUCT_PERFORMANCE is not set -CONFIG_RAPIDIO_CHMAN=m -CONFIG_RAPIDIO_CPS_GEN2=m -CONFIG_RAPIDIO_CPS_XX=m -# CONFIG_RAPIDIO_DEBUG is not set -CONFIG_RAPIDIO_DISC_TIMEOUT=30 -CONFIG_RAPIDIO_DMA_ENGINE=y -# CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS is not set -CONFIG_RAPIDIO_ENUM_BASIC=m -CONFIG_RAPIDIO=m -CONFIG_RAPIDIO_MPORT_CDEV=m -CONFIG_RAPIDIO_RXS_GEN3=m -CONFIG_RAPIDIO_TSI568=m -CONFIG_RAPIDIO_TSI57X=m -CONFIG_RAPIDIO_TSI721=m -CONFIG_RAS_FMPM=m -CONFIG_RATIONAL_KUNIT_TEST=m -# CONFIG_RAVE_SP_CORE is not set -# CONFIG_RBTREE_TEST is not set -CONFIG_RC_ATI_REMOTE=m -CONFIG_RC_CORE=y -CONFIG_RC_DECODERS=y -CONFIG_RC_DEVICES=y -CONFIG_RC_LOOPBACK=m -CONFIG_RC_MAP=m -CONFIG_RCU_BOOST_DELAY=500 -CONFIG_RCU_BOOST=y -# CONFIG_RCU_CPU_STALL_CPUTIME is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=60 -# CONFIG_RCU_EQS_DEBUG is not set -CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0 -# CONFIG_RCU_EXPERT is not set -# CONFIG_RCU_LAZY is not set -CONFIG_RCU_NOCB_CPU_CB_BOOST=y -# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set -CONFIG_RCU_NOCB_CPU=y -CONFIG_RCU_REF_SCALE_TEST=m -# CONFIG_RCU_SCALE_TEST is not set -CONFIG_RCU_TORTURE_TEST=m -CONFIG_RCU_TRACE=y -CONFIG_RC_XBOX_DVD=m -CONFIG_RD_BZIP2=y -CONFIG_RD_GZIP=y -CONFIG_RD_LZ4=y -CONFIG_RD_LZMA=y -CONFIG_RD_LZO=y -CONFIG_RDMA_RXE=m -CONFIG_RDMA_SIW=m -# CONFIG_RDS_DEBUG is not set -CONFIG_RDS=m -CONFIG_RDS_RDMA=m -CONFIG_RDS_TCP=m -CONFIG_RD_XZ=y -CONFIG_RD_ZSTD=y -# CONFIG_READABLE_ASM is not set -CONFIG_READ_ONLY_THP_FOR_FS=y -CONFIG_REALTEK_AUTOPM=y -CONFIG_REALTEK_PHY=m -# CONFIG_REED_SOLOMON_TEST is not set -# CONFIG_REGMAP_BUILD is not set -CONFIG_REGMAP_I2C=y -CONFIG_REGMAP_KUNIT=m -CONFIG_REGMAP_SPI=m -CONFIG_REGMAP=y -# CONFIG_REGULATOR_88PG86X is not set -CONFIG_REGULATOR_88PM886=m -# CONFIG_REGULATOR_ACT8865 is not set -# CONFIG_REGULATOR_AD5398 is not set -CONFIG_REGULATOR_ANATOP=m -CONFIG_REGULATOR_AW37503=m -CONFIG_REGULATOR_AXP20X=m -CONFIG_REGULATOR_BD9571MWV=m -CONFIG_REGULATOR_BD96801=m -CONFIG_REGULATOR_DA9063=m -# CONFIG_REGULATOR_DA9121 is not set -# CONFIG_REGULATOR_DA9210 is not set -# CONFIG_REGULATOR_DA9211 is not set -# CONFIG_REGULATOR_DEBUG is not set -# CONFIG_REGULATOR_FAN53555 is not set -# CONFIG_REGULATOR_FAN53880 is not set -CONFIG_REGULATOR_FIXED_VOLTAGE=y -# CONFIG_REGULATOR_GPIO is not set -# CONFIG_REGULATOR_ISL6271A is not set -# CONFIG_REGULATOR_ISL9305 is not set -# CONFIG_REGULATOR_LP3971 is not set -# CONFIG_REGULATOR_LP3972 is not set -# CONFIG_REGULATOR_LP872X is not set -# CONFIG_REGULATOR_LP8755 is not set -# CONFIG_REGULATOR_LTC3589 is not set -# CONFIG_REGULATOR_LTC3676 is not set -# CONFIG_REGULATOR_MAX1586 is not set -# CONFIG_REGULATOR_MAX20086 is not set -CONFIG_REGULATOR_MAX20411=m -CONFIG_REGULATOR_MAX5970=m -CONFIG_REGULATOR_MAX597X=m -CONFIG_REGULATOR_MAX77503=m -CONFIG_REGULATOR_MAX77650=m -# CONFIG_REGULATOR_MAX77826 is not set -CONFIG_REGULATOR_MAX77857=m -# CONFIG_REGULATOR_MAX8649 is not set -# CONFIG_REGULATOR_MAX8660 is not set -CONFIG_REGULATOR_MAX8893=m -# CONFIG_REGULATOR_MAX8952 is not set -# CONFIG_REGULATOR_MCP16502 is not set -CONFIG_REGULATOR_MP5416=m -# CONFIG_REGULATOR_MP8859 is not set -CONFIG_REGULATOR_MP886X=m -# CONFIG_REGULATOR_MPQ7920 is not set -# CONFIG_REGULATOR_MT6311 is not set -CONFIG_REGULATOR_MT6370=m -# CONFIG_REGULATOR_NETLINK_EVENTS is not set -# CONFIG_REGULATOR_PCA9450 is not set -# CONFIG_REGULATOR_PF8X00 is not set -# CONFIG_REGULATOR_PFUZE100 is not set -# CONFIG_REGULATOR_PV88060 is not set -# CONFIG_REGULATOR_PV88080 is not set -# CONFIG_REGULATOR_PV88090 is not set -CONFIG_REGULATOR_PWM=y -CONFIG_REGULATOR_RAA215300=m -# CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY is not set -CONFIG_REGULATOR_RT4801=m -CONFIG_REGULATOR_RT4803=m -CONFIG_REGULATOR_RT4831=m -CONFIG_REGULATOR_RT5120=m -CONFIG_REGULATOR_RT5190A=m -CONFIG_REGULATOR_RT5739=m -CONFIG_REGULATOR_RT5759=m -CONFIG_REGULATOR_RT6160=m -CONFIG_REGULATOR_RT6190=m -CONFIG_REGULATOR_RT6245=m -CONFIG_REGULATOR_RTMV20=m -CONFIG_REGULATOR_RTQ2134=m -CONFIG_REGULATOR_RTQ2208=m -CONFIG_REGULATOR_RTQ6752=m -# CONFIG_REGULATOR_SLG51000 is not set -# CONFIG_REGULATOR_SUN20I is not set -CONFIG_REGULATOR_SY7636A=m -# CONFIG_REGULATOR_SY8106A is not set -# CONFIG_REGULATOR_SY8824X is not set -# CONFIG_REGULATOR_SY8827N is not set -# CONFIG_REGULATOR_TPS51632 is not set -# CONFIG_REGULATOR_TPS62360 is not set -CONFIG_REGULATOR_TPS6286X=m -# CONFIG_REGULATOR_TPS6287X is not set -# CONFIG_REGULATOR_TPS65023 is not set -# CONFIG_REGULATOR_TPS6507X is not set -# CONFIG_REGULATOR_TPS65132 is not set -# CONFIG_REGULATOR_TPS6524X is not set -CONFIG_REGULATOR_TPS6594=m -# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set -CONFIG_REGULATOR_VCTRL=m -# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set -# CONFIG_REGULATOR_VQMMC_IPQ4019 is not set -CONFIG_REGULATOR_WM8994=m -CONFIG_REGULATOR=y -# CONFIG_REISERFS_CHECK is not set -CONFIG_REISERFS_FS=m -CONFIG_REISERFS_FS_POSIX_ACL=y -CONFIG_REISERFS_FS_SECURITY=y -CONFIG_REISERFS_FS_XATTR=y -CONFIG_REISERFS_PROC_INFO=y -CONFIG_RELAY=y -# CONFIG_RELOCATABLE_TEST is not set -CONFIG_RELOCATABLE=y -# CONFIG_REMOTEPROC_CDEV is not set -CONFIG_REMOTEPROC=y -CONFIG_REMOTE_TARGET=m -# CONFIG_RENESAS_PHY is not set -# CONFIG_RESET_ATTACK_MITIGATION is not set -CONFIG_RESET_GPIO=m -# CONFIG_RESET_INTEL_GW is not set -CONFIG_RESET_POLARFIRE_SOC=y -CONFIG_RESET_SIMPLE=y -CONFIG_RESET_STARFIVE_JH7100=y -CONFIG_RESET_STARFIVE_JH7110=y -CONFIG_RESET_STARFIVE_JH71X0=y -# CONFIG_RESET_TI_SYSCON is not set -CONFIG_RESET_TI_TPS380X=m -CONFIG_RESOURCE_KUNIT_TEST=m -# CONFIG_RFD77402 is not set -# CONFIG_RFD_FTL is not set -CONFIG_RFKILL_GPIO=m -CONFIG_RFKILL_INPUT=y -CONFIG_RFKILL=m -CONFIG_RFS_ACCEL=y -# CONFIG_RH_DISABLE_DEPRECATED is not set -# CONFIG_RHEL_DIFFERENCES is not set -# CONFIG_RH_KABI_SIZE_ALIGN_CHECKS is not set -CONFIG_RICHTEK_RTQ6056=m -CONFIG_RING_BUFFER_BENCHMARK=m -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set -CONFIG_RIONET=m -CONFIG_RIONET_RX_SIZE=128 -CONFIG_RIONET_TX_SIZE=128 -CONFIG_RISCV_ALTERNATIVE_EARLY=y -CONFIG_RISCV_ALTERNATIVE=y -CONFIG_RISCV_BASE_PMU=y -# CONFIG_RISCV_BOOT_SPINWAIT is not set -# CONFIG_RISCV_EFFICIENT_UNALIGNED_ACCESS is not set -# CONFIG_RISCV_EMULATED_UNALIGNED_ACCESS is not set -CONFIG_RISCV_INTC=y -CONFIG_RISCV_ISA_C=y -CONFIG_RISCV_ISA_FALLBACK=y -CONFIG_RISCV_ISA_SVNAPOT=y -CONFIG_RISCV_ISA_SVPBMT=y -CONFIG_RISCV_ISA_V_DEFAULT_ENABLE=y -CONFIG_RISCV_ISA_VENDOR_EXT_ANDES=y -CONFIG_RISCV_ISA_V_PREEMPTIVE=y -CONFIG_RISCV_ISA_V_UCOPY_THRESHOLD=768 -CONFIG_RISCV_ISA_V=y -CONFIG_RISCV_ISA_ZAWRS=y -CONFIG_RISCV_ISA_ZBA=y -CONFIG_RISCV_ISA_ZBB=y -CONFIG_RISCV_ISA_ZBC=y -CONFIG_RISCV_ISA_ZICBOM=y -CONFIG_RISCV_ISA_ZICBOZ=y -CONFIG_RISCV_MISALIGNED=y -# CONFIG_RISCV_MODULE_LINKING_KUNIT is not set -CONFIG_RISCV_PLIC=y -CONFIG_RISCV_PMU_LEGACY=y -CONFIG_RISCV_PMU_SBI=y -CONFIG_RISCV_PMU=y -CONFIG_RISCV_PROBE_UNALIGNED_ACCESS=y -CONFIG_RISCV_SBI_CPUIDLE=y -# CONFIG_RISCV_SBI_V01 is not set -CONFIG_RISCV_SBI=y -CONFIG_RISCV_TIMER=y -CONFIG_RMI4_CORE=m -CONFIG_RMI4_F03=y -CONFIG_RMI4_F11=y -CONFIG_RMI4_F12=y -CONFIG_RMI4_F30=y -CONFIG_RMI4_F34=y -CONFIG_RMI4_F3A=y -# CONFIG_RMI4_F54 is not set -CONFIG_RMI4_F55=y -CONFIG_RMI4_I2C=m -CONFIG_RMI4_SMB=m -CONFIG_RMI4_SPI=m -CONFIG_RMNET=m -# CONFIG_ROCKCHIP_PHY is not set -CONFIG_ROCKER=m -# CONFIG_ROHM_BM1390 is not set -# CONFIG_ROHM_BU27008 is not set -CONFIG_ROHM_BU27034=m -CONFIG_ROMFS_BACKED_BY_BLOCK=y -# CONFIG_ROMFS_BACKED_BY_BOTH is not set -# CONFIG_ROMFS_BACKED_BY_MTD is not set -CONFIG_ROMFS_FS=m -CONFIG_ROSE=m -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1=y -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2=y -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA=y -# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_DES is not set -CONFIG_RPCSEC_GSS_KRB5_KUNIT_TEST=m -CONFIG_RPCSEC_GSS_KRB5=m -CONFIG_RPMB=m -CONFIG_RPMSG_CHAR=m -CONFIG_RPMSG_CTRL=m -CONFIG_RPMSG=m -# CONFIG_RPMSG_QCOM_GLINK_RPM is not set -CONFIG_RPMSG_TTY=m -CONFIG_RPMSG_VIRTIO=m -CONFIG_RPMSG_WWAN_CTRL=m -CONFIG_RPR0521=m -CONFIG_RPS=y -CONFIG_RSEQ=y -CONFIG_RSI_91X=m -CONFIG_RSI_COEX=y -CONFIG_RSI_DEBUGFS=y -CONFIG_RSI_SDIO=m -CONFIG_RSI_USB=m -CONFIG_RT2400PCI=m -CONFIG_RT2500PCI=m -CONFIG_RT2500USB=m -CONFIG_RT2800PCI=m -CONFIG_RT2800PCI_RT3290=y -CONFIG_RT2800PCI_RT33XX=y -CONFIG_RT2800PCI_RT35XX=y -CONFIG_RT2800PCI_RT53XX=y -CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT33XX=y -CONFIG_RT2800USB_RT3573=y -CONFIG_RT2800USB_RT35XX=y -CONFIG_RT2800USB_RT53XX=y -CONFIG_RT2800USB_RT55XX=y -CONFIG_RT2800USB_UNKNOWN=y -# CONFIG_RT2X00_DEBUG is not set -CONFIG_RT2X00_LIB_DEBUGFS=y -CONFIG_RT2X00=m -CONFIG_RT61PCI=m -CONFIG_RT73USB=m -# CONFIG_RTASE is not set -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DEBUG is not set -# CONFIG_RTC_DRV_ABB5ZES3 is not set -CONFIG_RTC_DRV_ABEOZ9=m -CONFIG_RTC_DRV_ABX80X=m -CONFIG_RTC_DRV_BQ32K=m -# CONFIG_RTC_DRV_CADENCE is not set -CONFIG_RTC_DRV_CMOS=y -CONFIG_RTC_DRV_DA9063=m -CONFIG_RTC_DRV_DS1286=m -# CONFIG_RTC_DRV_DS1302 is not set -CONFIG_RTC_DRV_DS1305=m -# CONFIG_RTC_DRV_DS1307_CENTURY is not set -CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_DS1343=m -CONFIG_RTC_DRV_DS1347=m -CONFIG_RTC_DRV_DS1374=m -CONFIG_RTC_DRV_DS1374_WDT=y -CONFIG_RTC_DRV_DS1390=m -CONFIG_RTC_DRV_DS1511=m -CONFIG_RTC_DRV_DS1553=m -CONFIG_RTC_DRV_DS1672=m -CONFIG_RTC_DRV_DS1685_FAMILY=m -CONFIG_RTC_DRV_DS1685=y -# CONFIG_RTC_DRV_DS1689 is not set -# CONFIG_RTC_DRV_DS17285 is not set -CONFIG_RTC_DRV_DS1742=m -# CONFIG_RTC_DRV_DS17485 is not set -# CONFIG_RTC_DRV_DS17885 is not set -CONFIG_RTC_DRV_DS2404=m -# CONFIG_RTC_DRV_DS3232_HWMON is not set -CONFIG_RTC_DRV_DS3232=m -CONFIG_RTC_DRV_EFI=m -CONFIG_RTC_DRV_EM3027=m -CONFIG_RTC_DRV_FM3130=m -# CONFIG_RTC_DRV_FTRTC010 is not set -CONFIG_RTC_DRV_GOLDFISH=y -# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set -# CONFIG_RTC_DRV_HYM8563 is not set -CONFIG_RTC_DRV_ISL12022=m -CONFIG_RTC_DRV_ISL12026=m -CONFIG_RTC_DRV_ISL1208=m -CONFIG_RTC_DRV_M41T80=m -CONFIG_RTC_DRV_M41T80_WDT=y -CONFIG_RTC_DRV_M41T93=m -CONFIG_RTC_DRV_M41T94=m -CONFIG_RTC_DRV_M48T35=m -CONFIG_RTC_DRV_M48T59=m -# CONFIG_RTC_DRV_M48T86 is not set -CONFIG_RTC_DRV_MAX31335=m -CONFIG_RTC_DRV_MAX6900=m -CONFIG_RTC_DRV_MAX6902=m -CONFIG_RTC_DRV_MAX6916=m -CONFIG_RTC_DRV_MAX77686=m -CONFIG_RTC_DRV_MCP795=m -CONFIG_RTC_DRV_MSM6242=m -CONFIG_RTC_DRV_NCT3018Y=m -CONFIG_RTC_DRV_PCF2123=m -CONFIG_RTC_DRV_PCF2127=m -CONFIG_RTC_DRV_PCF85063=m -CONFIG_RTC_DRV_PCF8523=m -# CONFIG_RTC_DRV_PCF85363 is not set -CONFIG_RTC_DRV_PCF8563=m -CONFIG_RTC_DRV_PCF8583=m -# CONFIG_RTC_DRV_PL030 is not set -# CONFIG_RTC_DRV_PL031 is not set -# CONFIG_RTC_DRV_PM8XXX is not set -# CONFIG_RTC_DRV_POLARFIRE_SOC is not set -CONFIG_RTC_DRV_R7301=m -CONFIG_RTC_DRV_R9701=m -CONFIG_RTC_DRV_RP5C01=m -CONFIG_RTC_DRV_RS5C348=m -CONFIG_RTC_DRV_RS5C372=m -CONFIG_RTC_DRV_RV3028=m -CONFIG_RTC_DRV_RV3029C2=m -CONFIG_RTC_DRV_RV3029_HWMON=y -CONFIG_RTC_DRV_RV3032=m -# CONFIG_RTC_DRV_RV8803 is not set -CONFIG_RTC_DRV_RX4581=m -# CONFIG_RTC_DRV_RX6110 is not set -CONFIG_RTC_DRV_RX8010=m -CONFIG_RTC_DRV_RX8025=m -# CONFIG_RTC_DRV_RX8111 is not set -CONFIG_RTC_DRV_RX8581=m -# CONFIG_RTC_DRV_S35390A is not set -# CONFIG_RTC_DRV_SA1100 is not set -# CONFIG_RTC_DRV_SD2405AL is not set -CONFIG_RTC_DRV_SD3078=m -# CONFIG_RTC_DRV_SNVS is not set -CONFIG_RTC_DRV_STK17TA8=m -# CONFIG_RTC_DRV_TEST is not set -CONFIG_RTC_DRV_TPS6594=m -CONFIG_RTC_DRV_V3020=m -CONFIG_RTC_DRV_X1205=m -# CONFIG_RTC_DRV_ZYNQMP is not set -CONFIG_RTC_HCTOSYS_DEVICE="rtc0" -CONFIG_RTC_HCTOSYS=y -# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set -CONFIG_RTC_INTF_DEV=y -CONFIG_RTC_INTF_PROC=y -CONFIG_RTC_INTF_SYSFS=y -CONFIG_RTC_LIB_KUNIT_TEST=m -CONFIG_RTC_NVMEM=y -CONFIG_RTC_SYSTOHC_DEVICE="rtc0" -CONFIG_RTC_SYSTOHC=y -# CONFIG_RT_GROUP_SCHED is not set -CONFIG_RTL8180=m -CONFIG_RTL8187=m -CONFIG_RTL8188EE=m -CONFIG_RTL8192CE=m -# CONFIG_RTL8192CU is not set -CONFIG_RTL8192DE=m -CONFIG_RTL8192DU=m -CONFIG_RTL8192EE=m -CONFIG_RTL8192SE=m -# CONFIG_RTL8192U is not set -CONFIG_RTL8723AE=m -CONFIG_RTL8723BE=m -CONFIG_RTL8723BS=m -CONFIG_RTL8821AE=m -CONFIG_RTL8XXXU=m -CONFIG_RTL8XXXU_UNTESTED=y -CONFIG_RTL_CARDS=m -# CONFIG_RTLLIB is not set -CONFIG_RTLWIFI_DEBUG=y -CONFIG_RTLWIFI=m -# CONFIG_RTS5208 is not set -CONFIG_RTW88_8723CS=m -CONFIG_RTW88_8723DE=m -CONFIG_RTW88_8723DS=m -CONFIG_RTW88_8723DU=m -CONFIG_RTW88_8821CE=m -CONFIG_RTW88_8821CS=m -CONFIG_RTW88_8821CU=m -CONFIG_RTW88_8822BE=m -CONFIG_RTW88_8822BS=m -CONFIG_RTW88_8822BU=m -CONFIG_RTW88_8822CE=m -CONFIG_RTW88_8822CS=m -CONFIG_RTW88_8822CU=m -CONFIG_RTW88_DEBUGFS=y -CONFIG_RTW88_DEBUG=y -CONFIG_RTW88=m -CONFIG_RTW89_8851BE=m -CONFIG_RTW89_8852AE=m -CONFIG_RTW89_8852BE=m -CONFIG_RTW89_8852BTE=m -CONFIG_RTW89_8852CE=m -CONFIG_RTW89_8922AE=m -CONFIG_RTW89_DEBUGFS=y -CONFIG_RTW89_DEBUGMSG=y -CONFIG_RTW89=m -# CONFIG_RUNTIME_KERNEL_TESTING_MENU is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_RUST_BUILD_ASSERT_ALLOW is not set -# CONFIG_RUST_DEBUG_ASSERTIONS is not set -# CONFIG_RUST_EXTRA_LOCKDEP is not set -CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y -# CONFIG_RUST is not set -CONFIG_RUST_OVERFLOW_CHECKS=y -CONFIG_RUST_PHYLIB_ABSTRACTIONS=y -CONFIG_RV_MON_WWNR=y -CONFIG_RV_REACTORS=y -CONFIG_RV_REACT_PANIC=y -CONFIG_RV_REACT_PRINTK=y -CONFIG_RV=y -CONFIG_RXKAD=y -# CONFIG_RXPERF is not set -CONFIG_S2IO=m -# CONFIG_S390_KPROBES_SANITY_TEST is not set -# CONFIG_S390_MODULES_SANITY_TEST is not set -# CONFIG_SAMPLE_FPROBE is not set -# CONFIG_SAMPLES is not set -CONFIG_SATA_ACARD_AHCI=m -CONFIG_SATA_AHCI_PLATFORM=m -CONFIG_SATA_AHCI=y -# CONFIG_SATA_DWC is not set -# CONFIG_SATA_HIGHBANK is not set -CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 -CONFIG_SATA_MV=m -CONFIG_SATA_NV=m -CONFIG_SATA_PMP=y -CONFIG_SATA_PROMISE=m -CONFIG_SATA_QSTOR=m -CONFIG_SATA_SIL24=m -CONFIG_SATA_SIL=m -CONFIG_SATA_SIS=m -CONFIG_SATA_SVW=m -CONFIG_SATA_SX4=m -CONFIG_SATA_ULI=m -CONFIG_SATA_VIA=m -CONFIG_SATA_VITESSE=m -# CONFIG_SATA_ZPODD is not set -# CONFIG_SBC7240_WDT is not set -# CONFIG_SBC8360_WDT is not set -# CONFIG_SBC_EPX_C3_WATCHDOG is not set -CONFIG_SBP_TARGET=m -# CONFIG_SC1200_WDT is not set -CONFIG_SC92031=m -# CONFIG_SCA3000 is not set -CONFIG_SCA3300=m -CONFIG_SCD30_CORE=m -CONFIG_SCD30_I2C=m -CONFIG_SCD30_SERIAL=m -# CONFIG_SCD4X is not set -CONFIG_SCF_TORTURE_TEST=m -# CONFIG_SCHED_AUTOGROUP is not set -CONFIG_SCHED_CLASS_EXT=y -CONFIG_SCHED_CLUSTER=y -CONFIG_SCHED_CORE=y -CONFIG_SCHED_DEBUG=y -# CONFIG_SCHED_MC_PRIO is not set -CONFIG_SCHED_MC=y -CONFIG_SCHED_OMIT_FRAME_POINTER=y -CONFIG_SCHED_STACK_END_CHECK=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_THERMAL_PRESSURE=y -CONFIG_SCHED_TOPOLOGY_VERTICAL=y -CONFIG_SCHED_TRACER=y -CONFIG_SC_LPASS_CORECC_7180=m -# CONFIG_SCR24X is not set -CONFIG_SCSI_3W_9XXX=m -CONFIG_SCSI_3W_SAS=m -CONFIG_SCSI_AACRAID=m -CONFIG_SCSI_ACARD=m -# CONFIG_SCSI_ADVANSYS is not set -CONFIG_SCSI_AIC79XX=m -CONFIG_SCSI_AIC7XXX=m -# CONFIG_SCSI_AIC94XX is not set -CONFIG_SCSI_AM53C974=m -CONFIG_SCSI_ARCMSR=m -CONFIG_SCSI_BFA_FC=m -CONFIG_SCSI_BNX2_ISCSI=m -CONFIG_SCSI_BNX2X_FCOE=m -CONFIG_SCSI_BUSLOGIC=m -CONFIG_SCSI_CHELSIO_FCOE=m -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_CXGB3_ISCSI=m -CONFIG_SCSI_CXGB4_ISCSI=m -CONFIG_SCSI_DC395x=m -CONFIG_SCSI_DEBUG=m -CONFIG_SCSI_DH_ALUA=m -CONFIG_SCSI_DH_EMC=m -CONFIG_SCSI_DH_HP_SW=m -CONFIG_SCSI_DH_RDAC=m -CONFIG_SCSI_DH=y -CONFIG_SCSI_DMX3191D=m -# CONFIG_SCSI_DPT_I2O is not set -CONFIG_SCSI_EFCT=m -CONFIG_SCSI_ENCLOSURE=m -CONFIG_SCSI_ESAS2R=m -CONFIG_SCSI_FC_ATTRS=m -CONFIG_SCSI_FDOMAIN_PCI=m -CONFIG_SCSI_FLASHPOINT=y -# CONFIG_SCSI_HISI_SAS_DEBUGFS_DEFAULT_ENABLE is not set -# CONFIG_SCSI_HISI_SAS is not set -CONFIG_SCSI_HPSA=m -CONFIG_SCSI_HPTIOP=m -# CONFIG_SCSI_IMM is not set -CONFIG_SCSI_INIA100=m -CONFIG_SCSI_INITIO=m -CONFIG_SCSI_IPR_DUMP=y -CONFIG_SCSI_IPR=m -CONFIG_SCSI_IPR_TRACE=y -CONFIG_SCSI_IPS=m -CONFIG_SCSI_ISCSI_ATTRS=m -CONFIG_SCSI_LIB_KUNIT_TEST=m -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_LOWLEVEL=y -# CONFIG_SCSI_LPFC_DEBUG_FS is not set -CONFIG_SCSI_LPFC=m -CONFIG_SCSI_MPI3MR=m -CONFIG_SCSI_MPT2SAS=m -CONFIG_SCSI_MPT2SAS_MAX_SGE=128 -CONFIG_SCSI_MPT3SAS=m -CONFIG_SCSI_MPT3SAS_MAX_SGE=128 -# CONFIG_SCSI_MVSAS_DEBUG is not set -CONFIG_SCSI_MVSAS=m -CONFIG_SCSI_MVSAS_TASKLET=y -CONFIG_SCSI_MVUMI=m -CONFIG_SCSI_MYRB=m -CONFIG_SCSI_MYRS=m -# CONFIG_SCSI_NSP32 is not set -CONFIG_SCSI_PM8001=m -CONFIG_SCSI_PMCRAID=m -# CONFIG_SCSI_PPA is not set -CONFIG_SCSI_PROC_FS=y -CONFIG_SCSI_PROTO_TEST=m -CONFIG_SCSI_QLA_FC=m -CONFIG_SCSI_QLA_ISCSI=m -CONFIG_SCSI_QLOGIC_1280=m -CONFIG_SCSI_SAS_ATA=y -CONFIG_SCSI_SAS_ATTRS=m -CONFIG_SCSI_SAS_HOST_SMP=y -CONFIG_SCSI_SAS_LIBSAS=m -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_SCSI_SMARTPQI=m -# CONFIG_SCSI_SNIC_DEBUG_FS is not set -CONFIG_SCSI_SNIC=m -CONFIG_SCSI_SPI_ATTRS=m -CONFIG_SCSI_SRP_ATTRS=m -CONFIG_SCSI_STEX=m -CONFIG_SCSI_SYM53C8XX_2=m -CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 -CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 -CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 -CONFIG_SCSI_SYM53C8XX_MMIO=y -CONFIG_SCSI_UFS_BSG=y -CONFIG_SCSI_UFS_CDNS_PLATFORM=m -# CONFIG_SCSI_UFS_DWC_TC_PCI is not set -# CONFIG_SCSI_UFS_DWC_TC_PLATFORM is not set -# CONFIG_SCSI_UFS_FAULT_INJECTION is not set -# CONFIG_SCSI_UFSHCD is not set -CONFIG_SCSI_UFS_HPB=y -CONFIG_SCSI_UFS_HWMON=y -CONFIG_SCSI_VIRTIO=m -CONFIG_SCSI_WD719X=m -CONFIG_SCSI=y -CONFIG_SCTP_COOKIE_HMAC_MD5=y -CONFIG_SCTP_COOKIE_HMAC_SHA1=y -# CONFIG_SCTP_DBG_OBJCNT is not set -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set -CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y -# CONFIG_SD_ADC_MODULATOR is not set -CONFIG_SDIO_UART=m -# CONFIG_SDP500 is not set -# CONFIG_SDX_GCC_55 is not set -# CONFIG_SECCOMP_CACHE_DEBUG is not set -CONFIG_SECCOMP=y -# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set -CONFIG_SECONDARY_TRUSTED_KEYRING=y -CONFIG_SECRETMEM=y -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -# CONFIG_SECURITY_APPARMOR is not set -CONFIG_SECURITY_DMESG_RESTRICT=y -CONFIG_SECURITYFS=y -CONFIG_SECURITY_INFINIBAND=y -CONFIG_SECURITY_IPE=y -CONFIG_SECURITY_LANDLOCK=y -# CONFIG_SECURITY_LOADPIN is not set -CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y -CONFIG_SECURITY_LOCKDOWN_LSM=y -CONFIG_SECURITY_NETWORK_XFRM=y -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_PATH=y -# CONFIG_SECURITY_SAFESETID is not set -CONFIG_SECURITY_SELINUX_AVC_STATS=y -CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0 -# CONFIG_SECURITY_SELINUX_DEBUG is not set -CONFIG_SECURITY_SELINUX_DEVELOP=y -# CONFIG_SECURITY_SELINUX_DISABLE is not set -CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256 -CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9 -CONFIG_SECURITY_SELINUX=y -# CONFIG_SECURITY_SMACK is not set -CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/usr/lib/systemd/systemd" -# CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING is not set -CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048 -CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024 -# CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set -CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/tomoyo-init" -CONFIG_SECURITY_TOMOYO=y -CONFIG_SECURITY=y -CONFIG_SECURITY_YAMA=y -# CONFIG_SEG_LED_GPIO is not set -# CONFIG_SENSEAIR_SUNRISE_CO2 is not set -# CONFIG_SENSIRION_SGP30 is not set -# CONFIG_SENSIRION_SGP40 is not set -# CONFIG_SENSORS_ACBEL_FSG032 is not set -CONFIG_SENSORS_ACPI_POWER=m -CONFIG_SENSORS_AD7314=m -CONFIG_SENSORS_AD7414=m -CONFIG_SENSORS_AD7418=m -CONFIG_SENSORS_ADC128D818=m -CONFIG_SENSORS_ADCXX=m -CONFIG_SENSORS_ADM1021=m -CONFIG_SENSORS_ADM1025=m -CONFIG_SENSORS_ADM1026=m -CONFIG_SENSORS_ADM1029=m -CONFIG_SENSORS_ADM1031=m -# CONFIG_SENSORS_ADM1177 is not set -CONFIG_SENSORS_ADM1266=m -CONFIG_SENSORS_ADM1275=m -CONFIG_SENSORS_ADM9240=m -CONFIG_SENSORS_ADP1050=m -CONFIG_SENSORS_ADS7828=m -CONFIG_SENSORS_ADS7871=m -CONFIG_SENSORS_ADT7310=m -CONFIG_SENSORS_ADT7410=m -CONFIG_SENSORS_ADT7411=m -CONFIG_SENSORS_ADT7462=m -CONFIG_SENSORS_ADT7470=m -CONFIG_SENSORS_ADT7475=m -# CONFIG_SENSORS_AHT10 is not set -CONFIG_SENSORS_AMC6821=m -CONFIG_SENSORS_APDS990X=m -CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=m -# CONFIG_SENSORS_AS370 is not set -CONFIG_SENSORS_ASC7621=m -CONFIG_SENSORS_ASUS_ROG_RYUJIN=m -# CONFIG_SENSORS_ASUS_WMI_EC is not set -# CONFIG_SENSORS_ASUS_WMI is not set -CONFIG_SENSORS_ATXP1=m -CONFIG_SENSORS_AXI_FAN_CONTROL=m -CONFIG_SENSORS_BEL_PFE=m -CONFIG_SENSORS_BH1770=m -CONFIG_SENSORS_BPA_RS600=m -CONFIG_SENSORS_CHIPCAP2=m -CONFIG_SENSORS_CORSAIR_CPRO=m -CONFIG_SENSORS_CORSAIR_PSU=m -CONFIG_SENSORS_CROS_EC=m -CONFIG_SENSORS_DELTA_AHE50DC_FAN=m -CONFIG_SENSORS_DME1737=m -CONFIG_SENSORS_DPS920AB=m -CONFIG_SENSORS_DRIVETEMP=m -CONFIG_SENSORS_DS1621=m -CONFIG_SENSORS_DS620=m -CONFIG_SENSORS_EMC1403=m -# CONFIG_SENSORS_EMC2103 is not set -CONFIG_SENSORS_EMC2305=m -CONFIG_SENSORS_EMC6W201=m -CONFIG_SENSORS_F71805F=m -CONFIG_SENSORS_F71882FG=m -CONFIG_SENSORS_F75375S=m -CONFIG_SENSORS_FSP_3Y=m -CONFIG_SENSORS_FTSTEUTATES=m -CONFIG_SENSORS_G760A=m -CONFIG_SENSORS_G762=m -CONFIG_SENSORS_GIGABYTE_WATERFORCE=m -CONFIG_SENSORS_GL518SM=m -CONFIG_SENSORS_GL520SM=m -# CONFIG_SENSORS_GPIO_FAN is not set -# CONFIG_SENSORS_HIH6130 is not set -# CONFIG_SENSORS_HMC5843_I2C is not set -# CONFIG_SENSORS_HMC5843_SPI is not set -CONFIG_SENSORS_HP_WMI=m -CONFIG_SENSORS_HS3001=m -# CONFIG_SENSORS_I5K_AMB is not set -CONFIG_SENSORS_IBMAEM=m -# CONFIG_SENSORS_IBM_CFFPS is not set -CONFIG_SENSORS_IBMPEX=m -# CONFIG_SENSORS_IIO_HWMON is not set -CONFIG_SENSORS_INA209=m -CONFIG_SENSORS_INA238=m -CONFIG_SENSORS_INA2XX=m -CONFIG_SENSORS_INA3221=m -# CONFIG_SENSORS_INSPUR_IPSPS is not set -CONFIG_SENSORS_INTEL_M10_BMC_HWMON=m -# CONFIG_SENSORS_IR35221 is not set -# CONFIG_SENSORS_IR36021 is not set -# CONFIG_SENSORS_IR38064 is not set -# CONFIG_SENSORS_IRPS5401 is not set -# CONFIG_SENSORS_ISL29018 is not set -# CONFIG_SENSORS_ISL29028 is not set -# CONFIG_SENSORS_ISL68137 is not set -CONFIG_SENSORS_IT87=m -CONFIG_SENSORS_JC42=m -CONFIG_SENSORS_LINEAGE=m -CONFIG_SENSORS_LIS3_I2C=m -CONFIG_SENSORS_LIS3LV02D=m -# CONFIG_SENSORS_LIS3_SPI is not set -CONFIG_SENSORS_LM25066=m -CONFIG_SENSORS_LM25066_REGULATOR=y -CONFIG_SENSORS_LM63=m -CONFIG_SENSORS_LM70=m -CONFIG_SENSORS_LM73=m -CONFIG_SENSORS_LM75=m -CONFIG_SENSORS_LM77=m -CONFIG_SENSORS_LM78=m -CONFIG_SENSORS_LM80=m -CONFIG_SENSORS_LM83=m -CONFIG_SENSORS_LM85=m -CONFIG_SENSORS_LM87=m -CONFIG_SENSORS_LM90=m -CONFIG_SENSORS_LM92=m -CONFIG_SENSORS_LM93=m -CONFIG_SENSORS_LM95234=m -CONFIG_SENSORS_LM95241=m -CONFIG_SENSORS_LM95245=m -CONFIG_SENSORS_LT7182S=m -CONFIG_SENSORS_LTC2945=m -CONFIG_SENSORS_LTC2947_I2C=m -CONFIG_SENSORS_LTC2947_SPI=m -CONFIG_SENSORS_LTC2978=m -# CONFIG_SENSORS_LTC2978_REGULATOR is not set -CONFIG_SENSORS_LTC2990=m -CONFIG_SENSORS_LTC2991=m -# CONFIG_SENSORS_LTC2992 is not set -CONFIG_SENSORS_LTC3815=m -CONFIG_SENSORS_LTC4151=m -CONFIG_SENSORS_LTC4215=m -CONFIG_SENSORS_LTC4222=m -CONFIG_SENSORS_LTC4245=m -CONFIG_SENSORS_LTC4260=m -CONFIG_SENSORS_LTC4261=m -# CONFIG_SENSORS_LTC4282 is not set -# CONFIG_SENSORS_LTC4286 is not set -CONFIG_SENSORS_MAX1111=m -# CONFIG_SENSORS_MAX127 is not set -# CONFIG_SENSORS_MAX15301 is not set -CONFIG_SENSORS_MAX16064=m -CONFIG_SENSORS_MAX16065=m -CONFIG_SENSORS_MAX1619=m -# CONFIG_SENSORS_MAX16601 is not set -CONFIG_SENSORS_MAX1668=m -CONFIG_SENSORS_MAX197=m -# CONFIG_SENSORS_MAX20730 is not set -CONFIG_SENSORS_MAX20751=m -CONFIG_SENSORS_MAX31722=m -# CONFIG_SENSORS_MAX31730 is not set -CONFIG_SENSORS_MAX31760=m -# CONFIG_SENSORS_MAX31785 is not set -CONFIG_SENSORS_MAX31790=m -CONFIG_SENSORS_MAX34440=m -CONFIG_SENSORS_MAX6620=m -# CONFIG_SENSORS_MAX6621 is not set -CONFIG_SENSORS_MAX6639=m -CONFIG_SENSORS_MAX6642=m -CONFIG_SENSORS_MAX6650=m -CONFIG_SENSORS_MAX6697=m -CONFIG_SENSORS_MAX8688=m -CONFIG_SENSORS_MC34VR500=m -CONFIG_SENSORS_MCP3021=m -CONFIG_SENSORS_MLXREG_FAN=m -# CONFIG_SENSORS_MP2856 is not set -CONFIG_SENSORS_MP2888=m -CONFIG_SENSORS_MP2891=m -CONFIG_SENSORS_MP2975=m -CONFIG_SENSORS_MP2975_REGULATOR=y -CONFIG_SENSORS_MP2993=m -CONFIG_SENSORS_MP5023=m -CONFIG_SENSORS_MP5920=m -# CONFIG_SENSORS_MP5990 is not set -CONFIG_SENSORS_MP9941=m -CONFIG_SENSORS_MPQ7932=m -CONFIG_SENSORS_MPQ7932_REGULATOR=y -CONFIG_SENSORS_MPQ8785=m -CONFIG_SENSORS_MR75203=m -CONFIG_SENSORS_NCT6683=m -CONFIG_SENSORS_NCT6775_I2C=m -CONFIG_SENSORS_NCT6775=m -CONFIG_SENSORS_NCT7802=m -CONFIG_SENSORS_NCT7904=m -CONFIG_SENSORS_NPCM7XX=m -CONFIG_SENSORS_NTC_THERMISTOR=m -CONFIG_SENSORS_NZXT_KRAKEN2=m -CONFIG_SENSORS_NZXT_KRAKEN3=m -CONFIG_SENSORS_NZXT_SMART2=m -# CONFIG_SENSORS_OCC_P8_I2C is not set -CONFIG_SENSORS_PC87360=m -CONFIG_SENSORS_PC87427=m -CONFIG_SENSORS_PCF8591=m -CONFIG_SENSORS_PIM4328=m -CONFIG_SENSORS_PLI1209BC=m -CONFIG_SENSORS_PLI1209BC_REGULATOR=y -CONFIG_SENSORS_PM6764TR=m -CONFIG_SENSORS_PMBUS=m -CONFIG_SENSORS_POWERZ=m -CONFIG_SENSORS_POWR1220=m -CONFIG_SENSORS_PT5161L=m -CONFIG_SENSORS_PWM_FAN=m -# CONFIG_SENSORS_PXE1610 is not set -CONFIG_SENSORS_Q54SJ108A2=m -CONFIG_SENSORS_RM3100_I2C=m -CONFIG_SENSORS_RM3100_SPI=m -# CONFIG_SENSORS_SBRMI is not set -CONFIG_SENSORS_SBTSI=m -CONFIG_SENSORS_SCH5627=m -CONFIG_SENSORS_SCH5636=m -CONFIG_SENSORS_SFCTEMP=y -CONFIG_SENSORS_SG2042_MCU=m -CONFIG_SENSORS_SHT15=m -CONFIG_SENSORS_SHT21=m -CONFIG_SENSORS_SHT3x=m -# CONFIG_SENSORS_SHT4x is not set -CONFIG_SENSORS_SHTC1=m -CONFIG_SENSORS_SIS5595=m -# CONFIG_SENSORS_SMM665 is not set -CONFIG_SENSORS_SMSC47B397=m -CONFIG_SENSORS_SMSC47M192=m -CONFIG_SENSORS_SMSC47M1=m -CONFIG_SENSORS_SPD5118_DETECT=y -CONFIG_SENSORS_SPD5118=m -# CONFIG_SENSORS_STPDDC60 is not set -# CONFIG_SENSORS_STTS751 is not set -CONFIG_SENSORS_SURFACE_FAN=m -CONFIG_SENSORS_SURFACE_TEMP=m -CONFIG_SENSORS_SY7636A=m -CONFIG_SENSORS_TC654=m -CONFIG_SENSORS_TC74=m -CONFIG_SENSORS_TDA38640=m -CONFIG_SENSORS_TDA38640_REGULATOR=y -CONFIG_SENSORS_THMC50=m -CONFIG_SENSORS_TMP102=m -CONFIG_SENSORS_TMP103=m -CONFIG_SENSORS_TMP108=m -CONFIG_SENSORS_TMP401=m -CONFIG_SENSORS_TMP421=m -CONFIG_SENSORS_TMP464=m -CONFIG_SENSORS_TMP513=m -# CONFIG_SENSORS_TPS23861 is not set -CONFIG_SENSORS_TPS40422=m -CONFIG_SENSORS_TPS53679=m -CONFIG_SENSORS_TPS546D24=m -CONFIG_SENSORS_TSL2550=m -# CONFIG_SENSORS_TSL2563 is not set -CONFIG_SENSORS_UCD9000=m -CONFIG_SENSORS_UCD9200=m -CONFIG_SENSORS_VIA686A=m -CONFIG_SENSORS_VT1211=m -CONFIG_SENSORS_VT8231=m -CONFIG_SENSORS_W83627EHF=m -CONFIG_SENSORS_W83627HF=m -CONFIG_SENSORS_W83773G=m -CONFIG_SENSORS_W83781D=m -CONFIG_SENSORS_W83791D=m -CONFIG_SENSORS_W83792D=m -CONFIG_SENSORS_W83793=m -# CONFIG_SENSORS_W83795_FANCTRL is not set -CONFIG_SENSORS_W83795=m -CONFIG_SENSORS_W83L785TS=m -CONFIG_SENSORS_W83L786NG=m -CONFIG_SENSORS_XDP710=m -# CONFIG_SENSORS_XDPE122 is not set -CONFIG_SENSORS_XDPE152=m -# CONFIG_SENSORS_XGENE is not set -CONFIG_SENSORS_ZL6100=m -# CONFIG_SERIAL_8250_16550A_VARIANTS is not set -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_CS=m -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -# CONFIG_SERIAL_8250_DETECT_IRQ is not set -CONFIG_SERIAL_8250_DFL=m -CONFIG_SERIAL_8250_DMA=y -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_8250_EXAR=m -CONFIG_SERIAL_8250_EXTENDED=y -# CONFIG_SERIAL_8250_FINTEK is not set -CONFIG_SERIAL_8250_MANY_PORTS=y -# CONFIG_SERIAL_8250_MID is not set -CONFIG_SERIAL_8250_NR_UARTS=32 -CONFIG_SERIAL_8250_PCI1XXXX=y -CONFIG_SERIAL_8250_PCI=y -CONFIG_SERIAL_8250_PERICOM=y -CONFIG_SERIAL_8250_PNP=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_8250_RT288X=y -CONFIG_SERIAL_8250_RUNTIME_UARTS=32 -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_ALTERA_JTAGUART is not set -# CONFIG_SERIAL_ALTERA_UART is not set -# CONFIG_SERIAL_AMBA_PL010 is not set -# CONFIG_SERIAL_AMBA_PL011 is not set -CONFIG_SERIAL_ARC=m -CONFIG_SERIAL_ARC_NR_PORTS=1 -# CONFIG_SERIAL_BCM63XX is not set -# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set -CONFIG_SERIAL_CORE_CONSOLE=y -CONFIG_SERIAL_CORE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_SERIAL_DEV_CTRL_TTYPORT=y -# CONFIG_SERIAL_EARLYCON_RISCV_SBI is not set -# CONFIG_SERIAL_EARLYCON_SEMIHOST is not set -# CONFIG_SERIAL_FSL_LINFLEXUART is not set -# CONFIG_SERIAL_FSL_LPUART is not set -# CONFIG_SERIAL_IMX_EARLYCON is not set -CONFIG_SERIAL_JSM=m -# CONFIG_SERIAL_KGDB_NMI is not set -# CONFIG_SERIAL_LANTIQ is not set -CONFIG_SERIAL_LITEUART_CONSOLE=y -CONFIG_SERIAL_LITEUART_MAX_PORTS=1 -CONFIG_SERIAL_LITEUART=y -# CONFIG_SERIAL_MAX3100 is not set -# CONFIG_SERIAL_MAX310X is not set -CONFIG_SERIAL_NONSTANDARD=y -CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SERIAL_PCH_UART is not set -# CONFIG_SERIAL_RP2 is not set -CONFIG_SERIAL_SC16IS7XX_I2C=m -CONFIG_SERIAL_SC16IS7XX=m -CONFIG_SERIAL_SC16IS7XX_SPI=m -# CONFIG_SERIAL_SCCNXP is not set -CONFIG_SERIAL_SH_SCI=y -CONFIG_SERIAL_SIFIVE_CONSOLE=y -CONFIG_SERIAL_SIFIVE=y -# CONFIG_SERIAL_SPRD is not set -# CONFIG_SERIAL_ST_ASC is not set -# CONFIG_SERIAL_TIMBERDALE is not set -# CONFIG_SERIAL_UARTLITE is not set -# CONFIG_SERIAL_XILINX_PS_UART is not set -CONFIG_SERIO_ALTERA_PS2=m -# CONFIG_SERIO_AMBAKMI is not set -# CONFIG_SERIO_APBPS2 is not set -CONFIG_SERIO_ARC_PS2=m -# CONFIG_SERIO_CT82C710 is not set -# CONFIG_SERIO_GPIO_PS2 is not set -# CONFIG_SERIO_I8042 is not set -# CONFIG_SERIO_LIBPS2 is not set -# CONFIG_SERIO_OLPC_APSP is not set -# CONFIG_SERIO_PARKBD is not set -# CONFIG_SERIO_PCIPS2 is not set -# CONFIG_SERIO_PS2MULT is not set -CONFIG_SERIO_RAW=m -CONFIG_SERIO_SERPORT=m -CONFIG_SERIO=y -CONFIG_SFC_FALCON=m -CONFIG_SFC_FALCON_MTD=y -# CONFIG_SFC is not set -CONFIG_SF_PDMA=y -CONFIG_SFP=m -# CONFIG_SGETMASK_SYSCALL is not set -CONFIG_SGI_PARTITION=y -# CONFIG_SHADOW_CALL_STACK is not set -CONFIG_SHMEM=y -# CONFIG_SHRINKER_DEBUG is not set -CONFIG_SHUFFLE_PAGE_ALLOCATOR=y -# CONFIG_SI1133 is not set -# CONFIG_SI1145 is not set -# CONFIG_SI7005 is not set -# CONFIG_SI7020 is not set -# CONFIG_SIEMENS_SIMATIC_IPC is not set -CONFIG_SIFIVE_CCACHE=y -CONFIG_SIFIVE_PLIC=y -CONFIG_SIGNALFD=y -CONFIG_SIGNED_PE_FILE_VERIFICATION=y -# CONFIG_SIOX is not set -CONFIG_SIPHASH_KUNIT_TEST=m -CONFIG_SIS190=m -CONFIG_SIS900=m -# CONFIG_SKGE_DEBUG is not set -CONFIG_SKGE_GENESIS=y -CONFIG_SKGE=m -# CONFIG_SKY2_DEBUG is not set -CONFIG_SKY2=m -CONFIG_SLAB_BUCKETS=y -CONFIG_SLAB_FREELIST_HARDENED=y -# CONFIG_SLAB_FREELIST_RANDOM is not set -# CONFIG_SLAB_MERGE_DEFAULT is not set -# CONFIG_SLIMBUS is not set -CONFIG_SLIP_COMPRESSED=y -CONFIG_SLIP=m -# CONFIG_SLIP_MODE_SLIP6 is not set -CONFIG_SLIP_SMART=y -# CONFIG_SLUB_CPU_PARTIAL is not set -# CONFIG_SLUB_DEBUG_ON is not set -CONFIG_SLUB_DEBUG=y -CONFIG_SLUB_KUNIT_TEST=m -# CONFIG_SLUB_MEMCG_SYSFS_ON is not set -CONFIG_SLUB_RCU_DEBUG=y -# CONFIG_SLUB_STATS is not set -# CONFIG_SLUB_TINY is not set -CONFIG_SLUB=y -CONFIG_SMARTJOYPLUS_FF=y -# CONFIG_SMB_SERVER is not set -CONFIG_SMC_DIAG=m -# CONFIG_SMC_LO is not set -CONFIG_SMC=m -# CONFIG_SM_FTL is not set -CONFIG_SMP=y -CONFIG_SMSC911X=m -CONFIG_SMSC9420=m -CONFIG_SMSC_PHY=m -CONFIG_SMSC_SCH311X_WDT=m -CONFIG_SMS_SDIO_DRV=m -# CONFIG_SMS_SIANO_DEBUGFS is not set -CONFIG_SMS_SIANO_MDTV=m -CONFIG_SMS_SIANO_RC=y -CONFIG_SMS_USB_DRV=m -# CONFIG_SM_VIDEOCC_8150 is not set -CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0 -CONFIG_SND_AC97_POWER_SAVE=y -# CONFIG_SND_AD1889 is not set -# CONFIG_SND_ALI5451 is not set -CONFIG_SND_ALOOP=m -CONFIG_SND_ALS300=m -CONFIG_SND_ALS4000=m -# CONFIG_SND_AMD_ACP_CONFIG is not set -# CONFIG_SND_ASIHPI is not set -# CONFIG_SND_ATIIXP is not set -# CONFIG_SND_ATIIXP_MODEM is not set -# CONFIG_SND_ATMEL_SOC is not set -CONFIG_SND_AU8810=m -CONFIG_SND_AU8820=m -CONFIG_SND_AU8830=m -CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE=m -CONFIG_SND_AUDIO_GRAPH_CARD2=m -CONFIG_SND_AUDIO_GRAPH_CARD=m -# CONFIG_SND_AW2 is not set -CONFIG_SND_AZT3328=m -CONFIG_SND_BCD2000=m -# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set -CONFIG_SND_BEBOB=m -CONFIG_SND_BT87X=m -# CONFIG_SND_BT87X_OVERCLOCK is not set -CONFIG_SND_CA0106=m -CONFIG_SND_CMIPCI=m -CONFIG_SND_COMPRESS_OFFLOAD=m -CONFIG_SND_CORE_TEST=m -CONFIG_SND_CS4281=m -CONFIG_SND_CS46XX=m -CONFIG_SND_CS46XX_NEW_DSP=y -CONFIG_SND_CS5530=m -CONFIG_SND_CS5535AUDIO=m -CONFIG_SND_CTL_DEBUG=y -CONFIG_SND_CTL_FAST_LOOKUP=y -CONFIG_SND_CTL_INPUT_VALIDATION=y -CONFIG_SND_CTL_VALIDATION=y -CONFIG_SND_CTXFI=m -CONFIG_SND_DARLA20=m -CONFIG_SND_DARLA24=m -# CONFIG_SND_DEBUG_VERBOSE is not set -CONFIG_SND_DEBUG=y -CONFIG_SND_DESIGNWARE_I2S=m -# CONFIG_SND_DESIGNWARE_PCM is not set -CONFIG_SND_DICE=m -CONFIG_SND_DMAENGINE_PCM=m -CONFIG_SND_DRIVERS=y -CONFIG_SND_DUMMY=m -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_SND_ECHO3G=m -CONFIG_SND_EMU10K1=m -CONFIG_SND_EMU10K1X=m -CONFIG_SND_ENS1370=m -CONFIG_SND_ENS1371=m -CONFIG_SND_ES1938=m -CONFIG_SND_ES1968_INPUT=y -CONFIG_SND_ES1968=m -CONFIG_SND_ES1968_RADIO=y -CONFIG_SND_FIREFACE=m -CONFIG_SND_FIREWORKS=m -CONFIG_SND_FM801=m -CONFIG_SND_FM801_TEA575X_BOOL=y -CONFIG_SND_GINA20=m -CONFIG_SND_GINA24=m -CONFIG_SND_HDA_CIRRUS_SCODEC_KUNIT_TEST=m -CONFIG_SND_HDA_CODEC_ANALOG=m -CONFIG_SND_HDA_CODEC_CA0110=m -CONFIG_SND_HDA_CODEC_CA0132_DSP=y -CONFIG_SND_HDA_CODEC_CA0132=m -CONFIG_SND_HDA_CODEC_CIRRUS=m -CONFIG_SND_HDA_CODEC_CMEDIA=m -CONFIG_SND_HDA_CODEC_CONEXANT=m -CONFIG_SND_HDA_CODEC_CS8409=m -CONFIG_SND_HDA_CODEC_HDMI=m -CONFIG_SND_HDA_CODEC_REALTEK=m -CONFIG_SND_HDA_CODEC_SENARYTECH=m -CONFIG_SND_HDA_CODEC_SI3054=m -CONFIG_SND_HDA_CODEC_SIGMATEL=m -CONFIG_SND_HDA_CODEC_VIA=m -# CONFIG_SND_HDA_CTL_DEV_ID is not set -CONFIG_SND_HDA_GENERIC=m -CONFIG_SND_HDA_HWDEP=y -CONFIG_SND_HDA_INPUT_BEEP_MODE=0 -CONFIG_SND_HDA_INPUT_BEEP=y -CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=y -CONFIG_SND_HDA_INTEL=m -CONFIG_SND_HDA_PATCH_LOADER=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 -CONFIG_SND_HDA_PREALLOC_SIZE=2048 -CONFIG_SND_HDA_RECONFIG=y -CONFIG_SND_HDA_SCODEC_CS35L41_I2C=m -CONFIG_SND_HDA_SCODEC_CS35L41_SPI=m -CONFIG_SND_HDA_SCODEC_CS35L56_I2C=m -CONFIG_SND_HDA_SCODEC_CS35L56_SPI=m -CONFIG_SND_HDA_SCODEC_TAS2781_I2C=m -# CONFIG_SND_HDA_TEGRA is not set -CONFIG_SND_HDSP=m -CONFIG_SND_HDSPM=m -CONFIG_SND_HRTIMER=m -# CONFIG_SND_I2S_HI6210_I2S is not set -CONFIG_SND_ICE1712=m -CONFIG_SND_ICE1724=m -# CONFIG_SND_IMX_SOC is not set -CONFIG_SND_INDIGODJ=m -CONFIG_SND_INDIGODJX=m -CONFIG_SND_INDIGOIO=m -CONFIG_SND_INDIGOIOX=m -CONFIG_SND_INDIGO=m -# CONFIG_SND_INTEL8X0 is not set -# CONFIG_SND_INTEL8X0M is not set -# CONFIG_SND_INTEL_BYT_PREFER_SOF is not set -CONFIG_SND_ISIGHT=m -CONFIG_SND_JACK_INJECTION_DEBUG=y -CONFIG_SND_JACK=y -# CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB is not set -# CONFIG_SND_KIRKWOOD_SOC is not set -CONFIG_SND_KORG1212=m -CONFIG_SND_LAYLA20=m -CONFIG_SND_LAYLA24=m -CONFIG_SND_LOLA=m -CONFIG_SND_LX6464ES=m -CONFIG_SND=m -CONFIG_SND_MAESTRO3_INPUT=y -CONFIG_SND_MAESTRO3=m -CONFIG_SND_MAX_CARDS=32 -# CONFIG_SND_MESON_AIU is not set -# CONFIG_SND_MESON_G12A_TOACODEC is not set -# CONFIG_SND_MESON_G12A_TOHDMITX is not set -# CONFIG_SND_MESON_GX_SOUND_CARD is not set -CONFIG_SND_MIA=m -CONFIG_SND_MIXART=m -CONFIG_SND_MIXER_OSS=m -# CONFIG_SND_MMP_SOC_SSPA is not set -CONFIG_SND_MONA=m -CONFIG_SND_MPU401=m -CONFIG_SND_MTPAV=m -CONFIG_SND_MTS64=m -CONFIG_SND_NM256=m -CONFIG_SND_OSSEMUL=y -CONFIG_SND_OXFW=m -CONFIG_SND_OXYGEN=m -CONFIG_SND_PCI=y -CONFIG_SND_PCM_OSS=m -CONFIG_SND_PCM_OSS_PLUGINS=y -CONFIG_SND_PCMTEST=m -CONFIG_SND_PCM_TIMER=y -CONFIG_SND_PCM_XRUN_DEBUG=y -# CONFIG_SND_PCSP is not set -CONFIG_SND_PCXHR=m -CONFIG_SND_PORTMAN2X4=m -# CONFIG_SND_PPC is not set -CONFIG_SND_PROC_FS=y -CONFIG_SND_RIPTIDE=m -CONFIG_SND_RME32=m -CONFIG_SND_RME9652=m -CONFIG_SND_RME96=m -# CONFIG_SND_SAMSUNG_PCM is not set -# CONFIG_SND_SAMSUNG_SPDIF is not set -CONFIG_SND_SEQ_DUMMY=m -CONFIG_SND_SEQ_HRTIMER_DEFAULT=y -CONFIG_SND_SEQUENCER=m -CONFIG_SND_SEQUENCER_OSS=m -CONFIG_SND_SEQ_UMP=y -CONFIG_SND_SERIAL_GENERIC=m -CONFIG_SND_SERIAL_U16550=m -CONFIG_SND_SIMPLE_CARD=m -CONFIG_SND_SIMPLE_CARD_UTILS=m -# CONFIG_SND_SIS7019 is not set -CONFIG_SND_SOC_AC97_BUS=y -CONFIG_SND_SOC_AC97_CODEC=m -# CONFIG_SND_SOC_ADAU1372_I2C is not set -# CONFIG_SND_SOC_ADAU1372_SPI is not set -# CONFIG_SND_SOC_ADAU1701 is not set -CONFIG_SND_SOC_ADAU1761_I2C=m -CONFIG_SND_SOC_ADAU1761_SPI=m -CONFIG_SND_SOC_ADAU7002=m -CONFIG_SND_SOC_ADAU7118_HW=m -CONFIG_SND_SOC_ADAU7118_I2C=m -CONFIG_SND_SOC_ADI_AXI_I2S=m -CONFIG_SND_SOC_ADI_AXI_SPDIF=m -CONFIG_SND_SOC_ADI=m -# CONFIG_SND_SOC_AK4104 is not set -# CONFIG_SND_SOC_AK4118 is not set -# CONFIG_SND_SOC_AK4375 is not set -# CONFIG_SND_SOC_AK4458 is not set -# CONFIG_SND_SOC_AK4554 is not set -# CONFIG_SND_SOC_AK4613 is not set -CONFIG_SND_SOC_AK4619=m -# CONFIG_SND_SOC_AK4642 is not set -# CONFIG_SND_SOC_AK5386 is not set -CONFIG_SND_SOC_AK5558=m -# CONFIG_SND_SOC_ALC5623 is not set -# CONFIG_SND_SOC_AMD_ACP3x is not set -# CONFIG_SND_SOC_AMD_ACP5x is not set -# CONFIG_SND_SOC_AMD_ACP6x is not set -# CONFIG_SND_SOC_AMD_ACP_COMMON is not set -# CONFIG_SND_SOC_AMD_ACP is not set -# CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH is not set -# CONFIG_SND_SOC_AMD_CZ_RT5645_MACH is not set -# CONFIG_SND_SOC_AMD_PS is not set -# CONFIG_SND_SOC_AMD_PS_MACH is not set -# CONFIG_SND_SOC_AMD_RENOIR is not set -# CONFIG_SND_SOC_AMD_RENOIR_MACH is not set -# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set -# CONFIG_SND_SOC_AMD_RV_RT5682_MACH is not set -# CONFIG_SND_SOC_AMD_VANGOGH_MACH is not set -# CONFIG_SND_SOC_AMD_YC_MACH is not set -# CONFIG_SND_SOC_APQ8016_SBC is not set -# CONFIG_SND_SOC_ARNDALE is not set -CONFIG_SND_SOC_AUDIO_IIO_AUX=m -CONFIG_SND_SOC_AW8738=m -CONFIG_SND_SOC_AW87390=m -CONFIG_SND_SOC_AW88261=m -CONFIG_SND_SOC_AW88395=m -CONFIG_SND_SOC_AW88399=m -CONFIG_SND_SOC_BD28623=m -CONFIG_SND_SOC_BT_SCO=m -CONFIG_SND_SOC_CARD_KUNIT_TEST=m -CONFIG_SND_SOC_CHV3_CODEC=m -CONFIG_SND_SOC_CHV3_I2S=m -# CONFIG_SND_SOC_CROS_EC_CODEC is not set -# CONFIG_SND_SOC_CS35L32 is not set -# CONFIG_SND_SOC_CS35L33 is not set -CONFIG_SND_SOC_CS35L34=m -CONFIG_SND_SOC_CS35L35=m -CONFIG_SND_SOC_CS35L36=m -# CONFIG_SND_SOC_CS35L41_I2C is not set -# CONFIG_SND_SOC_CS35L41_SPI is not set -CONFIG_SND_SOC_CS35L45_I2C=m -CONFIG_SND_SOC_CS35L45_SPI=m -CONFIG_SND_SOC_CS35L56_I2C=m -CONFIG_SND_SOC_CS35L56_SPI=m -CONFIG_SND_SOC_CS40L50=m -CONFIG_SND_SOC_CS4234=m -# CONFIG_SND_SOC_CS4265 is not set -# CONFIG_SND_SOC_CS4270 is not set -# CONFIG_SND_SOC_CS4271_I2C is not set -# CONFIG_SND_SOC_CS4271_SPI is not set -CONFIG_SND_SOC_CS42L42=m -CONFIG_SND_SOC_CS42L42_SDW=m -CONFIG_SND_SOC_CS42L43=m -CONFIG_SND_SOC_CS42L43_SDW=m -# CONFIG_SND_SOC_CS42L51_I2C is not set -# CONFIG_SND_SOC_CS42L52 is not set -# CONFIG_SND_SOC_CS42L56 is not set -# CONFIG_SND_SOC_CS42L73 is not set -CONFIG_SND_SOC_CS42L83=m -# CONFIG_SND_SOC_CS42XX8_I2C is not set -CONFIG_SND_SOC_CS43130=m -# CONFIG_SND_SOC_CS4341 is not set -# CONFIG_SND_SOC_CS4349 is not set -CONFIG_SND_SOC_CS530X_I2C=m -# CONFIG_SND_SOC_CS53L30 is not set -CONFIG_SND_SOC_CS_AMP_LIB_TEST=m -CONFIG_SND_SOC_CX2072X=m -CONFIG_SND_SOC_DA7213=m -# CONFIG_SND_SOC_DAVINCI_MCASP is not set -CONFIG_SND_SOC_DMIC=m -CONFIG_SND_SOC_ES7134=m -# CONFIG_SND_SOC_ES7241 is not set -CONFIG_SND_SOC_ES8311=m -# CONFIG_SND_SOC_ES8316 is not set -CONFIG_SND_SOC_ES8326=m -CONFIG_SND_SOC_ES8328_I2C=m -CONFIG_SND_SOC_ES8328=m -CONFIG_SND_SOC_ES8328_SPI=m -# CONFIG_SND_SOC_FSL_ASOC_CARD is not set -# CONFIG_SND_SOC_FSL_ASRC is not set -# CONFIG_SND_SOC_FSL_AUD2HTX is not set -# CONFIG_SND_SOC_FSL_AUDMIX is not set -# CONFIG_SND_SOC_FSL_EASRC is not set -# CONFIG_SND_SOC_FSL_ESAI is not set -# CONFIG_SND_SOC_FSL_MICFIL is not set -# CONFIG_SND_SOC_FSL_MQS is not set -# CONFIG_SND_SOC_FSL_RPMSG is not set -# CONFIG_SND_SOC_FSL_SAI is not set -# CONFIG_SND_SOC_FSL_SPDIF is not set -# CONFIG_SND_SOC_FSL_SSI is not set -# CONFIG_SND_SOC_FSL_XCVR is not set -CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y -# CONFIG_SND_SOC_GTM601 is not set -CONFIG_SND_SOC_HDAC_HDA=m -CONFIG_SND_SOC_HDAC_HDMI=m -CONFIG_SND_SOC_HDA=m -CONFIG_SND_SOC_HDMI_CODEC=m -# CONFIG_SND_SOC_ICS43432 is not set -CONFIG_SND_SOC_IDT821034=m -# CONFIG_SND_SOC_IMG is not set -# CONFIG_SND_SOC_IMX_AUDIO_RPMSG is not set -# CONFIG_SND_SOC_IMX_AUDMIX is not set -# CONFIG_SND_SOC_IMX_AUDMUX is not set -# CONFIG_SND_SOC_IMX_CARD is not set -# CONFIG_SND_SOC_IMX_ES8328 is not set -# CONFIG_SND_SOC_IMX_HDMI is not set -# CONFIG_SND_SOC_IMX_PCM_RPMSG is not set -# CONFIG_SND_SOC_IMX_RPMSG is not set -# CONFIG_SND_SOC_IMX_SGTL5000 is not set -# CONFIG_SND_SOC_IMX_SPDIF is not set -# CONFIG_SND_SOC_INNO_RK3036 is not set -# CONFIG_SND_SOC_INTEL_AVS is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_DA7219 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_DMIC is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_HDAUDIO is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_I2S_TEST is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98357A is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98373 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98927 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_NAU8825 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_PROBE is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT274 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT286 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT298 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT5682 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_SSM4567 is not set -# CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH is not set -# CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH is not set -# CONFIG_SND_SOC_INTEL_BROADWELL_MACH is not set -# CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_BXT_RT298_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_WM5102_MACH is not set -# CONFIG_SND_SOC_INTEL_CATPT is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH is not set -# CONFIG_SND_SOC_INTEL_CML_H is not set -# CONFIG_SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_CML_LP is not set -# CONFIG_SND_SOC_INTEL_EHL_RT5660_MACH is not set -# CONFIG_SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_HASWELL_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5660_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_RT286_MACH is not set -# CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC is not set -# CONFIG_SND_SOC_INTEL_SKYLAKE is not set -# CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_SSP_AMP_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH is not set -# CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH is not set -# CONFIG_SND_SOC_INTEL_SST is not set -# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set -# CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set -CONFIG_SND_SOC_JH7110_PWMDAC=m -CONFIG_SND_SOC_JH7110_TDM=m -# CONFIG_SND_SOC_LPASS_RX_MACRO is not set -# CONFIG_SND_SOC_LPASS_TX_MACRO is not set -# CONFIG_SND_SOC_LPASS_VA_MACRO is not set -# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set -CONFIG_SND_SOC=m -CONFIG_SND_SOC_MAX9759=m -CONFIG_SND_SOC_MAX98088=m -# CONFIG_SND_SOC_MAX98090 is not set -# CONFIG_SND_SOC_MAX98357A is not set -CONFIG_SND_SOC_MAX98363=m -CONFIG_SND_SOC_MAX98373_I2C=m -CONFIG_SND_SOC_MAX98373=m -CONFIG_SND_SOC_MAX98373_SDW=m -CONFIG_SND_SOC_MAX98388=m -CONFIG_SND_SOC_MAX98390=m -CONFIG_SND_SOC_MAX98396=m -# CONFIG_SND_SOC_MAX98504 is not set -CONFIG_SND_SOC_MAX98520=m -# CONFIG_SND_SOC_MAX9860 is not set -CONFIG_SND_SOC_MAX9867=m -CONFIG_SND_SOC_MAX98927=m -# CONFIG_SND_SOC_MESON_T9015 is not set -# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set -# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set -# CONFIG_SND_SOC_MSM8996 is not set -# CONFIG_SND_SOC_MT6351 is not set -CONFIG_SND_SOC_MT6357=m -# CONFIG_SND_SOC_MT6358 is not set -# CONFIG_SND_SOC_MT6660 is not set -# CONFIG_SND_SOC_MTK_BTCVSD is not set -# CONFIG_SND_SOC_NAU8315 is not set -# CONFIG_SND_SOC_NAU8540 is not set -# CONFIG_SND_SOC_NAU8810 is not set -# CONFIG_SND_SOC_NAU8821 is not set -# CONFIG_SND_SOC_NAU8822 is not set -CONFIG_SND_SOC_NAU8824=m -# CONFIG_SND_SOC_NAU8825 is not set -# CONFIG_SND_SOC_ODROID is not set -# CONFIG_SND_SOC_OMAP_ABE_TWL6040 is not set -# CONFIG_SND_SOC_OMAP_DMIC is not set -# CONFIG_SND_SOC_OMAP_HDMI is not set -# CONFIG_SND_SOC_OMAP_MCBSP is not set -# CONFIG_SND_SOC_OMAP_MCPDM is not set -# CONFIG_SND_SOC_PCM1681 is not set -CONFIG_SND_SOC_PCM1789_I2C=m -# CONFIG_SND_SOC_PCM179X_I2C is not set -# CONFIG_SND_SOC_PCM179X_SPI is not set -CONFIG_SND_SOC_PCM186X_I2C=m -CONFIG_SND_SOC_PCM186X_SPI=m -CONFIG_SND_SOC_PCM3060_I2C=m -CONFIG_SND_SOC_PCM3060_SPI=m -# CONFIG_SND_SOC_PCM3168A_I2C is not set -# CONFIG_SND_SOC_PCM3168A_SPI is not set -# CONFIG_SND_SOC_PCM5102A is not set -# CONFIG_SND_SOC_PCM512x_I2C is not set -# CONFIG_SND_SOC_PCM512x is not set -# CONFIG_SND_SOC_PCM512x_SPI is not set -CONFIG_SND_SOC_PCM6240=m -# CONFIG_SND_SOC_PEB2466 is not set -# CONFIG_SND_SOC_QCOM is not set -# CONFIG_SND_SOC_QDSP6 is not set -# CONFIG_SND_SOC_RK3288_HDMI_ANALOG is not set -# CONFIG_SND_SOC_RK3328 is not set -# CONFIG_SND_SOC_RK3399_GRU_SOUND is not set -# CONFIG_SND_SOC_RK817 is not set -CONFIG_SND_SOC_RL6231=m -CONFIG_SND_SOC_RT1017_SDCA_SDW=m -# CONFIG_SND_SOC_RT1308 is not set -# CONFIG_SND_SOC_RT1308_SDW is not set -# CONFIG_SND_SOC_RT1316_SDW is not set -CONFIG_SND_SOC_RT1318_SDW=m -CONFIG_SND_SOC_RT1320_SDW=m -# CONFIG_SND_SOC_RT5616 is not set -# CONFIG_SND_SOC_RT5631 is not set -CONFIG_SND_SOC_RT5640=m -CONFIG_SND_SOC_RT5659=m -CONFIG_SND_SOC_RT5660=m -# CONFIG_SND_SOC_RT5663 is not set -# CONFIG_SND_SOC_RT5677 is not set -# CONFIG_SND_SOC_RT5677_SPI is not set -CONFIG_SND_SOC_RT5682_SDW=m -CONFIG_SND_SOC_RT700_SDW=m -CONFIG_SND_SOC_RT711_SDCA_SDW=m -CONFIG_SND_SOC_RT711_SDW=m -CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW=m -# CONFIG_SND_SOC_RT712_SDCA_SDW is not set -CONFIG_SND_SOC_RT715_SDCA_SDW=m -CONFIG_SND_SOC_RT715_SDW=m -CONFIG_SND_SOC_RT722_SDCA_SDW=m -# CONFIG_SND_SOC_RT9120 is not set -CONFIG_SND_SOC_RTQ9128=m -# CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994 is not set -# CONFIG_SND_SOC_SAMSUNG is not set -# CONFIG_SND_SOC_SAMSUNG_MIDAS_WM1811 is not set -# CONFIG_SND_SOC_SAMSUNG_SMDK_SPDIF is not set -# CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994 is not set -# CONFIG_SND_SOC_SC7180 is not set -# CONFIG_SND_SOC_SDM845 is not set -# CONFIG_SND_SOC_SDW_MOCKUP is not set -# CONFIG_SND_SOC_SGTL5000 is not set -CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m -CONFIG_SND_SOC_SIMPLE_MUX=m -# CONFIG_SND_SOC_SM8250 is not set -CONFIG_SND_SOC_SMA1303=m -# CONFIG_SND_SOC_SMDK_WM8994_PCM is not set -# CONFIG_SND_SOC_SNOW is not set -CONFIG_SND_SOC_SOF_ACPI=m -# CONFIG_SND_SOC_SOF_ALDERLAKE is not set -# CONFIG_SND_SOC_SOF_AMD_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_APOLLOLAKE is not set -# CONFIG_SND_SOC_SOF_BAYTRAIL is not set -# CONFIG_SND_SOC_SOF_BROADWELL is not set -# CONFIG_SND_SOC_SOF_CANNONLAKE is not set -# CONFIG_SND_SOC_SOF_COFFEELAKE is not set -# CONFIG_SND_SOC_SOF_COMETLAKE is not set -# CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT is not set -# CONFIG_SND_SOC_SOF_ELKHARTLAKE is not set -# CONFIG_SND_SOC_SOF_GEMINILAKE is not set -# CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC is not set -# CONFIG_SND_SOC_SOF_HDA_LINK is not set -CONFIG_SND_SOC_SOF_HDA_PROBES=m -# CONFIG_SND_SOC_SOF_ICELAKE is not set -# CONFIG_SND_SOC_SOF_IMX8M_SUPPORT is not set -# CONFIG_SND_SOC_SOF_IMX8_SUPPORT is not set -# CONFIG_SND_SOC_SOF_IMX_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE is not set -# CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_JASPERLAKE is not set -# CONFIG_SND_SOC_SOF_KABYLAKE is not set -# CONFIG_SND_SOC_SOF_MERRIFIELD is not set -# CONFIG_SND_SOC_SOF_METEORLAKE is not set -# CONFIG_SND_SOC_SOF_MT8195 is not set -# CONFIG_SND_SOC_SOF_OF is not set -CONFIG_SND_SOC_SOF_PCI=m -# CONFIG_SND_SOC_SOF_SKYLAKE is not set -# CONFIG_SND_SOC_SOF_TIGERLAKE is not set -CONFIG_SND_SOC_SOF_TOPLEVEL=y -CONFIG_SND_SOC_SPDIF=m -# CONFIG_SND_SOC_SRC4XXX_I2C is not set -# CONFIG_SND_SOC_SSM2305 is not set -# CONFIG_SND_SOC_SSM2518 is not set -# CONFIG_SND_SOC_SSM2602_I2C is not set -# CONFIG_SND_SOC_SSM2602_SPI is not set -CONFIG_SND_SOC_SSM3515=m -# CONFIG_SND_SOC_SSM4567 is not set -# CONFIG_SND_SOC_STA32X is not set -# CONFIG_SND_SOC_STA350 is not set -CONFIG_SND_SOC_STARFIVE=m -# CONFIG_SND_SOC_STI_SAS is not set -# CONFIG_SND_SOC_STM32_DFSDM is not set -# CONFIG_SND_SOC_STM32_I2S is not set -# CONFIG_SND_SOC_STM32_SAI is not set -# CONFIG_SND_SOC_STM32_SPDIFRX is not set -# CONFIG_SND_SOC_STORM is not set -# CONFIG_SND_SOC_TAS2552 is not set -CONFIG_SND_SOC_TAS2562=m -CONFIG_SND_SOC_TAS2764=m -CONFIG_SND_SOC_TAS2770=m -CONFIG_SND_SOC_TAS2780=m -CONFIG_SND_SOC_TAS2781_I2C=m -# CONFIG_SND_SOC_TAS5086 is not set -# CONFIG_SND_SOC_TAS571X is not set -# CONFIG_SND_SOC_TAS5720 is not set -CONFIG_SND_SOC_TAS5805M=m -CONFIG_SND_SOC_TAS6424=m -CONFIG_SND_SOC_TDA7419=m -# CONFIG_SND_SOC_TEGRA186_DSPK is not set -# CONFIG_SND_SOC_TEGRA20_AC97 is not set -# CONFIG_SND_SOC_TEGRA20_DAS is not set -# CONFIG_SND_SOC_TEGRA20_I2S is not set -# CONFIG_SND_SOC_TEGRA20_SPDIF is not set -# CONFIG_SND_SOC_TEGRA210_ADMAIF is not set -# CONFIG_SND_SOC_TEGRA210_AHUB is not set -# CONFIG_SND_SOC_TEGRA210_DMIC is not set -# CONFIG_SND_SOC_TEGRA210_I2S is not set -# CONFIG_SND_SOC_TEGRA30_AHUB is not set -# CONFIG_SND_SOC_TEGRA30_I2S is not set -# CONFIG_SND_SOC_TEGRA_ALC5632 is not set -# CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD is not set -# CONFIG_SND_SOC_TEGRA is not set -# CONFIG_SND_SOC_TEGRA_MACHINE_DRV is not set -# CONFIG_SND_SOC_TEGRA_MAX98090 is not set -# CONFIG_SND_SOC_TEGRA_RT5640 is not set -# CONFIG_SND_SOC_TEGRA_RT5677 is not set -# CONFIG_SND_SOC_TEGRA_SGTL5000 is not set -# CONFIG_SND_SOC_TEGRA_TRIMSLICE is not set -# CONFIG_SND_SOC_TEGRA_WM8753 is not set -# CONFIG_SND_SOC_TEGRA_WM8903 is not set -# CONFIG_SND_SOC_TEGRA_WM9712 is not set -# CONFIG_SND_SOC_TFA9879 is not set -# CONFIG_SND_SOC_TFA989X is not set -CONFIG_SND_SOC_TLV320ADC3XXX=m -CONFIG_SND_SOC_TLV320ADCX140=m -# CONFIG_SND_SOC_TLV320AIC23_I2C is not set -# CONFIG_SND_SOC_TLV320AIC23 is not set -# CONFIG_SND_SOC_TLV320AIC23_SPI is not set -# CONFIG_SND_SOC_TLV320AIC31XX is not set -CONFIG_SND_SOC_TLV320AIC32X4_I2C=m -CONFIG_SND_SOC_TLV320AIC32X4_SPI=m -# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set -# CONFIG_SND_SOC_TLV320AIC3X is not set -# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set -# CONFIG_SND_SOC_TOPOLOGY_BUILD is not set -CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST=m -# CONFIG_SND_SOC_TPA6130A2 is not set -# CONFIG_SND_SOC_TS3A227E is not set -CONFIG_SND_SOC_TSCS42XX=m -# CONFIG_SND_SOC_TSCS454 is not set -# CONFIG_SND_SOC_UDA1334 is not set -CONFIG_SND_SOC_UTILS_KUNIT_TEST=m -# CONFIG_SND_SOC_WCD9335 is not set -CONFIG_SND_SOC_WCD937X_SDW=m -# CONFIG_SND_SOC_WCD938X_SDW is not set -CONFIG_SND_SOC_WCD939X_SDW=m -# CONFIG_SND_SOC_WM8510 is not set -# CONFIG_SND_SOC_WM8523 is not set -CONFIG_SND_SOC_WM8524=m -# CONFIG_SND_SOC_WM8580 is not set -# CONFIG_SND_SOC_WM8711 is not set -# CONFIG_SND_SOC_WM8728 is not set -CONFIG_SND_SOC_WM8731_I2C=m -CONFIG_SND_SOC_WM8731=m -CONFIG_SND_SOC_WM8731_SPI=m -# CONFIG_SND_SOC_WM8737 is not set -# CONFIG_SND_SOC_WM8741 is not set -# CONFIG_SND_SOC_WM8750 is not set -# CONFIG_SND_SOC_WM8753 is not set -# CONFIG_SND_SOC_WM8770 is not set -# CONFIG_SND_SOC_WM8776 is not set -# CONFIG_SND_SOC_WM8782 is not set -CONFIG_SND_SOC_WM8804_I2C=m -CONFIG_SND_SOC_WM8804=m -# CONFIG_SND_SOC_WM8804_SPI is not set -# CONFIG_SND_SOC_WM8903 is not set -# CONFIG_SND_SOC_WM8904 is not set -CONFIG_SND_SOC_WM8940=m -# CONFIG_SND_SOC_WM8960 is not set -CONFIG_SND_SOC_WM8961=m -# CONFIG_SND_SOC_WM8962 is not set -# CONFIG_SND_SOC_WM8974 is not set -# CONFIG_SND_SOC_WM8978 is not set -# CONFIG_SND_SOC_WM8985 is not set -# CONFIG_SND_SOC_WSA881X is not set -CONFIG_SND_SOC_WSA883X=m -CONFIG_SND_SOC_WSA884X=m -# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set -# CONFIG_SND_SOC_XILINX_I2S is not set -# CONFIG_SND_SOC_XILINX_SPDIF is not set -# CONFIG_SND_SOC_XTFPGA_I2S is not set -CONFIG_SND_SOC_ZL38060=m -CONFIG_SND_SONICVIBES=m -# CONFIG_SND_SPI is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI is not set -# CONFIG_SND_SUN4I_CODEC is not set -# CONFIG_SND_SUN4I_I2S is not set -# CONFIG_SND_SUN4I_SPDIF is not set -# CONFIG_SND_SUN50I_CODEC_ANALOG is not set -# CONFIG_SND_SUN8I_CODEC_ANALOG is not set -# CONFIG_SND_SUN8I_CODEC is not set -# CONFIG_SND_SUPPORT_OLD_API is not set -# CONFIG_SND_TEST_COMPONENT is not set -CONFIG_SND_TRIDENT=m -CONFIG_SND_UMP_LEGACY_RAWMIDI=y -CONFIG_SND_USB_6FIRE=m -CONFIG_SND_USB_AUDIO=m -CONFIG_SND_USB_AUDIO_MIDI_V2=y -CONFIG_SND_USB_CAIAQ_INPUT=y -CONFIG_SND_USB_CAIAQ=m -CONFIG_SND_USB_HIFACE=m -CONFIG_SND_USB_PODHD=m -CONFIG_SND_USB_POD=m -CONFIG_SND_USB_TONEPORT=m -CONFIG_SND_USB_UA101=m -CONFIG_SND_USB_US122L=m -CONFIG_SND_USB_USX2Y=m -CONFIG_SND_USB_VARIAX=m -CONFIG_SND_USB=y -CONFIG_SND_UTIMER=y -CONFIG_SND_VERBOSE_PRINTK=y -CONFIG_SND_VERBOSE_PROCFS=y -# CONFIG_SND_VIA82XX is not set -# CONFIG_SND_VIA82XX_MODEM is not set -CONFIG_SND_VIRMIDI=m -CONFIG_SND_VIRTIO=m -CONFIG_SND_VIRTUOSO=m -CONFIG_SND_VX222=m -# CONFIG_SND_X86 is not set -# CONFIG_SND_XEN_FRONTEND is not set -CONFIG_SND_YMFPCI=m -CONFIG_SNET_VDPA=m -CONFIG_SOC_STARFIVE=y -# CONFIG_SOC_TI is not set -CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM=y -CONFIG_SOFTLOCKUP_DETECTOR=y -CONFIG_SOFT_WATCHDOG=m -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_SONY_FF=y -# CONFIG_SONYPI is not set -CONFIG_SOPHGO_CV1800B_ADC=m -CONFIG_SOUND=m -CONFIG_SOUND_OSS_CORE_PRECLAIM=y -# CONFIG_SOUNDWIRE_AMD is not set -# CONFIG_SOUNDWIRE_CADENCE is not set -CONFIG_SOUNDWIRE_GENERIC_ALLOCATION=m -# CONFIG_SOUNDWIRE_INTEL is not set -# CONFIG_SOUNDWIRE is not set -# CONFIG_SOUNDWIRE_QCOM is not set -CONFIG_SPARSE_IRQ=y -CONFIG_SPARSEMEM_EXTREME=y -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_SPARSEMEM_VMEMMAP=y -CONFIG_SPARSEMEM=y -CONFIG_SPEAKUP=m -CONFIG_SPEAKUP_SYNTH_ACNTSA=m -CONFIG_SPEAKUP_SYNTH_APOLLO=m -CONFIG_SPEAKUP_SYNTH_AUDPTR=m -CONFIG_SPEAKUP_SYNTH_BNS=m -# CONFIG_SPEAKUP_SYNTH_DECEXT is not set -CONFIG_SPEAKUP_SYNTH_DECTLK=m -# CONFIG_SPEAKUP_SYNTH_DUMMY is not set -CONFIG_SPEAKUP_SYNTH_LTLK=m -CONFIG_SPEAKUP_SYNTH_SOFT=m -CONFIG_SPEAKUP_SYNTH_SPKOUT=m -CONFIG_SPEAKUP_SYNTH_TXPRT=m -CONFIG_SPI_ALTERA_CORE=m -CONFIG_SPI_ALTERA_DFL=m -# CONFIG_SPI_ALTERA is not set -CONFIG_SPI_AMD=y -CONFIG_SPI_AX88796C_COMPRESSION=y -CONFIG_SPI_AX88796C=m -# CONFIG_SPI_AXI_SPI_ENGINE is not set -# CONFIG_SPI_BITBANG is not set -# CONFIG_SPI_CADENCE is not set -CONFIG_SPI_CADENCE_QUADSPI=m -# CONFIG_SPI_CADENCE_XSPI is not set -CONFIG_SPI_CH341=m -# CONFIG_SPI_CS42L43 is not set -# CONFIG_SPI_DEBUG is not set -# CONFIG_SPI_DESIGNWARE is not set -CONFIG_SPI_DLN2=m -CONFIG_SPI_FSL_LPSPI=m -# CONFIG_SPI_FSL_SPI is not set -# CONFIG_SPI_GPIO is not set -# CONFIG_SPI_HISI_KUNPENG is not set -# CONFIG_SPI_HISI_SFC_V3XX is not set -# CONFIG_SPI_LANTIQ_SSC is not set -# CONFIG_SPI_LOOPBACK_TEST is not set -CONFIG_SPI_MASTER=y -CONFIG_SPI_MEM=y -CONFIG_SPI_MICROCHIP_CORE=m -CONFIG_SPI_MICROCHIP_CORE_QSPI=m -CONFIG_SPI_MUX=m -# CONFIG_SPI_MXIC is not set -# CONFIG_SPI_OC_TINY is not set -CONFIG_SPI_PCI1XXXX=m -# CONFIG_SPI_PL022 is not set -# CONFIG_SPI_PXA2XX is not set -# CONFIG_SPI_ROCKCHIP is not set -# CONFIG_SPI_SC18IS602 is not set -CONFIG_SPI_SIFIVE=y -# CONFIG_SPI_SLAVE is not set -CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m -CONFIG_SPI_SLAVE_TIME=m -CONFIG_SPI_SN_F_OSPI=m -CONFIG_SPI_SPIDEV=m -# CONFIG_SPI_TLE62X0 is not set -# CONFIG_SPI_TOPCLIFF_PCH is not set -# CONFIG_SPI_XCOMM is not set -# CONFIG_SPI_XILINX is not set -CONFIG_SPI=y -# CONFIG_SPI_ZYNQMP_GQSPI is not set -# CONFIG_SPMI_HISI3670 is not set -# CONFIG_SPMI is not set -# CONFIG_SPS30_I2C is not set -# CONFIG_SPS30_SERIAL is not set -# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set -# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set -# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is not set -CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU=y -# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set -# CONFIG_SQUASHFS_DECOMP_MULTI is not set -CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y -# CONFIG_SQUASHFS_DECOMP_SINGLE is not set -# CONFIG_SQUASHFS_EMBEDDED is not set -# CONFIG_SQUASHFS_FILE_CACHE is not set -CONFIG_SQUASHFS_FILE_DIRECT=y -CONFIG_SQUASHFS_LZ4=y -CONFIG_SQUASHFS_LZO=y -CONFIG_SQUASHFS=m -CONFIG_SQUASHFS_XATTR=y -CONFIG_SQUASHFS_XZ=y -CONFIG_SQUASHFS_ZLIB=y -CONFIG_SQUASHFS_ZSTD=y -# CONFIG_SRAM is not set -# CONFIG_SRF04 is not set -# CONFIG_SRF08 is not set -CONFIG_SSB_DRIVER_GPIO=y -CONFIG_SSB_DRIVER_PCICORE=y -CONFIG_SSB=m -CONFIG_SSB_PCIHOST=y -CONFIG_SSB_SDIOHOST=y -# CONFIG_SSFDC is not set -CONFIG_SSIF_IPMI_BMC=m -CONFIG_STACKDEPOT_MAX_FRAMES=64 -CONFIG_STACK_HASH_ORDER=20 -CONFIG_STACKINIT_KUNIT_TEST=m -CONFIG_STACKPROTECTOR_PER_TASK=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_STACKPROTECTOR=y -# CONFIG_STACKTRACE_BUILD_ID is not set -CONFIG_STACK_TRACER=y -CONFIG_STACK_VALIDATION=y -# CONFIG_STAGING_MEDIA_DEPRECATED is not set -CONFIG_STAGING_MEDIA=y -CONFIG_STAGING=y -CONFIG_STANDALONE=y -CONFIG_STARFIVE_JH8100_INTC=y -# CONFIG_STARFIVE_STARLINK_CACHE is not set -# CONFIG_STARFIVE_STARLINK_PMU is not set -CONFIG_STARFIVE_WATCHDOG=y -# CONFIG_STATIC_CALL_SELFTEST is not set -# CONFIG_STATIC_KEYS_SELFTEST is not set -# CONFIG_STATIC_USERMODEHELPER is not set -CONFIG_STE10XP=m -CONFIG_STEAM_FF=y -CONFIG_STK3310=m -# CONFIG_STK8312 is not set -# CONFIG_STK8BA50 is not set -# CONFIG_STM_DUMMY is not set -CONFIG_STM=m -CONFIG_STMMAC_ETH=m -# CONFIG_STMMAC_PCI is not set -CONFIG_STMMAC_PLATFORM=m -# CONFIG_STMMAC_SELFTESTS is not set -# CONFIG_STM_PROTO_BASIC is not set -# CONFIG_STM_PROTO_SYS_T is not set -# CONFIG_STM_SOURCE_CONSOLE is not set -# CONFIG_STM_SOURCE_FTRACE is not set -# CONFIG_STM_SOURCE_HEARTBEAT is not set -CONFIG_STRCAT_KUNIT_TEST=m -CONFIG_STRICT_DEVMEM=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_STRING_HELPERS_KUNIT_TEST=m -CONFIG_STRING_KUNIT_TEST=m -# CONFIG_STRING_SELFTEST is not set -CONFIG_STRIP_ASM_SYMS=y -CONFIG_STRSCPY_KUNIT_TEST=m -CONFIG_ST_UVIS25_I2C=m -CONFIG_ST_UVIS25=m -CONFIG_ST_UVIS25_SPI=m -CONFIG_SUN20I_D1_CCU=y -CONFIG_SUN20I_D1_R_CCU=y -# CONFIG_SUN50I_DE2_BUS is not set -# CONFIG_SUN50I_IOMMU is not set -CONFIG_SUNDANCE=m -# CONFIG_SUNDANCE_MMIO is not set -CONFIG_SUNGEM=m -CONFIG_SUN_PARTITION=y -CONFIG_SUNRPC_DEBUG=y -CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES=y -CONFIG_SUNRPC_GSS=m -CONFIG_SUNRPC=m -CONFIG_SUNRPC_XPRT_RDMA=m -# CONFIG_SURFACE_3_POWER_OPREGION is not set -CONFIG_SURFACE_ACPI_NOTIFY=m -CONFIG_SURFACE_AGGREGATOR_BUS=y -CONFIG_SURFACE_AGGREGATOR_CDEV=m -# CONFIG_SURFACE_AGGREGATOR_ERROR_INJECTION is not set -CONFIG_SURFACE_AGGREGATOR_HUB=m -CONFIG_SURFACE_AGGREGATOR=m -CONFIG_SURFACE_AGGREGATOR_REGISTRY=m -CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH=m -CONFIG_SURFACE_DTX=m -CONFIG_SURFACE_GPE=m -CONFIG_SURFACE_HID=m -CONFIG_SURFACE_HOTPLUG=m -CONFIG_SURFACE_KBD=m -CONFIG_SURFACE_PLATFORM_PROFILE=m -CONFIG_SURFACE_PLATFORMS=y -CONFIG_SURFACE_PRO3_BUTTON=m -# CONFIG_SUSPEND_SKIP_SYNC is not set -CONFIG_SUSPEND=y -CONFIG_SWAP=y -# CONFIG_SWIOTLB_DYNAMIC is not set -# CONFIG_SW_SYNC is not set -CONFIG_SX9310=m -CONFIG_SX9324=m -CONFIG_SX9360=m -# CONFIG_SX9500 is not set -CONFIG_SYMBOLIC_ERRNAME=y -CONFIG_SYNC_FILE=y -CONFIG_SYNCLINK_GT=m -CONFIG_SYN_COOKIES=y -CONFIG_SYNTH_EVENT_GEN_TEST=m -CONFIG_SYNTH_EVENTS=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_SYSCTL_KUNIT_TEST=m -CONFIG_SYSCTL=y -CONFIG_SYSFB_SIMPLEFB=y -# CONFIG_SYSFS_DEPRECATED is not set -CONFIG_SYSFS_SYSCALL=y -# CONFIG_SYSTEM76_ACPI is not set -CONFIG_SYSTEM_BLACKLIST_AUTH_UPDATE=y -CONFIG_SYSTEM_BLACKLIST_HASH_LIST="" -CONFIG_SYSTEM_BLACKLIST_KEYRING=y -CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE=4096 -CONFIG_SYSTEM_EXTRA_CERTIFICATE=y -# CONFIG_SYSTEMPORT is not set -# CONFIG_SYSTEM_REVOCATION_LIST is not set -CONFIG_SYSTEM_TRUSTED_KEYRING=y -CONFIG_SYSTEM_TRUSTED_KEYS="" -# CONFIG_SYSV68_PARTITION is not set -CONFIG_SYSV_FS=m -CONFIG_SYSVIPC=y -# CONFIG_T5403 is not set -CONFIG_TABLET_SERIAL_WACOM4=m -CONFIG_TABLET_USB_ACECAD=m -CONFIG_TABLET_USB_AIPTEK=m -CONFIG_TABLET_USB_HANWANG=m -CONFIG_TABLET_USB_KBTAB=m -CONFIG_TABLET_USB_PEGASUS=m -CONFIG_TARGET_CORE=m -CONFIG_TASK_DELAY_ACCT=y -CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_TASKS_RCU=y -CONFIG_TASKSTATS=y -CONFIG_TASK_XACCT=y -CONFIG_TCG_ATMEL=m -CONFIG_TCG_CRB=y -# CONFIG_TCG_INFINEON is not set -CONFIG_TCG_NSC=m -CONFIG_TCG_TIS_I2C_ATMEL=m -CONFIG_TCG_TIS_I2C_CR50=m -CONFIG_TCG_TIS_I2C_INFINEON=m -CONFIG_TCG_TIS_I2C=m -CONFIG_TCG_TIS_I2C_NUVOTON=m -CONFIG_TCG_TIS_SPI_CR50=y -CONFIG_TCG_TIS_SPI=m -# CONFIG_TCG_TIS_ST33ZP24_I2C is not set -# CONFIG_TCG_TIS_ST33ZP24_SPI is not set -CONFIG_TCG_TIS=y -CONFIG_TCG_TPM2_HMAC=y -CONFIG_TCG_TPM=y -CONFIG_TCG_VTPM_PROXY=m -# CONFIG_TCG_XEN is not set -CONFIG_TCM_FC=m -CONFIG_TCM_FILEIO=m -CONFIG_TCM_IBLOCK=m -CONFIG_TCM_PSCSI=m -# CONFIG_TCM_QLA2XXX_DEBUG is not set -CONFIG_TCM_QLA2XXX=m -CONFIG_TCM_USER2=m -CONFIG_TCP_AO=y -CONFIG_TCP_CONG_ADVANCED=y -CONFIG_TCP_CONG_BBR=m -CONFIG_TCP_CONG_BIC=m -CONFIG_TCP_CONG_CDG=m -CONFIG_TCP_CONG_CUBIC=y -CONFIG_TCP_CONG_DCTCP=m -CONFIG_TCP_CONG_HSTCP=m -CONFIG_TCP_CONG_HTCP=m -CONFIG_TCP_CONG_HYBLA=m -CONFIG_TCP_CONG_ILLINOIS=m -CONFIG_TCP_CONG_LP=m -CONFIG_TCP_CONG_NV=m -CONFIG_TCP_CONG_SCALABLE=m -CONFIG_TCP_CONG_VEGAS=m -CONFIG_TCP_CONG_VENO=m -CONFIG_TCP_CONG_WESTWOOD=m -CONFIG_TCP_CONG_YEAH=m -CONFIG_TCP_MD5SIG=y -# CONFIG_TCS3414 is not set -# CONFIG_TCS3472 is not set -CONFIG_TDX_GUEST_DRIVER=m -CONFIG_TEE=m -CONFIG_TEHUTI=m -CONFIG_TEHUTI_TN40=m -CONFIG_TELCLOCK=m -CONFIG_TERANETICS_PHY=m -# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set -# CONFIG_TEST_BITMAP is not set -# CONFIG_TEST_BITOPS is not set -# CONFIG_TEST_BLACKHOLE_DEV is not set -CONFIG_TEST_BPF=m -# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set -CONFIG_TEST_CPUMASK=m -# CONFIG_TEST_DHRY is not set -# CONFIG_TEST_DIV64 is not set -CONFIG_TEST_DYNAMIC_DEBUG=m -# CONFIG_TEST_FIRMWARE is not set -CONFIG_TEST_FPU=m -# CONFIG_TEST_FREE_PAGES is not set -# CONFIG_TEST_HASH is not set -# CONFIG_TEST_HEXDUMP is not set -CONFIG_TEST_HMM=m -# CONFIG_TEST_IDA is not set -CONFIG_TEST_IOV_ITER=m -# CONFIG_TEST_KMOD is not set -CONFIG_TEST_KSTRTOX=y -CONFIG_TEST_LIST_SORT=m -# CONFIG_TEST_LKM is not set -CONFIG_TEST_LOCKUP=m -# CONFIG_TEST_MAPLE_TREE is not set -# CONFIG_TEST_MEMCAT_P is not set -# CONFIG_TEST_MEMINIT is not set -CONFIG_TEST_MIN_HEAP=m -# CONFIG_TEST_MULDIV64 is not set -# CONFIG_TEST_OBJAGG is not set -# CONFIG_TEST_OBJPOOL is not set -# CONFIG_TEST_OVERFLOW is not set -# CONFIG_TEST_PARMAN is not set -# CONFIG_TEST_POWER is not set -# CONFIG_TEST_PRINTF is not set -# CONFIG_TEST_REF_TRACKER is not set -# CONFIG_TEST_RHASHTABLE is not set -# CONFIG_TEST_SCANF is not set -# CONFIG_TEST_SIPHASH is not set -CONFIG_TEST_SORT=m -# CONFIG_TEST_STACKINIT is not set -# CONFIG_TEST_STATIC_KEYS is not set -CONFIG_TEST_STRING_HELPERS=m -# CONFIG_TEST_STRSCPY is not set -# CONFIG_TEST_SYSCTL is not set -# CONFIG_TEST_UBSAN is not set -# CONFIG_TEST_UDELAY is not set -# CONFIG_TEST_USER_COPY is not set -# CONFIG_TEST_UUID is not set -CONFIG_TEST_VMALLOC=m -# CONFIG_TEST_XARRAY is not set -# CONFIG_THERMAL_CORE_TESTING is not set -# CONFIG_THERMAL_DEBUGFS is not set -# CONFIG_THERMAL_DEFAULT_GOV_BANG_BANG is not set -# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set -CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y -# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set -CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 -# CONFIG_THERMAL_EMULATION is not set -# CONFIG_THERMAL_GOV_BANG_BANG is not set -CONFIG_THERMAL_GOV_FAIR_SHARE=y -# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set -CONFIG_THERMAL_GOV_STEP_WISE=y -# CONFIG_THERMAL_GOV_USER_SPACE is not set -CONFIG_THERMAL_HWMON=y -# CONFIG_THERMAL_MMIO is not set -CONFIG_THERMAL_NETLINK=y -# CONFIG_THERMAL_OF is not set -CONFIG_THERMAL_STATISTICS=y -# CONFIG_THERMAL_WRITABLE_TRIPS is not set -CONFIG_THERMAL=y -CONFIG_THREAD_SIZE_ORDER=3 -CONFIG_THRUSTMASTER_FF=y -# CONFIG_TI_ADC081C is not set -# CONFIG_TI_ADC0832 is not set -# CONFIG_TI_ADC084S021 is not set -# CONFIG_TI_ADC108S102 is not set -# CONFIG_TI_ADC12138 is not set -CONFIG_TI_ADC128S052=m -# CONFIG_TI_ADC161S626 is not set -CONFIG_TI_ADS1015=m -CONFIG_TI_ADS1100=m -# CONFIG_TI_ADS1119 is not set -# CONFIG_TI_ADS124S08 is not set -# CONFIG_TI_ADS1298 is not set -CONFIG_TI_ADS131E08=m -CONFIG_TI_ADS7924=m -# CONFIG_TI_ADS7950 is not set -CONFIG_TI_ADS8344=m -# CONFIG_TI_ADS8688 is not set -# CONFIG_TICK_CPU_ACCOUNTING is not set -# CONFIG_TI_CPSW_PHY_SEL is not set -# CONFIG_TI_DAC082S085 is not set -# CONFIG_TI_DAC5571 is not set -CONFIG_TI_DAC7311=m -# CONFIG_TI_DAC7612 is not set -CONFIG_TIFM_7XX1=m -CONFIG_TIFM_CORE=m -CONFIG_TIGON3_HWMON=y -CONFIG_TIGON3=m -CONFIG_TI_LMP92064=m -CONFIG_TIME_KUNIT_TEST=m -CONFIG_TIME_NS=y -CONFIG_TIMERFD=y -CONFIG_TIMERLAT_TRACER=y -# CONFIG_TINYDRM_HX8357D is not set -CONFIG_TINYDRM_ILI9163=m -# CONFIG_TINYDRM_ILI9225 is not set -# CONFIG_TINYDRM_ILI9341 is not set -CONFIG_TINYDRM_ILI9486=m -# CONFIG_TINYDRM_MI0283QT is not set -# CONFIG_TINYDRM_REPAPER is not set -# CONFIG_TINYDRM_ST7586 is not set -# CONFIG_TINYDRM_ST7735R is not set -CONFIG_TIPC_CRYPTO=y -CONFIG_TIPC_DIAG=m -CONFIG_TIPC=m -# CONFIG_TIPC_MEDIA_IB is not set -CONFIG_TIPC_MEDIA_UDP=y -# CONFIG_TI_ST is not set -# CONFIG_TI_TLC4541 is not set -# CONFIG_TI_TMAG5273 is not set -CONFIG_TI_TSC2046=m -CONFIG_TLAN=m -CONFIG_TLS_DEVICE=y -CONFIG_TLS=m -# CONFIG_TLS_TOE is not set -# CONFIG_TMP006 is not set -# CONFIG_TMP007 is not set -CONFIG_TMP117=m -CONFIG_TMPFS_INODE64=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_TMPFS_QUOTA=y -CONFIG_TMPFS_XATTR=y -CONFIG_TMPFS=y -CONFIG_TORTURE_TEST=m -# CONFIG_TOUCHSCREEN_AD7877 is not set -# CONFIG_TOUCHSCREEN_AD7879 is not set -# CONFIG_TOUCHSCREEN_ADC is not set -# CONFIG_TOUCHSCREEN_ADS7846 is not set -# CONFIG_TOUCHSCREEN_AR1021_I2C is not set -CONFIG_TOUCHSCREEN_ATMEL_MXT=m -# CONFIG_TOUCHSCREEN_ATMEL_MXT_T37 is not set -CONFIG_TOUCHSCREEN_AUO_PIXCIR=m -# CONFIG_TOUCHSCREEN_BU21013 is not set -# CONFIG_TOUCHSCREEN_BU21029 is not set -# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set -# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set -CONFIG_TOUCHSCREEN_COLIBRI_VF50=m -CONFIG_TOUCHSCREEN_CY8CTMA140=m -# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set -# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set -CONFIG_TOUCHSCREEN_CYTTSP5=m -# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set -# CONFIG_TOUCHSCREEN_DMI is not set -# CONFIG_TOUCHSCREEN_DYNAPRO is not set -CONFIG_TOUCHSCREEN_EDT_FT5X06=m -CONFIG_TOUCHSCREEN_EETI=m -CONFIG_TOUCHSCREEN_EGALAX=m -# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set -# CONFIG_TOUCHSCREEN_EKTF2127 is not set -CONFIG_TOUCHSCREEN_ELAN=m -# CONFIG_TOUCHSCREEN_ELO is not set -# CONFIG_TOUCHSCREEN_EXC3000 is not set -# CONFIG_TOUCHSCREEN_FUJITSU is not set -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set -# CONFIG_TOUCHSCREEN_GOODIX is not set -# CONFIG_TOUCHSCREEN_GUNZE is not set -# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set -# CONFIG_TOUCHSCREEN_HIDEEP is not set -CONFIG_TOUCHSCREEN_HIMAX_HX83112B=m -CONFIG_TOUCHSCREEN_HYCON_HY46XX=m -CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX=m -CONFIG_TOUCHSCREEN_ILI210X=m -CONFIG_TOUCHSCREEN_ILITEK=m -CONFIG_TOUCHSCREEN_IMAGIS=m -# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set -# CONFIG_TOUCHSCREEN_INEXIO is not set -CONFIG_TOUCHSCREEN_IQS5XX=m -CONFIG_TOUCHSCREEN_IQS7211=m -# CONFIG_TOUCHSCREEN_MAX11801 is not set -CONFIG_TOUCHSCREEN_MCS5000=m -# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set -CONFIG_TOUCHSCREEN_MK712=m -CONFIG_TOUCHSCREEN_MMS114=m -CONFIG_TOUCHSCREEN_MSG2638=m -# CONFIG_TOUCHSCREEN_MTOUCH is not set -CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS=m -# CONFIG_TOUCHSCREEN_PENMOUNT is not set -CONFIG_TOUCHSCREEN_PIXCIR=m -CONFIG_TOUCHSCREEN_RM_TS=m -# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set -# CONFIG_TOUCHSCREEN_S6SY761 is not set -CONFIG_TOUCHSCREEN_SILEAD=m -CONFIG_TOUCHSCREEN_SIS_I2C=m -CONFIG_TOUCHSCREEN_ST1232=m -# CONFIG_TOUCHSCREEN_STMFTS is not set -# CONFIG_TOUCHSCREEN_SUR40 is not set -# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set -# CONFIG_TOUCHSCREEN_SX8654 is not set -# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set -# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set -# CONFIG_TOUCHSCREEN_TOUCHWIN is not set -# CONFIG_TOUCHSCREEN_TPS6507X is not set -CONFIG_TOUCHSCREEN_TS4800=m -# CONFIG_TOUCHSCREEN_TSC2004 is not set -# CONFIG_TOUCHSCREEN_TSC2005 is not set -CONFIG_TOUCHSCREEN_TSC2007_IIO=y -CONFIG_TOUCHSCREEN_TSC2007=m -# CONFIG_TOUCHSCREEN_TSC_SERIO is not set -CONFIG_TOUCHSCREEN_USB_3M=y -CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y -CONFIG_TOUCHSCREEN_USB_E2I=y -CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y -CONFIG_TOUCHSCREEN_USB_EGALAX=y -CONFIG_TOUCHSCREEN_USB_ELO=y -CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y -CONFIG_TOUCHSCREEN_USB_ETURBO=y -CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y -CONFIG_TOUCHSCREEN_USB_GOTOP=y -CONFIG_TOUCHSCREEN_USB_GUNZE=y -CONFIG_TOUCHSCREEN_USB_IDEALTEK=y -CONFIG_TOUCHSCREEN_USB_IRTOUCH=y -CONFIG_TOUCHSCREEN_USB_ITM=y -CONFIG_TOUCHSCREEN_USB_JASTEC=y -CONFIG_TOUCHSCREEN_USB_NEXIO=y -CONFIG_TOUCHSCREEN_USB_PANJIT=y -CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y -CONFIG_TOUCHSCREEN_WACOM_I2C=m -# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set -# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set -# CONFIG_TOUCHSCREEN_WM97XX is not set -CONFIG_TOUCHSCREEN_ZET6223=m -CONFIG_TOUCHSCREEN_ZFORCE=m -CONFIG_TOUCHSCREEN_ZINITIX=m -# CONFIG_TPL0102 is not set -CONFIG_TPM_KEY_PARSER=m -# CONFIG_TPS6105X is not set -# CONFIG_TPS65010 is not set -# CONFIG_TPS6507X is not set -CONFIG_TPS6594_ESM=m -CONFIG_TPS6594_PFSM=m -# CONFIG_TPS68470_PMIC_OPREGION is not set -CONFIG_TRACE_EVAL_MAP_FILE=y -# CONFIG_TRACE_EVENT_INJECT is not set -# CONFIG_TRACE_MMIO_ACCESS is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set -CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y -# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set -CONFIG_TRANSPARENT_HUGEPAGE=y -# CONFIG_TRIM_UNUSED_KSYMS is not set -CONFIG_TRUSTED_KEYS_TEE=y -CONFIG_TRUSTED_KEYS_TPM=y -CONFIG_TRUSTED_KEYS=y -# CONFIG_TS4800_IRQ is not set -# CONFIG_TS4800_WATCHDOG is not set -# CONFIG_TSL2583 is not set -# CONFIG_TSL2591 is not set -CONFIG_TSL2772=m -# CONFIG_TSL4531 is not set -CONFIG_TSNEP=m -# CONFIG_TSNEP_SELFTESTS is not set -# CONFIG_TSYS01 is not set -# CONFIG_TSYS02D is not set -# CONFIG_TTY_PRINTK is not set -CONFIG_TTY=y -CONFIG_TULIP=m -CONFIG_TULIP_MMIO=y -# CONFIG_TULIP_MWI is not set -# CONFIG_TULIP_NAPI is not set -CONFIG_TUNE_GENERIC=y -CONFIG_TUN=m -# CONFIG_TUN_VNET_CROSS_LE is not set -# CONFIG_TWL4030_CORE is not set -# CONFIG_TWL6040_CORE is not set -CONFIG_TXGBE=m -# CONFIG_TYPEC_ANX7411 is not set -CONFIG_TYPEC_DP_ALTMODE=m -CONFIG_TYPEC_FUSB302=m -CONFIG_TYPEC_HD3SS3220=m -CONFIG_TYPEC=m -CONFIG_TYPEC_MUX_FSA4480=m -CONFIG_TYPEC_MUX_GPIO_SBU=m -CONFIG_TYPEC_MUX_IT5205=m -CONFIG_TYPEC_MUX_NB7VPQ904M=m -CONFIG_TYPEC_MUX_PI3USB30532=m -CONFIG_TYPEC_MUX_PTN36502=m -# CONFIG_TYPEC_MUX_WCD939X_USBSS is not set -CONFIG_TYPEC_NVIDIA_ALTMODE=m -# CONFIG_TYPEC_QCOM_PMIC is not set -# CONFIG_TYPEC_RT1711H is not set -CONFIG_TYPEC_RT1719=m -CONFIG_TYPEC_STUSB160X=m -CONFIG_TYPEC_TCPCI=m -CONFIG_TYPEC_TCPCI_MAXIM=m -CONFIG_TYPEC_TCPCI_MT6370=m -CONFIG_TYPEC_TCPM=m -CONFIG_TYPEC_TPS6598X=m -CONFIG_TYPEC_UCSI=m -CONFIG_TYPEC_WUSB3801=m -CONFIG_TYPHOON=m -CONFIG_UACCE=m -CONFIG_UAPI_HEADER_TEST=y -CONFIG_UBIFS_ATIME_SUPPORT=y -# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set -CONFIG_UBIFS_FS_AUTHENTICATION=y -CONFIG_UBIFS_FS=m -CONFIG_UBIFS_FS_SECURITY=y -CONFIG_UBIFS_FS_XATTR=y -# CONFIG_UBSAN_ALIGNMENT is not set -# CONFIG_UBSAN_BOOL is not set -CONFIG_UBSAN_BOUNDS=y -# CONFIG_UBSAN_DIV_ZERO is not set -# CONFIG_UBSAN_ENUM is not set -CONFIG_UBSAN_SANITIZE_ALL=y -CONFIG_UBSAN_SHIFT=y -# CONFIG_UBSAN_SIGNED_WRAP is not set -# CONFIG_UBSAN_TRAP is not set -# CONFIG_UBSAN_UNREACHABLE is not set -CONFIG_UBSAN=y -CONFIG_UCLAMP_BUCKETS_COUNT=5 -CONFIG_UCLAMP_TASK_GROUP=y -CONFIG_UCLAMP_TASK=y -CONFIG_UCSI_ACPI=m -CONFIG_UCSI_CCG=m -CONFIG_UCSI_STM32G0=m -CONFIG_UDF_FS=m -CONFIG_UDMABUF=y -# CONFIG_UEVENT_HELPER is not set -# CONFIG_UFS_DEBUG is not set -CONFIG_UFS_FS=m -# CONFIG_UFS_FS_WRITE is not set -CONFIG_UHID=m -CONFIG_UID16=y -# CONFIG_UIO_AEC is not set -# CONFIG_UIO_CIF is not set -CONFIG_UIO_DFL=m -# CONFIG_UIO_DMEM_GENIRQ is not set -CONFIG_UIO_HV_GENERIC=m -CONFIG_UIO=m -# CONFIG_UIO_MF624 is not set -# CONFIG_UIO_NETX is not set -CONFIG_UIO_PCI_GENERIC=m -# CONFIG_UIO_PDRV_GENIRQ is not set -# CONFIG_UIO_PRUSS is not set -# CONFIG_UIO_SERCOS3 is not set -CONFIG_ULI526X=m -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_UNICODE_NORMALIZATION_SELFTEST is not set -CONFIG_UNICODE_UTF8_DATA=y -CONFIG_UNICODE=y -CONFIG_UNIX98_PTYS=y -CONFIG_UNIX_DIAG=y -CONFIG_UNIXWARE_DISKLABEL=y -CONFIG_UNIX=y -CONFIG_UNUSED_KSYMS_WHITELIST="" -# CONFIG_UNWINDER_FRAME_POINTER is not set -# CONFIG_UNWINDER_GUESS is not set -CONFIG_UPROBE_EVENTS=y -# CONFIG_US5182D is not set -# CONFIG_USB4_DEBUGFS_WRITE is not set -# CONFIG_USB4_DMA_TEST is not set -# CONFIG_USB4_KUNIT_TEST is not set -CONFIG_USB4_NET=m -CONFIG_USB4=y -CONFIG_USB_ACM=m -CONFIG_USB_ADUTUX=m -CONFIG_USB_ALI_M5632=y -# CONFIG_USB_AMD5536UDC is not set -CONFIG_USB_AN2720=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_APPLEDISPLAY=m -CONFIG_USB_ARMLINUX=y -CONFIG_USB_ATM=m -# CONFIG_USB_AUDIO is not set -CONFIG_USB_AUTOSUSPEND_DELAY=2 -# CONFIG_USB_BDC_UDC is not set -CONFIG_USB_BELKIN=y -# CONFIG_USB_C67X00_HCD is not set -CONFIG_USB_CATC=m -# CONFIG_USB_CDC_COMPOSITE is not set -CONFIG_USB_CDNS2_UDC=m -CONFIG_USB_CDNS3_GADGET=y -CONFIG_USB_CDNS3_HOST=y -CONFIG_USB_CDNS3=m -CONFIG_USB_CDNS3_PCI_WRAP=m -CONFIG_USB_CDNS3_STARFIVE=m -# CONFIG_USB_CDNSP_GADGET is not set -# CONFIG_USB_CDNSP_HOST is not set -CONFIG_USB_CDNSP_PCI=m -CONFIG_USB_CDNS_SUPPORT=m -CONFIG_USB_CHAOSKEY=m -CONFIG_USB_CHIPIDEA_GENERIC=m -CONFIG_USB_CHIPIDEA_IMX=m -# CONFIG_USB_CHIPIDEA is not set -CONFIG_USB_CHIPIDEA_MSM=m -CONFIG_USB_CHIPIDEA_NPCM=m -CONFIG_USB_CHIPIDEA_PCI=m -CONFIG_USB_CONFIGFS_ACM=y -CONFIG_USB_CONFIGFS_ECM_SUBSET=y -CONFIG_USB_CONFIGFS_ECM=y -CONFIG_USB_CONFIGFS_EEM=y -# CONFIG_USB_CONFIGFS_F_FS is not set -CONFIG_USB_CONFIGFS_F_HID=y -# CONFIG_USB_CONFIGFS_F_LB_SS is not set -CONFIG_USB_CONFIGFS_F_MIDI2=y -# CONFIG_USB_CONFIGFS_F_MIDI is not set -# CONFIG_USB_CONFIGFS_F_PRINTER is not set -CONFIG_USB_CONFIGFS_F_TCM=y -# CONFIG_USB_CONFIGFS_F_UAC1 is not set -# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set -# CONFIG_USB_CONFIGFS_F_UAC2 is not set -# CONFIG_USB_CONFIGFS_F_UVC is not set -CONFIG_USB_CONFIGFS=m -CONFIG_USB_CONFIGFS_MASS_STORAGE=y -CONFIG_USB_CONFIGFS_NCM=y -CONFIG_USB_CONFIGFS_OBEX=y -# CONFIG_USB_CONFIGFS_RNDIS is not set -CONFIG_USB_CONFIGFS_SERIAL=y -# CONFIG_USB_CONN_GPIO is not set -CONFIG_USB_CXACRU=m -# CONFIG_USB_CYPRESS_CY7C63 is not set -# CONFIG_USB_CYTHERM is not set -CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1 -CONFIG_USB_DEFAULT_PERSIST=y -CONFIG_USB_DSBR=m -# CONFIG_USB_DUMMY_HCD is not set -# CONFIG_USB_DWC2_DEBUG is not set -CONFIG_USB_DWC2_DUAL_ROLE=y -# CONFIG_USB_DWC2_HOST is not set -CONFIG_USB_DWC2=m -CONFIG_USB_DWC2_PCI=m -# CONFIG_USB_DWC2_PERIPHERAL is not set -# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set -CONFIG_USB_DWC3_DUAL_ROLE=y -# CONFIG_USB_DWC3_GADGET is not set -# CONFIG_USB_DWC3_HAPS is not set -# CONFIG_USB_DWC3_HOST is not set -CONFIG_USB_DWC3=m -CONFIG_USB_DWC3_OF_SIMPLE=m -CONFIG_USB_DWC3_PCI=m -CONFIG_USB_DWC3_ULPI=y -# CONFIG_USB_DYNAMIC_MINORS is not set -# CONFIG_USB_EG20T is not set -# CONFIG_USB_EHCI_FSL is not set -CONFIG_USB_EHCI_HCD_PLATFORM=m -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y -# CONFIG_USB_EHSET_TEST_FIXTURE is not set -CONFIG_USB_EMI26=m -CONFIG_USB_EMI62=m -CONFIG_USB_EPSON2888=y -# CONFIG_USB_ETH is not set -# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set -CONFIG_USB_EZUSB_FX2=m -# CONFIG_USB_FEW_INIT_RETRIES is not set -# CONFIG_USB_FOTG210_HCD is not set -# CONFIG_USB_FUNCTIONFS is not set -# CONFIG_USB_G_ACM_MS is not set -# CONFIG_USB_GADGET_DEBUG_FILES is not set -# CONFIG_USB_GADGET_DEBUG_FS is not set -# CONFIG_USB_GADGET_DEBUG is not set -# CONFIG_USB_GADGETFS is not set -CONFIG_USB_GADGET=m -CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 -# CONFIG_USB_GADGET_TARGET is not set -CONFIG_USB_GADGET_VBUS_DRAW=100 -# CONFIG_USB_GADGET_XILINX is not set -# CONFIG_USB_G_DBGP is not set -# CONFIG_USB_G_HID is not set -CONFIG_USB_GL860=m -# CONFIG_USB_G_MULTI is not set -# CONFIG_USB_G_NCM is not set -# CONFIG_USB_GOKU is not set -CONFIG_USB_GPIO_VBUS=m -# CONFIG_USB_G_PRINTER is not set -# CONFIG_USB_GR_UDC is not set -CONFIG_USB_G_SERIAL=m -CONFIG_USB_GSPCA_BENQ=m -CONFIG_USB_GSPCA_CONEX=m -CONFIG_USB_GSPCA_CPIA1=m -CONFIG_USB_GSPCA_DTCS033=m -CONFIG_USB_GSPCA_ETOMS=m -CONFIG_USB_GSPCA_FINEPIX=m -CONFIG_USB_GSPCA_JEILINJ=m -CONFIG_USB_GSPCA_JL2005BCD=m -CONFIG_USB_GSPCA_KINECT=m -CONFIG_USB_GSPCA_KONICA=m -CONFIG_USB_GSPCA=m -CONFIG_USB_GSPCA_MARS=m -CONFIG_USB_GSPCA_MR97310A=m -CONFIG_USB_GSPCA_NW80X=m -CONFIG_USB_GSPCA_OV519=m -CONFIG_USB_GSPCA_OV534_9=m -CONFIG_USB_GSPCA_OV534=m -CONFIG_USB_GSPCA_PAC207=m -CONFIG_USB_GSPCA_PAC7302=m -CONFIG_USB_GSPCA_PAC7311=m -CONFIG_USB_GSPCA_SE401=m -CONFIG_USB_GSPCA_SN9C2028=m -CONFIG_USB_GSPCA_SN9C20X=m -CONFIG_USB_GSPCA_SONIXB=m -CONFIG_USB_GSPCA_SONIXJ=m -CONFIG_USB_GSPCA_SPCA1528=m -CONFIG_USB_GSPCA_SPCA500=m -CONFIG_USB_GSPCA_SPCA501=m -CONFIG_USB_GSPCA_SPCA505=m -CONFIG_USB_GSPCA_SPCA506=m -CONFIG_USB_GSPCA_SPCA508=m -CONFIG_USB_GSPCA_SPCA561=m -CONFIG_USB_GSPCA_SQ905C=m -CONFIG_USB_GSPCA_SQ905=m -CONFIG_USB_GSPCA_SQ930X=m -CONFIG_USB_GSPCA_STK014=m -CONFIG_USB_GSPCA_STK1135=m -CONFIG_USB_GSPCA_STV0680=m -CONFIG_USB_GSPCA_SUNPLUS=m -CONFIG_USB_GSPCA_T613=m -CONFIG_USB_GSPCA_TOPRO=m -CONFIG_USB_GSPCA_TOUPTEK=m -CONFIG_USB_GSPCA_TV8532=m -CONFIG_USB_GSPCA_VC032X=m -CONFIG_USB_GSPCA_VICAM=m -CONFIG_USB_GSPCA_XIRLINK_CIT=m -CONFIG_USB_GSPCA_ZC3XX=m -# CONFIG_USB_G_WEBCAM is not set -# CONFIG_USB_HCD_BCMA is not set -# CONFIG_USB_HCD_SSB is not set -# CONFIG_USB_HCD_TEST_MODE is not set -CONFIG_USB_HIDDEV=y -CONFIG_USB_HID=y -CONFIG_USB_HSIC_USB3503=m -CONFIG_USB_HSIC_USB4604=m -CONFIG_USB_HSO=m -CONFIG_USB_HUB_USB251XB=m -CONFIG_USB_IDMOUSE=m -CONFIG_USB_IOWARRIOR=m -CONFIG_USBIP_CORE=m -# CONFIG_USBIP_DEBUG is not set -CONFIG_USB_IPHETH=m -CONFIG_USBIP_HOST=m -CONFIG_USBIP_VHCI_HCD=m -CONFIG_USBIP_VHCI_HC_PORTS=8 -CONFIG_USBIP_VHCI_NR_HCS=1 -CONFIG_USBIP_VUDC=m -CONFIG_USB_ISIGHTFW=m -# CONFIG_USB_ISP116X_HCD is not set -# CONFIG_USB_ISP1301 is not set -CONFIG_USB_ISP1760_DUAL_ROLE=y -# CONFIG_USB_ISP1760_GADGET_ROLE is not set -# CONFIG_USB_ISP1760_HOST_ROLE is not set -# CONFIG_USB_ISP1760 is not set -CONFIG_USB_KAWETH=m -CONFIG_USB_KC2190=y -CONFIG_USB_KEENE=m -CONFIG_USB_LAN78XX=m -CONFIG_USB_LCD=m -CONFIG_USB_LD=m -CONFIG_USB_LEDS_TRIGGER_USBPORT=m -CONFIG_USB_LED_TRIG=y -CONFIG_USB_LEGOTOWER=m -# CONFIG_USB_LINK_LAYER_TEST is not set -# CONFIG_USB_LJCA is not set -CONFIG_USB_M5602=m -# CONFIG_USB_M66592 is not set -CONFIG_USB_MA901=m -# CONFIG_USB_MASS_STORAGE is not set -CONFIG_USB_MAX3420_UDC=m -# CONFIG_USB_MAX3421_HCD is not set -CONFIG_USB_MDC800=m -CONFIG_USB_MICROTEK=m -# CONFIG_USB_MIDI_GADGET is not set -CONFIG_USB_MON=y -CONFIG_USB_MR800=m -# CONFIG_USB_MUSB_GADGET is not set -# CONFIG_USB_MUSB_HDRC is not set -# CONFIG_USB_MUSB_HOST is not set -# CONFIG_USB_MV_U3D is not set -# CONFIG_USB_MV_UDC is not set -# CONFIG_USB_NET2272 is not set -# CONFIG_USB_NET2280 is not set -CONFIG_USB_NET_AQC111=m -CONFIG_USB_NET_AX88179_178A=m -CONFIG_USB_NET_AX8817X=m -CONFIG_USB_NET_CDC_EEM=m -CONFIG_USB_NET_CDC_MBIM=m -CONFIG_USB_NET_CDC_NCM=m -CONFIG_USB_NET_CDC_SUBSET=m -CONFIG_USB_NET_CH9200=m -CONFIG_USB_NET_CX82310_ETH=m -CONFIG_USB_NET_DM9601=m -CONFIG_USB_NET_DRIVERS=y -CONFIG_USB_NET_GL620A=m -CONFIG_USB_NET_HUAWEI_CDC_NCM=m -CONFIG_USB_NET_INT51X1=m -CONFIG_USB_NET_KALMIA=m -CONFIG_USB_NET_MCS7830=m -CONFIG_USB_NET_NET1080=m -CONFIG_USB_NET_PLUSB=m -CONFIG_USB_NET_QMI_WWAN=m -CONFIG_USB_NET_RNDIS_HOST=m -CONFIG_USB_NET_SMSC75XX=m -CONFIG_USB_NET_SMSC95XX=m -CONFIG_USB_NET_SR9700=m -# CONFIG_USB_NET_SR9800 is not set -CONFIG_USB_NET_ZAURUS=m -CONFIG_USB_OHCI_HCD_PCI=y -CONFIG_USB_OHCI_HCD_PLATFORM=m -# CONFIG_USB_OHCI_HCD_SSB is not set -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_ONBOARD_DEV=m -# CONFIG_USB_ONBOARD_DEV_USB5744 is not set -CONFIG_USB_ONBOARD_HUB=m -# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set -CONFIG_USB_OTG_FSM=m -# CONFIG_USB_OTG_PRODUCTLIST is not set -CONFIG_USB_OTG=y -# CONFIG_USB_OXU210HP_HCD is not set -CONFIG_USB_PCI_AMD=y -CONFIG_USB_PCI=y -CONFIG_USBPCWATCHDOG=m -CONFIG_USB_PEGASUS=m -CONFIG_USB_PHY=y -CONFIG_USB_PRINTER=m -CONFIG_USB_PULSE8_CEC=m -# CONFIG_USB_PWC_DEBUG is not set -CONFIG_USB_PWC_INPUT_EVDEV=y -CONFIG_USB_PWC=m -# CONFIG_USB_PXA27X is not set -# CONFIG_USB_R8A66597_HCD is not set -# CONFIG_USB_R8A66597 is not set -CONFIG_USB_RAINSHADOW_CEC=m -# CONFIG_USB_RAREMONO is not set -CONFIG_USB_RAW_GADGET=m -CONFIG_USB_ROLE_SWITCH=y -CONFIG_USB_RTL8150=m -CONFIG_USB_RTL8152=m -CONFIG_USB_RTL8153_ECM=m -CONFIG_USB_S2255=m -CONFIG_USB_SERIAL_AIRCABLE=m -CONFIG_USB_SERIAL_ARK3116=m -CONFIG_USB_SERIAL_BELKIN=m -CONFIG_USB_SERIAL_CH341=m -CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_SERIAL_CP210X=m -CONFIG_USB_SERIAL_CYBERJACK=m -CONFIG_USB_SERIAL_CYPRESS_M8=m -CONFIG_USB_SERIAL_DEBUG=m -CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m -CONFIG_USB_SERIAL_EDGEPORT=m -CONFIG_USB_SERIAL_EDGEPORT_TI=m -CONFIG_USB_SERIAL_EMPEG=m -CONFIG_USB_SERIAL_F81232=m -CONFIG_USB_SERIAL_F8153X=m -CONFIG_USB_SERIAL_FTDI_SIO=m -CONFIG_USB_SERIAL_GARMIN=m -CONFIG_USB_SERIAL_GENERIC=y -CONFIG_USB_SERIAL_IPAQ=m -CONFIG_USB_SERIAL_IPW=m -CONFIG_USB_SERIAL_IR=m -CONFIG_USB_SERIAL_IUU=m -CONFIG_USB_SERIAL_KEYSPAN=m -CONFIG_USB_SERIAL_KEYSPAN_PDA=m -CONFIG_USB_SERIAL_KLSI=m -CONFIG_USB_SERIAL_KOBIL_SCT=m -CONFIG_USB_SERIAL_MCT_U232=m -# CONFIG_USB_SERIAL_METRO is not set -CONFIG_USB_SERIAL_MOS7720=m -CONFIG_USB_SERIAL_MOS7840=m -# CONFIG_USB_SERIAL_MXUPORT is not set -CONFIG_USB_SERIAL_NAVMAN=m -CONFIG_USB_SERIAL_OMNINET=m -CONFIG_USB_SERIAL_OPTICON=m -CONFIG_USB_SERIAL_OPTION=m -CONFIG_USB_SERIAL_OTI6858=m -CONFIG_USB_SERIAL_PL2303=m -CONFIG_USB_SERIAL_QCAUX=m -CONFIG_USB_SERIAL_QT2=m -CONFIG_USB_SERIAL_QUALCOMM=m -CONFIG_USB_SERIAL_SAFE=m -CONFIG_USB_SERIAL_SAFE_PADDED=y -CONFIG_USB_SERIAL_SIERRAWIRELESS=m -CONFIG_USB_SERIAL_SIMPLE=m -CONFIG_USB_SERIAL_SPCP8X5=m -CONFIG_USB_SERIAL_SSU100=m -CONFIG_USB_SERIAL_SYMBOL=m -CONFIG_USB_SERIAL_TI=m -CONFIG_USB_SERIAL_UPD78F0730=m -CONFIG_USB_SERIAL_VISOR=m -CONFIG_USB_SERIAL_WHITEHEAT=m -# CONFIG_USB_SERIAL_WISHBONE is not set -CONFIG_USB_SERIAL_XR=m -CONFIG_USB_SERIAL_XSENS_MT=m -CONFIG_USB_SERIAL=y -CONFIG_USB_SEVSEG=m -CONFIG_USB_SI470X=m -# CONFIG_USB_SI4713 is not set -CONFIG_USB_SIERRA_NET=m -CONFIG_USB_SISUSBVGA=m -# CONFIG_USB_SL811_CS is not set -CONFIG_USB_SL811_HCD_ISO=y -CONFIG_USB_SL811_HCD=m -CONFIG_USB_SNP_UDC_PLAT=m -CONFIG_USB_SPEEDTOUCH=m -CONFIG_USB_STKWEBCAM=m -CONFIG_USB_STORAGE_ALAUDA=m -CONFIG_USB_STORAGE_CYPRESS_ATACB=m -CONFIG_USB_STORAGE_DATAFAB=m -# CONFIG_USB_STORAGE_DEBUG is not set -CONFIG_USB_STORAGE_ENE_UB6250=m -CONFIG_USB_STORAGE_FREECOM=m -CONFIG_USB_STORAGE_ISD200=m -CONFIG_USB_STORAGE_JUMPSHOT=m -CONFIG_USB_STORAGE_KARMA=m -CONFIG_USB_STORAGE=m -CONFIG_USB_STORAGE_ONETOUCH=m -CONFIG_USB_STORAGE_REALTEK=m -CONFIG_USB_STORAGE_SDDR09=m -CONFIG_USB_STORAGE_SDDR55=m -CONFIG_USB_STORAGE_USBAT=m -CONFIG_USB_STV06XX=m -CONFIG_USB_SUPPORT=y -# CONFIG_USB_TEST is not set -CONFIG_USB_TMC=m -CONFIG_USB_TRANCEVIBRATOR=m -CONFIG_USB_UAS=m -CONFIG_USB_UEAGLEATM=m -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_ULPI_BUS=m -CONFIG_USB_USBNET=m -CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_USB_VL600=m -CONFIG_USB_WDM=m -CONFIG_USB_XEN_HCD=m -# CONFIG_USB_XHCI_DBGCAP is not set -CONFIG_USB_XHCI_HCD=y -# CONFIG_USB_XHCI_HISTB is not set -CONFIG_USB_XHCI_PCI_RENESAS=y -CONFIG_USB_XHCI_PCI=y -CONFIG_USB_XHCI_PLATFORM=m -CONFIG_USB_XUSBATM=m -CONFIG_USB=y -CONFIG_USB_YUREX=m -# CONFIG_USB_ZERO is not set -CONFIG_USB_ZR364XX=m -# CONFIG_USELIB is not set -CONFIG_USERCOPY_KUNIT_TEST=m -# CONFIG_USER_DECRYPTED_DATA is not set -# CONFIG_USER_EVENTS is not set -CONFIG_USERFAULTFD=y -CONFIG_U_SERIAL_CONSOLE=y -# CONFIG_USERIO is not set -CONFIG_USER_NS=y -CONFIG_UTS_NS=y -# CONFIG_UV_SYSFS is not set -# CONFIG_V4L2_FLASH_LED_CLASS is not set -CONFIG_V4L_MEM2MEM_DRIVERS=y -# CONFIG_V4L_PLATFORM_DRIVERS is not set -CONFIG_V4L_TEST_DRIVERS=y -CONFIG_VALIDATE_FS_PARSER=y -CONFIG_VCAP=y -CONFIG_VCHIQ_CDEV=y -CONFIG_VCNL3020=m -# CONFIG_VCNL4000 is not set -CONFIG_VCNL4035=m -CONFIG_VCPU_STALL_DETECTOR=m -CONFIG_VDPA=m -CONFIG_VDPA_SIM_BLOCK=m -CONFIG_VDPA_SIM=m -CONFIG_VDPA_SIM_NET=m -CONFIG_VDPA_USER=m -CONFIG_VEML6030=m -# CONFIG_VEML6040 is not set -# CONFIG_VEML6070 is not set -# CONFIG_VEML6075 is not set -CONFIG_VETH=m -# CONFIG_VF610_ADC is not set -# CONFIG_VF610_DAC is not set -CONFIG_VFAT_FS=m -CONFIG_VFIO_CONTAINER=y -# CONFIG_VFIO_DEBUGFS is not set -# CONFIG_VFIO_DEVICE_CDEV is not set -CONFIG_VFIO_GROUP=y -CONFIG_VFIO_IOMMU_TYPE1=m -CONFIG_VFIO=m -CONFIG_VFIO_MDEV=m -# CONFIG_VFIO_NOIOMMU is not set -CONFIG_VFIO_PCI=m -CONFIG_VGA_ARB_MAX_GPUS=16 -CONFIG_VGA_ARB=y -CONFIG_VGA_CONSOLE=y -# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set -CONFIG_VHOST_MENU=y -CONFIG_VHOST_NET=m -CONFIG_VHOST_SCSI=m -CONFIG_VHOST_VDPA=m -CONFIG_VHOST_VSOCK=m -CONFIG_VIA_RHINE=m -CONFIG_VIA_RHINE_MMIO=y -CONFIG_VIA_VELOCITY=m -CONFIG_VIDEO_AD5820=m -# CONFIG_VIDEO_AD9389B is not set -CONFIG_VIDEO_ADP1653=m -# CONFIG_VIDEO_ADV7170 is not set -# CONFIG_VIDEO_ADV7175 is not set -# CONFIG_VIDEO_ADV7180 is not set -# CONFIG_VIDEO_ADV7183 is not set -# CONFIG_VIDEO_ADV7343 is not set -# CONFIG_VIDEO_ADV7393 is not set -# CONFIG_VIDEO_ADV748X is not set -# CONFIG_VIDEO_ADV7511 is not set -# CONFIG_VIDEO_ADV7604_CEC is not set -# CONFIG_VIDEO_ADV7604 is not set -# CONFIG_VIDEO_ADV7842_CEC is not set -# CONFIG_VIDEO_ADV7842 is not set -# CONFIG_VIDEO_ADV_DEBUG is not set -CONFIG_VIDEO_AK7375=m -# CONFIG_VIDEO_AK881X is not set -# CONFIG_VIDEO_ALVIUM_CSI2 is not set -CONFIG_VIDEO_AR0521=m -CONFIG_VIDEO_AU0828=m -# CONFIG_VIDEO_AU0828_RC is not set -CONFIG_VIDEO_AU0828_V4L2=y -# CONFIG_VIDEO_BT819 is not set -CONFIG_VIDEO_BT848=m -# CONFIG_VIDEO_BT856 is not set -# CONFIG_VIDEO_BT866 is not set -# CONFIG_VIDEO_CADENCE_CSI2RX is not set -CONFIG_VIDEO_CADENCE_CSI2TX=m -# CONFIG_VIDEO_CADENCE is not set -# CONFIG_VIDEO_CAFE_CCIC is not set -CONFIG_VIDEO_CAMERA_SENSOR=y -CONFIG_VIDEO_CCS=m -CONFIG_VIDEO_CS5345=m -CONFIG_VIDEO_CS53L32A=m -CONFIG_VIDEO_CX18_ALSA=m -CONFIG_VIDEO_CX18=m -CONFIG_VIDEO_CX231XX_ALSA=m -CONFIG_VIDEO_CX231XX_DVB=m -CONFIG_VIDEO_CX231XX=m -CONFIG_VIDEO_CX231XX_RC=y -CONFIG_VIDEO_CX23885=m -# CONFIG_VIDEO_CX25821 is not set -CONFIG_VIDEO_CX25840=m -CONFIG_VIDEO_CX88_ALSA=m -CONFIG_VIDEO_CX88_BLACKBIRD=m -CONFIG_VIDEO_CX88_DVB=m -CONFIG_VIDEO_CX88_ENABLE_VP3054=y -CONFIG_VIDEO_CX88=m -CONFIG_VIDEO_CX88_VP3054=m -CONFIG_VIDEO_DEV=m -CONFIG_VIDEO_DS90UB913=m -CONFIG_VIDEO_DS90UB953=m -CONFIG_VIDEO_DS90UB960=m -# CONFIG_VIDEO_DT3155 is not set -CONFIG_VIDEO_DW9714=m -CONFIG_VIDEO_DW9719=m -CONFIG_VIDEO_DW9768=m -CONFIG_VIDEO_DW9807_VCM=m -CONFIG_VIDEO_EM28XX_ALSA=m -CONFIG_VIDEO_EM28XX_DVB=m -CONFIG_VIDEO_EM28XX=m -CONFIG_VIDEO_EM28XX_RC=m -CONFIG_VIDEO_EM28XX_V4L2=m -CONFIG_VIDEO_ET8EK8=m -CONFIG_VIDEO_FB_IVTV=m -# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set -CONFIG_VIDEO_GC0308=m -# CONFIG_VIDEO_GC05A2 is not set -# CONFIG_VIDEO_GC08A3 is not set -CONFIG_VIDEO_GC2145=m -CONFIG_VIDEO_GO7007_LOADER=m -CONFIG_VIDEO_GO7007=m -CONFIG_VIDEO_GO7007_USB=m -CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m -CONFIG_VIDEO_GS1662=m -CONFIG_VIDEO_HDPVR=m -CONFIG_VIDEO_HEXIUM_GEMINI=m -CONFIG_VIDEO_HEXIUM_ORION=m -CONFIG_VIDEO_HI556=m -CONFIG_VIDEO_HI846=m -CONFIG_VIDEO_HI847=m -# CONFIG_VIDEO_I2C is not set -CONFIG_VIDEO_IMX208=m -CONFIG_VIDEO_IMX214=m -CONFIG_VIDEO_IMX219=m -CONFIG_VIDEO_IMX258=m -CONFIG_VIDEO_IMX274=m -CONFIG_VIDEO_IMX283=m -CONFIG_VIDEO_IMX290=m -CONFIG_VIDEO_IMX296=m -CONFIG_VIDEO_IMX319=m -CONFIG_VIDEO_IMX334=m -CONFIG_VIDEO_IMX335=m -CONFIG_VIDEO_IMX355=m -CONFIG_VIDEO_IMX412=m -CONFIG_VIDEO_IMX415=m -# CONFIG_VIDEO_IPU3_CIO2 is not set -CONFIG_VIDEO_IR_I2C=m -# CONFIG_VIDEO_ISL7998X is not set -# CONFIG_VIDEO_IVTV_ALSA is not set -CONFIG_VIDEO_IVTV=m -# CONFIG_VIDEO_KS0127 is not set -CONFIG_VIDEO_LM3560=m -CONFIG_VIDEO_LM3646=m -CONFIG_VIDEO_M52790=m -# CONFIG_VIDEO_MAX9286 is not set -# CONFIG_VIDEO_MAX96712 is not set -CONFIG_VIDEO_MAX96714=m -CONFIG_VIDEO_MAX96717=m -# CONFIG_VIDEO_MEM2MEM_DEINTERLACE is not set -# CONFIG_VIDEO_MGB4 is not set -# CONFIG_VIDEO_ML86V7667 is not set -CONFIG_VIDEO_MSP3400=m -CONFIG_VIDEO_MT9M001=m -# CONFIG_VIDEO_MT9M111 is not set -CONFIG_VIDEO_MT9M114=m -CONFIG_VIDEO_MT9P031=m -CONFIG_VIDEO_MT9T112=m -CONFIG_VIDEO_MT9V011=m -CONFIG_VIDEO_MT9V032=m -CONFIG_VIDEO_MT9V111=m -CONFIG_VIDEO_MXB=m -CONFIG_VIDEO_OG01A1B=m -CONFIG_VIDEO_OV01A10=m -CONFIG_VIDEO_OV02A10=m -CONFIG_VIDEO_OV08D10=m -CONFIG_VIDEO_OV08X40=m -CONFIG_VIDEO_OV13858=m -CONFIG_VIDEO_OV13B10=m -CONFIG_VIDEO_OV2640=m -CONFIG_VIDEO_OV2659=m -CONFIG_VIDEO_OV2680=m -CONFIG_VIDEO_OV2685=m -CONFIG_VIDEO_OV2740=m -CONFIG_VIDEO_OV4689=m -CONFIG_VIDEO_OV5640=m -CONFIG_VIDEO_OV5645=m -CONFIG_VIDEO_OV5647=m -CONFIG_VIDEO_OV5648=m -CONFIG_VIDEO_OV5670=m -CONFIG_VIDEO_OV5675=m -CONFIG_VIDEO_OV5693=m -CONFIG_VIDEO_OV5695=m -CONFIG_VIDEO_OV64A40=m -CONFIG_VIDEO_OV6650=m -CONFIG_VIDEO_OV7251=m -CONFIG_VIDEO_OV7640=m -# CONFIG_VIDEO_OV7670 is not set -CONFIG_VIDEO_OV772X=m -CONFIG_VIDEO_OV7740=m -CONFIG_VIDEO_OV8856=m -CONFIG_VIDEO_OV8858=m -CONFIG_VIDEO_OV8865=m -CONFIG_VIDEO_OV9282=m -CONFIG_VIDEO_OV9640=m -CONFIG_VIDEO_OV9650=m -CONFIG_VIDEO_OV9734=m -# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set -CONFIG_VIDEO_PVRUSB2_DVB=y -CONFIG_VIDEO_PVRUSB2=m -CONFIG_VIDEO_PVRUSB2_SYSFS=y -CONFIG_VIDEO_RDACM20=m -# CONFIG_VIDEO_RDACM21 is not set -CONFIG_VIDEO_RJ54N1=m -CONFIG_VIDEO_ROCKCHIP_VDEC=m -CONFIG_VIDEO_S5C73M3=m -CONFIG_VIDEO_S5K4ECGX=m -CONFIG_VIDEO_S5K5BAF=m -CONFIG_VIDEO_S5K6A3=m -CONFIG_VIDEO_SAA6588=m -# CONFIG_VIDEO_SAA7110 is not set -CONFIG_VIDEO_SAA711X=m -CONFIG_VIDEO_SAA7127=m -CONFIG_VIDEO_SAA7134_ALSA=m -CONFIG_VIDEO_SAA7134_DVB=m -CONFIG_VIDEO_SAA7134_GO7007=m -CONFIG_VIDEO_SAA7134=m -CONFIG_VIDEO_SAA7134_RC=y -CONFIG_VIDEO_SAA7146=m -CONFIG_VIDEO_SAA7146_VV=m -CONFIG_VIDEO_SAA7164=m -CONFIG_VIDEO_SAA717X=m -# CONFIG_VIDEO_SAA7185 is not set -CONFIG_VIDEO_SOLO6X10=m -CONFIG_VIDEO_SONY_BTF_MPX=m -CONFIG_VIDEO_STK1160_COMMON=m -CONFIG_VIDEO_STK1160=m -# CONFIG_VIDEO_STKWEBCAM is not set -CONFIG_VIDEO_STM32_DMA2D=m -# CONFIG_VIDEO_ST_MIPID02 is not set -CONFIG_VIDEO_ST_VGXY61=m -CONFIG_VIDEO_TC358743_CEC=y -# CONFIG_VIDEO_TC358743 is not set -# CONFIG_VIDEO_TC358746 is not set -# CONFIG_VIDEO_TDA1997X is not set -CONFIG_VIDEO_TDA7432=m -CONFIG_VIDEO_TDA9840=m -CONFIG_VIDEO_TEA6415C=m -CONFIG_VIDEO_TEA6420=m -# CONFIG_VIDEO_TEGRA_TPG is not set -# CONFIG_VIDEO_THP7312 is not set -# CONFIG_VIDEO_THS7303 is not set -# CONFIG_VIDEO_THS8200 is not set -# CONFIG_VIDEO_TLV320AIC23B is not set -CONFIG_VIDEO_TM6000_ALSA=m -CONFIG_VIDEO_TM6000_DVB=m -CONFIG_VIDEO_TM6000=m -CONFIG_VIDEO_TUNER=m -CONFIG_VIDEO_TVAUDIO=m -# CONFIG_VIDEO_TVP514X is not set -CONFIG_VIDEO_TVP5150=m -# CONFIG_VIDEO_TVP7002 is not set -CONFIG_VIDEO_TW2804=m -# CONFIG_VIDEO_TW5864 is not set -CONFIG_VIDEO_TW686X=m -# CONFIG_VIDEO_TW68 is not set -# CONFIG_VIDEO_TW9900 is not set -CONFIG_VIDEO_TW9903=m -CONFIG_VIDEO_TW9906=m -# CONFIG_VIDEO_TW9910 is not set -CONFIG_VIDEO_UDA1342=m -CONFIG_VIDEO_UPD64031A=m -CONFIG_VIDEO_UPD64083=m -CONFIG_VIDEO_USBTV=m -CONFIG_VIDEO_V4L2=m -CONFIG_VIDEO_V4L2_SUBDEV_API=y -# CONFIG_VIDEO_VGXY61 is not set -CONFIG_VIDEO_VICODEC=m -CONFIG_VIDEO_VIM2M=m -CONFIG_VIDEO_VIMC=m -CONFIG_VIDEO_VISL=m -CONFIG_VIDEO_VIVID_CEC=y -CONFIG_VIDEO_VIVID=m -CONFIG_VIDEO_VIVID_MAX_DEVS=64 -CONFIG_VIDEO_VP27SMPX=m -# CONFIG_VIDEO_VPX3220 is not set -CONFIG_VIDEO_WM8739=m -CONFIG_VIDEO_WM8775=m -# CONFIG_VIDEO_XILINX is not set -# CONFIG_VIDEO_ZORAN is not set -# CONFIG_VIPERBOARD_ADC is not set -CONFIG_VIRT_CPU_ACCOUNTING_GEN=y -# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set -CONFIG_VIRT_DRIVERS=y -CONFIG_VIRTIO_BALLOON=m -CONFIG_VIRTIO_BLK=m -CONFIG_VIRTIO_CONSOLE=m -# CONFIG_VIRTIO_DEBUG is not set -CONFIG_VIRTIO_FS=m -# CONFIG_VIRTIO_HARDEN_NOTIFICATION is not set -CONFIG_VIRTIO_INPUT=m -# CONFIG_VIRTIO_IOMMU is not set -CONFIG_VIRTIO_MEM=m -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_VIRTIO_MMIO=m -CONFIG_VIRTIO_NET=m -CONFIG_VIRTIO_PCI_LEGACY=y -CONFIG_VIRTIO_PCI=y -# CONFIG_VIRTIO_PMEM is not set -CONFIG_VIRTIO_VDPA=m -CONFIG_VIRTIO_VFIO_PCI=m -CONFIG_VIRTIO_VSOCKETS=m -CONFIG_VIRTIO=y -CONFIG_VIRTUALIZATION=y -CONFIG_VIRT_WIFI=m -# CONFIG_VISL_DEBUGFS is not set -CONFIG_VITESSE_PHY=m -CONFIG_VL53L0X_I2C=m -CONFIG_VL6180=m -CONFIG_VLAN_8021Q_GVRP=y -CONFIG_VLAN_8021Q=m -CONFIG_VLAN_8021Q_MVRP=y -CONFIG_VMAP_STACK=y -# CONFIG_VME_BUS is not set -CONFIG_VM_EVENT_COUNTERS=y -CONFIG_VMGENID=y -# CONFIG_VMLINUX_MAP is not set -# CONFIG_VMSPLIT_1G is not set -# CONFIG_VMSPLIT_2G is not set -# CONFIG_VMSPLIT_3G_OPT is not set -CONFIG_VMSPLIT_3G=y -# CONFIG_VMXNET3 is not set -CONFIG_VORTEX=m -CONFIG_VP_VDPA=m -CONFIG_VSOCKETS_DIAG=m -CONFIG_VSOCKETS_LOOPBACK=m -CONFIG_VSOCKETS=m -CONFIG_VSOCKMON=m -# CONFIG_VT6655 is not set -# CONFIG_VT6656 is not set -CONFIG_VT_CONSOLE=y -CONFIG_VT_HW_CONSOLE_BINDING=y -CONFIG_VT=y -# CONFIG_VXFS_FS is not set -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set -CONFIG_VXGE=m -CONFIG_VXLAN=m -# CONFIG_VZ89X is not set -CONFIG_W1_CON=y -CONFIG_W1=m -# CONFIG_W1_MASTER_AMD_AXI is not set -# CONFIG_W1_MASTER_DS1WM is not set -CONFIG_W1_MASTER_DS2482=m -CONFIG_W1_MASTER_DS2490=m -# CONFIG_W1_MASTER_GPIO is not set -# CONFIG_W1_MASTER_MATROX is not set -# CONFIG_W1_MASTER_SGI is not set -CONFIG_W1_MASTER_UART=m -CONFIG_W1_SLAVE_DS2405=m -CONFIG_W1_SLAVE_DS2406=m -CONFIG_W1_SLAVE_DS2408=m -# CONFIG_W1_SLAVE_DS2408_READBACK is not set -CONFIG_W1_SLAVE_DS2413=m -CONFIG_W1_SLAVE_DS2423=m -CONFIG_W1_SLAVE_DS2430=m -CONFIG_W1_SLAVE_DS2431=m -CONFIG_W1_SLAVE_DS2433_CRC=y -CONFIG_W1_SLAVE_DS2433=m -CONFIG_W1_SLAVE_DS2438=m -# CONFIG_W1_SLAVE_DS250X is not set -CONFIG_W1_SLAVE_DS2780=m -CONFIG_W1_SLAVE_DS2781=m -CONFIG_W1_SLAVE_DS2805=m -CONFIG_W1_SLAVE_DS28E04=m -# CONFIG_W1_SLAVE_DS28E17 is not set -CONFIG_W1_SLAVE_SMEM=m -CONFIG_W1_SLAVE_THERM=m -CONFIG_W83627HF_WDT=m -CONFIG_W83877F_WDT=m -CONFIG_W83977F_WDT=m -# CONFIG_WAFER_WDT is not set -# CONFIG_WAN is not set -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -CONFIG_WATCHDOG_CORE=y -CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y -# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set -# CONFIG_WATCHDOG_NOWAYOUT is not set -CONFIG_WATCHDOG_OPEN_TIMEOUT=0 -# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set -CONFIG_WATCHDOG_SYSFS=y -CONFIG_WATCHDOG=y -CONFIG_WATCH_QUEUE=y -# CONFIG_WCN36XX_DEBUGFS is not set -CONFIG_WCN36XX=m -CONFIG_WDAT_WDT=m -CONFIG_WDTPCI=m -# CONFIG_WERROR is not set -# CONFIG_WFX is not set -CONFIG_WIL6210_DEBUGFS=y -CONFIG_WIL6210_ISR_COR=y -CONFIG_WIL6210=m -# CONFIG_WIL6210_TRACING is not set -# CONFIG_WILC1000_SDIO is not set -# CONFIG_WILC1000_SPI is not set -CONFIG_WILINK_PLATFORM_DATA=y -CONFIG_WINBOND_840=m -# CONFIG_WIREGUARD_DEBUG is not set -CONFIG_WIREGUARD=m -CONFIG_WIRELESS_EXT=y -CONFIG_WIRELESS_HOTKEY=m -# CONFIG_WIRELESS_WDS is not set -CONFIG_WIRELESS=y -CONFIG_WIZNET_BUS_ANY=y -# CONFIG_WIZNET_BUS_DIRECT is not set -# CONFIG_WIZNET_BUS_INDIRECT is not set -CONFIG_WIZNET_W5100=m -CONFIG_WIZNET_W5100_SPI=m -CONFIG_WIZNET_W5300=m -CONFIG_WL1251=m -CONFIG_WL1251_SDIO=m -CONFIG_WL1251_SPI=m -CONFIG_WL12XX=m -CONFIG_WL18XX=m -# CONFIG_WLAN_VENDOR_ADMTEK is not set -CONFIG_WLAN_VENDOR_ATH=y -# CONFIG_WLAN_VENDOR_ATMEL is not set -CONFIG_WLAN_VENDOR_BROADCOM=y -# CONFIG_WLAN_VENDOR_CISCO is not set -CONFIG_WLAN_VENDOR_INTEL=y -# CONFIG_WLAN_VENDOR_INTERSIL is not set -CONFIG_WLAN_VENDOR_MARVELL=y -CONFIG_WLAN_VENDOR_MEDIATEK=y -CONFIG_WLAN_VENDOR_MICROCHIP=y -# CONFIG_WLAN_VENDOR_PURELIFI is not set -CONFIG_WLAN_VENDOR_QUANTENNA=y -CONFIG_WLAN_VENDOR_RALINK=y -CONFIG_WLAN_VENDOR_REALTEK=y -CONFIG_WLAN_VENDOR_RSI=y -# CONFIG_WLAN_VENDOR_SILABS is not set -CONFIG_WLAN_VENDOR_ST=y -CONFIG_WLAN_VENDOR_TI=y -CONFIG_WLAN_VENDOR_ZYDAS=y -CONFIG_WLAN=y -CONFIG_WLCORE=m -CONFIG_WLCORE_SDIO=m -CONFIG_WLCORE_SPI=m -CONFIG_WPCM450_SOC=m -CONFIG_WQ_CPU_INTENSIVE_REPORT=y -# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set -CONFIG_WQ_WATCHDOG=y -CONFIG_WWAN_DEBUGFS=y -CONFIG_WWAN_HWSIM=m -CONFIG_WWAN=y -# CONFIG_WW_MUTEX_SELFTEST is not set -# CONFIG_X25 is not set -CONFIG_X9250=m -CONFIG_XDP_SOCKETS_DIAG=m -CONFIG_XDP_SOCKETS=y -# CONFIG_XEN_GRANT_DMA_ALLOC is not set -CONFIG_XEN_MEMORY_HOTPLUG_LIMIT=512 -CONFIG_XEN_PRIVCMD_EVENTFD=y -CONFIG_XEN_PRIVCMD_IRQFD=y -CONFIG_XEN_PRIVCMD=m -# CONFIG_XEN_PVCALLS_FRONTEND is not set -CONFIG_XEN_PVHVM_GUEST=y -CONFIG_XEN_UNPOPULATED_ALLOC=y -# CONFIG_XEN_VIRTIO_FORCE_GRANT is not set -CONFIG_XEN_VIRTIO=y -CONFIG_XFRM_INTERFACE=m -CONFIG_XFRM_MIGRATE=y -CONFIG_XFRM_OFFLOAD=y -CONFIG_XFRM_STATISTICS=y -CONFIG_XFRM_SUB_POLICY=y -# CONFIG_XFRM_USER_COMPAT is not set -CONFIG_XFRM_USER=y -CONFIG_XFRM=y -# CONFIG_XFS_DEBUG is not set -CONFIG_XFS_FS=m -# CONFIG_XFS_ONLINE_REPAIR is not set -# CONFIG_XFS_ONLINE_SCRUB_STATS is not set -CONFIG_XFS_ONLINE_SCRUB=y -CONFIG_XFS_POSIX_ACL=y -CONFIG_XFS_QUOTA=y -CONFIG_XFS_RT=y -CONFIG_XFS_SUPPORT_ASCII_CI=y -CONFIG_XFS_SUPPORT_V4=y -CONFIG_XFS_WARN=y -# CONFIG_XIL_AXIS_FIFO is not set -# CONFIG_XILINX_AXI_EMAC is not set -# CONFIG_XILINX_DMA is not set -CONFIG_XILINX_EMACLITE=m -CONFIG_XILINX_GMII2RGMII=m -# CONFIG_XILINX_INTC is not set -CONFIG_XILINX_LL_TEMAC=m -CONFIG_XILINX_PR_DECOUPLER=m -# CONFIG_XILINX_SDFEC is not set -CONFIG_XILINX_VCU=m -# CONFIG_XILINX_WATCHDOG is not set -# CONFIG_XILINX_XADC is not set -CONFIG_XILINX_XDMA=m -# CONFIG_XILINX_ZYNQMP_DPDMA is not set -CONFIG_XILLYBUS=m -# CONFIG_XILLYBUS_OF is not set -CONFIG_XILLYBUS_PCIE=m -CONFIG_XILLYUSB=m -# CONFIG_XIP_KERNEL is not set -CONFIG_XZ_DEC_ARM64=y -CONFIG_XZ_DEC_ARMTHUMB=y -CONFIG_XZ_DEC_ARM=y -CONFIG_XZ_DEC_IA64=y -CONFIG_XZ_DEC_MICROLZMA=y -CONFIG_XZ_DEC_POWERPC=y -CONFIG_XZ_DEC_RISCV=y -CONFIG_XZ_DEC_SPARC=y -# CONFIG_XZ_DEC_TEST is not set -CONFIG_XZ_DEC_X86=y -CONFIG_XZ_DEC=y -# CONFIG_YAMAHA_YAS530 is not set -CONFIG_YAM=m -CONFIG_YELLOWFIN=m -# CONFIG_YENTA is not set -# CONFIG_YOGABOOK_WMI is not set -# CONFIG_Z3FOLD_DEPRECATED is not set -CONFIG_Z3FOLD=y -CONFIG_ZBUD=y -# CONFIG_ZD1211RW_DEBUG is not set -CONFIG_ZD1211RW=m -# CONFIG_ZERO_CALL_USED_REGS is not set -CONFIG_ZEROPLUS_FF=y -# CONFIG_ZIIRAVE_WATCHDOG is not set -CONFIG_ZISOFS=y -CONFIG_ZLIB_DEFLATE=y -CONFIG_ZLIB_DFLTCC=y -CONFIG_ZLIB_INFLATE=y -CONFIG_ZONE_DMA=y -CONFIG_ZONEFS_FS=m -CONFIG_ZOPT2201=m -# CONFIG_ZPA2326 is not set -# CONFIG_ZRAM_BACKEND_842 is not set -# CONFIG_ZRAM_BACKEND_DEFLATE is not set -# CONFIG_ZRAM_BACKEND_LZ4HC is not set -# CONFIG_ZRAM_BACKEND_LZ4 is not set -# CONFIG_ZRAM_BACKEND_ZSTD is not set -# CONFIG_ZRAM_DEF_COMP_842 is not set -# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set -# CONFIG_ZRAM_DEF_COMP_LZ4 is not set -# CONFIG_ZRAM_DEF_COMP_LZO is not set -CONFIG_ZRAM_DEF_COMP_LZORLE=y -# CONFIG_ZRAM_DEF_COMP_ZSTD is not set -CONFIG_ZRAM=m -CONFIG_ZRAM_MEMORY_TRACKING=y -CONFIG_ZRAM_MULTI_COMP=y -CONFIG_ZRAM_TRACK_ENTRY_ACTIME=y -CONFIG_ZRAM_WRITEBACK=y -CONFIG_ZSMALLOC_CHAIN_SIZE=8 -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_ZSMALLOC=y -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842 is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set -CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set -# CONFIG_ZSWAP_DEFAULT_ON is not set -CONFIG_ZSWAP_EXCLUSIVE_LOADS_DEFAULT_ON=y -CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y -CONFIG_ZSWAP=y -# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD_DEPRECATED is not set -# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set -CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y -# CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set diff --git a/kernel-riscv64-rt-fedora.config b/kernel-riscv64-rt-fedora.config deleted file mode 100644 index 512dc76f7..000000000 --- a/kernel-riscv64-rt-fedora.config +++ /dev/null @@ -1,8646 +0,0 @@ -# riscv -# CONFIG_60XX_WDT is not set -CONFIG_6LOWPAN_DEBUGFS=y -CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=m -CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=m -CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=m -CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=m -CONFIG_6LOWPAN_GHC_ICMPV6=m -CONFIG_6LOWPAN_GHC_UDP=m -CONFIG_6LOWPAN=m -CONFIG_6LOWPAN_NHC_DEST=m -CONFIG_6LOWPAN_NHC_FRAGMENT=m -CONFIG_6LOWPAN_NHC_HOP=m -CONFIG_6LOWPAN_NHC_IPV6=m -CONFIG_6LOWPAN_NHC=m -CONFIG_6LOWPAN_NHC_MOBILITY=m -CONFIG_6LOWPAN_NHC_ROUTING=m -CONFIG_6LOWPAN_NHC_UDP=m -CONFIG_6PACK=m -CONFIG_8139CP=m -# CONFIG_8139_OLD_RX_RESET is not set -CONFIG_8139TOO_8129=y -CONFIG_8139TOO=m -# CONFIG_8139TOO_PIO is not set -# CONFIG_8139TOO_TUNE_TWISTER is not set -CONFIG_9P_FSCACHE=y -CONFIG_9P_FS=m -CONFIG_9P_FS_POSIX_ACL=y -CONFIG_9P_FS_SECURITY=y -CONFIG_A11Y_BRAILLE_CONSOLE=y -CONFIG_ABP060MG=m -CONFIG_ACCESSIBILITY=y -CONFIG_ACENIC=m -# CONFIG_ACENIC_OMIT_TIGON_I is not set -# CONFIG_ACORN_PARTITION is not set -CONFIG_ACPI_AC=y -CONFIG_ACPI_ALS=m -CONFIG_ACPI_APEI_EINJ_CXL=y -CONFIG_ACPI_APEI_EINJ=m -# CONFIG_ACPI_APEI_ERST_DEBUG is not set -CONFIG_ACPI_APEI_GHES=y -CONFIG_ACPI_APEI_MEMORY_FAILURE=y -CONFIG_ACPI_APEI_PCIEAER=y -CONFIG_ACPI_APEI=y -CONFIG_ACPI_BATTERY=y -CONFIG_ACPI_BGRT=y -CONFIG_ACPI_BUTTON=y -# CONFIG_ACPI_CMPC is not set -# CONFIG_ACPI_CONFIGFS is not set -CONFIG_ACPI_CONTAINER=y -CONFIG_ACPI_CPPC_CPUFREQ_FIE=y -CONFIG_ACPI_CPPC_CPUFREQ=m -# CONFIG_ACPI_CUSTOM_METHOD is not set -# CONFIG_ACPI_DEBUGGER is not set -# CONFIG_ACPI_DEBUGGER_USER is not set -# CONFIG_ACPI_DEBUG is not set -# CONFIG_ACPI_DOCK is not set -# CONFIG_ACPI_EC_DEBUGFS is not set -CONFIG_ACPI_FAN=y -CONFIG_ACPI_FFH=y -# CONFIG_ACPI_FPDT is not set -CONFIG_ACPI_HED=y -CONFIG_ACPI_HMAT=y -CONFIG_ACPI_I2C_OPREGION=y -CONFIG_ACPI_IPMI=m -CONFIG_ACPI_NFIT=m -CONFIG_ACPI_NUMA=y -CONFIG_ACPI_PCC=y -CONFIG_ACPI_PCI_SLOT=y -CONFIG_ACPI_PFRUT=m -CONFIG_ACPI_PLATFORM_PROFILE=m -CONFIG_ACPI_PRMT=y -CONFIG_ACPI_PROCESSOR=y -CONFIG_ACPI_SPCR_TABLE=y -CONFIG_ACPI_TABLE_UPGRADE=y -CONFIG_ACPI_TAD=m -CONFIG_ACPI_THERMAL=y -CONFIG_ACPI_VIDEO=m -CONFIG_ACPI=y -# CONFIG_ACQUIRE_WDT is not set -# CONFIG_AD2S1200 is not set -# CONFIG_AD2S1210 is not set -# CONFIG_AD2S90 is not set -CONFIG_AD3552R=m -CONFIG_AD4000=m -CONFIG_AD4130=m -CONFIG_AD4695=m -# CONFIG_AD5064 is not set -CONFIG_AD5110=m -# CONFIG_AD525X_DPOT is not set -CONFIG_AD5272=m -# CONFIG_AD5360 is not set -# CONFIG_AD5380 is not set -# CONFIG_AD5421 is not set -# CONFIG_AD5446 is not set -# CONFIG_AD5449 is not set -# CONFIG_AD5504 is not set -# CONFIG_AD5592R is not set -# CONFIG_AD5593R is not set -# CONFIG_AD5624R_SPI is not set -# CONFIG_AD5686_SPI is not set -# CONFIG_AD5696_I2C is not set -# CONFIG_AD5755 is not set -# CONFIG_AD5758 is not set -# CONFIG_AD5761 is not set -# CONFIG_AD5764 is not set -CONFIG_AD5766=m -CONFIG_AD5770R=m -# CONFIG_AD5791 is not set -# CONFIG_AD5933 is not set -# CONFIG_AD7091R5 is not set -CONFIG_AD7091R8=m -CONFIG_AD7124=m -# CONFIG_AD7150 is not set -# CONFIG_AD7173 is not set -# CONFIG_AD7192 is not set -# CONFIG_AD7266 is not set -# CONFIG_AD7280 is not set -# CONFIG_AD7291 is not set -CONFIG_AD7292=m -CONFIG_AD7293=m -# CONFIG_AD7298 is not set -# CONFIG_AD7303 is not set -CONFIG_AD7380=m -CONFIG_AD74115=m -CONFIG_AD74413R=m -# CONFIG_AD7476 is not set -# CONFIG_AD7606_IFACE_PARALLEL is not set -# CONFIG_AD7606_IFACE_SPI is not set -# CONFIG_AD7746 is not set -CONFIG_AD7766=m -# CONFIG_AD7768_1 is not set -# CONFIG_AD7780 is not set -# CONFIG_AD7791 is not set -# CONFIG_AD7793 is not set -# CONFIG_AD7816 is not set -# CONFIG_AD7887 is not set -# CONFIG_AD7923 is not set -# CONFIG_AD7944 is not set -CONFIG_AD7949=m -# CONFIG_AD799X is not set -# CONFIG_AD8366 is not set -# CONFIG_AD8801 is not set -CONFIG_AD9467=m -# CONFIG_AD9523 is not set -# CONFIG_AD9739A is not set -# CONFIG_AD9832 is not set -# CONFIG_AD9834 is not set -# CONFIG_ADA4250 is not set -CONFIG_ADAPTEC_STARFIRE=m -# CONFIG_ADDRESS_MASKING is not set -# CONFIG_ADE7854 is not set -# CONFIG_ADF4350 is not set -# CONFIG_ADF4371 is not set -CONFIG_ADF4377=m -# CONFIG_ADFS_FS is not set -# CONFIG_ADI_AXI_ADC is not set -# CONFIG_ADI_AXI_DAC is not set -# CONFIG_ADIN1100_PHY is not set -CONFIG_ADIN1110=m -CONFIG_ADIN_PHY=m -# CONFIG_ADIS16080 is not set -# CONFIG_ADIS16130 is not set -# CONFIG_ADIS16136 is not set -# CONFIG_ADIS16201 is not set -# CONFIG_ADIS16203 is not set -# CONFIG_ADIS16209 is not set -# CONFIG_ADIS16240 is not set -# CONFIG_ADIS16260 is not set -# CONFIG_ADIS16400 is not set -# CONFIG_ADIS16460 is not set -CONFIG_ADIS16475=m -# CONFIG_ADIS16480 is not set -# CONFIG_ADJD_S311 is not set -# CONFIG_ADMFM2000 is not set -# CONFIG_ADMV1013 is not set -# CONFIG_ADMV1014 is not set -# CONFIG_ADMV4420 is not set -# CONFIG_ADMV8818 is not set -# CONFIG_ADRF6780 is not set -# CONFIG_ADT7316 is not set -CONFIG_ADUX1020=m -# CONFIG_ADVANTECH_WDT is not set -CONFIG_ADVISE_SYSCALLS=y -# CONFIG_ADV_SWBUTTON is not set -CONFIG_ADXL313_I2C=m -CONFIG_ADXL313_SPI=m -# CONFIG_ADXL345_I2C is not set -# CONFIG_ADXL345_SPI is not set -CONFIG_ADXL355_I2C=m -CONFIG_ADXL355_SPI=m -CONFIG_ADXL367_I2C=m -CONFIG_ADXL367_SPI=m -CONFIG_ADXL372_I2C=m -CONFIG_ADXL372_SPI=m -CONFIG_ADXL380_I2C=m -CONFIG_ADXL380_SPI=m -CONFIG_ADXRS290=m -# CONFIG_ADXRS450 is not set -CONFIG_AF8133J=m -# CONFIG_AFE4403 is not set -# CONFIG_AFE4404 is not set -CONFIG_AFFS_FS=m -CONFIG_AF_KCM=m -CONFIG_AF_RXRPC_DEBUG=y -# CONFIG_AF_RXRPC_INJECT_LOSS is not set -# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set -CONFIG_AF_RXRPC_IPV6=y -CONFIG_AF_RXRPC=m -# CONFIG_AFS_DEBUG_CURSOR is not set -CONFIG_AFS_DEBUG=y -CONFIG_AFS_FSCACHE=y -CONFIG_AFS_FS=m -# CONFIG_AHCI_CEVA is not set -CONFIG_AHCI_DWC=m -# CONFIG_AHCI_QORIQ is not set -CONFIG_AIC79XX_CMDS_PER_DEVICE=4 -# CONFIG_AIC79XX_DEBUG_ENABLE is not set -CONFIG_AIC79XX_DEBUG_MASK=0 -# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set -CONFIG_AIC79XX_RESET_DELAY_MS=15000 -CONFIG_AIC7XXX_CMDS_PER_DEVICE=4 -# CONFIG_AIC7XXX_DEBUG_ENABLE is not set -CONFIG_AIC7XXX_DEBUG_MASK=0 -# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set -CONFIG_AIC7XXX_RESET_DELAY_MS=15000 -CONFIG_AIO=y -CONFIG_AIR_EN8811H_PHY=m -CONFIG_AIX_PARTITION=y -# CONFIG_AK09911 is not set -# CONFIG_AK8974 is not set -# CONFIG_AK8975 is not set -CONFIG_AL3010=m -# CONFIG_AL3320A is not set -# CONFIG_AL_FIC is not set -# CONFIG_ALIBABA_ENI_VDPA is not set -CONFIG_ALIM1535_WDT=m -CONFIG_ALIM7101_WDT=m -CONFIG_ALLOW_DEV_COREDUMP=y -# CONFIG_ALTERA_FREEZE_BRIDGE is not set -# CONFIG_ALTERA_MBOX is not set -CONFIG_ALTERA_MSGDMA=m -CONFIG_ALTERA_PR_IP_CORE=m -CONFIG_ALTERA_PR_IP_CORE_PLAT=m -CONFIG_ALTERA_STAPL=m -CONFIG_ALTERA_TSE=m -CONFIG_ALX=m -# CONFIG_AM2315 is not set -# CONFIG_AMBA_PL08X is not set -# CONFIG_AMCC_QT2025_PHY is not set -CONFIG_AMD8111_ETH=m -CONFIG_AMD_ATL=m -# CONFIG_AMD_IOMMU_DEBUGFS is not set -CONFIG_AMD_PHY=m -CONFIG_AMD_PMC=m -# CONFIG_AMD_PTDMA is not set -CONFIG_AMD_QDMA=m -# CONFIG_AMDTEE is not set -# CONFIG_AMD_XGBE_DCB is not set -# CONFIG_AMIGA_PARTITION is not set -CONFIG_AMT=m -CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" -CONFIG_ANDROID_BINDERFS=y -# CONFIG_ANDROID_BINDER_IPC is not set -# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set -# CONFIG_ANON_VMA_NAME is not set -# CONFIG_AOSONG_AGS02MA is not set -# CONFIG_APDS9300 is not set -CONFIG_APDS9306=m -CONFIG_APDS9802ALS=m -# CONFIG_APDS9960 is not set -CONFIG_APPLE_MFI_FASTCHARGE=m -# CONFIG_APPLE_PROPERTIES is not set -# CONFIG_APPLICOM is not set -CONFIG_AQTION=m -CONFIG_AQUANTIA_PHY=m -CONFIG_AR5523=m -# CONFIG_ARCH_APPLE is not set -# CONFIG_ARCH_BCM4908 is not set -CONFIG_ARCH_CANAAN=y -# CONFIG_ARCH_DOVE is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_IOP32X is not set -# CONFIG_ARCH_IXP4XX is not set -# CONFIG_ARCH_KEEMBAY is not set -CONFIG_ARCH_MICROCHIP_POLARFIRE=y -CONFIG_ARCH_MICROCHIP=y -CONFIG_ARCH_MMAP_RND_BITS=18 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 -CONFIG_ARCH_MULTIPLATFORM=y -# CONFIG_ARCH_OMAP1 is not set -# CONFIG_ARCH_PXA is not set -# CONFIG_ARCH_R9A07G043 is not set -CONFIG_ARCH_RANDOM=y -# CONFIG_ARCH_REALTEK is not set -# CONFIG_ARCH_RENESAS is not set -# CONFIG_ARCH_RV32I is not set -CONFIG_ARCH_RV64I=y -# CONFIG_ARCH_S32 is not set -# CONFIG_ARCH_SA1100 is not set -CONFIG_ARCH_SIFIVE=y -CONFIG_ARCH_SOPHGO=y -# CONFIG_ARCH_SPARX5 is not set -CONFIG_ARCH_STARFIVE=y -# CONFIG_ARCH_SUNXI is not set -CONFIG_ARCH_THEAD=y -CONFIG_ARCH_VIRT=y -# CONFIG_ARCNET is not set -CONFIG_ARM64_AMU_EXTN=y -CONFIG_ARM64_E0PD=y -CONFIG_ARM64_EPAN=y -CONFIG_ARM64_ERRATUM_1319367=y -CONFIG_ARM64_ERRATUM_1530923=y -CONFIG_ARM64_ERRATUM_1542419=y -CONFIG_ARM64_ERRATUM_2054223=y -CONFIG_ARM64_ERRATUM_2067961=y -CONFIG_ARM64_ERRATUM_2119858=y -CONFIG_ARM64_ERRATUM_2139208=y -CONFIG_ARM64_ERRATUM_2224489=y -CONFIG_ARM64_ERRATUM_2253138=y -CONFIG_ARM64_USE_LSE_ATOMICS=y -CONFIG_ARM_CMN=m -# CONFIG_ARM_MHU is not set -# CONFIG_ARM_MHU_V2 is not set -CONFIG_ARM_SMCCC_SOC_ID=y -# CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS is not set -# CONFIG_AS3935 is not set -# CONFIG_AS73211 is not set -# CONFIG_ASUS_TF103C_DOCK is not set -CONFIG_ASYMMETRIC_KEY_TYPE=y -CONFIG_ASYMMETRIC_TPM_KEY_SUBTYPE=m -CONFIG_ASYNC_RAID6_TEST=m -CONFIG_ASYNC_TX_DMA=y -CONFIG_AT803X_PHY=m -CONFIG_ATA_ACPI=y -CONFIG_ATA_BMDMA=y -CONFIG_ATA_FORCE=y -CONFIG_ATA_GENERIC=m -CONFIG_ATALK=m -CONFIG_ATA_OVER_ETH=m -CONFIG_ATA_PIIX=y -# CONFIG_ATARI_PARTITION is not set -CONFIG_ATA_SFF=y -CONFIG_ATA_VERBOSE_ERROR=y -CONFIG_ATA=y -CONFIG_ATH10K_AHB=y -CONFIG_ATH10K_DEBUGFS=y -# CONFIG_ATH10K_DEBUG is not set -CONFIG_ATH10K=m -CONFIG_ATH10K_PCI=m -CONFIG_ATH10K_SDIO=m -# CONFIG_ATH10K_SPECTRAL is not set -# CONFIG_ATH10K_TRACING is not set -CONFIG_ATH10K_USB=m -# CONFIG_ATH11K_AHB is not set -# CONFIG_ATH11K_DEBUGFS is not set -# CONFIG_ATH11K_DEBUG is not set -CONFIG_ATH11K=m -CONFIG_ATH11K_PCI=m -# CONFIG_ATH11K_SPECTRAL is not set -# CONFIG_ATH11K_TRACING is not set -# CONFIG_ATH12K_DEBUGFS is not set -# CONFIG_ATH12K_DEBUG is not set -CONFIG_ATH12K=m -# CONFIG_ATH12K_TRACING is not set -CONFIG_ATH5K_DEBUG=y -CONFIG_ATH5K=m -# CONFIG_ATH5K_TRACER is not set -CONFIG_ATH6KL_DEBUG=y -CONFIG_ATH6KL=m -CONFIG_ATH6KL_SDIO=m -# CONFIG_ATH6KL_TRACING is not set -CONFIG_ATH6KL_USB=m -CONFIG_ATH9K_AHB=y -CONFIG_ATH9K_BTCOEX_SUPPORT=y -# CONFIG_ATH9K_CHANNEL_CONTEXT is not set -# CONFIG_ATH9K_COMMON_SPECTRAL is not set -CONFIG_ATH9K_DEBUGFS=y -# CONFIG_ATH9K_DYNACK is not set -# CONFIG_ATH9K_HTC_DEBUGFS is not set -CONFIG_ATH9K_HTC=m -# CONFIG_ATH9K_HWRNG is not set -CONFIG_ATH9K=m -CONFIG_ATH9K_PCI_NO_EEPROM=m -CONFIG_ATH9K_PCI=y -CONFIG_ATH9K_PCOEM=y -CONFIG_ATH9K_RFKILL=y -# CONFIG_ATH9K_STATION_STATISTICS is not set -# CONFIG_ATH9K_WOW is not set -CONFIG_ATH_COMMON=m -# CONFIG_ATH_DEBUG is not set -# CONFIG_ATH_TRACEPOINTS is not set -CONFIG_ATL1C=m -CONFIG_ATL1E=m -CONFIG_ATL1=m -CONFIG_ATL2=m -# CONFIG_ATLAS_EZO_SENSOR is not set -# CONFIG_ATLAS_PH_SENSOR is not set -# CONFIG_ATM_BR2684_IPFILTER is not set -CONFIG_ATM_BR2684=m -CONFIG_ATM_CLIP=m -# CONFIG_ATM_CLIP_NO_ICMP is not set -CONFIG_ATM_DRIVERS=y -# CONFIG_ATM_DUMMY is not set -# CONFIG_ATM_ENI_DEBUG is not set -CONFIG_ATM_ENI=m -# CONFIG_ATM_ENI_TUNE_BURST is not set -# CONFIG_ATM_FORE200E is not set -CONFIG_ATM_HE=m -# CONFIG_ATM_HE_USE_SUNI is not set -# CONFIG_ATM_IA is not set -# CONFIG_ATM_IDT77252 is not set -# CONFIG_ATM_LANAI is not set -CONFIG_ATM_LANE=m -CONFIG_ATM=m -# CONFIG_ATM_MPOA is not set -CONFIG_ATM_NICSTAR=m -# CONFIG_ATM_NICSTAR_USE_IDT77105 is not set -# CONFIG_ATM_NICSTAR_USE_SUNI is not set -CONFIG_ATM_SOLOS=m -CONFIG_ATM_TCP=m -CONFIG_ATOMIC64_SELFTEST=y -CONFIG_ATP=m -CONFIG_AUDITSYSCALL=y -CONFIG_AUDIT=y -CONFIG_AUTOFS_FS=y -CONFIG_AUXDISPLAY=y -# CONFIG_AW96103 is not set -CONFIG_AX25_DAMA_SLAVE=y -CONFIG_AX25=m -# CONFIG_AX45MP_L2_CACHE is not set -CONFIG_AX88796B_PHY=m -CONFIG_AX88796B_RUST_PHY=y -CONFIG_AXP20X_ADC=m -CONFIG_AXP20X_POWER=m -CONFIG_AXP288_ADC=m -CONFIG_B43_BCMA_PIO=y -CONFIG_B43_BCMA=y -CONFIG_B43_BUSES_BCMA_AND_SSB=y -# CONFIG_B43_BUSES_BCMA is not set -# CONFIG_B43_BUSES_SSB is not set -# CONFIG_B43_DEBUG is not set -# CONFIG_B43LEGACY_DEBUG is not set -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y -# CONFIG_B43LEGACY_DMA_MODE is not set -CONFIG_B43LEGACY_DMA=y -CONFIG_B43LEGACY=m -# CONFIG_B43LEGACY_PIO_MODE is not set -CONFIG_B43LEGACY_PIO=y -CONFIG_B43=m -CONFIG_B43_PHY_G=y -CONFIG_B43_PHY_HT=y -CONFIG_B43_PHY_LP=y -CONFIG_B43_PHY_N=y -CONFIG_B43_SDIO=y -CONFIG_B44=m -CONFIG_B44_PCI=y -CONFIG_B53=m -CONFIG_B53_MDIO_DRIVER=m -CONFIG_B53_MMAP_DRIVER=m -CONFIG_B53_SERDES=m -CONFIG_B53_SPI_DRIVER=m -CONFIG_B53_SRAB_DRIVER=m -# CONFIG_BACKLIGHT_ADP8860 is not set -# CONFIG_BACKLIGHT_ADP8870 is not set -CONFIG_BACKLIGHT_ARCXCNN=m -# CONFIG_BACKLIGHT_BD6107 is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -# CONFIG_BACKLIGHT_GPIO is not set -CONFIG_BACKLIGHT_KTD253=m -# CONFIG_BACKLIGHT_KTD2801 is not set -CONFIG_BACKLIGHT_KTZ8866=m -CONFIG_BACKLIGHT_LED=m -CONFIG_BACKLIGHT_LM3509=m -# CONFIG_BACKLIGHT_LM3630A is not set -# CONFIG_BACKLIGHT_LM3639 is not set -CONFIG_BACKLIGHT_LP855X=m -# CONFIG_BACKLIGHT_LV5207LP is not set -CONFIG_BACKLIGHT_MP3309C=m -CONFIG_BACKLIGHT_MT6370=m -CONFIG_BACKLIGHT_PWM=m -# CONFIG_BACKLIGHT_QCOM_WLED is not set -CONFIG_BACKLIGHT_RT4831=m -# CONFIG_BACKLIGHT_SAHARA is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -CONFIG_BALLOON_COMPACTION=y -# CONFIG_BARCO_P50_GPIO is not set -CONFIG_BAREUDP=m -CONFIG_BASE_FULL=y -# CONFIG_BASE_SMALL is not set -CONFIG_BATMAN_ADV_BATMAN_V=y -CONFIG_BATMAN_ADV_BLA=y -CONFIG_BATMAN_ADV_DAT=y -# CONFIG_BATMAN_ADV_DEBUG is not set -CONFIG_BATMAN_ADV=m -CONFIG_BATMAN_ADV_MCAST=y -CONFIG_BATMAN_ADV_NC=y -CONFIG_BATMAN_ADV_TRACING=y -CONFIG_BATTERY_AXP20X=m -# CONFIG_BATTERY_BQ27XXX is not set -CONFIG_BATTERY_CW2015=m -# CONFIG_BATTERY_DS2760 is not set -# CONFIG_BATTERY_DS2780 is not set -# CONFIG_BATTERY_DS2781 is not set -# CONFIG_BATTERY_DS2782 is not set -# CONFIG_BATTERY_GAUGE_LTC2941 is not set -# CONFIG_BATTERY_GOLDFISH is not set -# CONFIG_BATTERY_MAX17040 is not set -# CONFIG_BATTERY_MAX17042 is not set -CONFIG_BATTERY_MAX1720X=m -# CONFIG_BATTERY_MAX1721X is not set -CONFIG_BATTERY_RT5033=m -CONFIG_BATTERY_SAMSUNG_SDI=y -# CONFIG_BATTERY_SBS is not set -CONFIG_BATTERY_SURFACE=m -CONFIG_BATTERY_UG3105=m -CONFIG_BAYCOM_EPP=m -CONFIG_BAYCOM_PAR=m -CONFIG_BAYCOM_SER_FDX=m -CONFIG_BAYCOM_SER_HDX=m -# CONFIG_BCACHE_ASYNC_REGISTRATION is not set -# CONFIG_BCACHE_CLOSURES_DEBUG is not set -# CONFIG_BCACHE_DEBUG is not set -# CONFIG_BCACHEFS_DEBUG is not set -# CONFIG_BCACHEFS_DEBUG_TRANSACTIONS is not set -# CONFIG_BCACHEFS_ERASURE_CODING is not set -CONFIG_BCACHEFS_FS=m -# CONFIG_BCACHEFS_LOCK_TIME_STATS is not set -# CONFIG_BCACHEFS_NO_LATENCY_ACCT is not set -# CONFIG_BCACHEFS_PATH_TRACEPOINTS is not set -CONFIG_BCACHEFS_POSIX_ACL=y -CONFIG_BCACHEFS_QUOTA=y -CONFIG_BCACHEFS_SIX_OPTIMISTIC_SPIN=y -# CONFIG_BCACHEFS_TESTS is not set -CONFIG_BCACHE=m -CONFIG_BCM54140_PHY=m -CONFIG_BCM7XXX_PHY=m -# CONFIG_BCM84881_PHY is not set -CONFIG_BCM87XX_PHY=m -CONFIG_BCMA_BLOCKIO=y -# CONFIG_BCMA_DEBUG is not set -CONFIG_BCMA_DRIVER_GMAC_CMN=y -CONFIG_BCMA_DRIVER_GPIO=y -CONFIG_BCMA_HOST_PCI_POSSIBLE=y -CONFIG_BCMA_HOST_PCI=y -# CONFIG_BCMA_HOST_SOC is not set -CONFIG_BCMA=m -CONFIG_BCMGENET=m -# CONFIG_BCM_KONA_USB2_PHY is not set -CONFIG_BCM_NET_PHYPTP=m -CONFIG_BCM_VK=m -CONFIG_BCM_VK_TTY=y -CONFIG_BD96801_WATCHDOG=m -CONFIG_BE2ISCSI=m -CONFIG_BE2NET_BE2=y -CONFIG_BE2NET_BE3=y -# CONFIG_BE2NET_HWMON is not set -CONFIG_BE2NET_LANCER=y -CONFIG_BE2NET=m -CONFIG_BE2NET_SKYHAWK=y -# CONFIG_BEFS_DEBUG is not set -CONFIG_BEFS_FS=m -# CONFIG_BFQ_CGROUP_DEBUG is not set -CONFIG_BFQ_GROUP_IOSCHED=y -# CONFIG_BFS_FS is not set -CONFIG_BH1745=m -CONFIG_BH1750=m -# CONFIG_BH1780 is not set -CONFIG_BIG_KEYS=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_FLAT is not set -CONFIG_BINFMT_MISC=m -CONFIG_BINFMT_SCRIPT=y -CONFIG_BITFIELD_KUNIT=m -CONFIG_BITS_TEST=m -CONFIG_BLK_CGROUP_FC_APPID=y -CONFIG_BLK_CGROUP_IOCOST=y -CONFIG_BLK_CGROUP_IOLATENCY=y -CONFIG_BLK_CGROUP_IOPRIO=y -CONFIG_BLK_CGROUP=y -CONFIG_BLK_DEBUG_FS=y -CONFIG_BLK_DEV_3W_XXXX_RAID=m -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_DM=y -CONFIG_BLK_DEV_DRBD=m -CONFIG_BLK_DEV_FD=m -# CONFIG_BLK_DEV_FD_RAWCMD is not set -CONFIG_BLK_DEV_INITRD=y -CONFIG_BLK_DEV_INTEGRITY=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_BLK_DEV_LOOP=m -CONFIG_BLK_DEV_LOOP_MIN_COUNT=0 -CONFIG_BLK_DEV_MD=y -CONFIG_BLK_DEV_NBD=m -# CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION is not set -CONFIG_BLK_DEV_NULL_BLK=m -CONFIG_BLK_DEV_NVME=m -# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set -CONFIG_BLK_DEV_PMEM=m -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM=m -CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_BLK_DEV_RBD=m -CONFIG_BLK_DEV_RNBD_CLIENT=m -CONFIG_BLK_DEV_RNBD_SERVER=m -# CONFIG_BLK_DEV_RSXX is not set -CONFIG_BLK_DEV_RUST_NULL=m -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_BLK_DEV_SX8=m -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -CONFIG_BLK_DEV_THROTTLING=y -CONFIG_BLKDEV_UBLK_LEGACY_OPCODES=y -CONFIG_BLK_DEV_UBLK=m -CONFIG_BLK_DEV_WRITE_MOUNTED=y -CONFIG_BLK_DEV=y -CONFIG_BLK_DEV_ZONED=y -# CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK is not set -CONFIG_BLK_INLINE_ENCRYPTION=y -CONFIG_BLK_SED_OPAL=y -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_WBT=y -CONFIG_BLOCK_LEGACY_AUTOLOAD=y -CONFIG_BLOCK=y -# CONFIG_BMA180 is not set -# CONFIG_BMA220 is not set -# CONFIG_BMA400 is not set -CONFIG_BMC150_ACCEL=m -CONFIG_BMC150_MAGN_I2C=m -CONFIG_BMC150_MAGN_SPI=m -CONFIG_BME680=m -# CONFIG_BMG160 is not set -# CONFIG_BMI088_ACCEL is not set -CONFIG_BMI160_I2C=m -CONFIG_BMI160_SPI=m -# CONFIG_BMI323_I2C is not set -# CONFIG_BMI323_SPI is not set -CONFIG_BMP280=m -CONFIG_BNA=m -CONFIG_BNX2=m -CONFIG_BNX2X=m -CONFIG_BNX2X_SRIOV=y -CONFIG_BNXT_DCB=y -CONFIG_BNXT_FLOWER_OFFLOAD=y -CONFIG_BNXT_HWMON=y -CONFIG_BNXT=m -CONFIG_BNXT_SRIOV=y -CONFIG_BONDING=m -# CONFIG_BOOT_CONFIG_EMBED is not set -# CONFIG_BOOT_CONFIG_FORCE is not set -CONFIG_BOOT_CONFIG=y -# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_BOOTTIME_TRACING=y -CONFIG_BOSCH_BNO055_I2C=m -CONFIG_BOSCH_BNO055_SERIAL=m -CONFIG_BOUNCE=y -# CONFIG_BPFILTER is not set -CONFIG_BPF_JIT_ALWAYS_ON=y -CONFIG_BPF_JIT=y -# CONFIG_BPF_KPROBE_OVERRIDE is not set -CONFIG_BPF_LIRC_MODE2=y -CONFIG_BPF_LSM=y -CONFIG_BPF_PRELOAD_UMD=m -CONFIG_BPF_PRELOAD=y -CONFIG_BPF_STREAM_PARSER=y -CONFIG_BPF_SYSCALL=y -CONFIG_BPF_UNPRIV_DEFAULT_OFF=y -CONFIG_BPQETHER=m -CONFIG_BQL=y -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_BRCMDBG is not set -CONFIG_BRCMFMAC=m -CONFIG_BRCMFMAC_PCIE=y -CONFIG_BRCMFMAC_SDIO=y -CONFIG_BRCMFMAC_USB=y -CONFIG_BRCMSMAC=m -# CONFIG_BRCM_TRACING is not set -CONFIG_BRIDGE_CFM=y -CONFIG_BRIDGE_EBT_802_3=m -CONFIG_BRIDGE_EBT_AMONG=m -CONFIG_BRIDGE_EBT_ARP=m -CONFIG_BRIDGE_EBT_ARPREPLY=m -CONFIG_BRIDGE_EBT_BROUTE=m -CONFIG_BRIDGE_EBT_DNAT=m -CONFIG_BRIDGE_EBT_IP6=m -CONFIG_BRIDGE_EBT_IP=m -CONFIG_BRIDGE_EBT_LIMIT=m -CONFIG_BRIDGE_EBT_LOG=m -CONFIG_BRIDGE_EBT_MARK=m -CONFIG_BRIDGE_EBT_MARK_T=m -CONFIG_BRIDGE_EBT_NFLOG=m -CONFIG_BRIDGE_EBT_PKTTYPE=m -CONFIG_BRIDGE_EBT_REDIRECT=m -CONFIG_BRIDGE_EBT_SNAT=m -CONFIG_BRIDGE_EBT_STP=m -CONFIG_BRIDGE_EBT_T_FILTER=m -CONFIG_BRIDGE_EBT_T_NAT=m -CONFIG_BRIDGE_EBT_VLAN=m -CONFIG_BRIDGE_IGMP_SNOOPING=y -CONFIG_BRIDGE=m -CONFIG_BRIDGE_MRP=y -CONFIG_BRIDGE_NETFILTER=m -CONFIG_BRIDGE_NF_EBTABLES=m -CONFIG_BRIDGE_VLAN_FILTERING=y -CONFIG_BROADCOM_PHY=m -CONFIG_BSD_DISKLABEL=y -CONFIG_BSD_PROCESS_ACCT_V3=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_BT_6LOWPAN=m -CONFIG_BT_AOSPEXT=y -CONFIG_BT_ATH3K=m -CONFIG_BT_BNEP=m -CONFIG_BT_BNEP_MC_FILTER=y -CONFIG_BT_BNEP_PROTO_FILTER=y -CONFIG_BT_BREDR=y -# CONFIG_BT_DEBUGFS is not set -CONFIG_BT_HCIBCM203X=m -CONFIG_BT_HCIBCM4377=m -CONFIG_BT_HCIBFUSB=m -CONFIG_BT_HCIBLUECARD=m -CONFIG_BT_HCIBPA10X=m -CONFIG_BT_HCIBT3C=m -CONFIG_BT_HCIBTSDIO=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y -CONFIG_BT_HCIBTUSB_BCM=y -CONFIG_BT_HCIBTUSB=m -CONFIG_BT_HCIBTUSB_MTK=y -CONFIG_BT_HCIBTUSB_POLL_SYNC=y -CONFIG_BT_HCIBTUSB_RTL=y -CONFIG_BT_HCIDTL1=m -CONFIG_BT_HCIUART_3WIRE=y -CONFIG_BT_HCIUART_AG6XX=y -# CONFIG_BT_HCIUART_AML is not set -CONFIG_BT_HCIUART_ATH3K=y -CONFIG_BT_HCIUART_BCM=y -CONFIG_BT_HCIUART_BCSP=y -CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_INTEL=y -CONFIG_BT_HCIUART_LL=y -CONFIG_BT_HCIUART=m -CONFIG_BT_HCIUART_MRVL=y -CONFIG_BT_HCIUART_NOKIA=m -CONFIG_BT_HCIUART_QCA=y -# CONFIG_BT_HCIUART_RTL is not set -CONFIG_BT_HCIUART_SERDEV=y -CONFIG_BT_HCIVHCI=m -CONFIG_BT_HIDP=m -# CONFIG_BT_HS is not set -CONFIG_BT_INTEL_PCIE=m -CONFIG_BT_LEDS=y -CONFIG_BT_LE_L2CAP_ECRED=y -CONFIG_BT_LE=y -CONFIG_BT=m -CONFIG_BT_MRVL=m -CONFIG_BT_MRVL_SDIO=m -CONFIG_BT_MSFTEXT=y -CONFIG_BT_MTKSDIO=m -CONFIG_BT_MTKUART=m -CONFIG_BT_NXPUART=m -CONFIG_BT_QCA=m -CONFIG_BT_RFCOMM=m -CONFIG_BT_RFCOMM_TTY=y -# CONFIG_BTRFS_ASSERT is not set -# CONFIG_BTRFS_DEBUG is not set -# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set -CONFIG_BTRFS_FS_POSIX_ACL=y -# CONFIG_BTRFS_FS_REF_VERIFY is not set -# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set -CONFIG_BTRFS_FS=y -# CONFIG_BT_SELFTEST is not set -# CONFIG_BTT is not set -CONFIG_BT_VIRTIO=m -CONFIG_BUG_ON_DATA_CORRUPTION=y -CONFIG_BUG=y -CONFIG_BUILD_SALT="" -# CONFIG_C2PORT is not set -# CONFIG_CACHEFILES_DEBUG is not set -# CONFIG_CACHEFILES_ERROR_INJECTION is not set -CONFIG_CACHEFILES=m -CONFIG_CACHEFILES_ONDEMAND=y -CONFIG_CACHESTAT_SYSCALL=y -# CONFIG_CADENCE_WATCHDOG is not set -# CONFIG_CAIF is not set -CONFIG_CAN_8DEV_USB=m -CONFIG_CAN_BCM=m -CONFIG_CAN_CALC_BITTIMING=y -CONFIG_CAN_CAN327=m -# CONFIG_CAN_CC770 is not set -# CONFIG_CAN_C_CAN is not set -CONFIG_CAN_CTUCANFD_PCI=m -CONFIG_CAN_CTUCANFD_PLATFORM=m -# CONFIG_CAN_DEBUG_DEVICES is not set -CONFIG_CAN_DEV=m -CONFIG_CAN_EMS_USB=m -# CONFIG_CAN_ESD_402_PCI is not set -CONFIG_CAN_ESD_USB2=m -CONFIG_CAN_ESD_USB=m -# CONFIG_CAN_ETAS_ES58X is not set -CONFIG_CAN_F81604=m -# CONFIG_CAN_FLEXCAN is not set -# CONFIG_CAN_GRCAN is not set -CONFIG_CAN_GS_USB=m -CONFIG_CAN_GW=m -CONFIG_CAN_HI311X=m -CONFIG_CAN_IFI_CANFD=m -CONFIG_CAN_ISOTP=m -CONFIG_CAN_J1939=m -# CONFIG_CAN_KVASER_PCIEFD is not set -CONFIG_CAN_KVASER_USB=m -CONFIG_CAN=m -CONFIG_CAN_M_CAN=m -CONFIG_CAN_M_CAN_PCI=m -# CONFIG_CAN_M_CAN_PLATFORM is not set -# CONFIG_CAN_M_CAN_TCAN4X5X is not set -CONFIG_CAN_MCBA_USB=m -CONFIG_CAN_MCP251XFD=m -# CONFIG_CAN_MCP251XFD_SANITY is not set -CONFIG_CAN_MCP251X=m -CONFIG_CAN_NETLINK=y -CONFIG_CAN_PEAK_PCIEFD=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_RAW=m -# CONFIG_CAN_ROCKCHIP_CANFD is not set -# CONFIG_CAN_SJA1000 is not set -CONFIG_CAN_SLCAN=m -# CONFIG_CAN_SOFTING is not set -CONFIG_CAN_SUN4I=m -# CONFIG_CAN_UCAN is not set -CONFIG_CAN_VCAN=m -CONFIG_CAN_VXCAN=m -# CONFIG_CARDBUS is not set -# CONFIG_CARL9170_DEBUGFS is not set -# CONFIG_CARL9170_HWRNG is not set -CONFIG_CARL9170_LEDS=y -CONFIG_CARL9170=m -CONFIG_CASSINI=m -CONFIG_CB710_CORE=m -# CONFIG_CB710_DEBUG is not set -# CONFIG_CC10001_ADC is not set -CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -# CONFIG_CCS811 is not set -CONFIG_CDROM_PKTCDVD_BUFFERS=8 -CONFIG_CDROM_PKTCDVD=m -# CONFIG_CDROM_PKTCDVD_WCACHE is not set -CONFIG_CDX_CONTROLLER=m -CONFIG_CEC_CH7322=m -CONFIG_CEC_GPIO=m -# CONFIG_CEC_PIN_ERROR_INJ is not set -CONFIG_CEC_PIN=y -# CONFIG_CEC_SECO is not set -CONFIG_CEC_SECO_RC=y -CONFIG_CEPH_FSCACHE=y -CONFIG_CEPH_FS=m -CONFIG_CEPH_FS_POSIX_ACL=y -CONFIG_CEPH_FS_SECURITY_LABEL=y -CONFIG_CEPH_LIB=m -# CONFIG_CEPH_LIB_PRETTYDEBUG is not set -# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set -CONFIG_CFAG12864B=m -CONFIG_CFAG12864B_RATE=20 -# CONFIG_CFG80211_CERTIFICATION_ONUS is not set -CONFIG_CFG80211_CRDA_SUPPORT=y -CONFIG_CFG80211_DEBUGFS=y -CONFIG_CFG80211_DEFAULT_PS=y -# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set -CONFIG_CFG80211_KUNIT_TEST=m -CONFIG_CFG80211=m -# CONFIG_CFG80211_WEXT is not set -# CONFIG_CFI_CLANG is not set -CONFIG_CFS_BANDWIDTH=y -CONFIG_CGROUP_BPF=y -CONFIG_CGROUP_CPUACCT=y -# CONFIG_CGROUP_DEBUG is not set -CONFIG_CGROUP_DEVICE=y -# CONFIG_CGROUP_FAVOR_DYNMODS is not set -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_HUGETLB=y -CONFIG_CGROUP_MISC=y -CONFIG_CGROUP_NET_CLASSID=y -CONFIG_CGROUP_NET_PRIO=y -CONFIG_CGROUP_PERF=y -CONFIG_CGROUP_PIDS=y -CONFIG_CGROUP_RDMA=y -CONFIG_CGROUP_SCHED=y -CONFIG_CGROUPS=y -# CONFIG_CHARGER_ADP5061 is not set -CONFIG_CHARGER_AXP20X=m -CONFIG_CHARGER_BD99954=m -# CONFIG_CHARGER_BQ2415X is not set -# CONFIG_CHARGER_BQ24190 is not set -# CONFIG_CHARGER_BQ24257 is not set -# CONFIG_CHARGER_BQ24735 is not set -CONFIG_CHARGER_BQ2515X=m -CONFIG_CHARGER_BQ256XX=m -# CONFIG_CHARGER_BQ25890 is not set -# CONFIG_CHARGER_BQ25980 is not set -CONFIG_CHARGER_CROS_CONTROL=m -CONFIG_CHARGER_CROS_PCHG=m -# CONFIG_CHARGER_CROS_USBPD is not set -# CONFIG_CHARGER_DETECTOR_MAX14656 is not set -# CONFIG_CHARGER_GPIO is not set -# CONFIG_CHARGER_ISP1704 is not set -# CONFIG_CHARGER_LP8727 is not set -CONFIG_CHARGER_LT3651=m -CONFIG_CHARGER_LTC4162L=m -# CONFIG_CHARGER_MANAGER is not set -CONFIG_CHARGER_MAX77650=m -CONFIG_CHARGER_MAX77976=m -# CONFIG_CHARGER_MAX8903 is not set -CONFIG_CHARGER_MT6370=m -# CONFIG_CHARGER_RT9455 is not set -CONFIG_CHARGER_RT9467=m -CONFIG_CHARGER_RT9471=m -# CONFIG_CHARGER_SBS is not set -CONFIG_CHARGER_SMB347=m -CONFIG_CHARGER_SURFACE=m -CONFIG_CHARGER_UCS1002=m -CONFIG_CHARLCD_BL_FLASH=y -# CONFIG_CHARLCD_BL_OFF is not set -# CONFIG_CHARLCD_BL_ON is not set -CONFIG_CHECKPOINT_RESTORE=y -CONFIG_CHECKSUM_KUNIT=m -CONFIG_CHELSIO_INLINE_CRYPTO=y -CONFIG_CHELSIO_IPSEC_INLINE=m -CONFIG_CHELSIO_T1_1G=y -CONFIG_CHELSIO_T1=m -CONFIG_CHELSIO_T3=m -CONFIG_CHELSIO_T4_DCB=y -# CONFIG_CHELSIO_T4_FCOE is not set -CONFIG_CHELSIO_T4=m -CONFIG_CHELSIO_T4VF=m -CONFIG_CHELSIO_TLS_DEVICE=m -CONFIG_CHR_DEV_SCH=m -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_ST=m -CONFIG_CHROMEOS_ACPI=m -CONFIG_CHROMEOS_PRIVACY_SCREEN=m -CONFIG_CHROMEOS_TBMC=y -CONFIG_CHROME_PLATFORMS=y -CONFIG_CHT_DC_TI_PMIC_OPREGION=y -CONFIG_CICADA_PHY=m -CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y -# CONFIG_CIFS_COMPRESSION is not set -# CONFIG_CIFS_DEBUG2 is not set -# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set -CONFIG_CIFS_DEBUG=y -CONFIG_CIFS_DFS_UPCALL=y -CONFIG_CIFS_FSCACHE=y -CONFIG_CIFS=m -CONFIG_CIFS_POSIX=y -# CONFIG_CIFS_SMB_DIRECT is not set -# CONFIG_CIFS_STATS2 is not set -CONFIG_CIFS_SWN_UPCALL=y -CONFIG_CIFS_UPCALL=y -CONFIG_CIFS_XATTR=y -CONFIG_CIO2_BRIDGE=y -CONFIG_CLEANCACHE=y -CONFIG_CLK_FD_KUNIT_TEST=m -CONFIG_CLK_FIXED_RATE_KUNIT_TEST=m -CONFIG_CLK_GATE_KUNIT_TEST=m -# CONFIG_CLK_ICST is not set -CONFIG_CLK_KUNIT_TEST=m -# CONFIG_CLK_QORIQ is not set -CONFIG_CLK_SIFIVE_PRCI=y -CONFIG_CLK_SIFIVE=y -CONFIG_CLK_SOPHGO_CV1800=y -# CONFIG_CLK_SOPHGO_SG2042_PLL is not set -# CONFIG_CLK_SP810 is not set -CONFIG_CLK_STARFIVE_JH7100_AUDIO=m -CONFIG_CLK_STARFIVE_JH7100=y -CONFIG_CLK_STARFIVE_JH7110_AON=y -CONFIG_CLK_STARFIVE_JH7110_ISP=y -CONFIG_CLK_STARFIVE_JH7110_PLL=y -CONFIG_CLK_STARFIVE_JH7110_STG=y -CONFIG_CLK_STARFIVE_JH7110_SYS=y -CONFIG_CLK_STARFIVE_JH7110_VOUT=y -CONFIG_CLK_STARFIVE_JH71X0=y -# CONFIG_CLK_SUNXI_CLOCKS is not set -# CONFIG_CLK_SUNXI is not set -# CONFIG_CLK_SUNXI_PRCM_SUN6I is not set -# CONFIG_CLK_SUNXI_PRCM_SUN8I is not set -# CONFIG_CLK_SUNXI_PRCM_SUN9I is not set -CONFIG_CLK_THEAD_TH1520_AP=y -CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=100 -CONFIG_CLS_U32_MARK=y -CONFIG_CLS_U32_PERF=y -CONFIG_CM32181=m -# CONFIG_CM3232 is not set -# CONFIG_CM3323 is not set -CONFIG_CM3605=m -# CONFIG_CM36651 is not set -CONFIG_CMA_AREAS=7 -# CONFIG_CMA_DEBUGFS is not set -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA is not set -CONFIG_CMA_SYSFS=y -CONFIG_CMDLINE="" -# CONFIG_CMDLINE_BOOL is not set -CONFIG_CMDLINE_FROM_BOOTLOADER=y -CONFIG_CMDLINE_KUNIT_TEST=m -# CONFIG_CMDLINE_PARTITION is not set -CONFIG_CMODEL_MEDANY=y -# CONFIG_CMODEL_MEDLOW is not set -CONFIG_CNIC=m -CONFIG_CODA_FS=m -# CONFIG_COMEDI is not set -CONFIG_COMMAND_LINE_SIZE=4096 -CONFIG_COMMON_CLK_AXG_AUDIO=y -CONFIG_COMMON_CLK_AXI_CLKGEN=m -# CONFIG_COMMON_CLK_CDCE706 is not set -# CONFIG_COMMON_CLK_CDCE925 is not set -# CONFIG_COMMON_CLK_CS2000_CP is not set -# CONFIG_COMMON_CLK_FIXED_MMIO is not set -# CONFIG_COMMON_CLK_FSL_FLEXSPI is not set -# CONFIG_COMMON_CLK_FSL_SAI is not set -# CONFIG_COMMON_CLK_LAN966X is not set -# CONFIG_COMMON_CLK_MAX9485 is not set -# CONFIG_COMMON_CLK_MMP2_AUDIO is not set -CONFIG_COMMON_CLK_PWM=m -CONFIG_COMMON_CLK_RS9_PCIE=m -# CONFIG_COMMON_CLK_SI514 is not set -CONFIG_COMMON_CLK_SI521XX=y -# CONFIG_COMMON_CLK_SI5341 is not set -# CONFIG_COMMON_CLK_SI5351 is not set -CONFIG_COMMON_CLK_SI544=m -# CONFIG_COMMON_CLK_SI570 is not set -CONFIG_COMMON_CLK_VC3=m -# CONFIG_COMMON_CLK_VC5 is not set -CONFIG_COMMON_CLK_VC7=m -# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set -CONFIG_COMMON_CLK=y -CONFIG_COMPACTION=y -CONFIG_COMPAT_32BIT_TIME=y -# CONFIG_COMPAT_BRK is not set -# CONFIG_COMPAT is not set -# CONFIG_COMPILE_TEST is not set -CONFIG_CONFIGFS_FS=y -CONFIG_CONNECTOR=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_CONSOLE_LOGLEVEL_QUIET=3 -CONFIG_CONSOLE_TRANSLATIONS=y -CONFIG_CONTEXT_SWITCH_TRACER=y -# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set -CONFIG_CORDIC=m -CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y -CONFIG_COREDUMP=y -# CONFIG_CORESIGHT_CPU_DEBUG_DEFAULT_ON is not set -CONFIG_CORTINA_PHY=m -# CONFIG_COUNTER is not set -# CONFIG_CPU5_WDT is not set -# CONFIG_CPU_BIG_ENDIAN is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y -CONFIG_CPUFREQ_DT=m -CONFIG_CPUFREQ_DT_PLATDEV=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_PERFORMANCE=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_STAT=y -CONFIG_CPU_FREQ_THERMAL=y -CONFIG_CPU_FREQ=y -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -# CONFIG_CPU_IDLE_GOV_HALTPOLL is not set -# CONFIG_CPU_IDLE_GOV_LADDER is not set -# CONFIG_CPU_IDLE_GOV_TEO is not set -CONFIG_CPU_IDLE=y -CONFIG_CPU_ISOLATION=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPUMASK_KUNIT_TEST=m -CONFIG_CPUMASK_OFFSTACK=y -CONFIG_CPU_MITIGATIONS=y -# CONFIG_CPUSETS_V1 is not set -CONFIG_CPUSETS=y -# CONFIG_CPU_THERMAL is not set -CONFIG_CRAMFS_BLOCKDEV=y -# CONFIG_CRAMFS is not set -# CONFIG_CRAMFS_MTD is not set -CONFIG_CRASH_DUMP=y -CONFIG_CRASH_HOTPLUG=y -CONFIG_CRASH_MAX_MEMORY_RANGES=8192 -CONFIG_CRC16=y -# CONFIG_CRC32_BIT is not set -# CONFIG_CRC32_SARWATE is not set -# CONFIG_CRC32_SELFTEST is not set -# CONFIG_CRC32_SLICEBY4 is not set -CONFIG_CRC32_SLICEBY8=y -CONFIG_CRC32=y -CONFIG_CRC4=m -CONFIG_CRC64=y -CONFIG_CRC7=y -CONFIG_CRC8=m -CONFIG_CRC_CCITT=y -CONFIG_CRC_ITU_T=y -CONFIG_CRC_T10DIF=y -# CONFIG_CROS_EC_DEBUGFS is not set -# CONFIG_CROS_EC is not set -# CONFIG_CROS_EC_LIGHTBAR is not set -CONFIG_CROS_EC_MKBP_PROXIMITY=m -CONFIG_CROS_EC_RPMSG=m -CONFIG_CROS_EC_SENSORHUB=m -CONFIG_CROS_EC_TYPEC=m -CONFIG_CROS_EC_UART=m -CONFIG_CROS_EC_WATCHDOG=m -CONFIG_CROS_HPS_I2C=m -CONFIG_CROS_KBD_LED_BACKLIGHT=m -CONFIG_CROS_KUNIT_EC_PROTO_TEST=m -CONFIG_CROS_KUNIT=m -CONFIG_CROSS_MEMORY_ATTACH=y -CONFIG_CROS_TYPEC_SWITCH=m -CONFIG_CROS_USBPD_LOGGER=m -CONFIG_CROS_USBPD_NOTIFY=m -CONFIG_CRYPTO_842=y -CONFIG_CRYPTO_ADIANTUM=m -CONFIG_CRYPTO_AEGIS128=m -# CONFIG_CRYPTO_AES_ARM64 is not set -CONFIG_CRYPTO_AES_RISCV64=y -CONFIG_CRYPTO_AES_TI=m -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ANSI_CPRNG=m -# CONFIG_CRYPTO_ARIA is not set -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m -CONFIG_CRYPTO_BLOWFISH=m -CONFIG_CRYPTO_CAMELLIA=m -CONFIG_CRYPTO_CAST5=m -CONFIG_CRYPTO_CAST6=m -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_CCM=y -CONFIG_CRYPTO_CHACHA20=m -CONFIG_CRYPTO_CHACHA20POLY1305=m -CONFIG_CRYPTO_CHACHA_RISCV64=y -CONFIG_CRYPTO_CMAC=y -CONFIG_CRYPTO_CRC32C_VPMSUM=m -CONFIG_CRYPTO_CRC32C=y -CONFIG_CRYPTO_CRC32=m -# CONFIG_CRYPTO_CRYPTD is not set -CONFIG_CRYPTO_CTR=y -CONFIG_CRYPTO_CTS=y -CONFIG_CRYPTO_CURVE25519=m -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DES=m -# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set -CONFIG_CRYPTO_DEV_ATMEL_ECC=m -CONFIG_CRYPTO_DEV_ATMEL_SHA204A=m -# CONFIG_CRYPTO_DEV_CCP_DEBUGFS is not set -# CONFIG_CRYPTO_DEV_CCREE is not set -CONFIG_CRYPTO_DEV_CHELSIO=m -# CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST is not set -CONFIG_CRYPTO_DEV_HIFN_795X=m -CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y -# CONFIG_CRYPTO_DEV_HISI_HPRE is not set -# CONFIG_CRYPTO_DEV_HISI_SEC2 is not set -# CONFIG_CRYPTO_DEV_HISI_SEC is not set -# CONFIG_CRYPTO_DEV_HISI_TRNG is not set -CONFIG_CRYPTO_DEV_JH7110=m -CONFIG_CRYPTO_DEV_NITROX_CNN55XX=m -# CONFIG_CRYPTO_DEV_OCTEONTX_CPT is not set -CONFIG_CRYPTO_DEV_QAT_420XX=m -CONFIG_CRYPTO_DEV_QAT_4XXX=m -CONFIG_CRYPTO_DEV_QAT_C3XXX=m -CONFIG_CRYPTO_DEV_QAT_C3XXXVF=m -CONFIG_CRYPTO_DEV_QAT_C62X=m -CONFIG_CRYPTO_DEV_QAT_C62XVF=m -CONFIG_CRYPTO_DEV_QAT_DH895xCC=m -CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=m -# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set -# CONFIG_CRYPTO_DEV_SAFEXCEL is not set -# CONFIG_CRYPTO_DEV_SP_CCP is not set -CONFIG_CRYPTO_DEV_VIRTIO=m -CONFIG_CRYPTO_DH_RFC7919_GROUPS=y -CONFIG_CRYPTO_DH=y -CONFIG_CRYPTO_DRBG_CTR=y -CONFIG_CRYPTO_DRBG_HASH=y -CONFIG_CRYPTO_DRBG_MENU=y -CONFIG_CRYPTO_ECB=y -CONFIG_CRYPTO_ECDH=y -CONFIG_CRYPTO_ECDSA=y -CONFIG_CRYPTO_ECHAINIV=m -CONFIG_CRYPTO_ECRDSA=m -CONFIG_CRYPTO_ESSIV=m -CONFIG_CRYPTO_FCRYPT=m -# CONFIG_CRYPTO_FIPS_CUSTOM_VERSION is not set -CONFIG_CRYPTO_FIPS_NAME="Linux Kernel Cryptographic API" -CONFIG_CRYPTO_FIPS=y -CONFIG_CRYPTO_GCM=y -CONFIG_CRYPTO_GHASH_RISCV64=y -CONFIG_CRYPTO_GHASH=y -CONFIG_CRYPTO_HCTR2=m -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_HW=y -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_1024 is not set -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_128 is not set -CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_2=y -# CONFIG_CRYPTO_JITTERENTROPY_MEMSIZE_8192 is not set -CONFIG_CRYPTO_JITTERENTROPY_OSR=1 -# CONFIG_CRYPTO_JITTERENTROPY_TESTINTERFACE is not set -CONFIG_CRYPTO_KEYWRAP=m -CONFIG_CRYPTO_LIB_BLAKE2S=m -CONFIG_CRYPTO_LIB_CHACHA20POLY1305=y -CONFIG_CRYPTO_LIB_CHACHA=y -CONFIG_CRYPTO_LIB_CURVE25519=m -CONFIG_CRYPTO_LIB_POLY1305=y -CONFIG_CRYPTO_LRW=m -CONFIG_CRYPTO_LZ4HC=m -CONFIG_CRYPTO_LZ4=m -CONFIG_CRYPTO_LZO=y -# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set -# CONFIG_CRYPTO_MANAGER_EXTRA_TESTS is not set -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_MD4=m -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_MICHAEL_MIC=m -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_PCRYPT=m -CONFIG_CRYPTO_POLY1305=m -CONFIG_CRYPTO_RMD160=m -CONFIG_CRYPTO_RSA=y -CONFIG_CRYPTO_SEQIV=y -CONFIG_CRYPTO_SERPENT=m -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256_RISCV64=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_SHA3=y -CONFIG_CRYPTO_SHA512_RISCV64=y -CONFIG_CRYPTO_SHA512=y -CONFIG_CRYPTO_SIMD=y -# CONFIG_CRYPTO_SM2 is not set -# CONFIG_CRYPTO_SM3_GENERIC is not set -# CONFIG_CRYPTO_SM3 is not set -# CONFIG_CRYPTO_SM3_RISCV64 is not set -# CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set -# CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set -# CONFIG_CRYPTO_SM4_GENERIC is not set -# CONFIG_CRYPTO_SM4 is not set -# CONFIG_CRYPTO_SM4_RISCV64 is not set -# CONFIG_CRYPTO_STATS is not set -CONFIG_CRYPTO_STREEBOG=m -CONFIG_CRYPTO_TEST=m -CONFIG_CRYPTO_TWOFISH=m -CONFIG_CRYPTO_USER_API_AEAD=y -# CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is not set -CONFIG_CRYPTO_USER_API_HASH=y -# CONFIG_CRYPTO_USER_API_RNG_CAVP is not set -CONFIG_CRYPTO_USER_API_RNG=y -CONFIG_CRYPTO_USER_API_SKCIPHER=y -CONFIG_CRYPTO_USER=m -CONFIG_CRYPTO_VMAC=m -CONFIG_CRYPTO_WP512=m -CONFIG_CRYPTO_XCBC=m -CONFIG_CRYPTO_XTS=y -CONFIG_CRYPTO_XXHASH=y -CONFIG_CRYPTO=y -CONFIG_CRYPTO_ZSTD=m -# CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set -# CONFIG_CSD_LOCK_WAIT_DEBUG is not set -CONFIG_CUSE=m -CONFIG_CW1200=m -CONFIG_CW1200_WLAN_SDIO=m -CONFIG_CW1200_WLAN_SPI=m -CONFIG_CXD2880_SPI_DRV=m -# CONFIG_CX_ECAT is not set -CONFIG_CXL_ACPI=m -CONFIG_CXL_BUS=m -CONFIG_CXL_MEM=m -# CONFIG_CXL_MEM_RAW_COMMANDS is not set -CONFIG_CXL_PCI=m -CONFIG_CXL_PMEM=m -CONFIG_CXL_PMU=m -# CONFIG_CXL_REGION_INVALIDATION_TEST is not set -CONFIG_CXL_REGION=y -# CONFIG_CZNIC_PLATFORMS is not set -CONFIG_DA280=m -CONFIG_DA311=m -CONFIG_DA9063_WATCHDOG=m -# CONFIG_DAMON_DBGFS_DEPRECATED is not set -CONFIG_DAMON_DBGFS=y -# CONFIG_DAMON_LRU_SORT is not set -CONFIG_DAMON_PADDR=y -CONFIG_DAMON_RECLAIM=y -CONFIG_DAMON_SYSFS=y -CONFIG_DAMON_VADDR=y -CONFIG_DAMON=y -CONFIG_DAVICOM_PHY=m -CONFIG_DAX=y -CONFIG_DCB=y -# CONFIG_DDR is not set -CONFIG_DE2104X_DSL=0 -CONFIG_DE2104X=m -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -CONFIG_DEBUG_BOOT_PARAMS=y -CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_CGROUP_REF is not set -# CONFIG_DEBUG_CLOSURES is not set -# CONFIG_DEBUG_CREDENTIALS is not set -# CONFIG_DEBUG_DEVRES is not set -# CONFIG_DEBUG_DRIVER is not set -# CONFIG_DEBUG_ENTRY is not set -# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_32B is not set -# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -CONFIG_DEBUG_FS_ALLOW_ALL=y -# CONFIG_DEBUG_FS_ALLOW_NONE is not set -# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set -CONFIG_DEBUG_FS=y -# CONFIG_DEBUG_GPIO is not set -# CONFIG_DEBUG_HIGHMEM is not set -CONFIG_DEBUG_INFO_BTF_MODULES=y -CONFIG_DEBUG_INFO_BTF=y -# CONFIG_DEBUG_INFO_COMPRESSED is not set -CONFIG_DEBUG_INFO_COMPRESSED_NONE=y -# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set -# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set -# CONFIG_DEBUG_INFO_DWARF4 is not set -# CONFIG_DEBUG_INFO_DWARF5 is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -# CONFIG_DEBUG_INFO_NONE is not set -# CONFIG_DEBUG_INFO_REDUCED is not set -# CONFIG_DEBUG_INFO_SPLIT is not set -CONFIG_DEBUG_INFO=y -# CONFIG_DEBUG_IRQFLAGS is not set -# CONFIG_DEBUG_KERNEL_DC is not set -CONFIG_DEBUG_KERNEL=y -# CONFIG_DEBUG_KMAP_LOCAL is not set -# CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN is not set -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_KMEMLEAK_TEST is not set -# CONFIG_DEBUG_KOBJECT is not set -# CONFIG_DEBUG_KOBJECT_RELEASE is not set -CONFIG_DEBUG_LIST=y -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_LOCKDEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_DEBUG_MAPLE_TREE is not set -CONFIG_DEBUG_MEMORY_INIT=y -# CONFIG_DEBUG_MISC is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_NET is not set -# CONFIG_DEBUG_NOTIFIERS is not set -CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=0 -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_DEBUG_OBJECTS_SELFTEST is not set -# CONFIG_DEBUG_PAGEALLOC is not set -# CONFIG_DEBUG_PAGE_REF is not set -# CONFIG_DEBUG_PER_CPU_MAPS is not set -# CONFIG_DEBUG_PERF_USE_VMALLOC is not set -# CONFIG_DEBUG_PINCTRL is not set -# CONFIG_DEBUG_PLIST is not set -CONFIG_DEBUG_PREEMPT=y -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_RSEQ is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -# CONFIG_DEBUG_SG is not set -CONFIG_DEBUG_SHIRQ=y -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set -# CONFIG_DEBUG_TIMEKEEPING is not set -# CONFIG_DEBUG_VIRTUAL is not set -# CONFIG_DEBUG_VM is not set -# CONFIG_DEBUG_VM_MAPLE_TREE is not set -# CONFIG_DEBUG_VM_PGFLAGS is not set -# CONFIG_DEBUG_VM_PGTABLE is not set -# CONFIG_DEBUG_VM_RB is not set -# CONFIG_DEBUG_VM_SHOOT_LAZIES is not set -# CONFIG_DEBUG_VM_VMACACHE is not set -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -CONFIG_DEBUG_WX=y -# CONFIG_DECNET is not set -CONFIG_DEFAULT_CUBIC=y -CONFIG_DEFAULT_HOSTNAME="(none)" -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -CONFIG_DEFAULT_INIT="" -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -# CONFIG_DEFAULT_RENO is not set -# CONFIG_DEFAULT_SECURITY_DAC is not set -CONFIG_DEFAULT_SECURITY_SELINUX=y -# CONFIG_DEFAULT_SECURITY_TOMOYO is not set -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -# CONFIG_DETECT_HUNG_TASK is not set -CONFIG_DEV_DAX_CXL=m -CONFIG_DEV_DAX_HMEM=m -# CONFIG_DEV_DAX_KMEM is not set -CONFIG_DEV_DAX=m -# CONFIG_DEV_DAX_PMEM_COMPAT is not set -CONFIG_DEVMEM=y -CONFIG_DEVPORT=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DEVTMPFS_SAFE=y -CONFIG_DEVTMPFS=y -CONFIG_DHT11=m -CONFIG_DL2K=m -# CONFIG_DLHL60D is not set -CONFIG_DLM_DEBUG=y -# CONFIG_DLM_DEPRECATED_API is not set -CONFIG_DLM=m -CONFIG_DLN2_ADC=m -CONFIG_DM9051=m -CONFIG_DM9102=m -# CONFIG_DMA_API_DEBUG is not set -# CONFIG_DMA_API_DEBUG_SG is not set -# CONFIG_DMABUF_DEBUG is not set -CONFIG_DMABUF_HEAPS_CMA=y -CONFIG_DMABUF_HEAPS_SYSTEM=y -CONFIG_DMABUF_HEAPS=y -# CONFIG_DMABUF_MOVE_NOTIFY is not set -# CONFIG_DMABUF_SELFTESTS is not set -# CONFIG_DMABUF_SYSFS_STATS is not set -# CONFIG_DMA_CMA is not set -# CONFIG_DMADEVICES_DEBUG is not set -CONFIG_DMADEVICES=y -CONFIG_DMA_ENGINE=y -# CONFIG_DMA_FENCE_TRACE is not set -# CONFIG_DMA_MAP_BENCHMARK is not set -# CONFIG_DMA_NUMA_CMA is not set -# CONFIG_DMAPOOL_TEST is not set -# CONFIG_DMARD06 is not set -# CONFIG_DMARD09 is not set -CONFIG_DMARD10=m -# CONFIG_DMA_RESTRICTED_POOL is not set -# CONFIG_DMATEST is not set -CONFIG_DM_CACHE=m -CONFIG_DM_CACHE_SMQ=m -CONFIG_DM_CLONE=m -CONFIG_DM_CRYPT=m -# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set -# CONFIG_DM_DEBUG_BLOCK_STACK_TRACING is not set -CONFIG_DM_DEBUG=y -CONFIG_DM_DELAY=m -CONFIG_DM_DUST=m -CONFIG_DM_EBS=m -CONFIG_DM_ERA=m -CONFIG_DM_FLAKEY=m -CONFIG_DMIID=y -CONFIG_DM_INIT=y -CONFIG_DM_INTEGRITY=m -CONFIG_DMI_SYSFS=y -CONFIG_DMI=y -# CONFIG_DM_KUNIT_TEST is not set -CONFIG_DM_LOG_USERSPACE=m -CONFIG_DM_LOG_WRITES=m -CONFIG_DM_MIRROR=y -CONFIG_DM_MULTIPATH_HST=m -CONFIG_DM_MULTIPATH_IOA=m -CONFIG_DM_MULTIPATH=m -CONFIG_DM_MULTIPATH_QL=m -CONFIG_DM_MULTIPATH_ST=m -CONFIG_DM_RAID=m -CONFIG_DM_SNAPSHOT=y -CONFIG_DM_SWITCH=m -CONFIG_DM_THIN_PROVISIONING=m -CONFIG_DM_UEVENT=y -CONFIG_DM_UNSTRIPED=m -CONFIG_DM_VDO=m -CONFIG_DM_VERITY_FEC=y -CONFIG_DM_VERITY=m -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING=y -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING=y -CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y -CONFIG_DM_WRITECACHE=m -CONFIG_DM_ZERO=y -CONFIG_DM_ZONED=m -CONFIG_DNET=m -CONFIG_DNOTIFY=y -CONFIG_DNS_RESOLVER=m -CONFIG_DP83640_PHY=m -CONFIG_DP83822_PHY=m -CONFIG_DP83848_PHY=m -CONFIG_DP83867_PHY=m -CONFIG_DP83869_PHY=m -# CONFIG_DP83TC811_PHY is not set -# CONFIG_DP83TD510_PHY is not set -CONFIG_DP83TG720_PHY=m -# CONFIG_DPM_WATCHDOG is not set -CONFIG_DPOT_DAC=m -# CONFIG_DPS310 is not set -CONFIG_DRAGONRISE_FF=y -# CONFIG_DRBD_FAULT_INJECTION is not set -CONFIG_DRIVER_PE_KUNIT_TEST=m -# CONFIG_DRM_ACCEL_QAIC is not set -CONFIG_DRM_ACCEL=y -CONFIG_DRM_AMD_ACP=y -CONFIG_DRM_AMD_DC_HDCP=y -CONFIG_DRM_AMD_DC_SI=y -CONFIG_DRM_AMD_DC=y -CONFIG_DRM_AMDGPU_CIK=y -CONFIG_DRM_AMDGPU=m -CONFIG_DRM_AMDGPU_SI=y -CONFIG_DRM_AMDGPU_USERPTR=y -# CONFIG_DRM_AMDGPU_WERROR is not set -CONFIG_DRM_AMD_ISP=y -CONFIG_DRM_AMD_SECURE_DISPLAY=y -CONFIG_DRM_ANALOGIX_ANX6345=m -CONFIG_DRM_ANALOGIX_ANX7625=m -CONFIG_DRM_ANALOGIX_ANX78XX=m -# CONFIG_DRM_ARCPGU is not set -CONFIG_DRM_AST=m -CONFIG_DRM_BOCHS=m -# CONFIG_DRM_CDNS_DSI is not set -# CONFIG_DRM_CDNS_MHDP8546 is not set -CONFIG_DRM_CHIPONE_ICN6211=m -CONFIG_DRM_CHRONTEL_CH7033=m -CONFIG_DRM_CIRRUS_QEMU=m -# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set -# CONFIG_DRM_DEBUG_MM is not set -# CONFIG_DRM_DEBUG_MODESET_LOCK is not set -# CONFIG_DRM_DEBUG_SELFTEST is not set -CONFIG_DRM_DISPLAY_CONNECTOR=m -# CONFIG_DRM_DISPLAY_DEBUG_DP_TUNNEL_STATE is not set -CONFIG_DRM_DISPLAY_DP_AUX_CEC=y -CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV=y -# CONFIG_DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG is not set -CONFIG_DRM_DP_AUX_CHARDEV=y -CONFIG_DRM_DP_CEC=y -# CONFIG_DRM_DW_HDMI_AHB_AUDIO is not set -# CONFIG_DRM_DW_HDMI_I2S_AUDIO is not set -# CONFIG_DRM_ETNAVIV is not set -CONFIG_DRM_FBDEV_EMULATION=y -# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set -CONFIG_DRM_FBDEV_OVERALLOC=100 -# CONFIG_DRM_FSL_LDB is not set -CONFIG_DRM_GM12U320=m -CONFIG_DRM_GUD=m -# CONFIG_DRM_HISI_HIBMC is not set -CONFIG_DRM_HYPERV=m -# CONFIG_DRM_I2C_ADV7511 is not set -CONFIG_DRM_I2C_CH7006=m -# CONFIG_DRM_I2C_NXP_TDA9950 is not set -# CONFIG_DRM_I2C_NXP_TDA998X is not set -CONFIG_DRM_I2C_SIL164=m -# CONFIG_DRM_IMX_LCDIF is not set -CONFIG_DRM_ITE_IT6505=m -# CONFIG_DRM_ITE_IT66121 is not set -# CONFIG_DRM_KOMEDA is not set -CONFIG_DRM_KUNIT_TEST=m -# CONFIG_DRM_LEGACY is not set -CONFIG_DRM_LOAD_EDID_FIRMWARE=y -# CONFIG_DRM_LOGICVC is not set -CONFIG_DRM_LONTIUM_LT8912B=m -# CONFIG_DRM_LONTIUM_LT9211 is not set -# CONFIG_DRM_LONTIUM_LT9611 is not set -CONFIG_DRM_LONTIUM_LT9611UXC=m -# CONFIG_DRM_LOONGSON is not set -# CONFIG_DRM_LVDS_CODEC is not set -# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set -CONFIG_DRM_MGAG200_DISABLE_WRITECOMBINE=y -CONFIG_DRM_MGAG200=m -# CONFIG_DRM_MSM_GPU_SUDO is not set -# CONFIG_DRM_MSM_VALIDATE_XML is not set -# CONFIG_DRM_MXSFB is not set -CONFIG_DRM_NOUVEAU_BACKLIGHT=y -CONFIG_DRM_NOUVEAU_GSP_DEFAULT=y -CONFIG_DRM_NOUVEAU=m -# CONFIG_DRM_NOUVEAU_SVM is not set -# CONFIG_DRM_NWL_MIPI_DSI is not set -# CONFIG_DRM_NXP_PTN3460 is not set -# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set -# CONFIG_DRM_PANEL_ARM_VERSATILE is not set -# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set -# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set -CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0=m -# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set -# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set -CONFIG_DRM_PANEL_BOE_TV101WUM_LL2=m -CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m -CONFIG_DRM_PANEL_BRIDGE=y -CONFIG_DRM_PANEL_DSI_CM=m -# CONFIG_DRM_PANEL_EBBG_FT8719 is not set -# CONFIG_DRM_PANEL_EDP is not set -CONFIG_DRM_PANEL_ELIDA_KD35T133=m -CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02=m -CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D=m -CONFIG_DRM_PANEL_HIMAX_HX83102=m -# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set -# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set -# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set -# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set -# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set -CONFIG_DRM_PANEL_ILITEK_ILI9806E=m -# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set -CONFIG_DRM_PANEL_ILITEK_ILI9882T=m -CONFIG_DRM_PANEL_INNOLUX_EJ030NA=m -# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set -CONFIG_DRM_PANEL_JADARD_JD9365DA_H3=m -CONFIG_DRM_PANEL_JDI_LPM102A188A=m -# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set -CONFIG_DRM_PANEL_JDI_R63452=m -# CONFIG_DRM_PANEL_KHADAS_TS050 is not set -# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set -# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set -# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set -# CONFIG_DRM_PANEL_LG_LB035Q02 is not set -# CONFIG_DRM_PANEL_LG_LG4573 is not set -# CONFIG_DRM_PANEL_LG_SW43408 is not set -CONFIG_DRM_PANEL_LINCOLNTECH_LCD197=m -# CONFIG_DRM_PANEL_LVDS is not set -CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966=m -CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m -CONFIG_DRM_PANEL_MIPI_DBI=m -# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set -CONFIG_DRM_PANEL_NEWVISION_NV3051D=m -# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set -CONFIG_DRM_PANEL_NOVATEK_NT35510=m -CONFIG_DRM_PANEL_NOVATEK_NT35560=m -CONFIG_DRM_PANEL_NOVATEK_NT35950=m -# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set -# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set -# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set -# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set -# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set -# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set -CONFIG_DRM_PANEL_ORISETECH_OTM8009A=m -# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set -# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set -# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set -# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set -# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set -CONFIG_DRM_PANEL_RAYDIUM_RM692E5=m -CONFIG_DRM_PANEL_RAYDIUM_RM69380=m -CONFIG_DRM_PANEL_RONBO_RB070D30=m -CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=m -CONFIG_DRM_PANEL_SAMSUNG_DB7430=m -# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set -# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set -CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03=m -# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set -CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01=m -# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set -# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set -CONFIG_DRM_PANEL_SEIKO_43WVF1G=m -# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set -# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set -# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set -# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set -# CONFIG_DRM_PANEL_SIMPLE is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set -# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set -# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set -CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521=m -CONFIG_DRM_PANEL_STARTEK_KD070FHFID015=m -# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set -# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set -# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set -# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set -# CONFIG_DRM_PANEL_TPO_TPG110 is not set -# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set -CONFIG_DRM_PANEL_VISIONOX_R66451=m -CONFIG_DRM_PANEL_VISIONOX_RM69299=m -# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set -CONFIG_DRM_PANEL_WIDECHIPS_WS2401=m -# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set -CONFIG_DRM_PANEL=y -CONFIG_DRM_PANIC_BACKGROUND_COLOR=0x000000 -# CONFIG_DRM_PANIC_DEBUG is not set -CONFIG_DRM_PANIC_FOREGROUND_COLOR=0xffffff -CONFIG_DRM_PANIC_SCREEN_QR_CODE_URL="" -CONFIG_DRM_PANIC_SCREEN_QR_CODE=y -CONFIG_DRM_PANIC_SCREEN_QR_VERSION=40 -CONFIG_DRM_PANIC_SCREEN="user" -CONFIG_DRM_PANIC=y -# CONFIG_DRM_PARADE_PS8622 is not set -CONFIG_DRM_PARADE_PS8640=m -CONFIG_DRM_QXL=m -CONFIG_DRM_RADEON=m -CONFIG_DRM_RADEON_USERPTR=y -# CONFIG_DRM_RCAR_DW_HDMI is not set -# CONFIG_DRM_RCAR_LVDS is not set -# CONFIG_DRM_RCAR_MIPI_DSI is not set -# CONFIG_DRM_RCAR_USE_LVDS is not set -# CONFIG_DRM_RCAR_USE_MIPI_DSI is not set -CONFIG_DRM_SAMSUNG_DSIM=m -CONFIG_DRM_SII902X=m -CONFIG_DRM_SII9234=m -# CONFIG_DRM_SIL_SII8620 is not set -CONFIG_DRM_SIMPLE_BRIDGE=m -CONFIG_DRM_SIMPLEDRM=y -CONFIG_DRM_SSD130X_I2C=m -CONFIG_DRM_SSD130X=m -CONFIG_DRM_SSD130X_SPI=m -# CONFIG_DRM_THINE_THC63LVD1024 is not set -CONFIG_DRM_TI_DLPC3433=m -# CONFIG_DRM_TIDSS is not set -# CONFIG_DRM_TI_SN65DSI83 is not set -CONFIG_DRM_TI_SN65DSI86=m -CONFIG_DRM_TI_TFP410=m -CONFIG_DRM_TI_TPD12S015=m -CONFIG_DRM_TOSHIBA_TC358762=m -CONFIG_DRM_TOSHIBA_TC358764=m -# CONFIG_DRM_TOSHIBA_TC358767 is not set -CONFIG_DRM_TOSHIBA_TC358768=m -CONFIG_DRM_TOSHIBA_TC358775=m -# CONFIG_DRM_TTM_KUNIT_TEST is not set -CONFIG_DRM_UDL=m -CONFIG_DRM_USE_DYNAMIC_DEBUG=y -# CONFIG_DRM_VBOXVIDEO is not set -CONFIG_DRM_VGEM=m -CONFIG_DRM_VIRTIO_GPU_KMS=y -CONFIG_DRM_VIRTIO_GPU=m -CONFIG_DRM_VKMS=m -CONFIG_DRM_VMWGFX_FBCON=y -CONFIG_DRM_VMWGFX=m -# CONFIG_DRM_VMWGFX_MKSSTATS is not set -CONFIG_DRM_WERROR=y -# CONFIG_DRM_XE_DEBUG is not set -# CONFIG_DRM_XE_DEBUG_MEM is not set -# CONFIG_DRM_XE_DEBUG_SRIOV is not set -# CONFIG_DRM_XE_DEBUG_VM is not set -CONFIG_DRM_XE_DISPLAY=y -CONFIG_DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT=y -CONFIG_DRM_XE_FORCE_PROBE="" -CONFIG_DRM_XE_JOB_TIMEOUT_MAX=10000 -CONFIG_DRM_XE_JOB_TIMEOUT_MIN=1 -# CONFIG_DRM_XE_KUNIT_TEST is not set -# CONFIG_DRM_XE_LARGE_GUC_BUFFER is not set -CONFIG_DRM_XE=m -# CONFIG_DRM_XEN_FRONTEND is not set -CONFIG_DRM_XE_PREEMPT_TIMEOUT=640000 -CONFIG_DRM_XE_PREEMPT_TIMEOUT_MAX=10000000 -CONFIG_DRM_XE_PREEMPT_TIMEOUT_MIN=1 -# CONFIG_DRM_XE_SIMPLE_ERROR_CAPTURE is not set -CONFIG_DRM_XE_TIMESLICE_MAX=10000000 -CONFIG_DRM_XE_TIMESLICE_MIN=1 -# CONFIG_DRM_XE_USERPTR_INVAL_INJECT is not set -# CONFIG_DRM_XE_WERROR is not set -CONFIG_DRM=y -# CONFIG_DS1682 is not set -# CONFIG_DS1803 is not set -# CONFIG_DS4424 is not set -CONFIG_DTPM_CPU=y -CONFIG_DTPM_DEVFREQ=y -CONFIG_DTPM=y -CONFIG_DUMMY_CONSOLE_COLUMNS=80 -CONFIG_DUMMY_CONSOLE_ROWS=25 -CONFIG_DUMMY_CONSOLE=y -# CONFIG_DUMMY_IRQ is not set -CONFIG_DUMMY=m -CONFIG_DVB_AS102=m -# CONFIG_DVB_AV7110 is not set -CONFIG_DVB_B2C2_FLEXCOP=m -# CONFIG_DVB_B2C2_FLEXCOP_PCI_DEBUG is not set -CONFIG_DVB_B2C2_FLEXCOP_PCI=m -# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set -CONFIG_DVB_B2C2_FLEXCOP_USB=m -CONFIG_DVB_BT8XX=m -CONFIG_DVB_BUDGET_AV=m -CONFIG_DVB_BUDGET_CI=m -CONFIG_DVB_BUDGET_CORE=m -CONFIG_DVB_BUDGET=m -CONFIG_DVB_CORE=m -CONFIG_DVB_CXD2099=m -# CONFIG_DVB_CXD2880 is not set -CONFIG_DVB_DDBRIDGE=m -# CONFIG_DVB_DDBRIDGE_MSIENABLE is not set -# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set -# CONFIG_DVB_DIB9000 is not set -CONFIG_DVB_DM1105=m -# CONFIG_DVB_DUMMY_FE is not set -CONFIG_DVB_DYNAMIC_MINORS=y -CONFIG_DVB_FIREDTV=m -CONFIG_DVB_HOPPER=m -# CONFIG_DVB_LGS8GL5 is not set -# CONFIG_DVB_LNBH29 is not set -CONFIG_DVB_MANTIS=m -CONFIG_DVB_MAX_ADAPTERS=16 -# CONFIG_DVB_MMAP is not set -# CONFIG_DVB_MN88443X is not set -CONFIG_DVB_MN88472=m -CONFIG_DVB_MN88473=m -CONFIG_DVB_NETUP_UNIDVB=m -CONFIG_DVB_NET=y -CONFIG_DVB_NGENE=m -# CONFIG_DVB_PLATFORM_DRIVERS is not set -CONFIG_DVB_PLUTO2=m -CONFIG_DVB_PT1=m -# CONFIG_DVB_PT3 is not set -# CONFIG_DVB_S5H1432 is not set -CONFIG_DVB_SMIPCIE=m -# CONFIG_DVB_TEST_DRIVERS is not set -CONFIG_DVB_TTUSB_BUDGET=m -CONFIG_DVB_TTUSB_DEC=m -# CONFIG_DVB_ULE_DEBUG is not set -CONFIG_DVB_USB_A800=m -CONFIG_DVB_USB_AF9005=m -CONFIG_DVB_USB_AF9005_REMOTE=m -CONFIG_DVB_USB_AF9015=m -CONFIG_DVB_USB_AF9035=m -CONFIG_DVB_USB_ANYSEE=m -CONFIG_DVB_USB_AU6610=m -CONFIG_DVB_USB_AZ6007=m -CONFIG_DVB_USB_AZ6027=m -CONFIG_DVB_USB_CE6230=m -CONFIG_DVB_USB_CINERGY_T2=m -CONFIG_DVB_USB_CXUSB_ANALOG=y -CONFIG_DVB_USB_CXUSB=m -# CONFIG_DVB_USB_DEBUG is not set -CONFIG_DVB_USB_DIB0700=m -# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set -CONFIG_DVB_USB_DIBUSB_MB=m -CONFIG_DVB_USB_DIBUSB_MC=m -CONFIG_DVB_USB_DIGITV=m -CONFIG_DVB_USB_DTT200U=m -CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_DVBSKY=m -CONFIG_DVB_USB_DW2102=m -CONFIG_DVB_USB_EC168=m -CONFIG_DVB_USB_GL861=m -CONFIG_DVB_USB_GP8PSK=m -CONFIG_DVB_USB_LME2510=m -CONFIG_DVB_USB=m -CONFIG_DVB_USB_M920X=m -CONFIG_DVB_USB_MXL111SF=m -CONFIG_DVB_USB_NOVA_T_USB2=m -CONFIG_DVB_USB_OPERA1=m -CONFIG_DVB_USB_PCTV452E=m -CONFIG_DVB_USB_RTL28XXU=m -CONFIG_DVB_USB_TECHNISAT_USB2=m -CONFIG_DVB_USB_TTUSB2=m -CONFIG_DVB_USB_UMT_010=m -CONFIG_DVB_USB_V2=m -CONFIG_DVB_USB_VP702X=m -CONFIG_DVB_USB_VP7045=m -CONFIG_DVB_USB_ZD1301=m -CONFIG_DW_AXI_DMAC=m -CONFIG_DWC_PCIE_PMU=m -CONFIG_DW_DMAC_CORE=m -CONFIG_DW_DMAC=m -CONFIG_DW_DMAC_PCI=m -CONFIG_DW_EDMA=m -CONFIG_DW_EDMA_PCIE=m -CONFIG_DWMAC_DWC_QOS_ETH=m -CONFIG_DWMAC_GENERIC=m -# CONFIG_DWMAC_INTEL_PLAT is not set -# CONFIG_DWMAC_LOONGSON is not set -CONFIG_DWMAC_STARFIVE=m -# CONFIG_DW_WATCHDOG is not set -CONFIG_DW_XDATA_PCIE=m -CONFIG_DYNAMIC_DEBUG=y -CONFIG_DYNAMIC_FTRACE=y -CONFIG_E1000E=m -CONFIG_E1000=m -CONFIG_E100=m -CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_EARLY_PRINTK_USB_XDBC=y -CONFIG_EARLY_PRINTK=y -# CONFIG_EBC_C384_WDT is not set -CONFIG_ECHO=m -CONFIG_ECRYPT_FS=m -# CONFIG_ECRYPT_FS_MESSAGING is not set -# CONFIG_EDAC_DEBUG is not set -CONFIG_EDAC_DMC520=m -CONFIG_EDAC_GHES=y -CONFIG_EDAC_IGEN6=m -CONFIG_EDAC_LEGACY_SYSFS=y -CONFIG_EDAC_SIFIVE=y -# CONFIG_EDAC_SYNOPSYS is not set -CONFIG_EDAC=y -CONFIG_EEPROM_93CX6=m -# CONFIG_EEPROM_93XX46 is not set -CONFIG_EEPROM_AT24=m -# CONFIG_EEPROM_AT25 is not set -CONFIG_EEPROM_EE1004=m -CONFIG_EEPROM_IDT_89HPESX=m -CONFIG_EEPROM_MAX6875=m -# CONFIG_EFI_BOOTLOADER_CONTROL is not set -# CONFIG_EFI_CAPSULE_LOADER is not set -CONFIG_EFI_COCO_SECRET=y -CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y -# CONFIG_EFI_DISABLE_PCI_DMA is not set -# CONFIG_EFI_DISABLE_RUNTIME is not set -CONFIG_EFI_HANDOVER_PROTOCOL=y -CONFIG_EFI_PARTITION=y -# CONFIG_EFI_PGT_DUMP is not set -# CONFIG_EFI_RCI2_TABLE is not set -CONFIG_EFI_SECRET=m -CONFIG_EFI_SOFT_RESERVE=y -CONFIG_EFI_STUB=y -CONFIG_EFI_TEST=m -CONFIG_EFIVAR_FS=y -CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE=y -CONFIG_EFI_VARS_PSTORE=y -CONFIG_EFI=y -CONFIG_EFI_ZBOOT=y -# CONFIG_EFS_FS is not set -CONFIG_ELF_CORE=y -# CONFIG_EMBEDDED is not set -# CONFIG_ENA_ETHERNET is not set -# CONFIG_ENC28J60 is not set -CONFIG_ENCLOSURE_SERVICES=m -CONFIG_ENCRYPTED_KEYS=y -# CONFIG_ENCX24J600 is not set -CONFIG_ENERGY_MODEL=y -CONFIG_ENIC=m -# CONFIG_ENS160 is not set -# CONFIG_ENS210 is not set -CONFIG_ENVELOPE_DETECTOR=m -CONFIG_EPIC100=m -CONFIG_EPOLL=y -CONFIG_EQUALIZER=m -CONFIG_EROFS_FS_BACKED_BY_FILE=y -# CONFIG_EROFS_FS_DEBUG is not set -CONFIG_EROFS_FS=m -CONFIG_EROFS_FS_ONDEMAND=y -# CONFIG_EROFS_FS_PCPU_KTHREAD is not set -CONFIG_EROFS_FS_POSIX_ACL=y -CONFIG_EROFS_FS_SECURITY=y -CONFIG_EROFS_FS_XATTR=y -CONFIG_EROFS_FS_ZIP_DEFLATE=y -CONFIG_EROFS_FS_ZIP_LZMA=y -CONFIG_EROFS_FS_ZIP=y -CONFIG_EROFS_FS_ZIP_ZSTD=y -CONFIG_ERRATA_ANDES_CMO=y -CONFIG_ERRATA_ANDES=y -CONFIG_ERRATA_SIFIVE_CIP_1200=y -CONFIG_ERRATA_SIFIVE_CIP_453=y -CONFIG_ERRATA_SIFIVE=y -# CONFIG_ERRATA_STARFIVE_JH7100 is not set -CONFIG_ERRATA_THEAD_CMO=y -CONFIG_ERRATA_THEAD_MAE=y -CONFIG_ERRATA_THEAD_PMU=y -CONFIG_ERRATA_THEAD=y -CONFIG_ET131X=m -CONFIG_ETHERNET=y -CONFIG_ETHOC=m -CONFIG_ETHTOOL_NETLINK=y -# CONFIG_EUROTECH_WDT is not set -# CONFIG_EVM_ADD_XATTRS is not set -CONFIG_EVM_ATTR_FSUUID=y -# CONFIG_EVM_LOAD_X509 is not set -CONFIG_EVM=y -CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8" -CONFIG_EXFAT_FS=m -CONFIG_EXPERT=y -CONFIG_EXPORTFS=y -# CONFIG_EXT2_FS is not set -# CONFIG_EXT3_FS is not set -# CONFIG_EXT4_DEBUG is not set -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_KUNIT_TESTS=m -CONFIG_EXT4_USE_FOR_EXT2=y -# CONFIG_EXTCON_ADC_JACK is not set -# CONFIG_EXTCON_FSA9480 is not set -# CONFIG_EXTCON_GPIO is not set -CONFIG_EXTCON_LC824206XA=m -# CONFIG_EXTCON_MAX3355 is not set -# CONFIG_EXTCON_PTN5150 is not set -# CONFIG_EXTCON_QCOM_SPMI_MISC is not set -# CONFIG_EXTCON_RT8973A is not set -# CONFIG_EXTCON_SM5502 is not set -CONFIG_EXTCON_USBC_TUSB320=m -# CONFIG_EXTCON_USB_GPIO is not set -CONFIG_EXTCON=y -CONFIG_EXTRA_FIRMWARE="" -# CONFIG_EZX_PCAP is not set -# CONFIG_F2FS_CHECK_FS is not set -# CONFIG_F2FS_FAULT_INJECTION is not set -CONFIG_F2FS_FS_COMPRESSION=y -CONFIG_F2FS_FS_LZ4HC=y -CONFIG_F2FS_FS_LZ4=y -CONFIG_F2FS_FS_LZORLE=y -CONFIG_F2FS_FS_LZO=y -CONFIG_F2FS_FS=m -CONFIG_F2FS_FS_POSIX_ACL=y -CONFIG_F2FS_FS_SECURITY=y -CONFIG_F2FS_FS_XATTR=y -CONFIG_F2FS_FS_ZSTD=y -CONFIG_F2FS_IOSTAT=y -CONFIG_F2FS_STAT_FS=y -CONFIG_F2FS_UNFAIR_RWSEM=y -# CONFIG_FAIL_FUTEX is not set -CONFIG_FAILOVER=m -# CONFIG_FAIL_SUNRPC is not set -CONFIG_FAIR_GROUP_SCHED=y -CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y -CONFIG_FANOTIFY=y -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="ascii" -# CONFIG_FAT_DEFAULT_UTF8 is not set -CONFIG_FAT_FS=m -CONFIG_FAT_KUNIT_TEST=m -# CONFIG_FAULT_INJECTION_CONFIGFS is not set -# CONFIG_FAULT_INJECTION is not set -# CONFIG_FAULT_INJECTION_USERCOPY is not set -# CONFIG_FB_3DFX is not set -# CONFIG_FB_ARC is not set -# CONFIG_FB_ARK is not set -# CONFIG_FB_ASILIANT is not set -# CONFIG_FB_ATY128 is not set -# CONFIG_FB_ATY is not set -# CONFIG_FB_CARMINE is not set -# CONFIG_FB_CIRRUS is not set -# CONFIG_FB_CYBER2000 is not set -# CONFIG_FB_DA8XX is not set -# CONFIG_FB_DEVICE is not set -CONFIG_FB_EFI=y -# CONFIG_FB_FOREIGN_ENDIAN is not set -# CONFIG_FB_GEODE is not set -# CONFIG_FB_GOLDFISH is not set -# CONFIG_FB_HGA is not set -# CONFIG_FB_HYPERV is not set -# CONFIG_FB_I740 is not set -# CONFIG_FB_I810 is not set -# CONFIG_FB_IBM_GXT4500 is not set -# CONFIG_FB_IMSTT is not set -# CONFIG_FB_IMX is not set -# CONFIG_FB_KYRO is not set -# CONFIG_FB_MATROX_G is not set -# CONFIG_FB_MATROX_I2C is not set -# CONFIG_FB_MATROX is not set -# CONFIG_FB_MATROX_MILLENIUM is not set -# CONFIG_FB_MATROX_MYSTIQUE is not set -# CONFIG_FB_MB862XX is not set -# CONFIG_FB_METRONOME is not set -CONFIG_FB_MODE_HELPERS=y -# CONFIG_FB_NEOMAGIC is not set -# CONFIG_FB_NVIDIA is not set -# CONFIG_FB_OF is not set -# CONFIG_FB_OPENCORES is not set -# CONFIG_FB_PM2 is not set -# CONFIG_FB_PM3 is not set -# CONFIG_FB_RADEON is not set -# CONFIG_FB_RIVA is not set -# CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_S3 is not set -# CONFIG_FB_SAVAGE is not set -# CONFIG_FB_SIMPLE is not set -# CONFIG_FB_SIS is not set -# CONFIG_FB_SM501 is not set -# CONFIG_FB_SM712 is not set -# CONFIG_FB_SM750 is not set -# CONFIG_FB_SMSCUFX is not set -CONFIG_FB_SSD1307=m -# CONFIG_FB_TFT is not set -CONFIG_FB_TILEBLITTING=y -# CONFIG_FB_TRIDENT is not set -# CONFIG_FB_UDL is not set -# CONFIG_FB_UVESA is not set -# CONFIG_FB_VESA is not set -# CONFIG_FB_VGA16 is not set -# CONFIG_FB_VIA is not set -# CONFIG_FB_VIRTUAL is not set -# CONFIG_FB_VOODOO1 is not set -# CONFIG_FB_VT8623 is not set -# CONFIG_FB_XILINX is not set -CONFIG_FB=y -CONFIG_FCOE=m -# CONFIG_FDDI is not set -CONFIG_FDMA=y -CONFIG_FEALNX=m -CONFIG_FHANDLE=y -# CONFIG_FIELDBUS_DEV is not set -CONFIG_FILE_LOCKING=y -# CONFIG_FIND_BIT_BENCHMARK is not set -# CONFIG_FIPS_SIGNATURE_SELFTEST is not set -# CONFIG_FIREWIRE is not set -CONFIG_FIREWIRE_KUNIT_OHCI_SERDES_TEST=m -CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST=m -CONFIG_FIREWIRE_KUNIT_SELF_ID_SEQUENCE_HELPER_TEST=m -# CONFIG_FIREWIRE_NOSY is not set -# CONFIG_FIRMWARE_EDID is not set -# CONFIG_FIRMWARE_MEMMAP is not set -CONFIG_FIXED_PHY=y -# CONFIG_FLATMEM_MANUAL is not set -CONFIG_FM10K=m -# CONFIG_FONTS is not set -CONFIG_FORCEDETH=m -# CONFIG_FORCE_NR_CPUS is not set -CONFIG_FORTIFY_KUNIT_TEST=m -CONFIG_FORTIFY_SOURCE=y -CONFIG_FPGA_BRIDGE=m -CONFIG_FPGA_DFL_AFU=m -CONFIG_FPGA_DFL_EMIF=m -CONFIG_FPGA_DFL_FME_BRIDGE=m -CONFIG_FPGA_DFL_FME=m -CONFIG_FPGA_DFL_FME_MGR=m -CONFIG_FPGA_DFL_FME_REGION=m -CONFIG_FPGA_DFL=m -CONFIG_FPGA_DFL_NIOS_INTEL_PAC_N3000=m -CONFIG_FPGA_DFL_PCI=m -CONFIG_FPGA=m -CONFIG_FPGA_M10_BMC_SEC_UPDATE=m -CONFIG_FPGA_MGR_ALTERA_CVP=m -CONFIG_FPGA_MGR_ALTERA_PS_SPI=m -CONFIG_FPGA_MGR_ICE40_SPI=m -CONFIG_FPGA_MGR_LATTICE_SYSCONFIG_SPI=m -CONFIG_FPGA_MGR_MACHXO2_SPI=m -# CONFIG_FPGA_MGR_MICROCHIP_SPI is not set -CONFIG_FPGA_MGR_XILINX_SELECTMAP=m -CONFIG_FPGA_MGR_XILINX_SPI=m -CONFIG_FPGA_MGR_ZYNQ_FPGA=m -CONFIG_FPGA_REGION=m -CONFIG_FPROBE_EVENTS=y -CONFIG_FPROBE=y -CONFIG_FPU=y -CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y -CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y -# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set -CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FRAME_POINTER=y -CONFIG_FRAME_WARN=2048 -CONFIG_FRONTSWAP=y -CONFIG_FSCACHE_STATS=y -CONFIG_FSCACHE=y -CONFIG_FS_DAX=y -CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y -CONFIG_FS_ENCRYPTION=y -# CONFIG_FSI is not set -# CONFIG_FSL_EDMA is not set -# CONFIG_FSL_ENETC_IERB is not set -# CONFIG_FSL_ENETC is not set -# CONFIG_FSL_ENETC_MDIO is not set -# CONFIG_FSL_ENETC_VF is not set -# CONFIG_FSL_PQ_MDIO is not set -# CONFIG_FSL_QDMA is not set -# CONFIG_FSL_RCPM is not set -CONFIG_FS_MBCACHE=y -CONFIG_FSNOTIFY=y -CONFIG_FS_PID=y -# CONFIG_FS_VERITY_BUILTIN_SIGNATURES is not set -# CONFIG_FS_VERITY_DEBUG is not set -CONFIG_FS_VERITY=y -# CONFIG_FTL is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_RECORD_RECURSION is not set -# CONFIG_FTRACE_SORT_STARTUP_TEST is not set -# CONFIG_FTRACE_STARTUP_TEST is not set -CONFIG_FTRACE_SYSCALLS=y -# CONFIG_FTRACE_VALIDATE_RCU_IS_WATCHING is not set -CONFIG_FTRACE=y -CONFIG_FUEL_GAUGE_MM8013=m -# CONFIG_FUJITSU_ES is not set -# CONFIG_FUNCTION_ERROR_INJECTION is not set -CONFIG_FUNCTION_GRAPH_RETVAL=y -CONFIG_FUNCTION_GRAPH_TRACER=y -CONFIG_FUNCTION_PROFILER=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUN_ETH=m -CONFIG_FUSE_DAX=y -CONFIG_FUSE_FS=m -CONFIG_FUSE_PASSTHROUGH=y -CONFIG_FUSION_CTL=m -CONFIG_FUSION_FC=m -CONFIG_FUSION_LAN=m -CONFIG_FUSION_LOGGING=y -CONFIG_FUSION_MAX_SGE=128 -CONFIG_FUSION_SAS=m -CONFIG_FUSION_SPI=m -CONFIG_FUSION=y -CONFIG_FUTEX=y -CONFIG_FW_CACHE=y -# CONFIG_FW_CFG_SYSFS_CMDLINE is not set -CONFIG_FW_CFG_SYSFS=m -# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set -CONFIG_FW_LOADER_COMPRESS_XZ=y -CONFIG_FW_LOADER_COMPRESS=y -CONFIG_FW_LOADER_COMPRESS_ZSTD=y -CONFIG_FW_LOADER_DEBUG=y -# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set -# CONFIG_FW_LOADER_USER_HELPER is not set -CONFIG_FW_LOADER=y -CONFIG_FW_UPLOAD=y -CONFIG_FXAS21002C=m -# CONFIG_FXLS8962AF_I2C is not set -# CONFIG_FXLS8962AF_SPI is not set -CONFIG_FXOS8700_I2C=m -CONFIG_FXOS8700_SPI=m -CONFIG_GACT_PROB=y -CONFIG_GAMEPORT_EMU10K1=m -CONFIG_GAMEPORT_FM801=m -CONFIG_GAMEPORT_L4=m -CONFIG_GAMEPORT=m -CONFIG_GAMEPORT_NS558=m -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set -# CONFIG_GCC_PLUGINS is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set -# CONFIG_GCOV_KERNEL is not set -# CONFIG_GDB_SCRIPTS is not set -# CONFIG_GENERIC_ADC_BATTERY is not set -# CONFIG_GENERIC_ADC_THERMAL is not set -# CONFIG_GENERIC_CPU is not set -# CONFIG_GENERIC_IRQ_DEBUGFS is not set -CONFIG_GENERIC_PHY=y -CONFIG_GENEVE=m -# CONFIG_GEN_RTC is not set -# CONFIG_GENWQE is not set -CONFIG_GFS2_FS_LOCKING_DLM=y -CONFIG_GFS2_FS=m -# CONFIG_GIGABYTE_WMI is not set -# CONFIG_GLOB_SELFTEST is not set -CONFIG_GNSS=m -CONFIG_GNSS_MTK_SERIAL=m -CONFIG_GNSS_SIRF_SERIAL=m -CONFIG_GNSS_UBX_SERIAL=m -CONFIG_GNSS_USB=m -# CONFIG_GOLDFISH_AUDIO is not set -# CONFIG_GOLDFISH_PIPE is not set -# CONFIG_GOLDFISH_TTY is not set -CONFIG_GOLDFISH=y -# CONFIG_GOOGLE_FIRMWARE is not set -CONFIG_GP2AP002=m -# CONFIG_GP2AP020A00F is not set -# CONFIG_GPIO_74X164 is not set -# CONFIG_GPIO_74XX_MMIO is not set -# CONFIG_GPIO_ADNP is not set -CONFIG_GPIO_ADP5585=m -# CONFIG_GPIO_ADP5588 is not set -CONFIG_GPIO_AGGREGATOR=m -# CONFIG_GPIO_ALTERA is not set -# CONFIG_GPIO_AMD_FCH is not set -# CONFIG_GPIO_AMDPT is not set -# CONFIG_GPIO_BCM_XGS_IPROC is not set -CONFIG_GPIO_BD9571MWV=m -CONFIG_GPIO_BT8XX=m -CONFIG_GPIO_CADENCE=m -CONFIG_GPIO_CDEV_V1=y -CONFIG_GPIO_CDEV=y -CONFIG_GPIO_CROS_EC=m -CONFIG_GPIO_DLN2=m -CONFIG_GPIO_DS4520=m -# CONFIG_GPIO_DWAPB is not set -CONFIG_GPIO_EXAR=m -# CONFIG_GPIO_FTGPIO010 is not set -CONFIG_GPIO_FXL6408=m -# CONFIG_GPIO_GENERIC_PLATFORM is not set -# CONFIG_GPIO_GRGPIO is not set -# CONFIG_GPIO_GW_PLD is not set -# CONFIG_GPIO_HLWD is not set -# CONFIG_GPIO_IT87 is not set -# CONFIG_GPIO_LATCH is not set -CONFIG_GPIOLIB_FASTPATH_LIMIT=512 -CONFIG_GPIOLIB=y -# CONFIG_GPIO_LOGICVC is not set -# CONFIG_GPIO_MAX3191X is not set -# CONFIG_GPIO_MAX7300 is not set -# CONFIG_GPIO_MAX7301 is not set -# CONFIG_GPIO_MAX732X is not set -CONFIG_GPIO_MAX77650=m -# CONFIG_GPIO_MB86S7X is not set -# CONFIG_GPIO_MC33880 is not set -CONFIG_GPIO_MLXBF2=m -# CONFIG_GPIO_MOCKUP is not set -CONFIG_GPIO_MXC=m -# CONFIG_GPIO_PCA953X_IRQ is not set -CONFIG_GPIO_PCA953X=m -CONFIG_GPIO_PCA9570=m -# CONFIG_GPIO_PCF857X is not set -# CONFIG_GPIO_PCH is not set -# CONFIG_GPIO_PCIE_IDIO_24 is not set -CONFIG_GPIO_PCI_IDIO_16=m -# CONFIG_GPIO_PISOSR is not set -# CONFIG_GPIO_PL061 is not set -# CONFIG_GPIO_RDC321X is not set -# CONFIG_GPIO_SAMA5D2_PIOBU is not set -# CONFIG_GPIO_SCH311X is not set -CONFIG_GPIO_SIFIVE=y -CONFIG_GPIO_SIM=m -# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set -CONFIG_GPIO_SYSCON=m -# CONFIG_GPIO_SYSFS is not set -# CONFIG_GPIO_TPIC2810 is not set -CONFIG_GPIO_TPS65219=m -# CONFIG_GPIO_TS4900 is not set -# CONFIG_GPIO_VIPERBOARD is not set -CONFIG_GPIO_VIRTIO=m -CONFIG_GPIO_VIRTUSER=m -# CONFIG_GPIO_WATCHDOG is not set -# CONFIG_GPIO_WINBOND is not set -CONFIG_GPIO_WM8994=m -# CONFIG_GPIO_WS16C48 is not set -# CONFIG_GPIO_XILINX is not set -# CONFIG_GPIO_XRA1403 is not set -CONFIG_GP_PCI1XXXX=m -CONFIG_GREENASIA_FF=y -# CONFIG_GREYBUS is not set -# CONFIG_GS_FPGABOOT is not set -CONFIG_GTP=m -# CONFIG_GUP_TEST is not set -CONFIG_GVE=m -# CONFIG_HABANA_AI is not set -CONFIG_HAMACHI=m -CONFIG_HAMRADIO=y -CONFIG_HANGCHECK_TIMER=m -CONFIG_HAPPYMEAL=m -# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set -CONFIG_HARDENED_USERCOPY=y -# CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set -CONFIG_HARDLOCKUP_DETECTOR=y -CONFIG_HASH_KUNIT_TEST=m -CONFIG_HASHTABLE_KUNIT_TEST=m -CONFIG_HD44780=m -# CONFIG_HDC100X is not set -CONFIG_HDC2010=m -# CONFIG_HDC3020 is not set -CONFIG_HEADERS_INSTALL=y -CONFIG_HFS_FS=m -CONFIG_HFSPLUS_FS=m -CONFIG_HI6421V600_IRQ=m -# CONFIG_HI8435 is not set -# CONFIG_HIBERNATION_COMP_LZ4 is not set -CONFIG_HIBERNATION_COMP_LZO=y -CONFIG_HIBERNATION_SNAPSHOT_DEV=y -CONFIG_HIBERNATION=y -CONFIG_HID_A4TECH=m -CONFIG_HID_ACCUTOUCH=m -CONFIG_HID_ACRUX_FF=y -CONFIG_HID_ACRUX=m -CONFIG_HID_ALPS=m -CONFIG_HID_APPLEIR=m -CONFIG_HID_APPLE=m -# CONFIG_HID_ASUS is not set -CONFIG_HID_AUREAL=m -CONFIG_HID_BATTERY_STRENGTH=y -CONFIG_HID_BELKIN=m -CONFIG_HID_BETOP_FF=m -CONFIG_HID_BIGBEN_FF=m -CONFIG_HID_BPF=y -CONFIG_HID_CHERRY=m -CONFIG_HID_CHICONY=m -CONFIG_HID_CMEDIA=m -CONFIG_HID_CORSAIR=m -CONFIG_HID_COUGAR=m -CONFIG_HID_CP2112=m -CONFIG_HID_CREATIVE_SB0540=m -CONFIG_HID_CYPRESS=m -CONFIG_HID_DRAGONRISE=m -CONFIG_HID_ELAN=m -CONFIG_HID_ELECOM=m -CONFIG_HID_ELO=m -CONFIG_HID_EMS_FF=m -CONFIG_HID_EVISION=m -CONFIG_HID_EZKEY=m -CONFIG_HID_FT260=m -CONFIG_HID_GEMBIRD=m -CONFIG_HID_GENERIC=y -CONFIG_HID_GFRM=m -CONFIG_HID_GLORIOUS=m -CONFIG_HID_GOODIX_SPI=m -# CONFIG_HID_GOOGLE_HAMMER is not set -CONFIG_HID_GOOGLE_STADIA_FF=m -CONFIG_HID_GREENASIA=m -CONFIG_HID_GT683R=m -CONFIG_HID_GYRATION=m -CONFIG_HID_HOLTEK=m -CONFIG_HID_HYPERV_MOUSE=m -CONFIG_HID_ICADE=m -CONFIG_HID_ITE=m -CONFIG_HID_JABRA=m -CONFIG_HID_KENSINGTON=m -CONFIG_HID_KEYTOUCH=m -CONFIG_HID_KUNIT_TEST=m -CONFIG_HID_KYE=m -CONFIG_HID_LCPOWER=m -CONFIG_HID_LED=m -CONFIG_HID_LENOVO=m -CONFIG_HID_LETSKETCH=m -CONFIG_HID_LOGITECH_DJ=m -CONFIG_HID_LOGITECH_HIDPP=m -CONFIG_HID_LOGITECH=m -CONFIG_HID_MACALLY=m -CONFIG_HID_MAGICMOUSE=y -CONFIG_HID_MALTRON=m -CONFIG_HID_MAYFLASH=m -# CONFIG_HID_MCP2200 is not set -CONFIG_HID_MCP2221=m -CONFIG_HID_MEGAWORLD_FF=m -CONFIG_HID_MICROSOFT=m -CONFIG_HID_MONTEREY=m -CONFIG_HID_MULTITOUCH=m -CONFIG_HID_NINTENDO=m -CONFIG_HID_NTI=m -CONFIG_HID_NTRIG=y -CONFIG_HID_NVIDIA_SHIELD=m -CONFIG_HID_ORTEK=m -CONFIG_HID_PANTHERLORD=m -CONFIG_HID_PENMOUNT=m -CONFIG_HID_PETALYNX=m -CONFIG_HID_PICOLCD_BACKLIGHT=y -CONFIG_HID_PICOLCD_CIR=y -CONFIG_HID_PICOLCD_FB=y -CONFIG_HID_PICOLCD_LCD=y -CONFIG_HID_PICOLCD_LEDS=y -CONFIG_HID_PICOLCD=m -CONFIG_HID_PID=y -CONFIG_HID_PLANTRONICS=m -CONFIG_HID_PLAYSTATION=m -CONFIG_HID_PRIMAX=m -CONFIG_HID_PRODIKEYS=m -CONFIG_HID_PXRC=m -CONFIG_HIDRAW=y -CONFIG_HID_RAZER=m -# CONFIG_HID_REDRAGON is not set -CONFIG_HID_RETRODE=m -CONFIG_HID_RMI=m -CONFIG_HID_ROCCAT=m -CONFIG_HID_SAITEK=m -CONFIG_HID_SAMSUNG=m -CONFIG_HID_SEMITEK=m -CONFIG_HID_SENSOR_ACCEL_3D=m -CONFIG_HID_SENSOR_ALS=m -CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=m -# CONFIG_HID_SENSOR_CUSTOM_SENSOR is not set -CONFIG_HID_SENSOR_DEVICE_ROTATION=m -CONFIG_HID_SENSOR_GYRO_3D=m -CONFIG_HID_SENSOR_HUB=m -CONFIG_HID_SENSOR_HUMIDITY=m -CONFIG_HID_SENSOR_IIO_COMMON=m -CONFIG_HID_SENSOR_IIO_TRIGGER=m -CONFIG_HID_SENSOR_INCLINOMETER_3D=m -CONFIG_HID_SENSOR_MAGNETOMETER_3D=m -# CONFIG_HID_SENSOR_PRESS is not set -# CONFIG_HID_SENSOR_PROX is not set -CONFIG_HID_SENSOR_TEMP=m -CONFIG_HID_SIGMAMICRO=m -CONFIG_HID_SMARTJOYPLUS=m -CONFIG_HID_SONY=m -CONFIG_HID_SPEEDLINK=m -CONFIG_HID_STEAM=m -CONFIG_HID_STEELSERIES=m -CONFIG_HID_SUNPLUS=m -CONFIG_HID_SUPPORT=y -CONFIG_HID_THINGM=m -CONFIG_HID_THRUSTMASTER=m -CONFIG_HID_TIVO=m -CONFIG_HID_TOPRE=m -CONFIG_HID_TOPSEED=m -CONFIG_HID_TWINHAN=m -CONFIG_HID_U2FZERO=m -CONFIG_HID_UCLOGIC=m -CONFIG_HID_UDRAW_PS3=m -CONFIG_HID_VIEWSONIC=m -CONFIG_HID_VIVALDI=m -# CONFIG_HID_VRC2 is not set -CONFIG_HID_WACOM=m -CONFIG_HID_WALTOP=m -CONFIG_HID_WIIMOTE=m -CONFIG_HID_WINWING=m -CONFIG_HID_XIAOMI=m -CONFIG_HID_XINMO=m -CONFIG_HID=y -CONFIG_HID_ZEROPLUS=m -CONFIG_HID_ZYDACRON=m -CONFIG_HIGH_RES_TIMERS=y -# CONFIG_HIPPI is not set -# CONFIG_HISI_DMA is not set -CONFIG_HISI_HIKEY_USB=m -# CONFIG_HISI_PCIE_PMU is not set -# CONFIG_HIST_TRIGGERS_DEBUG is not set -CONFIG_HIST_TRIGGERS=y -CONFIG_HMC425=m -# CONFIG_HMC6352 is not set -CONFIG_HOLTEK_FF=y -CONFIG_HOTPLUG_CPU=y -CONFIG_HOTPLUG_PCI_ACPI_IBM=m -CONFIG_HOTPLUG_PCI_ACPI=y -# CONFIG_HOTPLUG_PCI_CPCI is not set -CONFIG_HOTPLUG_PCI_PCIE=y -# CONFIG_HOTPLUG_PCI_SHPC is not set -CONFIG_HOTPLUG_PCI=y -# CONFIG_HP03 is not set -# CONFIG_HP206C is not set -# CONFIG_HPFS_FS is not set -# CONFIG_HP_ILO is not set -CONFIG_HSA_AMD_SVM=y -CONFIG_HSA_AMD=y -# CONFIG_HSC030PA is not set -# CONFIG_HSI is not set -CONFIG_HSR=m -# CONFIG_HSU_DMA is not set -CONFIG_HT16K33=m -# CONFIG_HTC_EGPIO is not set -# CONFIG_HTC_I2CPLD is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_HTE is not set -CONFIG_HTS221=m -# CONFIG_HTU21 is not set -CONFIG_HUGETLBFS=y -# CONFIG_HUGETLB_PAGE_FREE_VMEMMAP_DEFAULT_ON is not set -# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set -CONFIG_HUGETLB_PAGE=y -# CONFIG_HVC_RISCV_SBI is not set -CONFIG_HW_CONSOLE=y -CONFIG_HWLAT_TRACER=y -# CONFIG_HWMON_DEBUG_CHIP is not set -CONFIG_HWMON=y -CONFIG_HWPOISON_INJECT=m -CONFIG_HW_RANDOM_ARM_SMCCC_TRNG=y -# CONFIG_HW_RANDOM_BA431 is not set -# CONFIG_HW_RANDOM_CCTRNG is not set -CONFIG_HW_RANDOM_JH7110=y -CONFIG_HW_RANDOM_TIMERIOMEM=m -CONFIG_HW_RANDOM_TPM=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_HW_RANDOM_XIPHERA=m -CONFIG_HW_RANDOM=y -CONFIG_HWSPINLOCK=y -# CONFIG_HX711 is not set -# CONFIG_HX9023S is not set -CONFIG_HYPERV_BALLOON=m -CONFIG_HYPERV_IOMMU=y -CONFIG_HYPERV_KEYBOARD=m -CONFIG_HYPERV=m -CONFIG_HYPERV_NET=m -CONFIG_HYPERV_STORAGE=m -# CONFIG_HYPERV_TESTING is not set -CONFIG_HYPERV_UTILS=m -CONFIG_HYPERV_VSOCKETS=m -CONFIG_HZ_1000=y -# CONFIG_HZ_100 is not set -# CONFIG_HZ_200 is not set -# CONFIG_HZ_250 is not set -# CONFIG_HZ_300 is not set -# CONFIG_HZ_500 is not set -# CONFIG_HZ_PERIODIC is not set -CONFIG_I2C_ALGOBIT=m -CONFIG_I2C_ALGOPCA=m -CONFIG_I2C_ALGOPCF=m -# CONFIG_I2C_ALI1535 is not set -# CONFIG_I2C_ALI1563 is not set -# CONFIG_I2C_ALI15X3 is not set -# CONFIG_I2C_AMD756 is not set -# CONFIG_I2C_AMD756_S4882 is not set -# CONFIG_I2C_AMD8111 is not set -CONFIG_I2C_AMD_MP2=m -# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set -CONFIG_I2C_ATR=m -# CONFIG_I2C_CADENCE is not set -# CONFIG_I2C_CBUS_GPIO is not set -CONFIG_I2C_CHARDEV=m -CONFIG_I2C_COMPAT=y -CONFIG_I2C_CP2615=m -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEMUX_PINCTRL is not set -CONFIG_I2C_DESIGNWARE_CORE=y -CONFIG_I2C_DESIGNWARE_PCI=m -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_I2C_DESIGNWARE_SLAVE=y -CONFIG_I2C_DIOLAN_U2C=m -CONFIG_I2C_DLN2=m -# CONFIG_I2C_EG20T is not set -# CONFIG_I2C_EMEV2 is not set -# CONFIG_I2C_FSI is not set -# CONFIG_I2C_GPIO is not set -CONFIG_I2C_HELPER_AUTO=y -CONFIG_I2C_HID_ACPI=m -CONFIG_I2C_HID_OF_ELAN=m -# CONFIG_I2C_HID_OF_GOODIX is not set -# CONFIG_I2C_HID_OF is not set -CONFIG_I2C_HID=y -# CONFIG_I2C_HISI is not set -# CONFIG_I2C_I801 is not set -# CONFIG_I2C_ISCH is not set -CONFIG_I2C_KEBA=m -# CONFIG_I2C_MICROCHIP_CORE is not set -CONFIG_I2C_MLXBF=m -CONFIG_I2C_MLXCPLD=m -# CONFIG_I2C_MUX_GPIO is not set -CONFIG_I2C_MUX_GPMUX=m -CONFIG_I2C_MUX_LTC4306=m -CONFIG_I2C_MUX=m -CONFIG_I2C_MUX_MLXCPLD=m -CONFIG_I2C_MUX_MULE=m -# CONFIG_I2C_MUX_PCA9541 is not set -# CONFIG_I2C_MUX_PCA954x is not set -# CONFIG_I2C_MUX_PINCTRL is not set -# CONFIG_I2C_MUX_REG is not set -CONFIG_I2C_NFORCE2=m -# CONFIG_I2C_NFORCE2_S4985 is not set -# CONFIG_I2C_NOMADIK is not set -CONFIG_I2C_NVIDIA_GPU=m -CONFIG_I2C_OCORES=y -CONFIG_I2C_PCA_PLATFORM=m -CONFIG_I2C_PCI1XXXX=m -# CONFIG_I2C_PIIX4 is not set -# CONFIG_I2C_QCOM_CCI is not set -# CONFIG_I2C_RK3X is not set -# CONFIG_I2C_ROBOTFUZZ_OSIF is not set -CONFIG_I2C_SCMI=m -CONFIG_I2C_SI470X=m -# CONFIG_I2C_SI4713 is not set -CONFIG_I2C_SIMTEC=m -# CONFIG_I2C_SIS5595 is not set -# CONFIG_I2C_SIS630 is not set -# CONFIG_I2C_SIS96X is not set -CONFIG_I2C_SLAVE_EEPROM=m -# CONFIG_I2C_SLAVE_TESTUNIT is not set -CONFIG_I2C_SLAVE=y -CONFIG_I2C_SMBUS=m -CONFIG_I2C_STUB=m -# CONFIG_I2C_TAOS_EVM is not set -CONFIG_I2C_TINY_USB=m -# CONFIG_I2C_VIA is not set -# CONFIG_I2C_VIAPRO is not set -# CONFIG_I2C_VIPERBOARD is not set -CONFIG_I2C_VIRTIO=m -# CONFIG_I2C_XILINX is not set -CONFIG_I2C=y -CONFIG_I2C_ZHAOXIN=m -# CONFIG_I3C is not set -# CONFIG_I40E_DCB is not set -CONFIG_I40E=m -CONFIG_I40EVF=m -CONFIG_I6300ESB_WDT=m -# CONFIG_I8K is not set -# CONFIG_IAQCORE is not set -CONFIG_ICE_HWMON=y -CONFIG_ICE_HWTS=y -CONFIG_ICE=m -CONFIG_ICE_SWITCHDEV=y -CONFIG_ICP10100=m -CONFIG_ICPLUS_PHY=m -# CONFIG_ICS932S401 is not set -# CONFIG_IDLE_INJECT is not set -CONFIG_IDLE_PAGE_TRACKING=y -CONFIG_IDPF=m -CONFIG_IDPF_SINGLEQ=y -CONFIG_IEEE802154_6LOWPAN=m -CONFIG_IEEE802154_ADF7242=m -# CONFIG_IEEE802154_AT86RF230_DEBUGFS is not set -CONFIG_IEEE802154_AT86RF230=m -CONFIG_IEEE802154_ATUSB=m -# CONFIG_IEEE802154_CA8210_DEBUGFS is not set -CONFIG_IEEE802154_CA8210=m -CONFIG_IEEE802154_CC2520=m -CONFIG_IEEE802154_DRIVERS=m -CONFIG_IEEE802154_FAKELB=m -# CONFIG_IEEE802154_HWSIM is not set -CONFIG_IEEE802154=m -CONFIG_IEEE802154_MCR20A=m -CONFIG_IEEE802154_MRF24J40=m -# CONFIG_IEEE802154_NL802154_EXPERIMENTAL is not set -CONFIG_IEEE802154_SOCKET=m -CONFIG_IFB=m -CONFIG_IFCVF=m -CONFIG_IGB_DCA=y -CONFIG_IGB_HWMON=y -CONFIG_IGB=m -CONFIG_IGBVF=m -CONFIG_IGC=m -CONFIG_IIO_BUFFER_CB=m -CONFIG_IIO_BUFFER_DMAENGINE=m -CONFIG_IIO_BUFFER_DMA=m -CONFIG_IIO_BUFFER_HW_CONSUMER=m -CONFIG_IIO_BUFFER=y -CONFIG_IIO_CONFIGFS=m -CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 -CONFIG_IIO_CROS_EC_ACCEL_LEGACY=m -CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE=m -CONFIG_IIO_FORMAT_KUNIT_TEST=m -CONFIG_IIO_GTS_KUNIT_TEST=m -# CONFIG_IIO_HRTIMER_TRIGGER is not set -CONFIG_IIO_INTERRUPT_TRIGGER=m -CONFIG_IIO_KFIFO_BUF=m -CONFIG_IIO_KX022A_I2C=m -CONFIG_IIO_KX022A_SPI=m -CONFIG_IIO=m -CONFIG_IIO_MUX=m -CONFIG_IIO_RESCALE_KUNIT_TEST=m -CONFIG_IIO_RESCALE=m -# CONFIG_IIO_SIMPLE_DUMMY is not set -# CONFIG_IIO_SSP_SENSORHUB is not set -CONFIG_IIO_ST_ACCEL_3AXIS=m -CONFIG_IIO_ST_ACCEL_I2C_3AXIS=m -CONFIG_IIO_ST_ACCEL_SPI_3AXIS=m -CONFIG_IIO_ST_GYRO_3AXIS=m -CONFIG_IIO_ST_GYRO_I2C_3AXIS=m -CONFIG_IIO_ST_GYRO_SPI_3AXIS=m -CONFIG_IIO_ST_LSM6DSX=m -# CONFIG_IIO_ST_LSM9DS0 is not set -CONFIG_IIO_ST_MAGN_3AXIS=m -CONFIG_IIO_ST_MAGN_I2C_3AXIS=m -CONFIG_IIO_ST_MAGN_SPI_3AXIS=m -# CONFIG_IIO_ST_PRESS is not set -CONFIG_IIO_SW_DEVICE=m -CONFIG_IIO_SW_TRIGGER=m -# CONFIG_IIO_SYSFS_TRIGGER is not set -CONFIG_IIO_TIGHTLOOP_TRIGGER=m -CONFIG_IIO_TRIGGERED_BUFFER=m -CONFIG_IIO_TRIGGERED_EVENT=m -CONFIG_IIO_TRIGGER=y -# CONFIG_IKCONFIG is not set -CONFIG_IKHEADERS=m -CONFIG_IMA_APPRAISE_BOOTPARAM=y -# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set -CONFIG_IMA_APPRAISE_MODSIG=y -CONFIG_IMA_APPRAISE=y -CONFIG_IMA_ARCH_POLICY=y -# CONFIG_IMA_BLACKLIST_KEYRING is not set -# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set -CONFIG_IMA_DEFAULT_HASH="sha256" -CONFIG_IMA_DEFAULT_HASH_SHA256=y -# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set -# CONFIG_IMA_DISABLE_HTABLE is not set -CONFIG_IMA_KEXEC=y -CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY=y -# CONFIG_IMA_LOAD_X509 is not set -CONFIG_IMA_LSM_RULES=y -CONFIG_IMA_MEASURE_PCR_IDX=10 -CONFIG_IMA_NG_TEMPLATE=y -CONFIG_IMA_READ_POLICY=y -# CONFIG_IMA_SIG_TEMPLATE is not set -# CONFIG_IMA_TEMPLATE is not set -CONFIG_IMA_WRITE_POLICY=y -CONFIG_IMA=y -# CONFIG_IMG_ASCII_LCD is not set -# CONFIG_INA2XX_ADC is not set -CONFIG_INET6_AH=m -CONFIG_INET6_ESPINTCP=y -CONFIG_INET6_ESP=m -CONFIG_INET6_ESP_OFFLOAD=m -CONFIG_INET6_IPCOMP=m -CONFIG_INET_AH=m -CONFIG_INET_DIAG_DESTROY=y -CONFIG_INET_DIAG=y -CONFIG_INET_ESPINTCP=y -CONFIG_INET_ESP=m -CONFIG_INET_ESP_OFFLOAD=m -CONFIG_INET_IPCOMP=m -CONFIG_INET_MPTCP_DIAG=y -CONFIG_INET_RAW_DIAG=y -CONFIG_INET_TABLE_PERTURB_ORDER=16 -CONFIG_INET_TCP_DIAG=y -CONFIG_INET_TUNNEL=m -CONFIG_INET_UDP_DIAG=y -CONFIG_INET=y -CONFIG_INFINIBAND_ADDR_TRANS=y -# CONFIG_INFINIBAND_BNXT_RE is not set -CONFIG_INFINIBAND_CXGB4=m -CONFIG_INFINIBAND_EFA=m -CONFIG_INFINIBAND_ERDMA=m -CONFIG_INFINIBAND_IPOIB_CM=y -CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y -CONFIG_INFINIBAND_IPOIB_DEBUG=y -CONFIG_INFINIBAND_IPOIB=m -CONFIG_INFINIBAND_IRDMA=m -CONFIG_INFINIBAND_ISER=m -CONFIG_INFINIBAND_ISERT=m -CONFIG_INFINIBAND=m -CONFIG_INFINIBAND_MTHCA_DEBUG=y -CONFIG_INFINIBAND_MTHCA=m -CONFIG_INFINIBAND_OCRDMA=m -CONFIG_INFINIBAND_ON_DEMAND_PAGING=y -CONFIG_INFINIBAND_QEDR=m -CONFIG_INFINIBAND_QIB_DCA=y -CONFIG_INFINIBAND_QIB=m -CONFIG_INFINIBAND_RDMAVT=m -CONFIG_INFINIBAND_RTRS_CLIENT=m -CONFIG_INFINIBAND_RTRS_SERVER=m -CONFIG_INFINIBAND_SRP=m -CONFIG_INFINIBAND_SRPT=m -CONFIG_INFINIBAND_USER_ACCESS=m -CONFIG_INFINIBAND_USER_MAD=m -CONFIG_INFINIBAND_USNIC=m -# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set -# CONFIG_INFTL is not set -# CONFIG_INIT_MLOCKED_ON_FREE_DEFAULT_ON is not set -CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y -# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set -# CONFIG_INITRAMFS_PRESERVE_MTIME is not set -CONFIG_INITRAMFS_SOURCE="" -# CONFIG_INIT_STACK_ALL_PATTERN is not set -CONFIG_INIT_STACK_ALL_ZERO=y -# CONFIG_INIT_STACK_NONE is not set -CONFIG_INOTIFY_USER=y -CONFIG_INPUT_88PM886_ONKEY=m -# CONFIG_INPUT_AD714X is not set -# CONFIG_INPUT_ADXL34X is not set -CONFIG_INPUT_APANEL=m -CONFIG_INPUT_ATI_REMOTE2=m -CONFIG_INPUT_ATLAS_BTNS=m -# CONFIG_INPUT_ATMEL_CAPTOUCH is not set -CONFIG_INPUT_AXP20X_PEK=m -# CONFIG_INPUT_BMA150 is not set -CONFIG_INPUT_CM109=m -CONFIG_INPUT_CMA3000_I2C=m -CONFIG_INPUT_CMA3000=m -CONFIG_INPUT_CS40L50_VIBRA=m -# CONFIG_INPUT_DA7280_HAPTICS is not set -CONFIG_INPUT_DA9063_ONKEY=m -# CONFIG_INPUT_DRV260X_HAPTICS is not set -# CONFIG_INPUT_DRV2665_HAPTICS is not set -# CONFIG_INPUT_DRV2667_HAPTICS is not set -CONFIG_INPUT_E3X0_BUTTON=m -# CONFIG_INPUT_EVBUG is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_FF_MEMLESS=m -# CONFIG_INPUT_GPIO_BEEPER is not set -# CONFIG_INPUT_GPIO_DECODER is not set -CONFIG_INPUT_GPIO_ROTARY_ENCODER=m -CONFIG_INPUT_GPIO_VIBRA=m -# CONFIG_INPUT_IBM_PANEL is not set -CONFIG_INPUT_IDEAPAD_SLIDEBAR=m -# CONFIG_INPUT_IMS_PCU is not set -CONFIG_INPUT_IQS269A=m -CONFIG_INPUT_IQS626A=m -CONFIG_INPUT_IQS7222=m -CONFIG_INPUT_JOYDEV=m -CONFIG_INPUT_JOYSTICK=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_INPUT_KEYSPAN_REMOTE=m -CONFIG_INPUT_KUNIT_TEST=m -CONFIG_INPUT_KXTJ9=m -CONFIG_INPUT_LEDS=y -CONFIG_INPUT_MATRIXKMAP=m -CONFIG_INPUT_MAX77650_ONKEY=m -CONFIG_INPUT_MISC=y -# CONFIG_INPUT_MMA8450 is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -CONFIG_INPUT_MOUSEDEV=y -CONFIG_INPUT_MOUSE=y -# CONFIG_INPUT_PCF8574 is not set -CONFIG_INPUT_PCSPKR=m -CONFIG_INPUT_PM8XXX_VIBRATOR=m -CONFIG_INPUT_PMIC8XXX_PWRKEY=m -CONFIG_INPUT_POWERMATE=m -CONFIG_INPUT_PWM_BEEPER=m -# CONFIG_INPUT_PWM_VIBRA is not set -CONFIG_INPUT_REGULATOR_HAPTIC=m -CONFIG_INPUT_RK805_PWRKEY=m -CONFIG_INPUT_RT5120_PWRKEY=m -CONFIG_INPUT_SPARSEKMAP=m -CONFIG_INPUT_TABLET=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_INPUT_UINPUT=m -CONFIG_INPUT_WISTRON_BTNS=m -CONFIG_INPUT=y -CONFIG_INPUT_YEALINK=m -CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y -CONFIG_INTEGRITY_AUDIT=y -CONFIG_INTEGRITY_CA_MACHINE_KEYRING_MAX=y -CONFIG_INTEGRITY_CA_MACHINE_KEYRING=y -CONFIG_INTEGRITY_MACHINE_KEYRING=y -CONFIG_INTEGRITY_PLATFORM_KEYRING=y -CONFIG_INTEGRITY_SIGNATURE=y -CONFIG_INTEGRITY_TRUSTED_KEYRING=y -CONFIG_INTEGRITY=y -# CONFIG_INTEL_IDMA64 is not set -# CONFIG_INTEL_IDXD_COMPAT is not set -CONFIG_INTEL_IDXD=m -# CONFIG_INTEL_IDXD_PERFMON is not set -# CONFIG_INTEL_IOMMU_DEBUGFS is not set -# CONFIG_INTEL_ISHTP_ECLITE is not set -# CONFIG_INTEL_LDMA is not set -# CONFIG_INTEL_MEI_PXP is not set -# CONFIG_INTEL_PMT_CLASS is not set -# CONFIG_INTEL_PMT_CRASHLOG is not set -# CONFIG_INTEL_PMT_TELEMETRY is not set -# CONFIG_INTEL_SAR_INT1092 is not set -# CONFIG_INTEL_SCU_PCI is not set -# CONFIG_INTEL_SCU_PLATFORM is not set -CONFIG_INTEL_SOC_PMIC_CHTDC_TI=y -# CONFIG_INTEL_SOC_PMIC is not set -# CONFIG_INTEL_TCC_COOLING is not set -# CONFIG_INTEL_TH is not set -CONFIG_INTEL_UNCORE_FREQ_CONTROL=m -# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set -CONFIG_INTEL_XWAY_PHY=m -# CONFIG_INTERCONNECT_QCOM_SM6350 is not set -CONFIG_INTERCONNECT=y -# CONFIG_INTERVAL_TREE_TEST is not set -CONFIG_INT_POW_TEST=m -CONFIG_INV_ICM42600_I2C=m -CONFIG_INV_ICM42600_SPI=m -# CONFIG_INV_MPU6050_I2C is not set -# CONFIG_INV_MPU6050_IIO is not set -# CONFIG_INV_MPU6050_SPI is not set -CONFIG_IO_DELAY_0X80=y -# CONFIG_IO_DELAY_0XED is not set -# CONFIG_IO_DELAY_NONE is not set -# CONFIG_IO_DELAY_UDELAY is not set -# CONFIG_IOMMU_DEBUGFS is not set -CONFIG_IOMMU_DEFAULT_DMA_LAZY=y -# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set -CONFIG_IOMMUFD=m -# CONFIG_IOMMUFD_TEST is not set -CONFIG_IOMMU_SUPPORT=y -CONFIG_IONIC=m -CONFIG_IOSCHED_BFQ=y -CONFIG_IOSM=m -CONFIG_IO_STRICT_DEVMEM=y -CONFIG_IO_URING=y -# CONFIG_IP5XXX_POWER is not set -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_IPTABLES=m -CONFIG_IP6_NF_MANGLE=m -CONFIG_IP6_NF_MATCH_AH=m -CONFIG_IP6_NF_MATCH_EUI64=m -CONFIG_IP6_NF_MATCH_FRAG=m -CONFIG_IP6_NF_MATCH_HL=m -CONFIG_IP6_NF_MATCH_IPV6HEADER=m -CONFIG_IP6_NF_MATCH_MH=m -CONFIG_IP6_NF_MATCH_OPTS=m -CONFIG_IP6_NF_MATCH_RPFILTER=m -CONFIG_IP6_NF_MATCH_RT=m -CONFIG_IP6_NF_MATCH_SRH=m -CONFIG_IP6_NF_NAT=m -CONFIG_IP6_NF_RAW=m -CONFIG_IP6_NF_SECURITY=m -CONFIG_IP6_NF_TARGET_HL=m -CONFIG_IP6_NF_TARGET_MASQUERADE=m -CONFIG_IP6_NF_TARGET_NPT=m -CONFIG_IP6_NF_TARGET_REJECT=m -CONFIG_IP6_NF_TARGET_SYNPROXY=m -# CONFIG_IPACK_BUS is not set -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IPC_NS=y -# CONFIG_IP_DCCP is not set -CONFIG_IPE_BOOT_POLICY="" -CONFIG_IPE_POLICY_SIG_PLATFORM_KEYRING=y -CONFIG_IPE_POLICY_SIG_SECONDARY_KEYRING=y -CONFIG_IP_FIB_TRIE_STATS=y -# CONFIG_IPMB_DEVICE_INTERFACE is not set -CONFIG_IPMI_DEVICE_INTERFACE=m -CONFIG_IPMI_HANDLER=m -CONFIG_IPMI_IPMB=m -# CONFIG_IPMI_PANIC_EVENT is not set -CONFIG_IPMI_POWEROFF=m -CONFIG_IPMI_SI=m -CONFIG_IPMI_SSIF=m -CONFIG_IPMI_WATCHDOG=m -CONFIG_IP_MROUTE_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_NF_ARPFILTER=m -CONFIG_IP_NF_ARP_MANGLE=m -CONFIG_IP_NF_ARPTABLES=m -CONFIG_IP_NF_FILTER=m -CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MANGLE=m -CONFIG_IP_NF_MATCH_AH=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_RPFILTER=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_NAT=m -CONFIG_IP_NF_RAW=m -CONFIG_IP_NF_SECURITY=m -CONFIG_IP_NF_TARGET_CLUSTERIP=m -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_MASQUERADE=m -CONFIG_IP_NF_TARGET_NETMAP=m -CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_IP_NF_TARGET_REJECT=m -CONFIG_IP_NF_TARGET_SYNPROXY=m -CONFIG_IP_NF_TARGET_TTL=m -CONFIG_IP_PIMSM_V1=y -CONFIG_IP_PIMSM_V2=y -# CONFIG_IP_PNP is not set -CONFIG_IP_ROUTE_MULTIPATH=y -CONFIG_IP_ROUTE_VERBOSE=y -CONFIG_IP_SCTP=m -CONFIG_IP_SET_BITMAP_IP=m -CONFIG_IP_SET_BITMAP_IPMAC=m -CONFIG_IP_SET_BITMAP_PORT=m -CONFIG_IP_SET_HASH_IP=m -CONFIG_IP_SET_HASH_IPMAC=m -CONFIG_IP_SET_HASH_IPMARK=m -CONFIG_IP_SET_HASH_IPPORTIP=m -CONFIG_IP_SET_HASH_IPPORT=m -CONFIG_IP_SET_HASH_IPPORTNET=m -CONFIG_IP_SET_HASH_MAC=m -CONFIG_IP_SET_HASH_NETIFACE=m -CONFIG_IP_SET_HASH_NET=m -CONFIG_IP_SET_HASH_NETNET=m -CONFIG_IP_SET_HASH_NETPORT=m -CONFIG_IP_SET_HASH_NETPORTNET=m -CONFIG_IP_SET_LIST_SET=m -CONFIG_IP_SET=m -CONFIG_IP_SET_MAX=256 -CONFIG_IPU_BRIDGE=m -CONFIG_IPV6_GRE=m -CONFIG_IPV6_ILA=m -CONFIG_IPV6_IOAM6_LWTUNNEL=y -CONFIG_IPV6_MIP6=y -CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y -CONFIG_IPV6_MROUTE=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_OPTIMISTIC_DAD=y -CONFIG_IPV6_PIMSM_V2=y -CONFIG_IPV6_ROUTE_INFO=y -CONFIG_IPV6_ROUTER_PREF=y -CONFIG_IPV6_RPL_LWTUNNEL=y -CONFIG_IPV6_SEG6_HMAC=y -CONFIG_IPV6_SEG6_LWTUNNEL=y -CONFIG_IPV6_SIT_6RD=y -CONFIG_IPV6_SIT=m -CONFIG_IPV6_SUBTREES=y -CONFIG_IPV6_TUNNEL=m -CONFIG_IPV6_VTI=m -CONFIG_IPV6=y -CONFIG_IPVLAN=m -# CONFIG_IP_VS_DEBUG is not set -CONFIG_IP_VS_DH=m -CONFIG_IP_VS_FO=m -CONFIG_IP_VS_FTP=m -CONFIG_IP_VS_IPV6=y -CONFIG_IP_VS_LBLC=m -CONFIG_IP_VS_LBLCR=m -CONFIG_IP_VS_LC=m -CONFIG_IP_VS=m -CONFIG_IP_VS_MH=m -CONFIG_IP_VS_MH_TAB_INDEX=12 -CONFIG_IP_VS_NQ=m -CONFIG_IP_VS_OVF=m -CONFIG_IP_VS_PE_SIP=m -CONFIG_IP_VS_PROTO_AH=y -CONFIG_IP_VS_PROTO_ESP=y -CONFIG_IP_VS_PROTO_SCTP=y -CONFIG_IP_VS_PROTO_TCP=y -CONFIG_IP_VS_PROTO_UDP=y -CONFIG_IP_VS_RR=m -CONFIG_IP_VS_SED=m -CONFIG_IP_VS_SH=m -CONFIG_IP_VS_SH_TAB_BITS=8 -CONFIG_IP_VS_TAB_BITS=12 -CONFIG_IP_VS_TWOS=m -CONFIG_IP_VS_WLC=m -CONFIG_IP_VS_WRR=m -CONFIG_IPVTAP=m -# CONFIG_IPW2100 is not set -# CONFIG_IPW2200 is not set -CONFIG_IR_ENE=m -CONFIG_IR_FINTEK=m -CONFIG_IR_GPIO_CIR=m -CONFIG_IR_GPIO_TX=m -CONFIG_IR_HIX5HD2=m -CONFIG_IR_IGORPLUGUSB=m -CONFIG_IR_IGUANA=m -CONFIG_IR_IMON_DECODER=m -CONFIG_IR_IMON=m -CONFIG_IR_IMON_RAW=m -CONFIG_IR_ITE_CIR=m -CONFIG_IR_JVC_DECODER=m -CONFIG_IR_MCE_KBD_DECODER=m -CONFIG_IR_MCEUSB=m -CONFIG_IR_NEC_DECODER=m -CONFIG_IR_NUVOTON=m -CONFIG_IR_PWM_TX=m -# CONFIG_IRQSOFF_TRACER is not set -CONFIG_IRQ_STACKS=y -CONFIG_IRQ_TIME_ACCOUNTING=y -CONFIG_IR_RC5_DECODER=m -CONFIG_IR_RC6_DECODER=m -CONFIG_IR_RCMM_DECODER=m -CONFIG_IR_REDRAT3=m -CONFIG_IR_SANYO_DECODER=m -# CONFIG_IRSD200 is not set -CONFIG_IR_SERIAL=m -CONFIG_IR_SERIAL_TRANSMITTER=y -CONFIG_IR_SHARP_DECODER=m -CONFIG_IR_SONY_DECODER=m -CONFIG_IR_SPI=m -CONFIG_IR_STREAMZAP=m -CONFIG_IR_TOY=m -CONFIG_IR_TTUSBIR=m -CONFIG_IR_WINBOND_CIR=m -CONFIG_IR_XMP_DECODER=m -# CONFIG_ISA_BUS is not set -CONFIG_ISA_DMA_API=y -# CONFIG_ISA is not set -CONFIG_ISCSI_BOOT_SYSFS=m -# CONFIG_ISCSI_IBFT is not set -CONFIG_ISCSI_TARGET_CXGB4=m -CONFIG_ISCSI_TARGET=m -CONFIG_ISCSI_TCP=m -# CONFIG_ISDN is not set -CONFIG_ISL29003=m -CONFIG_ISL29020=m -# CONFIG_ISL29125 is not set -# CONFIG_ISL29501 is not set -# CONFIG_ISL76682 is not set -CONFIG_ISO9660_FS=m -CONFIG_IS_SIGNED_TYPE_KUNIT_TEST=m -CONFIG_IT8712F_WDT=m -CONFIG_IT87_WDT=m -CONFIG_ITCO_VENDOR_SUPPORT=y -CONFIG_ITCO_WDT=m -# CONFIG_ITG3200 is not set -CONFIG_IWL3945=m -CONFIG_IWL4965=m -CONFIG_IWLDVM=m -CONFIG_IWLEGACY_DEBUGFS=y -CONFIG_IWLEGACY_DEBUG=y -CONFIG_IWLEGACY=m -# CONFIG_IWLMEI is not set -CONFIG_IWLMVM=m -# CONFIG_IWLWIFI_BCAST_FILTERING is not set -CONFIG_IWLWIFI_DEBUGFS=y -CONFIG_IWLWIFI_DEBUG=y -# CONFIG_IWLWIFI_DEVICE_TRACING is not set -CONFIG_IWLWIFI=m -CONFIG_IXGBE_DCA=y -CONFIG_IXGBE_DCB=y -CONFIG_IXGBE_HWMON=y -CONFIG_IXGBE_IPSEC=y -CONFIG_IXGBE=m -CONFIG_IXGBEVF_IPSEC=y -CONFIG_IXGBEVF=m -CONFIG_IXGB=m -# CONFIG_JBD2_DEBUG is not set -CONFIG_JBD2=y -# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_JFFS2_FS=m -CONFIG_JFFS2_FS_POSIX_ACL=y -CONFIG_JFFS2_FS_SECURITY=y -# CONFIG_JFFS2_FS_WBUF_VERIFY is not set -CONFIG_JFFS2_FS_WRITEBUFFER=y -CONFIG_JFFS2_FS_XATTR=y -CONFIG_JFFS2_RTIME=y -CONFIG_JFFS2_SUMMARY=y -CONFIG_JFFS2_ZLIB=y -# CONFIG_JFS_DEBUG is not set -CONFIG_JFS_FS=m -CONFIG_JFS_POSIX_ACL=y -CONFIG_JFS_SECURITY=y -# CONFIG_JFS_STATISTICS is not set -CONFIG_JH71XX_PMU=y -CONFIG_JME=m -CONFIG_JOLIET=y -CONFIG_JOYSTICK_A3D=m -CONFIG_JOYSTICK_ADC=m -CONFIG_JOYSTICK_ADI=m -CONFIG_JOYSTICK_ANALOG=m -# CONFIG_JOYSTICK_AS5011 is not set -CONFIG_JOYSTICK_COBRA=m -CONFIG_JOYSTICK_DB9=m -# CONFIG_JOYSTICK_FSIA6B is not set -CONFIG_JOYSTICK_GAMECON=m -CONFIG_JOYSTICK_GF2K=m -CONFIG_JOYSTICK_GRIP=m -CONFIG_JOYSTICK_GRIP_MP=m -CONFIG_JOYSTICK_GUILLEMOT=m -CONFIG_JOYSTICK_IFORCE_232=m -CONFIG_JOYSTICK_IFORCE=m -CONFIG_JOYSTICK_IFORCE_USB=m -CONFIG_JOYSTICK_INTERACT=m -CONFIG_JOYSTICK_JOYDUMP=m -# CONFIG_JOYSTICK_MAGELLAN is not set -CONFIG_JOYSTICK_PSXPAD_SPI_FF=y -CONFIG_JOYSTICK_PSXPAD_SPI=m -CONFIG_JOYSTICK_PXRC=m -CONFIG_JOYSTICK_QWIIC=m -# CONFIG_JOYSTICK_SEESAW is not set -# CONFIG_JOYSTICK_SENSEHAT is not set -CONFIG_JOYSTICK_SIDEWINDER=m -# CONFIG_JOYSTICK_SPACEBALL is not set -# CONFIG_JOYSTICK_SPACEORB is not set -# CONFIG_JOYSTICK_STINGER is not set -CONFIG_JOYSTICK_TMDC=m -CONFIG_JOYSTICK_TURBOGRAFX=m -# CONFIG_JOYSTICK_TWIDJOY is not set -CONFIG_JOYSTICK_WALKERA0701=m -# CONFIG_JOYSTICK_WARRIOR is not set -CONFIG_JOYSTICK_XPAD_FF=y -CONFIG_JOYSTICK_XPAD_LEDS=y -CONFIG_JOYSTICK_XPAD=m -# CONFIG_JOYSTICK_ZHENHUA is not set -# CONFIG_JSA1212 is not set -CONFIG_JUMP_LABEL=y -CONFIG_KALLSYMS_ALL=y -# CONFIG_KALLSYMS_SELFTEST is not set -CONFIG_KALLSYMS=y -# CONFIG_KARMA_PARTITION is not set -# CONFIG_KASAN_EXTRA_INFO is not set -# CONFIG_KASAN is not set -# CONFIG_KASAN_MODULE_TEST is not set -# CONFIG_KASAN_VMALLOC is not set -# CONFIG_KCOV is not set -# CONFIG_KCSAN is not set -CONFIG_KDB_CONTINUE_CATASTROPHIC=0 -CONFIG_KEBA_CP500=m -# CONFIG_KERNEL_BZIP2 is not set -CONFIG_KERNEL_GZIP=y -# CONFIG_KERNEL_LZ4 is not set -# CONFIG_KERNEL_LZMA is not set -# CONFIG_KERNEL_LZO is not set -# CONFIG_KERNEL_UNCOMPRESSED is not set -# CONFIG_KERNEL_XZ is not set -# CONFIG_KERNEL_ZSTD is not set -CONFIG_KEXEC_FILE=y -CONFIG_KEXEC_IMAGE_VERIFY_SIG=y -CONFIG_KEXEC_SIG=y -CONFIG_KEXEC=y -# CONFIG_KEYBOARD_ADC is not set -# CONFIG_KEYBOARD_ADP5588 is not set -# CONFIG_KEYBOARD_ADP5589 is not set -# CONFIG_KEYBOARD_APPLESPI is not set -# CONFIG_KEYBOARD_ATKBD is not set -# CONFIG_KEYBOARD_BCM is not set -# CONFIG_KEYBOARD_CAP11XX is not set -CONFIG_KEYBOARD_CYPRESS_SF=m -# CONFIG_KEYBOARD_DLINK_DIR685 is not set -# CONFIG_KEYBOARD_GOLDFISH_EVENTS is not set -# CONFIG_KEYBOARD_GPIO is not set -# CONFIG_KEYBOARD_GPIO_POLLED is not set -# CONFIG_KEYBOARD_LKKBD is not set -# CONFIG_KEYBOARD_LM8323 is not set -# CONFIG_KEYBOARD_LM8333 is not set -# CONFIG_KEYBOARD_MATRIX is not set -# CONFIG_KEYBOARD_MAX7359 is not set -# CONFIG_KEYBOARD_MCS is not set -# CONFIG_KEYBOARD_MPR121 is not set -# CONFIG_KEYBOARD_NEWTON is not set -# CONFIG_KEYBOARD_OMAP4 is not set -# CONFIG_KEYBOARD_OPENCORES is not set -# CONFIG_KEYBOARD_PINEPHONE is not set -CONFIG_KEYBOARD_PMIC8XXX=m -CONFIG_KEYBOARD_QT1050=m -CONFIG_KEYBOARD_QT1070=m -# CONFIG_KEYBOARD_QT2160 is not set -# CONFIG_KEYBOARD_SAMSUNG is not set -# CONFIG_KEYBOARD_STOWAWAY is not set -# CONFIG_KEYBOARD_SUNKBD is not set -# CONFIG_KEYBOARD_TCA6416 is not set -# CONFIG_KEYBOARD_TCA8418 is not set -CONFIG_KEYBOARD_TM2_TOUCHKEY=m -# CONFIG_KEYBOARD_XTKBD is not set -CONFIG_KEY_DH_OPERATIONS=y -CONFIG_KEY_NOTIFICATIONS=y -CONFIG_KEYS_REQUEST_CACHE=y -CONFIG_KEYS=y -# CONFIG_KFENCE_DEFERRABLE is not set -CONFIG_KFENCE_KUNIT_TEST=m -CONFIG_KFENCE_NUM_OBJECTS=255 -CONFIG_KFENCE_SAMPLE_INTERVAL=100 -# CONFIG_KFENCE_STATIC_KEYS is not set -CONFIG_KFENCE_STRESS_TEST_FAULTS=0 -CONFIG_KFENCE=y -CONFIG_KGDB_HONOUR_BLOCKLIST=y -# CONFIG_KGDB_KDB is not set -CONFIG_KGDB_LOW_LEVEL_TRAP=y -CONFIG_KGDB_SERIAL_CONSOLE=y -# CONFIG_KGDB_TESTS is not set -# CONFIG_KGDB_TESTS_ON_BOOT is not set -CONFIG_KGDB=y -# CONFIG_KMX61 is not set -# CONFIG_KPROBE_EVENT_GEN_TEST is not set -# CONFIG_KPROBE_EVENTS_ON_NOTRACE is not set -CONFIG_KPROBE_EVENTS=y -CONFIG_KPROBES_SANITY_TEST=m -CONFIG_KPROBES=y -# CONFIG_KS8842 is not set -# CONFIG_KS8851 is not set -# CONFIG_KS8851_MLL is not set -CONFIG_KSM=y -CONFIG_KSZ884X_PCI=m -CONFIG_KUNIT_ALL_TESTS=m -CONFIG_KUNIT_DEBUGFS=y -# CONFIG_KUNIT_DEFAULT_ENABLED is not set -CONFIG_KUNIT_EXAMPLE_TEST=m -# CONFIG_KUNIT_FAULT_TEST is not set -CONFIG_KUNIT=m -CONFIG_KUNIT_TEST=m -CONFIG_KVM_MAX_NR_VCPUS=4096 -# CONFIG_KVM_PROVE_MMU is not set -CONFIG_KVM_SMM=y -# CONFIG_KVM_WERROR is not set -CONFIG_KVM_XEN=y -CONFIG_KVM=y -CONFIG_KXCJK1013=m -# CONFIG_KXSD9 is not set -CONFIG_L2TP_DEBUGFS=m -CONFIG_L2TP_ETH=m -CONFIG_L2TP_IP=m -CONFIG_L2TP=m -CONFIG_L2TP_V3=y -CONFIG_LAN743X=m -# CONFIG_LAN865X is not set -CONFIG_LAN966X_DCB=y -CONFIG_LAN966X_OIC=m -CONFIG_LAN966X_SWITCH=m -# CONFIG_LAPB is not set -CONFIG_LATENCYTOP=y -# CONFIG_LATTICE_ECP3_CONFIG is not set -# CONFIG_LCD2S is not set -# CONFIG_LCD_AMS369FG06 is not set -CONFIG_LCD_CLASS_DEVICE=m -# CONFIG_LCD_HX8357 is not set -# CONFIG_LCD_ILI922X is not set -# CONFIG_LCD_ILI9320 is not set -# CONFIG_LCD_L4F00242T03 is not set -# CONFIG_LCD_LMS283GF05 is not set -# CONFIG_LCD_LMS501KF03 is not set -# CONFIG_LCD_LTV350QV is not set -# CONFIG_LCD_OTM3225A is not set -CONFIG_LCD_PLATFORM=m -# CONFIG_LCD_TDO24M is not set -# CONFIG_LCD_VGG2432A4 is not set -# CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is not set -CONFIG_LDISC_AUTOLOAD=y -# CONFIG_LDM_DEBUG is not set -CONFIG_LDM_PARTITION=y -# CONFIG_LEDS_AAT1290 is not set -CONFIG_LEDS_AN30259A=m -# CONFIG_LEDS_ARIEL is not set -CONFIG_LEDS_AS3645A=m -CONFIG_LEDS_AW200XX=m -# CONFIG_LEDS_AW2013 is not set -# CONFIG_LEDS_BCM6328 is not set -# CONFIG_LEDS_BCM6358 is not set -# CONFIG_LEDS_BD2606MVV is not set -# CONFIG_LEDS_BD2802 is not set -CONFIG_LEDS_BLINKM=m -CONFIG_LEDS_BLINKM_MULTICOLOR=y -CONFIG_LEDS_BRIGHTNESS_HW_CHANGED=y -CONFIG_LEDS_CLASS_FLASH=m -CONFIG_LEDS_CLASS_MULTICOLOR=m -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_CLEVO_MAIL=m -CONFIG_LEDS_CR0014114=m -CONFIG_LEDS_CROS_EC=m -# CONFIG_LEDS_DAC124S085 is not set -# CONFIG_LEDS_EL15203000 is not set -CONFIG_LEDS_GPIO=m -CONFIG_LEDS_GROUP_MULTICOLOR=m -# CONFIG_LEDS_IS31FL319X is not set -CONFIG_LEDS_IS31FL32XX=m -CONFIG_LEDS_KTD202X=m -# CONFIG_LEDS_KTD2692 is not set -# CONFIG_LEDS_LGM is not set -CONFIG_LEDS_LM3530=m -CONFIG_LEDS_LM3532=m -# CONFIG_LEDS_LM355x is not set -CONFIG_LEDS_LM3601X=m -# CONFIG_LEDS_LM36274 is not set -# CONFIG_LEDS_LM3642 is not set -CONFIG_LEDS_LM3692X=m -# CONFIG_LEDS_LM3697 is not set -CONFIG_LEDS_LP3944=m -CONFIG_LEDS_LP3952=m -CONFIG_LEDS_LP50XX=m -# CONFIG_LEDS_LP55XX_COMMON is not set -# CONFIG_LEDS_LP8860 is not set -CONFIG_LEDS_LT3593=m -CONFIG_LEDS_MAX5970=m -CONFIG_LEDS_MAX77650=m -CONFIG_LEDS_MLXCPLD=m -CONFIG_LEDS_MLXREG=m -CONFIG_LEDS_NCP5623=m -CONFIG_LEDS_NIC78BX=m -# CONFIG_LEDS_OT200 is not set -CONFIG_LEDS_PCA9532_GPIO=y -CONFIG_LEDS_PCA9532=m -# CONFIG_LEDS_PCA955X is not set -# CONFIG_LEDS_PCA963X is not set -CONFIG_LEDS_PCA995X=m -CONFIG_LEDS_PWM=m -CONFIG_LEDS_PWM_MULTICOLOR=m -CONFIG_LEDS_REGULATOR=m -# CONFIG_LEDS_RT4505 is not set -# CONFIG_LEDS_RT8515 is not set -# CONFIG_LEDS_SGM3140 is not set -# CONFIG_LEDS_SPI_BYTE is not set -CONFIG_LEDS_SY7802=m -CONFIG_LEDS_SYSCON=y -# CONFIG_LEDS_TCA6507 is not set -# CONFIG_LEDS_TI_LMU_COMMON is not set -# CONFIG_LEDS_TLC591XX is not set -CONFIG_LEDS_TRIGGER_ACTIVITY=m -CONFIG_LEDS_TRIGGER_AUDIO=m -CONFIG_LEDS_TRIGGER_BACKLIGHT=m -CONFIG_LEDS_TRIGGER_CAMERA=m -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=m -CONFIG_LEDS_TRIGGER_DISK=y -CONFIG_LEDS_TRIGGER_GPIO=m -CONFIG_LEDS_TRIGGER_HEARTBEAT=m -CONFIG_LEDS_TRIGGER_INPUT_EVENTS=m -CONFIG_LEDS_TRIGGER_MTD=y -CONFIG_LEDS_TRIGGER_NETDEV=m -CONFIG_LEDS_TRIGGER_ONESHOT=m -CONFIG_LEDS_TRIGGER_PANIC=y -CONFIG_LEDS_TRIGGER_PATTERN=m -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=m -CONFIG_LEDS_TRIGGER_TRANSIENT=m -CONFIG_LEDS_TRIGGER_TTY=m -CONFIG_LEDS_USER=m -CONFIG_LED_TRIGGER_PHY=y -# CONFIG_LEGACY_PTYS is not set -# CONFIG_LEGACY_TIOCSTI is not set -CONFIG_LIBCRC32C=y -# CONFIG_LIBERTAS is not set -# CONFIG_LIBERTAS_THINFIRM_DEBUG is not set -CONFIG_LIBERTAS_THINFIRM=m -CONFIG_LIBERTAS_THINFIRM_USB=m -CONFIG_LIBFC=m -CONFIG_LIBFCOE=m -CONFIG_LIBNVDIMM=m -# CONFIG_LIDAR_LITE_V2 is not set -CONFIG_LINEAR_RANGES_TEST=m -CONFIG_LIRC=y -CONFIG_LIST_KUNIT_TEST=m -CONFIG_LITEX_LITEETH=y -CONFIG_LITEX_SOC_CONTROLLER=y -CONFIG_LIVEPATCH=y -# CONFIG_LKDTM is not set -# CONFIG_LLC2 is not set -CONFIG_LLC=m -# CONFIG_LMK04832 is not set -CONFIG_LMP91000=m -CONFIG_LOAD_UEFI_KEYS=y -CONFIG_LOCALVERSION="" -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_LOCKDEP_BITS=16 -CONFIG_LOCKDEP_CHAINS_BITS=19 -CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12 -CONFIG_LOCKDEP_STACK_TRACE_BITS=19 -CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14 -CONFIG_LOCKD=m -# CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT is not set -# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set -# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set -CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y -CONFIG_LOCKD_V4=y -# CONFIG_LOCK_EVENT_COUNTS is not set -# CONFIG_LOCK_STAT is not set -CONFIG_LOCK_TORTURE_TEST=m -CONFIG_LOCKUP_DETECTOR=y -CONFIG_LOG_BUF_SHIFT=18 -CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 -CONFIG_LOGIG940_FF=y -CONFIG_LOGIRUMBLEPAD2_FF=y -CONFIG_LOGITECH_FF=y -CONFIG_LOGIWHEELS_FF=y -CONFIG_LOGO_LINUX_CLUT224=y -# CONFIG_LOGO_LINUX_MONO is not set -# CONFIG_LOGO_LINUX_VGA16 is not set -CONFIG_LOGO=y -CONFIG_LOOPBACK_TARGET=m -# CONFIG_LPC_ICH is not set -CONFIG_LP_CONSOLE=y -# CONFIG_LPC_SCH is not set -CONFIG_LRU_GEN_ENABLED=y -# CONFIG_LRU_GEN_STATS is not set -CONFIG_LRU_GEN=y -CONFIG_LSI_ET1011C_PHY=m -CONFIG_LSM="lockdown,yama,integrity,selinux,bpf,landlock,ipe" -CONFIG_LSM_MMAP_MIN_ADDR=65535 -CONFIG_LTC1660=m -# CONFIG_LTC2309 is not set -# CONFIG_LTC2471 is not set -# CONFIG_LTC2485 is not set -# CONFIG_LTC2496 is not set -# CONFIG_LTC2497 is not set -# CONFIG_LTC2632 is not set -CONFIG_LTC2664=m -CONFIG_LTC2688=m -CONFIG_LTC2983=m -# CONFIG_LTE_GDM724X is not set -# CONFIG_LTO_CLANG_FULL is not set -# CONFIG_LTO_CLANG_THIN is not set -CONFIG_LTO_NONE=y -# CONFIG_LTR390 is not set -CONFIG_LTR501=m -CONFIG_LTRF216A=m -CONFIG_LV0104CS=m -# CONFIG_LWQ_TEST is not set -CONFIG_LWTUNNEL_BPF=y -CONFIG_LWTUNNEL=y -CONFIG_LXT_PHY=m -CONFIG_LZ4_COMPRESS=m -# CONFIG_M62332 is not set -CONFIG_MAC80211_DEBUGFS=y -# CONFIG_MAC80211_DEBUG_MENU is not set -CONFIG_MAC80211_HWSIM=m -CONFIG_MAC80211_KUNIT_TEST=m -CONFIG_MAC80211_LEDS=y -CONFIG_MAC80211=m -CONFIG_MAC80211_MESH=y -# CONFIG_MAC80211_MESSAGE_TRACING is not set -CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" -CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y -CONFIG_MAC80211_RC_MINSTREL=y -CONFIG_MAC802154=m -CONFIG_MACB=m -CONFIG_MACB_PCI=m -CONFIG_MACB_USE_HWSTAMP=y -CONFIG_MAC_EMUMOUSEBTN=y -CONFIG_MACHZ_WDT=m -# CONFIG_MACINTOSH_DRIVERS is not set -CONFIG_MAC_PARTITION=y -CONFIG_MACSEC=m -CONFIG_MACVLAN=m -CONFIG_MACVTAP=m -# CONFIG_MAG3110 is not set -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0 -CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE="" -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_MAGIC_SYSRQ=y -# CONFIG_MAILBOX_TEST is not set -CONFIG_MAILBOX=y -# CONFIG_MANAGER_SBS is not set -CONFIG_MANTIS_CORE=m -# CONFIG_MARCH_Z16 is not set -CONFIG_MARVELL_10G_PHY=m -CONFIG_MARVELL_88Q2XXX_PHY=m -CONFIG_MARVELL_88X2222_PHY=m -CONFIG_MARVELL_PHY=m -# CONFIG_MATOM is not set -# CONFIG_MAX1027 is not set -# CONFIG_MAX11100 is not set -# CONFIG_MAX1118 is not set -CONFIG_MAX11205=m -CONFIG_MAX11410=m -CONFIG_MAX1241=m -CONFIG_MAX1363=m -CONFIG_MAX30100=m -# CONFIG_MAX30102 is not set -CONFIG_MAX30208=m -CONFIG_MAX31827=m -CONFIG_MAX31856=m -CONFIG_MAX31865=m -CONFIG_MAX34408=m -# CONFIG_MAX44000 is not set -CONFIG_MAX44009=m -# CONFIG_MAX517 is not set -# CONFIG_MAX5432 is not set -# CONFIG_MAX5481 is not set -# CONFIG_MAX5487 is not set -CONFIG_MAX5522=m -# CONFIG_MAX5821 is not set -# CONFIG_MAX63XX_WATCHDOG is not set -# CONFIG_MAX6959 is not set -CONFIG_MAX77620_WATCHDOG=m -# CONFIG_MAX9611 is not set -CONFIG_MAXIM_THERMOCOUPLE=m -CONFIG_MAXLINEAR_GPHY=m -CONFIG_MAXPHYSMEM_128GB=y -# CONFIG_MAXPHYSMEM_2GB is not set -CONFIG_MAX_SKB_FRAGS=17 -CONFIG_MB1232=m -# CONFIG_MC3230 is not set -# CONFIG_MCB is not set -CONFIG_MCHP_CLK_MPFS=y -# CONFIG_MCORE2 is not set -# CONFIG_MCP320X is not set -# CONFIG_MCP3422 is not set -# CONFIG_MCP3564 is not set -CONFIG_MCP3911=m -CONFIG_MCP4018=m -CONFIG_MCP41010=m -# CONFIG_MCP4131 is not set -# CONFIG_MCP4531 is not set -# CONFIG_MCP4725 is not set -CONFIG_MCP4728=m -CONFIG_MCP4821=m -# CONFIG_MCP4922 is not set -CONFIG_MCP9600=m -CONFIG_MCTP_SERIAL=m -# CONFIG_MCTP_TRANSPORT_I2C is not set -# CONFIG_MCTP_TRANSPORT_I3C is not set -CONFIG_MCTP=y -CONFIG_MD_AUTODETECT=y -CONFIG_MD_BITMAP_FILE=y -# CONFIG_MD_CLUSTER is not set -CONFIG_MD_FAULTY=m -CONFIG_MDIO_BCM_UNIMAC=m -CONFIG_MDIO_BITBANG=m -# CONFIG_MDIO_BUS_MUX_GPIO is not set -# CONFIG_MDIO_BUS_MUX is not set -# CONFIG_MDIO_BUS_MUX_MMIOREG is not set -# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set -CONFIG_MDIO_DEVICE=y -# CONFIG_MDIO_GPIO is not set -# CONFIG_MDIO_HISI_FEMAC is not set -CONFIG_MDIO_I2C=m -# CONFIG_MDIO_IPQ4019 is not set -# CONFIG_MDIO_IPQ8064 is not set -# CONFIG_MDIO_MSCC_MIIM is not set -CONFIG_MDIO_MVUSB=m -# CONFIG_MDIO_OCTEON is not set -# CONFIG_MDIO_THUNDER is not set -CONFIG_MD_LINEAR=m -CONFIG_MDM_GCC_9607=m -CONFIG_MD_MULTIPATH=m -CONFIG_MD_RAID0=m -CONFIG_MD_RAID10=m -CONFIG_MD_RAID1=m -CONFIG_MD_RAID456=m -CONFIG_MD=y -CONFIG_MEAN_AND_VARIANCE_UNIT_TEST=m -CONFIG_MEDIA_ALTERA_CI=m -CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -CONFIG_MEDIA_ATTACH=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_CEC_RC=y -CONFIG_MEDIA_CEC_SUPPORT=y -CONFIG_MEDIA_CONTROLLER_DVB=y -CONFIG_MEDIA_CONTROLLER=y -CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y -CONFIG_MEDIA_PCI_SUPPORT=y -CONFIG_MEDIA_PLATFORM_DRIVERS=y -CONFIG_MEDIA_PLATFORM_SUPPORT=y -CONFIG_MEDIA_RADIO_SUPPORT=y -# CONFIG_MEDIA_SDR_SUPPORT is not set -CONFIG_MEDIA_SUBDRV_AUTOSELECT=y -CONFIG_MEDIA_SUPPORT_FILTER=y -CONFIG_MEDIA_SUPPORT=m -CONFIG_MEDIATEK_GE_PHY=m -CONFIG_MEDIATEK_MT6370_ADC=m -CONFIG_MEDIA_TEST_SUPPORT=y -# CONFIG_MEDIA_TUNER_MSI001 is not set -# CONFIG_MEDIA_TUNER_MXL301RF is not set -CONFIG_MEDIA_USB_SUPPORT=y -# CONFIG_MEFFICEON is not set -CONFIG_MEGARAID_LEGACY=m -CONFIG_MEGARAID_MAILBOX=m -CONFIG_MEGARAID_MM=m -CONFIG_MEGARAID_NEWGEN=y -CONFIG_MEGARAID_SAS=m -# CONFIG_MELAN is not set -CONFIG_MELLANOX_PLATFORM=y -# CONFIG_MEM_ALLOC_PROFILING is not set -CONFIG_MEMCG_SWAP=y -CONFIG_MEMCG_V1=y -CONFIG_MEMCG=y -CONFIG_MEMCPY_KUNIT_TEST=m -CONFIG_MEMCPY_SLOW_KUNIT_TEST=y -CONFIG_MEMORY_FAILURE=y -# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set -# CONFIG_MEMORY_HOTPLUG is not set -# CONFIG_MEMORY is not set -# CONFIG_MEMSTICK_DEBUG is not set -CONFIG_MEMSTICK_JMICRON_38X=m -CONFIG_MEMSTICK=m -CONFIG_MEMSTICK_R592=m -CONFIG_MEMSTICK_REALTEK_USB=m -CONFIG_MEMSTICK_TIFM_MS=m -# CONFIG_MEMSTICK_UNSAFE_RESUME is not set -CONFIG_MEMTEST=y -# CONFIG_MEN_A21_WDT is not set -# CONFIG_MERAKI_MX100 is not set -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -# CONFIG_MFD_88PM800 is not set -# CONFIG_MFD_88PM805 is not set -# CONFIG_MFD_88PM860X is not set -CONFIG_MFD_88PM886_PMIC=y -# CONFIG_MFD_AAT2870_CORE is not set -# CONFIG_MFD_ACT8945A is not set -CONFIG_MFD_ADP5585=m -# CONFIG_MFD_ARIZONA_I2C is not set -# CONFIG_MFD_ARIZONA_SPI is not set -# CONFIG_MFD_AS3711 is not set -# CONFIG_MFD_AS3722 is not set -# CONFIG_MFD_ATC260X_I2C is not set -# CONFIG_MFD_ATMEL_FLEXCOM is not set -# CONFIG_MFD_ATMEL_HLCDC is not set -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_AXP20X_RSB=m -CONFIG_MFD_AXP20X=y -# CONFIG_MFD_BCM590XX is not set -CONFIG_MFD_BD9571MWV=m -CONFIG_MFD_CORE=y -# CONFIG_MFD_CPCAP is not set -CONFIG_MFD_CS40L50_I2C=m -CONFIG_MFD_CS40L50_SPI=m -CONFIG_MFD_CS42L43_I2C=m -CONFIG_MFD_CS42L43_SDW=m -# CONFIG_MFD_CS5535 is not set -# CONFIG_MFD_DA9052_I2C is not set -# CONFIG_MFD_DA9052_SPI is not set -# CONFIG_MFD_DA9055 is not set -# CONFIG_MFD_DA9062 is not set -CONFIG_MFD_DA9063=m -# CONFIG_MFD_DA9150 is not set -CONFIG_MFD_DLN2=m -CONFIG_MFD_ENE_KB3930=m -# CONFIG_MFD_GATEWORKS_GSC is not set -# CONFIG_MFD_HI6421_PMIC is not set -# CONFIG_MFD_HI6421_SPMI is not set -CONFIG_MFD_INTEL_M10_BMC=m -CONFIG_MFD_INTEL_M10_BMC_PMCI=m -CONFIG_MFD_INTEL_M10_BMC_SPI=m -# CONFIG_MFD_INTEL_PMC_BXT is not set -# CONFIG_MFD_IQS62X is not set -# CONFIG_MFD_JANZ_CMODIO is not set -# CONFIG_MFD_KEMPLD is not set -# CONFIG_MFD_KHADAS_MCU is not set -# CONFIG_MFD_LM3533 is not set -# CONFIG_MFD_LOCHNAGAR is not set -# CONFIG_MFD_LP3943 is not set -# CONFIG_MFD_LP8788 is not set -# CONFIG_MFD_MADERA is not set -# CONFIG_MFD_MAX14577 is not set -CONFIG_MFD_MAX5970=m -CONFIG_MFD_MAX597X=m -# CONFIG_MFD_MAX77541 is not set -# CONFIG_MFD_MAX77620 is not set -CONFIG_MFD_MAX77650=m -# CONFIG_MFD_MAX77686 is not set -# CONFIG_MFD_MAX77693 is not set -CONFIG_MFD_MAX77714=m -# CONFIG_MFD_MAX77843 is not set -# CONFIG_MFD_MAX8907 is not set -# CONFIG_MFD_MAX8925 is not set -# CONFIG_MFD_MAX8997 is not set -# CONFIG_MFD_MAX8998 is not set -# CONFIG_MFD_MC13XXX_I2C is not set -# CONFIG_MFD_MC13XXX_SPI is not set -# CONFIG_MFD_MENF21BMC is not set -# CONFIG_MFD_MP2629 is not set -# CONFIG_MFD_MT6360 is not set -# CONFIG_MFD_MT6370 is not set -# CONFIG_MFD_MT6397 is not set -# CONFIG_MFD_NTXEC is not set -# CONFIG_MFD_OCELOT is not set -# CONFIG_MFD_PALMAS is not set -# CONFIG_MFD_PCF50633 is not set -# CONFIG_MFD_QCOM_PM8008 is not set -# CONFIG_MFD_RC5T583 is not set -# CONFIG_MFD_RDC321X is not set -# CONFIG_MFD_RETU is not set -# CONFIG_MFD_RK808 is not set -# CONFIG_MFD_RK8XX_I2C is not set -# CONFIG_MFD_RK8XX_SPI is not set -# CONFIG_MFD_RN5T618 is not set -# CONFIG_MFD_ROHM_BD71828 is not set -# CONFIG_MFD_ROHM_BD718XX is not set -# CONFIG_MFD_ROHM_BD957XMUF is not set -CONFIG_MFD_ROHM_BD96801=m -CONFIG_MFD_RSMU_I2C=m -CONFIG_MFD_RSMU_SPI=m -CONFIG_MFD_RT4831=m -# CONFIG_MFD_RT5033 is not set -CONFIG_MFD_RT5120=m -# CONFIG_MFD_SEC_CORE is not set -# CONFIG_MFD_SI476X_CORE is not set -CONFIG_MFD_SIMPLE_MFD_I2C=m -# CONFIG_MFD_SKY81452 is not set -# CONFIG_MFD_SL28CPLD is not set -CONFIG_MFD_SM501_GPIO=y -CONFIG_MFD_SM501=m -# CONFIG_MFD_SMPRO is not set -# CONFIG_MFD_STMFX is not set -# CONFIG_MFD_STMPE is not set -# CONFIG_MFD_STPMIC1 is not set -CONFIG_MFD_SY7636A=m -CONFIG_MFD_SYSCON=y -# CONFIG_MFD_TC3589X is not set -# CONFIG_MFD_TI_AM335X_TSCADC is not set -# CONFIG_MFD_TI_LMU is not set -# CONFIG_MFD_TI_LP873X is not set -# CONFIG_MFD_TI_LP87565 is not set -# CONFIG_MFD_TIMBERDALE is not set -# CONFIG_MFD_TPS65086 is not set -# CONFIG_MFD_TPS65090 is not set -# CONFIG_MFD_TPS65217 is not set -# CONFIG_MFD_TPS65218 is not set -# CONFIG_MFD_TPS65219 is not set -# CONFIG_MFD_TPS6586X is not set -# CONFIG_MFD_TPS65910 is not set -# CONFIG_MFD_TPS65912_I2C is not set -# CONFIG_MFD_TPS65912 is not set -# CONFIG_MFD_TPS65912_SPI is not set -CONFIG_MFD_TPS6594_I2C=m -# CONFIG_MFD_TPS6594_SPI is not set -# CONFIG_MFD_TQMX86 is not set -# CONFIG_MFD_VIPERBOARD is not set -CONFIG_MFD_VX855=m -CONFIG_MFD_WL1273_CORE=m -# CONFIG_MFD_WM831X_I2C is not set -# CONFIG_MFD_WM831X_SPI is not set -# CONFIG_MFD_WM8350_I2C is not set -# CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM8994 is not set -# CONFIG_MGEODEGX1 is not set -# CONFIG_MGEODE_LX is not set -# CONFIG_MHI_BUS_DEBUG is not set -# CONFIG_MHI_BUS_EP is not set -CONFIG_MHI_BUS=m -CONFIG_MHI_BUS_PCI_GENERIC=m -CONFIG_MHI_NET=m -CONFIG_MHI_WWAN_CTRL=m -CONFIG_MHI_WWAN_MBIM=m -# CONFIG_MICREL_KS8995MA is not set -CONFIG_MICREL_PHY=m -CONFIG_MICROCHIP_PHY=m -# CONFIG_MICROCHIP_PIT64B is not set -# CONFIG_MICROCHIP_T1_PHY is not set -CONFIG_MICROCHIP_T1S_PHY=m -CONFIG_MICROSEMI_PHY=m -CONFIG_MICROSOFT_MANA=m -CONFIG_MIGRATION=y -CONFIG_MII=m -CONFIG_MINIX_FS=m -CONFIG_MINIX_SUBPARTITION=y -CONFIG_MISC_ALCOR_PCI=m -CONFIG_MISC_FILESYSTEMS=y -CONFIG_MISC_RTSX_PCI=m -CONFIG_MISC_RTSX_USB=m -CONFIG_MKISS=m -CONFIG_MLX4_CORE_GEN2=y -CONFIG_MLX4_CORE=m -CONFIG_MLX4_DEBUG=y -CONFIG_MLX4_EN_DCB=y -CONFIG_MLX4_EN=m -CONFIG_MLX4_INFINIBAND=m -CONFIG_MLX5_ACCEL=y -CONFIG_MLX5_CLS_ACT=y -CONFIG_MLX5_CORE_EN_DCB=y -CONFIG_MLX5_CORE_EN=y -CONFIG_MLX5_CORE_IPOIB=y -CONFIG_MLX5_CORE=m -CONFIG_MLX5_DPLL=m -CONFIG_MLX5_EN_ARFS=y -CONFIG_MLX5_EN_IPSEC=y -CONFIG_MLX5_EN_RXNFC=y -CONFIG_MLX5_EN_TLS=y -CONFIG_MLX5_ESWITCH=y -# CONFIG_MLX5_FPGA_IPSEC is not set -# CONFIG_MLX5_FPGA_TLS is not set -CONFIG_MLX5_FPGA=y -CONFIG_MLX5_HW_STEERING=y -CONFIG_MLX5_INFINIBAND=m -CONFIG_MLX5_IPSEC=y -CONFIG_MLX5_MACSEC=y -CONFIG_MLX5_MPFS=y -CONFIG_MLX5_SF=y -CONFIG_MLX5_SW_STEERING=y -CONFIG_MLX5_TC_CT=y -CONFIG_MLX5_TC_SAMPLE=y -CONFIG_MLX5_TLS=y -CONFIG_MLX5_VDPA_NET=m -# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set -CONFIG_MLX5_VDPA=y -CONFIG_MLX5_VFIO_PCI=m -CONFIG_MLX90614=m -CONFIG_MLX90632=m -# CONFIG_MLX90635 is not set -# CONFIG_MLXBF_BOOTCTL is not set -# CONFIG_MLXBF_GIGE is not set -# CONFIG_MLXBF_TMFIFO is not set -CONFIG_MLXFW=m -CONFIG_MLXREG_HOTPLUG=m -CONFIG_MLXREG_IO=m -CONFIG_MLXREG_LC=m -CONFIG_MLXSW_CORE_HWMON=y -CONFIG_MLXSW_CORE=m -CONFIG_MLXSW_CORE_THERMAL=y -CONFIG_MLXSW_I2C=m -CONFIG_MLXSW_MINIMAL=m -CONFIG_MLXSW_PCI=m -CONFIG_MLXSW_SPECTRUM_DCB=y -CONFIG_MLXSW_SPECTRUM=m -CONFIG_MLX_WDT=m -# CONFIG_MMA7455_I2C is not set -# CONFIG_MMA7455_SPI is not set -CONFIG_MMA7660=m -# CONFIG_MMA8452 is not set -# CONFIG_MMA9551 is not set -# CONFIG_MMA9553 is not set -# CONFIG_MMC35240 is not set -CONFIG_MMC_ALCOR=m -# CONFIG_MMC_ARMMMCI is not set -CONFIG_MMC_BLOCK=m -CONFIG_MMC_BLOCK_MINORS=8 -CONFIG_MMC_CB710=m -CONFIG_MMC_CQHCI=m -# CONFIG_MMC_CRYPTO is not set -# CONFIG_MMC_DEBUG is not set -# CONFIG_MMC_DW_BLUEFIELD is not set -# CONFIG_MMC_DW_EXYNOS is not set -# CONFIG_MMC_DW_HI3798CV200 is not set -CONFIG_MMC_DW_HI3798MV200=m -# CONFIG_MMC_DW_K3 is not set -CONFIG_MMC_DW=m -CONFIG_MMC_DW_PCI=m -CONFIG_MMC_DW_PLTFM=m -CONFIG_MMC_DW_STARFIVE=m -CONFIG_MMC_HSQ=m -CONFIG_MMC_LITEX=m -CONFIG_MMC=m -# CONFIG_MMC_MTK is not set -CONFIG_MMC_REALTEK_PCI=m -CONFIG_MMC_REALTEK_USB=m -CONFIG_MMC_RICOH_MMC=y -CONFIG_MMC_SDHCI_ACPI=m -# CONFIG_MMC_SDHCI_AM654 is not set -CONFIG_MMC_SDHCI_CADENCE=m -# CONFIG_MMC_SDHCI_F_SDH30 is not set -CONFIG_MMC_SDHCI=m -# CONFIG_MMC_SDHCI_MILBEAUT is not set -# CONFIG_MMC_SDHCI_OF_ARASAN is not set -# CONFIG_MMC_SDHCI_OF_AT91 is not set -CONFIG_MMC_SDHCI_OF_DWCMSHC=m -# CONFIG_MMC_SDHCI_OF_ESDHC is not set -# CONFIG_MMC_SDHCI_OMAP is not set -CONFIG_MMC_SDHCI_PCI=m -CONFIG_MMC_SDHCI_PLTFM=m -CONFIG_MMC_SDHCI_XENON=m -CONFIG_MMC_SDRICOH_CS=m -# CONFIG_MMC_SPI is not set -# CONFIG_MMC_STM32_SDMMC is not set -# CONFIG_MMC_TEST is not set -CONFIG_MMC_TIFM_SD=m -# CONFIG_MMC_TOSHIBA_PCI is not set -# CONFIG_MMC_USDHI6ROL0 is not set -CONFIG_MMC_USHC=m -CONFIG_MMC_VIA_SDMMC=m -CONFIG_MMC_VUB300=m -CONFIG_MMC_WBSD=m -CONFIG_MMU=y -CONFIG_MODIFY_LDT_SYSCALL=y -CONFIG_MODPROBE_PATH="/usr/sbin/modprobe" -# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set -# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set -# CONFIG_MODULE_COMPRESS_GZIP is not set -# CONFIG_MODULE_COMPRESS is not set -CONFIG_MODULE_COMPRESS_NONE=y -# CONFIG_MODULE_COMPRESS_XZ is not set -# CONFIG_MODULE_COMPRESS_ZSTD is not set -# CONFIG_MODULE_DEBUG is not set -# CONFIG_MODULE_FORCE_LOAD is not set -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_MODULE_SIG_ALL=y -# CONFIG_MODULE_SIG_FORCE is not set -CONFIG_MODULE_SIG_KEY="certs/signing_key.pem" -# CONFIG_MODULE_SIG_KEY_TYPE_ECDSA is not set -CONFIG_MODULE_SIG_KEY_TYPE_RSA=y -# CONFIG_MODULE_SIG_SHA1 is not set -# CONFIG_MODULE_SIG_SHA224 is not set -# CONFIG_MODULE_SIG_SHA256 is not set -# CONFIG_MODULE_SIG_SHA3_256 is not set -# CONFIG_MODULE_SIG_SHA3_384 is not set -# CONFIG_MODULE_SIG_SHA3_512 is not set -# CONFIG_MODULE_SIG_SHA384 is not set -CONFIG_MODULE_SIG_SHA512=y -CONFIG_MODULE_SIG=y -# CONFIG_MODULE_SRCVERSION_ALL is not set -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD_TAINT_TRACKING=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODVERSIONS is not set -# CONFIG_MOST is not set -CONFIG_MOTORCOMM_PHY=m -CONFIG_MOUSE_APPLETOUCH=m -CONFIG_MOUSE_BCM5974=m -CONFIG_MOUSE_CYAPA=m -CONFIG_MOUSE_ELAN_I2C_I2C=y -CONFIG_MOUSE_ELAN_I2C=m -CONFIG_MOUSE_ELAN_I2C_SMBUS=y -# CONFIG_MOUSE_GPIO is not set -CONFIG_MOUSE_PS2_ALPS=y -CONFIG_MOUSE_PS2_BYD=y -CONFIG_MOUSE_PS2_CYPRESS=y -# CONFIG_MOUSE_PS2_ELANTECH is not set -CONFIG_MOUSE_PS2_ELANTECH_SMBUS=y -CONFIG_MOUSE_PS2_FOCALTECH=y -# CONFIG_MOUSE_PS2 is not set -CONFIG_MOUSE_PS2_LIFEBOOK=y -CONFIG_MOUSE_PS2_LOGIPS2PP=y -# CONFIG_MOUSE_PS2_SENTELIC is not set -CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y -CONFIG_MOUSE_PS2_SYNAPTICS=y -# CONFIG_MOUSE_PS2_TOUCHKIT is not set -CONFIG_MOUSE_PS2_TRACKPOINT=y -# CONFIG_MOUSE_SERIAL is not set -CONFIG_MOUSE_SYNAPTICS_I2C=m -CONFIG_MOUSE_SYNAPTICS_USB=m -CONFIG_MOUSE_VSXXXAA=m -# CONFIG_MOXA_INTELLIO is not set -# CONFIG_MOXA_SMARTIO is not set -# CONFIG_MOXTET is not set -CONFIG_MPL115_I2C=m -# CONFIG_MPL115_SPI is not set -# CONFIG_MPL3115 is not set -CONFIG_MPLS_IPTUNNEL=m -CONFIG_MPLS_ROUTING=m -# CONFIG_MPRLS0025PA is not set -CONFIG_MPTCP_IPV6=y -CONFIG_MPTCP_KUNIT_TEST=m -CONFIG_MPTCP=y -CONFIG_MPU3050_I2C=m -CONFIG_MQ_IOSCHED_DEADLINE=y -CONFIG_MQ_IOSCHED_KYBER=y -# CONFIG_MS5611 is not set -# CONFIG_MS5637 is not set -CONFIG_MSA311=m -# CONFIG_MS_BLOCK is not set -CONFIG_MSDOS_FS=m -CONFIG_MSDOS_PARTITION=y -CONFIG_MSE102X=m -# CONFIG_MSM_GCC_8939 is not set -# CONFIG_MSM_GCC_8953 is not set -# CONFIG_MSM_GPUCC_8998 is not set -# CONFIG_MSM_MMCC_8998 is not set -CONFIG_MSPRO_BLOCK=m -CONFIG_MT7601U=m -CONFIG_MT7603E=m -CONFIG_MT7615E=m -CONFIG_MT7663S=m -CONFIG_MT7663U=m -CONFIG_MT76x0E=m -CONFIG_MT76x0U=m -CONFIG_MT76x2E=m -CONFIG_MT76x2U=m -CONFIG_MT7915E=m -CONFIG_MT7921E=m -CONFIG_MT7921S=m -CONFIG_MT7921U=m -CONFIG_MT7925E=m -CONFIG_MT7925U=m -CONFIG_MT7996E=m -# CONFIG_MTD_ABSENT is not set -# CONFIG_MTD_AR7_PARTS is not set -CONFIG_MTD_BLKDEVS=m -CONFIG_MTD_BLOCK2MTD=m -CONFIG_MTD_BLOCK=m -# CONFIG_MTD_BLOCK_RO is not set -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_CFI_AMDSTD=m -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -CONFIG_MTD_CFI_INTELEXT=m -CONFIG_MTD_CFI=m -CONFIG_MTD_CFI_STAA=m -# CONFIG_MTD_CMDLINE_PARTS is not set -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -# CONFIG_MTD_DATAFLASH is not set -# CONFIG_MTD_DOCG3 is not set -# CONFIG_MTD_HYPERBUS is not set -# CONFIG_MTD_INTEL_VR_NOR is not set -# CONFIG_MTD_JEDECPROBE is not set -# CONFIG_MTD_LPDDR is not set -CONFIG_MTD=m -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MCHP23K256 is not set -CONFIG_MTD_MCHP48L640=m -CONFIG_MTD_MTDRAM=m -# CONFIG_MTD_NAND_ARASAN is not set -# CONFIG_MTD_NAND_BRCMNAND is not set -CONFIG_MTD_NAND_CADENCE=m -# CONFIG_MTD_NAND_CAFE is not set -# CONFIG_MTD_NAND_CS553X is not set -# CONFIG_MTD_NAND_DENALI_DT is not set -# CONFIG_MTD_NAND_DENALI_PCI is not set -# CONFIG_MTD_NAND_DISKONCHIP is not set -CONFIG_MTD_NAND_ECC_MXIC=y -# CONFIG_MTD_NAND_ECC_SW_BCH is not set -# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set -CONFIG_MTD_NAND_ECC_SW_HAMMING=y -# CONFIG_MTD_NAND_GPIO is not set -# CONFIG_MTD_NAND_HISI504 is not set -# CONFIG_MTD_NAND_INTEL_LGM is not set -# CONFIG_MTD_NAND_MESON is not set -# CONFIG_MTD_NAND_MXC is not set -# CONFIG_MTD_NAND_MXIC is not set -CONFIG_MTD_NAND_NANDSIM=m -# CONFIG_MTD_NAND_OMAP2 is not set -# CONFIG_MTD_NAND_PL35X is not set -# CONFIG_MTD_NAND_PLATFORM is not set -# CONFIG_MTD_NAND_QCOM is not set -# CONFIG_MTD_NAND_RICOH is not set -# CONFIG_MTD_NAND_ROCKCHIP is not set -# CONFIG_MTD_NAND_SUNXI is not set -CONFIG_MTD_OF_PARTS=m -# CONFIG_MTD_ONENAND is not set -# CONFIG_MTD_OOPS is not set -# CONFIG_MTD_PARTITIONED_MASTER is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_PHYSMAP_COMPAT is not set -# CONFIG_MTD_PHYSMAP_GEMINI is not set -CONFIG_MTD_PHYSMAP=m -CONFIG_MTD_PHYSMAP_OF=y -# CONFIG_MTD_PHYSMAP_VERSATILE is not set -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_PMC551 is not set -CONFIG_MTDRAM_ERASE_SIZE=128 -# CONFIG_MTD_RAM is not set -CONFIG_MTDRAM_TOTAL_SIZE=4096 -CONFIG_MTD_RAW_NAND=m -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_SHARPSL_PARTS is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_SPI_NAND is not set -CONFIG_MTD_SPI_NOR=m -# CONFIG_MTD_SPI_NOR_SWP_DISABLE is not set -CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE=y -# CONFIG_MTD_SPI_NOR_SWP_KEEP is not set -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -# CONFIG_MTD_SST25L is not set -# CONFIG_MTD_SWAP is not set -# CONFIG_MTD_TESTS is not set -CONFIG_MTD_UBI_BEB_LIMIT=20 -# CONFIG_MTD_UBI_BLOCK is not set -# CONFIG_MTD_UBI_FASTMAP is not set -# CONFIG_MTD_UBI_FAULT_INJECTION is not set -# CONFIG_MTD_UBI_GLUEBI is not set -CONFIG_MTD_UBI=m -CONFIG_MTD_UBI_NVMEM=m -CONFIG_MTD_UBI_WL_THRESHOLD=4096 -CONFIG_MTK_T7XX=m -CONFIG_MULTIPLEXER=m -CONFIG_MULTIUSER=y -CONFIG_MUX_ADG792A=m -# CONFIG_MUX_ADGS1408 is not set -CONFIG_MUX_GPIO=m -CONFIG_MUX_MMIO=m -# CONFIG_MVIAC7 is not set -CONFIG_MVMDIO=m -CONFIG_MWAVE=m -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_PCIE=m -CONFIG_MWIFIEX_SDIO=m -CONFIG_MWIFIEX_USB=m -CONFIG_MWL8K=m -CONFIG_MXC4005=m -CONFIG_MXC6255=m -CONFIG_MYRI10GE_DCA=y -CONFIG_MYRI10GE=m -CONFIG_NAMESPACES=y -CONFIG_NATIONAL_PHY=m -CONFIG_NATSEMI=m -# CONFIG_NAU7802 is not set -# CONFIG_NBPFAXI_DMA is not set -CONFIG_NCN26000_PHY=m -CONFIG_NCSI_OEM_CMD_GET_MAC=y -CONFIG_NCSI_OEM_CMD_KEEP_PHY=y -# CONFIG_NDC_DIS_DYNAMIC_CACHING is not set -CONFIG_NE2K_PCI=m -# CONFIG_NET_9P_DEBUG is not set -CONFIG_NET_9P_FD=m -CONFIG_NET_9P=m -CONFIG_NET_9P_RDMA=m -CONFIG_NET_9P_USBG=y -CONFIG_NET_9P_VIRTIO=m -CONFIG_NET_9P_XEN=m -CONFIG_NET_ACT_BPF=m -CONFIG_NET_ACT_CONNMARK=m -CONFIG_NET_ACT_CSUM=m -CONFIG_NET_ACT_CTINFO=m -CONFIG_NET_ACT_CT=m -CONFIG_NET_ACT_GACT=m -CONFIG_NET_ACT_GATE=m -CONFIG_NET_ACT_IFE=m -CONFIG_NET_ACT_MIRRED=m -CONFIG_NET_ACT_MPLS=m -CONFIG_NET_ACT_NAT=m -CONFIG_NET_ACT_PEDIT=m -CONFIG_NET_ACT_POLICE=m -CONFIG_NET_ACT_SAMPLE=m -CONFIG_NET_ACT_SIMP=m -CONFIG_NET_ACT_SKBEDIT=m -CONFIG_NET_ACT_SKBMOD=m -CONFIG_NET_ACT_TUNNEL_KEY=m -CONFIG_NET_ACT_VLAN=m -CONFIG_NET_CALXEDA_XGMAC=m -CONFIG_NET_CLS_ACT=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_BPF=m -CONFIG_NET_CLS_CGROUP=y -CONFIG_NET_CLS_FLOWER=m -CONFIG_NET_CLS_FLOW=m -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_MATCHALL=m -CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_U32=m -CONFIG_NET_CLS=y -CONFIG_NETCONSOLE_DYNAMIC=y -# CONFIG_NETCONSOLE_EXTENDED_LOG is not set -CONFIG_NETCONSOLE=m -CONFIG_NET_CORE=y -CONFIG_NETDEV_ADDR_LIST_TEST=m -CONFIG_NETDEVICES=y -CONFIG_NET_DEVLINK=y -# CONFIG_NET_DEV_REFCNT_TRACKER is not set -CONFIG_NETDEVSIM=m -CONFIG_NET_DROP_MONITOR=y -# CONFIG_NET_DSA_AR9331 is not set -CONFIG_NET_DSA_BCM_SF2=m -CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK=m -# CONFIG_NET_DSA_LANTIQ_GSWIP is not set -CONFIG_NET_DSA_LOOP=m -CONFIG_NET_DSA=m -# CONFIG_NET_DSA_MICROCHIP_KSZ8795 is not set -# CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C is not set -CONFIG_NET_DSA_MICROCHIP_KSZ9477=m -CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI=m -# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set -CONFIG_NET_DSA_MT7530=m -CONFIG_NET_DSA_MT7530_MDIO=m -CONFIG_NET_DSA_MT7530_MMIO=m -# CONFIG_NET_DSA_MV88E6060 is not set -CONFIG_NET_DSA_MV88E6XXX=m -CONFIG_NET_DSA_MV88E6XXX_PTP=y -CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT=y -CONFIG_NET_DSA_QCA8K=m -CONFIG_NET_DSA_REALTEK=m -# CONFIG_NET_DSA_REALTEK_MDIO is not set -CONFIG_NET_DSA_REALTEK_RTL8365MB=m -CONFIG_NET_DSA_REALTEK_RTL8366RB=m -# CONFIG_NET_DSA_REALTEK_SMI is not set -# CONFIG_NET_DSA_SJA1105 is not set -CONFIG_NET_DSA_SMSC_LAN9303_I2C=m -CONFIG_NET_DSA_SMSC_LAN9303_MDIO=m -# CONFIG_NET_DSA_TAG_AR9331 is not set -CONFIG_NET_DSA_TAG_GSWIP=m -CONFIG_NET_DSA_TAG_HELLCREEK=m -CONFIG_NET_DSA_TAG_KSZ=m -CONFIG_NET_DSA_TAG_OCELOT_8021Q=m -CONFIG_NET_DSA_TAG_OCELOT=m -CONFIG_NET_DSA_TAG_RTL4_A=m -CONFIG_NET_DSA_TAG_RTL8_4=m -# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set -CONFIG_NET_DSA_TAG_SJA1105=m -CONFIG_NET_DSA_TAG_TRAILER=m -# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set -CONFIG_NET_DSA_TAG_XRS700X=m -# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set -# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set -CONFIG_NET_DSA_XRS700X_I2C=m -CONFIG_NET_DSA_XRS700X_MDIO=m -CONFIG_NET_EMATCH_CANID=m -CONFIG_NET_EMATCH_CMP=m -CONFIG_NET_EMATCH_IPSET=m -CONFIG_NET_EMATCH_IPT=m -CONFIG_NET_EMATCH_META=m -CONFIG_NET_EMATCH_NBYTE=m -CONFIG_NET_EMATCH_STACK=32 -CONFIG_NET_EMATCH_TEXT=m -CONFIG_NET_EMATCH_U32=m -CONFIG_NET_EMATCH=y -CONFIG_NET_FAILOVER=m -CONFIG_NET_FC=y -CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_EGRESS=y -CONFIG_NETFILTER_INGRESS=y -CONFIG_NETFILTER_NETLINK_ACCT=m -# CONFIG_NETFILTER_NETLINK_GLUE_CT is not set -CONFIG_NETFILTER_NETLINK_HOOK=m -CONFIG_NETFILTER_NETLINK_LOG=m -CONFIG_NETFILTER_NETLINK=m -CONFIG_NETFILTER_NETLINK_OSF=m -CONFIG_NETFILTER_NETLINK_QUEUE=m -# CONFIG_NETFILTER_XTABLES_COMPAT is not set -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_CONNMARK=m -CONFIG_NETFILTER_XT_MARK=m -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m -CONFIG_NETFILTER_XT_MATCH_BPF=m -CONFIG_NETFILTER_XT_MATCH_CGROUP=m -CONFIG_NETFILTER_XT_MATCH_CLUSTER=m -CONFIG_NETFILTER_XT_MATCH_COMMENT=m -CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m -CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m -CONFIG_NETFILTER_XT_MATCH_CONNMARK=m -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m -CONFIG_NETFILTER_XT_MATCH_CPU=m -CONFIG_NETFILTER_XT_MATCH_DCCP=m -CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m -CONFIG_NETFILTER_XT_MATCH_DSCP=m -CONFIG_NETFILTER_XT_MATCH_ECN=m -CONFIG_NETFILTER_XT_MATCH_ESP=m -CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m -CONFIG_NETFILTER_XT_MATCH_HELPER=m -CONFIG_NETFILTER_XT_MATCH_HL=m -CONFIG_NETFILTER_XT_MATCH_IPCOMP=m -CONFIG_NETFILTER_XT_MATCH_IPRANGE=m -CONFIG_NETFILTER_XT_MATCH_IPVS=m -CONFIG_NETFILTER_XT_MATCH_L2TP=m -CONFIG_NETFILTER_XT_MATCH_LENGTH=m -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m -CONFIG_NETFILTER_XT_MATCH_NFACCT=m -CONFIG_NETFILTER_XT_MATCH_OSF=m -CONFIG_NETFILTER_XT_MATCH_OWNER=m -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m -CONFIG_NETFILTER_XT_MATCH_POLICY=m -CONFIG_NETFILTER_XT_MATCH_QUOTA=m -CONFIG_NETFILTER_XT_MATCH_RATEEST=m -CONFIG_NETFILTER_XT_MATCH_REALM=m -CONFIG_NETFILTER_XT_MATCH_RECENT=m -CONFIG_NETFILTER_XT_MATCH_SCTP=m -CONFIG_NETFILTER_XT_MATCH_SOCKET=m -CONFIG_NETFILTER_XT_MATCH_STATE=m -CONFIG_NETFILTER_XT_MATCH_STATISTIC=m -CONFIG_NETFILTER_XT_MATCH_STRING=m -CONFIG_NETFILTER_XT_MATCH_TCPMSS=m -CONFIG_NETFILTER_XT_MATCH_TIME=m -CONFIG_NETFILTER_XT_MATCH_U32=m -CONFIG_NETFILTER_XT_NAT=m -CONFIG_NETFILTER_XT_SET=m -CONFIG_NETFILTER_XT_TARGET_AUDIT=m -CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m -CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m -CONFIG_NETFILTER_XT_TARGET_CONNMARK=m -CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m -CONFIG_NETFILTER_XT_TARGET_CT=m -CONFIG_NETFILTER_XT_TARGET_DSCP=m -CONFIG_NETFILTER_XT_TARGET_HMARK=m -CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m -CONFIG_NETFILTER_XT_TARGET_LED=m -CONFIG_NETFILTER_XT_TARGET_LOG=m -CONFIG_NETFILTER_XT_TARGET_MARK=m -CONFIG_NETFILTER_XT_TARGET_NETMAP=m -CONFIG_NETFILTER_XT_TARGET_NFLOG=m -CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m -CONFIG_NETFILTER_XT_TARGET_NOTRACK=m -CONFIG_NETFILTER_XT_TARGET_RATEEST=m -CONFIG_NETFILTER_XT_TARGET_REDIRECT=m -CONFIG_NETFILTER_XT_TARGET_SECMARK=m -CONFIG_NETFILTER_XT_TARGET_TCPMSS=m -CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m -CONFIG_NETFILTER_XT_TARGET_TEE=m -CONFIG_NETFILTER_XT_TARGET_TPROXY=m -CONFIG_NETFILTER_XT_TARGET_TRACE=m -CONFIG_NETFILTER=y -CONFIG_NET_FLOW_LIMIT=y -CONFIG_NET_FOU_IP_TUNNELS=y -CONFIG_NET_FOU=m -# CONFIG_NETFS_DEBUG is not set -CONFIG_NETFS_STATS=y -CONFIG_NETFS_SUPPORT=m -CONFIG_NET_HANDSHAKE_KUNIT_TEST=m -CONFIG_NET_IFE=m -CONFIG_NET_IFE_SKBMARK=m -CONFIG_NET_IFE_SKBPRIO=m -CONFIG_NET_IFE_SKBTCINDEX=m -CONFIG_NET_IPGRE_BROADCAST=y -CONFIG_NET_IPGRE_DEMUX=m -CONFIG_NET_IPGRE=m -CONFIG_NET_IPIP=m -CONFIG_NET_IPVTI=m -CONFIG_NET_KEY=m -CONFIG_NET_KEY_MIGRATE=y -CONFIG_NETKIT=y -CONFIG_NET_L3_MASTER_DEV=y -CONFIG_NETLABEL=y -CONFIG_NETLINK_DIAG=y -CONFIG_NET_MPLS_GSO=m -CONFIG_NET_NCSI=y -CONFIG_NET_NSH=m -# CONFIG_NET_NS_REFCNT_TRACKER is not set -CONFIG_NET_NS=y -CONFIG_NET_PKTGEN=m -CONFIG_NET_POLL_CONTROLLER=y -CONFIG_NETROM=m -# CONFIG_NET_SB1000 is not set -CONFIG_NET_SCH_CAKE=m -CONFIG_NET_SCH_CBS=m -CONFIG_NET_SCH_CHOKE=m -CONFIG_NET_SCH_CODEL=m -# CONFIG_NET_SCH_DEFAULT is not set -CONFIG_NET_SCH_DRR=m -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_ETF=m -CONFIG_NET_SCH_ETS=m -CONFIG_NET_SCH_FQ_CODEL=y -CONFIG_NET_SCH_FQ=m -CONFIG_NET_SCH_FQ_PIE=m -CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_HFSC=m -CONFIG_NET_SCH_HHF=m -CONFIG_NET_SCH_HTB=m -CONFIG_NET_SCH_INGRESS=m -CONFIG_NET_SCH_MQPRIO=m -CONFIG_NET_SCH_MULTIQ=m -CONFIG_NET_SCH_NETEM=m -CONFIG_NET_SCH_PIE=m -CONFIG_NET_SCH_PLUG=m -CONFIG_NET_SCH_PRIO=m -CONFIG_NET_SCH_QFQ=m -CONFIG_NET_SCH_RED=m -CONFIG_NET_SCH_SFB=m -CONFIG_NET_SCH_SFQ=m -# CONFIG_NET_SCH_SKBPRIO is not set -CONFIG_NET_SCH_TAPRIO=m -CONFIG_NET_SCH_TBF=m -CONFIG_NET_SCH_TEQL=m -CONFIG_NET_SWITCHDEV=y -CONFIG_NET_TC_SKB_EXT=y -CONFIG_NET_TEAM=m -CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m -CONFIG_NET_TEAM_MODE_BROADCAST=m -CONFIG_NET_TEAM_MODE_LOADBALANCE=m -CONFIG_NET_TEAM_MODE_RANDOM=m -CONFIG_NET_TEAM_MODE_ROUNDROBIN=m -CONFIG_NET_TEST=m -CONFIG_NET_TULIP=y -CONFIG_NET_UDP_TUNNEL=m -CONFIG_NET_VENDOR_3COM=y -CONFIG_NET_VENDOR_8390=y -CONFIG_NET_VENDOR_ADAPTEC=y -CONFIG_NET_VENDOR_ADI=y -CONFIG_NET_VENDOR_AGERE=y -# CONFIG_NET_VENDOR_ALACRITECH is not set -CONFIG_NET_VENDOR_ALTEON=y -CONFIG_NET_VENDOR_AMAZON=y -CONFIG_NET_VENDOR_AMD=y -CONFIG_NET_VENDOR_AQUANTIA=y -CONFIG_NET_VENDOR_ARC=y -CONFIG_NET_VENDOR_ASIX=y -CONFIG_NET_VENDOR_ATHEROS=y -CONFIG_NET_VENDOR_BROADCOM=y -CONFIG_NET_VENDOR_BROCADE=y -CONFIG_NET_VENDOR_CADENCE=y -# CONFIG_NET_VENDOR_CAVIUM is not set -CONFIG_NET_VENDOR_CHELSIO=y -CONFIG_NET_VENDOR_CISCO=y -# CONFIG_NET_VENDOR_CORTINA is not set -CONFIG_NET_VENDOR_DAVICOM=y -CONFIG_NET_VENDOR_DEC=y -CONFIG_NET_VENDOR_DLINK=y -CONFIG_NET_VENDOR_EMULEX=y -CONFIG_NET_VENDOR_ENGLEDER=y -# CONFIG_NET_VENDOR_EZCHIP is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_FUJITSU is not set -CONFIG_NET_VENDOR_FUNGIBLE=y -CONFIG_NET_VENDOR_GOOGLE=y -# CONFIG_NET_VENDOR_HISILICON is not set -# CONFIG_NET_VENDOR_HUAWEI is not set -# CONFIG_NET_VENDOR_I825XX is not set -CONFIG_NET_VENDOR_INTEL=y -CONFIG_NET_VENDOR_LITEX=y -CONFIG_NET_VENDOR_MARVELL=y -CONFIG_NET_VENDOR_MELLANOX=y -CONFIG_NET_VENDOR_META=y -CONFIG_NET_VENDOR_MICREL=y -CONFIG_NET_VENDOR_MICROCHIP=y -# CONFIG_NET_VENDOR_MICROSEMI is not set -CONFIG_NET_VENDOR_MICROSOFT=y -CONFIG_NET_VENDOR_MYRI=y -CONFIG_NET_VENDOR_NATSEMI=y -CONFIG_NET_VENDOR_NETERION=y -CONFIG_NET_VENDOR_NETRONOME=y -# CONFIG_NET_VENDOR_NI is not set -CONFIG_NET_VENDOR_NVIDIA=y -CONFIG_NET_VENDOR_OKI=y -CONFIG_NET_VENDOR_PACKET_ENGINES=y -CONFIG_NET_VENDOR_PENSANDO=y -CONFIG_NET_VENDOR_QLOGIC=y -CONFIG_NET_VENDOR_QUALCOMM=y -CONFIG_NET_VENDOR_RDC=y -CONFIG_NET_VENDOR_REALTEK=y -# CONFIG_NET_VENDOR_RENESAS is not set -CONFIG_NET_VENDOR_ROCKER=y -# CONFIG_NET_VENDOR_SAMSUNG is not set -# CONFIG_NET_VENDOR_SEEQ is not set -CONFIG_NET_VENDOR_SILAN=y -CONFIG_NET_VENDOR_SIS=y -CONFIG_NET_VENDOR_SMSC=y -# CONFIG_NET_VENDOR_SOCIONEXT is not set -# CONFIG_NET_VENDOR_SOLARFLARE is not set -CONFIG_NET_VENDOR_STMICRO=y -CONFIG_NET_VENDOR_SUN=y -# CONFIG_NET_VENDOR_SYNOPSYS is not set -CONFIG_NET_VENDOR_TEHUTI=y -CONFIG_NET_VENDOR_TI=y -CONFIG_NET_VENDOR_VERTEXCOM=y -CONFIG_NET_VENDOR_VIA=y -CONFIG_NET_VENDOR_WANGXUN=y -CONFIG_NET_VENDOR_WIZNET=y -CONFIG_NET_VENDOR_XILINX=y -CONFIG_NET_VENDOR_XIRCOM=y -CONFIG_NET_VRF=m -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_NETWORK_PHY_TIMESTAMPING=y -CONFIG_NETXEN_NIC=m -CONFIG_NET=y -CONFIG_NEW_LEDS=y -CONFIG_NFC_DIGITAL=m -# CONFIG_NFC_FDP is not set -CONFIG_NFC_HCI=m -CONFIG_NFC=m -CONFIG_NFC_MICROREAD_I2C=m -CONFIG_NFC_MICROREAD=m -# CONFIG_NFC_MRVL_I2C is not set -CONFIG_NFC_MRVL=m -# CONFIG_NFC_MRVL_SPI is not set -CONFIG_NFC_MRVL_USB=m -CONFIG_NFC_NCI=m -CONFIG_NFC_NCI_SPI=m -# CONFIG_NFC_NCI_UART is not set -CONFIG_NFC_NXP_NCI_I2C=m -CONFIG_NFC_NXP_NCI=m -CONFIG_NF_CONNTRACK_AMANDA=m -CONFIG_NF_CONNTRACK_BRIDGE=m -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_FTP=m -CONFIG_NF_CONNTRACK_H323=m -CONFIG_NF_CONNTRACK_IRC=m -CONFIG_NF_CONNTRACK=m -CONFIG_NF_CONNTRACK_MARK=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=m -CONFIG_NF_CONNTRACK_PPTP=m -CONFIG_NF_CONNTRACK_PROCFS=y -CONFIG_NF_CONNTRACK_SANE=m -CONFIG_NF_CONNTRACK_SECMARK=y -CONFIG_NF_CONNTRACK_SIP=m -CONFIG_NF_CONNTRACK_SNMP=m -CONFIG_NF_CONNTRACK_TFTP=m -# CONFIG_NF_CONNTRACK_TIMEOUT is not set -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CONNTRACK_ZONES=y -CONFIG_NFC_PN532_UART=m -CONFIG_NFC_PN533_I2C=m -CONFIG_NFC_PN533=m -CONFIG_NFC_PN533_USB=m -CONFIG_NFC_PN544_I2C=m -CONFIG_NFC_PN544=m -CONFIG_NFC_PORT100=m -# CONFIG_NFC_S3FWRN5_I2C is not set -# CONFIG_NFC_S3FWRN82_UART is not set -CONFIG_NFC_SHDLC=y -CONFIG_NFC_SIM=m -CONFIG_NFC_ST21NFCA_I2C=m -CONFIG_NFC_ST21NFCA=m -# CONFIG_NFC_ST95HF is not set -# CONFIG_NFC_ST_NCI_I2C is not set -# CONFIG_NFC_ST_NCI_SPI is not set -CONFIG_NF_CT_NETLINK=m -# CONFIG_NF_CT_PROTO_DCCP is not set -CONFIG_NF_CT_PROTO_SCTP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NFC_TRF7970A=m -# CONFIG_NFC_VIRTUAL_NCI is not set -CONFIG_NF_DUP_IPV4=m -CONFIG_NF_DUP_IPV6=m -CONFIG_NF_DUP_NETDEV=m -CONFIG_NF_FLOW_TABLE_INET=m -CONFIG_NF_FLOW_TABLE_IPV4=m -CONFIG_NF_FLOW_TABLE_IPV6=m -CONFIG_NF_FLOW_TABLE=m -CONFIG_NF_FLOW_TABLE_PROCFS=y -# CONFIG_NFIT_SECURITY_DEBUG is not set -CONFIG_NF_LOG_ARP=m -CONFIG_NF_LOG_IPV4=m -CONFIG_NF_LOG_IPV6=m -CONFIG_NF_LOG_SYSLOG=m -CONFIG_NF_NAT=m -CONFIG_NF_NAT_SNMP_BASIC=m -# CONFIG_NFP_APP_ABM_NIC is not set -CONFIG_NFP_APP_FLOWER=y -# CONFIG_NFP_DEBUG is not set -CONFIG_NFP=m -CONFIG_NFP_NET_IPSEC=y -CONFIG_NF_REJECT_IPV4=m -CONFIG_NF_REJECT_IPV6=m -CONFIG_NFSD_BLOCKLAYOUT=y -CONFIG_NFSD_FLEXFILELAYOUT=y -CONFIG_NFS_DISABLE_UDP_SUPPORT=y -# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set -CONFIG_NFSD=m -CONFIG_NFSD_PNFS=y -CONFIG_NFSD_SCSILAYOUT=y -# CONFIG_NFSD_V2 is not set -CONFIG_NFSD_V3_ACL=y -CONFIG_NFSD_V3=y -CONFIG_NFSD_V4_2_INTER_SSC=y -CONFIG_NFSD_V4_SECURITY_LABEL=y -CONFIG_NFSD_V4=y -CONFIG_NFS_FSCACHE=y -CONFIG_NFS_FS=m -CONFIG_NFS_LOCALIO=y -CONFIG_NF_SOCKET_IPV4=m -CONFIG_NF_SOCKET_IPV6=m -CONFIG_NFS_SWAP=y -# CONFIG_NFS_USE_LEGACY_DNS is not set -# CONFIG_NFS_V2 is not set -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V3=m -CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" -# CONFIG_NFS_V4_1_MIGRATION is not set -CONFIG_NFS_V4_1=y -# CONFIG_NFS_V4_2_READ_PLUS is not set -CONFIG_NFS_V4_2=y -CONFIG_NFS_V4=m -CONFIG_NF_TABLES_ARP=y -CONFIG_NF_TABLES_BRIDGE=m -CONFIG_NF_TABLES_INET=y -CONFIG_NF_TABLES_IPV4=y -CONFIG_NF_TABLES_IPV6=y -CONFIG_NF_TABLES=m -CONFIG_NF_TABLES_NETDEV=y -CONFIG_NFT_BRIDGE_META=m -CONFIG_NFT_BRIDGE_REJECT=m -CONFIG_NFT_COMPAT=m -CONFIG_NFT_CONNLIMIT=m -CONFIG_NFT_COUNTER=m -CONFIG_NFT_CT=m -CONFIG_NFT_DUP_IPV4=m -CONFIG_NFT_DUP_IPV6=m -CONFIG_NFT_DUP_NETDEV=m -CONFIG_NFT_FIB_INET=m -CONFIG_NFT_FIB_IPV4=m -CONFIG_NFT_FIB_IPV6=m -CONFIG_NFT_FIB_NETDEV=m -CONFIG_NFT_FLOW_OFFLOAD=m -CONFIG_NFT_FWD_NETDEV=m -CONFIG_NFT_HASH=m -CONFIG_NFT_LIMIT=m -# CONFIG_NFTL is not set -CONFIG_NFT_LOG=m -CONFIG_NFT_MASQ=m -CONFIG_NFT_NAT=m -CONFIG_NFT_NUMGEN=m -CONFIG_NFT_OBJREF=m -# CONFIG_NFT_OSF is not set -CONFIG_NF_TPROXY_IPV4=m -CONFIG_NF_TPROXY_IPV6=m -CONFIG_NFT_QUEUE=m -CONFIG_NFT_QUOTA=m -CONFIG_NFT_REDIR=m -CONFIG_NFT_REJECT_IPV4=m -CONFIG_NFT_REJECT=m -CONFIG_NFT_REJECT_NETDEV=m -CONFIG_NFT_SOCKET=m -CONFIG_NFT_SYNPROXY=m -CONFIG_NFT_TPROXY=m -CONFIG_NFT_TUNNEL=m -CONFIG_NFT_XFRM=m -CONFIG_NGBE=m -# CONFIG_N_GSM is not set -CONFIG_N_HDLC=m -# CONFIG_NI903X_WDT is not set -CONFIG_NILFS2_FS=m -CONFIG_NINTENDO_FF=y -CONFIG_NITRO_ENCLAVES=m -# CONFIG_NITRO_ENCLAVES_MISC_DEV_TEST is not set -CONFIG_NIU=m -# CONFIG_NL80211_TESTMODE is not set -CONFIG_NLMON=m -CONFIG_NLS_ASCII=y -CONFIG_NLS_CODEPAGE_1250=m -CONFIG_NLS_CODEPAGE_1251=m -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_737=m -CONFIG_NLS_CODEPAGE_775=m -CONFIG_NLS_CODEPAGE_850=m -CONFIG_NLS_CODEPAGE_852=m -CONFIG_NLS_CODEPAGE_855=m -CONFIG_NLS_CODEPAGE_857=m -CONFIG_NLS_CODEPAGE_860=m -CONFIG_NLS_CODEPAGE_861=m -CONFIG_NLS_CODEPAGE_862=m -CONFIG_NLS_CODEPAGE_863=m -CONFIG_NLS_CODEPAGE_864=m -CONFIG_NLS_CODEPAGE_865=m -CONFIG_NLS_CODEPAGE_866=m -CONFIG_NLS_CODEPAGE_869=m -CONFIG_NLS_CODEPAGE_874=m -CONFIG_NLS_CODEPAGE_932=m -CONFIG_NLS_CODEPAGE_936=m -CONFIG_NLS_CODEPAGE_949=m -CONFIG_NLS_CODEPAGE_950=m -CONFIG_NLS_DEFAULT="utf8" -CONFIG_NLS_ISO8859_13=m -CONFIG_NLS_ISO8859_14=m -CONFIG_NLS_ISO8859_15=m -CONFIG_NLS_ISO8859_1=m -CONFIG_NLS_ISO8859_2=m -CONFIG_NLS_ISO8859_3=m -CONFIG_NLS_ISO8859_4=m -CONFIG_NLS_ISO8859_5=m -CONFIG_NLS_ISO8859_6=m -CONFIG_NLS_ISO8859_7=m -CONFIG_NLS_ISO8859_8=m -CONFIG_NLS_ISO8859_9=m -CONFIG_NLS_KOI8_R=m -CONFIG_NLS_KOI8_U=m -CONFIG_NLS_MAC_CELTIC=m -CONFIG_NLS_MAC_CENTEURO=m -CONFIG_NLS_MAC_CROATIAN=m -CONFIG_NLS_MAC_CYRILLIC=m -CONFIG_NLS_MAC_GAELIC=m -CONFIG_NLS_MAC_GREEK=m -CONFIG_NLS_MAC_ICELAND=m -CONFIG_NLS_MAC_INUIT=m -CONFIG_NLS_MAC_ROMANIAN=m -CONFIG_NLS_MAC_ROMAN=m -CONFIG_NLS_MAC_TURKISH=m -CONFIG_NLS_UCS2_UTILS=m -CONFIG_NLS_UTF8=m -CONFIG_NLS=y -# CONFIG_NMI_CHECK_CPU is not set -# CONFIG_NOA1305 is not set -CONFIG_NODES_SHIFT=2 -CONFIG_NO_HZ_FULL=y -# CONFIG_NO_HZ_IDLE is not set -CONFIG_NO_HZ=y -# CONFIG_NONPORTABLE is not set -CONFIG_NOP_USB_XCEIV=m -# CONFIG_NOTIFIER_ERROR_INJECTION is not set -CONFIG_NOUVEAU_DEBUG=5 -CONFIG_NOUVEAU_DEBUG_DEFAULT=3 -# CONFIG_NOUVEAU_DEBUG_MMU is not set -# CONFIG_NOUVEAU_DEBUG_PUSH is not set -# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set -CONFIG_NOZOMI=m -CONFIG_NR_CPUS=32 -CONFIG_NS83820=m -CONFIG_NSM=m -CONFIG_NTB_EPF=m -# CONFIG_NTB is not set -# CONFIG_NTFS3_64BIT_CLUSTER is not set -CONFIG_NTFS3_FS=m -CONFIG_NTFS3_FS_POSIX_ACL=y -CONFIG_NTFS3_LZX_XPRESS=y -# CONFIG_NTFS_FS is not set -CONFIG_NULL_TTY=m -CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y -CONFIG_NUMA_BALANCING=y -# CONFIG_NUMA_EMU is not set -CONFIG_NUMA=y -# CONFIG_NVDIMM_SECURITY_TEST is not set -# CONFIG_NVHE_EL2_DEBUG is not set -CONFIG_NVIDIA_SHIELD_FF=y -# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set -CONFIG_NVME_AUTH=m -CONFIG_NVME_FC=m -CONFIG_NVME_HOST_AUTH=y -CONFIG_NVME_HWMON=y -CONFIG_NVMEM_LAYOUT_ONIE_TLV=m -CONFIG_NVMEM_LAYOUT_SL28_VPD=m -CONFIG_NVMEM_LAYOUT_U_BOOT_ENV=m -# CONFIG_NVMEM_QCOM_QFPROM is not set -# CONFIG_NVMEM_REBOOT_MODE is not set -CONFIG_NVMEM_RMEM=m -CONFIG_NVMEM_SYSFS=y -CONFIG_NVMEM_U_BOOT_ENV=m -CONFIG_NVME_MULTIPATH=y -CONFIG_NVMEM=y -CONFIG_NVME_RDMA=m -CONFIG_NVME_TARGET_AUTH=y -# CONFIG_NVME_TARGET_DEBUGFS is not set -CONFIG_NVME_TARGET_FCLOOP=m -CONFIG_NVME_TARGET_FC=m -CONFIG_NVME_TARGET_LOOP=m -CONFIG_NVME_TARGET=m -CONFIG_NVME_TARGET_PASSTHRU=y -CONFIG_NVME_TARGET_RDMA=m -CONFIG_NVME_TARGET_TCP=m -CONFIG_NVME_TARGET_TCP_TLS=y -CONFIG_NVME_TCP=m -CONFIG_NVME_TCP_TLS=y -# CONFIG_NVME_VERBOSE_ERRORS is not set -# CONFIG_NVRAM is not set -# CONFIG_NVSW_SN2201 is not set -CONFIG_NXP_C45_TJA11XX_PHY=m -CONFIG_NXP_CBTX_PHY=m -# CONFIG_NXP_TJA11XX_PHY is not set -# CONFIG_OA_TC6 is not set -# CONFIG_OCFS2_DEBUG_FS is not set -# CONFIG_OCFS2_DEBUG_MASKLOG is not set -CONFIG_OCFS2_FS=m -CONFIG_OCFS2_FS_O2CB=m -# CONFIG_OCFS2_FS_STATS is not set -CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m -CONFIG_OCTEON_EP=m -CONFIG_OCTEONEP_VDPA=m -CONFIG_OCTEON_EP_VF=m -CONFIG_OF_FPGA_REGION=m -CONFIG_OF_GPIO=y -CONFIG_OF_KUNIT_TEST=m -CONFIG_OF_OVERLAY_KUNIT_TEST=m -CONFIG_OF_OVERLAY=y -CONFIG_OF_PMEM=m -# CONFIG_OF_UNITTEST is not set -CONFIG_OF=y -# CONFIG_OMFS_FS is not set -# CONFIG_OPAL_CORE is not set -# CONFIG_OPEN_DICE is not set -CONFIG_OPENVSWITCH_GENEVE=m -CONFIG_OPENVSWITCH_GRE=m -CONFIG_OPENVSWITCH=m -CONFIG_OPENVSWITCH_VXLAN=m -CONFIG_OPT3001=m -CONFIG_OPT4001=m -CONFIG_OPTPROBES=y -CONFIG_ORANGEFS_FS=m -CONFIG_OSF_PARTITION=y -CONFIG_OSNOISE_TRACER=y -CONFIG_OVERFLOW_KUNIT_TEST=m -# CONFIG_OVERLAY_FS_DEBUG is not set -# CONFIG_OVERLAY_FS_INDEX is not set -CONFIG_OVERLAY_FS=m -# CONFIG_OVERLAY_FS_METACOPY is not set -CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y -# CONFIG_OVERLAY_FS_REDIRECT_DIR is not set -# CONFIG_OVERLAY_FS_XINO_AUTO is not set -CONFIG_PA12203001=m -CONFIG_PAC1921=m -CONFIG_PAC1934=m -CONFIG_PACKET_DIAG=y -CONFIG_PACKET=y -CONFIG_PACKING=y -CONFIG_PAGE_EXTENSION=y -CONFIG_PAGE_OWNER=y -CONFIG_PAGE_POISONING=y -CONFIG_PAGE_POOL_STATS=y -CONFIG_PAGE_REPORTING=y -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_TABLE_CHECK is not set -# CONFIG_PANEL_CHANGE_MESSAGE is not set -# CONFIG_PANEL is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_TIMEOUT=0 -CONFIG_PANTHERLORD_FF=y -CONFIG_PARAVIRT_TIME_ACCOUNTING=y -CONFIG_PARAVIRT=y -CONFIG_PARMAN=m -# CONFIG_PARPORT is not set -# CONFIG_PARPORT_PC is not set -CONFIG_PARTITION_ADVANCED=y -# CONFIG_PATA_ACPI is not set -CONFIG_PATA_ALI=m -CONFIG_PATA_AMD=m -CONFIG_PATA_ARTOP=m -# CONFIG_PATA_ATIIXP is not set -CONFIG_PATA_ATP867X=m -CONFIG_PATA_CMD640_PCI=m -CONFIG_PATA_CMD64X=m -CONFIG_PATA_CS5520=m -CONFIG_PATA_CS5530=m -CONFIG_PATA_CS5535=m -CONFIG_PATA_CS5536=m -# CONFIG_PATA_CYPRESS is not set -CONFIG_PATA_EFAR=m -CONFIG_PATA_HPT366=m -CONFIG_PATA_HPT37X=m -CONFIG_PATA_HPT3X2N=m -# CONFIG_PATA_HPT3X3_DMA is not set -CONFIG_PATA_HPT3X3=m -CONFIG_PATA_IT8213=m -CONFIG_PATA_IT821X=m -CONFIG_PATA_JMICRON=m -# CONFIG_PATA_LEGACY is not set -CONFIG_PATA_MARVELL=m -# CONFIG_PATA_MPIIX is not set -CONFIG_PATA_NETCELL=m -CONFIG_PATA_NINJA32=m -CONFIG_PATA_NS87410=m -CONFIG_PATA_NS87415=m -# CONFIG_PATA_OF_PLATFORM is not set -# CONFIG_PATA_OLDPIIX is not set -CONFIG_PATA_OPTIDMA=m -CONFIG_PATA_OPTI=m -# CONFIG_PATA_PARPORT is not set -CONFIG_PATA_PDC2027X=m -CONFIG_PATA_PDC_OLD=m -# CONFIG_PATA_RADISYS is not set -# CONFIG_PATA_RDC is not set -# CONFIG_PATA_RZ1000 is not set -# CONFIG_PATA_SC1200 is not set -# CONFIG_PATA_SCH is not set -CONFIG_PATA_SERVERWORKS=m -CONFIG_PATA_SIL680=m -CONFIG_PATA_SIS=m -# CONFIG_PATA_TOSHIBA is not set -# CONFIG_PATA_TRIFLEX is not set -CONFIG_PATA_VIA=m -CONFIG_PATA_WINBOND=m -# CONFIG_PC104 is not set -# CONFIG_PC87413_WDT is not set -# CONFIG_PCCARD is not set -# CONFIG_PCH_GBE is not set -# CONFIG_PCI_CNB20LE_QUIRK is not set -# CONFIG_PCI_DEBUG is not set -# CONFIG_PCI_DYNAMIC_OF_NODES is not set -CONFIG_PCIEAER_CXL=y -CONFIG_PCIEAER_INJECT=m -CONFIG_PCIEAER=y -# CONFIG_PCIE_ALTERA is not set -CONFIG_PCIEASPM_DEFAULT=y -# CONFIG_PCIEASPM_PERFORMANCE is not set -# CONFIG_PCIEASPM_POWERSAVE is not set -# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set -CONFIG_PCIEASPM=y -CONFIG_PCIE_BUS_DEFAULT=y -# CONFIG_PCIE_BUS_PEER2PEER is not set -# CONFIG_PCIE_BUS_PERFORMANCE is not set -# CONFIG_PCIE_BUS_SAFE is not set -# CONFIG_PCIE_BUS_TUNE_OFF is not set -CONFIG_PCIE_CADENCE_HOST=y -CONFIG_PCIE_CADENCE_PLAT_EP=y -# CONFIG_PCIE_CADENCE_PLAT_HOST is not set -CONFIG_PCIE_DPC=y -# CONFIG_PCIE_DW_PLAT_HOST is not set -CONFIG_PCIE_ECRC=y -CONFIG_PCIE_EDR=y -CONFIG_PCIE_FU740=y -# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set -CONFIG_PCIE_MICROCHIP_HOST=y -# CONFIG_PCIE_MOBIVEIL is not set -# CONFIG_PCI_ENDPOINT is not set -# CONFIG_PCI_ENDPOINT_TEST is not set -CONFIG_PCIEPORTBUS=y -CONFIG_PCIE_PTM=y -# CONFIG_PCIE_STARFIVE_HOST is not set -CONFIG_PCIE_XILINX_CPM=y -CONFIG_PCIE_XILINX=y -# CONFIG_PCI_FTPCI100 is not set -# CONFIG_PCI_GOOLPC is not set -CONFIG_PCI_HOST_COMMON=y -CONFIG_PCI_HOST_GENERIC=y -CONFIG_PCI_HYPERV=m -CONFIG_PCI_IOV=y -CONFIG_PCI_J721E_HOST=y -# CONFIG_PCI_MESON is not set -CONFIG_PCI_MSI_IRQ_DOMAIN=y -CONFIG_PCI_MSI=y -CONFIG_PCI_NPEM=y -CONFIG_PCI_P2PDMA=y -CONFIG_PCI_PASID=y -CONFIG_PCIPCWATCHDOG=m -CONFIG_PCI_PF_STUB=m -CONFIG_PCI_PRI=y -CONFIG_PCI_PWRCTL_PWRSEQ=m -CONFIG_PCI_QUIRKS=y -# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set -CONFIG_PCI_STUB=y -CONFIG_PCI_SW_SWITCHTEC=m -CONFIG_PCI=y -CONFIG_PCNET32=m -CONFIG_PCP_BATCH_SCALE_MAX=5 -CONFIG_PCPU_DEV_REFCNT=y -CONFIG_PCSPKR_PLATFORM=y -CONFIG_PCS_XPCS=m -# CONFIG_PDA_POWER is not set -CONFIG_PDC_ADMA=m -CONFIG_PDS_CORE=m -CONFIG_PDS_VDPA=m -CONFIG_PDS_VFIO_PCI=m -# CONFIG_PECI is not set -# CONFIG_PERCPU_STATS is not set -# CONFIG_PERCPU_TEST is not set -CONFIG_PERF_EVENTS_AMD_UNCORE=y -CONFIG_PERF_EVENTS=y -CONFIG_PERSISTENT_KEYRINGS=y -# CONFIG_PER_VMA_LOCK_STATS is not set -CONFIG_PFCP=m -# CONFIG_PHANTOM is not set -# CONFIG_PHONET is not set -CONFIG_PHY_CADENCE_DPHY=m -CONFIG_PHY_CADENCE_DPHY_RX=m -CONFIG_PHY_CADENCE_SALVO=m -CONFIG_PHY_CADENCE_SIERRA=m -CONFIG_PHY_CADENCE_TORRENT=m -# CONFIG_PHY_CAN_TRANSCEIVER is not set -# CONFIG_PHY_CPCAP_USB is not set -# CONFIG_PHY_HI3670_PCIE is not set -# CONFIG_PHY_HI3670_USB is not set -# CONFIG_PHY_LAN966X_SERDES is not set -CONFIG_PHYLIB=y -CONFIG_PHYLINK=m -# CONFIG_PHY_MAPPHONE_MDM6600 is not set -# CONFIG_PHY_OCELOT_SERDES is not set -# CONFIG_PHY_PXA_28NM_HSIC is not set -# CONFIG_PHY_PXA_28NM_USB2 is not set -# CONFIG_PHY_QCOM_EDP is not set -# CONFIG_PHY_QCOM_IPQ4019_USB is not set -# CONFIG_PHY_QCOM_IPQ806X_USB is not set -# CONFIG_PHY_QCOM_USB_HS_28NM is not set -# CONFIG_PHY_QCOM_USB_HSIC is not set -# CONFIG_PHY_QCOM_USB_HS is not set -# CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2 is not set -# CONFIG_PHY_QCOM_USB_SS is not set -CONFIG_PHY_RTK_RTD_USB2PHY=m -CONFIG_PHY_RTK_RTD_USB3PHY=m -# CONFIG_PHY_SAMSUNG_USB2 is not set -# CONFIG_PHYS_RAM_BASE_FIXED is not set -CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m -# CONFIG_PHY_STARFIVE_JH7110_DPHY_TX is not set -CONFIG_PHY_STARFIVE_JH7110_PCIE=m -CONFIG_PHY_STARFIVE_JH7110_USB=m -# CONFIG_PHY_TUSB1210 is not set -# CONFIG_PI433 is not set -CONFIG_PID_NS=y -CONFIG_PINCONF=y -# CONFIG_PINCTRL_AMD is not set -# CONFIG_PINCTRL_AW9523 is not set -CONFIG_PINCTRL_AXP209=m -CONFIG_PINCTRL_CS42L43=m -CONFIG_PINCTRL_CY8C95X0=m -# CONFIG_PINCTRL_EQUILIBRIUM is not set -# CONFIG_PINCTRL_IPQ6018 is not set -# CONFIG_PINCTRL_IPQ8074 is not set -# CONFIG_PINCTRL_LPASS_LPI is not set -# CONFIG_PINCTRL_MCP23S08 is not set -CONFIG_PINCTRL_MESON=y -# CONFIG_PINCTRL_MICROCHIP_SGPIO is not set -# CONFIG_PINCTRL_MSM8226 is not set -# CONFIG_PINCTRL_MSM8953 is not set -# CONFIG_PINCTRL_MSM8976 is not set -# CONFIG_PINCTRL_MSM is not set -# CONFIG_PINCTRL_OCELOT is not set -# CONFIG_PINCTRL_QCS404 is not set -CONFIG_PINCTRL_RK805=m -# CONFIG_PINCTRL_SC7180 is not set -# CONFIG_PINCTRL_SC8180X is not set -# CONFIG_PINCTRL_SDM660 is not set -# CONFIG_PINCTRL_SINGLE is not set -# CONFIG_PINCTRL_SM8150 is not set -# CONFIG_PINCTRL_SM8250 is not set -# CONFIG_PINCTRL_SM8350 is not set -CONFIG_PINCTRL_SM8350_LPASS_LPI=m -# CONFIG_PINCTRL_SM8450 is not set -CONFIG_PINCTRL_SOPHGO_CV1800B=y -CONFIG_PINCTRL_SOPHGO_CV1812H=y -CONFIG_PINCTRL_SOPHGO_SG2000=y -CONFIG_PINCTRL_SOPHGO_SG2002=y -CONFIG_PINCTRL_STARFIVE_JH7100=y -CONFIG_PINCTRL_STARFIVE_JH7110_AON=y -CONFIG_PINCTRL_STARFIVE_JH7110_SYS=y -CONFIG_PINCTRL_STARFIVE_JH7110=y -CONFIG_PINCTRL_STARFIVE=y -# CONFIG_PINCTRL_STMFX is not set -CONFIG_PINCTRL_SUN20I_D1=y -# CONFIG_PINCTRL_SX150X is not set -CONFIG_PINCTRL_TPS6594=m -CONFIG_PINCTRL=y -# CONFIG_PING is not set -CONFIG_PINMUX=y -CONFIG_PKCS7_MESSAGE_PARSER=y -# CONFIG_PKCS7_TEST_KEY is not set -CONFIG_PKCS8_PRIVATE_KEY_PARSER=m -# CONFIG_PL320_MBOX is not set -# CONFIG_PL330_DMA is not set -# CONFIG_PLATFORM_MHU is not set -# CONFIG_PLATFORM_SI4713 is not set -CONFIG_PLAYSTATION_FF=y -# CONFIG_PLFXLC is not set -# CONFIG_PLIP is not set -# CONFIG_PLX_DMA is not set -# CONFIG_PM_ADVANCED_DEBUG is not set -# CONFIG_PM_AUTOSLEEP is not set -CONFIG_PMBUS=m -CONFIG_PM_DEBUG=y -# CONFIG_PM_DEVFREQ is not set -# CONFIG_PMIC_ADP5520 is not set -# CONFIG_PMIC_DA903X is not set -# CONFIG_PMIC_OPREGION is not set -CONFIG_PM_OPP=y -CONFIG_PMS7003=m -CONFIG_PM_STD_PARTITION="" -CONFIG_PM_TEST_SUSPEND=y -CONFIG_PM_TRACE_RTC=y -CONFIG_PM_TRACE=y -# CONFIG_PM_USERSPACE_AUTOSLEEP is not set -# CONFIG_PMU_SYSFS is not set -# CONFIG_PM_WAKELOCKS is not set -CONFIG_PM=y -CONFIG_PNFS_BLOCK=m -CONFIG_PNP_DEBUG_MESSAGES=y -# CONFIG_POLARFIRE_SOC_MAILBOX is not set -CONFIG_PORTABLE=y -CONFIG_POSIX_MQUEUE=y -CONFIG_POSIX_TIMERS=y -CONFIG_POWERCAP=y -# CONFIG_POWER_RESET_BRCMKONA is not set -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_POWER_RESET_GPIO=y -# CONFIG_POWER_RESET_LINKSTATION is not set -# CONFIG_POWER_RESET_LTC2952 is not set -# CONFIG_POWER_RESET_REGULATOR is not set -CONFIG_POWER_RESET_RESTART=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_TPS65086=y -# CONFIG_POWER_RESET_VEXPRESS is not set -CONFIG_POWER_RESET=y -CONFIG_POWER_SEQUENCING=m -CONFIG_POWER_SEQUENCING_QCOM_WCN=m -# CONFIG_POWER_SUPPLY_DEBUG is not set -CONFIG_POWER_SUPPLY_HWMON=y -CONFIG_POWER_SUPPLY=y -# CONFIG_PPC_PROT_SAO_LPAR is not set -CONFIG_PPC_QUEUED_SPINLOCKS=y -CONFIG_PPC_RTAS_FILTER=y -CONFIG_PPDEV=m -CONFIG_PPP_ASYNC=m -CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_FILTER=y -CONFIG_PPP=m -CONFIG_PPP_MPPE=m -CONFIG_PPP_MULTILINK=y -CONFIG_PPPOATM=m -# CONFIG_PPPOE_HASH_BITS_1 is not set -# CONFIG_PPPOE_HASH_BITS_2 is not set -CONFIG_PPPOE_HASH_BITS_4=y -# CONFIG_PPPOE_HASH_BITS_8 is not set -CONFIG_PPPOE=m -CONFIG_PPPOL2TP=m -CONFIG_PPP_SYNC_TTY=m -CONFIG_PPS_CLIENT_GPIO=m -# CONFIG_PPS_CLIENT_KTIMER is not set -CONFIG_PPS_CLIENT_LDISC=m -# CONFIG_PPS_DEBUG is not set -CONFIG_PPS=y -CONFIG_PPTP=m -# CONFIG_PREEMPT_AUTO is not set -# CONFIG_PREEMPT_BEHAVIOUR is not set -# CONFIG_PREEMPT_DYNAMIC is not set -# CONFIG_PREEMPTIRQ_DELAY_TEST is not set -# CONFIG_PREEMPT is not set -# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_RT=y -# CONFIG_PREEMPT_TRACER is not set -# CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR is not set -# CONFIG_PREEMPT_VOLUNTARY is not set -CONFIG_PRESTERA=m -CONFIG_PRESTERA_PCI=m -CONFIG_PREVENT_FIRMWARE_BUILD=y -CONFIG_PRIME_NUMBERS=m -CONFIG_PRINTER=m -# CONFIG_PRINTK_CALLER is not set -CONFIG_PRINTK_INDEX=y -CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12 -CONFIG_PRINTK_TIME=y -CONFIG_PRINTK=y -# CONFIG_PRINT_QUOTA_WARNING is not set -# CONFIG_PRISM2_USB is not set -CONFIG_PROBE_EVENTS_BTF_ARGS=y -CONFIG_PROC_CHILDREN=y -# CONFIG_PROCESSOR_SELECT is not set -CONFIG_PROC_EVENTS=y -CONFIG_PROC_FS=y -CONFIG_PROC_KCORE=y -CONFIG_PROC_MEM_ALWAYS_FORCE=y -# CONFIG_PROC_MEM_FORCE_PTRACE is not set -# CONFIG_PROC_MEM_NO_FORCE is not set -CONFIG_PROC_PAGE_MONITOR=y -CONFIG_PROC_PID_CPUSET=y -CONFIG_PROC_SYSCTL=y -CONFIG_PROC_VMCORE_DEVICE_DUMP=y -CONFIG_PROC_VMCORE=y -# CONFIG_PROFILE_ALL_BRANCHES is not set -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -CONFIG_PROFILING=y -CONFIG_PROVE_CXL_LOCKING=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_PROVE_NVDIMM_LOCKING is not set -# CONFIG_PROVE_RAW_LOCK_NESTING is not set -CONFIG_PSAMPLE=m -# CONFIG_PSE_CONTROLLER is not set -# CONFIG_PSI_DEFAULT_DISABLED is not set -CONFIG_PSI=y -# CONFIG_PSTORE_842_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_842_COMPRESS=y -# CONFIG_PSTORE_BLK is not set -CONFIG_PSTORE_COMPRESS=y -# CONFIG_PSTORE_CONSOLE is not set -CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240 -CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y -CONFIG_PSTORE_DEFLATE_COMPRESS=y -# CONFIG_PSTORE_FTRACE is not set -# CONFIG_PSTORE_LZ4_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZ4_COMPRESS=m -# CONFIG_PSTORE_LZ4HC_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZ4HC_COMPRESS=m -# CONFIG_PSTORE_LZO_COMPRESS_DEFAULT is not set -CONFIG_PSTORE_LZO_COMPRESS=m -# CONFIG_PSTORE_PMSG is not set -CONFIG_PSTORE_RAM=m -CONFIG_PSTORE=y -# CONFIG_PSTORE_ZSTD_COMPRESS is not set -# CONFIG_PTDUMP_DEBUGFS is not set -CONFIG_PTE_MARKER_UFFD_WP=y -CONFIG_PTP_1588_CLOCK_FC3W=m -CONFIG_PTP_1588_CLOCK_IDT82P33=m -CONFIG_PTP_1588_CLOCK_IDTCM=m -# CONFIG_PTP_1588_CLOCK_INES is not set -CONFIG_PTP_1588_CLOCK_KVM=m -CONFIG_PTP_1588_CLOCK_MOCK=m -# CONFIG_PTP_1588_CLOCK_OCP is not set -CONFIG_PTP_1588_CLOCK_PCH=m -CONFIG_PTP_1588_CLOCK=y -CONFIG_PTP_DFL_TOD=m -# CONFIG_PVPANIC_MMIO is not set -# CONFIG_PVPANIC_PCI is not set -CONFIG_PVPANIC=y -CONFIG_PWM_ADP5585=m -# CONFIG_PWM_ATMEL_TCB is not set -CONFIG_PWM_AXI_PWMGEN=m -# CONFIG_PWM_CLK is not set -# CONFIG_PWM_DEBUG is not set -CONFIG_PWM_DWC=m -# CONFIG_PWM_FSL_FTM is not set -CONFIG_PWM_GPIO=m -CONFIG_PWM_HIBVT=m -# CONFIG_PWM_MICROCHIP_CORE is not set -CONFIG_PWM_OMAP_DMTIMER=m -# CONFIG_PWM_PCA9685 is not set -CONFIG_PWM_SIFIVE=y -CONFIG_PWM_SYSFS=y -# CONFIG_PWM_XILINX is not set -CONFIG_PWM=y -CONFIG_PWRSEQ_EMMC=m -CONFIG_PWRSEQ_SD8787=m -CONFIG_PWRSEQ_SIMPLE=m -CONFIG_QAT_VFIO_PCI=m -# CONFIG_QCA7000_SPI is not set -# CONFIG_QCA7000_UART is not set -CONFIG_QCA807X_PHY=m -CONFIG_QCA808X_PHY=m -CONFIG_QCA83XX_PHY=m -# CONFIG_QCOM_A7PLL is not set -# CONFIG_QCOM_CPR is not set -# CONFIG_QCOM_EMAC is not set -# CONFIG_QCOM_GPI_DMA is not set -# CONFIG_QCOM_HIDMA is not set -# CONFIG_QCOM_HIDMA_MGMT is not set -# CONFIG_QCOM_IPCC is not set -# CONFIG_QCOM_LMH is not set -# CONFIG_QCOM_OCMEM is not set -CONFIG_QCOM_PBS=m -# CONFIG_QCOM_PD_MAPPER is not set -# CONFIG_QCOM_PMIC_GLINK is not set -# CONFIG_QCOM_PMIC_PDCHARGER_ULOG is not set -# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set -# CONFIG_QCOM_SCM is not set -# CONFIG_QCOM_SPM is not set -# CONFIG_QCS_TURING_404 is not set -CONFIG_QEDE=m -CONFIG_QEDF=m -CONFIG_QEDI=m -CONFIG_QED=m -CONFIG_QED_SRIOV=y -# CONFIG_QFMT_V1 is not set -CONFIG_QFMT_V2=y -CONFIG_QLA3XXX=m -CONFIG_QLCNIC_DCB=y -CONFIG_QLCNIC_HWMON=y -CONFIG_QLCNIC=m -CONFIG_QLCNIC_SRIOV=y -CONFIG_QLGE=m -# CONFIG_QNX4FS_FS is not set -# CONFIG_QNX6FS_FS is not set -CONFIG_QRTR=m -CONFIG_QRTR_MHI=m -# CONFIG_QRTR_SMD is not set -# CONFIG_QRTR_TUN is not set -CONFIG_QSEMI_PHY=m -CONFIG_QTNFMAC_PCIE=m -# CONFIG_QUICC_ENGINE is not set -CONFIG_QUOTACTL=y -# CONFIG_QUOTA_DEBUG is not set -CONFIG_QUOTA_NETLINK_INTERFACE=y -CONFIG_QUOTA=y -CONFIG_R6040=m -CONFIG_R8169=m -CONFIG_R8712U=m -CONFIG_RADIO_ADAPTERS=m -CONFIG_RADIO_MAXIRADIO=m -CONFIG_RADIO_SAA7706H=m -CONFIG_RADIO_SHARK2=m -CONFIG_RADIO_SHARK=m -CONFIG_RADIO_SI470X=m -CONFIG_RADIO_SI4713=m -CONFIG_RADIO_TEA5764=m -# CONFIG_RADIO_TEF6862 is not set -CONFIG_RADIO_WL1273=m -# CONFIG_RAID6_PQ_BENCHMARK is not set -CONFIG_RAID_ATTRS=m -# CONFIG_RANDOM32_SELFTEST is not set -CONFIG_RANDOMIZE_BASE=y -CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y -CONFIG_RANDOMIZE_KSTACK_OFFSET=y -CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa -CONFIG_RANDOM_KMALLOC_CACHES=y -CONFIG_RANDOM_TRUST_BOOTLOADER=y -CONFIG_RANDOM_TRUST_CPU=y -# CONFIG_RANDSTRUCT_FULL is not set -CONFIG_RANDSTRUCT_NONE=y -# CONFIG_RANDSTRUCT_PERFORMANCE is not set -CONFIG_RAPIDIO_CHMAN=m -CONFIG_RAPIDIO_CPS_GEN2=m -CONFIG_RAPIDIO_CPS_XX=m -# CONFIG_RAPIDIO_DEBUG is not set -CONFIG_RAPIDIO_DISC_TIMEOUT=30 -CONFIG_RAPIDIO_DMA_ENGINE=y -# CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS is not set -CONFIG_RAPIDIO_ENUM_BASIC=m -CONFIG_RAPIDIO=m -CONFIG_RAPIDIO_MPORT_CDEV=m -CONFIG_RAPIDIO_RXS_GEN3=m -CONFIG_RAPIDIO_TSI568=m -CONFIG_RAPIDIO_TSI57X=m -CONFIG_RAPIDIO_TSI721=m -CONFIG_RAS_FMPM=m -CONFIG_RATIONAL_KUNIT_TEST=m -# CONFIG_RAVE_SP_CORE is not set -# CONFIG_RBTREE_TEST is not set -CONFIG_RC_ATI_REMOTE=m -CONFIG_RC_CORE=y -CONFIG_RC_DECODERS=y -CONFIG_RC_DEVICES=y -CONFIG_RC_LOOPBACK=m -CONFIG_RC_MAP=m -CONFIG_RCU_BOOST_DELAY=500 -CONFIG_RCU_BOOST=y -# CONFIG_RCU_CPU_STALL_CPUTIME is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=60 -# CONFIG_RCU_EQS_DEBUG is not set -CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0 -# CONFIG_RCU_EXPERT is not set -# CONFIG_RCU_LAZY is not set -CONFIG_RCU_NOCB_CPU_CB_BOOST=y -# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set -CONFIG_RCU_NOCB_CPU=y -# CONFIG_RCU_REF_SCALE_TEST is not set -# CONFIG_RCU_SCALE_TEST is not set -CONFIG_RCU_TORTURE_TEST=m -CONFIG_RCU_TRACE=y -CONFIG_RC_XBOX_DVD=m -CONFIG_RD_BZIP2=y -CONFIG_RD_GZIP=y -CONFIG_RD_LZ4=y -CONFIG_RD_LZMA=y -CONFIG_RD_LZO=y -CONFIG_RDMA_RXE=m -CONFIG_RDMA_SIW=m -# CONFIG_RDS_DEBUG is not set -CONFIG_RDS=m -CONFIG_RDS_RDMA=m -CONFIG_RDS_TCP=m -CONFIG_RD_XZ=y -CONFIG_RD_ZSTD=y -# CONFIG_READABLE_ASM is not set -CONFIG_READ_ONLY_THP_FOR_FS=y -CONFIG_REALTEK_AUTOPM=y -CONFIG_REALTEK_PHY=m -# CONFIG_REED_SOLOMON_TEST is not set -# CONFIG_REGMAP_BUILD is not set -CONFIG_REGMAP_I2C=y -CONFIG_REGMAP_KUNIT=m -CONFIG_REGMAP_SPI=m -CONFIG_REGMAP=y -# CONFIG_REGULATOR_88PG86X is not set -CONFIG_REGULATOR_88PM886=m -# CONFIG_REGULATOR_ACT8865 is not set -# CONFIG_REGULATOR_AD5398 is not set -CONFIG_REGULATOR_ANATOP=m -CONFIG_REGULATOR_AW37503=m -CONFIG_REGULATOR_AXP20X=m -CONFIG_REGULATOR_BD9571MWV=m -CONFIG_REGULATOR_BD96801=m -CONFIG_REGULATOR_DA9063=m -# CONFIG_REGULATOR_DA9121 is not set -# CONFIG_REGULATOR_DA9210 is not set -# CONFIG_REGULATOR_DA9211 is not set -# CONFIG_REGULATOR_DEBUG is not set -# CONFIG_REGULATOR_FAN53555 is not set -# CONFIG_REGULATOR_FAN53880 is not set -CONFIG_REGULATOR_FIXED_VOLTAGE=y -# CONFIG_REGULATOR_GPIO is not set -# CONFIG_REGULATOR_ISL6271A is not set -# CONFIG_REGULATOR_ISL9305 is not set -# CONFIG_REGULATOR_LP3971 is not set -# CONFIG_REGULATOR_LP3972 is not set -# CONFIG_REGULATOR_LP872X is not set -# CONFIG_REGULATOR_LP8755 is not set -# CONFIG_REGULATOR_LTC3589 is not set -# CONFIG_REGULATOR_LTC3676 is not set -# CONFIG_REGULATOR_MAX1586 is not set -# CONFIG_REGULATOR_MAX20086 is not set -CONFIG_REGULATOR_MAX20411=m -CONFIG_REGULATOR_MAX5970=m -CONFIG_REGULATOR_MAX597X=m -CONFIG_REGULATOR_MAX77503=m -CONFIG_REGULATOR_MAX77650=m -# CONFIG_REGULATOR_MAX77826 is not set -CONFIG_REGULATOR_MAX77857=m -# CONFIG_REGULATOR_MAX8649 is not set -# CONFIG_REGULATOR_MAX8660 is not set -CONFIG_REGULATOR_MAX8893=m -# CONFIG_REGULATOR_MAX8952 is not set -# CONFIG_REGULATOR_MCP16502 is not set -CONFIG_REGULATOR_MP5416=m -# CONFIG_REGULATOR_MP8859 is not set -CONFIG_REGULATOR_MP886X=m -# CONFIG_REGULATOR_MPQ7920 is not set -# CONFIG_REGULATOR_MT6311 is not set -CONFIG_REGULATOR_MT6370=m -# CONFIG_REGULATOR_NETLINK_EVENTS is not set -# CONFIG_REGULATOR_PCA9450 is not set -# CONFIG_REGULATOR_PF8X00 is not set -# CONFIG_REGULATOR_PFUZE100 is not set -# CONFIG_REGULATOR_PV88060 is not set -# CONFIG_REGULATOR_PV88080 is not set -# CONFIG_REGULATOR_PV88090 is not set -CONFIG_REGULATOR_PWM=y -CONFIG_REGULATOR_RAA215300=m -# CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY is not set -CONFIG_REGULATOR_RT4801=m -CONFIG_REGULATOR_RT4803=m -CONFIG_REGULATOR_RT4831=m -CONFIG_REGULATOR_RT5120=m -CONFIG_REGULATOR_RT5190A=m -CONFIG_REGULATOR_RT5739=m -CONFIG_REGULATOR_RT5759=m -CONFIG_REGULATOR_RT6160=m -CONFIG_REGULATOR_RT6190=m -CONFIG_REGULATOR_RT6245=m -CONFIG_REGULATOR_RTMV20=m -CONFIG_REGULATOR_RTQ2134=m -CONFIG_REGULATOR_RTQ2208=m -CONFIG_REGULATOR_RTQ6752=m -# CONFIG_REGULATOR_SLG51000 is not set -# CONFIG_REGULATOR_SUN20I is not set -CONFIG_REGULATOR_SY7636A=m -# CONFIG_REGULATOR_SY8106A is not set -# CONFIG_REGULATOR_SY8824X is not set -# CONFIG_REGULATOR_SY8827N is not set -# CONFIG_REGULATOR_TPS51632 is not set -# CONFIG_REGULATOR_TPS62360 is not set -CONFIG_REGULATOR_TPS6286X=m -# CONFIG_REGULATOR_TPS6287X is not set -# CONFIG_REGULATOR_TPS65023 is not set -# CONFIG_REGULATOR_TPS6507X is not set -# CONFIG_REGULATOR_TPS65132 is not set -# CONFIG_REGULATOR_TPS6524X is not set -CONFIG_REGULATOR_TPS6594=m -# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set -CONFIG_REGULATOR_VCTRL=m -# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set -# CONFIG_REGULATOR_VQMMC_IPQ4019 is not set -CONFIG_REGULATOR_WM8994=m -CONFIG_REGULATOR=y -# CONFIG_REISERFS_CHECK is not set -CONFIG_REISERFS_FS=m -CONFIG_REISERFS_FS_POSIX_ACL=y -CONFIG_REISERFS_FS_SECURITY=y -CONFIG_REISERFS_FS_XATTR=y -CONFIG_REISERFS_PROC_INFO=y -CONFIG_RELAY=y -# CONFIG_RELOCATABLE_TEST is not set -CONFIG_RELOCATABLE=y -# CONFIG_REMOTEPROC_CDEV is not set -CONFIG_REMOTEPROC=y -CONFIG_REMOTE_TARGET=m -# CONFIG_RENESAS_PHY is not set -# CONFIG_RESET_ATTACK_MITIGATION is not set -CONFIG_RESET_GPIO=m -# CONFIG_RESET_INTEL_GW is not set -CONFIG_RESET_POLARFIRE_SOC=y -CONFIG_RESET_SIMPLE=y -CONFIG_RESET_STARFIVE_JH7100=y -CONFIG_RESET_STARFIVE_JH7110=y -CONFIG_RESET_STARFIVE_JH71X0=y -# CONFIG_RESET_TI_SYSCON is not set -CONFIG_RESET_TI_TPS380X=m -CONFIG_RESOURCE_KUNIT_TEST=m -# CONFIG_RFD77402 is not set -# CONFIG_RFD_FTL is not set -CONFIG_RFKILL_GPIO=m -CONFIG_RFKILL_INPUT=y -CONFIG_RFKILL=m -CONFIG_RFS_ACCEL=y -# CONFIG_RH_DISABLE_DEPRECATED is not set -# CONFIG_RHEL_DIFFERENCES is not set -# CONFIG_RH_KABI_SIZE_ALIGN_CHECKS is not set -CONFIG_RICHTEK_RTQ6056=m -CONFIG_RING_BUFFER_BENCHMARK=m -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set -CONFIG_RIONET=m -CONFIG_RIONET_RX_SIZE=128 -CONFIG_RIONET_TX_SIZE=128 -CONFIG_RISCV_ALTERNATIVE_EARLY=y -CONFIG_RISCV_ALTERNATIVE=y -CONFIG_RISCV_BASE_PMU=y -# CONFIG_RISCV_BOOT_SPINWAIT is not set -# CONFIG_RISCV_EFFICIENT_UNALIGNED_ACCESS is not set -# CONFIG_RISCV_EMULATED_UNALIGNED_ACCESS is not set -CONFIG_RISCV_INTC=y -CONFIG_RISCV_ISA_C=y -CONFIG_RISCV_ISA_FALLBACK=y -CONFIG_RISCV_ISA_SVNAPOT=y -CONFIG_RISCV_ISA_SVPBMT=y -CONFIG_RISCV_ISA_V_DEFAULT_ENABLE=y -CONFIG_RISCV_ISA_VENDOR_EXT_ANDES=y -CONFIG_RISCV_ISA_V_PREEMPTIVE=y -CONFIG_RISCV_ISA_V_UCOPY_THRESHOLD=768 -CONFIG_RISCV_ISA_V=y -CONFIG_RISCV_ISA_ZAWRS=y -CONFIG_RISCV_ISA_ZBA=y -CONFIG_RISCV_ISA_ZBB=y -CONFIG_RISCV_ISA_ZBC=y -CONFIG_RISCV_ISA_ZICBOM=y -CONFIG_RISCV_ISA_ZICBOZ=y -CONFIG_RISCV_MISALIGNED=y -# CONFIG_RISCV_MODULE_LINKING_KUNIT is not set -CONFIG_RISCV_PLIC=y -CONFIG_RISCV_PMU_LEGACY=y -CONFIG_RISCV_PMU_SBI=y -CONFIG_RISCV_PMU=y -CONFIG_RISCV_PROBE_UNALIGNED_ACCESS=y -CONFIG_RISCV_SBI_CPUIDLE=y -# CONFIG_RISCV_SBI_V01 is not set -CONFIG_RISCV_SBI=y -CONFIG_RISCV_TIMER=y -CONFIG_RMI4_CORE=m -CONFIG_RMI4_F03=y -CONFIG_RMI4_F11=y -CONFIG_RMI4_F12=y -CONFIG_RMI4_F30=y -CONFIG_RMI4_F34=y -CONFIG_RMI4_F3A=y -# CONFIG_RMI4_F54 is not set -CONFIG_RMI4_F55=y -CONFIG_RMI4_I2C=m -CONFIG_RMI4_SMB=m -CONFIG_RMI4_SPI=m -CONFIG_RMNET=m -# CONFIG_ROCKCHIP_PHY is not set -CONFIG_ROCKER=m -# CONFIG_ROHM_BM1390 is not set -# CONFIG_ROHM_BU27008 is not set -CONFIG_ROHM_BU27034=m -CONFIG_ROMFS_BACKED_BY_BLOCK=y -# CONFIG_ROMFS_BACKED_BY_BOTH is not set -# CONFIG_ROMFS_BACKED_BY_MTD is not set -CONFIG_ROMFS_FS=m -CONFIG_ROSE=m -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1=y -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2=y -CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA=y -# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_DES is not set -CONFIG_RPCSEC_GSS_KRB5_KUNIT_TEST=m -CONFIG_RPCSEC_GSS_KRB5=m -CONFIG_RPMB=m -CONFIG_RPMSG_CHAR=m -CONFIG_RPMSG_CTRL=m -CONFIG_RPMSG=m -# CONFIG_RPMSG_QCOM_GLINK_RPM is not set -CONFIG_RPMSG_TTY=m -CONFIG_RPMSG_VIRTIO=m -CONFIG_RPMSG_WWAN_CTRL=m -CONFIG_RPR0521=m -CONFIG_RPS=y -CONFIG_RSEQ=y -CONFIG_RSI_91X=m -CONFIG_RSI_COEX=y -CONFIG_RSI_DEBUGFS=y -CONFIG_RSI_SDIO=m -CONFIG_RSI_USB=m -CONFIG_RT2400PCI=m -CONFIG_RT2500PCI=m -CONFIG_RT2500USB=m -CONFIG_RT2800PCI=m -CONFIG_RT2800PCI_RT3290=y -CONFIG_RT2800PCI_RT33XX=y -CONFIG_RT2800PCI_RT35XX=y -CONFIG_RT2800PCI_RT53XX=y -CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT33XX=y -CONFIG_RT2800USB_RT3573=y -CONFIG_RT2800USB_RT35XX=y -CONFIG_RT2800USB_RT53XX=y -CONFIG_RT2800USB_RT55XX=y -CONFIG_RT2800USB_UNKNOWN=y -# CONFIG_RT2X00_DEBUG is not set -CONFIG_RT2X00_LIB_DEBUGFS=y -CONFIG_RT2X00=m -CONFIG_RT61PCI=m -CONFIG_RT73USB=m -# CONFIG_RTASE is not set -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DEBUG is not set -# CONFIG_RTC_DRV_ABB5ZES3 is not set -CONFIG_RTC_DRV_ABEOZ9=m -CONFIG_RTC_DRV_ABX80X=m -CONFIG_RTC_DRV_BQ32K=m -# CONFIG_RTC_DRV_CADENCE is not set -CONFIG_RTC_DRV_CMOS=y -CONFIG_RTC_DRV_DA9063=m -CONFIG_RTC_DRV_DS1286=m -# CONFIG_RTC_DRV_DS1302 is not set -CONFIG_RTC_DRV_DS1305=m -# CONFIG_RTC_DRV_DS1307_CENTURY is not set -CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_DS1343=m -CONFIG_RTC_DRV_DS1347=m -CONFIG_RTC_DRV_DS1374=m -CONFIG_RTC_DRV_DS1374_WDT=y -CONFIG_RTC_DRV_DS1390=m -CONFIG_RTC_DRV_DS1511=m -CONFIG_RTC_DRV_DS1553=m -CONFIG_RTC_DRV_DS1672=m -CONFIG_RTC_DRV_DS1685_FAMILY=m -CONFIG_RTC_DRV_DS1685=y -# CONFIG_RTC_DRV_DS1689 is not set -# CONFIG_RTC_DRV_DS17285 is not set -CONFIG_RTC_DRV_DS1742=m -# CONFIG_RTC_DRV_DS17485 is not set -# CONFIG_RTC_DRV_DS17885 is not set -CONFIG_RTC_DRV_DS2404=m -# CONFIG_RTC_DRV_DS3232_HWMON is not set -CONFIG_RTC_DRV_DS3232=m -CONFIG_RTC_DRV_EFI=m -CONFIG_RTC_DRV_EM3027=m -CONFIG_RTC_DRV_FM3130=m -# CONFIG_RTC_DRV_FTRTC010 is not set -CONFIG_RTC_DRV_GOLDFISH=y -# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set -# CONFIG_RTC_DRV_HYM8563 is not set -CONFIG_RTC_DRV_ISL12022=m -CONFIG_RTC_DRV_ISL12026=m -CONFIG_RTC_DRV_ISL1208=m -CONFIG_RTC_DRV_M41T80=m -CONFIG_RTC_DRV_M41T80_WDT=y -CONFIG_RTC_DRV_M41T93=m -CONFIG_RTC_DRV_M41T94=m -CONFIG_RTC_DRV_M48T35=m -CONFIG_RTC_DRV_M48T59=m -# CONFIG_RTC_DRV_M48T86 is not set -CONFIG_RTC_DRV_MAX31335=m -CONFIG_RTC_DRV_MAX6900=m -CONFIG_RTC_DRV_MAX6902=m -CONFIG_RTC_DRV_MAX6916=m -CONFIG_RTC_DRV_MAX77686=m -CONFIG_RTC_DRV_MCP795=m -CONFIG_RTC_DRV_MSM6242=m -CONFIG_RTC_DRV_NCT3018Y=m -CONFIG_RTC_DRV_PCF2123=m -CONFIG_RTC_DRV_PCF2127=m -CONFIG_RTC_DRV_PCF85063=m -CONFIG_RTC_DRV_PCF8523=m -# CONFIG_RTC_DRV_PCF85363 is not set -CONFIG_RTC_DRV_PCF8563=m -CONFIG_RTC_DRV_PCF8583=m -# CONFIG_RTC_DRV_PL030 is not set -# CONFIG_RTC_DRV_PL031 is not set -# CONFIG_RTC_DRV_PM8XXX is not set -# CONFIG_RTC_DRV_POLARFIRE_SOC is not set -CONFIG_RTC_DRV_R7301=m -CONFIG_RTC_DRV_R9701=m -CONFIG_RTC_DRV_RP5C01=m -CONFIG_RTC_DRV_RS5C348=m -CONFIG_RTC_DRV_RS5C372=m -CONFIG_RTC_DRV_RV3028=m -CONFIG_RTC_DRV_RV3029C2=m -CONFIG_RTC_DRV_RV3029_HWMON=y -CONFIG_RTC_DRV_RV3032=m -# CONFIG_RTC_DRV_RV8803 is not set -CONFIG_RTC_DRV_RX4581=m -# CONFIG_RTC_DRV_RX6110 is not set -CONFIG_RTC_DRV_RX8010=m -CONFIG_RTC_DRV_RX8025=m -# CONFIG_RTC_DRV_RX8111 is not set -CONFIG_RTC_DRV_RX8581=m -# CONFIG_RTC_DRV_S35390A is not set -# CONFIG_RTC_DRV_SA1100 is not set -# CONFIG_RTC_DRV_SD2405AL is not set -CONFIG_RTC_DRV_SD3078=m -# CONFIG_RTC_DRV_SNVS is not set -CONFIG_RTC_DRV_STK17TA8=m -# CONFIG_RTC_DRV_TEST is not set -CONFIG_RTC_DRV_TPS6594=m -CONFIG_RTC_DRV_V3020=m -CONFIG_RTC_DRV_X1205=m -# CONFIG_RTC_DRV_ZYNQMP is not set -CONFIG_RTC_HCTOSYS_DEVICE="rtc0" -CONFIG_RTC_HCTOSYS=y -# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set -CONFIG_RTC_INTF_DEV=y -CONFIG_RTC_INTF_PROC=y -CONFIG_RTC_INTF_SYSFS=y -CONFIG_RTC_LIB_KUNIT_TEST=m -CONFIG_RTC_NVMEM=y -CONFIG_RTC_SYSTOHC_DEVICE="rtc0" -CONFIG_RTC_SYSTOHC=y -# CONFIG_RT_GROUP_SCHED is not set -CONFIG_RTL8180=m -CONFIG_RTL8187=m -CONFIG_RTL8188EE=m -CONFIG_RTL8192CE=m -# CONFIG_RTL8192CU is not set -CONFIG_RTL8192DE=m -CONFIG_RTL8192DU=m -CONFIG_RTL8192EE=m -CONFIG_RTL8192SE=m -# CONFIG_RTL8192U is not set -CONFIG_RTL8723AE=m -CONFIG_RTL8723BE=m -CONFIG_RTL8723BS=m -CONFIG_RTL8821AE=m -CONFIG_RTL8XXXU=m -CONFIG_RTL8XXXU_UNTESTED=y -CONFIG_RTL_CARDS=m -# CONFIG_RTLLIB is not set -# CONFIG_RTLWIFI_DEBUG is not set -CONFIG_RTLWIFI=m -# CONFIG_RTS5208 is not set -CONFIG_RTW88_8723CS=m -CONFIG_RTW88_8723DE=m -CONFIG_RTW88_8723DS=m -CONFIG_RTW88_8723DU=m -CONFIG_RTW88_8821CE=m -CONFIG_RTW88_8821CS=m -CONFIG_RTW88_8821CU=m -CONFIG_RTW88_8822BE=m -CONFIG_RTW88_8822BS=m -CONFIG_RTW88_8822BU=m -CONFIG_RTW88_8822CE=m -CONFIG_RTW88_8822CS=m -CONFIG_RTW88_8822CU=m -# CONFIG_RTW88_DEBUGFS is not set -# CONFIG_RTW88_DEBUG is not set -CONFIG_RTW88=m -CONFIG_RTW89_8851BE=m -CONFIG_RTW89_8852AE=m -CONFIG_RTW89_8852BE=m -CONFIG_RTW89_8852BTE=m -CONFIG_RTW89_8852CE=m -CONFIG_RTW89_8922AE=m -# CONFIG_RTW89_DEBUGFS is not set -# CONFIG_RTW89_DEBUGMSG is not set -CONFIG_RTW89=m -# CONFIG_RUNTIME_KERNEL_TESTING_MENU is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_RUST_BUILD_ASSERT_ALLOW is not set -# CONFIG_RUST_DEBUG_ASSERTIONS is not set -# CONFIG_RUST_EXTRA_LOCKDEP is not set -CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y -# CONFIG_RUST is not set -CONFIG_RUST_OVERFLOW_CHECKS=y -CONFIG_RUST_PHYLIB_ABSTRACTIONS=y -CONFIG_RV_MON_WWNR=y -CONFIG_RV_REACTORS=y -CONFIG_RV_REACT_PANIC=y -CONFIG_RV_REACT_PRINTK=y -CONFIG_RV=y -CONFIG_RXKAD=y -# CONFIG_RXPERF is not set -CONFIG_S2IO=m -# CONFIG_S390_KPROBES_SANITY_TEST is not set -# CONFIG_S390_MODULES_SANITY_TEST is not set -# CONFIG_SAMPLE_FPROBE is not set -# CONFIG_SAMPLES is not set -CONFIG_SATA_ACARD_AHCI=m -CONFIG_SATA_AHCI_PLATFORM=m -CONFIG_SATA_AHCI=y -# CONFIG_SATA_DWC is not set -# CONFIG_SATA_HIGHBANK is not set -CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 -CONFIG_SATA_MV=m -CONFIG_SATA_NV=m -CONFIG_SATA_PMP=y -CONFIG_SATA_PROMISE=m -CONFIG_SATA_QSTOR=m -CONFIG_SATA_SIL24=m -CONFIG_SATA_SIL=m -CONFIG_SATA_SIS=m -CONFIG_SATA_SVW=m -CONFIG_SATA_SX4=m -CONFIG_SATA_ULI=m -CONFIG_SATA_VIA=m -CONFIG_SATA_VITESSE=m -# CONFIG_SATA_ZPODD is not set -# CONFIG_SBC7240_WDT is not set -# CONFIG_SBC8360_WDT is not set -# CONFIG_SBC_EPX_C3_WATCHDOG is not set -CONFIG_SBP_TARGET=m -# CONFIG_SC1200_WDT is not set -CONFIG_SC92031=m -# CONFIG_SCA3000 is not set -CONFIG_SCA3300=m -CONFIG_SCD30_CORE=m -CONFIG_SCD30_I2C=m -CONFIG_SCD30_SERIAL=m -# CONFIG_SCD4X is not set -# CONFIG_SCF_TORTURE_TEST is not set -# CONFIG_SCHED_AUTOGROUP is not set -CONFIG_SCHED_CLASS_EXT=y -CONFIG_SCHED_CLUSTER=y -CONFIG_SCHED_CORE=y -CONFIG_SCHED_DEBUG=y -# CONFIG_SCHED_MC_PRIO is not set -CONFIG_SCHED_MC=y -CONFIG_SCHED_OMIT_FRAME_POINTER=y -CONFIG_SCHED_STACK_END_CHECK=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_THERMAL_PRESSURE=y -CONFIG_SCHED_TOPOLOGY_VERTICAL=y -CONFIG_SCHED_TRACER=y -CONFIG_SC_LPASS_CORECC_7180=m -# CONFIG_SCR24X is not set -CONFIG_SCSI_3W_9XXX=m -CONFIG_SCSI_3W_SAS=m -CONFIG_SCSI_AACRAID=m -CONFIG_SCSI_ACARD=m -# CONFIG_SCSI_ADVANSYS is not set -CONFIG_SCSI_AIC79XX=m -CONFIG_SCSI_AIC7XXX=m -# CONFIG_SCSI_AIC94XX is not set -CONFIG_SCSI_AM53C974=m -CONFIG_SCSI_ARCMSR=m -CONFIG_SCSI_BFA_FC=m -CONFIG_SCSI_BNX2_ISCSI=m -CONFIG_SCSI_BNX2X_FCOE=m -CONFIG_SCSI_BUSLOGIC=m -CONFIG_SCSI_CHELSIO_FCOE=m -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_CXGB3_ISCSI=m -CONFIG_SCSI_CXGB4_ISCSI=m -CONFIG_SCSI_DC395x=m -CONFIG_SCSI_DEBUG=m -CONFIG_SCSI_DH_ALUA=m -CONFIG_SCSI_DH_EMC=m -CONFIG_SCSI_DH_HP_SW=m -CONFIG_SCSI_DH_RDAC=m -CONFIG_SCSI_DH=y -CONFIG_SCSI_DMX3191D=m -# CONFIG_SCSI_DPT_I2O is not set -CONFIG_SCSI_EFCT=m -CONFIG_SCSI_ENCLOSURE=m -CONFIG_SCSI_ESAS2R=m -CONFIG_SCSI_FC_ATTRS=m -CONFIG_SCSI_FDOMAIN_PCI=m -CONFIG_SCSI_FLASHPOINT=y -# CONFIG_SCSI_HISI_SAS_DEBUGFS_DEFAULT_ENABLE is not set -# CONFIG_SCSI_HISI_SAS is not set -CONFIG_SCSI_HPSA=m -CONFIG_SCSI_HPTIOP=m -# CONFIG_SCSI_IMM is not set -CONFIG_SCSI_INIA100=m -CONFIG_SCSI_INITIO=m -CONFIG_SCSI_IPR_DUMP=y -CONFIG_SCSI_IPR=m -CONFIG_SCSI_IPR_TRACE=y -CONFIG_SCSI_IPS=m -CONFIG_SCSI_ISCSI_ATTRS=m -CONFIG_SCSI_LIB_KUNIT_TEST=m -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_LOWLEVEL=y -# CONFIG_SCSI_LPFC_DEBUG_FS is not set -CONFIG_SCSI_LPFC=m -CONFIG_SCSI_MPI3MR=m -CONFIG_SCSI_MPT2SAS=m -CONFIG_SCSI_MPT2SAS_MAX_SGE=128 -CONFIG_SCSI_MPT3SAS=m -CONFIG_SCSI_MPT3SAS_MAX_SGE=128 -# CONFIG_SCSI_MVSAS_DEBUG is not set -CONFIG_SCSI_MVSAS=m -CONFIG_SCSI_MVSAS_TASKLET=y -CONFIG_SCSI_MVUMI=m -CONFIG_SCSI_MYRB=m -CONFIG_SCSI_MYRS=m -# CONFIG_SCSI_NSP32 is not set -CONFIG_SCSI_PM8001=m -CONFIG_SCSI_PMCRAID=m -# CONFIG_SCSI_PPA is not set -CONFIG_SCSI_PROC_FS=y -CONFIG_SCSI_PROTO_TEST=m -CONFIG_SCSI_QLA_FC=m -CONFIG_SCSI_QLA_ISCSI=m -CONFIG_SCSI_QLOGIC_1280=m -CONFIG_SCSI_SAS_ATA=y -CONFIG_SCSI_SAS_ATTRS=m -CONFIG_SCSI_SAS_HOST_SMP=y -CONFIG_SCSI_SAS_LIBSAS=m -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_SCSI_SMARTPQI=m -# CONFIG_SCSI_SNIC_DEBUG_FS is not set -CONFIG_SCSI_SNIC=m -CONFIG_SCSI_SPI_ATTRS=m -CONFIG_SCSI_SRP_ATTRS=m -CONFIG_SCSI_STEX=m -CONFIG_SCSI_SYM53C8XX_2=m -CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 -CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 -CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 -CONFIG_SCSI_SYM53C8XX_MMIO=y -CONFIG_SCSI_UFS_BSG=y -CONFIG_SCSI_UFS_CDNS_PLATFORM=m -# CONFIG_SCSI_UFS_DWC_TC_PCI is not set -# CONFIG_SCSI_UFS_DWC_TC_PLATFORM is not set -# CONFIG_SCSI_UFS_FAULT_INJECTION is not set -# CONFIG_SCSI_UFSHCD is not set -CONFIG_SCSI_UFS_HPB=y -CONFIG_SCSI_UFS_HWMON=y -CONFIG_SCSI_VIRTIO=m -CONFIG_SCSI_WD719X=m -CONFIG_SCSI=y -CONFIG_SCTP_COOKIE_HMAC_MD5=y -CONFIG_SCTP_COOKIE_HMAC_SHA1=y -# CONFIG_SCTP_DBG_OBJCNT is not set -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set -CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y -# CONFIG_SD_ADC_MODULATOR is not set -CONFIG_SDIO_UART=m -# CONFIG_SDP500 is not set -# CONFIG_SDX_GCC_55 is not set -# CONFIG_SECCOMP_CACHE_DEBUG is not set -CONFIG_SECCOMP=y -# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set -CONFIG_SECONDARY_TRUSTED_KEYRING=y -CONFIG_SECRETMEM=y -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -# CONFIG_SECURITY_APPARMOR is not set -CONFIG_SECURITY_DMESG_RESTRICT=y -CONFIG_SECURITYFS=y -CONFIG_SECURITY_INFINIBAND=y -CONFIG_SECURITY_IPE=y -CONFIG_SECURITY_LANDLOCK=y -# CONFIG_SECURITY_LOADPIN is not set -CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y -CONFIG_SECURITY_LOCKDOWN_LSM=y -CONFIG_SECURITY_NETWORK_XFRM=y -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_PATH=y -# CONFIG_SECURITY_SAFESETID is not set -CONFIG_SECURITY_SELINUX_AVC_STATS=y -CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0 -# CONFIG_SECURITY_SELINUX_DEBUG is not set -CONFIG_SECURITY_SELINUX_DEVELOP=y -# CONFIG_SECURITY_SELINUX_DISABLE is not set -CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256 -CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9 -CONFIG_SECURITY_SELINUX=y -# CONFIG_SECURITY_SMACK is not set -CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/usr/lib/systemd/systemd" -# CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING is not set -CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048 -CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024 -# CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set -CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/tomoyo-init" -CONFIG_SECURITY_TOMOYO=y -CONFIG_SECURITY=y -CONFIG_SECURITY_YAMA=y -# CONFIG_SEG_LED_GPIO is not set -# CONFIG_SENSEAIR_SUNRISE_CO2 is not set -# CONFIG_SENSIRION_SGP30 is not set -# CONFIG_SENSIRION_SGP40 is not set -# CONFIG_SENSORS_ACBEL_FSG032 is not set -CONFIG_SENSORS_ACPI_POWER=m -CONFIG_SENSORS_AD7314=m -CONFIG_SENSORS_AD7414=m -CONFIG_SENSORS_AD7418=m -CONFIG_SENSORS_ADC128D818=m -CONFIG_SENSORS_ADCXX=m -CONFIG_SENSORS_ADM1021=m -CONFIG_SENSORS_ADM1025=m -CONFIG_SENSORS_ADM1026=m -CONFIG_SENSORS_ADM1029=m -CONFIG_SENSORS_ADM1031=m -# CONFIG_SENSORS_ADM1177 is not set -CONFIG_SENSORS_ADM1266=m -CONFIG_SENSORS_ADM1275=m -CONFIG_SENSORS_ADM9240=m -CONFIG_SENSORS_ADP1050=m -CONFIG_SENSORS_ADS7828=m -CONFIG_SENSORS_ADS7871=m -CONFIG_SENSORS_ADT7310=m -CONFIG_SENSORS_ADT7410=m -CONFIG_SENSORS_ADT7411=m -CONFIG_SENSORS_ADT7462=m -CONFIG_SENSORS_ADT7470=m -CONFIG_SENSORS_ADT7475=m -# CONFIG_SENSORS_AHT10 is not set -CONFIG_SENSORS_AMC6821=m -CONFIG_SENSORS_APDS990X=m -CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=m -# CONFIG_SENSORS_AS370 is not set -CONFIG_SENSORS_ASC7621=m -CONFIG_SENSORS_ASUS_ROG_RYUJIN=m -# CONFIG_SENSORS_ASUS_WMI_EC is not set -# CONFIG_SENSORS_ASUS_WMI is not set -CONFIG_SENSORS_ATXP1=m -CONFIG_SENSORS_AXI_FAN_CONTROL=m -CONFIG_SENSORS_BEL_PFE=m -CONFIG_SENSORS_BH1770=m -CONFIG_SENSORS_BPA_RS600=m -CONFIG_SENSORS_CHIPCAP2=m -CONFIG_SENSORS_CORSAIR_CPRO=m -CONFIG_SENSORS_CORSAIR_PSU=m -CONFIG_SENSORS_CROS_EC=m -CONFIG_SENSORS_DELTA_AHE50DC_FAN=m -CONFIG_SENSORS_DME1737=m -CONFIG_SENSORS_DPS920AB=m -CONFIG_SENSORS_DRIVETEMP=m -CONFIG_SENSORS_DS1621=m -CONFIG_SENSORS_DS620=m -CONFIG_SENSORS_EMC1403=m -# CONFIG_SENSORS_EMC2103 is not set -CONFIG_SENSORS_EMC2305=m -CONFIG_SENSORS_EMC6W201=m -CONFIG_SENSORS_F71805F=m -CONFIG_SENSORS_F71882FG=m -CONFIG_SENSORS_F75375S=m -CONFIG_SENSORS_FSP_3Y=m -CONFIG_SENSORS_FTSTEUTATES=m -CONFIG_SENSORS_G760A=m -CONFIG_SENSORS_G762=m -CONFIG_SENSORS_GIGABYTE_WATERFORCE=m -CONFIG_SENSORS_GL518SM=m -CONFIG_SENSORS_GL520SM=m -# CONFIG_SENSORS_GPIO_FAN is not set -# CONFIG_SENSORS_HIH6130 is not set -# CONFIG_SENSORS_HMC5843_I2C is not set -# CONFIG_SENSORS_HMC5843_SPI is not set -CONFIG_SENSORS_HP_WMI=m -CONFIG_SENSORS_HS3001=m -# CONFIG_SENSORS_I5K_AMB is not set -CONFIG_SENSORS_IBMAEM=m -# CONFIG_SENSORS_IBM_CFFPS is not set -CONFIG_SENSORS_IBMPEX=m -# CONFIG_SENSORS_IIO_HWMON is not set -CONFIG_SENSORS_INA209=m -CONFIG_SENSORS_INA238=m -CONFIG_SENSORS_INA2XX=m -CONFIG_SENSORS_INA3221=m -# CONFIG_SENSORS_INSPUR_IPSPS is not set -CONFIG_SENSORS_INTEL_M10_BMC_HWMON=m -# CONFIG_SENSORS_IR35221 is not set -# CONFIG_SENSORS_IR36021 is not set -# CONFIG_SENSORS_IR38064 is not set -# CONFIG_SENSORS_IRPS5401 is not set -# CONFIG_SENSORS_ISL29018 is not set -# CONFIG_SENSORS_ISL29028 is not set -# CONFIG_SENSORS_ISL68137 is not set -CONFIG_SENSORS_IT87=m -CONFIG_SENSORS_JC42=m -CONFIG_SENSORS_LINEAGE=m -CONFIG_SENSORS_LIS3_I2C=m -CONFIG_SENSORS_LIS3LV02D=m -# CONFIG_SENSORS_LIS3_SPI is not set -CONFIG_SENSORS_LM25066=m -CONFIG_SENSORS_LM25066_REGULATOR=y -CONFIG_SENSORS_LM63=m -CONFIG_SENSORS_LM70=m -CONFIG_SENSORS_LM73=m -CONFIG_SENSORS_LM75=m -CONFIG_SENSORS_LM77=m -CONFIG_SENSORS_LM78=m -CONFIG_SENSORS_LM80=m -CONFIG_SENSORS_LM83=m -CONFIG_SENSORS_LM85=m -CONFIG_SENSORS_LM87=m -CONFIG_SENSORS_LM90=m -CONFIG_SENSORS_LM92=m -CONFIG_SENSORS_LM93=m -CONFIG_SENSORS_LM95234=m -CONFIG_SENSORS_LM95241=m -CONFIG_SENSORS_LM95245=m -CONFIG_SENSORS_LT7182S=m -CONFIG_SENSORS_LTC2945=m -CONFIG_SENSORS_LTC2947_I2C=m -CONFIG_SENSORS_LTC2947_SPI=m -CONFIG_SENSORS_LTC2978=m -# CONFIG_SENSORS_LTC2978_REGULATOR is not set -CONFIG_SENSORS_LTC2990=m -CONFIG_SENSORS_LTC2991=m -# CONFIG_SENSORS_LTC2992 is not set -CONFIG_SENSORS_LTC3815=m -CONFIG_SENSORS_LTC4151=m -CONFIG_SENSORS_LTC4215=m -CONFIG_SENSORS_LTC4222=m -CONFIG_SENSORS_LTC4245=m -CONFIG_SENSORS_LTC4260=m -CONFIG_SENSORS_LTC4261=m -# CONFIG_SENSORS_LTC4282 is not set -# CONFIG_SENSORS_LTC4286 is not set -CONFIG_SENSORS_MAX1111=m -# CONFIG_SENSORS_MAX127 is not set -# CONFIG_SENSORS_MAX15301 is not set -CONFIG_SENSORS_MAX16064=m -CONFIG_SENSORS_MAX16065=m -CONFIG_SENSORS_MAX1619=m -# CONFIG_SENSORS_MAX16601 is not set -CONFIG_SENSORS_MAX1668=m -CONFIG_SENSORS_MAX197=m -# CONFIG_SENSORS_MAX20730 is not set -CONFIG_SENSORS_MAX20751=m -CONFIG_SENSORS_MAX31722=m -# CONFIG_SENSORS_MAX31730 is not set -CONFIG_SENSORS_MAX31760=m -# CONFIG_SENSORS_MAX31785 is not set -CONFIG_SENSORS_MAX31790=m -CONFIG_SENSORS_MAX34440=m -CONFIG_SENSORS_MAX6620=m -# CONFIG_SENSORS_MAX6621 is not set -CONFIG_SENSORS_MAX6639=m -CONFIG_SENSORS_MAX6642=m -CONFIG_SENSORS_MAX6650=m -CONFIG_SENSORS_MAX6697=m -CONFIG_SENSORS_MAX8688=m -CONFIG_SENSORS_MC34VR500=m -CONFIG_SENSORS_MCP3021=m -CONFIG_SENSORS_MLXREG_FAN=m -# CONFIG_SENSORS_MP2856 is not set -CONFIG_SENSORS_MP2888=m -CONFIG_SENSORS_MP2891=m -CONFIG_SENSORS_MP2975=m -CONFIG_SENSORS_MP2975_REGULATOR=y -CONFIG_SENSORS_MP2993=m -CONFIG_SENSORS_MP5023=m -CONFIG_SENSORS_MP5920=m -# CONFIG_SENSORS_MP5990 is not set -CONFIG_SENSORS_MP9941=m -CONFIG_SENSORS_MPQ7932=m -CONFIG_SENSORS_MPQ7932_REGULATOR=y -CONFIG_SENSORS_MPQ8785=m -CONFIG_SENSORS_MR75203=m -CONFIG_SENSORS_NCT6683=m -CONFIG_SENSORS_NCT6775_I2C=m -CONFIG_SENSORS_NCT6775=m -CONFIG_SENSORS_NCT7802=m -CONFIG_SENSORS_NCT7904=m -CONFIG_SENSORS_NPCM7XX=m -CONFIG_SENSORS_NTC_THERMISTOR=m -CONFIG_SENSORS_NZXT_KRAKEN2=m -CONFIG_SENSORS_NZXT_KRAKEN3=m -CONFIG_SENSORS_NZXT_SMART2=m -# CONFIG_SENSORS_OCC_P8_I2C is not set -CONFIG_SENSORS_PC87360=m -CONFIG_SENSORS_PC87427=m -CONFIG_SENSORS_PCF8591=m -CONFIG_SENSORS_PIM4328=m -CONFIG_SENSORS_PLI1209BC=m -CONFIG_SENSORS_PLI1209BC_REGULATOR=y -CONFIG_SENSORS_PM6764TR=m -CONFIG_SENSORS_PMBUS=m -CONFIG_SENSORS_POWERZ=m -CONFIG_SENSORS_POWR1220=m -CONFIG_SENSORS_PT5161L=m -CONFIG_SENSORS_PWM_FAN=m -# CONFIG_SENSORS_PXE1610 is not set -CONFIG_SENSORS_Q54SJ108A2=m -CONFIG_SENSORS_RM3100_I2C=m -CONFIG_SENSORS_RM3100_SPI=m -# CONFIG_SENSORS_SBRMI is not set -CONFIG_SENSORS_SBTSI=m -CONFIG_SENSORS_SCH5627=m -CONFIG_SENSORS_SCH5636=m -CONFIG_SENSORS_SFCTEMP=y -CONFIG_SENSORS_SG2042_MCU=m -CONFIG_SENSORS_SHT15=m -CONFIG_SENSORS_SHT21=m -CONFIG_SENSORS_SHT3x=m -# CONFIG_SENSORS_SHT4x is not set -CONFIG_SENSORS_SHTC1=m -CONFIG_SENSORS_SIS5595=m -# CONFIG_SENSORS_SMM665 is not set -CONFIG_SENSORS_SMSC47B397=m -CONFIG_SENSORS_SMSC47M192=m -CONFIG_SENSORS_SMSC47M1=m -CONFIG_SENSORS_SPD5118_DETECT=y -CONFIG_SENSORS_SPD5118=m -# CONFIG_SENSORS_STPDDC60 is not set -# CONFIG_SENSORS_STTS751 is not set -CONFIG_SENSORS_SURFACE_FAN=m -CONFIG_SENSORS_SURFACE_TEMP=m -CONFIG_SENSORS_SY7636A=m -CONFIG_SENSORS_TC654=m -CONFIG_SENSORS_TC74=m -CONFIG_SENSORS_TDA38640=m -CONFIG_SENSORS_TDA38640_REGULATOR=y -CONFIG_SENSORS_THMC50=m -CONFIG_SENSORS_TMP102=m -CONFIG_SENSORS_TMP103=m -CONFIG_SENSORS_TMP108=m -CONFIG_SENSORS_TMP401=m -CONFIG_SENSORS_TMP421=m -CONFIG_SENSORS_TMP464=m -CONFIG_SENSORS_TMP513=m -# CONFIG_SENSORS_TPS23861 is not set -CONFIG_SENSORS_TPS40422=m -CONFIG_SENSORS_TPS53679=m -CONFIG_SENSORS_TPS546D24=m -CONFIG_SENSORS_TSL2550=m -# CONFIG_SENSORS_TSL2563 is not set -CONFIG_SENSORS_UCD9000=m -CONFIG_SENSORS_UCD9200=m -CONFIG_SENSORS_VIA686A=m -CONFIG_SENSORS_VT1211=m -CONFIG_SENSORS_VT8231=m -CONFIG_SENSORS_W83627EHF=m -CONFIG_SENSORS_W83627HF=m -CONFIG_SENSORS_W83773G=m -CONFIG_SENSORS_W83781D=m -CONFIG_SENSORS_W83791D=m -CONFIG_SENSORS_W83792D=m -CONFIG_SENSORS_W83793=m -# CONFIG_SENSORS_W83795_FANCTRL is not set -CONFIG_SENSORS_W83795=m -CONFIG_SENSORS_W83L785TS=m -CONFIG_SENSORS_W83L786NG=m -CONFIG_SENSORS_XDP710=m -# CONFIG_SENSORS_XDPE122 is not set -CONFIG_SENSORS_XDPE152=m -# CONFIG_SENSORS_XGENE is not set -CONFIG_SENSORS_ZL6100=m -# CONFIG_SERIAL_8250_16550A_VARIANTS is not set -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_CS=m -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -# CONFIG_SERIAL_8250_DETECT_IRQ is not set -CONFIG_SERIAL_8250_DFL=m -CONFIG_SERIAL_8250_DMA=y -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_8250_EXAR=m -CONFIG_SERIAL_8250_EXTENDED=y -# CONFIG_SERIAL_8250_FINTEK is not set -CONFIG_SERIAL_8250_MANY_PORTS=y -# CONFIG_SERIAL_8250_MID is not set -CONFIG_SERIAL_8250_NR_UARTS=32 -CONFIG_SERIAL_8250_PCI1XXXX=y -CONFIG_SERIAL_8250_PCI=y -CONFIG_SERIAL_8250_PERICOM=y -CONFIG_SERIAL_8250_PNP=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_8250_RT288X=y -CONFIG_SERIAL_8250_RUNTIME_UARTS=32 -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_ALTERA_JTAGUART is not set -# CONFIG_SERIAL_ALTERA_UART is not set -# CONFIG_SERIAL_AMBA_PL010 is not set -# CONFIG_SERIAL_AMBA_PL011 is not set -CONFIG_SERIAL_ARC=m -CONFIG_SERIAL_ARC_NR_PORTS=1 -# CONFIG_SERIAL_BCM63XX is not set -# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set -CONFIG_SERIAL_CORE_CONSOLE=y -CONFIG_SERIAL_CORE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_SERIAL_DEV_CTRL_TTYPORT=y -# CONFIG_SERIAL_EARLYCON_RISCV_SBI is not set -# CONFIG_SERIAL_EARLYCON_SEMIHOST is not set -# CONFIG_SERIAL_FSL_LINFLEXUART is not set -# CONFIG_SERIAL_FSL_LPUART is not set -# CONFIG_SERIAL_IMX_EARLYCON is not set -CONFIG_SERIAL_JSM=m -# CONFIG_SERIAL_KGDB_NMI is not set -# CONFIG_SERIAL_LANTIQ is not set -CONFIG_SERIAL_LITEUART_CONSOLE=y -CONFIG_SERIAL_LITEUART_MAX_PORTS=1 -CONFIG_SERIAL_LITEUART=y -# CONFIG_SERIAL_MAX3100 is not set -# CONFIG_SERIAL_MAX310X is not set -CONFIG_SERIAL_NONSTANDARD=y -CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SERIAL_PCH_UART is not set -# CONFIG_SERIAL_RP2 is not set -CONFIG_SERIAL_SC16IS7XX_I2C=m -CONFIG_SERIAL_SC16IS7XX=m -CONFIG_SERIAL_SC16IS7XX_SPI=m -# CONFIG_SERIAL_SCCNXP is not set -CONFIG_SERIAL_SH_SCI=y -CONFIG_SERIAL_SIFIVE_CONSOLE=y -CONFIG_SERIAL_SIFIVE=y -# CONFIG_SERIAL_SPRD is not set -# CONFIG_SERIAL_ST_ASC is not set -# CONFIG_SERIAL_TIMBERDALE is not set -# CONFIG_SERIAL_UARTLITE is not set -# CONFIG_SERIAL_XILINX_PS_UART is not set -CONFIG_SERIO_ALTERA_PS2=m -# CONFIG_SERIO_AMBAKMI is not set -# CONFIG_SERIO_APBPS2 is not set -CONFIG_SERIO_ARC_PS2=m -# CONFIG_SERIO_CT82C710 is not set -# CONFIG_SERIO_GPIO_PS2 is not set -# CONFIG_SERIO_I8042 is not set -# CONFIG_SERIO_LIBPS2 is not set -# CONFIG_SERIO_OLPC_APSP is not set -# CONFIG_SERIO_PARKBD is not set -# CONFIG_SERIO_PCIPS2 is not set -# CONFIG_SERIO_PS2MULT is not set -CONFIG_SERIO_RAW=m -CONFIG_SERIO_SERPORT=m -CONFIG_SERIO=y -CONFIG_SFC_FALCON=m -CONFIG_SFC_FALCON_MTD=y -# CONFIG_SFC is not set -CONFIG_SF_PDMA=y -CONFIG_SFP=m -# CONFIG_SGETMASK_SYSCALL is not set -CONFIG_SGI_PARTITION=y -# CONFIG_SHADOW_CALL_STACK is not set -CONFIG_SHMEM=y -# CONFIG_SHRINKER_DEBUG is not set -CONFIG_SHUFFLE_PAGE_ALLOCATOR=y -# CONFIG_SI1133 is not set -# CONFIG_SI1145 is not set -# CONFIG_SI7005 is not set -# CONFIG_SI7020 is not set -# CONFIG_SIEMENS_SIMATIC_IPC is not set -CONFIG_SIFIVE_CCACHE=y -CONFIG_SIFIVE_PLIC=y -CONFIG_SIGNALFD=y -CONFIG_SIGNED_PE_FILE_VERIFICATION=y -# CONFIG_SIOX is not set -CONFIG_SIPHASH_KUNIT_TEST=m -CONFIG_SIS190=m -CONFIG_SIS900=m -# CONFIG_SKGE_DEBUG is not set -CONFIG_SKGE_GENESIS=y -CONFIG_SKGE=m -# CONFIG_SKY2_DEBUG is not set -CONFIG_SKY2=m -CONFIG_SLAB_BUCKETS=y -CONFIG_SLAB_FREELIST_HARDENED=y -# CONFIG_SLAB_FREELIST_RANDOM is not set -# CONFIG_SLAB_MERGE_DEFAULT is not set -# CONFIG_SLIMBUS is not set -CONFIG_SLIP_COMPRESSED=y -CONFIG_SLIP=m -# CONFIG_SLIP_MODE_SLIP6 is not set -CONFIG_SLIP_SMART=y -# CONFIG_SLUB_CPU_PARTIAL is not set -# CONFIG_SLUB_DEBUG_ON is not set -CONFIG_SLUB_DEBUG=y -CONFIG_SLUB_KUNIT_TEST=m -# CONFIG_SLUB_MEMCG_SYSFS_ON is not set -# CONFIG_SLUB_RCU_DEBUG is not set -# CONFIG_SLUB_STATS is not set -# CONFIG_SLUB_TINY is not set -CONFIG_SLUB=y -CONFIG_SMARTJOYPLUS_FF=y -# CONFIG_SMB_SERVER is not set -CONFIG_SMC_DIAG=m -# CONFIG_SMC_LO is not set -CONFIG_SMC=m -# CONFIG_SM_FTL is not set -CONFIG_SMP=y -CONFIG_SMSC911X=m -CONFIG_SMSC9420=m -CONFIG_SMSC_PHY=m -CONFIG_SMSC_SCH311X_WDT=m -CONFIG_SMS_SDIO_DRV=m -# CONFIG_SMS_SIANO_DEBUGFS is not set -CONFIG_SMS_SIANO_MDTV=m -CONFIG_SMS_SIANO_RC=y -CONFIG_SMS_USB_DRV=m -# CONFIG_SM_VIDEOCC_8150 is not set -CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0 -CONFIG_SND_AC97_POWER_SAVE=y -# CONFIG_SND_AD1889 is not set -# CONFIG_SND_ALI5451 is not set -CONFIG_SND_ALOOP=m -CONFIG_SND_ALS300=m -CONFIG_SND_ALS4000=m -# CONFIG_SND_AMD_ACP_CONFIG is not set -# CONFIG_SND_ASIHPI is not set -# CONFIG_SND_ATIIXP is not set -# CONFIG_SND_ATIIXP_MODEM is not set -# CONFIG_SND_ATMEL_SOC is not set -CONFIG_SND_AU8810=m -CONFIG_SND_AU8820=m -CONFIG_SND_AU8830=m -CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE=m -CONFIG_SND_AUDIO_GRAPH_CARD2=m -CONFIG_SND_AUDIO_GRAPH_CARD=m -# CONFIG_SND_AW2 is not set -CONFIG_SND_AZT3328=m -CONFIG_SND_BCD2000=m -# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set -CONFIG_SND_BEBOB=m -CONFIG_SND_BT87X=m -# CONFIG_SND_BT87X_OVERCLOCK is not set -CONFIG_SND_CA0106=m -CONFIG_SND_CMIPCI=m -CONFIG_SND_COMPRESS_OFFLOAD=m -CONFIG_SND_CORE_TEST=m -CONFIG_SND_CS4281=m -CONFIG_SND_CS46XX=m -CONFIG_SND_CS46XX_NEW_DSP=y -CONFIG_SND_CS5530=m -CONFIG_SND_CS5535AUDIO=m -# CONFIG_SND_CTL_DEBUG is not set -CONFIG_SND_CTL_FAST_LOOKUP=y -# CONFIG_SND_CTL_INPUT_VALIDATION is not set -# CONFIG_SND_CTL_VALIDATION is not set -CONFIG_SND_CTXFI=m -CONFIG_SND_DARLA20=m -CONFIG_SND_DARLA24=m -# CONFIG_SND_DEBUG is not set -# CONFIG_SND_DEBUG_VERBOSE is not set -CONFIG_SND_DESIGNWARE_I2S=m -# CONFIG_SND_DESIGNWARE_PCM is not set -CONFIG_SND_DICE=m -CONFIG_SND_DMAENGINE_PCM=m -CONFIG_SND_DRIVERS=y -CONFIG_SND_DUMMY=m -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_SND_ECHO3G=m -CONFIG_SND_EMU10K1=m -CONFIG_SND_EMU10K1X=m -CONFIG_SND_ENS1370=m -CONFIG_SND_ENS1371=m -CONFIG_SND_ES1938=m -CONFIG_SND_ES1968_INPUT=y -CONFIG_SND_ES1968=m -CONFIG_SND_ES1968_RADIO=y -CONFIG_SND_FIREFACE=m -CONFIG_SND_FIREWORKS=m -CONFIG_SND_FM801=m -CONFIG_SND_FM801_TEA575X_BOOL=y -CONFIG_SND_GINA20=m -CONFIG_SND_GINA24=m -CONFIG_SND_HDA_CIRRUS_SCODEC_KUNIT_TEST=m -CONFIG_SND_HDA_CODEC_ANALOG=m -CONFIG_SND_HDA_CODEC_CA0110=m -CONFIG_SND_HDA_CODEC_CA0132_DSP=y -CONFIG_SND_HDA_CODEC_CA0132=m -CONFIG_SND_HDA_CODEC_CIRRUS=m -CONFIG_SND_HDA_CODEC_CMEDIA=m -CONFIG_SND_HDA_CODEC_CONEXANT=m -CONFIG_SND_HDA_CODEC_CS8409=m -CONFIG_SND_HDA_CODEC_HDMI=m -CONFIG_SND_HDA_CODEC_REALTEK=m -CONFIG_SND_HDA_CODEC_SENARYTECH=m -CONFIG_SND_HDA_CODEC_SI3054=m -CONFIG_SND_HDA_CODEC_SIGMATEL=m -CONFIG_SND_HDA_CODEC_VIA=m -# CONFIG_SND_HDA_CTL_DEV_ID is not set -CONFIG_SND_HDA_GENERIC=m -CONFIG_SND_HDA_HWDEP=y -CONFIG_SND_HDA_INPUT_BEEP_MODE=0 -CONFIG_SND_HDA_INPUT_BEEP=y -CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=y -CONFIG_SND_HDA_INTEL=m -CONFIG_SND_HDA_PATCH_LOADER=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 -CONFIG_SND_HDA_PREALLOC_SIZE=2048 -CONFIG_SND_HDA_RECONFIG=y -CONFIG_SND_HDA_SCODEC_CS35L41_I2C=m -CONFIG_SND_HDA_SCODEC_CS35L41_SPI=m -CONFIG_SND_HDA_SCODEC_CS35L56_I2C=m -CONFIG_SND_HDA_SCODEC_CS35L56_SPI=m -CONFIG_SND_HDA_SCODEC_TAS2781_I2C=m -# CONFIG_SND_HDA_TEGRA is not set -CONFIG_SND_HDSP=m -CONFIG_SND_HDSPM=m -CONFIG_SND_HRTIMER=m -# CONFIG_SND_I2S_HI6210_I2S is not set -CONFIG_SND_ICE1712=m -CONFIG_SND_ICE1724=m -# CONFIG_SND_IMX_SOC is not set -CONFIG_SND_INDIGODJ=m -CONFIG_SND_INDIGODJX=m -CONFIG_SND_INDIGOIO=m -CONFIG_SND_INDIGOIOX=m -CONFIG_SND_INDIGO=m -# CONFIG_SND_INTEL8X0 is not set -# CONFIG_SND_INTEL8X0M is not set -# CONFIG_SND_INTEL_BYT_PREFER_SOF is not set -CONFIG_SND_ISIGHT=m -# CONFIG_SND_JACK_INJECTION_DEBUG is not set -CONFIG_SND_JACK=y -# CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB is not set -# CONFIG_SND_KIRKWOOD_SOC is not set -CONFIG_SND_KORG1212=m -CONFIG_SND_LAYLA20=m -CONFIG_SND_LAYLA24=m -CONFIG_SND_LOLA=m -CONFIG_SND_LX6464ES=m -CONFIG_SND=m -CONFIG_SND_MAESTRO3_INPUT=y -CONFIG_SND_MAESTRO3=m -CONFIG_SND_MAX_CARDS=32 -# CONFIG_SND_MESON_AIU is not set -# CONFIG_SND_MESON_G12A_TOACODEC is not set -# CONFIG_SND_MESON_G12A_TOHDMITX is not set -# CONFIG_SND_MESON_GX_SOUND_CARD is not set -CONFIG_SND_MIA=m -CONFIG_SND_MIXART=m -CONFIG_SND_MIXER_OSS=m -# CONFIG_SND_MMP_SOC_SSPA is not set -CONFIG_SND_MONA=m -CONFIG_SND_MPU401=m -CONFIG_SND_MTPAV=m -CONFIG_SND_MTS64=m -CONFIG_SND_NM256=m -CONFIG_SND_OSSEMUL=y -CONFIG_SND_OXFW=m -CONFIG_SND_OXYGEN=m -CONFIG_SND_PCI=y -CONFIG_SND_PCM_OSS=m -CONFIG_SND_PCM_OSS_PLUGINS=y -CONFIG_SND_PCMTEST=m -CONFIG_SND_PCM_TIMER=y -# CONFIG_SND_PCSP is not set -CONFIG_SND_PCXHR=m -CONFIG_SND_PORTMAN2X4=m -# CONFIG_SND_PPC is not set -CONFIG_SND_PROC_FS=y -CONFIG_SND_RIPTIDE=m -CONFIG_SND_RME32=m -CONFIG_SND_RME9652=m -CONFIG_SND_RME96=m -# CONFIG_SND_SAMSUNG_PCM is not set -# CONFIG_SND_SAMSUNG_SPDIF is not set -CONFIG_SND_SEQ_DUMMY=m -CONFIG_SND_SEQ_HRTIMER_DEFAULT=y -CONFIG_SND_SEQUENCER=m -CONFIG_SND_SEQUENCER_OSS=m -CONFIG_SND_SEQ_UMP=y -CONFIG_SND_SERIAL_GENERIC=m -CONFIG_SND_SERIAL_U16550=m -CONFIG_SND_SIMPLE_CARD=m -CONFIG_SND_SIMPLE_CARD_UTILS=m -# CONFIG_SND_SIS7019 is not set -CONFIG_SND_SOC_AC97_BUS=y -CONFIG_SND_SOC_AC97_CODEC=m -# CONFIG_SND_SOC_ADAU1372_I2C is not set -# CONFIG_SND_SOC_ADAU1372_SPI is not set -# CONFIG_SND_SOC_ADAU1701 is not set -CONFIG_SND_SOC_ADAU1761_I2C=m -CONFIG_SND_SOC_ADAU1761_SPI=m -CONFIG_SND_SOC_ADAU7002=m -CONFIG_SND_SOC_ADAU7118_HW=m -CONFIG_SND_SOC_ADAU7118_I2C=m -CONFIG_SND_SOC_ADI_AXI_I2S=m -CONFIG_SND_SOC_ADI_AXI_SPDIF=m -CONFIG_SND_SOC_ADI=m -# CONFIG_SND_SOC_AK4104 is not set -# CONFIG_SND_SOC_AK4118 is not set -# CONFIG_SND_SOC_AK4375 is not set -# CONFIG_SND_SOC_AK4458 is not set -# CONFIG_SND_SOC_AK4554 is not set -# CONFIG_SND_SOC_AK4613 is not set -CONFIG_SND_SOC_AK4619=m -# CONFIG_SND_SOC_AK4642 is not set -# CONFIG_SND_SOC_AK5386 is not set -CONFIG_SND_SOC_AK5558=m -# CONFIG_SND_SOC_ALC5623 is not set -# CONFIG_SND_SOC_AMD_ACP3x is not set -# CONFIG_SND_SOC_AMD_ACP5x is not set -# CONFIG_SND_SOC_AMD_ACP6x is not set -# CONFIG_SND_SOC_AMD_ACP_COMMON is not set -# CONFIG_SND_SOC_AMD_ACP is not set -# CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH is not set -# CONFIG_SND_SOC_AMD_CZ_RT5645_MACH is not set -# CONFIG_SND_SOC_AMD_PS is not set -# CONFIG_SND_SOC_AMD_PS_MACH is not set -# CONFIG_SND_SOC_AMD_RENOIR is not set -# CONFIG_SND_SOC_AMD_RENOIR_MACH is not set -# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set -# CONFIG_SND_SOC_AMD_RV_RT5682_MACH is not set -# CONFIG_SND_SOC_AMD_VANGOGH_MACH is not set -# CONFIG_SND_SOC_AMD_YC_MACH is not set -# CONFIG_SND_SOC_APQ8016_SBC is not set -# CONFIG_SND_SOC_ARNDALE is not set -CONFIG_SND_SOC_AUDIO_IIO_AUX=m -CONFIG_SND_SOC_AW8738=m -CONFIG_SND_SOC_AW87390=m -CONFIG_SND_SOC_AW88261=m -CONFIG_SND_SOC_AW88395=m -CONFIG_SND_SOC_AW88399=m -CONFIG_SND_SOC_BD28623=m -CONFIG_SND_SOC_BT_SCO=m -CONFIG_SND_SOC_CARD_KUNIT_TEST=m -CONFIG_SND_SOC_CHV3_CODEC=m -CONFIG_SND_SOC_CHV3_I2S=m -# CONFIG_SND_SOC_CROS_EC_CODEC is not set -# CONFIG_SND_SOC_CS35L32 is not set -# CONFIG_SND_SOC_CS35L33 is not set -CONFIG_SND_SOC_CS35L34=m -CONFIG_SND_SOC_CS35L35=m -CONFIG_SND_SOC_CS35L36=m -# CONFIG_SND_SOC_CS35L41_I2C is not set -# CONFIG_SND_SOC_CS35L41_SPI is not set -CONFIG_SND_SOC_CS35L45_I2C=m -CONFIG_SND_SOC_CS35L45_SPI=m -CONFIG_SND_SOC_CS35L56_I2C=m -CONFIG_SND_SOC_CS35L56_SPI=m -CONFIG_SND_SOC_CS40L50=m -CONFIG_SND_SOC_CS4234=m -# CONFIG_SND_SOC_CS4265 is not set -# CONFIG_SND_SOC_CS4270 is not set -# CONFIG_SND_SOC_CS4271_I2C is not set -# CONFIG_SND_SOC_CS4271_SPI is not set -CONFIG_SND_SOC_CS42L42=m -CONFIG_SND_SOC_CS42L42_SDW=m -CONFIG_SND_SOC_CS42L43=m -CONFIG_SND_SOC_CS42L43_SDW=m -# CONFIG_SND_SOC_CS42L51_I2C is not set -# CONFIG_SND_SOC_CS42L52 is not set -# CONFIG_SND_SOC_CS42L56 is not set -# CONFIG_SND_SOC_CS42L73 is not set -CONFIG_SND_SOC_CS42L83=m -# CONFIG_SND_SOC_CS42XX8_I2C is not set -CONFIG_SND_SOC_CS43130=m -# CONFIG_SND_SOC_CS4341 is not set -# CONFIG_SND_SOC_CS4349 is not set -CONFIG_SND_SOC_CS530X_I2C=m -# CONFIG_SND_SOC_CS53L30 is not set -CONFIG_SND_SOC_CS_AMP_LIB_TEST=m -CONFIG_SND_SOC_CX2072X=m -CONFIG_SND_SOC_DA7213=m -# CONFIG_SND_SOC_DAVINCI_MCASP is not set -CONFIG_SND_SOC_DMIC=m -CONFIG_SND_SOC_ES7134=m -# CONFIG_SND_SOC_ES7241 is not set -CONFIG_SND_SOC_ES8311=m -# CONFIG_SND_SOC_ES8316 is not set -CONFIG_SND_SOC_ES8326=m -CONFIG_SND_SOC_ES8328_I2C=m -CONFIG_SND_SOC_ES8328=m -CONFIG_SND_SOC_ES8328_SPI=m -# CONFIG_SND_SOC_FSL_ASOC_CARD is not set -# CONFIG_SND_SOC_FSL_ASRC is not set -# CONFIG_SND_SOC_FSL_AUD2HTX is not set -# CONFIG_SND_SOC_FSL_AUDMIX is not set -# CONFIG_SND_SOC_FSL_EASRC is not set -# CONFIG_SND_SOC_FSL_ESAI is not set -# CONFIG_SND_SOC_FSL_MICFIL is not set -# CONFIG_SND_SOC_FSL_MQS is not set -# CONFIG_SND_SOC_FSL_RPMSG is not set -# CONFIG_SND_SOC_FSL_SAI is not set -# CONFIG_SND_SOC_FSL_SPDIF is not set -# CONFIG_SND_SOC_FSL_SSI is not set -# CONFIG_SND_SOC_FSL_XCVR is not set -CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y -# CONFIG_SND_SOC_GTM601 is not set -CONFIG_SND_SOC_HDAC_HDA=m -CONFIG_SND_SOC_HDAC_HDMI=m -CONFIG_SND_SOC_HDA=m -CONFIG_SND_SOC_HDMI_CODEC=m -# CONFIG_SND_SOC_ICS43432 is not set -CONFIG_SND_SOC_IDT821034=m -# CONFIG_SND_SOC_IMG is not set -# CONFIG_SND_SOC_IMX_AUDIO_RPMSG is not set -# CONFIG_SND_SOC_IMX_AUDMIX is not set -# CONFIG_SND_SOC_IMX_AUDMUX is not set -# CONFIG_SND_SOC_IMX_CARD is not set -# CONFIG_SND_SOC_IMX_ES8328 is not set -# CONFIG_SND_SOC_IMX_HDMI is not set -# CONFIG_SND_SOC_IMX_PCM_RPMSG is not set -# CONFIG_SND_SOC_IMX_RPMSG is not set -# CONFIG_SND_SOC_IMX_SGTL5000 is not set -# CONFIG_SND_SOC_IMX_SPDIF is not set -# CONFIG_SND_SOC_INNO_RK3036 is not set -# CONFIG_SND_SOC_INTEL_AVS is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_DA7219 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_DMIC is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_HDAUDIO is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_I2S_TEST is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98357A is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98373 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98927 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_NAU8825 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_PROBE is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT274 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT286 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT298 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_RT5682 is not set -# CONFIG_SND_SOC_INTEL_AVS_MACH_SSM4567 is not set -# CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH is not set -# CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH is not set -# CONFIG_SND_SOC_INTEL_BROADWELL_MACH is not set -# CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_BXT_RT298_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH is not set -# CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH is not set -# CONFIG_SND_SOC_INTEL_BYTCR_WM5102_MACH is not set -# CONFIG_SND_SOC_INTEL_CATPT is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH is not set -# CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH is not set -# CONFIG_SND_SOC_INTEL_CML_H is not set -# CONFIG_SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_CML_LP is not set -# CONFIG_SND_SOC_INTEL_EHL_RT5660_MACH is not set -# CONFIG_SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_HASWELL_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5660_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH is not set -# CONFIG_SND_SOC_INTEL_SKL_RT286_MACH is not set -# CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC is not set -# CONFIG_SND_SOC_INTEL_SKYLAKE is not set -# CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_SSP_AMP_MACH is not set -# CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH is not set -# CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH is not set -# CONFIG_SND_SOC_INTEL_SST is not set -# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set -# CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set -CONFIG_SND_SOC_JH7110_PWMDAC=m -CONFIG_SND_SOC_JH7110_TDM=m -# CONFIG_SND_SOC_LPASS_RX_MACRO is not set -# CONFIG_SND_SOC_LPASS_TX_MACRO is not set -# CONFIG_SND_SOC_LPASS_VA_MACRO is not set -# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set -CONFIG_SND_SOC=m -CONFIG_SND_SOC_MAX9759=m -CONFIG_SND_SOC_MAX98088=m -# CONFIG_SND_SOC_MAX98090 is not set -# CONFIG_SND_SOC_MAX98357A is not set -CONFIG_SND_SOC_MAX98363=m -CONFIG_SND_SOC_MAX98373_I2C=m -CONFIG_SND_SOC_MAX98373=m -CONFIG_SND_SOC_MAX98373_SDW=m -CONFIG_SND_SOC_MAX98388=m -CONFIG_SND_SOC_MAX98390=m -CONFIG_SND_SOC_MAX98396=m -# CONFIG_SND_SOC_MAX98504 is not set -CONFIG_SND_SOC_MAX98520=m -# CONFIG_SND_SOC_MAX9860 is not set -CONFIG_SND_SOC_MAX9867=m -CONFIG_SND_SOC_MAX98927=m -# CONFIG_SND_SOC_MESON_T9015 is not set -# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set -# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set -# CONFIG_SND_SOC_MSM8996 is not set -# CONFIG_SND_SOC_MT6351 is not set -CONFIG_SND_SOC_MT6357=m -# CONFIG_SND_SOC_MT6358 is not set -# CONFIG_SND_SOC_MT6660 is not set -# CONFIG_SND_SOC_MTK_BTCVSD is not set -# CONFIG_SND_SOC_NAU8315 is not set -# CONFIG_SND_SOC_NAU8540 is not set -# CONFIG_SND_SOC_NAU8810 is not set -# CONFIG_SND_SOC_NAU8821 is not set -# CONFIG_SND_SOC_NAU8822 is not set -CONFIG_SND_SOC_NAU8824=m -# CONFIG_SND_SOC_NAU8825 is not set -# CONFIG_SND_SOC_ODROID is not set -# CONFIG_SND_SOC_OMAP_ABE_TWL6040 is not set -# CONFIG_SND_SOC_OMAP_DMIC is not set -# CONFIG_SND_SOC_OMAP_HDMI is not set -# CONFIG_SND_SOC_OMAP_MCBSP is not set -# CONFIG_SND_SOC_OMAP_MCPDM is not set -# CONFIG_SND_SOC_PCM1681 is not set -CONFIG_SND_SOC_PCM1789_I2C=m -# CONFIG_SND_SOC_PCM179X_I2C is not set -# CONFIG_SND_SOC_PCM179X_SPI is not set -CONFIG_SND_SOC_PCM186X_I2C=m -CONFIG_SND_SOC_PCM186X_SPI=m -CONFIG_SND_SOC_PCM3060_I2C=m -CONFIG_SND_SOC_PCM3060_SPI=m -# CONFIG_SND_SOC_PCM3168A_I2C is not set -# CONFIG_SND_SOC_PCM3168A_SPI is not set -# CONFIG_SND_SOC_PCM5102A is not set -# CONFIG_SND_SOC_PCM512x_I2C is not set -# CONFIG_SND_SOC_PCM512x is not set -# CONFIG_SND_SOC_PCM512x_SPI is not set -CONFIG_SND_SOC_PCM6240=m -# CONFIG_SND_SOC_PEB2466 is not set -# CONFIG_SND_SOC_QCOM is not set -# CONFIG_SND_SOC_QDSP6 is not set -# CONFIG_SND_SOC_RK3288_HDMI_ANALOG is not set -# CONFIG_SND_SOC_RK3328 is not set -# CONFIG_SND_SOC_RK3399_GRU_SOUND is not set -# CONFIG_SND_SOC_RK817 is not set -CONFIG_SND_SOC_RL6231=m -CONFIG_SND_SOC_RT1017_SDCA_SDW=m -# CONFIG_SND_SOC_RT1308 is not set -# CONFIG_SND_SOC_RT1308_SDW is not set -# CONFIG_SND_SOC_RT1316_SDW is not set -CONFIG_SND_SOC_RT1318_SDW=m -CONFIG_SND_SOC_RT1320_SDW=m -# CONFIG_SND_SOC_RT5616 is not set -# CONFIG_SND_SOC_RT5631 is not set -CONFIG_SND_SOC_RT5640=m -CONFIG_SND_SOC_RT5659=m -CONFIG_SND_SOC_RT5660=m -# CONFIG_SND_SOC_RT5663 is not set -# CONFIG_SND_SOC_RT5677 is not set -# CONFIG_SND_SOC_RT5677_SPI is not set -CONFIG_SND_SOC_RT5682_SDW=m -CONFIG_SND_SOC_RT700_SDW=m -CONFIG_SND_SOC_RT711_SDCA_SDW=m -CONFIG_SND_SOC_RT711_SDW=m -CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW=m -# CONFIG_SND_SOC_RT712_SDCA_SDW is not set -CONFIG_SND_SOC_RT715_SDCA_SDW=m -CONFIG_SND_SOC_RT715_SDW=m -CONFIG_SND_SOC_RT722_SDCA_SDW=m -# CONFIG_SND_SOC_RT9120 is not set -CONFIG_SND_SOC_RTQ9128=m -# CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994 is not set -# CONFIG_SND_SOC_SAMSUNG is not set -# CONFIG_SND_SOC_SAMSUNG_MIDAS_WM1811 is not set -# CONFIG_SND_SOC_SAMSUNG_SMDK_SPDIF is not set -# CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994 is not set -# CONFIG_SND_SOC_SC7180 is not set -# CONFIG_SND_SOC_SDM845 is not set -# CONFIG_SND_SOC_SDW_MOCKUP is not set -# CONFIG_SND_SOC_SGTL5000 is not set -CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m -CONFIG_SND_SOC_SIMPLE_MUX=m -# CONFIG_SND_SOC_SM8250 is not set -CONFIG_SND_SOC_SMA1303=m -# CONFIG_SND_SOC_SMDK_WM8994_PCM is not set -# CONFIG_SND_SOC_SNOW is not set -CONFIG_SND_SOC_SOF_ACPI=m -# CONFIG_SND_SOC_SOF_ALDERLAKE is not set -# CONFIG_SND_SOC_SOF_AMD_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_APOLLOLAKE is not set -# CONFIG_SND_SOC_SOF_BAYTRAIL is not set -# CONFIG_SND_SOC_SOF_BROADWELL is not set -# CONFIG_SND_SOC_SOF_CANNONLAKE is not set -# CONFIG_SND_SOC_SOF_COFFEELAKE is not set -# CONFIG_SND_SOC_SOF_COMETLAKE is not set -# CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT is not set -# CONFIG_SND_SOC_SOF_ELKHARTLAKE is not set -# CONFIG_SND_SOC_SOF_GEMINILAKE is not set -# CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC is not set -# CONFIG_SND_SOC_SOF_HDA_LINK is not set -# CONFIG_SND_SOC_SOF_ICELAKE is not set -# CONFIG_SND_SOC_SOF_IMX8M_SUPPORT is not set -# CONFIG_SND_SOC_SOF_IMX8_SUPPORT is not set -# CONFIG_SND_SOC_SOF_IMX_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE is not set -# CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL is not set -# CONFIG_SND_SOC_SOF_JASPERLAKE is not set -# CONFIG_SND_SOC_SOF_KABYLAKE is not set -# CONFIG_SND_SOC_SOF_MERRIFIELD is not set -# CONFIG_SND_SOC_SOF_METEORLAKE is not set -# CONFIG_SND_SOC_SOF_MT8195 is not set -# CONFIG_SND_SOC_SOF_OF is not set -CONFIG_SND_SOC_SOF_PCI=m -# CONFIG_SND_SOC_SOF_SKYLAKE is not set -# CONFIG_SND_SOC_SOF_TIGERLAKE is not set -CONFIG_SND_SOC_SOF_TOPLEVEL=y -CONFIG_SND_SOC_SPDIF=m -# CONFIG_SND_SOC_SRC4XXX_I2C is not set -# CONFIG_SND_SOC_SSM2305 is not set -# CONFIG_SND_SOC_SSM2518 is not set -# CONFIG_SND_SOC_SSM2602_I2C is not set -# CONFIG_SND_SOC_SSM2602_SPI is not set -CONFIG_SND_SOC_SSM3515=m -# CONFIG_SND_SOC_SSM4567 is not set -# CONFIG_SND_SOC_STA32X is not set -# CONFIG_SND_SOC_STA350 is not set -CONFIG_SND_SOC_STARFIVE=m -# CONFIG_SND_SOC_STI_SAS is not set -# CONFIG_SND_SOC_STM32_DFSDM is not set -# CONFIG_SND_SOC_STM32_I2S is not set -# CONFIG_SND_SOC_STM32_SAI is not set -# CONFIG_SND_SOC_STM32_SPDIFRX is not set -# CONFIG_SND_SOC_STORM is not set -# CONFIG_SND_SOC_TAS2552 is not set -CONFIG_SND_SOC_TAS2562=m -CONFIG_SND_SOC_TAS2764=m -CONFIG_SND_SOC_TAS2770=m -CONFIG_SND_SOC_TAS2780=m -CONFIG_SND_SOC_TAS2781_I2C=m -# CONFIG_SND_SOC_TAS5086 is not set -# CONFIG_SND_SOC_TAS571X is not set -# CONFIG_SND_SOC_TAS5720 is not set -CONFIG_SND_SOC_TAS5805M=m -CONFIG_SND_SOC_TAS6424=m -CONFIG_SND_SOC_TDA7419=m -# CONFIG_SND_SOC_TEGRA186_DSPK is not set -# CONFIG_SND_SOC_TEGRA20_AC97 is not set -# CONFIG_SND_SOC_TEGRA20_DAS is not set -# CONFIG_SND_SOC_TEGRA20_I2S is not set -# CONFIG_SND_SOC_TEGRA20_SPDIF is not set -# CONFIG_SND_SOC_TEGRA210_ADMAIF is not set -# CONFIG_SND_SOC_TEGRA210_AHUB is not set -# CONFIG_SND_SOC_TEGRA210_DMIC is not set -# CONFIG_SND_SOC_TEGRA210_I2S is not set -# CONFIG_SND_SOC_TEGRA30_AHUB is not set -# CONFIG_SND_SOC_TEGRA30_I2S is not set -# CONFIG_SND_SOC_TEGRA_ALC5632 is not set -# CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD is not set -# CONFIG_SND_SOC_TEGRA is not set -# CONFIG_SND_SOC_TEGRA_MACHINE_DRV is not set -# CONFIG_SND_SOC_TEGRA_MAX98090 is not set -# CONFIG_SND_SOC_TEGRA_RT5640 is not set -# CONFIG_SND_SOC_TEGRA_RT5677 is not set -# CONFIG_SND_SOC_TEGRA_SGTL5000 is not set -# CONFIG_SND_SOC_TEGRA_TRIMSLICE is not set -# CONFIG_SND_SOC_TEGRA_WM8753 is not set -# CONFIG_SND_SOC_TEGRA_WM8903 is not set -# CONFIG_SND_SOC_TEGRA_WM9712 is not set -# CONFIG_SND_SOC_TFA9879 is not set -# CONFIG_SND_SOC_TFA989X is not set -CONFIG_SND_SOC_TLV320ADC3XXX=m -CONFIG_SND_SOC_TLV320ADCX140=m -# CONFIG_SND_SOC_TLV320AIC23_I2C is not set -# CONFIG_SND_SOC_TLV320AIC23 is not set -# CONFIG_SND_SOC_TLV320AIC23_SPI is not set -# CONFIG_SND_SOC_TLV320AIC31XX is not set -CONFIG_SND_SOC_TLV320AIC32X4_I2C=m -CONFIG_SND_SOC_TLV320AIC32X4_SPI=m -# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set -# CONFIG_SND_SOC_TLV320AIC3X is not set -# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set -# CONFIG_SND_SOC_TOPOLOGY_BUILD is not set -CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST=m -# CONFIG_SND_SOC_TPA6130A2 is not set -# CONFIG_SND_SOC_TS3A227E is not set -CONFIG_SND_SOC_TSCS42XX=m -# CONFIG_SND_SOC_TSCS454 is not set -# CONFIG_SND_SOC_UDA1334 is not set -CONFIG_SND_SOC_UTILS_KUNIT_TEST=m -# CONFIG_SND_SOC_WCD9335 is not set -CONFIG_SND_SOC_WCD937X_SDW=m -# CONFIG_SND_SOC_WCD938X_SDW is not set -CONFIG_SND_SOC_WCD939X_SDW=m -# CONFIG_SND_SOC_WM8510 is not set -# CONFIG_SND_SOC_WM8523 is not set -CONFIG_SND_SOC_WM8524=m -# CONFIG_SND_SOC_WM8580 is not set -# CONFIG_SND_SOC_WM8711 is not set -# CONFIG_SND_SOC_WM8728 is not set -CONFIG_SND_SOC_WM8731_I2C=m -CONFIG_SND_SOC_WM8731=m -CONFIG_SND_SOC_WM8731_SPI=m -# CONFIG_SND_SOC_WM8737 is not set -# CONFIG_SND_SOC_WM8741 is not set -# CONFIG_SND_SOC_WM8750 is not set -# CONFIG_SND_SOC_WM8753 is not set -# CONFIG_SND_SOC_WM8770 is not set -# CONFIG_SND_SOC_WM8776 is not set -# CONFIG_SND_SOC_WM8782 is not set -CONFIG_SND_SOC_WM8804_I2C=m -CONFIG_SND_SOC_WM8804=m -# CONFIG_SND_SOC_WM8804_SPI is not set -# CONFIG_SND_SOC_WM8903 is not set -# CONFIG_SND_SOC_WM8904 is not set -CONFIG_SND_SOC_WM8940=m -# CONFIG_SND_SOC_WM8960 is not set -CONFIG_SND_SOC_WM8961=m -# CONFIG_SND_SOC_WM8962 is not set -# CONFIG_SND_SOC_WM8974 is not set -# CONFIG_SND_SOC_WM8978 is not set -# CONFIG_SND_SOC_WM8985 is not set -# CONFIG_SND_SOC_WSA881X is not set -CONFIG_SND_SOC_WSA883X=m -CONFIG_SND_SOC_WSA884X=m -# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set -# CONFIG_SND_SOC_XILINX_I2S is not set -# CONFIG_SND_SOC_XILINX_SPDIF is not set -# CONFIG_SND_SOC_XTFPGA_I2S is not set -CONFIG_SND_SOC_ZL38060=m -CONFIG_SND_SONICVIBES=m -# CONFIG_SND_SPI is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM is not set -# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI is not set -# CONFIG_SND_SUN4I_CODEC is not set -# CONFIG_SND_SUN4I_I2S is not set -# CONFIG_SND_SUN4I_SPDIF is not set -# CONFIG_SND_SUN50I_CODEC_ANALOG is not set -# CONFIG_SND_SUN8I_CODEC_ANALOG is not set -# CONFIG_SND_SUN8I_CODEC is not set -# CONFIG_SND_SUPPORT_OLD_API is not set -# CONFIG_SND_TEST_COMPONENT is not set -CONFIG_SND_TRIDENT=m -CONFIG_SND_UMP_LEGACY_RAWMIDI=y -CONFIG_SND_USB_6FIRE=m -CONFIG_SND_USB_AUDIO=m -CONFIG_SND_USB_AUDIO_MIDI_V2=y -CONFIG_SND_USB_CAIAQ_INPUT=y -CONFIG_SND_USB_CAIAQ=m -CONFIG_SND_USB_HIFACE=m -CONFIG_SND_USB_PODHD=m -CONFIG_SND_USB_POD=m -CONFIG_SND_USB_TONEPORT=m -CONFIG_SND_USB_UA101=m -CONFIG_SND_USB_US122L=m -CONFIG_SND_USB_USX2Y=m -CONFIG_SND_USB_VARIAX=m -CONFIG_SND_USB=y -CONFIG_SND_UTIMER=y -# CONFIG_SND_VERBOSE_PRINTK is not set -CONFIG_SND_VERBOSE_PROCFS=y -# CONFIG_SND_VIA82XX is not set -# CONFIG_SND_VIA82XX_MODEM is not set -CONFIG_SND_VIRMIDI=m -CONFIG_SND_VIRTIO=m -CONFIG_SND_VIRTUOSO=m -CONFIG_SND_VX222=m -# CONFIG_SND_X86 is not set -# CONFIG_SND_XEN_FRONTEND is not set -CONFIG_SND_YMFPCI=m -CONFIG_SNET_VDPA=m -CONFIG_SOC_STARFIVE=y -# CONFIG_SOC_TI is not set -CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM=y -CONFIG_SOFTLOCKUP_DETECTOR=y -CONFIG_SOFT_WATCHDOG=m -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_SONY_FF=y -# CONFIG_SONYPI is not set -CONFIG_SOPHGO_CV1800B_ADC=m -CONFIG_SOUND=m -CONFIG_SOUND_OSS_CORE_PRECLAIM=y -# CONFIG_SOUNDWIRE_AMD is not set -# CONFIG_SOUNDWIRE_CADENCE is not set -CONFIG_SOUNDWIRE_GENERIC_ALLOCATION=m -# CONFIG_SOUNDWIRE_INTEL is not set -# CONFIG_SOUNDWIRE is not set -# CONFIG_SOUNDWIRE_QCOM is not set -CONFIG_SPARSE_IRQ=y -CONFIG_SPARSEMEM_EXTREME=y -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_SPARSEMEM_VMEMMAP=y -CONFIG_SPARSEMEM=y -CONFIG_SPEAKUP=m -CONFIG_SPEAKUP_SYNTH_ACNTSA=m -CONFIG_SPEAKUP_SYNTH_APOLLO=m -CONFIG_SPEAKUP_SYNTH_AUDPTR=m -CONFIG_SPEAKUP_SYNTH_BNS=m -# CONFIG_SPEAKUP_SYNTH_DECEXT is not set -CONFIG_SPEAKUP_SYNTH_DECTLK=m -# CONFIG_SPEAKUP_SYNTH_DUMMY is not set -CONFIG_SPEAKUP_SYNTH_LTLK=m -CONFIG_SPEAKUP_SYNTH_SOFT=m -CONFIG_SPEAKUP_SYNTH_SPKOUT=m -CONFIG_SPEAKUP_SYNTH_TXPRT=m -CONFIG_SPI_ALTERA_CORE=m -CONFIG_SPI_ALTERA_DFL=m -# CONFIG_SPI_ALTERA is not set -CONFIG_SPI_AMD=y -CONFIG_SPI_AX88796C_COMPRESSION=y -CONFIG_SPI_AX88796C=m -# CONFIG_SPI_AXI_SPI_ENGINE is not set -# CONFIG_SPI_BITBANG is not set -# CONFIG_SPI_CADENCE is not set -CONFIG_SPI_CADENCE_QUADSPI=m -# CONFIG_SPI_CADENCE_XSPI is not set -CONFIG_SPI_CH341=m -# CONFIG_SPI_CS42L43 is not set -# CONFIG_SPI_DEBUG is not set -# CONFIG_SPI_DESIGNWARE is not set -CONFIG_SPI_DLN2=m -CONFIG_SPI_FSL_LPSPI=m -# CONFIG_SPI_FSL_SPI is not set -# CONFIG_SPI_GPIO is not set -# CONFIG_SPI_HISI_KUNPENG is not set -# CONFIG_SPI_HISI_SFC_V3XX is not set -# CONFIG_SPI_LANTIQ_SSC is not set -# CONFIG_SPI_LOOPBACK_TEST is not set -CONFIG_SPI_MASTER=y -CONFIG_SPI_MEM=y -CONFIG_SPI_MICROCHIP_CORE=m -CONFIG_SPI_MICROCHIP_CORE_QSPI=m -CONFIG_SPI_MUX=m -# CONFIG_SPI_MXIC is not set -# CONFIG_SPI_OC_TINY is not set -CONFIG_SPI_PCI1XXXX=m -# CONFIG_SPI_PL022 is not set -# CONFIG_SPI_PXA2XX is not set -# CONFIG_SPI_ROCKCHIP is not set -# CONFIG_SPI_SC18IS602 is not set -CONFIG_SPI_SIFIVE=y -# CONFIG_SPI_SLAVE is not set -CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m -CONFIG_SPI_SLAVE_TIME=m -CONFIG_SPI_SN_F_OSPI=m -CONFIG_SPI_SPIDEV=m -# CONFIG_SPI_TLE62X0 is not set -# CONFIG_SPI_TOPCLIFF_PCH is not set -# CONFIG_SPI_XCOMM is not set -# CONFIG_SPI_XILINX is not set -CONFIG_SPI=y -# CONFIG_SPI_ZYNQMP_GQSPI is not set -# CONFIG_SPMI_HISI3670 is not set -# CONFIG_SPMI is not set -# CONFIG_SPS30_I2C is not set -# CONFIG_SPS30_SERIAL is not set -# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set -# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set -# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is not set -CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU=y -# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set -# CONFIG_SQUASHFS_DECOMP_MULTI is not set -CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y -# CONFIG_SQUASHFS_DECOMP_SINGLE is not set -# CONFIG_SQUASHFS_EMBEDDED is not set -# CONFIG_SQUASHFS_FILE_CACHE is not set -CONFIG_SQUASHFS_FILE_DIRECT=y -CONFIG_SQUASHFS_LZ4=y -CONFIG_SQUASHFS_LZO=y -CONFIG_SQUASHFS=m -CONFIG_SQUASHFS_XATTR=y -CONFIG_SQUASHFS_XZ=y -CONFIG_SQUASHFS_ZLIB=y -CONFIG_SQUASHFS_ZSTD=y -# CONFIG_SRAM is not set -# CONFIG_SRF04 is not set -# CONFIG_SRF08 is not set -CONFIG_SSB_DRIVER_GPIO=y -CONFIG_SSB_DRIVER_PCICORE=y -CONFIG_SSB=m -CONFIG_SSB_PCIHOST=y -CONFIG_SSB_SDIOHOST=y -# CONFIG_SSFDC is not set -CONFIG_SSIF_IPMI_BMC=m -CONFIG_STACKDEPOT_MAX_FRAMES=64 -CONFIG_STACK_HASH_ORDER=20 -CONFIG_STACKINIT_KUNIT_TEST=m -CONFIG_STACKPROTECTOR_PER_TASK=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_STACKPROTECTOR=y -# CONFIG_STACKTRACE_BUILD_ID is not set -CONFIG_STACK_TRACER=y -CONFIG_STACK_VALIDATION=y -# CONFIG_STAGING_MEDIA_DEPRECATED is not set -CONFIG_STAGING_MEDIA=y -CONFIG_STAGING=y -CONFIG_STANDALONE=y -CONFIG_STARFIVE_JH8100_INTC=y -# CONFIG_STARFIVE_STARLINK_CACHE is not set -# CONFIG_STARFIVE_STARLINK_PMU is not set -CONFIG_STARFIVE_WATCHDOG=y -# CONFIG_STATIC_CALL_SELFTEST is not set -# CONFIG_STATIC_KEYS_SELFTEST is not set -# CONFIG_STATIC_USERMODEHELPER is not set -CONFIG_STE10XP=m -CONFIG_STEAM_FF=y -CONFIG_STK3310=m -# CONFIG_STK8312 is not set -# CONFIG_STK8BA50 is not set -# CONFIG_STM_DUMMY is not set -CONFIG_STM=m -CONFIG_STMMAC_ETH=m -# CONFIG_STMMAC_PCI is not set -CONFIG_STMMAC_PLATFORM=m -# CONFIG_STMMAC_SELFTESTS is not set -# CONFIG_STM_PROTO_BASIC is not set -# CONFIG_STM_PROTO_SYS_T is not set -# CONFIG_STM_SOURCE_CONSOLE is not set -# CONFIG_STM_SOURCE_FTRACE is not set -# CONFIG_STM_SOURCE_HEARTBEAT is not set -CONFIG_STRCAT_KUNIT_TEST=m -CONFIG_STRICT_DEVMEM=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_STRING_HELPERS_KUNIT_TEST=m -CONFIG_STRING_KUNIT_TEST=m -# CONFIG_STRING_SELFTEST is not set -CONFIG_STRIP_ASM_SYMS=y -CONFIG_STRSCPY_KUNIT_TEST=m -CONFIG_ST_UVIS25_I2C=m -CONFIG_ST_UVIS25=m -CONFIG_ST_UVIS25_SPI=m -CONFIG_SUN20I_D1_CCU=y -CONFIG_SUN20I_D1_R_CCU=y -# CONFIG_SUN50I_DE2_BUS is not set -# CONFIG_SUN50I_IOMMU is not set -CONFIG_SUNDANCE=m -# CONFIG_SUNDANCE_MMIO is not set -CONFIG_SUNGEM=m -CONFIG_SUN_PARTITION=y -CONFIG_SUNRPC_DEBUG=y -CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES=y -CONFIG_SUNRPC_GSS=m -CONFIG_SUNRPC=m -CONFIG_SUNRPC_XPRT_RDMA=m -# CONFIG_SURFACE_3_POWER_OPREGION is not set -CONFIG_SURFACE_ACPI_NOTIFY=m -CONFIG_SURFACE_AGGREGATOR_BUS=y -CONFIG_SURFACE_AGGREGATOR_CDEV=m -# CONFIG_SURFACE_AGGREGATOR_ERROR_INJECTION is not set -CONFIG_SURFACE_AGGREGATOR_HUB=m -CONFIG_SURFACE_AGGREGATOR=m -CONFIG_SURFACE_AGGREGATOR_REGISTRY=m -CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH=m -CONFIG_SURFACE_DTX=m -CONFIG_SURFACE_GPE=m -CONFIG_SURFACE_HID=m -CONFIG_SURFACE_HOTPLUG=m -CONFIG_SURFACE_KBD=m -CONFIG_SURFACE_PLATFORM_PROFILE=m -CONFIG_SURFACE_PLATFORMS=y -CONFIG_SURFACE_PRO3_BUTTON=m -# CONFIG_SUSPEND_SKIP_SYNC is not set -CONFIG_SUSPEND=y -CONFIG_SWAP=y -# CONFIG_SWIOTLB_DYNAMIC is not set -# CONFIG_SW_SYNC is not set -CONFIG_SX9310=m -CONFIG_SX9324=m -CONFIG_SX9360=m -# CONFIG_SX9500 is not set -CONFIG_SYMBOLIC_ERRNAME=y -CONFIG_SYNC_FILE=y -CONFIG_SYNCLINK_GT=m -CONFIG_SYN_COOKIES=y -# CONFIG_SYNTH_EVENT_GEN_TEST is not set -CONFIG_SYNTH_EVENTS=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_SYSCTL_KUNIT_TEST=m -CONFIG_SYSCTL=y -CONFIG_SYSFB_SIMPLEFB=y -# CONFIG_SYSFS_DEPRECATED is not set -CONFIG_SYSFS_SYSCALL=y -# CONFIG_SYSTEM76_ACPI is not set -CONFIG_SYSTEM_BLACKLIST_AUTH_UPDATE=y -CONFIG_SYSTEM_BLACKLIST_HASH_LIST="" -CONFIG_SYSTEM_BLACKLIST_KEYRING=y -CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE=4096 -CONFIG_SYSTEM_EXTRA_CERTIFICATE=y -# CONFIG_SYSTEMPORT is not set -# CONFIG_SYSTEM_REVOCATION_LIST is not set -CONFIG_SYSTEM_TRUSTED_KEYRING=y -CONFIG_SYSTEM_TRUSTED_KEYS="" -# CONFIG_SYSV68_PARTITION is not set -CONFIG_SYSV_FS=m -CONFIG_SYSVIPC=y -# CONFIG_T5403 is not set -CONFIG_TABLET_SERIAL_WACOM4=m -CONFIG_TABLET_USB_ACECAD=m -CONFIG_TABLET_USB_AIPTEK=m -CONFIG_TABLET_USB_HANWANG=m -CONFIG_TABLET_USB_KBTAB=m -CONFIG_TABLET_USB_PEGASUS=m -CONFIG_TARGET_CORE=m -CONFIG_TASK_DELAY_ACCT=y -CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_TASKS_RCU=y -CONFIG_TASKSTATS=y -CONFIG_TASK_XACCT=y -CONFIG_TCG_ATMEL=m -CONFIG_TCG_CRB=y -# CONFIG_TCG_INFINEON is not set -CONFIG_TCG_NSC=m -CONFIG_TCG_TIS_I2C_ATMEL=m -CONFIG_TCG_TIS_I2C_CR50=m -CONFIG_TCG_TIS_I2C_INFINEON=m -CONFIG_TCG_TIS_I2C=m -CONFIG_TCG_TIS_I2C_NUVOTON=m -CONFIG_TCG_TIS_SPI_CR50=y -CONFIG_TCG_TIS_SPI=m -# CONFIG_TCG_TIS_ST33ZP24_I2C is not set -# CONFIG_TCG_TIS_ST33ZP24_SPI is not set -CONFIG_TCG_TIS=y -CONFIG_TCG_TPM2_HMAC=y -CONFIG_TCG_TPM=y -CONFIG_TCG_VTPM_PROXY=m -# CONFIG_TCG_XEN is not set -CONFIG_TCM_FC=m -CONFIG_TCM_FILEIO=m -CONFIG_TCM_IBLOCK=m -CONFIG_TCM_PSCSI=m -# CONFIG_TCM_QLA2XXX_DEBUG is not set -CONFIG_TCM_QLA2XXX=m -CONFIG_TCM_USER2=m -CONFIG_TCP_AO=y -CONFIG_TCP_CONG_ADVANCED=y -CONFIG_TCP_CONG_BBR=m -CONFIG_TCP_CONG_BIC=m -CONFIG_TCP_CONG_CDG=m -CONFIG_TCP_CONG_CUBIC=y -CONFIG_TCP_CONG_DCTCP=m -CONFIG_TCP_CONG_HSTCP=m -CONFIG_TCP_CONG_HTCP=m -CONFIG_TCP_CONG_HYBLA=m -CONFIG_TCP_CONG_ILLINOIS=m -CONFIG_TCP_CONG_LP=m -CONFIG_TCP_CONG_NV=m -CONFIG_TCP_CONG_SCALABLE=m -CONFIG_TCP_CONG_VEGAS=m -CONFIG_TCP_CONG_VENO=m -CONFIG_TCP_CONG_WESTWOOD=m -CONFIG_TCP_CONG_YEAH=m -CONFIG_TCP_MD5SIG=y -# CONFIG_TCS3414 is not set -# CONFIG_TCS3472 is not set -CONFIG_TDX_GUEST_DRIVER=m -CONFIG_TEE=m -CONFIG_TEHUTI=m -CONFIG_TEHUTI_TN40=m -CONFIG_TELCLOCK=m -CONFIG_TERANETICS_PHY=m -# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set -# CONFIG_TEST_BITMAP is not set -# CONFIG_TEST_BITOPS is not set -# CONFIG_TEST_BLACKHOLE_DEV is not set -CONFIG_TEST_BPF=m -# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set -CONFIG_TEST_CPUMASK=m -# CONFIG_TEST_DHRY is not set -# CONFIG_TEST_DIV64 is not set -# CONFIG_TEST_DYNAMIC_DEBUG is not set -# CONFIG_TEST_FIRMWARE is not set -# CONFIG_TEST_FPU is not set -# CONFIG_TEST_FREE_PAGES is not set -# CONFIG_TEST_HASH is not set -# CONFIG_TEST_HEXDUMP is not set -CONFIG_TEST_HMM=m -# CONFIG_TEST_IDA is not set -CONFIG_TEST_IOV_ITER=m -# CONFIG_TEST_KMOD is not set -CONFIG_TEST_KSTRTOX=y -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_LKM is not set -CONFIG_TEST_LOCKUP=m -# CONFIG_TEST_MAPLE_TREE is not set -# CONFIG_TEST_MEMCAT_P is not set -# CONFIG_TEST_MEMINIT is not set -# CONFIG_TEST_MIN_HEAP is not set -# CONFIG_TEST_MULDIV64 is not set -# CONFIG_TEST_OBJAGG is not set -# CONFIG_TEST_OBJPOOL is not set -# CONFIG_TEST_OVERFLOW is not set -# CONFIG_TEST_PARMAN is not set -# CONFIG_TEST_POWER is not set -# CONFIG_TEST_PRINTF is not set -# CONFIG_TEST_REF_TRACKER is not set -# CONFIG_TEST_RHASHTABLE is not set -# CONFIG_TEST_SCANF is not set -# CONFIG_TEST_SIPHASH is not set -CONFIG_TEST_SORT=m -# CONFIG_TEST_STACKINIT is not set -# CONFIG_TEST_STATIC_KEYS is not set -# CONFIG_TEST_STRING_HELPERS is not set -# CONFIG_TEST_STRSCPY is not set -# CONFIG_TEST_SYSCTL is not set -# CONFIG_TEST_UBSAN is not set -# CONFIG_TEST_UDELAY is not set -# CONFIG_TEST_USER_COPY is not set -# CONFIG_TEST_UUID is not set -CONFIG_TEST_VMALLOC=m -# CONFIG_TEST_XARRAY is not set -# CONFIG_THERMAL_CORE_TESTING is not set -# CONFIG_THERMAL_DEBUGFS is not set -# CONFIG_THERMAL_DEFAULT_GOV_BANG_BANG is not set -# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set -CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y -# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set -CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 -# CONFIG_THERMAL_EMULATION is not set -# CONFIG_THERMAL_GOV_BANG_BANG is not set -CONFIG_THERMAL_GOV_FAIR_SHARE=y -# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set -CONFIG_THERMAL_GOV_STEP_WISE=y -# CONFIG_THERMAL_GOV_USER_SPACE is not set -CONFIG_THERMAL_HWMON=y -# CONFIG_THERMAL_MMIO is not set -CONFIG_THERMAL_NETLINK=y -# CONFIG_THERMAL_OF is not set -CONFIG_THERMAL_STATISTICS=y -# CONFIG_THERMAL_WRITABLE_TRIPS is not set -CONFIG_THERMAL=y -CONFIG_THREAD_SIZE_ORDER=2 -CONFIG_THRUSTMASTER_FF=y -# CONFIG_TI_ADC081C is not set -# CONFIG_TI_ADC0832 is not set -# CONFIG_TI_ADC084S021 is not set -# CONFIG_TI_ADC108S102 is not set -# CONFIG_TI_ADC12138 is not set -CONFIG_TI_ADC128S052=m -# CONFIG_TI_ADC161S626 is not set -CONFIG_TI_ADS1015=m -CONFIG_TI_ADS1100=m -# CONFIG_TI_ADS1119 is not set -# CONFIG_TI_ADS124S08 is not set -# CONFIG_TI_ADS1298 is not set -CONFIG_TI_ADS131E08=m -CONFIG_TI_ADS7924=m -# CONFIG_TI_ADS7950 is not set -CONFIG_TI_ADS8344=m -# CONFIG_TI_ADS8688 is not set -# CONFIG_TICK_CPU_ACCOUNTING is not set -# CONFIG_TI_CPSW_PHY_SEL is not set -# CONFIG_TI_DAC082S085 is not set -# CONFIG_TI_DAC5571 is not set -CONFIG_TI_DAC7311=m -# CONFIG_TI_DAC7612 is not set -CONFIG_TIFM_7XX1=m -CONFIG_TIFM_CORE=m -CONFIG_TIGON3_HWMON=y -CONFIG_TIGON3=m -CONFIG_TI_LMP92064=m -CONFIG_TIME_KUNIT_TEST=m -CONFIG_TIME_NS=y -CONFIG_TIMERFD=y -CONFIG_TIMERLAT_TRACER=y -# CONFIG_TINYDRM_HX8357D is not set -CONFIG_TINYDRM_ILI9163=m -# CONFIG_TINYDRM_ILI9225 is not set -# CONFIG_TINYDRM_ILI9341 is not set -CONFIG_TINYDRM_ILI9486=m -# CONFIG_TINYDRM_MI0283QT is not set -# CONFIG_TINYDRM_REPAPER is not set -# CONFIG_TINYDRM_ST7586 is not set -# CONFIG_TINYDRM_ST7735R is not set -CONFIG_TIPC_CRYPTO=y -CONFIG_TIPC_DIAG=m -CONFIG_TIPC=m -# CONFIG_TIPC_MEDIA_IB is not set -CONFIG_TIPC_MEDIA_UDP=y -# CONFIG_TI_ST is not set -# CONFIG_TI_TLC4541 is not set -# CONFIG_TI_TMAG5273 is not set -CONFIG_TI_TSC2046=m -CONFIG_TLAN=m -CONFIG_TLS_DEVICE=y -CONFIG_TLS=m -# CONFIG_TLS_TOE is not set -# CONFIG_TMP006 is not set -# CONFIG_TMP007 is not set -CONFIG_TMP117=m -CONFIG_TMPFS_INODE64=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_TMPFS_QUOTA=y -CONFIG_TMPFS_XATTR=y -CONFIG_TMPFS=y -CONFIG_TORTURE_TEST=m -# CONFIG_TOUCHSCREEN_AD7877 is not set -# CONFIG_TOUCHSCREEN_AD7879 is not set -# CONFIG_TOUCHSCREEN_ADC is not set -# CONFIG_TOUCHSCREEN_ADS7846 is not set -# CONFIG_TOUCHSCREEN_AR1021_I2C is not set -CONFIG_TOUCHSCREEN_ATMEL_MXT=m -# CONFIG_TOUCHSCREEN_ATMEL_MXT_T37 is not set -CONFIG_TOUCHSCREEN_AUO_PIXCIR=m -# CONFIG_TOUCHSCREEN_BU21013 is not set -# CONFIG_TOUCHSCREEN_BU21029 is not set -# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set -# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set -CONFIG_TOUCHSCREEN_COLIBRI_VF50=m -CONFIG_TOUCHSCREEN_CY8CTMA140=m -# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set -# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set -CONFIG_TOUCHSCREEN_CYTTSP5=m -# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set -# CONFIG_TOUCHSCREEN_DMI is not set -# CONFIG_TOUCHSCREEN_DYNAPRO is not set -CONFIG_TOUCHSCREEN_EDT_FT5X06=m -CONFIG_TOUCHSCREEN_EETI=m -CONFIG_TOUCHSCREEN_EGALAX=m -# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set -# CONFIG_TOUCHSCREEN_EKTF2127 is not set -CONFIG_TOUCHSCREEN_ELAN=m -# CONFIG_TOUCHSCREEN_ELO is not set -# CONFIG_TOUCHSCREEN_EXC3000 is not set -# CONFIG_TOUCHSCREEN_FUJITSU is not set -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set -# CONFIG_TOUCHSCREEN_GOODIX is not set -# CONFIG_TOUCHSCREEN_GUNZE is not set -# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set -# CONFIG_TOUCHSCREEN_HIDEEP is not set -CONFIG_TOUCHSCREEN_HIMAX_HX83112B=m -CONFIG_TOUCHSCREEN_HYCON_HY46XX=m -CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX=m -CONFIG_TOUCHSCREEN_ILI210X=m -CONFIG_TOUCHSCREEN_ILITEK=m -CONFIG_TOUCHSCREEN_IMAGIS=m -# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set -# CONFIG_TOUCHSCREEN_INEXIO is not set -CONFIG_TOUCHSCREEN_IQS5XX=m -CONFIG_TOUCHSCREEN_IQS7211=m -# CONFIG_TOUCHSCREEN_MAX11801 is not set -CONFIG_TOUCHSCREEN_MCS5000=m -# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set -CONFIG_TOUCHSCREEN_MK712=m -CONFIG_TOUCHSCREEN_MMS114=m -CONFIG_TOUCHSCREEN_MSG2638=m -# CONFIG_TOUCHSCREEN_MTOUCH is not set -CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS=m -# CONFIG_TOUCHSCREEN_PENMOUNT is not set -CONFIG_TOUCHSCREEN_PIXCIR=m -CONFIG_TOUCHSCREEN_RM_TS=m -# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set -# CONFIG_TOUCHSCREEN_S6SY761 is not set -CONFIG_TOUCHSCREEN_SILEAD=m -CONFIG_TOUCHSCREEN_SIS_I2C=m -CONFIG_TOUCHSCREEN_ST1232=m -# CONFIG_TOUCHSCREEN_STMFTS is not set -# CONFIG_TOUCHSCREEN_SUR40 is not set -# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set -# CONFIG_TOUCHSCREEN_SX8654 is not set -# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set -# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set -# CONFIG_TOUCHSCREEN_TOUCHWIN is not set -# CONFIG_TOUCHSCREEN_TPS6507X is not set -CONFIG_TOUCHSCREEN_TS4800=m -# CONFIG_TOUCHSCREEN_TSC2004 is not set -# CONFIG_TOUCHSCREEN_TSC2005 is not set -CONFIG_TOUCHSCREEN_TSC2007_IIO=y -CONFIG_TOUCHSCREEN_TSC2007=m -# CONFIG_TOUCHSCREEN_TSC_SERIO is not set -CONFIG_TOUCHSCREEN_USB_3M=y -CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y -CONFIG_TOUCHSCREEN_USB_E2I=y -CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y -CONFIG_TOUCHSCREEN_USB_EGALAX=y -CONFIG_TOUCHSCREEN_USB_ELO=y -CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y -CONFIG_TOUCHSCREEN_USB_ETURBO=y -CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y -CONFIG_TOUCHSCREEN_USB_GOTOP=y -CONFIG_TOUCHSCREEN_USB_GUNZE=y -CONFIG_TOUCHSCREEN_USB_IDEALTEK=y -CONFIG_TOUCHSCREEN_USB_IRTOUCH=y -CONFIG_TOUCHSCREEN_USB_ITM=y -CONFIG_TOUCHSCREEN_USB_JASTEC=y -CONFIG_TOUCHSCREEN_USB_NEXIO=y -CONFIG_TOUCHSCREEN_USB_PANJIT=y -CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y -CONFIG_TOUCHSCREEN_WACOM_I2C=m -# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set -# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set -# CONFIG_TOUCHSCREEN_WM97XX is not set -CONFIG_TOUCHSCREEN_ZET6223=m -CONFIG_TOUCHSCREEN_ZFORCE=m -CONFIG_TOUCHSCREEN_ZINITIX=m -# CONFIG_TPL0102 is not set -CONFIG_TPM_KEY_PARSER=m -# CONFIG_TPS6105X is not set -# CONFIG_TPS65010 is not set -# CONFIG_TPS6507X is not set -CONFIG_TPS6594_ESM=m -CONFIG_TPS6594_PFSM=m -# CONFIG_TPS68470_PMIC_OPREGION is not set -CONFIG_TRACE_EVAL_MAP_FILE=y -# CONFIG_TRACE_EVENT_INJECT is not set -# CONFIG_TRACE_MMIO_ACCESS is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set -CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y -# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set -CONFIG_TRANSPARENT_HUGEPAGE=y -# CONFIG_TRIM_UNUSED_KSYMS is not set -CONFIG_TRUSTED_KEYS_TEE=y -CONFIG_TRUSTED_KEYS_TPM=y -CONFIG_TRUSTED_KEYS=y -# CONFIG_TS4800_IRQ is not set -# CONFIG_TS4800_WATCHDOG is not set -# CONFIG_TSL2583 is not set -# CONFIG_TSL2591 is not set -CONFIG_TSL2772=m -# CONFIG_TSL4531 is not set -CONFIG_TSNEP=m -# CONFIG_TSNEP_SELFTESTS is not set -# CONFIG_TSYS01 is not set -# CONFIG_TSYS02D is not set -# CONFIG_TTY_PRINTK is not set -CONFIG_TTY=y -CONFIG_TULIP=m -CONFIG_TULIP_MMIO=y -# CONFIG_TULIP_MWI is not set -# CONFIG_TULIP_NAPI is not set -CONFIG_TUNE_GENERIC=y -CONFIG_TUN=m -# CONFIG_TUN_VNET_CROSS_LE is not set -# CONFIG_TWL4030_CORE is not set -# CONFIG_TWL6040_CORE is not set -CONFIG_TXGBE=m -# CONFIG_TYPEC_ANX7411 is not set -CONFIG_TYPEC_DP_ALTMODE=m -CONFIG_TYPEC_FUSB302=m -CONFIG_TYPEC_HD3SS3220=m -CONFIG_TYPEC=m -CONFIG_TYPEC_MUX_FSA4480=m -CONFIG_TYPEC_MUX_GPIO_SBU=m -CONFIG_TYPEC_MUX_IT5205=m -CONFIG_TYPEC_MUX_NB7VPQ904M=m -CONFIG_TYPEC_MUX_PI3USB30532=m -CONFIG_TYPEC_MUX_PTN36502=m -# CONFIG_TYPEC_MUX_WCD939X_USBSS is not set -CONFIG_TYPEC_NVIDIA_ALTMODE=m -# CONFIG_TYPEC_QCOM_PMIC is not set -# CONFIG_TYPEC_RT1711H is not set -CONFIG_TYPEC_RT1719=m -CONFIG_TYPEC_STUSB160X=m -CONFIG_TYPEC_TCPCI=m -CONFIG_TYPEC_TCPCI_MAXIM=m -CONFIG_TYPEC_TCPCI_MT6370=m -CONFIG_TYPEC_TCPM=m -CONFIG_TYPEC_TPS6598X=m -CONFIG_TYPEC_UCSI=m -CONFIG_TYPEC_WUSB3801=m -CONFIG_TYPHOON=m -CONFIG_UACCE=m -CONFIG_UAPI_HEADER_TEST=y -CONFIG_UBIFS_ATIME_SUPPORT=y -# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set -CONFIG_UBIFS_FS_AUTHENTICATION=y -CONFIG_UBIFS_FS=m -CONFIG_UBIFS_FS_SECURITY=y -CONFIG_UBIFS_FS_XATTR=y -# CONFIG_UBSAN_ALIGNMENT is not set -# CONFIG_UBSAN_BOOL is not set -CONFIG_UBSAN_BOUNDS=y -# CONFIG_UBSAN_DIV_ZERO is not set -# CONFIG_UBSAN_ENUM is not set -CONFIG_UBSAN_SANITIZE_ALL=y -CONFIG_UBSAN_SHIFT=y -# CONFIG_UBSAN_SIGNED_WRAP is not set -# CONFIG_UBSAN_TRAP is not set -# CONFIG_UBSAN_UNREACHABLE is not set -CONFIG_UBSAN=y -CONFIG_UCLAMP_BUCKETS_COUNT=5 -CONFIG_UCLAMP_TASK_GROUP=y -CONFIG_UCLAMP_TASK=y -CONFIG_UCSI_ACPI=m -CONFIG_UCSI_CCG=m -CONFIG_UCSI_STM32G0=m -CONFIG_UDF_FS=m -CONFIG_UDMABUF=y -# CONFIG_UEVENT_HELPER is not set -# CONFIG_UFS_DEBUG is not set -CONFIG_UFS_FS=m -# CONFIG_UFS_FS_WRITE is not set -CONFIG_UHID=m -CONFIG_UID16=y -# CONFIG_UIO_AEC is not set -# CONFIG_UIO_CIF is not set -CONFIG_UIO_DFL=m -# CONFIG_UIO_DMEM_GENIRQ is not set -CONFIG_UIO_HV_GENERIC=m -CONFIG_UIO=m -# CONFIG_UIO_MF624 is not set -# CONFIG_UIO_NETX is not set -CONFIG_UIO_PCI_GENERIC=m -# CONFIG_UIO_PDRV_GENIRQ is not set -# CONFIG_UIO_PRUSS is not set -# CONFIG_UIO_SERCOS3 is not set -CONFIG_ULI526X=m -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_UNICODE_NORMALIZATION_SELFTEST is not set -CONFIG_UNICODE_UTF8_DATA=y -CONFIG_UNICODE=y -CONFIG_UNIX98_PTYS=y -CONFIG_UNIX_DIAG=y -CONFIG_UNIXWARE_DISKLABEL=y -CONFIG_UNIX=y -CONFIG_UNUSED_KSYMS_WHITELIST="" -# CONFIG_UNWINDER_FRAME_POINTER is not set -# CONFIG_UNWINDER_GUESS is not set -CONFIG_UPROBE_EVENTS=y -# CONFIG_US5182D is not set -# CONFIG_USB4_DEBUGFS_WRITE is not set -# CONFIG_USB4_DMA_TEST is not set -# CONFIG_USB4_KUNIT_TEST is not set -CONFIG_USB4_NET=m -CONFIG_USB4=y -CONFIG_USB_ACM=m -CONFIG_USB_ADUTUX=m -CONFIG_USB_ALI_M5632=y -# CONFIG_USB_AMD5536UDC is not set -CONFIG_USB_AN2720=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_APPLEDISPLAY=m -CONFIG_USB_ARMLINUX=y -CONFIG_USB_ATM=m -# CONFIG_USB_AUDIO is not set -CONFIG_USB_AUTOSUSPEND_DELAY=2 -# CONFIG_USB_BDC_UDC is not set -CONFIG_USB_BELKIN=y -# CONFIG_USB_C67X00_HCD is not set -CONFIG_USB_CATC=m -# CONFIG_USB_CDC_COMPOSITE is not set -CONFIG_USB_CDNS2_UDC=m -CONFIG_USB_CDNS3_GADGET=y -CONFIG_USB_CDNS3_HOST=y -CONFIG_USB_CDNS3=m -CONFIG_USB_CDNS3_PCI_WRAP=m -CONFIG_USB_CDNS3_STARFIVE=m -# CONFIG_USB_CDNSP_GADGET is not set -# CONFIG_USB_CDNSP_HOST is not set -CONFIG_USB_CDNSP_PCI=m -CONFIG_USB_CDNS_SUPPORT=m -CONFIG_USB_CHAOSKEY=m -CONFIG_USB_CHIPIDEA_GENERIC=m -CONFIG_USB_CHIPIDEA_IMX=m -# CONFIG_USB_CHIPIDEA is not set -CONFIG_USB_CHIPIDEA_MSM=m -CONFIG_USB_CHIPIDEA_NPCM=m -CONFIG_USB_CHIPIDEA_PCI=m -CONFIG_USB_CONFIGFS_ACM=y -CONFIG_USB_CONFIGFS_ECM_SUBSET=y -CONFIG_USB_CONFIGFS_ECM=y -CONFIG_USB_CONFIGFS_EEM=y -# CONFIG_USB_CONFIGFS_F_FS is not set -CONFIG_USB_CONFIGFS_F_HID=y -# CONFIG_USB_CONFIGFS_F_LB_SS is not set -CONFIG_USB_CONFIGFS_F_MIDI2=y -# CONFIG_USB_CONFIGFS_F_MIDI is not set -# CONFIG_USB_CONFIGFS_F_PRINTER is not set -CONFIG_USB_CONFIGFS_F_TCM=y -# CONFIG_USB_CONFIGFS_F_UAC1 is not set -# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set -# CONFIG_USB_CONFIGFS_F_UAC2 is not set -# CONFIG_USB_CONFIGFS_F_UVC is not set -CONFIG_USB_CONFIGFS=m -CONFIG_USB_CONFIGFS_MASS_STORAGE=y -CONFIG_USB_CONFIGFS_NCM=y -CONFIG_USB_CONFIGFS_OBEX=y -# CONFIG_USB_CONFIGFS_RNDIS is not set -CONFIG_USB_CONFIGFS_SERIAL=y -# CONFIG_USB_CONN_GPIO is not set -CONFIG_USB_CXACRU=m -# CONFIG_USB_CYPRESS_CY7C63 is not set -# CONFIG_USB_CYTHERM is not set -CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1 -CONFIG_USB_DEFAULT_PERSIST=y -CONFIG_USB_DSBR=m -# CONFIG_USB_DUMMY_HCD is not set -# CONFIG_USB_DWC2_DEBUG is not set -CONFIG_USB_DWC2_DUAL_ROLE=y -# CONFIG_USB_DWC2_HOST is not set -CONFIG_USB_DWC2=m -CONFIG_USB_DWC2_PCI=m -# CONFIG_USB_DWC2_PERIPHERAL is not set -# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set -CONFIG_USB_DWC3_DUAL_ROLE=y -# CONFIG_USB_DWC3_GADGET is not set -# CONFIG_USB_DWC3_HAPS is not set -# CONFIG_USB_DWC3_HOST is not set -CONFIG_USB_DWC3=m -CONFIG_USB_DWC3_OF_SIMPLE=m -CONFIG_USB_DWC3_PCI=m -CONFIG_USB_DWC3_ULPI=y -# CONFIG_USB_DYNAMIC_MINORS is not set -# CONFIG_USB_EG20T is not set -# CONFIG_USB_EHCI_FSL is not set -CONFIG_USB_EHCI_HCD_PLATFORM=m -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y -# CONFIG_USB_EHSET_TEST_FIXTURE is not set -CONFIG_USB_EMI26=m -CONFIG_USB_EMI62=m -CONFIG_USB_EPSON2888=y -# CONFIG_USB_ETH is not set -# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set -CONFIG_USB_EZUSB_FX2=m -# CONFIG_USB_FEW_INIT_RETRIES is not set -# CONFIG_USB_FOTG210_HCD is not set -# CONFIG_USB_FUNCTIONFS is not set -# CONFIG_USB_G_ACM_MS is not set -# CONFIG_USB_GADGET_DEBUG_FILES is not set -# CONFIG_USB_GADGET_DEBUG_FS is not set -# CONFIG_USB_GADGET_DEBUG is not set -# CONFIG_USB_GADGETFS is not set -CONFIG_USB_GADGET=m -CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 -# CONFIG_USB_GADGET_TARGET is not set -CONFIG_USB_GADGET_VBUS_DRAW=100 -# CONFIG_USB_GADGET_XILINX is not set -# CONFIG_USB_G_DBGP is not set -# CONFIG_USB_G_HID is not set -CONFIG_USB_GL860=m -# CONFIG_USB_G_MULTI is not set -# CONFIG_USB_G_NCM is not set -# CONFIG_USB_GOKU is not set -CONFIG_USB_GPIO_VBUS=m -# CONFIG_USB_G_PRINTER is not set -# CONFIG_USB_GR_UDC is not set -CONFIG_USB_G_SERIAL=m -CONFIG_USB_GSPCA_BENQ=m -CONFIG_USB_GSPCA_CONEX=m -CONFIG_USB_GSPCA_CPIA1=m -CONFIG_USB_GSPCA_DTCS033=m -CONFIG_USB_GSPCA_ETOMS=m -CONFIG_USB_GSPCA_FINEPIX=m -CONFIG_USB_GSPCA_JEILINJ=m -CONFIG_USB_GSPCA_JL2005BCD=m -CONFIG_USB_GSPCA_KINECT=m -CONFIG_USB_GSPCA_KONICA=m -CONFIG_USB_GSPCA=m -CONFIG_USB_GSPCA_MARS=m -CONFIG_USB_GSPCA_MR97310A=m -CONFIG_USB_GSPCA_NW80X=m -CONFIG_USB_GSPCA_OV519=m -CONFIG_USB_GSPCA_OV534_9=m -CONFIG_USB_GSPCA_OV534=m -CONFIG_USB_GSPCA_PAC207=m -CONFIG_USB_GSPCA_PAC7302=m -CONFIG_USB_GSPCA_PAC7311=m -CONFIG_USB_GSPCA_SE401=m -CONFIG_USB_GSPCA_SN9C2028=m -CONFIG_USB_GSPCA_SN9C20X=m -CONFIG_USB_GSPCA_SONIXB=m -CONFIG_USB_GSPCA_SONIXJ=m -CONFIG_USB_GSPCA_SPCA1528=m -CONFIG_USB_GSPCA_SPCA500=m -CONFIG_USB_GSPCA_SPCA501=m -CONFIG_USB_GSPCA_SPCA505=m -CONFIG_USB_GSPCA_SPCA506=m -CONFIG_USB_GSPCA_SPCA508=m -CONFIG_USB_GSPCA_SPCA561=m -CONFIG_USB_GSPCA_SQ905C=m -CONFIG_USB_GSPCA_SQ905=m -CONFIG_USB_GSPCA_SQ930X=m -CONFIG_USB_GSPCA_STK014=m -CONFIG_USB_GSPCA_STK1135=m -CONFIG_USB_GSPCA_STV0680=m -CONFIG_USB_GSPCA_SUNPLUS=m -CONFIG_USB_GSPCA_T613=m -CONFIG_USB_GSPCA_TOPRO=m -CONFIG_USB_GSPCA_TOUPTEK=m -CONFIG_USB_GSPCA_TV8532=m -CONFIG_USB_GSPCA_VC032X=m -CONFIG_USB_GSPCA_VICAM=m -CONFIG_USB_GSPCA_XIRLINK_CIT=m -CONFIG_USB_GSPCA_ZC3XX=m -# CONFIG_USB_G_WEBCAM is not set -# CONFIG_USB_HCD_BCMA is not set -# CONFIG_USB_HCD_SSB is not set -# CONFIG_USB_HCD_TEST_MODE is not set -CONFIG_USB_HIDDEV=y -CONFIG_USB_HID=y -CONFIG_USB_HSIC_USB3503=m -CONFIG_USB_HSIC_USB4604=m -CONFIG_USB_HSO=m -CONFIG_USB_HUB_USB251XB=m -CONFIG_USB_IDMOUSE=m -CONFIG_USB_IOWARRIOR=m -CONFIG_USBIP_CORE=m -# CONFIG_USBIP_DEBUG is not set -CONFIG_USB_IPHETH=m -CONFIG_USBIP_HOST=m -CONFIG_USBIP_VHCI_HCD=m -CONFIG_USBIP_VHCI_HC_PORTS=8 -CONFIG_USBIP_VHCI_NR_HCS=1 -CONFIG_USBIP_VUDC=m -CONFIG_USB_ISIGHTFW=m -# CONFIG_USB_ISP116X_HCD is not set -# CONFIG_USB_ISP1301 is not set -CONFIG_USB_ISP1760_DUAL_ROLE=y -# CONFIG_USB_ISP1760_GADGET_ROLE is not set -# CONFIG_USB_ISP1760_HOST_ROLE is not set -# CONFIG_USB_ISP1760 is not set -CONFIG_USB_KAWETH=m -CONFIG_USB_KC2190=y -CONFIG_USB_KEENE=m -CONFIG_USB_LAN78XX=m -CONFIG_USB_LCD=m -CONFIG_USB_LD=m -CONFIG_USB_LEDS_TRIGGER_USBPORT=m -CONFIG_USB_LED_TRIG=y -CONFIG_USB_LEGOTOWER=m -# CONFIG_USB_LINK_LAYER_TEST is not set -# CONFIG_USB_LJCA is not set -CONFIG_USB_M5602=m -# CONFIG_USB_M66592 is not set -CONFIG_USB_MA901=m -# CONFIG_USB_MASS_STORAGE is not set -CONFIG_USB_MAX3420_UDC=m -# CONFIG_USB_MAX3421_HCD is not set -CONFIG_USB_MDC800=m -CONFIG_USB_MICROTEK=m -# CONFIG_USB_MIDI_GADGET is not set -CONFIG_USB_MON=y -CONFIG_USB_MR800=m -# CONFIG_USB_MUSB_GADGET is not set -# CONFIG_USB_MUSB_HDRC is not set -# CONFIG_USB_MUSB_HOST is not set -# CONFIG_USB_MV_U3D is not set -# CONFIG_USB_MV_UDC is not set -# CONFIG_USB_NET2272 is not set -# CONFIG_USB_NET2280 is not set -CONFIG_USB_NET_AQC111=m -CONFIG_USB_NET_AX88179_178A=m -CONFIG_USB_NET_AX8817X=m -CONFIG_USB_NET_CDC_EEM=m -CONFIG_USB_NET_CDC_MBIM=m -CONFIG_USB_NET_CDC_NCM=m -CONFIG_USB_NET_CDC_SUBSET=m -CONFIG_USB_NET_CH9200=m -CONFIG_USB_NET_CX82310_ETH=m -CONFIG_USB_NET_DM9601=m -CONFIG_USB_NET_DRIVERS=y -CONFIG_USB_NET_GL620A=m -CONFIG_USB_NET_HUAWEI_CDC_NCM=m -CONFIG_USB_NET_INT51X1=m -CONFIG_USB_NET_KALMIA=m -CONFIG_USB_NET_MCS7830=m -CONFIG_USB_NET_NET1080=m -CONFIG_USB_NET_PLUSB=m -CONFIG_USB_NET_QMI_WWAN=m -CONFIG_USB_NET_RNDIS_HOST=m -CONFIG_USB_NET_SMSC75XX=m -CONFIG_USB_NET_SMSC95XX=m -CONFIG_USB_NET_SR9700=m -# CONFIG_USB_NET_SR9800 is not set -CONFIG_USB_NET_ZAURUS=m -CONFIG_USB_OHCI_HCD_PCI=y -CONFIG_USB_OHCI_HCD_PLATFORM=m -# CONFIG_USB_OHCI_HCD_SSB is not set -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_ONBOARD_DEV=m -# CONFIG_USB_ONBOARD_DEV_USB5744 is not set -CONFIG_USB_ONBOARD_HUB=m -# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set -CONFIG_USB_OTG_FSM=m -# CONFIG_USB_OTG_PRODUCTLIST is not set -CONFIG_USB_OTG=y -# CONFIG_USB_OXU210HP_HCD is not set -CONFIG_USB_PCI_AMD=y -CONFIG_USB_PCI=y -CONFIG_USBPCWATCHDOG=m -CONFIG_USB_PEGASUS=m -CONFIG_USB_PHY=y -CONFIG_USB_PRINTER=m -CONFIG_USB_PULSE8_CEC=m -# CONFIG_USB_PWC_DEBUG is not set -CONFIG_USB_PWC_INPUT_EVDEV=y -CONFIG_USB_PWC=m -# CONFIG_USB_PXA27X is not set -# CONFIG_USB_R8A66597_HCD is not set -# CONFIG_USB_R8A66597 is not set -CONFIG_USB_RAINSHADOW_CEC=m -# CONFIG_USB_RAREMONO is not set -CONFIG_USB_RAW_GADGET=m -CONFIG_USB_ROLE_SWITCH=y -CONFIG_USB_RTL8150=m -CONFIG_USB_RTL8152=m -CONFIG_USB_RTL8153_ECM=m -CONFIG_USB_S2255=m -CONFIG_USB_SERIAL_AIRCABLE=m -CONFIG_USB_SERIAL_ARK3116=m -CONFIG_USB_SERIAL_BELKIN=m -CONFIG_USB_SERIAL_CH341=m -CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_SERIAL_CP210X=m -CONFIG_USB_SERIAL_CYBERJACK=m -CONFIG_USB_SERIAL_CYPRESS_M8=m -CONFIG_USB_SERIAL_DEBUG=m -CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m -CONFIG_USB_SERIAL_EDGEPORT=m -CONFIG_USB_SERIAL_EDGEPORT_TI=m -CONFIG_USB_SERIAL_EMPEG=m -CONFIG_USB_SERIAL_F81232=m -CONFIG_USB_SERIAL_F8153X=m -CONFIG_USB_SERIAL_FTDI_SIO=m -CONFIG_USB_SERIAL_GARMIN=m -CONFIG_USB_SERIAL_GENERIC=y -CONFIG_USB_SERIAL_IPAQ=m -CONFIG_USB_SERIAL_IPW=m -CONFIG_USB_SERIAL_IR=m -CONFIG_USB_SERIAL_IUU=m -CONFIG_USB_SERIAL_KEYSPAN=m -CONFIG_USB_SERIAL_KEYSPAN_PDA=m -CONFIG_USB_SERIAL_KLSI=m -CONFIG_USB_SERIAL_KOBIL_SCT=m -CONFIG_USB_SERIAL_MCT_U232=m -# CONFIG_USB_SERIAL_METRO is not set -CONFIG_USB_SERIAL_MOS7720=m -CONFIG_USB_SERIAL_MOS7840=m -# CONFIG_USB_SERIAL_MXUPORT is not set -CONFIG_USB_SERIAL_NAVMAN=m -CONFIG_USB_SERIAL_OMNINET=m -CONFIG_USB_SERIAL_OPTICON=m -CONFIG_USB_SERIAL_OPTION=m -CONFIG_USB_SERIAL_OTI6858=m -CONFIG_USB_SERIAL_PL2303=m -CONFIG_USB_SERIAL_QCAUX=m -CONFIG_USB_SERIAL_QT2=m -CONFIG_USB_SERIAL_QUALCOMM=m -CONFIG_USB_SERIAL_SAFE=m -CONFIG_USB_SERIAL_SAFE_PADDED=y -CONFIG_USB_SERIAL_SIERRAWIRELESS=m -CONFIG_USB_SERIAL_SIMPLE=m -CONFIG_USB_SERIAL_SPCP8X5=m -CONFIG_USB_SERIAL_SSU100=m -CONFIG_USB_SERIAL_SYMBOL=m -CONFIG_USB_SERIAL_TI=m -CONFIG_USB_SERIAL_UPD78F0730=m -CONFIG_USB_SERIAL_VISOR=m -CONFIG_USB_SERIAL_WHITEHEAT=m -# CONFIG_USB_SERIAL_WISHBONE is not set -CONFIG_USB_SERIAL_XR=m -CONFIG_USB_SERIAL_XSENS_MT=m -CONFIG_USB_SERIAL=y -CONFIG_USB_SEVSEG=m -CONFIG_USB_SI470X=m -# CONFIG_USB_SI4713 is not set -CONFIG_USB_SIERRA_NET=m -CONFIG_USB_SISUSBVGA=m -# CONFIG_USB_SL811_CS is not set -CONFIG_USB_SL811_HCD_ISO=y -CONFIG_USB_SL811_HCD=m -CONFIG_USB_SNP_UDC_PLAT=m -CONFIG_USB_SPEEDTOUCH=m -CONFIG_USB_STKWEBCAM=m -CONFIG_USB_STORAGE_ALAUDA=m -CONFIG_USB_STORAGE_CYPRESS_ATACB=m -CONFIG_USB_STORAGE_DATAFAB=m -# CONFIG_USB_STORAGE_DEBUG is not set -CONFIG_USB_STORAGE_ENE_UB6250=m -CONFIG_USB_STORAGE_FREECOM=m -CONFIG_USB_STORAGE_ISD200=m -CONFIG_USB_STORAGE_JUMPSHOT=m -CONFIG_USB_STORAGE_KARMA=m -CONFIG_USB_STORAGE=m -CONFIG_USB_STORAGE_ONETOUCH=m -CONFIG_USB_STORAGE_REALTEK=m -CONFIG_USB_STORAGE_SDDR09=m -CONFIG_USB_STORAGE_SDDR55=m -CONFIG_USB_STORAGE_USBAT=m -CONFIG_USB_STV06XX=m -CONFIG_USB_SUPPORT=y -# CONFIG_USB_TEST is not set -CONFIG_USB_TMC=m -CONFIG_USB_TRANCEVIBRATOR=m -CONFIG_USB_UAS=m -CONFIG_USB_UEAGLEATM=m -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_ULPI_BUS=m -CONFIG_USB_USBNET=m -CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_USB_VL600=m -CONFIG_USB_WDM=m -CONFIG_USB_XEN_HCD=m -CONFIG_USB_XHCI_DBGCAP=y -CONFIG_USB_XHCI_HCD=y -# CONFIG_USB_XHCI_HISTB is not set -CONFIG_USB_XHCI_PCI_RENESAS=y -CONFIG_USB_XHCI_PCI=y -CONFIG_USB_XHCI_PLATFORM=m -CONFIG_USB_XUSBATM=m -CONFIG_USB=y -CONFIG_USB_YUREX=m -# CONFIG_USB_ZERO is not set -CONFIG_USB_ZR364XX=m -# CONFIG_USELIB is not set -CONFIG_USERCOPY_KUNIT_TEST=m -# CONFIG_USER_DECRYPTED_DATA is not set -# CONFIG_USER_EVENTS is not set -CONFIG_USERFAULTFD=y -CONFIG_U_SERIAL_CONSOLE=y -# CONFIG_USERIO is not set -CONFIG_USER_NS=y -CONFIG_UTS_NS=y -# CONFIG_UV_SYSFS is not set -# CONFIG_V4L2_FLASH_LED_CLASS is not set -CONFIG_V4L_MEM2MEM_DRIVERS=y -# CONFIG_V4L_PLATFORM_DRIVERS is not set -CONFIG_V4L_TEST_DRIVERS=y -CONFIG_VALIDATE_FS_PARSER=y -CONFIG_VCAP=y -CONFIG_VCHIQ_CDEV=y -CONFIG_VCNL3020=m -# CONFIG_VCNL4000 is not set -CONFIG_VCNL4035=m -CONFIG_VCPU_STALL_DETECTOR=m -CONFIG_VDPA=m -CONFIG_VDPA_SIM_BLOCK=m -CONFIG_VDPA_SIM=m -CONFIG_VDPA_SIM_NET=m -CONFIG_VDPA_USER=m -CONFIG_VEML6030=m -# CONFIG_VEML6040 is not set -# CONFIG_VEML6070 is not set -# CONFIG_VEML6075 is not set -CONFIG_VETH=m -# CONFIG_VF610_ADC is not set -# CONFIG_VF610_DAC is not set -CONFIG_VFAT_FS=m -CONFIG_VFIO_CONTAINER=y -# CONFIG_VFIO_DEBUGFS is not set -# CONFIG_VFIO_DEVICE_CDEV is not set -CONFIG_VFIO_GROUP=y -CONFIG_VFIO_IOMMU_TYPE1=m -CONFIG_VFIO=m -CONFIG_VFIO_MDEV=m -# CONFIG_VFIO_NOIOMMU is not set -CONFIG_VFIO_PCI=m -CONFIG_VGA_ARB_MAX_GPUS=16 -CONFIG_VGA_ARB=y -CONFIG_VGA_CONSOLE=y -# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set -CONFIG_VHOST_MENU=y -CONFIG_VHOST_NET=m -CONFIG_VHOST_SCSI=m -CONFIG_VHOST_VDPA=m -CONFIG_VHOST_VSOCK=m -CONFIG_VIA_RHINE=m -CONFIG_VIA_RHINE_MMIO=y -CONFIG_VIA_VELOCITY=m -CONFIG_VIDEO_AD5820=m -# CONFIG_VIDEO_AD9389B is not set -CONFIG_VIDEO_ADP1653=m -# CONFIG_VIDEO_ADV7170 is not set -# CONFIG_VIDEO_ADV7175 is not set -# CONFIG_VIDEO_ADV7180 is not set -# CONFIG_VIDEO_ADV7183 is not set -# CONFIG_VIDEO_ADV7343 is not set -# CONFIG_VIDEO_ADV7393 is not set -# CONFIG_VIDEO_ADV748X is not set -# CONFIG_VIDEO_ADV7511 is not set -# CONFIG_VIDEO_ADV7604_CEC is not set -# CONFIG_VIDEO_ADV7604 is not set -# CONFIG_VIDEO_ADV7842_CEC is not set -# CONFIG_VIDEO_ADV7842 is not set -# CONFIG_VIDEO_ADV_DEBUG is not set -CONFIG_VIDEO_AK7375=m -# CONFIG_VIDEO_AK881X is not set -# CONFIG_VIDEO_ALVIUM_CSI2 is not set -CONFIG_VIDEO_AR0521=m -CONFIG_VIDEO_AU0828=m -# CONFIG_VIDEO_AU0828_RC is not set -CONFIG_VIDEO_AU0828_V4L2=y -# CONFIG_VIDEO_BT819 is not set -CONFIG_VIDEO_BT848=m -# CONFIG_VIDEO_BT856 is not set -# CONFIG_VIDEO_BT866 is not set -# CONFIG_VIDEO_CADENCE_CSI2RX is not set -CONFIG_VIDEO_CADENCE_CSI2TX=m -# CONFIG_VIDEO_CADENCE is not set -# CONFIG_VIDEO_CAFE_CCIC is not set -CONFIG_VIDEO_CAMERA_SENSOR=y -CONFIG_VIDEO_CCS=m -CONFIG_VIDEO_CS5345=m -CONFIG_VIDEO_CS53L32A=m -CONFIG_VIDEO_CX18_ALSA=m -CONFIG_VIDEO_CX18=m -CONFIG_VIDEO_CX231XX_ALSA=m -CONFIG_VIDEO_CX231XX_DVB=m -CONFIG_VIDEO_CX231XX=m -CONFIG_VIDEO_CX231XX_RC=y -CONFIG_VIDEO_CX23885=m -# CONFIG_VIDEO_CX25821 is not set -CONFIG_VIDEO_CX25840=m -CONFIG_VIDEO_CX88_ALSA=m -CONFIG_VIDEO_CX88_BLACKBIRD=m -CONFIG_VIDEO_CX88_DVB=m -CONFIG_VIDEO_CX88_ENABLE_VP3054=y -CONFIG_VIDEO_CX88=m -CONFIG_VIDEO_CX88_VP3054=m -CONFIG_VIDEO_DEV=m -CONFIG_VIDEO_DS90UB913=m -CONFIG_VIDEO_DS90UB953=m -CONFIG_VIDEO_DS90UB960=m -# CONFIG_VIDEO_DT3155 is not set -CONFIG_VIDEO_DW9714=m -CONFIG_VIDEO_DW9719=m -CONFIG_VIDEO_DW9768=m -CONFIG_VIDEO_DW9807_VCM=m -CONFIG_VIDEO_EM28XX_ALSA=m -CONFIG_VIDEO_EM28XX_DVB=m -CONFIG_VIDEO_EM28XX=m -CONFIG_VIDEO_EM28XX_RC=m -CONFIG_VIDEO_EM28XX_V4L2=m -CONFIG_VIDEO_ET8EK8=m -CONFIG_VIDEO_FB_IVTV=m -# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set -CONFIG_VIDEO_GC0308=m -# CONFIG_VIDEO_GC05A2 is not set -# CONFIG_VIDEO_GC08A3 is not set -CONFIG_VIDEO_GC2145=m -CONFIG_VIDEO_GO7007_LOADER=m -CONFIG_VIDEO_GO7007=m -CONFIG_VIDEO_GO7007_USB=m -CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m -CONFIG_VIDEO_GS1662=m -CONFIG_VIDEO_HDPVR=m -CONFIG_VIDEO_HEXIUM_GEMINI=m -CONFIG_VIDEO_HEXIUM_ORION=m -CONFIG_VIDEO_HI556=m -CONFIG_VIDEO_HI846=m -CONFIG_VIDEO_HI847=m -# CONFIG_VIDEO_I2C is not set -CONFIG_VIDEO_IMX208=m -CONFIG_VIDEO_IMX214=m -CONFIG_VIDEO_IMX219=m -CONFIG_VIDEO_IMX258=m -CONFIG_VIDEO_IMX274=m -CONFIG_VIDEO_IMX283=m -CONFIG_VIDEO_IMX290=m -CONFIG_VIDEO_IMX296=m -CONFIG_VIDEO_IMX319=m -CONFIG_VIDEO_IMX334=m -CONFIG_VIDEO_IMX335=m -CONFIG_VIDEO_IMX355=m -CONFIG_VIDEO_IMX412=m -CONFIG_VIDEO_IMX415=m -# CONFIG_VIDEO_IPU3_CIO2 is not set -CONFIG_VIDEO_IR_I2C=m -# CONFIG_VIDEO_ISL7998X is not set -# CONFIG_VIDEO_IVTV_ALSA is not set -CONFIG_VIDEO_IVTV=m -# CONFIG_VIDEO_KS0127 is not set -CONFIG_VIDEO_LM3560=m -CONFIG_VIDEO_LM3646=m -CONFIG_VIDEO_M52790=m -# CONFIG_VIDEO_MAX9286 is not set -# CONFIG_VIDEO_MAX96712 is not set -CONFIG_VIDEO_MAX96714=m -CONFIG_VIDEO_MAX96717=m -# CONFIG_VIDEO_MEM2MEM_DEINTERLACE is not set -# CONFIG_VIDEO_MGB4 is not set -# CONFIG_VIDEO_ML86V7667 is not set -CONFIG_VIDEO_MSP3400=m -CONFIG_VIDEO_MT9M001=m -# CONFIG_VIDEO_MT9M111 is not set -CONFIG_VIDEO_MT9M114=m -CONFIG_VIDEO_MT9P031=m -CONFIG_VIDEO_MT9T112=m -CONFIG_VIDEO_MT9V011=m -CONFIG_VIDEO_MT9V032=m -CONFIG_VIDEO_MT9V111=m -CONFIG_VIDEO_MXB=m -CONFIG_VIDEO_OG01A1B=m -CONFIG_VIDEO_OV01A10=m -CONFIG_VIDEO_OV02A10=m -CONFIG_VIDEO_OV08D10=m -CONFIG_VIDEO_OV08X40=m -CONFIG_VIDEO_OV13858=m -CONFIG_VIDEO_OV13B10=m -CONFIG_VIDEO_OV2640=m -CONFIG_VIDEO_OV2659=m -CONFIG_VIDEO_OV2680=m -CONFIG_VIDEO_OV2685=m -CONFIG_VIDEO_OV2740=m -CONFIG_VIDEO_OV4689=m -CONFIG_VIDEO_OV5640=m -CONFIG_VIDEO_OV5645=m -CONFIG_VIDEO_OV5647=m -CONFIG_VIDEO_OV5648=m -CONFIG_VIDEO_OV5670=m -CONFIG_VIDEO_OV5675=m -CONFIG_VIDEO_OV5693=m -CONFIG_VIDEO_OV5695=m -CONFIG_VIDEO_OV64A40=m -CONFIG_VIDEO_OV6650=m -CONFIG_VIDEO_OV7251=m -CONFIG_VIDEO_OV7640=m -# CONFIG_VIDEO_OV7670 is not set -CONFIG_VIDEO_OV772X=m -CONFIG_VIDEO_OV7740=m -CONFIG_VIDEO_OV8856=m -CONFIG_VIDEO_OV8858=m -CONFIG_VIDEO_OV8865=m -CONFIG_VIDEO_OV9282=m -CONFIG_VIDEO_OV9640=m -CONFIG_VIDEO_OV9650=m -CONFIG_VIDEO_OV9734=m -# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set -CONFIG_VIDEO_PVRUSB2_DVB=y -CONFIG_VIDEO_PVRUSB2=m -CONFIG_VIDEO_PVRUSB2_SYSFS=y -CONFIG_VIDEO_RDACM20=m -# CONFIG_VIDEO_RDACM21 is not set -CONFIG_VIDEO_RJ54N1=m -CONFIG_VIDEO_ROCKCHIP_VDEC=m -CONFIG_VIDEO_S5C73M3=m -CONFIG_VIDEO_S5K4ECGX=m -CONFIG_VIDEO_S5K5BAF=m -CONFIG_VIDEO_S5K6A3=m -CONFIG_VIDEO_SAA6588=m -# CONFIG_VIDEO_SAA7110 is not set -CONFIG_VIDEO_SAA711X=m -CONFIG_VIDEO_SAA7127=m -CONFIG_VIDEO_SAA7134_ALSA=m -CONFIG_VIDEO_SAA7134_DVB=m -CONFIG_VIDEO_SAA7134_GO7007=m -CONFIG_VIDEO_SAA7134=m -CONFIG_VIDEO_SAA7134_RC=y -CONFIG_VIDEO_SAA7146=m -CONFIG_VIDEO_SAA7146_VV=m -CONFIG_VIDEO_SAA7164=m -CONFIG_VIDEO_SAA717X=m -# CONFIG_VIDEO_SAA7185 is not set -CONFIG_VIDEO_SOLO6X10=m -CONFIG_VIDEO_SONY_BTF_MPX=m -CONFIG_VIDEO_STK1160_COMMON=m -CONFIG_VIDEO_STK1160=m -# CONFIG_VIDEO_STKWEBCAM is not set -CONFIG_VIDEO_STM32_DMA2D=m -# CONFIG_VIDEO_ST_MIPID02 is not set -CONFIG_VIDEO_ST_VGXY61=m -CONFIG_VIDEO_TC358743_CEC=y -# CONFIG_VIDEO_TC358743 is not set -# CONFIG_VIDEO_TC358746 is not set -# CONFIG_VIDEO_TDA1997X is not set -CONFIG_VIDEO_TDA7432=m -CONFIG_VIDEO_TDA9840=m -CONFIG_VIDEO_TEA6415C=m -CONFIG_VIDEO_TEA6420=m -# CONFIG_VIDEO_TEGRA_TPG is not set -# CONFIG_VIDEO_THP7312 is not set -# CONFIG_VIDEO_THS7303 is not set -# CONFIG_VIDEO_THS8200 is not set -# CONFIG_VIDEO_TLV320AIC23B is not set -CONFIG_VIDEO_TM6000_ALSA=m -CONFIG_VIDEO_TM6000_DVB=m -CONFIG_VIDEO_TM6000=m -CONFIG_VIDEO_TUNER=m -CONFIG_VIDEO_TVAUDIO=m -# CONFIG_VIDEO_TVP514X is not set -CONFIG_VIDEO_TVP5150=m -# CONFIG_VIDEO_TVP7002 is not set -CONFIG_VIDEO_TW2804=m -# CONFIG_VIDEO_TW5864 is not set -CONFIG_VIDEO_TW686X=m -# CONFIG_VIDEO_TW68 is not set -# CONFIG_VIDEO_TW9900 is not set -CONFIG_VIDEO_TW9903=m -CONFIG_VIDEO_TW9906=m -# CONFIG_VIDEO_TW9910 is not set -CONFIG_VIDEO_UDA1342=m -CONFIG_VIDEO_UPD64031A=m -CONFIG_VIDEO_UPD64083=m -CONFIG_VIDEO_USBTV=m -CONFIG_VIDEO_V4L2=m -CONFIG_VIDEO_V4L2_SUBDEV_API=y -# CONFIG_VIDEO_VGXY61 is not set -CONFIG_VIDEO_VICODEC=m -CONFIG_VIDEO_VIM2M=m -CONFIG_VIDEO_VIMC=m -CONFIG_VIDEO_VISL=m -CONFIG_VIDEO_VIVID_CEC=y -CONFIG_VIDEO_VIVID=m -CONFIG_VIDEO_VIVID_MAX_DEVS=64 -CONFIG_VIDEO_VP27SMPX=m -# CONFIG_VIDEO_VPX3220 is not set -CONFIG_VIDEO_WM8739=m -CONFIG_VIDEO_WM8775=m -# CONFIG_VIDEO_XILINX is not set -# CONFIG_VIDEO_ZORAN is not set -# CONFIG_VIPERBOARD_ADC is not set -CONFIG_VIRT_CPU_ACCOUNTING_GEN=y -# CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set -CONFIG_VIRT_DRIVERS=y -CONFIG_VIRTIO_BALLOON=m -CONFIG_VIRTIO_BLK=m -CONFIG_VIRTIO_CONSOLE=m -# CONFIG_VIRTIO_DEBUG is not set -CONFIG_VIRTIO_FS=m -# CONFIG_VIRTIO_HARDEN_NOTIFICATION is not set -CONFIG_VIRTIO_INPUT=m -# CONFIG_VIRTIO_IOMMU is not set -CONFIG_VIRTIO_MEM=m -CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_VIRTIO_MMIO=m -CONFIG_VIRTIO_NET=m -CONFIG_VIRTIO_PCI_LEGACY=y -CONFIG_VIRTIO_PCI=y -# CONFIG_VIRTIO_PMEM is not set -CONFIG_VIRTIO_VDPA=m -CONFIG_VIRTIO_VFIO_PCI=m -CONFIG_VIRTIO_VSOCKETS=m -CONFIG_VIRTIO=y -CONFIG_VIRTUALIZATION=y -CONFIG_VIRT_WIFI=m -# CONFIG_VISL_DEBUGFS is not set -CONFIG_VITESSE_PHY=m -CONFIG_VL53L0X_I2C=m -CONFIG_VL6180=m -CONFIG_VLAN_8021Q_GVRP=y -CONFIG_VLAN_8021Q=m -CONFIG_VLAN_8021Q_MVRP=y -CONFIG_VMAP_STACK=y -# CONFIG_VME_BUS is not set -CONFIG_VM_EVENT_COUNTERS=y -CONFIG_VMGENID=y -# CONFIG_VMLINUX_MAP is not set -# CONFIG_VMSPLIT_1G is not set -# CONFIG_VMSPLIT_2G is not set -# CONFIG_VMSPLIT_3G_OPT is not set -CONFIG_VMSPLIT_3G=y -# CONFIG_VMXNET3 is not set -CONFIG_VORTEX=m -CONFIG_VP_VDPA=m -CONFIG_VSOCKETS_DIAG=m -CONFIG_VSOCKETS_LOOPBACK=m -CONFIG_VSOCKETS=m -CONFIG_VSOCKMON=m -# CONFIG_VT6655 is not set -# CONFIG_VT6656 is not set -CONFIG_VT_CONSOLE=y -CONFIG_VT_HW_CONSOLE_BINDING=y -CONFIG_VT=y -# CONFIG_VXFS_FS is not set -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set -CONFIG_VXGE=m -CONFIG_VXLAN=m -# CONFIG_VZ89X is not set -CONFIG_W1_CON=y -CONFIG_W1=m -# CONFIG_W1_MASTER_AMD_AXI is not set -# CONFIG_W1_MASTER_DS1WM is not set -CONFIG_W1_MASTER_DS2482=m -CONFIG_W1_MASTER_DS2490=m -# CONFIG_W1_MASTER_GPIO is not set -# CONFIG_W1_MASTER_MATROX is not set -# CONFIG_W1_MASTER_SGI is not set -CONFIG_W1_MASTER_UART=m -CONFIG_W1_SLAVE_DS2405=m -CONFIG_W1_SLAVE_DS2406=m -CONFIG_W1_SLAVE_DS2408=m -# CONFIG_W1_SLAVE_DS2408_READBACK is not set -CONFIG_W1_SLAVE_DS2413=m -CONFIG_W1_SLAVE_DS2423=m -CONFIG_W1_SLAVE_DS2430=m -CONFIG_W1_SLAVE_DS2431=m -CONFIG_W1_SLAVE_DS2433_CRC=y -CONFIG_W1_SLAVE_DS2433=m -CONFIG_W1_SLAVE_DS2438=m -# CONFIG_W1_SLAVE_DS250X is not set -CONFIG_W1_SLAVE_DS2780=m -CONFIG_W1_SLAVE_DS2781=m -CONFIG_W1_SLAVE_DS2805=m -CONFIG_W1_SLAVE_DS28E04=m -# CONFIG_W1_SLAVE_DS28E17 is not set -CONFIG_W1_SLAVE_SMEM=m -CONFIG_W1_SLAVE_THERM=m -CONFIG_W83627HF_WDT=m -CONFIG_W83877F_WDT=m -CONFIG_W83977F_WDT=m -# CONFIG_WAFER_WDT is not set -# CONFIG_WAN is not set -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -CONFIG_WATCHDOG_CORE=y -CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y -# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set -# CONFIG_WATCHDOG_NOWAYOUT is not set -CONFIG_WATCHDOG_OPEN_TIMEOUT=0 -# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set -CONFIG_WATCHDOG_SYSFS=y -CONFIG_WATCHDOG=y -CONFIG_WATCH_QUEUE=y -# CONFIG_WCN36XX_DEBUGFS is not set -CONFIG_WCN36XX=m -CONFIG_WDAT_WDT=m -CONFIG_WDTPCI=m -# CONFIG_WERROR is not set -# CONFIG_WFX is not set -CONFIG_WIL6210_DEBUGFS=y -CONFIG_WIL6210_ISR_COR=y -CONFIG_WIL6210=m -# CONFIG_WIL6210_TRACING is not set -# CONFIG_WILC1000_SDIO is not set -# CONFIG_WILC1000_SPI is not set -CONFIG_WILINK_PLATFORM_DATA=y -CONFIG_WINBOND_840=m -# CONFIG_WIREGUARD_DEBUG is not set -CONFIG_WIREGUARD=m -CONFIG_WIRELESS_EXT=y -CONFIG_WIRELESS_HOTKEY=m -# CONFIG_WIRELESS_WDS is not set -CONFIG_WIRELESS=y -CONFIG_WIZNET_BUS_ANY=y -# CONFIG_WIZNET_BUS_DIRECT is not set -# CONFIG_WIZNET_BUS_INDIRECT is not set -CONFIG_WIZNET_W5100=m -CONFIG_WIZNET_W5100_SPI=m -CONFIG_WIZNET_W5300=m -CONFIG_WL1251=m -CONFIG_WL1251_SDIO=m -CONFIG_WL1251_SPI=m -CONFIG_WL12XX=m -CONFIG_WL18XX=m -# CONFIG_WLAN_VENDOR_ADMTEK is not set -CONFIG_WLAN_VENDOR_ATH=y -# CONFIG_WLAN_VENDOR_ATMEL is not set -CONFIG_WLAN_VENDOR_BROADCOM=y -# CONFIG_WLAN_VENDOR_CISCO is not set -CONFIG_WLAN_VENDOR_INTEL=y -# CONFIG_WLAN_VENDOR_INTERSIL is not set -CONFIG_WLAN_VENDOR_MARVELL=y -CONFIG_WLAN_VENDOR_MEDIATEK=y -CONFIG_WLAN_VENDOR_MICROCHIP=y -# CONFIG_WLAN_VENDOR_PURELIFI is not set -CONFIG_WLAN_VENDOR_QUANTENNA=y -CONFIG_WLAN_VENDOR_RALINK=y -CONFIG_WLAN_VENDOR_REALTEK=y -CONFIG_WLAN_VENDOR_RSI=y -# CONFIG_WLAN_VENDOR_SILABS is not set -CONFIG_WLAN_VENDOR_ST=y -CONFIG_WLAN_VENDOR_TI=y -CONFIG_WLAN_VENDOR_ZYDAS=y -CONFIG_WLAN=y -CONFIG_WLCORE=m -CONFIG_WLCORE_SDIO=m -CONFIG_WLCORE_SPI=m -CONFIG_WPCM450_SOC=m -# CONFIG_WQ_CPU_INTENSIVE_REPORT is not set -# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set -# CONFIG_WQ_WATCHDOG is not set -CONFIG_WWAN_DEBUGFS=y -CONFIG_WWAN_HWSIM=m -CONFIG_WWAN=y -# CONFIG_WW_MUTEX_SELFTEST is not set -# CONFIG_X25 is not set -CONFIG_X9250=m -CONFIG_XDP_SOCKETS_DIAG=m -CONFIG_XDP_SOCKETS=y -# CONFIG_XEN_GRANT_DMA_ALLOC is not set -CONFIG_XEN_MEMORY_HOTPLUG_LIMIT=512 -CONFIG_XEN_PRIVCMD_EVENTFD=y -CONFIG_XEN_PRIVCMD_IRQFD=y -CONFIG_XEN_PRIVCMD=m -# CONFIG_XEN_PVCALLS_FRONTEND is not set -CONFIG_XEN_PVHVM_GUEST=y -CONFIG_XEN_UNPOPULATED_ALLOC=y -# CONFIG_XEN_VIRTIO_FORCE_GRANT is not set -CONFIG_XEN_VIRTIO=y -CONFIG_XFRM_INTERFACE=m -CONFIG_XFRM_MIGRATE=y -CONFIG_XFRM_OFFLOAD=y -CONFIG_XFRM_STATISTICS=y -CONFIG_XFRM_SUB_POLICY=y -# CONFIG_XFRM_USER_COMPAT is not set -CONFIG_XFRM_USER=y -CONFIG_XFRM=y -# CONFIG_XFS_DEBUG is not set -CONFIG_XFS_FS=m -# CONFIG_XFS_ONLINE_REPAIR is not set -# CONFIG_XFS_ONLINE_SCRUB_STATS is not set -CONFIG_XFS_ONLINE_SCRUB=y -CONFIG_XFS_POSIX_ACL=y -CONFIG_XFS_QUOTA=y -CONFIG_XFS_RT=y -CONFIG_XFS_SUPPORT_ASCII_CI=y -CONFIG_XFS_SUPPORT_V4=y -# CONFIG_XFS_WARN is not set -# CONFIG_XIL_AXIS_FIFO is not set -# CONFIG_XILINX_AXI_EMAC is not set -# CONFIG_XILINX_DMA is not set -CONFIG_XILINX_EMACLITE=m -CONFIG_XILINX_GMII2RGMII=m -# CONFIG_XILINX_INTC is not set -CONFIG_XILINX_LL_TEMAC=m -CONFIG_XILINX_PR_DECOUPLER=m -# CONFIG_XILINX_SDFEC is not set -CONFIG_XILINX_VCU=m -# CONFIG_XILINX_WATCHDOG is not set -# CONFIG_XILINX_XADC is not set -CONFIG_XILINX_XDMA=m -# CONFIG_XILINX_ZYNQMP_DPDMA is not set -CONFIG_XILLYBUS=m -# CONFIG_XILLYBUS_OF is not set -CONFIG_XILLYBUS_PCIE=m -CONFIG_XILLYUSB=m -# CONFIG_XIP_KERNEL is not set -CONFIG_XZ_DEC_ARM64=y -CONFIG_XZ_DEC_ARMTHUMB=y -CONFIG_XZ_DEC_ARM=y -CONFIG_XZ_DEC_IA64=y -CONFIG_XZ_DEC_MICROLZMA=y -CONFIG_XZ_DEC_POWERPC=y -CONFIG_XZ_DEC_RISCV=y -CONFIG_XZ_DEC_SPARC=y -# CONFIG_XZ_DEC_TEST is not set -CONFIG_XZ_DEC_X86=y -CONFIG_XZ_DEC=y -# CONFIG_YAMAHA_YAS530 is not set -CONFIG_YAM=m -CONFIG_YELLOWFIN=m -# CONFIG_YENTA is not set -# CONFIG_YOGABOOK_WMI is not set -# CONFIG_Z3FOLD_DEPRECATED is not set -CONFIG_Z3FOLD=y -CONFIG_ZBUD=y -# CONFIG_ZD1211RW_DEBUG is not set -CONFIG_ZD1211RW=m -# CONFIG_ZERO_CALL_USED_REGS is not set -CONFIG_ZEROPLUS_FF=y -# CONFIG_ZIIRAVE_WATCHDOG is not set -CONFIG_ZISOFS=y -CONFIG_ZLIB_DEFLATE=y -CONFIG_ZLIB_DFLTCC=y -CONFIG_ZLIB_INFLATE=y -CONFIG_ZONE_DMA=y -CONFIG_ZONEFS_FS=m -CONFIG_ZOPT2201=m -# CONFIG_ZPA2326 is not set -# CONFIG_ZRAM_BACKEND_842 is not set -# CONFIG_ZRAM_BACKEND_DEFLATE is not set -# CONFIG_ZRAM_BACKEND_LZ4HC is not set -# CONFIG_ZRAM_BACKEND_LZ4 is not set -# CONFIG_ZRAM_BACKEND_ZSTD is not set -# CONFIG_ZRAM_DEF_COMP_842 is not set -# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set -# CONFIG_ZRAM_DEF_COMP_LZ4 is not set -# CONFIG_ZRAM_DEF_COMP_LZO is not set -CONFIG_ZRAM_DEF_COMP_LZORLE=y -# CONFIG_ZRAM_DEF_COMP_ZSTD is not set -CONFIG_ZRAM=m -# CONFIG_ZRAM_MEMORY_TRACKING is not set -CONFIG_ZRAM_MULTI_COMP=y -# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set -CONFIG_ZRAM_WRITEBACK=y -CONFIG_ZSMALLOC_CHAIN_SIZE=8 -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_ZSMALLOC=y -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842 is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set -CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y -# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set -# CONFIG_ZSWAP_DEFAULT_ON is not set -CONFIG_ZSWAP_EXCLUSIVE_LOADS_DEFAULT_ON=y -CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y -CONFIG_ZSWAP=y -# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD_DEPRECATED is not set -# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set -CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y -# CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set diff --git a/kernel.spec b/kernel.spec index 046f41e52..6c2685e9c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -169,7 +169,7 @@ Summary: The Linux kernel # This is needed to do merge window version magic %define patchlevel 12 # This allows pkg_release to have configurable %%{?dist} tag -%define specrelease 200%{?buildid}%{?dist} +%define specrelease 201%{?buildid}%{?dist} # This defines the kabi tarball version %define kabiversion 6.12.5