Merge tag 'android14-6.1.157_r00' into android14-6.1

This merges the android14-6.1.157_r00 tag into the android14-6.1 branch,
catching it up with the latest LTS releases.

It contains the following commits:

*   ba16fa817645 Merge cc276771a052 ("timers: Silently ignore timers with a NULL function") into android14-6.1-lts
|\
| * cc276771a052 timers: Silently ignore timers with a NULL function
| * 2249b9ec4232 Documentation: Replace del_timer/del_timer_sync()
* | 48ad5b38d397 Merge 519dfb671b5d ("timers: Replace BUG_ON()s") into android14-6.1-lts
|\|
| * 519dfb671b5d timers: Replace BUG_ON()s
| * dab867f1b296 clocksource/drivers/sp804: Do not use timer namespace for timer_shutdown() function
| * 5135c7150732 clocksource/drivers/arm_arch_timer: Do not use timer namespace for timer_shutdown() function
| * 73b5d232b433 ARM: spear: Do not use timer namespace for timer_shutdown() function
| * 9520f03e04c4 Documentation: Remove bogus claim about del_timer_sync()
| * f37de8dec6a4 usb: gadget: f_ncm: Refactor bind path to use __free()
| * 2b1546f7c5fc usb: gadget: f_acm: Refactor bind path to use __free()
| * d3745aaef191 usb: gadget: f_ecm: Refactor bind path to use __free()
| * ef81226bb1f8 usb: gadget: f_rndis: Refactor bind path to use __free()
| * 4f370f38ccdc usb: gadget: Introduce free_usb_request helper
* | 51ee45e6cc8b ANDROID: KABI: fix up abi change in struct usb_request
* | 67f38d846a88 Merge 9a1908273205 ("usb: gadget: Store endpoint pointer in usb_request") into android14-6.1-lts
|\|
| * 9a1908273205 usb: gadget: Store endpoint pointer in usb_request
| * 29d9a51782d1 drm/exynos: exynos7_drm_decon: remove ctx->suspended
| * 667bf66a8969 drm/exynos: exynos7_drm_decon: properly clear channels during bind
| * 5d74bbc3a43c drm/exynos: exynos7_drm_decon: fix uninitialized crtc reference in functions
| * aa8ae566815a drm/rcar-du: dsi: Fix 1/2/3 lane support
| * 857e4357ebf1 cpufreq: CPPC: Avoid using CPUFREQ_ETERNAL as transition delay
| * 19b8fe5f40a0 crypto: rockchip - Fix dma_unmap_sg() nents value
| * 2e696a06561e drm/amd: Check whether secure display TA loaded successfully
| * efbee1cc7c91 drm/amdgpu: use atomic functions with memory barriers for vm fault info
| * cfacc7441f76 cifs: parse_dfs_referrals: prevent oob on malformed input
| * 4f4b9ca73f84 btrfs: do not assert we found block group item when creating free space tree
| * a7745481a4e1 btrfs: fix clearing of BTRFS_FS_RELOC_RUNNING if relocation already running
| * 1437c95ab2a2 ext4: detect invalid INLINE_DATA + EXTENTS flag combination
| * 7616c477ec07 ext4: wait for ongoing I/O to complete before freeing blocks
| * 93ce568d2de7 jbd2: ensure that all ongoing I/O complete before freeing blocks
| * a2ec46aa2d24 r8152: add error handling in rtl8152_driver_init
| * 790282abe9d8 smb: client: Fix refcount leak for cifs_sb_tlink
* | 1fd39c9383c2 Merge 6.1.157 into android14-6.1-lts
|\|
| * 8e6e2188d949 Linux 6.1.157
| * b8291d6d9854 xen/events: Update virq_to_irq on migration
| * db62b1e7b1d3 writeback: Avoid excessively long inode switching times
| * 68be7f610837 writeback: Avoid softlockup when switching many inodes
| * cd572b903a21 cramfs: Verify inode mode when loading from disk
| * 5895d78ee7fa fs: Add 'initramfs_options' to set initramfs mount options
| * e10c36a771c5 pid: Add a judgment for ns null in pid_nr_ns
| * 8a294fbb3c35 minixfs: Verify inode mode when loading from disk
| * 415d512e9027 mptcp: pm: in-kernel: usable client side with C-flag
* | b396bb3a9e84 Merge 93faabb55a37 ("asm-generic/io.h: Skip trace helpers if rwmmio events are disabled") into android14-6.1-lts
|\|
| * 93faabb55a37 asm-generic/io.h: Skip trace helpers if rwmmio events are disabled
| * 0beb2357a7d9 asm-generic/io.h: suppress endianness warnings for relaxed accessors
| * 57edac22ab80 asm-generic/io: Add _RET_IP_ to MMIO trace for more accurate debug info
* | e581e59d41c2 Revert "PCI/AER: Support errors introduced by PCIe r6.0"
* | 621448462707 Merge f734944e12b2 ("selftests/mm: skip soft-dirty tests when CONFIG_MEM_SOFT_DIRTY is disabled") into android14-6.1-lts
|\|
| * f734944e12b2 selftests/mm: skip soft-dirty tests when CONFIG_MEM_SOFT_DIRTY is disabled
| * f4ca54bb9733 ACPI: property: Do not pass NULL handles to acpi_attach_data()
| * feb1d463d734 ACPI: property: Add code comments explaining what is going on
| * 9a15de2a3ae5 ACPI: property: Disregard references in data-only subnode lists
| * 75b52144bcda ipmi: Fix handling of messages with provided receive message pointer
| * f63723ca7d76 ipmi: Rework user message limit handling
| * 5ef5ee7999dc rseq: Protect event mask against membarrier IPI
| * 8dbcf37df393 btrfs: fix the incorrect max_bytes value for find_lock_delalloc_range()
| * a89a4b30a134 mfd: intel_soc_pmic_chtdc_ti: Set use_single_read regmap_config flag
| * 2221d66d3285 mfd: intel_soc_pmic_chtdc_ti: Drop unneeded assignment for cache_type
| * 4c42c69e4211 mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value
| * 6411f840a9b5 PCI: endpoint: pci-epf-test: Add NULL check for DMA channels before release
| * 3477a98c1ab6 PCI: endpoint: Remove surplus return statement from pci_epf_test_clean_dma_chan()
| * 21169f469e6b ksmbd: add max ip connections parameter
| * a6e89ada1ff6 tracing: Fix race condition in kprobe initialization causing NULL pointer dereference
| * 8118f6612489 Squashfs: reject negative file sizes in squashfs_read_inode()
| * 22c6d91aa34d Squashfs: add additional inode sanity checking
| * 8f52c7f38f0f media: mc: Clear minor number before put device
| * ba35a5d77579 KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O
| * cef53f320932 ASoC: wcd934x: fix error handling in wcd934x_codec_parse_data()
| * 82df24ed54a3 ASoC: codecs: wcd934x: Simplify with dev_err_probe
| * c5ee6157d564 lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older
| * 13291e74ba37 ext4: free orphan info with kvfree
| * a92686e03508 ACPICA: Allow to skip Global Lock initialization
| * 3d6269028246 ext4: guard against EA inode refcount underflow in xattr update
| * 8b1ce292262d ext4: correctly handle queries for metadata mappings
| * 30abddfe5da6 ext4: increase i_disksize to offset + len in ext4_update_disksize_before_punch()
| * 566a1d608456 ext4: verify orphan file size is not too big
| * 4716a38d502f nfsd: nfserr_jukebox in nlm_fopen should lead to a retry
| * 958a45b710b0 NFSD: Fix destination buffer size in nfsd4_ssc_setup_dul()
| * 8f1ca1f373c9 mm/hugetlb: early exit from hugetlb_pages_alloc_boot() when max_huge_pages=0
| * 3575087197f0 mm/page_alloc: only set ALLOC_HIGHATOMIC for __GPF_HIGH allocations
| * 67cb933edb7c wifi: ath11k: HAL SRNG: don't deinitialize and re-initialize again
| * ac7a9229d1ff selftests: mptcp: join: validate C-flag + def limit
| * 32e5dbaaa9b7 x86/umip: Fix decoding of register forms of 0F 01 (SGDT and SIDT aliases)
| * efc947f836e2 x86/umip: Check that the instruction opcode is at least two bytes
| * 8fc01985b735 spi: cadence-quadspi: Flush posted register writes before DAC access
| * c1d4f599a79b spi: cadence-quadspi: Flush posted register writes before INDAC access
| * 4e708563de36 PCI: tegra194: Handle errors in BPMP response
| * 1095b3af487f PCI: tegra194: Fix broken tegra_pcie_ep_raise_msi_irq()
| * b2e1a984f2fc PCI: rcar-host: Convert struct rcar_msi mask_lock into raw spinlock
| * bd904d46a51a PCI: rcar-host: Drop PMSR spinlock
| * 25bfff344bdb PCI: keystone: Use devm_request_irq() to free "ks-pcie-error-irq" on exit
| * a4b802f1a605 PCI/AER: Support errors introduced by PCIe r6.0
| * 44271198ed14 PCI/AER: Fix missing uevent on recovery when a reset is requested
| * fbae9327cb04 PCI/ERR: Fix uevent on failure to recover
| * a24219172456 PCI/IOV: Add PCI rescan-remove locking when enabling/disabling SR-IOV
| * 2a0f0dff043a PCI/sysfs: Ensure devices are powered for config reads
| * 9a4f8f6b08d6 PCI: tegra: Convert struct tegra_msi mask_lock into raw spinlock
| * fcd4c9075eca rseq/selftests: Use weak symbol reference, not definition, to link with glibc
| * 562d9af5c25c rtc: interface: Fix long-standing race when setting alarm
| * 545c131a658a rtc: interface: Ensure alarm irq is enabled when UIE is enabled
| * 1ca1d3f733d6 memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe
| * 7bfefdc604d7 mmc: core: SPI mode remove cmd7
| * 83030b9faaef mtd: rawnand: fsmc: Default to autodetect buswidth
| * f40405ccfb87 xtensa: simdisk: add input size check in proc_write_simdisk
| * ccf6af67347d sparc: fix error handling in scan_one_device()
| * d2a7b3e29ff0 sparc64: fix hugetlb for sun4u
| * 9c05d44ec241 sctp: Fix MAC comparison to be constant-time
| * 52f37ce2d523 scsi: hpsa: Fix potential memory leak in hpsa_big_passthru_ioctl()
| * 77a5786c2690 sched/deadline: Fix race in push_dl_task()
| * fd017aabd427 pwm: berlin: Fix wrong register in suspend/resume
| * da285b7e8c31 powerpc/pseries/msi: Fix potential underflow and leak issue
| * 8fc674976f57 powerpc/powernv/pci: Fix underflow and leak issue
| * 07f4a3a9cb69 power: supply: max77976_charger: fix constant current reporting
| * 60cb35d82ea0 nvme-pci: Add TUXEDO IBS Gen8 to Samsung sleep quirk
| * 4536be48e06f parisc: Remove spurious if statement from raw_copy_from_user()
| * d0ef086c786e parisc: don't reference obsolete termio struct for TC* constants
| * 398ea8839ab7 openat2: don't trigger automounts with RESOLVE_NO_XDEV
| * 083f76a7b361 lib/genalloc: fix device leak in of_gen_pool_get()
| * ebd9834f30b8 KEYS: trusted_tpm1: Compare HMAC values in constant time
| * 1bc0d9315ef5 kernel/sys.c: fix the racy usage of task_lock(tsk->group_leader) in sys_prlimit64() paths
| * 05f3c6626a34 iommu/vt-d: PRS isn't usable if PDS isn't supported
| * 2633f79cf29a iio: imu: inv_icm42600: Drop redundant pm_runtime reinitialization in resume
| * 04718ab5db77 init: handle bootloader identifier in kernel parameters
| * 7aaddea4461f iio: xilinx-ams: Unmask interrupts after updating alarms
| * de10ea67c8ff iio: xilinx-ams: Fix AMS_ALARM_THR_DIRECT_MASK
| * 6f69d48954e9 iio: frequency: adf4350: Fix prescaler usage.
| * 906bb4f98d3a iio: dac: ad5421: use int type to store negative error codes
| * b2cbd3b2ccd8 iio: dac: ad5360: use int type to store negative error codes
| * 3fb19f01e527 fs/ntfs3: Fix a resource leak bug in wnd_extend()
| * 668dd2209505 crypto: atmel - Fix dma_unmap_sg() direction
| * e327b96c8379 crypto: aspeed - Fix dma_unmap_sg() direction
| * 0a58d3e77b22 cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request()
| * 7204b0f8f665 copy_sighand: Handle architectures where sizeof(unsigned long) < sizeof(u64)
| * c51027fde610 bus: mhi: host: Do not use uninitialized 'dev' pointer in mhi_init_irq_setup()
| * d91f66261336 btrfs: avoid potential out-of-bounds in btrfs_encode_fh()
| * c13841797938 blk-crypto: fix missing blktrace bio split events
| * 2df84a62c4f7 drm/nouveau: fix bad ret code in nouveau_bo_move_prep
| * 5dfb293a1ab7 media: lirc: Fix error handling in lirc_register()
| * e393a23e965b media: pci: ivtv: Add missing check after DMA map
| * a309014f1b1e media: mc: Fix MUST_CONNECT handling for pads with no links
| * 07e73f7db999 media: i2c: mt9v111: fix incorrect type for ret
| * 49f672efd828 media: cx18: Add missing check after DMA map
* | 0c5c6d4624c8 Merge 796594990b3c ("firmware: meson_sm: fix device leak at probe") into android14-6.1-lts
|\|
| * 796594990b3c firmware: meson_sm: fix device leak at probe
| * 8c0c3e1bb859 xen/manage: Fix suspend error path
| * 1e14e39cfc0a xen/events: Cleanup find_virq() return codes
| * 0e46a2c79313 dt-bindings: phy: rockchip-inno-csi-dphy: make power-domains non-required
| * dbeeee44a391 cpuidle: governors: menu: Avoid using invalid recent intervals data
| * 1a35536459b3 ARM: OMAP2+: pm33xx-core: ix device node reference leaks in amx3_idle_init
| * 569e08cecc97 arm64: dts: ti: k3-am62a-main: Fix main padcfg length
| * 3b94ab63fd0e arm64: dts: qcom: sdm845: Fix slimbam num-channels/ees
| * c862a8f014a1 arm64: dts: qcom: msm8916: Add missing MDSS reset
| * 234d0f84d259 ACPI: debug: fix signedness issues in read/write helpers
| * cf4375a4a9c6 ACPI: TAD: Add missing sysfs_remove_group() for ACPI_TAD_RT
| * 976b3bbdea3a ACPI: property: Fix buffer properties extraction for subnodes
| * 743a620c6619 bpf: Avoid RCU context warning when unpinning htab with internal structs
| * c77c92403781 gpio: wcd934x: mark the GPIO controller as sleeping
| * bce16a4257ff gpio: wcd934x: Remove duplicate assignment of of_gpio_n_cells
| * 441ab7ad7548 tpm_tis: Fix incorrect arguments in tpm_tis_probe_irq_single
| * 248ff2797ff5 crypto: essiv - Check ssize for decryption and in-place encryption
| * 7043c73a6429 bridge: br_vlan_fill_forward_path_pvid: use br_vlan_group_rcu()
| * 8f99b7586918 drm/amd/display: Properly disable scaling on DCE6
| * ffb11feb89ab drm/amd/display: Properly clear SCL_*_FILTER_CONTROL on DCE6
| * 040db9f5e7c7 drm/amd/display: Add missing DCE6 SCL_HORZ_FILTER_INIT* SRIs
| * cac8204403db drm/amdgpu: Add additional DCE6 SCL registers
| * 2e67c2037382 bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}
| * 429eaced61cf mailbox: zynqmp-ipi: Remove dev.parent check in zynqmp_ipi_free_mboxes
| * 2e75e32721bb mailbox: zynqmp-ipi: Remove redundant mbox_controller_unregister() call
| * 6263c38c0d6f tools build: Align warning options with perf
| * 95c25d7a419d net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe
| * 643a94b0cf76 tcp: Don't call reqsk_fastopen_remove() in tcp_conn_request().
| * 025419f4e216 net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
| * 8ae6247dc66d drm/vmwgfx: Fix copy-paste typo in validation
| * 9a8eaca53970 drm/vmwgfx: Fix Use-after-free in validation
| * f0b8a49cc5eb net/mlx4: prevent potential use after free in mlx4_en_do_uc_filter()
| * b322287100ff LoongArch: Init acpi_gbl_use_global_lock to false
| * affdc8880b3c LoongArch: Remove CONFIG_ACPI_TABLE_UPGRADE in platform_init()
| * c2c35cb2a318 scsi: mvsas: Fix use-after-free bugs in mvs_work_queue
| * c56fecded1b0 scsi: mvsas: Use sas_task_find_rq() for tagging
| * 663384f5226e scsi: mvsas: Delete mvs_tag_init()
| * 5b4d15d64554 scsi: libsas: Add sas_task_find_rq()
| * d2491289051a cpufreq: tegra186: Set target frequency for all cpus in policy
| * 635c125cdccc clk: tegra: do not overallocate memory for bpmp clocks
| * 5cb1c7600e33 clk: nxp: Fix pll0 rate check condition in LPC18xx CGU driver
| * fcc494ce4346 clk: nxp: lpc18xx-cgu: convert from round_rate() to determine_rate()
| * 34c7e1d11bb1 clk: mediatek: clk-mux: Do not pass flags to clk_mux_determine_rate_flags()
| * 4b105cf2a13b clk: mediatek: mt8195-infra_ao: Fix parent for infra_ao_hdmi_26m
| * 2c15e7ba53ca perf test: Don't leak workload gopipe in PERF_RECORD_*
| * ed4e7d84edef perf session: Fix handling when buffer exceeds 2 GiB
| * 1459df541565 perf arm_spe: Correct memory level for remote access
| * b4d8cd590eaa perf arm-spe: Rename the common data source encoding
| * d709eef7796f perf arm-spe: Refactor arm-spe to support operation packet type
| * 2c0225936494 perf arm_spe: Correct setting remote access
| * 28dbbaf9ccfa rtc: optee: fix memory leak on driver removal
| * 03f967f94437 rtc: x1205: Fix Xicor X1205 vendor prefix
| * fadf0c073d97 perf util: Fix compression checks returning -1 as bool
| * 69fd55ae1294 clk: at91: peripheral: fix return value
| * 8926dae1ebce libperf event: Ensure tracing data is multiple of 8 sized
| * 7011bf1c967a perf evsel: Avoid container_of on a NULL leader
| * 5b0057459cdc media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()
| * 2abfe0d32ba2 iio: frequency: adf4350: Fix ADF4350_REG3_12BIT_CLKDIV_MODE
| * d5a6942762e7 clocksource/drivers/clps711x: Fix resource leaks in error paths
| * 7c1d0181211c fscontext: do not consume log entries when returning -EMSGSIZE
| * fd85fc063251 fs: always return zero on success from replace_fd()
* | 4954e05b2516 Merge 6.1.156 into android14-6.1-lts
|\|
| * c2fda4b3f577 Linux 6.1.156
| * 01ffce6960ee usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call
| * 9548742358d2 usb: typec: tipd: Clear interrupts first
| * 3e96cd27ff1a net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock
| * e60d55692e6c bus: fsl-mc: Check return value of platform_get_resource()
| * ba7f7c2b2b32 pinctrl: check the return value of pinmux_ops::get_function_name()
| * 933b87c4590b Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak
| * 4e04f4444833 Input: atmel_mxt_ts - allow reset GPIO to sleep
| * 0b70ec82b309 misc: fastrpc: Skip reference for DMA handles
| * a085658264d0 misc: fastrpc: fix possible map leak in fastrpc_put_args
| * ec5cb80503bb misc: fastrpc: Fix fastrpc_map_lookup operation
| * bc8b56317ff8 nvdimm: ndtest: Return -ENOMEM if devm_kcalloc() fails in ndtest_probe()
| * 957faf9582f9 mm: hugetlb: avoid soft lockup when mprotect to large memory area
| * a7849c591bd8 ext4: fix checks for orphan inodes
| * a71c0924c3d5 ksmbd: fix error code overwriting in smb2_get_info_filesystem()
| * a802901b75e1 dm: fix NULL pointer dereference in __dm_suspend()
| * 0d951a59037c dm: fix queue start/stop imbalance under suspend/load/resume races
| * 035a5b22d0f3 mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data()
| * bfdda0123dde net: nfc: nci: Add parameter validation for packet data
| * 918649364fbc fs: udf: fix OOB read in lengthAllocDescs handling
| * 01ce972e6f99 uio_hv_generic: Let userspace take care of interrupt mask
| * 81a2bca52d43 Squashfs: fix uninit-value in squashfs_get_parent
| * db042925a5ab vhost: vringh: Modify the return value check
| * f8648cb41842 Revert "net/mlx5e: Update and set Xon/Xoff upon MTU set"
| * 4c5f10d61e7a net/mlx5: fw reset, add reset timeout work
| * 84b84b0896e8 net/mlx5: pagealloc: Fix reclaim race during command interface teardown
| * ca117b13d0f6 net/mlx5: Stop polling for command response if interface goes down
| * 9d49e4b14609 net: dlink: handle copy_thresh allocation failure
| * 4d7fac287288 net: ena: return 0 in ena_get_rxfh_key_size() when RSS hash key is not configurable
| * 91efa3b1b276 nfp: fix RSS hash key size when RSS is not supported
| * c893b0112070 mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands
| * 634595646610 drivers/base/node: fix double free in register_one_node()
| * bfe011297ddd ocfs2: fix double free in user_cluster_connect()
| * eec7e0e19c1f hwrng: ks-sa - fix division by zero in ks_sa_rng_init
| * 6ad16d305041 Bluetooth: hci_sync: Fix using random address for BIG/PA advertisements
| * 76aaa5c63676 Bluetooth: ISO: don't leak skb in ISO_CONT RX
| * eba6d787ec11 Bluetooth: ISO: Fix possible UAF on iso_conn_free
| * 78e53e0d0c0a Bluetooth: MGMT: Fix not exposing debug UUID on MGMT_OP_READ_EXP_FEATURES_INFO
| * bd71e7e0a612 vhost: vringh: Fix copy_to_iter return value check
| * 114e05344763 net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast
| * c52acc04c800 RDMA/siw: Always report immediate post SQ errors
| * f71f5eea5130 usb: vhci-hcd: Prevent suspending virtually attached devices
| * fa153fb40c61 scsi: mpt3sas: Fix crash in transport port remove by using ioc_info()
| * 53717f8a4347 ipvs: Defer ip_vs_ftp unregister during netns cleanup
| * c9c9458fbdb7 NFSv4.1: fix backchannel max_resp_sz verification check
| * fe53a726d5ed coresight: trbe: Return NULL pointer for allocation failures
| * 9e3af3137501 coresight-etm4x: Conditionally access register TRCEXTINSELR
| * 3d9a05a8b66b remoteproc: qcom: q6v5: Avoid disabling handover IRQ twice
| * 2f7357b15d0a PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert()
| * 695f23561fd0 wifi: rtw89: avoid circular locking dependency in ser_state_run()
| * a7836260d512 crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs
| * 3a5c5d904ebd sparc: fix accurate exception reporting in copy_{from,to}_user for M7
| * f4ca41f739ae sparc: fix accurate exception reporting in copy_to_user for Niagara 4
| * a365ee556e45 sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara
| * 91eda032eb16 sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III
| * 9b137f277cc3 sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC
| * 2e955f087334 wifi: mac80211: fix Rx packet handling when pubsta information is not available
| * aba596b2b6fc wifi: ath10k: avoid unnecessary wait for service ready message
| * 938ed0a174a0 Documentation: trace: historgram-design: Separate sched_waking histogram section heading and the following diagram
| * 976da9f2d242 IB/sa: Fix sa_local_svc_timeout_ms read race
| * 4703174764ab RDMA/core: Resolve MAC of next-hop device without ARP support
* | 5744d1b1cfe0 Merge 05639cb84e3c ("Revert "usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running"") into android14-6.1-lts
|\|
| * 05639cb84e3c Revert "usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running"
* | 60c21e6d76f8 Merge 0a6b2ed51a1c ("f2fs: fix zero-sized extent for precache extents") into android14-6.1-lts
|\|
| * 0a6b2ed51a1c f2fs: fix zero-sized extent for precache extents
| * eb4cb458fa61 scsi: qla2xxx: Fix incorrect sign of error code in START_SP_W_RETRIES()
| * 4284a328d965 scsi: qla2xxx: edif: Fix incorrect sign of error code
| * b52aebeb5f7f ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message
| * d04c370c7eca wifi: mt76: fix potential memory leak in mt76_wmac_probe()
| * 3777506e294c RDMA/cm: Rate limit destroy CM ID timeout error message
| * a4ca1815e374 drivers/base/node: handle error properly in register_one_node()
| * 5dbee425acc1 watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog
| * 78b39e6ec0c7 netfilter: ipset: Remove unused htable_bits in macro ahash_region
| * 8bcc2be42292 iio: consumers: Fix offset handling in iio_convert_raw_to_processed()
| * 3ac37e100385 fs: ntfs3: Fix integer overflow in run_unpack()
| * 3f52c78b91d8 drm/msm/dpu: fix incorrect type for ret
| * 2204e582b4ee ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
| * f58fca15f3bf ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping
| * e65598b3cfe1 ASoC: Intel: bytcht_es8316: Fix invalid quirk input mapping
| * 4cbd7450a22c pps: fix warning in pps_register_cdev when register device fail
* | b809e08631e0 Merge android14-6.1 into android14-6.1-lts
* | 67d6b817076d Merge 015571c64ec2 ("misc: genwqe: Fix incorrect cmd field being reported in error") into android14-6.1-lts
|\|
| * 015571c64ec2 misc: genwqe: Fix incorrect cmd field being reported in error
| * 3cda7919d5cb usb: gadget: configfs: Correctly set use_os_string at bind
| * 76e27075d71b usb: phy: twl6030: Fix incorrect type for ret
| * ac9f0bc2f1ea drm/amdkfd: Fix error code sign for EINVAL in svm_ioctl()
| * d9454612049e tcp: fix __tcp_close() to only send RST when required
| * 352f0a4c0d06 PCI: tegra: Fix devm_kcalloc() argument order for port->phys allocation
| * 8edbe1eecf2f wifi: mwifiex: send world regulatory domain to driver
| * 0b737c5edceb drm/amd/pm: Disable SCLK switching on Oland with high pixel clocks (v3)
| * 666f490728be drm/amd/pm: Disable MCLK switching with non-DC at 120 Hz+ (v2)
| * 882435e24c64 drm/amd/pm: Treat zero vblank time as too short in si_dpm (v3)
| * 1ebcf6f1e548 drm/amd/pm: Adjust si_upload_smc_data register programming (v3)
| * 82963fb4eca9 drm/amd/pm: Fix si_upload_smc_data (v3)
| * 85324b1f5f70 drm/amd/pm: Disable ULV even if unsupported (v3)
| * a83ab39db238 drm/amdgpu: Power up UVD 3 for FW validation (v2)
| * 9e12adcc8ffa crypto: hisilicon - re-enable address prefetch after device resuming
| * 9068f3114f82 crypto: hisilicon/zip - remove unnecessary validation for high-performance mode configurations
| * c7fec6c87a8d media: st-delta: avoid excessive stack usage
| * a0c5aa7b48bc ALSA: lx_core: use int type to store negative error codes
| * d53f2caab283 media: rj54n1cb0c: Fix memleak in rj54n1_probe()
| * e8a1d90b5d74 scsi: myrs: Fix dma_alloc_coherent() error check
| * 9c671d4dbfbf scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod
| * 814588f8126e hwrng: nomadik - add ARM_AMBA dependency
| * 780e21085025 drm/amd/display: Remove redundant semicolons
| * d40f6daa6a77 serial: max310x: Add error checking in probe()
| * 3723c3dda1cc usb: host: max3421-hcd: Fix error pointer dereference in probe cleanup
| * 42861028863a drm/radeon/r600_cs: clean up of dead code in r600_cs
| * df452ea24ba7 drm/panel: novatek-nt35560: Fix invalid return value
* | b80ffbb92791 Merge a99de19128ae ("bpf: Enforce expected_attach_type for tailcall compatibility") into android14-6.1-lts
|\|
| * a99de19128ae bpf: Enforce expected_attach_type for tailcall compatibility
* | c048efaf8f4a ANDROID: GKI: fix up build break where timer_delete_sync() was used
* | 3ae14d9d30cb Merge 77ce71aaa02c ("i2c: designware: Add disabling clocks when probe fails") into android14-6.1-lts
|/
* 77ce71aaa02c i2c: designware: Add disabling clocks when probe fails
* 07f952d5d2fb i2c: mediatek: fix potential incorrect use of I2C_MASTER_WRRD
* e8de297fa417 thermal/drivers/qcom/lmh: Add missing IRQ includes
* f9d75abce954 thermal/drivers/qcom: Make LMH select QCOM_SCM
* 61af67e0a252 hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems
* 5c3dcf916456 tools/nolibc: make time_t robust if __kernel_old_time_t is missing in host headers
* a10d9fe674c5 smp: Fix up and expand the smp_call_function_many() kerneldoc
* 4f00858cd9bb bpf: Explicitly check accesses to bpf_sock_addr
* b5eff5c61caa selftests: watchdog: skip ping loop if WDIOF_KEEPALIVEPING not supported
* cdf200e49dd3 i3c: master: svc: Recycle unused IBI slot
* 092b69fec2a5 i3c: master: svc: Use manual response for IBI events
* a28112cc5501 nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
* 0c13b417fe58 pwm: tiehrpwm: Fix corner case in clock divisor calculation
* b12bec995024 arm64: dts: mediatek: mt8516-pumpkin: Fix machine compatible
* a969261609ab cpuidle: qcom-spm: fix device and OF node leaks at probe
* f3dc08ddf0f6 firmware: firmware: meson-sm: fix compile-test default
* c365e8f20f42 nbd: restrict sockets to TCP and UDP
* 7a6e06c145b0 null_blk: Fix the description of the cache_size module argument
* cb8965c9efbb pinctrl: renesas: Use int type to store negative error codes
* eea4ae6650c0 power: supply: cw2015: Fix a alignment coding style issue
* 9cc23e221f39 PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()
* 3d4195c16245 PM: sleep: core: Clear power.must_resume in noirq suspend error path
* 88a6b98488db block: use int to store blk_stack_limits() return value
* cf889f57cf10 regulator: scmi: Use int type to store negative error codes
* 6094b4fd6375 ARM: at91: pm: fix MCKx restore routine
* 6e7dadc5763c blk-mq: check kobject state_in_sysfs before deleting in blk_mq_unregister_hctx
* 7025ba0bddd5 pinctrl: meson-gxl: add missing i2c_d pinmux
* 2f2738fe274b soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS
* 8e6846e8208c ACPI: processor: idle: Fix memory leak when register cpuidle device failed
* f8c219382234 cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus()
* 04cc6744e07f libbpf: Fix reuse of DEVMAP
* 1d7c0e3e2153 bpf: Remove migrate_disable in kprobe_multi_link_prog_run
* a95f5f187cb1 bpf/selftests: Fix test_tcpnotify_user
* 2398493b59ae regmap: Remove superfluous check for !config in __regmap_init()
* 5d1935e8fc9d arm64: dts: renesas: rzg2lc-smarc: Disable CAN-FD channel0
* 757a9e78a1c5 x86/vdso: Fix output operand size of RDPID
* fa2ec53a9c23 smb: server: fix IRD/ORD negotiation with the client
* 7500384d3c95 perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
* e7143a65f6d1 coresight: trbe: Prevent overflow in PERF_IDX2OFF()
* 583f690401d6 selftests: arm64: Check fread return value in exec_target
* 26243ef29a9f seccomp: Fix a race with WAIT_KILLABLE_RECV if the tracer replies too fast
* 258acc8c6a5c init: INITRAMFS_PRESERVE_MTIME should depend on BLK_DEV_INITRD
* 97dd59100107 filelock: add FL_RECLAIM to show_fl_flags() macro
* 0e0097005abc net/9p: fix double req put in p9_fd_cancelled
* 17acbcd44fe8 crypto: rng - Ensure set_ent is always present
* 040a5685e13c driver core/PM: Set power.no_callbacks along with power.no_pm
* 0a6415cd6883 staging: axis-fifo: flush RX FIFO on read errors
* 6bee010fbce4 staging: axis-fifo: fix TX handling on copy_from_user() failure
* db0c843cb5a5 staging: axis-fifo: fix maximum TX packet length check
* a97547d7e485 serial: stm32: allow selecting console when the driver is module
* a4f3a206e57e hid: fix I2C read buffer overflow in raw_event() for mcp2221
* c6a3c6693f14 can: rcar_canfd: Fix controller mode setting
* d1fc4c041459 can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled
* c1a6e988e555 btrfs: ref-verify: handle damaged extent root tree
* 0fae471847ce ASoC: rt5682s: Adjust SAR ADC button mode to fix noise issue
* 24a08a87291e perf subcmd: avoid crash in exclude_cmds when excludes is empty
* 9eb265e5aaa2 dm-integrity: limit MAX_TAG_SIZE to 255
* 49bc40a55983 wifi: rtlwifi: rtl8192cu: Don't claim USB ID 07b8:8188
* 308878eee021 USB: serial: option: add SIMCom 8230C compositions
* e118423ddd3a minmax.h: remove some #defines that are only expanded once
* 660175911fcb minmax.h: simplify the variants of clamp()
* 3c9a909c3e72 minmax.h: move all the clamp() definitions after the min/max() ones
* 1519fbc8832b minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()
* 5a5ef438faf1 minmax.h: reduce the #define expansion of min(), max() and clamp()
* f24487a96112 minmax.h: update some comments
* 5bdbae1e5c2b minmax.h: add whitespace around operators and after commas
* 187128d9c8ae minmax: fix up min3() and max3() too
* b9afebe5b289 minmax: improve macro expansion and type checking
* 6b2c131f44c0 minmax: simplify min()/max()/clamp() implementation
* 9f6349350e43 minmax: don't use max() in situations that want a C constant expression
* 3d17701c1565 media: i2c: tc358743: Fix use-after-free bugs caused by orphan timer in probe
* df0303b48395 media: tuner: xc5000: Fix use-after-free in xc5000_release
* b27e1d72ee8e media: tunner: xc5000: Refactor firmware load
* 1e5901abee6e KVM: arm64: Fix softirq masking in FPSIMD register saving sequence
* 9c1ad4192f3d ASoC: qcom: audioreach: fix potential null pointer dereference
* 71096a6161a2 media: rc: fix races with imon_disconnect()
* d502df8a716d media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove
* e73fe0eefac3 scsi: target: target_core_configfs: Add length check to avoid buffer overflow
* 89d26b9d32ff gcc-plugins: Remove TODO_verify_il for GCC >= 16
* 1235bad7001f selftests: mptcp: connect: fix build regression caused by backport
* c68840ffddc2 crypto: sha256 - fix crash at kexec

