d0782c9411
This is the merge of the upstream LTS release of 5.10.160 into the android12-5.10 branch. It contains the following commits:003c389455Merge 5.10.160 into android12-5.10-ltsa2428a8dcbLinux 5.10.16054c15f67cbASoC: ops: Correct bounds check for second channel on SX controls74b139c63fnvme-pci: clear the prp2 field when not used77ebf88e00ASoC: cs42l51: Correct PGA Volume minimum value4db1d19b74can: mcba_usb: Fix termination command argument683837f2f6can: sja1000: fix size of OCR_MODE_MASK define434b523671pinctrl: meditatek: Startup with the IRQs disabled5cb4abb0calibbpf: Use page size as max_entries when probing ring buffer map50b5f6d4d9ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()344739dc56ASoC: fsl_micfil: explicitly clear CHnF flagsa49c1a7307ASoC: fsl_micfil: explicitly clear software reset bit75454b4bbfio_uring: add missing item types for splice request17f386e6b7fuse: always revalidate if exclusive createeb6313c129nfp: fix use-after-free in area_cache_get()965d93fb39vfs: fix copy_file_range() averts filesystem freeze protectioned96733949vfs: fix copy_file_range() regression in cross-fs copies970862a96cx86/smpboot: Move rcu_cpu_starting() earlier32e45c58a0Merge "Merge 5.10.159 into android12-5.10-lts" into android12-5.10-ltsd31626cbeaANDROID: usb: gadget: uvc: remove duplicate code in unbind01ef2d0b53Merge 5.10.159 into android12-5.10-lts931578be69Linux 5.10.1594fd6f84e0acan: esd_usb: Allow REC and TEC to return to zerocf0e423106macsec: add missing attribute validation for offload6b03e41767net: mvneta: Fix an out of bounds check8208d7e56bipv6: avoid use-after-free in ip6_fragment()3d59adad12net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()a00444e25bxen/netback: fix build warning87277bdf2cethernet: aeroflex: fix potential skb leak in greth_init_rings()cc668fdddetipc: call tipc_lxc_xmit without holding node_read_lock4be43e46c3net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()8e3f9ac009ipv4: Fix incorrect route flushing when table ID 0 is used5211e5ff9dipv4: Fix incorrect route flushing when source address is deleted36e248269atipc: Fix potential OOB in tipc_link_proto_rcv()93aaa4bb72net: hisilicon: Fix potential use-after-free in hix5hd2_rx()296a50aa8bnet: hisilicon: Fix potential use-after-free in hisi_femac_rx()8d1aed7a11net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wqa5cfbc1995ip_gre: do not report erspan version on GRE interface696e34d54cnet: stmmac: fix "snps,axi-config" node property parsingca26f45083nvme initialize core quirks before calling nvme_init_subsystem27eb2d7a1bNFC: nci: Bounds check struct nfc_target arraysa2506b19d7i40e: Disallow ip4 and ip6 l4_4_bytes8329b65e34i40e: Fix for VF MAC address 0215f3ac53bi40e: Fix not setting default xps_cpus after reset146ebee8fcnet: mvneta: Prevent out of bounds read in mvneta_config_rss()e6860c889fxen-netfront: Fix NULL sring after live migration3d3b30718anet: encx24j600: Fix invalid logic in reading of MISTAT register51ba1820e7net: encx24j600: Add parentheses to fix precedence42c319635cmac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()4c693330ceselftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offloadbccda3ad07net: dsa: ksz: Check return valuee7b9504581Bluetooth: Fix not cleanup led when bt_init fails1717354d77Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()80c69b31aavmxnet3: correctly report encapsulated LRO packet575a6266f6af_unix: Get user_ns from in_skb in unix_diag_get_exact().6c788c0a25drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420de918d9738igb: Allocate MSI-X vector when testing6595c9208de1000e: Fix TX dispatch condition5ee6413d3dgpio: amd8111: Fix PCI device reference count leakb9aca69a6cdrm/bridge: ti-sn65dsi86: Fix output polarity setting bugb46e8c50c3netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark0a8e66e375ca8210: Fix crash by zero initializing data27c71825ffieee802154: cc2520: Fix error return code in cc2520_hw_init()a0418d0a6bnetfilter: nft_set_pipapo: Actually validate intervals in fields after the first onecb283cca1drtc: mc146818-lib: fix signedness bug in mc146818_get_time()5c432383b6rtc: mc146818-lib: fix locking in mc146818_set_time5e26531d81rtc: cmos: Disable irq around direct invocation of cmos_interrupt()fccee93eb2mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb pagec42221efb1can: af_can: fix NULL pointer dereference in can_rcv_filterbc03f809daHID: core: fix shift-out-of-bounds in hid_report_raw_event959a23a4d1HID: hid-lg4ff: Add check for empty lbuf4dde75945aHID: usbhid: Add ALWAYS_POLL quirk for some mice11e95d85c3drm/shmem-helper: Avoid vm_open error paths6a4da05acddrm/shmem-helper: Remove errant put in error path007f561f59drm/vmwgfx: Don't use screen objects when SEV is active3cb78c3925KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field549b46f813Bluetooth: Fix crash when replugging CSR fake controllers380d183e99Bluetooth: btusb: Add debug message for CSR controllersf1cf856123mm/gup: fix gup_pud_range() for daxf1f7f36cf6memcg: fix possible use-after-free in memcg_write_event_control()32f01f0306media: v4l2-dv-timings.c: fix too strict blanking sanity checks043b2bc96cRevert "ARM: dts: imx7: Fix NAND controller size-cells"abfb8ae69bmedia: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()83632fc414xen/netback: don't call kfree_skb() with interrupts disabled3eecd2bc10xen/netback: do some code cleanup49e07c0768xen/netback: Ensure protocol headers don't fall in the non-linear areadb44a9443ertc: mc146818: Reduce spinlock section in mc146818_set_time()17293d630frtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQacfd8ef683rtc: cmos: avoid UIP when reading alarm time949bae0282rtc: cmos: avoid UIP when writing alarm time33ac73a41artc: mc146818-lib: extract mc146818_avoid_UIP8bb5fe5830rtc: mc146818-lib: fix RTC presence check775d4661f1rtc: Check return value from mc146818_get_time()b9a5c470e0rtc: mc146818-lib: change return values of mc146818_get_time()94eaf9966ertc: cmos: remove stale REVISIT commentsf5b51f8550rtc: mc146818: Dont test for bit 0-5 in Register D3736972360rtc: mc146818: Detect and handle broken RTCs7c7075c88drtc: mc146818: Prevent reading garbage7f445ca2e0mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths4a1cdb49d0mm/khugepaged: fix GUP-fast interaction by sending IPIcdfd3739b2mm/khugepaged: take the right locks for page table retraction1c0eec6a1dnet: usb: qmi_wwan: add u-blox 0x1342 compositiona8c5ffb4df9p/xen: check logical size for buffer sizeec36ebae36usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transferd9b53caf01fbcon: Use kzalloc() in fbcon_prepare_logo()8b130c770dregulator: twl6030: fix get status of twl6032 regulatorsf6f45e5383ASoC: soc-pcm: Add NULL check in BE reparenting688a45aff2btrfs: send: avoid unaligned encoded writes when attempting to clone range15c42ab8d4ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_eventd38e021416regulator: slg51000: Wait after asserting CS pin1331bcfcac9p/fd: Use P9_HDRSZ for header size96b43f36a5ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188ddf58f5939ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 registerdbd78abd69ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementationbb1866cf1eARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernelsb1f40a0cdfARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name5f9474d07barm64: dts: rockchip: fix ir-receiver node names060d58924aARM: dts: rockchip: fix ir-receiver node names3e0c466771arm: dts: rockchip: fix node name for hym8563 rtc3ada63a876arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series202ee06349Revert "mmc: sdhci: Fix voltage switch delay"0b0939466fANDROID: gki_defconfig: add CONFIG_FUNCTION_ERROR_INJECTION5ab4c6b843Merge 5.10.158 into android12-5.10-lts592346d5dcLinux 5.10.158cc1b4718ccipc/sem: Fix dangling sem_array access in semtimedop raced072a10c81v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails9ba389863aproc: proc_skip_spaces() shouldn't think it is working on C strings4aa32aaef6proc: avoid integer type confusion in get_proc_long5f2f775605block: unhash blkdev part inode when the part is deleteda82869ac52Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()4e0d6c687cchar: tpm: Protect tpm_pm_suspend with locks5a6f935ef3Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"f075cf139fACPI: HMAT: Fix initiator registration for single-initiator systemsf3b76b4d38ACPI: HMAT: remove unnecessary variable initialization63e72417a1i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag setdf76136598i2c: npcm7xx: Fix error handling in npcm_i2c_init()7462cd2443x86/pm: Add enumeration check before spec MSRs save/restore setup5e3d4a68e2x86/tsx: Add a feature bit for TSX control MSR supportb7f7a0402eRevert "tty: n_gsm: avoid call of sleeping functions from atomic context"481f9ed8ebipv4: Fix route deletion when nexthop info is not specified0b5394229eipv4: Handle attempt to delete multipath route when fib_info contains an nh reference4919503426selftests: net: fix nexthop warning cleanup double ip typo7ca14c5f24selftests: net: add delete nexthop route warning testf09ac62f0eKconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled19d91d3798parisc: Increase FRAME_WARN to 2048 bytes on pariscfcf20da099xtensa: increase size of gcc stack frame checka1877001edparisc: Increase size of gcc stack frame checka5c65cd56aiommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()10ed7655a1iommu/vt-d: Fix PCI device refcount leak in has_external_pci()302edce1ddpinctrl: single: Fix potential division by zerob50c964189ASoC: ops: Fix bounds check for _sx controlsa2efc46524io_uring: don't hold uring_lock when calling io_run_task_work*be111ebd88tracing: Free buffers when a used dynamic event is removed648b92e576drm/i915: Never return 0 if not all requests retired8649c023c4drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame940b774069mmc: sdhci: Fix voltage switch delayed19662453mmc: sdhci-sprd: Fix no reset data and command after voltage switchef767907e7mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check46ee041cd6mmc: core: Fix ambiguous TRIM and DISCARD argb79be962b5mmc: mmc_test: Fix removal of debugfs filed4fc344c0dnet: stmmac: Set MAC's flow control register to reflect current settings549e24409apinctrl: intel: Save and restore pins in "direct IRQ" mode471fb7b735x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3e858917ab7nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()6ddf788400tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"c099d12c55error-injection: Add prompt for function error injection26b6f927bbriscv: vdso: fix section overlapping under some conditions2b1d8f27e2net/mlx5: DR, Fix uninitialized var warningc40db1e5f3hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()f06e0cd01ehwmon: (coretemp) Check for null before removing sysfs attrsd93522d04fnet: ethernet: renesas: ravb: Fix promiscuous mode after system resumed176ee6c673sctp: fix memory leak in sctp_stream_outq_migrate()1c38c88accpacket: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE5f442e1d40net: tun: Fix use-after-free in tun_detach()5fa0fc5876afs: Fix fileserver probe RTT handling7ca81a161enet: hsr: Fix potential use-after-freea1ba595e35tipc: re-fetch skb cb after tipc_msg_validate4621bdfff5dsa: lan9303: Correct stat name45752af024net: ethernet: nixge: fix NULL dereferencee01c154237net/9p: Fix a potential socket leak in p9_socket_openb080d4668fnet: net_netdev: Fix error handling in ntb_netdev_init_module()fe6bc99c27net: phy: fix null-ptr-deref while probe() failed0184ede0ecwifi: mac8021: fix possible oob access in ieee80211_get_rate_duratione2ed90fd3awifi: cfg80211: don't allow multi-BSSID in S1G9e6b79a3cdwifi: cfg80211: fix buffer overflow in elem comparison6922948c2eaquantia: Do not purge addresses when setting the number of ringsfa59d49a49qlcnic: fix sleep-in-atomic-context bugs caused by msleepd753f554f2can: cc770: cc770_isa_probe(): add missing free_cc770dev()e74746bf04can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()0d2f9d95d9net/mlx5e: Fix use-after-free when reverting termination table2cb84ff349net/mlx5: Fix uninitialized variable bug in outlen_write()b775f37d94e100: Fix possible use after free in e100_xmit_prepare086f656e44e100: switch from 'pci_' to 'dma_' API971c55f076iavf: Fix error handling in iavf_init_module()d389a4c698iavf: remove redundant ret variablefd4960ea53fm10k: Fix error handling in fm10k_init_module()dd425cec79i40e: Fix error handling in i40e_init_module()f166c62cadixgbevf: Fix resource leak in ixgbevf_init_module()8f7047f418of: property: decrement node refcount in of_fwnode_get_reference_args()be006212bdbpf: Do not copy spin lock field from user in bpf_selem_alloc90907cd4d1hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails7649bba263hwmon: (i5500_temp) fix missing pci_disable_device()dddfc03f04hwmon: (ina3221) Fix shunt sum critical calculation984fcd3ec1hwmon: (ltc2947) fix temperature scaling8a549ab672libbpf: Handle size overflow for ringbuf mmapcc140c729cARM: at91: rm9200: fix usb device clock id592724b14dscripts/faddr2line: Fix regression in name resolution on ppc64le353c3aaaf3bpf, perf: Use subprog name when reporting subprog ksymbold48f6a5784iio: light: rpr0521: add missing Kconfig dependencies5eb114f55biio: health:afe4404: Fix oob read in afe4404_[read|write]_rawb1756af172iio: health: afe4403: Fix oob read in afe4403_read_raw01d7c41eacbtrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()d3f5be8246drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"00570fafc2drm/amdgpu: update drm_display_info correctly when the edid is read44b204730bdrm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code1faf21bdd1btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker6050872f9fspi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock7b020665d4btrfs: free btrfs_path before copying inodes to userspaced5b7a34379btrfs: sink iterator parameter to btrfs_ioctl_logical_to_inof3226d86f8Revert "xfrm: fix "disable_policy" on ipv4 early demux"982d7f3eb8Merge 5.10.157 into android12-5.10-lts37d3df60cbANDROID: CRC ABI fixups in ip.h and ipv6.hf4245f0538Linux 5.10.1574801672fb0fuse: lock inode unconditionally in fuse_fallocate()86f0082fb9drm/i915: fix TLB invalidation for Gen12 video and compute enginesfeb97cf45edrm/amdgpu: always register an MMU notifier for userptr596b7d55d7drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASANc86c1a7037btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()1581830c0ebtrfs: free btrfs_path before copying subvol info to userspace0bdb8f7ef8btrfs: free btrfs_path before copying fspath to userspace24a37ba2cbbtrfs: free btrfs_path before copying root refs to userspaceb56d6e5585genirq: Take the proposed affinity at face value if force==true9d90a2b98eirqchip/gic-v3: Always trust the managed affinity provided by the core codee0d2c59ee9genirq: Always limit the affinity to online CPUsf8f80d532fgenirq/msi: Shutdown managed interrupts with unsatifiable affinities3eb6b89a4ewifi: wilc1000: validate number of channels5a068535c0wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute905f886eaewifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute7c6535fb4dwifi: wilc1000: validate pairwise and authentication suite offsets64b7f9a7dddm integrity: clear the journal on suspendd306f73079dm integrity: flush the journal on suspend79d9a11679gpu: host1x: Avoid trying to use GART on Tegra20a7f30b5b8dnet: usb: qmi_wwan: add Telit 0x103a composition7e8eaa939etcp: configurable source port perturb table size0acc008cf9platform/x86: hp-wmi: Ignore Smart Experience App event0964b77babzonefs: fix zone report size in __zonefs_io_error()a5937dae66platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)52fb7bcea0platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()4fa717ba2dxen/platform-pci: add missing free_irq() in error pathf45a5a6c9fxen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too9bbb587472Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]4ea4316dffInput: soc_button_array - add use_low_level_irq module parameterc1620e996dInput: goodix - try resetting the controller when no config is setf4db050958serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()7c3e39ccf5ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-0136e0b97619Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI modeae9e0cc973binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0017de84253binder: Address corner cases in deferred copy and fixup2e3c27f241binder: fix pointer cast warningc9d3f25a7fbinder: defer copies of pre-patched txn data5204296fc7binder: read pre-translated fds from sender buffer23e9d815fabinder: avoid potential data leakage when copying txn22870431cdx86/ioremap: Fix page aligned size calculation in __ioremap_caller()3fdeacf087KVM: x86: remove exit_int_info warning in svm_handle_exit7e5cb13091KVM: x86: nSVM: leave nested mode on vCPU freed925dd3e44mm: vmscan: fix extreme overreclaim and swap floodsa4a62a23fagcov: clang: fix the buffer overflow issuee7f21d10e9nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirtyf06b7e6a77usb: dwc3: gadget: Clear ep descriptor lastcff7523ab8usb: dwc3: gadget: Return -ESHUTDOWN on ep disablea32635528dusb: dwc3: gadget: conditionally remove requestsca3a08e9d9ceph: fix NULL pointer dereference for req->r_session00c004c070ceph: Use kcalloc for allocating multiple elements69263bf781ceph: fix possible NULL pointer dereference for req->r_session8e137ace53ceph: put the requests/sessions when it fails to alloc memory38993788f4ceph: fix off by one bugs in unsafe_request_wait()8a31ae7f77ceph: flush the mdlog before waiting on unsafe reqs78b2f546f7ceph: flush mdlog before umountingd94ba7b3b7ceph: make iterate_sessions a global symbol9ac038d3c2ceph: make ceph_create_session_msg a global symbol8382cdf0abusb: cdns3: Add support for DRD CDNSP57112da86bmmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCIb5d770977bmmc: sdhci-brcmstb: Enable Clock Gating to save power049194538cmmc: sdhci-brcmstb: Re-organize flagsfbe955be26nios2: add FORCE for vmlinuz.gzc0a9c9973dinit/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash456e895fd0iio: core: Fix entry not deleted when iio_register_sw_trigger_type() failsfa9efcbfbfiio: light: apds9960: fix wrong register for gesture gainbd1b8041c2arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency86ba9c8595ext4: fix use-after-free in ext4_ext_shift_extents350e98a08ausb: dwc3: exynos: Fix remove() functiond21d26e65blib/vdso: use "grep -E" instead of "egrep"c0cf8bc259net: enetc: preserve TX ring priority across reconfigurationde4dd4f9b3net: enetc: cache accesses to &priv->si->hw1f080b8caanet: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled1d840c5d67s390/crashdump: fix TOD programmable field size11052f1188net: thunderx: Fix the ACPI memory leakb034fe2a08nfc: st-nci: fix memory leaks in EVT_TRANSACTIONe14583073fnfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION9cc863d523arcnet: fix potential memory leak in com20020_probe()4d2be0cf27net: arcnet: Fix RESET flag handlinge61b00374as390/dasd: fix no record found for raw_track_accessaeebb07499ipv4: Fix error return code in fib_table_insert()c0af4d005adccp/tcp: Reset saddr on failure after inet6?_hash_connect().b8e494240enetfilter: flowtable_offload: add missing lockingaf9de5cdcbdma-buf: fix racing conflict of dma_heap_add()c40b76dfa7bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()f81e9c0510regulator: twl6030: re-add TWL6032_SUBCLASS32b944b9c4NFC: nci: fix memory leak in nci_rx_data_packet()68a7aec3f4net: sched: allow act_ct to be built without NF_NAT8e2664e12bsfc: fix potential memleak in __ef100_hard_start_xmit()6b638a16eaxfrm: Fix ignored return value in xfrm6_init()c7788361a6tipc: check skb_linearize() return value in tipc_disc_rcv()4058e3b74atipc: add an extra conn_get in tipc_conn_alloce87a077d09tipc: set con sock in tipc_conn_alloc891daa95b0net/mlx5: Fix handling of entry refcount when command is not issued to FWe06ff9f8fenet/mlx5: Fix FW tracer timestamp calculation5689eba90anetfilter: ipset: regression in ip_set_hash_ip.ce62e62ea91netfilter: ipset: Limit the maximal range of consecutive elements to add/delete8dca384970Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()909186cf34Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()f42802e14amacsec: Fix invalid error code set72be055615nfp: add port from netdev validation for EEPROM accessce41e03cacnfp: fill splittable of devlink_port_attrs correctly0b553ded34net: pch_gbe: fix pci device refcount leak while module exiting2c59ef9ab6net/qla3xxx: fix potential memleak in ql3xxx_send()a24d5f6c8bnet/mlx4: Check retval of mlx4_bitmap_initda86a63479net: ethernet: mtk_eth_soc: fix error handling in mtk_open()756534f7cfARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties290a71ff72ARM: mxs: fix memory leak in mxs_machine_init()5c97af75f5netfilter: conntrack: Fix data-races around ct mark459332f8db9p/fd: fix issue of list_del corruption in p9_fd_cancel()26bb8f6aaanet: pch_gbe: fix potential memleak in pch_gbe_tx_queue()398a860a44nfc/nci: fix race with opening and closing3535c632e6rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]23c03ee0eerxrpc: Use refcount_t rather than atomic_tbddde342c6rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proca2d5dba2fcnet: liquidio: simplify if expression8124a02e17ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrlb547bf71fatee: optee: fix possible memory leak in optee_register_device()b76c5a99f4bus: sunxi-rsb: Support atomic transfers0c059b7d2aregulator: core: fix UAF in destroy_regulator()fcb2d28636spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()0b6441abfaregulator: core: fix kobject release warning and memory leak in regulator_register()26d3d3ffa8scsi: storvsc: Fix handling of srb_status and capacity change eventsc34db0d6b8ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()4f6c7344abASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove164a5b50d1ASoC: hdac_hda: fix hda pcm buffer overflow issue7cfb4b8579ARM: dts: am335x-pcm-953: Define fixed regulators in root nodeb7000254c1af_key: Fix send_acquire race with pfkey_register51969d679bxfrm: replay: Fix ESN wrap around for GSO497653f6d2xfrm: fix "disable_policy" on ipv4 early demux836bbdfcf8MIPS: pic32: treat port as signed integerc0bb600f07RISC-V: vdso: Do not add missing symbols to version section in linker script81cc6d8400arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.fa5f2c72d3block, bfq: fix null pointer dereference in bfq_bio_bfqg()d29bde8689drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)f7ce6fb04escsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC2574903ee2scsi: ibmvfc: Avoid path failures during live migration7fc62181c1platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1f54a11b6bfRevert "net: macsec: report real_dev features when HW offloading is enabled"f4b8c0710aselftests/bpf: Add verifier test for release_reference()361a165098spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run2c1ca23555wifi: mac80211: Fix ack frame idr leak when mesh has no route8d39913158wifi: airo: do not assign -1 to unsigned char8552e6048eaudit: fix undefined behavior in bit shift for AUDIT_BIT1c9eb641d1riscv: dts: sifive unleashed: Add PWM controlled LEDs92ae6facd1wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support2fcc593b50wifi: mac80211: fix memory free error when registering wiphy fail044bc6d3c2ceph: avoid putting the realm twice when decoding snaps failsd43219bb33ceph: do not update snapshot context when there is no new snapshot49c71b6814iio: pressure: ms5611: fixed value compensation bug879139bc7aiio: ms5611: Simplify IO callback parameters80c825e1e3nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitrof4066fb910nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH4f0cea018edrm/display: Don't assume dual mode adaptors support i2c sub-addressing347f1793b5bridge: switchdev: Fix memory leaks when changing VLAN protocol89a7f155e6bridge: switchdev: Notify about VLAN protocol changesf5cbd86ebfata: libata-core: do not issue non-internal commands once EH is pending4034d06a4data: libata-scsi: simplify __ata_scsi_queuecmd()03aabcb88ascsi: scsi_transport_sas: Fix error handling in sas_phy_add()d9b90a99f3Merge 5.10.156 into android12-5.10-lts25af5a11f1Merge 5.10.155 into android12-5.10-ltse5d2cd6ad8ANDROID: abi preservation for fscrypt change in 5.10.1545bc3ece380Revert "serial: 8250: Let drivers request full 16550A feature probing"f466ca1247Merge 5.10.154 into android12-5.10-lts6d46ef50b1Linux 5.10.1567be134eb69Revert "net: broadcom: Fix BCMGENET Kconfig"957732a09cntfs: check overflow when iterating ATTR_RECORDs6322dda483ntfs: fix out-of-bounds read in ntfs_attr_find()b825bfbbaantfs: fix use-after-free in ntfs_attr_find()294ef12dccmm: fs: initialize fsdata passed to write_begin/write_end interfacea8e2fc8f7b9p/trans_fd: always use O_NONBLOCK read/writea5da76df46gfs2: Switch from strlcpy to strscpy5fa30be7bagfs2: Check sb_bsize_shift after reading superblockf14858bc779p: trans_fd/p9_conn_cancel: drop client lock earlier4154b6afa2kcm: close race conditions on sk_receive_queue7deb7a9d33kcm: avoid potential race in kcm_tx_work35309be06btcp: cdg: allow tcp_cdg_release() to be called multiple timese929ec98c0macvlan: enforce a consistent minimal mtu95ebea5a15uapi/linux/stddef.h: Add include guards3f25add5ecInput: i8042 - fix leaking of platform device on module removal7d606ae1abkprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case89ece5ff7dscsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()75205f1b47scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()6e9334436dnet: use struct_group to copy ip/ipv6 header addresses9fd7bdaffestddef: Introduce struct_group() helper macro47c3bdd955usbnet: smsc95xx: Fix deadlock on runtime resume8208c266fering-buffer: Include dropped pages in counting dirty patches36b5095b07net: fix a concurrency bug in l2tp_tunnel_register()023435a095nvme: ensure subsystem reset is single threadedb9a5ecf241nvme: restrict management ioctls to admin5e2f14d772perf/x86/intel/pt: Fix sampling using single range output62634b43d3misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()c1eb46a65bdocs: update mediator contact information in CoC doc4423866d31mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()440653a180mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout8e70b14131mmc: core: properly select voltage range without power cycle05b0f6624dfirmware: coreboot: Register bus in module initdeda86a0d8iommu/vt-d: Set SRE bit only when hardware has SRS capd2c7d8f58escsi: zfcp: Fix double free of FSF request when qdio send failsdb744288afmaccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()24cc679abbInput: iforce - invert valid length check when fetching device IDs5f4611fe01serial: 8250_lpss: Configure DMA also w/o DMA filter8679087e93serial: 8250: Flush DMA Rx on RLSIa5eaad87bfserial: 8250: Fall back to non-DMA Rx if IIR_RDI occursf59f5a269cdm ioctl: fix misbehavior if list_versions races with module loading67a75a9480iio: pressure: ms5611: changed hardcoded SPI speed to value limitedd95b85c508iio: adc: mp2629: fix potential array out of bound access46b8bc62c5iio: adc: mp2629: fix wrong comparison of channel8dddf2699diio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()85d2a8b287iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()85cc1a2fd8usb: typec: mux: Enter safe mode only when pins need to be reconfiguredefaab05520usb: chipidea: fix deadlock in ci_otg_del_timer143ba5c2d2usb: add NO_LPM quirk for Realforce 87U Keyboard249cef723fUSB: serial: option: add Fibocom FM160 0x0111 composition5c44c60358USB: serial: option: add u-blox LARA-L6 modem0e88a3cfa6USB: serial: option: add u-blox LARA-R6 00B modemde707957d9USB: serial: option: remove old LARA-R6 PID878227a3ddUSB: serial: option: add Sierra Wireless EM919125c652811dUSB: bcma: Make GPIO explicitly optionaleb3af3ea5bspeakup: fix a segfault caused by switching consoles8cbaf4ed53slimbus: stream: correct presence rate frequencies15155f7c0eRevert "usb: dwc3: disable USB core PHY management"100d1e53bbALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360c7dcc89482ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Proa80369c8caALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()28a54854a9tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()bb70fcae41tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()315b149f08tracing: Fix wild-memory-access in register_synth_event()65ba7e7c24tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()5d4cc7bc1atracing/ring-buffer: Have polling block on watermark5fdebbeca5ring_buffer: Do not deactivate non-existant pages6a14828cadftrace: Fix null pointer dereference in ftrace_add_mod()6ed60c60ecftrace: Optimize the allocation for mcount entries9569eed79bftrace: Fix the possible incorrect kernel message5fc19c8313cifs: add check for returning value of SMB2_set_info_init0aeb0de528net: thunderbolt: Fix error handling in tbnet_init()e13ef43813cifs: Fix wrong return value checking when GETFLAGS9f00da9c86net/x25: Fix skb leak in x25_lapb_receive_frame()94822d2331net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()3aeb13bc3dcifs: add check for returning value of SMB2_close_initc24013273eplatform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized9ed51414aedrbd: use after free in drbd_create_device()6b23a4b252net: ena: Fix error handling in ena_init()2d5a495501net: ionic: Fix error handling in ionic_init_module()bb9924a6edxen/pcpu: fix possible memory leak in register_pcpu()d6a561bd4cbnxt_en: Remove debugfs when pci_register_driver failed389738f5dbnet: caif: fix double disconnect client in chnl_net_open()fb5ee1560bnet: macvlan: Use built-in RCU list checking709aa1f73dmISDN: fix misuse of put_device() in mISDN_register_device()417f2d2edfnet: liquidio: release resources when liquidio driver open failed4cba73f2d6net: hinic: Fix error handling in hinic_module_init()083a2c9ef8mISDN: fix possible memory leak in mISDN_dsp_element_register()6b23993d5bnet: bgmac: Drop free_netdev() from bgmac_enet_remove()1f6a73b25dbpf: Initialize same number of free nodes for each pcpu_freelistef2ac07ab8ata: libata-transport: fix error handling in ata_tdev_add()7377a14598ata: libata-transport: fix error handling in ata_tlink_add()b5362dc163ata: libata-transport: fix error handling in ata_tport_add()ac471468f7ata: libata-transport: fix double ata_host_put() in ata_tport_add()ac4f404c25arm64: dts: imx8mn: Fix NAND controller size-cells30ece7dbeearm64: dts: imx8mm: Fix NAND controller size-cellsf68a9efd78ARM: dts: imx7: Fix NAND controller size-cells1d160dfb3fdrm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()c47a823ea1drm/drv: Fix potential memory leak in drm_dev_init()c776a49d09drm/panel: simple: set bpc field for logic technologies displays777430aa4dpinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_mapbce3e6fe8bparport_pc: Avoid FIFO port location truncationa4b5423f88siox: fix possible memory leak in siox_device_add()0679f571d3arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro58636b5ff3block: sed-opal: kmalloc the cmd/resp bufferse27458b18bsctp: clear out_curr if all frag chunks of current msg are pruned0b4c259b63sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent7360e7c29dASoC: soc-utils: Remove __exit for snd_soc_util_exit()e60f37a1d3bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()b8fe1a5aa7tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send0a3160f4ffserial: imx: Add missing .thaw_noirq hook7e1f908e65serial: 8250: omap: Flush PM QOS work on removed833cba201serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()b0b6ea651eserial: 8250_omap: remove wait loop from Errata i202 workaroundf14c312c21serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()85cdbf04b4serial: 8250: Remove serial_rs485 sanitization from em485f5dedad405ASoC: tas2764: Fix set_tdm_slot in case of single slot9e82d78fbeASoC: tas2770: Fix set_tdm_slot in case of single slot8d21554ec7ASoC: core: Fix use-after-free in snd_soc_exit()38ca9bd336spi: stm32: Print summary 'callbacks suppressed' messagea180da5564drm/amdgpu: disable BACO on special BEIGE_GOBY cardf3adf0adf3drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cardsb0faeff69adrm/amd/pm: Read BIF STRAP also for BACO check6958556285drm/amd/pm: support power source switch on Sienna Cichlid7daab001a6mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA65ac4d1807spi: intel: Use correct mask for flash and protected regions23793518a7mtd: spi-nor: intel-spi: Disable write protection only if askeda326fffdc7ALSA: hda/realtek: fix speakers and micmute on HP 855 G824839d027cASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"bd48793240Bluetooth: L2CAP: Fix l2cap_global_chan_by_psmce75e90859btrfs: remove pointless and double ulist frees in error paths of qgroup tests16743c4bf3drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_validdf2747f295i2c: i801: add lis3lv02d's I2C address for Vostro 5568959cb0fd69i2c: tegra: Allocate DMA memory for DMA engine6cb657722eNFSv4: Retry LOCK on OLD_STATEID during delegation returnf0187227e2drm/amd/display: Remove wrong pipe control lockbb3edbd092ASoC: rt1308-sdw: add the default value of some registersb1619f0307selftests/intel_pstate: fix build for ARCH=x86_64fdf6807606selftests/futex: fix build for clangc1f0defecbASoC: codecs: jz4725b: fix capture selector namingaeb7e8bc0dASoC: codecs: jz4725b: use right control for Capture Volumec87945c173ASoC: codecs: jz4725b: fix reported volume for Master ctl9aae00961aASoC: codecs: jz4725b: add missed Line In power control bit0b4d650f90spi: intel: Fix the offset to get the 64K erase opcode6910e7279fASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPKc7432616f6ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probea47606064cASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"f8f254c8b5ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"c73aa2cc41ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"673a7341bdMerge 5.10.153 into android12-5.10-lts27b36ba7c2Merge 5.10.152 into android12-5.10-ltsbf759deb0fMerge 5.10.151 into android12-5.10-lts6b31c548a1ANDROID: fix up struct sk_buf ABI breakagebd66e91ad2ANDROID: fix up CRC issue with struct tcp_sock3905cfd1d6Revert "serial: 8250: Toggle IER bits on only after irq has been set up"41217963b1Linux 5.10.1550f544353feio_uring: kill goto error handling in io_sqpoll_wait_sq()154d744fbex86/cpu: Restore AMD's DE_CFG MSR after resumee7294b01demmc: sdhci-esdhc-imx: Convert the driver to DT-only534762e261net: tun: call napi_schedule_prep() to ensure we own a napi367bc0fa98dmaengine: at_hdmac: Check return code of dma_async_device_register85f97c97efdmaengine: at_hdmac: Fix impossible conditionf53a233eaadmaengine: at_hdmac: Don't allow CPU to reorder channel enablef451285522dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors6be4ab08c8dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardwarea35dd5dd98dmaengine: at_hdmac: Fix concurrency over the active list0f603bf553dmaengine: at_hdmac: Free the memset buf without holding the chan lock7f07cecc74dmaengine: at_hdmac: Fix concurrency over descriptor1582cc3b48dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()9b69060a72dmaengine: at_hdmac: Protect atchan->status with the channel lockee35682261dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all7078e935b4dmaengine: at_hdmac: Fix premature completion of desc in issue_pendingad4cbe8e9cdmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending24f9e93e50dmaengine: at_hdmac: Don't start transactions at tx_submit level4b51cce72admaengine: at_hdmac: Fix at_lli struct definitiond37dfb9357cert host tools: Stop complaining about deprecated OpenSSL functionsf8e0edeaa0can: j1939: j1939_send_one(): fix missing CAN header initialization0b692d41eemm/memremap.c: map FS_DAX device memory as decrypted03f9582a6audf: Fix a slab-out-of-bounds write bug in udf_find_entry()4ea3aa3b98mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI9c0accfa5abtrfs: selftests: fix wrong error check in btrfs_free_dummy_root()8fa0c22ef8platform/x86: hp_wmi: Fix rfkill causing soft blocked wifib5ee579fcbdrm/i915/dmabuf: fix sg_table handling in map_dma_buf4feedde548nilfs2: fix use-after-free bug of ns_writer on remount1d4ff73062nilfs2: fix deadlock in nilfs_count_free_blocks()344ddbd688ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure516f9f2300vmlinux.lds.h: Fix placement of '.data..decrypted' sectionf6896fb69dALSA: usb-audio: Add DSD support for Accuphase DAC-602032c2d32bALSA: usb-audio: Add quirk entry for M-Audio Microa414a6d6efALSA: hda/realtek: Add Positivo C6300 model quirk3a79f9568dALSA: hda: fix potential memleak in 'add_widget_node'380d64168dALSA: hda/ca0132: add quirk for EVGA Z390 DARK181cfff57bALSA: hda/hdmi - enable runtime pm for more AMD display audioea6787e482mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI0a8d4531a0mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI3f558930admmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCIb55e64d0a3mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI4631cb0406MIPS: jump_label: Fix compat branch range check475fd3991aarm64: efi: Fix handling of misaligned runtime regions and drop warning94ab8f88feriscv: fix reserved memory setup0cf9cb0614riscv: Separate memory init from paging initd7716240bcriscv: Enable CMA supportecf78af514riscv: vdso: fix build with llvme56d18a976riscv: process: fix kernel info leakage956e0216a1net: macvlan: fix memory leaks of macvlan_common_newlink59ec132386ethernet: tundra: free irq when alloc ring failed in tsi108_open()dd7beaec8bnet: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()56d3b5531bethernet: s2io: disable napi when start nic failed in s2io_card_up()05b2228434net: atlantic: macsec: clear encryption keys from the stack1a4e495edfnet: phy: mscc: macsec: clear encryption keys when freeing a flow4ad684ba02cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()38aa7ed8c2net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()fd52dd2d6enet: cpsw: disable napi in cpsw_ndo_open()3b27e20601net/mlx5e: E-Switch, Fix comparing termination table instanceeb6fa0ac2anet/mlx5: Allow async trigger completion execution on single CPU systemsbdd282bba7net: nixge: disable napi when enable interrupts failed in nixge_open()5333cf1b7fnet: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()cf4853880eperf stat: Fix printing os->prefix in CSV metrics output3a4a3c3b1fdrivers: net: xgene: disable napi when register irq failed in xgene_enet_open()0b7ee3d50fdmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()6e2ffae69ddmaengine: pxa_dma: use platform_get_irq_optionalf31dd15858tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_headerfbb4e8e6dcnet: broadcom: Fix BCMGENET Kconfigcb6d639bb1net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()d68fa77ee3can: af_can: fix NULL pointer dereference in can_rx_register()a033b86c7fipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network02f8dfee75tcp: prohibit TCP_REPAIR_OPTIONS if data was already sentf3aa8a7d95drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()bcb3bb1069hamradio: fix issue of dev reference count leakage in bpq_device_event()bc4591a86bnet: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()2bf8b1c111KVM: s390: pv: don't allow userspace to set the clock under PVa60cc64db7KVM: s390x: fix SCK lockingfcbd2b3368capabilities: fix undefined behavior in bit shift for CAP_TO_MASK8aae24b0ednet: fman: Unregister ethernet device on removale2c5ee3b62bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer38147073c9bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()3401f96402net: tun: Fix memory leaks of napi_get_fragsadaa0f180dmacsec: clear encryption keys from the stack after setting up offload9dc7503baemacsec: fix detection of RXSCs when toggling offloading7f4456f011macsec: fix secy->n_rx_sc accounting3b05d9073amacsec: delete new rxsc when offload fails50868de7dcnet: gso: fix panic on frag_list with mixed head alloc typescedd4f01f6bpf: Fix wrong reg type conversion in release_reference()9069db2579bpf: Add helper macro bpf_for_each_reg_in_vstate95b6ec7337bpf: Support for pointers beyond pkt_end.8597b59e3dHID: hyperv: fix possible memory leak in mousevsc_probe()8c80b2fca4bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILEcc21dc48a7bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queuese1e1218032wifi: cfg80211: fix memory leak in query_regdb_file()914cb94e73wifi: cfg80211: silence a sparse RCU warning72ea2fc299phy: stm32: fix an error code in probe925bf1ba76hwspinlock: qcom: correct MMIO max register for newer SoCs76eba54f0dfuse: fix readdir cache race7bcea6c5c9ANDROID: gki_defconfig: remove CONFIG_INIT_STACK_ALL_ZERO=yd2bc3376cdRevert "serial: 8250: Fix restoring termios speed after suspend"0b500f5b16Merge 5.10.150 into android12-5.10-ltsf5b40c0eb9Linux 5.10.154bf506e366dipc: remove memcg accounting for sops objects in do_semtimedop()c6678c8f4fwifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()a6c57adec5drm/i915/sdvo: Setup DDC fully before output initb86830cc95drm/i915/sdvo: Filter out invalid outputs more sensibly9f3b867808drm/rockchip: dsi: Force synchronous probe23f1fc7ce5ext4,f2fs: fix readahead of verity datae5cef906cbKVM: x86: emulator: update the emulation mode after CR0 writece9261acccKVM: x86: emulator: introduce emulator_recalc_and_set_modec8a2fd7a71KVM: x86: emulator: em_sysexit should update ctxt->modee0c7410378KVM: x86: Mask off reserved bits in CPUID.80000001H9302ebc1c2KVM: x86: Mask off reserved bits in CPUID.80000008Hcc40c5f3e9KVM: x86: Mask off reserved bits in CPUID.8000001AHbd64a88f36KVM: x86: Mask off reserved bits in CPUID.80000006H156451a67bext4: fix BUG_ON() when directory entry has invalid rec_len5370b965b7ext4: fix warning in 'ext4_da_release_space'c9598cf629parisc: Avoid printing the hardware path twice98f836e80dparisc: Export iosapic_serial_irq() symbol for serial port driver814af9a32bparisc: Make 8250_gsc driver dependend on CONFIG_PARISC29d106d086perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]98f6e7c337perf/x86/intel: Fix pebs event constraints for ICL3be2d66822efi: random: Use 'ACPI reclaim' memory for random seed83294f7c77efi: random: reduce seed size to 32 bytesf8e8cda869fuse: add file_modified() to fallocatecdf01c807ecapabilities: fix potential memleak on error path from vfs_getxattr_alloc()ff32d8a099tracing/histogram: Update document for KEYS_MAX size533bfacbactools/nolibc/string: Fix memcmp() implementationf100a02748kprobe: reverse kp->flags when arm_kprobe failedbef08acbe5tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()2bf33b5ea4tcp/udp: Make early_demux back namespacified.ea5f2fd464ftrace: Fix use-after-free for dynamic ftrace_ops06de93a47cbtrfs: fix type of parameter generation in btrfs_get_dentrye33ce54cefcoresight: cti: Fix hang in cti_disable_hw()015ac18be7binder: fix UAF of alloc->vma in race with munmap()836686e1a0memcg: enable accounting of ipc resourcese4e4b24b42mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times818c36b988tcp/udp: Fix memory leak in ipv6_renew_options().29997a6fa6fscrypt: fix keyring memory leak on mount failure391cceee6dfscrypt: stop using keyrings subsystem for fscrypt_master_key092401142bfscrypt: simplify master key locking54c13d3520ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devicesa0e2577cf3block, bfq: protect 'bfqd->queued' by 'bfqd->lock'26ca2ac091Bluetooth: L2CAP: Fix attempting to access uninitialized memory6b6f94fb9aBluetooth: L2CAP: Fix accepting connection request for invalid SPSMbfd5e62f9ai2c: piix4: Fix adapter not be removed in piix4_remove()fc3e2fa0a5arm64: dts: juno: Add thermal critical trip pointsb743ecf29cfirmware: arm_scmi: Make Rx chan_setup fail on memory errors29e8e9bfc2firmware: arm_scmi: Suppress the driver's bind attributesd7b1e2cbe0ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset160d8904b2efi/tpm: Pass correct address to memblock_reservec40b4d604bi2c: xiic: Add platform module alias5bf8c7798bdrm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case496eb203d0HID: saitek: add madcatz variant of MMO7 mouse device IDff06067b70scsi: core: Restrict legal sdev_state transitions via sysfs9edf20e5a1ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()be6e22f546media: meson: vdec: fix possible refcount leak in vdec_probe()c5fd54a65cmedia: dvb-frontends/drxk: initialize err to 07fdc58d8c2media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE1609231f86media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZEc46759e370media: rkisp1: Zero v4l2_subdev_format fields in when validating links3144ce5574media: rkisp1: Initialize color space on resizer sink and source pads6b24d9c2acs390/boot: add secure boot trailerefc6420d65xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices37bb57908dmtd: parsers: bcm47xxpart: Fix halfblock reads85e458369cmtd: parsers: bcm47xxpart: print correct offset on read errorec54104febfbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cardsf8c86d7829video/fbdev/stifb: Implement the stifb_fillrect() functione975d7aecammc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lakeafeae13b8ammc: sdhci-pci: Avoid comma separated statementsa06721767cmmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus59400c9b0ddrm/msm/hdmi: fix IRQ lifetime8225bdaec5drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag5dbb47ee89ipv6: fix WARNING in ip6_route_net_exit_late()1c89642e7fnet, neigh: Fix null-ptr-deref in neigh_table_clear()634f066d02net: mdio: fix undefined behavior in bit shift for __mdiobus_registerd9ec6e2fbdBluetooth: L2CAP: fix use-after-free in l2cap_conn_del()cb1c012099Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu0a0dead4adbtrfs: fix ulist leaks in error paths of qgroup self tests61e0612811btrfs: fix inode list leak during backref walking at find_parent_nodes()a52e24c7fcbtrfs: fix inode list leak during backref walking at resolve_indirect_refs()81204283eaisdn: mISDN: netjet: fix wrong check of device registratione77d213843mISDN: fix possible memory leak in mISDN_register_device()f06186e527rose: Fix NULL pointer dereference in rose_send_frame()2c8d81bdb2ipvs: fix WARNING in ip_vs_app_net_cleanup()931f56d59cipvs: fix WARNING in __ip_vs_cleanup_batch()d69328cdb9ipvs: use explicitly signed charsb2d7a92affnetfilter: nf_tables: release flow rule object from commit path3583826b44net: tun: fix bugs for oversize packet when napi frags enabled5960b9081bnet: sched: Fix use after free in red_enqueue()24f9c41435ata: pata_legacy: fix pdc20230_set_piomode()c85ee1c3cbnet: fec: fix improper use of NETDEV_TX_BUSY52438e734cnfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()0acfcd2aednfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()9ae2c9a91fnfc: nxp-nci: Fix potential memory leak in nxp_nci_send()eecea068bfNFC: nxp-nci: remove unnecessary labelse8c11ee2d0nfc: fdp: Fix potential memory leak in fdp_nci_send()31b83d6990nfc: fdp: drop ftrace-like debugging messages4e1e4485b2RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()d360e875c0RDMA/core: Fix null-ptr-deref in ib_core_cleanup()37a098fc9bnet: dsa: Fix possible memory leaks in dsa_loop_init()45aea4fbf6nfs4: Fix kmemleak when allocate slot failedf0f1c74fa6NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot10c554d722NFSv4.1: Handle RECLAIM_COMPLETE trunking errors4813dd737dNFSv4: Fix a potential state reclaim deadlock7c4260f8f1IB/hfi1: Correctly move list in sc_disable()87ac93c8ddRDMA/cma: Use output interface for net_dev check4dbb739eb2KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTERbb584caee8KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()9faacf442dKVM: x86: Protect the unused bits in MSR exiting flags5bdbccc79cx86/topology: Fix duplicated core ID within a package6c31fc028ax86/topology: Fix multiple packages shown on a single-package systemf5ad52da14x86/topology: Set cpu_die_id only if DIE_TYPE found570fa3bcd2KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)e5d7c6786bKVM: x86: Trace re-injected exceptions8364786152KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02523e1dd9f8KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01028fcabd8aserial: ar933x: Deassert Transmit Enable on ->rs485_config()e6da7808c9serial: 8250: Let drivers request full 16550A feature probing95aa34f721Linux 5.10.15326a2b9c468serial: Deassert Transmit Enable on probe in driver-specific way4a230f65d6serial: core: move RS485 configuration tasks from drivers into coreeb69c07ecacan: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO received5924531ddarm64/kexec: Test page size support with new TGRAN range valuesc911f03f8darm64/mm: Fix __enable_mmu() for new TGRAN range valuesd523384766scsi: sd: Revert "scsi: sd: Remove a local variable"52a43b8200arm64: Add AMPERE1 to the Spectre-BHB affected list9889ca7efanet: enetc: survive memory pressure without crashingfdba224ab0net/mlx5: Fix crash during sync firmware resetbbcc06933fnet/mlx5: Fix possible use-after-free in async command interface16376ba5cfnet/mlx5e: Do not increment ESN when updating IPsec ESN state0d88359092nh: fix scope used to find saddr when adding non gw nh3519b5ddacnet: ehea: fix possible memory leak in ehea_register_port()79631daa5aopenvswitch: switch from WARN to pr_warn00d6f33f67ALSA: aoa: Fix I2S device accountingce6fd1c382ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()97262705c0net: fec: limit register access on i.MX6ULdf67a8e625PM: domains: Fix handling of unavailable/disabled idle states1f262d8088net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()6170b4579fi40e: Fix flow-type by setting GL_HASH_INSET registers9abae363afi40e: Fix VF hang when reset is triggered on another VF23d5599058i40e: Fix ethtool rx-flow-hash setting for X72244affe7edeipv6: ensure sane device mtu in tunnels905f05c0abmedia: vivid: set num_in/outputs to 0 if not supportedb6c7446d0amedia: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'683015ae16media: v4l2-dv-timings: add sanity checks for blanking values147b8f1892media: vivid: dev->bitmap_cap wasn't freed in all cases1cf51d5158media: vivid: s_fbuf: add more sanity checks3221c2701dPM: hibernate: Allow hybrid sleep to work with s2idle0eb19ecbd0can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path6b2d07fc0bcan: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path1634d5d39ctcp: fix indefinite deferral of RTO with SACK reneging4f23cb2be5tcp: fix a signed-integer-overflow bug in tcp_add_backlog()49713d7c38tcp: minor optimization in tcp_add_backlog()aab883bd60net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSYc3edc6e808net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failede2a28807b1kcm: annotate data-races around kcm->rx_waitc325f92d8dkcm: annotate data-races around kcm->rx_psockaf7879529eatlantic: fix deadlock at aq_nic_stopd7ccd49c4damd-xgbe: add the bit rate quirk for Molex cables17350734fdamd-xgbe: fix the SFP compliance codes check for DAC cablesb55d6ea965x86/unwind/orc: Fix unreliable stack dump with gcov0ce1ef3353net: hinic: fix the issue of double release MBOX callback of VF6603843c80net: hinic: fix the issue of CMDQ memory leaksbb01910763net: hinic: fix memory leak when reading function tablece605b68dbnet: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()62f0a08e82net: netsec: fix error handling in netsec_register_mdio()32a3d4660btipc: fix a null-ptr-deref in tipc_topsrv_acceptfb94152aaeperf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()bfce730886ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()2663b16c76ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatilea527557299arc: iounmap() arg is volatile648ac633e7ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile6571f6ca8adrm/msm: Fix return type of mdp4_lvds_connector_mode_valid4953a989b7media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation9d00384270net: ieee802154: fix error return code in dgram_bind()568e3812b1mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages935a8b6202mm/memory: add non-anonymous page check in the copy_present_page()49db6cb814xen/gntdev: Prevent leaking grantsa3f2cc11d6Xen/gntdev: don't ignore kernel unmapping error467230b9efs390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()fe187c801as390/futex: add missing EX_TABLE entry to __futex_atomic_op()449070996cperf auxtrace: Fix address filter symbol name match for modules6f72a3977bkernfs: fix use-after-free in __kernfs_remove0bcd1ab3e8counter: microchip-tcb-capture: Handle Signal1 read and Synapse8bf037279bmmc: core: Fix kernel panic when remove non-standard SDIO card5684808b26mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIOb686ffc0acdrm/msm/dp: fix IRQ lifetime08c7375fa2drm/msm/hdmi: fix memory corruption with too many bridges21c4679af0drm/msm/dsi: fix memory corruption with too many bridges44a86d96fascsi: qla2xxx: Use transport-defined speed mask for supported_speedsc368f751damac802154: Fix LQI recording9ba2990f4eexec: Copy oldsighand->action under spin-lock7062153004fs/binfmt_elf: Fix memory leak in load_elf_binary()d9ddfeb01ffbdev: smscufx: Fix several use-after-free bugsf19f1a75d3iio: temperature: ltc2983: allocate iio channels onceaf236da855iio: light: tsl2583: Fix module unloading90ff5bef2btools: iio: iio_utils: fix digit calculation678d2cc204xhci: Remove device endpoints from bandwidth list when freeing the device3b250824b6xhci: Add quirk to reset host back to default state at shutdown63c7df3c81mtd: rawnand: marvell: Use correct logic for nand-keep-config228101fc83usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller2bc4f99ee2usb: bdc: change state when port disconnectede440957f9cusb: dwc3: gadget: Don't set IMI for no_interruptfb074d622cusb: dwc3: gadget: Stop processing more requests on IMIc29fcef579USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM4cc7a360ecALSA: rme9652: use explicitly signed char8959092300ALSA: au88x0: use explicitly signed char2bf5b16315ALSA: Use del_timer_sync() before freeing timerca1034bff8can: kvaser_usb: Fix possible completions during init_completion370be31cdecan: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()7d51b4c67cLinux 5.10.15243d5109296udp: Update reuse->has_conns under reuseport_lock.a50ed2d287mm: /proc/pid/smaps_rollup: fix no vma's null-deref31b1570677blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()e2f9b62eadmmc: core: Add SD card quirk for broken discard3a260e9844Makefile.debug: re-enable debug info for .S files6ab2287b26x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB67dafece56ACPI: video: Force backlight native for more TongFang devicesdcaf631320hv_netvsc: Fix race between VF offering and VF association message from hostda54c5f4b5perf/x86/intel/pt: Relax address filter validation79c3482fberiscv: topology: fix default topology reportinga6e770733darm64: topology: move store_cpu_topology() to shared codecb1024d8a4arm64: dts: qcom: sc7180-trogdor: Fixup modem memory regionf687e2111bfcntl: fix potential deadlocks for &fown_struct.lockb1efc19644fcntl: make F_GETOWN(EX) return 0 on dead owner taskca4c498382perf: Skip and warn on unknown format 'configN' attrsdea47fefa6perf pmu: Validate raw event with sysfs exported format bits86e995f964riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb0e4c06ae7criscv: Add machine name to kernel boot log and stack dump output7fba4a389dmmc: sdhci-tegra: Use actual clock rate for SW tuning correction3c6a888e35xen/gntdev: Accommodate VMA splitting5232411f37xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guestsea82edad0atracing: Do not free snapshot if tracer is on cmdlinebd6af07e79tracing: Simplify conditional compilation code in tracing_set_tracer()4e3a15ca24dmaengine: mxs: use platform_driver_register1da5d24970dmaengine: mxs-dma: Remove the unused .id_table1414e9bf3cdrm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()d74196bb27iommu/vt-d: Clean up si_domain in the init_dmars() error pathef11e8ec00iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()35c92435benet: phy: dp83822: disable MDI crossover status change interrupt7aa3d623c1net: sched: fix race condition in qdisc_graft()2974f3b330net: hns: fix possible memory leak in hnae_ae_register()3032e316e0sfc: include vport_id in filter spec hash and equal()ded86c4191net: sched: sfb: fix null pointer access issue when sfb_init() fails305aa36b62net: sched: delete duplicate cleanup of backlog and qlenae48bee283net: sched: cake: fix null pointer access issue when cake_init() fails2008ad08a2nvme-hwmon: kmalloc the NVME SMART log buffer770b7e3a2cnvme-hwmon: consistently ignore errors from nvme_hwmon_init67106ac272nvme-hwmon: Return error code when registration failsbc17f727b0nvme-hwmon: rework to avoid devm allocation191d71c635ionic: catch NULL pointer issue on reconfigff7ba76675net: hsr: avoid possible NULL deref in skb_clone()7286f87551cifs: Fix xid leak in cifs_ses_add_channel()2d08311aa3cifs: Fix xid leak in cifs_flock()bf49d4fe4acifs: Fix xid leak in cifs_copy_file_range()05cc22c008net: phy: dp83867: Extend RX strap quirk for SGMII mode118f412bednet/atm: fix proc_mpc_write incorrect return valuec8310a99e7sfc: Change VF mac via PF as first preference if available.39d10f0dfbHID: magicmouse: Do not set BTN_MOUSE on double reported5baf3d0ai40e: Fix DMA mappings leake558e14893tipc: fix an information leak in tipc_topsrv_kern_subscr1f4ed95ce6tipc: Fix recognition of trial periodfc8c6b8bb2ACPI: extlog: Handle multiple records57e157749abtrfs: fix processing of delayed tree block refs during backref walking590929ef69btrfs: fix processing of delayed data refs during backref walkingcc841a8a70r8152: add PID for the Lenovo OneLink+ Dock51b96ecaedarm64: errata: Remove AES hwcap for COMPAT tasks910ba49b33blk-wbt: call rq_qos_add() after wb_normal is initialized392536023dblock: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_initab6aaa8210media: venus: dec: Handle the case where find_format failsbce5808fc9media: mceusb: set timeout to at least timeout provided6d725672ceKVM: arm64: vgic: Fix exit condition in scan_its_table()34db701dc6kvm: Add support for arch compat vm ioctlse55feb31dfcpufreq: qcom: fix memory leak in error path303d0f7614ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS6a2aadcb01ata: ahci-imx: Fix MODULE_ALIASd9f0159da0hwmon/coretemp: Handle large core ID value0fb04676c4x86/microcode/AMD: Apply the patch early on every logical thread6dcf1f0802i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter794ded0bc4cpufreq: qcom: fix writes in read-only memory region2723875e9dselinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()0d65f040fdocfs2: fix BUG when iput after ocfs2_mknod failsb838dcfda1ocfs2: clear dinode links count in case of errorc34d1b22feLinux 5.10.151ecad331211kbuild: Add skip_encoding_btf_enum64 option to paholec5006abb80kbuild: Unify options for BTF generation for vmlinux and modulesf5f413cb3ekbuild: skip per-CPU BTF generation for pahole v1.18-v1.2106481cd9f7kbuild: Quote OBJCOPY var to avoid a pahole call break the buildbbaea0f1cdbpf: Generate BTF_KIND_FLOAT when linking vmlinuxa10a57a224Linux 5.10.150243c8f42baRevert "drm/amdgpu: make sure to init common IP before gmc"8026d58b49gcov: support GCC 12.1 and newer compilerscbf2c43b36f2fs: fix wrong condition to trigger background checkpoint correctly7b19858803thermal: intel_powerclamp: Use first online CPU as control_cpuf039b43cbainet: fully convert sk->sk_rx_dst to RCU rules67de22cb0bext4: continue to expand file system when the target size doesn't reach357db159e9Revert "drm/amdgpu: use dirty framebuffer helper"98ab15bfdcRevert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"791489a5c5net/ieee802154: don't warn zero-sized raw_sendmsg()a96336a5f2Revert "net/ieee802154: reject zero-sized raw_sendmsg()"dc54ff9fc4net: ieee802154: return -EINVAL for unknown addr type45c3396675mm: hugetlb: fix UAF in hugetlb_handle_userfaultc378c479c5io_uring/af_unix: defer registered files gc to io_uring release67cbc8865aio_uring: correct pinned_vm accounting904f881b57arm64: topology: fix possible overflow in amu_fie_setup()b5dc2f2578perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc9b4e849777clk: bcm2835: Make peripheral PLLC criticalb8bbae3236usb: idmouse: fix an uninit-value in idmouse_opend5bb45f47bnvmet-tcp: add bounds check on Transfer Tagb79da0080dnvme: copy firmware_rev on each inite6cc39db24staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()3a5a34ed9dRevert "usb: storage: Add quirk for Samsung Fit flash"acf0006f2busb: musb: Fix musb_gadget.c rxstate overflow bug91271a3e77usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()782b3e71c9md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5ddbcca76435HID: roccat: Fix use-after-free in roccat_read()f00c049edesoundwire: intel: fix error handling on dai registration issuesf04a673d4asoundwire: cadence: Don't overwrite msg->buf during write commandsc263516c2cbcache: fix set_at_max_writeback_rate() for multiple attached devicesfcad2ac863ata: libahci_platform: Sanity check the DT child nodes number19c010ae44blk-throttle: prevent overflow while calculating wait time1b3cebeca9staging: vt6655: fix potential memory leak89f305a714power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()b2700f98b3nbd: Fix hung when signal interrupts nbd_start_device_ioctl()5942e5c63dscsi: 3w-9xxx: Avoid disabling device if failing to enable it48727117bdusb: host: xhci-plat: suspend/resume clks for brcmc13d0d2f5ausb: host: xhci-plat: suspend and resume clocks12d31182declk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_ratec2257c8a50media: cx88: Fix a null-ptr-deref bug in buffer_prepare()d9e2585c3bclk: zynqmp: Fix stack-out-of-bounds in strncpy`70f8b48d0bbtrfs: scrub: try to fix super block errors8f554dd23carm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply451ce2521ckselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT017cabfb3fARM: dts: imx6sx: add missing properties for sram9d3ca48722ARM: dts: imx6sll: add missing properties for sram9735f2b62bARM: dts: imx6sl: add missing properties for sram2829b6ad30ARM: dts: imx6qp: add missing properties for sram0c3a0b3d5eARM: dts: imx6dl: add missing properties for sram2763a3b43aARM: dts: imx6q: add missing properties for sram82e0d91484ARM: dts: imx7d-sdb: config the max pressure for tsc2046166feb964fdrm/amd/display: Remove interface for periodic interrupt 11bb6f4a8dbdrm/dp: Don't rewrite link config when setting phy test patternbb91c06b0bmmc: sdhci-msm: add compatible string check for sdm6708a427a2283drm/meson: explicitly remove aggregate driver at module unload time1c7d957c5ddrm/amdgpu: fix initial connector audio value69130888b2ASoC: SOF: pci: Change DMI match info to support all Chrome platforms54f2585e2dplatform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloadinga9d6a7c9b6platform/chrome: cros_ec: Notify the PM of wake events during resumee29d20deafdrm: panel-orientation-quirks: Add quirk for Anbernic Win600bfdb391d57drm/vc4: vec: Fix timings for VEC modesb70f8abc1adrm: bridge: dw_hdmi: only trigger hotplug event on link changebbe2f6f903udmabuf: Set ubuf->sg = NULL if the creation of sg table fails0a4fddc95cdrm/amd/display: fix overflow on MIN_I64 definition3959e8faf8gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()c28a8082b2drm: Prevent drm_copy_field() to attempt copying a NULL pointere7d7018003drm: Use size_t type for len variable in drm_copy_field()3339a51bcddrm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()484400d433r8152: Rate limit overflow messages0c108cf3adBluetooth: L2CAP: Fix user-after-free65029aaeddnet: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory4851303c85wifi: rt2x00: correctly set BBP register 86 for MT7620a016144479wifi: rt2x00: set SoC wmac clock register5aa0461d11wifi: rt2x00: set VGC gain for both chains of MT76208d9c00979awifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT762027ed98e8a9wifi: rt2x00: don't run Rt5592 IQ calibration on MT76203d67986e72can: bcm: check the result of can_send() in bcm_can_tx()7b674dce41Bluetooth: hci_sysfs: Fix attempting to call device_add multiple timese25ca9af8aBluetooth: L2CAP: initialize delayed works at l2cap_chan_create()b051d9bf98regulator: core: Prevent integer underflowe01d96494awifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()be81c44242xfrm: Update ipcomp_scratches with NULL when freed9661724f62wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()0958e487e8tcp: annotate data-race around tcp_md5sig_pool_populated129ca0db95openvswitch: Fix overreporting of drops in dropwatch4398e8a7fdopenvswitch: Fix double reporting of drops in dropwatche3c9b94734bpftool: Clear errno after libcap's checks50e45034c5wifi: brcmfmac: fix invalid address access when enabling SCAN log levelbbacfcde5fNFSD: fix use-after-free on source server when doing inter-server copy3de402a524NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data1f730d4ae6x86/entry: Work around Clang __bdos() bug513943bf87thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash708b9abe1bpowercap: intel_rapl: fix UBSAN shift-out-of-bounds issueb434edb0e9MIPS: BCM47XX: Cast memcmp() of function to (void *)6c61a37ea7ACPI: video: Add Toshiba Satellite/Portege Z830 quirk0dd025483frcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()36d4ffbedfrcu: Back off upon fill_page_cache_func() allocation failure278d8ba2b2selftest: tpm2: Add Client.__del__() to close /dev/tpm* handleb60aa21e2ff2fs: fix to account FS_CP_DATA_IO correctly0b8230d44cf2fs: fix to avoid REQ_TIME and CP_TIME collisionecbd95958cf2fs: fix race condition on setting FI_NO_EXTENT flag110146ce8fACPI: APEI: do not add task_work to kernel thread to avoid memory leakdce07e87eethermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id3a720eb890crypto: cavium - prevent integer overflow loading firmware7bfa7d6773crypto: marvell/octeontx - prevent integer overflowscdd42eb468kbuild: rpm-pkg: fix breakage when V=1 is used6d1aef17e7kbuild: remove the target in signal traps when interrupted8d76dd5080tracing: kprobe: Make gen test module work in arm and riscvc6512a6f0ctracing: kprobe: Fix kprobe event gen test module on exit9e6ba62d41iommu/iova: Fix module config properly426d5bc089crypto: qat - fix DMA transfer directiona43babc059crypto: qat - use pre-allocated buffers in datapatha91af50850crypto: qat - fix use of 'dma_map_single'8a4ed09ed8crypto: inside-secure - Change swab to swab32d33935e666crypto: ccp - Release dma channels before dmaengine unrgistera1354bdd19crypto: akcipher - default implementation for setting a private key2fee0dbfaeiommu/omap: Fix buffer overflow in debugfscfde58a8e4cgroup/cpuset: Enable update_tasks_cpumask() on top_cpusetab2485eb5dhwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()d88b88514ecrypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr25f1342473crypto: sahara - don't sleep when in softirq2d285164fbpowerpc: Fix SPE Power ISA properties for e500v1 platforms2bde4e1e4fpowerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G57ae8bed908x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition6315998170powerpc/powernv: add missing of_node_put() in opal_export_attrs()434db6d17bpowerpc/pci_dn: Add missing of_node_put()718e2d8023powerpc/sysdev/fsl_msi: Add missing of_node_put()592d283a65powerpc/math_emu/efp: Include module.h44c26ceffamailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sgb1616599c9clk: ast2600: BCLK comes from EPLL6d01017247clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe9b65fd6513clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration9a6087a438clk: baikal-t1: Add SATA internal ref clock buffer5f143f3bc2clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent823fd52391clk: baikal-t1: Fix invalid xGMAC PTP clock divider2f19a1050eclk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD92f52770a7spmi: pmic-arb: correct duplicate APID to PPID mapping logica01c0c1600dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()1dd5148445clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent6e58f2469emfd: sm501: Add check for platform_driver_register()3469dd8e22mfd: fsl-imx25: Fix check for platform_get_irq() errorsb425e03c96mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()f7b4388636mfd: lp8788: Fix an error handling path in lp8788_probe()08d4051803mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()28868b940bmfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()382a5fc49efsi: core: Check error number after calling ida_simple_geted8e6011b9clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical884a788f06scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()a9e5176eadscsi: libsas: Fix use-after-free bug in smp_execute_task_sg()8f740c11d8serial: 8250: Fix restoring termios speed after suspendab5a3e7144firmware: google: Test spinlock on panic path to avoid lockups95ac62e854staging: vt6655: fix some erroneous memory clean-up loops878f987166phy: qualcomm: call clk_disable_unprepare in the error handling9a56ade124tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown572fb97fceserial: 8250: Toggle IER bits on only after irq has been set up3fbfa5e3ccserial: 8250: Add an empty line and remove some useless {}71ffe5111fdrivers: serial: jsm: fix some leaks in probe7efdd91d54usb: gadget: function: fix dangling pnp_string in f_printer.ccc952e3bf6xhci: Don't show warning for reinit on known broken suspenddac769dd7dIB: Set IOVA/LENGTH on IB_MR in core/uverbs layers360386e11cRDMA/cm: Use SLID in the work completion as the DLID in responder sidea1263294b5md/raid5: Ensure stripe_fill happens on non-read IO with journal76694e9ce0md: Replace snprintf with scnprintf7bd5f3b4a8mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()f5325f3202ata: fix ata_id_has_dipm()f5a6fa1877ata: fix ata_id_has_ncq_autosense()3c34a91c8aata: fix ata_id_has_devslp()fc61a0c820ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()e3917c85f4RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.3a9d7d8dcfmtd: rawnand: fsl_elbc: Fix none ECC modef87f720811mtd: devices: docg3: check the return value of devm_ioremap() in the probed06cc0e11ddyndbg: drop EXPORTed dynamic_debug_exec_queries1d65985589dyndbg: let query-modname override actual module namec0e206da44dyndbg: fix module.dyndbg handling5047bd3bd7dyndbg: fix static_branch manipulationaf12e209a9dmaengine: hisilicon: Add multi-thread support for a DMA channeld3fd838536dmaengine: hisilicon: Fix CQ head updated5065ca461dmaengine: hisilicon: Disable channels when unregister hisi_dmaf59861946ffpga: prevent integer overflow in dfl_feature_ioctl_set_irq()7ba19a60c7misc: ocxl: fix possible refcount leak in afu_ioctl()cf3bb86eddRDMA/rxe: Fix the error caused by qp->skcdce36a88dRDMA/rxe: Fix "kernel NULL pointer dereference" error2630cc8832media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init40aa0999a3media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()551b87976atty: xilinx_uartps: Fix the ignore_status28cdf6c6fbmedia: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop1f683bff1aHSI: omap_ssi_port: Fix dma_map_sg error check962f22e7f7HSI: omap_ssi: Fix refcount leak in ssi_probe70f0a0a27dclk: tegra20: Fix refcount leak in tegra20_clock_initc01bfd23ccclk: tegra: Fix refcount leak in tegra114_clock_initf487137a53clk: tegra: Fix refcount leak in tegra210_clock_init59e90c4d98clk: sprd: Hold reference returned by of_get_parent()57141b1dd6clk: berlin: Add of_node_put() for of_get_parent()dc190b46c6clk: qoriq: Hold reference returned by of_get_parent()baadc6f58fclk: oxnas: Hold reference returned by of_get_parent()b95f4f9054clk: meson: Hold reference returned by of_get_parent()beec2f0255usb: common: debug: Check non-standard control requests9d965a22f6usb: common: move function's kerneldoc next to its definition20b63631a3usb: common: add function to get interval expressed in us unitc1ef8c66a3usb: common: Parse for USB SSP genXxYffffb159e1usb: ch9: Add USB 3.2 SSP attributesaa7aada4b7iio: ABI: Fix wrong format of differential capacitance channel ABI.b9a0526cd0iio: inkern: only release the device node when done with it44ec4b04fciio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume513c72d76diio: adc: at91-sama5d2_adc: lock around oversampling and sample freqd259b90f0ciio: adc: at91-sama5d2_adc: check return status for pressure and touchbc2b97e177iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX5b9bb0cbd9ARM: dts: exynos: fix polarity of VBUS GPIO of Origen657de36c72arm64: ftrace: fix module PLTs with mcount40e966a404ARM: Drop CMDLINE_* dependency on ATAGS477dbf9d1bARM: dts: exynos: correct s5k6a3 reset polarity on Midas family5bbd3dd7f9soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA09c35f1520ia64: export memory_add_physaddr_to_nid to fix cxl build errore31c0e14cfARM: dts: kirkwood: lsxl: remove first ethernet portdf4f05b356ARM: dts: kirkwood: lsxl: fix serial line43faaedf3aARM: dts: turris-omnia: Fix mpp26 pin name and commentd5c2051898soc: qcom: smem_state: Add refcounting for the 'state->of_node'39781c98adsoc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()1d312c12c9memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()daaec4b3fememory: of: Fix refcount leak bug in of_get_ddr_timings()fde46754d5memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()2c442b0c06ALSA: hda/hdmi: Don't skip notification handling during PM operationf182de42d7ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe37e3e01c9aASoC: wm5102: Fix PM disable depth imbalance in wm5102_probefb23569699ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probec1b269dda1ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe71704c2e1bmmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()c940636d9cALSA: dmaengine: increment buffer pointer atomically4993c1511dASoC: da7219: Fix an error handling path in da7219_register_dai_clks()ef59819976drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()598d8f7d86drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idxa9a60d6405ASoC: eureka-tlv320: Hold reference returned from of_find_xxx APIad0b8ed172mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()1f340e1c1cdrm/omap: dss: Fix refcount leak bugscbe37857ddALSA: hda: beep: Simplify keep-power-at-enable behaviorf0fb0817ebASoC: rsnd: Add check for rsnd_mod_power_on877e92e9b1drm/bridge: megachips: Fix a null pointer dereference bugc577b4e972drm: fix drm_mipi_dbi build errors804d8e59f3platform/x86: msi-laptop: Fix resource cleanupc21c08fab7platform/x86: msi-laptop: Fix old-ec check for backlight registeringb77755f58eASoC: tas2764: Fix mute/unmute2e6b64df54ASoC: tas2764: Drop conflicting set_bias_level power settingc2c6022e10ASoC: tas2764: Allow mono streams868fc93b61platform/chrome: fix memory corruption in ioctl84da5cdf43platform/chrome: fix double-free in chromeos_laptop_prepare()5e25bfcd12drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()ad06d6bed5drm/dp_mst: fix drm_dp_dpcd_read return value checks3f5889fd65drm/bridge: parade-ps8640: Fix regulator supply order45120fa5e5drm/mipi-dsi: Detach devices when removing the host050b650507drm/bridge: Avoid uninitialized variable warning7839f2b349drm: bridge: adv7511: fix CEC power down control register offset29f50bcf0fnet: mvpp2: fix mvpp2 debugfs leak6cb54f2162once: add DO_ONCE_SLOW() for sleepable contexts67cb80a9d2net/ieee802154: reject zero-sized raw_sendmsg()6cc0e2afc6bnx2x: fix potential memory leak in bnx2x_tpa_stop()da349221c4net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()d9e25dc053spi: Ensure that sg_table won't be used after being freed96a3ddb870tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limitedf65955340esctp: handle the error returned from sctp_auth_asoc_init_active_key2a1d036320mISDN: fix use-after-free bugs in l1oip timer handlersb4a5905fd2vhost/vsock: Use kvmalloc/kvfree for larger packets.d2b5dc3a53wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM17196f2f98spi: s3c64xx: Fix large transfers with DMAb284e1fe15netfilter: nft_fib: Fix for rpath check with VRF devicesb384e8fb16Bluetooth: hci_core: Fix not handling link timeouts propertly129f01116bi2c: mlxbf: support lock mechanism534909fe3cspi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe9da61e7b59spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe1ef5798638x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype6ed7b05a35x86/microcode/AMD: Track patch allocation size explicitly07299e52e5wifi: ath11k: fix number of VHT beamformee spatial streamsd7cc0d51ffBluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failureed403bcd97bpf: Ensure correct locking around vulnerable function find_vpid()2a1c29dc9bnet: fs_enet: Fix wrong check in do_pd_setup795954d751wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask226e6f2412wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration0a60ac7a0dbpf: btf: fix truncated last_member_type_id in btf_struct_resolve8398a45d3dspi: meson-spicc: do not rely on busy flag in pow2 clk ops351cf55595wifi: rtl8xxxu: Fix skb misuse in TX queue selection1e91179057spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()7b83d11d48spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()5576008305selftests/xsk: Avoid use-after-free on ctxc823df0679wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()ea1b6b5409Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend07194ccbb1Bluetooth: btusb: fix excessive stack usagecdadf95435Bluetooth: btusb: Fine-tune mt7663 mechanism.294395caacx86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register029a1de92cspi: mt7621: Fix an error message in mt7621_spi_probe()2afb93e4e4bpftool: Fix a wrong type cast in btf_dumper_int61905bbb61wifi: mac80211: allow bw change during channel switch in mesh7565207066leds: lm3601x: Don't use mutex after it was destroyed08faf07717wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()e060c4b9f3nfsd: Fix a memory leak in an error handling path730191a098objtool: Preserve special st_shndx indexes in elf_update_symbol84837738d4ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAEf1d6edeaa8ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()da2aecef86MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()0c667858c0MIPS: SGI-IP27: Free some unused memory3598445698sh: machvec: Use char[] for section boundaries6e4be747f1userfaultfd: open userfaultfds with O_RDONLY28d9b39733selinux: use "grep -E" instead of "egrep"d11e09953csmb3: must initialize two ACL struct fields to zeroabd13b2100drm/i915: Fix watermark calculations for gen12+ MC CCS modifierfd37286f39drm/i915: Fix watermark calculations for gen12+ RC CCS modifier5d6093c49cdrm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()57f1a89a8edrm/nouveau/kms/nv140-: Disable interlacingd0febad83estaging: greybus: audio_helper: remove unused and wrong debugfs usageceeb8d4a43KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS83fe0b009bKVM: nVMX: Unconditionally purge queued/injected events on nested "exit"085ca1d33bKVM: x86/emulator: Fix handing of POP SS to correctly set interruptibilitybda8120e5bmedia: cedrus: Set the platform driver data earlierdbdd3b1448efi: libstub: drop pointless get_memory_map() call68158654b5thunderbolt: Explicitly enable lane adapter hotplug events at startupfc08f84381tracing: Disable interrupt or preemption before acquiring arch_spinlock_t0cf6c09dafring-buffer: Fix race between reset page and reading page588f02f8b9ring-buffer: Add ring_buffer_wake_waiters()586f02c500ring-buffer: Check pending waiters when doing wake ups as well6617e5132cring-buffer: Have the shortest_full queue be the shortest not longest4a3bbd40e4ring-buffer: Allow splice to read previous partially read pagesf2ca4609d0ftrace: Properly unset FTRACE_HASH_FL_MOD846f041203livepatch: fix race between fork and KLP transition2189756eabext4: update 'state->fc_regions_size' after successful memory allocation2cfb769d60ext4: fix potential memory leak in ext4_fc_record_regions()c9ce7766dcext4: fix potential memory leak in ext4_fc_record_modified_inode()d575fb52c4ext4: fix miss release buffer head in ext4_fc_write_inode74d2a398d2ext4: place buffer head allocation before handle startfbb0e601bdext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate0e1764ad71ext4: don't increase iversion counter for ea_inodes483831ad04ext4: fix check for block being out of directory sizeac66db1a43ext4: make ext4_lazyinit_thread freezablef34ab95162ext4: fix null-ptr-deref in ext4_write_infofb98cb61efext4: avoid crash when inline data creation follows DIO writee65506ff18jbd2: add miss release buffer head in fc_do_one_pass()1d4d16daecjbd2: fix potential use-after-free in jbd2_fc_wait_bufs7a33dde572jbd2: fix potential buffer head reference count leakeea3e455a3jbd2: wake up journal waiters in FIFO order, not LIFOba52e685d2hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zerobdcb1d7cf2hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZEROd621a87064hardening: Clarify Kconfig text for auto-var-init4a8e8bf280f2fs: fix to do sanity check on summary info73fb4bd2c0f2fs: fix to do sanity check on destination blkaddr during recovery12014eaf1bf2fs: increase the limit for reserve_root47b5ffe863btrfs: fix race between quota enable and quota rescan ioctle504729496fbdev: smscufx: Fix use-after-free in ufx_ops_open()9931bd05bbscsi: qedf: Populate sysfs attributes for vport102c4b6e8cpowerpc/boot: Explicitly disable usage of SPE instructions7db60fd46epowercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain9119a92ad9PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridgea3c08c0217mm/mmap: undo ->mmap() when arch_validate_flags() fails7d551b7d61block: fix inflight statistics of part00a12979089drm/udl: Restore display mode on resumef134f261d7drm/virtio: Check whether transferred 2D BO is shmem303436e301nvme-pci: set min_align_mask before calculating max_hw_sectors6a73e6edcbUM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK1a053f597friscv: Pass -mno-relax only on lld < 15.0.0d15dca1d46riscv: Make VM_WRITE imply VM_READd8c6f9b2e1riscv: Allow PROT_WRITE-only mmap()a6dcc6cfa2parisc: fbdev/stifb: Align graphics memory size to 4MB2ce9fab94bRISC-V: Make port I/O string accessors actually workffb571e123regulator: qcom_rpm: Fix circular deferral regression85909424a1hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API8ef0e1c0aeASoC: wcd934x: fix order of Slimbus unprepare/disable9b2c82af65ASoC: wcd9335: fix order of Slimbus unprepare/disable1c20d672e3platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure6b7ae4a904quota: Check next/prev free block number after reading from quota file5b1a56beb6HID: multitouch: Add memory barriersbfe60d7641fs: dlm: handle -EBUSY first in lock arg validation0b2d8e4db4fs: dlm: fix race between test_bit() and queue_work()057d5838c7mmc: sdhci-sprd: Fix minimum clock limit448fffc1aecan: kvaser_usb_leaf: Fix CAN state after restarta3776e09b3can: kvaser_usb_leaf: Fix TX queue out of sync after restart0f8c88978dcan: kvaser_usb_leaf: Fix overread with an invalid command5d1cb7bfadcan: kvaser_usb: Fix use of uninitialized completionb239a0993ausb: add quirks for Lenovo OneLink+ Dockafbbf305dbiio: pressure: dps310: Reset chip after timeout9daadd1d10iio: pressure: dps310: Refactor startup procedureae49d80400iio: adc: ad7923: fix channel readings for some variantsea4dcd3d6aiio: ltc2497: Fix reading conversion results30e1bd0d3eiio: dac: ad5593r: Fix i2c read protocol requirements9312e04b6ccifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message64f23e5430cifs: destage dirty pages before re-reading them for cache=none50d3d89537mtd: rawnand: atmel: Unmap streaming DMA mappingse8eb44eeeeALSA: hda/realtek: Add Intel Reference SSID to support headset keys4491fbd0a7ALSA: hda/realtek: Add quirk for ASUS GV601R laptop4285d06d12ALSA: hda/realtek: Correct pin configs for ASUS G533Z768cd2cd1aALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 55303e29645fbaALSA: usb-audio: Fix NULL dererence at error pathbc1d16d282ALSA: usb-audio: Fix potential memory leaksef1658bc48ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()026fcb6336ALSA: oss: Fix potential deadlock at unregistration Also update the .xml file to handle the few ABI changes in this merge that required an update due to private pointers changing types and ABI padding structures being used to preserve the ABI: Leaf changes summary: 4 artifacts changed (1 filtered out) Changed leaf types summary: 4 (1 filtered out) leaf types changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 'struct fscrypt_info at fscrypt_private.h:195:1' changed: type size hasn't changed there are data member changes: type 'key*' of 'fscrypt_info::ci_master_key' changed: pointer type changed from: 'key*' to: 'fscrypt_master_key*' 5197 impacted interfaces 'struct sk_buff at skbuff.h:717:1' changed: type size hasn't changed there are data member changes: data member u64 android_kabi_reserved1 at offset 1472 (in bits) became anonymous data member 'union {struct {__u8 scm_io_uring; __u8 android_kabi_reserved1_padding1; __u16 android_kabi_reserved1_padding2; __u32 android_kabi_reserved1_padding3;}; struct {u64 android_kabi_reserved1;}; union {};}' 5197 impacted interfaces 'struct super_block at fs.h:1450:1' changed: type size hasn't changed there are data member changes: type 'key*' of 'super_block::s_master_keys' changed: pointer type changed from: 'key*' to: 'fscrypt_keyring*' 5197 impacted interfaces 'struct tcp_sock at tcp.h:146:1' changed: type size hasn't changed one impacted interface Change-Id: I6f2a7b91e1df96bede8aafa944a04b3e08ed33a1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2430 lines
78 KiB
Plaintext
2430 lines
78 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DEFCONFIG_LIST
|
|
string
|
|
depends on !UML
|
|
option defconfig_list
|
|
default "/lib/modules/$(shell,uname -r)/.config"
|
|
default "/etc/kernel-config"
|
|
default "/boot/config-$(shell,uname -r)"
|
|
default "arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)"
|
|
|
|
config CC_VERSION_TEXT
|
|
string
|
|
default "$(CC_VERSION_TEXT)"
|
|
help
|
|
This is used in unclear ways:
|
|
|
|
- Re-run Kconfig when the compiler is updated
|
|
The 'default' property references the environment variable,
|
|
CC_VERSION_TEXT so it is recorded in include/config/auto.conf.cmd.
|
|
When the compiler is updated, Kconfig will be invoked.
|
|
|
|
- Ensure full rebuild when the compier is updated
|
|
include/linux/kconfig.h contains this option in the comment line so
|
|
fixdep adds include/config/cc/version/text.h into the auto-generated
|
|
dependency. When the compiler is updated, syncconfig will touch it
|
|
and then every file will be rebuilt.
|
|
|
|
config CC_IS_GCC
|
|
def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q gcc)
|
|
|
|
config GCC_VERSION
|
|
int
|
|
default $(shell,$(srctree)/scripts/gcc-version.sh $(CC)) if CC_IS_GCC
|
|
default 0
|
|
|
|
config LD_VERSION
|
|
int
|
|
default $(shell,$(LD) --version | $(srctree)/scripts/ld-version.sh)
|
|
|
|
config CC_IS_CLANG
|
|
def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q clang)
|
|
|
|
config LD_IS_LLD
|
|
def_bool $(success,$(LD) -v | head -n 1 | grep -q LLD)
|
|
|
|
config CLANG_VERSION
|
|
int
|
|
default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
|
|
|
|
config LLD_VERSION
|
|
int
|
|
default $(shell,$(srctree)/scripts/lld-version.sh $(LD))
|
|
|
|
config CC_CAN_LINK
|
|
bool
|
|
default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m64-flag)) if 64BIT
|
|
default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m32-flag))
|
|
|
|
config CC_CAN_LINK_STATIC
|
|
bool
|
|
default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m64-flag) -static) if 64BIT
|
|
default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m32-flag) -static)
|
|
|
|
config CC_HAS_ASM_GOTO
|
|
def_bool $(success,$(srctree)/scripts/gcc-goto.sh $(CC))
|
|
|
|
config CC_HAS_ASM_GOTO_OUTPUT
|
|
depends on CC_HAS_ASM_GOTO
|
|
def_bool $(success,echo 'int foo(int x) { asm goto ("": "=r"(x) ::: bar); return x; bar: return 0; }' | $(CC) -x c - -c -o /dev/null)
|
|
|
|
config CC_HAS_ASM_GOTO_TIED_OUTPUT
|
|
depends on CC_HAS_ASM_GOTO_OUTPUT
|
|
# Detect buggy gcc and clang, fixed in gcc-11 clang-14.
|
|
def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null)
|
|
|
|
config TOOLS_SUPPORT_RELR
|
|
def_bool $(success,env "CC=$(CC)" "LD=$(LD)" "NM=$(NM)" "OBJCOPY=$(OBJCOPY)" $(srctree)/scripts/tools-support-relr.sh)
|
|
|
|
config CC_HAS_ASM_INLINE
|
|
def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
|
|
|
|
config CONSTRUCTORS
|
|
bool
|
|
depends on !UML
|
|
|
|
config IRQ_WORK
|
|
bool
|
|
|
|
config BUILDTIME_TABLE_SORT
|
|
bool
|
|
|
|
config THREAD_INFO_IN_TASK
|
|
bool
|
|
help
|
|
Select this to move thread_info off the stack into task_struct. To
|
|
make this work, an arch will need to remove all thread_info fields
|
|
except flags and fix any runtime bugs.
|
|
|
|
One subtle change that will be needed is to use try_get_task_stack()
|
|
and put_task_stack() in save_thread_stack_tsk() and get_wchan().
|
|
|
|
menu "General setup"
|
|
|
|
config BROKEN
|
|
bool
|
|
|
|
config BROKEN_ON_SMP
|
|
bool
|
|
depends on BROKEN || !SMP
|
|
default y
|
|
|
|
config INIT_ENV_ARG_LIMIT
|
|
int
|
|
default 32 if !UML
|
|
default 128 if UML
|
|
help
|
|
Maximum of each of the number of arguments and environment
|
|
variables passed to init from the kernel command line.
|
|
|
|
config COMPILE_TEST
|
|
bool "Compile also drivers which will not load"
|
|
depends on HAS_IOMEM
|
|
help
|
|
Some drivers can be compiled on a different platform than they are
|
|
intended to be run on. Despite they cannot be loaded there (or even
|
|
when they load they cannot be used due to missing HW support),
|
|
developers still, opposing to distributors, might want to build such
|
|
drivers to compile-test them.
|
|
|
|
If you are a developer and want to build everything available, say Y
|
|
here. If you are a user/distributor, say N here to exclude useless
|
|
drivers to be distributed.
|
|
|
|
config WERROR
|
|
bool "Compile the kernel with warnings as errors"
|
|
default y
|
|
help
|
|
A kernel build should not cause any compiler warnings, and this
|
|
enables the '-Werror' flag to enforce that rule by default.
|
|
|
|
However, if you have a new (or very old) compiler with odd and
|
|
unusual warnings, or you have some architecture with problems,
|
|
you may need to disable this config option in order to
|
|
successfully build the kernel.
|
|
|
|
If in doubt, say Y.
|
|
|
|
config UAPI_HEADER_TEST
|
|
bool "Compile test UAPI headers"
|
|
depends on HEADERS_INSTALL && CC_CAN_LINK
|
|
help
|
|
Compile test headers exported to user-space to ensure they are
|
|
self-contained, i.e. compilable as standalone units.
|
|
|
|
If you are a developer or tester and want to ensure the exported
|
|
headers are self-contained, say Y here. Otherwise, choose N.
|
|
|
|
config LOCALVERSION
|
|
string "Local version - append to kernel release"
|
|
help
|
|
Append an extra string to the end of your kernel version.
|
|
This will show up when you type uname, for example.
|
|
The string you set here will be appended after the contents of
|
|
any files with a filename matching localversion* in your
|
|
object and source tree, in that order. Your total string can
|
|
be a maximum of 64 characters.
|
|
|
|
config LOCALVERSION_AUTO
|
|
bool "Automatically append version information to the version string"
|
|
default y
|
|
depends on !COMPILE_TEST
|
|
help
|
|
This will try to automatically determine if the current tree is a
|
|
release tree by looking for git tags that belong to the current
|
|
top of tree revision.
|
|
|
|
A string of the format -gxxxxxxxx will be added to the localversion
|
|
if a git-based tree is found. The string generated by this will be
|
|
appended after any matching localversion* files, and after the value
|
|
set in CONFIG_LOCALVERSION.
|
|
|
|
(The actual string used here is the first eight characters produced
|
|
by running the command:
|
|
|
|
$ git rev-parse --verify HEAD
|
|
|
|
which is done within the script "scripts/setlocalversion".)
|
|
|
|
config BUILD_SALT
|
|
string "Build ID Salt"
|
|
default ""
|
|
help
|
|
The build ID is used to link binaries and their debug info. Setting
|
|
this option will use the value in the calculation of the build id.
|
|
This is mostly useful for distributions which want to ensure the
|
|
build is unique between builds. It's safe to leave the default.
|
|
|
|
config HAVE_KERNEL_GZIP
|
|
bool
|
|
|
|
config HAVE_KERNEL_BZIP2
|
|
bool
|
|
|
|
config HAVE_KERNEL_LZMA
|
|
bool
|
|
|
|
config HAVE_KERNEL_XZ
|
|
bool
|
|
|
|
config HAVE_KERNEL_LZO
|
|
bool
|
|
|
|
config HAVE_KERNEL_LZ4
|
|
bool
|
|
|
|
config HAVE_KERNEL_ZSTD
|
|
bool
|
|
|
|
config HAVE_KERNEL_UNCOMPRESSED
|
|
bool
|
|
|
|
choice
|
|
prompt "Kernel compression mode"
|
|
default KERNEL_GZIP
|
|
depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4 || HAVE_KERNEL_ZSTD || HAVE_KERNEL_UNCOMPRESSED
|
|
help
|
|
The linux kernel is a kind of self-extracting executable.
|
|
Several compression algorithms are available, which differ
|
|
in efficiency, compression and decompression speed.
|
|
Compression speed is only relevant when building a kernel.
|
|
Decompression speed is relevant at each boot.
|
|
|
|
If you have any problems with bzip2 or lzma compressed
|
|
kernels, mail me (Alain Knaff) <alain@knaff.lu>. (An older
|
|
version of this functionality (bzip2 only), for 2.4, was
|
|
supplied by Christian Ludwig)
|
|
|
|
High compression options are mostly useful for users, who
|
|
are low on disk space (embedded systems), but for whom ram
|
|
size matters less.
|
|
|
|
If in doubt, select 'gzip'
|
|
|
|
config KERNEL_GZIP
|
|
bool "Gzip"
|
|
depends on HAVE_KERNEL_GZIP
|
|
help
|
|
The old and tried gzip compression. It provides a good balance
|
|
between compression ratio and decompression speed.
|
|
|
|
config KERNEL_BZIP2
|
|
bool "Bzip2"
|
|
depends on HAVE_KERNEL_BZIP2
|
|
help
|
|
Its compression ratio and speed is intermediate.
|
|
Decompression speed is slowest among the choices. The kernel
|
|
size is about 10% smaller with bzip2, in comparison to gzip.
|
|
Bzip2 uses a large amount of memory. For modern kernels you
|
|
will need at least 8MB RAM or more for booting.
|
|
|
|
config KERNEL_LZMA
|
|
bool "LZMA"
|
|
depends on HAVE_KERNEL_LZMA
|
|
help
|
|
This compression algorithm's ratio is best. Decompression speed
|
|
is between gzip and bzip2. Compression is slowest.
|
|
The kernel size is about 33% smaller with LZMA in comparison to gzip.
|
|
|
|
config KERNEL_XZ
|
|
bool "XZ"
|
|
depends on HAVE_KERNEL_XZ
|
|
help
|
|
XZ uses the LZMA2 algorithm and instruction set specific
|
|
BCJ filters which can improve compression ratio of executable
|
|
code. The size of the kernel is about 30% smaller with XZ in
|
|
comparison to gzip. On architectures for which there is a BCJ
|
|
filter (i386, x86_64, ARM, IA-64, PowerPC, and SPARC), XZ
|
|
will create a few percent smaller kernel than plain LZMA.
|
|
|
|
The speed is about the same as with LZMA: The decompression
|
|
speed of XZ is better than that of bzip2 but worse than gzip
|
|
and LZO. Compression is slow.
|
|
|
|
config KERNEL_LZO
|
|
bool "LZO"
|
|
depends on HAVE_KERNEL_LZO
|
|
help
|
|
Its compression ratio is the poorest among the choices. The kernel
|
|
size is about 10% bigger than gzip; however its speed
|
|
(both compression and decompression) is the fastest.
|
|
|
|
config KERNEL_LZ4
|
|
bool "LZ4"
|
|
depends on HAVE_KERNEL_LZ4
|
|
help
|
|
LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding.
|
|
A preliminary version of LZ4 de/compression tool is available at
|
|
<https://code.google.com/p/lz4/>.
|
|
|
|
Its compression ratio is worse than LZO. The size of the kernel
|
|
is about 8% bigger than LZO. But the decompression speed is
|
|
faster than LZO.
|
|
|
|
config KERNEL_ZSTD
|
|
bool "ZSTD"
|
|
depends on HAVE_KERNEL_ZSTD
|
|
help
|
|
ZSTD is a compression algorithm targeting intermediate compression
|
|
with fast decompression speed. It will compress better than GZIP and
|
|
decompress around the same speed as LZO, but slower than LZ4. You
|
|
will need at least 192 KB RAM or more for booting. The zstd command
|
|
line tool is required for compression.
|
|
|
|
config KERNEL_UNCOMPRESSED
|
|
bool "None"
|
|
depends on HAVE_KERNEL_UNCOMPRESSED
|
|
help
|
|
Produce uncompressed kernel image. This option is usually not what
|
|
you want. It is useful for debugging the kernel in slow simulation
|
|
environments, where decompressing and moving the kernel is awfully
|
|
slow. This option allows early boot code to skip the decompressor
|
|
and jump right at uncompressed kernel image.
|
|
|
|
endchoice
|
|
|
|
config DEFAULT_INIT
|
|
string "Default init path"
|
|
default ""
|
|
help
|
|
This option determines the default init for the system if no init=
|
|
option is passed on the kernel command line. If the requested path is
|
|
not present, we will still then move on to attempting further
|
|
locations (e.g. /sbin/init, etc). If this is empty, we will just use
|
|
the fallback list when init= is not passed.
|
|
|
|
config DEFAULT_HOSTNAME
|
|
string "Default hostname"
|
|
default "(none)"
|
|
help
|
|
This option determines the default system hostname before userspace
|
|
calls sethostname(2). The kernel traditionally uses "(none)" here,
|
|
but you may wish to use a different default here to make a minimal
|
|
system more usable with less configuration.
|
|
|
|
#
|
|
# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
|
|
# add proper SWAP support to them, in which case this can be remove.
|
|
#
|
|
config ARCH_NO_SWAP
|
|
bool
|
|
|
|
config SWAP
|
|
bool "Support for paging of anonymous memory (swap)"
|
|
depends on MMU && BLOCK && !ARCH_NO_SWAP
|
|
default y
|
|
help
|
|
This option allows you to choose whether you want to have support
|
|
for so called swap devices or swap files in your kernel that are
|
|
used to provide more virtual memory than the actual RAM present
|
|
in your computer. If unsure say Y.
|
|
|
|
config SYSVIPC
|
|
bool "System V IPC"
|
|
help
|
|
Inter Process Communication is a suite of library functions and
|
|
system calls which let processes (running programs) synchronize and
|
|
exchange information. It is generally considered to be a good thing,
|
|
and some programs won't run unless you say Y here. In particular, if
|
|
you want to run the DOS emulator dosemu under Linux (read the
|
|
DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
|
|
you'll need to say Y here.
|
|
|
|
You can find documentation about IPC with "info ipc" and also in
|
|
section 6.4 of the Linux Programmer's Guide, available from
|
|
<http://www.tldp.org/guides.html>.
|
|
|
|
config SYSVIPC_SYSCTL
|
|
bool
|
|
depends on SYSVIPC
|
|
depends on SYSCTL
|
|
default y
|
|
|
|
config POSIX_MQUEUE
|
|
bool "POSIX Message Queues"
|
|
depends on NET
|
|
help
|
|
POSIX variant of message queues is a part of IPC. In POSIX message
|
|
queues every message has a priority which decides about succession
|
|
of receiving it by a process. If you want to compile and run
|
|
programs written e.g. for Solaris with use of its POSIX message
|
|
queues (functions mq_*) say Y here.
|
|
|
|
POSIX message queues are visible as a filesystem called 'mqueue'
|
|
and can be mounted somewhere if you want to do filesystem
|
|
operations on message queues.
|
|
|
|
If unsure, say Y.
|
|
|
|
config POSIX_MQUEUE_SYSCTL
|
|
bool
|
|
depends on POSIX_MQUEUE
|
|
depends on SYSCTL
|
|
default y
|
|
|
|
config WATCH_QUEUE
|
|
bool "General notification queue"
|
|
default n
|
|
help
|
|
|
|
This is a general notification queue for the kernel to pass events to
|
|
userspace by splicing them into pipes. It can be used in conjunction
|
|
with watches for key/keyring change notifications and device
|
|
notifications.
|
|
|
|
See Documentation/watch_queue.rst
|
|
|
|
config CROSS_MEMORY_ATTACH
|
|
bool "Enable process_vm_readv/writev syscalls"
|
|
depends on MMU
|
|
default y
|
|
help
|
|
Enabling this option adds the system calls process_vm_readv and
|
|
process_vm_writev which allow a process with the correct privileges
|
|
to directly read from or write to another process' address space.
|
|
See the man page for more details.
|
|
|
|
config USELIB
|
|
bool "uselib syscall"
|
|
def_bool ALPHA || M68K || SPARC || X86_32 || IA32_EMULATION
|
|
help
|
|
This option enables the uselib syscall, a system call used in the
|
|
dynamic linker from libc5 and earlier. glibc does not use this
|
|
system call. If you intend to run programs built on libc5 or
|
|
earlier, you may need to enable this syscall. Current systems
|
|
running glibc can safely disable this.
|
|
|
|
config AUDIT
|
|
bool "Auditing support"
|
|
depends on NET
|
|
help
|
|
Enable auditing infrastructure that can be used with another
|
|
kernel subsystem, such as SELinux (which requires this for
|
|
logging of avc messages output). System call auditing is included
|
|
on architectures which support it.
|
|
|
|
config HAVE_ARCH_AUDITSYSCALL
|
|
bool
|
|
|
|
config AUDITSYSCALL
|
|
def_bool y
|
|
depends on AUDIT && HAVE_ARCH_AUDITSYSCALL
|
|
select FSNOTIFY
|
|
|
|
source "kernel/irq/Kconfig"
|
|
source "kernel/time/Kconfig"
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
menu "CPU/Task time and stats accounting"
|
|
|
|
config VIRT_CPU_ACCOUNTING
|
|
bool
|
|
|
|
choice
|
|
prompt "Cputime accounting"
|
|
default TICK_CPU_ACCOUNTING if !PPC64
|
|
default VIRT_CPU_ACCOUNTING_NATIVE if PPC64
|
|
|
|
# Kind of a stub config for the pure tick based cputime accounting
|
|
config TICK_CPU_ACCOUNTING
|
|
bool "Simple tick based cputime accounting"
|
|
depends on !S390 && !NO_HZ_FULL
|
|
help
|
|
This is the basic tick based cputime accounting that maintains
|
|
statistics about user, system and idle time spent on per jiffies
|
|
granularity.
|
|
|
|
If unsure, say Y.
|
|
|
|
config VIRT_CPU_ACCOUNTING_NATIVE
|
|
bool "Deterministic task and CPU time accounting"
|
|
depends on HAVE_VIRT_CPU_ACCOUNTING && !NO_HZ_FULL
|
|
select VIRT_CPU_ACCOUNTING
|
|
help
|
|
Select this option to enable more accurate task and CPU time
|
|
accounting. This is done by reading a CPU counter on each
|
|
kernel entry and exit and on transitions within the kernel
|
|
between system, softirq and hardirq state, so there is a
|
|
small performance impact. In the case of s390 or IBM POWER > 5,
|
|
this also enables accounting of stolen time on logically-partitioned
|
|
systems.
|
|
|
|
config VIRT_CPU_ACCOUNTING_GEN
|
|
bool "Full dynticks CPU time accounting"
|
|
depends on HAVE_CONTEXT_TRACKING
|
|
depends on HAVE_VIRT_CPU_ACCOUNTING_GEN
|
|
depends on GENERIC_CLOCKEVENTS
|
|
select VIRT_CPU_ACCOUNTING
|
|
select CONTEXT_TRACKING
|
|
help
|
|
Select this option to enable task and CPU time accounting on full
|
|
dynticks systems. This accounting is implemented by watching every
|
|
kernel-user boundaries using the context tracking subsystem.
|
|
The accounting is thus performed at the expense of some significant
|
|
overhead.
|
|
|
|
For now this is only useful if you are working on the full
|
|
dynticks subsystem development.
|
|
|
|
If unsure, say N.
|
|
|
|
endchoice
|
|
|
|
config IRQ_TIME_ACCOUNTING
|
|
bool "Fine granularity task level IRQ time accounting"
|
|
depends on HAVE_IRQ_TIME_ACCOUNTING && !VIRT_CPU_ACCOUNTING_NATIVE
|
|
help
|
|
Select this option to enable fine granularity task irq time
|
|
accounting. This is done by reading a timestamp on each
|
|
transitions between softirq and hardirq state, so there can be a
|
|
small performance impact.
|
|
|
|
If in doubt, say N here.
|
|
|
|
config HAVE_SCHED_AVG_IRQ
|
|
def_bool y
|
|
depends on IRQ_TIME_ACCOUNTING || PARAVIRT_TIME_ACCOUNTING
|
|
depends on SMP
|
|
|
|
config SCHED_THERMAL_PRESSURE
|
|
bool
|
|
default y if ARM && ARM_CPU_TOPOLOGY
|
|
default y if ARM64
|
|
depends on SMP
|
|
depends on CPU_FREQ_THERMAL
|
|
help
|
|
Select this option to enable thermal pressure accounting in the
|
|
scheduler. Thermal pressure is the value conveyed to the scheduler
|
|
that reflects the reduction in CPU compute capacity resulted from
|
|
thermal throttling. Thermal throttling occurs when the performance of
|
|
a CPU is capped due to high operating temperatures.
|
|
|
|
If selected, the scheduler will be able to balance tasks accordingly,
|
|
i.e. put less load on throttled CPUs than on non/less throttled ones.
|
|
|
|
This requires the architecture to implement
|
|
arch_set_thermal_pressure() and arch_get_thermal_pressure().
|
|
|
|
config BSD_PROCESS_ACCT
|
|
bool "BSD Process Accounting"
|
|
depends on MULTIUSER
|
|
help
|
|
If you say Y here, a user level program will be able to instruct the
|
|
kernel (via a special system call) to write process accounting
|
|
information to a file: whenever a process exits, information about
|
|
that process will be appended to the file by the kernel. The
|
|
information includes things such as creation time, owning user,
|
|
command name, memory usage, controlling terminal etc. (the complete
|
|
list is in the struct acct in <file:include/linux/acct.h>). It is
|
|
up to the user level program to do useful things with this
|
|
information. This is generally a good idea, so say Y.
|
|
|
|
config BSD_PROCESS_ACCT_V3
|
|
bool "BSD Process Accounting version 3 file format"
|
|
depends on BSD_PROCESS_ACCT
|
|
default n
|
|
help
|
|
If you say Y here, the process accounting information is written
|
|
in a new file format that also logs the process IDs of each
|
|
process and its parent. Note that this file format is incompatible
|
|
with previous v0/v1/v2 file formats, so you will need updated tools
|
|
for processing it. A preliminary version of these tools is available
|
|
at <http://www.gnu.org/software/acct/>.
|
|
|
|
config TASKSTATS
|
|
bool "Export task/process statistics through netlink"
|
|
depends on NET
|
|
depends on MULTIUSER
|
|
default n
|
|
help
|
|
Export selected statistics for tasks/processes through the
|
|
generic netlink interface. Unlike BSD process accounting, the
|
|
statistics are available during the lifetime of tasks/processes as
|
|
responses to commands. Like BSD accounting, they are sent to user
|
|
space on task exit.
|
|
|
|
Say N if unsure.
|
|
|
|
config TASK_DELAY_ACCT
|
|
bool "Enable per-task delay accounting"
|
|
depends on TASKSTATS
|
|
select SCHED_INFO
|
|
help
|
|
Collect information on time spent by a task waiting for system
|
|
resources like cpu, synchronous block I/O completion and swapping
|
|
in pages. Such statistics can help in setting a task's priorities
|
|
relative to other tasks for cpu, io, rss limits etc.
|
|
|
|
Say N if unsure.
|
|
|
|
config TASK_XACCT
|
|
bool "Enable extended accounting over taskstats"
|
|
depends on TASKSTATS
|
|
help
|
|
Collect extended task accounting data and send the data
|
|
to userland for processing over the taskstats interface.
|
|
|
|
Say N if unsure.
|
|
|
|
config TASK_IO_ACCOUNTING
|
|
bool "Enable per-task storage I/O accounting"
|
|
depends on TASK_XACCT
|
|
help
|
|
Collect information on the number of bytes of storage I/O which this
|
|
task has caused.
|
|
|
|
Say N if unsure.
|
|
|
|
config PSI
|
|
bool "Pressure stall information tracking"
|
|
help
|
|
Collect metrics that indicate how overcommitted the CPU, memory,
|
|
and IO capacity are in the system.
|
|
|
|
If you say Y here, the kernel will create /proc/pressure/ with the
|
|
pressure statistics files cpu, memory, and io. These will indicate
|
|
the share of walltime in which some or all tasks in the system are
|
|
delayed due to contention of the respective resource.
|
|
|
|
In kernels with cgroup support, cgroups (cgroup2 only) will
|
|
have cpu.pressure, memory.pressure, and io.pressure files,
|
|
which aggregate pressure stalls for the grouped tasks only.
|
|
|
|
For more details see Documentation/accounting/psi.rst.
|
|
|
|
Say N if unsure.
|
|
|
|
config PSI_DEFAULT_DISABLED
|
|
bool "Require boot parameter to enable pressure stall information tracking"
|
|
default n
|
|
depends on PSI
|
|
help
|
|
If set, pressure stall information tracking will be disabled
|
|
per default but can be enabled through passing psi=1 on the
|
|
kernel commandline during boot.
|
|
|
|
This feature adds some code to the task wakeup and sleep
|
|
paths of the scheduler. The overhead is too low to affect
|
|
common scheduling-intense workloads in practice (such as
|
|
webservers, memcache), but it does show up in artificial
|
|
scheduler stress tests, such as hackbench.
|
|
|
|
If you are paranoid and not sure what the kernel will be
|
|
used for, say Y.
|
|
|
|
Say N if unsure.
|
|
|
|
endmenu # "CPU/Task time and stats accounting"
|
|
|
|
config CPU_ISOLATION
|
|
bool "CPU isolation"
|
|
depends on SMP || COMPILE_TEST
|
|
default y
|
|
help
|
|
Make sure that CPUs running critical tasks are not disturbed by
|
|
any source of "noise" such as unbound workqueues, timers, kthreads...
|
|
Unbound jobs get offloaded to housekeeping CPUs. This is driven by
|
|
the "isolcpus=" boot parameter.
|
|
|
|
Say Y if unsure.
|
|
|
|
source "kernel/rcu/Kconfig"
|
|
|
|
config BUILD_BIN2C
|
|
bool
|
|
default n
|
|
|
|
config IKCONFIG
|
|
tristate "Kernel .config support"
|
|
help
|
|
This option enables the complete Linux kernel ".config" file
|
|
contents to be saved in the kernel. It provides documentation
|
|
of which kernel options are used in a running kernel or in an
|
|
on-disk kernel. This information can be extracted from the kernel
|
|
image file with the script scripts/extract-ikconfig and used as
|
|
input to rebuild the current kernel or to build another kernel.
|
|
It can also be extracted from a running kernel by reading
|
|
/proc/config.gz if enabled (below).
|
|
|
|
config IKCONFIG_PROC
|
|
bool "Enable access to .config through /proc/config.gz"
|
|
depends on IKCONFIG && PROC_FS
|
|
help
|
|
This option enables access to the kernel configuration file
|
|
through /proc/config.gz.
|
|
|
|
config IKHEADERS
|
|
tristate "Enable kernel headers through /sys/kernel/kheaders.tar.xz"
|
|
depends on SYSFS
|
|
help
|
|
This option enables access to the in-kernel headers that are generated during
|
|
the build process. These can be used to build eBPF tracing programs,
|
|
or similar programs. If you build the headers as a module, a module called
|
|
kheaders.ko is built which can be loaded on-demand to get access to headers.
|
|
|
|
config LOG_BUF_SHIFT
|
|
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
|
|
range 12 25 if !H8300
|
|
range 12 19 if H8300
|
|
default 17
|
|
depends on PRINTK
|
|
help
|
|
Select the minimal kernel log buffer size as a power of 2.
|
|
The final size is affected by LOG_CPU_MAX_BUF_SHIFT config
|
|
parameter, see below. Any higher size also might be forced
|
|
by "log_buf_len" boot parameter.
|
|
|
|
Examples:
|
|
17 => 128 KB
|
|
16 => 64 KB
|
|
15 => 32 KB
|
|
14 => 16 KB
|
|
13 => 8 KB
|
|
12 => 4 KB
|
|
|
|
config LOG_CPU_MAX_BUF_SHIFT
|
|
int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)"
|
|
depends on SMP
|
|
range 0 21
|
|
default 12 if !BASE_SMALL
|
|
default 0 if BASE_SMALL
|
|
depends on PRINTK
|
|
help
|
|
This option allows to increase the default ring buffer size
|
|
according to the number of CPUs. The value defines the contribution
|
|
of each CPU as a power of 2. The used space is typically only few
|
|
lines however it might be much more when problems are reported,
|
|
e.g. backtraces.
|
|
|
|
The increased size means that a new buffer has to be allocated and
|
|
the original static one is unused. It makes sense only on systems
|
|
with more CPUs. Therefore this value is used only when the sum of
|
|
contributions is greater than the half of the default kernel ring
|
|
buffer as defined by LOG_BUF_SHIFT. The default values are set
|
|
so that more than 16 CPUs are needed to trigger the allocation.
|
|
|
|
Also this option is ignored when "log_buf_len" kernel parameter is
|
|
used as it forces an exact (power of two) size of the ring buffer.
|
|
|
|
The number of possible CPUs is used for this computation ignoring
|
|
hotplugging making the computation optimal for the worst case
|
|
scenario while allowing a simple algorithm to be used from bootup.
|
|
|
|
Examples shift values and their meaning:
|
|
17 => 128 KB for each CPU
|
|
16 => 64 KB for each CPU
|
|
15 => 32 KB for each CPU
|
|
14 => 16 KB for each CPU
|
|
13 => 8 KB for each CPU
|
|
12 => 4 KB for each CPU
|
|
|
|
config PRINTK_SAFE_LOG_BUF_SHIFT
|
|
int "Temporary per-CPU printk log buffer size (12 => 4KB, 13 => 8KB)"
|
|
range 10 21
|
|
default 13
|
|
depends on PRINTK
|
|
help
|
|
Select the size of an alternate printk per-CPU buffer where messages
|
|
printed from usafe contexts are temporary stored. One example would
|
|
be NMI messages, another one - printk recursion. The messages are
|
|
copied to the main log buffer in a safe context to avoid a deadlock.
|
|
The value defines the size as a power of 2.
|
|
|
|
Those messages are rare and limited. The largest one is when
|
|
a backtrace is printed. It usually fits into 4KB. Select
|
|
8KB if you want to be on the safe side.
|
|
|
|
Examples:
|
|
17 => 128 KB for each CPU
|
|
16 => 64 KB for each CPU
|
|
15 => 32 KB for each CPU
|
|
14 => 16 KB for each CPU
|
|
13 => 8 KB for each CPU
|
|
12 => 4 KB for each CPU
|
|
|
|
#
|
|
# Architectures with an unreliable sched_clock() should select this:
|
|
#
|
|
config HAVE_UNSTABLE_SCHED_CLOCK
|
|
bool
|
|
|
|
config GENERIC_SCHED_CLOCK
|
|
bool
|
|
|
|
menu "Scheduler features"
|
|
|
|
config UCLAMP_TASK
|
|
bool "Enable utilization clamping for RT/FAIR tasks"
|
|
depends on CPU_FREQ_GOV_SCHEDUTIL
|
|
help
|
|
This feature enables the scheduler to track the clamped utilization
|
|
of each CPU based on RUNNABLE tasks scheduled on that CPU.
|
|
|
|
With this option, the user can specify the min and max CPU
|
|
utilization allowed for RUNNABLE tasks. The max utilization defines
|
|
the maximum frequency a task should use while the min utilization
|
|
defines the minimum frequency it should use.
|
|
|
|
Both min and max utilization clamp values are hints to the scheduler,
|
|
aiming at improving its frequency selection policy, but they do not
|
|
enforce or grant any specific bandwidth for tasks.
|
|
|
|
If in doubt, say N.
|
|
|
|
config UCLAMP_BUCKETS_COUNT
|
|
int "Number of supported utilization clamp buckets"
|
|
range 5 20
|
|
default 5
|
|
depends on UCLAMP_TASK
|
|
help
|
|
Defines the number of clamp buckets to use. The range of each bucket
|
|
will be SCHED_CAPACITY_SCALE/UCLAMP_BUCKETS_COUNT. The higher the
|
|
number of clamp buckets the finer their granularity and the higher
|
|
the precision of clamping aggregation and tracking at run-time.
|
|
|
|
For example, with the minimum configuration value we will have 5
|
|
clamp buckets tracking 20% utilization each. A 25% boosted tasks will
|
|
be refcounted in the [20..39]% bucket and will set the bucket clamp
|
|
effective value to 25%.
|
|
If a second 30% boosted task should be co-scheduled on the same CPU,
|
|
that task will be refcounted in the same bucket of the first task and
|
|
it will boost the bucket clamp effective value to 30%.
|
|
The clamp effective value of a bucket is reset to its nominal value
|
|
(20% in the example above) when there are no more tasks refcounted in
|
|
that bucket.
|
|
|
|
An additional boost/capping margin can be added to some tasks. In the
|
|
example above the 25% task will be boosted to 30% until it exits the
|
|
CPU. If that should be considered not acceptable on certain systems,
|
|
it's always possible to reduce the margin by increasing the number of
|
|
clamp buckets to trade off used memory for run-time tracking
|
|
precision.
|
|
|
|
If in doubt, use the default value.
|
|
|
|
endmenu
|
|
|
|
#
|
|
# For architectures that want to enable the support for NUMA-affine scheduler
|
|
# balancing logic:
|
|
#
|
|
config ARCH_SUPPORTS_NUMA_BALANCING
|
|
bool
|
|
|
|
#
|
|
# For architectures that prefer to flush all TLBs after a number of pages
|
|
# are unmapped instead of sending one IPI per page to flush. The architecture
|
|
# must provide guarantees on what happens if a clean TLB cache entry is
|
|
# written after the unmap. Details are in mm/rmap.c near the check for
|
|
# should_defer_flush. The architecture should also consider if the full flush
|
|
# and the refill costs are offset by the savings of sending fewer IPIs.
|
|
config ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH
|
|
bool
|
|
|
|
config CC_HAS_INT128
|
|
def_bool !$(cc-option,$(m64-flag) -D__SIZEOF_INT128__=0) && 64BIT
|
|
|
|
#
|
|
# For architectures that know their GCC __int128 support is sound
|
|
#
|
|
config ARCH_SUPPORTS_INT128
|
|
bool
|
|
|
|
# For architectures that (ab)use NUMA to represent different memory regions
|
|
# all cpu-local but of different latencies, such as SuperH.
|
|
#
|
|
config ARCH_WANT_NUMA_VARIABLE_LOCALITY
|
|
bool
|
|
|
|
config NUMA_BALANCING
|
|
bool "Memory placement aware NUMA scheduler"
|
|
depends on ARCH_SUPPORTS_NUMA_BALANCING
|
|
depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY
|
|
depends on SMP && NUMA && MIGRATION
|
|
help
|
|
This option adds support for automatic NUMA aware memory/task placement.
|
|
The mechanism is quite primitive and is based on migrating memory when
|
|
it has references to the node the task is running on.
|
|
|
|
This system will be inactive on UMA systems.
|
|
|
|
config NUMA_BALANCING_DEFAULT_ENABLED
|
|
bool "Automatically enable NUMA aware memory/task placement"
|
|
default y
|
|
depends on NUMA_BALANCING
|
|
help
|
|
If set, automatic NUMA balancing will be enabled if running on a NUMA
|
|
machine.
|
|
|
|
menuconfig CGROUPS
|
|
bool "Control Group support"
|
|
select KERNFS
|
|
help
|
|
This option adds support for grouping sets of processes together, for
|
|
use with process control subsystems such as Cpusets, CFS, memory
|
|
controls or device isolation.
|
|
See
|
|
- Documentation/scheduler/sched-design-CFS.rst (CFS)
|
|
- Documentation/admin-guide/cgroup-v1/ (features for grouping, isolation
|
|
and resource control)
|
|
|
|
Say N if unsure.
|
|
|
|
if CGROUPS
|
|
|
|
config PAGE_COUNTER
|
|
bool
|
|
|
|
config MEMCG
|
|
bool "Memory controller"
|
|
select PAGE_COUNTER
|
|
select EVENTFD
|
|
help
|
|
Provides control over the memory footprint of tasks in a cgroup.
|
|
|
|
config MEMCG_SWAP
|
|
bool
|
|
depends on MEMCG && SWAP
|
|
default y
|
|
|
|
config MEMCG_KMEM
|
|
bool
|
|
depends on MEMCG && !SLOB
|
|
default y
|
|
|
|
config BLK_CGROUP
|
|
bool "IO controller"
|
|
depends on BLOCK
|
|
default n
|
|
help
|
|
Generic block IO controller cgroup interface. This is the common
|
|
cgroup interface which should be used by various IO controlling
|
|
policies.
|
|
|
|
Currently, CFQ IO scheduler uses it to recognize task groups and
|
|
control disk bandwidth allocation (proportional time slice allocation)
|
|
to such task groups. It is also used by bio throttling logic in
|
|
block layer to implement upper limit in IO rates on a device.
|
|
|
|
This option only enables generic Block IO controller infrastructure.
|
|
One needs to also enable actual IO controlling logic/policy. For
|
|
enabling proportional weight division of disk bandwidth in CFQ, set
|
|
CONFIG_BFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
|
|
CONFIG_BLK_DEV_THROTTLING=y.
|
|
|
|
See Documentation/admin-guide/cgroup-v1/blkio-controller.rst for more information.
|
|
|
|
config CGROUP_WRITEBACK
|
|
bool
|
|
depends on MEMCG && BLK_CGROUP
|
|
default y
|
|
|
|
menuconfig CGROUP_SCHED
|
|
bool "CPU controller"
|
|
default n
|
|
help
|
|
This feature lets CPU scheduler recognize task groups and control CPU
|
|
bandwidth allocation to such task groups. It uses cgroups to group
|
|
tasks.
|
|
|
|
if CGROUP_SCHED
|
|
config FAIR_GROUP_SCHED
|
|
bool "Group scheduling for SCHED_OTHER"
|
|
depends on CGROUP_SCHED
|
|
default CGROUP_SCHED
|
|
|
|
config CFS_BANDWIDTH
|
|
bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
|
|
depends on FAIR_GROUP_SCHED
|
|
default n
|
|
help
|
|
This option allows users to define CPU bandwidth rates (limits) for
|
|
tasks running within the fair group scheduler. Groups with no limit
|
|
set are considered to be unconstrained and will run with no
|
|
restriction.
|
|
See Documentation/scheduler/sched-bwc.rst for more information.
|
|
|
|
config RT_GROUP_SCHED
|
|
bool "Group scheduling for SCHED_RR/FIFO"
|
|
depends on CGROUP_SCHED
|
|
default n
|
|
help
|
|
This feature lets you explicitly allocate real CPU bandwidth
|
|
to task groups. If enabled, it will also make it impossible to
|
|
schedule realtime tasks for non-root users until you allocate
|
|
realtime bandwidth for them.
|
|
See Documentation/scheduler/sched-rt-group.rst for more information.
|
|
|
|
endif #CGROUP_SCHED
|
|
|
|
config UCLAMP_TASK_GROUP
|
|
bool "Utilization clamping per group of tasks"
|
|
depends on CGROUP_SCHED
|
|
depends on UCLAMP_TASK
|
|
default n
|
|
help
|
|
This feature enables the scheduler to track the clamped utilization
|
|
of each CPU based on RUNNABLE tasks currently scheduled on that CPU.
|
|
|
|
When this option is enabled, the user can specify a min and max
|
|
CPU bandwidth which is allowed for each single task in a group.
|
|
The max bandwidth allows to clamp the maximum frequency a task
|
|
can use, while the min bandwidth allows to define a minimum
|
|
frequency a task will always use.
|
|
|
|
When task group based utilization clamping is enabled, an eventually
|
|
specified task-specific clamp value is constrained by the cgroup
|
|
specified clamp value. Both minimum and maximum task clamping cannot
|
|
be bigger than the corresponding clamping defined at task group level.
|
|
|
|
If in doubt, say N.
|
|
|
|
config CGROUP_PIDS
|
|
bool "PIDs controller"
|
|
help
|
|
Provides enforcement of process number limits in the scope of a
|
|
cgroup. Any attempt to fork more processes than is allowed in the
|
|
cgroup will fail. PIDs are fundamentally a global resource because it
|
|
is fairly trivial to reach PID exhaustion before you reach even a
|
|
conservative kmemcg limit. As a result, it is possible to grind a
|
|
system to halt without being limited by other cgroup policies. The
|
|
PIDs controller is designed to stop this from happening.
|
|
|
|
It should be noted that organisational operations (such as attaching
|
|
to a cgroup hierarchy) will *not* be blocked by the PIDs controller,
|
|
since the PIDs limit only affects a process's ability to fork, not to
|
|
attach to a cgroup.
|
|
|
|
config CGROUP_RDMA
|
|
bool "RDMA controller"
|
|
help
|
|
Provides enforcement of RDMA resources defined by IB stack.
|
|
It is fairly easy for consumers to exhaust RDMA resources, which
|
|
can result into resource unavailability to other consumers.
|
|
RDMA controller is designed to stop this from happening.
|
|
Attaching processes with active RDMA resources to the cgroup
|
|
hierarchy is allowed even if can cross the hierarchy's limit.
|
|
|
|
config CGROUP_FREEZER
|
|
bool "Freezer controller"
|
|
help
|
|
Provides a way to freeze and unfreeze all tasks in a
|
|
cgroup.
|
|
|
|
This option affects the ORIGINAL cgroup interface. The cgroup2 memory
|
|
controller includes important in-kernel memory consumers per default.
|
|
|
|
If you're using cgroup2, say N.
|
|
|
|
config CGROUP_HUGETLB
|
|
bool "HugeTLB controller"
|
|
depends on HUGETLB_PAGE
|
|
select PAGE_COUNTER
|
|
default n
|
|
help
|
|
Provides a cgroup controller for HugeTLB pages.
|
|
When you enable this, you can put a per cgroup limit on HugeTLB usage.
|
|
The limit is enforced during page fault. Since HugeTLB doesn't
|
|
support page reclaim, enforcing the limit at page fault time implies
|
|
that, the application will get SIGBUS signal if it tries to access
|
|
HugeTLB pages beyond its limit. This requires the application to know
|
|
beforehand how much HugeTLB pages it would require for its use. The
|
|
control group is tracked in the third page lru pointer. This means
|
|
that we cannot use the controller with huge page less than 3 pages.
|
|
|
|
config CPUSETS
|
|
bool "Cpuset controller"
|
|
depends on SMP
|
|
help
|
|
This option will let you create and manage CPUSETs which
|
|
allow dynamically partitioning a system into sets of CPUs and
|
|
Memory Nodes and assigning tasks to run only within those sets.
|
|
This is primarily useful on large SMP or NUMA systems.
|
|
|
|
Say N if unsure.
|
|
|
|
config PROC_PID_CPUSET
|
|
bool "Include legacy /proc/<pid>/cpuset file"
|
|
depends on CPUSETS
|
|
default y
|
|
|
|
config CGROUP_DEVICE
|
|
bool "Device controller"
|
|
help
|
|
Provides a cgroup controller implementing whitelists for
|
|
devices which a process in the cgroup can mknod or open.
|
|
|
|
config CGROUP_CPUACCT
|
|
bool "Simple CPU accounting controller"
|
|
help
|
|
Provides a simple controller for monitoring the
|
|
total CPU consumed by the tasks in a cgroup.
|
|
|
|
config CGROUP_PERF
|
|
bool "Perf controller"
|
|
depends on PERF_EVENTS
|
|
help
|
|
This option extends the perf per-cpu mode to restrict monitoring
|
|
to threads which belong to the cgroup specified and run on the
|
|
designated cpu. Or this can be used to have cgroup ID in samples
|
|
so that it can monitor performance events among cgroups.
|
|
|
|
Say N if unsure.
|
|
|
|
config CGROUP_BPF
|
|
bool "Support for eBPF programs attached to cgroups"
|
|
depends on BPF_SYSCALL
|
|
select SOCK_CGROUP_DATA
|
|
help
|
|
Allow attaching eBPF programs to a cgroup using the bpf(2)
|
|
syscall command BPF_PROG_ATTACH.
|
|
|
|
In which context these programs are accessed depends on the type
|
|
of attachment. For instance, programs that are attached using
|
|
BPF_CGROUP_INET_INGRESS will be executed on the ingress path of
|
|
inet sockets.
|
|
|
|
config CGROUP_DEBUG
|
|
bool "Debug controller"
|
|
default n
|
|
depends on DEBUG_KERNEL
|
|
help
|
|
This option enables a simple controller that exports
|
|
debugging information about the cgroups framework. This
|
|
controller is for control cgroup debugging only. Its
|
|
interfaces are not stable.
|
|
|
|
Say N.
|
|
|
|
config SOCK_CGROUP_DATA
|
|
bool
|
|
default n
|
|
|
|
endif # CGROUPS
|
|
|
|
menuconfig NAMESPACES
|
|
bool "Namespaces support" if EXPERT
|
|
depends on MULTIUSER
|
|
default !EXPERT
|
|
help
|
|
Provides the way to make tasks work with different objects using
|
|
the same id. For example same IPC id may refer to different objects
|
|
or same user id or pid may refer to different tasks when used in
|
|
different namespaces.
|
|
|
|
if NAMESPACES
|
|
|
|
config UTS_NS
|
|
bool "UTS namespace"
|
|
default y
|
|
help
|
|
In this namespace tasks see different info provided with the
|
|
uname() system call
|
|
|
|
config TIME_NS
|
|
bool "TIME namespace"
|
|
depends on GENERIC_VDSO_TIME_NS
|
|
default y
|
|
help
|
|
In this namespace boottime and monotonic clocks can be set.
|
|
The time will keep going with the same pace.
|
|
|
|
config IPC_NS
|
|
bool "IPC namespace"
|
|
depends on (SYSVIPC || POSIX_MQUEUE)
|
|
default y
|
|
help
|
|
In this namespace tasks work with IPC ids which correspond to
|
|
different IPC objects in different namespaces.
|
|
|
|
config USER_NS
|
|
bool "User namespace"
|
|
default n
|
|
help
|
|
This allows containers, i.e. vservers, to use user namespaces
|
|
to provide different user info for different servers.
|
|
|
|
When user namespaces are enabled in the kernel it is
|
|
recommended that the MEMCG option also be enabled and that
|
|
user-space use the memory control groups to limit the amount
|
|
of memory a memory unprivileged users can use.
|
|
|
|
If unsure, say N.
|
|
|
|
config PID_NS
|
|
bool "PID Namespaces"
|
|
default y
|
|
help
|
|
Support process id namespaces. This allows having multiple
|
|
processes with the same pid as long as they are in different
|
|
pid namespaces. This is a building block of containers.
|
|
|
|
config NET_NS
|
|
bool "Network namespace"
|
|
depends on NET
|
|
default y
|
|
help
|
|
Allow user space to create what appear to be multiple instances
|
|
of the network stack.
|
|
|
|
endif # NAMESPACES
|
|
|
|
config CHECKPOINT_RESTORE
|
|
bool "Checkpoint/restore support"
|
|
select PROC_CHILDREN
|
|
select KCMP
|
|
default n
|
|
help
|
|
Enables additional kernel features in a sake of checkpoint/restore.
|
|
In particular it adds auxiliary prctl codes to setup process text,
|
|
data and heap segment sizes, and a few additional /proc filesystem
|
|
entries.
|
|
|
|
If unsure, say N here.
|
|
|
|
config SCHED_AUTOGROUP
|
|
bool "Automatic process group scheduling"
|
|
select CGROUPS
|
|
select CGROUP_SCHED
|
|
select FAIR_GROUP_SCHED
|
|
help
|
|
This option optimizes the scheduler for common desktop workloads by
|
|
automatically creating and populating task groups. This separation
|
|
of workloads isolates aggressive CPU burners (like build jobs) from
|
|
desktop applications. Task group autogeneration is currently based
|
|
upon task session.
|
|
|
|
config RT_SOFTINT_OPTIMIZATION
|
|
bool "Improve RT scheduling during long softint execution"
|
|
depends on ARM64
|
|
depends on SMP
|
|
default n
|
|
help
|
|
Enable an optimization which tries to avoid placing RT tasks on CPUs
|
|
occupied by nonpreemptible tasks, such as a long softint, or CPUs
|
|
which may soon block preemptions, such as a CPU running a ksoftirq
|
|
thread which handles slow softints.
|
|
|
|
config SYSFS_DEPRECATED
|
|
bool "Enable deprecated sysfs features to support old userspace tools"
|
|
depends on SYSFS
|
|
default n
|
|
help
|
|
This option adds code that switches the layout of the "block" class
|
|
devices, to not show up in /sys/class/block/, but only in
|
|
/sys/block/.
|
|
|
|
This switch is only active when the sysfs.deprecated=1 boot option is
|
|
passed or the SYSFS_DEPRECATED_V2 option is set.
|
|
|
|
This option allows new kernels to run on old distributions and tools,
|
|
which might get confused by /sys/class/block/. Since 2007/2008 all
|
|
major distributions and tools handle this just fine.
|
|
|
|
Recent distributions and userspace tools after 2009/2010 depend on
|
|
the existence of /sys/class/block/, and will not work with this
|
|
option enabled.
|
|
|
|
Only if you are using a new kernel on an old distribution, you might
|
|
need to say Y here.
|
|
|
|
config SYSFS_DEPRECATED_V2
|
|
bool "Enable deprecated sysfs features by default"
|
|
default n
|
|
depends on SYSFS
|
|
depends on SYSFS_DEPRECATED
|
|
help
|
|
Enable deprecated sysfs by default.
|
|
|
|
See the CONFIG_SYSFS_DEPRECATED option for more details about this
|
|
option.
|
|
|
|
Only if you are using a new kernel on an old distribution, you might
|
|
need to say Y here. Even then, odds are you would not need it
|
|
enabled, you can always pass the boot option if absolutely necessary.
|
|
|
|
config RELAY
|
|
bool "Kernel->user space relay support (formerly relayfs)"
|
|
select IRQ_WORK
|
|
help
|
|
This option enables support for relay interface support in
|
|
certain file systems (such as debugfs).
|
|
It is designed to provide an efficient mechanism for tools and
|
|
facilities to relay large amounts of data from kernel space to
|
|
user space.
|
|
|
|
If unsure, say N.
|
|
|
|
config BLK_DEV_INITRD
|
|
bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
|
|
help
|
|
The initial RAM filesystem is a ramfs which is loaded by the
|
|
boot loader (loadlin or lilo) and that is mounted as root
|
|
before the normal boot procedure. It is typically used to
|
|
load modules needed to mount the "real" root file system,
|
|
etc. See <file:Documentation/admin-guide/initrd.rst> for details.
|
|
|
|
If RAM disk support (BLK_DEV_RAM) is also included, this
|
|
also enables initial RAM disk (initrd) support and adds
|
|
15 Kbytes (more on some other architectures) to the kernel size.
|
|
|
|
If unsure say Y.
|
|
|
|
if BLK_DEV_INITRD
|
|
|
|
source "usr/Kconfig"
|
|
|
|
endif
|
|
|
|
config BOOT_CONFIG
|
|
bool "Boot config support"
|
|
select BLK_DEV_INITRD
|
|
help
|
|
Extra boot config allows system admin to pass a config file as
|
|
complemental extension of kernel cmdline when booting.
|
|
The boot config file must be attached at the end of initramfs
|
|
with checksum, size and magic word.
|
|
See <file:Documentation/admin-guide/bootconfig.rst> for details.
|
|
|
|
If unsure, say Y.
|
|
|
|
choice
|
|
prompt "Compiler optimization level"
|
|
default CC_OPTIMIZE_FOR_PERFORMANCE
|
|
|
|
config CC_OPTIMIZE_FOR_PERFORMANCE
|
|
bool "Optimize for performance (-O2)"
|
|
help
|
|
This is the default optimization level for the kernel, building
|
|
with the "-O2" compiler flag for best performance and most
|
|
helpful compile-time warnings.
|
|
|
|
config CC_OPTIMIZE_FOR_PERFORMANCE_O3
|
|
bool "Optimize more for performance (-O3)"
|
|
depends on ARC
|
|
help
|
|
Choosing this option will pass "-O3" to your compiler to optimize
|
|
the kernel yet more for performance.
|
|
|
|
config CC_OPTIMIZE_FOR_SIZE
|
|
bool "Optimize for size (-Os)"
|
|
help
|
|
Choosing this option will pass "-Os" to your compiler resulting
|
|
in a smaller kernel.
|
|
|
|
endchoice
|
|
|
|
config HAVE_LD_DEAD_CODE_DATA_ELIMINATION
|
|
bool
|
|
help
|
|
This requires that the arch annotates or otherwise protects
|
|
its external entry points from being discarded. Linker scripts
|
|
must also merge .text.*, .data.*, and .bss.* correctly into
|
|
output sections. Care must be taken not to pull in unrelated
|
|
sections (e.g., '.text.init'). Typically '.' in section names
|
|
is used to distinguish them from label names / C identifiers.
|
|
|
|
config LD_DEAD_CODE_DATA_ELIMINATION
|
|
bool "Dead code and data elimination (EXPERIMENTAL)"
|
|
depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION
|
|
depends on EXPERT
|
|
depends on $(cc-option,-ffunction-sections -fdata-sections)
|
|
depends on $(ld-option,--gc-sections)
|
|
help
|
|
Enable this if you want to do dead code and data elimination with
|
|
the linker by compiling with -ffunction-sections -fdata-sections,
|
|
and linking with --gc-sections.
|
|
|
|
This can reduce on disk and in-memory size of the kernel
|
|
code and static data, particularly for small configs and
|
|
on small systems. This has the possibility of introducing
|
|
silently broken kernel if the required annotations are not
|
|
present. This option is not well tested yet, so use at your
|
|
own risk.
|
|
|
|
config LD_ORPHAN_WARN
|
|
def_bool y
|
|
depends on ARCH_WANT_LD_ORPHAN_WARN
|
|
depends on !LD_IS_LLD || LLD_VERSION >= 110000
|
|
depends on $(ld-option,--orphan-handling=warn)
|
|
|
|
config SYSCTL
|
|
bool
|
|
|
|
config HAVE_UID16
|
|
bool
|
|
|
|
config SYSCTL_EXCEPTION_TRACE
|
|
bool
|
|
help
|
|
Enable support for /proc/sys/debug/exception-trace.
|
|
|
|
config SYSCTL_ARCH_UNALIGN_NO_WARN
|
|
bool
|
|
help
|
|
Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
|
|
Allows arch to define/use @no_unaligned_warning to possibly warn
|
|
about unaligned access emulation going on under the hood.
|
|
|
|
config SYSCTL_ARCH_UNALIGN_ALLOW
|
|
bool
|
|
help
|
|
Enable support for /proc/sys/kernel/unaligned-trap
|
|
Allows arches to define/use @unaligned_enabled to runtime toggle
|
|
the unaligned access emulation.
|
|
see arch/parisc/kernel/unaligned.c for reference
|
|
|
|
config HAVE_PCSPKR_PLATFORM
|
|
bool
|
|
|
|
# interpreter that classic socket filters depend on
|
|
config BPF
|
|
bool
|
|
|
|
menuconfig EXPERT
|
|
bool "Configure standard kernel features (expert users)"
|
|
# Unhide debug options, to make the on-by-default options visible
|
|
select DEBUG_KERNEL
|
|
help
|
|
This option allows certain base kernel options and settings
|
|
to be disabled or tweaked. This is for specialized
|
|
environments which can tolerate a "non-standard" kernel.
|
|
Only use this if you really know what you are doing.
|
|
|
|
config UID16
|
|
bool "Enable 16-bit UID system calls" if EXPERT
|
|
depends on HAVE_UID16 && MULTIUSER
|
|
default y
|
|
help
|
|
This enables the legacy 16-bit UID syscall wrappers.
|
|
|
|
config MULTIUSER
|
|
bool "Multiple users, groups and capabilities support" if EXPERT
|
|
default y
|
|
help
|
|
This option enables support for non-root users, groups and
|
|
capabilities.
|
|
|
|
If you say N here, all processes will run with UID 0, GID 0, and all
|
|
possible capabilities. Saying N here also compiles out support for
|
|
system calls related to UIDs, GIDs, and capabilities, such as setuid,
|
|
setgid, and capset.
|
|
|
|
If unsure, say Y here.
|
|
|
|
config SGETMASK_SYSCALL
|
|
bool "sgetmask/ssetmask syscalls support" if EXPERT
|
|
def_bool PARISC || M68K || PPC || MIPS || X86 || SPARC || MICROBLAZE || SUPERH
|
|
help
|
|
sys_sgetmask and sys_ssetmask are obsolete system calls
|
|
no longer supported in libc but still enabled by default in some
|
|
architectures.
|
|
|
|
If unsure, leave the default option here.
|
|
|
|
config SYSFS_SYSCALL
|
|
bool "Sysfs syscall support" if EXPERT
|
|
default y
|
|
help
|
|
sys_sysfs is an obsolete system call no longer supported in libc.
|
|
Note that disabling this option is more secure but might break
|
|
compatibility with some systems.
|
|
|
|
If unsure say Y here.
|
|
|
|
config FHANDLE
|
|
bool "open by fhandle syscalls" if EXPERT
|
|
select EXPORTFS
|
|
default y
|
|
help
|
|
If you say Y here, a user level program will be able to map
|
|
file names to handle and then later use the handle for
|
|
different file system operations. This is useful in implementing
|
|
userspace file servers, which now track files using handles instead
|
|
of names. The handle would remain the same even if file names
|
|
get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
|
|
syscalls.
|
|
|
|
config POSIX_TIMERS
|
|
bool "Posix Clocks & timers" if EXPERT
|
|
default y
|
|
help
|
|
This includes native support for POSIX timers to the kernel.
|
|
Some embedded systems have no use for them and therefore they
|
|
can be configured out to reduce the size of the kernel image.
|
|
|
|
When this option is disabled, the following syscalls won't be
|
|
available: timer_create, timer_gettime: timer_getoverrun,
|
|
timer_settime, timer_delete, clock_adjtime, getitimer,
|
|
setitimer, alarm. Furthermore, the clock_settime, clock_gettime,
|
|
clock_getres and clock_nanosleep syscalls will be limited to
|
|
CLOCK_REALTIME, CLOCK_MONOTONIC and CLOCK_BOOTTIME only.
|
|
|
|
If unsure say y.
|
|
|
|
config PRINTK
|
|
default y
|
|
bool "Enable support for printk" if EXPERT
|
|
select IRQ_WORK
|
|
help
|
|
This option enables normal printk support. Removing it
|
|
eliminates most of the message strings from the kernel image
|
|
and makes the kernel more or less silent. As this makes it
|
|
very difficult to diagnose system problems, saying N here is
|
|
strongly discouraged.
|
|
|
|
config PRINTK_NMI
|
|
def_bool y
|
|
depends on PRINTK
|
|
depends on HAVE_NMI
|
|
|
|
config BUG
|
|
bool "BUG() support" if EXPERT
|
|
default y
|
|
help
|
|
Disabling this option eliminates support for BUG and WARN, reducing
|
|
the size of your kernel image and potentially quietly ignoring
|
|
numerous fatal conditions. You should only consider disabling this
|
|
option for embedded systems with no facilities for reporting errors.
|
|
Just say Y.
|
|
|
|
config ELF_CORE
|
|
depends on COREDUMP
|
|
default y
|
|
bool "Enable ELF core dumps" if EXPERT
|
|
help
|
|
Enable support for generating core dumps. Disabling saves about 4k.
|
|
|
|
|
|
config PCSPKR_PLATFORM
|
|
bool "Enable PC-Speaker support" if EXPERT
|
|
depends on HAVE_PCSPKR_PLATFORM
|
|
select I8253_LOCK
|
|
default y
|
|
help
|
|
This option allows to disable the internal PC-Speaker
|
|
support, saving some memory.
|
|
|
|
config BASE_FULL
|
|
default y
|
|
bool "Enable full-sized data structures for core" if EXPERT
|
|
help
|
|
Disabling this option reduces the size of miscellaneous core
|
|
kernel data structures. This saves memory on small machines,
|
|
but may reduce performance.
|
|
|
|
config FUTEX
|
|
bool "Enable futex support" if EXPERT
|
|
default y
|
|
imply RT_MUTEXES
|
|
help
|
|
Disabling this option will cause the kernel to be built without
|
|
support for "fast userspace mutexes". The resulting kernel may not
|
|
run glibc-based applications correctly.
|
|
|
|
config FUTEX_PI
|
|
bool
|
|
depends on FUTEX && RT_MUTEXES
|
|
default y
|
|
|
|
config HAVE_FUTEX_CMPXCHG
|
|
bool
|
|
depends on FUTEX
|
|
help
|
|
Architectures should select this if futex_atomic_cmpxchg_inatomic()
|
|
is implemented and always working. This removes a couple of runtime
|
|
checks.
|
|
|
|
config EPOLL
|
|
bool "Enable eventpoll support" if EXPERT
|
|
default y
|
|
help
|
|
Disabling this option will cause the kernel to be built without
|
|
support for epoll family of system calls.
|
|
|
|
config SIGNALFD
|
|
bool "Enable signalfd() system call" if EXPERT
|
|
default y
|
|
help
|
|
Enable the signalfd() system call that allows to receive signals
|
|
on a file descriptor.
|
|
|
|
If unsure, say Y.
|
|
|
|
config TIMERFD
|
|
bool "Enable timerfd() system call" if EXPERT
|
|
default y
|
|
help
|
|
Enable the timerfd() system call that allows to receive timer
|
|
events on a file descriptor.
|
|
|
|
If unsure, say Y.
|
|
|
|
config EVENTFD
|
|
bool "Enable eventfd() system call" if EXPERT
|
|
default y
|
|
help
|
|
Enable the eventfd() system call that allows to receive both
|
|
kernel notification (ie. KAIO) or userspace notifications.
|
|
|
|
If unsure, say Y.
|
|
|
|
config SHMEM
|
|
bool "Use full shmem filesystem" if EXPERT
|
|
default y
|
|
depends on MMU
|
|
help
|
|
The shmem is an internal filesystem used to manage shared memory.
|
|
It is backed by swap and manages resource limits. It is also exported
|
|
to userspace as tmpfs if TMPFS is enabled. Disabling this
|
|
option replaces shmem and tmpfs with the much simpler ramfs code,
|
|
which may be appropriate on small systems without swap.
|
|
|
|
config AIO
|
|
bool "Enable AIO support" if EXPERT
|
|
default y
|
|
help
|
|
This option enables POSIX asynchronous I/O which may by used
|
|
by some high performance threaded applications. Disabling
|
|
this option saves about 7k.
|
|
|
|
config IO_URING
|
|
bool "Enable IO uring support" if EXPERT
|
|
select IO_WQ
|
|
default y
|
|
help
|
|
This option enables support for the io_uring interface, enabling
|
|
applications to submit and complete IO through submission and
|
|
completion rings that are shared between the kernel and application.
|
|
|
|
config ADVISE_SYSCALLS
|
|
bool "Enable madvise/fadvise syscalls" if EXPERT
|
|
default y
|
|
help
|
|
This option enables the madvise and fadvise syscalls, used by
|
|
applications to advise the kernel about their future memory or file
|
|
usage, improving performance. If building an embedded system where no
|
|
applications use these syscalls, you can disable this option to save
|
|
space.
|
|
|
|
config HAVE_ARCH_USERFAULTFD_WP
|
|
bool
|
|
help
|
|
Arch has userfaultfd write protection support
|
|
|
|
config HAVE_ARCH_USERFAULTFD_MINOR
|
|
bool
|
|
help
|
|
Arch has userfaultfd minor fault support
|
|
|
|
config MEMBARRIER
|
|
bool "Enable membarrier() system call" if EXPERT
|
|
default y
|
|
help
|
|
Enable the membarrier() system call that allows issuing memory
|
|
barriers across all running threads, which can be used to distribute
|
|
the cost of user-space memory barriers asymmetrically by transforming
|
|
pairs of memory barriers into pairs consisting of membarrier() and a
|
|
compiler barrier.
|
|
|
|
If unsure, say Y.
|
|
|
|
config KALLSYMS
|
|
bool "Load all symbols for debugging/ksymoops" if EXPERT
|
|
default y
|
|
help
|
|
Say Y here to let the kernel print out symbolic crash information and
|
|
symbolic stack backtraces. This increases the size of the kernel
|
|
somewhat, as all symbols have to be loaded into the kernel image.
|
|
|
|
config KALLSYMS_ALL
|
|
bool "Include all symbols in kallsyms"
|
|
depends on DEBUG_KERNEL && KALLSYMS
|
|
help
|
|
Normally kallsyms only contains the symbols of functions for nicer
|
|
OOPS messages and backtraces (i.e., symbols from the text and inittext
|
|
sections). This is sufficient for most cases. And only in very rare
|
|
cases (e.g., when a debugger is used) all symbols are required (e.g.,
|
|
names of variables from the data sections, etc).
|
|
|
|
This option makes sure that all symbols are loaded into the kernel
|
|
image (i.e., symbols from all sections) in cost of increased kernel
|
|
size (depending on the kernel configuration, it may be 300KiB or
|
|
something like this).
|
|
|
|
Say N unless you really need all symbols.
|
|
|
|
config KALLSYMS_ABSOLUTE_PERCPU
|
|
bool
|
|
depends on KALLSYMS
|
|
default X86_64 && SMP
|
|
|
|
config KALLSYMS_BASE_RELATIVE
|
|
bool
|
|
depends on KALLSYMS
|
|
default !IA64
|
|
help
|
|
Instead of emitting them as absolute values in the native word size,
|
|
emit the symbol references in the kallsyms table as 32-bit entries,
|
|
each containing a relative value in the range [base, base + U32_MAX]
|
|
or, when KALLSYMS_ABSOLUTE_PERCPU is in effect, each containing either
|
|
an absolute value in the range [0, S32_MAX] or a relative value in the
|
|
range [base, base + S32_MAX], where base is the lowest relative symbol
|
|
address encountered in the image.
|
|
|
|
On 64-bit builds, this reduces the size of the address table by 50%,
|
|
but more importantly, it results in entries whose values are build
|
|
time constants, and no relocation pass is required at runtime to fix
|
|
up the entries based on the runtime load address of the kernel.
|
|
|
|
# end of the "standard kernel features (expert users)" menu
|
|
|
|
# syscall, maps, verifier
|
|
|
|
config BPF_LSM
|
|
bool "LSM Instrumentation with BPF"
|
|
depends on BPF_EVENTS
|
|
depends on BPF_SYSCALL
|
|
depends on SECURITY
|
|
depends on BPF_JIT
|
|
help
|
|
Enables instrumentation of the security hooks with eBPF programs for
|
|
implementing dynamic MAC and Audit Policies.
|
|
|
|
If you are unsure how to answer this question, answer N.
|
|
|
|
config BPF_SYSCALL
|
|
bool "Enable bpf() system call"
|
|
select BPF
|
|
select IRQ_WORK
|
|
select TASKS_TRACE_RCU
|
|
default n
|
|
help
|
|
Enable the bpf() system call that allows to manipulate eBPF
|
|
programs and maps via file descriptors.
|
|
|
|
config ARCH_WANT_DEFAULT_BPF_JIT
|
|
bool
|
|
|
|
config BPF_JIT_ALWAYS_ON
|
|
bool "Permanently enable BPF JIT and remove BPF interpreter"
|
|
depends on BPF_SYSCALL && HAVE_EBPF_JIT && BPF_JIT
|
|
help
|
|
Enables BPF JIT and removes BPF interpreter to avoid
|
|
speculative execution of BPF instructions by the interpreter
|
|
|
|
config BPF_JIT_DEFAULT_ON
|
|
def_bool ARCH_WANT_DEFAULT_BPF_JIT || BPF_JIT_ALWAYS_ON
|
|
depends on HAVE_EBPF_JIT && BPF_JIT
|
|
|
|
config BPF_UNPRIV_DEFAULT_OFF
|
|
bool "Disable unprivileged BPF by default"
|
|
depends on BPF_SYSCALL
|
|
help
|
|
Disables unprivileged BPF by default by setting the corresponding
|
|
/proc/sys/kernel/unprivileged_bpf_disabled knob to 2. An admin can
|
|
still reenable it by setting it to 0 later on, or permanently
|
|
disable it by setting it to 1 (from which no other transition to
|
|
0 is possible anymore).
|
|
|
|
source "kernel/bpf/preload/Kconfig"
|
|
|
|
config USERFAULTFD
|
|
bool "Enable userfaultfd() system call"
|
|
depends on MMU
|
|
help
|
|
Enable the userfaultfd() system call that allows to intercept and
|
|
handle page faults in userland.
|
|
|
|
config ARCH_HAS_MEMBARRIER_CALLBACKS
|
|
bool
|
|
|
|
config ARCH_HAS_MEMBARRIER_SYNC_CORE
|
|
bool
|
|
|
|
config KCMP
|
|
bool "Enable kcmp() system call" if EXPERT
|
|
help
|
|
Enable the kernel resource comparison system call. It provides
|
|
user-space with the ability to compare two processes to see if they
|
|
share a common resource, such as a file descriptor or even virtual
|
|
memory space.
|
|
|
|
If unsure, say N.
|
|
|
|
config RSEQ
|
|
bool "Enable rseq() system call" if EXPERT
|
|
default y
|
|
depends on HAVE_RSEQ
|
|
select MEMBARRIER
|
|
help
|
|
Enable the restartable sequences system call. It provides a
|
|
user-space cache for the current CPU number value, which
|
|
speeds up getting the current CPU number from user-space,
|
|
as well as an ABI to speed up user-space operations on
|
|
per-CPU data.
|
|
|
|
If unsure, say Y.
|
|
|
|
config DEBUG_RSEQ
|
|
default n
|
|
bool "Enabled debugging of rseq() system call" if EXPERT
|
|
depends on RSEQ && DEBUG_KERNEL
|
|
help
|
|
Enable extra debugging checks for the rseq system call.
|
|
|
|
If unsure, say N.
|
|
|
|
config EMBEDDED
|
|
bool "Embedded system"
|
|
option allnoconfig_y
|
|
select EXPERT
|
|
help
|
|
This option should be enabled if compiling the kernel for
|
|
an embedded system so certain expert options are available
|
|
for configuration.
|
|
|
|
config HAVE_PERF_EVENTS
|
|
bool
|
|
help
|
|
See tools/perf/design.txt for details.
|
|
|
|
config PERF_USE_VMALLOC
|
|
bool
|
|
help
|
|
See tools/perf/design.txt for details
|
|
|
|
config PC104
|
|
bool "PC/104 support" if EXPERT
|
|
help
|
|
Expose PC/104 form factor device drivers and options available for
|
|
selection and configuration. Enable this option if your target
|
|
machine has a PC/104 bus.
|
|
|
|
menu "Kernel Performance Events And Counters"
|
|
|
|
config PERF_EVENTS
|
|
bool "Kernel performance events and counters"
|
|
default y if PROFILING
|
|
depends on HAVE_PERF_EVENTS
|
|
select IRQ_WORK
|
|
select SRCU
|
|
help
|
|
Enable kernel support for various performance events provided
|
|
by software and hardware.
|
|
|
|
Software events are supported either built-in or via the
|
|
use of generic tracepoints.
|
|
|
|
Most modern CPUs support performance events via performance
|
|
counter registers. These registers count the number of certain
|
|
types of hw events: such as instructions executed, cachemisses
|
|
suffered, or branches mis-predicted - without slowing down the
|
|
kernel or applications. These registers can also trigger interrupts
|
|
when a threshold number of events have passed - and can thus be
|
|
used to profile the code that runs on that CPU.
|
|
|
|
The Linux Performance Event subsystem provides an abstraction of
|
|
these software and hardware event capabilities, available via a
|
|
system call and used by the "perf" utility in tools/perf/. It
|
|
provides per task and per CPU counters, and it provides event
|
|
capabilities on top of those.
|
|
|
|
Say Y if unsure.
|
|
|
|
config DEBUG_PERF_USE_VMALLOC
|
|
default n
|
|
bool "Debug: use vmalloc to back perf mmap() buffers"
|
|
depends on PERF_EVENTS && DEBUG_KERNEL && !PPC
|
|
select PERF_USE_VMALLOC
|
|
help
|
|
Use vmalloc memory to back perf mmap() buffers.
|
|
|
|
Mostly useful for debugging the vmalloc code on platforms
|
|
that don't require it.
|
|
|
|
Say N if unsure.
|
|
|
|
endmenu
|
|
|
|
config VM_EVENT_COUNTERS
|
|
default y
|
|
bool "Enable VM event counters for /proc/vmstat" if EXPERT
|
|
help
|
|
VM event counters are needed for event counts to be shown.
|
|
This option allows the disabling of the VM event counters
|
|
on EXPERT systems. /proc/vmstat will only show page counts
|
|
if VM event counters are disabled.
|
|
|
|
config SLUB_DEBUG
|
|
default y
|
|
bool "Enable SLUB debugging support" if EXPERT
|
|
depends on SLUB && SYSFS
|
|
help
|
|
SLUB has extensive debug support features. Disabling these can
|
|
result in significant savings in code size. This also disables
|
|
SLUB sysfs support. /sys/slab will not exist and there will be
|
|
no support for cache validation etc.
|
|
|
|
config SLUB_MEMCG_SYSFS_ON
|
|
default n
|
|
bool "Enable memcg SLUB sysfs support by default" if EXPERT
|
|
depends on SLUB && SYSFS && MEMCG
|
|
help
|
|
SLUB creates a directory under /sys/kernel/slab for each
|
|
allocation cache to host info and debug files. If memory
|
|
cgroup is enabled, each cache can have per memory cgroup
|
|
caches. SLUB can create the same sysfs directories for these
|
|
caches under /sys/kernel/slab/CACHE/cgroup but it can lead
|
|
to a very high number of debug files being created. This is
|
|
controlled by slub_memcg_sysfs boot parameter and this
|
|
config option determines the parameter's default value.
|
|
|
|
config COMPAT_BRK
|
|
bool "Disable heap randomization"
|
|
default y
|
|
help
|
|
Randomizing heap placement makes heap exploits harder, but it
|
|
also breaks ancient binaries (including anything libc5 based).
|
|
This option changes the bootup default to heap randomization
|
|
disabled, and can be overridden at runtime by setting
|
|
/proc/sys/kernel/randomize_va_space to 2.
|
|
|
|
On non-ancient distros (post-2000 ones) N is usually a safe choice.
|
|
|
|
choice
|
|
prompt "Choose SLAB allocator"
|
|
default SLUB
|
|
help
|
|
This option allows to select a slab allocator.
|
|
|
|
config SLAB
|
|
bool "SLAB"
|
|
select HAVE_HARDENED_USERCOPY_ALLOCATOR
|
|
help
|
|
The regular slab allocator that is established and known to work
|
|
well in all environments. It organizes cache hot objects in
|
|
per cpu and per node queues.
|
|
|
|
config SLUB
|
|
bool "SLUB (Unqueued Allocator)"
|
|
select HAVE_HARDENED_USERCOPY_ALLOCATOR
|
|
help
|
|
SLUB is a slab allocator that minimizes cache line usage
|
|
instead of managing queues of cached objects (SLAB approach).
|
|
Per cpu caching is realized using slabs of objects instead
|
|
of queues of objects. SLUB can use memory efficiently
|
|
and has enhanced diagnostics. SLUB is the default choice for
|
|
a slab allocator.
|
|
|
|
config SLOB
|
|
depends on EXPERT
|
|
bool "SLOB (Simple Allocator)"
|
|
help
|
|
SLOB replaces the stock allocator with a drastically simpler
|
|
allocator. SLOB is generally more space efficient but
|
|
does not perform as well on large systems.
|
|
|
|
endchoice
|
|
|
|
config SLAB_MERGE_DEFAULT
|
|
bool "Allow slab caches to be merged"
|
|
default y
|
|
help
|
|
For reduced kernel memory fragmentation, slab caches can be
|
|
merged when they share the same size and other characteristics.
|
|
This carries a risk of kernel heap overflows being able to
|
|
overwrite objects from merged caches (and more easily control
|
|
cache layout), which makes such heap attacks easier to exploit
|
|
by attackers. By keeping caches unmerged, these kinds of exploits
|
|
can usually only damage objects in the same cache. To disable
|
|
merging at runtime, "slab_nomerge" can be passed on the kernel
|
|
command line.
|
|
|
|
config SLAB_FREELIST_RANDOM
|
|
bool "Randomize slab freelist"
|
|
depends on SLAB || SLUB
|
|
help
|
|
Randomizes the freelist order used on creating new pages. This
|
|
security feature reduces the predictability of the kernel slab
|
|
allocator against heap overflows.
|
|
|
|
config SLAB_FREELIST_HARDENED
|
|
bool "Harden slab freelist metadata"
|
|
depends on SLAB || SLUB
|
|
help
|
|
Many kernel heap attacks try to target slab cache metadata and
|
|
other infrastructure. This options makes minor performance
|
|
sacrifices to harden the kernel slab allocator against common
|
|
freelist exploit methods. Some slab implementations have more
|
|
sanity-checking than others. This option is most effective with
|
|
CONFIG_SLUB.
|
|
|
|
config SHUFFLE_PAGE_ALLOCATOR
|
|
bool "Page allocator randomization"
|
|
default SLAB_FREELIST_RANDOM && ACPI_NUMA
|
|
help
|
|
Randomization of the page allocator improves the average
|
|
utilization of a direct-mapped memory-side-cache. See section
|
|
5.2.27 Heterogeneous Memory Attribute Table (HMAT) in the ACPI
|
|
6.2a specification for an example of how a platform advertises
|
|
the presence of a memory-side-cache. There are also incidental
|
|
security benefits as it reduces the predictability of page
|
|
allocations to compliment SLAB_FREELIST_RANDOM, but the
|
|
default granularity of shuffling on the "MAX_ORDER - 1" i.e,
|
|
10th order of pages is selected based on cache utilization
|
|
benefits on x86.
|
|
|
|
While the randomization improves cache utilization it may
|
|
negatively impact workloads on platforms without a cache. For
|
|
this reason, by default, the randomization is enabled only
|
|
after runtime detection of a direct-mapped memory-side-cache.
|
|
Otherwise, the randomization may be force enabled with the
|
|
'page_alloc.shuffle' kernel command line parameter.
|
|
|
|
Say Y if unsure.
|
|
|
|
config SLUB_CPU_PARTIAL
|
|
default y
|
|
depends on SLUB && SMP
|
|
bool "SLUB per cpu partial cache"
|
|
help
|
|
Per cpu partial caches accelerate objects allocation and freeing
|
|
that is local to a processor at the price of more indeterminism
|
|
in the latency of the free. On overflow these caches will be cleared
|
|
which requires the taking of locks that may cause latency spikes.
|
|
Typically one would choose no for a realtime system.
|
|
|
|
config MMAP_ALLOW_UNINITIALIZED
|
|
bool "Allow mmapped anonymous memory to be uninitialized"
|
|
depends on EXPERT && !MMU
|
|
default n
|
|
help
|
|
Normally, and according to the Linux spec, anonymous memory obtained
|
|
from mmap() has its contents cleared before it is passed to
|
|
userspace. Enabling this config option allows you to request that
|
|
mmap() skip that if it is given an MAP_UNINITIALIZED flag, thus
|
|
providing a huge performance boost. If this option is not enabled,
|
|
then the flag will be ignored.
|
|
|
|
This is taken advantage of by uClibc's malloc(), and also by
|
|
ELF-FDPIC binfmt's brk and stack allocator.
|
|
|
|
Because of the obvious security issues, this option should only be
|
|
enabled on embedded devices where you control what is run in
|
|
userspace. Since that isn't generally a problem on no-MMU systems,
|
|
it is normally safe to say Y here.
|
|
|
|
See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
|
|
|
|
config SYSTEM_DATA_VERIFICATION
|
|
def_bool n
|
|
select SYSTEM_TRUSTED_KEYRING
|
|
select KEYS
|
|
select CRYPTO
|
|
select CRYPTO_RSA
|
|
select ASYMMETRIC_KEY_TYPE
|
|
select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
|
select ASN1
|
|
select OID_REGISTRY
|
|
select X509_CERTIFICATE_PARSER
|
|
select PKCS7_MESSAGE_PARSER
|
|
help
|
|
Provide PKCS#7 message verification using the contents of the system
|
|
trusted keyring to provide public keys. This then can be used for
|
|
module verification, kexec image verification and firmware blob
|
|
verification.
|
|
|
|
config PROFILING
|
|
bool "Profiling support"
|
|
help
|
|
Say Y here to enable the extended profiling support mechanisms used
|
|
by profilers such as OProfile.
|
|
|
|
#
|
|
# Place an empty function call at each tracepoint site. Can be
|
|
# dynamically changed for a probe function.
|
|
#
|
|
config TRACEPOINTS
|
|
bool
|
|
|
|
endmenu # General setup
|
|
|
|
source "arch/Kconfig"
|
|
|
|
config RT_MUTEXES
|
|
bool
|
|
|
|
config BASE_SMALL
|
|
int
|
|
default 0 if BASE_FULL
|
|
default 1 if !BASE_FULL
|
|
|
|
config MODULE_SIG_FORMAT
|
|
def_bool n
|
|
select SYSTEM_DATA_VERIFICATION
|
|
|
|
menuconfig MODULES
|
|
bool "Enable loadable module support"
|
|
option modules
|
|
help
|
|
Kernel modules are small pieces of compiled code which can
|
|
be inserted in the running kernel, rather than being
|
|
permanently built into the kernel. You use the "modprobe"
|
|
tool to add (and sometimes remove) them. If you say Y here,
|
|
many parts of the kernel can be built as modules (by
|
|
answering M instead of Y where indicated): this is most
|
|
useful for infrequently used options which are not required
|
|
for booting. For more information, see the man pages for
|
|
modprobe, lsmod, modinfo, insmod and rmmod.
|
|
|
|
If you say Y here, you will need to run "make
|
|
modules_install" to put the modules under /lib/modules/
|
|
where modprobe can find them (you may need to be root to do
|
|
this).
|
|
|
|
If unsure, say Y.
|
|
|
|
if MODULES
|
|
|
|
config MODULE_FORCE_LOAD
|
|
bool "Forced module loading"
|
|
default n
|
|
help
|
|
Allow loading of modules without version information (ie. modprobe
|
|
--force). Forced module loading sets the 'F' (forced) taint flag and
|
|
is usually a really bad idea.
|
|
|
|
config MODULE_UNLOAD
|
|
bool "Module unloading"
|
|
help
|
|
Without this option you will not be able to unload any
|
|
modules (note that some modules may not be unloadable
|
|
anyway), which makes your kernel smaller, faster
|
|
and simpler. If unsure, say Y.
|
|
|
|
config MODULE_FORCE_UNLOAD
|
|
bool "Forced module unloading"
|
|
depends on MODULE_UNLOAD
|
|
help
|
|
This option allows you to force a module to unload, even if the
|
|
kernel believes it is unsafe: the kernel will remove the module
|
|
without waiting for anyone to stop using it (using the -f option to
|
|
rmmod). This is mainly for kernel developers and desperate users.
|
|
If unsure, say N.
|
|
|
|
config MODVERSIONS
|
|
bool "Module versioning support"
|
|
help
|
|
Usually, you have to use modules compiled with your kernel.
|
|
Saying Y here makes it sometimes possible to use modules
|
|
compiled for different kernels, by adding enough information
|
|
to the modules to (hopefully) spot any changes which would
|
|
make them incompatible with the kernel you are running. If
|
|
unsure, say N.
|
|
|
|
config ASM_MODVERSIONS
|
|
bool
|
|
default HAVE_ASM_MODVERSIONS && MODVERSIONS
|
|
help
|
|
This enables module versioning for exported symbols also from
|
|
assembly. This can be enabled only when the target architecture
|
|
supports it.
|
|
|
|
config MODULE_REL_CRCS
|
|
bool
|
|
depends on MODVERSIONS
|
|
|
|
config MODULE_SRCVERSION_ALL
|
|
bool "Source checksum for all modules"
|
|
help
|
|
Modules which contain a MODULE_VERSION get an extra "srcversion"
|
|
field inserted into their modinfo section, which contains a
|
|
sum of the source files which made it. This helps maintainers
|
|
see exactly which source was used to build a module (since
|
|
others sometimes change the module source without updating
|
|
the version). With this option, such a "srcversion" field
|
|
will be created for all modules. If unsure, say N.
|
|
|
|
config MODULE_SCMVERSION
|
|
bool "SCM version for modules"
|
|
depends on LOCALVERSION_AUTO
|
|
help
|
|
This enables the module attribute "scmversion" which can be used
|
|
by developers to identify the SCM version of a given module, e.g.
|
|
git sha1 or hg sha1. The SCM version can be queried by modinfo or
|
|
via the sysfs node: /sys/modules/MODULENAME/scmversion. This is
|
|
useful when the kernel or kernel modules are updated separately
|
|
since that causes the vermagic of the kernel and the module to
|
|
differ.
|
|
|
|
If unsure, say N.
|
|
|
|
config MODULE_SIG
|
|
bool "Module signature verification"
|
|
select MODULE_SIG_FORMAT
|
|
help
|
|
Check modules for valid signatures upon load: the signature
|
|
is simply appended to the module. For more information see
|
|
<file:Documentation/admin-guide/module-signing.rst>.
|
|
|
|
Note that this option adds the OpenSSL development packages as a
|
|
kernel build dependency so that the signing tool can use its crypto
|
|
library.
|
|
|
|
You should enable this option if you wish to use either
|
|
CONFIG_SECURITY_LOCKDOWN_LSM or lockdown functionality imposed via
|
|
another LSM - otherwise unsigned modules will be loadable regardless
|
|
of the lockdown policy.
|
|
|
|
!!!WARNING!!! If you enable this option, you MUST make sure that the
|
|
module DOES NOT get stripped after being signed. This includes the
|
|
debuginfo strip done by some packagers (such as rpmbuild) and
|
|
inclusion into an initramfs that wants the module size reduced.
|
|
|
|
config MODULE_SIG_FORCE
|
|
bool "Require modules to be validly signed"
|
|
depends on MODULE_SIG
|
|
help
|
|
Reject unsigned modules or signed modules for which we don't have a
|
|
key. Without this, such modules will simply taint the kernel.
|
|
|
|
config MODULE_SIG_ALL
|
|
bool "Automatically sign all modules"
|
|
default y
|
|
depends on MODULE_SIG
|
|
help
|
|
Sign all modules during make modules_install. Without this option,
|
|
modules must be signed manually, using the scripts/sign-file tool.
|
|
|
|
comment "Do not forget to sign required modules with scripts/sign-file"
|
|
depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
|
|
|
|
choice
|
|
prompt "Which hash algorithm should modules be signed with?"
|
|
depends on MODULE_SIG
|
|
help
|
|
This determines which sort of hashing algorithm will be used during
|
|
signature generation. This algorithm _must_ be built into the kernel
|
|
directly so that signature verification can take place. It is not
|
|
possible to load a signed module containing the algorithm to check
|
|
the signature on that module.
|
|
|
|
config MODULE_SIG_SHA1
|
|
bool "Sign modules with SHA-1"
|
|
select CRYPTO_SHA1
|
|
|
|
config MODULE_SIG_SHA224
|
|
bool "Sign modules with SHA-224"
|
|
select CRYPTO_SHA256
|
|
|
|
config MODULE_SIG_SHA256
|
|
bool "Sign modules with SHA-256"
|
|
select CRYPTO_SHA256
|
|
|
|
config MODULE_SIG_SHA384
|
|
bool "Sign modules with SHA-384"
|
|
select CRYPTO_SHA512
|
|
|
|
config MODULE_SIG_SHA512
|
|
bool "Sign modules with SHA-512"
|
|
select CRYPTO_SHA512
|
|
|
|
endchoice
|
|
|
|
config MODULE_SIG_HASH
|
|
string
|
|
depends on MODULE_SIG
|
|
default "sha1" if MODULE_SIG_SHA1
|
|
default "sha224" if MODULE_SIG_SHA224
|
|
default "sha256" if MODULE_SIG_SHA256
|
|
default "sha384" if MODULE_SIG_SHA384
|
|
default "sha512" if MODULE_SIG_SHA512
|
|
|
|
config MODULE_COMPRESS
|
|
bool "Compress modules on installation"
|
|
help
|
|
|
|
Compresses kernel modules when 'make modules_install' is run; gzip or
|
|
xz depending on "Compression algorithm" below.
|
|
|
|
module-init-tools MAY support gzip, and kmod MAY support gzip and xz.
|
|
|
|
Out-of-tree kernel modules installed using Kbuild will also be
|
|
compressed upon installation.
|
|
|
|
Note: for modules inside an initrd or initramfs, it's more efficient
|
|
to compress the whole initrd or initramfs instead.
|
|
|
|
Note: This is fully compatible with signed modules.
|
|
|
|
If in doubt, say N.
|
|
|
|
choice
|
|
prompt "Compression algorithm"
|
|
depends on MODULE_COMPRESS
|
|
default MODULE_COMPRESS_GZIP
|
|
help
|
|
This determines which sort of compression will be used during
|
|
'make modules_install'.
|
|
|
|
GZIP (default) and XZ are supported.
|
|
|
|
config MODULE_COMPRESS_GZIP
|
|
bool "GZIP"
|
|
|
|
config MODULE_COMPRESS_XZ
|
|
bool "XZ"
|
|
|
|
endchoice
|
|
|
|
config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
|
|
bool "Allow loading of modules with missing namespace imports"
|
|
help
|
|
Symbols exported with EXPORT_SYMBOL_NS*() are considered exported in
|
|
a namespace. A module that makes use of a symbol exported with such a
|
|
namespace is required to import the namespace via MODULE_IMPORT_NS().
|
|
There is no technical reason to enforce correct namespace imports,
|
|
but it creates consistency between symbols defining namespaces and
|
|
users importing namespaces they make use of. This option relaxes this
|
|
requirement and lifts the enforcement when loading a module.
|
|
|
|
If unsure, say N.
|
|
|
|
config UNUSED_SYMBOLS
|
|
bool "Enable unused/obsolete exported symbols"
|
|
default y if X86
|
|
help
|
|
Unused but exported symbols make the kernel needlessly bigger. For
|
|
that reason most of these unused exports will soon be removed. This
|
|
option is provided temporarily to provide a transition period in case
|
|
some external kernel module needs one of these symbols anyway. If you
|
|
encounter such a case in your module, consider if you are actually
|
|
using the right API. (rationale: since nobody in the kernel is using
|
|
this in a module, there is a pretty good chance it's actually the
|
|
wrong interface to use). If you really need the symbol, please send a
|
|
mail to the linux kernel mailing list mentioning the symbol and why
|
|
you really need it, and what the merge plan to the mainline kernel for
|
|
your module is.
|
|
|
|
config TRIM_UNUSED_KSYMS
|
|
bool "Trim unused exported kernel symbols"
|
|
depends on !UNUSED_SYMBOLS
|
|
help
|
|
The kernel and some modules make many symbols available for
|
|
other modules to use via EXPORT_SYMBOL() and variants. Depending
|
|
on the set of modules being selected in your kernel configuration,
|
|
many of those exported symbols might never be used.
|
|
|
|
This option allows for unused exported symbols to be dropped from
|
|
the build. In turn, this provides the compiler more opportunities
|
|
(especially when using LTO) for optimizing the code and reducing
|
|
binary size. This might have some security advantages as well.
|
|
|
|
If unsure, or if you need to build out-of-tree modules, say N.
|
|
|
|
config UNUSED_KSYMS_WHITELIST
|
|
string "Whitelist of symbols to keep in ksymtab"
|
|
depends on TRIM_UNUSED_KSYMS
|
|
help
|
|
By default, all unused exported symbols will be un-exported from the
|
|
build when TRIM_UNUSED_KSYMS is selected.
|
|
|
|
UNUSED_KSYMS_WHITELIST allows to whitelist symbols that must be kept
|
|
exported at all times, even in absence of in-tree users. The value to
|
|
set here is the path to a text file containing the list of symbols,
|
|
one per line. The path can be absolute, or relative to the kernel
|
|
source tree.
|
|
|
|
endif # MODULES
|
|
|
|
config MODULES_TREE_LOOKUP
|
|
def_bool y
|
|
depends on PERF_EVENTS || TRACING || CFI_CLANG
|
|
|
|
config INIT_ALL_POSSIBLE
|
|
bool
|
|
help
|
|
Back when each arch used to define their own cpu_online_mask and
|
|
cpu_possible_mask, some of them chose to initialize cpu_possible_mask
|
|
with all 1s, and others with all 0s. When they were centralised,
|
|
it was better to provide this option than to break all the archs
|
|
and have several arch maintainers pursuing me down dark alleys.
|
|
|
|
source "block/Kconfig"
|
|
|
|
config PREEMPT_NOTIFIERS
|
|
bool
|
|
|
|
config PADATA
|
|
depends on SMP
|
|
bool
|
|
|
|
config ASN1
|
|
tristate
|
|
help
|
|
Build a simple ASN.1 grammar compiler that produces a bytecode output
|
|
that can be interpreted by the ASN.1 stream decoder and used to
|
|
inform it as to what tags are to be expected in a stream and what
|
|
functions to call on what tags.
|
|
|
|
source "kernel/Kconfig.locks"
|
|
|
|
config ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
|
|
bool
|
|
|
|
config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE
|
|
bool
|
|
|
|
# It may be useful for an architecture to override the definitions of the
|
|
# SYSCALL_DEFINE() and __SYSCALL_DEFINEx() macros in <linux/syscalls.h>
|
|
# and the COMPAT_ variants in <linux/compat.h>, in particular to use a
|
|
# different calling convention for syscalls. They can also override the
|
|
# macros for not-implemented syscalls in kernel/sys_ni.c and
|
|
# kernel/time/posix-stubs.c. All these overrides need to be available in
|
|
# <asm/syscall_wrapper.h>.
|
|
config ARCH_HAS_SYSCALL_WRAPPER
|
|
def_bool n
|
|
|
|
source "init/Kconfig.gki"
|