Commit Graph

263 Commits

Author SHA1 Message Date
Priyansh Jain
289a1e30a9 drivers: thermal: Update logic in sdpm driver to handle available clocks
SDPM driver probing is failed if any of the clocks configured in
devicetree is not available. Update sdpm driver probe logic to
proceed with the available clocks.

Change-Id: I8e66fb9028fa3f2f4f1b45bf9c2cc16e7e6950a9
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-11-21 11:57:24 +05:30
gnuthaki
f45027fb1d drivers: thermal: thermal_debug: Alloc local buffer variable dynamically
The config buffer is stack variable and it consumes
huge stack memory and hence crosses stack limit.

Use heap memory for config buffer variable and
avoid huge stack memory consumption.

Change-Id: Id9c22439da288fa5f6b56b1c7f10eed3a39115b2
Signed-off-by: gnuthaki <quic_gnuthaki@quicinc.com>
2023-11-02 18:07:26 +05:30
Priyansh Jain
916918bf87 drivers: thermal: qti_bcl_pmic5: use feature variables per bcl peripheral
Some bcl peripheral feature flags are common in driver.
If one of the peripheral enables this feature, it enables
for other peripheral as well. It leads to a problem for
target which shares different versions of bcl peripherals
at same time.

Use feature flag variables ibat_use_qg_adc and no_bit_shift as
peripheral specific in qti_bcl_pmic5 driver.

Change-Id: If3e7cf410cad1e8d59c801a9f716bed17967f805
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-09-19 00:12:46 -07:00
qctecmdr
8c22a74b95 Merge "drivers: thermal: Update buffer index variable type to unsigned" 2023-07-25 04:19:47 -07:00
qctecmdr
b717784dbf Merge "Merge keystone/android12-5.10-keystone-qcom-release.177+ (7f7ea82) into msm-5.10" 2023-07-24 03:31:49 -07:00
gnuthaki
9544acd09a drivers: thermal: Update buffer index variable type to unsigned
Update buffer index variable type to unit32_t to
catch invalid index value.