Change-Id: Ibe7dc2b841905667f47fd550ddb0141321bf17fc
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/Documentation/ABI/testing/sysfs-module b/Documentation/ABI/testing/sysfs-module
index 62addab..3972c4b 100644
--- a/Documentation/ABI/testing/sysfs-module
+++ b/Documentation/ABI/testing/sysfs-module
@@ -71,3 +71,22 @@
 		interface for controlling the rate of deferred grant reclaim
 		or may not need it at all.
 Users:		Qubes OS (https://www.qubes-os.org)
+
+What:		/sys/module/libcomposite/parameters/android_kernel_aoa_enabled
+Date:		November 2025
+Contact:	Neill Kapron <nkapron@google.com>
+Description:	ANDROID: This toggle controls whether the in-kernel Android
+		Open Accessory (AOA) driver support is enabled within the
+		gadget configfs driver. This is	primarily used to allow a
+		userspace AOA implementation to handle the AOA handshake
+		without interference from the in-kernel driver.
+
+		- 1 (Default): The in-kernel AOA driver is enabled. The configfs
+		  gadget driver will attempt to pass AOA-specific vendor requests
+		  to the in-kernel AOA function as a fallback. This is the
+		  legacy behavior.
+
+		- 0: The in-kernel AOA driver is disabled. The configfs gadget
+		  driver will not forward AOA requests to the in-kernel AOA
+		  function. This should be set at boot time if a userspace AOA
+		  implementation (e.g., using functionfs) is active.
diff --git a/android/abi_gki_aarch64.stg b/android/abi_gki_aarch64.stg
index e5a05d4..bc6b164 100644
--- a/android/abi_gki_aarch64.stg
+++ b/android/abi_gki_aarch64.stg
@@ -15999,6 +15999,11 @@
   pointee_type_id: 0x98da7358
 }
 pointer_reference {
+  id: 0x2ca700b4
+  kind: POINTER
+  pointee_type_id: 0x98dce44f
+}
+pointer_reference {
   id: 0x2ca7a402
   kind: POINTER
   pointee_type_id: 0x98de7695
@@ -121112,6 +121117,12 @@
   offset: 64
 }
 member {
+  id: 0xea103e38
+  name: "local_id"
+  type_id: 0x4585663f
+  offset: 96
+}
+member {
   id: 0xeae65a45
   name: "local_id"
   type_id: 0xb3e7bac9
@@ -121152,12 +121163,23 @@
   offset: 64
 }
 member {
+  id: 0x5a60eb21
+  name: "local_node"
+  type_id: 0x0490bb4a
+}
+member {
   id: 0x7dcf9bec
   name: "local_out"
   type_id: 0x2d2736e0
   offset: 768
 }
 member {
+  id: 0x52d5b4d6
+  name: "local_port"
+  type_id: 0x4585663f
+  offset: 64
+}
+member {
   id: 0x5b66efeb
   name: "local_port_range"
   type_id: 0x3fbb6cee
@@ -166746,6 +166768,12 @@
   offset: 2144
 }
 member {
+  id: 0xb57965ef
+  name: "remote_id"
+  type_id: 0x4585663f
+  offset: 224
+}
+member {
   id: 0xb58f02ec
   name: "remote_id"
   type_id: 0xb3e7bac9
@@ -166776,12 +166804,24 @@
   offset: 2064
 }
 member {
+  id: 0xb8316d10
+  name: "remote_node"
+  type_id: 0x0490bb4a
+  offset: 128
+}
+member {
   id: 0x17a11866
   name: "remote_oob_data"
   type_id: 0xd3c80119
   offset: 30080
 }
 member {
+  id: 0x1c084f9b
+  name: "remote_port"
+  type_id: 0x4585663f
+  offset: 192
+}
+member {
   id: 0xadd03a27
   name: "remote_reload_stats"
   type_id: 0x93e3596e
@@ -272710,6 +272750,20 @@
   }
 }
 struct_union {
+  id: 0x98dce44f
+  kind: STRUCT
+  name: "v4l2_fwnode_link"
+  definition {
+    bytesize: 32
+    member_id: 0x5a60eb21
+    member_id: 0x52d5b4d6
+    member_id: 0xea103e38
+    member_id: 0xb8316d10
+    member_id: 0x1c084f9b
+    member_id: 0xb57965ef
+  }
+}
+struct_union {
   id: 0xccd4dc1a
   kind: STRUCT
   name: "v4l2_h264_dpb_entry"
@@ -285642,6 +285696,32 @@
   }
 }
 enumeration {
+  id: 0x3589c6a7
+  name: "hibernate_resume_state"
+  definition {
+    underlying_type_id: 0x4585663f
+    enumerator {
+      name: "HIBERNATION_IMAGE_RESTORE_START"
+    }
+    enumerator {
+      name: "HIBERNATION_DEVICE_RESUME_START"
+      value: 1
+    }
+    enumerator {
+      name: "HIBERNATION_DEVICE_RESUME_DONE"
+      value: 2
+    }
+    enumerator {
+      name: "HIBERNATION_IMAGE_RESTORE_DONE"
+      value: 3
+    }
+    enumerator {
+      name: "HIBERNATION_EXIT"
+      value: 4
+    }
+  }
+}
+enumeration {
   id: 0x74acd685
   name: "hid_battery_status"
   definition {
@@ -302797,6 +302877,13 @@
   parameter_id: 0x6720d32f
 }
 function {
+  id: 0x19ed6fd8
+  return_type_id: 0x48b5725f
+  parameter_id: 0x275ab027
+  parameter_id: 0x27a7c613
+  parameter_id: 0xf435685e
+}
+function {
   id: 0x19ee8463
   return_type_id: 0x48b5725f
   parameter_id: 0x25db57c0
@@ -303760,6 +303847,11 @@
   parameter_id: 0x2cd31328
 }
 function {
+  id: 0x1bb191be
+  return_type_id: 0x48b5725f
+  parameter_id: 0x2ca700b4
+}
+function {
   id: 0x1bb3429a
   return_type_id: 0x48b5725f
   parameter_id: 0x2cac4c27
@@ -328983,6 +329075,12 @@
   parameter_id: 0xfc0e1dbd
 }
 function {
+  id: 0x9b799d79
+  return_type_id: 0x6720d32f
+  parameter_id: 0x18bd6530
+  parameter_id: 0x3589c6a7
+}
+function {
   id: 0x9b79ad21
   return_type_id: 0x6720d32f
   parameter_id: 0x18bd6530
@@ -331128,6 +331226,12 @@
   parameter_id: 0x1d19a9d5
 }
 function {
+  id: 0x9bdbe709
+  return_type_id: 0x6720d32f
+  parameter_id: 0x1a8d1bcb
+  parameter_id: 0x3e10b518
+}
+function {
   id: 0x9bdbf970
   return_type_id: 0x6720d32f
   parameter_id: 0x18bd6530
@@ -331894,6 +331998,12 @@
   parameter_id: 0xf1a6dfed
 }
 function {
+  id: 0x9c1651ff
+  return_type_id: 0x6720d32f
+  parameter_id: 0x0490bb4a
+  parameter_id: 0x2ca700b4
+}
+function {
   id: 0x9c1677f9
   return_type_id: 0x6720d32f
   parameter_id: 0x026525e9
@@ -338432,6 +338542,12 @@
   parameter_id: 0xf419f1fe
 }
 function {
+  id: 0xa2e1e33f
+  return_type_id: 0x15a30023
+  parameter_id: 0xc93e017b
+  parameter_id: 0xf1a6dfed
+}
+function {
   id: 0xa2ec04d3
   return_type_id: 0xfc0e1dbd
   parameter_id: 0x172847a8
@@ -350028,6 +350144,15 @@
   full_name: "__traceiter_android_vh_get_thermal_zone_device"
 }
 elf_symbol {
+  id: 0xa8feef02
+  name: "__traceiter_android_vh_gic_resume"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0x33a27472
+  type_id: 0x9b1477ea
+  full_name: "__traceiter_android_vh_gic_resume"
+}
+elf_symbol {
   id: 0xdbe4202a
   name: "__traceiter_android_vh_gic_set_affinity"
   is_defined: true
@@ -350055,6 +350180,15 @@
   full_name: "__traceiter_android_vh_handle_trylock_failed_folio"
 }
 elf_symbol {
+  id: 0xca6eb740
+  name: "__traceiter_android_vh_hibernate_resume_state"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xd37a5ba1
+  type_id: 0x9b799d79
+  full_name: "__traceiter_android_vh_hibernate_resume_state"
+}
+elf_symbol {
   id: 0x089c5048
   name: "__traceiter_android_vh_hibernate_save_cmp_len"
   is_defined: true
@@ -355410,6 +355544,15 @@
   full_name: "__tracepoint_android_vh_get_thermal_zone_device"
 }
 elf_symbol {
+  id: 0x9a7fc340
+  name: "__tracepoint_android_vh_gic_resume"
+  is_defined: true
+  symbol_type: OBJECT
+  crc: 0xe7eeb6d7
+  type_id: 0x18ccbd2c
+  full_name: "__tracepoint_android_vh_gic_resume"
+}
+elf_symbol {
   id: 0x60a121b4
   name: "__tracepoint_android_vh_gic_set_affinity"
   is_defined: true
@@ -355437,6 +355580,15 @@
   full_name: "__tracepoint_android_vh_handle_trylock_failed_folio"
 }
 elf_symbol {
+  id: 0x70c0847e
+  name: "__tracepoint_android_vh_hibernate_resume_state"
+  is_defined: true
+  symbol_type: OBJECT
+  crc: 0x69e36f0b
+  type_id: 0x18ccbd2c
+  full_name: "__tracepoint_android_vh_hibernate_resume_state"
+}
+elf_symbol {
   id: 0xc388a58e
   name: "__tracepoint_android_vh_hibernate_save_cmp_len"
   is_defined: true
@@ -360035,6 +360187,15 @@
   full_name: "bio_endio"
 }
 elf_symbol {
+  id: 0x32725564
+  name: "bio_free_pages"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0x8cf7941c
+  type_id: 0x15f0919b
+  full_name: "bio_free_pages"
+}
+elf_symbol {
   id: 0x5a9da856
   name: "bio_init"
   is_defined: true
@@ -360044,6 +360205,15 @@
   full_name: "bio_init"
 }
 elf_symbol {
+  id: 0x45d23283
+  name: "bio_kmalloc"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xca5e78d8
+  type_id: 0xa2e1e33f
+  full_name: "bio_kmalloc"
+}
+elf_symbol {
   id: 0x1d853176
   name: "bio_put"
   is_defined: true
@@ -378542,6 +378712,15 @@
   full_name: "generic_read_dir"
 }
 elf_symbol {
+  id: 0x9e530296
+  name: "generic_ro_fops"
+  is_defined: true
+  symbol_type: OBJECT
+  crc: 0xed2365c3
+  type_id: 0xf10425d9
+  full_name: "generic_ro_fops"
+}
+elf_symbol {
   id: 0x242af10d
   name: "generic_setlease"
   is_defined: true
@@ -399668,6 +399847,15 @@
   full_name: "read_swap_cache_async"
 }
 elf_symbol {
+  id: 0x68b1776b
+  name: "readahead_expand"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xd2c5ecb7
+  type_id: 0x19ed6fd8
+  full_name: "readahead_expand"
+}
+elf_symbol {
   id: 0x2886690b
   name: "readahead_gfp_mask"
   is_defined: true
@@ -400532,6 +400720,15 @@
   full_name: "regulator_count_voltages"
 }
 elf_symbol {
+  id: 0x1e484088
+  name: "regulator_desc_list_voltage_linear"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xfdc87a06
+  type_id: 0x92f2a156
+  full_name: "regulator_desc_list_voltage_linear"
+}
+elf_symbol {
   id: 0x4cf1070c
   name: "regulator_desc_list_voltage_linear_range"
   is_defined: true
@@ -417069,6 +417266,24 @@
   full_name: "v4l2_fwnode_endpoint_parse"
 }
 elf_symbol {
+  id: 0x0ce25dcd
+  name: "v4l2_fwnode_parse_link"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xf6f698ec
+  type_id: 0x9c1651ff
+  full_name: "v4l2_fwnode_parse_link"
+}
+elf_symbol {
+  id: 0xccddef4c
+  name: "v4l2_fwnode_put_link"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0x84aef099
+  type_id: 0x1bb191be
+  full_name: "v4l2_fwnode_put_link"
+}
+elf_symbol {
   id: 0x6eac099d
   name: "v4l2_g_ctrl"
   is_defined: true
@@ -417744,6 +417959,15 @@
   full_name: "vb2_destroy_framevec"
 }
 elf_symbol {
+  id: 0xa9c4bcc0
+  name: "vb2_discard_done"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xd128c014
+  type_id: 0x163b1761
+  full_name: "vb2_discard_done"
+}
+elf_symbol {
   id: 0x03410164
   name: "vb2_dma_contig_memops"
   is_defined: true
@@ -418005,6 +418229,15 @@
   full_name: "vb2_queue_init"
 }
 elf_symbol {
+  id: 0x4b500e3e
+  name: "vb2_queue_init_name"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0xd09bfd6a
+  type_id: 0x9bdbe709
+  full_name: "vb2_queue_init_name"
+}
+elf_symbol {
   id: 0xe44c6ac8
   name: "vb2_queue_release"
   is_defined: true
@@ -420993,6 +421226,15 @@
   full_name: "zlib_inflate"
 }
 elf_symbol {
+  id: 0x84c3c252
+  name: "zlib_inflateEnd"
+  is_defined: true
+  symbol_type: FUNCTION
+  crc: 0x107e5878
+  type_id: 0x814b86be
+  full_name: "zlib_inflateEnd"
+}
+elf_symbol {
   id: 0xf6eda681
   name: "zlib_inflateIncomp"
   is_defined: true
@@ -421831,9 +422073,11 @@
   symbol_id: 0x30d4a091
   symbol_id: 0x83b45f32
   symbol_id: 0x1df03151
+  symbol_id: 0xa8feef02
   symbol_id: 0xdbe4202a
   symbol_id: 0x88586647
   symbol_id: 0x2b2d07aa
+  symbol_id: 0xca6eb740
   symbol_id: 0x089c5048
   symbol_id: 0x3ec3f8ef
   symbol_id: 0x1ba2e410
@@ -422429,9 +422673,11 @@
   symbol_id: 0x46c8630b
   symbol_id: 0x4756cfec
   symbol_id: 0x8b7beb3b
+  symbol_id: 0x9a7fc340
   symbol_id: 0x60a121b4
   symbol_id: 0xf18e312d
   symbol_id: 0x90e3616c
+  symbol_id: 0x70c0847e
   symbol_id: 0xc388a58e
   symbol_id: 0x78f2c5bd
   symbol_id: 0xc62a97aa
@@ -422943,7 +423189,9 @@
   symbol_id: 0x5dacbb8b
   symbol_id: 0x3a8604de
   symbol_id: 0x61a552c6
+  symbol_id: 0x32725564
   symbol_id: 0x5a9da856
+  symbol_id: 0x45d23283
   symbol_id: 0x1d853176
   symbol_id: 0xa8878d9e
   symbol_id: 0x1cb0de6c
@@ -424998,6 +425246,7 @@
   symbol_id: 0x7f639ef1
   symbol_id: 0x6bd69c06
   symbol_id: 0x4c4073c3
+  symbol_id: 0x9e530296
   symbol_id: 0x242af10d
   symbol_id: 0x798f83da
   symbol_id: 0x542785af
@@ -427345,6 +427594,7 @@
   symbol_id: 0x42f9d663
   symbol_id: 0x5b227eda
   symbol_id: 0x04f125b0
+  symbol_id: 0x68b1776b
   symbol_id: 0x2886690b
   symbol_id: 0x46082c90
   symbol_id: 0x590d247f
@@ -427441,6 +427691,7 @@
   symbol_id: 0xf2357f9f
   symbol_id: 0xc16e78d8
   symbol_id: 0xabbc8603
+  symbol_id: 0x1e484088
   symbol_id: 0x4cf1070c
   symbol_id: 0x9e48588d
   symbol_id: 0x3945d02a
@@ -429279,6 +429530,8 @@
   symbol_id: 0x7ba36329
   symbol_id: 0x2643c2c9
   symbol_id: 0xcb8b4f14
+  symbol_id: 0x0ce25dcd
+  symbol_id: 0xccddef4c
   symbol_id: 0x6eac099d
   symbol_id: 0x58330374
   symbol_id: 0xdb18c924
@@ -429354,6 +429607,7 @@
   symbol_id: 0xc2eed4fe
   symbol_id: 0x7fb65c50
   symbol_id: 0x61c086ce
+  symbol_id: 0xa9c4bcc0
   symbol_id: 0x03410164
   symbol_id: 0xd187d6a0
   symbol_id: 0xde8f3957
@@ -429383,6 +429637,7 @@
   symbol_id: 0xdfb89e7e
   symbol_id: 0x33a2f100
   symbol_id: 0xcdf82e93
+  symbol_id: 0x4b500e3e
   symbol_id: 0xe44c6ac8
   symbol_id: 0xd60bdd76
   symbol_id: 0x0b1c01d2
@@ -429715,6 +429970,7 @@
   symbol_id: 0xf158bd25
   symbol_id: 0xee403ebb
   symbol_id: 0x52ed8956
+  symbol_id: 0x84c3c252
   symbol_id: 0xf6eda681
   symbol_id: 0xd7745fba
   symbol_id: 0xd9789392
diff --git a/android/abi_gki_aarch64_pixel b/android/abi_gki_aarch64_pixel
index 4678f40..c4e93d0 100644
--- a/android/abi_gki_aarch64_pixel
+++ b/android/abi_gki_aarch64_pixel
@@ -2440,6 +2440,7 @@
   __traceiter_android_vh_scheduler_tick
   __traceiter_android_vh_setscheduler_uclamp
   __traceiter_android_vh_set_task_comm
+  __traceiter_android_vh_show_mem
   __traceiter_android_vh_si_meminfo_adjust
   __traceiter_android_vh_sound_usb_support_cpu_suspend
   __traceiter_android_vh_sysrq_crash
@@ -2582,6 +2583,7 @@
   __tracepoint_android_vh_scheduler_tick
   __tracepoint_android_vh_setscheduler_uclamp
   __tracepoint_android_vh_set_task_comm
+  __tracepoint_android_vh_show_mem
   __tracepoint_android_vh_si_meminfo_adjust
   __tracepoint_android_vh_sound_usb_support_cpu_suspend
   __tracepoint_android_vh_sysrq_crash
diff --git a/android/abi_gki_aarch64_qcom b/android/abi_gki_aarch64_qcom
index a50aaa0..43619544 100644
--- a/android/abi_gki_aarch64_qcom
+++ b/android/abi_gki_aarch64_qcom
@@ -76,8 +76,10 @@
   bio_chain
   bio_endio
   bio_end_io_acct_remapped
+  bio_free_pages
   bio_split
   bio_start_io_acct
+  bio_kmalloc
   bitmap_allocate_region
   __bitmap_and
   __bitmap_andnot
@@ -1203,6 +1205,7 @@
   generic_file_llseek
   generic_handle_domain_irq
   generic_handle_irq
+  generic_ro_fops
   geni_icc_disable
   geni_icc_enable
   geni_icc_get
@@ -2721,6 +2724,7 @@
   rcu_unexpedite_gp
   rcuwait_wake_up
   rdev_get_drvdata
+  readahead_expand
   reboot_mode
   rebuild_sched_domains
   reclaim_shmem_address_space
@@ -3521,7 +3525,9 @@
   __traceiter_android_vh_ftrace_oops_enter
   __traceiter_android_vh_ftrace_oops_exit
   __traceiter_android_vh_ftrace_size_check
+  __traceiter_android_vh_gic_resume
   __traceiter_android_vh_gic_v3_suspend
+  __traceiter_android_vh_hibernate_resume_state
   __traceiter_android_vh_hibernate_save_cmp_len
   __traceiter_android_vh_hibernate_state
   __traceiter_android_vh_hibernated_do_mem_alloc
@@ -3675,7 +3681,9 @@
   __tracepoint_android_vh_ftrace_oops_enter
   __tracepoint_android_vh_ftrace_oops_exit
   __tracepoint_android_vh_ftrace_size_check
+  __tracepoint_android_vh_gic_resume
   __tracepoint_android_vh_gic_v3_suspend
+  __tracepoint_android_vh_hibernate_resume_state
   __tracepoint_android_vh_hibernate_save_cmp_len
   __tracepoint_android_vh_hibernate_state
   __tracepoint_android_vh_hibernated_do_mem_alloc
@@ -4228,6 +4236,7 @@
   zlib_deflateReset
   zlib_deflate_workspacesize
   zlib_inflate
+  zlib_inflateEnd
   zlib_inflateIncomp
   zlib_inflateInit2
   zlib_inflateReset
diff --git a/android/abi_gki_aarch64_telechips b/android/abi_gki_aarch64_telechips
index 42d64d2..90a49b2 100644
--- a/android/abi_gki_aarch64_telechips
+++ b/android/abi_gki_aarch64_telechips
@@ -697,6 +697,8 @@
   __wake_up
   wake_up_process
   __warn_printk
+  vb2_discard_done
+  vb2_queue_init_name
 
 # required by atmel_mxt_ts.ko
   gpiod_direction_output
@@ -1544,6 +1546,8 @@
   of_fwnode_ops
   of_node_name_eq
   v4l2_async_register_subdev
+  v4l2_fwnode_parse_link
+  v4l2_fwnode_put_link
 
 # required by videobuf-core.ko
   __wake_up_sync
@@ -1564,4 +1568,5 @@
 
 # required by bd96801.regulator.ko
   linear_range_get_value_array
+  regulator_desc_list_voltage_linear
   regulator_desc_list_voltage_linear_range
diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h
index 7313fac..c96d950 100644
--- a/arch/arm64/include/asm/kvm_arm.h
+++ b/arch/arm64/include/asm/kvm_arm.h
@@ -87,7 +87,7 @@
 			 HCR_AMO | HCR_SWIO | HCR_TIDCP | HCR_RW | HCR_TLOR | \
 			 HCR_FMO | HCR_IMO | HCR_PTW | HCR_TID3 )
 #define HCR_VIRT_EXCP_MASK (HCR_VSE | HCR_VI | HCR_VF)
-#define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK | HCR_ATA)
+#define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK)
 #define HCR_HOST_NVHE_PROTECTED_FLAGS (HCR_HOST_NVHE_FLAGS | HCR_TSC)
 #define HCR_HOST_VHE_FLAGS (HCR_RW | HCR_TGE | HCR_E2H)
 
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
index b9c1a506..cf67828 100644
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@ -506,7 +506,7 @@
 	eret
 
 SYM_INNER_LABEL(init_el2, SYM_L_LOCAL)
-	mov_q	x0, HCR_HOST_NVHE_FLAGS
+	mov_q	x0, HCR_HOST_NVHE_FLAGS | HCR_ATA
 	msr	hcr_el2, x0
 	isb
 
diff --git a/arch/arm64/kernel/hibernate.c b/arch/arm64/kernel/hibernate.c
index f7e7ddc..ccc5653 100644
--- a/arch/arm64/kernel/hibernate.c
+++ b/arch/arm64/kernel/hibernate.c
@@ -357,6 +357,7 @@ int swsusp_arch_suspend(void)
 		sleep_cpu = smp_processor_id();
 		ret = swsusp_save();
 	} else {
+		trace_android_vh_hibernate_resume_state(HIBERNATION_IMAGE_RESTORE_START);
 		/* Clean kernel core startup/idle code to PoC*/
 		dcache_clean_inval_poc((unsigned long)__mmuoff_data_start,
 				    (unsigned long)__mmuoff_data_end);
diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
index d37fdbd..fa9465b 100644
--- a/arch/arm64/kvm/arm.c
+++ b/arch/arm64/kvm/arm.c
@@ -1732,6 +1732,10 @@ static void cpu_prepare_hyp_mode(int cpu)
 		params->hcr_el2 = HCR_HOST_NVHE_PROTECTED_FLAGS;
 	else
 		params->hcr_el2 = HCR_HOST_NVHE_FLAGS;
+
+	if (system_supports_mte())
+		params->hcr_el2 |= HCR_ATA;
+
 	params->vttbr = params->vtcr = 0;
 	params->hfgwtr_el2 = HFGxTR_EL2_nSMPRI_EL1_MASK | HFGxTR_EL2_nTPIDR2_EL0_MASK;
 
diff --git a/arch/arm64/kvm/hyp/include/hyp/switch.h b/arch/arm64/kvm/hyp/include/hyp/switch.h
index 33f6af1..839ac8a 100644
--- a/arch/arm64/kvm/hyp/include/hyp/switch.h
+++ b/arch/arm64/kvm/hyp/include/hyp/switch.h
@@ -135,6 +135,9 @@ static inline void ___activate_traps(struct kvm_vcpu *vcpu)
 	if (cpus_have_final_cap(ARM64_WORKAROUND_CAVIUM_TX2_219_TVM))
 		hcr |= HCR_TVM;
 
+	if (!system_supports_mte())
+		hcr &= ~(HCR_DCT | HCR_ATA);
+
 	write_sysreg(hcr, hcr_el2);
 
 	if (cpus_have_final_cap(ARM64_HAS_RAS_EXTN) && (hcr & HCR_VSE))
diff --git a/arch/arm64/kvm/hyp/nvhe/ffa.c b/arch/arm64/kvm/hyp/nvhe/ffa.c
index 3e45e30..dd8bbec 100644
--- a/arch/arm64/kvm/hyp/nvhe/ffa.c
+++ b/arch/arm64/kvm/hyp/nvhe/ffa.c
@@ -421,7 +421,7 @@ static void __do_ffa_mem_xfer(const u64 func_id,
 	DECLARE_REG(u32, npages_mbz, ctxt, 4);
 	struct ffa_composite_mem_region *reg;
 	struct ffa_mem_region *buf;
-	u32 offset, nr_ranges;
+	u32 offset, nr_ranges, checked_offset;
 	int ret = 0;
 
 	if (addr_mbz || npages_mbz || fraglen > len ||
@@ -456,11 +456,16 @@ static void __do_ffa_mem_xfer(const u64 func_id,
 		goto out_unlock;
 	}
 
-	if (fraglen < offset + sizeof(struct ffa_composite_mem_region)) {
+	if (check_add_overflow(offset, sizeof(struct ffa_composite_mem_region), &checked_offset)) {
 		ret = FFA_RET_INVALID_PARAMETERS;
 		goto out_unlock;
 	}
 
+	if (fraglen < checked_offset) {
+		ffa_to_smccc_error(res, FFA_RET_INVALID_PARAMETERS);
+		goto out_unlock;
+	}
+
 	reg = (void *)buf + offset;
 	nr_ranges = ((void *)buf + fraglen) - (void *)reg->constituents;
 	if (nr_ranges % sizeof(reg->constituents[0])) {
diff --git a/drivers/android/vendor_hooks.c b/drivers/android/vendor_hooks.c
index 291c0a5..7331554 100644
--- a/drivers/android/vendor_hooks.c
+++ b/drivers/android/vendor_hooks.c
@@ -499,6 +499,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_vprintk_store);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_folio_referenced_check_bypass);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_calculate_totalreserve_pages);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_drain_all_pages_bypass);
+EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_hibernate_resume_state);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_pageset_update);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mempool_alloc_skip_wait);
 EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_try_alloc_pages_gfp);
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index a8ea07e..12089ba 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -1425,9 +1425,13 @@ static int dwc3_core_init(struct dwc3 *dwc)
 	if (hw_mode != DWC3_GHWPARAMS0_MODE_GADGET &&
 	    (DWC3_IP_IS(DWC31)) &&
 	    dwc->maximum_speed == USB_SPEED_SUPER) {
-		reg = dwc3_readl(dwc->regs, DWC3_LLUCTL);
-		reg |= DWC3_LLUCTL_FORCE_GEN1;
-		dwc3_writel(dwc->regs, DWC3_LLUCTL, reg);
+		int i;
+
+		for (i = 0; i < vdwc->num_usb3_ports; i++) {
+			reg = dwc3_readl(dwc->regs, DWC3_LLUCTL(i));
+			reg |= DWC3_LLUCTL_FORCE_GEN1;
+			dwc3_writel(dwc->regs, DWC3_LLUCTL(i), reg);
+		}
 	}
 
 	return 0;
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index ecff4c9..c77bb7f 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -180,7 +180,7 @@
 #define DWC3_OEVTEN		0xcc0C
 #define DWC3_OSTS		0xcc10
 
