GKI (arm64) relevant 35 out of 230 changes, affecting 67 files +612/-427ec9be081c5Revert "mmc: sdhci: Disable SD card clock before changing parameters" [1 file, +2/-7]0698a2eb7dBluetooth: HCI: Set extended advertising data synchronously [2 files, +130/-113]3672fe9d1eBluetooth: hci_sync: revert some mesh modifications [1 file, +4/-12]44bb1e13b4Bluetooth: MGMT: set_mesh: update LE scan interval and window [1 file, +22/-0]a99f80c88aBluetooth: MGMT: mesh_send: check instances prior disabling advertising [1 file, +2/-1]5581e694d3usb: typec: altmodes/displayport: do not index invalid pin_assignments [2 files, +2/-1]b1abc5ab47scsi: sd: Fix VPD page 0xb7 length check [1 file, +1/-1]381c1c1219Bluetooth: Prevent unintended pause by checking if advertising is active [1 file, +4/-0]f0fee863a7nvme: Fix incorrect cdw15 value in passthru error logging [1 file, +1/-1]50c86c0945netfs: Fix i_size updating [2 files, +8/-2]a553afd91fnet/sched: Always pass notifications when child class becomes empty [1 file, +5/-14]d78f79a2c1spinlock: extend guard with spinlock_bh variants [1 file, +13/-0]0cc4721a71sched/fair: Rename h_nr_running into h_nr_queued [5 files, +53/-53]a2562bdd35sched/fair: Fixup wake_up_sync() vs DELAYED_DEQUEUE [1 file, +11/-2]5833026221f2fs: decrease spare area for pinned files for zoned devices [3 files, +5/-2]8912b139a8f2fs: zone: fix to calculate first_zoned_segno correctly [4 files, +69/-20]c5474a7b04bpf: use common instruction history across all states [2 files, +63/-63]4265682c29bpf: Do not include stack ptr register in precision backtracking bookkeeping [2 files, +24/-6]e0fefe9bc0netfs: Fix oops in write-retry from mis-resetting the subreq iterator [1 file, +3/-2]acf9ab15ecselinux: change security_compute_sid to return the ssid or tsid on match [1 file, +11/-5]42c5a4b47drcu: Return early if callback is not specified [1 file, +4/-0]e036efbe58add a string-to-qstr constructor [10 files, +13/-23]f94c422157fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass [3 files, +21/-13]8caccd2eacusb: xhci: Skip xhci_reset in xhci_resume if xhci is being removed [1 file, +4/-1]9f75893189Revert "usb: xhci: Implement xhci_handshake_check_state() helper" [3 files, +3/-30]fbebc2254ausb: xhci: quirk for data loss in ISOC transfers [3 files, +30/-0]195597e0bexhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS [1 file, +2/-1]dbdd2a2320Input: xpad - support Acer NGR 200 Controller [1 file, +2/-0]3b1407caacusb: dwc3: Abort suspend on soft disconnect failure [2 files, +16/-15]7cb8750160usb: acpi: fix device link removal [3 files, +8/-1]c745744a82dma-buf: fix timeout handling in dma_resv_wait_timeout v2 [1 file, +7/-5]ccdc472b4dLogitech C-270 even more broken [1 file, +2/-1]c782f98eefusb: typec: displayport: Fix potential deadlock [1 file, +1/-2]ead91de35dmm/vmalloc: fix data race in show_numa_info() [1 file, +35/-28]4c443046d8mm: userfaultfd: fix race of userfaultfd_move and swap cache [1 file, +31/-2] Changes in 6.12.37 rtc: pcf2127: add missing semicolon after statement rtc: pcf2127: fix SPI command byte for PCF2131 rtc: cmos: use spin_lock_irqsave in cmos_interrupt virtio-net: xsk: rx: fix the frame's length check virtio-net: ensure the received length does not exceed allocated size s390/pci: Fix stale function handles in error handling s390/pci: Do not try re-enabling load/store if device is disabled net: txgbe: request MISC IRQ in ndo_open vsock/vmci: Clear the vmci transport packet properly when initializing it net: libwx: fix the incorrect display of the queue number mmc: sdhci: Add a helper function for dump register in dynamic debug mode Revert "mmc: sdhci: Disable SD card clock before changing parameters" mmc: core: sd: Apply BROKEN_SD_DISCARD quirk earlier Bluetooth: HCI: Set extended advertising data synchronously Bluetooth: hci_sync: revert some mesh modifications Bluetooth: MGMT: set_mesh: update LE scan interval and window Bluetooth: MGMT: mesh_send: check instances prior disabling advertising iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt() usb: typec: altmodes/displayport: do not index invalid pin_assignments mtk-sd: Fix a pagefault in dma_unmap_sg() for not prepared data mtk-sd: Prevent memory corruption from DMA map failure mtk-sd: reset host->mrq on prepare_data() error drm/v3d: Disable interrupts before resetting the GPU firmware: arm_ffa: Fix memory leak by freeing notifier callback node firmware: arm_ffa: Move memory allocation outside the mutex locking firmware: arm_ffa: Replace mutex with rwlock to avoid sleep in atomic context arm64: dts: apple: t8103: Fix PCIe BCM4377 nodename platform/mellanox: mlxbf-tmfifo: fix vring_desc.len assignment RDMA/mlx5: Fix unsafe xarray access in implicit ODP handling RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails. NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu() scsi: sd: Fix VPD page 0xb7 length check scsi: ufs: core: Fix spelling of a sysfs attribute name RDMA/mlx5: Fix HW counters query for non-representor devices RDMA/mlx5: Fix CC counters query for MPV RDMA/mlx5: Fix vport loopback for MPV device platform/mellanox: mlxbf-pmc: Fix duplicate event ID for CACHE_DATA1 platform/mellanox: nvsw-sn2201: Fix bus number in adapter error message Bluetooth: Prevent unintended pause by checking if advertising is active btrfs: fix missing error handling when searching for inode refs during log replay btrfs: fix iteration of extrefs during log replay btrfs: return a btrfs_inode from btrfs_iget_logging() btrfs: return a btrfs_inode from read_one_inode() btrfs: fix invalid inode pointer dereferences during log replay btrfs: fix inode lookup error handling during log replay btrfs: record new subvolume in parent dir earlier to avoid dir logging races btrfs: propagate last_unlink_trans earlier when doing a rmdir btrfs: use btrfs_record_snapshot_destroy() during rmdir ethernet: atl1: Add missing DMA mapping error checks and count errors dpaa2-eth: fix xdp_rxq_info leak drm/exynos: fimd: Guard display clock control with runtime PM calls spi: spi-fsl-dspi: Clear completion counter before initiating transfer drm/i915/selftests: Change mock_request() to return error pointers nvme: Fix incorrect cdw15 value in passthru error logging nvmet: fix memory leak of bio integrity platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks platform/x86: hp-bioscfg: Directly use firmware_attributes_class platform/x86: hp-bioscfg: Fix class device unregistration platform/x86: firmware_attributes_class: Move include linux/device/class.h platform/x86: firmware_attributes_class: Simplify API platform/x86: think-lmi: Directly use firmware_attributes_class platform/x86: think-lmi: Fix class device unregistration platform/x86: dell-sysman: Directly use firmware_attributes_class platform/x86: dell-wmi-sysman: Fix class device unregistration platform/mellanox: mlxreg-lc: Fix logic error in power state check drm/bridge: aux-hpd-bridge: fix assignment of the of_node smb: client: fix warning when reconnecting channel net: usb: lan78xx: fix WARN in __netif_napi_del_locked on disconnect drm/i915/gt: Fix timeline left held on VMA alloc error drm/i915/gsc: mei interrupt top half should be in irq disabled context idpf: return 0 size for RSS key if not supported idpf: convert control queue mutex to a spinlock igc: disable L1.2 PCI-E link substate to avoid performance issue smb: client: set missing retry flag in smb2_writev_callback() smb: client: set missing retry flag in cifs_readv_callback() smb: client: set missing retry flag in cifs_writev_callback() netfs: Fix i_size updating lib: test_objagg: Set error message in check_expect_hints_stats() amd-xgbe: align CL37 AN sequence as per databook enic: fix incorrect MTU comparison in enic_change_mtu() rose: fix dangling neighbour pointers in rose_rt_device_down() nui: Fix dma_mapping_error() check net/sched: Always pass notifications when child class becomes empty amd-xgbe: do not double read link status smb: client: fix race condition in negotiate timeout by using more precise timing arm64: dts: rockchip: fix internal USB hub instability on RK3399 Puma crypto: iaa - Remove dst_null support crypto: iaa - Do not clobber req->base.data spinlock: extend guard with spinlock_bh variants crypto: zynqmp-sha - Add locking kunit: qemu_configs: sparc: use Zilog console kunit: qemu_configs: sparc: Explicitly enable CONFIG_SPARC32=y kunit: qemu_configs: Disable faulting tests on 32-bit SPARC gfs2: Initialize gl_no_formal_ino earlier gfs2: Rename GIF_{DEFERRED -> DEFER}_DELETE gfs2: Rename dinode_demise to evict_behavior gfs2: Prevent inode creation race gfs2: Decode missing glock flags in tracepoints gfs2: Add GLF_PENDING_REPLY flag gfs2: Replace GIF_DEFER_DELETE with GLF_DEFER_DELETE gfs2: Move gfs2_dinode_dealloc gfs2: Move GIF_ALLOC_FAILED check out of gfs2_ea_dealloc gfs2: deallocate inodes in gfs2_create_inode btrfs: prepare btrfs_page_mkwrite() for large folios btrfs: fix wrong start offset for delalloc space release during mmap write sched/fair: Rename h_nr_running into h_nr_queued sched/fair: Add new cfs_rq.h_nr_runnable sched/fair: Fixup wake_up_sync() vs DELAYED_DEQUEUE gfs2: Move gfs2_trans_add_databufs gfs2: Don't start unnecessary transactions during log flush ASoC: tas2764: Extend driver to SN012776 ASoC: tas2764: Reinit cache on part reset ACPI: thermal: Fix stale comment regarding trip points ACPI: thermal: Execute _SCP before reading trip points bonding: Mark active offloaded xfrm_states wifi: ath12k: fix skb_ext_desc leak in ath12k_dp_tx() error path wifi: ath12k: Handle error cases during extended skb allocation wifi: ath12k: fix wrong handling of CCMP256 and GCMP ciphers RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup" bug iommu: ipmmu-vmsa: avoid Wformat-security warning f2fs: decrease spare area for pinned files for zoned devices f2fs: zone: introduce first_zoned_segno in f2fs_sb_info f2fs: zone: fix to calculate first_zoned_segno correctly scsi: lpfc: Remove NLP_RELEASE_RPI flag from nodelist structure scsi: lpfc: Change lpfc_nodelist nlp_flag member into a bitmask scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk hisi_acc_vfio_pci: bugfix cache write-back issue hisi_acc_vfio_pci: bugfix the problem of uninstalling driver bpf: use common instruction history across all states bpf: Do not include stack ptr register in precision backtracking bookkeeping arm64: dts: qcom: sm8650: change labels to lower-case arm64: dts: qcom: sm8650: Fix domain-idle-state for CPU2 arm64: dts: renesas: Use interrupts-extended for Ethernet PHYs arm64: dts: renesas: Factor out White Hawk Single board support arm64: dts: renesas: white-hawk-single: Improve Ethernet TSN description arm64: dts: qcom: sm8650: add the missing l2 cache node ubsan: integer-overflow: depend on BROKEN to keep this out of CI remoteproc: k3: Call of_node_put(rmem_np) only once in three functions remoteproc: k3-r5: Add devm action to release reserved memory remoteproc: k3-r5: Use devm_kcalloc() helper remoteproc: k3-r5: Use devm_ioremap_wc() helper remoteproc: k3-r5: Use devm_rproc_add() helper remoteproc: k3-r5: Refactor sequential core power up/down operations netfs: Fix oops in write-retry from mis-resetting the subreq iterator mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe() drm/xe: Fix DSB buffer coherency drm/xe: Move DSB l2 flush to a more sensible place drm/xe: add interface to request physical alignment for buffer objects drm/xe: Allow bo mapping on multiple ggtts drm/xe: move DPT l2 flush to a more sensible place drm/xe: Replace double space with single space after comma drm/xe/guc: Dead CT helper drm/xe/guc: Explicitly exit CT safe mode on unwind selinux: change security_compute_sid to return the ssid or tsid on match drm/simpledrm: Do not upcast in release helpers drm/amdgpu: VCN v5_0_1 to prevent FW checking RB during DPG pause drm/i915/dp_mst: Work around Thunderbolt sink disconnect after SINK_COUNT_ESI read drm/amdgpu: add kicker fws loading for gfx11/smu13/psp13 drm/amd/display: Add more checks for DSC / HUBP ONO guarantees arm64: dts: qcom: x1e80100-crd: mark l12b and l15b always-on drm/amdgpu/mes: add missing locking in helper functions sched_ext: Make scx_group_set_weight() always update tg->scx.weight scsi: lpfc: Restore clearing of NLP_UNREG_INP in ndlp->nlp_flag drm/msm: Fix a fence leak in submit error path drm/msm: Fix another leak in the submit error path ALSA: sb: Don't allow changing the DMA mode during operations ALSA: sb: Force to disable DMAs once when DMA mode is changed ata: libata-acpi: Do not assume 40 wire cable if no devices are enabled ata: pata_cs5536: fix build on 32-bit UML ASoC: amd: yc: Add quirk for MSI Bravo 17 D7VF internal mic platform/x86/amd/pmc: Add PCSpecialist Lafite Pro V 14M to 8042 quirks list genirq/irq_sim: Initialize work context pointers properly powerpc: Fix struct termio related ioctl macros ASoC: amd: yc: update quirk data for HP Victus regulator: fan53555: add enable_time support and soft-start times scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() aoe: defer rexmit timer downdev work to workqueue wifi: mac80211: drop invalid source address OCB frames wifi: ath6kl: remove WARN on bad firmware input ACPICA: Refuse to evaluate a method if arguments are missing mtd: spinand: fix memory leak of ECC engine conf rcu: Return early if callback is not specified add a string-to-qstr constructor module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass RDMA/mlx5: Fix cache entry update on dereg error IB/mlx5: Fix potential deadlock in MR deregistration drm/xe/bmg: Update Wa_22019338487 drm/xe: Allow dropping kunit dependency as built-in NFSv4/flexfiles: Fix handling of NFS level errors in I/O usb: xhci: Skip xhci_reset in xhci_resume if xhci is being removed Revert "usb: xhci: Implement xhci_handshake_check_state() helper" usb: xhci: quirk for data loss in ISOC transfers xhci: dbctty: disable ECHO flag by default xhci: dbc: Flush queued requests before stopping dbc xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS Input: xpad - support Acer NGR 200 Controller Input: iqs7222 - explicitly define number of external channels usb: cdnsp: do not disable slot for disabled slot usb: cdnsp: Fix issue with CV Bad Descriptor test usb: dwc3: Abort suspend on soft disconnect failure usb: chipidea: udc: disconnect/reconnect from host when do suspend/resume usb: acpi: fix device link removal smb: client: fix readdir returning wrong type with POSIX extensions cifs: all initializations for tcon should happen in tcon_info_alloc dma-buf: fix timeout handling in dma_resv_wait_timeout v2 i2c/designware: Fix an initialization issue Logitech C-270 even more broken optee: ffa: fix sleep in atomic context iommu/rockchip: prevent iommus dead loop when two masters share one IOMMU powercap: intel_rapl: Do not change CLAMPING bit if ENABLE bit cannot be changed riscv: cpu_ops_sbi: Use static array for boot_data platform/x86: think-lmi: Create ksets consecutively platform/x86: think-lmi: Fix kobject cleanup platform/x86: think-lmi: Fix sysfs group cleanup usb: typec: displayport: Fix potential deadlock powerpc/kernel: Fix ppc_save_regs inclusion in build mm/vmalloc: fix data race in show_numa_info() mm: userfaultfd: fix race of userfaultfd_move and swap cache x86/bugs: Rename MDS machinery to something more generic x86/bugs: Add a Transient Scheduler Attacks mitigation KVM: SVM: Advertise TSA CPUID bits to guests x86/microcode/AMD: Add TSA microcode SHAs x86/process: Move the buffer clearing before MONITOR Linux 6.12.37 Change-Id: If1d8d0f83e11df1540bebaf0fb136fe340f25dcb Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
97 lines
2.7 KiB
C
97 lines
2.7 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _LINUX_EXPORT_H
|
|
#define _LINUX_EXPORT_H
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/stringify.h>
|
|
|
|
/*
|
|
* This comment block is used by fixdep. Please do not remove.
|
|
*
|
|
* When CONFIG_MODVERSIONS is changed from n to y, all source files having
|
|
* EXPORT_SYMBOL variants must be re-compiled because genksyms is run as a
|
|
* side effect of the *.o build rule.
|
|
*/
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#define __EXPORT_SYMBOL_REF(sym) \
|
|
.balign 8 ASM_NL \
|
|
.quad sym
|
|
#else
|
|
#define __EXPORT_SYMBOL_REF(sym) \
|
|
.balign 4 ASM_NL \
|
|
.long sym
|
|
#endif
|
|
|
|
/*
|
|
* LLVM integrated assembler cam merge adjacent string literals (like
|
|
* C and GNU-as) passed to '.ascii', but not to '.asciz' and chokes on:
|
|
*
|
|
* .asciz "MODULE_" "kvm" ;
|
|
*/
|
|
#define ___EXPORT_SYMBOL(sym, license, ns...) \
|
|
.section ".export_symbol","a" ASM_NL \
|
|
__export_symbol_##sym: ASM_NL \
|
|
.asciz license ASM_NL \
|
|
.ascii ns "\0" ASM_NL \
|
|
__EXPORT_SYMBOL_REF(sym) ASM_NL \
|
|
.previous
|
|
|
|
#if defined(__DISABLE_EXPORTS)
|
|
|
|
/*
|
|
* Allow symbol exports to be disabled completely so that C code may
|
|
* be reused in other execution contexts such as the UEFI stub or the
|
|
* decompressor.
|
|
*/
|
|
#define __EXPORT_SYMBOL(sym, license, ns)
|
|
|
|
#elif defined(__GENKSYMS__)
|
|
|
|
#define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym)
|
|
|
|
#elif defined(__ASSEMBLY__)
|
|
|
|
#define __EXPORT_SYMBOL(sym, license, ns) \
|
|
___EXPORT_SYMBOL(sym, license, ns)
|
|
|
|
#else
|
|
|
|
#ifdef CONFIG_GENDWARFKSYMS
|
|
/*
|
|
* With CONFIG_GENDWARFKSYMS, ensure the compiler emits debugging
|
|
* information for all exported symbols, including those defined in
|
|
* different TUs, by adding a __gendwarfksyms_ptr_<symbol> pointer
|
|
* that's discarded during the final link.
|
|
*/
|
|
#define __GENDWARFKSYMS_EXPORT(sym) \
|
|
static typeof(sym) *__gendwarfksyms_ptr_##sym __used \
|
|
__section(".discard.gendwarfksyms") = &sym;
|
|
#else
|
|
#define __GENDWARFKSYMS_EXPORT(sym)
|
|
#endif
|
|
|
|
#define __EXPORT_SYMBOL(sym, license, ns) \
|
|
extern typeof(sym) sym; \
|
|
__ADDRESSABLE(sym) \
|
|
__GENDWARFKSYMS_EXPORT(sym) \
|
|
asm(__stringify(___EXPORT_SYMBOL(sym, license, ns)))
|
|
|
|
#endif
|
|
|
|
#ifdef DEFAULT_SYMBOL_NAMESPACE
|
|
#define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, DEFAULT_SYMBOL_NAMESPACE)
|
|
#else
|
|
#define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, "")
|
|
#endif
|
|
|
|
#define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
|
|
#define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL")
|
|
#define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL(sym, "", __stringify(ns))
|
|
#define EXPORT_SYMBOL_NS_GPL(sym, ns) __EXPORT_SYMBOL(sym, "GPL", __stringify(ns))
|
|
|
|
#define EXPORT_SYMBOL_GPL_FOR_MODULES(sym, mods) __EXPORT_SYMBOL(sym, "GPL", "module:" mods)
|
|
|
|
#endif /* _LINUX_EXPORT_H */
|