merge-upstream/v6.1.84 from branch/tag: upstream/v6.1.84 into branch: cos-6.1

Conflicts:
 arch/x86/kernel/sev-shared.c
 kernel/entry/common.c
 net/tls/tls_sw.c

Changelog:
-------------------------------------------------------------

Adamos Ttofari (1):
      x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD

Alan Stern (4):
      USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
      USB: core: Add hub_get() and hub_put() routines
      USB: core: Fix deadlock in port "disable" sysfs attribute
      USB: core: Fix deadlock in usb_deauthorize_interface()

Alex Deucher (1):
      drm/amd/display: handle range offsets in VRR ranges

Alex Williamson (7):
      vfio/pci: Lock external INTx masking ops
      vfio/platform: Disable virqfds on cleanup
      vfio/pci: Disable auto-enable of exclusive INTx IRQ
      vfio: Introduce interface to flush virqfd inject workqueue
      vfio/pci: Create persistent INTx handler
      vfio/platform: Create persistent IRQ handlers
      vfio/fsl-mc: Block calling interrupt handler without trigger

Alexander Stein (1):
      Revert "usb: phy: generic: Get the vbus supply"

Alexander Usyskin (2):
      mei: me: add arrow lake point S DID
      mei: me: add arrow lake point H DID

Amit Pundir (1):
      clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd

Andrey Jr. Melnikov (1):
      ahci: asm1064: correct count of reported ports

André Rösti (1):
      entry: Respect changes to system call number by trace_sys_enter()

Andy Chi (1):
      ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook

Anton Altaparmakov (1):
      x86/pm: Work around false positive kmemleak report in msr_build_context()

Ard Biesheuvel (4):
      x86/efistub: Call mixed mode boot services on the firmware's stack
      x86/sev: Fix position dependent variable references in startup code
      x86/efistub: Add missing boot_params for mixed mode compat entry
      efi/libstub: Cast away type warning in use of max()

Arnd Bergmann (2):
      kasan/test: avoid gcc warning for intentional overflow
      staging: vc04_services: changen strncpy() to strscpy_pad()

Arseniy Krasnov (1):
      mtd: rawnand: meson: fix scrambling mode value in command macro

Aurélien Jacobs (1):
      USB: serial: option: add MeiG Smart SLM320 product

Baokun Li (1):
      ext4: correct best extent lstart adjustment logic

Bart Van Assche (2):
      Revert "block/mq-deadline: use correct way to throttling write requests"
      fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

Biju Das (4):
      irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
      irqchip/renesas-rzg2l: Rename rzg2l_tint_eoi()
      irqchip/renesas-rzg2l: Rename rzg2l_irq_eoi()
      irqchip/renesas-rzg2l: Prevent spurious interrupts when setting trigger type

Bikash Hazarika (1):
      scsi: qla2xxx: Update manufacturer detail

Borislav Petkov (1):
      x86/bugs: Use sysfs_emit()

Borislav Petkov (AMD) (4):
      x86/CPU/AMD: Update the Zenbleed microcode revisions
      x86/coco: Export cc_vendor
      x86/coco: Get rid of accessor functions
      x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT

Cameron Williams (1):
      USB: serial: add device ID for VeriFone adapter

Charan Teja Kalla (1):
      iommu: Avoid races around default domain allocations

Chengming Zhou (1):
      blk-mq: release scheduler resource when request completes

Chris Wilson (1):
      drm/i915/gt: Reset queue_priority_hint on parking

Christian A. Ehrhardt (4):
      usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
      usb: typec: ucsi: Ack unsupported commands
      usb: typec: ucsi_acpi: Refactor and fix DELL quirk
      usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset

Christian Gmeiner (1):
      drm/etnaviv: Restore some id values

Christian Häggström (1):
      USB: serial: cp210x: add ID for MGP Instruments PDS100

Christophe JAILLET (1):
      slimbus: core: Remove usage of the deprecated ida_simple_xx() API

