Commit Graph

6866 Commits

Author SHA1 Message Date
Sivasri Kumar, Vanka
682c074515 Merge keystone/android12-5.10-keystone-qcom-release.66+ (3499d10) into msm-5.10
* refs/heads/tmp-3499d10:
  ANDROID: GKI: rockchip: Enable symbols for pinctrl and rk8xx
  ANDROID: GKI: rockchip: Enable symbols for typec
  ANDROID: GKI: rockchip: Add build script
  ANDROID: GKI: Add some symbols to symbol list to support vendor module
  UPSTREAM:  core: Add L2P entry swap quirk for Micron UFS
  ANDROID: gki_defconfig: remove CONFIG_UBSAN_MISC entry
  UPSTREAM: ubsan: remove overflow checks
  UPSTREAM: ubsan: disable unsigned-overflow check for i386
  UPSTREAM: ubsan: expand tests and reporting
  UPSTREAM: ubsan: remove UBSAN_MISC in favor of individual options
  UPSTREAM: ubsan: enable for all*config builds
  UPSTREAM: ubsan: disable UBSAN_TRAP for all*config
  UPSTREAM: ubsan: disable object-size sanitizer under GCC
  UPSTREAM: ubsan: move cc-option tests into Kconfig
  UPSTREAM: ubsan: remove redundant -Wno-maybe-uninitialized
  UPSTREAM: mm/mremap: fix BUILD_BUG_ON() error in get_extent
  FROMGIT: dma-buf: system_heap: Avoid warning on mid-order allocations
  ANDROID: mm: cma: disable LRU cache early
  ANDROID: GKI: update virtual device symbol list for led audio driver.
  Linux 5.10.66
  Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
  Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
  Revert "block: nbd: add sanity check for first_minor"
  Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
  Linux 5.10.65
  clk: kirkwood: Fix a clocking boot regression
  backlight: pwm_bl: Improve bootloader/kernel device handover
  fbmem: don't allow too huge resolutions
  IMA: remove the dependency on CRYPTO_MD5
  IMA: remove -Wmissing-prototypes warning
  fuse: flush extending writes
  fuse: truncate pagecache on atomic_o_trunc
  ARM: dts: at91: add pinctrl-{names, 0} for all gpios
  KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
  KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
  KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
  KVM: s390: index kvm->arch.idle_mask by vcpu_idx
  Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
  x86/resctrl: Fix a maybe-uninitialized build warning treated as error
  perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
  tty: Fix data race between tiocsti() and flush_to_ldisc()
  bio: fix page leak bio_add_hw_page failure
  io_uring: IORING_OP_WRITE needs hash_reg_file set
  time: Handle negative seconds correctly in timespec64_to_ns()
  f2fs: guarantee to write dirty data when enabling checkpoint back
  iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
  ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
  ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
  octeontx2-af: Set proper errorcode for IPv4 checksum errors
  octeontx2-af: Fix static code analyzer reported issues
  octeontx2-af: Fix loop in free and unmap counter
  net: qualcomm: fix QCA7000 checksum handling
  net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
  ipv4: make exception cache less predictible
  ipv6: make exception cache less predictible
  brcmfmac: pcie: fix oops on failure to resume and reprobe
  bcma: Fix memory leak for internally-handled cores
  atlantic: Fix driver resume flow.
  ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
  ice: Only lock to update netdev dev_addr
  iwlwifi: skip first element in the WTAS ACPI table
  iwlwifi: follow the new inclusive terminology
  ASoC: wcd9335: Disable irq on slave ports in the remove function
  ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
  ASoC: wcd9335: Fix a double irq free in the remove function
  tty: serial: fsl_lpuart: fix the wrong mapbase value
  usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
  usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
  usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
  i2c: xlp9xx: fix main IRQ check
  i2c: mt65xx: fix IRQ check
  CIFS: Fix a potencially linear read overflow
  bpf: Fix possible out of bound write in narrow load handling
  mmc: moxart: Fix issue with uninitialized dma_slave_config
  mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
  mmc: sdhci: Fix issue with uninitialized dma_slave_config
  ASoC: Intel: Skylake: Fix module resource and format selection
  ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
  ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
  rsi: fix an error code in rsi_probe()
  rsi: fix error code in rsi_load_9116_firmware()
  gfs2: init system threads before freeze lock
  i2c: hix5hd2: fix IRQ check
  i2c: fix platform_get_irq.cocci warnings
  i2c: s3c2410: fix IRQ check
  i2c: iop3xx: fix deferred probing
  Bluetooth: add timeout sanity check to hci_inquiry
  lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
  mm/swap: consider max pages in iomap_swapfile_add_extent
  usb: gadget: mv_u3d: request_irq() after initializing UDC
  firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
  firmware: raspberrypi: Keep count of all consumers
  i2c: synquacer: fix deferred probing
  clk: staging: correct reference to config IOMEM to config HAS_IOMEM
  arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
  nfsd4: Fix forced-expiry locking
  lockd: Fix invalid lockowner cast after vfs_test_lock
  locking/local_lock: Add missing owner initialization
  locking/lockdep: Mark local_lock_t
  mac80211: Fix insufficient headroom issue for AMSDU
  libbpf: Re-build libbpf.so when libbpf.map changes
  usb: phy: tahvo: add IRQ check
  usb: host: ohci-tmio: add IRQ check
  PM: cpu: Make notifier chain use a raw_spinlock_t
  Bluetooth: Move shutdown callback before flushing tx and rx queue
  samples: pktgen: add missing IPv6 option to pktgen scripts
  devlink: Clear whole devlink_flash_notify struct
  selftests/bpf: Fix test_core_autosize on big-endian machines
  usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
  usb: phy: twl6030: add IRQ checks
  usb: phy: fsl-usb: add IRQ check
  usb: gadget: udc: s3c2410: add IRQ check
  usb: gadget: udc: at91: add IRQ check
  usb: dwc3: qcom: add IRQ check
  usb: dwc3: meson-g12a: add IRQ check
  ASoC: rt5682: Properly turn off regulators if wrong device ID
  ASoC: rt5682: Implement remove callback
  net/mlx5: Fix unpublish devlink parameters
  net/mlx5: Register to devlink ingress VLAN filter trap
  drm/msm/dsi: Fix some reference counted resource leaks
  Bluetooth: fix repeated calls to sco_sock_kill
  ASoC: Intel: Fix platform ID matching
  cgroup/cpuset: Fix violation of cpuset locking rule
  cgroup/cpuset: Miscellaneous code cleanup
  counter: 104-quad-8: Return error when invalid mode during ceiling_write
  arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
  drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
  drm/msm/mdp4: move HW revision detection to earlier phase
  drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
  selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
  PM: EM: Increase energy calculation precision
  Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
  debugfs: Return error during {full/open}_proxy_open() on rmmod
  soc: qcom: smsm: Fix missed interrupts if state changes while masked
  bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
  PCI: PM: Enable PME if it can be signaled from D3cold
  PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
  media: venus: venc: Fix potential null pointer dereference on pointer fmt
  media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
  leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
  leds: lt3593: Put fwnode in any case during ->probe()
  i2c: highlander: add IRQ check
  net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
  devlink: Break parameter notification sequence to be before/after unload/load driver
  arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
  arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
  Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
  net: cipso: fix warnings in netlbl_cipsov4_add_std
  drm: mxsfb: Clear FIFO_CLEAR bit
  drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
  drm: mxsfb: Enable recovery on underflow
  cgroup/cpuset: Fix a partition bug with hotplug
  net/mlx5e: Block LRO if firmware asks for tunneled LRO
  net/mlx5e: Prohibit inner indir TIRs in IPoIB
  ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
  ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
  ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
  ARM: dts: meson8: Use a higher default GPU clock frequency
  tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
  drm/amdgpu/acp: Make PM domain really work
  6lowpan: iphc: Fix an off-by-one check of array index
  Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
  media: atomisp: fix the uninitialized use and rename "retvalue"
  media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
  media: rockchip/rga: fix error handling in probe
  media: rockchip/rga: use pm_runtime_resume_and_get()
  media: go7007: remove redundant initialization
  media: go7007: fix memory leak in go7007_usb_probe
  media: dvb-usb: Fix error handling in dvb_usb_i2c_init
  media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
  media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
  ionic: cleanly release devlink instance
  driver core: Fix error return code in really_probe()
  firmware: fix theoretical UAF race with firmware cache and resume
  gfs2: Fix memory leak of object lsi on error return path
  libbpf: Fix removal of inner map in bpf_object__create_map
  soc: qcom: rpmhpd: Use corner in power_off
  i40e: improve locking of mac_filter_hash
  arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
  ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
  libbpf: Fix the possible memory leak on error
  gve: fix the wrong AdminQ buffer overflow check
  drm/of: free the iterator object on failure
  bpf: Fix potential memleak and UAF in the verifier.
  bpf: Fix a typo of reuseport map in bpf.h.
  drm/of: free the right object
  media: cxd2880-spi: Fix an error handling path
  soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
  leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
  media: TDA1997x: enable EDID support
  ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
  drm/gma500: Fix end of loop tests for list_for_each_entry
  drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
  EDAC/i10nm: Fix NVDIMM detection
  spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
  spi: sprd: Fix the wrong WDG_LOAD_VAL
  regulator: vctrl: Avoid lockdep warning in enable/disable ops
  regulator: vctrl: Use locked regulator_get_voltage in probe path
  blk-crypto: fix check for too-large dun_bytes
  spi: davinci: invoke chipselect callback
  x86/mce: Defer processing of early errors
  tpm: ibmvtpm: Avoid error message when process gets signal while waiting
  certs: Trigger creation of RSA module signing key if it's not an RSA key
  crypto: qat - use proper type for vf_mask
  irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
  spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
  block: nbd: add sanity check for first_minor
  clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
  lib/mpi: use kcalloc in mpi_resize
  irqchip/loongson-pch-pic: Improve edge triggered interrupt support
  genirq/timings: Fix error return code in irq_timings_test_irqs()
  spi: spi-pic32: Fix issue with uninitialized dma_slave_config
  spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
  block: return ELEVATOR_DISCARD_MERGE if possible
  m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
  rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
  rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
  rcu: Fix to include first blocked task in stall warning
  sched: Fix UCLAMP_FLAG_IDLE setting
  sched/numa: Fix is_core_idle()
  m68k: emu: Fix invalid free in nfeth_cleanup()
  power: supply: cw2015: use dev_err_probe to allow deferred probe
  s390/ap: fix state machine hang after failure to enable irq
  s390/debug: fix debug area life cycle
  s390/debug: keep debug data on resize
  s390/pci: fix misleading rc in clp_set_pci_fn()
  s390/kasan: fix large PMD pages address alignment check
  udf_get_extendedattr() had no boundary checks.
  fcntl: fix potential deadlock for &fasync_struct.fa_lock
  crypto: qat - do not export adf_iov_putmsg()
  crypto: qat - fix naming for init/shutdown VF to PF notifications
  crypto: qat - fix reuse of completion variable
  crypto: qat - handle both source of interrupt in VF ISR
  crypto: qat - do not ignore errors from enable_vf2pf_comms()
  crypto: omap - Fix inconsistent locking of device lists
  libata: fix ata_host_start()
  s390/zcrypt: fix wrong offset index for APKA master key valid state
  s390/cio: add dev_busid sysfs entry for each subchannel
  power: supply: max17042_battery: fix typo in MAx17042_TOFF
  power: supply: smb347-charger: Add missing pin control activation
  nvmet: pass back cntlid on successful completion
  nvme-rdma: don't update queue count when failing to set io queues
  nvme-tcp: don't update queue count when failing to set io queues
  blk-throtl: optimize IOPS throttle for large IO scenarios
  bcache: add proper error unwinding in bcache_device_init
  isofs: joliet: Fix iocharset=utf8 mount option
  udf: Fix iocharset=utf8 mount option
  udf: Check LVID earlier
  hrtimer: Ensure timerfd notification for HIGHRES=n
  hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
  posix-cpu-timers: Force next expiration recalc after itimer reset
  EDAC/mce_amd: Do not load edac_mce_amd module on guests
  rcu/tree: Handle VM stoppage in stall detection
  sched/deadline: Fix missing clock update in migrate_task_rq_dl()
  crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
  power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
  sched/deadline: Fix reset_on_fork reporting of DL tasks
  crypto: mxs-dcp - Check for DMA mapping errors
  regulator: tps65910: Silence deferred probe error
  regmap: fix the offset of register error log
  locking/mutex: Fix HANDOFF condition
  ANDROID: GKI: update .xml after android12-5.10 merge
  Revert "tty: drop termiox user definitions"
  Linux 5.10.64
  PCI: Call Max Payload Size-related fixup quirks early
  x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
  xhci: fix unsafe memory usage in xhci tracing
  xhci: fix even more unsafe memory usage in xhci tracing
  usb: mtu3: fix the wrong HS mult value
  usb: mtu3: use @mult for HS isoc or intr
  usb: mtu3: restore HS function when set SS/SSP
  usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
  usb: host: xhci-rcar: Don't reload firmware after the completion
  ALSA: usb-audio: Add registration quirk for JBL Quantum 800
  blk-mq: clearing flush request reference in tags->rqs[]
  netfilter: nftables: clone set element expression template
  netfilter: nf_tables: initialize set before expression setup
  netfilter: nftables: avoid potential overflows on 32bit arches
  blk-mq: fix is_flush_rq
  blk-mq: fix kernel panic during iterating over flush request
  x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
  Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
  tty: drop termiox user definitions
  net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
  serial: 8250: 8250_omap: Fix unused variable warning
  net: kcov: don't select SKB_EXTENSIONS when there is no NET
  mm/page_alloc: speed up the iteration of max_order
  net: ll_temac: Remove left-over debug message
  USB: serial: mos7720: improve OOM-handling in read_mos_reg()
  igmp: Add ip_mc_list lock in ip_check_mc_rcu
  ANDROID: GKI: fix up spi structure change
  Linux 5.10.63
  media: stkwebcam: fix memory leak in stk_camera_probe
  fuse: fix illegal access to inode with reused nodeid
  new helper: inode_wrong_type()
  spi: Switch to signed types for *_native_cs SPI controller fields
  serial: 8250: 8250_omap: Fix possible array out of bounds access
  ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
  ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
  ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
  cryptoloop: add a deprecation warning
  perf/x86/amd/power: Assign pmu.module
  perf/x86/amd/ibs: Work around erratum #1197
  ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
  perf/x86/intel/pt: Fix mask of num_address_ranges
  qede: Fix memset corruption
  net: macb: Add a NULL check on desc_ptp
  qed: Fix the VF msix vectors flow
  reset: reset-zynqmp: Fixed the argument data type
  gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
  ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power
  xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
  static_call: Fix unused variable warn w/o MODULE
  Revert "Add a reference to ucounts for each cred"
  Revert "cred: add missing return error code when set_cred_ucounts() failed"
  Revert "ucounts: Increase ucounts reference counter before the security hook"
  ubifs: report correct st_size for encrypted symlinks
  f2fs: report correct st_size for encrypted symlinks
  ext4: report correct st_size for encrypted symlinks
  fscrypt: add fscrypt_symlink_getattr() for computing st_size
  ext4: fix race writing to an inline_data file while its xattrs are changing
  ANDROID: GKI: add virtio_break_device to the symbol list
  Revert "once: Fix panic when module unload"
  Revert "pipe: avoid unnecessary EPOLLET wakeups under normal loads"
  Revert "pipe: do FASYNC notifications for every pipe IO, not just state changes"
  Linux 5.10.62
  bpf: Fix potentially incorrect results with bpf_get_local_storage()
  audit: move put_tree() to avoid trim_trees refcount underflow and UAF
  net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
  Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
  Revert "floppy: reintroduce O_NDELAY fix"
  kthread: Fix PF_KTHREAD vs to_kthread() race
  btrfs: fix NULL pointer dereference when deleting device by invalid id
  arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
  lkdtm: Enable DOUBLE_FAULT on all architectures
  net: dsa: mt7530: fix VLAN traffic leaks again
  usb: typec: ucsi: Clear pending after acking connector change
  usb: typec: ucsi: Work around PPM losing change information
  usb: typec: ucsi: acpi: Always decode connector change information
  tracepoint: Use rcu get state and cond sync for static call updates
  srcu: Provide polling interfaces for Tiny SRCU grace periods
  srcu: Make Tiny SRCU use multi-bit grace-period counter
  srcu: Provide internal interface to start a Tiny SRCU grace period
  srcu: Provide polling interfaces for Tree SRCU grace periods
  srcu: Provide internal interface to start a Tree SRCU grace period
  powerpc/perf: Invoke per-CPU variable access with disabled interrupts
  perf annotate: Fix jump parsing for C++ code.
  perf tools: Fix arm64 build error with gcc-11
  perf record: Fix memory leak in vDSO found using ASAN
  perf symbol-elf: Fix memory leak by freeing sdt_note.args
  perf env: Fix memory leak of bpf_prog_info_linear member
  riscv: Fixup patch_text panic in ftrace
  riscv: Fixup wrong ftrace remove cflag
  Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
  vt_kdsetmode: extend console locking
  tipc: call tipc_wait_for_connect only when dlen is not 0
  mtd: spinand: Fix incorrect parameters for on-die ECC
  pipe: do FASYNC notifications for every pipe IO, not just state changes
  pipe: avoid unnecessary EPOLLET wakeups under normal loads
  btrfs: fix race between marking inode needs to be logged and log syncing
  net/rds: dma_map_sg is entitled to merge entries
  drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
  drm/nouveau/disp: power down unused DP links during init
  drm: Copy drm_wait_vblank to user before returning
  blk-mq: don't grab rq's refcount in blk_mq_check_expired()
  drm/amd/pm: change the workload type for some cards
  Revert "drm/amd/pm: fix workload mismatch on vega10"
  qed: Fix null-pointer dereference in qed_rdma_create_qp()
  qed: qed ll2 race condition fixes
  tools/virtio: fix build
  vringh: Use wiov->used to check for read/write desc order
  virtio_vdpa: reject invalid vq indices
  virtio_pci: Support surprise removal of virtio pci device
  virtio: Improve vq->broken access to avoid any compiler optimization
  cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
  opp: remove WARN when no valid OPPs remain
  iwlwifi: pnvm: accept multiple HW-type TLVs
  clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
  perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
  dt-bindings: sifive-l2-cache: Fix 'select' matching
  usb: gadget: u_audio: fix race condition on endpoint stop
  drm/i915: Fix syncmap memory leak
  net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
  net: stmmac: add mutex lock to protect est parameters
  Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
  net: hns3: fix get wrong pfc_en when query PFC configuration
  net: hns3: fix duplicate node in VLAN list
  net: hns3: add waiting time before cmdq memory is released
  net: hns3: clear hardware resource when loading driver
  rtnetlink: Return correct error on changing device netns
  cxgb4: dont touch blocked freelist bitmap after free
  ipv4: use siphash instead of Jenkins in fnhe_hashfun()
  ipv6: use siphash in rt6_exception_hash()
  net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
  ucounts: Increase ucounts reference counter before the security hook
  net: marvell: fix MVNETA_TX_IN_PRGRS bit number
  xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
  ip_gre: add validation for csum_start
  RDMA/efa: Free IRQ vectors on error flow
  e1000e: Do not take care about recovery NVM checksum
  e1000e: Fix the max snoop/no-snoop latency for 10M
  igc: Use num_tx_queues when iterating over tx_ring queue
  igc: fix page fault when thunderbolt is unplugged
  net: usb: pegasus: fixes of set_register(s) return value evaluation;
  ice: do not abort devlink info if board identifier can't be found
  RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
  IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
  RDMA/bnxt_re: Add missing spin lock initialization
  scsi: core: Fix hang of freezing queue between blocking and running device
  usb: dwc3: gadget: Stop EP0 transfers during pullup disable
  usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
  usb: renesas-xhci: Prefer firmware loading on unknown ROM state
  USB: serial: option: add new VID/PID to support Fibocom FG150
  Revert "USB: serial: ch341: fix character loss at high transfer rates"
  drm/amdgpu: Cancel delayed work when GFXOFF is disabled
  Revert "btrfs: compression: don't try to compress if we don't have enough pages"
  riscv: Ensure the value of FP registers in the core dump file is up to date
  ceph: correctly handle releasing an embedded cap flush
  can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
  net: mscc: Fix non-GPL export of regmap APIs
  ovl: fix uninitialized pointer read in ovl_lookup_real_one()
  blk-iocost: fix lockdep warning on blkcg->lock
  once: Fix panic when module unload
  netfilter: conntrack: collect all entries in one cycle
  ARC: Fix CONFIG_STACKDEPOT
  ASoC: component: Remove misplaced prefix handling in pin control functions
  ASoC: rt5682: Adjust headset volume button threshold
  bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
  bpf: Fix ringbuf helper function compatibility
  net: qrtr: fix another OOB Read in qrtr_endpoint_post
  ANDROID: GKI: update the android12-5.10-lts abi .xml file
  ANDROID: GKI: db845c: Update symbols list and ABI for lts v5.10.61
  Revert "virtio: Protect vqs list access"
  Revert "net: igmp: fix data-race in igmp_ifc_timer_expire()"
  Revert "net: igmp: increase size of mr_ifc_count"
  Revert "PCI/MSI: Protect msi_desc::masked for multi-MSI"
  Linux 5.10.61
  io_uring: only assign io_uring_enter() SQPOLL error in actual error case
  io_uring: fix xa_alloc_cycle() error return value check
  fs: warn about impending deprecation of mandatory locks
  mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
  ASoC: intel: atom: Fix breakage for PCM buffer address setup
  ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
  PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
  s390/pci: fix use after free of zpci_dev
  ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
  btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
  mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
  mmc: sdhci-iproc: Cap min clock frequency on BCM2711
  ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
  ipack: tpci200: fix memory leak in the tpci200_register
  ipack: tpci200: fix many double free issues in tpci200_pci_probe
  slimbus: ngd: reset dma setup during runtime pm
  slimbus: messaging: check for valid transaction id
  slimbus: messaging: start transaction ids from 1 instead of zero
  tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
  ALSA: hda - fix the 'Capture Switch' value change notifications
  clk: qcom: gdsc: Ensure regulator init state matches GDSC state
  clk: imx6q: fix uart earlycon unwork
  mmc: sdhci-msm: Update the software timeout value for sdhc
  mmc: mmci: stm32: Check when the voltage switch procedure should be done
  mmc: dw_mmc: Fix hang on data CRC error
  Revert "flow_offload: action should not be NULL when it is referenced"
  iavf: Fix ping is lost after untrusted VF had tried to change MAC
  i40e: Fix ATR queue selection
  r8152: fix writing USB_BP2_EN
  iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
  iommu/vt-d: Consolidate duplicate cache invaliation code
  ovs: clear skb->tstamp in forwarding path
  net: mdio-mux: Handle -EPROBE_DEFER correctly
  net: mdio-mux: Don't ignore memory allocation errors
  sch_cake: fix srchost/dsthost hashing mode
  ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
  net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
  virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
  virtio-net: support XDP when not more queues
  vrf: Reset skb conntrack connection on VRF rcv
  bnxt_en: Add missing DMA memory barriers
  bnxt_en: Disable aRFS if running on 212 firmware
  ptp_pch: Restore dependency on PCI
  net: 6pack: fix slab-out-of-bounds in decode_data
  bnxt: count Tx drops
  bnxt: make sure xmit_more + errors does not miss doorbells
  bnxt: disable napi before canceling DIM
  bnxt: don't lock the tx queue from napi poll
  bpf: Clear zext_dst of dead insns
  drm/mediatek: Add AAL output size configuration
  drm/mediatek: Fix aal size config
  soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h
  vdpa/mlx5: Avoid destroying MR on empty iotlb
  vhost: Fix the calculation in vhost_overflow()
  bus: ti-sysc: Fix error handling for sysc_check_active_timer()
  vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
  virtio: Protect vqs list access
  dccp: add do-while-0 stubs for dccp_pr_debug macros
  cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
  iommu: Check if group is NULL before remove device
  arm64: dts: qcom: msm8992-bullhead: Remove PSCI
  arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
  Bluetooth: hidp: use correct wait queue when removing ctrl_wait
  drm/amd/display: workaround for hard hang on HPD on native DP
  drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
  net: usb: lan78xx: don't modify phy_device state concurrently
  net: usb: pegasus: Check the return value of get_geristers() and friends;
  ARM: dts: nomadik: Fix up interrupt controller node names
  qede: fix crash in rmmod qede while automatic debug collection
  drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
  scsi: core: Fix capacity set to zero after offlinining device
  scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
  scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
  scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
  scsi: pm80xx: Fix TMF task completion race condition
  dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
  ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
  net: xfrm: Fix end of loop tests for list_for_each_entry
  spi: spi-mux: Add module info needed for autoloading
  dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
  dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
  USB: core: Fix incorrect pipe calculation in do_proc_control()
  USB: core: Avoid WARNings for 0-length descriptor requests
  KVM: X86: Fix warning caused by stale emulation context
  KVM: x86: Factor out x86 instruction emulation with decoding
  media: drivers/media/usb: fix memory leak in zr364xx_probe
  media: zr364xx: fix memory leaks in probe()
  media: zr364xx: propagate errors from zr364xx_start_readpipe()
  mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
  ath9k: Postpone key cache entry deletion for TXQ frames reference it
  ath: Modify ath_key_delete() to not need full key entry
  ath: Export ath_hw_keysetmac()
  ath9k: Clear key cache explicitly on disabling hardware
  ath: Use safer key clearing with key cache entries
  Linux 5.10.60
  net: dsa: microchip: ksz8795: Use software untagging on CPU port
  net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
  net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
  net: dsa: microchip: ksz8795: Fix PVID tag insertion
  net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
  KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
  KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
  vmlinux.lds.h: Handle clang's module.{c,d}tor sections
  ceph: take snap_empty_lock atomically with snaprealm refcount change
  ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
  ceph: add some lockdep assertions around snaprealm handling
  vboxsf: Add support for the atomic_open directory-inode op
  vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
  KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
  KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
  efi/libstub: arm64: Double check image alignment at entry
  powerpc/smp: Fix OOPS in topology_init()
  PCI/MSI: Protect msi_desc::masked for multi-MSI
  PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
  PCI/MSI: Correct misleading comments
  PCI/MSI: Do not set invalid bits in MSI mask
  PCI/MSI: Enforce MSI[X] entry updates to be visible
  PCI/MSI: Enforce that MSI-X table entry is masked for update
  PCI/MSI: Mask all unused MSI-X entries
  PCI/MSI: Enable and mask MSI-X early
  genirq/timings: Prevent potential array overflow in __irq_timings_store()
  genirq/msi: Ensure deactivation on teardown
  x86/resctrl: Fix default monitoring groups reporting
  x86/ioapic: Force affinity setup before startup
  x86/msi: Force affinity setup before startup
  genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
  x86/tools: Fix objdump version check again
  powerpc/kprobes: Fix kprobe Oops happens in booke
  efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
  efi/libstub: arm64: Force Image reallocation if BSS was not reserved
  arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
  nbd: Aovid double completion of a request
  vsock/virtio: avoid potential deadlock when vsock device remove
  xen/events: Fix race in set_evtchn_to_irq
  drm/i915: Only access SFC_DONE when media domain is not fused off
  net: igmp: increase size of mr_ifc_count
  tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
  net: linkwatch: fix failure to restore device state across suspend/resume
  net: bridge: fix memleak in br_add_if()
  net: bridge: fix flags interpretation for extern learn fdb entries
  net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
  net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
  net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
  net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
  net: igmp: fix data-race in igmp_ifc_timer_expire()
  net: Fix memory leak in ieee802154_raw_deliver
  net: dsa: microchip: ksz8795: Fix VLAN filtering
  net: dsa: microchip: Fix ksz_read64()
  drm/meson: fix colour distortion from HDR set during vendor u-boot
  net/mlx5: Fix return value from tracer initialization
  net/mlx5: Synchronize correct IRQ when destroying CQ
  bareudp: Fix invalid read beyond skb's linear data
  psample: Add a fwd declaration for skbuff
  iavf: Set RSS LUT and key in reset handle path
  ice: don't remove netdev->dev_addr from uc sync list
  ice: Prevent probing virtual functions
  net: sched: act_mirred: Reset ct info when mirror/redirect skb
  net/smc: fix wait on already cleared link
  ppp: Fix generating ifname when empty IFLA_IFNAME is specified
  net: phy: micrel: Fix link detection on ksz87xx switch"
  bpf: Fix integer overflow involving bucket_size
  libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
  platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
  net: mvvp2: fix short frame size on s390
  net: dsa: mt7530: add the missing RxUnicast MIB counter
  ASoC: cs42l42: Fix LRCLK frame start edge
  pinctrl: tigerlake: Fix GPIO mapping for newer version of software
  netfilter: nf_conntrack_bridge: Fix memory leak when error
  ASoC: cs42l42: Remove duplicate control for WNF filter frequency
  ASoC: cs42l42: Fix inversion of ADC Notch Switch control
  ASoC: SOF: Intel: hda-ipc: fix reply size checking
  ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
  ASoC: cs42l42: Correct definition of ADC Volume control
  pinctrl: mediatek: Fix fallback behavior for bias_set_combo
  ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
  ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
  drm/amdgpu: don't enable baco on boco platforms in runpm
  drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
  drm/amd/display: Remove invalid assert for ODM + MPC case
  libnvdimm/region: Fix label activation vs errors
  ACPI: NFIT: Fix support for virtual SPA ranges
  ceph: reduce contention in ceph_check_delayed_caps()
  ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
  net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
  seccomp: Fix setting loaded filter count during TSYNC
  scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
  cifs: create sd context must be a multiple of 8
  i2c: dev: zero out array used for i2c reads from userspace
  ASoC: intel: atom: Fix reference to PCM buffer address
  ASoC: tlv320aic31xx: Fix jack detection after suspend
  ASoC: uniphier: Fix reference to PCM buffer address
  ASoC: xilinx: Fix reference to PCM buffer address
  ASoC: amd: Fix reference to PCM buffer address
  iio: adc: Fix incorrect exit of for-loop
  iio: humidity: hdc100x: Add margin to the conversion time
  iio: adis: set GPIO reset pin direction
  iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
  Linux 5.10.59
  net: xilinx_emaclite: Do not print real IOMEM pointer
  ovl: prevent private clone if bind mount is not allowed
  ppp: Fix generating ppp unit id when ifname is not specified
  ALSA: hda: Add quirk for ASUS Flow x13
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
  ALSA: pcm: Fix mmap breakage without explicit buffer setup
  USB:ehci:fix Kunpeng920 ehci hardware problem
  vboxsf: Make vboxsf_dir_create() return the handle for the created file
  vboxsf: Honor excl flag to the dir-inode create op
  arm64: dts: renesas: beacon: Fix USB ref clock references
  arm64: dts: renesas: beacon: Fix USB extal reference
  arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
  mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
  Revert "selftests/resctrl: Use resctrl/info for feature detection"
  bpf: Add lockdown check for probe_write_user helper
  firmware: tee_bnxt: Release TEE shm, session, and context during kexec
  tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
  KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
  Revert "xfrm: Fix RCU vs hash_resize_mutex lock inversion"
  Linux 5.10.58
  arm64: fix compat syscall return truncation
  drm/amdgpu/display: only enable aux backlight control for OLED panels
  smb3: rc uninitialized in one fallocate path
  net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
  alpha: Send stop IPI to send to online CPUs
  net: qede: Fix end of loop tests for list_for_each_entry
  virt_wifi: fix error on connect
  reiserfs: check directory items on read from disk
  reiserfs: add check for root_inode in reiserfs_fill_super
  libata: fix ata_pio_sector for CONFIG_HIGHMEM
  drm/i915: avoid uninitialised var in eb_parse()
  sched/rt: Fix double enqueue caused by rt_effective_prio
  perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
  soc: ixp4xx/qmgr: fix invalid __iomem access
  drm/i915: Correct SFC_DONE register offset
  interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
  interconnect: Always call pre_aggregate before aggregate
  interconnect: Zero initial BW after sync-state
  spi: meson-spicc: fix memory leak in meson_spicc_remove
  interconnect: Fix undersized devress_alloc allocation
  soc: ixp4xx: fix printing resources
  arm64: vdso: Avoid ISB after reading from cntvct_el0
  KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
  KVM: Do not leak memory for duplicate debugfs directories
  KVM: x86: accept userspace interrupt only if no event is injected
  md/raid10: properly indicate failure when ending a failed write request
  ARM: omap2+: hwmod: fix potential NULL pointer access
  Revert "gpio: mpc8xxx: change the gpio interrupt flags."
  bus: ti-sysc: AM3: RNG is GP only
  selinux: correct the return value when loads initial sids
  pcmcia: i82092: fix a null pointer dereference bug
  net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
  xfrm: Fix RCU vs hash_resize_mutex lock inversion
  timers: Move clearing of base::timer_running under base:: Lock
  fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
  serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
  serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
  MIPS: Malta: Do not byte-swap accesses to the CBUS UART
  serial: 8250: Mask out floating 16/32-bit bus bits
  serial: 8250_mtk: fix uart corruption issue when rx power off
  serial: tegra: Only print FIFO error message when an error occurs
  ext4: fix potential htree corruption when growing large_dir directories
  pipe: increase minimum default pipe size to 2 pages
  media: rtl28xxu: fix zero-length control request
  drivers core: Fix oops when driver probe fails
  staging: rtl8712: error handling refactoring
  staging: rtl8712: get rid of flush_scheduled_work
  staging: rtl8723bs: Fix a resource leak in sd_int_dpc
  tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
  optee: fix tee out of memory failure seen during kexec reboot
  optee: Refuse to load the driver under the kdump kernel
  optee: Fix memory leak when failing to register shm pages
  tee: add tee_shm_alloc_kernel_buf()
  optee: Clear stale cache entries during initialization
  arm64: stacktrace: avoid tracing arch_stack_walk()
  tracepoint: Fix static call function vs data state mismatch
  tracepoint: static call: Compare data on transition from 2->1 callees
  tracing: Fix NULL pointer dereference in start_creating
  tracing: Reject string operand in the histogram expression
  tracing / histogram: Give calculation hist_fields a size
  scripts/tracing: fix the bug that can't parse raw_trace_func
  clk: fix leak on devm_clk_bulk_get_all() unwind
  usb: otg-fsm: Fix hrtimer list corruption
  usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
  usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
  usb: gadget: f_hid: idle uses the highest byte for duration
  usb: gadget: f_hid: fixed NULL pointer dereference
  usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
  usb: cdns3: Fixed incorrect gadget state
  usb: gadget: remove leaked entry from udc driver list
  usb: dwc3: gadget: Avoid runtime resume if disabling pullup
  ALSA: usb-audio: Add registration quirk for JBL Quantum 600
  ALSA: usb-audio: Fix superfluous autosuspend recovery
  ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
  ALSA: hda/realtek: add mic quirk for Acer SF314-42
  ALSA: pcm - fix mmap capability check for the snd-dummy driver
  drm/amdgpu/display: fix DMUB firmware version info
  firmware_loader: fix use-after-free in firmware_fallback_sysfs
  firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
  USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
  USB: serial: ch341: fix character loss at high transfer rates
  USB: serial: option: add Telit FD980 composition 0x1056
  USB: usbtmc: Fix RCU stall warning
  Bluetooth: defer cleanup of resources in hci_unregister_dev()
  blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
  net: vxge: fix use-after-free in vxge_device_unregister
  net: fec: fix use-after-free in fec_drv_remove
  net: pegasus: fix uninit-value in get_interrupt_interval
  bnx2x: fix an error code in bnx2x_nic_load()
  mips: Fix non-POSIX regexp
  MIPS: check return value of pgtable_pmd_page_ctor
  net: sched: fix lockdep_set_class() typo error for sch->seqlock
  net: dsa: qca: ar9331: reorder MDIO write sequence
  net: ipv6: fix returned variable type in ip6_skb_dst_mtu
  nfp: update ethtool reporting of pauseframe control
  sctp: move the active_key update after sh_keys is added
  RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
  gpio: tqmx86: really make IRQ optional
  net: natsemi: Fix missing pci_disable_device() in probe and remove
  net: phy: micrel: Fix detection of ksz87xx switch
  net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
  net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
  net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
  net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
  net, gro: Set inner transport header offset in tcp/udp GRO hook
  dmaengine: imx-dma: configure the generic DMA type to make it work
  ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
  ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
  media: videobuf2-core: dequeue if start_streaming fails
  scsi: sr: Return correct event when media event code is 3
  spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
  spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
  dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
  dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
  clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
  dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
  omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
  ARM: dts: am437x-l4: fix typo in can@0 node
  clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
  ALSA: usb-audio: fix incorrect clock source setting
  arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
  arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
  ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
  ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
  ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
  arm64: dts: ls1028: sl28: fix networking for variant 2
  ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
  ARM: imx: add missing clk_disable_unprepare()
  ARM: imx: add missing iounmap()
  arm64: dts: ls1028a: fix node name for the sysclk
  net: xfrm: fix memory leak in xfrm_user_rcv_msg
  bus: ti-sysc: Fix gpt12 system timer issue with reserved status
  ALSA: seq: Fix racy deletion of subscriber
  Revert "ACPICA: Fix memory leak caused by _CID repair function"
  Linux 5.10.57
  spi: mediatek: Fix fifo transfer
  selftest/bpf: Verifier tests for var-off access
  bpf, selftests: Adjust few selftest outcomes wrt unreachable code
  bpf: Update selftests to reflect new error states
  bpf, selftests: Adjust few selftest result_unpriv outcomes
  selftest/bpf: Adjust expected verifier errors
  selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
  Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
  firmware: arm_scmi: Add delayed response status check
  firmware: arm_scmi: Ensure drivers provide a probe function
  Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
  ACPI: fix NULL pointer dereference
  drm/amd/display: Fix max vstartup calculation for modes with borders
  drm/amd/display: Fix comparison error in dcn21 DML
  nvme: fix nvme_setup_command metadata trace event
  efi/mokvar: Reserve the table only if it is in boot services data
  ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
  ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
  net: Fix zero-copy head len calculation.
  ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
  qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
  r8152: Fix potential PM refcount imbalance
  ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
  spi: stm32h7: fix full duplex irq handler handling
  regulator: rt5033: Fix n_voltages settings for BUCK and LDO
  regulator: rtmv20: Fix wrong mask for strobe-polarity-high
  btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
  btrfs: fix race causing unnecessary inode logging during link and rename
  Revert "drm/i915: Propagate errors on awaiting already signaled fences"
  drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
  Linux 5.10.56
  can: j1939: j1939_session_deactivate(): clarify lifetime of session object
  i40e: Add additional info to PHY type error
  Revert "perf map: Fix dso->nsinfo refcounting"
  powerpc/pseries: Fix regression while building external modules
  SMB3: fix readpage for large swap cache
  bpf: Fix pointer arithmetic mask tightening under state pruning
  bpf: verifier: Allocate idmap scratch in verifier env
  bpf: Remove superfluous aux sanitation on subprog rejection
  bpf: Fix leakage due to insufficient speculative store bypass mitigation
  bpf: Introduce BPF nospec instruction for mitigating Spectre v4
  can: hi311x: fix a signedness bug in hi3110_cmd()
  sis900: Fix missing pci_disable_device() in probe and remove
  tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
  sctp: fix return value check in __sctp_rcv_asconf_lookup
  net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
  net/mlx5: Fix flow table chaining
  skmsg: Make sk_psock_destroy() static
  drm/msm/dp: Initialize the INTF_CONFIG register
  drm/msm/dpu: Fix sm8250_mdp register length
  net: llc: fix skb_over_panic
  KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
  mlx4: Fix missing error code in mlx4_load_one()
  octeontx2-pf: Fix interface down flag on error
  tipc: do not write skb_shinfo frags when doing decrytion
  ionic: count csum_none when offload enabled
  ionic: fix up dim accounting for tx and rx
  ionic: remove intr coalesce update from napi
  net: qrtr: fix memory leaks
  net: Set true network header for ECN decapsulation
  tipc: fix sleeping in tipc accept routine
  tipc: fix implicit-connect for SYN+
  i40e: Fix log TC creation failure when max num of queues is exceeded
  i40e: Fix queue-to-TC mapping on Tx
  i40e: Fix firmware LLDP agent related warning
  i40e: Fix logic of disabling queues
  netfilter: nft_nat: allow to specify layer 4 protocol NAT only
  netfilter: conntrack: adjust stop timestamp to real expiry value
  mac80211: fix enabling 4-address mode on a sta vif after assoc
  bpf: Fix OOB read when printing XDP link fdinfo
  RDMA/bnxt_re: Fix stats counters
  cfg80211: Fix possible memory leak in function cfg80211_bss_update
  nfc: nfcsim: fix use after free during module unload
  blk-iocost: fix operation ordering in iocg_wake_fn()
  drm/amdgpu: Fix resource leak on probe error path
  drm/amdgpu: Avoid printing of stack contents on firmware load error
  drm/amd/display: ensure dentist display clock update finished in DCN20
  NIU: fix incorrect error return, missed in previous revert
  HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
  alpha: register early reserved memory in memblock
  can: esd_usb2: fix memory leak
  can: ems_usb: fix memory leak
  can: usb_8dev: fix memory leak
  can: mcba_usb_start(): add missing urb->transfer_dma initialization
  can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
  can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
  can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
  ocfs2: issue zeroout to EOF blocks
  ocfs2: fix zero out valid data
  KVM: add missing compat KVM_CLEAR_DIRTY_LOG
  x86/kvm: fix vcpu-id indexed array sizes
  ACPI: DPTF: Fix reading of attributes
  Revert "ACPI: resources: Add checks for ACPI IRQ override"
  btrfs: mark compressed range uptodate only if all bio succeed
  btrfs: fix rw device counting in __btrfs_free_extra_devids
  pipe: make pipe writes always wake up readers
  x86/asm: Ensure asm/proto.h can be included stand-alone
  io_uring: fix null-ptr-deref in io_sq_offload_start()
  selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
  Linux 5.10.55
  ipv6: ip6_finish_output2: set sk into newly allocated nskb
  ARM: dts: versatile: Fix up interrupt controller node names
  iomap: remove the length variable in iomap_seek_hole
  iomap: remove the length variable in iomap_seek_data
  cifs: fix the out of range assignment to bit fields in parse_server_interfaces
  firmware: arm_scmi: Fix range check for the maximum number of pending messages
  firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
  hfs: add lock nesting notation to hfs_find_init
  hfs: fix high memory mapping in hfs_bnode_read
  hfs: add missing clean-up in hfs_fill_super
  drm/ttm: add a check against null pointer dereference
  ipv6: allocate enough headroom in ip6_finish_output2()
  rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
  rcu-tasks: Don't delete holdouts within trc_inspect_reader()
  sctp: move 198 addresses from unusable to private scope
  net: annotate data race around sk_ll_usec
  net/802/garp: fix memleak in garp_request_join()
  net/802/mrp: fix memleak in mrp_request_join()
  cgroup1: fix leaked context root causing sporadic NULL deref in LTP
  workqueue: fix UAF in pwq_unbound_release_workfn()
  af_unix: fix garbage collect vs MSG_PEEK
  KVM: x86: determine if an exception has an error code only when injecting it.
  io_uring: fix link timeout refs
  tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
  Linux 5.10.54
  skbuff: Fix build with SKB extensions disabled
  xhci: add xhci_get_virt_ep() helper
  sfc: ensure correct number of XDP queues
  drm/i915/gvt: Clear d3_entered on elsp cmd submission.
  usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
  perf inject: Close inject.output on exit
  Documentation: Fix intiramfs script name
  skbuff: Release nfct refcount on napi stolen or re-used skbs
  bonding: fix build issue
  PCI: Mark AMD Navi14 GPU ATS as broken
  net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
  net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
  drm/amdgpu: update golden setting for sienna_cichlid
  drm: Return -ENOTTY for non-drm ioctls
  driver core: Prevent warning when removing a device link from unregistered consumer
  nds32: fix up stack guard gap
  misc: eeprom: at24: Always append device id even if label property is set.
  rbd: always kick acquire on "acquired" and "released" notifications
  rbd: don't hold lock_rwsem while running_list is being drained
  hugetlbfs: fix mount mode command line processing
  memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
  userfaultfd: do not untag user pointers
  io_uring: remove double poll entry on arm failure
  io_uring: explicitly count entries for poll reqs
  selftest: use mmap instead of posix_memalign to allocate memory
  posix-cpu-timers: Fix rearm racing against process tick
  bus: mhi: core: Validate channel ID when processing command completions
  ixgbe: Fix packet corruption due to missing DMA sync
  media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
  btrfs: check for missing device in btrfs_trim_fs
  tracing: Synthetic event field_pos is an index not a boolean
  tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
  tracing/histogram: Rename "cpu" to "common_cpu"
  tracepoints: Update static_call before tp_funcs when adding a tracepoint
  firmware/efi: Tell memblock about EFI iomem reservations
  usb: typec: stusb160x: register role switch before interrupt registration
  usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
  usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
  usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
  USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
  USB: serial: cp210x: fix comments for GE CS1000
  USB: serial: option: add support for u-blox LARA-R6 family
  usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
  usb: max-3421: Prevent corruption of freed memory
  USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
  usb: hub: Fix link power management max exit latency (MEL) calculations
  usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
  KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
  KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
  xhci: Fix lost USB 2 remote wake
  usb: xhci: avoid renesas_usb_fw.mem when it's unusable
  Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
  ALSA: pcm: Fix mmap capability check
  ALSA: pcm: Call substream ack() method upon compat mmap commit
  ALSA: hdmi: Expose all pins on MSI MS-7C94 board
  ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
  ALSA: sb: Fix potential ABBA deadlock in CSP driver
  ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
  ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
  s390/boot: fix use of expolines in the DMA code
  s390/ftrace: fix ftrace_update_ftrace_func implementation
  mmc: core: Don't allocate IDA for OF aliases
  proc: Avoid mixing integer types in mem_rw()
  cifs: fix fallocate when trying to allocate a hole.
  cifs: only write 64kb at a time when fallocating a small region of a file
  drm/panel: raspberrypi-touchscreen: Prevent double-free
  net: sched: cls_api: Fix the the wrong parameter
  net: dsa: sja1105: make VID 4095 a bridge VLAN too
  tcp: disable TFO blackhole logic by default
  sctp: update active_key for asoc when old key is being replaced
  nvme: set the PRACT bit when using Write Zeroes with T10 PI
  r8169: Avoid duplicate sysfs entry creation error
  afs: Fix tracepoint string placement with built-in AFS
  Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
  nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
  ceph: don't WARN if we're still opening a session to an MDS
  ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
  net/sched: act_skbmod: Skip non-Ethernet packets
  spi: spi-bcm2835: Fix deadlock
  net: hns3: fix rx VLAN offload state inconsistent issue
  net: hns3: fix possible mismatches resp of mailbox
  ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
  net/tcp_fastopen: fix data races around tfo_active_disable_stamp
  net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
  bnxt_en: Check abort error state in bnxt_half_open_nic()
  bnxt_en: Validate vlan protocol ID on RX packets
  bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
  bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
  bnxt_en: don't disable an already disabled PCI device
  ACPI: Kconfig: Fix table override from built-in initrd
  spi: cadence: Correct initialisation of runtime PM again
  scsi: target: Fix protect handling in WRITE SAME(32)
  scsi: iscsi: Fix iface sysfs attr detection
  netrom: Decrease sock refcount when sock timers expire
  sctp: trim optlen when it's a huge value in sctp_setsockopt
  net: sched: fix memory leak in tcindex_partial_destroy_work
  KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
  KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
  net: decnet: Fix sleeping inside in af_decnet
  efi/tpm: Differentiate missing and invalid final event log table.
  dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
  usb: hso: fix error handling code of hso_create_net_device
  net: fix uninit-value in caif_seqpkt_sendmsg
  bpftool: Check malloc return value in mount_bpffs_for_pin
  bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
  bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
  bpf, sockmap: Fix potential memory leak on unlikely error case
  s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
  liquidio: Fix unintentional sign extension issue on left shift of u16
  timers: Fix get_next_timer_interrupt() with no timers pending
  xdp, net: Fix use-after-free in bpf_xdp_link_release
  bpf: Fix tail_call_reachable rejection for interpreter when jit failed
  bpf, test: fix NULL pointer dereference on invalid expected_attach_type
  ASoC: rt5631: Fix regcache sync errors on resume
  spi: mediatek: fix fifo rx mode
  regulator: hi6421: Fix getting wrong drvdata
  regulator: hi6421: Use correct variable type for regmap api val argument
  spi: stm32: fixes pm_runtime calls in probe/remove
  spi: imx: add a check for speed_hz before calculating the clock
  ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
  perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
  perf data: Close all files in close_dir()
  perf probe-file: Delete namelist in del_events() on the error path
  perf lzma: Close lzma stream on exit
  perf script: Fix memory 'threads' and 'cpus' leaks on exit
  perf report: Free generated help strings for sort option
  perf env: Fix memory leak of cpu_pmu_caps
  perf test maps__merge_in: Fix memory leak of maps
  perf dso: Fix memory leak in dso__new_map()
  perf test event_update: Fix memory leak of evlist
  perf test session_topology: Delete session->evlist
  perf env: Fix sibling_dies memory leak
  perf probe: Fix dso->nsinfo refcounting
  perf map: Fix dso->nsinfo refcounting
  perf inject: Fix dso->nsinfo refcounting
  KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
  nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
  mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
  cxgb4: fix IRQ free race during driver unload
  pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
  selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
  selftests: icmp_redirect: remove from checking for IPv6 route get
  stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
  ipv6: fix 'disable_policy' for fwd packets
  bonding: fix incorrect return value of bond_ipsec_offload_ok()
  bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
  bonding: Add struct bond_ipesc to manage SA
  bonding: disallow setting nested bonding + ipsec offload
  bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
  ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
  bonding: fix null dereference in bond_ipsec_add_sa()
  bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
  net: add kcov handle to skb extensions
  gve: Fix an error handling path in 'gve_probe()'
  igb: Fix position of assignment to *ring
  igb: Check if num of q_vectors is smaller than max before array access
  iavf: Fix an error handling path in 'iavf_probe()'
  e1000e: Fix an error handling path in 'e1000_probe()'
  fm10k: Fix an error handling path in 'fm10k_probe()'
  igb: Fix an error handling path in 'igb_probe()'
  igc: Fix an error handling path in 'igc_probe()'
  ixgbe: Fix an error handling path in 'ixgbe_probe()'
  igc: change default return of igc_read_phy_reg()
  igb: Fix use-after-free error during reset
  igc: Fix use-after-free error during reset
  Revert "bpf: Track subprog poke descriptors correctly and fix use-after-free"
  Linux 5.10.53
  udp: annotate data races around unix_sk(sk)->gso_size
  drm/panel: nt35510: Do not fail if DSI read fails
  perf test bpf: Free obj_buf
  bpf: Track subprog poke descriptors correctly and fix use-after-free
  bpftool: Properly close va_list 'ap' by va_end() on error
  tools: bpf: Fix error in 'make -C tools/ bpf_install'
  tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
  ipv6: tcp: drop silly ICMPv6 packet too big messages
  tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
  tcp: annotate data races around tp->mtu_info
  tcp: consistently disable header prediction for mptcp
  ARM: dts: tacoma: Add phase corrections for eMMC
  ARM: dts: aspeed: Fix AST2600 machines line names
  kbuild: do not suppress Kconfig prompts for silent build
  dma-buf/sync_file: Don't leak fences on merge failure
  net: fddi: fix UAF in fza_probe
  net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
  Revert "mm/shmem: fix shmem_swapin() race with swapoff"
  net: validate lwtstate->data before returning from skb_tunnel_info()
  net: send SYNACK packet with accepted fwmark
  net: ti: fix UAF in tlan_remove_one
  net: qcom/emac: fix UAF in emac_remove
  net: moxa: fix UAF in moxart_mac_probe
  net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
  net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
  net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
  net: bridge: sync fdb to new unicast-filtering ports
  net/sched: act_ct: remove and free nf_table callbacks
  vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
  net/sched: act_ct: fix err check for nf_conntrack_confirm
  netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
  net: ipv6: fix return value of ip6_skb_dst_mtu
  net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
  net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
  net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
  net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
  net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
  usb: cdns3: Enable TDL_CHK only for OUT ep
  mm/page_alloc: fix memory map initialization for descending nodes
  mm/userfaultfd: fix uffd-wp special cases for fork()
  mm/thp: simplify copying of huge zero page pmd when fork
  f2fs: Show casefolding support only when supported
  Revert "swap: fix do_swap_page() race with swapoff"
  arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
  firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
  cifs: prevent NULL deref in cifs_compose_mount_options()
  s390: introduce proper type handling call_on_stack() macro
  s390/traps: do not test MONITOR CALL without CONFIG_BUG
  thermal/core/thermal_of: Stop zone device before unregistering it
  perf/x86/intel/uncore: Clean up error handling path of iio mapping
  sched/fair: Fix CFS bandwidth hrtimer expiry type
  scsi: qedf: Add check to synchronize abort and flush
  scsi: libfc: Fix array index out of bound exception
  scsi: libsas: Add LUN number check in .slave_alloc callback
  scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
  rtc: max77686: Do not enforce (incorrect) interrupt trigger type
  arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
  kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
  thermal/drivers/sprd: Add missing of_node_put for loop iteration
  thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
  thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
  thermal/core: Correct function name thermal_zone_device_unregister()
  arm64: dts: imx8mq: assign PCIe clocks
  arm64: dts: ls208xa: remove bus-num from dspi node
  firmware: tegra: bpmp: Fix Tegra234-only builds
  soc/tegra: fuse: Fix Tegra234-only builds
  ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
  ARM: dts: stm32: fix stpmic node for stm32mp1 boards
  ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
  ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
  ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
  ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
  ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
  ARM: dts: rockchip: fix supply properties in io-domains nodes
  arm64: dts: juno: Update SCPI nodes as per the YAML schema
  ARM: dts: bcm283x: Fix up GPIO LED node names
  ARM: dts: bcm283x: Fix up MMC node names
  firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
  firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
  memory: tegra: Fix compilation warnings on 64bit platforms
  ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
  ARM: dts: stm32: fix RCC node name on stm32f429 MCU
  ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
  ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
  ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
  ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
  arm64: dts: qcom: sc7180: Move rmtfs memory region
  ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
  ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
  arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
  ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
  ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
  ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
  ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
  kbuild: sink stdout from cmd for silent build
  rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
  ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
  ARM: dts: ux500: Fix orientation of accelerometer
  ARM: dts: ux500: Rename gpio-controller node
  ARM: dts: ux500: Fix interrupt cells
  arm64: dts: rockchip: fix regulator-gpio states array
  ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
  ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
  ARM: dts: Hurricane 2: Fix NAND nodes names
  ARM: dts: BCM63xx: Fix NAND nodes names
  ARM: NSP: dts: fix NAND nodes names
  ARM: Cygnus: dts: fix NAND nodes names
  ARM: brcmstb: dts: fix NAND nodes names
  reset: ti-syscon: fix to_ti_syscon_reset_data macro
  arm64: dts: rockchip: Fix power-controller node names for rk3399
  arm64: dts: rockchip: Fix power-controller node names for rk3328
  arm64: dts: rockchip: Fix power-controller node names for px30
  ARM: dts: rockchip: Fix power-controller node names for rk3288
  ARM: dts: rockchip: Fix power-controller node names for rk3188
  ARM: dts: rockchip: Fix power-controller node names for rk3066a
  ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
  ARM: dts: rockchip: Fix the timer clocks order
  arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
  ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
  ARM: dts: rockchip: Fix thermal sensor cells o rk322x
  ARM: dts: gemini: add device_type on pci
  ARM: dts: gemini: rename mdio to the right name
  Linux 5.10.52
  seq_file: disallow extremely large seq buffer allocations
  scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
  MIPS: vdso: Invalid GIC access through VDSO
  mips: disable branch profiling in boot/decompress.o
  mips: always link byteswap helpers into decompressor
  static_call: Fix static_call_text_reserved() vs __init
  jump_label: Fix jump_label_text_reserved() vs __init
  sched/uclamp: Ignore max aggregation if rq is idle
  scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
  arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
  arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
  firmware: turris-mox-rwtm: show message about HWRNG registration
  firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
  firmware: turris-mox-rwtm: report failures better
  firmware: turris-mox-rwtm: fix reply status decoding function
  thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
  ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
  ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
  ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
  thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
  ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
  ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
  ARM: dts: dra7: Fix duplicate USB4 target module node
  arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
  memory: fsl_ifc: fix leak of private memory on probe failure
  memory: fsl_ifc: fix leak of IO mapping on probe failure
  arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
  arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
  reset: bail if try_module_get() fails
  ARM: dts: BCM5301X: Fixup SPI binding
  dt-bindings: i2c: at91: fix example for scl-gpios
  firmware: arm_scmi: Reset Rx buffer to max size during async commands
  firmware: tegra: Fix error return code in tegra210_bpmp_init()
  arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
  ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
  ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
  arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
  arm64: dts: renesas: Add missing opp-suspend properties
  arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
  ARM: dts: r8a7779, marzen: Fix DU clock names
  arm64: dts: renesas: v3msk: Fix memory size
  rtc: fix snprintf() checking in is_rtc_hctosys()
  ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
  memory: pl353: Fix error return code in pl353_smc_probe()
  reset: brcmstb: Add missing MODULE_DEVICE_TABLE
  memory: atmel-ebi: add missing of_node_put for loop iteration
  memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
  ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
  ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
  ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
  ARM: exynos: add missing of_node_put for loop iteration
  reset: a10sr: add missing of_match_table reference
  reset: RESET_INTEL_GW should depend on X86
  reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
  ARM: dts: gemini-rut1xx: remove duplicate ethernet node
  hexagon: use common DISCARDS macro
  hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
  NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
  NFSv4/pnfs: Fix layoutget behaviour after invalidation
  NFSv4/pnfs: Fix the layout barrier update
  vdpa/mlx5: Clear vq ready indication upon device reset
  ALSA: isa: Fix error return code in snd_cmi8330_probe()
  nfsd: Reduce contention for the nfsd_file nf_rwsem
  nvme-tcp: can't set sk_user_data without write_lock
  virtio_net: move tx vq operation under tx queue lock
  vdpa/mlx5: Fix possible failure in umem size calculation
  vdpa/mlx5: Fix umem sizes assignments on VQ create
  PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
  pwm: imx1: Don't disable clocks at device remove time
  PCI: intel-gw: Fix INTx enable
  x86/fpu: Limit xstate copy size in xstateregs_set()
  x86/fpu: Fix copy_xstate_to_kernel() gap handling
  f2fs: fix to avoid adding tab before doc section
  PCI: iproc: Support multi-MSI only on uniprocessor kernel
  PCI: iproc: Fix multi-MSI base vector number allocation
  ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
  nfs: fix acl memory leak of posix_acl_create()
  SUNRPC: prevent port reuse on transports which don't request it.
  watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
  watchdog: aspeed: fix hardware timeout calculation
  ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
  ubifs: Fix off-by-one error
  um: fix error return code in winch_tramp()
  um: fix error return code in slip_open()
  misc: alcor_pci: fix inverted branch condition
  NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
  NFSv4: Initialise connection to the server in nfs4_alloc_client()
  power: supply: rt5033_battery: Fix device tree enumeration
  PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
  remoteproc: k3-r5: Fix an error message
  f2fs: compress: fix to disallow temp extension
  f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
  x86/signal: Detect and prevent an alternate signal stack overflow
  NFSD: Fix TP_printk() format specifier in nfsd_clid_class
  f2fs: atgc: fix to set default age threshold
  virtio_console: Assure used length from device is limited
  virtio_net: Fix error handling in virtnet_restore()
  virtio-blk: Fix memory leak among suspend/resume procedure
  PCI: rockchip: Register IRQ handlers after device and data are ready
  ACPI: video: Add quirk for the Dell Vostro 3350
  ACPI: AMBA: Fix resource name in /proc/iomem
  pwm: tegra: Don't modify HW state in .remove callback
  pwm: img: Fix PM reference leak in img_pwm_enable()
  drm/amdkfd: fix sysfs kobj leak
  power: supply: ab8500: add missing MODULE_DEVICE_TABLE
  power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
  NFS: nfs_find_open_context() may only select open files
  drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
  ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
  orangefs: fix orangefs df output.
  PCI: tegra: Add missing MODULE_DEVICE_TABLE
  remoteproc: core: Fix cdev remove and rproc del
  x86/fpu: Return proper error codes from user access functions
  watchdog: iTCO_wdt: Account for rebooting on second timeout
  watchdog: imx_sc_wdt: fix pretimeout
  watchdog: Fix possible use-after-free by calling del_timer_sync()
  watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
  watchdog: Fix possible use-after-free in wdt_startup()
  PCI: pciehp: Ignore Link Down/Up caused by DPC
  NFSv4: Fix delegation return in cases where we have to retry
  PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
  ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
  power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
  power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
  PCI: hv: Fix a race condition when removing the device
  power: supply: ab8500: Avoid NULL pointers
  PCI: ftpci100: Rename macro name collision
  pwm: spear: Don't modify HW state in .remove callback
  power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
  power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
  kcov: add __no_sanitize_coverage to fix noinstr for all architectures
  lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
  phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
  i2c: core: Disable client irq on reboot/shutdown
  intel_th: Wait until port is in reset before programming it
  staging: rtl8723bs: fix macro value for 2.4Ghz only device
  leds: turris-omnia: add missing MODULE_DEVICE_TABLE
  ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
  ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
  ALSA: hda: Add IRQ check for platform_get_irq()
  backlight: lm3630a: Fix return code of .update_status() callback
  ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
  powerpc/boot: Fixup device-tree on little endian
  usb: gadget: hid: fix error return code in hid_bind()
  usb: gadget: f_hid: fix endianness issue with descriptors
  ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
  ALSA: usb-audio: scarlett2: Fix data_mutex lock
  ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
  ALSA: bebob: add support for ToneWeal FW66
  Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
  s390/mem_detect: fix tprot() program check new psw handling
  s390/mem_detect: fix diag260() program check new psw handling
  s390/ipl_parm: fix program check new psw handling
  s390/processor: always inline stap() and __load_psw_mask()
  habanalabs: remove node from list before freeing the node
  habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
  ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
  powerpc/mm/book3s64: Fix possible build error
  gpio: pca953x: Add support for the On Semi pca9655
  selftests/powerpc: Fix "no_handler" EBB selftest
  ALSA: ppc: fix error return code in snd_pmac_probe()
  scsi: storvsc: Correctly handle multiple flags in srb_status
  gpio: zynq: Check return value of irq_get_irq_data
  gpio: zynq: Check return value of pm_runtime_get_sync
  ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
  iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
  iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
  powerpc/ps3: Add dma_mask to ps3_dma_region
  ALSA: sb: Fix potential double-free of CSP mixer elements
  selftests: timers: rtcpie: skip test if default RTC device does not exist
  s390: disable SSP when needed
  s390/sclp_vt220: fix console name to match device
  serial: tty: uartlite: fix console setup
  fsi: Add missing MODULE_DEVICE_TABLE
  ASoC: img: Fix PM reference leak in img_i2s_in_probe()
  mfd: cpcap: Fix cpcap dmamask not set warnings
  mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
  scsi: qedi: Fix cleanup session block/unblock use
  scsi: qedi: Fix TMF session block/unblock use
  scsi: qedi: Fix race during abort timeouts
  scsi: qedi: Fix null ref during abort handling
  scsi: iscsi: Fix shost->max_id use
  scsi: iscsi: Fix conn use after free during resets
  scsi: iscsi: Add iscsi_cls_conn refcount helpers
  scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
  scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
  scsi: megaraid_sas: Fix resource leak in case of probe failure
  fs/jfs: Fix missing error code in lmLogInit()
  scsi: scsi_dh_alua: Check for negative result value
  scsi: core: Fixup calling convention for scsi_mode_sense()
  scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
  tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
  ALSA: ac97: fix PM reference leak in ac97_bus_remove()
  scsi: core: Cap scsi_host cmd_per_lun at can_queue
  scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
  scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
  scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
  scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
  w1: ds2438: fixing bug that would always get page0
  usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
  Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
  ALSA: usx2y: Don't call free_pages_exact() with NULL address
  ALSA: usx2y: Avoid camelCase
  iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
  iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
  partitions: msdos: fix one-byte get_unaligned()
  ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
  misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
  misc/libmasm/module: Fix two use after free in ibmasm_init_one
  serial: fsl_lpuart: disable DMA for console and fix sysrq
  tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
  rcu: Reject RCU_LOCKDEP_WARN() false positives
  srcu: Fix broken node geometry after early ssp init
  scsi: arcmsr: Fix the wrong CDB payload report to IOP
  dmaengine: fsl-qdma: check dma_set_mask return value
  ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
  leds: tlc591xx: fix return value check in tlc591xx_probe()
  net: bridge: multicast: fix MRD advertisement router port marking race
  net: bridge: multicast: fix PIM hello router port marking race
  Revert "drm/ast: Remove reference to struct drm_device.pdev"
  drm/ingenic: Switch IPU plane to type OVERLAY
  drm/ingenic: Fix non-OSD mode
  drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
  drm/dp_mst: Avoid to mess up payload table by ports in stale topology
  drm/dp_mst: Do not set proposed vcpi directly
  fbmem: Do not delete the mode that is still in use
  cgroup: verify that source is a string
  drm/i915/gt: Fix -EDEADLK handling regression
  drm/i915/gtt: drop the page table optimisation
  tracing: Do not reference char * as a string in histograms
  scsi: zfcp: Report port fc_security as unknown early during remote cable pull
  scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
  KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
  KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
  KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
  KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
  KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
  cifs: handle reconnect of tcon when there is no cached dfs referral
  certs: add 'x509_revocation_list' to gitignore
  Revert "media: subdev: disallow ioctl for saa6588/davinci"
  Linux 5.10.51
  f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
  ext4: fix memory leak in ext4_fill_super
  smackfs: restrict bytes count in smk_set_cipso()
  jfs: fix GPF in diFree
  drm/ast: Remove reference to struct drm_device.pdev
  pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
  dm writecache: write at least 4k when committing
  io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
  media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
  media: gspca/sunplus: fix zero-length control requests
  media: gspca/sq905: fix control-request direction
  media: zr364xx: fix memory leak in zr364xx_start_readpipe
  media: dtv5100: fix control-request directions
  media: subdev: disallow ioctl for saa6588/davinci
  PCI: aardvark: Implement workaround for the readback value of VEND_ID
  PCI: aardvark: Fix checking for PIO Non-posted Request
  PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
  dm btree remove: assign new_root only when removal succeeds
  dm writecache: flush origin device when writing and cache is full
  dm zoned: check zone capacity
  coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
  coresight: Propagate symlink failure
  ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
  tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
  tracing: Simplify & fix saved_tgids logic
  rq-qos: fix missed wake-ups in rq_qos_throttle try two
  seq_buf: Fix overflow in seq_buf_putmem_hex()
  extcon: intel-mrfld: Sync hardware and software state on init
  selftests/lkdtm: Fix expected text for CR4 pinning
  lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
  nvmem: core: add a missing of_node_put
  mfd: syscon: Free the allocated name field of struct regmap_config
  power: supply: ab8500: Fix an old bug
  ubifs: Fix races between xattr_{set|get} and listxattr operations
  thermal/drivers/int340x/processor_thermal: Fix tcc setting
  ipmi/watchdog: Stop watchdog timer when the current action is 'none'
  qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
  i40e: fix PTP on 5Gb links
  ASoC: tegra: Set driver_name=tegra for all machine drivers
  fpga: stratix10-soc: Add missing fpga_mgr_free() call
  clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
  cpu/hotplug: Cure the cpusets trainwreck
  arm64: tlb: fix the TTL value of tlb_get_level
  ata: ahci_sunxi: Disable DIPM
  mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
  mmc: core: clear flags before allowing to retune
  mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
  mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
  drm/i915/display: Do not zero past infoframes.vsc
  drm/nouveau: Don't set allow_fb_modifiers explicitly
  drm/arm/malidp: Always list modifiers
  drm/msm/mdp4: Fix modifier support enabling
  drm/tegra: Don't set allow_fb_modifiers explicitly
  drm/amd/display: Reject non-zero src_y and src_x for video planes
  pinctrl/amd: Add device HID for new AMD GPIO controller
  drm/amd/display: fix incorrrect valid irq check
  drm/rockchip: dsi: remove extra component_del() call
  drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
  drm/vc4: hdmi: Prevent clock unbalance
  drm/vc4: crtc: Skip the TXP
  drm/vc4: txp: Properly set the possible_crtcs mask
  drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
  drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
  drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
  drm/amdgpu: Update NV SIMD-per-CU to 2
  powerpc/powernv/vas: Release reference to tgid during window close
  powerpc/barrier: Avoid collision with clang's __lwsync macro
  powerpc/mm: Fix lockup on kernel exec fault
  scsi: iscsi: Fix iSCSI cls conn state
  scsi: iscsi: Fix race condition between login and sync thread
  io_uring: convert io_buffer_idr to XArray
  io_uring: Convert personality_idr to XArray
  io_uring: simplify io_remove_personalities()
  mm,hwpoison: return -EBUSY when migration fails
  loop: fix I/O error on fsync() in detached loop devices
  arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
  arm64: dts: rockchip: add rk3328 dwc3 usb controller node
  ath11k: unlock on error path in ath11k_mac_op_add_interface()
  MIPS: MT extensions are not available on MIPS32r1
  selftests/resctrl: Fix incorrect parsing of option "-t"
  MIPS: set mips32r5 for virt extensions
  MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
  sctp: add size validation when walking chunks
  sctp: validate from_addr_param return
  flow_offload: action should not be NULL when it is referenced
  bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
  sched/fair: Ensure _sum and _avg values stay consistent
  Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
  Bluetooth: mgmt: Fix the command returns garbage parameter value
  Bluetooth: btusb: Add support USB ALT 3 for WBS
  Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
  Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
  Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
  Bluetooth: Shutdown controller after workqueues are flushed or cancelled
  Bluetooth: Fix alt settings for incoming SCO with transparent coding format
  Bluetooth: Fix the HCI to MGMT status conversion table
  Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
  RDMA/cma: Fix rdma_resolve_route() memory leak
  net: ip: avoid OOM kills with large UDP sends over loopback
  media, bpf: Do not copy more entries than user space requested
  IB/isert: Align target max I/O size to initiator size
  mac80211_hwsim: add concurrent channels scanning support over virtio
  mac80211: consider per-CPU statistics if present
  cfg80211: fix default HE tx bitrate mask in 2G band
  wireless: wext-spy: Fix out-of-bounds warning
  sfc: error code if SRIOV cannot be disabled
  sfc: avoid double pci_remove of VFs
  iwlwifi: pcie: fix context info freeing
  iwlwifi: pcie: free IML DMA memory allocation
  iwlwifi: mvm: fix error print when session protection ends
  iwlwifi: mvm: don't change band on bound PHY contexts
  RDMA/rxe: Don't overwrite errno from ib_umem_get()
  vsock: notify server to shutdown when client has pending signal
  atm: nicstar: register the interrupt handler in the right place
  atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
  net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
  MIPS: add PMD table accounting into MIPS'pmd_alloc_one
  rtl8xxxu: Fix device info for RTL8192EU devices
  mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
  drm/amdkfd: Walk through list with dqm lock hold
  drm/amdgpu: fix bad address translation for sienna_cichlid
  io_uring: fix false WARN_ONCE
  net: sched: fix error return code in tcf_del_walker()
  net: ipa: Add missing of_node_put() in ipa_firmware_load()
  net: fix mistake path for netdev_features_strings
  mt76: mt7615: fix fixed-rate tx status reporting
  ice: mark PTYPE 2 as reserved
  ice: fix incorrect payload indicator on PTYPE
  bpf: Fix up register-based shifts in interpreter to silence KUBSAN
  drm/amdkfd: Fix circular lock in nocpsch path
  drm/amdkfd: fix circular locking on get_wave_state
  cw1200: add missing MODULE_DEVICE_TABLE
  wl1251: Fix possible buffer overflow in wl1251_cmd_scan
  wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
  dm writecache: commit just one block, not a full page
  xfrm: Fix error reporting in xfrm_state_construct.
  drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
  r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
  selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
  fjes: check return value after calling platform_get_resource()
  drm/amdkfd: use allowed domain for vmbo validation
  net: sgi: ioc3-eth: check return value after calling platform_get_resource()
  selftests: Clean forgotten resources as part of cleanup()
  net: phy: realtek: add delay to fix RXC generation issue
  drm/amd/display: Fix off-by-one error in DML
  drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
  drm/amd/display: Release MST resources on switch from MST to SST
  drm/amd/display: Update scaling settings on modeset
  drm/amd/display: Fix DCN 3.01 DSCCLK validation
  net: moxa: Use devm_platform_get_and_ioremap_resource()
  net: micrel: check return value after calling platform_get_resource()
  net: mvpp2: check return value after calling platform_get_resource()
  net: bcmgenet: check return value after calling platform_get_resource()
  net: mscc: ocelot: check return value after calling platform_get_resource()
  virtio_net: Remove BUG() to avoid machine dead
  ice: fix clang warning regarding deadcode.DeadStores
  ice: set the value of global config lock timeout longer
  pinctrl: mcp23s08: fix race condition in irq handler
  net: bridge: mrp: Update ring transitions.
  dm: Fix dm_accept_partial_bio() relative to zone management commands
  dm writecache: don't split bios when overwriting contiguous cache content
  dm space maps: don't reset space map allocation cursor when committing
  RDMA/cxgb4: Fix missing error code in create_qp()
  net: tcp better handling of reordering then loss cases
  drm/amdgpu: remove unsafe optimization to drop preamble ib
  drm/amd/display: Avoid HDCP over-read and corruption
  MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
  ipv6: use prandom_u32() for ID generation
  virtio-net: Add validation for used length
  drm: bridge: cdns-mhdp8546: Fix PM reference leak in
  clk: tegra: Ensure that PLLU configuration is applied properly
  clk: tegra: Fix refcounting of gate clocks
  RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
  net: stmmac: the XPCS obscures a potential "PHY not found" error
  drm: rockchip: add missing registers for RK3066
  drm: rockchip: add missing registers for RK3188
  net/mlx5: Fix lag port remapping logic
  net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
  clk: renesas: r8a77995: Add ZA2 clock
  drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
  igb: fix assignment on big endian machines
  igb: handle vlan types with checker enabled
  e100: handle eeprom as little endian
  drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
  drm/vc4: Fix clock source for VEC PixelValve on BCM2711
  udf: Fix NULL pointer dereference in udf_symlink function
  drm/sched: Avoid data corruptions
  drm/scheduler: Fix hang when sched_entity released
  pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
  net/sched: cls_api: increase max_reclassify_loop
  net: mdio: provide shim implementation of devm_of_mdiobus_register
  drm/virtio: Fix double free on probe failure
  reiserfs: add check for invalid 1st journal block
  drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
  net: mdio: ipq8064: add regmap config to disable REGCACHE
  drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
  net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
  atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
  mISDN: fix possible use-after-free in HFC_cleanup()
  atm: iphase: fix possible use-after-free in ia_module_exit()
  hugetlb: clear huge pte during flush function on mips platform
  clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
  drm/amd/display: fix use_max_lb flag for 420 pixel formats
  net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
  drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
  drm/vc4: fix argument ordering in vc4_crtc_get_margins()
  drm/amd/amdgpu/sriov disable all ip hw status by default
  drm/amd/display: fix HDCP reset sequence on reinitialize
  drm/ast: Fixed CVE for DP501
  drm/zte: Don't select DRM_KMS_FB_HELPER
  drm/mxsfb: Don't select DRM_KMS_FB_HELPER
  ANDROID: GKI: fix up crc change in ip.h
  Revert "Add a reference to ucounts for each cred"
  Revert "cred: add missing return error code when set_cred_ucounts() failed"
  Revert "Bluetooth: Fix Set Extended (Scan Response) Data"
  Linux 5.10.50
  powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
  iommu/dma: Fix compile warning in 32-bit builds
  cred: add missing return error code when set_cred_ucounts() failed
  s390: preempt: Fix preempt_count initialization
  crypto: qce - fix error return code in qce_skcipher_async_req_handle()
  scsi: core: Retry I/O for Notify (Enable Spinup) Required error
  media: exynos4-is: remove a now unused integer
  mmc: vub3000: fix control-request direction
  mmc: block: Disable CMDQ on the ioctl path
  io_uring: fix blocking inline submission
  block: return the correct bvec when checking for gaps
  erofs: fix error return code in erofs_read_superblock()
  tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
  fscrypt: fix derivation of SipHash keys on big endian CPUs
  fscrypt: don't ignore minor_hash when hash is 0
  mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
  scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
  scsi: fc: Correct RHBA attributes length
  exfat: handle wrong stream entry size in exfat_readdir()
  csky: syscache: Fixup duplicate cache flush
  csky: fix syscache.c fallthrough warning
  perf llvm: Return -ENOMEM when asprintf() fails
  selftests/vm/pkeys: refill shadow register after implicit kernel write
  selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
  selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
  lib/math/rational.c: fix divide by zero
  mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
  mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
  include/linux/huge_mm.h: remove extern keyword
  hugetlb: remove prep_compound_huge_page cleanup
  mm/hugetlb: remove redundant check in preparing and destroying gigantic page
  mm/hugetlb: use helper huge_page_order and pages_per_huge_page
  mm/huge_memory.c: don't discard hugepage if other processes are mapping it
  mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
  mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
  mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
  vfio/pci: Handle concurrent vma faults
  arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
  serial: mvebu-uart: correctly calculate minimal possible baudrate
  serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
  ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
  powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
  powerpc/64s: Fix copy-paste data exposure into newly created tasks
  powerpc/papr_scm: Properly handle UUID types and API
  powerpc: Offline CPU in stop_this_cpu()
  serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
  serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
  selftests/ftrace: fix event-no-pid on 1-core machine
  leds: ktd2692: Fix an error handling path
  leds: as3645a: Fix error return code in as3645a_parse_node()
  ASoC: fsl_spdif: Fix unexpected interrupt after suspend
  ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
  configfs: fix memleak in configfs_release_bin_file
  ASoC: atmel-i2s: Fix usage of capture and playback at the same time
  powerpc/powernv: Fix machine check reporting of async store errors
  extcon: max8997: Add missing modalias string
  extcon: sm5502: Drop invalid register write in sm5502_reg_data
  phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
  phy: uniphier-pcie: Fix updating phy parameters
  soundwire: stream: Fix test for DP prepare complete
  scsi: mpt3sas: Fix error return value in _scsih_expander_add()
  habanalabs: Fix an error handling path in 'hl_pci_probe()'
  mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
  of: Fix truncation of memory sizes on 32-bit platforms
  ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
  iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
  staging: mt7621-dts: fix pci address for PCI memory range
  coresight: core: Fix use of uninitialized pointer
  staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
  staging: rtl8712: fix error handling in r871xu_drv_init
  staging: gdm724x: check for overflow in gdm_lte_netif_rx()
  staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
  ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
  iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
  iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
  iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
  eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
  eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
  usb: dwc2: Don't reset the core after setting turnaround time
  usb: gadget: f_fs: Fix setting of device and driver data cross-references
  ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
  ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
  ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
  ASoC: rt715-sdw: use first_hw_init flag on resume
  ASoC: rt711-sdw: use first_hw_init flag on resume
  ASoC: rt700-sdw: use first_hw_init flag on resume
  ASoC: rt5682-sdw: use first_hw_init flag on resume
  ASoC: rt1308-sdw: use first_hw_init flag on resume
  ASoC: max98373-sdw: use first_hw_init flag on resume
  iommu/dma: Fix IOVA reserve dma ranges
  selftests: splice: Adjust for handler fallback removal
  s390: appldata depends on PROC_SYSCTL
  s390: enable HAVE_IOREMAP_PROT
  s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
  iommu/amd: Fix extended features logging
  visorbus: fix error return code in visorchipset_init()
  fsi/sbefifo: Fix reset timeout
  fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
  fsi: occ: Don't accept response from un-initialized OCC
  fsi: scom: Reset the FSI2PIB engine for any error
  fsi: core: Fix return of error values on failures
  mfd: rn5t618: Fix IRQ trigger by changing it to level mode
  mfd: mp2629: Select MFD_CORE to fix build error
  scsi: iscsi: Flush block work before unblock
  scsi: FlashPoint: Rename si_flags field
  leds: lp50xx: Put fwnode in error case during ->probe()
  leds: lm3697: Don't spam logs when probe is deferred
  leds: lm3692x: Put fwnode in any case during ->probe()
  leds: lm36274: Put fwnode in error case during ->probe()
  leds: lm3532: select regmap I2C API
  leds: class: The -ENOTSUPP should never be seen by user space
  tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
  firmware: stratix10-svc: Fix a resource leak in an error handling path
  char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
  staging: mmal-vchiq: Fix incorrect static vchiq_instance.
  mtd: rawnand: arasan: Ensure proper configuration for the asserted target
  mtd: partitions: redboot: seek fis-index-block in the right node
  perf scripting python: Fix tuple_set_u64()
  Input: hil_kbd - fix error return code in hil_dev_connect()
  ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
  backlight: lm3630a_bl: Put fwnode in error case during ->probe()
  ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
  ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
  iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
  iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
  iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: mxc4005: Fix overread of data and alignment issue.
  iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
  iio: adis16475: do not return ints in irq handlers
  iio: adis16400: do not return ints in irq handlers
  iio: adis_buffer: do not return ints in irq handlers
  mwifiex: re-fix for unaligned accesses
  tty: nozomi: Fix a resource leak in an error handling function
  serial: 8250_omap: fix a timeout loop condition
  serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
  serial: fsl_lpuart: don't modify arbitrary data on lpuart32
  rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
  ASoC: rt5682: Disable irq on shutdown
  staging: fbtft: Don't spam logs when probe is deferred
  staging: fbtft: Rectify GPIO handling
  MIPS: Fix PKMAP with 32-bit MIPS huge page support
  RDMA/core: Always release restrack object
  RDMA/mlx5: Don't access NULL-cleared mpi pointer
  net: tipc: fix FB_MTU eat two pages
  net: sched: fix warning in tcindex_alloc_perfect_hash
  net: lwtunnel: handle MTU calculation in forwading
  writeback: fix obtain a reference to a freeing memcg css
  clk: si5341: Update initialization magic
  clk: si5341: Check for input clock presence and PLL lock on startup
  clk: si5341: Avoid divide errors due to bogus register contents
  clk: si5341: Wait for DEVICE_READY on startup
  clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
  clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
  clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
  clk: actions: Fix SD clocks factor table on Owl S500 SoC
  clk: actions: Fix UART clock dividers on Owl S500 SoC
  Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
  Bluetooth: Fix Set Extended (Scan Response) Data
  Bluetooth: Fix not sending Set Extended Scan Response
  Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
  Revert "be2net: disable bh with spin_lock in be_process_mcc"
  gve: Fix swapped vars when fetching max queues
  RDMA/cma: Fix incorrect Packet Lifetime calculation
  bpfilter: Specify the log level for the kmsg message
  net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
  e1000e: Check the PCIm state
  ipv6: fix out-of-bound access in ip6_parse_tlv()
  net: atlantic: fix the macsec key length
  net: phy: mscc: fix macsec key length
  net: macsec: fix the length used to copy the key for offloading
  RDMA/cma: Protect RMW with qp_mutex
  ibmvnic: free tx_pool if tso_pool alloc fails
  ibmvnic: set ltb->buff to NULL after freeing
  Revert "ibmvnic: remove duplicate napi_schedule call in open function"
  i40e: Fix missing rtnl locking when setting up pf switch
  i40e: Fix autoneg disabling for non-10GBaseT links
  i40e: Fix error handling in i40e_vsi_open
  bpf: Do not change gso_size during bpf_skb_change_proto()
  can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
  ipv6: exthdrs: do not blindly use init_net
  net: bcmgenet: Fix attaching to PYH failed on RPi 4B
  mac80211: remove iwlwifi specific workaround NDPs of null_response
  drm/msm/dpu: Fix error return code in dpu_mdss_init()
  drm/msm: Fix error return code in msm_drm_init()
  bpf: Fix null ptr deref with mixed tail calls and subprogs
  ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
  ieee802154: hwsim: Fix memory leak in hwsim_add_one
  tc-testing: fix list handling
  net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
  net/ipv4: swap flow ports when validating source
  ip6_tunnel: fix GRE6 segmentation
  vxlan: add missing rcu_read_lock() in neigh_reduce()
  rtw88: 8822c: fix lc calibration timing
  iwlwifi: increase PNVM load timeout
  xfrm: Fix xfrm offload fallback fail case
  pkt_sched: sch_qfq: fix qfq_change_class() error path
  netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
  tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
  net: sched: add barrier to ensure correct ordering for lockless qdisc
  vrf: do not push non-ND strict packets with a source LLA through packet taps again
  net: ethernet: ezchip: fix error handling
  net: ethernet: ezchip: fix UAF in nps_enet_remove
  net: ethernet: aeroflex: fix UAF in greth_of_remove
  mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
  mt76: fix possible NULL pointer dereference in mt76_tx
  samples/bpf: Fix the error return code of xdp_redirect's main()
  samples/bpf: Fix Segmentation fault for xdp_redirect command
  RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
  bpf: Fix libelf endian handling in resolv_btfids
  xsk: Fix broken Tx ring validation
  xsk: Fix missing validation for skb and unaligned mode
  selftests/bpf: Whitelist test_progs.h from .gitignore
  RDMA/rxe: Fix qp reference counting for atomic ops
  netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
  netfilter: nft_osf: check for TCP packet before further processing
  netfilter: nft_exthdr: check for IPv6 packet before further processing
  RDMA/mlx5: Don't add slave port to unaffiliated list
  netlabel: Fix memory leak in netlbl_mgmt_add_common
  ath11k: send beacon template after vdev_start/restart during csa
  ath10k: Fix an error code in ath10k_add_interface()
  ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
  cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
  brcmsmac: mac80211_if: Fix a resource leak in an error handling path
  brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
  brcmfmac: correctly report average RSSI in station info
  brcmfmac: fix setting of station info chains bitmask
  ssb: Fix error return code in ssb_bus_scan()
  wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
  clk: imx8mq: remove SYS PLL 1/2 clock gates
  ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
  wireless: carl9170: fix LEDS build errors & warnings
  ath10k: add missing error return code in ath10k_pci_probe()
  ath10k: go to path err_unsupported when chip id is not supported
  tools/bpftool: Fix error return code in do_batch()
  drm: qxl: ensure surf.data is ininitialized
  clk: vc5: fix output disabling when enabling a FOD
  drm/vc4: hdmi: Fix error path of hpd-gpios
  drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
  RDMA/rxe: Fix failure during driver load
  drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
  RDMA/core: Sanitize WQ state received from the userspace
  net/sched: act_vlan: Fix modify to allow 0
  xfrm: remove the fragment check for ipv6 beet mode
  clk: tegra30: Use 300MHz for video decoder by default
  ehea: fix error return code in ehea_restart_qps()
  RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
  RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
  RDMA/rtrs-srv: Fix memory leak when having multiple sessions
  RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
  RDMA/rtrs: Do not reset hb_missed_max after re-connection
  RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
  RDMA/srp: Fix a recently introduced memory leak
  mptcp: generate subflow hmac after mptcp_finish_join()
  mptcp: fix pr_debug in mptcp_token_new_connect
  drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
  drm/rockchip: lvds: Fix an error handling path
  drm/rockchip: dsi: move all lane config except LCDC mux to bind()
  drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
  drm: rockchip: set alpha_en to 0 if it is not used
  net: ftgmac100: add missing error return code in ftgmac100_probe()
  clk: meson: g12a: fix gp0 and hifi ranges
  net: qrtr: ns: Fix error return code in qrtr_ns_init()
  drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
  drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
  pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
  pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
  net: pch_gbe: Propagate error from devm_gpio_request_one()
  net: mvpp2: Put fwnode in error case during ->probe()
  video: fbdev: imxfb: Fix an error message
  drm/ast: Fix missing conversions to managed API
  drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
  drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
  drm/bridge/sii8620: fix dependency on extcon
  xfrm: xfrm_state_mtu should return at least 1280 for ipv6
  mm/page_alloc: fix counting of managed_pages
  mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
  mm: memcg/slab: properly set up gfp flags for objcg pointer array
  mm/shmem: fix shmem_swapin() race with swapoff
  swap: fix do_swap_page() race with swapoff
  mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
  mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
  mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
  dax: fix ENOMEM handling in grab_mapping_entry()
  ocfs2: fix snprintf() checking
  blk-mq: update hctx->dispatch_busy in case of real scheduler
  cpufreq: Make cpufreq_online() call driver->offline() on errors
  ACPI: bgrt: Fix CFI violation
  ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
  blk-wbt: make sure throttle is enabled properly
  blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
  ACPI: APEI: fix synchronous external aborts in user-mode
  extcon: extcon-max8997: Fix IRQ freeing at error path
  clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
  mark pstore-blk as broken
  ACPI: sysfs: Fix a buffer overrun problem with description_show()
  nvme-pci: look for StorageD3Enable on companion ACPI device instead
  block: avoid double io accounting for flush request
  ACPI: PM / fan: Put fan device IDs into separate header file
  PM / devfreq: Add missing error code in devfreq_add_device()
  media: video-mux: Skip dangling endpoints
  media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
  psi: Fix race between psi_trigger_create/destroy
  crypto: nx - Fix RCU warning in nx842_OF_upd_status
  spi: spi-sun6i: Fix chipselect/clock bug
  lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
  lockdep: Fix wait-type for empty stack
  sched/uclamp: Fix uclamp_tg_restrict()
  sched/rt: Fix Deadline utilization tracking during policy change
  sched/rt: Fix RT utilization tracking during policy change
  x86/sev: Split up runtime #VC handler for correct state tracking
  x86/sev: Make sure IRQs are disabled while GHCB is active
  btrfs: clear log tree recovering status if starting transaction fails
  regulator: hi655x: Fix pass wrong pointer to config.driver_data
  KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
  perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
  KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
  KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
  KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
  KVM: nVMX: Sync all PGDs on nested transition with shadow paging
  hwmon: (max31790) Fix fan speed reporting for fan7..12
  hwmon: (max31722) Remove non-standard ACPI device IDs
  hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
  hwmon: (lm70) Use device_get_match_data()
  media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
  media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
  arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
  arm64: consistently use reserved_pg_dir
  mmc: usdhi6rol0: fix error return code in usdhi6_probe()
  crypto: sm2 - fix a memory leak in sm2
  crypto: sm2 - remove unnecessary reset operations
  crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
  crypto: omap-sham - Fix PM reference leak in omap sham ops
  crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
  regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
  media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
  m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
  media: gspca/gl860: fix zero-length control requests
  media: tc358743: Fix error return code in tc358743_probe_of()
  media: au0828: fix a NULL vs IS_ERR() check
  media: exynos4-is: Fix a use after free in isp_video_release
  media: rkvdec: Fix .buf_prepare
  locking/lockdep: Reduce LOCKDEP dependency list
  pata_ep93xx: fix deferred probing
  media: rc: i2c: Fix an error message
  crypto: ccp - Fix a resource leak in an error handling path
  crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
  crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
  x86/elf: Use _BITUL() macro in UAPI headers
  evm: fix writing <securityfs>/evm overflow
  pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
  kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
  sched/uclamp: Fix locking around cpu_util_update_eff()
  sched/uclamp: Fix wrong implementation of cpu.uclamp.min
  media: I2C: change 'RST' to "RSET" to fix multiple build errors
  pata_rb532_cf: fix deferred probing
  sata_highbank: fix deferred probing
  crypto: ux500 - Fix error return code in hash_hw_final()
  crypto: ixp4xx - update IV after requests
  crypto: ixp4xx - dma_unmap the correct address
  media: hantro: do a PM resume earlier
  media: s5p_cec: decrement usage count if disabled
  media: venus: Rework error fail recover logic
  spi: Avoid undefined behaviour when counting unused native CSs
  spi: Allow to have all native CSs in use along with GPIOs
  writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
  ia64: mca_drv: fix incorrect array size calculation
  kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
  block: fix discard request merge
  mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
  cifs: fix missing spinlock around update to ses->status
  HID: wacom: Correct base usage for capacitive ExpressKey status bits
  ACPI: tables: Add custom DSDT file as makefile prerequisite
  tpm_tis_spi: add missing SPI device ID entries
  clocksource: Check per-CPU clock synchronization when marked unstable
  clocksource: Retry clock read if long delays detected
  ACPI: EC: trust DSDT GPE for certain HP laptop
  cifs: improve fallocate emulation
  PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
  EDAC/Intel: Do not load EDAC driver when running as a guest
  nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
  nvme-pci: fix var. type for increasing cq_head
  platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
  platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
  platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
  block: fix race between adding/removing rq qos and normal IO
  ACPI: resources: Add checks for ACPI IRQ override
  ACPI: bus: Call kobject_put() in acpi_init() error path
  ACPICA: Fix memory leak caused by _CID repair function
  fs: dlm: fix memory leak when fenced
  drivers: hv: Fix missing error code in vmbus_connect()
  open: don't silently ignore unknown O-flags in openat2()
  random32: Fix implicit truncation warning in prandom_seed_state()
  fs: dlm: cancel work sync othercon
  blk-mq: clear stale request in tags->rq[] before freeing one request pool
  blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
  block_dump: remove block_dump feature in mark_inode_dirty()
  ACPI: EC: Make more Asus laptops use ECDT _GPE
  platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
  platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
  Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
  lib: vsprintf: Fix handling of number field widths in vsscanf
  hv_utils: Fix passing zero to 'PTR_ERR' warning
  ACPI: processor idle: Fix up C-state latency if not ordered
  EDAC/ti: Add missing MODULE_DEVICE_TABLE
  HID: do not use down_interruptible() when unbinding devices
  ACPI: video: use native backlight for GA401/GA502/GA503
  media: Fix Media Controller API config checks
  regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
  regulator: mt6358: Fix vdram2 .vsel_mask
  KVM: s390: get rid of register asm usage
  lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
  locking/lockdep: Fix the dep path printing for backwards BFS
  btrfs: disable build on platforms having page size 256K
  btrfs: don't clear page extent mapped if we're not invalidating the full page
  btrfs: sysfs: fix format string for some discard stats
  btrfs: abort transaction if we fail to update the delayed inode
  btrfs: fix error handling in __btrfs_update_delayed_inode
  KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
  drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
  hwmon: (max31790) Fix pwmX_enable attributes
  hwmon: (max31790) Report correct current pwm duty cycles
  media: imx-csi: Skip first few frames from a BT.656 source
  media: siano: fix device register error path
  media: dvb_net: avoid speculation from net slot
  crypto: shash - avoid comparing pointers to exported functions under CFI
  spi: meson-spicc: fix memory leak in meson_spicc_probe
  spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
  mmc: via-sdmmc: add a check against NULL pointer dereference
  mmc: sdhci-sprd: use sdhci_sprd_writew
  memstick: rtsx_usb_ms: fix UAF
  media: dvd_usb: memory leak in cinergyt2_fe_attach
  Makefile: fix GDB warning with CONFIG_RELR
  crypto: hisilicon/sec - fixup 3des minimum key size declaration
  media: st-hva: Fix potential NULL pointer dereferences
  media: bt8xx: Fix a missing check bug in bt878_probe
  media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
  media: cedrus: Fix .buf_prepare
  media: hantro: Fix .buf_prepare
  media: em28xx: Fix possible memory leak of em28xx struct
  media: bt878: do not schedule tasklet when it is not setup
  media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
  sched/fair: Fix ascii art by relpacing tabs
  arm64: perf: Convert snprintf to sysfs_emit
  crypto: qce: skcipher: Fix incorrect sg count for dma transfers
  crypto: qat - remove unused macro in FW loader
  crypto: qat - check return code of qat_hal_rd_rel_reg()
  media: imx: imx7_mipi_csis: Fix logging of only error event counters
  media: pvrusb2: fix warning in pvr2_i2c_core_done
  media: hevc: Fix dependent slice segment flags
  media: cobalt: fix race condition in setting HPD
  media: cpia2: fix memory leak in cpia2_usb_probe
  media: sti: fix obj-$(config) targets
  crypto: nx - add missing MODULE_DEVICE_TABLE
  hwrng: exynos - Fix runtime PM imbalance on error
  sched/core: Initialize the idle task with preemption disabled
  regulator: uniphier: Add missing MODULE_DEVICE_TABLE
  spi: omap-100k: Fix the length judgment problem
  spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
  spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
  media: exynos-gsc: fix pm_runtime_get_sync() usage count
  media: exynos4-is: fix pm_runtime_get_sync() usage count
  media: sti/bdisp: fix pm_runtime_get_sync() usage count
  media: sunxi: fix pm_runtime_get_sync() usage count
  media: s5p-jpeg: fix pm_runtime_get_sync() usage count
  media: mtk-vcodec: fix PM runtime get logic
  media: sh_vou: fix pm_runtime_get_sync() usage count
  media: am437x: fix pm_runtime_get_sync() usage count
  media: s5p: fix pm_runtime_get_sync() usage count
  media: mdk-mdp: fix pm_runtime_get_sync() usage count
  media: marvel-ccic: fix some issues when getting pm_runtime
  staging: media: rkvdec: fix pm_runtime_get_sync() usage count
  Add a reference to ucounts for each cred
  spi: Make of_register_spi_device also set the fwnode
  thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
  fuse: reject internal errno
  fuse: check connected before queueing on fpq->io
  fuse: ignore PG_workingset after stealing
  fuse: Fix infinite loop in sget_fc()
  fuse: Fix crash if superblock of submount gets killed early
  fuse: Fix crash in fuse_dentry_automount() error path
  evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
  evm: Execute evm_inode_init_security() only when an HMAC key is loaded
  loop: Fix missing discard support when using LOOP_CONFIGURE
  powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
  seq_buf: Make trace_seq_putmem_hex() support data longer than 8
  tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
  tracing/histograms: Fix parsing of "sym-offset" modifier
  rsi: fix AP mode with WPA failure due to encrypted EAPOL
  rsi: Assign beacon rate settings to the correct rate_info descriptor field
  ssb: sdio: Don't overwrite const buffer if block_write fails
  ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
  serial_cs: remove wrong GLOBETROTTER.cis entry
  serial_cs: Add Option International GSM-Ready 56K/ISDN modem
  serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
  serial: mvebu-uart: fix calculation of clock divisor
  iio: accel: bma180: Fix BMA25x bandwidth register values
  iio: ltr501: ltr501_read_ps(): add missing endianness conversion
  iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
  iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
  iio: light: tcs3472: do not free unallocated IRQ
  iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
  rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
  clk: agilex/stratix10: fix bypass representation
  clk: agilex/stratix10: remove noc_clk
  clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
  f2fs: Prevent swap file in LFS mode
  s390: mm: Fix secure storage access exception handling
  s390/cio: dont call css_wait_for_slow_path() inside a lock
  KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
  KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
  KVM: PPC: Book3S HV: Workaround high stack usage with clang
  KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
  perf/smmuv3: Don't trample existing events with global filter
  mm/gup: fix try_grab_compound_head() race with split_huge_page()
  bus: mhi: Wait for M2 state during system resume
  SUNRPC: Should wake up the privileged task firstly.
  SUNRPC: Fix the batch tasks count wraparound.
  mac80211: remove iwlwifi specific workaround that broke sta NDP tx
  can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
  can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
  can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
  can: gw: synchronize rcu operations before removing gw job entry
  can: bcm: delay release of struct bcm_op after synchronize_rcu()
  ext4: use ext4_grp_locked_error in mb_find_extent
  ext4: fix avefreec in find_group_orlov
  ext4: remove check for zero nr_to_scan in ext4_es_scan()
  ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
  ext4: return error code when ext4_fill_flex_info() fails
  ext4: fix overflow in ext4_iomap_alloc()
  ext4: fix kernel infoleak via ext4_extent_header
  ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
  btrfs: clear defrag status of a root if starting transaction fails
  btrfs: compression: don't try to compress if we don't have enough pages
  btrfs: send: fix invalid path for unlink operations after parent orphanization
  ARM: dts: at91: sama5d4: fix pinctrl muxing
  ARM: dts: ux500: Fix LED probing
  arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
  crypto: ccp - Annotate SEV Firmware file names
  crypto: nx - Fix memcpy() over-reading in nonce
  Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
  iov_iter_fault_in_readable() should do nothing in xarray case
  copy_page_to_iter(): fix ITER_DISCARD case
  selftests/lkdtm: Avoid needing explicit sub-shell
  ntfs: fix validity check for file name attribute
  gfs2: Fix error handling in init_statfs
  gfs2: Fix underflow in gfs2_page_mkwrite
  xhci: solve a double free problem while doing s4
  usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
  usb: dwc3: Fix debugfs creation flow
  USB: cdc-acm: blacklist Heimann USB Appset device
  usb: renesas-xhci: Fix handling of unknown ROM state
  usb: gadget: eem: fix echo command packet response issue
  net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
  Input: usbtouchscreen - fix control-request directions
  media: dvb-usb: fix wrong definition
  ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
  ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
  ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
  ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
  ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
  ALSA: hda/realtek: Add another ALC236 variant support
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
  ALSA: intel8x0: Fix breakage at ac97 clock measurement
  ALSA: usb-audio: scarlett2: Fix wrong resume call
  ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
  ALSA: usb-audio: Fix OOB access at proc output
  ALSA: usb-audio: fix rate on Ozone Z90 USB headset
  Bluetooth: Remove spurious error message
  Bluetooth: btqca: Don't modify firmware contents in-place
  Bluetooth: hci_qca: fix potential GPF
  Linux 5.10.49
  xen/events: reset active flag for lateeoi events later
  Hexagon: change jumps to must-extend in futex_atomic_*
  Hexagon: add target builtins to kernel
  Hexagon: fix build errors
  media: uvcvideo: Support devices that report an OT as an entity source
  KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
  Linux 5.10.48
  Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"
  RDMA/mlx5: Block FDB rules when not in switchdev mode
  gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
  drm/nouveau: fix dma_address check for CPU/GPU sync
  gpio: mxc: Fix disabled interrupt wake-up support
  scsi: sr: Return appropriate error code when disk is ejected
  ANDROID: ABI: update android12-5.10-lts ABI for 7/2 KMI update
  ANDROID: ABI: hikey960_gki.fragment: Add cfg80211 and mac80211 as modules
  ANDROID: ABI: gki_defconfig: Make cfg80211 and mac80211 modules
  Revert "ANDROID: GKI: Enable some necessary CFG80211 configs for WIFI"
  Linux 5.10.47
  integrity: Load mokx variables into the blacklist keyring
  certs: Add ability to preload revocation certs
  certs: Move load_system_certificate_list to a common function
  certs: Add EFI_CERT_X509_GUID support for dbx entries
  Revert "drm: add a locked version of drm_is_current_master"
  netfs: fix test for whether we can skip read when writing beyond EOF
  swiotlb: manipulate orig_addr when tlb_addr has offset
  KVM: SVM: Call SEV Guest Decommission if ASID binding fails
  mm, futex: fix shared futex pgoff on shmem huge page
  mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
  mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
  mm: page_vma_mapped_walk(): get vma_address_end() earlier
  mm: page_vma_mapped_walk(): use goto instead of while (1)
  mm: page_vma_mapped_walk(): add a level of indentation
  mm: page_vma_mapped_walk(): crossing page table boundary
  mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
  mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
  mm: page_vma_mapped_walk(): settle PageHuge on entry
  mm: page_vma_mapped_walk(): use page for pvmw->page
  mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
  mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
  mm/thp: fix page_address_in_vma() on file THP tails
  mm/thp: fix vma_address() if virtual address below file offset
  mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
  mm/thp: make is_huge_zero_pmd() safe and quicker
  mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
  mm, thp: use head page in __migration_entry_wait()
  mm/rmap: use page_not_mapped in try_to_unmap()
  mm/rmap: remove unneeded semicolon in page_not_mapped()
  mm: add VM_WARN_ON_ONCE_PAGE() macro
  x86/fpu: Make init_fpstate correct with optimized XSAVE
  x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
  kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
  kthread_worker: split code for canceling the delayed work timer
  ceph: must hold snap_rwsem when filling inode for async create
  i2c: robotfuzz-osif: fix control-request directions
  KVM: do not allow mapping valid but non-reference-counted pages
  s390/stack: fix possible register corruption with stack switch helper
  nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
  scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
  gpiolib: cdev: zero padding during conversion to gpioline_info_changed
  i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
  pinctrl: stm32: fix the reported number of GPIO lines per bank
  perf/x86: Track pmu in per-CPU cpu_hw_events
  net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
  net: ll_temac: Add memory-barriers for TX BD access
  PCI: Add AMD RS690 quirk to enable 64-bit DMA
  recordmcount: Correct st_shndx handling
  mac80211: handle various extensible elements correctly
  mac80211: reset profile_periodicity/ema_ap
  net: qed: Fix memcpy() overflow of qed_dcbx_params()
  KVM: selftests: Fix kvm_check_cap() assertion
  r8169: Avoid memcpy() over-reading of ETH_SS_STATS
  sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
  r8152: Avoid memcpy() over-reading of ETH_SS_STATS
  net/packet: annotate accesses to po->ifindex
  net/packet: annotate accesses to po->bind
  net: caif: fix memory leak in ldisc_open
  riscv32: Use medany C model for modules
  net: phy: dp83867: perform soft reset and retain established link
  net/packet: annotate data race in packet_sendmsg()
  inet: annotate date races around sk->sk_txhash
  net: annotate data race in sock_error()
  ping: Check return value of function 'ping_queue_rcv_skb'
  inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
  net: ethtool: clear heap allocations for ethtool function
  mac80211: drop multicast fragments
  net: ipv4: Remove unneed BUG() function
  dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
  dmaengine: mediatek: do not issue a new desc if one is still current
  dmaengine: mediatek: free the proper desc in desc_free handler
  dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
  cfg80211: call cfg80211_leave_ocb when switching away from OCB
  mac80211_hwsim: drop pending frames on stop
  mac80211: remove warning in ieee80211_get_sband()
  dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits
  dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
  dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()
  dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
  perf/x86/intel/lbr: Zero the xstate buffer on allocation
  perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context
  locking/lockdep: Improve noinstr vs errors
  x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
  x86/entry: Fix noinstr fail in __do_fast_syscall_32()
  drm/vc4: hdmi: Make sure the controller is powered in detect
  drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
  Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
  spi: spi-nxp-fspi: move the register operation after the clock enable
  arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
  arm64: Ignore any DMA offsets in the max_zone_phys() calculation
  MIPS: generic: Update node names to avoid unit addresses
  mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
  ARM: 9081/1: fix gcc-10 thumb2-kernel regression
  drm/amdgpu: wait for moving fence after pinning
  drm/radeon: wait for moving fence after pinning
  drm/nouveau: wait for moving fence after pinning v2
  drm: add a locked version of drm_is_current_master
  Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
  Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
  module: limit enabling module.sig_enforce
  Revert "mm: relocate 'write_protect_seq' in struct mm_struct"
  Linux 5.10.46
  usb: dwc3: core: fix kernel panic when do reboot
  usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
  perf beauty: Update copy of linux/socket.h with the kernel sources
  tools headers UAPI: Sync linux/in.h copy with the kernel sources
  net: fec_ptp: add clock rate zero check
  net: stmmac: disable clocks in stmmac_remove_config_dt()
  mm/slub.c: include swab.h
  mm/slub: actually fix freelist pointer vs redzoning
  mm/slub: fix redzoning for small allocations
  mm/slub: clarify verification reporting
  mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
  net: bridge: fix vlan tunnel dst refcnt when egressing
  net: bridge: fix vlan tunnel dst null pointer dereference
  net: ll_temac: Fix TX BD buffer overwrite
  net: ll_temac: Make sure to free skb when it is completely used
  drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
  drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
  cfg80211: avoid double free of PMSR request
  cfg80211: make certificate generation more robust
  mac80211: Fix NULL ptr deref for injected rate info
  dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
  crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
  x86/fpu: Reset state for all signal restore failures
  x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer
  x86/fpu: Prevent state corruption in __fpu__restore_sig()
  x86/pkru: Write hardware init value to PKRU when xstate is init
  x86/ioremap: Map EFI-reserved memory as encrypted for SEV
  x86/process: Check PF_KTHREAD and not current->mm for kernel threads
  x86/mm: Avoid truncating memblocks for SGX memory
  ARCv2: save ABI registers across signal handling
  s390/ap: Fix hanging ioctl caused by wrong msg counter
  s390/mcck: fix calculation of SIE critical section size
  KVM: X86: Fix x86_emulator slab cache leak
  KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU
  KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
  PCI: Work around Huawei Intelligent NIC VF FLR erratum
  PCI: Add ACS quirk for Broadcom BCM57414 NIC
  PCI: aardvark: Fix kernel panic during PIO transfer
  PCI: Mark some NVIDIA GPUs to avoid bus reset
  PCI: Mark TI C667X to avoid bus reset
  tracing: Do no increment trace_clock_global() by one
  tracing: Do not stop recording comms if the trace file is being read
  tracing: Do not stop recording cmdlines when tracing is off
  usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
  usb: core: hub: Disable autosuspend for Cypress CY7C65632
  can: mcba_usb: fix memory leak in mcba_usb
  can: j1939: fix Use-after-Free, hold skb ref while in use
  can: bcm/raw/isotp: use per module netdevice notifier
  can: bcm: fix infoleak in struct bcm_msg_head
  bpf: Do not mark insn as seen under speculative path verification
  bpf: Inherit expanded/patched seen count from old aux data
  irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry
  mm: relocate 'write_protect_seq' in struct mm_struct
  hwmon: (scpi-hwmon) shows the negative temperature properly
  radeon: use memcpy_to/fromio for UVD fw upload
  ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin
  drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device
  pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
  ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode
  regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
  spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
  ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
  sched/pelt: Ensure that *_sum is always synced with *_avg
  spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
  regulator: rtmv20: Fix to make regcache value first reading back from HW
  ASoC: fsl-asoc-card: Set .owner attribute when registering card.
  phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
  ASoC: rt5659: Fix the lost powers for the HDA header
  platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support
  regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
  regulator: cros-ec: Fix error code in dev_err message
  net: ethernet: fix potential use-after-free in ec_bhf_remove
  icmp: don't send out ICMP messages with a source address of 0.0.0.0
  bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
  bnxt_en: Fix TQM fastpath ring backing store computation
  bnxt_en: Rediscover PHY capabilities after firmware reset
  cxgb4: fix wrong shift.
  net: cdc_eem: fix tx fixup skb leak
  net: hamradio: fix memory leak in mkiss_close
  be2net: Fix an error handling path in 'be_probe()'
  net/mlx5: Reset mkey index on creation
  net/mlx5: E-Switch, Allow setting GUID for host PF vport
  net/mlx5: E-Switch, Read PF mac address
  net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
  net: ipv4: fix memory leak in ip_mc_add1_src
  net: fec_ptp: fix issue caused by refactor the fec_devtype
  net: usb: fix possible use-after-free in smsc75xx_bind
  lantiq: net: fix duplicated skb in rx descriptor ring
  net: cdc_ncm: switch to eth%d interface naming
  ptp: improve max_adj check against unreasonable values
  bpf: Fix leakage under speculation on mispredicted branches
  net: qrtr: fix OOB Read in qrtr_endpoint_post
  ipv4: Fix device used for dst_alloc with local routes
  cxgb4: fix wrong ethtool n-tuple rule lookup
  netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
  qlcnic: Fix an error handling path in 'qlcnic_probe()'
  ethtool: strset: fix message length calculation
  net: qualcomm: rmnet: don't over-count statistics
  net: qualcomm: rmnet: Update rmnet device MTU based on real device
  net: make get_net_ns return error if NET_NS is disabled
  net: stmmac: dwmac1000: Fix extended MAC address registers definition
  cxgb4: halt chip before flashing PHY firmware image
  cxgb4: fix sleep in atomic when flashing PHY firmware
  cxgb4: fix endianness when flashing boot image
  alx: Fix an error handling path in 'alx_probe()'
  selftests: mptcp: enable syncookie only in absence of reorders
  mptcp: do not warn on bad input from the network
  mptcp: try harder to borrow memory from subflow under pressure
  sch_cake: Fix out of bounds when parsing TCP options and header
  mptcp: Fix out of bounds when parsing TCP options
  netfilter: synproxy: Fix out of bounds when parsing TCP options
  net/mlx5e: Block offload of outer header csum for UDP tunnels
  net/mlx5: DR, Don't use SW steering when RoCE is not supported
  net/mlx5: DR, Allow SW steering for sw_owner_v2 devices
  net/mlx5: Consider RoCE cap before init RDMA resources
  net/mlx5e: Fix page reclaim for dead peer hairpin
  net/mlx5e: Remove dependency in IPsec initialization flows
  net/sched: act_ct: handle DNAT tuple collision
  rtnetlink: Fix regression in bridge VLAN configuration
  udp: fix race between close() and udp_abort()
  ice: parameterize functions responsible for Tx ring management
  ice: add ndo_bpf callback for safe mode netdev ops
  netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local
  net: lantiq: disable interrupt before sheduling NAPI
  net: dsa: felix: re-enable TX flow control in ocelot_port_flush()
  net: rds: fix memory leak in rds_recvmsg
  vrf: fix maximum MTU
  net: ipv4: fix memory leak in netlbl_cipsov4_add_std
  libbpf: Fixes incorrect rx_ring_setup_done
  mlxsw: core: Set thermal zone polling delay argument to real value at init
  mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11
  mac80211: fix skb length check in ieee80211_scan_rx()
  batman-adv: Avoid WARN_ON timing related checks
  fanotify: fix copy_event_to_user() fid error clean up
  kvm: LAPIC: Restore guard to prevent illegal APIC register access
  mm/memory-failure: make sure wait for page writeback in memory_failure
  afs: Fix an IS_ERR() vs NULL check
  dmaengine: stedma40: add missing iounmap() on error in d40_probe()
  dmaengine: SF_PDMA depends on HAS_IOMEM
  dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
  dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
  dmaengine: xilinx: dpdma: initialize registers before request_irq
  dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
  dmaengine: idxd: add missing dsa driver unregister
  Linux 5.10.45
  fib: Return the correct errno code
  net: Return the correct errno code
  net/x25: Return the correct errno code
  rtnetlink: Fix missing error code in rtnl_bridge_notify()
  drm/amd/amdgpu:save psp ring wptr to avoid attack
  drm/amd/display: Fix potential memory leak in DMUB hw_init
  drm/amdgpu: refine amdgpu_fru_get_product_info
  drm/amd/display: Allow bandwidth validation for 0 streams.
  net: ipconfig: Don't override command-line hostnames or domains
  nvme-loop: do not warn for deleted controllers during reset
  nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
  nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
  nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
  scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
  Bluetooth: Add a new USB ID for RTL8822CE
  scsi: qedf: Do not put host in qedf_vport_create() unconditionally
  ethernet: myri10ge: Fix missing error code in myri10ge_probe()
  scsi: target: core: Fix warning on realtime kernels
  gfs2: Fix use-after-free in gfs2_glock_shrink_scan
  riscv: Use -mno-relax when using lld linker
  HID: gt683r: add missing MODULE_DEVICE_TABLE
  gfs2: fix a deadlock on withdraw-during-mount
  gfs2: Prevent direct-I/O write fallback errors from getting lost
  ARM: OMAP2+: Fix build warning when mmc_omap is not built
  ARM: OMAP1: Fix use of possibly uninitialized irq variable
  drm/tegra: sor: Fully initialize SOR before registration
  gpu: host1x: Split up client initalization and registration
  drm/tegra: sor: Do not leak runtime PM reference
  HID: usbhid: fix info leak in hid_submit_ctrl
  HID: Add BUS_VIRTUAL to hid_connect logging
  HID: multitouch: set Stylus suffix for Stylus-application devices, too
  HID: quirks: Add quirk for Lenovo optical mouse
  HID: hid-sensor-hub: Return error for hid_set_field() failure
  HID: hid-input: add mapping for emoji picker key
  HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
  HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
  net: ieee802154: fix null deref in parse dev addr
  Linux 5.10.44
  proc: only require mm_struct for writing
  tracing: Correct the length check which causes memory corruption
  scsi: core: Only put parent device if host state differs from SHOST_CREATED
  scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
  scsi: core: Fix failure handling of scsi_add_host_with_dma()
  scsi: core: Fix error handling of scsi_host_alloc()
  NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
  NFSv4: Fix second deadlock in nfs4_evict_inode()
  NFS: Fix use-after-free in nfs4_init_client()
  kvm: fix previous commit for 32-bit builds
  perf session: Correct buffer copying when peeking events
  NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
  NFS: Fix a potential NULL dereference in nfs_get_client()
  IB/mlx5: Fix initializing CQ fragments buffer
  KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
  x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs
  sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
  sched/fair: Make sure to update tg contrib for blocked load
  sched/fair: Keep load_avg and load_sum synced
  perf: Fix data race between pin_count increment/decrement
  gpio: wcd934x: Fix shift-out-of-bounds error
  phy: ti: Fix an error code in wiz_probe()
  ASoC: meson: gx-card: fix sound-dai dt schema
  ASoC: core: Fix Null-point-dereference in fmt_single_name()
  phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()
  tools/bootconfig: Fix error return code in apply_xbc()
  vmlinux.lds.h: Avoid orphan section with !SMP
  ARM: cpuidle: Avoid orphan section warning
  RDMA/mlx4: Do not map the core_clock page to user space unless enabled
  RDMA/ipoib: Fix warning caused by destroying non-initial netns
  drm/msm/a6xx: avoid shadow NULL reference in failure path
  drm/msm/a6xx: update/fix CP_PROTECT initialization
  drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650
  drm/mcde: Fix off by 10^3 in calculation
  usb: typec: mux: Fix copy-paste mistake in typec_mux_match
  usb: dwc3: gadget: Disable gadget IRQ during pullup disable
  phy: usb: Fix misuse of IS_ENABLED
  regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks
  regulator: bd71828: Fix .n_voltages settings
  regulator: fan53880: Fix missing n_voltages setting
  regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837
  regulator: max77620: Use device_set_of_node_from_dev()
  regulator: core: resolve supply for boot-on/always-on regulators
  usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
  usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
  usb: fix various gadget panics on 10gbps cabling
  usb: fix various gadgets null ptr deref on 10gbps cabling.
  usb: gadget: eem: fix wrong eem header operation
  USB: serial: cp210x: fix alternate function for CP2102N QFN20
  USB: serial: quatech2: fix control-request directions
  USB: serial: omninet: add device id for Zyxel Omni 56K Plus
  USB: serial: ftdi_sio: add NovaTech OrionMX product ID
  usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
  usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
  usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe()
  usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
  usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
  usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
  usb: dwc3: ep0: fix NULL pointer exception
  usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL
  usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe
  usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled
  usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
  usb: f_ncm: only first packet of aggregate needs to start timer
  USB: f_ncm: ncm_bitrate (speed) is unsigned
  mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+
  mmc: renesas_sdhi: abort tuning when timeout detected
  ftrace: Do not blindly read the ip address in ftrace_bug()
  cgroup1: don't allow '\n' in renaming
  btrfs: promote debugging asserts to full-fledged checks in validate_super
  btrfs: return value from btrfs_mark_extent_written() in case of error
  async_xor: check src_offs is not NULL before updating it
  staging: rtl8723bs: Fix uninitialized variables
  kvm: avoid speculation-based attacks from out-of-range memslot accesses
  KVM: X86: MMU: Use the correct inherited permissions to get shadow page
  perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
  drm: Lock pointer access in drm_master_release()
  drm: Fix use-after-free read in drm_getunique()
  Revert "ACPI: sleep: Put the FACS table after using it"
  spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8
  ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
  ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8
  ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2
  ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
  ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun()
  ALSA: seq: Fix race of snd_seq_timer_open()
  i2c: mpc: implement erratum A-004447 workaround
  i2c: mpc: Make use of i2c_recover_bus()
  spi: Cleanup on failure of initial setup
  spi: Don't have controller clean up spi device before driver unbind
  powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
  powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
  nvmet: fix false keep-alive timeout when a controller is torn down
  nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
  bnx2x: Fix missing error code in bnx2x_iov_init_one()
  dm verity: fix require_signatures module_param permissions
  MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
  nvme-fabrics: decode host pathing error for connect
  net: dsa: microchip: enable phy errata workaround on 9567
  net: appletalk: cops: Fix data race in cops_probe1
  net: macb: ensure the device is available before accessing GEMGXL control registers
  scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
  scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
  scsi: vmw_pvscsi: Set correct residual data length
  scsi: bnx2fc: Return failure if io_req is already in ABTS processing
  net:sfc: fix non-freed irq in legacy irq mode
  RDS tcp loopback connection can hang
  net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
  wq: handle VM suspension in stall detection
  cgroup: disable controllers at parse time
  net: mdiobus: get rid of a BUG_ON()
  netlink: disable IRQs for netlink_lock_table()
  bonding: init notify_work earlier to avoid uninitialized use
  isdn: mISDN: netjet: Fix crash in nj_probe:
  usb: chipidea: udc: assign interrupt number to USB gadget structure
  spi: sprd: Add missing MODULE_DEVICE_TABLE
  ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
  vfio-ccw: Serialize FSM IDLE state with I/O completion
  vfio-ccw: Reset FSM state to IDLE inside FSM
  ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
  ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
  usb: cdns3: Fix runtime PM imbalance on error
  net/nfc/rawsock.c: fix a permission check bug
  bpf: Forbid trampoline attach for functions with variable arguments
  spi: spi-zynq-qspi: Fix stack violation bug
  spi: Fix spi device unregister flow
  ASoC: amd: fix for pcm_read() error
  ASoC: max98088: fix ni clock divider calculation
  proc: Track /proc/$pid/attr/ opener mm_struct
  ANDROID: clang: update to 12.0.5
  ANDROID: GKI: Refresh ABI following trimmed symbol CRC fix
  FROMLIST: export: Make CRCs robust to symbol trimming
  ANDROID: Add GKI_HIDDEN_MM_CONFIGS to support ballooning.

 defconfig: Remove RESET_INTEL_GW/RESET_BRCMSTB_RESCAL from tuivm config

 6ab9d62 reset: RESET_INTEL_GW should depend on X86
 42f6a76 reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
 Remove RESET_INTEL_GW/RESET_BRCMSTB_RESCAL from marking as 'n'
 in trusted VM config due to below change.

 interconnect: qcom: Fix compile error for LTS merge

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/i2c/i2c-at91.txt
	Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
	Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
	drivers/bus/mhi/core/main.c
	drivers/iommu/arm/arm-smmu/arm-smmu.c
	drivers/mmc/host/sdhci-msm.c
	drivers/slimbus/messaging.c
	drivers/slimbus/qcom-ngd-ctrl.c
	net/qrtr/ns.c
	net/qrtr/qrtr.c

Change-Id: I63018794287f1b197b83780a72d67267eb4ef0d2
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
2021-10-28 12:35:06 +05:30
Andrey Ryabinin
71f70987f9 UPSTREAM: ubsan: remove overflow checks
Since GCC 8.0 -fsanitize=signed-integer-overflow doesn't work with
-fwrapv.  -fwrapv makes signed overflows defines and GCC essentially
disables ubsan checks.  On GCC < 8.0 -fwrapv doesn't have influence on
-fsanitize=signed-integer-overflow setting, so it kinda works but
generates false-positves and violates uaccess rules:

lib/iov_iter.o: warning: objtool: iovec_from_user()+0x22d: call to
__ubsan_handle_add_overflow() with UACCESS enabled

Disable signed overflow checks to avoid these problems.  Remove unsigned
overflow checks as well.  Unsigned overflow appeared as side effect of
commit cdf8a76fda4a ("ubsan: move cc-option tests into Kconfig"), but it
never worked (kernel doesn't boot).  And unsigned overflows are allowed by
C standard, so it just pointless.

Link: https://lkml.kernel.org/r/20210209232348.20510-1-ryabinin.a.a@gmail.com
Signed-off-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit 6aaa31aeb9cf260e1b7155cc11ec864f052db5ec)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I7f0e9d7a4d7c69c21e42bd21070c5d265bddbff1
2021-10-21 08:33:13 -07:00
Arnd Bergmann
65a04c1a8e UPSTREAM: ubsan: disable unsigned-overflow check for i386
Building ubsan kernels even for compile-testing introduced these
warnings in my randconfig environment:

  crypto/blake2b_generic.c:98:13: error: stack frame size of 9636 bytes in function 'blake2b_compress' [-Werror,-Wframe-larger-than=]
  static void blake2b_compress(struct blake2b_state *S,

  crypto/sha512_generic.c:151:13: error: stack frame size of 1292 bytes in function 'sha512_generic_block_fn' [-Werror,-Wframe-larger-than=]
  static void sha512_generic_block_fn(struct sha512_state *sst, u8 const *src,

  lib/crypto/curve25519-fiat32.c:312:22: error: stack frame size of 2180 bytes in function 'fe_mul_impl' [-Werror,-Wframe-larger-than=]
  static noinline void fe_mul_impl(u32 out[10], const u32 in1[10], const u32 in2[10])

  lib/crypto/curve25519-fiat32.c:444:22: error: stack frame size of 1588 bytes in function 'fe_sqr_impl' [-Werror,-Wframe-larger-than=]
  static noinline void fe_sqr_impl(u32 out[10], const u32 in1[10])

Further testing showed that this is caused by
-fsanitize=unsigned-integer-overflow, but is isolated to the 32-bit x86
architecture.

The one in blake2b immediately overflows the 8KB stack area
architectures, so better ensure this never happens by disabling the
option for 32-bit x86.

Link: https://lkml.kernel.org/r/20210112202922.2454435-1-arnd@kernel.org
Link: https://lore.kernel.org/lkml/20201230154749.746641-1-arnd@kernel.org/
Fixes: d0a3ac549f38 ("ubsan: enable for all*config builds")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Marco Elver <elver@google.com>
Cc: George Popescu <georgepope@android.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit 251b5497c5c95e4548e3d33cbda3f638fea2c11e)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I1855d47cb0525cdbf523fced4cbb75189dbb6f32
2021-10-21 08:33:13 -07:00
Kees Cook
7611578ecb UPSTREAM: ubsan: expand tests and reporting
Expand the UBSAN tests to include some additional UB cases.  Notably the
out-of-bounds enum loading appears not to work.  Also include per-test
reporting, including the relevant CONFIG_UBSAN...  Kconfigs.

Link: https://lkml.kernel.org/r/20201203004437.389959-8-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit 4a26f49b7b3dbe998d9b2561f9f256a1c3fdb74a)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I7fb1fdd9301a54d30d8defdecf00300cd8bdcf30
2021-10-21 08:33:13 -07:00
Kees Cook
fca16257ca UPSTREAM: ubsan: remove UBSAN_MISC in favor of individual options
Make each UBSAN option individually selectable and remove UBSAN_MISC which
no longer has any purpose.  Add help text for each Kconfig, and include a
reference to the Clang sanitizer documentation.  Disable unsigned overflow
by default (not available with GCC and makes x86 unbootable with Clang).
Disable unreachable when objtool is in use (redundant and confuses things:
instrumentation appears at unreachable locations).

Link: https://lkml.kernel.org/r/20201203004437.389959-7-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit c637693b20da8706b7f48d96882c9c80ae935151)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I23c9578641db66e1514ff4c37874864298a12767
2021-10-21 08:33:13 -07:00
Kees Cook
c2985e13dd UPSTREAM: ubsan: enable for all*config builds
With UBSAN_OBJECT_SIZE disabled for GCC, only UBSAN_ALIGNMENT remained a
noisy UBSAN option.  Disable it for COMPILE_TEST so the rest of UBSAN can
be used for full all*config builds or other large combinations.

[sfr@canb.auug.org.au: add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly]
  Link: https://lkml.kernel.org/r/20201208230157.42c42789@canb.auug.org.au

Link: https://lore.kernel.org/lkml/CAHk-=wgXW=YLxGN0QVpp-1w5GDd2pf1W-FqY15poKzoVfik2qA@mail.gmail.com/
Link: https://lkml.kernel.org/r/20201203004437.389959-6-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit d0a3ac549f389c1511a4df0d7638536305205d20)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I5c7f60627993e4fa4e866dfa27a459cc8e4674d9
2021-10-21 08:33:13 -07:00
Kees Cook
5eb5780afe UPSTREAM: ubsan: disable UBSAN_TRAP for all*config
Doing all*config builds attempts to build as much as possible. UBSAN_TRAP
effectively short-circuits lib/usban.c, so it should be disabled for
COMPILE_TEST so that the lib/ubsan.c code gets built.

Link: https://lkml.kernel.org/r/20201203004437.389959-5-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit 79791378a1bc9e218462211742e48e375371e8c5)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I550630279775ddf4d1129d7cfa717152c103b24a
2021-10-21 08:33:13 -07:00
Kees Cook
c108d79a12 UPSTREAM: ubsan: disable object-size sanitizer under GCC
GCC's -fsanitize=object-size (as part of CONFIG_UBSAN_MISC) greatly
increases stack utilization.  Do not allow this under GCC.

Link: https://lkml.kernel.org/r/20201203004437.389959-4-keescook@chromium.org
Link: https://lore.kernel.org/lkml/CAHk-=wjPasyJrDuwDnpHJS2TuQfExwe=px-SzLeN8GFMAQJPmQ@mail.gmail.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit 61e0349f703d1576a12f88c15f25e0a56fd277af)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: If7f5ecfe7a8bc47ff9a8300026bf2a0744cd7507
2021-10-21 08:33:12 -07:00
Kees Cook
9ecd3c915d UPSTREAM: ubsan: move cc-option tests into Kconfig
Instead of doing if/endif blocks with cc-option calls in the UBSAN
Makefile, move all the tests into Kconfig and use the Makefile to collect
the results.

Link: https://lkml.kernel.org/r/20201203004437.389959-3-keescook@chromium.org
Link: https://lore.kernel.org/lkml/CAHk-=wjPasyJrDuwDnpHJS2TuQfExwe=px-SzLeN8GFMAQJPmQ@mail.gmail.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit cdf8a76fda4ae3b53c5a09e5a8c79e27b7b65d68)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: Ib192ad08af1aabd92f4a04cda2494ae3518c5028
2021-10-21 08:33:12 -07:00
Kees Cook
70e365831f UPSTREAM: ubsan: remove redundant -Wno-maybe-uninitialized
Patch series "Clean up UBSAN Makefile", v2.

This series attempts to address the issues seen with UBSAN's object-size
sanitizer causing problems under GCC.  In the process, the Kconfig and
Makefile are refactored to do all the cc-option calls in the Kconfig.
Additionally start to detangle -Wno-maybe-uninitialized, disable
UBSAN_TRAP under COMPILE_TEST for wider build coverage, and expand the
libusan tests.

This patch (of 7):

In commit 78a5255ffb ("Stop the ad-hoc games with
-Wno-maybe-initialized") -Wmaybe-uninitialized was disabled globally, so
keeping the disabling logic here too doesn't make sense.

Link: https://lkml.kernel.org/r/20201203004437.389959-1-keescook@chromium.org
Link: https://lkml.kernel.org/r/20201203004437.389959-2-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit d8a7f62b6eec198e85b8602e062c00e199f5c328)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: Ibbbb5088dd6b34d72f56424fc6c3da9b97f15e38
2021-10-21 08:33:12 -07:00
Greg Kroah-Hartman
2300418cc6 Merge 5.10.65 into android12-5.10-lts
Changes in 5.10.65
	locking/mutex: Fix HANDOFF condition
	regmap: fix the offset of register error log
	regulator: tps65910: Silence deferred probe error
	crypto: mxs-dcp - Check for DMA mapping errors
	sched/deadline: Fix reset_on_fork reporting of DL tasks
	power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
	crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
	sched/deadline: Fix missing clock update in migrate_task_rq_dl()
	rcu/tree: Handle VM stoppage in stall detection
	EDAC/mce_amd: Do not load edac_mce_amd module on guests
	posix-cpu-timers: Force next expiration recalc after itimer reset
	hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
	hrtimer: Ensure timerfd notification for HIGHRES=n
	udf: Check LVID earlier
	udf: Fix iocharset=utf8 mount option
	isofs: joliet: Fix iocharset=utf8 mount option
	bcache: add proper error unwinding in bcache_device_init
	blk-throtl: optimize IOPS throttle for large IO scenarios
	nvme-tcp: don't update queue count when failing to set io queues
	nvme-rdma: don't update queue count when failing to set io queues
	nvmet: pass back cntlid on successful completion
	power: supply: smb347-charger: Add missing pin control activation
	power: supply: max17042_battery: fix typo in MAx17042_TOFF
	s390/cio: add dev_busid sysfs entry for each subchannel
	s390/zcrypt: fix wrong offset index for APKA master key valid state
	libata: fix ata_host_start()
	crypto: omap - Fix inconsistent locking of device lists
	crypto: qat - do not ignore errors from enable_vf2pf_comms()
	crypto: qat - handle both source of interrupt in VF ISR
	crypto: qat - fix reuse of completion variable
	crypto: qat - fix naming for init/shutdown VF to PF notifications
	crypto: qat - do not export adf_iov_putmsg()
	fcntl: fix potential deadlock for &fasync_struct.fa_lock
	udf_get_extendedattr() had no boundary checks.
	s390/kasan: fix large PMD pages address alignment check
	s390/pci: fix misleading rc in clp_set_pci_fn()
	s390/debug: keep debug data on resize
	s390/debug: fix debug area life cycle
	s390/ap: fix state machine hang after failure to enable irq
	power: supply: cw2015: use dev_err_probe to allow deferred probe
	m68k: emu: Fix invalid free in nfeth_cleanup()
	sched/numa: Fix is_core_idle()
	sched: Fix UCLAMP_FLAG_IDLE setting
	rcu: Fix to include first blocked task in stall warning
	rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
	rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
	m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
	block: return ELEVATOR_DISCARD_MERGE if possible
	spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
	spi: spi-pic32: Fix issue with uninitialized dma_slave_config
	genirq/timings: Fix error return code in irq_timings_test_irqs()
	irqchip/loongson-pch-pic: Improve edge triggered interrupt support
	lib/mpi: use kcalloc in mpi_resize
	clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
	block: nbd: add sanity check for first_minor
	spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
	irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
	crypto: qat - use proper type for vf_mask
	certs: Trigger creation of RSA module signing key if it's not an RSA key
	tpm: ibmvtpm: Avoid error message when process gets signal while waiting
	x86/mce: Defer processing of early errors
	spi: davinci: invoke chipselect callback
	blk-crypto: fix check for too-large dun_bytes
	regulator: vctrl: Use locked regulator_get_voltage in probe path
	regulator: vctrl: Avoid lockdep warning in enable/disable ops
	spi: sprd: Fix the wrong WDG_LOAD_VAL
	spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
	EDAC/i10nm: Fix NVDIMM detection
	drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
	drm/gma500: Fix end of loop tests for list_for_each_entry
	ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
	media: TDA1997x: enable EDID support
	leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
	soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
	media: cxd2880-spi: Fix an error handling path
	drm/of: free the right object
	bpf: Fix a typo of reuseport map in bpf.h.
	bpf: Fix potential memleak and UAF in the verifier.
	drm/of: free the iterator object on failure
	gve: fix the wrong AdminQ buffer overflow check
	libbpf: Fix the possible memory leak on error
	ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
	arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
	i40e: improve locking of mac_filter_hash
	soc: qcom: rpmhpd: Use corner in power_off
	libbpf: Fix removal of inner map in bpf_object__create_map
	gfs2: Fix memory leak of object lsi on error return path
	firmware: fix theoretical UAF race with firmware cache and resume
	driver core: Fix error return code in really_probe()
	ionic: cleanly release devlink instance
	media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
	media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
	media: dvb-usb: Fix error handling in dvb_usb_i2c_init
	media: go7007: fix memory leak in go7007_usb_probe
	media: go7007: remove redundant initialization
	media: rockchip/rga: use pm_runtime_resume_and_get()
	media: rockchip/rga: fix error handling in probe
	media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
	media: atomisp: fix the uninitialized use and rename "retvalue"
	Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
	6lowpan: iphc: Fix an off-by-one check of array index
	drm/amdgpu/acp: Make PM domain really work
	tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
	ARM: dts: meson8: Use a higher default GPU clock frequency
	ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
	ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
	ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
	net/mlx5e: Prohibit inner indir TIRs in IPoIB
	net/mlx5e: Block LRO if firmware asks for tunneled LRO
	cgroup/cpuset: Fix a partition bug with hotplug
	drm: mxsfb: Enable recovery on underflow
	drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
	drm: mxsfb: Clear FIFO_CLEAR bit
	net: cipso: fix warnings in netlbl_cipsov4_add_std
	Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
	arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
	arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
	devlink: Break parameter notification sequence to be before/after unload/load driver
	net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
	i2c: highlander: add IRQ check
	leds: lt3593: Put fwnode in any case during ->probe()
	leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
	media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
	media: venus: venc: Fix potential null pointer dereference on pointer fmt
	PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
	PCI: PM: Enable PME if it can be signaled from D3cold
	bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
	soc: qcom: smsm: Fix missed interrupts if state changes while masked
	debugfs: Return error during {full/open}_proxy_open() on rmmod
	Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
	PM: EM: Increase energy calculation precision
	selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
	drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
	drm/msm/mdp4: move HW revision detection to earlier phase
	drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
	arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
	counter: 104-quad-8: Return error when invalid mode during ceiling_write
	cgroup/cpuset: Miscellaneous code cleanup
	cgroup/cpuset: Fix violation of cpuset locking rule
	ASoC: Intel: Fix platform ID matching
	Bluetooth: fix repeated calls to sco_sock_kill
	drm/msm/dsi: Fix some reference counted resource leaks
	net/mlx5: Register to devlink ingress VLAN filter trap
	net/mlx5: Fix unpublish devlink parameters
	ASoC: rt5682: Implement remove callback
	ASoC: rt5682: Properly turn off regulators if wrong device ID
	usb: dwc3: meson-g12a: add IRQ check
	usb: dwc3: qcom: add IRQ check
	usb: gadget: udc: at91: add IRQ check
	usb: gadget: udc: s3c2410: add IRQ check
	usb: phy: fsl-usb: add IRQ check
	usb: phy: twl6030: add IRQ checks
	usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
	selftests/bpf: Fix test_core_autosize on big-endian machines
	devlink: Clear whole devlink_flash_notify struct
	samples: pktgen: add missing IPv6 option to pktgen scripts
	Bluetooth: Move shutdown callback before flushing tx and rx queue
	PM: cpu: Make notifier chain use a raw_spinlock_t
	usb: host: ohci-tmio: add IRQ check
	usb: phy: tahvo: add IRQ check
	libbpf: Re-build libbpf.so when libbpf.map changes
	mac80211: Fix insufficient headroom issue for AMSDU
	locking/lockdep: Mark local_lock_t
	locking/local_lock: Add missing owner initialization
	lockd: Fix invalid lockowner cast after vfs_test_lock
	nfsd4: Fix forced-expiry locking
	arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
	clk: staging: correct reference to config IOMEM to config HAS_IOMEM
	i2c: synquacer: fix deferred probing
	firmware: raspberrypi: Keep count of all consumers
	firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
	usb: gadget: mv_u3d: request_irq() after initializing UDC
	mm/swap: consider max pages in iomap_swapfile_add_extent
	lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
	Bluetooth: add timeout sanity check to hci_inquiry
	i2c: iop3xx: fix deferred probing
	i2c: s3c2410: fix IRQ check
	i2c: fix platform_get_irq.cocci warnings
	i2c: hix5hd2: fix IRQ check
	gfs2: init system threads before freeze lock
	rsi: fix error code in rsi_load_9116_firmware()
	rsi: fix an error code in rsi_probe()
	ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
	ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
	ASoC: Intel: Skylake: Fix module resource and format selection
	mmc: sdhci: Fix issue with uninitialized dma_slave_config
	mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
	mmc: moxart: Fix issue with uninitialized dma_slave_config
	bpf: Fix possible out of bound write in narrow load handling
	CIFS: Fix a potencially linear read overflow
	i2c: mt65xx: fix IRQ check
	i2c: xlp9xx: fix main IRQ check
	usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
	usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
	usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
	tty: serial: fsl_lpuart: fix the wrong mapbase value
	ASoC: wcd9335: Fix a double irq free in the remove function
	ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
	ASoC: wcd9335: Disable irq on slave ports in the remove function
	iwlwifi: follow the new inclusive terminology
	iwlwifi: skip first element in the WTAS ACPI table
	ice: Only lock to update netdev dev_addr
	ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
	atlantic: Fix driver resume flow.
	bcma: Fix memory leak for internally-handled cores
	brcmfmac: pcie: fix oops on failure to resume and reprobe
	ipv6: make exception cache less predictible
	ipv4: make exception cache less predictible
	net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
	net: qualcomm: fix QCA7000 checksum handling
	octeontx2-af: Fix loop in free and unmap counter
	octeontx2-af: Fix static code analyzer reported issues
	octeontx2-af: Set proper errorcode for IPv4 checksum errors
	ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
	ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
	iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
	f2fs: guarantee to write dirty data when enabling checkpoint back
	time: Handle negative seconds correctly in timespec64_to_ns()
	io_uring: IORING_OP_WRITE needs hash_reg_file set
	bio: fix page leak bio_add_hw_page failure
	tty: Fix data race between tiocsti() and flush_to_ldisc()
	perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
	x86/resctrl: Fix a maybe-uninitialized build warning treated as error
	Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
	KVM: s390: index kvm->arch.idle_mask by vcpu_idx
	KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
	KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
	KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
	ARM: dts: at91: add pinctrl-{names, 0} for all gpios
	fuse: truncate pagecache on atomic_o_trunc
	fuse: flush extending writes
	IMA: remove -Wmissing-prototypes warning
	IMA: remove the dependency on CRYPTO_MD5
	fbmem: don't allow too huge resolutions
	backlight: pwm_bl: Improve bootloader/kernel device handover
	clk: kirkwood: Fix a clocking boot regression
	Linux 5.10.65

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie0b9306ba6ee4193de3200df7cdacaeba152b83e
2021-09-15 14:16:47 +02:00
Hongbo Li
dde7ff1c19 lib/mpi: use kcalloc in mpi_resize
[ Upstream commit b6f756726e4dfe75be1883f6a0202dcecdc801ab ]

We should set the additional space to 0 in mpi_resize().
So use kcalloc() instead of kmalloc_array().

In lib/mpi/ec.c:
/****************
 * Resize the array of A to NLIMBS. the additional space is cleared
 * (set to 0) [done by m_realloc()]
 */
int mpi_resize(MPI a, unsigned nlimbs)

Like the comment of kernel's mpi_resize() said, the additional space
need to be set to 0, but when a->d is not NULL, it does not set.

The kernel's mpi lib is from libgcrypt, the mpi resize in libgcrypt
is _gcry_mpi_resize() which set the additional space to 0.

This bug may cause mpi api which use mpi_resize() get wrong result
under the condition of using the additional space without initiation.
If this condition is not met, the bug would not be triggered.
Currently in kernel, rsa, sm2 and dh use mpi lib, and they works well,
so the bug is not triggered in these cases.

add_points_edwards() use the additional space directly, so it will
get a wrong result.

Fixes: cdec9cb516 ("crypto: GnuPG based MPI lib - source files (part 1)")
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:50:29 +02:00
Greg Kroah-Hartman
c8de3a470a Merge 5.10.64 into android12-5.10-lts
Changes in 5.10.64
	igmp: Add ip_mc_list lock in ip_check_mc_rcu
	USB: serial: mos7720: improve OOM-handling in read_mos_reg()
	net: ll_temac: Remove left-over debug message
	mm/page_alloc: speed up the iteration of max_order
	net: kcov: don't select SKB_EXTENSIONS when there is no NET
	serial: 8250: 8250_omap: Fix unused variable warning
	net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
	tty: drop termiox user definitions
	Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
	x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
	blk-mq: fix kernel panic during iterating over flush request
	blk-mq: fix is_flush_rq
	netfilter: nftables: avoid potential overflows on 32bit arches
	netfilter: nf_tables: initialize set before expression setup
	netfilter: nftables: clone set element expression template
	blk-mq: clearing flush request reference in tags->rqs[]
	ALSA: usb-audio: Add registration quirk for JBL Quantum 800
	usb: host: xhci-rcar: Don't reload firmware after the completion
	usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
	usb: mtu3: restore HS function when set SS/SSP
	usb: mtu3: use @mult for HS isoc or intr
	usb: mtu3: fix the wrong HS mult value
	xhci: fix even more unsafe memory usage in xhci tracing
	xhci: fix unsafe memory usage in xhci tracing
	x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
	PCI: Call Max Payload Size-related fixup quirks early
	Linux 5.10.64

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I2269075a6d5eb6121b6e42a28d4f3fd0c252695c
2021-09-12 09:17:13 +02:00
Randy Dunlap
7ff0b71b68 net: kcov: don't select SKB_EXTENSIONS when there is no NET
commit 85ce50d337d10a6fd328fa70b0a15543bf5c0f64 upstream.

Fix kconfig warning when CONFIG_NET is not set/enabled:

WARNING: unmet direct dependencies detected for SKB_EXTENSIONS
  Depends on [n]: NET [=n]
  Selected by [y]:
  - KCOV [=y] && ARCH_HAS_KCOV [=y] && (CC_HAS_SANCOV_TRACE_PC [=y] || GCC_PLUGINS [=n])

Fixes: 6370cc3bbd8a ("net: add kcov handle to skb extensions")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Aleksandr Nogikh <nogikh@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20201110175746.11437-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-12 08:58:26 +02:00
Greg Kroah-Hartman
59911be7e5 Revert "once: Fix panic when module unload"
This reverts commit 6815e21fe2 which is
commit 1027b96ec9d34f9abab69bc1a4dc5b1ad8ab1349 upstream.

The function __do_once_done() added a new parameter to handle the
problem when unloading modules with that function in it.  Android does
not support module unloading so just revert this as it breaks the kabi.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4d5279c00c64f2f1836837c13c27cea5ed3ea073
2021-09-07 07:58:44 +02:00
Greg Kroah-Hartman
674d2ac211 Merge 5.10.62 into android12-5.10-lts
Changes in 5.10.62
	net: qrtr: fix another OOB Read in qrtr_endpoint_post
	bpf: Fix ringbuf helper function compatibility
	bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
	ASoC: rt5682: Adjust headset volume button threshold
	ASoC: component: Remove misplaced prefix handling in pin control functions
	ARC: Fix CONFIG_STACKDEPOT
	netfilter: conntrack: collect all entries in one cycle
	once: Fix panic when module unload
	blk-iocost: fix lockdep warning on blkcg->lock
	ovl: fix uninitialized pointer read in ovl_lookup_real_one()
	net: mscc: Fix non-GPL export of regmap APIs
	can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
	ceph: correctly handle releasing an embedded cap flush
	riscv: Ensure the value of FP registers in the core dump file is up to date
	Revert "btrfs: compression: don't try to compress if we don't have enough pages"
	drm/amdgpu: Cancel delayed work when GFXOFF is disabled
	Revert "USB: serial: ch341: fix character loss at high transfer rates"
	USB: serial: option: add new VID/PID to support Fibocom FG150
	usb: renesas-xhci: Prefer firmware loading on unknown ROM state
	usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
	usb: dwc3: gadget: Stop EP0 transfers during pullup disable
	scsi: core: Fix hang of freezing queue between blocking and running device
	RDMA/bnxt_re: Add missing spin lock initialization
	IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
	RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
	ice: do not abort devlink info if board identifier can't be found
	net: usb: pegasus: fixes of set_register(s) return value evaluation;
	igc: fix page fault when thunderbolt is unplugged
	igc: Use num_tx_queues when iterating over tx_ring queue
	e1000e: Fix the max snoop/no-snoop latency for 10M
	e1000e: Do not take care about recovery NVM checksum
	RDMA/efa: Free IRQ vectors on error flow
	ip_gre: add validation for csum_start
	xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
	net: marvell: fix MVNETA_TX_IN_PRGRS bit number
	ucounts: Increase ucounts reference counter before the security hook
	net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
	ipv6: use siphash in rt6_exception_hash()
	ipv4: use siphash instead of Jenkins in fnhe_hashfun()
	cxgb4: dont touch blocked freelist bitmap after free
	rtnetlink: Return correct error on changing device netns
	net: hns3: clear hardware resource when loading driver
	net: hns3: add waiting time before cmdq memory is released
	net: hns3: fix duplicate node in VLAN list
	net: hns3: fix get wrong pfc_en when query PFC configuration
	Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
	net: stmmac: add mutex lock to protect est parameters
	net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
	drm/i915: Fix syncmap memory leak
	usb: gadget: u_audio: fix race condition on endpoint stop
	dt-bindings: sifive-l2-cache: Fix 'select' matching
	perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
	clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
	iwlwifi: pnvm: accept multiple HW-type TLVs
	opp: remove WARN when no valid OPPs remain
	cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
	virtio: Improve vq->broken access to avoid any compiler optimization
	virtio_pci: Support surprise removal of virtio pci device
	virtio_vdpa: reject invalid vq indices
	vringh: Use wiov->used to check for read/write desc order
	tools/virtio: fix build
	qed: qed ll2 race condition fixes
	qed: Fix null-pointer dereference in qed_rdma_create_qp()
	Revert "drm/amd/pm: fix workload mismatch on vega10"
	drm/amd/pm: change the workload type for some cards
	blk-mq: don't grab rq's refcount in blk_mq_check_expired()
	drm: Copy drm_wait_vblank to user before returning
	drm/nouveau/disp: power down unused DP links during init
	drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
	net/rds: dma_map_sg is entitled to merge entries
	btrfs: fix race between marking inode needs to be logged and log syncing
	pipe: avoid unnecessary EPOLLET wakeups under normal loads
	pipe: do FASYNC notifications for every pipe IO, not just state changes
	mtd: spinand: Fix incorrect parameters for on-die ECC
	tipc: call tipc_wait_for_connect only when dlen is not 0
	vt_kdsetmode: extend console locking
	Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
	riscv: Fixup wrong ftrace remove cflag
	riscv: Fixup patch_text panic in ftrace
	perf env: Fix memory leak of bpf_prog_info_linear member
	perf symbol-elf: Fix memory leak by freeing sdt_note.args
	perf record: Fix memory leak in vDSO found using ASAN
	perf tools: Fix arm64 build error with gcc-11
	perf annotate: Fix jump parsing for C++ code.
	powerpc/perf: Invoke per-CPU variable access with disabled interrupts
	srcu: Provide internal interface to start a Tree SRCU grace period
	srcu: Provide polling interfaces for Tree SRCU grace periods
	srcu: Provide internal interface to start a Tiny SRCU grace period
	srcu: Make Tiny SRCU use multi-bit grace-period counter
	srcu: Provide polling interfaces for Tiny SRCU grace periods
	tracepoint: Use rcu get state and cond sync for static call updates
	usb: typec: ucsi: acpi: Always decode connector change information
	usb: typec: ucsi: Work around PPM losing change information
	usb: typec: ucsi: Clear pending after acking connector change
	net: dsa: mt7530: fix VLAN traffic leaks again
	lkdtm: Enable DOUBLE_FAULT on all architectures
	arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
	btrfs: fix NULL pointer dereference when deleting device by invalid id
	kthread: Fix PF_KTHREAD vs to_kthread() race
	Revert "floppy: reintroduce O_NDELAY fix"
	Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
	net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
	audit: move put_tree() to avoid trim_trees refcount underflow and UAF
	bpf: Fix potentially incorrect results with bpf_get_local_storage()
	Linux 5.10.62

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5a9bf4b2c254ae21a10f838494cae1c3fa016be3
2021-09-03 10:51:56 +02:00
Kefeng Wang
6815e21fe2 once: Fix panic when module unload
[ Upstream commit 1027b96ec9d34f9abab69bc1a4dc5b1ad8ab1349 ]

DO_ONCE
DEFINE_STATIC_KEY_TRUE(___once_key);
__do_once_done
  once_disable_jump(once_key);
    INIT_WORK(&w->work, once_deferred);
    struct once_work *w;
    w->key = key;
    schedule_work(&w->work);                     module unload
                                                   //*the key is
destroy*
process_one_work
  once_deferred
    BUG_ON(!static_key_enabled(work->key));
       static_key_count((struct static_key *)x)    //*access key, crash*

When module uses DO_ONCE mechanism, it could crash due to the above
concurrency problem, we could reproduce it with link[1].

Fix it by add/put module refcount in the once work process.

[1] https://lore.kernel.org/netdev/eaa6c371-465e-57eb-6be9-f4b16b9d7cbf@huawei.com/

Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Reported-by: Minmin chen <chenmingmin@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-03 10:09:21 +02:00
Greg Kroah-Hartman
e4cac2c332 Merge 5.10.54 into android12-5.10-lts
Changes in 5.10.54
	igc: Fix use-after-free error during reset
	igb: Fix use-after-free error during reset
	igc: change default return of igc_read_phy_reg()
	ixgbe: Fix an error handling path in 'ixgbe_probe()'
	igc: Fix an error handling path in 'igc_probe()'
	igb: Fix an error handling path in 'igb_probe()'
	fm10k: Fix an error handling path in 'fm10k_probe()'
	e1000e: Fix an error handling path in 'e1000_probe()'
	iavf: Fix an error handling path in 'iavf_probe()'
	igb: Check if num of q_vectors is smaller than max before array access
	igb: Fix position of assignment to *ring
	gve: Fix an error handling path in 'gve_probe()'
	net: add kcov handle to skb extensions
	bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
	bonding: fix null dereference in bond_ipsec_add_sa()
	ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
	bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
	bonding: disallow setting nested bonding + ipsec offload
	bonding: Add struct bond_ipesc to manage SA
	bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
	bonding: fix incorrect return value of bond_ipsec_offload_ok()
	ipv6: fix 'disable_policy' for fwd packets
	stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
	selftests: icmp_redirect: remove from checking for IPv6 route get
	selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
	pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
	cxgb4: fix IRQ free race during driver unload
	mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
	nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
	KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
	perf inject: Fix dso->nsinfo refcounting
	perf map: Fix dso->nsinfo refcounting
	perf probe: Fix dso->nsinfo refcounting
	perf env: Fix sibling_dies memory leak
	perf test session_topology: Delete session->evlist
	perf test event_update: Fix memory leak of evlist
	perf dso: Fix memory leak in dso__new_map()
	perf test maps__merge_in: Fix memory leak of maps
	perf env: Fix memory leak of cpu_pmu_caps
	perf report: Free generated help strings for sort option
	perf script: Fix memory 'threads' and 'cpus' leaks on exit
	perf lzma: Close lzma stream on exit
	perf probe-file: Delete namelist in del_events() on the error path
	perf data: Close all files in close_dir()
	perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
	ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
	spi: imx: add a check for speed_hz before calculating the clock
	spi: stm32: fixes pm_runtime calls in probe/remove
	regulator: hi6421: Use correct variable type for regmap api val argument
	regulator: hi6421: Fix getting wrong drvdata
	spi: mediatek: fix fifo rx mode
	ASoC: rt5631: Fix regcache sync errors on resume
	bpf, test: fix NULL pointer dereference on invalid expected_attach_type
	bpf: Fix tail_call_reachable rejection for interpreter when jit failed
	xdp, net: Fix use-after-free in bpf_xdp_link_release
	timers: Fix get_next_timer_interrupt() with no timers pending
	liquidio: Fix unintentional sign extension issue on left shift of u16
	s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
	bpf, sockmap: Fix potential memory leak on unlikely error case
	bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
	bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
	bpftool: Check malloc return value in mount_bpffs_for_pin
	net: fix uninit-value in caif_seqpkt_sendmsg
	usb: hso: fix error handling code of hso_create_net_device
	dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
	efi/tpm: Differentiate missing and invalid final event log table.
	net: decnet: Fix sleeping inside in af_decnet
	KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
	KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
	net: sched: fix memory leak in tcindex_partial_destroy_work
	sctp: trim optlen when it's a huge value in sctp_setsockopt
	netrom: Decrease sock refcount when sock timers expire
	scsi: iscsi: Fix iface sysfs attr detection
	scsi: target: Fix protect handling in WRITE SAME(32)
	spi: cadence: Correct initialisation of runtime PM again
	ACPI: Kconfig: Fix table override from built-in initrd
	bnxt_en: don't disable an already disabled PCI device
	bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
	bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
	bnxt_en: Validate vlan protocol ID on RX packets
	bnxt_en: Check abort error state in bnxt_half_open_nic()
	net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
	net/tcp_fastopen: fix data races around tfo_active_disable_stamp
	ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
	net: hns3: fix possible mismatches resp of mailbox
	net: hns3: fix rx VLAN offload state inconsistent issue
	spi: spi-bcm2835: Fix deadlock
	net/sched: act_skbmod: Skip non-Ethernet packets
	ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
	ceph: don't WARN if we're still opening a session to an MDS
	nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
	Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
	afs: Fix tracepoint string placement with built-in AFS
	r8169: Avoid duplicate sysfs entry creation error
	nvme: set the PRACT bit when using Write Zeroes with T10 PI
	sctp: update active_key for asoc when old key is being replaced
	tcp: disable TFO blackhole logic by default
	net: dsa: sja1105: make VID 4095 a bridge VLAN too
	net: sched: cls_api: Fix the the wrong parameter
	drm/panel: raspberrypi-touchscreen: Prevent double-free
	cifs: only write 64kb at a time when fallocating a small region of a file
	cifs: fix fallocate when trying to allocate a hole.
	proc: Avoid mixing integer types in mem_rw()
	mmc: core: Don't allocate IDA for OF aliases
	s390/ftrace: fix ftrace_update_ftrace_func implementation
	s390/boot: fix use of expolines in the DMA code
	ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
	ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
	ALSA: sb: Fix potential ABBA deadlock in CSP driver
	ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
	ALSA: hdmi: Expose all pins on MSI MS-7C94 board
	ALSA: pcm: Call substream ack() method upon compat mmap commit
	ALSA: pcm: Fix mmap capability check
	Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
	usb: xhci: avoid renesas_usb_fw.mem when it's unusable
	xhci: Fix lost USB 2 remote wake
	KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
	KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
	usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
	usb: hub: Fix link power management max exit latency (MEL) calculations
	USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
	usb: max-3421: Prevent corruption of freed memory
	usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
	USB: serial: option: add support for u-blox LARA-R6 family
	USB: serial: cp210x: fix comments for GE CS1000
	USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
	usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
	usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
	usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
	usb: typec: stusb160x: register role switch before interrupt registration
	firmware/efi: Tell memblock about EFI iomem reservations
	tracepoints: Update static_call before tp_funcs when adding a tracepoint
	tracing/histogram: Rename "cpu" to "common_cpu"
	tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
	tracing: Synthetic event field_pos is an index not a boolean
	btrfs: check for missing device in btrfs_trim_fs
	media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
	ixgbe: Fix packet corruption due to missing DMA sync
	bus: mhi: core: Validate channel ID when processing command completions
	posix-cpu-timers: Fix rearm racing against process tick
	selftest: use mmap instead of posix_memalign to allocate memory
	io_uring: explicitly count entries for poll reqs
	io_uring: remove double poll entry on arm failure
	userfaultfd: do not untag user pointers
	memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
	hugetlbfs: fix mount mode command line processing
	rbd: don't hold lock_rwsem while running_list is being drained
	rbd: always kick acquire on "acquired" and "released" notifications
	misc: eeprom: at24: Always append device id even if label property is set.
	nds32: fix up stack guard gap
	driver core: Prevent warning when removing a device link from unregistered consumer
	drm: Return -ENOTTY for non-drm ioctls
	drm/amdgpu: update golden setting for sienna_cichlid
	net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
	net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
	PCI: Mark AMD Navi14 GPU ATS as broken
	bonding: fix build issue
	skbuff: Release nfct refcount on napi stolen or re-used skbs
	Documentation: Fix intiramfs script name
	perf inject: Close inject.output on exit
	usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
	drm/i915/gvt: Clear d3_entered on elsp cmd submission.
	sfc: ensure correct number of XDP queues
	xhci: add xhci_get_virt_ep() helper
	skbuff: Fix build with SKB extensions disabled
	Linux 5.10.54

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ifd2823b47ab1544cd1f168b138624ffe060a471e
2021-07-28 15:23:47 +02:00
Aleksandr Nogikh
4a31baf55f net: add kcov handle to skb extensions
[ Upstream commit 6370cc3bbd8a0f9bf975b013781243ab147876c6 ]

Remote KCOV coverage collection enables coverage-guided fuzzing of the
code that is not reachable during normal system call execution. It is
especially helpful for fuzzing networking subsystems, where it is
common to perform packet handling in separate work queues even for the
packets that originated directly from the user space.

Enable coverage-guided frame injection by adding kcov remote handle to
skb extensions. Default initialization in __alloc_skb and
__build_skb_around ensures that no socket buffer that was generated
during a system call will be missed.

Code that is of interest and that performs packet processing should be
annotated with kcov_remote_start()/kcov_remote_stop().

An alternative approach is to determine kcov_handle solely on the
basis of the device/interface that received the specific socket
buffer. However, in this case it would be impossible to distinguish
between packets that originated during normal background network
processes or were intentionally injected from the user space.

Signed-off-by: Aleksandr Nogikh <nogikh@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-28 14:35:33 +02:00
Greg Kroah-Hartman
51ab149d5f Merge 5.10.52 into android12-5.10-lts
Changes in 5.10.52
	certs: add 'x509_revocation_list' to gitignore
	cifs: handle reconnect of tcon when there is no cached dfs referral
	KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
	KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
	KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
	KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
	KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
	scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
	scsi: zfcp: Report port fc_security as unknown early during remote cable pull
	tracing: Do not reference char * as a string in histograms
	drm/i915/gtt: drop the page table optimisation
	drm/i915/gt: Fix -EDEADLK handling regression
	cgroup: verify that source is a string
	fbmem: Do not delete the mode that is still in use
	drm/dp_mst: Do not set proposed vcpi directly
	drm/dp_mst: Avoid to mess up payload table by ports in stale topology
	drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
	drm/ingenic: Fix non-OSD mode
	drm/ingenic: Switch IPU plane to type OVERLAY
	Revert "drm/ast: Remove reference to struct drm_device.pdev"
	net: bridge: multicast: fix PIM hello router port marking race
	net: bridge: multicast: fix MRD advertisement router port marking race
	leds: tlc591xx: fix return value check in tlc591xx_probe()
	ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
	dmaengine: fsl-qdma: check dma_set_mask return value
	scsi: arcmsr: Fix the wrong CDB payload report to IOP
	srcu: Fix broken node geometry after early ssp init
	rcu: Reject RCU_LOCKDEP_WARN() false positives
	tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
	serial: fsl_lpuart: disable DMA for console and fix sysrq
	misc/libmasm/module: Fix two use after free in ibmasm_init_one
	misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
	ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
	partitions: msdos: fix one-byte get_unaligned()
	iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
	iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
	ALSA: usx2y: Avoid camelCase
	ALSA: usx2y: Don't call free_pages_exact() with NULL address
	Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
	usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
	w1: ds2438: fixing bug that would always get page0
	scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
	scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
	scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
	scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
	scsi: core: Cap scsi_host cmd_per_lun at can_queue
	ALSA: ac97: fix PM reference leak in ac97_bus_remove()
	tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
	scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
	scsi: core: Fixup calling convention for scsi_mode_sense()
	scsi: scsi_dh_alua: Check for negative result value
	fs/jfs: Fix missing error code in lmLogInit()
	scsi: megaraid_sas: Fix resource leak in case of probe failure
	scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
	scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
	scsi: iscsi: Add iscsi_cls_conn refcount helpers
	scsi: iscsi: Fix conn use after free during resets
	scsi: iscsi: Fix shost->max_id use
	scsi: qedi: Fix null ref during abort handling
	scsi: qedi: Fix race during abort timeouts
	scsi: qedi: Fix TMF session block/unblock use
	scsi: qedi: Fix cleanup session block/unblock use
	mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
	mfd: cpcap: Fix cpcap dmamask not set warnings
	ASoC: img: Fix PM reference leak in img_i2s_in_probe()
	fsi: Add missing MODULE_DEVICE_TABLE
	serial: tty: uartlite: fix console setup
	s390/sclp_vt220: fix console name to match device
	s390: disable SSP when needed
	selftests: timers: rtcpie: skip test if default RTC device does not exist
	ALSA: sb: Fix potential double-free of CSP mixer elements
	powerpc/ps3: Add dma_mask to ps3_dma_region
	iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
	iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
	ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
	gpio: zynq: Check return value of pm_runtime_get_sync
	gpio: zynq: Check return value of irq_get_irq_data
	scsi: storvsc: Correctly handle multiple flags in srb_status
	ALSA: ppc: fix error return code in snd_pmac_probe()
	selftests/powerpc: Fix "no_handler" EBB selftest
	gpio: pca953x: Add support for the On Semi pca9655
	powerpc/mm/book3s64: Fix possible build error
	ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
	habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
	habanalabs: remove node from list before freeing the node
	s390/processor: always inline stap() and __load_psw_mask()
	s390/ipl_parm: fix program check new psw handling
	s390/mem_detect: fix diag260() program check new psw handling
	s390/mem_detect: fix tprot() program check new psw handling
	Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
	ALSA: bebob: add support for ToneWeal FW66
	ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
	ALSA: usb-audio: scarlett2: Fix data_mutex lock
	ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
	usb: gadget: f_hid: fix endianness issue with descriptors
	usb: gadget: hid: fix error return code in hid_bind()
	powerpc/boot: Fixup device-tree on little endian
	ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
	backlight: lm3630a: Fix return code of .update_status() callback
	ALSA: hda: Add IRQ check for platform_get_irq()
	ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
	ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
	leds: turris-omnia: add missing MODULE_DEVICE_TABLE
	staging: rtl8723bs: fix macro value for 2.4Ghz only device
	intel_th: Wait until port is in reset before programming it
	i2c: core: Disable client irq on reboot/shutdown
	phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
	lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
	kcov: add __no_sanitize_coverage to fix noinstr for all architectures
	power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
	power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
	pwm: spear: Don't modify HW state in .remove callback
	PCI: ftpci100: Rename macro name collision
	power: supply: ab8500: Avoid NULL pointers
	PCI: hv: Fix a race condition when removing the device
	power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
	power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
	ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
	PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
	NFSv4: Fix delegation return in cases where we have to retry
	PCI: pciehp: Ignore Link Down/Up caused by DPC
	watchdog: Fix possible use-after-free in wdt_startup()
	watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
	watchdog: Fix possible use-after-free by calling del_timer_sync()
	watchdog: imx_sc_wdt: fix pretimeout
	watchdog: iTCO_wdt: Account for rebooting on second timeout
	x86/fpu: Return proper error codes from user access functions
	remoteproc: core: Fix cdev remove and rproc del
	PCI: tegra: Add missing MODULE_DEVICE_TABLE
	orangefs: fix orangefs df output.
	ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
	drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
	NFS: nfs_find_open_context() may only select open files
	power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
	power: supply: ab8500: add missing MODULE_DEVICE_TABLE
	drm/amdkfd: fix sysfs kobj leak
	pwm: img: Fix PM reference leak in img_pwm_enable()
	pwm: tegra: Don't modify HW state in .remove callback
	ACPI: AMBA: Fix resource name in /proc/iomem
	ACPI: video: Add quirk for the Dell Vostro 3350
	PCI: rockchip: Register IRQ handlers after device and data are ready
	virtio-blk: Fix memory leak among suspend/resume procedure
	virtio_net: Fix error handling in virtnet_restore()
	virtio_console: Assure used length from device is limited
	f2fs: atgc: fix to set default age threshold
	NFSD: Fix TP_printk() format specifier in nfsd_clid_class
	x86/signal: Detect and prevent an alternate signal stack overflow
	f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
	f2fs: compress: fix to disallow temp extension
	remoteproc: k3-r5: Fix an error message
	PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
	power: supply: rt5033_battery: Fix device tree enumeration
	NFSv4: Initialise connection to the server in nfs4_alloc_client()
	NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
	misc: alcor_pci: fix inverted branch condition
	um: fix error return code in slip_open()
	um: fix error return code in winch_tramp()
	ubifs: Fix off-by-one error
	ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
	watchdog: aspeed: fix hardware timeout calculation
	watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
	SUNRPC: prevent port reuse on transports which don't request it.
	nfs: fix acl memory leak of posix_acl_create()
	ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
	PCI: iproc: Fix multi-MSI base vector number allocation
	PCI: iproc: Support multi-MSI only on uniprocessor kernel
	f2fs: fix to avoid adding tab before doc section
	x86/fpu: Fix copy_xstate_to_kernel() gap handling
	x86/fpu: Limit xstate copy size in xstateregs_set()
	PCI: intel-gw: Fix INTx enable
	pwm: imx1: Don't disable clocks at device remove time
	PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
	vdpa/mlx5: Fix umem sizes assignments on VQ create
	vdpa/mlx5: Fix possible failure in umem size calculation
	virtio_net: move tx vq operation under tx queue lock
	nvme-tcp: can't set sk_user_data without write_lock
	nfsd: Reduce contention for the nfsd_file nf_rwsem
	ALSA: isa: Fix error return code in snd_cmi8330_probe()
	vdpa/mlx5: Clear vq ready indication upon device reset
	NFSv4/pnfs: Fix the layout barrier update
	NFSv4/pnfs: Fix layoutget behaviour after invalidation
	NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
	hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
	hexagon: use common DISCARDS macro
	ARM: dts: gemini-rut1xx: remove duplicate ethernet node
	reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
	reset: RESET_INTEL_GW should depend on X86
	reset: a10sr: add missing of_match_table reference
	ARM: exynos: add missing of_node_put for loop iteration
	ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
	ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
	ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
	memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
	memory: atmel-ebi: add missing of_node_put for loop iteration
	reset: brcmstb: Add missing MODULE_DEVICE_TABLE
	memory: pl353: Fix error return code in pl353_smc_probe()
	ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
	rtc: fix snprintf() checking in is_rtc_hctosys()
	arm64: dts: renesas: v3msk: Fix memory size
	ARM: dts: r8a7779, marzen: Fix DU clock names
	arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
	arm64: dts: renesas: Add missing opp-suspend properties
	arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
	ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
	ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
	arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
	firmware: tegra: Fix error return code in tegra210_bpmp_init()
	firmware: arm_scmi: Reset Rx buffer to max size during async commands
	dt-bindings: i2c: at91: fix example for scl-gpios
	ARM: dts: BCM5301X: Fixup SPI binding
	reset: bail if try_module_get() fails
	arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
	arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
	memory: fsl_ifc: fix leak of IO mapping on probe failure
	memory: fsl_ifc: fix leak of private memory on probe failure
	arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
	ARM: dts: dra7: Fix duplicate USB4 target module node
	ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
	ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
	thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
	ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
	ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
	ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
	thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
	firmware: turris-mox-rwtm: fix reply status decoding function
	firmware: turris-mox-rwtm: report failures better
	firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
	firmware: turris-mox-rwtm: show message about HWRNG registration
	arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
	arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
	scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
	sched/uclamp: Ignore max aggregation if rq is idle
	jump_label: Fix jump_label_text_reserved() vs __init
	static_call: Fix static_call_text_reserved() vs __init
	mips: always link byteswap helpers into decompressor
	mips: disable branch profiling in boot/decompress.o
	MIPS: vdso: Invalid GIC access through VDSO
	scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
	seq_file: disallow extremely large seq buffer allocations
	Linux 5.10.52

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic1b04661728db8b0e060ca6935783e15a22210da
2021-07-20 16:36:53 +02:00
Dimitri John Ledkov
ff53dfb323 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
[ Upstream commit 2c484419efc09e7234c667aa72698cb79ba8d8ed ]

lz4 compatible decompressor is simple.  The format is underspecified and
relies on EOF notification to determine when to stop.  Initramfs buffer
format[1] explicitly states that it can have arbitrary number of zero
padding.  Thus when operating without a fill function, be extra careful to
ensure that sizes less than 4, or apperantly empty chunksizes are treated
as EOF.

To test this I have created two cpio initrds, first a normal one,
main.cpio.  And second one with just a single /test-file with content
"second" second.cpio.  Then i compressed both of them with gzip, and with
lz4 -l.  Then I created a padding of 4 bytes (dd if=/dev/zero of=pad4 bs=1
count=4).  To create four testcase initrds:

 1) main.cpio.gzip + extra.cpio.gzip = pad0.gzip
 2) main.cpio.lz4  + extra.cpio.lz4 = pad0.lz4
 3) main.cpio.gzip + pad4 + extra.cpio.gzip = pad4.gzip
 4) main.cpio.lz4  + pad4 + extra.cpio.lz4 = pad4.lz4

The pad4 test-cases replicate the initrd load by grub, as it pads and
aligns every initrd it loads.

All of the above boot, however /test-file was not accessible in the initrd
for the testcase #4, as decoding in lz4 decompressor failed.  Also an
error message printed which usually is harmless.

Whith a patched kernel, all of the above testcases now pass, and
/test-file is accessible.

This fixes lz4 initrd decompress warning on every boot with grub.  And
more importantly this fixes inability to load multiple lz4 compressed
initrds with grub.  This patch has been shipping in Ubuntu kernels since
January 2021.

[1] ./Documentation/driver-api/early-userspace/buffer-format.rst

BugLink: https://bugs.launchpad.net/bugs/1835660
Link: https://lore.kernel.org/lkml/20210114200256.196589-1-xnox@ubuntu.com/ # v0
Link: https://lkml.kernel.org/r/20210513104831.432975-1-dimitri.ledkov@canonical.com
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Cc: Kyungsik Lee <kyungsik.lee@lge.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Bongkyu Kim <bongkyu.kim@lge.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Sven Schmidt <4sschmid@informatik.uni-hamburg.de>
Cc: Rajat Asthana <thisisrast7@gmail.com>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:46 +02:00
Greg Kroah-Hartman
8db62be3c3 Merge 5.10.51 into android12-5.10-lts
Changes in 5.10.51
	drm/mxsfb: Don't select DRM_KMS_FB_HELPER
	drm/zte: Don't select DRM_KMS_FB_HELPER
	drm/ast: Fixed CVE for DP501
	drm/amd/display: fix HDCP reset sequence on reinitialize
	drm/amd/amdgpu/sriov disable all ip hw status by default
	drm/vc4: fix argument ordering in vc4_crtc_get_margins()
	drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
	net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
	drm/amd/display: fix use_max_lb flag for 420 pixel formats
	clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
	hugetlb: clear huge pte during flush function on mips platform
	atm: iphase: fix possible use-after-free in ia_module_exit()
	mISDN: fix possible use-after-free in HFC_cleanup()
	atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
	net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
	drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
	net: mdio: ipq8064: add regmap config to disable REGCACHE
	drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
	reiserfs: add check for invalid 1st journal block
	drm/virtio: Fix double free on probe failure
	net: mdio: provide shim implementation of devm_of_mdiobus_register
	net/sched: cls_api: increase max_reclassify_loop
	pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
	drm/scheduler: Fix hang when sched_entity released
	drm/sched: Avoid data corruptions
	udf: Fix NULL pointer dereference in udf_symlink function
	drm/vc4: Fix clock source for VEC PixelValve on BCM2711
	drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
	e100: handle eeprom as little endian
	igb: handle vlan types with checker enabled
	igb: fix assignment on big endian machines
	drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
	clk: renesas: r8a77995: Add ZA2 clock
	net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
	net/mlx5: Fix lag port remapping logic
	drm: rockchip: add missing registers for RK3188
	drm: rockchip: add missing registers for RK3066
	net: stmmac: the XPCS obscures a potential "PHY not found" error
	RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
	clk: tegra: Fix refcounting of gate clocks
	clk: tegra: Ensure that PLLU configuration is applied properly
	drm: bridge: cdns-mhdp8546: Fix PM reference leak in
	virtio-net: Add validation for used length
	ipv6: use prandom_u32() for ID generation
	MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
	MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
	drm/amd/display: Avoid HDCP over-read and corruption
	drm/amdgpu: remove unsafe optimization to drop preamble ib
	net: tcp better handling of reordering then loss cases
	RDMA/cxgb4: Fix missing error code in create_qp()
	dm space maps: don't reset space map allocation cursor when committing
	dm writecache: don't split bios when overwriting contiguous cache content
	dm: Fix dm_accept_partial_bio() relative to zone management commands
	net: bridge: mrp: Update ring transitions.
	pinctrl: mcp23s08: fix race condition in irq handler
	ice: set the value of global config lock timeout longer
	ice: fix clang warning regarding deadcode.DeadStores
	virtio_net: Remove BUG() to avoid machine dead
	net: mscc: ocelot: check return value after calling platform_get_resource()
	net: bcmgenet: check return value after calling platform_get_resource()
	net: mvpp2: check return value after calling platform_get_resource()
	net: micrel: check return value after calling platform_get_resource()
	net: moxa: Use devm_platform_get_and_ioremap_resource()
	drm/amd/display: Fix DCN 3.01 DSCCLK validation
	drm/amd/display: Update scaling settings on modeset
	drm/amd/display: Release MST resources on switch from MST to SST
	drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
	drm/amd/display: Fix off-by-one error in DML
	net: phy: realtek: add delay to fix RXC generation issue
	selftests: Clean forgotten resources as part of cleanup()
	net: sgi: ioc3-eth: check return value after calling platform_get_resource()
	drm/amdkfd: use allowed domain for vmbo validation
	fjes: check return value after calling platform_get_resource()
	selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
	r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
	drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
	xfrm: Fix error reporting in xfrm_state_construct.
	dm writecache: commit just one block, not a full page
	wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
	wl1251: Fix possible buffer overflow in wl1251_cmd_scan
	cw1200: add missing MODULE_DEVICE_TABLE
	drm/amdkfd: fix circular locking on get_wave_state
	drm/amdkfd: Fix circular lock in nocpsch path
	bpf: Fix up register-based shifts in interpreter to silence KUBSAN
	ice: fix incorrect payload indicator on PTYPE
	ice: mark PTYPE 2 as reserved
	mt76: mt7615: fix fixed-rate tx status reporting
	net: fix mistake path for netdev_features_strings
	net: ipa: Add missing of_node_put() in ipa_firmware_load()
	net: sched: fix error return code in tcf_del_walker()
	io_uring: fix false WARN_ONCE
	drm/amdgpu: fix bad address translation for sienna_cichlid
	drm/amdkfd: Walk through list with dqm lock hold
	mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
	rtl8xxxu: Fix device info for RTL8192EU devices
	MIPS: add PMD table accounting into MIPS'pmd_alloc_one
	net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
	atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
	atm: nicstar: register the interrupt handler in the right place
	vsock: notify server to shutdown when client has pending signal
	RDMA/rxe: Don't overwrite errno from ib_umem_get()
	iwlwifi: mvm: don't change band on bound PHY contexts
	iwlwifi: mvm: fix error print when session protection ends
	iwlwifi: pcie: free IML DMA memory allocation
	iwlwifi: pcie: fix context info freeing
	sfc: avoid double pci_remove of VFs
	sfc: error code if SRIOV cannot be disabled
	wireless: wext-spy: Fix out-of-bounds warning
	cfg80211: fix default HE tx bitrate mask in 2G band
	mac80211: consider per-CPU statistics if present
	mac80211_hwsim: add concurrent channels scanning support over virtio
	IB/isert: Align target max I/O size to initiator size
	media, bpf: Do not copy more entries than user space requested
	net: ip: avoid OOM kills with large UDP sends over loopback
	RDMA/cma: Fix rdma_resolve_route() memory leak
	Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
	Bluetooth: Fix the HCI to MGMT status conversion table
	Bluetooth: Fix alt settings for incoming SCO with transparent coding format
	Bluetooth: Shutdown controller after workqueues are flushed or cancelled
	Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
	Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
	Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
	Bluetooth: btusb: Add support USB ALT 3 for WBS
	Bluetooth: mgmt: Fix the command returns garbage parameter value
	Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
	sched/fair: Ensure _sum and _avg values stay consistent
	bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
	flow_offload: action should not be NULL when it is referenced
	sctp: validate from_addr_param return
	sctp: add size validation when walking chunks
	MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
	MIPS: set mips32r5 for virt extensions
	selftests/resctrl: Fix incorrect parsing of option "-t"
	MIPS: MT extensions are not available on MIPS32r1
	ath11k: unlock on error path in ath11k_mac_op_add_interface()
	arm64: dts: rockchip: add rk3328 dwc3 usb controller node
	arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
	loop: fix I/O error on fsync() in detached loop devices
	mm,hwpoison: return -EBUSY when migration fails
	io_uring: simplify io_remove_personalities()
	io_uring: Convert personality_idr to XArray
	io_uring: convert io_buffer_idr to XArray
	scsi: iscsi: Fix race condition between login and sync thread
	scsi: iscsi: Fix iSCSI cls conn state
	powerpc/mm: Fix lockup on kernel exec fault
	powerpc/barrier: Avoid collision with clang's __lwsync macro
	powerpc/powernv/vas: Release reference to tgid during window close
	drm/amdgpu: Update NV SIMD-per-CU to 2
	drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
	drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
	drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
	drm/vc4: txp: Properly set the possible_crtcs mask
	drm/vc4: crtc: Skip the TXP
	drm/vc4: hdmi: Prevent clock unbalance
	drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
	drm/rockchip: dsi: remove extra component_del() call
	drm/amd/display: fix incorrrect valid irq check
	pinctrl/amd: Add device HID for new AMD GPIO controller
	drm/amd/display: Reject non-zero src_y and src_x for video planes
	drm/tegra: Don't set allow_fb_modifiers explicitly
	drm/msm/mdp4: Fix modifier support enabling
	drm/arm/malidp: Always list modifiers
	drm/nouveau: Don't set allow_fb_modifiers explicitly
	drm/i915/display: Do not zero past infoframes.vsc
	mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
	mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
	mmc: core: clear flags before allowing to retune
	mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
	ata: ahci_sunxi: Disable DIPM
	arm64: tlb: fix the TTL value of tlb_get_level
	cpu/hotplug: Cure the cpusets trainwreck
	clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
	fpga: stratix10-soc: Add missing fpga_mgr_free() call
	ASoC: tegra: Set driver_name=tegra for all machine drivers
	i40e: fix PTP on 5Gb links
	qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
	ipmi/watchdog: Stop watchdog timer when the current action is 'none'
	thermal/drivers/int340x/processor_thermal: Fix tcc setting
	ubifs: Fix races between xattr_{set|get} and listxattr operations
	power: supply: ab8500: Fix an old bug
	mfd: syscon: Free the allocated name field of struct regmap_config
	nvmem: core: add a missing of_node_put
	lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
	selftests/lkdtm: Fix expected text for CR4 pinning
	extcon: intel-mrfld: Sync hardware and software state on init
	seq_buf: Fix overflow in seq_buf_putmem_hex()
	rq-qos: fix missed wake-ups in rq_qos_throttle try two
	tracing: Simplify & fix saved_tgids logic
	tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
	ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
	coresight: Propagate symlink failure
	coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
	dm zoned: check zone capacity
	dm writecache: flush origin device when writing and cache is full
	dm btree remove: assign new_root only when removal succeeds
	PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
	PCI: aardvark: Fix checking for PIO Non-posted Request
	PCI: aardvark: Implement workaround for the readback value of VEND_ID
	media: subdev: disallow ioctl for saa6588/davinci
	media: dtv5100: fix control-request directions
	media: zr364xx: fix memory leak in zr364xx_start_readpipe
	media: gspca/sq905: fix control-request direction
	media: gspca/sunplus: fix zero-length control requests
	media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
	io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
	dm writecache: write at least 4k when committing
	pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
	drm/ast: Remove reference to struct drm_device.pdev
	jfs: fix GPF in diFree
	smackfs: restrict bytes count in smk_set_cipso()
	ext4: fix memory leak in ext4_fill_super
	f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
	Linux 5.10.51

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Icb10fed733a0050848ecc23db13ae3d134895acd
2021-07-19 17:29:53 +02:00
Yun Zhou
f9fb4986f4 seq_buf: Fix overflow in seq_buf_putmem_hex()
commit d3b16034a24a112bb83aeb669ac5b9b01f744bb7 upstream.

There's two variables being increased in that loop (i and j), and i
follows the raw data, and j follows what is being written into the buffer.
We should compare 'i' to MAX_MEMHEX_BYTES or compare 'j' to HEX_CHARS.
Otherwise, if 'j' goes bigger than HEX_CHARS, it will overflow the
destination buffer.

Link: https://lore.kernel.org/lkml/20210625122453.5e2fe304@oasis.local.home/
Link: https://lkml.kernel.org/r/20210626032156.47889-1-yun.zhou@windriver.com

Cc: stable@vger.kernel.org
Fixes: 5e3ca0ec76 ("ftrace: introduce the "hex" output method")
Signed-off-by: Yun Zhou <yun.zhou@windriver.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-19 09:45:00 +02:00
Greg Kroah-Hartman
2df0fb4a4b Merge 5.10.50 into android12-5.10-lts
Changes in 5.10.50
	Bluetooth: hci_qca: fix potential GPF
	Bluetooth: btqca: Don't modify firmware contents in-place
	Bluetooth: Remove spurious error message
	ALSA: usb-audio: fix rate on Ozone Z90 USB headset
	ALSA: usb-audio: Fix OOB access at proc output
	ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
	ALSA: usb-audio: scarlett2: Fix wrong resume call
	ALSA: intel8x0: Fix breakage at ac97 clock measurement
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
	ALSA: hda/realtek: Add another ALC236 variant support
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
	ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
	ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
	ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
	media: dvb-usb: fix wrong definition
	Input: usbtouchscreen - fix control-request directions
	net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
	usb: gadget: eem: fix echo command packet response issue
	usb: renesas-xhci: Fix handling of unknown ROM state
	USB: cdc-acm: blacklist Heimann USB Appset device
	usb: dwc3: Fix debugfs creation flow
	usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
	xhci: solve a double free problem while doing s4
	gfs2: Fix underflow in gfs2_page_mkwrite
	gfs2: Fix error handling in init_statfs
	ntfs: fix validity check for file name attribute
	selftests/lkdtm: Avoid needing explicit sub-shell
	copy_page_to_iter(): fix ITER_DISCARD case
	iov_iter_fault_in_readable() should do nothing in xarray case
	Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
	crypto: nx - Fix memcpy() over-reading in nonce
	crypto: ccp - Annotate SEV Firmware file names
	arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
	ARM: dts: ux500: Fix LED probing
	ARM: dts: at91: sama5d4: fix pinctrl muxing
	btrfs: send: fix invalid path for unlink operations after parent orphanization
	btrfs: compression: don't try to compress if we don't have enough pages
	btrfs: clear defrag status of a root if starting transaction fails
	ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
	ext4: fix kernel infoleak via ext4_extent_header
	ext4: fix overflow in ext4_iomap_alloc()
	ext4: return error code when ext4_fill_flex_info() fails
	ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
	ext4: remove check for zero nr_to_scan in ext4_es_scan()
	ext4: fix avefreec in find_group_orlov
	ext4: use ext4_grp_locked_error in mb_find_extent
	can: bcm: delay release of struct bcm_op after synchronize_rcu()
	can: gw: synchronize rcu operations before removing gw job entry
	can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
	can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
	can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
	mac80211: remove iwlwifi specific workaround that broke sta NDP tx
	SUNRPC: Fix the batch tasks count wraparound.
	SUNRPC: Should wake up the privileged task firstly.
	bus: mhi: Wait for M2 state during system resume
	mm/gup: fix try_grab_compound_head() race with split_huge_page()
	perf/smmuv3: Don't trample existing events with global filter
	KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
	KVM: PPC: Book3S HV: Workaround high stack usage with clang
	KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
	KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
	s390/cio: dont call css_wait_for_slow_path() inside a lock
	s390: mm: Fix secure storage access exception handling
	f2fs: Prevent swap file in LFS mode
	clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
	clk: agilex/stratix10: remove noc_clk
	clk: agilex/stratix10: fix bypass representation
	rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
	iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
	iio: light: tcs3472: do not free unallocated IRQ
	iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
	iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
	iio: ltr501: ltr501_read_ps(): add missing endianness conversion
	iio: accel: bma180: Fix BMA25x bandwidth register values
	serial: mvebu-uart: fix calculation of clock divisor
	serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
	serial_cs: Add Option International GSM-Ready 56K/ISDN modem
	serial_cs: remove wrong GLOBETROTTER.cis entry
	ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
	ssb: sdio: Don't overwrite const buffer if block_write fails
	rsi: Assign beacon rate settings to the correct rate_info descriptor field
	rsi: fix AP mode with WPA failure due to encrypted EAPOL
	tracing/histograms: Fix parsing of "sym-offset" modifier
	tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
	seq_buf: Make trace_seq_putmem_hex() support data longer than 8
	powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
	loop: Fix missing discard support when using LOOP_CONFIGURE
	evm: Execute evm_inode_init_security() only when an HMAC key is loaded
	evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
	fuse: Fix crash in fuse_dentry_automount() error path
	fuse: Fix crash if superblock of submount gets killed early
	fuse: Fix infinite loop in sget_fc()
	fuse: ignore PG_workingset after stealing
	fuse: check connected before queueing on fpq->io
	fuse: reject internal errno
	thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
	spi: Make of_register_spi_device also set the fwnode
	Add a reference to ucounts for each cred
	staging: media: rkvdec: fix pm_runtime_get_sync() usage count
	media: marvel-ccic: fix some issues when getting pm_runtime
	media: mdk-mdp: fix pm_runtime_get_sync() usage count
	media: s5p: fix pm_runtime_get_sync() usage count
	media: am437x: fix pm_runtime_get_sync() usage count
	media: sh_vou: fix pm_runtime_get_sync() usage count
	media: mtk-vcodec: fix PM runtime get logic
	media: s5p-jpeg: fix pm_runtime_get_sync() usage count
	media: sunxi: fix pm_runtime_get_sync() usage count
	media: sti/bdisp: fix pm_runtime_get_sync() usage count
	media: exynos4-is: fix pm_runtime_get_sync() usage count
	media: exynos-gsc: fix pm_runtime_get_sync() usage count
	spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
	spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
	spi: omap-100k: Fix the length judgment problem
	regulator: uniphier: Add missing MODULE_DEVICE_TABLE
	sched/core: Initialize the idle task with preemption disabled
	hwrng: exynos - Fix runtime PM imbalance on error
	crypto: nx - add missing MODULE_DEVICE_TABLE
	media: sti: fix obj-$(config) targets
	media: cpia2: fix memory leak in cpia2_usb_probe
	media: cobalt: fix race condition in setting HPD
	media: hevc: Fix dependent slice segment flags
	media: pvrusb2: fix warning in pvr2_i2c_core_done
	media: imx: imx7_mipi_csis: Fix logging of only error event counters
	crypto: qat - check return code of qat_hal_rd_rel_reg()
	crypto: qat - remove unused macro in FW loader
	crypto: qce: skcipher: Fix incorrect sg count for dma transfers
	arm64: perf: Convert snprintf to sysfs_emit
	sched/fair: Fix ascii art by relpacing tabs
	media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
	media: bt878: do not schedule tasklet when it is not setup
	media: em28xx: Fix possible memory leak of em28xx struct
	media: hantro: Fix .buf_prepare
	media: cedrus: Fix .buf_prepare
	media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
	media: bt8xx: Fix a missing check bug in bt878_probe
	media: st-hva: Fix potential NULL pointer dereferences
	crypto: hisilicon/sec - fixup 3des minimum key size declaration
	Makefile: fix GDB warning with CONFIG_RELR
	media: dvd_usb: memory leak in cinergyt2_fe_attach
	memstick: rtsx_usb_ms: fix UAF
	mmc: sdhci-sprd: use sdhci_sprd_writew
	mmc: via-sdmmc: add a check against NULL pointer dereference
	spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
	spi: meson-spicc: fix memory leak in meson_spicc_probe
	crypto: shash - avoid comparing pointers to exported functions under CFI
	media: dvb_net: avoid speculation from net slot
	media: siano: fix device register error path
	media: imx-csi: Skip first few frames from a BT.656 source
	hwmon: (max31790) Report correct current pwm duty cycles
	hwmon: (max31790) Fix pwmX_enable attributes
	drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
	KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
	btrfs: fix error handling in __btrfs_update_delayed_inode
	btrfs: abort transaction if we fail to update the delayed inode
	btrfs: sysfs: fix format string for some discard stats
	btrfs: don't clear page extent mapped if we're not invalidating the full page
	btrfs: disable build on platforms having page size 256K
	locking/lockdep: Fix the dep path printing for backwards BFS
	lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
	KVM: s390: get rid of register asm usage
	regulator: mt6358: Fix vdram2 .vsel_mask
	regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
	media: Fix Media Controller API config checks
	ACPI: video: use native backlight for GA401/GA502/GA503
	HID: do not use down_interruptible() when unbinding devices
	EDAC/ti: Add missing MODULE_DEVICE_TABLE
	ACPI: processor idle: Fix up C-state latency if not ordered
	hv_utils: Fix passing zero to 'PTR_ERR' warning
	lib: vsprintf: Fix handling of number field widths in vsscanf
	Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
	platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
	platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
	ACPI: EC: Make more Asus laptops use ECDT _GPE
	block_dump: remove block_dump feature in mark_inode_dirty()
	blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
	blk-mq: clear stale request in tags->rq[] before freeing one request pool
	fs: dlm: cancel work sync othercon
	random32: Fix implicit truncation warning in prandom_seed_state()
	open: don't silently ignore unknown O-flags in openat2()
	drivers: hv: Fix missing error code in vmbus_connect()
	fs: dlm: fix memory leak when fenced
	ACPICA: Fix memory leak caused by _CID repair function
	ACPI: bus: Call kobject_put() in acpi_init() error path
	ACPI: resources: Add checks for ACPI IRQ override
	block: fix race between adding/removing rq qos and normal IO
	platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
	platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
	platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
	nvme-pci: fix var. type for increasing cq_head
	nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
	EDAC/Intel: Do not load EDAC driver when running as a guest
	PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
	cifs: improve fallocate emulation
	ACPI: EC: trust DSDT GPE for certain HP laptop
	clocksource: Retry clock read if long delays detected
	clocksource: Check per-CPU clock synchronization when marked unstable
	tpm_tis_spi: add missing SPI device ID entries
	ACPI: tables: Add custom DSDT file as makefile prerequisite
	HID: wacom: Correct base usage for capacitive ExpressKey status bits
	cifs: fix missing spinlock around update to ses->status
	mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
	block: fix discard request merge
	kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
	ia64: mca_drv: fix incorrect array size calculation
	writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
	spi: Allow to have all native CSs in use along with GPIOs
	spi: Avoid undefined behaviour when counting unused native CSs
	media: venus: Rework error fail recover logic
	media: s5p_cec: decrement usage count if disabled
	media: hantro: do a PM resume earlier
	crypto: ixp4xx - dma_unmap the correct address
	crypto: ixp4xx - update IV after requests
	crypto: ux500 - Fix error return code in hash_hw_final()
	sata_highbank: fix deferred probing
	pata_rb532_cf: fix deferred probing
	media: I2C: change 'RST' to "RSET" to fix multiple build errors
	sched/uclamp: Fix wrong implementation of cpu.uclamp.min
	sched/uclamp: Fix locking around cpu_util_update_eff()
	kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
	pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
	evm: fix writing <securityfs>/evm overflow
	x86/elf: Use _BITUL() macro in UAPI headers
	crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
	crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
	crypto: ccp - Fix a resource leak in an error handling path
	media: rc: i2c: Fix an error message
	pata_ep93xx: fix deferred probing
	locking/lockdep: Reduce LOCKDEP dependency list
	media: rkvdec: Fix .buf_prepare
	media: exynos4-is: Fix a use after free in isp_video_release
	media: au0828: fix a NULL vs IS_ERR() check
	media: tc358743: Fix error return code in tc358743_probe_of()
	media: gspca/gl860: fix zero-length control requests
	m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
	media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
	regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
	crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
	crypto: omap-sham - Fix PM reference leak in omap sham ops
	crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
	crypto: sm2 - remove unnecessary reset operations
	crypto: sm2 - fix a memory leak in sm2
	mmc: usdhi6rol0: fix error return code in usdhi6_probe()
	arm64: consistently use reserved_pg_dir
	arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
	media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
	media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
	hwmon: (lm70) Use device_get_match_data()
	hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
	hwmon: (max31722) Remove non-standard ACPI device IDs
	hwmon: (max31790) Fix fan speed reporting for fan7..12
	KVM: nVMX: Sync all PGDs on nested transition with shadow paging
	KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
	KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
	KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
	perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
	KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
	regulator: hi655x: Fix pass wrong pointer to config.driver_data
	btrfs: clear log tree recovering status if starting transaction fails
	x86/sev: Make sure IRQs are disabled while GHCB is active
	x86/sev: Split up runtime #VC handler for correct state tracking
	sched/rt: Fix RT utilization tracking during policy change
	sched/rt: Fix Deadline utilization tracking during policy change
	sched/uclamp: Fix uclamp_tg_restrict()
	lockdep: Fix wait-type for empty stack
	lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
	spi: spi-sun6i: Fix chipselect/clock bug
	crypto: nx - Fix RCU warning in nx842_OF_upd_status
	psi: Fix race between psi_trigger_create/destroy
	media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
	media: video-mux: Skip dangling endpoints
	PM / devfreq: Add missing error code in devfreq_add_device()
	ACPI: PM / fan: Put fan device IDs into separate header file
	block: avoid double io accounting for flush request
	nvme-pci: look for StorageD3Enable on companion ACPI device instead
	ACPI: sysfs: Fix a buffer overrun problem with description_show()
	mark pstore-blk as broken
	clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
	extcon: extcon-max8997: Fix IRQ freeing at error path
	ACPI: APEI: fix synchronous external aborts in user-mode
	blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
	blk-wbt: make sure throttle is enabled properly
	ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
	ACPI: bgrt: Fix CFI violation
	cpufreq: Make cpufreq_online() call driver->offline() on errors
	blk-mq: update hctx->dispatch_busy in case of real scheduler
	ocfs2: fix snprintf() checking
	dax: fix ENOMEM handling in grab_mapping_entry()
	mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
	mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
	mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
	swap: fix do_swap_page() race with swapoff
	mm/shmem: fix shmem_swapin() race with swapoff
	mm: memcg/slab: properly set up gfp flags for objcg pointer array
	mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
	mm/page_alloc: fix counting of managed_pages
	xfrm: xfrm_state_mtu should return at least 1280 for ipv6
	drm/bridge/sii8620: fix dependency on extcon
	drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
	drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
	drm/ast: Fix missing conversions to managed API
	video: fbdev: imxfb: Fix an error message
	net: mvpp2: Put fwnode in error case during ->probe()
	net: pch_gbe: Propagate error from devm_gpio_request_one()
	pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
	pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
	drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
	drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
	net: qrtr: ns: Fix error return code in qrtr_ns_init()
	clk: meson: g12a: fix gp0 and hifi ranges
	net: ftgmac100: add missing error return code in ftgmac100_probe()
	drm: rockchip: set alpha_en to 0 if it is not used
	drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
	drm/rockchip: dsi: move all lane config except LCDC mux to bind()
	drm/rockchip: lvds: Fix an error handling path
	drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
	mptcp: fix pr_debug in mptcp_token_new_connect
	mptcp: generate subflow hmac after mptcp_finish_join()
	RDMA/srp: Fix a recently introduced memory leak
	RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
	RDMA/rtrs: Do not reset hb_missed_max after re-connection
	RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
	RDMA/rtrs-srv: Fix memory leak when having multiple sessions
	RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
	RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
	ehea: fix error return code in ehea_restart_qps()
	clk: tegra30: Use 300MHz for video decoder by default
	xfrm: remove the fragment check for ipv6 beet mode
	net/sched: act_vlan: Fix modify to allow 0
	RDMA/core: Sanitize WQ state received from the userspace
	drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
	RDMA/rxe: Fix failure during driver load
	drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
	drm/vc4: hdmi: Fix error path of hpd-gpios
	clk: vc5: fix output disabling when enabling a FOD
	drm: qxl: ensure surf.data is ininitialized
	tools/bpftool: Fix error return code in do_batch()
	ath10k: go to path err_unsupported when chip id is not supported
	ath10k: add missing error return code in ath10k_pci_probe()
	wireless: carl9170: fix LEDS build errors & warnings
	ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
	clk: imx8mq: remove SYS PLL 1/2 clock gates
	wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
	ssb: Fix error return code in ssb_bus_scan()
	brcmfmac: fix setting of station info chains bitmask
	brcmfmac: correctly report average RSSI in station info
	brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
	brcmsmac: mac80211_if: Fix a resource leak in an error handling path
	cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
	ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
	ath10k: Fix an error code in ath10k_add_interface()
	ath11k: send beacon template after vdev_start/restart during csa
	netlabel: Fix memory leak in netlbl_mgmt_add_common
	RDMA/mlx5: Don't add slave port to unaffiliated list
	netfilter: nft_exthdr: check for IPv6 packet before further processing
	netfilter: nft_osf: check for TCP packet before further processing
	netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
	RDMA/rxe: Fix qp reference counting for atomic ops
	selftests/bpf: Whitelist test_progs.h from .gitignore
	xsk: Fix missing validation for skb and unaligned mode
	xsk: Fix broken Tx ring validation
	bpf: Fix libelf endian handling in resolv_btfids
	RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
	samples/bpf: Fix Segmentation fault for xdp_redirect command
	samples/bpf: Fix the error return code of xdp_redirect's main()
	mt76: fix possible NULL pointer dereference in mt76_tx
	mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
	net: ethernet: aeroflex: fix UAF in greth_of_remove
	net: ethernet: ezchip: fix UAF in nps_enet_remove
	net: ethernet: ezchip: fix error handling
	vrf: do not push non-ND strict packets with a source LLA through packet taps again
	net: sched: add barrier to ensure correct ordering for lockless qdisc
	tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
	netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
	pkt_sched: sch_qfq: fix qfq_change_class() error path
	xfrm: Fix xfrm offload fallback fail case
	iwlwifi: increase PNVM load timeout
	rtw88: 8822c: fix lc calibration timing
	vxlan: add missing rcu_read_lock() in neigh_reduce()
	ip6_tunnel: fix GRE6 segmentation
	net/ipv4: swap flow ports when validating source
	net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
	tc-testing: fix list handling
	ieee802154: hwsim: Fix memory leak in hwsim_add_one
	ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
	bpf: Fix null ptr deref with mixed tail calls and subprogs
	drm/msm: Fix error return code in msm_drm_init()
	drm/msm/dpu: Fix error return code in dpu_mdss_init()
	mac80211: remove iwlwifi specific workaround NDPs of null_response
	net: bcmgenet: Fix attaching to PYH failed on RPi 4B
	ipv6: exthdrs: do not blindly use init_net
	can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
	bpf: Do not change gso_size during bpf_skb_change_proto()
	i40e: Fix error handling in i40e_vsi_open
	i40e: Fix autoneg disabling for non-10GBaseT links
	i40e: Fix missing rtnl locking when setting up pf switch
	Revert "ibmvnic: remove duplicate napi_schedule call in open function"
	ibmvnic: set ltb->buff to NULL after freeing
	ibmvnic: free tx_pool if tso_pool alloc fails
	RDMA/cma: Protect RMW with qp_mutex
	net: macsec: fix the length used to copy the key for offloading
	net: phy: mscc: fix macsec key length
	net: atlantic: fix the macsec key length
	ipv6: fix out-of-bound access in ip6_parse_tlv()
	e1000e: Check the PCIm state
	net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
	bpfilter: Specify the log level for the kmsg message
	RDMA/cma: Fix incorrect Packet Lifetime calculation
	gve: Fix swapped vars when fetching max queues
	Revert "be2net: disable bh with spin_lock in be_process_mcc"
	Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
	Bluetooth: Fix not sending Set Extended Scan Response
	Bluetooth: Fix Set Extended (Scan Response) Data
	Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
	clk: actions: Fix UART clock dividers on Owl S500 SoC
	clk: actions: Fix SD clocks factor table on Owl S500 SoC
	clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
	clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
	clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
	clk: si5341: Wait for DEVICE_READY on startup
	clk: si5341: Avoid divide errors due to bogus register contents
	clk: si5341: Check for input clock presence and PLL lock on startup
	clk: si5341: Update initialization magic
	writeback: fix obtain a reference to a freeing memcg css
	net: lwtunnel: handle MTU calculation in forwading
	net: sched: fix warning in tcindex_alloc_perfect_hash
	net: tipc: fix FB_MTU eat two pages
	RDMA/mlx5: Don't access NULL-cleared mpi pointer
	RDMA/core: Always release restrack object
	MIPS: Fix PKMAP with 32-bit MIPS huge page support
	staging: fbtft: Rectify GPIO handling
	staging: fbtft: Don't spam logs when probe is deferred
	ASoC: rt5682: Disable irq on shutdown
	rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
	serial: fsl_lpuart: don't modify arbitrary data on lpuart32
	serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
	serial: 8250_omap: fix a timeout loop condition
	tty: nozomi: Fix a resource leak in an error handling function
	mwifiex: re-fix for unaligned accesses
	iio: adis_buffer: do not return ints in irq handlers
	iio: adis16400: do not return ints in irq handlers
	iio: adis16475: do not return ints in irq handlers
	iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: mxc4005: Fix overread of data and alignment issue.
	iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
	ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
	backlight: lm3630a_bl: Put fwnode in error case during ->probe()
	ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
	Input: hil_kbd - fix error return code in hil_dev_connect()
	perf scripting python: Fix tuple_set_u64()
	mtd: partitions: redboot: seek fis-index-block in the right node
	mtd: rawnand: arasan: Ensure proper configuration for the asserted target
	staging: mmal-vchiq: Fix incorrect static vchiq_instance.
	char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
	firmware: stratix10-svc: Fix a resource leak in an error handling path
	tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
	leds: class: The -ENOTSUPP should never be seen by user space
	leds: lm3532: select regmap I2C API
	leds: lm36274: Put fwnode in error case during ->probe()
	leds: lm3692x: Put fwnode in any case during ->probe()
	leds: lm3697: Don't spam logs when probe is deferred
	leds: lp50xx: Put fwnode in error case during ->probe()
	scsi: FlashPoint: Rename si_flags field
	scsi: iscsi: Flush block work before unblock
	mfd: mp2629: Select MFD_CORE to fix build error
	mfd: rn5t618: Fix IRQ trigger by changing it to level mode
	fsi: core: Fix return of error values on failures
	fsi: scom: Reset the FSI2PIB engine for any error
	fsi: occ: Don't accept response from un-initialized OCC
	fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
	fsi/sbefifo: Fix reset timeout
	visorbus: fix error return code in visorchipset_init()
	iommu/amd: Fix extended features logging
	s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
	s390: enable HAVE_IOREMAP_PROT
	s390: appldata depends on PROC_SYSCTL
	selftests: splice: Adjust for handler fallback removal
	iommu/dma: Fix IOVA reserve dma ranges
	ASoC: max98373-sdw: use first_hw_init flag on resume
	ASoC: rt1308-sdw: use first_hw_init flag on resume
	ASoC: rt5682-sdw: use first_hw_init flag on resume
	ASoC: rt700-sdw: use first_hw_init flag on resume
	ASoC: rt711-sdw: use first_hw_init flag on resume
	ASoC: rt715-sdw: use first_hw_init flag on resume
	ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
	ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
	ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
	usb: gadget: f_fs: Fix setting of device and driver data cross-references
	usb: dwc2: Don't reset the core after setting turnaround time
	eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
	eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
	thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
	iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
	staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
	staging: gdm724x: check for overflow in gdm_lte_netif_rx()
	staging: rtl8712: fix error handling in r871xu_drv_init
	staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
	coresight: core: Fix use of uninitialized pointer
	staging: mt7621-dts: fix pci address for PCI memory range
	serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
	iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
	of: Fix truncation of memory sizes on 32-bit platforms
	mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
	habanalabs: Fix an error handling path in 'hl_pci_probe()'
	scsi: mpt3sas: Fix error return value in _scsih_expander_add()
	soundwire: stream: Fix test for DP prepare complete
	phy: uniphier-pcie: Fix updating phy parameters
	phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
	extcon: sm5502: Drop invalid register write in sm5502_reg_data
	extcon: max8997: Add missing modalias string
	powerpc/powernv: Fix machine check reporting of async store errors
	ASoC: atmel-i2s: Fix usage of capture and playback at the same time
	configfs: fix memleak in configfs_release_bin_file
	ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
	ASoC: fsl_spdif: Fix unexpected interrupt after suspend
	leds: as3645a: Fix error return code in as3645a_parse_node()
	leds: ktd2692: Fix an error handling path
	selftests/ftrace: fix event-no-pid on 1-core machine
	serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
	serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
	powerpc: Offline CPU in stop_this_cpu()
	powerpc/papr_scm: Properly handle UUID types and API
	powerpc/64s: Fix copy-paste data exposure into newly created tasks
	powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
	ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
	serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
	serial: mvebu-uart: correctly calculate minimal possible baudrate
	arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
	vfio/pci: Handle concurrent vma faults
	mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
	mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
	mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
	mm/huge_memory.c: don't discard hugepage if other processes are mapping it
	mm/hugetlb: use helper huge_page_order and pages_per_huge_page
	mm/hugetlb: remove redundant check in preparing and destroying gigantic page
	hugetlb: remove prep_compound_huge_page cleanup
	include/linux/huge_mm.h: remove extern keyword
	mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
	mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
	lib/math/rational.c: fix divide by zero
	selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
	selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
	selftests/vm/pkeys: refill shadow register after implicit kernel write
	perf llvm: Return -ENOMEM when asprintf() fails
	csky: fix syscache.c fallthrough warning
	csky: syscache: Fixup duplicate cache flush
	exfat: handle wrong stream entry size in exfat_readdir()
	scsi: fc: Correct RHBA attributes length
	scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
	mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
	fscrypt: don't ignore minor_hash when hash is 0
	fscrypt: fix derivation of SipHash keys on big endian CPUs
	tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
	erofs: fix error return code in erofs_read_superblock()
	block: return the correct bvec when checking for gaps
	io_uring: fix blocking inline submission
	mmc: block: Disable CMDQ on the ioctl path
	mmc: vub3000: fix control-request direction
	media: exynos4-is: remove a now unused integer
	scsi: core: Retry I/O for Notify (Enable Spinup) Required error
	crypto: qce - fix error return code in qce_skcipher_async_req_handle()
	s390: preempt: Fix preempt_count initialization
	cred: add missing return error code when set_cred_ucounts() failed
	iommu/dma: Fix compile warning in 32-bit builds
	powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
	Linux 5.10.50

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iec4eab24ea8eb5a6d79739a1aec8432d93a8f82c
2021-07-14 17:35:23 +02:00
Trent Piepho
456554040e lib/math/rational.c: fix divide by zero
[ Upstream commit 65a0d3c14685663ba111038a35db70f559e39336 ]

If the input is out of the range of the allowed values, either larger than
the largest value or closer to zero than the smallest non-zero allowed
value, then a division by zero would occur.

In the case of input too large, the division by zero will occur on the
first iteration.  The best result (largest allowed value) will be found by
always choosing the semi-convergent and excluding the denominator based
limit when finding it.

In the case of the input too small, the division by zero will occur on the
second iteration.  The numerator based semi-convergent should not be
calculated to avoid the division by zero.  But the semi-convergent vs
previous convergent test is still needed, which effectively chooses
between 0 (the previous convergent) vs the smallest allowed fraction (best
semi-convergent) as the result.

Link: https://lkml.kernel.org/r/20210525144250.214670-1-tpiepho@gmail.com
Fixes: 323dd2c3ed ("lib/math/rational.c: fix possible incorrect result from rational fractions helper")
Signed-off-by: Trent Piepho <tpiepho@gmail.com>
Reported-by: Yiyuan Guo <yguoaz@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Oskar Schirmer <oskar@scara.com>
Cc: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:51 +02:00
Peter Zijlstra
f18f7a2276 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
[ Upstream commit c0c2c0dad6a06e0c05e9a52d65f932bd54364c97 ]

When PROVE_RAW_LOCK_NESTING=y many of the selftests FAILED because
HARDIRQ context is out-of-bounds for spinlocks. Instead make the
default hardware context the threaded hardirq context, which preserves
the old locking rules.

The wait-type specific locking selftests will have a non-threaded
HARDIRQ variant.

Fixes: de8f5e4f2d ("lockdep: Introduce wait-type checks")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20210617190313.322096283@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:10 +02:00
Randy Dunlap
5a3ac10611 locking/lockdep: Reduce LOCKDEP dependency list
[ Upstream commit b8e00abe7d9fe21dd13609e2e3a707e38902b105 ]

Some arches (um, sparc64, riscv, xtensa) cause a Kconfig warning for
LOCKDEP.
These arch-es select LOCKDEP_SUPPORT but they are not listed as one
of the arch-es that LOCKDEP depends on.

Since (16) arch-es define the Kconfig symbol LOCKDEP_SUPPORT if they
intend to have LOCKDEP support, replace the awkward list of
arch-es that LOCKDEP depends on with the LOCKDEP_SUPPORT symbol.

But wait. LOCKDEP_SUPPORT is included in LOCK_DEBUGGING_SUPPORT,
which is already a dependency here, so LOCKDEP_SUPPORT is redundant
and not needed.
That leaves the FRAME_POINTER dependency, but it is part of an
expression like this:
	depends on (A && B) && (FRAME_POINTER || B')
where B' is a dependency of B so if B is true then B' is true
and the value of FRAME_POINTER does not matter.
Thus we can also delete the FRAME_POINTER dependency.

Fixes this kconfig warning: (for um, sparc64, riscv, xtensa)

WARNING: unmet direct dependencies detected for LOCKDEP
  Depends on [n]: DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y] && (FRAME_POINTER [=n] || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
  Selected by [y]:
  - PROVE_LOCKING [=y] && DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y]
  - LOCK_STAT [=y] && DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y]
  - DEBUG_LOCK_ALLOC [=y] && DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y]

Fixes: 7d37cb2c912d ("lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lkml.kernel.org/r/20210524224150.8009-1-rdunlap@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:05 +02:00
Richard Fitzgerald
9e914f59cc lib: vsprintf: Fix handling of number field widths in vsscanf
[ Upstream commit 900fdc4573766dd43b847b4f54bd4a1ee2bc7360 ]

The existing code attempted to handle numbers by doing a strto[u]l(),
ignoring the field width, and then repeatedly dividing to extract the
field out of the full converted value. If the string contains a run of
valid digits longer than will fit in a long or long long, this would
overflow and no amount of dividing can recover the correct value.

This patch fixes vsscanf() to obey number field widths when parsing
the number.

A new _parse_integer_limit() is added that takes a limit for the number
of characters to parse. The number field conversion in vsscanf is changed
to use this new function.

If a number starts with a radix prefix, the field width  must be long
enough for at last one digit after the prefix. If not, it will be handled
like this:

 sscanf("0x4", "%1i", &i): i=0, scanning continues with the 'x'
 sscanf("0x4", "%2i", &i): i=0, scanning continues with the '4'

This is consistent with the observed behaviour of userland sscanf.

Note that this patch does NOT fix the problem of a single field value
overflowing the target type. So for example:

  sscanf("123456789abcdef", "%x", &i);

Will not produce the correct result because the value obviously overflows
INT_MAX. But sscanf will report a successful conversion.

Note that where a very large number is used to mean "unlimited", the value
INT_MAX is used for consistency with the behaviour of vsnprintf().

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210514161206.30821-2-rf@opensource.cirrus.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:55:57 +02:00
Yun Zhou
c556b938b3 seq_buf: Make trace_seq_putmem_hex() support data longer than 8
commit 6a2cbc58d6c9d90cd74288cc497c2b45815bc064 upstream.

Since the raw memory 'data' does not go forward, it will dump repeated
data if the data length is more than 8. If we want to dump longer data
blocks, we need to repeatedly call macro SEQ_PUT_HEX_FIELD. I think it
is a bit redundant, and multiple function calls also affect the performance.

Link: https://lore.kernel.org/lkml/20210625122453.5e2fe304@oasis.local.home/
Link: https://lkml.kernel.org/r/20210626032156.47889-2-yun.zhou@windriver.com

Cc: stable@vger.kernel.org
Fixes: 6d2289f3fa ("tracing: Make trace_seq_putmem_hex() more robust")
Signed-off-by: Yun Zhou <yun.zhou@windriver.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-14 16:55:46 +02:00
Al Viro
7b0393e6f6 iov_iter_fault_in_readable() should do nothing in xarray case
commit 0e8f0d67401589a141950856902c7d0ec8d9c985 upstream.

... and actually should just check it's given an iovec-backed iterator
in the first place.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-14 16:55:39 +02:00
Al Viro
b6df9e43d5 copy_page_to_iter(): fix ITER_DISCARD case
commit a506abc7b644d71966a75337d5a534f531b3cdc4 upstream.

we need to advance the iterator...

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-14 16:55:39 +02:00
Greg Kroah-Hartman
b1a6760ddf Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

dd139186ef ANDROID: usb: gadget: fix NULL pointer dereference in android_setup
07f65598af ANDROID: GKI: Disable kmem cgroup accounting
309aa7e7a2 FROMLIST: mm, memcg: inline swap-related functions to improve disabled memcg config
3ae8e2f183 BACKPORT: FROMLIST: mm, memcg: inline mem_cgroup_{charge/uncharge} to improve disabled memcg config
f73d029485 FROMLIST: mm, memcg: add mem_cgroup_disabled checks in vmpressure and swap-related functions
669df367a9 UPSTREAM: mm/memcg: bail early from swap accounting if memcg disabled
1f0c32a667 UPSTREAM: procfs/dmabuf: add inode number to /proc/*/fdinfo
0c8c125f57 UPSTREAM: procfs: allow reading fdinfo with PTRACE_MODE_READ
2e0476a465 Revert "FROMLIST: procfs: Allow reading fdinfo with PTRACE_MODE_READ"
5ded961aa2 Revert "FROMLIST: BACKPORT: procfs/dmabuf: Add inode number to /..."
3ee5565017 UPSTREAM: f2fs: initialize page->private when using for our internal use
dba79c3af3 ANDROID: mm: page_pinner: report test_page_isolation_failure
13362ab28e ANDROID: mm: page_pinner: add state of page_pinner
3254948484 ANDROID: mm: page_pinner: add more struct page fields
0445b67bee ANDROID: mm: page_pinner: change timestamp format
71da06728c ANDROID: mm: page_pinner: print_page_pinner refactoring
b83e564914 ANDROID: mm: page_pinner: remove shared_count
849f048050 ANDROID: mm: page_pinner: remove WARN_ON_ONCE
9a453100fc ANDROID: mm: page_pinner: fix typos
d012783a86 ANDROID: mm: page_pinner: reset migration failed page
470cce5085 ANDROID: mm: page_pinner: record every put_page
9f47e5fdda ANDROID: mm: page_pinner: change function names
a8385d61f2 ANDROID: Allow vendor module to reclaim a memcg
f41a95eadc ANDROID: Export memcg functions to allow module to add new files
46bf3b94e7 FROMGIT: dt-bindings: usb: dwc3: Update dwc3 TX fifo properties
b36b813e39 UPSTREAM: dt-bindings: usb: Convert DWC USB3 bindings to DT schema
9a80b7b728 FROMGIT: of: Add stub for of_add_property()
2742be5903 ANDROID: fips140: define fips_enabled to 1 to enable FIPS behavior
e886dd4c33 ANDROID: fips140: unregister existing DRBG algorithms
634445a640 ANDROID: fips140: fix deadlock in unregister_existing_fips140_algos()
0af06624ea ANDROID: fips140: check for errors from initcalls
92de53472e ANDROID: fips140: log already-live algorithms
0a7da21583 ANDROID: Update new mtk gki symbol
98085b5dd8 ANDROID: usb: Add vendor hook for usb suspend and resume
956db89e71 BACKPORT: FROMLIST: dma-heap: Let dma heap use dma_map_attrs to map & unmap iova
749d6e7f2c ANDROID: abi_gki_aarch64_qcom: Add vendor hook for shmem_alloc_page
b05bbe48be ANDROID: abi_gki_aarch64_qcom: Add reclaim_shmem_address_space
d80c70d7a8 ANDROID: android: export kernel function arch_mmap_rnd
25c7eb4932 ANDROID: mm: shmem: Fix build break with allnoconfig
1cdcf76b15 ANDROID: vendor_hooks: add hooks in mem_cgroup subsystem
726468dd4a ANDROID: GKI: add vendor padding variable in struct skb_shared_info
fc79c93657 FROMLIST: scsi: ufs: add quirk to enable host controller without interface configuration
2d5ae6b787 FROMLIST: scsi: ufs: add quirk to handle broken UIC command
38abaebab7 ANDROID: syscall_check: add vendor hook for bpf syscall
a7a3b31d58 ANDROID: syscall_check: add vendor hook for open syscall
a5543c9cd7 ANDROID: syscall_check: add vendor hook for mmap syscall
1f0769279f ANDROID: GKI: Add symbol to symbol list
2cff74e08c ANDROID: vendor_hooks: Add vendor hook to the net
25edba0d4d FROMLIST: scsi: ufs: Fix the SCSI abort handler
c0efdc4a5e ANDROID: android: export kernel function vm_unmapped_area
964220d080 ANDROID: shmem: vendor hook in shmem_alloc_page
bd2ca0ba5b FROMLIST: pstore/ram: Rework logic for detecting ramoops reserved memory region
daeabfe7fa ANDROID: mm: add reclaim_shmem_address_space() for faster reclaims
4c3dddf408 ANDROID: Update the generic ABI symbol list
4c4d8cbdef ANDROID: GKI: refresh ABI XML
01e4a037d8 ANDROID: GKI: turn on TIDY_ABI
edf973fd24 ANDROID: Update symbol list for VIVO
1702d2c8b7 FROMGIT: net: cdc_ncm: switch to eth%d interface naming
f4d6e8324c ANDROID: GKI: add allowed GKI symbol for Exynosauto SoC
444a0b7752 ANDROID: mm: add vendor hook for vmpressure
c799c6644b ANDROID: fips140: adjust some log messages
091338cb39 ANDROID: fips140: add missing static keyword to fips140_init()
70bfd6a7e0 ANDROID: GKI: update allowed list for exynosauto SoC
3e3147b280 UPSTREAM: scsi: ufs: ufshcd: Fix some function doc-rot
2c553e754f UPSTREAM: scsi: ufs: Adjust ufshcd_hold() during sending attribute requests
52ccdf90b9 FROMLIST: lockdep: Remove console_verbose when disable lock debugging
4458494476 ANDROID: ABI: qcom: Add symbols for 80211
5c51579fde ANDROID: fork: Export task_newtask tracepoint
e2a90797e8 ANDROID: Fix kernelci warnings for indentation in smp.c
bac33eaebf ANDROID: irqchip: gic-v3: Move struct gic_chip_data to header
bdac4418bf ANDROID: abi_gki_aarch64_qcom: Add android_vh_ufs_clock_scaling
65c1de0f06 ANDROID: Update symbol list for mtk
d4d02ab9b0 UPSTREAM: swiotlb: manipulate orig_addr when tlb_addr has offset
58aa0f2832 ANDROID: qcom: Add net related symbol
2f9f816445 ANDROID: Update the exynos symbol list
b2a9471239 ANDROID: Update symbol list for mtk
7c9599e204 FROMGIT: usb: dwc3: Create helper function getting MDWIDTH
0a24affb86 ANDROID: vendor_hooks: modify the function name
d686d5ffc6 ANDROID: GKI: Add some symbols to symbol list
bdfb11230b ANDROID: cpuidle: Allow for an early exit from cpuidle_enter_state()
f0b280c395 ANDROID: cpuidle: Update cpuidle_uninstall_idle_handler() to wakeup all online CPUs
14dd90ab37 ANDROID: scsi: ufs: Add hook to influence the UFS clock scaling policy
00aec39e2e FROMGIT: bpf: Support all gso types in bpf_skb_change_proto()

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6e5be89f3f02c420237a549f4c6a08b5ed434581
2021-07-13 15:00:50 +02:00
Ivaylo Georgiev
e15f2c671c Merge keystone/android12-5.10-keystone-qcom-release.43+ (dfb6b06) into msm-5.10
* refs/heads/tmp-dfb6b06:
  Revert "ANDROID: Add build.config.msm.* to .gitignore"
  ANDROID: Add build.config.msm.* to .gitignore
  FROMLIST: lockdep: Remove console_verbose when disable lock debugging
  ANDROID: ABI: qcom: Add symbols for 80211
  ANDROID: fork: Export task_newtask tracepoint
  ANDROID: Fix kernelci warnings for indentation in smp.c
  ANDROID: irqchip: gic-v3: Move struct gic_chip_data to header
  ANDROID: abi_gki_aarch64_qcom: Add android_vh_ufs_clock_scaling
  ANDROID: Update symbol list for mtk
  UPSTREAM: swiotlb: manipulate orig_addr when tlb_addr has offset
  ANDROID: qcom: Add net related symbol
  ANDROID: Update the exynos symbol list
  ANDROID: Update symbol list for mtk
  FROMGIT: usb: dwc3: Create helper function getting MDWIDTH
  ANDROID: vendor_hooks: modify the function name
  ANDROID: GKI: Add some symbols to symbol list
  ANDROID: cpuidle: Allow for an early exit from cpuidle_enter_state()
  ANDROID: cpuidle: Update cpuidle_uninstall_idle_handler() to wakeup all online CPUs
  ANDROID: scsi: ufs: Add hook to influence the UFS clock scaling policy

Change-Id: If2f493cb95fdd71c45bf66d126de19b236725988
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-07-07 23:26:19 -07:00
Elliot Berman
52ccdf90b9 FROMLIST: lockdep: Remove console_verbose when disable lock debugging
debug_locks_off can be called in scenarios where the kernel doesn't
immediately panic. For instance, debug_locks_off is called with a
mismatched preempt_count or when registering an improper lockdep map
and fails the sanity check for lock-class key [1]. Both of these issues
were discovered in vendor kernel code and were fixed.

When console_verbose is enabled, we have found that kernel tends to be
unstable because it is spending much of its time printing to the serial
log, so the system may miss watchdog pats. We explicitly set our system
to reduce the loglevel in order to prevent such scenarios, however
lockdep can circumvent the commandline setting. Thus, when we ran into
the kernel bugs, we first ended up trying to debug why the kernel wasn't
able to respond to watchdog pets and why it was spending all of its time
flushing the console, which did not quickly lead us to the "real"
lock dependency issue.

Remove the console_verbose when turning off lock debugging. Other debug
facilities, such as KASAN, KFENCE, SPINLOCK_DEBUG, and DEBUG_OBJECTS
don't set console_verbose when issues are detected. Current other uses
for console_verbose are in situations where kernel is in a panic path.

[1]: kernel/locking/lockdep.c:lockdep_init_map_waits:4617

Signed-off-by: Elliot Berman <eberman@codeaurora.org>

Link: https://lore.kernel.org/lkml/20210623045559.15750-1-eberman@codeaurora.org/
Bug: 191903062
Change-Id: If33587c49d316155a1745c9e0ef1a9ce23410a2b
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2021-07-07 15:25:28 +00:00
Ivaylo Georgiev
2e1928fcac Merge keystone/android12-5.10-keystone-qcom-release.43+ (023540d) into msm-5.10
* refs/heads/tmp-023540d:
  ANDROID: media: v4l2-core: extend the v4l2 subdev ioctl to support request
  ANDROID: logbuf: Remove if directive for vendor hooks
  ANDROID: iommu/io-pgtable-arm: Add IOMMU_CACHE_ICACHE_OCACHE_NWA
  FROMGIT: mac80211_hwsim: add concurrent channels scanning support over virtio
  ANDROID: GKI: update allowed symbols for exynosauto soc
  ANDROID: GKI: initial upload list for exynosauto soc
  ANDROID: logbuf: Add new logbuf vendor hook to support pr_cont()
  ANDROID: lib: Export show_mem() for vendor module usage

Change-Id: I80d229e406ef5e8ee8de7cbb058eeabfe517dca8
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-07-06 01:39:38 -07:00
Greg Kroah-Hartman
194be71cc6 Merge 5.10.47 into android12-5.10-lts
Changes in 5.10.47
	module: limit enabling module.sig_enforce
	Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
	Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
	drm: add a locked version of drm_is_current_master
	drm/nouveau: wait for moving fence after pinning v2
	drm/radeon: wait for moving fence after pinning
	drm/amdgpu: wait for moving fence after pinning
	ARM: 9081/1: fix gcc-10 thumb2-kernel regression
	mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
	MIPS: generic: Update node names to avoid unit addresses
	arm64: Ignore any DMA offsets in the max_zone_phys() calculation
	arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
	spi: spi-nxp-fspi: move the register operation after the clock enable
	Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
	drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
	drm/vc4: hdmi: Make sure the controller is powered in detect
	x86/entry: Fix noinstr fail in __do_fast_syscall_32()
	x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
	locking/lockdep: Improve noinstr vs errors
	perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context
	perf/x86/intel/lbr: Zero the xstate buffer on allocation
	dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
	dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()
	dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
	dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits
	mac80211: remove warning in ieee80211_get_sband()
	mac80211_hwsim: drop pending frames on stop
	cfg80211: call cfg80211_leave_ocb when switching away from OCB
	dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
	dmaengine: mediatek: free the proper desc in desc_free handler
	dmaengine: mediatek: do not issue a new desc if one is still current
	dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
	net: ipv4: Remove unneed BUG() function
	mac80211: drop multicast fragments
	net: ethtool: clear heap allocations for ethtool function
	inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
	ping: Check return value of function 'ping_queue_rcv_skb'
	net: annotate data race in sock_error()
	inet: annotate date races around sk->sk_txhash
	net/packet: annotate data race in packet_sendmsg()
	net: phy: dp83867: perform soft reset and retain established link
	riscv32: Use medany C model for modules
	net: caif: fix memory leak in ldisc_open
	net/packet: annotate accesses to po->bind
	net/packet: annotate accesses to po->ifindex
	r8152: Avoid memcpy() over-reading of ETH_SS_STATS
	sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
	r8169: Avoid memcpy() over-reading of ETH_SS_STATS
	KVM: selftests: Fix kvm_check_cap() assertion
	net: qed: Fix memcpy() overflow of qed_dcbx_params()
	mac80211: reset profile_periodicity/ema_ap
	mac80211: handle various extensible elements correctly
	recordmcount: Correct st_shndx handling
	PCI: Add AMD RS690 quirk to enable 64-bit DMA
	net: ll_temac: Add memory-barriers for TX BD access
	net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
	perf/x86: Track pmu in per-CPU cpu_hw_events
	pinctrl: stm32: fix the reported number of GPIO lines per bank
	i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
	gpiolib: cdev: zero padding during conversion to gpioline_info_changed
	scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
	nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
	s390/stack: fix possible register corruption with stack switch helper
	KVM: do not allow mapping valid but non-reference-counted pages
	i2c: robotfuzz-osif: fix control-request directions
	ceph: must hold snap_rwsem when filling inode for async create
	kthread_worker: split code for canceling the delayed work timer
	kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
	x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
	x86/fpu: Make init_fpstate correct with optimized XSAVE
	mm: add VM_WARN_ON_ONCE_PAGE() macro
	mm/rmap: remove unneeded semicolon in page_not_mapped()
	mm/rmap: use page_not_mapped in try_to_unmap()
	mm, thp: use head page in __migration_entry_wait()
	mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
	mm/thp: make is_huge_zero_pmd() safe and quicker
	mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
	mm/thp: fix vma_address() if virtual address below file offset
	mm/thp: fix page_address_in_vma() on file THP tails
	mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
	mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
	mm: page_vma_mapped_walk(): use page for pvmw->page
	mm: page_vma_mapped_walk(): settle PageHuge on entry
	mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
	mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
	mm: page_vma_mapped_walk(): crossing page table boundary
	mm: page_vma_mapped_walk(): add a level of indentation
	mm: page_vma_mapped_walk(): use goto instead of while (1)
	mm: page_vma_mapped_walk(): get vma_address_end() earlier
	mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
	mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
	mm, futex: fix shared futex pgoff on shmem huge page
	KVM: SVM: Call SEV Guest Decommission if ASID binding fails
	swiotlb: manipulate orig_addr when tlb_addr has offset
	netfs: fix test for whether we can skip read when writing beyond EOF
	Revert "drm: add a locked version of drm_is_current_master"
	certs: Add EFI_CERT_X509_GUID support for dbx entries
	certs: Move load_system_certificate_list to a common function
	certs: Add ability to preload revocation certs
	integrity: Load mokx variables into the blacklist keyring
	Linux 5.10.47

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I68f731ad78a5db003c41093e4faf59f6f9f2e446
2021-06-30 19:38:46 +02:00
Peter Zijlstra
ca2acbd548 locking/lockdep: Improve noinstr vs errors
[ Upstream commit 49faa77759b211fff344898edc23bb780707fff5 ]

Better handle the failure paths.

  vmlinux.o: warning: objtool: debug_locks_off()+0x23: call to console_verbose() leaves .noinstr.text section
  vmlinux.o: warning: objtool: debug_locks_off()+0x19: call to __kasan_check_write() leaves .noinstr.text section

  debug_locks_off+0x19/0x40:
  instrument_atomic_write at include/linux/instrumented.h:86
  (inlined by) __debug_locks_off at include/linux/debug_locks.h:17
  (inlined by) debug_locks_off at lib/debug_locks.c:41

Fixes: 6eebad1ad3 ("lockdep: __always_inline more for noinstr")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210621120120.784404944@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:18 -04:00
Georgi Djakov
3cd04ea95a ANDROID: lib: Export show_mem() for vendor module usage
There are debugging modules that monitor the memory usage of tasks
and report memory parameters in some situations (such as OOM).

Bug: 189595202
Change-Id: I6cc405b0f4cbe1706857fc3b2f8da83ea981818d
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
2021-06-29 16:39:50 +00:00
Ivaylo Georgiev
471ade6138 Merge keystone/android12-5.10-keystone-qcom-release.43+ (05a2a29) into msm-5.10
* refs/heads/tmp-05a2a29:
  ANDROID: gki - CONFIG_NET_SCH_FQ=y
  ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS
  FROMLIST: media: Kconfig: Fix DVB_CORE can't be selected as module
  ANDROID: Update ABI and symbol list
  Revert "net: usb: cdc_ncm: don't spew notifications"
  Linux 5.10.43
  neighbour: allow NUD_NOARP entries to be forced GCed
  xen-netback: take a reference to the RX task thread
  netfilter: nf_tables: missing error reporting for not selected expressions
  i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
  lib/lz4: explicitly support in-place decompression
  x86/kvm: Disable all PV features on crash
  x86/kvm: Disable kvmclock on all CPUs on shutdown
  x86/kvm: Teardown PV features on boot CPU as well
  KVM: arm64: Fix debug register indexing
  KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
  btrfs: fix unmountable seed device after fstrim
  drm/msm/dpu: always use mdp device to scale bandwidth
  mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
  btrfs: fix deadlock when cloning inline extents and low on available space
  btrfs: abort in rename_exchange if we fail to insert the second ref
  btrfs: fixup error handling in fixup_inode_link_counts
  btrfs: return errors from btrfs_del_csums in cleanup_ref_head
  btrfs: fix error handling in btrfs_del_csums
  btrfs: mark ordered extent and inode with error if we fail to finish
  powerpc/kprobes: Fix validation of prefixed instructions across page boundary
  x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
  drm/amdgpu: make sure we unpin the UVD BO
  drm/amdgpu: Don't query CE and UE errors
  nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
  x86/sev: Check SME/SEV support in CPUID first
  x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
  mm/page_alloc: fix counting of free pages after take off from buddy
  mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests()
  ocfs2: fix data corruption by fallocate
  pid: take a reference when initializing `cad_pid`
  usb: dwc2: Fix build in periphal-only mode
  ext4: fix accessing uninit percpu counter variable with fast_commit
  ext4: fix memory leak in ext4_mb_init_backend on error path.
  ext4: fix fast commit alignment issues
  ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
  ext4: fix memory leak in ext4_fill_super
  ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
  ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
  ALSA: hda: update the power_state during the direct-complete
  ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
  ALSA: timer: Fix master timer notification
  gfs2: fix scheduling while atomic bug in glocks
  HID: multitouch: require Finger field to mark Win8 reports as MT
  HID: magicmouse: fix NULL-deref on disconnect
  HID: i2c-hid: Skip ELAN power-on command after reset
  net: caif: fix memory leak in cfusbl_device_notify
  net: caif: fix memory leak in caif_device_notify
  net: caif: add proper error handling
  net: caif: added cfserl_release function
  wireguard: allowedips: free empty intermediate nodes when removing single node
  wireguard: allowedips: allocate nodes in kmem_cache
  wireguard: allowedips: remove nodes in O(1)
  wireguard: allowedips: initialize list head in selftest
  wireguard: selftests: make sure rp_filter is disabled on vethc
  wireguard: selftests: remove old conntrack kconfig value
  wireguard: use synchronize_net rather than synchronize_rcu
  wireguard: peer: allocate in kmem_cache
  wireguard: do not use -O3
  Bluetooth: use correct lock to prevent UAF of hdev object
  Bluetooth: fix the erroneous flush_work() order
  drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
  drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
  drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
  io_uring: use better types for cflags
  io_uring: fix link timeout refs
  riscv: vdso: fix and clean-up Makefile
  serial: stm32: fix threaded interrupt handling
  tipc: fix unique bearer names sanity check
  tipc: add extack messages for bearer/media failure
  bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
  ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
  ARM: dts: imx7d-pico: Fix the 'tuning-step' property
  ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
  arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
  arm64: dts: zii-ultra: fix 12V_MAIN voltage
  arm64: dts: ls1028a: fix memory node
  bus: ti-sysc: Fix am335x resume hang for usb otg module
  optee: use export_uuid() to copy client UUID
  arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent
  ixgbe: add correct exception tracing for XDP
  ixgbe: optimize for XDP_REDIRECT in xsk path
  ice: add correct exception tracing for XDP
  ice: optimize for XDP_REDIRECT in xsk path
  ice: simplify ice_run_xdp
  i40e: add correct exception tracing for XDP
  i40e: optimize for XDP_REDIRECT in xsk path
  cxgb4: avoid link re-train during TC-MQPRIO configuration
  i2c: qcom-geni: Add shutdown callback for i2c
  ice: Allow all LLDP packets from PF to Tx
  ice: report supported and advertised autoneg using PHY capabilities
  ice: handle the VF VSI rebuild failure
  ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
  ice: Fix allowing VF to request more/less queues via virtchnl
  ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
  cxgb4: fix regression with HASH tc prio value update
  ixgbevf: add correct exception tracing for XDP
  igb: add correct exception tracing for XDP
  ieee802154: fix error return code in ieee802154_llsec_getparams()
  ieee802154: fix error return code in ieee802154_add_iface()
  bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
  bpf: Simplify cases in bpf_base_func_proto
  drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest()
  netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
  netfilter: nft_ct: skip expectations for confirmed conntrack
  nvmet: fix freeing unallocated p2pmem
  net/mlx5: DR, Create multi-destination flow table with level less than 64
  net/mlx5e: Check for needed capability for cvlan matching
  net/mlx5: Check firmware sync reset requested is set before trying to abort it
  net/mlx5e: Fix incompatible casting
  net/tls: Fix use-after-free after the TLS device goes down and up
  net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
  net: sock: fix in-kernel mark setting
  net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs
  perf probe: Fix NULL pointer dereference in convert_variable_location()
  ACPICA: Clean up context mutex during object deletion
  nvme-rdma: fix in-casule data send for chained sgls
  mptcp: always parse mptcp options for MPC reqsk
  net/sched: act_ct: Fix ct template allocation for zone 0
  net/sched: act_ct: Offload connections with commit action
  devlink: Correct VIRTUAL port to not have phys_port attributes
  HID: i2c-hid: fix format string mismatch
  HID: pidff: fix error return code in hid_pidff_init()
  HID: logitech-hidpp: initialize level variable
  ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
  vfio/platform: fix module_put call in error flow
  samples: vfio-mdev: fix error handing in mdpy_fb_probe()
  vfio/pci: zap_vma_ptes() needs MMU
  vfio/pci: Fix error return code in vfio_ecap_init()
  efi: cper: fix snprintf() use in cper_dimm_err_location()
  efi/libstub: prevent read overflow in find_file_option()
  efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
  efi/fdt: fix panic when no valid fdt found
  netfilter: conntrack: unregister ipv4 sockopts on error unwind
  hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228
  hwmon: (dell-smm-hwmon) Fix index values
  net: usb: cdc_ncm: don't spew notifications
  btrfs: tree-checker: do not error out if extent ref hash doesn't match

Change-Id: Id878e21ca63befee2ba14efb582e117e7f637033
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-06-15 21:05:40 -07:00
Ivaylo Georgiev
274d37a14a Merge keystone/android12-5.10-keystone-qcom-release.42+ (f70b9a6) into msm-5.10
* refs/heads/tmp-f70b9a6:
  ANDROID: Fips 140: move fips symbols entirely in own list
  ANDROID: core of xt_IDLETIMER send_nl_msg support
  ANDROID: start to re-add xt_IDLETIMER send_nl_msg support
  ANDROID: add fips140.ko symbols to module ABI
  ANDROID: inject correct HMAC digest into fips140.ko at build time
  ANDROID: crypto: fips140 - perform load time integrity check
  FROMLIST: crypto: shash - stop comparing function pointers to avoid breaking CFI
  ANDROID: arm64: module: preserve RELA sections for FIPS140 integrity selfcheck
  ANDROID: arm64: simd: omit capability check in may_use_simd()
  ANDROID: kbuild: lto: permit the use of .a archives in LTO modules
  ANDROID: arm64: only permit certain alternatives in the FIPS140 module
  ANDROID: crypto: lib/aes - add vendor hooks for AES library routines
  ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine
  UPSTREAM: KVM: arm64: Mark the host stage-2 memory pools static
  UPSTREAM: arm64: mm: don't use CON and BLK mapping if KFENCE is enabled
  UPSTREAM: x86/build: Fix location of '-plugin-opt=' flags
  UPSTREAM: binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION
  UPSTREAM: usb: dwc3: imx8mp: fix error return code in dwc3_imx8mp_probe()
  UPSTREAM: usb: dwc3: core: Add missing GHWPARAMS9 doc
  UPSTREAM: KVM: arm64: Fix error return code in init_hyp_mode()
  UPSTREAM: KVM: arm64: Support PREL/PLT relocs in EL2 code
  UPSTREAM: iommu/mediatek: Always enable the clk on resume
  UPSTREAM: mm: page_alloc: ignore init_on_free=1 for debug_pagealloc=1
  UPSTREAM: dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references
  UPSTREAM: media: mtk: fix mtk-smi dependency
  UPSTREAM: software node: Allow node addition to already existing device
  UPSTREAM: coresight: etm-perf: Fix define build issue when built as module
  UPSTREAM: kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled
  UPSTREAM: kunit: tool: Disable PAGE_POISONING under --alltests
  UPSTREAM: gpiolib: Fix error return code in gpiolib_dev_init()
  UPSTREAM: memblock: fix section mismatch warning
  UPSTREAM: software node: Fix device_add_software_node()
  UPSTREAM: gpio: fix NULL-deref-on-deregistration regression
  BACKPORT: kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
  UPSTREAM: kbuild: lto: add _mcount to list of used symbols
  UPSTREAM: arm64: Add missing ISB after invalidating TLB in enter_vhe
  UPSTREAM: kbuild: Move .thinlto-cache removal to 'make clean'
  UPSTREAM: parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
  UPSTREAM: kbuild: prevent CC_FLAGS_LTO self-bloating on recursive rebuilds
  UPSTREAM: regulator: qcom-rpmh: fix build after QCOM_COMMAND_DB is tristate
  UPSTREAM: dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS
  UPSTREAM: signal/parisc: Remove parisc specific definition of __ARCH_UAPI_SA_FLAGS
  UPSTREAM: nl80211: fix kernel-doc warning in the new SAE attribute
  ANDROID: abi_gki_aarch64_qcom: Add cpuidle_psci and gic_resume symbols
  ANDROID: gic-v3: Export gic_resume() for vendor GIC enhancements
  ANDROID: cpuidle-psci: Add vendor hook for cpuidle psci enter and exit
  FROMGIT: usb: typec: mux: Fix copy-paste mistake in typec_mux_match
  FROMGIT: usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
  ANDROID: export cpuset_cpus_allowed()for GKI purpose.
  ANDROID: GKI: Update abi_gki_aarch64_qcom list for shmem reclaim
  ANDROID: tracing: Add generic flag for register tracing disable
  ANDROID: user: Add vendor hook to user for GKI purpose
  ANDROID: mm: allow fast reclaim of shmem pages
  ANDROID: vendor_hooks: Export the tracepoints sched_stat_sleep and sched_waking to let module probe them

Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt
	Documentation/devicetree/bindings/media/mediatek-jpeg-decoder.txt
	Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.txt
	Documentation/devicetree/bindings/media/mediatek-mdp.txt
	Documentation/devicetree/bindings/media/mediatek-vcodec.txt

Change-Id: Ic22894ca2604f1bc7efea81204c41e2e5593defc
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-06-13 22:29:39 -07:00
Greg Kroah-Hartman
9e08e97ec6 Merge 5.10.43 into android12-5.10
Changes in 5.10.43
	btrfs: tree-checker: do not error out if extent ref hash doesn't match
	net: usb: cdc_ncm: don't spew notifications
	hwmon: (dell-smm-hwmon) Fix index values
	hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228
	netfilter: conntrack: unregister ipv4 sockopts on error unwind
	efi/fdt: fix panic when no valid fdt found
	efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
	efi/libstub: prevent read overflow in find_file_option()
	efi: cper: fix snprintf() use in cper_dimm_err_location()
	vfio/pci: Fix error return code in vfio_ecap_init()
	vfio/pci: zap_vma_ptes() needs MMU
	samples: vfio-mdev: fix error handing in mdpy_fb_probe()
	vfio/platform: fix module_put call in error flow
	ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
	HID: logitech-hidpp: initialize level variable
	HID: pidff: fix error return code in hid_pidff_init()
	HID: i2c-hid: fix format string mismatch
	devlink: Correct VIRTUAL port to not have phys_port attributes
	net/sched: act_ct: Offload connections with commit action
	net/sched: act_ct: Fix ct template allocation for zone 0
	mptcp: always parse mptcp options for MPC reqsk
	nvme-rdma: fix in-casule data send for chained sgls
	ACPICA: Clean up context mutex during object deletion
	perf probe: Fix NULL pointer dereference in convert_variable_location()
	net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs
	net: sock: fix in-kernel mark setting
	net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
	net/tls: Fix use-after-free after the TLS device goes down and up
	net/mlx5e: Fix incompatible casting
	net/mlx5: Check firmware sync reset requested is set before trying to abort it
	net/mlx5e: Check for needed capability for cvlan matching
	net/mlx5: DR, Create multi-destination flow table with level less than 64
	nvmet: fix freeing unallocated p2pmem
	netfilter: nft_ct: skip expectations for confirmed conntrack
	netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
	drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest()
	bpf: Simplify cases in bpf_base_func_proto
	bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
	ieee802154: fix error return code in ieee802154_add_iface()
	ieee802154: fix error return code in ieee802154_llsec_getparams()
	igb: add correct exception tracing for XDP
	ixgbevf: add correct exception tracing for XDP
	cxgb4: fix regression with HASH tc prio value update
	ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
	ice: Fix allowing VF to request more/less queues via virtchnl
	ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
	ice: handle the VF VSI rebuild failure
	ice: report supported and advertised autoneg using PHY capabilities
	ice: Allow all LLDP packets from PF to Tx
	i2c: qcom-geni: Add shutdown callback for i2c
	cxgb4: avoid link re-train during TC-MQPRIO configuration
	i40e: optimize for XDP_REDIRECT in xsk path
	i40e: add correct exception tracing for XDP
	ice: simplify ice_run_xdp
	ice: optimize for XDP_REDIRECT in xsk path
	ice: add correct exception tracing for XDP
	ixgbe: optimize for XDP_REDIRECT in xsk path
	ixgbe: add correct exception tracing for XDP
	arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent
	optee: use export_uuid() to copy client UUID
	bus: ti-sysc: Fix am335x resume hang for usb otg module
	arm64: dts: ls1028a: fix memory node
	arm64: dts: zii-ultra: fix 12V_MAIN voltage
	arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
	ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
	ARM: dts: imx7d-pico: Fix the 'tuning-step' property
	ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
	bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
	tipc: add extack messages for bearer/media failure
	tipc: fix unique bearer names sanity check
	serial: stm32: fix threaded interrupt handling
	riscv: vdso: fix and clean-up Makefile
	io_uring: fix link timeout refs
	io_uring: use better types for cflags
	drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
	drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
	drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
	Bluetooth: fix the erroneous flush_work() order
	Bluetooth: use correct lock to prevent UAF of hdev object
	wireguard: do not use -O3
	wireguard: peer: allocate in kmem_cache
	wireguard: use synchronize_net rather than synchronize_rcu
	wireguard: selftests: remove old conntrack kconfig value
	wireguard: selftests: make sure rp_filter is disabled on vethc
	wireguard: allowedips: initialize list head in selftest
	wireguard: allowedips: remove nodes in O(1)
	wireguard: allowedips: allocate nodes in kmem_cache
	wireguard: allowedips: free empty intermediate nodes when removing single node
	net: caif: added cfserl_release function
	net: caif: add proper error handling
	net: caif: fix memory leak in caif_device_notify
	net: caif: fix memory leak in cfusbl_device_notify
	HID: i2c-hid: Skip ELAN power-on command after reset
	HID: magicmouse: fix NULL-deref on disconnect
	HID: multitouch: require Finger field to mark Win8 reports as MT
	gfs2: fix scheduling while atomic bug in glocks
	ALSA: timer: Fix master timer notification
	ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
	ALSA: hda: update the power_state during the direct-complete
	ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
	ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
	ext4: fix memory leak in ext4_fill_super
	ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
	ext4: fix fast commit alignment issues
	ext4: fix memory leak in ext4_mb_init_backend on error path.
	ext4: fix accessing uninit percpu counter variable with fast_commit
	usb: dwc2: Fix build in periphal-only mode
	pid: take a reference when initializing `cad_pid`
	ocfs2: fix data corruption by fallocate
	mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests()
	mm/page_alloc: fix counting of free pages after take off from buddy
	x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
	x86/sev: Check SME/SEV support in CPUID first
	nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
	drm/amdgpu: Don't query CE and UE errors
	drm/amdgpu: make sure we unpin the UVD BO
	x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
	powerpc/kprobes: Fix validation of prefixed instructions across page boundary
	btrfs: mark ordered extent and inode with error if we fail to finish
	btrfs: fix error handling in btrfs_del_csums
	btrfs: return errors from btrfs_del_csums in cleanup_ref_head
	btrfs: fixup error handling in fixup_inode_link_counts
	btrfs: abort in rename_exchange if we fail to insert the second ref
	btrfs: fix deadlock when cloning inline extents and low on available space
	mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
	drm/msm/dpu: always use mdp device to scale bandwidth
	btrfs: fix unmountable seed device after fstrim
	KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
	KVM: arm64: Fix debug register indexing
	x86/kvm: Teardown PV features on boot CPU as well
	x86/kvm: Disable kvmclock on all CPUs on shutdown
	x86/kvm: Disable all PV features on crash
	lib/lz4: explicitly support in-place decompression
	i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
	netfilter: nf_tables: missing error reporting for not selected expressions
	xen-netback: take a reference to the RX task thread
	neighbour: allow NUD_NOARP entries to be forced GCed
	Linux 5.10.43

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8d7ec0878193e4e454076809b7fb71fcc4e3d810
2021-06-12 14:48:14 +02:00
Ard Biesheuvel
9c556792b7 ANDROID: crypto: lib/aes - add vendor hooks for AES library routines
Add vendor hooks that will allow the FIPS140 kernel module to override
the implementations of the AES library routines. The FIPS 140 versions
are identical to the normal ones, but their code and rodata will have been
integrity checked at module load time.

Bug: 153614920
Bug: 188620248
Change-Id: I5711fc42eced903565fd3c8d41ca7cdd82641148
Signed-off-by: Ard Biesheuvel <ardb@google.com>
2021-06-11 07:49:57 +00:00
Ard Biesheuvel
7a689ebc67 ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine
Add a vendor hook that will allow the FIPS140 kernel module to override
the implementation of the sha256() library routine. The FIPS 140 version
is identical to the normal one, but its code and rodata will have been
integrity checked at module load time.

Bug: 153614920
Bug: 188620248
Change-Id: I8ccc4f0cc8206af39fa922134b438dacac2a614a
Signed-off-by: Ard Biesheuvel <ardb@google.com>
2021-06-11 07:49:57 +00:00
Ivaylo Georgiev
b81dd58779 Merge keystone/android12-5.10-keystone-qcom-release.42+ (eccdafe) into msm-5.10
* refs/heads/tmp-eccdafe:
  FROMLIST: remoteproc: use freezable workqueue for crash notifications
  UPSTREAM: erofs: support adjust lz4 history window size
  UPSTREAM: erofs: use sync decompression for atomic contexts only
  UPSTREAM: erofs: use workqueue decompression for atomic contexts only
  UPSTREAM: erofs: avoid memory allocation failure during rolling decompression
  UPSTREAM: erofs: force inplace I/O under low memory scenario
  UPSTREAM: erofs: insert to managed cache after adding to pcl
  UPSTREAM: erofs: get rid of magical Z_EROFS_MAPPING_STAGING
  ANDROID: abi_gki_aarch64_qcom: Add thermal_cooling_device_register
  ANDROID: ABI: Update allowed list for QCOM
  FROMGIT: usb: typec: tcpm: Do not finish VDM AMS for retrying Responses
  FROMGIT: usb: fix various gadget panics on 10gbps cabling
  FROMGIT: usb: fix various gadgets null ptr deref on 10gbps cabling.
  FROMGIT: usb: f_ncm: only first packet of aggregate needs to start timer
  FROMGIT: USB: f_ncm: ncm_bitrate (speed) is unsigned
  ANDROID: gki - CONFIG_NET_SCH_{CODEL,FQ_CODEL,SFQ}=y
  ANDROID: gki - enable CONFIG_USB_CONFIGFS_{EEM,ECM}=y
  ANDROID: gki - enable CONFIG_USB_NET_CDC_EEM=y
  ANDROID: gki - enable CONFIG_USB_RTL8150=y
  ANDROID: mm: vmscan: support equal reclaim for anon and file pages
  ANDROID: qcom: Add more neighbor and dev related symbols
  ANDROID: GKI: Update abi_gki_aarch64_qcom for process killed symbol
  ANDROID: mm/memory_hotplug: Relax remove_memory_subsection error checking
  ANDROID: usb: typec: tcpm: Fixup the wait time for SNK_DISCOVERY
  FROMGIT: usb: typec: tcpm: Fix misuses of AMS invocation
  ANDROID: Update the ABI representation
  ANDROID: Update the generic symbol list
  ANDROID: abi_gki_aarch64_qcom: Add symbols for 32bit execve
  ANDROID: sched: create trace points for 32bit execve
  BACKPORT: FROMGIT: mm: arch: remove indirection level in alloc_zeroed_user_highpage_movable()
  UPSTREAM: arm64: kasan: Set TCR_EL1.TBID1 when KASAN_HW_TAGS is enabled
  ANDROID: freezer: Add vendor hook to freezer for GKI purpose.
  ANDROID: kernel: Fix passing NULL to __pa_symbol()
  ANDROID: sched: Add vendor hook to select ilb cpu
  ANDROID: GKI: enable CONFIG_EROFS_FS=y
  FROMGIT: dt-bindings: connector: Replace BIT macro with generic bit ops
  FROMGIT: usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
  FROMGIT: dt-bindings: connector: Add PD rev 2.0 VDO definition
  FROMGIT: usb: typec: tcpm: Correct the responses in SVDM Version 2.0 DFP
  FROMGIT: Revert "usb: dwc3: core: Add shutdown callback for dwc3"
  ANDROID: arm scmi: add vendor hook to adjust the rx timeout.
  FROMGIT: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition
  FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support
  BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test
  FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test
  FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type
  FROMGIT: userfaultfd/shmem: modify shmem_mfill_atomic_pte to use install_pte()
  FROMGIT: userfaultfd/shmem: advertise shmem minor fault support
  FROMGIT: userfaultfd/shmem: support UFFDIO_CONTINUE for shmem
  BACKPORT: FROMGIT: userfaultfd/shmem: support minor fault registration for shmem
  BACKPORT: FROMGIT: userfaultfd/shmem: combine shmem_{mcopy_atomic,mfill_zeropage}_pte
  Revert "BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem"
  Revert "FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type"
  Revert "FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test"
  Revert "BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test"
  Revert "FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support"
  Revert "FROMLIST: userfaultfd/shmem: fix minor fault page leak"
  ANDROID: GKI: 6/4/2021 KMI update
  ANDROID: media: v4l2-core: extend the v4l2 format to support request
  ANDROID: vendor_hooks: add hook and OEM data for slab shrink
  ANDROID: sched: Add oem data in struct rq
  ANDROID: android: Add nr_swap_pages to debug_symbols driver
  ANDROID: GKI: Enable CONFIG_PCIEAER for arm64 andx86_64
  UPSTREAM: media: docs: Document CLL and Mastering display colorimetry controls
  UPSTREAM: media: v4l: Add HDR10 static metadata controls
  UPSTREAM: media: uapi: Move the H264 stateless control types out of staging
  ANDROID: GKI: Add OEM data to mutex/rwsem
  FROMGIT: usb: typec: tcpci: Make symbol 'tcpci_apply_rc' static
  FROMGIT: usb: typec: tcpci: Implement callback for apply_rc
  FROMGIT: usb: typec: tcpm: Move TCPC to APPLY_RC state during PR_SWAP
  ANDROID: GKI: device.h: add rcu_head back to struct device_link
  FROMGIT: drivers: base: Reduce device link removal code duplication
  FROMGIT: drivers: base: Fix device link removal
  UPSTREAM: scsi: ufs-mediatek: Keep VCC always-on for specific devices
  UPSTREAM: scsi: ufs: Allow regulators being always-on
  UPSTREAM: scsi: ufs-mediatek: Use correct path to fix compile error
  UPSTREAM: scsi: ufs-mediatek: Introduce event_notify implementation
  BACKPORT: scsi: ufs: Introduce event_notify variant function
  Revert "Revert "clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940""
  Revert "Revert "PM: runtime: Fix unpaired parent child_count for force_resume""
  Revert "Revert "kyber: fix out of bounds access when preempted""
  Revert "Revert "usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4""
  Revert "Revert "mm: fix struct page layout on 32-bit systems""
  ANDROID: GKI: Enlarge OEM data reserved in task_struct
  ANDROID: GKI: add OEM data in cma struct
  FROMGIT: scsi: ufs: Remove redundant checks of !hba in suspend/resume callbacks
  FROMGIT: scsi: ufs: Minor adjustments to error handling
  BACKPORT: FROMGIT: scsi: ufs: Clean up and refactor clk-scaling feature
  FROMGIT: scsi: ufs: Remove redundant null checking of devfreq instance
  FROMGIT: scsi: ufs: Refactor cancelling clkscaling works
  FROMGIT: scsi: ufs: Give clk scaling min gear a value
  BACKPORT: FROMGIT: scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating()
  BACKPORT: FROMGIT: scsi: ufs: Protect some contexts from unexpected clock scaling
  FROMGIT: scsi: ufs: Stop hardcoding the scale down gear
  FROMGIT: Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"
  BACKPORT: FROMGIT: scsi: ufs: Protect PM ops and err_handler from user access through sysfs
  ANDROID: Update the ABI xml and symbol list
  FROMGIT: timer_list: Print name of per-cpu wakeup device
  FROMGIT: tick/broadcast: Program wakeup timer when entering idle if required
  FROMGIT: tick/broadcast: Prefer per-cpu oneshot wakeup timers to broadcast
  FROMGIT: tick/broadcast: Split __tick_broadcast_oneshot_control() into a helper
  FROMGIT: tick/broadcast: Drop unneeded CONFIG_GENERIC_CLOCKEVENTS_BROADCAST guard
  FROMGIT: usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
  FROMGIT: usb: typec: tcpm: cancel send discover hrtimer when unregister tcpm port
  FROMGIT: usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
  FROMGIT: usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
  FROMGIT: usb: typec: tcpm: Properly handle Alert and Status Messages
  ANDROID: usb: export tracepoint for dwc3_complete_trb
  ANDROID: GKI: Request enable some kernel configs for background speed limit function
  ANDROID: vendor_hooks: Export the tracepoints task_rename
  arm64: perf: Add Erratum 1974925 workaround
  Revert "Revert "ANDROID: usb: dwc3: gadget: don't cancel the started requests""
  ANDROID: signal: Add vendor hook for memory reaping
  Revert "ANDROID: mm: oom_kill: reap memory of a task that receives SIGKILL"
  FROMGIT: kfence: unconditionally use unbound work queue
  FROMLIST: bootconfig: Share the checksum function with tools
  FROMLIST: docs: bootconfig: Update for mixing value and subkeys
  FROMLIST: tools/bootconfig: Support mixed value and subkey test cases
  FROMLIST: bootconfig: Support mixing a value and subkeys under a key
  FROMLIST: bootconfig: Change array value to use child node
  FROMLIST: tools/bootconfig: Fix a build error accroding to undefined fallthrough
  ANDROID: Add an extra wake flag for android vendor use
  f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bit
  f2fs: compress: remove unneeded preallocation
  f2fs: avoid attaching SB_ACTIVE flag during mount/remount
  f2fs: atgc: export entries for better tunability via sysfs
  f2fs: compress: fix to disallow temp extension
  f2fs: let's allow compression for mmap files
  f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
  f2fs: return success if there is no work to do
  f2fs: compress: clean up parameter of __f2fs_cluster_blocks()
  f2fs: compress: remove unneeded f2fs_put_dnode()
  f2fs: atgc: fix to set default age threshold
  f2fs: Prevent swap file in LFS mode
  f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
  f2fs: restructure f2fs page.private layout
  f2fs: add cp_error check in f2fs_write_compressed_pages
  f2fs: compress: rename __cluster_may_compress

Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/connector/usb-connector.yaml

Change-Id: I6ee172609c8da25a20c37d65f5116e7eac05b0b4
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-06-10 22:30:47 -07:00
Gao Xiang
f20eef4d06 lib/lz4: explicitly support in-place decompression
commit 89b158635ad79574bde8e94d45dad33f8cf09549 upstream.

LZ4 final literal copy could be overlapped when doing
in-place decompression, so it's unsafe to just use memcpy()
on an optimized memcpy approach but memmove() instead.

Upstream LZ4 has updated this years ago [1] (and the impact
is non-sensible [2] plus only a few bytes remain), this commit
just synchronizes LZ4 upstream code to the kernel side as well.

It can be observed as EROFS in-place decompression failure
on specific files when X86_FEATURE_ERMS is unsupported,
memcpy() optimization of commit 59daa706fb ("x86, mem:
Optimize memcpy by avoiding memory false dependece") will
be enabled then.

Currently most modern x86-CPUs support ERMS, these CPUs just
use "rep movsb" approach so no problem at all. However, it can
still be verified with forcely disabling ERMS feature...

arch/x86/lib/memcpy_64.S:
        ALTERNATIVE_2 "jmp memcpy_orig", "", X86_FEATURE_REP_GOOD, \
-                     "jmp memcpy_erms", X86_FEATURE_ERMS
+                     "jmp memcpy_orig", X86_FEATURE_ERMS

We didn't observe any strange on arm64/arm/x86 platform before
since most memcpy() would behave in an increasing address order
("copy upwards" [3]) and it's the correct order of in-place
decompression but it really needs an update to memmove() for sure
considering it's an undefined behavior according to the standard
and some unique optimization already exists in the kernel.

[1] 33cb8518ac
[2] https://github.com/lz4/lz4/pull/717#issuecomment-497818921
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=12518

Link: https://lkml.kernel.org/r/20201122030749.2698994-1-hsiangkao@redhat.com
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Miao Xie <miaoxie@huawei.com>
Cc: Chao Yu <yuchao0@huawei.com>
Cc: Li Guifu <bluce.liguifu@huawei.com>
Cc: Guo Xuenan <guoxuenan@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-10 13:39:29 +02:00
Masami Hiramatsu
a504731003 FROMLIST: bootconfig: Support mixing a value and subkeys under a key
Support mixing a value and subkeys under a key. Since kernel cmdline
options will support "aaa.bbb=value1 aaa.bbb.ccc=value2", it is
better that the bootconfig supports such configuration too.

Note that this does not change syntax itself but just accepts
mixed value and subkeys e.g.

key = value1
key.subkey = value2

But this is not accepted;

key {
 value1
 subkey = value2
}

That will make value1 as a subkey.

Also, the order of the value node under a key is fixed. If there
are a value and subkeys, the value is always the first child node
of the key. Thus if user specifies subkeys first, e.g.

key.subkey = value1
key = value2

In the program (and /proc/bootconfig), it will be shown as below

key = value2
key.subkey = value1

Picking this up FROMLIST to get the fix ASAP. It is likely to be
accepted upstream.

Signed-off-by: Devin Moore <devinmoore@google.com>
Link: https://lore.kernel.org/lkml/162262192121.264090.6540508908529705156.stgit@devnote2/
Bug: 183237066
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Change-Id: I60bdc229c5162efc55fe2e40c75c993f0f27ac18
2021-06-03 19:57:01 +00:00
Masami Hiramatsu
7559923b1a FROMLIST: bootconfig: Change array value to use child node
It is not possible to put an array value with subkeys under
a key node, because both of subkeys and the array elements
are using "next" field of the xbc_node.

Thus this changes the array values to use "child" field in
the array case. The reason why split this change is to
test it easily.

Picking this up FROMLIST to get the fix ASAP. It is likely to be
accepted upstream.

Signed-off-by: Devin Moore <devinmoore@google.com>
Link: https://lore.kernel.org/lkml/162262192121.264090.6540508908529705156.stgit@devnote2/
Bug: 183237066
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Change-Id: Iabd54cda32f6bde12297942d6b03bd2555e6eb0c
2021-06-03 19:56:53 +00:00
qctecmdr
5625aa6ddb Merge "Merge keystone/android12-5.10-keystone-qcom-release.39+ (9782146) into msm-5.10" 2021-05-27 13:29:17 -07:00
qctecmdr
29787a3151 Merge "soc: qcom: Kconfig: Move DEBUG_SPINLOCK_*_ON_BUG to qcom Kconfig" 2021-05-27 09:54:01 -07:00
Ivaylo Georgiev
9e52596f2d Merge keystone/android12-5.10-keystone-qcom-release.39+ (9782146) into msm-5.10
* refs/heads/tmp-9782146:
  FROMGIT: usb: typec: tcpm: Respond Not_Supported if no snk_vdo
  FROMGIT: usb: typec: tcpm: Properly interrupt VDM AMS
  FROMGIT: usb: typec: tcpm: Use LE to CPU conversion when accessing msg->header
  UPSTREAM: swiotlb: Fix the type of index
  ANDROID: Don't add image to all target with KBUILD_MIXED_TREE
  Linux 5.10.39
  scripts: switch explicitly to Python 3
  tweewide: Fix most Shebang lines
  ipv6: remove extra dev_hold() for fallback tunnels
  ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
  sit: proper dev_{hold|put} in ndo_[un]init methods
  ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
  net: stmmac: Do not enable RX FIFO overflow interrupts
  lib: stackdepot: turn depot_lock spinlock to raw_spinlock
  block: reexpand iov_iter after read/write
  ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
  net:CXGB4: fix leak if sk_buff is not used
  gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
  drm/amd/display: Fix two cursor duplication when using overlay
  nvmet: remove unsupported command noise
  net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info
  bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
  amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID
  scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
  ceph: don't allow access to MDS-private inodes
  ceph: don't clobber i_snap_caps on non-I_NEW inode
  ceph: fix fscache invalidation
  scsi: lpfc: Fix illegal memory access on Abort IOCBs
  riscv: Workaround mcount name prior to clang-13
  scripts/recordmcount.pl: Fix RISC-V regex for clang
  riscv: Use $(LD) instead of $(CC) to link vDSO
  platform/chrome: cros_ec_typec: Add DP mode check
  ARM: 9075/1: kernel: Fix interrupted SMC calls
  um: Disable CONFIG_GCOV with MODULES
  um: Mark all kernel symbols as local
  NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid
  Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
  Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
  PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert()
  ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
  ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
  dmaengine: dw-edma: Fix crash on loading/unloading driver
  PCI: thunder: Fix compile testing
  virtio_net: Do not pull payload in skb->head
  isdn: capi: fix mismatched prototypes
  cxgb4: Fix the -Wmisleading-indentation warning
  usb: sl811-hcd: improve misleading indentation
  kgdb: fix gcc-11 warning on indentation
  airo: work around stack usage warning
  drm/i915/display: fix compiler warning about array overrun
  x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
  ANDROID: I3C: Enable I3C core framework
  ANDROID: GKI: Update abi_gki_aarch64_qcom for hung task detect
  ANDROID: GKI: 5/21 KMI update
  FROMGIT: blk-mq: clearing flush request reference in tags->rqs[]
  FROMGIT: blk-mq: clear stale request in tags->rq[] before freeing one request pool
  FROMGIT: blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
  Revert "ANDROID: GKI: Enable CONFIG_KUNIT"
  BACKPORT: block: Remove queue_limits.bio_max_bytes
  FROMGIT: kasan: use dump_stack_lvl(KERN_ERR) to print stacks
  FROMGIT: fix for "printk: introduce dump_stack_lvl()"
  FROMGIT: printk: introduce dump_stack_lvl()
  UPSTREAM: arm64: mte: Remove unused mte_assign_mem_tag_range()
  UPSTREAM: arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere
  ANDROID: vendor_hooks: add hooks for slab memory leak debugging
  Revert "Revert "ANDROID: GKI: Change UCLAMP_BUCKETS_COUNT to 20""
  ANDROID: GKI: Disable CONFIG_ZONE_DMA on arm64
  ANDROID: abi_gki_aarch64_qcom: Add *gic_v3_set_affinity trace syms
  ANDROID: mmc: Add vendor hooks
  ANDROID: gic-v3: Change GIC v3 vendor hook to restricted
  ANDROID: GKI: enable hidden configs for DMA
  ANDROID: GKI: remove kernel_read from abi symbol list
  Revert "Revert "mmc: block: Issue a cache flush only when it's enabled""
  Revert "ANDROID: GKI: restore a part of "struct mmc_host""
  Revert "Revert "media: v4l2-ctrls: fix reference to freed memory""
  Revert "Revert "sched,fair: Alternative sched_slice()""
  FROMGIT: usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work
  FROMGIT: usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
  Revert "Revert "nvme-pci: set min_align_mask""
  Revert "Revert "swiotlb: respect min_align_mask""
  Revert "Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single""
  Revert "Revert "swiotlb: refactor swiotlb_tbl_map_single""
  Revert "Revert "swiotlb: clean up swiotlb_tbl_unmap_single""
  Revert "Revert "swiotlb: factor out a nr_slots helper""
  Revert "Revert "swiotlb: factor out an io_tlb_offset helper""
  Revert "Revert "swiotlb: add a IO_TLB_SIZE define""
  Revert "Revert "driver core: add a min_align_mask field to struct device_dma_parameters""
  Revert "Revert "capabilities: require CAP_SETFCAP to map uid 0""
  Revert "ANDROID: usb: typec: ucsi: Ensure bounds check when accessing src_pdos"
  ANDROID: Fix compilation error with huge_pmd_share()
  UPSTREAM: mm: memblock: add more debug logs
  UPSTREAM: mm: memblock: drop __init from memblock functions to make it inline
  ANDROID: modpost: Check for KBUILD_MIXED_TREE for Modules.symvers
  ANDROID: hung_task: Add vendor hook for hung task detect
  ANDROID: vendor_hooks: add hook to balance_dirty_pages()
  ANDROID: vendor_hooks: Add hooks for reducing virtual address fragmentation
  ANDROID: abi_gki_aarch64_qcom: Add aes_encrypt/aes_expandkey
  ANDROID: iommu: Add vendor hook for iova allocation and free tracking
  ANDROID: iommu/io-pgtable-arm: Fix unmapping loop in __arm_lpae_unmap()
  ANDROID: kernel: Fix debug_kinfo warning message
  Revert "mm: fix struct page layout on 32-bit systems"
  Revert "usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4"
  Revert "kyber: fix out of bounds access when preempted"
  Revert "PM: runtime: Fix unpaired parent child_count for force_resume"
  Revert "clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940"
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: Update the ABI xml
  ANDROID: Update the generic symbol list
  ANDROID: Update the generic symbol list
  ANDROID: Update the generic symbol list
  ANDROID: abi_gki_aarch64_qcom: Add missing symbols for i3c
  ANDROID: dm-user: Drop additional reference
  FROMGIT: scsi: ufs: ufs-mediatek: Fix power down spec violation
  UPSTREAM: scsi: ufs-mediatek: Support option to disable auto-hibern8
  UPSTREAM: scsi: ufs-mediatek: Decouple features from platform bindings
  BACKPORT: scsi: ufs-mediatek: Support VA09 regulator operations
  UPSTREAM: scsi: ufs: Add retry flow for failed HBA enabling
  Linux 5.10.38
  ASoC: rsnd: check all BUSIF status when error
  nvme: do not try to reconfigure APST when the controller is not live
  ext4: fix debug format string warning
  debugfs: Make debugfs_allow RO after init
  dt-bindings: serial: 8250: Remove duplicated compatible strings
  dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
  i2c: mediatek: Fix send master code at more than 1MHz
  media: rkvdec: Remove of_match_ptr()
  clk: exynos7: Mark aclk_fsys1_200 as critical
  drm/i915: Fix crash in auto_retire
  drm/i915/overlay: Fix active retire callback alignment
  drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
  drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
  kobject_uevent: remove warning in init_uevent_argv()
  usb: typec: tcpm: Fix error while calculating PPS out values
  ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
  ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
  ARM: 9012/1: move device tree mapping out of linear region
  ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
  clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
  clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
  MIPS: Avoid handcoded DIVU in `__div64_32' altogether
  MIPS: Avoid DIVU in `__div64_32' is result would be zero
  MIPS: Reinstate platform `__div64_32' handler
  mm: fix struct page layout on 32-bit systems
  iommu/vt-d: Remove WO permissions on second-level paging entries
  iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
  Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
  Revert "iommu/vt-d: Remove WO permissions on second-level paging entries"
  KVM: VMX: Disable preemption when probing user return MSRs
  KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
  KVM: nVMX: Always make an attempt to map eVMCS after migration
  KVM: x86: Move RDPID emulation intercept to its own enum
  KVM: x86: Emulate RDPID only if RDTSCP is supported
  xen/gntdev: fix gntdev_mmap() error exit path
  cdc-wdm: untangle a circular dependency between callback and softint
  iio: tsl2583: Fix division by a zero lux_val
  iio: gyro: mpu3050: Fix reported temperature value
  xhci: Add reset resume quirk for AMD xhci controller.
  xhci: Do not use GFP_KERNEL in (potentially) atomic context
  xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
  usb: typec: ucsi: Put fwnode in any case during ->probe()
  usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
  usb: dwc3: gadget: Return success always for kick transfer in ep queue
  usb: dwc3: gadget: Enable suspend events
  usb: core: hub: fix race condition about TRSMRCY of resume
  usb: dwc2: Fix gadget DMA unmap direction
  usb: xhci: Increase timeout for HC halt
  usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
  usb: dwc3: omap: improve extcon initialization
  blk-mq: Swap two calls in blk_mq_exit_queue()
  blk-mq: plug request for shared sbitmap
  nbd: Fix NULL pointer in flush_workqueue
  f2fs: compress: fix to assign cc.cluster_idx correctly
  f2fs: compress: fix race condition of overwrite vs truncate
  f2fs: compress: fix to free compress page correctly
  nvmet-rdma: Fix NULL deref when SEND is completed with error
  nvmet: fix inline bio check for bdev-ns
  nvmet: add lba to sect conversion helpers
  kyber: fix out of bounds access when preempted
  ACPI: scan: Fix a memory leak in an error handling path
  usb: musb: Fix an error message
  hwmon: (occ) Fix poll rate limiting
  usb: fotg210-hcd: Fix an error message
  iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
  iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
  iio: light: gp2ap002: Fix rumtime PM imbalance on error
  usb: dwc3: gadget: Free gadget structure only after freeing endpoints
  perf tools: Fix dynamic libbpf link
  xen/unpopulated-alloc: fix error return code in fill_list()
  xen/unpopulated-alloc: consolidate pgmap manipulation
  dax: Wake up all waiters after invalidating dax entry
  dax: Add a wakeup mode parameter to put_unlocked_entry()
  dax: Add an enum for specifying dax wakup mode
  KVM: x86: Prevent deadlock against tk_core.seq
  KVM: x86: Cancel pvclock_gtod_work on module removal
  drm/msm/dp: initialize audio_comp when audio starts
  KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer
  kvm: exit halt polling on need_resched() as well
  drm/i915: Avoid div-by-zero on gen2
  drm/amd/display: Initialize attribute for hdcp_srm sysfs file
  drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
  btrfs: fix race leading to unpersisted data and metadata on fsync
  arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
  arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
  blk-iocost: fix weight updates of inner active iocgs
  mm/hugetlb: fix F_SEAL_FUTURE_WRITE
  kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
  userfaultfd: release page in error path to avoid BUG_ON
  squashfs: fix divide error in calculate_skip()
  hfsplus: prevent corruption in shrinking truncate
  powerpc/64s: Fix crashes when toggling entry flush barrier
  powerpc/64s: Fix crashes when toggling stf barrier
  ARC: mm: Use max_high_pfn as a HIGHMEM zone border
  ARC: mm: PAE: use 40-bit physical page mask
  ARC: entry: fix off-by-one error in syscall number validation
  f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
  mptcp: fix splat when closing unaccepted socket
  i40e: Fix PHY type identifiers for 2.5G and 5G adapters
  i40e: fix the restart auto-negotiation after FEC modified
  i40e: Fix use-after-free in i40e_client_subtask()
  i40e: fix broken XDP support
  netfilter: nftables: avoid overflows in nft_hash_buckets()
  kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources
  kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources
  kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
  fs/proc/generic.c: fix incorrect pde_is_permanent check
  sched/fair: Fix unfairness caused by missing load decay
  sched: Fix out-of-bound access in uclamp
  can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
  can: mcp251x: fix resume from sleep before interface was brought up
  can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
  netfilter: nftables: Fix a memleak from userdata error path in new objects
  netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
  smc: disallow TCP_ULP in smc_setsockopt()
  net: fix nla_strcmp to handle more then one trailing null character
  ethtool: fix missing NLM_F_MULTI flag when dumping
  mm/gup: check for isolation errors
  mm/gup: return an error on migration failure
  mm/gup: check every subpage of a compound page during isolation
  ksm: fix potential missing rmap_item for stable_node
  mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
  mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
  khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
  arm64: entry: always set GIC_PRIO_PSR_I_SET during entry
  arm64: entry: factor irq triage logic into macros
  drm/radeon: Avoid power table parsing memory leaks
  drm/radeon: Fix off-by-one power_state index heap overwrite
  net: stmmac: Clear receive all(RA) bit when promiscuous mode is off
  xsk: Fix for xp_aligned_validate_desc() when len == chunk_size
  netfilter: xt_SECMARK: add new revision to fix structure layout
  sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
  ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
  block/rnbd-clt: Check the return value of the function rtrs_clt_query
  block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
  libbpf: Fix signed overflow in ringbuf_process_ring
  sunrpc: Fix misplaced barrier in call_decode
  RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
  sctp: do asoc update earlier in sctp_sf_do_dupcook_a
  net: hns3: disable phy loopback setting in hclge_mac_start_phy
  net: hns3: use netif_tx_disable to stop the transmit queue
  net: hns3: fix for vxlan gpe tx checksum bug
  net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
  net: hns3: initialize the message content in hclge_get_link_mode()
  net: hns3: fix incorrect configuration for igu_egu_hw_err
  rtc: ds1307: Fix wday settings for rx8130
  scsi: ufs: core: Narrow down fast path in system suspend path
  scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
  scsi: ufs: core: Do not put UFS power into LPM if link is broken
  scsi: qla2xxx: Prevent PRLI in target mode
  ceph: fix inode leak on getattr error in __fh_to_dentry
  swiotlb: Fix the type of index
  xprtrdma: rpcrdma_mr_pop() already does list_del_init()
  xprtrdma: Fix cwnd update ordering
  xprtrdma: Avoid Receive Queue wrapping
  pwm: atmel: Fix duty cycle calculation in .get_state()
  SUNRPC: fix ternary sign expansion bug in tracing
  dmaengine: idxd: fix cdev setup and free device lifetime issues
  dmaengine: idxd: fix dma device lifetime
  dmaengine: idxd: Fix potential null dereference on pointer status
  rtc: fsl-ftm-alarm: add MODULE_TABLE()
  nfsd: ensure new clients break delegations
  NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting
  thermal/drivers/tsens: Fix missing put_device error
  SUNRPC: Handle major timeout in xprt_adjust_timeout()
  SUNRPC: Remove trace_xprt_transmit_queued
  SUNRPC: Move fault injection call sites
  NFSv4.2 fix handling of sr_eof in SEEK's reply
  pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
  PCI: endpoint: Fix missing destroy_workqueue()
  NFS: Deal correctly with attribute generation counter overflow
  NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
  NFS: Fix attribute bitmask in _nfs42_proc_fallocate()
  NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
  rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
  f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
  f2fs: Fix a hungtask problem in atomic write
  f2fs: fix to cover __allocate_new_section() with curseg_lock
  f2fs: fix to avoid touching checkpointed data in get_victim()
  PCI: endpoint: Fix NULL pointer dereference for ->get_features()
  PCI: endpoint: Make *_free_bar() to return error codes on failure
  PCI: endpoint: Add helper API to get the 'next' unreserved BAR
  PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
  f2fs: fix to update last i_size if fallocate partially succeeds
  f2fs: fix to align to section for fallocate() on pinned file
  ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
  PCI: Release OF node in pci_scan_device()'s error path
  PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
  remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
  remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
  f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
  f2fs: fix panic during f2fs_resize_fs()
  f2fs: fix to allow migrating fully valid segment
  f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
  f2fs: move ioctl interface definitions to separated file
  thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
  ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
  watchdog: fix barriers when printing backtraces from all CPUs
  watchdog/softlockup: remove logic that tried to prevent repeated reports
  watchdog: explicitly update timestamp when reporting softlockup
  watchdog: rename __touch_watchdog() to a better descriptive name
  ia64: module: fix symbolizer crash on fdescr
  bnxt_en: Add PCI IDs for Hyper-V VF devices.
  kbuild: generate Module.symvers only when vmlinux exists
  selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
  selftests: mlxsw: Increase the tolerance of backlog buildup
  net: ethernet: mtk_eth_soc: fix RX VLAN offload
  iavf: remove duplicate free resources calls
  powerpc/iommu: Annotate nested lock for lockdep
  qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
  wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
  wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
  crypto: ccp: Free SEV device if SEV init fails
  mt76: mt7615: fix entering driver-own state on mt7663
  drm/amdgpu: Add mem sync flag for IB allocated by SA
  drm/amd/display: add handling for hdcp2 rx id list validation
  drm/amd/display: fixed divide by zero kernel crash during dsc enablement
  powerpc/pseries: Stop calling printk in rtas_stop_self()
  samples/bpf: Fix broken tracex1 due to kprobe argument change
  net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
  ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
  ASoC: rt286: Generalize support for ALC3263 codec
  powerpc/smp: Set numa node before updating mask
  flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
  sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
  ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
  ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
  ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740
  kconfig: nconf: stop endless search loops
  selftests: Set CC to clang in lib.mk if LLVM is set
  drm/amd/display: Force vsync flip when reconfiguring MPCC
  iommu/amd: Remove performance counter pre-initialization test
  Revert "iommu/amd: Fix performance counter initialization"
  ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
  powerpc/mm: Add cond_resched() while removing hpte mappings
  iwlwifi: pcie: make cfg vs. trans_cfg more robust
  cuse: prevent clone
  virtiofs: fix userns
  fuse: invalidate attrs when page writeback completes
  mt76: mt7915: fix txpower init for TSSI off chips
  mt76: mt76x0: disable GTK offloading
  mt76: mt7615: support loading EEPROM for MT7613BE
  rtw88: 8822c: add LC calibration for RTL8822C
  pinctrl: samsung: use 'int' for register masks in Exynos
  mac80211: clear the beacon's CRC after channel switch
  IB/hfi1: Correct oversized ring allocation
  coresight: Do not scan for graph if none is present
  MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED
  i2c: Add I2C_AQ_NO_REP_START adapter quirk
  ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055
  Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip.
  ice: handle increasing Tx or Rx ring sizes
  ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
  ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
  net: hns3: add handling for xmit skb with recursive fraglist
  net: hns3: remediate a potential overflow risk of bd_num_list
  powerpc/32: Statically initialise first emergency context
  selftests/powerpc: Fix L1D flushing tests for Power10
  Bluetooth: check for zapped sk before connecting
  net: bridge: when suppression is enabled exclude RARP packets
  net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports
  Bluetooth: initialize skb_queue_head at l2cap_chan_create()
  Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
  ALSA: bebob: enable to deliver MIDI messages for multiple ports
  ALSA: rme9652: don't disable if not enabled
  ALSA: hdspm: don't disable if not enabled
  ALSA: hdsp: don't disable if not enabled
  i2c: bail out early when RDWR parameters are wrong
  Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
  ASoC: rsnd: core: Check convert rate in rsnd_hw_params
  net: stmmac: Set FIFO sizes for ipq806x
  net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
  ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
  tipc: convert dest node's address to network order
  fs: dlm: flush swork on shutdown
  fs: dlm: check on minimum msglen size
  fs: dlm: add errno handling to check callback
  fs: dlm: fix debugfs dump
  ath11k: fix thermal temperature read
  kvm: Cap halt polling at kvm->max_halt_poll_ns
  cpufreq: intel_pstate: Use HWP if enabled by platform firmware
  PM: runtime: Fix unpaired parent child_count for force_resume
  ACPI: PM: Add ACPI ID of Alder Lake Fan
  KVM/VMX: Invoke NMI non-IST entry instead of IST entry
  KVM: x86/mmu: Remove the defunct update_pte() paging hook
  tpm, tpm_tis: Reserve locality in tpm_tis_resume()
  tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
  tpm: fix error return code in tpm2_get_cc_attrs_tbl()
  KEYS: trusted: Fix memory leak on object td
  UPSTREAM: module: unexport find_module and module_mutex
  FROMLIST: scsi: ufs: Increase the usable queue depth
  ANDROID: abi_gki_aarch64_qcom: Add vmemdup_user
  ANDROID: cgroup: add vendor hook to cgroup .attach()
  ANDROID: gki_defconfig: Enable HID_BETOP_FF JOYSTICK_XPAD_FF and JOYSTICK_XPAD_LEDS
  ANDROID: abi_gki_aarch64_qcom: Add devm_rproc_* APIs
  ANDROID: Incremental fs: Add uid to INCFS_IOC_GET_LAST_READ_ERROR
  ANDROID: Incremental fs: Make sysfs_name changeable on remount
  ANDROID: Incremental fs: Count pending_reads even when very short
  ANDROID: sched/fair: export sysctl_sched_min_granularity symbol
  ANDROID: Fix compat hwcap reporting on asymmetric 32-bit SoCs
  Revert "ANDROID: usb: dwc3: gadget: don't cancel the started requests"
  BACKPORT: sched/uclamp: Allow to reset a task uclamp constraint value
  ANDROID: GKI: restore termiox fields
  Revert "spi: Fix use-after-free with devm_spi_alloc_*"
  FROMGIT: block: avoid double io accounting for flush request
  UPSTREAM: kasan: fix kasan_byte_accessible() to be consistent with actual checks
  FROMLIST: blk-mq: Swap two calls in blk_mq_exit_queue()
  ANDROID: FUSE OWNERS pointing to android-mainline OWNERS
  Linux 5.10.37
  sctp: delay auto_asconf init until binding the first addr
  Revert "net/sctp: fix race condition in sctp_destroy_sock"
  smp: Fix smp_call_function_single_async prototype
  net: Only allow init netns to set default tcp cong to a restricted algo
  arm64: Remove arm64_dma32_phys_limit and its uses
  bpf: Prevent writable memory-mapping of read-only ringbuf pages
  bpf, ringbuf: Deny reserve of buffers larger than ringbuf
  bpf: Fix alu32 const subreg bound tracking on bitwise operations
  afs: Fix speculative status fetches
  mm/memory-failure: unnecessary amount of unmapping
  mm/sparse: add the missing sparse_buffer_fini() in error branch
  mm: memcontrol: slab: fix obtain a reference to a freeing memcg
  mm/sl?b.c: remove ctor argument from kmem_cache_flags
  kfifo: fix ternary sign extension bugs
  ia64: fix EFI_DEBUG build
  perf session: Add swap operation for event TIME_CONV
  perf jit: Let convert_timestamp() to be backwards-compatible
  perf tools: Change fields type in perf_record_time_conv
  net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
  net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
  RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
  RDMA/siw: Fix a use after free in siw_alloc_mr
  bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds
  selftests/bpf: Fix core_reloc test runner
  selftests/bpf: Fix field existence CO-RE reloc tests
  selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
  net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
  KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM
  bnxt_en: Fix RX consumer index logic in the error path.
  selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
  selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
  net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
  arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
  ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
  bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
  net: enetc: fix link error again
  net: phy: marvell: fix m88e1111_set_downshift
  net: phy: marvell: fix m88e1011_set_downshift
  powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
  powerpc/perf: Fix the threshold event selection for memory events in power10
  wlcore: Fix buffer overrun by snprintf due to incorrect buffer size
  ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
  ath10k: Fix a use after free in ath10k_htc_send_bundle
  ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
  powerpc/64: Fix the definition of the fixmap area
  RDMA/core: Add CM to restrack after successful attachment to a device
  RDMA/rxe: Fix a bug in rxe_fill_ip_info()
  net: phy: intel-xway: enable integrated led functions
  net: renesas: ravb: Fix a stuck issue when a lot of frames are received
  net: stmmac: fix TSO and TBS feature enabling during driver open
  nfp: devlink: initialize the devlink port attribute "lanes"
  crypto: ccp: Detect and reject "invalid" addresses destined for PSP
  mt76: mt7615: fix memleak when mt7615_unregister_device()
  net: davinci_emac: Fix incorrect masking of tx and rx error channel
  net: marvell: prestera: fix port event handling on init
  vsock/virtio: free queued packets when closing socket
  sfc: ef10: fix TX queue lookup in TX event handling
  ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
  RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
  RDMA/cxgb4: add missing qpid increment
  gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
  net: ethernet: ixp4xx: Set the DMA masks explicitly
  libbpf: Initialize the bpf_seq_printf parameters array field by field
  vsock/vmci: log once the failed queue pair allocation
  netfilter: nftables_offload: special ethertype handling for VLAN
  netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
  netfilter: nft_payload: fix C-VLAN offload support
  mwl8k: Fix a double Free in mwl8k_probe_hw
  i2c: mediatek: Fix wrong dma sync flag
  i2c: sh7760: fix IRQ error path
  wlcore: fix overlapping snprintf arguments in debugfs
  rtlwifi: 8821ae: upgrade PHY and RF parameters
  KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
  powerpc/smp: Reintroduce cpu_core_mask
  powerpc/pseries: extract host bridge from pci_bus prior to bus removal
  MIPS: pci-legacy: stop using of_pci_range_to_resource
  drm/amd/pm: fix error code in smu_set_power_limit()
  perf beauty: Fix fsconfig generator
  iommu/amd: Put newline after closing bracket in warning
  drm/i915/gvt: Fix error code in intel_gvt_init_device()
  net/packet: remove data races in fanout operations
  net/packet: make packet_fanout.arr size configurable up to 64K
  net/mlx5: Fix bit-wise and with zero
  ASoC: ak5558: correct reset polarity
  powerpc/xive: Fix xmon command "dxi"
  powerpc/xive: Drop check on irq_data in xive_core_debug_show()
  i2c: sh7760: add IRQ check
  i2c: rcar: add IRQ check
  i2c: rcar: protect against supurious interrupts on V3U
  i2c: rcar: make sure irq is not threaded on Gen2 and earlier
  i2c: mlxbf: add IRQ check
  i2c: jz4780: add IRQ check
  i2c: emev2: add IRQ check
  i2c: cadence: add IRQ check
  i2c: xiic: fix reference leak when pm_runtime_get_sync fails
  i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails
  i2c: sprd: fix reference leak when pm_runtime_get_sync fails
  i2c: omap: fix reference leak when pm_runtime_get_sync fails
  i2c: imx: fix reference leak when pm_runtime_get_sync fails
  i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
  i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
  i2c: cadence: fix reference leak when pm_runtime_get_sync fails
  RDMA/rtrs-clt: destroy sysfs after removing session from active list
  RDMA/srpt: Fix error return code in srpt_cm_req_recv()
  net: thunderx: Fix unintentional sign extension issue
  cxgb4: Fix unintentional sign extension issues
  RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal()
  IB/hfi1: Fix error return code in parse_platform_config()
  RDMA/qedr: Fix error return code in qedr_iw_connect()
  ovl: invalidate readdir cache on changes to dir with origin
  KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
  mt76: mt7663s: fix the possible device hang in high traffic
  mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
  mt76: mt7915: fix mib stats counter reporting to mac80211
  mt76: mt7615: fix mib stats counter reporting to mac80211
  mt76: mt7915: fix aggr len debugfs node
  mt76: mt7915: fix tx skb dma unmap
  mt76: mt7615: fix tx skb dma unmap
  mt7601u: fix always true expression
  rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()
  xfs: fix return of uninitialized value in variable error
  perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric
  mac80211: bail out if cipher schemes are invalid
  powerpc: iommu: fix build when neither PCI or IBMVIO is set
  powerpc/perf: Fix PMU constraint check for EBB events
  powerpc/64s: Fix pte update for kernel memory on radix
  IB/hfi1: Use kzalloc() for mmu_rb_handler allocation
  liquidio: Fix unintented sign extension of a left shift of a u16
  ASoC: simple-card: fix possible uninitialized single_cpu local variable
  KVM: arm64: Initialize VCPU mdcr_el2 before loading it
  HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
  HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()
  HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
  HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
  ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
  iommu/vt-d: Invalidate PASID cache when root/context entry changed
  iommu/vt-d: Remove WO permissions on second-level paging entries
  iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
  iommu/vt-d: Report the right page fault address
  iommu/vt-d: Report right snoop capability when using FL for IOVA
  iommu: Fix a boundary issue to avoid performance drop
  iommu/vt-d: Don't set then clear private data in prq_event_thread()
  mips: bmips: fix syscon-reboot nodes
  net: hns3: Limiting the scope of vector_ring_chain variable
  nfc: pn533: prevent potential memory corruption
  RDMA/core: Fix corrupted SL on passive side
  bug: Remove redundant condition check in report_bug
  net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start()
  powerpc/pseries: Only register vio drivers if vio bus exists
  udp: never accept GSO_FRAGLIST packets
  net: phy: lan87xx: fix access to wrong register of LAN87xx
  ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
  gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
  MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again
  powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
  IB/isert: Fix a use after free in isert_connect_request
  RDMA/mlx5: Fix drop packet rule in egress table
  iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
  ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk
  MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
  pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
  pinctrl: pinctrl-single: remove unused parameter
  inet: use bigger hash table for IP ID generation
  ima: Fix the error code for restoring the PCR value
  MIPS: fix local_irq_{disable,enable} in asmmacro.h
  powerpc/prom: Mark identical_pvr_fixup as __init
  powerpc/fadump: Mark fadump_calculate_reserve_size as __init
  libbpf: Add explicit padding to btf_dump_emit_type_decl_opts
  selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed
  iommu/vt-d: Reject unsupported page request modes
  iommu: Check dev->iommu in iommu_dev_xxx functions
  bpftool: Fix maybe-uninitialized warnings
  libbpf: Add explicit padding to bpf_xdp_set_link_opts
  net: lapbether: Prevent racing when checking whether the netif is running
  Bluetooth: avoid deadlock between hci_dev->lock and socket lock
  KVM: x86/mmu: Retry page faults that hit an invalid memslot
  wilc1000: write value to WILC_INTR2_ENABLE register
  RDMA/mlx5: Fix mlx5 rates to IB rates map
  ASoC: Intel: Skylake: Compile when any configuration is selected
  ASoC: Intel: boards: sof-wm8804: add check for PLL setting
  perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
  HID: plantronics: Workaround for double volume key presses
  xsk: Respect device's headroom and tailroom on generic xmit path
  drivers/block/null_blk/main: Fix a double free in null_init.
  sched/debug: Fix cgroup_path[] serialization
  io_uring: fix overflows checks in provide buffers
  perf/amd/uncore: Fix sysfs type mismatch
  x86/events/amd/iommu: Fix sysfs type mismatch
  HSI: core: fix resource leaks in hsi_add_client_from_dt()
  media: cedrus: Fix H265 status definitions
  nvme-pci: don't simple map sgl when sgls are disabled
  nvmet-tcp: fix a segmentation fault during io parsing error
  mfd: stm32-timers: Avoid clearing auto reload register
  mailbox: sprd: Introduce refcnt when clients requests/free channels
  scsi: ibmvfc: Fix invalid state machine BUG_ON()
  scsi: sni_53c710: Add IRQ check
  scsi: sun3x_esp: Add IRQ check
  scsi: jazz_esp: Add IRQ check
  scsi: hisi_sas: Fix IRQ checks
  scsi: ufs: ufshcd-pltfrm: Fix deferred probing
  scsi: pm80xx: Fix potential infinite loop
  scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check()
  clk: uniphier: Fix potential infinite loop
  drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
  drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
  clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
  clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
  drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
  clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable
  clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
  vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
  vfio/pci: Re-order vfio_pci_probe()
  vfio/pci: Move VGA and VF initialization to functions
  vfio/fsl-mc: Re-order vfio_fsl_mc_probe()
  media: v4l2-ctrls.c: fix race condition in hdl->requests list
  media: i2c: imx219: Balance runtime PM use-count
  media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream
  nvme: retrigger ANA log update if group descriptor isn't found
  power: supply: bq25980: Move props from battery node
  clk: imx: Fix reparenting of UARTs not associated with stdout
  nvmet-tcp: fix incorrect locking in state_change sk callback
  nvme-tcp: block BH in sk state_change sk callback
  seccomp: Fix CONFIG tests for Seccomp_filters
  ata: libahci_platform: fix IRQ check
  sata_mv: add IRQ checks
  pata_ipx4xx_cf: fix IRQ check
  pata_arasan_cf: fix IRQ check
  selftests: fix prepending $(OUTPUT) to $(TEST_PROGS)
  x86/kprobes: Fix to check non boostable prefixes correctly
  of: overlay: fix for_each_child.cocci warnings
  drm/amdkfd: fix build error with AMD_IOMMU_V2=m
  media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()
  media: m88rs6000t: avoid potential out-of-bounds reads on arrays
  media: atomisp: Fixed error handling path
  media: [next] staging: media: atomisp: fix memory leak of object flash
  media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30
  media: m88ds3103: fix return value check in m88ds3103_probe()
  media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
  media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
  drm/probe-helper: Check epoch counter in output_poll_execute()
  media: aspeed: fix clock handling logic
  media: rkisp1: rsz: crash fix when setting src format
  media: omap4iss: return error code when omap4iss_get() failed
  media: saa7146: use sg_dma_len when building pgtable
  media: saa7134: use sg_dma_len when building pgtable
  media: vivid: fix assignment of dev->fbuf_out_flags
  rcu: Remove spurious instrumentation_end() in rcu_nmi_enter()
  afs: Fix updating of i_mode due to 3rd party change
  sched/fair: Fix shift-out-of-bounds in load_balance()
  drm/mcde/panel: Inverse misunderstood flag
  drm/amd/display: Fix off by one in hdmi_14_process_transaction()
  drm/stm: Fix bus_flags handling
  drm/tilcdc: send vblank event when disabling crtc
  soc: aspeed: fix a ternary sign expansion bug
  xen-blkback: fix compatibility bug with single page rings
  serial: omap: fix rs485 half-duplex filtering
  serial: omap: don't disable rs485 if rts gpio is missing
  ttyprintk: Add TTY hangup callback.
  usb: dwc2: Fix hibernation between host and device modes.
  usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
  PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check
  Drivers: hv: vmbus: Increase wait time for VMbus unload
  hwmon: (pmbus/pxe1610) don't bail out when not all pages are active
  x86/platform/uv: Fix !KEXEC build failure
  spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails
  spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
  spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
  spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
  Drivers: hv: vmbus: Use after free in __vmbus_open()
  ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
  platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
  security: keys: trusted: fix TPM2 authorizations
  memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
  memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
  spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op()
  m68k: Add missing mmap_read_lock() to sys_cacheflush()
  usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
  crypto: chelsio - Read rxchannel-id from firmware
  node: fix device cleanups in error handling code
  firmware: qcom-scm: Fix QCOM_SCM configuration
  serial: core: return early on unsupported ioctls
  tty: fix return value for unsupported termiox ioctls
  tty: Remove dead termiox code
  tty: fix return value for unsupported ioctls
  tty: actually undefine superseded ASYNC flags
  USB: cdc-acm: fix TIOCGSERIAL implementation
  USB: cdc-acm: fix unprivileged TIOCCSERIAL
  usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
  spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
  spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op
  spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality
  spi: spi-zynqmp-gqspi: add mutex locking for exec_op
  spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible
  cpufreq: armada-37xx: Fix determining base CPU frequency
  cpufreq: armada-37xx: Fix driver cleanup when registration failed
  clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
  clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
  cpufreq: armada-37xx: Fix the AVS value for load L1
  clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
  cpufreq: armada-37xx: Fix setting TBG parent for load levels
  crypto: qat - Fix a double free in adf_create_ring
  crypto: sa2ul - Fix memory leak of rxd
  crypto: sun8i-ss - Fix memory leak of pad
  crypto: allwinner - add missing CRYPTO_ prefix
  ACPI: CPPC: Replace cppc_attr with kobj_attribute
  cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
  PM: runtime: Replace inline function pm_runtime_callbacks_present()
  soc: qcom: mdt_loader: Detect truncated read of segments
  soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
  spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
  spi: Fix use-after-free with devm_spi_alloc_*
  clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
  clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
  clocksource/drivers/timer-ti-dm: Fix posted mode status check order
  PM / devfreq: Use more accurate returned new_freq as resume_freq
  soc: qcom: pdr: Fix error return code in pdr_register_listener
  staging: greybus: uart: fix unprivileged TIOCCSERIAL
  staging: fwserial: fix TIOCGSERIAL implementation
  staging: fwserial: fix TIOCSSERIAL implementation
  staging: rtl8192u: Fix potential infinite loop
  staging: comedi: tests: ni_routes_test: Fix compilation error
  irqchip/gic-v3: Fix OF_BAD_ADDR error handling
  mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
  iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol
  firmware: qcom_scm: Workaround lack of "is available" call on SC7180
  firmware: qcom_scm: Reduce locking section for __get_convention()
  firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
  m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
  soundwire: stream: fix memory leak in stream config error path
  memory: pl353: fix mask of ECC page_size config register
  driver core: platform: Declare early_platform_cleanup() prototype
  drivers: nvmem: Fix voltage settings for QTI qfprom-efuse
  USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
  usb: gadget: aspeed: fix dma map failure
  crypto: qat - fix error path in adf_isr_resource_alloc()
  crypto: poly1305 - fix poly1305_core_setkey() declaration
  NFSv4.2: fix copy stateid copying for the async copy
  NFSD: Fix sparse warning in nfs4proc.c
  arm64: dts: mediatek: fix reset GPIO level on pumpkin
  phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
  phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup
  soundwire: bus: Fix device found flag correctly
  bus: qcom: Put child node before return
  arm64: dts: renesas: r8a779a0: Fix PMU interrupt
  mtd: require write permissions for locking and badblock ioctls
  dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
  usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'
  usb: gadget: s3c: Fix incorrect resources releasing
  fotg210-udc: Complete OUT requests on short packets
  fotg210-udc: Don't DMA more than the buffer can take
  fotg210-udc: Mask GRP2 interrupts we don't handle
  fotg210-udc: Remove a dubious condition leading to fotg210_done
  fotg210-udc: Fix EP0 IN requests bigger than two packets
  fotg210-udc: Fix DMA on EP0 for length > max packet size
  crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
  crypto: qat - don't release uninitialized resources
  crypto: ccp - fix command queuing to TEE ring buffer
  usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
  usb: gadget: pch_udc: Initialize device pointer before use
  usb: gadget: pch_udc: Check for DMA mapping error
  usb: gadget: pch_udc: Check if driver is present before calling ->setup()
  usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
  devtmpfs: fix placement of complete() call
  x86/microcode: Check for offline CPUs before requesting new microcode
  spi: stm32: Fix use-after-free on unbind
  arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
  regulator: bd9576: Fix return from bd957x_probe()
  spi: stm32: drop devres version of spi_register_master
  crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
  arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x
  arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges'
  arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
  arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'
  arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer
  arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity
  ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control
  mtd: maps: fix error return code of physmap_flash_remove()
  mtd: don't lock when recursively deleting partitions
  mtd: rawnand: qcom: Return actual error code instead of -ENODEV
  mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
  mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
  mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
  spi: rockchip: avoid objtool warning
  regmap: set debugfs_name to NULL after it is freed
  usb: typec: stusb160x: fix return value check in stusb160x_probe()
  usb: typec: tps6598x: Fix return value check in tps6598x_probe()
  usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
  serial: stm32: fix tx_empty condition
  serial: stm32: add FIFO flush when port is closed
  serial: stm32: fix FIFO flush in startup and set_termios
  serial: stm32: call stm32_transmit_chars locked
  serial: stm32: fix tx dma completion, release channel
  serial: stm32: fix a deadlock in set_termios
  serial: stm32: fix wake-up flag handling
  serial: stm32: fix a deadlock condition with wakeup event
  serial: stm32: fix TX and RX FIFO thresholds
  serial: stm32: fix incorrect characters on console
  serial: stm32: fix startup by enabling usart for reception
  serial: stm32: Use of_device_get_match_data()
  serial: stm32: fix probe and remove order for dma
  serial: stm32: add "_usart" prefix in functions name
  serial: stm32: fix code cleaning warnings and checks
  x86/platform/uv: Set section block size for hubless architectures
  arm64: dts: renesas: Add mmc aliases into board dts files
  ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files
  ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
  ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
  ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
  ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
  ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
  ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
  ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
  ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
  memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
  crypto: sun8i-ss - fix result memory leak on error path
  fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
  firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
  firmware: xilinx: Add a blank line after function declaration
  firmware: xilinx: Fix dereferencing freed memory
  Revert "tools/power turbostat: adjust for temperature offset"
  usb: gadget: pch_udc: Revert d3cb25a121 completely
  Revert "drm/qxl: do not run release if qxl failed to init"
  ovl: fix missing revert_creds() on error path
  Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
  Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
  KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
  KVM: arm64: Fully zero the vcpu state on reset
  KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
  KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
  KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
  KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
  KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
  KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
  KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
  KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
  KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
  KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
  KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
  KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
  KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
  KVM: s390: split kvm_s390_real_to_abs
  KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
  s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
  KVM: s390: fix guarded storage control register handling
  KVM: s390: split kvm_s390_logical_to_effective
  KVM: s390: VSIE: correctly handle MVPG when in VSIE
  ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
  ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
  ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
  ALSA: hda/realtek: Re-order ALC662 quirk table entries
  ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
  ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
  ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
  ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
  ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
  ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
  ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
  ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
  ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
  ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
  drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
  drm/amd/display: Reject non-zero src_y and src_x for video planes
  drm: bridge/panel: Cleanup connector on bridge detach
  drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
  drm/dp_mst: Revise broadcast msg lct & lcr
  drm/radeon: fix copy of uninitialized variable back to userspace
  drm/panfrost: Don't try to map pages that are already mapped
  drm/panfrost: Clear MMU irqs before handling the fault
  drm/qxl: use ttm bo priorities
  drm/i915/gvt: Fix vfio_edid issue for BXT/APL
  drm/i915/gvt: Fix virtual display setup for BXT/APL
  FDDI: defxx: Make MMIO the configuration default except for EISA
  mt76: fix potential DMA mapping leak
  rtw88: Fix array overrun in rtw_get_tx_power_params()
  cfg80211: scan: drop entry from hidden_list on overflow
  ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
  mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
  md: Fix missing unused status line of /proc/mdstat
  md: md_open returns -EBUSY when entering racing area
  md: factor out a mddev_find_locked helper from mddev_find
  md: split mddev_find
  md-cluster: fix use-after-free issue when removing rdev
  md/bitmap: wait for external bitmap writes to complete during tear down
  async_xor: increase src_offs when dropping destination page
  x86, sched: Treat Intel SNC topology as default, COD as exception
  selinux: add proper NULL termination to the secclass_map permissions
  misc: vmw_vmci: explicitly initialize vmci_datagram payload
  misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
  phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
  misc: lis3lv02d: Fix false-positive WARN on various HP models
  phy: cadence: Sierra: Fix PHY power_on sequence
  sc16is7xx: Defer probe if device read fails
  iio:adc:ad7476: Fix remove handling
  iio:accel:adis16201: Fix wrong axis assignment that prevents loading
  iio: inv_mpu6050: Fully validate gyro and accel scale writes
  soc/tegra: regulators: Fix locking up when voltage-spread is out of range
  PM / devfreq: Unlock mutex and free devfreq struct in error path
  PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
  PCI: xgene: Fix cfg resource mapping
  KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
  PCI: Allow VPD access for QLogic ISP2722
  FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
  MIPS: pci-rt2880: fix slot 0 configuration
  MIPS: pci-mt7620: fix PLL lock check
  ASoC: tlv320aic32x4: Increase maximum register in regmap
  ASoC: tlv320aic32x4: Register clocks before registering component
  ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
  ASoC: samsung: tm2_wm5110: check of of_parse return value
  usb: xhci-mtk: improve bandwidth scheduling with TT
  usb: xhci-mtk: remove or operator for setting schedule parameters
  usb: typec: tcpm: update power supply once partner accepts
  usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
  usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
  drm: bridge: fix LONTIUM use of mipi_dsi_() functions
  staging: fwserial: fix TIOCSSERIAL permission check
  tty: moxa: fix TIOCSSERIAL permission check
  staging: fwserial: fix TIOCSSERIAL jiffies conversions
  USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
  staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
  USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
  tty: amiserial: fix TIOCSSERIAL permission check
  tty: moxa: fix TIOCSSERIAL jiffies conversions
  usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
  Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
  io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
  net/nfc: fix use-after-free llcp_sock_bind/connect
  bluetooth: eliminate the potential race condition when removing the HCI controller
  Bluetooth: verify AMP hci_chan before amp_destroy
  BACKPORT: scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
  Revert "xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume"
  ANDROID: vendor_hooks: Add hooks to dup_task_struct
  ANDROID: arm64: enable compat vdso
  UPSTREAM: arm64: vdso32: drop -no-integrated-as flag
  BACKPORT: scsi: ufs-mediatek: Add HS-G4 support
  UPSTREAM: scsi: ufs: Add enums for UniPro version higher than 1.6
  FROMGIT: usb: typec: tcpm: Fix SINK_DISCOVERY current limit for Rp-default
  FROMGIT: xhci: Do not use GFP_KERNEL in (potentially) atomic context
  FROMGIT: xhci: Fix giving back cancelled URBs even if halted endpoint can't reset
  ANDROID: usb: gadget: f_accessory: update SS/SSP descriptors
  Revert "sched,fair: Alternative sched_slice()"
  Revert "media: v4l2-ctrls: fix reference to freed memory"
  ANDROID: GKI: restore a part of "struct mmc_host"
  Revert "mmc: block: Issue a cache flush only when it's enabled"
  ANDROID: iommu/io-pgtable-arm: Free underlying page tables for large mappings
  Revert "UPSTREAM: usb: gadget: f_uac2: validate input parameters"
  ANDROID: vendor_hooks: Add hooks for account irqtime process tick
  BACKPORT: arm64: fpsimd: run kernel mode NEON with softirqs disabled
  UPSTREAM: arm64: assembler: introduce wxN aliases for wN registers
  BACKPORT: arm64: assembler: remove conditional NEON yield macros
  UPSTREAM: fsverity: relax build time dependency on CRYPTO_SHA256
  UPSTREAM: fscrypt: relax Kconfig dependencies for crypto API algorithms
  UPSTREAM: crypto: arm64/gcm - move authentication tag check to SIMD domain
  UPSTREAM: crypto: arm64/crc-t10dif - move NEON yield to C code
  UPSTREAM: crypto: arm64/aes-ce-mac - simplify NEON yield
  UPSTREAM: crypto: arm64/aes-neonbs - remove NEON yield calls
  UPSTREAM: crypto: arm64/sha512-ce - simplify NEON yield
  UPSTREAM: crypto: arm64/sha3-ce - simplify NEON yield
  UPSTREAM: crypto: arm64/sha2-ce - simplify NEON yield
  UPSTREAM: crypto: arm64/sha1-ce - simplify NEON yield
  UPSTREAM: arm64: assembler: add cond_yield macro
  UPSTREAM: crypto: remove cipher routines from public crypto API
  UPSTREAM: chcr_ktls: use AES library for single use cipher
  ANDROID: add OWNERS for sysfs-fs-f2fs
  FROMGIT: mm/memory_hotplug: rate limit page migration warnings
  ANDROID: db845c_gki.fragment: Add QCOM_TSENSE config to avoid thermal crashes
  UPSTREAM: usb: gadget: f_uac2: validate input parameters
  UPSTREAM: usb: f_uac2: adds support for SS and SSP
  f2fs: return EINVAL for hole cases in swap file
  ANDROID: Update the ABI xml and symbol list
  f2fs: avoid swapon failure by giving a warning first
  ANDROID: topology: Add flag to indicate topology has been updated
  f2fs: compress: fix to assign cc.cluster_idx correctly
  f2fs: compress: fix race condition of overwrite vs truncate
  f2fs: compress: fix to free compress page correctly
  f2fs: support iflag change given the mask
  f2fs: avoid null pointer access when handling IPU error
  ANDROID: Update the ABI xml and symbol list
  ANDROID: Add missing CFI jump table symbols to kallsyms
  Revert "BACKPORT: bio: limit bio max size"
  ANDROID: thermal: Add vendor thermal_pm_notify_suspend function
  Linux 5.10.36
  thermal/core/fair share: Lock the thermal zone while looping over instances
  thermal/drivers/cpufreq_cooling: Fix slab OOB issue
  lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
  dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
  dm integrity: fix missing goto in bitmap_flush_interval error handling
  dm space map common: fix division bug in sm_ll_find_free_block()
  dm persistent data: packed struct should have an aligned() attribute too
  tracing: Restructure trace_clock_global() to never block
  tracing: Map all PIDs to command lines
  tools/power turbostat: Fix offset overflow issue in index converting
  rsi: Use resume_noirq for SDIO
  tty: fix memory leak in vc_deallocate
  usb: dwc2: Fix session request interrupt handler
  usb: dwc3: core: Do core softreset when switch mode
  usb: dwc3: gadget: Fix START_TRANSFER link state check
  usb: dwc3: gadget: Remove FS bInterval_m1 limitation
  usb: gadget/function/f_fs string table fix for multiple languages
  usb: gadget: Fix double free of device descriptor pointers
  usb: gadget: dummy_hcd: fix gpf in gadget_setup
  media: venus: hfi_parser: Don't initialize parser on v1
  media: v4l2-ctrls: fix reference to freed memory
  media: staging/intel-ipu3: Fix race condition during set_fmt
  media: staging/intel-ipu3: Fix set_fmt error handling
  media: staging/intel-ipu3: Fix memory leak in imu_fmt
  media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
  media: dvb-usb: Fix use-after-free access
  media: dvbdev: Fix memory leak in dvb_media_device_free()
  ext4: Fix occasional generic/418 failure
  ext4: allow the dax flag to be set and cleared on inline directories
  ext4: fix error return code in ext4_fc_perform_commit()
  ext4: fix ext4_error_err save negative errno into superblock
  ext4: fix error code in ext4_commit_super
  ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
  ext4: fix check to prevent false positive report of incorrect used inodes
  ext4: annotate data race in jbd2_journal_dirty_metadata()
  ext4: annotate data race in start_this_handle()
  kbuild: update config_data.gz only when the content of .config is changed
  x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
  futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
  Revert 337f13046f ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
  smb3: do not attempt multichannel to server which does not support it
  smb3: when mounting with multichannel include it in requested capabilities
  jffs2: check the validity of dstlen in jffs2_zlib_compress()
  Fix misc new gcc warnings
  security: commoncap: fix -Wstringop-overread warning
  sfc: farch: fix TX queue lookup in TX event handling
  sfc: farch: fix TX queue lookup in TX flush done handling
  exfat: fix erroneous discard when clear cluster bit
  fuse: fix write deadlock
  dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
  md/raid1: properly indicate failure when ending a failed write request
  crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
  crypto: arm/curve25519 - Move '.fpu' after '.arch'
  tpm: vtpm_proxy: Avoid reading host log when using a virtual device
  tpm: efi: Use local variable for calculating final log size
  intel_th: pci: Add Alder Lake-M support
  powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
  powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
  powerpc/kexec_file: Use current CPU info while setting up FDT
  powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
  powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
  jffs2: Hook up splice_write callback
  jffs2: Fix kasan slab-out-of-bounds problem
  Input: ili210x - add missing negation for touch indication on ili210x
  NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
  NFS: Don't discard pNFS layout segments that are marked for return
  NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
  ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
  openvswitch: fix stack OOB read while fragmenting IPv4 packets
  mlxsw: spectrum_mr: Update egress RIF list before route's action
  f2fs: fix to avoid out-of-bounds memory access
  f2fs: fix error handling in f2fs_end_enable_verity()
  ubifs: Only check replay with inode type to judge if inode linked
  kcsan, debugfs: Move debugfs file creation out of early init
  virtiofs: fix memory leak in virtio_fs_probe()
  fs: fix reporting supported extra file attributes for statx()
  Makefile: Move -Wno-unused-but-set-variable out of GCC only block
  arm64/vdso: Discard .note.gnu.property sections in vDSO
  btrfs: fix race when picking most recent mod log operation for an old root
  tools/power/turbostat: Fix turbostat for AMD Zen CPUs
  ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
  ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
  ALSA: hda/realtek - Headset Mic issue on HP platform
  ALSA: hda/realtek: fix mic boost on Intel NUC 8
  ALSA: hda/realtek: GA503 use same quirks as GA401
  ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
  ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
  ALSA: usb-audio: Explicitly set up the clock selector
  ALSA: sb: Fix two use after free in snd_sb_qsound_build
  ALSA: hda/conexant: Re-order CX5066 quirk table entries
  ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
  power: supply: cpcap-battery: fix invalid usage of list cursor
  sched,psi: Handle potential task count underflow bugs more gracefully
  s390/archrandom: add parameter check for s390_arch_random_generate
  block/rnbd-clt: Fix missing a memory free when unloading the module
  sched,fair: Alternative sched_slice()
  perf: Rework perf_event_exit_event()
  scsi: libfc: Fix a format specifier
  mfd: arizona: Fix rumtime PM imbalance on error
  mfd: da9063: Support SMBus and I2C mode
  mfd: intel-m10-bmc: Fix the register access range
  scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
  scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
  scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
  drm/amdgpu: fix NULL pointer dereference
  drm/amd/display: Try YCbCr420 color when YCbCr444 fails
  amdgpu: avoid incorrect %hu format string
  drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
  drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
  drm/amd/display: Fix debugfs link_settings entry
  drm/radeon/ttm: Fix memory leak userptr pages
  drm/amdgpu/ttm: Fix memory leak userptr pages
  drm/msm/mdp5: Do not multiply vclk line count by 100
  drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
  sched/fair: Ignore percpu threads for imbalance pulls
  media: gscpa/stv06xx: fix memory leak
  media: dvb-usb: fix memory leak in dvb_usb_adapter_init
  media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
  media: platform: sti: Fix runtime PM imbalance in regs_show
  media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
  media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
  media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
  media: adv7604: fix possible use-after-free in adv76xx_remove()
  media: tc358743: fix possible use-after-free in tc358743_remove()
  power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
  power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
  clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
  drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
  media: vivid: update EDID
  media: em28xx: fix memory leak
  scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
  scsi: smartpqi: Add new PCI IDs
  scsi: smartpqi: Correct request leakage during reset operations
  scsi: smartpqi: Use host-wide tag space
  power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
  selftests/resctrl: Fix checking for < 0 for unsigned values
  selftests/resctrl: Fix incorrect parsing of iMC counters
  selftests/resctrl: Use resctrl/info for feature detection
  selftests/resctrl: Fix missing options "-n" and "-p"
  selftests/resctrl: Clean up resctrl features check
  selftests/resctrl: Fix compilation issues for other global variables
  selftests/resctrl: Fix compilation issues for global variables
  selftests/resctrl: Enable gcc checks to detect buffer overflows
  nvmet: return proper error code from discovery ctrl
  drm/komeda: Fix bit check to import to value of proper type
  ata: ahci: Disable SXS for Hisilicon Kunpeng920
  mmc: sdhci-brcmstb: Remove CQE quirk
  mmc: sdhci-pci: Add PCI IDs for Intel LKF
  mmc: sdhci-esdhc-imx: validate pinctrl before use it
  scsi: qla2xxx: Fix use after free in bsg
  drm/vkms: fix misuse of WARN_ON
  scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
  drm/amd/display: fix dml prefetch validation
  drm/amd/display: DCHUB underflow counter increasing in some scenarios
  drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
  drm/amd/pm: fix workload mismatch on vega10
  drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
  drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
  drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
  backlight: qcom-wled: Fix FSC update issue for WLED5
  backlight: qcom-wled: Use sink_addr for sync toggle
  power: supply: Use IRQF_ONESHOT
  media: gspca/sq905.c: fix uninitialized variable
  media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
  extcon: arizona: Fix various races on driver unbind
  extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
  power: supply: bq27xxx: fix power_avg for newer ICs
  atomisp: don't let it go past pipes array
  media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
  media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
  media: ite-cir: check for receive overflow
  scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
  kvfree_rcu: Use same set of GFP flags as does single-argument
  sched/pelt: Fix task util_est update filtering
  drm/amdgpu: Fix some unload driver issues
  scsi: lpfc: Fix pt2pt connection does not recover after LOGO
  scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
  drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
  drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
  drm/amd/display: Don't optimize bandwidth before disabling planes
  drm/amd/display: Check for DSC support instead of ASIC revision
  drm/ast: fix memory leak when unload the driver
  drm/amd/display: changing sr exit latency
  drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
  drm/qxl: release shadow on shutdown
  drm/qxl: do not run release if qxl failed to init
  drm: Added orientation quirk for OneGX1 Pro
  btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
  btrfs: do proper error handling in btrfs_update_reloc_root
  btrfs: do proper error handling in create_reloc_root
  spi: sync up initial chipselect state
  platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
  crypto: omap-aes - Fix PM reference leak on omap-aes.c
  crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
  crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
  crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
  crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
  crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
  phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
  intel_th: Consistency and off-by-one fix
  tty: n_gsm: check error while registering tty devices
  usb: dwc3: gadget: Check for disabled LPM quirk
  usb: core: hub: Fix PM reference leak in usb_port_resume()
  usb: musb: fix PM reference leak in musb_irq_work()
  usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
  spi: qup: fix PM reference leak in spi_qup_remove()
  spi: omap-100k: Fix reference leak to master
  spi: dln2: Fix reference leak to master
  platform/x86: ISST: Account for increased timeout in some cases
  tools/power/x86/intel-speed-select: Increase string size
  ARM: dts: at91: change the key code of the gpio key
  bus: mhi: core: Clear context for stopped channels from remove()
  xhci: fix potential array out of bounds with several interrupters
  xhci: check control context is valid before dereferencing it.
  xhci: check port array allocation was successful before dereferencing it
  fpga: dfl: pci: add DID for D5005 PAC cards
  usb: xhci-mtk: support quirk to disable usb2 lpm
  random: initialize ChaCha20 constants with correct endianness
  perf/arm_pmu_platform: Fix error handling
  perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
  soundwire: cadence: only prepare attached devices on clock stop
  tee: optee: do not check memref size on return from Secure World
  arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
  soc/tegra: pmc: Fix completion of power-gate toggling
  efi/libstub: Add $(CLANG_FLAGS) to x86 flags
  x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
  x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
  ARM: dts: ux500: Fix up TVK R3 sensors
  ARM: dts: BCM5301X: fix "reg" formatting in /memory node
  kselftest/arm64: mte: Fix MTE feature detection
  PCI: PM: Do not read power state in pci_enable_device_flags()
  ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
  kselftest/arm64: mte: Fix compilation with native compiler
  usb: xhci: Fix port minor revision
  usb: dwc3: gadget: Ignore EP queue requests during bus reset
  usb: gadget: f_uac1: validate input parameters
  usb: gadget: f_uac2: validate input parameters
  genirq/matrix: Prevent allocation counter corruption
  crypto: hisilicon/sec - fixes a printing error
  x86/sev: Do not require Hypervisor CPUID bit for SEV guests
  usb: webcam: Invalid size of Processing Unit Descriptor
  usb: gadget: uvc: add bInterval checking for HS mode
  crypto: qat - fix unmap invalid dma address
  crypto: api - check for ERR pointers in crypto_destroy_tfm()
  bus: mhi: core: Destroy SBL devices when moving to mission mode
  spi: ath79: remove spi-master setup and cleanup assignment
  spi: ath79: always call chipselect function
  staging: wimax/i2400m: fix byte-order issue
  bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
  cpuidle: tegra: Fix C7 idling state on Tegra114
  fbdev: zero-fill colormap in fbcmap.c
  posix-timers: Preserve return value in clock_adjtime32()
  btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
  intel_th: pci: Add Rocket Lake CPU support
  btrfs: fix metadata extent leak after failure to create subvolume
  x86/build: Disable HIGHMEM64G selection for M486SX
  btrfs: handle remount to no compress during compression
  smb2: fix use-after-free in smb2_ioctl_query_info()
  cifs: detect dead connections only when echoes are enabled.
  cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
  cifs: Return correct error code from smb2_get_enc_key
  irqchip/gic-v3: Do not enable irqs when handling spurious interrups
  mmc: core: Fix hanging on I/O during system suspend for removable cards
  mmc: core: Set read only for SD cards with permanent write protect bit
  mmc: core: Do a power cycle when the CMD11 fails
  mmc: block: Issue a cache flush only when it's enabled
  mmc: block: Update ext_csd.cache_ctrl if it was written
  mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
  mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
  mmc: sdhci: Check for reset prior to DMA address unmap
  mmc: uniphier-sd: Fix a resource leak in the remove function
  mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
  scsi: mpt3sas: Block PCI config access from userspace during reset
  scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
  spi: spi-ti-qspi: Free DMA resources
  spi: stm32-qspi: fix pm_runtime usage_count counter
  erofs: add unsupported inode i_format check
  mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
  mtd: rawnand: atmel: Update ecc_stats.corrected counter
  mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
  Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
  mtd: spi-nor: core: Fix an issue of releasing resources during read/write
  fs/epoll: restore waking from ep_done_scan()
  ecryptfs: fix kernel panic with null dev_name
  arm64: dts: mt8173: fix property typo of 'phys' in dsi node
  arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
  ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
  ftrace: Handle commands when closing set_ftrace_filter file
  ACPI: custom_method: fix a possible memory leak
  ACPI: custom_method: fix potential use-after-free issue
  tpm: acpi: Check eventlog signature before using it
  vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
  s390/zcrypt: fix zcard and zqueue hot-unplug memleak
  s390/disassembler: increase ebpf disasm buffer size
  dyndbg: fix parsing file query without a line-range suffix
  nitro_enclaves: Fix stale file descriptors on failed usercopy
  bus: mhi: core: Sanity check values from remote device before use
  bus: mhi: core: Clear configuration from channel context during reset
  bus: mhi: core: Fix check for syserr at power_up
  ANDROID: qcom: Add neighbor related symbols
  ANDROID: usb: typec: ucsi: Ensure bounds check when accessing src_pdos
  FROMGIT: usb: typec: tcpm: Fix wrong handling for Not_Supported in VDM AMS
  ANDROID: Update the ABI xml and symbol list
  FROMGIT: usb: dwc3: omap: improve extcon initialization
  FROMGIT: usb: typec: ucsi: Put fwnode in any case during ->probe()
  FROMGIT: usb: dwc3: gadget: Return success always for kick transfer in ep queue
  FROMGIT: usb: dwc3: gadget: Free gadget structure only after freeing endpoints
  FROMGIT: usb: dwc2: Fix gadget DMA unmap direction
  FROMGIT: usb: dwc3: gadget: Rename EOPF event macros to Suspend
  FROMGIT: usb: dwc3: gadget: Enable suspend events
  Revert "capabilities: require CAP_SETFCAP to map uid 0"
  Revert "driver core: add a min_align_mask field to struct device_dma_parameters"
  Revert "swiotlb: add a IO_TLB_SIZE define"
  Revert "swiotlb: factor out an io_tlb_offset helper"
  Revert "swiotlb: factor out a nr_slots helper"
  Revert "swiotlb: clean up swiotlb_tbl_unmap_single"
  Revert "swiotlb: refactor swiotlb_tbl_map_single"
  Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single"
  Revert "swiotlb: respect min_align_mask"
  Revert "nvme-pci: set min_align_mask"
  UPSTREAM: block: fix inflight statistics of part0
  ANDROID: GKI: 5/7 KMI update
  BACKPORT: bio: limit bio max size
  ANDROID: i2c: Add vendor hook to allow assign dev_name to I2C devices
  UPSTREAM: binder: tell userspace to dump current backtrace when detected oneway spamming
  ANDROID: arm64: module: add RELA metadata for FIPS140 use
  ANDROID: GKI: rename filp_open to filp_open_block in symbol lists
  ANDROID: GKI: dwc3: add Android ABI padding to some structures
  FROMGIT: usb: dwc3: gadget: Handle DEV_TXF_FLUSH_BYPASS capability
  FROMGIT: usb: dwc3: Capture new capability register GHWPARAMS9
  FROMGIT: usb: dwc3: core: Do core softreset when switch mode
  ANDROID: android: Add symbols to debug_symbols driver
  BACKPORT: FROMGIT: remoteproc: add is_iomem to da_to_va
  FROMGIT: remoteproc: introduce is_iomem to rproc_mem_entry
  ANDROID: abi_gki_aarch64_qcom: Add __bitmap_andnot and cpumask_any_but
  ANDROID: abi_gki_aarch64_qcom: Add __kfifo_free
  Linux 5.10.35
  vfio: Depend on MMU
  perf/core: Fix unconditional security_locked_down() call
  platform/x86: thinkpad_acpi: Correct thermal sensor allocation
  USB: Add reset-resume quirk for WD19's Realtek Hub
  USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
  ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
  ovl: allow upperdir inside lowerdir
  ovl: fix leaked dentry
  nvme-pci: set min_align_mask
  swiotlb: respect min_align_mask
  swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
  swiotlb: refactor swiotlb_tbl_map_single
  swiotlb: clean up swiotlb_tbl_unmap_single
  swiotlb: factor out a nr_slots helper
  swiotlb: factor out an io_tlb_offset helper
  swiotlb: add a IO_TLB_SIZE define
  driver core: add a min_align_mask field to struct device_dma_parameters
  tools/cgroup/slabinfo.py: updated to work on current kernel
  perf ftrace: Fix access to pid in array when setting a pid filter
  capabilities: require CAP_SETFCAP to map uid 0
  perf data: Fix error return code in perf_data__create_dir()
  net: qrtr: Avoid potential use after free in MHI send
  bpf: Fix leakage of uninitialized bpf stack under speculation
  bpf: Fix masking negation logic upon negative dst register
  igb: Enable RSS for Intel I211 Ethernet Controller
  net: usb: ax88179_178a: initialize local variables before use
  netfilter: conntrack: Make global sysctls readonly in non-init netns
  mips: Do not include hi and lo in clobber list for R6
  ANDROID: abi_gki_aarch64_qcom: Add __page_pinner_migration_failed
  ANDROID: vendor_hooks: set debugging data when rt_mutex is working
  ANDROID: abi_gki_aarch64_qcom: Add irq_do_set_affinity
  ANDROID: Update the ABI xml and symbol list
  ANDROID: ABI: Update the generic symbol list
  fsverity: relax build time dependency on CRYPTO_SHA256
  fscrypt: relax Kconfig dependencies for crypto API algorithms
  f2fs: drop inplace IO if fs status is abnormal
  f2fs: compress: remove unneed check condition
  f2fs: clean up left deprecated IO trace codes
  f2fs: avoid using native allocate_segment_by_default()
  f2fs: remove unnecessary struct declaration
  f2fs: fix to avoid NULL pointer dereference
  f2fs: avoid duplicated codes for cleanup
  f2fs: document: add description about compressed space handling
  f2fs: clean up build warnings
  f2fs: modify open brace '{' following function definitions
  f2fs: fix the periodic wakeups of discard thread
  f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
  f2fs: fix to avoid GC/mmap race with f2fs_truncate()
  f2fs: set checkpoint_merge by default
  f2fs: Fix a hungtask problem in atomic write
  f2fs: fix to restrict mount condition on readonly block device
  f2fs: introduce gc_merge mount option
  f2fs: fix to cover __allocate_new_section() with curseg_lock
  f2fs: fix wrong alloc_type in f2fs_do_replace_block
  f2fs: delete empty compress.h
  f2fs: fix a typo in inode.c
  f2fs: allow to change discard policy based on cached discard cmds
  f2fs: fix to avoid touching checkpointed data in get_victim()
  f2fs: fix to update last i_size if fallocate partially succeeds
  f2fs: fix error path of f2fs_remount()
  f2fs: fix wrong comment of nat_tree_lock
  f2fs: fix to avoid out-of-bounds memory access
  f2fs: don't start checkpoint thread in readonly mountpoint
  f2fs: do not use AT_SSR mode in FG_GC & high urgent BG_GC
  f2fs: add sysfs nodes to get runtime compression stat
  f2fs: fix to use per-inode maxbytes in f2fs_fiemap
  f2fs: fix to align to section for fallocate() on pinned file
  f2fs: expose # of overprivision segments
  f2fs: fix error handling in f2fs_end_enable_verity()
  f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
  f2fs: remove unused file_clear_encrypt()
  f2fs: check if swapfile is section-alligned
  f2fs: fix last_lblock check in check_swap_activate_fast
  f2fs: remove unnecessary IS_SWAPFILE check
  f2fs: Replace one-element array with flexible-array member
  f2fs: compress: Allow modular (de)compression algorithms
  f2fs: check discard command number before traversing discard pending list
  f2fs: update comments for explicit memory barrier
  f2fs: remove unused FORCE_FG_GC macro
  f2fs: avoid unused f2fs_show_compress_options()
  f2fs: fix panic during f2fs_resize_fs()
  f2fs: fix to allow migrating fully valid segment
  f2fs: fix a spelling error
  f2fs: fix a spacing coding style

Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/media/renesas,vin.yaml
	Documentation/devicetree/bindings/serial/8250.yaml
	Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
	drivers/bus/mhi/core/init.c
	drivers/bus/mhi/core/main.c
	drivers/bus/mhi/core/pm.c
	drivers/firmware/qcom_scm-smc.c
	drivers/firmware/qcom_scm.c
	drivers/firmware/qcom_scm.h
	drivers/soc/qcom/mdt_loader.c
	drivers/usb/gadget/function/f_uac2.c
	net/qrtr/mhi.c

Change-Id: I18208c8a9e6e84b94ee30c8046a3ea74a18e3bea
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-05-26 00:31:36 -07:00