37e14da1f2
* refs/heads/tmp-075ce55: ANDROID: 16K: Avoid mmap lock assertions for padding VMAs ANDROID: consolidate.fragment: don't disable CONFIG_PM_ADVANCED_DEBUG ANDROID: GKI: Update symbol list for mtk Revert "f2fs: fix to tag gcing flag on page during block migration" ANDROID: 16K: Only check basename of linker context FROMGIT: arm64: mte: Make mte_check_tfsr_*() conditional on KASAN instead of MTE ANDROID: gki_defconfig: Disable CONFIG_BRCMSTB_DPFE and CONFIG_BRCMSTB_MEMC FROMGIT: f2fs: fix to avoid use SSR allocate when do defragment ANDROID: 16K: Only check basename of linker context ANDROID: 16K: Avoid and document padding madvise lock warning ANDROID: arm64: vdso32: support user-supplied flags ANDROID: GKI: Add initial symbol list for bcmstb ANDROID: gki_defconfig: Enable Broadcom STB SoCs UPSTREAM: mmc: core: Do not force a retune before RPMB switch UPSTREAM: arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers BACKPORT: net: phy: Allow drivers to always call into ->suspend() UPSTREAM: ARM: perf: Mark all accessor functions inline UPSTREAM: arm64: perf: Mark all accessor functions inline UPSTREAM: perf/core: Drop __weak attribute from arch_perf_update_userpage() prototype UPSTREAM: ARM: perf: Allow the use of the PMUv3 driver on 32bit ARM UPSTREAM: ARM: Make CONFIG_CPU_V7 valid for 32bit ARMv8 implementations UPSTREAM: perf: pmuv3: Change GENMASK to GENMASK_ULL UPSTREAM: perf: pmuv3: Move inclusion of kvm_host.h to the arch-specific helper UPSTREAM: perf: pmuv3: Abstract PMU version checks UPSTREAM: arm64: perf: Abstract system register accesses away UPSTREAM: arm64: perf: Move PMUv3 driver to drivers/perf UPSTREAM: arm64/perf: Replace PMU version number '0' with ID_AA64DFR0_EL1_PMUVer_NI ANDROID: GKI: Update oplus symbol list UPSTREAM: block/blk-mq: Don't complete locally if capacities are different BACKPORT: sched: Add a new function to compare if two cpus have the same capacity ANDROID: GKI: Update symbol list for mtk ANDROID: GKI: Update rockchip symbols for rndis_host. ANDROID: GKI: Update rockchip symbols for snd multi dais. UPSTREAM: usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete UPSTREAM: usb: gadget: f_fs: use io_data->status consistently ANDROID: set rewrite_absolute_paths_in_config for GKI aarch64. UPSTREAM: wifi: cfg80211: Clear mlo_links info when STA disconnects ANDROID: ABI: Add usb_gadget_connect & usb_gadget_disconnect symbol ANDROID: GKI: Update symbol list for mtk BACKPORT: iommu: Have __iommu_probe_device() check for already probed devices ANDROID: ABI fixup for abi break in struct dst_ops BACKPORT: net: fix __dst_negative_advice() race ANDROID: ABI fixup for abi break in struct dst_ops BACKPORT: net: fix __dst_negative_advice() race Revert "crypto: api - Disallow identical driver names" UPSTREAM: USB: gadget: core: create sysfs link between udc and gadget ANDROID: GKI: add tegra20-cpufreq.ko to rockpi4 build ANDROID: GKI: update symbol list for db845c ANDROID: Build some tegra configs as vendor module ANDROID: gki_defconfig: Enable Tegra SoCs ANDROID: Update the ABI symbol list Revert^2 "BACKPORT: FROMGIT: module: allow UNUSED_KSYMS_WHITELIST ..." ANDROID: binder: fix KMI-break due to alloc->lock ANDROID: binder: fix ptrdiff_t printk-format issue ANDROID: binder: fix KMI-break due to address type change Reapply "ANDROID: vendor_hooks: Add hook for binder_detect_low_async_space" Reapply "ANDROID: Add vendor hooks for binder perf tuning" UPSTREAM: binder: switch alloc->mutex to spinlock_t UPSTREAM: binder: reverse locking order in shrinker callback UPSTREAM: binder: avoid user addresses in debug logs UPSTREAM: binder: refactor binder_delete_free_buffer() UPSTREAM: binder: collapse print_binder_buffer() into caller UPSTREAM: binder: document the final page calculation BACKPORT: UPSTREAM: binder: rename lru shrinker utilities UPSTREAM: binder: make oversized buffer code more readable UPSTREAM: binder: remove redundant debug log UPSTREAM: binder: perform page installation outside of locks UPSTREAM: binder: initialize lru pages in mmap callback UPSTREAM: binder: malloc new_buffer outside of locks UPSTREAM: binder: refactor page range allocation UPSTREAM: binder: relocate binder_alloc_clear_buf() UPSTREAM: binder: relocate low space calculation UPSTREAM: binder: separate the no-space debugging logic UPSTREAM: binder: remove pid param in binder_alloc_new_buf() UPSTREAM: binder: do unlocked work in binder_alloc_new_buf() UPSTREAM: binder: split up binder_update_page_range() UPSTREAM: binder: keep vma addresses type as unsigned long UPSTREAM: binder: remove extern from function prototypes Revert "ANDROID: Add vendor hooks for binder perf tuning" Revert "ANDROID: vendor_hooks: Add hook for binder_detect_low_async_space_locked" Revert "ANDROID: vendor_hook: rename the the name of hooks" ANDROID: GKI: Update rockchip symbols for some usb wifi bt. UPSTREAM: selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior ANDROID: GKI: Update rockchip symbols to add iova APIs FROMLIST: kheaders: explicitly define file modes for archived headers ANDROID: incremental-fs: Make work with 16k pages ANDROID: pahole -J -j1 for reproducible BTF Revert "BACKPORT: FROMGIT: module: allow UNUSED_KSYMS_WHITELIST ..." BACKPORT: FROMGIT: module: allow UNUSED_KSYMS_WHITELIST to be relative against objtree. ANDROID: export one function for mm metrics ANDROID: GKI: Update symbol list for mtk FROMLIST: kheaders: explicitly define file modes for archived headers ANDROID: pahole -J -j1 for reproducible BTF FROMLIST: usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it UPSTREAM: epoll: be better about file lifetimes FROMLIST: usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state FROMLIST: usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state UPSTREAM: usb: gadget: ncm: Fix handling of zero block length packets ANDROID: Update the ABI symbol list ANDROID: GKI: Update symbol list for mtk UPSTREAM: usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs ANDROID: GKI: Update rockchip symbols to add iova APIs FROMLIST: sched/pi: Reweight fair_policy() tasks when inheriting prio ANDROID: Update the ABI symbol list ANDROID: mm: Add restricted vendor hook in do_read_fault() ANDROID: abi_gki_aarch64_qcom: Update symbol list ANDROID: abi_gki_aarch64_qcom: Update symbol list ANDROID: Update the ABI symbol list ANDROID: add vendor hooks and expoert reclaim_pages to reclaim memory FROMGIT: usb: dwc3: Wait unconditionally after issuing EndXfer command ANDROID: ABI: Update honor symbol list ANDROID: add vendor hook in do_read_fault to tune fault_around_bytes ANDROID: usb: Optimize the problem of slow transfer rate in USB accessory mode ANDROID: Zap kernel/sched/android.h stubs ANDROID: Update the ABI symbol list ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it ANDROID: export one function for mm metrics ANDROID: Update the ABI symbol list ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it UPSTREAM: ALSA: virtio: use ack callback UPSTREAM: usb: typec: tcpm: clear pd_event queue in PORT_RESET BACKPORT: usb: typec: tcpm: enforce ready state when queueing alt mode vdm ANDROID: GKI: Update QCOM symbol list and ABI STG ANDROID: GKI: fix ABI breakage in struct userfaultfd_ctx UPSTREAM: userfaultfd: fix deadlock warning when locking src and dst VMAs BACKPORT: userfaultfd: use per-vma locks in userfaultfd operations BACKPORT: mm: add vma_assert_locked() for !CONFIG_PER_VMA_LOCK BACKPORT: userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx BACKPORT: userfaultfd: move userfaultfd_ctx struct to header file BACKPORT: userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb BACKPORT: selftests/mm: add separate UFFDIO_MOVE test for PMD splitting BACKPORT: selftests/mm: add UFFDIO_MOVE ioctl test BACKPORT: selftests/mm: add uffd_test_case_ops to allow test case-specific operations BACKPORT: selftests/mm: call uffd_test_ctx_clear at the end of the test UPSTREAM: userfaultfd: fix return error if mmap_changing is non-zero in MOVE ioctl BACKPORT: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE BACKPORT: mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails BACKPORT: userfaultfd: handle zeropage moves by UFFDIO_MOVE UPSTREAM: userfaultfd: avoid huge_zero_page in UFFDIO_MOVE UPSTREAM: userfaultfd: fix move_pages_pte() splitting folio under RCU read lock BACKPORT: userfaultfd: UFFDIO_MOVE uABI UPSTREAM: mm/rmap: support move to different root anon_vma in folio_move_anon_rmap() UPSTREAM: crypto: x86/curve25519 - disable gcov ANDROID: GKI: Update QCOM symbol list and ABI STG ANDROID: GKI: update symbol list file for xiaomi UPSTREAM: netfilter: nft_set_pipapo: do not free live element UPSTREAM: net: tls: handle backlogging of crypto requests UPSTREAM: af_unix: Fix garbage collector racing against connect() UPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight. ANDROID: 16K: Fix show maps CFI failure ANDROID: 16K: Handle pad VMA splits and merges ANDROID: 16K: madvise_vma_pad_pages: Remove filemap_fault check ANDROID: 16K: Only madvise padding from dynamic linker context ANDROID: 16K: Separate padding from ELF LOAD segment mappings ANDROID: 16K: Exclude ELF padding for fault around range ANDROID: 16K: Use MADV_DONTNEED to save VMA padding pages. ANDROID: 16K: Introduce ELF padding representation for VMAs ANDROID: 16K: Introduce /sys/kernel/mm/pgsize_miration/enabled FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it Revert "FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it" FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it ANDROID: vendor_hooks: add symbols for lazy preemption ANDROID: vendor_hooks: add two hooks for lazy preemption ANDROID: KVM: arm64: wait_for_initramfs for pKVM module loading procfs ANDROID: GKI: Expose device async to userspace BACKPORT: mtk-mmsys: Change mtk-mmsys & mtk-mutex to modules ANDROID: Update the ABI symbol list BACKPORT: clk: mediatek: Split configuration options for MT8186 clock drivers BACKPORT: clk: mediatek: Add MODULE_LICENSE() where missing FROMGIT: coresight: etm4x: Fix access to resource selector registers FROMGIT: coresight: etm4x: Safe access for TRCQCLTR FROMGIT: coresight: etm4x: Do not save/restore Data trace control registers FROMGIT: coresight: etm4x: Do not hardcode IOMEM access for register restore ANDROID: GKI: Update honda symbol list for led-trigger ANDROID: GKI: Update symbols to symbol list ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem UPSTREAM: af_unix: Fix garbage collector racing against connect() UPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight. ANDROID: GKI: fix ABI breakage in struct userfaultfd_ctx UPSTREAM: userfaultfd: fix deadlock warning when locking src and dst VMAs BACKPORT: userfaultfd: use per-vma locks in userfaultfd operations BACKPORT: mm: add vma_assert_locked() for !CONFIG_PER_VMA_LOCK BACKPORT: userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx BACKPORT: userfaultfd: move userfaultfd_ctx struct to header file BACKPORT: userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb BACKPORT: selftests/mm: add separate UFFDIO_MOVE test for PMD splitting BACKPORT: selftests/mm: add UFFDIO_MOVE ioctl test BACKPORT: selftests/mm: add uffd_test_case_ops to allow test case-specific operations BACKPORT: selftests/mm: call uffd_test_ctx_clear at the end of the test UPSTREAM: userfaultfd: fix return error if mmap_changing is non-zero in MOVE ioctl BACKPORT: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE BACKPORT: mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails BACKPORT: userfaultfd: handle zeropage moves by UFFDIO_MOVE UPSTREAM: userfaultfd: avoid huge_zero_page in UFFDIO_MOVE UPSTREAM: userfaultfd: fix move_pages_pte() splitting folio under RCU read lock BACKPORT: userfaultfd: UFFDIO_MOVE uABI UPSTREAM: mm/rmap: support move to different root anon_vma in folio_move_anon_rmap() ANDROID: PM: hibernate: Encryption support with compression ANDROID: abi_gki_aarch64_qcom: Update symbol list ANDROID: vendor_hooks: Add hooks to support hibernation ANDROID: gki_defconfig: Sync gki_defconfig UPSTREAM: PM: hibernate: Support to select compression algorithm UPSTREAM: PM: hibernate: Add support for LZ4 compression for hibernation BACKPORT: PM: hibernate: Move to crypto APIs for LZO compression BACKPORT: PM: hibernate: Rename lzo* to make it generic Revert "hrtimer: Report offline hrtimer enqueue" Revert "drm/mipi-dsi: Fix detach call without attach" ANDROID: ABI: Update symbol list for Exynos SoC ANDROID: abi_gki_aarch64_qcom: Update symbol list BACKPORT: mtk-mmsys: Change mtk-mmsys & mtk-mutex to modules BACKPORT: clk: mediatek: Split configuration options for MT8186 clock drivers BACKPORT: clk: mediatek: Add MODULE_LICENSE() where missing ANDROID: Update the ABI symbol list Reapply "ANDROID: block: Add support for filesystem requests and small segments" UPSTREAM: usb:typec:tcpm:support double Rp to Vbus cable as sink ANDROID: Update the ABI symbol list ANDROID: Add known structs used by modules to KMI ANDROID: use reserved cpucaps for new capability Revert "mm/sparsemem: fix race in accessing memory_section->usage" UPSTREAM: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path UPSTREAM: netfilter: nf_tables: release batch on table validation from abort path UPSTREAM: netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout UPSTREAM: netfilter: nft_set_pipapo: release elements in clone only from destroy path ANDROID: GKI: Add symbol list for Nothing ANDROID: GKI: Update honda symbol list for asound ANDROID: GKI: Update honda symbol list for xt_LOG ANDROID: GKI: Update honda symbol list for ebtables ANDROID: GKI: Update honda symbol list for net scheduler ANDROID: softirq: add tasklet to LONG_SOFTIRQ_MASK ANDROID: Update the ABI symbol list ANDROID: vendor_hooks: add restricted vendor hook for meminfo ANDROID: Update the ABI symbol list BACKPORT: cpufreq: Don't unregister cpufreq cooling on CPU hotplug FROMGIT: usb: typec: tcpm: Correct the PDO counting in pd_set UPSTREAM: tls: fix race between tx work scheduling and socket close UPSTREAM: netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain UPSTREAM: tls: fix race between async notify and socket close UPSTREAM: net: tls: factor out tls_*crypt_async_wait() UPSTREAM: tls: extract context alloc/initialization out of tls_set_sw_offload BACKPORT: mm: update mark_victim tracepoints fields Revert "FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields" ANDROID: Update the ABI symbol list ANDROID: export two function to reclaim memory ANDROID: add reclaim tune parameter functions UPSTREAM: netfilter: nf_tables: disallow anonymous set with timeout flag ANDROID: drop redundant OWNERS_DrNo file UPSTREAM: ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning. UPSTREAM: ALSA: virtio: add support for audio controls ANDROID: Update symbols list for virtio_snd.ko audio controls ANDROID: Move cpu_busy_with_softirqs() into sched.h UPSTREAM: mm: page_alloc: unreserve highatomic page blocks before oom UPSTREAM: mm: page_alloc: enforce minimum zone size to do high atomic reserves UPSTREAM: mm: page_alloc: correct high atomic reserve calculations ANDROID: Update the ABI symbol list ANDROID: Export cpu_busy_with_softirqs() ANDROID: GKI: update symbol list file for xiaomi Reapply "ANDROID: null_blk: Support configuring the maximum segment size" UPSTREAM: usb: typec: Return size of buffer if pd_set operation succeeds UPSTREAM: usb: typec: tcpm: Update PD of Type-C port upon pd_set UPSTREAM: usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd() UPSTREAM: usb: typec: tcpm: Correct port source pdo array in pd_set callback Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" Revert "ANDROID: null_blk: Support configuring the maximum segment size" Revert "usb: dwc3: core: configure TX/RX threshold for DWC3_IP" ANDROID: Update the ABI symbol list ANDROID: GKI: Update symbols for rockchip drm FROMLIST: binder: check offset alignment in binder_get_object() ANDROID: GKI: Add symbol list for Nothing ANDROID: thermal: Add vendor thermal_pm_notify_suspend function UPSTREAM: usb: dwc3: gadget: Don't disconnect if not started Revert "ANDROID: block: Add support for filesystem requests and small segments" ANDROID: vendor_hook: fix issue vip thread do not sleep while no vip work UPSTREAM: sched/wait: Fix a kthread_park race with wait_woken() ANDROID: KVM: arm64: Fix TLB invalidation when coalescing into a block ANDROID: ABI: Update symbol list for Exynos SoC ANDROID: GKI: Add symbols for rockchip snd trcm FROMGIT: usb: dwc2: Disable clock gating feature on Rockchip SoCs ANDROID: ABI: Update symbol list for Exynos SoC ANDROID: Add symbols for IIO SCMI module ANDROID: KVM: arm64: Fix missing trace event for nVHE dyn HVCs ANDROID: Update the ABI symbol list ANDROID: Update symbols list for open-dice.ko ANDROID: Add symbols for IIO SCMI module ANDROID: GKI: Update symbols for rockchip UPSTREAM: usb: dwc2: disable lpm feature on Rockchip SoCs ANDROID: Update symbols list for open-dice.ko FROMLIST: mm/migrate: set swap entry values of THP tail pages properly. ANDROID: Update the ABI symbol list ANDROID: virt: gunyah: Move send_lock around req and reply ANDROID: null_blk: Support configuring the maximum segment size ANDROID: scsi_debug: Support configuring the maximum segment size ANDROID: block: Add support for filesystem requests and small segments ANDROID: block: Support submitting passthrough requests with small segments ANDROID: block: Make sub_page_limit_queues available in debugfs ANDROID: block: Support configuring limits below the page size ANDROID: block: Prepare for supporting sub-page limits ANDROID: block: Use pr_info() instead of printk(KERN_INFO ...) ANDROID: sound: usb: add vendor hook for cpu suspend support ANDROID: usb: Add vendor hook for usb suspend and resume ANDROID: fips140: change linker script guard Revert "ANDROID: Update symbols list for open-dice.ko" ANDROID: Update symbols list for open-dice.ko FROMGIT: PM: sleep: wakeirq: fix wake irq warning in system suspend ANDROID: ABI: Update symbol for Exynos SoC UPSTREAM: usb: dwc3: core: set force_gen1 bit in USB31 devices if max speed is SS UPSTREAM: PCI: dwc: Strengthen the MSI address allocation logic UPSTREAM: PCI: dwc: Restrict only coherent DMA mask for MSI address allocation ANDROID: ABI: Update oplus symbol list ANDROID: vendor_hook: rename the the name of hooks FROMGIT: usb: xhci: Add error handling in xhci_map_urb_for_dma FROMGIT: usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK FROMGIT: usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK ANDROID: fuse-bpf: Fix readdir for getdents Linux 6.1.78 netfilter: nft_set_rbtree: skip end interval element from gc net: stmmac: xgmac: fix a typo of register name in DPP safety handling ALSA: usb-audio: Sort quirk table entries net: stmmac: xgmac: use #define for string constants clocksource: Skip watchdog check for large watchdog intervals block: treat poll queue enter similarly to timeouts f2fs: add helper to check compression level RDMA/irdma: Fix support for 64k pages vhost: use kzalloc() instead of kmalloc() followed by memset() Revert "ASoC: amd: Add new dmi entries for acp5x platform" io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffers Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU hrtimer: Report offline hrtimer enqueue usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK USB: serial: cp210x: add ID for IMST iM871A-USB USB: serial: option: add Fibocom FM101-GL variant USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e ALSA: usb-audio: add quirk for RODE NT-USB+ ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision mtd: parsers: ofpart: add workaround for #size-cells 0 fs: dlm: don't put dlm_local_addrs on heap blk-iocost: Fix an UBSAN shift-out-of-bounds warning scsi: core: Move scsi_host_busy() out of host lock if it is for per-command fs/ntfs3: Fix an NULL dereference bug netfilter: nft_set_pipapo: remove scratch_aligned pointer netfilter: nft_set_pipapo: add helper to release pcpu scratch area netfilter: nft_set_pipapo: store index in scratch maps netfilter: nft_ct: reject direction for ct id drm/amd/display: Implement bounds check for stream encoder creation in DCN301 netfilter: nft_compat: restrict match/target protocol to u16 netfilter: nft_compat: reject unused compat flag netfilter: nft_compat: narrow down revision to unsigned 8-bits selftests: cmsg_ipv6: repeat the exact packet ppp_async: limit MRU to 64K af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC. tipc: Check the bearer type before calling tipc_udp_nl_bearer_add() rxrpc: Fix response to PING RESPONSE ACKs to a dead call drm/i915/gvt: Fix uninitialized variable in handle_mmio() inet: read sk->sk_family once in inet_recv_error() hwmon: (coretemp) Fix bogus core_id to attr name mapping hwmon: (coretemp) Fix out-of-bounds memory access hwmon: (aspeed-pwm-tacho) mutex for tach reading octeontx2-pf: Fix a memleak otx2_sq_init atm: idt77252: fix a memleak in open_card_ubr0 tunnels: fix out of bounds access when building IPv6 PMTU error selftests: net: avoid just another constant wait selftests: net: cut more slack for gro fwd tests. net: atlantic: Fix DMA mapping for PTP hwts ring netdevsim: avoid potential loop in nsim_dev_trap_report_work() wifi: mac80211: fix waiting for beacons logic net: stmmac: xgmac: fix handling of DPP safety error for DMA channels drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case cifs: failure to add channel on iface should bump up weight phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV phy: renesas: rcar-gen3-usb2: Fix returning wrong error code dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA dmaengine: ti: k3-udma: Report short packet errors dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools ext4: regenerate buddy after block freeing failed if under fc replay Linux 6.1.77 drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()' ASoC: codecs: wsa883x: fix PA volume control ASoC: codecs: lpass-wsa-macro: fix compander volume hack bonding: remove print in bond_verify_device_path gve: Fix use-after-free vulnerability LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init() drm/msm/dsi: Enable runtime PM Revert "drm/amd/display: Disable PSR-SU on Parade 0803 TCON again" mm, kmsan: fix infinite recursion due to RCU critical section arm64: irq: set the correct node for shadow call stack selftests: bonding: Check initial state selftests: team: Add missing config options net: sysfs: Fix /sys/class/net/<iface> path selftests: net: fix available tunnels detection af_unix: fix lockdep positive in sk_diag_dump_icons() net: ipv4: fix a memleak in ip_setup_cork netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV netfilter: conntrack: correct window scaling with retransmitted SYN selftests: net: add missing config for GENEVE bridge: mcast: fix disabled snooping after long uptime llc: call sock_orphan() at release time ipv6: Ensure natural alignment of const ipv6 loopback and router addresses net: dsa: qca8k: fix illegal usage of GPIO ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550() ixgbe: Refactor overtemp event handling ixgbe: Refactor returning internal error codes tcp: add sanity checks to rx zerocopy net: lan966x: Fix port configuration when using SGMII interface ipmr: fix kernel panic when forwarding mcast packets ipv4: raw: add drop reasons ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv() selftests: net: give more time for GRO aggregation HID: hidraw: fix a problem of memory leak in hidraw_release() scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register scsi: isci: Fix an error code problem in isci_io_request_build() drm: using mul_u32_u32() requires linux/math64.h wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update perf: Fix the nr_addr_filters fix drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()' drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()' drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()' drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()' ceph: fix invalid pointer access if get_quota_realm return ERR_PTR ceph: fix deadlock or deadcode of misusing dget() ceph: reinitialize mds feature bit even when session in open blk-mq: fix IO hang from sbitmap wakeup race virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings drm/amdkfd: Fix lock dependency warning with srcu drm/amdkfd: Fix lock dependency warning libsubcmd: Fix memory leak in uniq() misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback 9p: Fix initialisation of netfs_inode for 9p PCI/AER: Decode Requester ID when no error info found PCI: Fix 64GT/s effective data rate calculation spmi: mediatek: Fix UAF on device remove fs/kernfs/dir: obey S_ISGID tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE selftests/sgx: Fix linker script asserts usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hub usb: hub: Replace hardcoded quirk value with BIT() macro perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present PCI: switchtec: Fix stdev_release() crash after surprise hot remove PCI: Only override AMD USB controller if required mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt mfd: ti_am335x_tscadc: Fix TI SoC dependencies xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import i3c: master: cdns: Update maximum prescaler value for i2c clock um: time-travel: fix time corruption um: net: Fix return type of uml_net_start_xmit() um: Don't use vfprintf() for os_info() um: Fix naming clash between UML and scheduler leds: trigger: panic: Don't register panic notifier if creating the trigger failed ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140 drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()' drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()' drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()' drm/amdgpu: Let KFD sync with VM fences drm/amdgpu: Fix ecc irq enable/disable unpaired clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks drm/amd/display: make flip_timestamp_in_us a 64-bit variable watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init() clk: hi3620: Fix memory leak in hi3620_mmc_clk_init() drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap drm/msm/dpu: fix writeback programming for YUV cases drm/msm/dpu: Ratelimit framedone timeout msgs drm/amd/display: For prefetch mode > 0, extend prefetch if possible media: i2c: imx335: Fix hblank min/max values media: ddbridge: fix an error code problem in ddb_probe media: amphion: remove mutext lock in condition of wait_event IB/ipoib: Fix mcast list locking drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time f2fs: fix to tag gcing flag on page during block migration hwmon: (nct6775) Fix fan speed set failure in automatic mode media: rkisp1: Fix IRQ disable race issue media: rkisp1: Store IRQ lines media: rkisp1: Fix IRQ handler return values media: rkisp1: Drop IRQF_SHARED ALSA: hda: Intel: add HDA_ARL PCI ID support PCI: add INTEL_HDA_ARL to pci_ids.h media: rockchip: rga: fix swizzling for RGB formats media: stk1160: Fixed high volume of stk1160_dbg messages drm/mipi-dsi: Fix detach call without attach drm/framebuffer: Fix use of uninitialized variable drm/drm_file: fix use of uninitialized variable ASoC: amd: Add new dmi entries for acp5x platform f2fs: fix write pointers on zoned device after roll forward drm/amd/display: Fix tiled display misalignment drm/bridge: anx7625: Fix Set HPD irq detect window to 2ms drm/panel-edp: Add override_edid_mode quirk for generic edp RDMA/IPoIB: Fix error code return in ipoib_mcast_join fast_dput(): handle underflows gracefully ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument ALSA: hda: Refer to correct stream index at loops f2fs: fix to check return value of f2fs_reserve_new_block() net: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry i40e: Fix VF disable behavior to block all traffic bridge: cfm: fix enum typo in br_cc_ccm_tx_parse net/smc: disable SEID on non-s390 archs where virtual ISM may be used Bluetooth: L2CAP: Fix possible multiple reject send Bluetooth: hci_sync: fix BR/EDR wakeup bug Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066 wifi: cfg80211: free beacon_ies when overridden from hidden BSS wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices arm64: dts: amlogic: fix format for s4 uart node ice: fix pre-shifted bit usage arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property md: Whenassemble the array, consult the superblock of the freshest device block: prevent an integer overflow in bvec_try_merge_hw_page net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path net: atlantic: eliminate double free in error handling logic ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM ARM: dts: imx23/28: Fix the DMA controller node name ARM: dts: imx23-sansa: Use preferred i2c-gpios properties ARM: dts: imx27-apf27dev: Fix LED name ARM: dts: imx25/27: Pass timing0 ARM: dts: imx25: Fix the iim compatible string block/rnbd-srv: Check for unlikely string overflow ionic: bypass firmware cmds when stuck in reset ionic: pass opcode to devcmd_wait net: phy: at803x: fix passing the wrong reference for config_intr ARM: dts: imx1: Fix sram node ARM: dts: imx27: Fix sram node ARM: dts: imx: Use flash@0,0 pattern ARM: dts: imx25/27-eukrea: Fix RTC node name ARM: dts: rockchip: fix rk3036 hdmi ports node wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap() bpf: Set uattr->batch.count as zero before batched update or deletion scsi: libfc: Fix up timeout error in fc_fcp_rec_error() scsi: libfc: Don't schedule abort twice bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers wifi: ath11k: fix race due to setting ATH11K_FLAG_EXT_IRQ_ENABLED too early wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus() ARM: dts: imx7s: Fix nand-controller #size-cells ARM: dts: imx7s: Fix lcdif compatible ARM: dts: imx7d: Fix coresight funnel ports scsi: arcmsr: Support new PCI device IDs 1883 and 1886 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116 net: usb: ax88179_178a: avoid two consecutive device resets bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk PCI: Add no PM reset quirk for NVIDIA Spectrum devices scsi: lpfc: Fix possible file string name overflow when updating firmware soc: xilinx: fix unhandled SGI warning message soc: xilinx: Fix for call trace due to the usage of smp_processor_id() selftests/bpf: Fix issues in setup_classid_environment() wifi: rt2x00: correct wrong BBP register in RxDCOC calibration selftests/bpf: Fix pyperf180 compilation failure with clang18 selftests/bpf: satisfy compiler by having explicit return in btf test wifi: rt2x00: restart beacon queue when hardware reset ext4: avoid online resizing failures due to oversized flex bg ext4: remove unnecessary check from alloc_flex_gd() ext4: unify the type of flexbg_size to unsigned int ext4: fix inconsistent between segment fstrim and full fstrim ecryptfs: Reject casefold directory inodes SUNRPC: Fix a suspicious RCU usage warning KVM: s390: fix setting of fpc register s390/ptrace: handle setting of fpc register correctly s390/vfio-ap: fix sysfs status attribute for AP queue devices arch: consolidate arch_irq_work_raise prototypes jfs: fix array-index-out-of-bounds in diNewExt rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock() afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*() afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu() crypto: stm32/crc32 - fix parsing list of devices erofs: fix ztailpacking for subpage compressed blocks crypto: octeontx2 - Fix cptvf driver cleanup pstore/ram: Fix crash when setting number of cpus to an odd number jfs: fix uaf in jfs_evict_inode jfs: fix array-index-out-of-bounds in dbAdjTree jfs: fix slab-out-of-bounds Read in dtSearch UBSAN: array-index-out-of-bounds in dtSplitRoot FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events PM / devfreq: Synchronize devfreq_monitor_[start/stop] ACPI: NUMA: Fix the logic of getting the fake_pxm value ACPI: extlog: fix NULL pointer dereference check PNP: ACPI: fix fortify warning ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop audit: Send netlink ACK before setting connection in auditd_set regulator: core: Only increment use_count when enable_count changes debugobjects: Stop accessing objects after releasing hash bucket lock perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel powerpc/lib: Validate size for vector operations powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE x86/boot: Ignore NMIs during very early boot powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping() powerpc/mm: Fix build failures due to arch_reserved_kernel_pages() powerpc: Fix build error due to is_valid_bugaddr() drivers/perf: pmuv3: don't expose SW_INCR event in sysfs arm64: irq: set the correct node for VMAP stack powerpc/mm: Fix null-pointer dereference in pgtable_cache_add asm-generic: make sparse happy with odd-sized put_unaligned_*() Linux 6.1.76 net/mlx5e: Handle hardware IPsec limits events serial: core: fix kernel-doc for uart_port_unlock_irqrestore() x86/entry/ia32: Ensure s32 is sign extended to s64 tick/sched: Preserve number of idle sleeps across CPU hotplug events mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan cxl/region:Fix overflow issue in alloc_hpa() MIPS: lantiq: register smp_ops on non-smp platforms spi: fix finalize message on error return spi: bcm-qspi: fix SFDP BFPT read by usig mspi read drm/bridge: anx7625: Ensure bridge is suspended in disable() block: Move checking GENHD_FL_NO_PART to bdev_add_partition() gpio: eic-sprd: Clear interrupt after set the interrupt type drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume drm/exynos: fix accidental on-stack copy of exynos_drm_plane drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable() drm/bridge: sii902x: Fix audio codec unregistration drm/bridge: sii902x: Fix probing race issue drm/bridge: sii902x: Use devm_regulator_bulk_get_enable() drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33] drm/bridge: parade-ps8640: Wait for HPD when doing an AUX transfer Revert "powerpc/64s: Increase default stack size to 32KB" drm/panel-edp: drm/panel-edp: Fix AUO B116XAK01 name and timing btrfs: zoned: optimize hint byte for zoned allocator btrfs: zoned: factor out prepare_allocation_zoned() serial: sc16is7xx: fix unconditional activation of THRI interrupt serial: sc16is7xx: Use port lock wrappers serial: core: Provide port lock wrappers dlm: use kernel_connect() and kernel_bind() ARM: dts: qcom: sdx55: fix USB SS wakeup ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells' ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12 ARM: dts: qcom: sdx55: fix USB wakeup interrupt types pipe: wakeup wr_wait after setting max_usage fs/pipe: move check to pipe_has_watch_queue() thermal: intel: hfi: Add syscore callbacks for system-wide PM thermal: intel: hfi: Disable an HFI instance when all its CPUs go offline thermal: intel: hfi: Refactor enabling code into helper functions PM: sleep: Fix possible deadlocks in core system-wide PM code PM: core: Remove unnecessary (void *) conversions bus: mhi: ep: Do not allocate event ring element on stack media: ov13b10: Enable runtime PM before registering async sub-device media: ov13b10: Support device probe in non-zero ACPI D state erofs: fix lz4 inplace decompression erofs: get rid of the remaining kmap_atomic() drm/amdgpu/pm: Fix the power source flag error drm/amd/display: Port DENTIST hang and TDR fixes to OTG disable W/A drm/bridge: nxp-ptn3460: simplify some error checking platform/x86: intel-uncore-freq: Fix types in sysfs callbacks drm/amd/display: Disable PSR-SU on Parade 0803 TCON again drm/tidss: Fix atomic_flush check drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking drm: Don't unref the same fb many times by mistake due to deadlock handling cpufreq: intel_pstate: Refine computation of P-state for given frequency gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04 xfs: read only mounts with fsopen mount API are busted firmware: arm_scmi: Check mailbox/SMT channel for consistency ksmbd: fix global oob in ksmbd_nl_policy platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe netfilter: nf_tables: reject QUEUE/DROP verdict parameters netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain hv_netvsc: Calculate correct ring size when PAGE_SIZE is not 4 Kbytes wifi: iwlwifi: fix a memory corruption exec: Fix error handling in begin_new_exec() rbd: don't move requests to the running list on errors btrfs: don't abort filesystem when attempting to snapshot deleted subvolume btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args btrfs: don't warn if discard range is not aligned to sector btrfs: tree-checker: fix inline ref size in error messages btrfs: ref-verify: free ref cache before clearing mount opt btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted nbd: always initialize struct msghdr completely net: fec: fix the unhandled context fault from smmu fjes: fix memleaks in fjes_hw_setup selftests: netdevsim: fix the udp_tunnel_nic test net: mvpp2: clear BM pool before initialization net: stmmac: Wait a bit for the reset to take effect netfilter: nf_tables: validate NFPROTO_* family netfilter: nf_tables: restrict anonymous set and map names to 16 bytes btrfs: fix race between reading a directory and adding entries to it btrfs: refresh dir last index during a rewinddir(3) call btrfs: set last dir index to the current last index when opening dir btrfs: fix infinite directory reads netfilter: nft_limit: reject configurations that cause integer overflow rcu: Defer RCU kthreads wakeup when CPU is dying net/mlx5e: fix a potential double-free in fs_any_create_groups net/mlx5e: fix a double-free in arfs_create_groups net/mlx5e: Allow software parsing when IPsec crypto is enabled net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO net/mlx5: DR, Can't go to uplink vport on RX rule net/mlx5: DR, Use the right GVMI number for drop action ipv6: init the accept_queue's spinlocks in inet6_create netlink: fix potential sleeping issue in mqueue_flush_file tcp: Add memory barrier to tcp_push() afs: Hide silly-rename files from userspace tracing: Ensure visibility when inserting an element into tracing_map netfs, fscache: Prevent Oops in fscache_put_cache() net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv net: micrel: Fix PTP frame parsing for lan8814 tun: add missing rx stats accounting in tun_xdp_act tun: fix missing dropped counter in tun_xdp_act net: fix removing a namespace with conflicting altnames udp: fix busy polling llc: Drop support for ETH_P_TR_802_2. llc: make llc_ui_sendmsg() more robust against bonding changes vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING bnxt_en: Wait for FLR to complete during probe tcp: make sure init the accept_queue's spinlocks once net/smc: fix illegal rmb_desc access in SMC-D connection dump wifi: mac80211: fix potential sta-link leak drm/amd/display: pbn_div need be updated for hotplug event Revert "drm/amd: Enable PCIe PME from D3" ksmbd: Add missing set_freezable() for freezable kthread ksmbd: send lease break notification on FILE_RENAME_INFORMATION ksmbd: don't increment epoch if current state and request state are same ksmbd: fix potential circular locking issue in smb2_set_ea() ksmbd: set v2 lease version on lease upgrade mm: page_alloc: unreserve highatomic page blocks before oom LoongArch/smp: Call rcutree_report_cpu_starting() earlier serial: sc16is7xx: improve do/while loop in sc16is7xx_irq() serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq() serial: sc16is7xx: fix invalid sc16is7xx_lines bitfield in case of probe error serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO serial: sc16is7xx: change EFR lock to operate on each channels serial: sc16is7xx: remove unused line structure member serial: sc16is7xx: remove global regmap from struct sc16is7xx_port serial: sc16is7xx: remove wasteful static buffer in sc16is7xx_regmap_name() serial: sc16is7xx: improve regmap debugfs by using one regmap per port rename(): fix the locking of subdirectories mm/sparsemem: fix race in accessing memory_section->usage mm/rmap: fix misplaced parenthesis of a likely() ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path nouveau/vmm: don't set addr on the fail path to avoid warning rtc: Extend timeout for waiting for UIP to clear to 1s rtc: Add support for configuring the UIP timeout for RTC reads rtc: mc146818-lib: Adjust failure return code for mc146818_get_time() rtc: Adjust failure return code for cmos_set_alarm() rtc: cmos: Use ACPI alarm for non-Intel x86 systems too arm64: Rename ARM64_WORKAROUND_2966298 media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run mmc: mmc_spi: remove custom DMA mapped buffers mmc: core: Use mrq.sbc in close-ended ffu media: videobuf2-dma-sg: fix vmap callback scripts/get_abi: fix source path leak docs: kernel_abi.py: fix command injection lsm: new security_file_ioctl_compat() hook arm64: dts: qcom: sm8150: fix USB DP/DM HS PHY interrupts arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types arm64: dts: qcom: sm8150: fix USB wakeup interrupt types arm64: dts: qcom: sdm845: fix USB wakeup interrupt types arm64: dts: qcom: sc7180: fix USB wakeup interrupt types scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan() dmaengine: fix NULL pointer in channel unregistration function iio: adc: ad7091r: Enable internal vref if external vref is not supplied async: Introduce async_schedule_dev_nocall() async: Split async_schedule_node_domain() parisc/power: Fix power soft-off button emulation on qemu parisc/firmware: Fix F-extend for PDC addresses bus: mhi: host: Add spinlock to protect WP access when queueing TREs bus: mhi: host: Drop chan lock before queuing buffers bus: mhi: host: Add alignment check for event ring read pointer mips: Fix max_mapnr being uninitialized on early stages s390/vfio-ap: let on_scan_complete() callback filter matrix and update guest's APCB s390/vfio-ap: loop over the shadow APCB when filtering guest's AP configuration s390/vfio-ap: always filter entire AP matrix media: ov9734: Enable runtime PM before registering async sub-device rpmsg: virtio: Free driver_override when rpmsg_remove() media: imx355: Enable runtime PM before registering async sub-device PM / devfreq: Fix buffer overflow in trans_stat_show s390/vfio-ap: unpin pages on gisc registration failure crypto: s390/aes - Fix buffer overread in CTR mode hwrng: core - Fix page fault dead lock on mmap-ed hwrng PM: hibernate: Enforce ordering during image compression/decompression crypto: api - Disallow identical driver names btrfs: sysfs: validate scrub_speed_max value OPP: Pass rounded rate to _set_opp() arm64: properly install vmlinuz.efi ext4: allow for the last group to be marked as trimmed iio: adc: ad7091r: Allow users to configure device events iio: adc: ad7091r: Set alert bit in config register Revert "nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB" usb: dwc3: gadget: Handle EP0 request dequeuing properly usb: dwc3: gadget: Queue PM runtime idle on disconnect event usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/gpio/xlnx,gpio-xilinx.yaml Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml Documentation/devicetree/bindings/media/rockchip-isp1.yaml Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml drivers/bus/mhi/host/main.c drivers/clk/qcom/videocc-sm8150.c drivers/soc/qcom/llcc-qcom.c include/dt-bindings/clock/qcom,videocc-sm8150.h Change-Id: I736b858a11a53d39b1a31aaa270d6508d9d527ba Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@12087153 UKQ2.240714.001 Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
972 lines
30 KiB
Python
972 lines
30 KiB
Python
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2021 The Android Open Source Project
|
|
|
|
load("@bazel_skylib//rules:write_file.bzl", "write_file")
|
|
load("//build/bazel_common_rules/dist:dist.bzl", "copy_to_dist_dir")
|
|
load("//build/kernel/kleaf:common_kernels.bzl", "define_common_kernels")
|
|
load("//build/kernel/kleaf:constants.bzl", "X86_64_OUTS")
|
|
load(
|
|
"//build/kernel/kleaf:kernel.bzl",
|
|
"checkpatch",
|
|
"ddk_headers",
|
|
"kernel_abi",
|
|
"kernel_build",
|
|
"kernel_images",
|
|
"kernel_modules_install",
|
|
"merged_kernel_uapi_headers",
|
|
)
|
|
load(":modules.bzl", "get_gki_modules_list")
|
|
|
|
package(
|
|
default_visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
|
|
_GKI_AARCH64_MAKE_GOALS = [
|
|
"Image",
|
|
"Image.lz4",
|
|
"Image.gz",
|
|
"modules",
|
|
]
|
|
|
|
_GKI_RISCV64_MAKE_GOALS = [
|
|
"Image",
|
|
"Image.lz4",
|
|
"Image.gz",
|
|
"modules",
|
|
]
|
|
|
|
_GKI_X86_64_MAKE_GOALS = [
|
|
"bzImage",
|
|
"modules",
|
|
]
|
|
|
|
checkpatch(
|
|
name = "checkpatch",
|
|
checkpatch_pl = "scripts/checkpatch.pl",
|
|
)
|
|
|
|
# Deprecated - Use arch specific files from below.
|
|
alias(
|
|
name = "gki_system_dlkm_modules",
|
|
actual = "gki_system_dlkm_modules_arm64",
|
|
deprecation = """
|
|
Common list for all architectures is deprecated.
|
|
Instead use the file corresponding to the architecture used:
|
|
i.e. `gki_system_dlkm_modules_{arch}`
|
|
""",
|
|
)
|
|
|
|
alias(
|
|
name = "android/gki_system_dlkm_modules",
|
|
actual = "android/gki_system_dlkm_modules_arm64",
|
|
deprecation = """
|
|
Common list for all architectures is deprecated.
|
|
Instead use the file corresponding to the architecture used:
|
|
i.e. `gki_system_dlkm_modules_{arch}`
|
|
""",
|
|
)
|
|
|
|
write_file(
|
|
name = "gki_system_dlkm_modules_arm64",
|
|
out = "android/gki_system_dlkm_modules_arm64",
|
|
content = get_gki_modules_list("arm64") + [
|
|
# Ensure new line at the end.
|
|
"",
|
|
],
|
|
)
|
|
|
|
write_file(
|
|
name = "gki_system_dlkm_modules_x86_64",
|
|
out = "android/gki_system_dlkm_modules_x86_64",
|
|
content = get_gki_modules_list("x86_64") + [
|
|
# Ensure new line at the end.
|
|
"",
|
|
],
|
|
)
|
|
|
|
write_file(
|
|
name = "gki_system_dlkm_modules_risc64",
|
|
out = "android/gki_system_dlkm_modules_riscv64",
|
|
content = get_gki_modules_list("riscv64") + [
|
|
# Ensure new line at the end.
|
|
"",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "aarch64_additional_kmi_symbol_lists",
|
|
srcs = [
|
|
# keep sorted
|
|
"android/abi_gki_aarch64_asr",
|
|
"android/abi_gki_aarch64_asus",
|
|
"android/abi_gki_aarch64_bcmstb",
|
|
"android/abi_gki_aarch64_db845c",
|
|
"android/abi_gki_aarch64_exynos",
|
|
"android/abi_gki_aarch64_exynosauto",
|
|
"android/abi_gki_aarch64_fips140",
|
|
"android/abi_gki_aarch64_galaxy",
|
|
"android/abi_gki_aarch64_honda",
|
|
"android/abi_gki_aarch64_honor",
|
|
"android/abi_gki_aarch64_imx",
|
|
"android/abi_gki_aarch64_meizu",
|
|
"android/abi_gki_aarch64_moto",
|
|
"android/abi_gki_aarch64_mtk",
|
|
"android/abi_gki_aarch64_nothing",
|
|
"android/abi_gki_aarch64_oplus",
|
|
"android/abi_gki_aarch64_pasa",
|
|
"android/abi_gki_aarch64_pixel",
|
|
"android/abi_gki_aarch64_qcom",
|
|
"android/abi_gki_aarch64_rockchip",
|
|
"android/abi_gki_aarch64_sony",
|
|
"android/abi_gki_aarch64_tuxera",
|
|
"android/abi_gki_aarch64_type_visibility",
|
|
"android/abi_gki_aarch64_unisoc",
|
|
"android/abi_gki_aarch64_virtual_device",
|
|
"android/abi_gki_aarch64_vivo",
|
|
"android/abi_gki_aarch64_xiaomi",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
define_common_kernels(target_configs = {
|
|
"kernel_aarch64": {
|
|
"kmi_symbol_list_strict_mode": True,
|
|
"module_implicit_outs": get_gki_modules_list("arm64"),
|
|
"kmi_symbol_list": "android/abi_gki_aarch64",
|
|
"rewrite_absolute_paths_in_config": True,
|
|
"kmi_symbol_list_add_only": True,
|
|
"additional_kmi_symbol_lists": [":aarch64_additional_kmi_symbol_lists"],
|
|
"protected_exports_list": "android/abi_gki_protected_exports_aarch64",
|
|
"protected_modules_list": "android/gki_aarch64_protected_modules",
|
|
"make_goals": _GKI_AARCH64_MAKE_GOALS,
|
|
},
|
|
"kernel_aarch64_16k": {
|
|
"kmi_symbol_list_strict_mode": False,
|
|
"module_implicit_outs": get_gki_modules_list("arm64"),
|
|
"make_goals": _GKI_AARCH64_MAKE_GOALS,
|
|
},
|
|
"kernel_aarch64_debug": {
|
|
"kmi_symbol_list_strict_mode": False,
|
|
"module_implicit_outs": get_gki_modules_list("arm64"),
|
|
"kmi_symbol_list": "android/abi_gki_aarch64",
|
|
"rewrite_absolute_paths_in_config": True,
|
|
"kmi_symbol_list_add_only": True,
|
|
"additional_kmi_symbol_lists": [":aarch64_additional_kmi_symbol_lists"],
|
|
"protected_exports_list": "android/abi_gki_protected_exports_aarch64",
|
|
"protected_modules_list": "android/gki_aarch64_protected_modules",
|
|
"make_goals": _GKI_AARCH64_MAKE_GOALS,
|
|
},
|
|
"kernel_riscv64": {
|
|
"kmi_symbol_list_strict_mode": False,
|
|
"module_implicit_outs": get_gki_modules_list("riscv64"),
|
|
"make_goals": _GKI_RISCV64_MAKE_GOALS,
|
|
},
|
|
"kernel_x86_64": {
|
|
"kmi_symbol_list_strict_mode": False,
|
|
"module_implicit_outs": get_gki_modules_list("x86_64"),
|
|
"protected_exports_list": "android/abi_gki_protected_exports_x86_64",
|
|
"protected_modules_list": "android/gki_x86_64_protected_modules",
|
|
"make_goals": _GKI_X86_64_MAKE_GOALS,
|
|
},
|
|
"kernel_x86_64_debug": {
|
|
"kmi_symbol_list_strict_mode": False,
|
|
"module_implicit_outs": get_gki_modules_list("x86_64"),
|
|
"protected_exports_list": "android/abi_gki_protected_exports_x86_64",
|
|
"protected_modules_list": "android/gki_x86_64_protected_modules",
|
|
"make_goals": _GKI_X86_64_MAKE_GOALS,
|
|
},
|
|
})
|
|
|
|
# Microdroid is not a real device. The kernel image is built with special
|
|
# configs to reduce the size. Hence, not using mixed build.
|
|
kernel_build(
|
|
name = "kernel_aarch64_microdroid",
|
|
srcs = ["//common:kernel_aarch64_sources"],
|
|
outs = [
|
|
"Image",
|
|
"System.map",
|
|
"modules.builtin",
|
|
"modules.builtin.modinfo",
|
|
"vmlinux",
|
|
"vmlinux.symvers",
|
|
],
|
|
build_config = "build.config.microdroid.aarch64",
|
|
make_goals = [
|
|
"Image",
|
|
],
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "kernel_aarch64_microdroid_dist",
|
|
data = [
|
|
":kernel_aarch64_microdroid",
|
|
],
|
|
dist_dir = "out/kernel_aarch64_microdroid/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
kernel_build(
|
|
name = "kernel_aarch64_microdroid_16k",
|
|
srcs = ["//common:kernel_aarch64_sources"],
|
|
outs = [
|
|
"Image",
|
|
"System.map",
|
|
"modules.builtin",
|
|
"modules.builtin.modinfo",
|
|
"vmlinux",
|
|
"vmlinux.symvers",
|
|
],
|
|
build_config = "build.config.microdroid.aarch64",
|
|
make_goals = [
|
|
"Image",
|
|
],
|
|
page_size = "16k",
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "kernel_aarch64_microdroid_16k_dist",
|
|
data = [
|
|
":kernel_aarch64_microdroid_16k",
|
|
],
|
|
dist_dir = "out/kernel_aarch64_microdroid_16k/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
# Microdroid is not a real device. The kernel image is built with special
|
|
# configs to reduce the size. Hence, not using mixed build.
|
|
kernel_build(
|
|
name = "kernel_x86_64_microdroid",
|
|
srcs = ["//common:kernel_x86_64_sources"],
|
|
outs = X86_64_OUTS,
|
|
arch = "x86_64",
|
|
build_config = "build.config.microdroid.x86_64",
|
|
make_goals = [
|
|
"bzImage",
|
|
],
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "kernel_x86_64_microdroid_dist",
|
|
data = [
|
|
":kernel_x86_64_microdroid",
|
|
],
|
|
dist_dir = "out/kernel_x86_64_microdroid/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
kernel_build(
|
|
name = "kernel_aarch64_crashdump",
|
|
srcs = ["//common:kernel_aarch64_sources"],
|
|
outs = [
|
|
"Image",
|
|
],
|
|
build_config = "build.config.crashdump.aarch64",
|
|
make_goals = [
|
|
"Image",
|
|
],
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "kernel_aarch64_crashdump_dist",
|
|
data = [
|
|
":kernel_aarch64_crashdump",
|
|
],
|
|
dist_dir = "out/kernel_aarch64_crashdump/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
kernel_build(
|
|
name = "kernel_x86_64_crashdump",
|
|
srcs = ["//common:kernel_x86_64_sources"],
|
|
outs = X86_64_OUTS,
|
|
arch = "x86_64",
|
|
build_config = "build.config.crashdump.x86_64",
|
|
make_goals = [
|
|
"bzImage",
|
|
],
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "kernel_x86_64_crashdump_dist",
|
|
data = [
|
|
":kernel_x86_64_crashdump",
|
|
],
|
|
dist_dir = "out/kernel_x86_64_crashdump/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
_DB845C_MODULE_OUTS = [
|
|
# keep sorted
|
|
"crypto/michael_mic.ko",
|
|
"drivers/base/regmap/regmap-sdw.ko",
|
|
"drivers/base/regmap/regmap-slimbus.ko",
|
|
"drivers/bus/mhi/host/mhi.ko",
|
|
"drivers/clk/qcom/clk-qcom.ko",
|
|
"drivers/clk/qcom/clk-rpmh.ko",
|
|
"drivers/clk/qcom/clk-spmi-pmic-div.ko",
|
|
"drivers/clk/qcom/dispcc-sdm845.ko",
|
|
"drivers/clk/qcom/dispcc-sm8250.ko",
|
|
"drivers/clk/qcom/gcc-sdm845.ko",
|
|
"drivers/clk/qcom/gcc-sm8250.ko",
|
|
"drivers/clk/qcom/gcc-sm8450.ko",
|
|
"drivers/clk/qcom/gpucc-sdm845.ko",
|
|
"drivers/clk/qcom/gpucc-sm8250.ko",
|
|
"drivers/clk/qcom/lpass-gfm-sm8250.ko",
|
|
"drivers/clk/qcom/videocc-sdm845.ko",
|
|
"drivers/clk/qcom/videocc-sm8250.ko",
|
|
"drivers/cpufreq/qcom-cpufreq-hw.ko",
|
|
"drivers/dma-buf/heaps/system_heap.ko",
|
|
"drivers/dma/qcom/bam_dma.ko",
|
|
"drivers/dma/qcom/gpi.ko",
|
|
"drivers/extcon/extcon-usb-gpio.ko",
|
|
"drivers/firmware/qcom-scm.ko",
|
|
"drivers/gpio/gpio-wcd934x.ko",
|
|
"drivers/gpu/drm/bridge/display-connector.ko",
|
|
"drivers/gpu/drm/bridge/lontium-lt9611.ko",
|
|
"drivers/gpu/drm/bridge/lontium-lt9611uxc.ko",
|
|
"drivers/gpu/drm/display/drm_display_helper.ko",
|
|
"drivers/gpu/drm/display/drm_dp_aux_bus.ko",
|
|
"drivers/gpu/drm/msm/msm.ko",
|
|
"drivers/gpu/drm/scheduler/gpu-sched.ko",
|
|
"drivers/hwspinlock/qcom_hwspinlock.ko",
|
|
"drivers/i2c/busses/i2c-designware-core.ko",
|
|
"drivers/i2c/busses/i2c-designware-platform.ko",
|
|
"drivers/i2c/busses/i2c-qcom-geni.ko",
|
|
"drivers/i2c/busses/i2c-qup.ko",
|
|
"drivers/i2c/busses/i2c-rk3x.ko",
|
|
"drivers/i2c/i2c-dev.ko",
|
|
"drivers/i2c/i2c-mux.ko",
|
|
"drivers/i2c/muxes/i2c-mux-pca954x.ko",
|
|
"drivers/iio/adc/qcom-spmi-adc5.ko",
|
|
"drivers/iio/adc/qcom-vadc-common.ko",
|
|
"drivers/input/misc/pm8941-pwrkey.ko",
|
|
"drivers/interconnect/qcom/icc-bcm-voter.ko",
|
|
"drivers/interconnect/qcom/icc-osm-l3.ko",
|
|
"drivers/interconnect/qcom/icc-rpmh.ko",
|
|
"drivers/interconnect/qcom/qnoc-sdm845.ko",
|
|
"drivers/interconnect/qcom/qnoc-sm8250.ko",
|
|
"drivers/interconnect/qcom/qnoc-sm8450.ko",
|
|
"drivers/iommu/arm/arm-smmu/arm_smmu.ko",
|
|
"drivers/irqchip/qcom-pdc.ko",
|
|
"drivers/leds/rgb/leds-qcom-lpg.ko",
|
|
"drivers/mailbox/qcom-apcs-ipc-mailbox.ko",
|
|
"drivers/mailbox/qcom-ipcc.ko",
|
|
"drivers/media/platform/qcom/venus/venus-core.ko",
|
|
"drivers/media/platform/qcom/venus/venus-dec.ko",
|
|
"drivers/media/platform/qcom/venus/venus-enc.ko",
|
|
"drivers/mfd/qcom-spmi-pmic.ko",
|
|
"drivers/mfd/wcd934x.ko",
|
|
"drivers/misc/fastrpc.ko",
|
|
"drivers/mmc/host/cqhci.ko",
|
|
"drivers/mmc/host/sdhci-msm.ko",
|
|
"drivers/net/can/spi/mcp251xfd/mcp251xfd.ko",
|
|
"drivers/net/wireless/ath/ath.ko",
|
|
"drivers/net/wireless/ath/ath10k/ath10k_core.ko",
|
|
"drivers/net/wireless/ath/ath10k/ath10k_pci.ko",
|
|
"drivers/net/wireless/ath/ath10k/ath10k_snoc.ko",
|
|
"drivers/net/wireless/ath/ath11k/ath11k.ko",
|
|
"drivers/net/wireless/ath/ath11k/ath11k_ahb.ko",
|
|
"drivers/net/wireless/ath/ath11k/ath11k_pci.ko",
|
|
"drivers/nvmem/nvmem_qfprom.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qmp-combo.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qmp-pcie.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qmp-ufs.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qmp-usb.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-qusb2.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-snps-femto-v2.ko",
|
|
"drivers/phy/qualcomm/phy-qcom-usb-hs.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-lpass-lpi.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-msm.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-sdm845.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-sm8250.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-sm8250-lpass-lpi.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-sm8450.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-spmi-gpio.ko",
|
|
"drivers/pinctrl/qcom/pinctrl-spmi-mpp.ko",
|
|
"drivers/power/reset/qcom-pon.ko",
|
|
"drivers/power/reset/reboot-mode.ko",
|
|
"drivers/power/reset/syscon-reboot-mode.ko",
|
|
"drivers/regulator/gpio-regulator.ko",
|
|
"drivers/regulator/qcom-rpmh-regulator.ko",
|
|
"drivers/regulator/qcom_spmi-regulator.ko",
|
|
"drivers/regulator/qcom_usb_vbus-regulator.ko",
|
|
"drivers/remoteproc/qcom_common.ko",
|
|
"drivers/remoteproc/qcom_pil_info.ko",
|
|
"drivers/remoteproc/qcom_q6v5.ko",
|
|
"drivers/remoteproc/qcom_q6v5_adsp.ko",
|
|
"drivers/remoteproc/qcom_q6v5_mss.ko",
|
|
"drivers/remoteproc/qcom_q6v5_pas.ko",
|
|
"drivers/remoteproc/qcom_q6v5_wcss.ko",
|
|
"drivers/remoteproc/qcom_sysmon.ko",
|
|
"drivers/reset/reset-qcom-aoss.ko",
|
|
"drivers/reset/reset-qcom-pdc.ko",
|
|
"drivers/rpmsg/qcom_glink.ko",
|
|
"drivers/rpmsg/qcom_glink_rpm.ko",
|
|
"drivers/rpmsg/qcom_glink_smem.ko",
|
|
"drivers/rpmsg/qcom_smd.ko",
|
|
"drivers/rpmsg/rpmsg_ns.ko",
|
|
"drivers/rtc/rtc-pm8xxx.ko",
|
|
"drivers/slimbus/slim-qcom-ngd-ctrl.ko",
|
|
"drivers/slimbus/slimbus.ko",
|
|
"drivers/soc/qcom/apr.ko",
|
|
"drivers/soc/qcom/cmd-db.ko",
|
|
"drivers/soc/qcom/cpr.ko",
|
|
"drivers/soc/qcom/llcc-qcom.ko",
|
|
"drivers/soc/qcom/mdt_loader.ko",
|
|
"drivers/soc/qcom/pdr_interface.ko",
|
|
"drivers/soc/qcom/qcom_aoss.ko",
|
|
"drivers/soc/qcom/qcom_rpmh.ko",
|
|
"drivers/soc/qcom/qmi_helpers.ko",
|
|
"drivers/soc/qcom/rmtfs_mem.ko",
|
|
"drivers/soc/qcom/rpmhpd.ko",
|
|
"drivers/soc/qcom/smem.ko",
|
|
"drivers/soc/qcom/smp2p.ko",
|
|
"drivers/soc/qcom/smsm.ko",
|
|
"drivers/soc/qcom/socinfo.ko",
|
|
"drivers/soc/qcom/spm.ko",
|
|
"drivers/soundwire/soundwire-bus.ko",
|
|
"drivers/soundwire/soundwire-qcom.ko",
|
|
"drivers/spi/spi-geni-qcom.ko",
|
|
"drivers/spi/spi-pl022.ko",
|
|
"drivers/spi/spi-qcom-qspi.ko",
|
|
"drivers/spi/spi-qup.ko",
|
|
"drivers/spmi/spmi-pmic-arb.ko",
|
|
"drivers/thermal/qcom/lmh.ko",
|
|
"drivers/thermal/qcom/qcom-spmi-adc-tm5.ko",
|
|
"drivers/thermal/qcom/qcom-spmi-temp-alarm.ko",
|
|
"drivers/thermal/qcom/qcom_tsens.ko",
|
|
"drivers/tty/serial/msm_serial.ko",
|
|
"drivers/ufs/host/ufs_qcom.ko",
|
|
"drivers/usb/common/ulpi.ko",
|
|
"drivers/usb/host/ohci-hcd.ko",
|
|
"drivers/usb/host/ohci-pci.ko",
|
|
"drivers/usb/host/ohci-platform.ko",
|
|
"drivers/usb/typec/qcom-pmic-typec.ko",
|
|
"net/mac80211/mac80211.ko",
|
|
"net/qrtr/qrtr.ko",
|
|
"net/qrtr/qrtr-mhi.ko",
|
|
"net/qrtr/qrtr-smd.ko",
|
|
"net/qrtr/qrtr-tun.ko",
|
|
"net/wireless/cfg80211.ko",
|
|
"sound/soc/codecs/snd-soc-dmic.ko",
|
|
"sound/soc/codecs/snd-soc-hdmi-codec.ko",
|
|
"sound/soc/codecs/snd-soc-lpass-macro-common.ko",
|
|
"sound/soc/codecs/snd-soc-lpass-va-macro.ko",
|
|
"sound/soc/codecs/snd-soc-lpass-wsa-macro.ko",
|
|
"sound/soc/codecs/snd-soc-max98927.ko",
|
|
"sound/soc/codecs/snd-soc-rl6231.ko",
|
|
"sound/soc/codecs/snd-soc-rt5663.ko",
|
|
"sound/soc/codecs/snd-soc-wcd-mbhc.ko",
|
|
"sound/soc/codecs/snd-soc-wcd9335.ko",
|
|
"sound/soc/codecs/snd-soc-wcd934x.ko",
|
|
"sound/soc/codecs/snd-soc-wsa881x.ko",
|
|
"sound/soc/qcom/qdsp6/q6adm.ko",
|
|
"sound/soc/qcom/qdsp6/q6afe.ko",
|
|
"sound/soc/qcom/qdsp6/q6afe-clocks.ko",
|
|
"sound/soc/qcom/qdsp6/q6afe-dai.ko",
|
|
"sound/soc/qcom/qdsp6/q6apm-dai.ko",
|
|
"sound/soc/qcom/qdsp6/q6apm-lpass-dais.ko",
|
|
"sound/soc/qcom/qdsp6/q6asm.ko",
|
|
"sound/soc/qcom/qdsp6/q6asm-dai.ko",
|
|
"sound/soc/qcom/qdsp6/q6core.ko",
|
|
"sound/soc/qcom/qdsp6/q6prm.ko",
|
|
"sound/soc/qcom/qdsp6/q6prm-clocks.ko",
|
|
"sound/soc/qcom/qdsp6/q6routing.ko",
|
|
"sound/soc/qcom/qdsp6/snd-q6apm.ko",
|
|
"sound/soc/qcom/qdsp6/snd-q6dsp-common.ko",
|
|
"sound/soc/qcom/snd-soc-qcom-common.ko",
|
|
"sound/soc/qcom/snd-soc-qcom-sdw.ko",
|
|
"sound/soc/qcom/snd-soc-sdm845.ko",
|
|
"sound/soc/qcom/snd-soc-sm8250.ko",
|
|
]
|
|
|
|
_DB845C_WATCHDOG_MODULE_OUTS = [
|
|
"drivers/watchdog/pm8916_wdt.ko",
|
|
"drivers/watchdog/qcom-wdt.ko",
|
|
]
|
|
|
|
kernel_build(
|
|
name = "db845c_no_kgdb",
|
|
outs = [
|
|
"arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb",
|
|
"arch/arm64/boot/dts/qcom/sdm845-db845c.dtb",
|
|
"arch/arm64/boot/dts/qcom/sm8450-qrd.dtb",
|
|
],
|
|
# Enable mixed build.
|
|
base_kernel = ":kernel_aarch64",
|
|
build_config = "build.config.db845c",
|
|
collect_unstripped_modules = True,
|
|
kmi_symbol_list = "android/abi_gki_aarch64_db845c",
|
|
make_goals = [
|
|
"modules",
|
|
"qcom/sdm845-db845c.dtb",
|
|
"qcom/qrb5165-rb5.dtb",
|
|
"qcom/sm8450-qrd.dtb",
|
|
],
|
|
module_outs = _DB845C_MODULE_OUTS + _DB845C_WATCHDOG_MODULE_OUTS,
|
|
strip_modules = True,
|
|
)
|
|
|
|
load(":consolidate.bzl", "define_consolidate")
|
|
|
|
define_consolidate()
|
|
|
|
load(":msm_platforms.bzl", "define_msm_platforms")
|
|
|
|
define_msm_platforms()
|
|
|
|
kernel_build(
|
|
name = "db845c_with_kgdb",
|
|
outs = [
|
|
"arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb",
|
|
"arch/arm64/boot/dts/qcom/sdm845-db845c.dtb",
|
|
"arch/arm64/boot/dts/qcom/sm8450-qrd.dtb",
|
|
],
|
|
# Enable mixed build.
|
|
base_kernel = ":kernel_aarch64",
|
|
build_config = "build.config.db845c",
|
|
make_goals = [
|
|
"modules",
|
|
"qcom/sdm845-db845c.dtb",
|
|
"qcom/qrb5165-rb5.dtb",
|
|
"qcom/sm8450-qrd.dtb",
|
|
],
|
|
module_outs = _DB845C_MODULE_OUTS,
|
|
strip_modules = True,
|
|
)
|
|
|
|
alias(
|
|
name = "db845c",
|
|
actual = select({
|
|
"//build/kernel/kleaf:kgdb_is_true": "db845c_with_kgdb",
|
|
"//conditions:default": "db845c_no_kgdb",
|
|
}),
|
|
)
|
|
|
|
kernel_abi(
|
|
name = "db845c_abi",
|
|
kernel_build = ":db845c",
|
|
kmi_symbol_list_add_only = True,
|
|
)
|
|
|
|
kernel_modules_install(
|
|
name = "db845c_modules_install",
|
|
kernel_build = ":db845c",
|
|
)
|
|
|
|
merged_kernel_uapi_headers(
|
|
name = "db845c_merged_kernel_uapi_headers",
|
|
kernel_build = ":db845c",
|
|
)
|
|
|
|
kernel_images(
|
|
name = "db845c_images",
|
|
build_initramfs = True,
|
|
kernel_build = ":db845c",
|
|
kernel_modules_install = ":db845c_modules_install",
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "db845c_dist",
|
|
data = [
|
|
":db845c",
|
|
":db845c_images",
|
|
":db845c_modules_install",
|
|
":db845c_merged_kernel_uapi_headers",
|
|
# Mixed build: Additional GKI artifacts.
|
|
":kernel_aarch64",
|
|
":kernel_aarch64_modules",
|
|
":kernel_aarch64_additional_artifacts",
|
|
],
|
|
dist_dir = "out/db845/dist",
|
|
flat = True,
|
|
log = "info",
|
|
)
|
|
|
|
_ROCKPI4_MODULE_OUTS = [
|
|
# keep sorted
|
|
"drivers/block/virtio_blk.ko",
|
|
"drivers/char/hw_random/virtio-rng.ko",
|
|
"drivers/clk/clk-rk808.ko",
|
|
"drivers/cpufreq/cpufreq-dt.ko",
|
|
"drivers/cpufreq/tegra20-cpufreq.ko",
|
|
"drivers/dma/pl330.ko",
|
|
"drivers/gpu/drm/bridge/analogix/analogix_dp.ko",
|
|
"drivers/gpu/drm/bridge/synopsys/dw-hdmi.ko",
|
|
"drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.ko",
|
|
"drivers/gpu/drm/display/drm_display_helper.ko",
|
|
"drivers/gpu/drm/drm_dma_helper.ko",
|
|
"drivers/gpu/drm/rockchip/rockchipdrm.ko",
|
|
"drivers/i2c/busses/i2c-rk3x.ko",
|
|
"drivers/iio/adc/rockchip_saradc.ko",
|
|
"drivers/iio/buffer/industrialio-triggered-buffer.ko",
|
|
"drivers/iio/buffer/kfifo_buf.ko",
|
|
"drivers/mfd/rk808.ko",
|
|
"drivers/mmc/core/pwrseq_simple.ko",
|
|
"drivers/mmc/host/cqhci.ko",
|
|
"drivers/mmc/host/dw_mmc.ko",
|
|
"drivers/mmc/host/dw_mmc-pltfm.ko",
|
|
"drivers/mmc/host/dw_mmc-rockchip.ko",
|
|
"drivers/mmc/host/sdhci-of-arasan.ko",
|
|
"drivers/net/ethernet/stmicro/stmmac/dwmac-rk.ko",
|
|
"drivers/net/ethernet/stmicro/stmmac/stmmac.ko",
|
|
"drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko",
|
|
"drivers/net/net_failover.ko",
|
|
"drivers/net/pcs/pcs_xpcs.ko",
|
|
"drivers/net/virtio_net.ko",
|
|
"drivers/pci/controller/pcie-rockchip-host.ko",
|
|
"drivers/phy/rockchip/phy-rockchip-emmc.ko",
|
|
"drivers/phy/rockchip/phy-rockchip-inno-usb2.ko",
|
|
"drivers/phy/rockchip/phy-rockchip-pcie.ko",
|
|
"drivers/phy/rockchip/phy-rockchip-typec.ko",
|
|
"drivers/pwm/pwm-rockchip.ko",
|
|
"drivers/regulator/fan53555.ko",
|
|
"drivers/regulator/pwm-regulator.ko",
|
|
"drivers/regulator/rk808-regulator.ko",
|
|
"drivers/rtc/rtc-rk808.ko",
|
|
"drivers/soc/rockchip/io-domain.ko",
|
|
"drivers/thermal/rockchip_thermal.ko",
|
|
"drivers/usb/host/ohci-hcd.ko",
|
|
"drivers/usb/host/ohci-platform.ko",
|
|
"drivers/virtio/virtio_pci.ko",
|
|
"drivers/virtio/virtio_pci_legacy_dev.ko",
|
|
"drivers/virtio/virtio_pci_modern_dev.ko",
|
|
"net/core/failover.ko",
|
|
]
|
|
|
|
_ROCKPI4_WATCHDOG_MODULE_OUTS = [
|
|
# keep sorted
|
|
"drivers/watchdog/dw_wdt.ko",
|
|
]
|
|
|
|
# TODO(b/258259749): Convert rockpi4 to mixed build
|
|
kernel_build(
|
|
name = "rockpi4_no_kgdb",
|
|
outs = [
|
|
"Image",
|
|
"System.map",
|
|
"modules.builtin",
|
|
"modules.builtin.modinfo",
|
|
"rk3399-rock-pi-4b.dtb",
|
|
"vmlinux",
|
|
"vmlinux.symvers",
|
|
],
|
|
build_config = "build.config.rockpi4",
|
|
dtstree = "//common-modules/virtual-device:rockpi4_dts",
|
|
make_goals = [
|
|
"Image",
|
|
"modules",
|
|
"rk3399-rock-pi-4b.dtb",
|
|
],
|
|
module_outs = get_gki_modules_list("arm64") + _ROCKPI4_MODULE_OUTS + _ROCKPI4_WATCHDOG_MODULE_OUTS,
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# TODO(b/258259749): Convert rockpi4 to mixed build
|
|
kernel_build(
|
|
name = "rockpi4_with_kgdb",
|
|
outs = [
|
|
"Image",
|
|
"System.map",
|
|
"modules.builtin",
|
|
"modules.builtin.modinfo",
|
|
"rk3399-rock-pi-4b.dtb",
|
|
"vmlinux",
|
|
"vmlinux.symvers",
|
|
],
|
|
build_config = "build.config.rockpi4",
|
|
dtstree = "//common-modules/virtual-device:rockpi4_dts",
|
|
make_goals = [
|
|
"Image",
|
|
"modules",
|
|
"rk3399-rock-pi-4b.dtb",
|
|
],
|
|
module_outs = get_gki_modules_list("arm64") + _ROCKPI4_MODULE_OUTS,
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
alias(
|
|
name = "rockpi4",
|
|
actual = select({
|
|
"//build/kernel/kleaf:kgdb_is_true": "rockpi4_with_kgdb",
|
|
"//conditions:default": "rockpi4_no_kgdb",
|
|
}),
|
|
)
|
|
|
|
kernel_modules_install(
|
|
name = "rockpi4_modules_install",
|
|
kernel_build = ":rockpi4",
|
|
)
|
|
|
|
kernel_images(
|
|
name = "rockpi4_images",
|
|
build_initramfs = True,
|
|
kernel_build = ":rockpi4",
|
|
kernel_modules_install = ":rockpi4_modules_install",
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "rockpi4_dist",
|
|
data = [
|
|
":rockpi4",
|
|
":rockpi4_images",
|
|
":rockpi4_modules_install",
|
|
],
|
|
dist_dir = "out/rockpi4/dist",
|
|
flat = True,
|
|
)
|
|
|
|
kernel_build(
|
|
name = "fips140",
|
|
outs = [],
|
|
base_kernel = ":kernel_aarch64",
|
|
build_config = "build.config.gki.aarch64.fips140",
|
|
kmi_symbol_list = "android/abi_gki_aarch64_fips140",
|
|
module_outs = ["crypto/fips140.ko"],
|
|
)
|
|
|
|
kernel_abi(
|
|
name = "fips140_abi",
|
|
kernel_build = ":fips140",
|
|
kmi_symbol_list_add_only = True,
|
|
)
|
|
|
|
copy_to_dist_dir(
|
|
name = "fips140_dist",
|
|
data = [
|
|
":fips140",
|
|
],
|
|
dist_dir = "out/fips140/dist",
|
|
flat = True,
|
|
)
|
|
|
|
# allmodconfig build tests.
|
|
# These are build tests only, so:
|
|
# - outs are intentionally set to empty to not copy anything to DIST_DIR
|
|
# - --allow-undeclared-modules must be used so modules are not declared or copied.
|
|
# - No dist target because these are build tests. We don't care about the artifacts.
|
|
|
|
# tools/bazel build --allow_undeclared_modules //common:kernel_aarch64_allmodconfig
|
|
kernel_build(
|
|
name = "kernel_aarch64_allmodconfig",
|
|
# Hack to actually check the build.
|
|
# Otherwise, Bazel thinks that there are no output files, and skip building.
|
|
outs = [".config"],
|
|
build_config = "build.config.allmodconfig.aarch64",
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# tools/bazel build --allow_undeclared_modules //common:kernel_x86_64_allmodconfig
|
|
kernel_build(
|
|
name = "kernel_x86_64_allmodconfig",
|
|
# Hack to actually check the build.
|
|
# Otherwise, Bazel thinks that there are no output files, and skip building.
|
|
outs = [".config"],
|
|
arch = "x86_64",
|
|
build_config = "build.config.allmodconfig.x86_64",
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# tools/bazel build --allow_undeclared_modules //common:kernel_arm_allmodconfig
|
|
kernel_build(
|
|
name = "kernel_arm_allmodconfig",
|
|
# Hack to actually check the build.
|
|
# Otherwise, Bazel thinks that there are no output files, and skip building.
|
|
outs = [".config"],
|
|
arch = "arm",
|
|
build_config = "build.config.allmodconfig.arm",
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# DDK Headers
|
|
# All headers. These are the public targets for DDK modules to use.
|
|
alias(
|
|
name = "all_headers",
|
|
actual = "all_headers_aarch64",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_aarch64",
|
|
hdrs = [":all_headers_allowlist_aarch64"] + select({
|
|
"//build/kernel/kleaf:allow_ddk_unsafe_headers_set": [":all_headers_unsafe"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_arm",
|
|
hdrs = [":all_headers_allowlist_arm"] + select({
|
|
"//build/kernel/kleaf:allow_ddk_unsafe_headers_set": [":all_headers_unsafe"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_riscv64",
|
|
hdrs = [":all_headers_allowlist_riscv64"] + select({
|
|
"//build/kernel/kleaf:allow_ddk_unsafe_headers_set": [":all_headers_unsafe"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_x86_64",
|
|
hdrs = [":all_headers_allowlist_x86_64"] + select({
|
|
"//build/kernel/kleaf:allow_ddk_unsafe_headers_set": [":all_headers_unsafe"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
# Implementation details for DDK headers. The targets below cannot be directly
|
|
# depended on by DDK modules.
|
|
|
|
# DDK headers allowlist. This is the list of all headers and include
|
|
# directories that are safe to use in DDK modules.
|
|
ddk_headers(
|
|
name = "all_headers_allowlist_aarch64",
|
|
hdrs = [
|
|
":all_headers_allowlist_aarch64_globs",
|
|
":all_headers_allowlist_common_globs",
|
|
],
|
|
# The list of include directories where source files can #include headers
|
|
# from. In other words, these are the `-I` option to the C compiler.
|
|
# These are prepended to LINUXINCLUDE.
|
|
linux_includes = [
|
|
"arch/arm64/include",
|
|
"arch/arm64/include/uapi",
|
|
"include",
|
|
"include/uapi",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_allowlist_arm",
|
|
hdrs = [
|
|
":all_headers_allowlist_arm_globs",
|
|
":all_headers_allowlist_common_globs",
|
|
],
|
|
# The list of include directories where source files can #include headers
|
|
# from. In other words, these are the `-I` option to the C compiler.
|
|
# These are prepended to LINUXINCLUDE.
|
|
linux_includes = [
|
|
"arch/arm/include",
|
|
"arch/arm/include/uapi",
|
|
"include",
|
|
"include/uapi",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_allowlist_riscv64",
|
|
hdrs = [
|
|
":all_headers_allowlist_common_globs",
|
|
":all_headers_allowlist_riscv64_globs",
|
|
],
|
|
# The list of include directories where source files can #include headers
|
|
# from. In other words, these are the `-I` option to the C compiler.
|
|
# These are prepended to LINUXINCLUDE.
|
|
linux_includes = [
|
|
"arch/riscv/include",
|
|
"arch/riscv/include/uapi",
|
|
"include",
|
|
"include/uapi",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "all_headers_allowlist_x86_64",
|
|
hdrs = [
|
|
":all_headers_allowlist_common_globs",
|
|
":all_headers_allowlist_x86_64_globs",
|
|
],
|
|
# The list of include directories where source files can #include headers
|
|
# from. In other words, these are the `-I` option to the C compiler.
|
|
# These are prepended to LINUXINCLUDE.
|
|
linux_includes = [
|
|
"arch/x86/include",
|
|
"arch/x86/include/uapi",
|
|
"include",
|
|
"include/uapi",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# List of DDK headers allowlist that are glob()-ed to avoid changes of BUILD
|
|
# file when the list of files changes. All headers in these directories
|
|
# are safe to use.
|
|
# These are separate filegroup targets so the all_headers_allowlist_* are
|
|
# more friendly to batch BUILD file update tools like buildozer.
|
|
|
|
# globs() for arm64 only
|
|
filegroup(
|
|
name = "all_headers_allowlist_aarch64_globs",
|
|
srcs = glob(["arch/arm64/include/**/*.h"]),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# globs() for arm only
|
|
filegroup(
|
|
name = "all_headers_allowlist_arm_globs",
|
|
srcs = glob(["arch/arm/include/**/*.h"]),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# globs() for riscv64 only
|
|
filegroup(
|
|
name = "all_headers_allowlist_riscv64_globs",
|
|
srcs = glob(["arch/riscv/include/**/*.h"]),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# globs() for x86 only
|
|
filegroup(
|
|
name = "all_headers_allowlist_x86_64_globs",
|
|
srcs = glob(["arch/x86/include/**/*.h"]),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# globs() for all architectures
|
|
filegroup(
|
|
name = "all_headers_allowlist_common_globs",
|
|
srcs = glob(["include/**/*.h"]),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# DDK headers unsafe list. This is the list of all headers and include
|
|
# directories that may be used during migration from kernel_module's, but
|
|
# should be avoided in general.
|
|
# Use with caution; items may:
|
|
# - be removed without notice
|
|
# - be moved into all_headers
|
|
ddk_headers(
|
|
name = "all_headers_unsafe",
|
|
hdrs = [
|
|
"drivers/devfreq/governor.h",
|
|
"drivers/gpu/drm/virtio/virtgpu_trace.h",
|
|
"mm/slab.h",
|
|
],
|
|
# The list of include directories where source files can #include headers
|
|
# from. In other words, these are the `-I` option to the C compiler.
|
|
# Unsafe include directories are appended to ccflags-y.
|
|
includes = [
|
|
"drivers/devfreq",
|
|
],
|
|
visibility = ["//visibility:private"],
|
|
)
|