Change-Id: I4bf67b8be79b58e1fc1d4024e248c96069194f07
Signed-off-by: gnuthaki <quic_gnuthaki@quicinc.com>
2023-07-20 23:08:32 +05:30
Srinivasarao Pathipati
c1db035d70 Merge keystone/android12-5.10-keystone-qcom-release.177+ (7f7ea82) into msm-5.10
* refs/heads/tmp-7f7ea82:
  UPSTREAM: usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
  UPSTREAM: media: rkvdec: fix use after free bug in rkvdec_remove
  UPSTREAM: x86/mm: Avoid using set_pgd() outside of real PGD pages
  UPSTREAM: relayfs: fix out-of-bounds access in relay_file_read
  UPSTREAM: io_uring: hold uring mutex around poll removal
  UPSTREAM: net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
  UPSTREAM: ipvlan:Fix out-of-bounds caused by unclear skb->cb
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: vendor_hook: Add hook to tune readaround size
  ANDROID: vendor_hooks: Add hooks to avoid key threads stalled in memory allocations
  UPSTREAM: f2fs: fix to avoid use-after-free for cached IPU bio
  UPSTREAM: net/sched: cls_u32: Fix reference counter leak leading to overflow
  UPSTREAM: xfs: verify buffer contents when we skip log replay
  UPSTREAM: memstick: r592: Fix UAF bug in r592_remove due to race condition
  BACKPORT: btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()
  ANDROID: ABI: Update oplus symbol list
  ANDROID: Export memcg functions to allow module to add new files
  ANDROID: HID: Only utilise UHID provided exports if UHID is enabled
  UPSTREAM: bluetooth: Perform careful capability checks in hci_sock_ioctl()
  ANDROID: HID; Over-ride default maximum buffer size when using UHID
  UPSTREAM: usb: gadget: f_fs: Add unbind event before functionfs_unbind
  UPSTREAM: net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
  ANDROID: GKI: update symbol list for exynos
  UPSTREAM: mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
  UPSTREAM: mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
  UPSTREAM: 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
  FROMGIT: pstore: Revert pmsg_lock back to a normal mutex
  ANDROID: vendor_hook: Avoid clearing protect-flag before waking waiters
  ANDROID: fix a race between speculative page walk and unmap operations
  BACKPORT: usb: gadget: udc: Handle gadget_connect failure during bind operation
  BACKPORT: usb: dwc3: gadget: Bail out in pullup if soft reset timeout happens
  BACKPORT: f2fs: skip GC if possible when checkpoint disabling
  UPSTREAM: KVM: x86: do not report a vCPU as preempted outside instruction boundaries
  ANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfig
  BACKPORT: net/sched: Retire tcindex classifier
  FROMLIST: usb: xhci: Remove unused udev from xhci_log_ctx trace event
  UPSTREAM: ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: vendor_hook: add hooks in dm_bufio.c
  ANDROID: GKI: Update symbol list for mtk
  UPSTREAM: ext4: fix invalid free tracking in ext4_xattr_move_to_block()
  ANDROID: uid_sys_stats: defer process_notifier work if uid_lock is contended
  Revert "net: mdio: fix owner field for mdio buses registered using device-tree"
  Linux 5.10.177
  hsr: ratelimit only when errors are printed
  gfs2: Always check inode size of inline inodes
  ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
  libbpf: Fix btf_dump's packed struct determination
  selftests/bpf: Add few corner cases to test padding handling of btf_dump
  libbpf: Fix BTF-to-C converter's padding logic
  selftests/bpf: Test btf dump for struct with padding only fields
  zonefs: Fix error message in zonefs_file_dio_append()
  btrfs: scan device in non-exclusive mode
  s390/uaccess: add missing earlyclobber annotations to __clear_user()
  drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
  drm/etnaviv: fix reference leak when mmaping imported buffer
  rcu: Fix rcu_torture_read ftrace event
  xtensa: fix KASAN report for show_stack
  ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
  ALSA: usb-audio: Fix regression on detection of Roland VS-100
  ALSA: hda/conexant: Partial revert of a quirk for Lenovo
  NFSv4: Fix hangs when recovering open state after a server reboot
  powerpc: Don't try to copy PPR for task with NULL pt_regs
  pinctrl: at91-pio4: fix domain name assignment
  pinctrl: amd: Disable and mask interrupts on resume
  net: phy: dp83869: fix default value for tx-/rx-internal-delay
  xen/netback: don't do grant copy across page boundary
  btrfs: fix race between quota disable and quota assign ioctls
  Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
  cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
  cifs: prevent infinite recursion in CIFSGetDFSRefer()
  Input: focaltech - use explicitly signed char type
  Input: alps - fix compatibility with -funsigned-char
  pinctrl: ocelot: Fix alt mode for ocelot
  net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
  bnxt_en: Add missing 200G link speed reporting
  bnxt_en: Fix typo in PCI id to device description string mapping
  i40e: fix registers dump after run ethtool adapter self test
  net: ipa: compute DMA pool size properly
  ALSA: ymfpci: Fix BUG_ON in probe function
  ALSA: ymfpci: Fix assignment in if condition
  s390/vfio-ap: fix memory leak in vfio_ap device driver
  can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
  net: stmmac: don't reject VLANs when IFF_PROMISC is set
  net/net_failover: fix txq exceeding warning
  regulator: Handle deferred clk
  r8169: fix RTL8168H and RTL8107E rx crc error
  ptp_qoriq: fix memory leak in probe()
  scsi: megaraid_sas: Fix crash after a double completion
  sfc: ef10: don't overwrite offload features at NIC reset
  mtd: rawnand: meson: invalidate cache on polling ECC bit
  mips: bmips: BCM6358: disable RAC flush for TP1
  ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
  tracing: Fix wrong return in kprobe_event_gen_test.c
  tools/power turbostat: Fix /dev/cpu_dma_latency warnings
  fbdev: au1200fb: Fix potential divide by zero
  fbdev: lxfb: Fix potential divide by zero
  fbdev: intelfb: Fix potential divide by zero
  fbdev: nvidia: Fix potential divide by zero
  sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
  fbdev: tgafb: Fix potential divide by zero
  ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
  ALSA: asihpi: check pao in control_message()
  net: hsr: Don't log netdev_err message on unknown prp dst node
  md: avoid signed overflow in slot_store()
  fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
  dm crypt: avoid accessing uninitialized tasklet
  bus: imx-weim: fix branch condition evaluates to a garbage value
  drm/meson: fix missing component unbind on bind errors
  drm/meson: Fix error handling when afbcd.ops->init fails
  kcsan: avoid passing -g for test
  kernel: kcsan: kcsan_test: build without structleak plugin
  usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
  usb: dwc3: gadget: move cmd_endtransfer to extra function
  NFSD: fix use-after-free in __nfs42_ssc_open()
  KVM: fix memoryleak in kvm_init()
  xfs: don't reuse busy extents on extent trim
  xfs: shut down the filesystem if we screw up quota reservation
  ocfs2: fix data corruption after failed write
  sched/fair: Sanitize vruntime of entity being migrated
  sched/fair: sanitize vruntime of entity being placed
  dm crypt: add cond_resched() to dmcrypt_write()
  dm stats: check for and propagate alloc_percpu failure
  i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
  firmware: arm_scmi: Fix device node validation for mailbox transport
  tee: amdtee: fix race condition in amdtee_open_session
  drm/i915: Preserve crtc_state->inherited during state clearing
  drm/i915/active: Fix missing debug object activation
  nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
  wifi: mac80211: fix qos on mesh interfaces
  usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
  usb: chipidea: core: fix possible concurrent when switch role
  usb: chipdea: core: fix return -EINVAL if request role is the same with current role
  usb: cdns3: Fix issue with using incorrect PCI device function
  dm thin: fix deadlock when swapping to thin device
  igb: revert rtnl_lock() that causes deadlock
  fsverity: Remove WQ_UNBOUND from fsverity read workqueue
  usb: gadget: u_audio: don't let userspace block driver unbind
  usb: dwc2: fix a devres leak in hw_enable upon suspend resume
  scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
  cifs: empty interface list when server doesn't support query interfaces
  sh: sanitize the flags on sigreturn
  net: usb: qmi_wwan: add Telit 0x1080 composition
  net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
  scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
  scsi: lpfc: Avoid usage of list iterator variable after loop
  scsi: ufs: core: Add soft dependency on governor_simpleondemand
  scsi: hisi_sas: Check devm_add_action() return value
  scsi: target: iscsi: Fix an error message in iscsi_check_key()
  selftests/bpf: check that modifier resolves after pointer
  m68k: Only force 030 bus error if PC not in exception table
  ca8210: fix mac_len negative array access
  HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
  riscv: Bump COMMAND_LINE_SIZE value to 1024
  thunderbolt: Use const qualifier for `ring_interrupt_index`
  thunderbolt: Use scale field when allocating USB3 bandwidth
  uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
  scsi: qla2xxx: Perform lockless command completion in abort path
  hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
  hwmon: fix potential sensor registration fail if of_node is missing
  platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
  Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
  Bluetooth: L2CAP: Fix responding with wrong PDU type
  Bluetooth: L2CAP: Fix not checking for maximum number of DCID
  Bluetooth: btqcomsmd: Fix command timeout after setting BD address
  net: mdio: thunder: Add missing fwnode_handle_put()
  gve: Cache link_speed value from device
  nvme-tcp: fix nvme_tcp_term_pdu to match spec
  net/sonic: use dma_mapping_error() for error check
  erspan: do not use skb_mac_header() in ndo_start_xmit()
  atm: idt77252: fix kmemleak when rmmod idt77252
  net/mlx5: E-Switch, Fix an Oops in error handling code
  net/mlx5: Read the TC mapping of all priorities on ETS query
  net/mlx5: Fix steering rules cleanup
  bpf: Adjust insufficient default bpf_jit_limit
  keys: Do not cache key in task struct if key is requested from kernel thread
  bootconfig: Fix testcase to increase max node
  net/ps3_gelic_net: Use dma_mapping_error
  net/ps3_gelic_net: Fix RX sk_buff length
  net: qcom/emac: Fix use after free bug in emac_remove due to race condition
  net: mdio: fix owner field for mdio buses registered using device-tree
  net: phy: Ensure state transitions are processed from phy_stop()
  xirc2ps_cs: Fix use after free bug in xirc2ps_detach
  qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
  net: usb: smsc95xx: Limit packet length to skb->len
  scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
  i2c: imx-lpi2c: check only for enabled interrupt flags
  igc: fix the validation logic for taprio's gate list
  igbvf: Regard vf reset nack as success
  intel/igbvf: free irq on the error path in igbvf_request_msix()
  iavf: fix non-tunneled IPv6 UDP packet type and hashing
  iavf: fix inverted Rx hash condition leading to disabled hash
  xsk: Add missing overflow check in xdp_umem_reg
  ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
  ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
  power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
  power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
  power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
  net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
  drm/sun4i: fix missing component unbind on bind errors
  serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
  serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
  tty: serial: fsl_lpuart: fix race on RX DMA shutdown
  serial: fsl_lpuart: Fix comment typo
  KVM: Register /dev/kvm as the _very_ last thing during initialization
  KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
  KVM: Optimize kvm_make_vcpus_request_mask() a bit
  KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUs
  KVM: Clean up benign vcpu->cpu data races when kicking vCPUs
  ipmi:ssif: Add a timer between request retries
  ipmi:ssif: resend_msg() cannot fail
  ipmi:ssif: Increase the message retry time
  ipmi:ssif: make ssif_i2c_send() void
  perf: fix perf_event_context->time
  perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
  interconnect: qcom: osm-l3: fix icc_onecell_data allocation
  Revert "HID: core: Provide new max_buffer_size attribute to over-ride the default"
  Revert "HID: uhid: Over-ride the default maximum data buffer value with our own"
  ANDROID: preserve CRC for __irq_domain_add()
  Revert "PCI: loongson: Prevent LS7A MRRS increases"
  Revert "PCI: loongson: Add more devices that need MRRS quirk"
  ANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfig
  Linux 5.10.176
  HID: uhid: Over-ride the default maximum data buffer value with our own
  HID: core: Provide new max_buffer_size attribute to over-ride the default
  xfs: remove xfs_setattr_time() declaration
  fs: use consistent setgid checks in is_sxid()
  attr: use consistent sgid stripping checks
  attr: add setattr_should_drop_sgid()
  fs: move should_remove_suid()
  attr: add in_group_or_capable()
  fs: move S_ISGID stripping into the vfs_*() helpers
  fs: add mode_strip_sgid() helper
  xfs: use setattr_copy to set vfs inode attributes
  xfs: set prealloc flag in xfs_alloc_file_space()
  xfs: fallocate() should call file_modified()
  xfs: remove XFS_PREALLOC_SYNC
  xfs: don't leak btree cursor when insrec fails after a split
  xfs: purge dquots after inode walk fails during quotacheck
  xfs: don't assert fail on perag references on teardown
  PCI/DPC: Await readiness of secondary bus after reset
  PCI: Unify delay handling for reset and resume
  s390/ipl: add missing intersection check to ipl_report handling
  io_uring: avoid null-ptr-deref in io_arm_poll_handler
  drm/i915/active: Fix misuse of non-idle barriers as fence trackers
  drm/i915: Don't use stolen memory for ring buffers with LLC
  x86/mm: Fix use of uninitialized buffer in sme_enable()
  x86/mce: Make sure logged MCEs are processed after sysfs update
  cpuidle: psci: Iterate backwards over list in psci_pd_remove()
  fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
  mmc: sdhci_am654: lower power-on failed message severity
  mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
  ftrace: Fix invalid address access in lookup_rec() when index is 0
  mptcp: avoid setting TCP_CLOSE state twice
  drm/shmem-helper: Remove another errant put in error path
  ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
  ALSA: hda: intel-dsp-config: add MTL PCI id
  KVM: nVMX: add missing consistency checks for CR0 and CR4
  cifs: Fix smb2_set_path_size()
  tracing: Make tracepoint lockdep check actually test something
  tracing: Check field value in hist_field_name()
  tracing: Make splice_read available again
  interconnect: fix mem leak when freeing nodes
  firmware: xilinx: don't make a sleepable memory allocation from an atomic context
  serial: 8250_em: Fix UART port type
  tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
  ext4: fix possible double unlock when moving a directory
  drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
  sh: intc: Avoid spurious sizeof-pointer-div warning
  drm/amdkfd: Fix an illegal memory access
  ext4: fix task hung in ext4_xattr_delete_inode
  ext4: fail ext4_iget if special inode unallocated
  jffs2: correct logic when creating a hole in jffs2_write_begin
  mmc: atmel-mci: fix race between stop command and start of next command
  media: m5mols: fix off-by-one loop termination error
  hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
  hwmon: tmp512: drop of_match_ptr for ID table
  hwmon: (ucd90320) Add minimum delay between bus accesses
  hwmon: (ina3221) return prober error code
  hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
  hwmon: (adt7475) Fix masking of hysteresis registers
  hwmon: (adt7475) Display smoothing attributes in correct order
  ethernet: sun: add check for the mdesc_grab()
  qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
  selftests: net: devlink_port_split.py: skip test if no suitable device available
  net/iucv: Fix size of interrupt data
  net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
  ipv4: Fix incorrect table ID in IOCTL path
  net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
  ice: xsk: disable txq irq before flushing hw
  block: sunvdc: add check for mdesc_grab() returning NULL
  nvmet: avoid potential UAF in nvmet_req_complete()
  nvme: fix handling single range discard request
  block: null_blk: Fix handling of fake timeout request
  null_blk: Move driver into its own directory
  drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
  net: usb: smsc75xx: Limit packet length to skb->len
  net/smc: fix deadlock triggered by cancel_delayed_work_syn()
  nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
  net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
  net: tunnels: annotate lockless accesses to dev->needed_headroom
  qed/qed_dev: guard against a possible division by zero
  net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
  i40e: Fix kernel crash during reboot when adapter is in recovery mode
  ipvlan: Make skb->skb_iif track skb->dev for l3s mode
  nfc: pn533: initialize struct pn533_out_arg properly
  tcp: tcp_make_synack() can be called from process context
  scsi: core: Fix a procfs host directory removal regression
  scsi: core: Fix a comment in function scsi_host_dev_release()
  netfilter: nft_redir: correct value of inet type `.maxattrs`
  netfilter: nft_redir: correct length for loading protocol registers
  netfilter: nft_masq: correct length for loading protocol registers
  netfilter: nft_nat: correct length for loading protocol registers
  ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
  scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
  docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
  clk: HI655X: select REGMAP instead of depending on it
  drm/meson: fix 1px pink line on GXM when scaling video overlay
  cifs: Move the in_send statistic to __smb_send_rqst()
  drm/panfrost: Don't sync rpm suspension after mmu flushing
  xfrm: Allow transport-mode states with AF_UNSPEC selector
  Linux 5.10.175
  s390/dasd: add missing discipline function
  KVM: VMX: Fix crash due to uninitialized current_vmcs
  KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
  KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
  UML: define RUNTIME_DISCARD_EXIT
  sh: define RUNTIME_DISCARD_EXIT
  s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
  powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
  powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
  arch: fix broken BuildID for arm64 and riscv
  ext4: block range must be validated before use in ext4_mb_clear_bb()
  ext4: add strict range checks while freeing blocks
  ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
  ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
  drm/i915: Don't use BAR mappings for ring buffers with LLC
  skbuff: Fix nfct leak on napi stolen
  ipmi:watchdog: Set panic count to proper value on a panic
  ipmi/watchdog: replace atomic_add() and atomic_sub()
  media: rc: gpio-ir-recv: add remove function
  media: ov5640: Fix analogue gain control
  scripts: handle BrokenPipeError for python scripts
  PCI: Add SolidRun vendor ID
  macintosh: windfarm: Use unsigned type for 1-bit bitfields
  alpha: fix R_ALPHA_LITERAL reloc for large modules
  powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
  MIPS: Fix a compilation issue
  block, bfq: fix uaf for bfqq in bic_set_bfqq()
  block, bfq: replace 0/1 with false/true in bic apis
  block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"
  block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
  block, bfq: fix possible uaf for 'bfqq->bic'
  tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
  watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
  iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
  ext4: Fix deadlock during directory rename
  RISC-V: Don't check text_mutex during stop_machine
  riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
  SUNRPC: Fix a server shutdown leak
  net/smc: fix fallback failed while sendmsg with fastopen
  platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
  scsi: megaraid_sas: Update max supported LD IDs to 240
  net: ethernet: mtk_eth_soc: fix RX data corruption issue
  btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
  netfilter: tproxy: fix deadlock due to missing BH disable
  netfilter: ctnetlink: revert to dumping mark regardless of event type
  bnxt_en: Avoid order-5 memory allocation for TPA data
  net: phylib: get rid of unnecessary locking
  net: stmmac: add to set device wake up flag when stmmac init phy
  net: caif: Fix use-after-free in cfusbl_device_notify()
  net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
  net: usb: lan78xx: Remove lots of set but unused 'ret' variables
  selftests: nft_nat: ensuring the listening side is up before starting the client
  ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
  powerpc: dts: t1040rdb: fix compatible string for Rev A boards
  nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
  bgmac: fix *initial* chip reset to support BCM5358
  drm/msm/a5xx: fix context faults during ring switch
  drm/msm/a5xx: fix the emptyness check in the preempt code
  drm/msm: Document and rename preempt_lock
  drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
  drm/msm: Fix potential invalid ptr free
  drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
  drm/nouveau/kms/nv50-: remove unused functions
  ext4: Fix possible corruption when moving a directory
  scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
  riscv: Add header include guards to insn.h
  riscv: Avoid enabling interrupts in die()
  RISC-V: Avoid dereferening NULL regs in die()
  arm64: efi: Make efi_rt_lock a raw_spinlock
  iommu/vt-d: Fix PASID directory pointer coherency
  iommu/vt-d: Fix lockdep splat in intel_pasid_get_entry()
  irqdomain: Fix domain registration race
  irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent
  irqdomain: Fix mapping-creation race
  irqdomain: Refactor __irq_domain_alloc_irqs()
  irqdomain: Look for existing mapping only once
  irq: Fix typos in comments
  udf: Fix off-by-one error when discarding preallocation
  nfc: change order inside nfc_se_io error path
  ext4: zero i_disksize when initializing the bootloader inode
  ext4: fix WARNING in ext4_update_inline_data
  ext4: move where set the MAY_INLINE_DATA flag is set
  ext4: fix another off-by-one fsmap error on 1k block filesystems
  ext4: fix RENAME_WHITEOUT handling for inline directories
  ext4: fix cgroup writeback accounting with fs-layer encryption
  drm/connector: print max_requested_bpc in state debugfs
  drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
  x86/CPU/AMD: Disable XSAVES on AMD family 0x17
  fork: allow CLONE_NEWTIME in clone3 flags
  fs: prevent out-of-bounds array speculation when closing a file descriptor
  Linux 5.10.174
  staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
  staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
  wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
  Linux 5.10.173
  usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
  malidp: Fix NULL vs IS_ERR() checking
  scsi: mpt3sas: Remove usage of dma_get_required_mask() API
  scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
  scsi: mpt3sas: Don't change DMA mask while reallocating pools
  Revert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"
  media: uvcvideo: Fix race condition with usb_kill_urb
  media: uvcvideo: Provide sync and async uvc_ctrl_status_event
  drm/virtio: Fix error code in virtio_gpu_object_shmem_init()
  tcp: Fix listen() regression in 5.10.163
  Bluetooth: hci_sock: purge socket queues in the destruct() callback
  drm/display/dp_mst: Fix down message handling after a packet reception error
  drm/display/dp_mst: Fix down/up message handling after sink disconnect
  x86/resctl: fix scheduler confusion with 'current'
  x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}
  net: tls: avoid hanging tasks on the tx_lock
  soundwire: cadence: Drain the RX FIFO after an IO timeout
  soundwire: cadence: Remove wasted space in response_buf
  phy: rockchip-typec: Fix unsigned comparison with less than zero
  PCI: Add ACS quirk for Wangxun NICs
  PCI: loongson: Add more devices that need MRRS quirk
  kernel/fail_function: fix memory leak with using debugfs_lookup()
  PCI: Take other bus devices into account when distributing resources
  PCI: Align extra resources for hotplug bridges properly
  usb: gadget: uvc: Make bSourceID read/write
  usb: uvc: Enumerate valid values for color matching
  USB: ene_usb6250: Allocate enough memory for full object
  usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
  PCI: loongson: Prevent LS7A MRRS increases
  iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
  iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
  tools/iio/iio_utils:fix memory leak
  mei: bus-fixup:upon error print return values of send and receive
  serial: sc16is7xx: setup GPIO controller later in probe
  tty: serial: fsl_lpuart: disable the CTS when send break signal
  tty: fix out-of-bounds access in tty_driver_lookup_tty()
  staging: emxx_udc: Add checks for dma_alloc_coherent()
  media: uvcvideo: Silence memcpy() run-time false positive warnings
  media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
  media: uvcvideo: Handle errors from calls to usb_string
  media: uvcvideo: Handle cameras with invalid descriptors
  IB/hfi1: Update RMT size calculation
  mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
  bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
  firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
  tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
  thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
  thermal: intel: quark_dts: fix error pointer dereference
  ASoC: zl38060 add gpiolib dependency
  ASoC: zl38060: Remove spurious gpiolib select
  ASoC: adau7118: don't disable regulators on device unbind
  loop: loop_set_status_from_info() check before assignment
  scsi: ipr: Work around fortify-string warning
  rtc: sun6i: Always export the internal oscillator
  vc_screen: modify vcs_size() handling in vcs_read()
  tcp: tcp_check_req() can be called from process context
  ARM: dts: spear320-hmi: correct STMPE GPIO compatible
  net/sched: act_sample: fix action bind logic
  nfc: fix memory leak of se_io context in nfc_genl_se_io
  net/mlx5: Geneve, Fix handling of Geneve object id as error code
  9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
  9p/xen: fix connection sequence
  9p/xen: fix version parsing
  net: fix __dev_kfree_skb_any() vs drop monitor
  sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
  ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
  netfilter: ebtables: fix table blob use-after-free
  netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
  watchdog: pcwd_usb: Fix attempting to access uninitialized memory
  watchdog: Fix kmemleak in watchdog_cdev_register
  watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
  x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
  ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
  ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
  ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
  ubifs: ubifs_writepage: Mark page dirty after writing inode failed
  ubifs: dirty_cow_znode: Fix memleak in error handling path
  ubifs: Re-statistic cleaned znode count if commit failed
  ubi: Fix possible null-ptr-deref in ubi_free_volume()
  ubifs: Fix memory leak in alloc_wbufs()
  ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
  ubi: Fix use-after-free when volume resizing failed
  ubifs: Reserve one leb for each journal head while doing budget
  ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
  ubifs: Fix wrong dirty space budget for dirty inode
  ubifs: Rectify space budget for ubifs_xrename()
  ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
  ubifs: Fix build errors as symbol undefined
  ubi: ensure that VID header offset + VID header size <= alloc, size
  um: vector: Fix memory leak in vector_config
  fs: f2fs: initialize fsdata in pagecache_write()
  f2fs: use memcpy_{to,from}_page() where possible
  pwm: stm32-lp: fix the check on arr and cmp registers update
  pwm: sifive: Always let the first pwm_apply_state succeed
  pwm: sifive: Reduce time the controller lock is held
  objtool: Fix memory leak in create_static_call_sections()
  fs/jfs: fix shift exponent db_agl2size negative
  net/sched: Retire tcindex classifier
  kbuild: Port silent mode detection to future gnu make.
  pinctrl: rockchip: fix reading pull type on rk3568
  pinctrl: rockchip: fix mux route data for rk3568
  wifi: ath9k: use proper statements in conditionals
  arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
  drm/edid: fix AVI infoframe aspect ratio handling
  drm/radeon: Fix eDP for single-display iMac11,2
  drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
  vfio/type1: prevent underflow of locked_vm via exec()
  PCI: Avoid FLR for AMD FCH AHCI adapters
  PCI: hotplug: Allow marking devices as disconnected during bind/unbind
  PCI/PM: Observe reset delay irrespective of bridge_d3
  riscv: jump_label: Fixup unaligned arch_static_branch function
  scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
  scsi: ses: Fix possible desc_ptr out-of-bounds accesses
  scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
  scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
  scsi: ses: Don't attach if enclosure has no components
  scsi: qla2xxx: Fix erroneous link down
  scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
  scsi: qla2xxx: Fix link failure in NPIV environment
  ring-buffer: Handle race between rb_move_tail and rb_check_pages
  ktest.pl: Add RUN_TIMEOUT option with default unlimited
  ktest.pl: Fix missing "end_monitor" when machine check fails
  ktest.pl: Give back console on Ctrt^C on monitor
  mm/thp: check and bail out if page in deferred queue already
  mm: memcontrol: deprecate charge moving
  docs: gdbmacros: print newest record
  remoteproc/mtk_scp: Move clk ops outside send_lock
  media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
  mips: fix syscall_get_nr
  dax/kmem: Fix leak of memory-hotplug resources
  alpha: fix FEN fault handling
  rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
  ARM: dts: exynos: correct TMU phandle in Odroid HC1
  ARM: dts: exynos: correct TMU phandle in Odroid XU
  ARM: dts: exynos: correct TMU phandle in Exynos5250
  ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
  ARM: dts: exynos: correct TMU phandle in Exynos4
  ARM: dts: exynos: correct TMU phandle in Exynos4210
  dm flakey: don't corrupt the zero page
  dm flakey: fix logic when corrupting a bio
  thermal: intel: powerclamp: Fix cur_state for multi package system
  wifi: cfg80211: Fix use after free for wext
  wifi: rtl8xxxu: Use a longer retry limit of 48
  dm: add cond_resched() to dm_wq_work()
  mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
  ext4: refuse to create ea block when umounted
  ext4: optimize ea_inode block expansion
  jbd2: fix data missing when reusing bh which is ready to be checkpointed
  ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
  ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
  io_uring/poll: allow some retries for poll triggering spuriously
  io_uring: remove MSG_NOSIGNAL from recvmsg
  io_uring/rsrc: disallow multi-source reg buffers
  io_uring: add a conditional reschedule to the IOPOLL cancelation loop
  io_uring: mark task TASK_RUNNING before handling resume/task work
  io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
  irqdomain: Drop bogus fwspec-mapping error handling
  irqdomain: Fix disassociation race
  irqdomain: Fix association race
  ima: Align ima_file_mmap() parameters with mmap_file LSM hook
  brd: return 0/-error from brd_insert_page()
  Documentation/hw-vuln: Document the interaction between IBRS and STIBP
  x86/speculation: Allow enabling STIBP with legacy IBRS
  x86/microcode/AMD: Fix mixed steppings support
  x86/microcode/AMD: Add a @cpu parameter to the reloading functions
  x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
  x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
  x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
  x86/reboot: Disable SVM, not just VMX, when stopping CPUs
  x86/reboot: Disable virtualization in an emergency if SVM is supported
  x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
  x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
  KVM: s390: disable migration mode when dirty tracking is disabled
  KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
  KVM: Destroy target device if coalesced MMIO unregistration fails
  udf: Fix file corruption when appending just after end of preallocated extent
  udf: Detect system inodes linked into directory hierarchy
  udf: Preserve link count of system files
  udf: Do not update file length for failed writes to inline files
  udf: Do not bother merging very long extents
  udf: Truncate added extents on failed expansion
  ocfs2: fix non-auto defrag path not working issue
  ocfs2: fix defrag path triggering jbd2 ASSERT
  f2fs: fix cgroup writeback accounting with fs-layer encryption
  f2fs: fix information leak in f2fs_move_inline_dirents()
  exfat: fix inode->i_blocks for non-512 byte sector size device
  exfat: redefine DIR_DELETED as the bad cluster number
  exfat: fix unexpected EOF while reading dir
  exfat: fix reporting fs error when reading dir beyond EOF
  fs: hfsplus: fix UAF issue in hfsplus_put_super
  hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
  ARM: dts: exynos: correct HDMI phy compatible in Exynos4
  cifs: Fix uninitialized memory read in smb3_qfs_tcon()
  s390/kprobes: fix current_kprobe never cleared after kprobes reenter
  s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
  s390: discard .interp section
  s390/extmem: return correct segment type in __segment_load()
  ipmi_ssif: Rename idle state and check
  rtc: pm8xxx: fix set-alarm race
  firmware: coreboot: framebuffer: Ignore reserved pixel color bits
  wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
  nfsd: zero out pointers after putting nfsd_files on COPY setup error
  dm cache: add cond_resched() to various workqueue loops
  dm thin: add cond_resched() to various workqueue loops
  drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
  HID: logitech-hidpp: Don't restart communication if not necessary
  pinctrl: at91: use devm_kasprintf() to avoid potential leaks
  hwmon: (coretemp) Simplify platform device handling
  gfs2: Improve gfs2_make_fs_rw error handling
  regulator: s5m8767: Bounds check id indexing into arrays
  regulator: max77802: Bounds check regulator id against opmode
  ASoC: kirkwood: Iterate over array indexes instead of using pointer math
  docs/scripts/gdb: add necessary make scripts_gdb step
  drm/msm/dsi: Add missing check for alloc_ordered_workqueue
  drm: amd: display: Fix memory leakage
  drm/radeon: free iio for atombios when driver shutdown
  drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
  HID: Add Mapping for System Microphone Mute
  drm/omap: dsi: Fix excessive stack usage
  drm/amd/display: Fix potential null-deref in dm_resume
  Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
  PM: EM: fix memory leak with using debugfs_lookup()
  uaccess: Add minimum bounds check on kernel buffer size
  coda: Avoid partial allocation of sig_inputArgs
  net/mlx5: fw_tracer: Fix debug print
  ACPI: video: Fix Lenovo Ideapad Z570 DMI match
  wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
  m68k: Check syscall_trace_enter() return code
  net: bcmgenet: Add a check for oversized packets
  crypto: hisilicon: Wipe entire pool on error
  clocksource: Suspend the watchdog temporarily when high read latency detected
  ACPI: Don't build ACPICA with '-Os'
  ice: add missing checks for PF vsi type
  inet: fix fast path in __inet_hash_connect()
  wifi: mt7601u: fix an integer underflow
  wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
  x86/bugs: Reset speculation control settings on init
  timers: Prevent union confusion from unexpected restart_syscall()
  thermal: intel: Fix unsigned comparison with less than zero
  wifi: ath11k: debugfs: fix to work with multiple PCI devices
  rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
  rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
  rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
  wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
  wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
  blk-iocost: fix divide by 0 error in calc_lcoefs()
  ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
  udf: Define EFSCORRUPTED error code
  rpmsg: glink: Avoid infinite loop on intent for missing channel
  media: saa7134: Use video_unregister_device for radio_dev
  media: usb: siano: Fix use after free bugs caused by do_submit_urb
  media: i2c: ov7670: 0 instead of -EINVAL was returned
  media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
  media: i2c: imx219: Fix binning for RAW8 capture
  media: i2c: imx219: Split common registers from mode tables
  media: i2c: imx219: remove redundant writes
  media: i2c: ov772x: Fix memleak in ov772x_probe()
  media: ov5675: Fix memleak in ov5675_init_controls()
  media: ov2740: Fix memleak in ov2740_init_controls()
  media: max9286: Fix memleak in max9286_v4l2_register()
  builddeb: clean generated package content
  powerpc: Remove linker flag from KBUILD_AFLAGS
  media: platform: ti: Add missing check for devm_regulator_get
  media: ti: cal: fix possible memory leak in cal_ctx_create()
  remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
  Input: iqs269a - do not poll during ATI
  Input: iqs269a - do not poll during suspend or resume
  alpha/boot/tools/objstrip: fix the check for ELF header
  vdpa/mlx5: Don't clear mr struct on destroy MR
  MIPS: vpe-mt: drop physical_memsize
  MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
  powerpc/eeh: Set channel state after notifying the drivers
  powerpc/eeh: Small refactor of eeh_handle_normal_event()
  powerpc/rtas: ensure 4KB alignment for rtas_data_buf
  powerpc/rtas: make all exports GPL
  powerpc/pseries/lparcfg: add missing RTAS retry status handling
  powerpc/pseries/lpar: add missing RTAS retry status handling
  powerpc/perf/hv-24x7: add missing RTAS retry status handling
  clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
  powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
  clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
  clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
  Input: ads7846 - don't check penirq immediately for 7845
  Input: ads7846 - always set last command to PWRDOWN
  Input: ads7846 - convert to one message
  Input: ads7846 - convert to full duplex
  Input: ads7846 - don't report pressure for ads7845
  clk: imx: avoid memory leak
  clk: renesas: cpg-mssr: Remove superfluous check in resume code
  clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
  linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h>
  Input: iqs269a - configure device with a single block write
  Input: iqs269a - increase interrupt handler return delay
  Input: iqs269a - drop unused device node references
  mtd: rawnand: sunxi: Fix the size of the last OOB region
  RISC-V: fix funct4 definition for c.jalr in parse_asm.h
  clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
  clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
  mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
  objtool: add UACCESS exceptions for __tsan_volatile_read/write
  printf: fix errname.c list
  selftests/ftrace: Fix bash specific "==" operator
  sparc: allow PM configs for sparc32 COMPILE_TEST
  perf tools: Fix auto-complete on aarch64
  leds: led-core: Fix refcount leak in of_led_get()
  perf llvm: Fix inadvertent file creation
  gfs2: jdata writepage fix
  cifs: Fix warning and UAF when destroy the MR list
  cifs: Fix lost destroy smbd connection when MR allocate failed
  nfsd: fix race to check ls_layouts
  hid: bigben_probe(): validate report count
  HID: bigben: use spinlock to safely schedule workers
  HID: bigben_worker() remove unneeded check on report_field
  HID: bigben: use spinlock to protect concurrent accesses
  ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
  spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
  NFS: fix disabling of swap
  nfs4trace: fix state manager flag printing
  NFSv4: keep state manager thread active if swap is enabled
  NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()
  dm: remove flush_scheduled_work() during local_exit()
  ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
  hwmon: (mlxreg-fan) Return zero speed for broken fan
  spi: bcm63xx-hsspi: Fix multi-bit mode setting
  spi: bcm63xx-hsspi: fix pm_runtime
  scsi: aic94xx: Add missing check for dma_map_single()
  scsi: mpt3sas: Fix a memory leak
  drm/amdgpu: fix enum odm_combine_mode mismatch
  hwmon: (ltc2945) Handle error case in ltc2945_value_store
  ASoC: dt-bindings: meson: fix gx-card codec node regex
  ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
  ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
  ASoC: mchp-spdifrx: fix controls that works with completion mechanism
  ASoC: mchp-spdifrx: fix return value in case completion times out
  ASoC: atmel: fix spelling mistakes
  ASoC: mchp-spdifrx: fix controls which rely on rsr register
  spi: dw_bt1: fix MUX_MMIO dependencies
  gpio: vf610: connect GPIO label to dev name
  ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
  drm/mediatek: Clean dangling pointer on bind error path
  drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
  drm/mediatek: Drop unbalanced obj unref
  drm/mediatek: Use NULL instead of 0 for NULL pointer
  drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
  gpu: host1x: Don't skip assigning syncpoints to channels
  pinctrl: mediatek: Initialize variable *buf to zero
  pinctrl: mediatek: Initialize variable pullen and pullup to zero
  pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
  drm/msm/mdp5: Add check for kzalloc
  drm/msm/dpu: Add check for pstates
  drm/msm/dpu: Add check for cstate
  drm/msm: use strscpy instead of strncpy
  drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
  drm/bridge: lt9611: pass a pointer to the of node
  drm/bridge: lt9611: fix clock calculation
  drm/bridge: lt9611: fix programming of video modes
  drm/bridge: lt9611: fix polarity programming
  drm/bridge: lt9611: fix HPD reenablement
  drm/bridge: lt9611: fix sleep mode setup
  drm/msm/dpu: Disallow unallocated resources to be returned
  ALSA: hda/ca0132: minor fix for allocation size
  drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
  ASoC: fsl_sai: initialize is_dsp_mode flag
  drm/vc4: hdmi: Correct interlaced timings again
  drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
  drm/vc4: hvs: Set AXI panic modes
  pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
  pinctrl: rockchip: do coding style for mux route struct
  pinctrl: rockchip: add support for rk3568
  pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
  pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
  drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
  gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
  drm: tidss: Fix pixel format definition
  drm/vc4: dpi: Fix format mapping for RGB565
  drm/vc4: dpi: Add option for inverting pixel clock and output enable
  drm/vkms: Fix null-ptr-deref in vkms_release()
  drm/bridge: megachips: Fix error handling in i2c_register_driver()
  drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
  drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
  drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
  sefltests: netdevsim: wait for devlink instance after netns removal
  selftest: fib_tests: Always cleanup before exit
  net: bcmgenet: fix MoCA LED control
  l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
  selftests/net: Interpret UDP_GRO cmsg data as an int value
  irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
  irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
  bpf: Fix global subprog context argument resolution logic
  can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
  thermal/drivers/hisi: Drop second sensor hi3660
  wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
  crypto: crypto4xx - Call dma_unmap_page when done
  selftests/bpf: Fix out-of-srctree build
  wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
  wifi: iwl4965: Add missing check for create_singlethread_workqueue()
  wifi: iwl3945: Add missing check for create_singlethread_workqueue
  RISC-V: time: initialize hrtimer based broadcast clock event device
  m68k: /proc/hardware should depend on PROC_FS
  crypto: rsa-pkcs1pad - Use akcipher_request_complete
  rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
  libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
  Bluetooth: L2CAP: Fix potential user-after-free
  OPP: fix error checking in opp_migrate_dentry()
  tap: tap_open(): correctly initialize socket uid
  tun: tun_chr_open(): correctly initialize socket uid
  net: add sock_init_data_uid()
  s390/vmem: fix empty page tables cleanup under KASAN
  irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
  irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
  irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
  irqchip: Fix refcount leak in platform_irqchip_probe
  net/mlx5: Enhance debug print in page allocation failure
  bpftool: profile online CPUs instead of possible
  crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
  crypto: ccp - Refactor out sev_fw_alloc()
  leds: led-class: Add missing put_device() to led_put()
  crypto: xts - Handle EBUSY correctly
  net: ethernet: ti: add missing of_node_put before return
  net: ethernet: ti: am65-cpsw: handle deferred probe with dev_err_probe()
  net: ethernet: ti: am65-cpsw: fix tx csum offload for multi mac mode
  x86/microcode: Adjust late loading result reporting message
  x86/microcode: Check CPU capabilities after late microcode update correctly
  x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
  x86/microcode: Print previous version of microcode after reload
  x86/microcode: Default-disable late loading
  x86/microcode: Rip out the OLD_INTERFACE
  x86: Mark stop_this_cpu() __noreturn
  x86/microcode: Replace deprecated CPU-hotplug functions.
  x86/cpu: Init AP exception handling from cpu_init_secondary()
  powercap: fix possible name leak in powercap_register_zone()
  crypto: seqiv - Handle EBUSY correctly
  crypto: essiv - Handle EBUSY correctly
  crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
  ACPI: battery: Fix missing NUL-termination with large strings
  wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
  wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
  wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
  wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
  ath9k: htc: clean up statistics macros
  ath9k: hif_usb: simplify if-if to if-else
  wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
  wifi: orinoco: check return value of hermes_write_wordrec()
  wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
  thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
  thermal/drivers/tsens: Add compat string for the qcom,msm8960
  thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976
  thermal/drivers/tsens: Drop msm8976-specific defines
  ACPICA: nsrepair: handle cases without a return value correctly
  crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
  crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
  crypto: ccp: Use the stack and common buffer for status commands
  crypto: ccp: Use the stack for small SEV command buffers
  lib/mpi: Fix buffer overrun when SG is too long
  rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
  rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
  rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
  genirq: Fix the return type of kstat_cpu_irqs_sum()
  ACPICA: Drop port I/O validation for some regions
  crypto: x86/ghash - fix unaligned access in ghash_setkey()
  wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
  wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
  wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
  wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
  wifi: ipw2200: fix memory leak in ipw_wdev_init()
  wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
  libbpf: Fix btf__align_of() by taking into account field offsets
  wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
  rtlwifi: fix -Wpointer-sign warning
  wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
  wifi: libertas: fix memory leak in lbs_init_adapter()
  wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rsi: Fix memory leak in rsi_coex_attach()
  block: bio-integrity: Copy flags when bio_integrity_payload is cloned
  x86/perf/zhaoxin: Add stepping check for ZXC
  sched/rt: pick_next_rt_entity(): check list_entry
  sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
  s390/dasd: Fix potential memleak in dasd_eckd_init()
  s390/dasd: Prepare for additional path event handling
  blk-mq: correct stale comment of .get_budget
  blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
  blk-mq: avoid sleep in blk_mq_alloc_request_hctx
  arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
  ARM: dts: imx7s: correct iomuxc gpr mux controller cells
  ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
  arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
  arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
  arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
  arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
  arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
  arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
  arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
  arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
  arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
  arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
  ARM: imx: Call ida_simple_remove() for ida_simple_get
  ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
  arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
  ARM: s3c: fix s3c64xx_set_timer_source prototype
  ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
  arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
  arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
  arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
  arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
  arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes
  arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
  arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
  arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
  arm64: dts: meson-gx: Fix Ethernet MAC address unit name
  arm64: dts: qcom: sc7180: correct SPMI bus address cells
  arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
  arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
  ARM: zynq: Fix refcount leak in zynq_early_slcr_init
  arm64: dts: qcom: qcs404: use symbol names for PCIe resets
  ARM: OMAP2+: Fix memory leak in realtime_counter_init()
  powerpc/mm: Rearrange if-else block to avoid clang warning
  HID: asus: use spinlock to safely schedule workers
  HID: asus: use spinlock to protect concurrent accesses
  HID: asus: Remove check for same LED brightness on set
  Linux 5.10.172
  io_uring: ensure that io_init_req() passes in the right issue_flags
  Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property"
  Revert "nvmem: core: remove nvmem_config wp_gpio"
  Revert "nvmem: core: fix cleanup after dev_set_name()"
  Revert "nvmem: core: fix registration vs use race"
  Revert "nvmem: core: fix return value"
  Linux 5.10.171
  io_uring: add missing lock in io_get_file_fixed
  USB: core: Don't hold device lock while reading the "descriptors" sysfs file
  usb: gadget: u_serial: Add null pointer check in gserial_resume
  USB: serial: option: add support for VW/Skoda "Carstick LTE"
  drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
  drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init
  scripts/tags.sh: fix incompatibility with PCRE2
  scripts/tags.sh: Invoke 'realpath' via 'xargs'
  md: Flush workqueue md_rdev_misc_wq in md_alloc()
  vc_screen: don't clobber return value in vcs_read
  net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
  bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
  HID: core: Fix deadloop in hid_apply_multiplier.
  neigh: make sure used and confirmed times are valid
  IB/hfi1: Assign npages earlier
  btrfs: send: limit number of clones and allocated memory size
  ACPI: NFIT: fix a potential deadlock during NFIT teardown
  ARM: dts: rockchip: add power-domains property to dp node on rk3288
  arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
  Fix XFRM-I support for nested ESP tunnels
  Revert "Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property""
  Linux 5.10.170
  bpf: add missing header file include
  Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
  ext4: Fix function prototype mismatch for ext4_feat_ktype
  audit: update the mailing list in MAINTAINERS
  wifi: mwifiex: Add missing compatible string for SD8787
  nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
  nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
  nbd: fix max value for 'first_minor'
  Revert "Revert "block: nbd: add sanity check for first_minor""
  uaccess: Add speculation barrier to copy_from_user()
  mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
  drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
  powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
  can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
  KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
  KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
  KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
  random: always mix cycle counter in add_latent_entropy()
  clk: mxl: syscon_node_to_regmap() returns error pointers
  powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
  clk: mxl: Fix a clk entry by adding relevant flags
  clk: mxl: Add option to override gate clks
  clk: mxl: Remove redundant spinlocks
  clk: mxl: Switch from direct readl/writel based IO to regmap based IO
  wifi: rtl8xxxu: gen2: Turn on the rate control
  drm/etnaviv: don't truncate physical page address
  Linux 5.10.169
  nvmem: core: fix return value
  net: sched: sch: Fix off by one in htb_activate_prios()
  ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
  alarmtimer: Prevent starvation by small intervals and SIG_IGN
  kvm: initialize all of the kvm_debugregs structure before sending it to userspace
  net/sched: tcindex: search key must be 16 bits
  i40e: Add checking for null for nlmsg_find_attr()
  net/sched: act_ctinfo: use percpu stats
  flow_offload: fill flags to action structure
  drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
  drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()
  nilfs2: fix underflow in second superblock position calculations
  ipv6: Fix tcp socket connection with DSCP.
  ipv6: Fix datagram socket connection with DSCP.
  ixgbe: add double of VLAN header when computing the max MTU
  net: mpls: fix stale pointer if allocation fails during device rename
  net: stmmac: Restrict warning on disabling DMA store and fwd mode
  bnxt_en: Fix mqprio and XDP ring checking logic
  net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
  net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
  net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
  dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
  net/sched: tcindex: update imperfect hash filters respecting rcu
  sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
  net: bgmac: fix BCM5358 support by setting correct flags
  i40e: add double of VLAN header when computing the max MTU
  ixgbe: allow to increase MTU to 3K with XDP enabled
  revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
  net: Fix unwanted sign extension in netdev_stats_to_stats64()
  Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
  hugetlb: check for undefined shift on 32 bit architectures
  sched/psi: Fix use-after-free in ep_remove_wait_queue()
  ALSA: hda/realtek - fixed wrong gpio assigned
  ALSA: hda/conexant: add a new hda codec SN6180
  mmc: mmc_spi: fix error handling in mmc_spi_probe()
  mmc: sdio: fix possible resource leaks in some error paths
  mmc: jz4740: Work around bug on JZ4760(B)
  netfilter: nft_tproxy: restrict to prerouting hook
  ovl: remove privs in ovl_fallocate()
  ovl: remove privs in ovl_copyfile()
  s390/signal: fix endless loop in do_signal
  aio: fix mremap after fork null-deref
  nvmem: core: fix registration vs use race
  nvmem: core: fix cleanup after dev_set_name()
  nvmem: core: remove nvmem_config wp_gpio
  nvmem: core: add error handling for dev_set_name
  platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match
  nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
  s390/decompressor: specify __decompress() buf len to avoid overflow
  net: sched: sch: Bounds check priority
  net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
  net/rose: Fix to not accept on connected socket
  tools/virtio: fix the vringh test for virtio ring changes
  ASoC: cs42l56: fix DT probe
  ALSA: hda: Do not unset preset when cleaning up codec
  selftests/bpf: Verify copy_register_state() preserves parent/live fields
  ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml

Change-Id: I1f66c988a4f4f4661c8f74bcd1ad89220081567e
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-07-20 10:51:40 +05:30
gnuthaki
690a5be816 drivers: thermal: Add conditional check before using buffer index
Add conditional check before accessing stats buffer index
to avoid buffer overflow.

Change-Id: I466a8649a624727c34fb27babacab704439a0f83
Signed-off-by: gnuthaki <quic_gnuthaki@quicinc.com>
2023-07-17 10:42:11 -07:00
qctecmdr
3d281edfad Merge "drivers: thermal: Add support for partial CPUs in qti cpufreq driver" 2023-06-15 06:56:33 -07:00
qctecmdr
375dd4c05a Merge "drivers: thermal: Dynamic cpu's support in cpu voltage cooling driver" 2023-06-15 06:56:32 -07:00
qctecmdr
ce5572d16a Merge "drivers: thermal: Update cpu hotplug driver to handle qultivate CPU's" 2023-06-15 06:56:29 -07:00
Priyansh Jain
1393591071 drivers: thermal: Dynamic cpu's support in cpu voltage cooling driver
Add support for dynamic cpu's in cpu voltage cooling driver.

Change-Id: Id8dd7800d230e657c16d853da673cb5e9aaf3ca6
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-06-14 21:02:42 -07:00
Priyansh Jain
623b79ed93 drivers: thermal: Add support for partial CPUs in qti cpufreq driver
Add support to handle first available cpu of each cluster.