-#define DWC3_LLUCTL		0xd024
+#define DWC3_LLUCTL(n)		(0xd024 + ((n) * 0x80))
 
 /* Bit fields */
 
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index 00d9ab6..3e4906d 100644
--- a/drivers/usb/gadget/configfs.c
+++ b/drivers/usb/gadget/configfs.c
@@ -19,6 +19,11 @@
 extern int acc_ctrlrequest_composite(struct usb_composite_dev *cdev,
 				const struct usb_ctrlrequest *ctrl);
 void acc_disconnect(void);
+
+static bool android_kernel_aoa_enabled = true;
+module_param(android_kernel_aoa_enabled, bool, 0644);
+MODULE_PARM_DESC(android_kernel_aoa_enabled,
+		"Enable in-kernel AOA driver support (1=enabled, 0=disabled)");
 #endif
 static struct class *android_class;
 static struct device *android_device;
@@ -1566,7 +1571,7 @@ static int android_setup(struct usb_gadget *gadget,
 	}
 
 #ifdef CONFIG_USB_CONFIGFS_F_ACC
-	if (value < 0)
+	if (value < 0 && android_kernel_aoa_enabled)
 		value = acc_ctrlrequest_composite(cdev, c);
 #endif
 
diff --git a/include/trace/hooks/bl_hib.h b/include/trace/hooks/bl_hib.h
index f334e2b6..8560ccf 100644
--- a/include/trace/hooks/bl_hib.h
+++ b/include/trace/hooks/bl_hib.h
@@ -11,6 +11,17 @@
 
 struct block_device;
 