Claudiu Beznea (2):
      irqchip/renesas-rzg2l: Implement restriction when writing ISCR register
      irqchip/renesas-rzg2l: Add macro to retrieve TITSR register offset based on register's index

Claus Hansen Ries (1):
      net: ll_temac: platform_get_resource replaced by wrong function

Conrad Kostecki (1):
      ahci: asm1064: asm1166: don't limit reported ports

Cosmin Tanislav (2):
      iio: accel: adxl367: fix DEVID read after reset
      iio: accel: adxl367: fix I2C FIFO data register

Damian Muszynski (1):
      crypto: qat - resolve race condition during AER recovery

Damien Le Moal (3):
      block: Clear zone limits for a non-zoned stacked queue
      block: Do not force full zone append completion in req_bio_endio()
      scsi: sd: Fix TCG OPAL unlock on system resume

Dan Carpenter (1):
      staging: vc04_services: fix information leak in create_component()

Daniel Vogelbacher (1):
      USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB

David Laight (1):
      minmax: add umin(a, b) and umax(a, b)

David Woodhouse (1):
      KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled

Dominique Martinet (1):
      mmc: core: Fix switch on gp3 partition

Duje Mihanović (1):
      arm: dts: marvell: Fix maxium->maxim typo in brownstone dts

Duoming Zhou (2):
      nouveau/dmem: handle kcalloc() allocation failure
      ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs

Eric Huang (1):
      drm/amdkfd: fix TLB flush after unmap for GFX9.4.2

Eugene Korenevsky (1):
      cifs: open_cached_dir(): add FILE_READ_EA to desired access

Fedor Pchelkin (1):
      mac802154: fix llsec key resources release in mac802154_llsec_key_del

Felix Fietkau (1):
      wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes

Filipe Manana (1):
      btrfs: fix off-by-one chunk length calculation at contains_pending_extent()

Gabor Juhos (4):
      clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
      clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
      clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
      clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays

Geliang Tang (1):
      selftests: mptcp: diag: return KSFT_FAIL not test_cnt

Greg Kroah-Hartman (2):
      cpufreq: brcmstb-avs-cpufreq: fix up "add check for cpufreq_cpu_get's return value"
      Linux 6.1.84

Guenter Roeck (5):
      parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
      parisc: Fix ip_fast_csum
      parisc: Fix csum_ipv6_magic on 32-bit systems
      parisc: Fix csum_ipv6_magic on 64-bit systems
      parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds

Gui-Dong Han (2):
      media: xc4000: Fix atomicity violation in xc4000_get_frequency
      md/raid5: fix atomicity violation in raid5_cache_count

Guilherme G. Piccoli (1):
      scsi: core: Fix unremoved procfs host directory regression

Hans de Goede (2):
      platform/x86: p2sb: On Goldmont only cache P2SB and SPI devfn BAR
      misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume

Harald Freudenberger (1):
      s390/zcrypt: fix reference counting on zcrypt card objects

Heiner Kallweit (1):
      i2c: i801: Avoid potential double call to gpiod_remove_lookup_table

Hidenori Kobayashi (1):
      media: staging: ipu3-imgu: Set fields before media_entity_pads_init()

Huacai Chen (2):
      LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
      LoongArch: Define the __io_aw() hook as mmiowb()

Huang Ying (1):
      swap: comments get_swap_device() with usage rule

Hugo Villeneuve (1):
      serial: max310x: fix NULL pointer dereference in I2C instantiation

Jakub Kicinski (2):
      tls: fix race between tx work scheduling and socket close
      net: tls: handle backlogging of crypto requests

Jameson Thies (1):
      usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros

Jan Kara (1):
      fat: fix uninitialized field in nostale filehandles

Jani Nikula (5):
      drm/probe-helper: warn about negative .get_modes()
      drm/panel: do not return negative error codes from drm_panel_get_modes()
      drm/exynos: do not return negative values from .get_modes()
      drm/imx/ipuv3: do not return negative values from .get_modes()
      drm/vc4: hdmi: do not return negative values from .get_modes()

