summaryrefslogtreecommitdiff
path: root/drivers/staging
AgeCommit message (Collapse)Author
4 daysMerge tag 'mm-stable-2026-10-25-19-27' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Pull more MM updates from Andrew Morton: - "mm: make VMA flag semantics explicit, eliminate VM_SPECIAL" (Lorenzo Stoakes): Replace VM_SPECIAL with helpers describing mapping ownership and behavior. Enforce the mmap flag rules and convert affected drivers, removing ambiguous tests shared by driver mappings and ordinary memory. - "support kselftest on nommu platform" (Hajime Tazaki): Add opt-in mmap and mremap tests for NOMMU systems. Teach the runner to avoid its fork-dependent timeout command and document the build and runtime requirements. - "mm/collapse: separate a collapse from its callers" (Kiryl Shutsemau): Separate huge-page collapse from caller policy. Replace khugepaged identity checks with explicit permissions, and separate scanning from collapse with the mmap_lock drop in one place. - "mm: implement and use vma_has_anon_rmap(), silence KCSAN" (Lorenzo Stoakes): Provide a common helper for testing whether a VMA has anonymous reverse mappings. Document the locking rules, annotate intentional concurrent reads for KCSAN, and convert the core MM callers. - "mm/sparse: remove SECTION_MARKED_PRESENT and further cleanups" (David Hildenbrand): Remove SECTION_MARKED_PRESENT in favor of the early-section flag. Simplify sparse memory initialization, section metadata handling and related PFN validity checks. - "sh: remove NUMA and SPARSEMEM support" (Mike Rapoport): Remove SuperH NUMA and SPARSEMEM support. The extra memory banks have been unusable since the NO_BOOTMEM conversion, leaving only the code and data overhead. - "mm: Unify device DAX and HugeTLB vmemmap population paths" (Muchun Song): Unify the generic device DAX and HugeTLB vmemmap population paths and shared tail-page handling. Remove the duplicate DAX machinery while retaining the powerpc radix implementation. - "kselftest: mm: fix some failure of split_huge_page_test" (Yeoreum Yun): Fix huge-page split tests racing with khugepaged recollapse. Use pagemap and page flags instead of VMA-boundary assumptions which fail when glibc has already enabled THP. - "memcg: move memcgid refcount to objcg to unpin dying memcgs" (Bingfang Guo): Let dying memcgs be freed while swapped-out shmem still holds their IDs. Move ID references to reparentable objcgs, with the necessary swap accounting and RCU lifetime changes. - "mm/truncate: fix data loss when truncating straddling large folios" (Zhang Yi): Preserve out-of-range data when truncating straddling large folios. Fix a lookup race and split-failure handling, and handle minimum folio orders for the forthcoming ext4 iomap buffered I/O path. - "mm/damon: introduce damos quota goal target metric complement flag" (SJ Park): Let DAMOS quota goals use a metric's complement, so utilization can also express free-memory goals without adding separate metrics. Add the sysfs interface, documentation and tests. - "arm64/mm: Standardize printing for pgtable entries" (Anshuman Khandual): Use the generic formatter for arm64 page-table entries, ready for future wider entries. Move the safe-PTE-update check out of the header to avoid an include cycle. - "mm: kmsan: fix iounmap metadata teardown" (Dima Koziuk): Fix KMSAN metadata leaks on iounmap and failed ioremap allocations. Free backing pages before removing their mappings, and share the teardown with partial-allocation cleanup. - "mm/damon/core: preserve quota state when constructing schemes" (Karl Mehltretter): Preserve running DAMOS quota state while validating parameter updates. Even rejected updates could reset accounting and exceed the quota window; add tests for both accepted and rejected updates. - "mm/vmalloc: fix vmalloc_dump_obj VA lookup" (Ye Liu): Fix vmalloc_dump_obj() lookups for last-page addresses and allocations spanning vmap zones. These allocations were being missed in diagnostic output. - "mm: various (urgent?) fixes" (David Hildenbrand): Fix mmap charge leaks and hugetlb use-after-free, wrong-address unmapping, stuck locks and endless faults. Also preserve reservations on failed mremap and handle stale userfaultfd bits. - "maple_tree: fix maple_range_64 crashes in RCU mode" (Dimitris Charisis): Fix pointer and metadata confusion during RCU destruction of maple_range_64 nodes, avoiding double frees and invalid accesses. Add a regression test; no in-tree user currently uses this combination. - "mm: fix hugetlb NR_HUGETLB accounting on folio migration" (Hongfu Li): Fix hugetlb migration and preallocation accounting so /proc/vmstat retains the correct count and memory.numa_stat follows the folio to its new node. - "mm/damon: fix a minor bug, clean code, and add a test" (SJ Park): Fix 32-bit DAMON age overflow which made old regions look young. Share hugetlb folio acquisition code and add a regression test for the previously fixed last-region skipping bug. - "mm/damon/core: cleanup code, reduce stack usage, and add kunit" (SJ Park): Reduce kdamond stack usage and remove unused enums. Add deterministic PSI quota-goal tests which do not depend on the machine's current memory pressure. - "mm/damon: fix the temporal goal tuner's size quota conversion" (Donggeun Yoo): Bound the temporal tuner's quota conversion to prevent overflow and zero effective quotas, which could stop schemes making progress. Add boundary tests. - "Don't use GFP_DMA when calling dma_alloc_coherent" (Baoquan He): Remove redundant GFP_DMA flags from coherent DMA allocation calls. The DMA API already selects the zone from device limits and ignores the caller's flag. - "kselftest: mm: fix intermittent failure khugepaged test" (Yeoreum Yun): Propagate child-process failures in the khugepaged tests and prevent background collapse from racing their checks. This removes false passes and intermittent failures. - "MAINTAINERS: cover all hugetlb headers under HUGETLB SUBSYSTEM" (Enze Li): Cover all hugetlb headers in MAINTAINERS so get_maintainer.pl finds the right maintainers. Also label the closing hugetlb_cgroup.h include guard. Summary of the 65 singletons in this merge: The singletons include a few worthwhile performance fixes. Avoiding unnecessary reverse-map tree updates gave a reported 15.9% improvement in UnixBench's execl test on a 192-core x86 system. A reclaim retry fix stops defrag_mode from spinning under memory.low protection; a reported file-creation stress test ran 5.7 times faster, with far less memory pressure. Narrower hugetlb invalidations also spare KVM guests needless refaults: the reported Redis-in-VM P99 QPS penalty while punching holes fell from 7.09% to 1.45%. Several fixes prevent lost data or corrupted memory. Lazyfree huge-page races with mremap()/munmap() could lose data or access freed memory, and MADV_COLD could lose a concurrent write's dirty bit. Another fix prevents stale migration entries from outliving large folios. On filesystems with blocks smaller than a page, extending a file by 4 GiB or more could expose bytes written past the old EOF through mmap instead of zeroes. That is fixed, along with use-after-free races in PAGEMAP_SCAN during process exit and in memory-cgroup accounting on PREEMPT_RT kernels. Other fixes stop UFFDIO_MOVE spinning forever on pinned large folios, which could wedge other memory operations, and stop mremap() leaking commit charges until allocations fail under strict overcommit. A further fix keeps userfaultfd tracking intact on neighboring mappings. NUMA binding no longer prevents long-term pins when the chosen node has only movable memory, fixing QEMU/VFIO startup and io_uring buffer registration failures. MGLRU also gets a fix for early-boot crashes with memory cgroups disabled at boot, notably in small crash kernels. * tag 'mm-stable-2026-10-25-19-27' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (213 commits) mm: multi-gen LRU: fix NULL lruvec->pgdat deref with memcg disabled on cmdline mm/page_counter: use WRITE_ONCE() for emin/elow when parent is the root mm/memcontrol: publish null pointer before dropping css reference test_maple_tree: test maple_range_64 node in RCU mode maple_tree: fix maple_range_64 crashes in RCU mode mm/vma: avoid broken uffd merge on mremap tools/testing/shared: catch a failed posix_memalign() mm/damon/core: remove unreachable damos charge_{target,addr}_from mm/shrinker: allocate shrinker_info_unit from a dedicated kmem_cache riscv: mm: exclude invalid THP PMDs from page table check mm/damon/core: filter out damos address filter-split failed region fs/proc/task_mmu: pin mm_users in do_pagemap_scan() mm/mempolicy: apply bind policies against the scoped allocation zone mm/vmscan: reclaim every zone in per-node proactive reclaim mm/mremap: correctly uncharge accountable VMAs in error path mm/mremap: populate calculated fields in vrm state correctly MAINTAINERS: add an entry for MEMORY MANAGEMENT - MEMORY MAP mm: bdi: reset min_ratio after the sysfs attributes are gone mm/page_vma_mapped: continue past nonmatching huge PMDs selftests/mm: skip hugetlb cgroup v2 tests without the needed controllers ...
7 daysMerge tag 'media/v7.4-1' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media Pull media updates from Mauro Carvalho Chehab: - v4l2 core: - improve subdev and pixformat kAPI; - fix P010 format info and add Y12 format info; - add fwnode_graph_for_each_endpoint_scoped(); - New sensor drivers: - Sony IMX576 - OmniVision OS02G10, OV05C10 and OG0VA1B - Samsung S5KJN5 - Himax HM1246 - Maxim GMSL2/3: add support for MAX9296A, MAX96717, and MAX96724 - Intel IPU6: add support for IPU7, IPU7.5 and IPU8 - NXP: add support for i.MX95 CSI pixel formatter driver - ITE: add driver for IT6625/IT6626 HDMI bridge - Qualcomm: add CSI2 3ph DPHY driver - Rockchip: add rk3576 MIPI capture vicap driver - STM32 DCMIPP: Add STM32MP25 subdevices - Lots of driver fixes and cleanups * tag 'media/v7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (596 commits) media: i2c: imx576: Fix line length register media: ov05c10: Remove duplicated writes to analogue gain register media: ov05c10: Power management fixes media: ov05c10: Set reset GPIO high when acquiring it media: ov05c10: Small cleanups media: maxim-serdes: Disable test pattern generator for now media: mc: Keep INTERNAL pad flags just for the kernel, for now media: i2c: imx576: select VIDEO_CCS_PLL to repair build error media: Documentation: mc: Fix Stream reference media: i2c: add imx576 image sensor driver dt-bindings: media: i2c: Add imx576 sensor media: i2c: maxim-serdes: add MAX9296A driver media: i2c: remove MAX96714 driver media: i2c: maxim-serdes: add MAX96724 driver staging: media: remove MAX96712 driver arm64: defconfig: disable deprecated MAX96712 driver media: i2c: maxim-serdes: add MAX96717 driver media: i2c: remove MAX96717 driver media: i2c: add Maxim GMSL2/3 deserializer framework media: i2c: add Maxim GMSL2/3 serializer framework ...
7 daysMerge tag 'char-misc-7.4-rc1' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc Pull Char/Misc/IIO/others driver updates from Greg KH: "Here is the big set of char/misc/android/iio and other small driver subsystem patches for 7.4-rc1. Loads of stuff in here, larger than normal. Highlights include: - removal of the C binder code, the rust version is stable and will be used going forward in a few billion devices. Great job by those developers - loads and loads of IIO driver updates and feature additions - speakup driver fixes and updates - mhi driver updates - mei driver updates - xillybus driver fixes - comedi driver fixes - lots of coresight driver updates - Interconnect driver updates - nvmem driver updates and fixes - slimbus driver updates and fixes - spmi driver updates and fixes - lots of tiny misc and char driver fixes based on people scanning for things All of these have been in linux-next for a while with no reported issues, other than a merge conflict with one of the rust tree files, which should be simple to resolve" * tag 'char-misc-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (446 commits) rust_binder: wake epoll on self-work queued to poll thread rust_binder: avoid overflow in get_node_debug_info() MAINTAINERS: Add Abel as SPMI co-maintainer spmi: mtk-pmif: Fix clock reference leak in mtk_spmi_bus_probe() iio: adc: qcom-spmi-iadc: Remove regmap R/W wrapper functions iio: adc: qcom-spmi-iadc: Migrate to devm_spmi_subdevice_alloc_and_add() misc: qcom-coincell: Migrate to devm_spmi_subdevice_alloc_and_add() phy: qualcomm: eusb2-repeater: Migrate to devm_spmi_subdevice_alloc_and_add() power: reset: qcom-pon: Migrate to devm_spmi_subdevice_alloc_and_add() nvmem: qcom-spmi-sdam: Migrate to devm_spmi_subdevice_alloc_and_add() spmi: Add helper to get a parent SPMI device spmi: Implement spmi_subdevice_alloc_and_add() and devm variant spmi: Remove unneeded goto in spmi_device_add() error path spmi: Print error status with %pe format spmi: Remove redundant dev_name() print in spmi_device_add() spmi: Fix potential use-after-free by grabbing of_node reference spmi: mtk-pmif: Add workaround for FSM lockup/error in read operation MAINTAINERS: Add Qualcomm SPMI controller entry spmi: pmic-arb: return 0 in spmi_pmic_arb_register_buses() on success comedi: addi_apci_3xxx: fix subdevice count underallocation ...
7 daysMerge tag 'staging-7.4-rc1' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging Pull staging driver updates from Greg KH: "Here is the big set of staging driver updates for 7.4-rc1. The huge majority of changes in here were to the rtl8723bs driver, which ended up being deleted entirely through the wifi driver tree, so while the work here was nice to have done to get experience by people, the overall goal was achieved in that we have a solid working and sane driver in the real part of the tree now. Other than that, included in here are: - some greybus driver removal of broken drivers that no one ever used - minor coding style cleanups for other staging drivers All of these have been in linux-next with no reported issues, other than the merge conflict of the driver being removed, but that's an obvious one to resolve :)" * tag 'staging-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (145 commits) staging: rtl8723bs: remove unnecessary parentheses rtl8723bs: Remove redundant macro in basic_types.h staging: rtl8723bs: remove spaces before tabs in hal_com_reg.h staging: greybus: Align function arguments staging: greybus: uart: fix argument alignment staging: greybus: Remove unused header declaration to_fw_mgmt_connection staging: most: fix typo in driver_usage.txt staging: vme_user: avoid iterator variable access outside list loop staging: greybus: Remove unused function 'to_fw_mgmt_connection' staging: greybus: replace PTR_ERR() with %pe in error messages staging: octeon: fix misuse of kernel-doc comment staging: nvec: fix GPIO descriptor documentation staging: fbtft: update outdated struct fbtft_ops comment greybus: Discard pm_runtime_put_autosuspend() return value staging: rtl8723bs: remove unused defines in odm.h staging: rtl8723bs: remove commented out code in hal/ files staging: rtl8723bs: remove unused defines in HalBtcOutSrc.h staging: rtl8723bs: remove unused PCI ASPM OSC definitions staging: rtl8723bs: remove unused EEPROM definitions staging: rtl8723bs: return bool from check_pending_xmitbuf ...
8 daysmedia: staging: imx: don't use GFP_DMA when calling dma_alloc_coherent()Baoquan He
dma_alloc_coherent() allocates the DMA buffer with the device's addressing limitation in mind; the DMA core picks the zone from the device's coherent DMA mask and ignores GFP_DMA passed by the caller. Remove the redundant GFP_DMA flag. Link: https://lore.kernel.org/20260903111836.1777265-9-hebaoquan@kylinos.cn Signed-off-by: Baoquan He <hebaoquan@kylinos.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Harry Yoo <harry@kernel.org>
9 daysMerge tag 'net-next-7.4' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next Pull networking updates from Paolo Abeni: "This includes a significant number of low-priority fixes - especially in the NIC drivers area - that we deferred from the last few RCs in the previous cycle, which can't be easily outlined in the synopsis below. Core & protocols: - Continue the work on removing rtnl_lock dependencies: - per-netns ARP and ND neighbour tables, with the default settings now configurable per netns (inheritance from init_net is controlled by the new net.core.neigh_inherit_init_net sysctl) - RCU-protected configuration and rtnl_lock-less fill_info() for hsr, netkit, sit, vlan and vxlan devices - per-netns device unregistration for ip tunnel and gre devices - use the netdev instance lock instead of rtnl_lock when reading speed and duplex via sysfs - batch the flushing of uncached routes at device unregistration time, relieving rtnl_lock contention on netns dismantle. - Add hardware pacing offload support, admin-controlled via a new rtnetlink attribute, with sch_fq integration (implemented in idpf). - Re-segment BIG TCP GSO packets into GSO packets fitting the egress device limits instead of plain MSS-sized segments, improving throughput for mixed BIG TCP / non-BIG TCP paths by up to 70%. - Generate RSS keys that spread flows over all the RX queues; the previous random keys could leave some queues unused. - Optimize the bridge VLAN forwarding paths: cache the port-VLAN in fdb entries and consider only VLAN members when flooding, for ~10% more Mpps in the fdb forwarding path. - A few TCP/IP performance improvements aimed at efficient cache usage and reducing contention. - Add the TCP ROCCET congestion control, a CUBIC variant aimed at avoiding bufferbloat in cellular networks. - Continue the conversion of getsockopt callbacks to sockopt_t. - Add an ethtool command to list the front-facing ports of an interface, including SFP cages and modules, using the phy_port representation. - Enable BIG TCP support for bareudp tunnels. - Remove the IPV6_ADDRFORM socket option and disallow buggy TCP state transitions (listen() + shutdown() + connect() and connect() + connect(AF_UNSPEC) + listen()). - Remove most BUG_ON()s from core packet processing, replacing them with error paths. Wireless: - Latency improvements, including lockless station get/dump and beacon updates, plus RTNL reduction and locking cleanups. - Infrastructure for non-station TX/RX with MLO. - NAN (Wi-Fi Aware) Instant Communication support and other NAN improvements. - Control frame Integrity Protocol (CIP) and protected TWT support. - Improvements for AP regulatory checks. Netfilter: - Disable br_netfilter in user namespaces and schedule it for removal in 2027. - Restrict the raw table in nft_compat to the specific family, hook and priority. - Prepare the flowtable for mixed IPv4-over-IPv6 tunneling (and vice versa). - Use GFP_KERNEL_ACCOUNT for most netfilter allocations, for better integration with memcg. - Allow discovering conntrack zone filtering support in ctnetlink dumps, and fix nfnetlink_hook handling of large dumps. Deletions: - Move the LLC type 2 sockets out of tree. There are no known users and the code attracts a never-ending stream of LLM-driven fixes. Device drivers: - New drivers: - Meta Platforms NIC (mpnic), the second-generation NIC from Meta - initial skeleton of the Nebula-matrix NICs driver (nbl) - X-Powers AC200/AC300 Fast Ethernet PHYs - Ethernet high-speed NICs: - Intel: - i40e: XDP metadata support for RX hash and VLAN tag - ice: expose the E825 TSPLL state via the DPLL subsystem - nVidia/Mellanox: - move the data direct infrastructure from IB to core, in preparation for netdev support. - reduce the memory used per offloaded TC rule - Meta (fbnic): - support large io_uring zero-copy RX buffers - Microsoft vNIC (mana): - add BQL support - Ethernet NICs consumer, and embedded: - Airoha: - LRO offload support - Cadence (macb): - context swapping for ringparam and MTU changes, avoiding buffer loss under memory pressure - Mucse (rnpgbe): - TX/RX and link status support - NXP (enetc): - SR-IOV improvements and VF support for ENETC v4 - Qualcomm (ppe): - IPQ5424 support - Realtek PCI (r8169): - phylink support - RSS support for RTL8127 - Renesas (ravb): - gPTP support for R-Car Gen4 - Synopsys (stmmac): - XDP multi-buffer support on the TX side - tc mqprio hw queue priority offload - support for RK3568 SGMII, Allwinner H616 EMAC1, UltraRISC DP1000 and Qualcomm sa8255p - Ethernet switches: - Mediatek (mt7530): - fast age and change conduit support - Microchip (ksz): - support for KSZ8995XA/KS8995XA - Microchip (lan966x): - PCIe FDMA support, ~20x throughput increase in PCIe endpoint - Microchip (sparx5): - Time Aware Shaper (taprio) offload - Motorcomm (yt921x): - LED and SerDes PCS support - Realtek (rtl8365mb): - EEE support - Ethernet PHYs: - Broadcom: - enable jumbo frames on BCM54xx - Realtek: - support for RTL8261CE_CG and RTL8261D_VM - MDIO support for RTL838x and RTL839x - WiFi drivers: - Broadcom (brcmfmac): - FT/OKC roaming offload - Intel (iwlwifi): - UHR sniffer support - support for newer UEFI/BIOS tables - MediaTek (mt76): - mt7925 NAN improvements - offchannel/scan improvements and MLO fixes - Morse Micro (mm81x): - monitor mode support - Qualcomm (ath12k): - IPQ5332 platform infrastructure - Realtek (rtw88): - RTL8723BS support - SDIO TX performance improvements - Realtek (rtw89): - P2P_DEVICE support - BT-coex updates for RTL8922D - Bluetooth: - move H:4 reassembly into the Bluetooth core - add generic support for vendor packets - MGMT: add security level changed event - Bluetooth drivers: - btusb: support Bulk Serialization Mode - Intel: support Draco and Titan Lake, allow unsigned firmware - Mediatek: MT7928 support - Qualcomm: QCC2072 support - Broadcom: Synaptics 4384 support" * tag 'net-next-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2126 commits) Bluetooth: btusb: disable by default Qualcomm multi-subsystem tipc: fix broadcast sender hang on last acker departure tipc: fix use-after-free of broadcast reception link at node release r8169: clear TX LPI on RTL8168h at link up after phylink conversion tun: Require CAP_NET_ADMIN to attach to an ownerless device net/sched/sch_cake: drop dead nla_nest_end() error check net/sched/sch_cake: widen buffer_used to u64 net/sched/sch_cake: reduce parent backlog when clearing a tin net/sched/sch_cake: serialize reconfiguration with the datapath tg3: Add Datto SIRIS 5 1U Server to restart AER quirk table net/mlx5e: Stop asserting for RTNL when closing channels net: shrink the payload-only part of skb dataref to one bit net: wwan: iosm: validate msg_head before indexing msg_ring net: bgmac: rate limit RX error messages selftests: net: veth: test XDP_TX to a peer with GRO enabled veth: schedule the peer's NAPI after XDP_TX when only GRO is enabled pppoe: delete session hash entries by pointer match net: lan969x: don't disable hardirqs in fdma tx clear net: sparx5/lan969x: do not clobber the PSFP cycle timer update period net: lan969x: fix DSM calendar for empty taxis ...
9 daysMerge tag 'mmc-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmcLinus Torvalds
Pull MMC updates from Ulf Hansson: "MMC core: - Add a power-off-delay-us DT property to support HW specific delays - Add mmc_send_tuning_timeout() to allow hosts to specify a timeout - Enable hosts to control the re-programming of the crypto keys MMC host: - dw_mmc: Add a common watchdog and convert the various timeouts to use it - dw_mmc: Expose the watchdog state in debugfs - dw_mmc-rockchip: Use a tighter per command tuning timeout - greybus-sdio: Convert to devm_mmc_alloc_host() - meson-gx: Enable the bus pipeline clock on T7 - rtsx_usb_sdmmc: Start card power-up at 3.3V - sdhci-cadence: Add Altera Agilex5 SD6HC support - sdhci-cadence: Add Cadence SD6HC support - sdhci-msm: Add support for the MSM8952 and Maili variants - sdhci-msm: Use pm ops to better manage restoring of crypto keys - sdhci-of-dwcmshc: Disable CQE error halt request for Rockchip - sdhci-pxav3: Disable clock inversion for SD HS cards - sunplus: Fixup initialization for DDR modes - sunxi: Add support for Allwinner B288 - vub300: Remove the driver for the obsolete HW" * tag 'mmc-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (43 commits) dt-bindings: mmc: sun4i-a10-mmc: add Allwinner B288 mmc: dw_mmc-rockchip: use a tighter per-command tuning timeout mmc: core: add mmc_send_tuning_timeout() mmc: sdhci-of-dwcmshc: Disable CQE error halt request for Rockchip dt-bindings: mmc: sdhci-msm: Add MSM8952 compatible mmc: use assign_bit() where applicable mmc: sdhci-pci: Replace deprecated PCI functions mmc: sunplus: initialise rd_crc_dly=1 for DDR modes mmc: core: fix stale mmc_start_req() references in comments docs: mmc: fix stale async request documentation docs: mmc: document eMMC health status support in mmc-tools mmc: cavium-thunderx: Drop redundant calls to get|put_device() mmc: core: Turn mmc_alloc|free_host() into static functions staging: greybus: sdio: Convert to devm_mmc_alloc_host() mmc: vub300: Remove the driver for the obsolete HW mmc: dw_mmc: remove unused slot member mmc: sdhci-pxav3: avoid of_node CREDITS: Add Pierre Ossman mmc: fix typos in comments mmc: meson-gx: enable the bus pipeline clock on T7 ...
2026-10-17staging: rtl8723bs: remove unnecessary parenthesesYalagada Pavan Kumar
Remove redundant parentheses around the address-of operator to follow kernel coding style. Signed-off-by: Yalagada Pavan Kumar <pavankumaryalagada@gmail.com> Link: https://patch.msgid.link/20261015120634.95218-1-pavankumaryalagada@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-17rtl8723bs: Remove redundant macro in basic_types.hAlexis Buttler
LE_BITS_CLEARED_TO_1BYTE_8BIT() is only used by SET_BITS_TO_LE_1BYTE_8BIT(), and its implementation simply expands to LE_P1BYTE_TO_HOST_1BYTE(). Remove LE_BITS_CLEARED_TO_1BYTE_8BIT() and replace its original invocation with the definition. Signed-off-by: Alexis Buttler <iuseacosbtw@gmail.com> Link: https://patch.msgid.link/20261016012126.65939-1-iuseacosbtw@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-17staging: rtl8723bs: remove spaces before tabs in hal_com_reg.hKirill Repin
Remove spaces placed before tabs in comments to fix checkpatch warnings: WARNING: please, no space before tabs No functional change. Signed-off-by: Kirill Repin <krepin1001@gmail.com> Link: https://patch.msgid.link/20261014-rtl8723bs-space-before-tab-v1-1-fbd73c6a995a@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-17staging: greybus: Align function argumentsYalagada Pavan Kumar
Align the function arguments to follow the coding style and improve readability, addressing the alignment warning reported by checkpatch.pl Signed-off-by: Yalagada Pavan Kumar <pavankumaryalagada@gmail.com> Link: https://patch.msgid.link/20261017084441.12123-1-pavankumaryalagada@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-17staging: greybus: uart: fix argument alignmentOkhuomon Ajayi
Align the msecs_to_jiffies() argument with the opening parenthesis of wait_for_completion_timeout() to address the checkpatch alignment warning. Signed-off-by: Okhuomon Ajayi <okhuomonajayi54@gmail.com> Link: https://patch.msgid.link/20261015213542.68994-1-okhuomonajayi54@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-17staging: greybus: Remove unused header declaration to_fw_mgmt_connectionJeremy Dean Clifton
Commit 3228900f80c2 ("staging: greybus: Remove unused function 'to_fw_mgmt_connection'") removed a function definition but did not remove the function prototype. Remove the prototype. Signed-off-by: Jeremy Dean Clifton <deaner92@yahoo.com> Reviewed-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20261015020731.98150-1-deaner92@yahoo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-14staging: most: fix typo in driver_usage.txtWang Yibo
Fix a spelling mistake in the ALSA component description of the application layer section: 'can by used' should be 'can be used'. The same typo was fixed for the networking and V4L2 sections by commit b114ef1efc49 ("staging: most: fix typos in driver_usage.txt"), but this third occurrence was missed. Signed-off-by: Wang Yibo <szwyb123@gmail.com> Link: https://patch.msgid.link/20261013142928.443858-1-szwyb123@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-14staging: vme_user: avoid iterator variable access outside list loopRiccardo Oliva
In vme_slave_request(), vme_master_request(), vme_dma_request(), and vme_lm_request(), the list iterators (slave_image, master_image, dma_ctrlr, and lm) are accessed in the err_alloc error paths after exiting the list_for_each_entry() loops. While the iterator variable retains its pointer value upon hitting a break, accessing list iterators outside the loop body violates modern kernel coding standards. Fix this by referencing the dedicated allocated resource pointers (allocated_image, allocated_ctrlr, allocated_lm) in the error cleanup blocks instead. Signed-off-by: Riccardo Oliva <oliva.scorza@gmail.com> Link: https://patch.msgid.link/20261012034020.100737-1-oliva.scorza@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-14staging: greybus: Remove unused function 'to_fw_mgmt_connection'Jeremy Dean Clifton
Remove unused function from greybus driver to_fw_mgmt_connection. This function is not exported or called from anywhere tree-wide. Confirmed with git grep and cscope. Signed-off-by: Jeremy Dean Clifton <deaner92@yahoo.com> Reviewed-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20261013181707.29830-1-deaner92@yahoo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: greybus: replace PTR_ERR() with %pe in error messagesYalagada Pavan Kumar
Use %pe to print error pointers directly and display their error names. Keep the other PTR_ERR() call because its return value is needed for ret. Signed-off-by: Yalagada Pavan Kumar <pavankumaryalagada@gmail.com> Link: https://patch.msgid.link/20261013022402.6322-1-pavankumaryalagada@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: octeon: fix misuse of kernel-doc commentCen Zhang (Microsoft)
The comment above struct octeon_ethernet starts with /** but its current content does not follow kernel-doc syntax. Use /* instead of /** to keep the existing description as a regular block comment. Signed-off-by: Cen Zhang (Microsoft) <cenzhang@linux.microsoft.com> Link: https://patch.msgid.link/20261009152743.39401-1-cenzhang@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: nvec: fix GPIO descriptor documentationCen Zhang (Microsoft)
The kernel-doc for struct nvec_chip still refers to the old gpio member and to struct nvec_platform_data, which no longer exists. Rename the documented member to gpiod and describe its role as the GPIO descriptor for the embedded controller request line. Signed-off-by: Cen Zhang (Microsoft) <cenzhang@linux.microsoft.com> Link: https://patch.msgid.link/20261009063156.28306-1-cenzhang@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: fbtft: update outdated struct fbtft_ops commentCen Zhang (Microsoft)
Correct struct fbtft_ops outdated kernel-doc comment: 1) update field write_reg to write_register; 2) remove non-existing field free_gpios. Signed-off-by: Cen Zhang (Microsoft) <cenzhang@linux.microsoft.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20261009154526.43528-1-cenzhang@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13greybus: Discard pm_runtime_put_autosuspend() return valueBrian Norris
Returning an error code from pm_runtime_put_autosuspend() merely means that it has not queued up a timer or work item to check whether or not the device can be suspended and there are many perfectly valid situations in which that can happen, like after writing "on" to the device's runtime PM "control" attribute in sysfs for one example. Modify gb_pm_runtime_put_autosuspend() to discard the pm_runtime_put_autosuspend() return value, change its return type to void, and update its caller in the Greybus power supply driver accordingly. Also drop the redundant pm_runtime_mark_last_busy() call from gb_pm_runtime_put_autosuspend() while we're here, as this is already part of pm_runtime_put_autosuspend(). Note that this resolves a bug in the power_supply driver: in tracking 'gbpsy->pm_acquired', it erroneously assumed that pm_runtime_put_autosuspend() would not release a refcount when it returned a non-zero value. That's a false assumption. This will facilitate a planned change of the pm_runtime_put_autosuspend() return type to void in the future, similar to commit 3afd8df02433 ("PM: runtime: Change pm_runtime_put() return type to void"). Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20261006161337.7.Ib0925681ca623093ddf812cc4de848e10ec07c73@changeid Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused defines in odm.hWang Yibo
hal/odm.h still defines several constants that no code in the driver ever references: BAND_NUM, AFH_PSD, Adaptive_SIR ANTTESTALL, ANTTESTA, ANTTESTB AUX_ANT They come from the PSD and antenna-diversity sections of the vendor ODM code and were never wired up for the RTL8723BS. The "/* ANT Test */" comment is removed together with the defines it introduced. No functional change intended. Signed-off-by: Wang Yibo <szwyb123@gmail.com> Link: https://patch.msgid.link/20261013095707.387341-1-szwyb123@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove commented out code in hal/ filesWang Yibo
Remove commented out code in a few hal/ source files, including commented out switch case branches in odm.c, leftover debug statements in odm_DIG.c and stale assignments in hal_intf.c. The removed lines were already disabled and do not affect the generated code. Signed-off-by: Wang Yibo <szwyb123@gmail.com> Link: https://patch.msgid.link/20261013092908.380050-1-szwyb123@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused defines in HalBtcOutSrc.hWang Yibo
HalBtcOutSrc.h still defines a number of constants that no code in the driver ever references. They either describe hardware variants the RTL8723BS does not support - extra RF paths, dual-MAC/dual-PHY chips, MIMO power save modes, coupler antennas - or were simply never wired up: BTC_RF_OFF, BTC_RF_ON, BTC_RF_B, BTC_RF_C, BTC_RF_D BTC_DMDP, BTC_DMSP, BTC_MP_UNKNOWN BTC_MIMO_PS_STATIC, BTC_MIMO_PS_DYNAMIC BTC_RATE_DISABLE, BTC_RATE_ENABLE BTC_ANT_WIFI_AT_CPL_MAIN, BTC_ANT_WIFI_AT_CPL_AUX WIFI_HS_CONNECTED, BTC_RSSI_LOW Only BTC_RF_A is actually used, as the RF path argument of fBtcSetRfReg(). The "coupler Antenna definition" comment is removed together with the two defines it documented. No functional change intended. Signed-off-by: Wang Yibo <szwyb123@gmail.com> Link: https://patch.msgid.link/20261013090147.374461-1-szwyb123@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused PCI ASPM OSC definitionsIñaki Sobera Sotomayor
RT_PCI_ASPM_OSC_IGNORE, RT_PCI_ASPM_OSC_ENABLE and RT_PCI_ASPM_OSC_DISABLE describe how PCI ASPM is arbitrated between the OS and the driver. This driver is SDIO only, it depends on MMC, and the macros are not referenced anywhere in the tree. Drop them along with their comment. No functional change intended. Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com> Link: https://patch.msgid.link/8b372e2037cff170950c0dc0b94d7cdd78ba4c80.1791312824.git.inakisobera8@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused EEPROM definitionsIñaki Sobera Sotomayor
RTL8712_EEPROM_ID, HWSET_MAX_SIZE_128, HWSET_MAX_SIZE_256, CLOCK_RATE and the EEPROM_*_OPCODE macros are leftovers from the original vendor driver. None of them is referenced anywhere in the tree, so drop them. HWSET_MAX_SIZE_512 is left in place because EEPROM_MAX_SIZE expands to it. No functional change intended. Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com> Link: https://patch.msgid.link/0c4bc57c3034233f330f620eeb03fd7d8f8de457.1791312824.git.inakisobera8@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: return bool from check_pending_xmitbufMatheus Alves de Almeida
check_pending_xmitbuf() returns only true or false. To accurately describe the function's behavior, rename it to has_pending_xmitbuf() and change the return type to bool. Propagate the return type through one of the call chains. Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> Link: https://patch.msgid.link/20261002154350.120639-1-matheus.aalmeida@inf.ufrgs.br Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use errno in rtw_register_tx_alive()Hungyu Lin
Replace the driver-specific _SUCCESS and _FAIL return values with 0 when TX can proceed and -EAGAIN when the firmware is not ready yet. Handle -EAGAIN explicitly in rtl8723bs_xmit_buf_handler(). The buffers remain queued and XMIT_ALIVE remains set so cpwm_int_hdl() can wake the TX thread for another attempt. Return _SUCCESS in this case to keep rtw_xmit_thread() running and waiting on xmit_comp; propagating -EAGAIN would terminate the thread. No functional change. Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> Link: https://patch.msgid.link/20261001124252.7563-1-dennylin0707@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: rename CamelCase variable wRxSeqInitialValueFeiyu Wang
Rename wRxSeqInitialValue to rx_seq_initial_value to comply with kernel coding style. Found by checkpatch.pl strict. Signed-off-by: Feiyu Wang <wangfeiyu_mc_code@163.com> Link: https://patch.msgid.link/20261011065624.23494-1-wangfeiyu_mc_code@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove extern from recv and sta_info prototypesMohammed Sohail
Function declarations in header files are implicitly extern, so the keyword is redundant. Remove it from the prototypes in rtw_recv.h and sta_info.h to follow the kernel coding style. There is no functional change. Signed-off-by: Mohammed Sohail <mohd.sohail.biz@gmail.com> Link: https://patch.msgid.link/20261008185414.160922-1-mohd.sohail.biz@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove comparisons to true/false in rtw_mlme_ext.cMohammed Sohail
Checkpatch reports "Using comparison to true/false is error prone" in rtw_mlme_ext.c. Replace "x == true" with "x" and "x == false" with "!x". bwmode_updated and bxmitok are u8, but they are only ever assigned true or false, so this does not change behavior. Signed-off-by: Mohammed Sohail <mohd.sohail.biz@gmail.com> Link: https://patch.msgid.link/20261007162114.138541-1-mohd.sohail.biz@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: hal: fix a multi-line comment in hal_btcoex.cCen Zhang (Microsoft)
The comment in the BTC_GET_BL_WIFI_SCAN switch case of halbtcoutsrc_Get() has coding style issues. Fix them by placing the opening and closing comment delimiters on separate lines, and keeping each line within 80 columns. Signed-off-by: Cen Zhang (Microsoft) <cenzhang@linux.microsoft.com> Link: https://patch.msgid.link/20261007123221.60521-1-cenzhang@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use u32 for length variables in rtw_BIP_verify()Pranav Desai
Replace 'uint' with 'u32' for the 'len' and 'ori_len' variables in the rtw_BIP_verify() function. These variables are calculated directly from 'pattrib->pkt_len', which is defined as a u32 in struct pkt_attrib. Explicitly typing them as u32 prevents potential bounds or overflow issues during subsequent length calculations. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-7-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use u32 for payload_length in rtw_security.cPranav Desai
Replace 'uint' with 'u32' for the 'payload_length' parameter in the construct_mic_iv() helper function. This parameter is passed directly from the 'plen' variable in the caller functions, which has been explicitly typed as u32. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-6-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use explicit types for math variables and iteratorsPranav Desai
Replace 'uint' with explicit types for variables used in math operations and loops inside the aes_cipher() and aes_decipher() functions: - Change 'payload_remainder' to u8 because it is calculated as (plen % 16), which guarantees a range of 0-15. - Change 'payload_index' to u32 because it indexes into the payload, which is bounded by plen (u32). - Change 'num_blocks' to u32 since it is derived from 'plen' (u32). - Change loop iterators (i, j) to standard 'unsigned int'. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-5-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use u8 for frame types in rtw_security.cPranav Desai
Replace 'uint' with 'u8' for the 'frtype' and 'frsubtype' variables in rtw_security.c. These variables are populated by the GetFrameType() and GetFrameSubType() macros, which read a 16-bit value but apply a bitwise mask (bits 2-3 for type, bits 2-7 for subtype). Because the highest possible value after masking is 252, these variables are guaranteed to fit within an 8-bit unsigned integer. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-4-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use bool for flags in rtw_security.cPranav Desai
Replace 'uint' with 'bool' for the 'qc_exists' and 'a4_exists' variables since they are only used to track true/false state. Update their assignments from 1/0 to true/false to match the standard boolean type. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-3-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: use explicit types for lengths in rtw_security.cPranav Desai
Replace 'uint' with explicit types for length variables in rtw_security.c based on how they are used: - aes_cipher(): use u16 for hdrlen and u32 for plen to match the fields in struct pkt_attrib. - aes_decipher(): use u8 for hdrlen to match struct rx_pkt_attrib. Use u32 for plen since it is calculated from a 32-bit packet length. Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com> Link: https://patch.msgid.link/20261007115342.1121742-2-contact.pranavdesai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove multiple blank linesFeiyu Wang
Remove redundant blank lines as reported by checkpatch.pl. Signed-off-by: Feiyu Wang <wangfeiyu_mc_code@163.com> Link: https://patch.msgid.link/20261007104610.128178-1-wangfeiyu_mc_code@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: fix logical continuation styleFeiyu Wang
Move logical operators to the end of the previous line to follow the kernel coding style, as reported by checkpatch.pl. Signed-off-by: Feiyu Wang <wangfeiyu_mc_code@163.com> Link: https://patch.msgid.link/20261007102212.112463-1-wangfeiyu_mc_code@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: align arguments with open parenthesisRahul Rao
Fix a coding style check reported by checkpatch.pl by aligning the continuation argument with the open parenthesis in rtw_get_ie(). Signed-off-by: Rahul Rao <shreeramrahul94@gmail.com> Link: https://patch.msgid.link/20261007083717.14031-1-shreeramrahul94@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove dead antenna diversity infrastructure (FAT/SWAT)Marinela Tatiana Selseth
Manual code tracking via grep reveals that the driver contains code for Fast Antenna Training (FAT) and Software Antenna Switching (SWAS) that are completely uninitialized, unread, or write-only. Remove the 'struct fat_t' definition from hal/odm.h and refactor the fallback path in hal/rtl8723b_phycfg.c. Because the unassigned structural member 'RxIdleAnt' naturally defaults to 0, the conditional path check statically resolves to false, permanently routing RFPath to RF_PATH_B whenever antenna diversity is active. Hardcode this layout behavior to match factual reality and remove the now unused macro 'MAIN_ANT'. Additionally, purge the write-only 'struct swat_t' infrastructure from hal/odm.h and include/hal_data.h. Inside hal/odm.c, eliminate the dead variable tracking assignments while explicitly preserving the hardware register read to rDPDT_control as a dummy read to ensure initialization sequencing and hardware timing remain completely unaltered. Lastly, clean up legacy comment baggage across hal/odm.c and hal/odm_DIG.c. Remove arbitrary spreadsheet digits and references to unsupported legacy chipsets (92E, 8723A, 8821, 8812) to ensure inline notes are highly focused on the active RTL8723B Bluetooth coexistence parameters. Assisted-by: Gemini Signed-off-by: Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org> Link: https://patch.msgid.link/20261004222821.6524-1-marinela.selseth@firmwaredesign.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: condense NDIS encryption status enumMarinela Tatiana Selseth
Address maintainer feedback regarding loose anonymous enum constants and redundant naming aliases. The legacy driver framework contained multiple duplicate definitions (such as mapping both WEPDisabled and EncryptionDisabled to identical tracking states) alongside several completely unreferenced, dead tracking properties. Clean up this subsystem by defining an explicit, named enumeration layout 'enum ndis_802_11_encryption_status' inside wlan_bssdef.h. Consolidate redundant aliases down to singular, uniform variables, purge all unused legacy elements (KeyAbsent, NotSupported, and EncrypteionWAPI blocks), and convert all remaining active states over to standard uppercase snake_case conventions. Update all internal software state assignments and state evaluation loops across the entire driver operational baseline to conform to the updated definitions, ensuring code tracking clarity while leaving hardware execution behaviors completely unaltered. Fix associated line length violations and remove redundant braces for single-statement conditions introduced by long macro names. Assisted-by: Gemini Signed-off-by: Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org> Link: https://patch.msgid.link/20261004195539.305487-1-marinela.selseth@firmwaredesign.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: rename dot118021x_UncstKey to dot118021x_uncst_keyGowtham S Bhushan
checkpatch.pl warns about CamelCase in the struct member dot118021x_UncstKey. Rename it to dot118021x_uncst_key to follow the kernel coding style. Also wrap lines that exceed 100 columns because of the longer name Signed-off-by: Gowtham S Bhushan <gowtham398gs@gmail.com> Link: https://patch.msgid.link/20261004091911.16169-1-gowtham398gs@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused driver_stopped pointer from HALLuca Hernandez
Remove the unused driver_stopped pointer field from struct dm_odm_t and clear out its dead assignment loop block inside ODM_CmnInfoHook(). This eliminates completely dead weight from the driver's HAL layer codebase. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Luca Hernandez <lucay202@gmail.com> Link: https://patch.msgid.link/20261003133807.27676-1-lucay202@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove multiple blank lines in rtw_recv.hSteven Sierra
Collapse runs of consecutive blank lines to a single blank line to resolve the "Please do not use multiple blank lines" checkpatch warnings in this file. No functional change. Signed-off-by: Steven Sierra <bizoru@gmail.com> Link: https://patch.msgid.link/20261003044643.2451960-1-bizoru@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: remove unused BoardType field and its parserRishik Yechuri
Hal_EfuseParseBoardType_8723BS() reads the board option byte from the efuse and stores bits 5 through 7 in pHalData->BoardType. Nothing in the driver ever reads pHalData->BoardType, so the value isn't used. The function also tries to fall back to a default when the efuse byte is unprogrammed, but the check can never be true: BoardType = (hwinfo[...] & 0xE0) >> 5; /* at most 7 */ if (BoardType == 0xFF) /* never true */ Remove the function, the one place it's called, and the unused BoardType member of struct hal_com_data. This doesn't change how the driver behaves. Signed-off-by: Rishik Yechuri <rishik.yechuri.code@gmail.com> Link: https://patch.msgid.link/20261002201354.156065-1-rishik.yechuri.code@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: Eliminate dead enum hal_status abstractionMarinela Tatiana Selseth
The internal driver configuration functions inside odm_HWConfig.c always hardcode a return of HAL_STATUS_SUCCESS and never fail. Consequently, the custom vendor wrapper type 'enum hal_status' is a completely redundant abstraction layer that introduces unnecessary complexity. Refactor ODM_ConfigRFWithHeaderFile(), ODM_ConfigBBWithHeaderFile(), and ODM_ConfigRFWithTxPwrTrackHeaderFile() to return standard 'void', removing the useless success return paths. Additionally, purge the unused ghost prototype ODM_ConfigFWWithHeaderFile() from the header and completely eliminate the now-vacant 'enum hal_status' declaration block from odm_types.h. Signed-off-by: Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org> Link: https://patch.msgid.link/20261002194644.212473-1-marinela.selseth@firmwaredesign.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-13staging: rtl8723bs: rename phy_status_rpt_8192cd_t to rtl8723bs_phy_status_rpt.Timo Joannin
The struct identifier references the 8192CD chip while being in a rtl8723bs codebase. Additionally, the identifier uses the _t suffix, while being generally reserved for typedef identifiers. Rename the struct to rtl8723bs_phy_status_rpt across the rtl8723bs codebase to accurately reflect the driver and clean up the naming. Additionally, propagate the real structure type all the way through the call chain to remove redundant casts to and from u8 *. Signed-off-by: Timo Joannin <timo.joannin@gmail.com> Link: https://patch.msgid.link/20261001151814.157881-1-timo.joannin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-10-09Merge tag 'rtw-next-2026-10-08' of https://github.com/pkshih/rtwJohannes Berg
Pink-Ke Shih says: ================== rtw-next patches for v7.4 Mainly, continue to develop RTL8922DE with many patches. Some random cleanups and fixes. The major changes are listed below: rtw88: - support RTL8723BS (remove staging rtl8723bs by the way) - add SDIO TX back-pressure to improve performance rtw89: - add P2P_DEVICE declaration - many BT-coexistence update for RTL8922D ================== Signed-off-by: Johannes Berg <johannes.berg@intel.com>