+#ifndef __TRACE_HOOK_BL_HIB_RESUME_STATE
+#define __TRACE_HOOK_BL_HIB_RESUME_STATE
+enum hibernate_resume_state {
+	HIBERNATION_IMAGE_RESTORE_START,
+	HIBERNATION_DEVICE_RESUME_START,
+	HIBERNATION_DEVICE_RESUME_DONE,
+	HIBERNATION_IMAGE_RESTORE_DONE,
+	HIBERNATION_EXIT,
+};
+#endif /*__TRACE_HOOK_BL_HIB_RESUME_STATE__*/
+
 DECLARE_HOOK(android_vh_check_hibernation_swap,
 	TP_PROTO(struct block_device *resume_block, bool *hib_swap),
 	TP_ARGS(resume_block, hib_swap));
@@ -48,6 +59,10 @@ DECLARE_HOOK(android_vh_hibernate_save_cmp_len,
         TP_PROTO(size_t cmp_len),
         TP_ARGS(cmp_len));
 
-#endif /* _TRACE_HOOK_BL_HIB_H */
+DECLARE_HOOK(android_vh_hibernate_resume_state,
+        TP_PROTO(enum hibernate_resume_state state),
+        TP_ARGS(state));
+
+#endif /* _TRACE_HOOK_S2D_H */
 /* This part must be outside protection */
 #include <trace/define_trace.h>