Jason A. Donenfeld (2):
      wireguard: netlink: check for dangling peer via is_dead instead of empty list
      wireguard: netlink: access device through ctx instead of peer

Jason Gunthorpe (1):
      vfio: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations

Jens Axboe (1):
      io_uring/net: correctly handle multishot recvmsg retry setup

Jerome Brunet (1):
      nvmem: meson-efuse: fix function pointer type mismatch

Jiawei Wang (1):
      ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"

Jim Mattson (2):
      KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
      KVM: x86: Use a switch statement and macros in __feature_translate()

Joakim Zhang (1):
      remoteproc: virtio: Fix wdg cannot recovery remote processor

Jocelyn Falempe (1):
      drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed

Johannes Berg (1):
      wifi: iwlwifi: fw: don't always use FW dump trig

Johannes Thumshirn (2):
      btrfs: zoned: don't skip block groups with 100% zone unusable
      btrfs: zoned: use zone aware sb location for scrub

John David Anglin (1):
      parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros

John Ogness (1):
      printk: Update @console_may_schedule in console_trylock_spinning()

John Sperbeck (1):
      init: open /initrd.image with O_LARGEFILE

Josef Bacik (1):
      nfs: fix UAF in direct writes

Josua Mayer (1):
      hwmon: (amc6821) add of_match table

KONDO KAZUMA(近藤 和真) (1):
      efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address

Kailang Yang (2):
      ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
      ALSA: hda/realtek - Add Headset Mic supported Acer NB platform

Kees Cook (1):
      init/Kconfig: lower GCC version check for -Warray-bounds

Kevin Loughlin (1):
      x86/sev: Skip ROM range scans and validation for SEV-SNP guests

Kim Phillips (2):
      x86/cpu: Support AMD Automatic IBRS
      x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled

Krishna Kurapati (1):
      usb: gadget: ncm: Fix handling of zero block length packets

Krishna chaitanya chundru (1):
      arm64: dts: qcom: sc7280: Add additional MSI interrupts

Kyle Tso (1):
      usb: typec: Return size of buffer if pd_set operation succeeds

Ladislav Michl (1):
      usb: dwc3-am62: Rename private data

Laurent Pinchart (5):
      media: mc: Add local pad to pipeline regardless of the link state
      media: mc: Fix flags handling when creating pad links
      media: mc: Add num_links flag to media_pad
      media: mc: Rename pad variable to clarify intent
      media: mc: Expand MUST_CONNECT flag to always require an enabled link

Leo Ma (1):
      drm/amd/display: Fix noise issue on HDMI AV mute

Luiz Augusto von Dentz (1):
      Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync

Ma Jun (1):
      drm/amdgpu/pm: Fix the error of pwm1_enable setting

Manivannan Sadhasivam (2):
      PCI: qcom: Rename qcom_pcie_config_sid_sm8250() to reflect IP version
      PCI: qcom: Enable BDF to SID translation properly

Marek Szyprowski (1):
      cpufreq: dt: always allocate zeroed cpumask

Marios Makassikis (1):
      ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info

Martin Blumenstingl (1):
      clocksource/drivers/arm_global_timer: Fix maximum prescaler value

Masami Hiramatsu (Google) (1):
      kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address

Mathias Nyman (1):
      usb: port: Don't try to peer unused USB ports based on location

Matthew Wilcox (Oracle) (2):
      bounds: support non-power-of-two CONFIG_NR_CPUS
      ubifs: Set page uptodate in the correct place

Maulik Shah (1):
      PM: suspend: Set mem_sleep_current during kernel command line setup

Max Filippov (1):
      exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()

Maximilian Heyne (1):
      ext4: fix corruption during on-line resize

Michael Ellerman (3):
      powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
      powerpc/smp: Increase nr_cpu_ids to include the boot CPU
      powerpc/fsl: Fix mfpmr build errors with newer binutils

Michael Kelley (2):
      PCI: hv: Fix ring buffer size calculation
      Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory

Mickaël Salaün (1):
      landlock: Warn once if a Landlock action is requested while disabled

Mikko Rapeli (2):
      mmc: core: Initialize mmc_blk_ioc_data
      mmc: core: Avoid negative index with array access

Miklos Szeredi (2):
      fuse: fix root lookup with nonzero generation
      fuse: don't unhash root

Mikulas Patocka (1):
      dm snapshot: fix lockup in dm_exception_table_exit

Minas Harutyunyan (5):
      usb: dwc2: host: Fix remote wakeup from hibernation
      usb: dwc2: host: Fix hibernation flow
      usb: dwc2: host: Fix ISOC flow in DDMA mode
      usb: dwc2: gadget: Fix exiting from clock gating
      usb: dwc2: gadget: LPM flow fix

Muhammad Usama Anjum (2):
      scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
      scsi: lpfc: Correct size for wqe for memset()

Natanael Copa (1):
      tools/resolve_btfids: fix build with musl libc

Nathan Chancellor (4):
      powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
      kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
      xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
      hexagon: vmlinux.lds.S: handle attributes section

Nicolas Pitre (1):
      vt: fix unicode buffer corruption when deleting characters

Nicolin Chen (1):
      iommu/dma: Force swiotlb_max_mapping_size on an untrusted device

Niklas Cassel (1):
      PCI: dwc: endpoint: Fix advertised resizable BAR size

Nirmoy Das (1):
      drm/i915: Check before removing mm notifier

Oleksandr Tymoshenko (1):
      efi: fix panic in kdump kernel

Oliver Neukum (1):
      usb: cdc-wdm: close race between read and workqueue

Pablo Neira Ayuso (3):
      netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
      netfilter: nf_tables: disallow anonymous set with timeout flag
      netfilter: nf_tables: reject constant set with timeout

Paul Menzel (1):
      PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports

Peter Collingbourne (1):
      serial: Lock console when calling into driver before registration

Philip Yang (1):
      drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag

Philipp Stanner (1):
      pci_iounmap(): Fix MMIO mapping leak

Prashanth K (1):
      usb: xhci: Add error handling in xhci_map_urb_for_dma

Qiang Zhang (1):
      memtest: use {READ,WRITE}_ONCE in memory scanning

Qingliang Li (1):
      PM: sleep: wakeirq: fix wake irq warning in system suspend

Qu Wenruo (1):
      btrfs: qgroup: always free reserved space for extent records

Quinn Tran (6):
      scsi: qla2xxx: Prevent command send on chip reset
      scsi: qla2xxx: Fix N2N stuck connection
      scsi: qla2xxx: Split FCE|EFT trace control
      scsi: qla2xxx: NVME|FCP prefer flag not being honored
      scsi: qla2xxx: Fix command flush on cable pull
      scsi: qla2xxx: Delay I/O Abort on PCI error

Rafael J. Wysocki (1):
      PCI/PM: Drain runtime-idle callbacks before driver removal

Randy Dunlap (2):
      sparc64: NMI watchdog: fix return value of __setup handler
      sparc: vDSO: fix return value of __setup handler

Reinette Chatre (2):
      vfio/pci: Consolidate irq cleanup on MSI/MSI-X disable
      vfio/pci: Remove negative check on unsigned vector

Richard Weinberger (1):
      ubi: Check for too small LEB size in VTBL code

Rickard x Andersson (1):
      tty: serial: imx: Fix broken RS485

Rob Herring (1):
      sparc: Explicitly include correct DT includes

Roberto Sassu (2):
      smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
      smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()

Rodrigo Siqueira (1):
      drm/amd/display: Return the correct HDCP error code

Roger Quadros (1):
      usb: dwc3-am62: fix module unload/reload behavior

Romain Naour (1):
      mmc: sdhci-omap: re-tuning is needed after a pm transition to support emmc HS200 mode

Ryan Roberts (1):
      mm: swap: fix race between free_swap_and_cache() and swapoff()