Use devicetree node name as cooling device name.

Change-Id: If3d29ee76f1ddac7b600dd547e7bef248f47bd1f
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-06-14 21:02:10 -07:00
Gopala Krishna Nuthaki
82ead97565 drivers: thermal: qcom: Add support to capture bcl stats
Add support to capture different BCL stats like number of
triggers, duration, max mitigation latency, ibat and vbat
data. Data is exposes to userspace clients via debugfs
interface with bcl_stats node.

Change-Id: I9b012316b0fb7053da88c0222f73e790de369bca
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2023-05-29 03:16:02 -07:00
Priyansh Jain
32a6148e3e drivers: thermal: Update cpu hotplug driver to handle qultivate CPU's
Add changes to create cooling device name as per alias defined in
devicetree.

Change-Id: I8d9d119372e2daaeadeab6fb97a0f5c053f0200d
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-05-23 06:32:03 -07:00
Gopala Krishna Nuthaki
b5e885b609 thermal: Update set_bcl_lbat_trip logic to handle multi trip scenario
Update BCL set trip logic to handle multi trip sceanrio.
BCL Lbat thermal zone expects 0x1 as trigger trip threshold.

Change-Id: I0c4d6601c9355a2b09cd0a1b97a014a8312fc0bf
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2023-04-11 23:31:46 -07:00
qctecmdr
6104261dc8 Merge "UPSTREAM: rcu: Remove __read_mostly annotations from rcu_scheduler_active externs" 2023-03-22 22:35:22 -07:00
qctecmdr
04d18f368e Merge "drivers: thermal: qmi_cooling: Add support for extended device list" 2023-03-15 03:51:10 -07:00
Priyansh Jain
7a5a3a4e79 drivers: thermal: qmi_cooling: Add support for extended device list
The QMI TMD get device list supports maximum 32 devices. But there
are targets that support more than 32 QMI TMD devices. To add more
devices support as well as to make sure backward compatibility with
legacy device list, add new optional extended device list variable
in QMI TMD interface. The first 32 devices will be filled in legacy
device list variable and all other devices will be filled with new
extended device list variable.

Add support to qmi cooling device driver to get extended device
list if any.