diff --git a/include/uapi/linux/userfaultfd.h b/include/uapi/linux/userfaultfd.h
index dfac99e..835294fd 100644
--- a/include/uapi/linux/userfaultfd.h
+++ b/include/uapi/linux/userfaultfd.h
@@ -330,8 +330,10 @@ struct uffdio_move {
 	 * in swap-cache. Also, to avoid livelock when multiple threads try
 	 * to move same src folio. It's a KMI workaround and cannot be relied
 	 * upon by userspace.
+	 *
+	 * 61: confirm if anon_vma lock has been removed from MOVE ioctl.
 	 */
-#define UFFDIO_MOVE_MODE_CONFIRM_FIXED		((__u64)1<<62)
+#define UFFDIO_MOVE_MODE_CONFIRM_FIXED		((__u64)1<<61)
 	__u64 mode;
 	/*
 	 * "move" is written by the ioctl and must be at the end: the
diff --git a/kernel/cgroup/rstat.c b/kernel/cgroup/rstat.c
index c3e7c07..aa7c7e2 100644
--- a/kernel/cgroup/rstat.c
+++ b/kernel/cgroup/rstat.c
@@ -207,13 +207,11 @@ static void cgroup_rstat_flush_locked(struct cgroup *cgrp)
 		}
 		raw_spin_unlock_irqrestore(cpu_lock, flags);
 
-		/* play nice and yield if necessary */
-		if (need_resched() || spin_needbreak(&cgroup_rstat_lock)) {
-			spin_unlock_irq(&cgroup_rstat_lock);
-			if (!cond_resched())
-				cpu_relax();
-			spin_lock_irq(&cgroup_rstat_lock);
-		}
+		/* play nice and avoid disabling interrupts for a long time */
+		spin_unlock_irq(&cgroup_rstat_lock);
+		if (!cond_resched())
+			cpu_relax();
+		spin_lock_irq(&cgroup_rstat_lock);
 	}
 }
 
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index 05dca30..ea12e96 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -32,6 +32,7 @@
 #include <linux/security.h>
 #include <linux/secretmem.h>
 #include <trace/events/power.h>