Ryusuke Konishi (2):
      nilfs2: fix failure to detect DAT corruption in btree and direct mappings
      nilfs2: prevent kernel bug at submit_bh_wbc()

Sabrina Dubroca (1):
      tls: fix use-after-free on failed backlog decryption

Sam Ravnborg (1):
      sparc32: Fix parport build with sparc32

Samuel Thibault (1):
      speakup: Fix 8bit characters from direct synth

Saurav Kashyap (2):
      scsi: qla2xxx: Fix double free of fcport
      scsi: qla2xxx: Change debug message during driver unload

Sean Anderson (2):
      soc: fsl: qbman: Always disable interrupts when taking cgr_lock
      soc: fsl: qbman: Use raw spinlock for cgr_lock

Sean Christopherson (4):
      KVM: x86: Update KVM-only leaf handling to allow for 100% KVM-only leafs
      KVM: Always flush async #PF workqueue when vCPU is being destroyed
      KVM: x86: Mark target gfn of emulated atomic instruction as dirty
      KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()

SeongJae Park (1):
      selftests/mqueue: Set timeout to 180 seconds

Sherry Sun (1):
      tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled

Shivnandan Kumar (1):
      cpufreq: Limit resolving a frequency to policy min/max

Stanislaw Gruszka (1):
      PCI/AER: Block runtime suspend when handling errors

Steven Rostedt (Google) (8):
      ring-buffer: Fix waking up ring buffer readers
      ring-buffer: Do not set shortest_full when full target is hit
      ring-buffer: Fix resetting of shortest_full
      ring-buffer: Fix full_waiters_pending in poll
      ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
      NFSD: Fix nfsd_clid_class use of __string_len() macro
      net: hns3: tracing: fix hclgevf trace event strings
      tracing: Use .flush() call to wake up readers

Sumit Garg (1):
      tee: optee: Fix kernel panic caused by incorrect error handling

Sunmin Jeong (2):
      f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
      f2fs: truncate page cache before clearing flags when aborting atomic write

Svyatoslav Pankratov (1):
      crypto: qat - fix double free during reset

Thomas Gleixner (3):
      timers: Update kernel-doc for various functions
      timers: Use del_timer_sync() even on UP
      timers: Rename del_timer_sync() to timer_delete_sync()

Tony Battersby (1):
      block: Fix page refcounts for unaligned buffers in __bio_release_pages()

Tor Vic (1):
      cpufreq: amd-pstate: Fix min_perf assignment in amd_pstate_adjust_perf()

Toru Katagiri (1):
      USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M

Ville Syrjälä (1):
      drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

Vlastimil Babka (1):
      mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations

Wayne Chang (2):
      phy: tegra: xusb: Add API to retrieve the port number of phy
      usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic

Weitao Wang (1):
      USB: UAS: return ENODEV when submit urbs fail with device not attached

Will Deacon (1):
      swiotlb: Fix alignment checks when both allocation and DMA masks are present

Wolfram Sang (1):
      mmc: tmio: avoid concurrent runs of mmc_request_done()

Xingui Yang (2):
      scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
      scsi: libsas: Fix disk not being scanned in after being removed

Ye Zhang (1):
      thermal: devfreq_cooling: Fix perf state when calculate dfc res_util

Yu Kuai (1):
      dm-raid: fix lockdep waring in "pers->hot_add_disk"

Zack Rusin (1):
      drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

Zhang Yi (1):
      ubi: correct the calculation of fastmap size

Zheng Wang (1):
      wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach

Zi Yan (1):
      mm/migrate: set swap entry values of THP tail pages properly.

Zoltan HERPAI (1):
      pwm: img: fix pwm clock lookup

yuan linyu (1):
      usb: udc: remove warning when queue disabled ep

BUG=b/332837603
TEST=tryjob, validation and K8s e2e
RELEASE_NOTE=Updated the Linux kernel to v6.1.84.

Signed-off-by: Oleksandr Tymoshenko <[email protected]>
Change-Id: Idacbd9ec6acaee349fac8816525200f88636f3bb