Change-Id: I530669a9f89f8c9da7bbcc7d486dde76f0a7f3ea
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-03-14 21:55:13 +05:30
Srinivasarao Pathipati
ea066b15fa Merge keystone/android12-5.10-keystone-qcom-release.160+ (d88a616) into msm-5.10
* refs/heads/tmp-d88a616:
  ANDROID: mm/filemap: Fix missing put_page() for speculative page fault
  UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags
  UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags
  UPSTREAM: io_uring: add missing lock in io_get_file_fixed
  UPSTREAM: io_uring: add missing lock in io_get_file_fixed
  ANDROID: ABI: Update allowed list for QCOM
  BACKPORT: iommu: Avoid races around device probe
  UPSTREAM: io_uring/rw: remove leftover debug statement
  UPSTREAM: io_uring/rw: ensure kiocb_end_write() is always called
  UPSTREAM: io_uring: fix double poll leak on repolling
  UPSTREAM: io_uring: Clean up a false-positive warning from GCC 9.3.0
  UPSTREAM: io_uring/net: fix fast_iov assignment in io_setup_async_msg()
  UPSTREAM: io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
  UPSTREAM: io_uring/rw: defer fsnotify calls to task context
  UPSTREAM: io_uring: do not recalculate ppos unnecessarily
  UPSTREAM: io_uring: update kiocb->ki_pos at execution time
  UPSTREAM: io_uring: remove duplicated calls to io_kiocb_ppos
  UPSTREAM: io_uring: ensure that cached task references are always put on exit
  UPSTREAM: io_uring: fix CQ waiting timeout handling
  UPSTREAM: io_uring: lock overflowing for IOPOLL
  UPSTREAM: io_uring: check for valid register opcode earlier
  UPSTREAM: io_uring: fix async accept on O_NONBLOCK sockets
  UPSTREAM: io_uring: allow re-poll if we made progress
  UPSTREAM: io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
  UPSTREAM: io_uring: add flag for disabling provided buffer recycling
  UPSTREAM: io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
  UPSTREAM: io_uring: improve send/recv error handling
  UPSTREAM: io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
  UPSTREAM: io_uring/io-wq: only free worker if it was allocated for creation
  UPSTREAM: io_uring/io-wq: free worker if task_work creation is canceled
  UPSTREAM: io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
  ANDROID: GKI: Enable ARM64_ERRATUM_2454944
  ANDROID: dma-ops: Add restricted vendor hook
  ANDROID: arm64: Work around Cortex-A510 erratum 2454944
  ANDROID: mm/vmalloc: Add override for lazy vunmap
  ANDROID: cpuidle-psci: Fix suspicious RCU usage
  ANDROID: ABI: update allowed list for galaxy
  FROMGIT: f2fs: add sysfs nodes to set last_age_weight
  FROMGIT: f2fs: fix wrong calculation of block age
  ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
  ANDROID: fix up struct task_struct ABI change in 5.10.162
  ANDROID: add flags variable back to struct proto_ops
  UPSTREAM: io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
  UPSTREAM: eventfd: provide a eventfd_signal_mask() helper
  UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/self components"
  UPSTREAM: Revert "proc: don't allow async path resolution of /proc/thread-self components"
  UPSTREAM: net: remove cmsg restriction from io_uring based send/recvmsg calls
  UPSTREAM: task_work: unconditionally run task_work from get_signal()
  UPSTREAM: signal: kill JOBCTL_TASK_WORK
  UPSTREAM: io_uring: import 5.15-stable io_uring
  UPSTREAM: task_work: add helper for more targeted task_work canceling
  UPSTREAM: kernel: don't call do_exit() for PF_IO_WORKER threads
  UPSTREAM: kernel: stop masking signals in create_io_thread()
  UPSTREAM: x86/process: setup io_threads more like normal user space threads
  UPSTREAM: arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()
  UPSTREAM: arch: setup PF_IO_WORKER threads like PF_KTHREAD
  UPSTREAM: entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set
  UPSTREAM: kernel: allow fork with TIF_NOTIFY_SIGNAL pending
  UPSTREAM: coredump: Limit what can interrupt coredumps
  UPSTREAM: kernel: remove checking for TIF_NOTIFY_SIGNAL
  UPSTREAM: task_work: remove legacy TWA_SIGNAL path
  UPSTREAM: alpha: fix TIF_NOTIFY_SIGNAL handling
  UPSTREAM: ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
  UPSTREAM: ia64: don't call handle_signal() unless there's actually a signal queued
  UPSTREAM: sparc: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: riscv: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: nds32: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: ia64: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: h8300: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: c6x: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: alpha: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: xtensa: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: arm: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: microblaze: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: hexagon: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: csky: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: openrisc: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: sh: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: um: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: s390: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: mips: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: powerpc: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: parisc: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: nios32: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: m68k: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: arm64: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: arc: add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: x86: Wire up TIF_NOTIFY_SIGNAL
  UPSTREAM: task_work: Use TIF_NOTIFY_SIGNAL if available
  UPSTREAM: entry: Add support for TIF_NOTIFY_SIGNAL
  UPSTREAM: fs: provide locked helper variant of close_fd_get_file()
  UPSTREAM: file: Rename __close_fd_get_file close_fd_get_file
  UPSTREAM: fs: make do_renameat2() take struct filename
  UPSTREAM: signal: Add task_sigpending() helper
  UPSTREAM: net: add accept helper not installing fd
  UPSTREAM: net: provide __sys_shutdown_sock() that takes a socket
  UPSTREAM: tools headers UAPI: Sync openat2.h with the kernel sources
  UPSTREAM: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
  UPSTREAM: Make sure nd->path.mnt and nd->path.dentry are always valid pointers
  UPSTREAM: fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy*
  UPSTREAM: fs: add support for LOOKUP_CACHED
  UPSTREAM: saner calling conventions for unlazy_child()
  UPSTREAM: iov_iter: add helper to save iov_iter state
  UPSTREAM: kernel: provide create_io_thread() helper
  UPSTREAM: net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
  UPSTREAM: Bluetooth: L2CAP: Fix u8 overflow
  UPSTREAM: HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
  UPSTREAM: HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
  UPSTREAM: HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
  UPSTREAM: HID: ite: Add support for Acer S1002 keyboard-dock
  UPSTREAM: igb: Initialize mailbox message for VF reset
  UPSTREAM: xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
  UPSTREAM: USB: serial: f81534: fix division by zero on line-speed change
  UPSTREAM: USB: serial: f81232: fix division by zero on line-speed change
  UPSTREAM: USB: serial: cp210x: add Kamstrup RF sniffer PIDs
  UPSTREAM: USB: serial: option: add Quectel EM05-G modem
  UPSTREAM: usb: gadget: uvc: Prevent buffer overflow in setup handler
  BACKPORT: f2fs: do not allow to decompress files have FI_COMPRESS_RELEASED
  BACKPORT: f2fs: handle decompress only post processing in softirq
  BACKPORT: f2fs: introduce memory mode
  BACKPORT: f2fs: allow compression for mmap files in compress_mode=user
  UPSTREAM: iommu/iova: Fix alloc iova overflows issue
  UPSTREAM: media: dvb-core: Fix UAF due to refcount races at releasing
  ANDROID: GKI: Add Tuxera symbol list
  UPSTREAM: usb: dwc3: gadget: Skip waiting for CMDACT cleared during endxfer
  UPSTREAM: usb: dwc3: Increase DWC3 controller halt timeout
  UPSTREAM: usb: dwc3: Remove DWC3 locking during gadget suspend/resume
  UPSTREAM: usb: dwc3: Avoid unmapping USB requests if endxfer is not complete
  UPSTREAM: usb: dwc3: gadget: Continue handling EP0 xfercomplete events
  UPSTREAM: usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect
  UPSTREAM: usb: dwc3: gadget: Force sending delayed status during soft disconnect
  UPSTREAM: usb: dwc3: Do not service EP0 and conndone events if soft disconnected
  UPSTREAM: efi: rt-wrapper: Add missing include
  UPSTREAM: arm64: efi: Execute runtime services from a dedicated stack
  ANDROID: cpu: correct dl_cpu_busy() calls
  UPSTREAM: ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
  UPSTREAM: firmware: tegra: Reduce stack usage
  UPSTREAM: scsi: bfa: Move a large struct from the stack onto the heap
  ANDROID: mm: page_pinner: ensure do_div() arguments matches with respect to type
  ANDROID: Revert "ANDROID: allmodconfig: disable WERROR"
  FROMGIT: scsi: ufs: Modify Tactive time setting conditions
  UPSTREAM: remoteproc: core: Fix rproc->firmware free in rproc_set_firmware()
  UPSTREAM: usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
  UPSTREAM: usb: gadget: f_hid: fix f_hidg lifetime vs cdev
  UPSTREAM: usb: gadget: f_hid: optional SETUP/SET_REPORT mode
  ANDROID: GKI: add symbol list file for honor
  ANDROID: add TEST_MAPPING for net/, include/net
  BACKPORT: arm64/bpf: Remove 128MB limit for BPF JIT programs
  ANDROID: usb: f_accessory: Check buffer size when initialised via composite
  BACKPORT: mm: make minimum slab alignment a runtime property
  BACKPORT: printk: stop including cache.h from printk.h
  UPSTREAM: kasan: fix a missing header include of static_keys.h
  BACKPORT: kasan: split kasan_*enabled() functions into a separate header
  UPSTREAM: usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
  UPSTREAM: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
  UPSTREAM: usb: dwc3: gadget: conditionally remove requests
  UPSTREAM: usb: dwc3: ep0: Properly handle setup_packet_pending scenario in data stage
  UPSTREAM: usb: dwc3: gadget: Fix IN endpoint max packet size allocation
  UPSTREAM: usb: dwc3: gadget: Delay issuing End Transfer
  UPSTREAM: usb: dwc3: gadget: Only End Transfer for ep0 data phase
  UPSTREAM: usb: dwc3: ep0: Don't prepare beyond Setup stage
  UPSTREAM: usb: dwc3: gadget: move cmd_endtransfer to extra function
  UPSTREAM: usb: dwc3: gadget: ep_queue simplify isoc start condition
  UPSTREAM: usb: dwc3: gadget: Skip reading GEVNTSIZn
  UPSTREAM: usb: dwc3: gadget: Ignore Update Transfer cmd params
  UPSTREAM: usb: dwc3: gadget: Skip checking Update Transfer status
  UPSTREAM: pstore: Properly assign mem_type property
  Linux 5.10.160
  ASoC: ops: Correct bounds check for second channel on SX controls
  nvme-pci: clear the prp2 field when not used
  ASoC: cs42l51: Correct PGA Volume minimum value
  can: mcba_usb: Fix termination command argument
  can: sja1000: fix size of OCR_MODE_MASK define
  pinctrl: meditatek: Startup with the IRQs disabled
  libbpf: Use page size as max_entries when probing ring buffer map
  ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
  ASoC: fsl_micfil: explicitly clear CHnF flags
  ASoC: fsl_micfil: explicitly clear software reset bit
  io_uring: add missing item types for splice request
  fuse: always revalidate if exclusive create
  nfp: fix use-after-free in area_cache_get()
  vfs: fix copy_file_range() averts filesystem freeze protection
  vfs: fix copy_file_range() regression in cross-fs copies
  x86/smpboot: Move rcu_cpu_starting() earlier
  ANDROID: usb: gadget: uvc: remove duplicate code in unbind
  Linux 5.10.159
  can: esd_usb: Allow REC and TEC to return to zero
  macsec: add missing attribute validation for offload
  net: mvneta: Fix an out of bounds check
  ipv6: avoid use-after-free in ip6_fragment()
  net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
  xen/netback: fix build warning
  ethernet: aeroflex: fix potential skb leak in greth_init_rings()
  tipc: call tipc_lxc_xmit without holding node_read_lock
  net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
  ipv4: Fix incorrect route flushing when table ID 0 is used
  ipv4: Fix incorrect route flushing when source address is deleted
  tipc: Fix potential OOB in tipc_link_proto_rcv()
  net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
  net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
  net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
  ip_gre: do not report erspan version on GRE interface
  net: stmmac: fix "snps,axi-config" node property parsing
  nvme initialize core quirks before calling nvme_init_subsystem
  NFC: nci: Bounds check struct nfc_target arrays
  i40e: Disallow ip4 and ip6 l4_4_bytes
  i40e: Fix for VF MAC address 0
  i40e: Fix not setting default xps_cpus after reset
  net: mvneta: Prevent out of bounds read in mvneta_config_rss()
  xen-netfront: Fix NULL sring after live migration
  net: encx24j600: Fix invalid logic in reading of MISTAT register
  net: encx24j600: Add parentheses to fix precedence
  mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
  selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
  net: dsa: ksz: Check return value
  Bluetooth: Fix not cleanup led when bt_init fails
  Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
  vmxnet3: correctly report encapsulated LRO packet
  af_unix: Get user_ns from in_skb in unix_diag_get_exact().
  drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
  igb: Allocate MSI-X vector when testing
  e1000e: Fix TX dispatch condition
  gpio: amd8111: Fix PCI device reference count leak
  drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
  netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
  ca8210: Fix crash by zero initializing data
  ieee802154: cc2520: Fix error return code in cc2520_hw_init()
  netfilter: nft_set_pipapo: Actually validate intervals in fields after the first one
  rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
  rtc: mc146818-lib: fix locking in mc146818_set_time
  rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
  mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
  can: af_can: fix NULL pointer dereference in can_rcv_filter
  HID: core: fix shift-out-of-bounds in hid_report_raw_event
  HID: hid-lg4ff: Add check for empty lbuf
  HID: usbhid: Add ALWAYS_POLL quirk for some mice
  drm/shmem-helper: Avoid vm_open error paths
  drm/shmem-helper: Remove errant put in error path
  drm/vmwgfx: Don't use screen objects when SEV is active
  KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
  Bluetooth: Fix crash when replugging CSR fake controllers
  Bluetooth: btusb: Add debug message for CSR controllers
  mm/gup: fix gup_pud_range() for dax
  memcg: fix possible use-after-free in memcg_write_event_control()
  media: v4l2-dv-timings.c: fix too strict blanking sanity checks
  Revert "ARM: dts: imx7: Fix NAND controller size-cells"
  media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()
  xen/netback: don't call kfree_skb() with interrupts disabled
  xen/netback: do some code cleanup
  xen/netback: Ensure protocol headers don't fall in the non-linear area
  rtc: mc146818: Reduce spinlock section in mc146818_set_time()
  rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
  rtc: cmos: avoid UIP when reading alarm time
  rtc: cmos: avoid UIP when writing alarm time
  rtc: mc146818-lib: extract mc146818_avoid_UIP
  rtc: mc146818-lib: fix RTC presence check
  rtc: Check return value from mc146818_get_time()
  rtc: mc146818-lib: change return values of mc146818_get_time()
  rtc: cmos: remove stale REVISIT comments
  rtc: mc146818: Dont test for bit 0-5 in Register D
  rtc: mc146818: Detect and handle broken RTCs
  rtc: mc146818: Prevent reading garbage
  mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
  mm/khugepaged: fix GUP-fast interaction by sending IPI
  mm/khugepaged: take the right locks for page table retraction
  net: usb: qmi_wwan: add u-blox 0x1342 composition
  9p/xen: check logical size for buffer size
  usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transfer
  fbcon: Use kzalloc() in fbcon_prepare_logo()
  regulator: twl6030: fix get status of twl6032 regulators
  ASoC: soc-pcm: Add NULL check in BE reparenting
  btrfs: send: avoid unaligned encoded writes when attempting to clone range
  ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
  regulator: slg51000: Wait after asserting CS pin
  9p/fd: Use P9_HDRSZ for header size
  ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
  ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 register
  ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
  ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
  ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
  arm64: dts: rockchip: fix ir-receiver node names
  ARM: dts: rockchip: fix ir-receiver node names
  arm: dts: rockchip: fix node name for hym8563 rtc
  arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
  Revert "mmc: sdhci: Fix voltage switch delay"
  ANDROID: gki_defconfig: add CONFIG_FUNCTION_ERROR_INJECTION
  Linux 5.10.158
  ipc/sem: Fix dangling sem_array access in semtimedop race
  v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
  proc: proc_skip_spaces() shouldn't think it is working on C strings
  proc: avoid integer type confusion in get_proc_long
  block: unhash blkdev part inode when the part is deleted
  Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
  char: tpm: Protect tpm_pm_suspend with locks
  Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
  ACPI: HMAT: Fix initiator registration for single-initiator systems
  ACPI: HMAT: remove unnecessary variable initialization
  i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
  i2c: npcm7xx: Fix error handling in npcm_i2c_init()
  x86/pm: Add enumeration check before spec MSRs save/restore setup
  x86/tsx: Add a feature bit for TSX control MSR support
  Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"
  ipv4: Fix route deletion when nexthop info is not specified
  ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
  selftests: net: fix nexthop warning cleanup double ip typo
  selftests: net: add delete nexthop route warning test
  Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
  parisc: Increase FRAME_WARN to 2048 bytes on parisc
  xtensa: increase size of gcc stack frame check
  parisc: Increase size of gcc stack frame check
  iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
  iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
  pinctrl: single: Fix potential division by zero
  ASoC: ops: Fix bounds check for _sx controls
  io_uring: don't hold uring_lock when calling io_run_task_work*
  tracing: Free buffers when a used dynamic event is removed
  drm/i915: Never return 0 if not all requests retired
  drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
  mmc: sdhci: Fix voltage switch delay
  mmc: sdhci-sprd: Fix no reset data and command after voltage switch
  mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
  mmc: core: Fix ambiguous TRIM and DISCARD arg
  mmc: mmc_test: Fix removal of debugfs file
  net: stmmac: Set MAC's flow control register to reflect current settings
  pinctrl: intel: Save and restore pins in "direct IRQ" mode
  x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
  nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
  tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
  error-injection: Add prompt for function error injection
  riscv: vdso: fix section overlapping under some conditions
  net/mlx5: DR, Fix uninitialized var warning
  hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
  hwmon: (coretemp) Check for null before removing sysfs attrs
  net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
  sctp: fix memory leak in sctp_stream_outq_migrate()
  packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
  net: tun: Fix use-after-free in tun_detach()
  afs: Fix fileserver probe RTT handling
  net: hsr: Fix potential use-after-free
  tipc: re-fetch skb cb after tipc_msg_validate
  dsa: lan9303: Correct stat name
  net: ethernet: nixge: fix NULL dereference
  net/9p: Fix a potential socket leak in p9_socket_open
  net: net_netdev: Fix error handling in ntb_netdev_init_module()
  net: phy: fix null-ptr-deref while probe() failed
  wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
  wifi: cfg80211: don't allow multi-BSSID in S1G
  wifi: cfg80211: fix buffer overflow in elem comparison
  aquantia: Do not purge addresses when setting the number of rings
  qlcnic: fix sleep-in-atomic-context bugs caused by msleep
  can: cc770: cc770_isa_probe(): add missing free_cc770dev()
  can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
  net/mlx5e: Fix use-after-free when reverting termination table
  net/mlx5: Fix uninitialized variable bug in outlen_write()
  e100: Fix possible use after free in e100_xmit_prepare
  e100: switch from 'pci_' to 'dma_' API
  iavf: Fix error handling in iavf_init_module()
  iavf: remove redundant ret variable
  fm10k: Fix error handling in fm10k_init_module()
  i40e: Fix error handling in i40e_init_module()
  ixgbevf: Fix resource leak in ixgbevf_init_module()
  of: property: decrement node refcount in of_fwnode_get_reference_args()
  bpf: Do not copy spin lock field from user in bpf_selem_alloc
  hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
  hwmon: (i5500_temp) fix missing pci_disable_device()
  hwmon: (ina3221) Fix shunt sum critical calculation
  hwmon: (ltc2947) fix temperature scaling
  libbpf: Handle size overflow for ringbuf mmap
  ARM: at91: rm9200: fix usb device clock id
  scripts/faddr2line: Fix regression in name resolution on ppc64le
  bpf, perf: Use subprog name when reporting subprog ksymbol
  iio: light: rpr0521: add missing Kconfig dependencies
  iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
  iio: health: afe4403: Fix oob read in afe4403_read_raw
  btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
  drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
  drm/amdgpu: update drm_display_info correctly when the edid is read
  drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
  btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
  spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
  btrfs: free btrfs_path before copying inodes to userspace
  btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
  Revert "xfrm: fix "disable_policy" on ipv4 early demux"
  ANDROID: CRC ABI fixups in ip.h and ipv6.h
  Linux 5.10.157
  fuse: lock inode unconditionally in fuse_fallocate()
  drm/i915: fix TLB invalidation for Gen12 video and compute engines
  drm/amdgpu: always register an MMU notifier for userptr
  drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
  btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
  btrfs: free btrfs_path before copying subvol info to userspace
  btrfs: free btrfs_path before copying fspath to userspace
  btrfs: free btrfs_path before copying root refs to userspace
  genirq: Take the proposed affinity at face value if force==true
  irqchip/gic-v3: Always trust the managed affinity provided by the core code
  genirq: Always limit the affinity to online CPUs
  genirq/msi: Shutdown managed interrupts with unsatifiable affinities
  wifi: wilc1000: validate number of channels
  wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute
  wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
  wifi: wilc1000: validate pairwise and authentication suite offsets
  dm integrity: clear the journal on suspend
  dm integrity: flush the journal on suspend
  gpu: host1x: Avoid trying to use GART on Tegra20
  net: usb: qmi_wwan: add Telit 0x103a composition
  tcp: configurable source port perturb table size
  platform/x86: hp-wmi: Ignore Smart Experience App event
  zonefs: fix zone report size in __zonefs_io_error()
  platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
  platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
  xen/platform-pci: add missing free_irq() in error path
  xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too
  Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]
  Input: soc_button_array - add use_low_level_irq module parameter
  Input: goodix - try resetting the controller when no config is set
  serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
  ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
  Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
  binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
  binder: Address corner cases in deferred copy and fixup
  binder: fix pointer cast warning
  binder: defer copies of pre-patched txn data
  binder: read pre-translated fds from sender buffer
  binder: avoid potential data leakage when copying txn
  x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
  KVM: x86: remove exit_int_info warning in svm_handle_exit
  KVM: x86: nSVM: leave nested mode on vCPU free
  mm: vmscan: fix extreme overreclaim and swap floods
  gcov: clang: fix the buffer overflow issue
  nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
  usb: dwc3: gadget: Clear ep descriptor last
  usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
  usb: dwc3: gadget: conditionally remove requests
  ceph: fix NULL pointer dereference for req->r_session
  ceph: Use kcalloc for allocating multiple elements
  ceph: fix possible NULL pointer dereference for req->r_session
  ceph: put the requests/sessions when it fails to alloc memory
  ceph: fix off by one bugs in unsafe_request_wait()
  ceph: flush the mdlog before waiting on unsafe reqs
  ceph: flush mdlog before umounting
  ceph: make iterate_sessions a global symbol
  ceph: make ceph_create_session_msg a global symbol
  usb: cdns3: Add support for DRD CDNSP
  mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI
  mmc: sdhci-brcmstb: Enable Clock Gating to save power
  mmc: sdhci-brcmstb: Re-organize flags
  nios2: add FORCE for vmlinuz.gz
  init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
  iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
  iio: light: apds9960: fix wrong register for gesture gain
  arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
  ext4: fix use-after-free in ext4_ext_shift_extents
  usb: dwc3: exynos: Fix remove() function
  lib/vdso: use "grep -E" instead of "egrep"
  net: enetc: preserve TX ring priority across reconfiguration
  net: enetc: cache accesses to &priv->si->hw
  net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled
  s390/crashdump: fix TOD programmable field size
  net: thunderx: Fix the ACPI memory leak
  nfc: st-nci: fix memory leaks in EVT_TRANSACTION
  nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
  arcnet: fix potential memory leak in com20020_probe()
  net: arcnet: Fix RESET flag handling
  s390/dasd: fix no record found for raw_track_access
  ipv4: Fix error return code in fib_table_insert()
  dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
  netfilter: flowtable_offload: add missing locking
  dma-buf: fix racing conflict of dma_heap_add()
  bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
  regulator: twl6030: re-add TWL6032_SUBCLASS
  NFC: nci: fix memory leak in nci_rx_data_packet()
  net: sched: allow act_ct to be built without NF_NAT
  sfc: fix potential memleak in __ef100_hard_start_xmit()
  xfrm: Fix ignored return value in xfrm6_init()
  tipc: check skb_linearize() return value in tipc_disc_rcv()
  tipc: add an extra conn_get in tipc_conn_alloc
  tipc: set con sock in tipc_conn_alloc
  net/mlx5: Fix handling of entry refcount when command is not issued to FW
  net/mlx5: Fix FW tracer timestamp calculation
  netfilter: ipset: regression in ip_set_hash_ip.c
  netfilter: ipset: Limit the maximal range of consecutive elements to add/delete
  Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
  Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
  macsec: Fix invalid error code set
  nfp: add port from netdev validation for EEPROM access
  nfp: fill splittable of devlink_port_attrs correctly
  net: pch_gbe: fix pci device refcount leak while module exiting
  net/qla3xxx: fix potential memleak in ql3xxx_send()
  net/mlx4: Check retval of mlx4_bitmap_init
  net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
  ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
  ARM: mxs: fix memory leak in mxs_machine_init()
  netfilter: conntrack: Fix data-races around ct mark
  9p/fd: fix issue of list_del corruption in p9_fd_cancel()
  net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
  nfc/nci: fix race with opening and closing
  rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
  rxrpc: Use refcount_t rather than atomic_t
  rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc
  net: liquidio: simplify if expression
  ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
  tee: optee: fix possible memory leak in optee_register_device()
  bus: sunxi-rsb: Support atomic transfers
  regulator: core: fix UAF in destroy_regulator()
  spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()
  regulator: core: fix kobject release warning and memory leak in regulator_register()
  scsi: storvsc: Fix handling of srb_status and capacity change events
  ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
  ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
  ASoC: hdac_hda: fix hda pcm buffer overflow issue
  ARM: dts: am335x-pcm-953: Define fixed regulators in root node
  af_key: Fix send_acquire race with pfkey_register
  xfrm: replay: Fix ESN wrap around for GSO
  xfrm: fix "disable_policy" on ipv4 early demux
  MIPS: pic32: treat port as signed integer
  RISC-V: vdso: Do not add missing symbols to version section in linker script
  arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
  block, bfq: fix null pointer dereference in bfq_bio_bfqg()
  drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
  scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC
  scsi: ibmvfc: Avoid path failures during live migration
  platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
  Revert "net: macsec: report real_dev features when HW offloading is enabled"
  selftests/bpf: Add verifier test for release_reference()
  spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
  wifi: mac80211: Fix ack frame idr leak when mesh has no route
  wifi: airo: do not assign -1 to unsigned char
  audit: fix undefined behavior in bit shift for AUDIT_BIT
  riscv: dts: sifive unleashed: Add PWM controlled LEDs
  wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
  wifi: mac80211: fix memory free error when registering wiphy fail
  ceph: avoid putting the realm twice when decoding snaps fails
  ceph: do not update snapshot context when there is no new snapshot
  iio: pressure: ms5611: fixed value compensation bug
  iio: ms5611: Simplify IO callback parameters
  nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
  nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
  drm/display: Don't assume dual mode adaptors support i2c sub-addressing
  bridge: switchdev: Fix memory leaks when changing VLAN protocol
  bridge: switchdev: Notify about VLAN protocol changes
  ata: libata-core: do not issue non-internal commands once EH is pending
  ata: libata-scsi: simplify __ata_scsi_queuecmd()
  scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
  ANDROID: abi preservation for fscrypt change in 5.10.154
  Revert "serial: 8250: Let drivers request full 16550A feature probing"
  Linux 5.10.156
  Revert "net: broadcom: Fix BCMGENET Kconfig"
  ntfs: check overflow when iterating ATTR_RECORDs
  ntfs: fix out-of-bounds read in ntfs_attr_find()
  ntfs: fix use-after-free in ntfs_attr_find()
  mm: fs: initialize fsdata passed to write_begin/write_end interface
  9p/trans_fd: always use O_NONBLOCK read/write
  gfs2: Switch from strlcpy to strscpy
  gfs2: Check sb_bsize_shift after reading superblock
  9p: trans_fd/p9_conn_cancel: drop client lock earlier
  kcm: close race conditions on sk_receive_queue
  kcm: avoid potential race in kcm_tx_work
  tcp: cdg: allow tcp_cdg_release() to be called multiple times
  macvlan: enforce a consistent minimal mtu
  uapi/linux/stddef.h: Add include guards
  Input: i8042 - fix leaking of platform device on module removal
  kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
  scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
  scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
  net: use struct_group to copy ip/ipv6 header addresses
  stddef: Introduce struct_group() helper macro
  usbnet: smsc95xx: Fix deadlock on runtime resume
  ring-buffer: Include dropped pages in counting dirty patches
  net: fix a concurrency bug in l2tp_tunnel_register()
  nvme: ensure subsystem reset is single threaded
  nvme: restrict management ioctls to admin
  perf/x86/intel/pt: Fix sampling using single range output
  misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
  docs: update mediator contact information in CoC doc
  mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
  mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
  mmc: core: properly select voltage range without power cycle
  firmware: coreboot: Register bus in module init
  iommu/vt-d: Set SRE bit only when hardware has SRS cap
  scsi: zfcp: Fix double free of FSF request when qdio send fails
  maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
  Input: iforce - invert valid length check when fetching device IDs
  serial: 8250_lpss: Configure DMA also w/o DMA filter
  serial: 8250: Flush DMA Rx on RLSI
  serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
  dm ioctl: fix misbehavior if list_versions races with module loading
  iio: pressure: ms5611: changed hardcoded SPI speed to value limited
  iio: adc: mp2629: fix potential array out of bound access
  iio: adc: mp2629: fix wrong comparison of channel
  iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
  iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
  usb: typec: mux: Enter safe mode only when pins need to be reconfigured
  usb: chipidea: fix deadlock in ci_otg_del_timer
  usb: add NO_LPM quirk for Realforce 87U Keyboard
  USB: serial: option: add Fibocom FM160 0x0111 composition
  USB: serial: option: add u-blox LARA-L6 modem
  USB: serial: option: add u-blox LARA-R6 00B modem
  USB: serial: option: remove old LARA-R6 PID
  USB: serial: option: add Sierra Wireless EM9191
  USB: bcma: Make GPIO explicitly optional
  speakup: fix a segfault caused by switching consoles
  slimbus: stream: correct presence rate frequencies
  Revert "usb: dwc3: disable USB core PHY management"
  ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
  ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
  ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
  tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
  tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
  tracing: Fix wild-memory-access in register_synth_event()
  tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
  tracing/ring-buffer: Have polling block on watermark
  ring_buffer: Do not deactivate non-existant pages
  ftrace: Fix null pointer dereference in ftrace_add_mod()
  ftrace: Optimize the allocation for mcount entries
  ftrace: Fix the possible incorrect kernel message
  cifs: add check for returning value of SMB2_set_info_init
  net: thunderbolt: Fix error handling in tbnet_init()
  cifs: Fix wrong return value checking when GETFLAGS
  net/x25: Fix skb leak in x25_lapb_receive_frame()
  net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
  cifs: add check for returning value of SMB2_close_init
  platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
  drbd: use after free in drbd_create_device()
  net: ena: Fix error handling in ena_init()
  net: ionic: Fix error handling in ionic_init_module()
  xen/pcpu: fix possible memory leak in register_pcpu()
  bnxt_en: Remove debugfs when pci_register_driver failed
  net: caif: fix double disconnect client in chnl_net_open()
  net: macvlan: Use built-in RCU list checking
  mISDN: fix misuse of put_device() in mISDN_register_device()
  net: liquidio: release resources when liquidio driver open failed
  net: hinic: Fix error handling in hinic_module_init()
  mISDN: fix possible memory leak in mISDN_dsp_element_register()
  net: bgmac: Drop free_netdev() from bgmac_enet_remove()
  bpf: Initialize same number of free nodes for each pcpu_freelist
  ata: libata-transport: fix error handling in ata_tdev_add()
  ata: libata-transport: fix error handling in ata_tlink_add()
  ata: libata-transport: fix error handling in ata_tport_add()
  ata: libata-transport: fix double ata_host_put() in ata_tport_add()
  arm64: dts: imx8mn: Fix NAND controller size-cells
  arm64: dts: imx8mm: Fix NAND controller size-cells
  ARM: dts: imx7: Fix NAND controller size-cells
  drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
  drm/drv: Fix potential memory leak in drm_dev_init()
  drm/panel: simple: set bpc field for logic technologies displays
  pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
  parport_pc: Avoid FIFO port location truncation
  siox: fix possible memory leak in siox_device_add()
  arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
  block: sed-opal: kmalloc the cmd/resp buffers
  sctp: clear out_curr if all frag chunks of current msg are pruned
  sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
  ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
  bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
  tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
  serial: imx: Add missing .thaw_noirq hook
  serial: 8250: omap: Flush PM QOS work on remove
  serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
  serial: 8250_omap: remove wait loop from Errata i202 workaround
  serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
  serial: 8250: Remove serial_rs485 sanitization from em485
  ASoC: tas2764: Fix set_tdm_slot in case of single slot
  ASoC: tas2770: Fix set_tdm_slot in case of single slot
  ASoC: core: Fix use-after-free in snd_soc_exit()
  spi: stm32: Print summary 'callbacks suppressed' message
  drm/amdgpu: disable BACO on special BEIGE_GOBY card
  drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
  drm/amd/pm: Read BIF STRAP also for BACO check
  drm/amd/pm: support power source switch on Sienna Cichlid
  mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
  spi: intel: Use correct mask for flash and protected regions
  mtd: spi-nor: intel-spi: Disable write protection only if asked
  ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
  ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
  Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
  btrfs: remove pointless and double ulist frees in error paths of qgroup tests
  drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
  i2c: i801: add lis3lv02d's I2C address for Vostro 5568
  i2c: tegra: Allocate DMA memory for DMA engine
  NFSv4: Retry LOCK on OLD_STATEID during delegation return
  drm/amd/display: Remove wrong pipe control lock
  ASoC: rt1308-sdw: add the default value of some registers
  selftests/intel_pstate: fix build for ARCH=x86_64
  selftests/futex: fix build for clang
  ASoC: codecs: jz4725b: fix capture selector naming
  ASoC: codecs: jz4725b: use right control for Capture Volume
  ASoC: codecs: jz4725b: fix reported volume for Master ctl
  ASoC: codecs: jz4725b: add missed Line In power control bit
  spi: intel: Fix the offset to get the 64K erase opcode
  ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
  ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
  ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
  ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
  ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
  ANDROID: fix up struct sk_buf ABI breakage
  ANDROID: fix up CRC issue with struct tcp_sock
  Revert "serial: 8250: Toggle IER bits on only after irq has been set up"
  Linux 5.10.155
  io_uring: kill goto error handling in io_sqpoll_wait_sq()
  x86/cpu: Restore AMD's DE_CFG MSR after resume
  mmc: sdhci-esdhc-imx: Convert the driver to DT-only
  net: tun: call napi_schedule_prep() to ensure we own a napi
  dmaengine: at_hdmac: Check return code of dma_async_device_register
  dmaengine: at_hdmac: Fix impossible condition
  dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
  dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
  dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
  dmaengine: at_hdmac: Fix concurrency over the active list
  dmaengine: at_hdmac: Free the memset buf without holding the chan lock
  dmaengine: at_hdmac: Fix concurrency over descriptor
  dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
  dmaengine: at_hdmac: Protect atchan->status with the channel lock
  dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
  dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
  dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
  dmaengine: at_hdmac: Don't start transactions at tx_submit level
  dmaengine: at_hdmac: Fix at_lli struct definition
  cert host tools: Stop complaining about deprecated OpenSSL functions
  can: j1939: j1939_send_one(): fix missing CAN header initialization
  mm/memremap.c: map FS_DAX device memory as decrypted
  udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
  mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
  btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
  platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
  drm/i915/dmabuf: fix sg_table handling in map_dma_buf
  nilfs2: fix use-after-free bug of ns_writer on remount
  nilfs2: fix deadlock in nilfs_count_free_blocks()
  ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
  vmlinux.lds.h: Fix placement of '.data..decrypted' section
  ALSA: usb-audio: Add DSD support for Accuphase DAC-60
  ALSA: usb-audio: Add quirk entry for M-Audio Micro
  ALSA: hda/realtek: Add Positivo C6300 model quirk
  ALSA: hda: fix potential memleak in 'add_widget_node'
  ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
  ALSA: hda/hdmi - enable runtime pm for more AMD display audio
  mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
  mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
  mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
  mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
  MIPS: jump_label: Fix compat branch range check
  arm64: efi: Fix handling of misaligned runtime regions and drop warning
  riscv: fix reserved memory setup
  riscv: Separate memory init from paging init
  riscv: Enable CMA support
  riscv: vdso: fix build with llvm
  riscv: process: fix kernel info leakage
  net: macvlan: fix memory leaks of macvlan_common_newlink
  ethernet: tundra: free irq when alloc ring failed in tsi108_open()
  net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
  ethernet: s2io: disable napi when start nic failed in s2io_card_up()
  net: atlantic: macsec: clear encryption keys from the stack
  net: phy: mscc: macsec: clear encryption keys when freeing a flow
  cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
  net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
  net: cpsw: disable napi in cpsw_ndo_open()
  net/mlx5e: E-Switch, Fix comparing termination table instance
  net/mlx5: Allow async trigger completion execution on single CPU systems
  net: nixge: disable napi when enable interrupts failed in nixge_open()
  net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
  perf stat: Fix printing os->prefix in CSV metrics output
  drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
  dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
  dmaengine: pxa_dma: use platform_get_irq_optional
  tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
  net: broadcom: Fix BCMGENET Kconfig
  net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
  can: af_can: fix NULL pointer dereference in can_rx_register()
  ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
  tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
  drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
  hamradio: fix issue of dev reference count leakage in bpq_device_event()
  net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
  KVM: s390: pv: don't allow userspace to set the clock under PV
  KVM: s390x: fix SCK locking
  capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
  net: fman: Unregister ethernet device on removal
  bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
  bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
  net: tun: Fix memory leaks of napi_get_frags
  macsec: clear encryption keys from the stack after setting up offload
  macsec: fix detection of RXSCs when toggling offloading
  macsec: fix secy->n_rx_sc accounting
  macsec: delete new rxsc when offload fails
  net: gso: fix panic on frag_list with mixed head alloc types
  bpf: Fix wrong reg type conversion in release_reference()
  bpf: Add helper macro bpf_for_each_reg_in_vstate
  bpf: Support for pointers beyond pkt_end.
  HID: hyperv: fix possible memory leak in mousevsc_probe()
  bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
  bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
  wifi: cfg80211: fix memory leak in query_regdb_file()
  wifi: cfg80211: silence a sparse RCU warning
  phy: stm32: fix an error code in probe
  hwspinlock: qcom: correct MMIO max register for newer SoCs
  fuse: fix readdir cache race
  ANDROID: gki_defconfig: remove CONFIG_INIT_STACK_ALL_ZERO=y
  Revert "serial: 8250: Fix restoring termios speed after suspend"
  Linux 5.10.154
  ipc: remove memcg accounting for sops objects in do_semtimedop()
  wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
  drm/i915/sdvo: Setup DDC fully before output init
  drm/i915/sdvo: Filter out invalid outputs more sensibly
  drm/rockchip: dsi: Force synchronous probe
  ext4,f2fs: fix readahead of verity data
  KVM: x86: emulator: update the emulation mode after CR0 write
  KVM: x86: emulator: introduce emulator_recalc_and_set_mode
  KVM: x86: emulator: em_sysexit should update ctxt->mode
  KVM: x86: Mask off reserved bits in CPUID.80000001H
  KVM: x86: Mask off reserved bits in CPUID.80000008H
  KVM: x86: Mask off reserved bits in CPUID.8000001AH
  KVM: x86: Mask off reserved bits in CPUID.80000006H
  ext4: fix BUG_ON() when directory entry has invalid rec_len
  ext4: fix warning in 'ext4_da_release_space'
  parisc: Avoid printing the hardware path twice
  parisc: Export iosapic_serial_irq() symbol for serial port driver
  parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
  perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
  perf/x86/intel: Fix pebs event constraints for ICL
  efi: random: Use 'ACPI reclaim' memory for random seed
  efi: random: reduce seed size to 32 bytes
  fuse: add file_modified() to fallocate
  capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
  tracing/histogram: Update document for KEYS_MAX size
  tools/nolibc/string: Fix memcmp() implementation
  kprobe: reverse kp->flags when arm_kprobe failed
  tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
  tcp/udp: Make early_demux back namespacified.
  ftrace: Fix use-after-free for dynamic ftrace_ops
  btrfs: fix type of parameter generation in btrfs_get_dentry
  coresight: cti: Fix hang in cti_disable_hw()
  binder: fix UAF of alloc->vma in race with munmap()
  memcg: enable accounting of ipc resources
  mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
  tcp/udp: Fix memory leak in ipv6_renew_options().
  fscrypt: fix keyring memory leak on mount failure
  fscrypt: stop using keyrings subsystem for fscrypt_master_key
  fscrypt: simplify master key locking
  ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
  block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
  Bluetooth: L2CAP: Fix attempting to access uninitialized memory
  Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
  i2c: piix4: Fix adapter not be removed in piix4_remove()
  arm64: dts: juno: Add thermal critical trip points
  firmware: arm_scmi: Make Rx chan_setup fail on memory errors
  firmware: arm_scmi: Suppress the driver's bind attributes
  ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
  efi/tpm: Pass correct address to memblock_reserve
  i2c: xiic: Add platform module alias
  drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
  HID: saitek: add madcatz variant of MMO7 mouse device ID
  scsi: core: Restrict legal sdev_state transitions via sysfs
  ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
  media: meson: vdec: fix possible refcount leak in vdec_probe()
  media: dvb-frontends/drxk: initialize err to 0
  media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
  media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
  media: rkisp1: Zero v4l2_subdev_format fields in when validating links
  media: rkisp1: Initialize color space on resizer sink and source pads
  s390/boot: add secure boot trailer
  xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
  mtd: parsers: bcm47xxpart: Fix halfblock reads
  mtd: parsers: bcm47xxpart: print correct offset on read error
  fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
  video/fbdev/stifb: Implement the stifb_fillrect() function
  mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
  mmc: sdhci-pci: Avoid comma separated statements
  mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
  drm/msm/hdmi: fix IRQ lifetime
  drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
  ipv6: fix WARNING in ip6_route_net_exit_late()
  net, neigh: Fix null-ptr-deref in neigh_table_clear()
  net: mdio: fix undefined behavior in bit shift for __mdiobus_register
  Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
  Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
  btrfs: fix ulist leaks in error paths of qgroup self tests
  btrfs: fix inode list leak during backref walking at find_parent_nodes()
  btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
  isdn: mISDN: netjet: fix wrong check of device registration
  mISDN: fix possible memory leak in mISDN_register_device()
  rose: Fix NULL pointer dereference in rose_send_frame()
  ipvs: fix WARNING in ip_vs_app_net_cleanup()
  ipvs: fix WARNING in __ip_vs_cleanup_batch()
  ipvs: use explicitly signed chars
  netfilter: nf_tables: release flow rule object from commit path
  net: tun: fix bugs for oversize packet when napi frags enabled
  net: sched: Fix use after free in red_enqueue()
  ata: pata_legacy: fix pdc20230_set_piomode()
  net: fec: fix improper use of NETDEV_TX_BUSY
  nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
  nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
  nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
  NFC: nxp-nci: remove unnecessary labels
  nfc: fdp: Fix potential memory leak in fdp_nci_send()
  nfc: fdp: drop ftrace-like debugging messages
  RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
  RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
  net: dsa: Fix possible memory leaks in dsa_loop_init()
  nfs4: Fix kmemleak when allocate slot failed
  NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
  NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
  NFSv4: Fix a potential state reclaim deadlock
  IB/hfi1: Correctly move list in sc_disable()
  RDMA/cma: Use output interface for net_dev check
  KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
  KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
  KVM: x86: Protect the unused bits in MSR exiting flags
  x86/topology: Fix duplicated core ID within a package
  x86/topology: Fix multiple packages shown on a single-package system
  x86/topology: Set cpu_die_id only if DIE_TYPE found
  KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
  KVM: x86: Trace re-injected exceptions
  KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
  KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01
  serial: ar933x: Deassert Transmit Enable on ->rs485_config()
  serial: 8250: Let drivers request full 16550A feature probing
  Linux 5.10.153
  serial: Deassert Transmit Enable on probe in driver-specific way
  serial: core: move RS485 configuration tasks from drivers into core
  can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
  arm64/kexec: Test page size support with new TGRAN range values
  arm64/mm: Fix __enable_mmu() for new TGRAN range values
  scsi: sd: Revert "scsi: sd: Remove a local variable"
  arm64: Add AMPERE1 to the Spectre-BHB affected list
  net: enetc: survive memory pressure without crashing
  net/mlx5: Fix crash during sync firmware reset
  net/mlx5: Fix possible use-after-free in async command interface
  net/mlx5e: Do not increment ESN when updating IPsec ESN state
  nh: fix scope used to find saddr when adding non gw nh
  net: ehea: fix possible memory leak in ehea_register_port()
  openvswitch: switch from WARN to pr_warn
  ALSA: aoa: Fix I2S device accounting
  ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
  net: fec: limit register access on i.MX6UL
  PM: domains: Fix handling of unavailable/disabled idle states
  net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
  i40e: Fix flow-type by setting GL_HASH_INSET registers
  i40e: Fix VF hang when reset is triggered on another VF
  i40e: Fix ethtool rx-flow-hash setting for X722
  ipv6: ensure sane device mtu in tunnels
  media: vivid: set num_in/outputs to 0 if not supported
  media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
  media: v4l2-dv-timings: add sanity checks for blanking values
  media: vivid: dev->bitmap_cap wasn't freed in all cases
  media: vivid: s_fbuf: add more sanity checks
  PM: hibernate: Allow hybrid sleep to work with s2idle
  can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
  can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
  tcp: fix indefinite deferral of RTO with SACK reneging
  tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
  tcp: minor optimization in tcp_add_backlog()
  net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
  net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
  kcm: annotate data-races around kcm->rx_wait
  kcm: annotate data-races around kcm->rx_psock
  atlantic: fix deadlock at aq_nic_stop
  amd-xgbe: add the bit rate quirk for Molex cables
  amd-xgbe: fix the SFP compliance codes check for DAC cables
  x86/unwind/orc: Fix unreliable stack dump with gcov
  net: hinic: fix the issue of double release MBOX callback of VF
  net: hinic: fix the issue of CMDQ memory leaks
  net: hinic: fix memory leak when reading function table
  net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
  net: netsec: fix error handling in netsec_register_mdio()
  tipc: fix a null-ptr-deref in tipc_topsrv_accept
  perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
  ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
  ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
  arc: iounmap() arg is volatile
  ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
  drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
  media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
  net: ieee802154: fix error return code in dgram_bind()
  mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
  mm/memory: add non-anonymous page check in the copy_present_page()
  xen/gntdev: Prevent leaking grants
  Xen/gntdev: don't ignore kernel unmapping error
  s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
  s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
  perf auxtrace: Fix address filter symbol name match for modules
  kernfs: fix use-after-free in __kernfs_remove
  counter: microchip-tcb-capture: Handle Signal1 read and Synapse
  mmc: core: Fix kernel panic when remove non-standard SDIO card
  mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
  drm/msm/dp: fix IRQ lifetime
  drm/msm/hdmi: fix memory corruption with too many bridges
  drm/msm/dsi: fix memory corruption with too many bridges
  scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
  mac802154: Fix LQI recording
  exec: Copy oldsighand->action under spin-lock
  fs/binfmt_elf: Fix memory leak in load_elf_binary()
  fbdev: smscufx: Fix several use-after-free bugs
  iio: temperature: ltc2983: allocate iio channels once
  iio: light: tsl2583: Fix module unloading
  tools: iio: iio_utils: fix digit calculation
  xhci: Remove device endpoints from bandwidth list when freeing the device
  xhci: Add quirk to reset host back to default state at shutdown
  mtd: rawnand: marvell: Use correct logic for nand-keep-config
  usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
  usb: bdc: change state when port disconnected
  usb: dwc3: gadget: Don't set IMI for no_interrupt
  usb: dwc3: gadget: Stop processing more requests on IMI
  USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
  ALSA: rme9652: use explicitly signed char
  ALSA: au88x0: use explicitly signed char
  ALSA: Use del_timer_sync() before freeing timer
  can: kvaser_usb: Fix possible completions during init_completion
  can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
  Linux 5.10.152
  udp: Update reuse->has_conns under reuseport_lock.
  mm: /proc/pid/smaps_rollup: fix no vma's null-deref
  blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
  mmc: core: Add SD card quirk for broken discard
  Makefile.debug: re-enable debug info for .S files
  x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
  ACPI: video: Force backlight native for more TongFang devices
  hv_netvsc: Fix race between VF offering and VF association message from host
  perf/x86/intel/pt: Relax address filter validation
  riscv: topology: fix default topology reporting
  arm64: topology: move store_cpu_topology() to shared code
  arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region
  fcntl: fix potential deadlocks for &fown_struct.lock
  fcntl: make F_GETOWN(EX) return 0 on dead owner task
  perf: Skip and warn on unknown format 'configN' attrs
  perf pmu: Validate raw event with sysfs exported format bits
  riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
  riscv: Add machine name to kernel boot log and stack dump output
  mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
  xen/gntdev: Accommodate VMA splitting
  xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
  tracing: Do not free snapshot if tracer is on cmdline
  tracing: Simplify conditional compilation code in tracing_set_tracer()
  dmaengine: mxs: use platform_driver_register
  dmaengine: mxs-dma: Remove the unused .id_table
  drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
  iommu/vt-d: Clean up si_domain in the init_dmars() error path
  iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
  net: phy: dp83822: disable MDI crossover status change interrupt
  net: sched: fix race condition in qdisc_graft()
  net: hns: fix possible memory leak in hnae_ae_register()
  sfc: include vport_id in filter spec hash and equal()
  net: sched: sfb: fix null pointer access issue when sfb_init() fails
  net: sched: delete duplicate cleanup of backlog and qlen
  net: sched: cake: fix null pointer access issue when cake_init() fails
  nvme-hwmon: kmalloc the NVME SMART log buffer
  nvme-hwmon: consistently ignore errors from nvme_hwmon_init
  nvme-hwmon: Return error code when registration fails
  nvme-hwmon: rework to avoid devm allocation
  ionic: catch NULL pointer issue on reconfig
  net: hsr: avoid possible NULL deref in skb_clone()
  cifs: Fix xid leak in cifs_ses_add_channel()
  cifs: Fix xid leak in cifs_flock()
  cifs: Fix xid leak in cifs_copy_file_range()
  net: phy: dp83867: Extend RX strap quirk for SGMII mode
  net/atm: fix proc_mpc_write incorrect return value
  sfc: Change VF mac via PF as first preference if available.
  HID: magicmouse: Do not set BTN_MOUSE on double report
  i40e: Fix DMA mappings leak
  tipc: fix an information leak in tipc_topsrv_kern_subscr
  tipc: Fix recognition of trial period
  ACPI: extlog: Handle multiple records
  btrfs: fix processing of delayed tree block refs during backref walking
  btrfs: fix processing of delayed data refs during backref walking
  r8152: add PID for the Lenovo OneLink+ Dock
  arm64: errata: Remove AES hwcap for COMPAT tasks
  blk-wbt: call rq_qos_add() after wb_normal is initialized
  block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
  media: venus: dec: Handle the case where find_format fails
  media: mceusb: set timeout to at least timeout provided
  KVM: arm64: vgic: Fix exit condition in scan_its_table()
  kvm: Add support for arch compat vm ioctls
  cpufreq: qcom: fix memory leak in error path
  ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
  ata: ahci-imx: Fix MODULE_ALIAS
  hwmon/coretemp: Handle large core ID value
  x86/microcode/AMD: Apply the patch early on every logical thread
  i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
  cpufreq: qcom: fix writes in read-only memory region
  selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
  ocfs2: fix BUG when iput after ocfs2_mknod fails
  ocfs2: clear dinode links count in case of error
  Linux 5.10.151
  kbuild: Add skip_encoding_btf_enum64 option to pahole
  kbuild: Unify options for BTF generation for vmlinux and modules
  kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
  kbuild: Quote OBJCOPY var to avoid a pahole call break the build
  bpf: Generate BTF_KIND_FLOAT when linking vmlinux
  Linux 5.10.150
  Revert "drm/amdgpu: make sure to init common IP before gmc"
  gcov: support GCC 12.1 and newer compilers
  f2fs: fix wrong condition to trigger background checkpoint correctly
  thermal: intel_powerclamp: Use first online CPU as control_cpu
  inet: fully convert sk->sk_rx_dst to RCU rules
  ext4: continue to expand file system when the target size doesn't reach
  Revert "drm/amdgpu: use dirty framebuffer helper"
  Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"
  net/ieee802154: don't warn zero-sized raw_sendmsg()
  Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
  net: ieee802154: return -EINVAL for unknown addr type
  mm: hugetlb: fix UAF in hugetlb_handle_userfault
  io_uring/af_unix: defer registered files gc to io_uring release
  io_uring: correct pinned_vm accounting
  arm64: topology: fix possible overflow in amu_fie_setup()
  perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
  clk: bcm2835: Make peripheral PLLC critical
  usb: idmouse: fix an uninit-value in idmouse_open
  nvmet-tcp: add bounds check on Transfer Tag
  nvme: copy firmware_rev on each init
  staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
  Revert "usb: storage: Add quirk for Samsung Fit flash"
  usb: musb: Fix musb_gadget.c rxstate overflow bug
  usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
  md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
  HID: roccat: Fix use-after-free in roccat_read()
  soundwire: intel: fix error handling on dai registration issues
  soundwire: cadence: Don't overwrite msg->buf during write commands
  bcache: fix set_at_max_writeback_rate() for multiple attached devices
  ata: libahci_platform: Sanity check the DT child nodes number
  blk-throttle: prevent overflow while calculating wait time
  staging: vt6655: fix potential memory leak
  power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
  nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
  scsi: 3w-9xxx: Avoid disabling device if failing to enable it
  usb: host: xhci-plat: suspend/resume clks for brcm
  usb: host: xhci-plat: suspend and resume clocks
  clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
  media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
  clk: zynqmp: Fix stack-out-of-bounds in strncpy`
  btrfs: scrub: try to fix super block errors
  arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
  kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
  ARM: dts: imx6sx: add missing properties for sram
  ARM: dts: imx6sll: add missing properties for sram
  ARM: dts: imx6sl: add missing properties for sram
  ARM: dts: imx6qp: add missing properties for sram
  ARM: dts: imx6dl: add missing properties for sram
  ARM: dts: imx6q: add missing properties for sram
  ARM: dts: imx7d-sdb: config the max pressure for tsc2046
  drm/amd/display: Remove interface for periodic interrupt 1
  drm/dp: Don't rewrite link config when setting phy test pattern
  mmc: sdhci-msm: add compatible string check for sdm670
  drm/meson: explicitly remove aggregate driver at module unload time
  drm/amdgpu: fix initial connector audio value
  ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
  platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
  platform/chrome: cros_ec: Notify the PM of wake events during resume
  drm: panel-orientation-quirks: Add quirk for Anbernic Win600
  drm/vc4: vec: Fix timings for VEC modes
  drm: bridge: dw_hdmi: only trigger hotplug event on link change
  udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
  drm/amd/display: fix overflow on MIN_I64 definition
  gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
  drm: Prevent drm_copy_field() to attempt copying a NULL pointer
  drm: Use size_t type for len variable in drm_copy_field()
  drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
  r8152: Rate limit overflow messages
  Bluetooth: L2CAP: Fix user-after-free
  net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
  wifi: rt2x00: correctly set BBP register 86 for MT7620
  wifi: rt2x00: set SoC wmac clock register
  wifi: rt2x00: set VGC gain for both chains of MT7620
  wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
  wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
  can: bcm: check the result of can_send() in bcm_can_tx()
  Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
  Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
  regulator: core: Prevent integer underflow
  wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
  xfrm: Update ipcomp_scratches with NULL when freed
  wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
  tcp: annotate data-race around tcp_md5sig_pool_populated
  openvswitch: Fix overreporting of drops in dropwatch
  openvswitch: Fix double reporting of drops in dropwatch
  bpftool: Clear errno after libcap's checks
  wifi: brcmfmac: fix invalid address access when enabling SCAN log level
  NFSD: fix use-after-free on source server when doing inter-server copy
  NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
  x86/entry: Work around Clang __bdos() bug
  thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
  powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
  MIPS: BCM47XX: Cast memcmp() of function to (void *)
  ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
  rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
  rcu: Back off upon fill_page_cache_func() allocation failure
  selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
  f2fs: fix to account FS_CP_DATA_IO correctly
  f2fs: fix to avoid REQ_TIME and CP_TIME collision
  f2fs: fix race condition on setting FI_NO_EXTENT flag
  ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
  thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
  crypto: cavium - prevent integer overflow loading firmware
  crypto: marvell/octeontx - prevent integer overflows
  kbuild: rpm-pkg: fix breakage when V=1 is used
  kbuild: remove the target in signal traps when interrupted
  tracing: kprobe: Make gen test module work in arm and riscv
  tracing: kprobe: Fix kprobe event gen test module on exit
  iommu/iova: Fix module config properly
  crypto: qat - fix DMA transfer direction
  crypto: qat - use pre-allocated buffers in datapath
  crypto: qat - fix use of 'dma_map_single'
  crypto: inside-secure - Change swab to swab32
  crypto: ccp - Release dma channels before dmaengine unrgister
  crypto: akcipher - default implementation for setting a private key
  iommu/omap: Fix buffer overflow in debugfs
  cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
  hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
  crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
  crypto: sahara - don't sleep when in softirq
  powerpc: Fix SPE Power ISA properties for e500v1 platforms
  powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
  x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
  powerpc/powernv: add missing of_node_put() in opal_export_attrs()
  powerpc/pci_dn: Add missing of_node_put()
  powerpc/sysdev/fsl_msi: Add missing of_node_put()
  powerpc/math_emu/efp: Include module.h
  mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
  clk: ast2600: BCLK comes from EPLL
  clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
  clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
  clk: baikal-t1: Add SATA internal ref clock buffer
  clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
  clk: baikal-t1: Fix invalid xGMAC PTP clock divider
  clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
  spmi: pmic-arb: correct duplicate APID to PPID mapping logic
  dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
  clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
  mfd: sm501: Add check for platform_driver_register()
  mfd: fsl-imx25: Fix check for platform_get_irq() errors
  mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
  mfd: lp8788: Fix an error handling path in lp8788_probe()
  mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
  mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
  fsi: core: Check error number after calling ida_simple_get
  clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
  scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
  scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
  serial: 8250: Fix restoring termios speed after suspend
  firmware: google: Test spinlock on panic path to avoid lockups
  staging: vt6655: fix some erroneous memory clean-up loops
  phy: qualcomm: call clk_disable_unprepare in the error handling
  tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
  serial: 8250: Toggle IER bits on only after irq has been set up
  serial: 8250: Add an empty line and remove some useless {}
  drivers: serial: jsm: fix some leaks in probe
  usb: gadget: function: fix dangling pnp_string in f_printer.c
  xhci: Don't show warning for reinit on known broken suspend
  IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
  RDMA/cm: Use SLID in the work completion as the DLID in responder side
  md/raid5: Ensure stripe_fill happens on non-read IO with journal
  md: Replace snprintf with scnprintf
  mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
  ata: fix ata_id_has_dipm()
  ata: fix ata_id_has_ncq_autosense()
  ata: fix ata_id_has_devslp()
  ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
  RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
  mtd: rawnand: fsl_elbc: Fix none ECC mode
  mtd: devices: docg3: check the return value of devm_ioremap() in the probe
  dyndbg: drop EXPORTed dynamic_debug_exec_queries
  dyndbg: let query-modname override actual module name
  dyndbg: fix module.dyndbg handling
  dyndbg: fix static_branch manipulation
  dmaengine: hisilicon: Add multi-thread support for a DMA channel
  dmaengine: hisilicon: Fix CQ head update
  dmaengine: hisilicon: Disable channels when unregister hisi_dma
  fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
  misc: ocxl: fix possible refcount leak in afu_ioctl()
  RDMA/rxe: Fix the error caused by qp->sk
  RDMA/rxe: Fix "kernel NULL pointer dereference" error
  media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
  media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
  tty: xilinx_uartps: Fix the ignore_status
  media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
  HSI: omap_ssi_port: Fix dma_map_sg error check
  HSI: omap_ssi: Fix refcount leak in ssi_probe
  clk: tegra20: Fix refcount leak in tegra20_clock_init
  clk: tegra: Fix refcount leak in tegra114_clock_init
  clk: tegra: Fix refcount leak in tegra210_clock_init
  clk: sprd: Hold reference returned by of_get_parent()
  clk: berlin: Add of_node_put() for of_get_parent()
  clk: qoriq: Hold reference returned by of_get_parent()
  clk: oxnas: Hold reference returned by of_get_parent()
  clk: meson: Hold reference returned by of_get_parent()
  usb: common: debug: Check non-standard control requests
  usb: common: move function's kerneldoc next to its definition
  usb: common: add function to get interval expressed in us unit
  usb: common: Parse for USB SSP genXxY
  usb: ch9: Add USB 3.2 SSP attributes
  iio: ABI: Fix wrong format of differential capacitance channel ABI.
  iio: inkern: only release the device node when done with it
  iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
  iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
  iio: adc: at91-sama5d2_adc: check return status for pressure and touch
  iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
  ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
  arm64: ftrace: fix module PLTs with mcount
  ARM: Drop CMDLINE_* dependency on ATAGS
  ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
  soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
  ia64: export memory_add_physaddr_to_nid to fix cxl build error
  ARM: dts: kirkwood: lsxl: remove first ethernet port
  ARM: dts: kirkwood: lsxl: fix serial line
  ARM: dts: turris-omnia: Fix mpp26 pin name and comment
  soc: qcom: smem_state: Add refcounting for the 'state->of_node'
  soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
  memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
  memory: of: Fix refcount leak bug in of_get_ddr_timings()
  memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
  ALSA: hda/hdmi: Don't skip notification handling during PM operation
  ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
  ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
  ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
  ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
  mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
  ALSA: dmaengine: increment buffer pointer atomically
  ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
  drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
  drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
  ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
  mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
  drm/omap: dss: Fix refcount leak bugs
  ALSA: hda: beep: Simplify keep-power-at-enable behavior
  ASoC: rsnd: Add check for rsnd_mod_power_on
  drm/bridge: megachips: Fix a null pointer dereference bug
  drm: fix drm_mipi_dbi build errors
  platform/x86: msi-laptop: Fix resource cleanup
  platform/x86: msi-laptop: Fix old-ec check for backlight registering
  ASoC: tas2764: Fix mute/unmute
  ASoC: tas2764: Drop conflicting set_bias_level power setting
  ASoC: tas2764: Allow mono streams
  platform/chrome: fix memory corruption in ioctl
  platform/chrome: fix double-free in chromeos_laptop_prepare()
  drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
  drm/dp_mst: fix drm_dp_dpcd_read return value checks
  drm/bridge: parade-ps8640: Fix regulator supply order
  drm/mipi-dsi: Detach devices when removing the host
  drm/bridge: Avoid uninitialized variable warning
  drm: bridge: adv7511: fix CEC power down control register offset
  net: mvpp2: fix mvpp2 debugfs leak
  once: add DO_ONCE_SLOW() for sleepable contexts
  net/ieee802154: reject zero-sized raw_sendmsg()
  bnx2x: fix potential memory leak in bnx2x_tpa_stop()
  net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
  spi: Ensure that sg_table won't be used after being freed
  tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
  sctp: handle the error returned from sctp_auth_asoc_init_active_key
  mISDN: fix use-after-free bugs in l1oip timer handlers
  vhost/vsock: Use kvmalloc/kvfree for larger packets.
  wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
  spi: s3c64xx: Fix large transfers with DMA
  netfilter: nft_fib: Fix for rpath check with VRF devices
  Bluetooth: hci_core: Fix not handling link timeouts propertly
  i2c: mlxbf: support lock mechanism
  spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
  spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
  x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
  x86/microcode/AMD: Track patch allocation size explicitly
  wifi: ath11k: fix number of VHT beamformee spatial streams
  Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
  bpf: Ensure correct locking around vulnerable function find_vpid()
  net: fs_enet: Fix wrong check in do_pd_setup
  wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
  wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
  bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
  spi: meson-spicc: do not rely on busy flag in pow2 clk ops
  wifi: rtl8xxxu: Fix skb misuse in TX queue selection
  spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
  spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
  selftests/xsk: Avoid use-after-free on ctx
  wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
  Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
  Bluetooth: btusb: fix excessive stack usage
  Bluetooth: btusb: Fine-tune mt7663 mechanism.
  x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
  spi: mt7621: Fix an error message in mt7621_spi_probe()
  bpftool: Fix a wrong type cast in btf_dumper_int
  wifi: mac80211: allow bw change during channel switch in mesh
  leds: lm3601x: Don't use mutex after it was destroyed
  wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
  nfsd: Fix a memory leak in an error handling path
  objtool: Preserve special st_shndx indexes in elf_update_symbol
  ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
  ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
  MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
  MIPS: SGI-IP27: Free some unused memory
  sh: machvec: Use char[] for section boundaries
  userfaultfd: open userfaultfds with O_RDONLY
  selinux: use "grep -E" instead of "egrep"
  smb3: must initialize two ACL struct fields to zero
  drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
  drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
  drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
  drm/nouveau/kms/nv140-: Disable interlacing
  staging: greybus: audio_helper: remove unused and wrong debugfs usage
  KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
  KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
  KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
  media: cedrus: Set the platform driver data earlier
  efi: libstub: drop pointless get_memory_map() call
  thunderbolt: Explicitly enable lane adapter hotplug events at startup
  tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
  ring-buffer: Fix race between reset page and reading page
  ring-buffer: Add ring_buffer_wake_waiters()
  ring-buffer: Check pending waiters when doing wake ups as well
  ring-buffer: Have the shortest_full queue be the shortest not longest
  ring-buffer: Allow splice to read previous partially read pages
  ftrace: Properly unset FTRACE_HASH_FL_MOD
  livepatch: fix race between fork and KLP transition
  ext4: update 'state->fc_regions_size' after successful memory allocation
  ext4: fix potential memory leak in ext4_fc_record_regions()
  ext4: fix potential memory leak in ext4_fc_record_modified_inode()
  ext4: fix miss release buffer head in ext4_fc_write_inode
  ext4: place buffer head allocation before handle start
  ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
  ext4: don't increase iversion counter for ea_inodes
  ext4: fix check for block being out of directory size
  ext4: make ext4_lazyinit_thread freezable
  ext4: fix null-ptr-deref in ext4_write_info
  ext4: avoid crash when inline data creation follows DIO write
  jbd2: add miss release buffer head in fc_do_one_pass()
  jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
  jbd2: fix potential buffer head reference count leak
  jbd2: wake up journal waiters in FIFO order, not LIFO
  hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
  hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
  hardening: Clarify Kconfig text for auto-var-init
  f2fs: fix to do sanity check on summary info
  f2fs: fix to do sanity check on destination blkaddr during recovery
  f2fs: increase the limit for reserve_root
  btrfs: fix race between quota enable and quota rescan ioctl
  fbdev: smscufx: Fix use-after-free in ufx_ops_open()
  scsi: qedf: Populate sysfs attributes for vport
  powerpc/boot: Explicitly disable usage of SPE instructions
  powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
  PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
  mm/mmap: undo ->mmap() when arch_validate_flags() fails
  block: fix inflight statistics of part0
  drm/udl: Restore display mode on resume
  drm/virtio: Check whether transferred 2D BO is shmem
  nvme-pci: set min_align_mask before calculating max_hw_sectors
  UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
  riscv: Pass -mno-relax only on lld < 15.0.0
  riscv: Make VM_WRITE imply VM_READ
  riscv: Allow PROT_WRITE-only mmap()
  parisc: fbdev/stifb: Align graphics memory size to 4MB
  RISC-V: Make port I/O string accessors actually work
  regulator: qcom_rpm: Fix circular deferral regression
  hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
  ASoC: wcd934x: fix order of Slimbus unprepare/disable
  ASoC: wcd9335: fix order of Slimbus unprepare/disable
  platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
  quota: Check next/prev free block number after reading from quota file
  HID: multitouch: Add memory barriers
  fs: dlm: handle -EBUSY first in lock arg validation
  fs: dlm: fix race between test_bit() and queue_work()
  mmc: sdhci-sprd: Fix minimum clock limit
  can: kvaser_usb_leaf: Fix CAN state after restart
  can: kvaser_usb_leaf: Fix TX queue out of sync after restart
  can: kvaser_usb_leaf: Fix overread with an invalid command
  can: kvaser_usb: Fix use of uninitialized completion
  usb: add quirks for Lenovo OneLink+ Dock
  iio: pressure: dps310: Reset chip after timeout
  iio: pressure: dps310: Refactor startup procedure
  iio: adc: ad7923: fix channel readings for some variants
  iio: ltc2497: Fix reading conversion results
  iio: dac: ad5593r: Fix i2c read protocol requirements
  cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
  cifs: destage dirty pages before re-reading them for cache=none
  mtd: rawnand: atmel: Unmap streaming DMA mappings
  ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
  ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
  ALSA: hda/realtek: Correct pin configs for ASUS G533Z
  ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
  ALSA: usb-audio: Fix NULL dererence at error path
  ALSA: usb-audio: Fix potential memory leaks
  ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
  ALSA: oss: Fix potential deadlock at unregistration

 Conflicts:
	drivers/hwtracing/coresight/coresight-cti-core.c
	drivers/slimbus/stream.c
	drivers/spmi/spmi-pmic-arb.c

Change-Id: I4edd41a5fa2e1fd39baa52869a2df9dd16b962bf
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-03-14 21:44:10 +05:30
Dmitry Baryshkov
695f1d9431 thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
[ Upstream commit a7d3006be5ca7b04e4b84b5ceaae55a700e511bd ]

Tsens driver mentions that msm8976 data should be used for both msm8976
and msm8956 SoCs. This is not quite correct, as according to the
vendor kernels, msm8976 should use standard slope values (3200), while
msm8956 really uses the slope values found in the driver.

Add separate compatibility string for msm8956, move slope value
overrides to the corresponding init function and use the standard
compute_intercept_slope() function for both platforms.

Fixes: 0e58029017 ("thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-7-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:21 +01:00
Dmitry Baryshkov
40f62ff0d7 thermal/drivers/tsens: Add compat string for the qcom,msm8960
[ Upstream commit 2caf73969de6675318a711d0622406c8c66afc03 ]

On apq8064 (msm8960) platforms the tsens device is created manually by
the gcc driver. Prepare the tsens driver for the qcom,msm8960-tsens
device instantiated from the device tree.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220406002648.393486-3-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Stable-dep-of: a7d3006be5ca ("thermal/drivers/tsens: Sort out msm8976 vs msm8956 data")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:20 +01:00
Konrad Dybcio
a9f2002484 thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976
[ Upstream commit 007d81a4519f04fa5ced5e9e28bf70cd753c398d ]

The sensor *is* in fact used and does report temperature.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Acked-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210225213119.116550-1-konrad.dybcio@somainline.org
Stable-dep-of: a7d3006be5ca ("thermal/drivers/tsens: Sort out msm8976 vs msm8956 data")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:20 +01:00
Dmitry Baryshkov
e6ec7fa688 thermal/drivers/tsens: Drop msm8976-specific defines
[ Upstream commit 3bf0ea99e2e32b0335106b86d84404cc85bcd113 ]

Drop msm8976-specific defines, which duplicate generic ones.

Fixes: 0e58029017 ("thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-6-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:20 +01:00
qctecmdr
c9bc136d0a Merge "drivers: thermal: MAX31760: Misc Fixes" 2023-01-10 02:07:17 -08:00
qctecmdr
0a456f1415 Merge "drivers: thermal: qcom: Add support to log tsens init temperatures" 2023-01-09 14:51:27 -08:00
Minghao Zhang
b73ba97edc drivers: thermal: MAX31760: Misc Fixes
This change fixes below items:
1. Add support to show sysfs nodes of fan speed and PWM.
2. Enlarge speed level to maximum value 100.
3. Add one or dual fans initialization.

Change-Id: Ia11ce45a3188109e16a29a41b019b5767efbb0d2
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-01-09 11:29:42 +08:00
qctecmdr
ada9093ad9 Merge "drivers: thermal: Add ipc logging support for tsens driver" 2023-01-06 08:39:01 -08:00
Gopala Krishna Nuthaki
e82c871eab drivers: thermal: qcom: Add support to log tsens init temperatures
Add support to log boot time temperatures of tsens.

Change-Id: I112c9a3cfc2707e6ade1dab8baba841c9c3885f6
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2023-01-05 21:26:14 +05:30
Manaf Meethalavalappu Pallikunhi
b69cfcafb0 drivers: thermal: bcl_pmic5: Update driver to support version4 bcl hardware
Update bcl_pmic5 driver to add support for new version 4 bcl
hardware. It includes ibat scaling factor change and different
registers update.

Based on revision and bcl config registers, differentiate
legacy and new bcl hardware.

Change-Id: I566a9fcfc693c40b0764dc8c27e3205feb58fa82
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2023-01-04 11:59:01 +05:30
Manaf Meethalavalappu Pallikunhi
aea583e6b9 drivers: thermal: Add ipc logging support for tsens driver
Add ipc logging support to tsens driver. It enables two separate ipc
logging circular buffer for tsens. The first one dumps different
temperature sensor read value whenever there is a read request.
The second one dumps different sensor thresholds, interrupt status etc.
whenever there is tsens interrupt trigger or set trip call from
thermal framework.

Change-Id: Ic132588256acac89da4b4755ac55e60f76859b21
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2023-01-04 11:03:45 +05:30
Priyansh Jain
74ca1a6ab3 drivers: thermal: qcom: Update adc ibat conversion formula for qg adc
Update adc to ibat and ibat to adc conversion formula for qg adc.

Change-Id: I6bf845e7f2802410f5e9a670244d3417d1585bf6
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-12-28 23:54:43 -08:00
qctecmdr
df73b3d548 Merge "arm64: defconfig: Enable AOP regulator cooling device driver" 2022-12-08 16:44:56 -08:00
Priyansh Jain
c2996066fe drivers: thermal: qcom: Add tristate selection of AOP regulator driver
Add tristate selection of AOP regulator cooling device driver instead
of bool.

Change-Id: I4915c48622daf803d1f1f8b3b8d2197aab9250a4
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-12-06 20:25:29 -08:00
Nitesh Kumar
233fa85a69 drivers: thermal: qmi_cooling: Add new sub1 qmi tmd support
Add new sub1 qmi thermal mitigation device support.

Change-Id: I743eb3aed713d4c73279ddc1fa0a115217336e3f
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2022-12-06 03:26:20 -08:00
Priyansh Jain
1ee179e875 drivers: thermal: qmi_sensor: Add support for sub0 thermistors
Add support for sub0 virtual sensor.The support includes
for the qmi sensors modem_cfg, lte_cc, mcg_fr1_cc,
mcg_fr2_cc, scg_fr1_cc, scg_fr2_cc.

Change-Id: Ifd7440090d1ec37c3e4ecfa6c576fcb5372922b4
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-12-05 19:33:53 -08:00
Vincent Knecht
dce07e87ee thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
[ Upstream commit b0c883e900702f408d62cf92b0ef01303ed69be9 ]

Reading temperature from this sensor fails with 'Invalid argument'.

Looking at old vendor dts [1], its hw_id should be 3 instead of 4.
Change this hw_id accordingly.

[1] https://github.com/msm8916-mainline/android_kernel_qcom_msm8916/blob/master/arch/arm/boot/dts/qcom/msm8939-common.dtsi#L511

Fixes: 332bc8ebab ("thermal: qcom: tsens-v0_1: Add support for MSM8939")
Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20220811105014.7194-1-vincent.knecht@mailoo.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:25:43 +02:00
Priyansh Jain
5b258e8a90 drivers: thermal: qcom: Add support for trend estimation
Add support for trend estimation callback. Since default step_wise
governor doesn't check trip hysteresis for handling trips, the
monitor kind of thermal zone mitigation won't work properly if
a thermal zone has both step wise trip and monitor type trip.
In this case, it clears mitigation just below trip temperature.
At the same time, for step wise mitigation, we want above step
wise governor behaviour.

To address this issue, add vendor specific trend estimation callback
for sensor driver. It treats 'active' trip type as monitor type trip
and return a stable trend only if temperature is less than trip
temperature and greater than (trip_temp - hysteresis). All other
cases, it falls back to default behaviour.

Change-Id: Idcd03891584fff549ab5c9cc702d83756a0a2552
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-10-12 15:48:41 +05:30
Manaf Meethalavalappu Pallikunhi
722ac7710e drivers: thermal: qcom: Add support to thermal vendor callbacks
The thermal pause driver registers thermal cooling stats disable
vendor hook. It disables thermal cooling stats feature for different
cooling devices.

Change-Id: I89fb8037e2c5670e11c73c02e8a0103b753a41ca
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2022-10-09 22:41:33 -07:00
Minghao Zhang
5115d35e98 drivers: thermal: MAX31760: Maxim Fan Controller Driver
This adds support for MAX31760 Fan Controller.
Fan is enabled and its speed can be controlled.

Change-Id: Ibe0d67f4d9699bcf3bfa58e034743bb8263dda6c
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2022-08-30 18:26:18 +08:00
David Collins
cc5c340e95 thermal: qcom-spmi-temp-alarm: add support for LITE PMIC peripherals
Add support for TEMP_ALARM LITE PMIC peripherals.  This subtype
utilizes a pair of registers to configure a warning interrupt
threshold temperature and an automatic hardware shutdown
threshold temperature.

Change-Id: I9a225eb6f3471d834ef0fa99c2d87361eb14759d
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2022-07-14 04:58:01 -07:00
qctecmdr
e8e3e20544 Merge "drivers: thermal: bcl_soc: Add trip clear threshold monitor support" 2022-07-06 23:39:52 -07:00
qctecmdr
96867a9e8d Merge "drivers: thermal: Add AOP regulator cdev driver snapshot" 2022-07-05 02:52:28 -07:00
Priyansh Jain
e08c0faf1d drivers: thermal: Add AOP regulator cdev driver snapshot
Add AOP based regulator cooling device from kernel 4.14. This is snapshot
as of 'commit <c4479a55f> ("drivers: regulator_aop: Add snapshot for
AOP regulator cdev")'.
Updates:
	- Reverse the voting logic

Change-Id: I410a9fd719b5f500d60af0344309eb0c61b708c3
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-07-04 10:17:25 +05:30
Manaf Meethalavalappu Pallikunhi
47df0537bc drivers: thermal: bcl_soc: Add trip clear threshold monitor support
The bcl socd sensor can be used in both from kernel thermal framework or
from userspace thermal manager. The userspace manager might expect both
trigger and clear trip violation notification.

Add support to monitor clear threshold and notify framework on trip
clear violation.

Change-Id: Ife29fa11645099b60a13d54efcf291d09e08de2c
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2022-06-30 10:25:16 +05:30
Priyansh Jain
9d565b087c drivers: thermal: Add cold temperature interrupt support in tsens driver
Add cold temperature interrupt handling support in tsens driver.

Change-Id: I9a6bb653882bc59368396181cd9fb019f90ca90b
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-06-23 10:50:17 +05:30
Priyansh Jain
793059598e drivers: thermal: qmi_sensor: Add new sdr thermistors
Add new sdr thermistors support.

Change-Id: I1ddc601cb46a8bf5b837009db0a2bbbac79e84b9
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-05-16 11:55:09 +05:30
qctecmdr
79bd56483a Merge "drivers: thermal: Add sensor name to tsens temperature logging" 2022-04-16 16:29:12 -07:00
Gopala Krishna Nuthaki
151b734629 drivers: thermal: Add sensor name to tsens temperature logging
Add sensor name to tsens temperature ipc log.

Change-Id: I0c1ea8a64756a79ac0b03b4734002da59c61907c
Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2022-04-08 00:17:18 +05:30
Priyansh Jain
2a0abf5b76 drivers: thermal: enable wakeup irq for bcl
Enable wakeup capable irq for bcl.This change is required
to receive bcl events even when apps subsystem is in
suspended mode.There are possible scenarios where apps
can be suspended and still other subsystem like CDSP,
modem etc. can be still active and can consume more
battery power. It can cause BCL trigger even when
apps is suspended.

Change-Id: If0683e5dc28f51e9a49fbc656b6fc5640783f024
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-03-22 20:59:11 +05:30