+#include <trace/hooks/bl_hib.h>
 
 #include "power.h"
 
@@ -335,6 +336,7 @@ static int create_image(int platform_mode)
 	trace_suspend_resume(TPS("machine_suspend"), PM_EVENT_HIBERNATE, true);
 	error = swsusp_arch_suspend();
 	/* Restore control flow magically appears here */
+	trace_android_vh_hibernate_resume_state(HIBERNATION_IMAGE_RESTORE_START);
 	restore_processor_state();
 	trace_suspend_resume(TPS("machine_suspend"), PM_EVENT_HIBERNATE, false);
 	if (error)
@@ -363,7 +365,7 @@ static int create_image(int platform_mode)
 
  Platform_finish:
 	platform_finish(platform_mode);
-
+	trace_android_vh_hibernate_resume_state(HIBERNATION_DEVICE_RESUME_START);
 	dpm_resume_start(in_suspend ?
 		(error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE);
 
@@ -440,6 +442,7 @@ int hibernation_snapshot(int platform_mode)
 	resume_console();
 	dpm_complete(msg);
 
+	trace_android_vh_hibernate_resume_state(HIBERNATION_DEVICE_RESUME_DONE);
  Close:
 	platform_end(platform_mode);
 	return error;
@@ -825,6 +828,7 @@ int hibernate(void)
 		pm_restore_gfp_mask();
 	} else {
 		pm_pr_dbg("Hibernation image restored successfully.\n");
+		trace_android_vh_hibernate_resume_state(HIBERNATION_IMAGE_RESTORE_DONE);
 	}
 
  Free_bitmaps:
@@ -848,6 +852,7 @@ int hibernate(void)
 	hibernate_release();
  Unlock:
 	unlock_system_sleep(sleep_flags);
+	trace_android_vh_hibernate_resume_state(HIBERNATION_EXIT);
 	pr_info("hibernation exit\n");
 
 	return error;
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 00c5c8e..5c84437 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -7209,7 +7209,7 @@ tracing_mark_write(struct file *filp, const char __user *ubuf,
 	entry = ring_buffer_event_data(event);
 	entry->ip = _THIS_IP_;
 
-	len = copy_from_user_nofault(&entry->buf, ubuf, cnt);
+	len = __copy_from_user_inatomic(&entry->buf, ubuf, cnt);
 	if (len) {
 		memcpy(&entry->buf, FAULTED_STR, FAULTED_SIZE);
 		cnt = FAULTED_SIZE;
@@ -7284,7 +7284,7 @@ tracing_mark_raw_write(struct file *filp, const char __user *ubuf,
 
 	entry = ring_buffer_event_data(event);
 
-	len = copy_from_user_nofault(&entry->id, ubuf, cnt);
+	len = __copy_from_user_inatomic(&entry->id, ubuf, cnt);
 	if (len) {
 		entry->id = -1;
 		memcpy(&entry->buf, FAULTED_STR, FAULTED_SIZE);
diff --git a/mm/damon/paddr.c b/mm/damon/paddr.c
index 7bc8d79..651d1a33 100644
--- a/mm/damon/paddr.c
+++ b/mm/damon/paddr.c
@@ -39,7 +39,6 @@ static void damon_pa_mkold(unsigned long paddr)
 		.rmap_one = __damon_pa_mkold,
 		.anon_lock = folio_lock_anon_vma_read,
 	};
-	bool need_lock;
 
 	if (!page)
 		return;
@@ -50,14 +49,11 @@ static void damon_pa_mkold(unsigned long paddr)
 		goto out;
 	}
 
-	need_lock = !folio_test_anon(folio) || folio_test_ksm(folio);
-	if (need_lock && !folio_trylock(folio))
+	if (!folio_trylock(folio))
 		goto out;
 
 	rmap_walk(folio, &rwc);
-
-	if (need_lock)
-		folio_unlock(folio);
+	folio_unlock(folio);
 
 out:
 	folio_put(folio);
@@ -133,7 +129,6 @@ static bool damon_pa_young(unsigned long paddr, unsigned long *page_sz)
 		.rmap_one = __damon_pa_young,
 		.anon_lock = folio_lock_anon_vma_read,
 	};
-	bool need_lock;
 
 	if (!page)
 		return false;
@@ -148,16 +143,13 @@ static bool damon_pa_young(unsigned long paddr, unsigned long *page_sz)
 		goto out;
 	}
 
-	need_lock = !folio_test_anon(folio) || folio_test_ksm(folio);
-	if (need_lock && !folio_trylock(folio)) {
+	if (!folio_trylock(folio)) {
 		folio_put(folio);
 		return false;
 	}
 
 	rmap_walk(folio, &rwc);
-
-	if (need_lock)
-		folio_unlock(folio);
+	folio_unlock(folio);
 	folio_put(folio);
 
 out:
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 11489cd..21cd766 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1929,7 +1929,6 @@ int move_pages_huge_pmd(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd, pm
 	pmd_t _dst_pmd, src_pmdval;
 	struct page *src_page;
 	struct folio *src_folio;
-	struct anon_vma *src_anon_vma;
 	spinlock_t *src_ptl, *dst_ptl;
 	pgtable_t src_pgtable;
 	struct mmu_notifier_range range;
@@ -1978,23 +1977,9 @@ int move_pages_huge_pmd(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd, pm
 				src_addr + HPAGE_PMD_SIZE);
 	mmu_notifier_invalidate_range_start(&range);
 
-	if (src_folio) {
+	if (src_folio)
 		folio_lock(src_folio);
 
-		/*
-		 * split_huge_page walks the anon_vma chain without the page
-		 * lock. Serialize against it with the anon_vma lock, the page
-		 * lock is not enough.
-		 */
-		src_anon_vma = folio_get_anon_vma(src_folio);
-		if (!src_anon_vma) {
-			err = -EAGAIN;
-			goto unlock_folio;
-		}
-		anon_vma_lock_write(src_anon_vma);
-	} else
-		src_anon_vma = NULL;
-
 	dst_ptl = pmd_lockptr(mm, dst_pmd);
 	double_pt_lock(src_ptl, dst_ptl);
 	if (unlikely(!pmd_same(*src_pmd, src_pmdval) ||
@@ -2039,11 +2024,6 @@ int move_pages_huge_pmd(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd, pm
 	pgtable_trans_huge_deposit(mm, dst_pmd, src_pgtable);
 unlock_ptls:
 	double_pt_unlock(src_ptl, dst_ptl);
-	if (src_anon_vma) {
-		anon_vma_unlock_write(src_anon_vma);
-		put_anon_vma(src_anon_vma);
-	}
-unlock_folio:
 	/* unblock rmap walks */
 	if (src_folio)
 		folio_unlock(src_folio);
diff --git a/mm/page_idle.c b/mm/page_idle.c
index bc08332..8e0de8a 100644
--- a/mm/page_idle.c
+++ b/mm/page_idle.c
@@ -95,19 +95,15 @@ static void page_idle_clear_pte_refs(struct page *page)
 		.rmap_one = page_idle_clear_pte_refs_one,
 		.anon_lock = folio_lock_anon_vma_read,
 	};
-	bool need_lock;
 
 	if (!folio_mapped(folio) || !folio_raw_mapping(folio))
 		return;
 
-	need_lock = !folio_test_anon(folio) || folio_test_ksm(folio);
-	if (need_lock && !folio_trylock(folio))
+	if (!folio_trylock(folio))
 		return;
 
 	rmap_walk(folio, &rwc);
-
-	if (need_lock)
-		folio_unlock(folio);
+	folio_unlock(folio);
 }
 
 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj,
diff --git a/mm/percpu.c b/mm/percpu.c
index d288814..8693dfc3 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1737,7 +1737,7 @@ static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved,
 	gfp = current_gfp_context(gfp);
 	/* whitelisted flags that can be passed to the backing allocators */
 	pcpu_gfp = gfp & (GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN);
-	is_atomic = (gfp & GFP_KERNEL) != GFP_KERNEL;
+	is_atomic = !gfpflags_allow_blocking(gfp);
 	do_warn = !(gfp & __GFP_NOWARN);
 
 	/*
@@ -2237,7 +2237,12 @@ static void pcpu_balance_workfn(struct work_struct *work)
 	 * to grow other chunks.  This then gives pcpu_reclaim_populated() time
 	 * to move fully free chunks to the active list to be freed if
 	 * appropriate.
+	 *
+	 * Enforce GFP_NOIO allocations because we have pcpu_alloc users
+	 * constrained to GFP_NOIO/NOFS contexts and they could form lock
+	 * dependency through pcpu_alloc_mutex
 	 */
+	unsigned int flags = memalloc_noio_save();
 	mutex_lock(&pcpu_alloc_mutex);
 	spin_lock_irq(&pcpu_lock);
 
@@ -2248,6 +2253,7 @@ static void pcpu_balance_workfn(struct work_struct *work)
 
 	spin_unlock_irq(&pcpu_lock);
 	mutex_unlock(&pcpu_alloc_mutex);
+	memalloc_noio_restore(flags);
 }
 
 /**
diff --git a/mm/rmap.c b/mm/rmap.c
index 45fbd82..1c40f70 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -493,17 +493,15 @@ void __init anon_vma_init(void)
  * if there is a mapcount, we can dereference the anon_vma after observing
  * those.
  *
- * NOTE: the caller should normally hold folio lock when calling this.  If
- * not, the caller needs to double check the anon_vma didn't change after
- * taking the anon_vma lock for either read or write (UFFDIO_MOVE can modify it
- * concurrently without folio lock protection). See folio_lock_anon_vma_read()
- * which has already covered that, and comment above remap_pages().
+ * NOTE: the caller should hold folio lock when calling this.
  */
 struct anon_vma *folio_get_anon_vma(struct folio *folio)
 {
 	struct anon_vma *anon_vma = NULL;
 	unsigned long anon_mapping;
 
+	VM_WARN_ON_FOLIO(!folio_test_locked(folio), folio);
+
 	rcu_read_lock();
 	anon_mapping = (unsigned long)READ_ONCE(folio->mapping);
 	if ((anon_mapping & PAGE_MAPPING_FLAGS) != PAGE_MAPPING_ANON)
@@ -550,7 +548,8 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
 	struct anon_vma *root_anon_vma;
 	unsigned long anon_mapping;
 
-retry:
+	VM_WARN_ON_FOLIO(!folio_test_locked(folio), folio);
+
 	rcu_read_lock();
 	anon_mapping = (unsigned long)READ_ONCE(folio->mapping);
 	if ((anon_mapping & PAGE_MAPPING_FLAGS) != PAGE_MAPPING_ANON)
@@ -562,17 +561,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
 	root_anon_vma = READ_ONCE(anon_vma->root);
 	if (down_read_trylock(&root_anon_vma->rwsem)) {
 		/*
-		 * folio_move_anon_rmap() might have changed the anon_vma as we
-		 * might not hold the folio lock here.
-		 */
-		if (unlikely((unsigned long)READ_ONCE(folio->mapping) !=
-			     anon_mapping)) {
-			up_read(&root_anon_vma->rwsem);
-			rcu_read_unlock();
-			goto retry;
-		}
-
-		/*
 		 * If the folio is still mapped, then this anon_vma is still
 		 * its anon_vma, and holding the mutex ensures that it will
 		 * not go away, see anon_vma_free().
@@ -606,18 +594,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
 	rcu_read_unlock();
 	anon_vma_lock_read(anon_vma);
 
-	/*
-	 * folio_move_anon_rmap() might have changed the anon_vma as we might
-	 * not hold the folio lock here.
-	 */
-	if (unlikely((unsigned long)READ_ONCE(folio->mapping) !=
-		     anon_mapping)) {
-		anon_vma_unlock_read(anon_vma);
-		put_anon_vma(anon_vma);
-		anon_vma = NULL;
-		goto retry;
-	}
-
 	if (atomic_dec_and_test(&anon_vma->refcount)) {
 		/*
 		 * Oops, we held the last refcount, release the lock
@@ -953,7 +929,7 @@ int folio_referenced(struct folio *folio, int is_locked,
 	if (!folio_raw_mapping(folio))
 		return 0;
 
-	if (!is_locked && (!folio_test_anon(folio) || folio_test_ksm(folio))) {
+	if (!is_locked) {
 		we_locked = folio_trylock(folio);
 		if (!we_locked)
 			return 1;
@@ -2456,6 +2432,12 @@ static void rmap_walk_anon(struct folio *folio,
 	pgoff_t pgoff_start, pgoff_end;
 	struct anon_vma_chain *avc;
 
+	/*
+	 * The folio lock ensures that folio->mapping can't be changed under us
+	 * to an anon_vma with different root.
+	 */
+	VM_WARN_ON_FOLIO(!folio_test_locked(folio), folio);
+
 	if (locked) {
 		anon_vma = folio_anon_vma(folio);
 		/* anon_vma disappear under us? */
diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c
index 951c1e1..5fca1b4 100644
--- a/mm/userfaultfd.c
+++ b/mm/userfaultfd.c
@@ -938,8 +938,7 @@ void double_pt_unlock(spinlock_t *ptl1,
  */
 static struct folio *check_ptes_for_batched_move(struct vm_area_struct *src_vma,
 						 unsigned long src_addr,
-						 pte_t *src_pte, pte_t *dst_pte,
-						 struct anon_vma *src_anon_vma)
+						 pte_t *src_pte, pte_t *dst_pte)
 {
 	pte_t orig_dst_pte, orig_src_pte;
 	struct folio *folio;
@@ -955,8 +954,7 @@ static struct folio *check_ptes_for_batched_move(struct vm_area_struct *src_vma,
 	folio = vm_normal_folio(src_vma, src_addr, orig_src_pte);
 	if (!folio || !folio_trylock(folio))
 		return NULL;
-	if (!PageAnonExclusive(&folio->page) || folio_test_large(folio) ||
-	    folio_anon_vma(folio) != src_anon_vma) {
+	if (!PageAnonExclusive(&folio->page) || folio_test_large(folio)) {
 		folio_unlock(folio);
 		return NULL;
 	}
@@ -964,9 +962,8 @@ static struct folio *check_ptes_for_batched_move(struct vm_area_struct *src_vma,
 }
 
 /*
- * Moves src folios to dst in a batch as long as they share the same
- * anon_vma as the first folio, are not large, and can successfully
- * take the lock via folio_trylock().
+ * Moves src folios to dst in a batch as long as they are not large, and can
+ * successfully take the lock via folio_trylock().
  */
 static long move_present_ptes(struct mm_struct *mm,
 			      struct vm_area_struct *dst_vma,
@@ -975,8 +972,7 @@ static long move_present_ptes(struct mm_struct *mm,
 			      pte_t *dst_pte, pte_t *src_pte,
 			      pte_t orig_dst_pte, pte_t orig_src_pte,
 			      spinlock_t *dst_ptl, spinlock_t *src_ptl,
-			      struct folio **first_src_folio, unsigned long len,
-			      struct anon_vma *src_anon_vma)
+			      struct folio **first_src_folio, unsigned long len)
 {
 	int err = 0;
 	struct folio *src_folio = *first_src_folio;
@@ -1034,8 +1030,8 @@ static long move_present_ptes(struct mm_struct *mm,
 		src_pte++;
 
 		folio_unlock(src_folio);
-		src_folio = check_ptes_for_batched_move(src_vma, src_addr, src_pte,
-							dst_pte, src_anon_vma);
+		src_folio = check_ptes_for_batched_move(src_vma, src_addr,
+							src_pte, dst_pte);
 		if (!src_folio)
 			break;
 	}
@@ -1162,7 +1158,6 @@ static long move_pages_ptes(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd
 	pte_t *dst_pte = NULL;
 
 	struct folio *src_folio = NULL;
-	struct anon_vma *src_anon_vma = NULL;
 	struct mmu_notifier_range range;
 	long ret = 0;
 
@@ -1236,9 +1231,9 @@ static long move_pages_ptes(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd
 		}
 
 		/*
-		 * Pin and lock both source folio and anon_vma. Since we are in
-		 * RCU read section, we can't block, so on contention have to
-		 * unmap the ptes, obtain the lock and retry.
+		 * Pin and lock source folio. Since we are in RCU read section,
+		 * we can't block, so on contention have to unmap the ptes,
+		 * obtain the lock and retry.
 		 */
 		if (!src_folio) {
 			struct folio *folio;
@@ -1312,33 +1307,11 @@ static long move_pages_ptes(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd
 			goto retry;
 		}
 
-		if (!src_anon_vma) {
-			/*
-			 * folio_referenced walks the anon_vma chain
-			 * without the folio lock. Serialize against it with
-			 * the anon_vma lock, the folio lock is not enough.
-			 */
-			src_anon_vma = folio_get_anon_vma(src_folio);
-			if (!src_anon_vma) {
-				/* page was unmapped from under us */
-				ret = -EAGAIN;
-				goto out;
-			}
-			if (!anon_vma_trylock_write(src_anon_vma)) {
-				pte_unmap(src_pte);
-				pte_unmap(dst_pte);
-				src_pte = dst_pte = NULL;
-				/* now we can block and wait */
-				anon_vma_lock_write(src_anon_vma);
-				goto retry;
-			}
-		}
-
 		ret = move_present_ptes(mm, dst_vma, src_vma,
 					dst_addr, src_addr, dst_pte, src_pte,
 					orig_dst_pte, orig_src_pte,
 					dst_ptl, src_ptl, &src_folio,
-					len, src_anon_vma);
+					len);
 	} else {
 		struct folio *folio = NULL;
 
@@ -1405,10 +1378,6 @@ static long move_pages_ptes(struct mm_struct *mm, pmd_t *dst_pmd, pmd_t *src_pmd
 	}
 
 out:
-	if (src_anon_vma) {
-		anon_vma_unlock_write(src_anon_vma);
-		put_anon_vma(src_anon_vma);
-	}
 	if (src_folio) {
 		folio_unlock(src_folio);
 		folio_put(src_folio);
@@ -1674,15 +1643,6 @@ static void uffd_move_unlock(struct vm_area_struct *dst_vma,
  * virtual regions without knowing if there are transparent hugepage
  * in the regions or not, but preventing the risk of having to split
  * the hugepmd during the remap.
- *
- * If there's any rmap walk that is taking the anon_vma locks without
- * first obtaining the folio lock (the only current instance is
- * folio_referenced), they will have to verify if the folio->mapping
- * has changed after taking the anon_vma lock. If it changed they
- * should release the lock and retry obtaining a new anon_vma, because
- * it means the anon_vma was changed by move_pages() before the lock
- * could be obtained. This is the only additional complexity added to
- * the rmap code to provide this anonymous page remapping functionality.
  */
 ssize_t move_pages(struct userfaultfd_ctx *ctx, unsigned long dst_start,
 		   unsigned long src_start, unsigned long len, __u64 mode)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 30c8013e..486b324 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -5507,6 +5507,7 @@ static void shrink_many(struct pglist_data *pgdat, struct scan_control *sc)
 	bin = first_bin = get_random_u32_below(MEMCG_NR_BINS);
 restart:
 	op = 0;
+	lruvec = NULL;
 	memcg = NULL;
 	gen = get_memcg_gen(READ_ONCE(pgdat->memcg_lru.seq));
 
@@ -5548,10 +5549,12 @@ static void shrink_many(struct pglist_data *pgdat, struct scan_control *sc)
 	if (op)
 		lru_gen_rotate_memcg(lruvec, op);
 
-	mem_cgroup_put(memcg);
-
-	if (lruvec && should_abort_scan(lruvec, sc))
+	if (lruvec && should_abort_scan(lruvec, sc)) {
+		mem_cgroup_put(memcg);
 		return;
+	}
+
+	mem_cgroup_put(memcg);
 
 	/* restart if raced with lru_gen_rotate_memcg() */
 	if (gen != get_nulls_value(pos))