Commit Graph

1094480 Commits

Author SHA1 Message Date
qctecmdr
c788ea98b4 Merge "modules.list.msm.pineapple: Add interconnect modules" 2022-05-31 19:00:32 -07:00
qctecmdr
7b46a82ae4 Merge "mmrm: Adding mmrm header for kalama project" 2022-05-31 10:27:46 -07:00
qctecmdr
a860a072e5 Merge "regulator: add proxy consumer library" 2022-05-28 15:59:59 -07:00
qctecmdr
ce4c9ce6fa Merge "input: misc: pm8941-pwrkey: avoid potential null pointer dereference" 2022-05-27 19:12:24 -07:00
qctecmdr
5f5e27551f Merge "mfd: qcom-spmi-pmic: instantiate pmic peripherals at arch_initcall" 2022-05-27 19:12:23 -07:00
qctecmdr
3059ef6495 Merge "input: misc: pm8941-pwrkey: add software key press debouncing support" 2022-05-27 16:56:59 -07:00
qctecmdr
9a23667545 Merge "thermal: qcom-spmi-temp-alarm: add support for LITE PMIC peripherals" 2022-05-27 16:56:58 -07:00
David Collins
be38cc2b80 regulator: add proxy consumer library
Add a proxy consumer library which can be used by regulator
drivers to ensure that a given regulator maintains a certain
minimum power state during bootup.  Enable state, voltage, and
current may be forced to specified levels.

Change-Id: I46853f55a1201195ed50f0365399cf49086f24ff
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:41 -07:00
qctecmdr
c806b7d24f Merge "modules.list.msm.pineapple: Add videocc clock module" 2022-05-27 14:06:25 -07:00
qctecmdr
a1dc48d5b6 Merge "spmi: add glink debug spmi controller driver" 2022-05-27 14:06:23 -07:00
qctecmdr
14f7b2da65 Merge "qcom: socinfo: Add PINEAPPLEP id to the list" 2022-05-27 14:06:22 -07:00
qctecmdr
e86a455b00 Merge "soc: qcom: sync: export qcom speculative fence interface" 2022-05-27 11:53:28 -07:00
qctecmdr
e4dbf87811 Merge "soc: hw-fence: hardware fence driver interface" 2022-05-27 11:53:26 -07:00
qctecmdr
3a4d08bda6 Merge "defconfig: pineapple-gki: Enable pineapple interconnect driver" 2022-05-27 06:44:46 -07:00
qctecmdr
1f10328ce0 Merge "irqchip: qcom-pdc: Add PDC version 3.2 support" 2022-05-27 04:12:25 -07:00
qctecmdr
a822c4bf8a Merge "arm-smmu: Restore the downstream SMMU module" 2022-05-27 04:12:24 -07:00
qctecmdr
1609b57e1e Merge "defconfig: pineapple-gki: Enable video clock driver" 2022-05-26 23:01:34 -07:00
qctecmdr
3b02cc73f3 Merge "dt-bindings: interconnect: Add endpoint IDs for Pineapple" 2022-05-26 23:01:33 -07:00
qctecmdr
9b66754069 Merge "soc: qcom: add QTI charger-ulog-glink driver" 2022-05-26 23:01:31 -07:00
Ingrid Gallardo
c0a973ccf9 soc: hw-fence: hardware fence driver interface
Hardware Fence interface used for communication
of client drivers with fence controller.

Change-Id: I7624b94d790edea8f2a63fce80e2d1370d1f0a93
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-05-26 16:23:04 -07:00
Ingrid Gallardo
653be265a4 soc: qcom: sync: export qcom speculative fence interface
This change adds an interface to check if a given speculative
fence is bound. If fence is not bound, it will wait for the
speculative fence ioctl to bind the fence, or else timeout.

Change-Id: Iee014ad282c9b53d8785f0f9341ae28a9c616969
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-05-26 16:23:00 -07:00
jianzhou
56e33e2242 Merge keystone/android-mainline-keystone-qcom-release.5.18-rc7 (48dc679) into msm-pineapple
* refs/heads/tmp-48dc679:
  ANDROID: Creating boot-img.tar.gz for aarch64
  ANDROID: kernel: fix debug_kinfo set twice crash issue
  Revert "PCI: aardvark: Rewrite IRQ code to chained IRQ handler"
  Linux 5.18-rc7
  gfs2: Stop using glock holder auto-demotion for now
  gfs2: buffered write prefaulting
  gfs2: Align read and write chunks to the page cache
  gfs2: Pull return value test out of should_fault_in_pages
  gfs2: Clean up use of fault_in_iov_iter_{read,write}able
  gfs2: Variable rename
  gfs2: Fix filesystem block deallocation for short writes
  drm/vmwgfx: Disable command buffers on svga3 without gbobjects
  drm/vmwgfx: Initialize drm_mode_fb_cmd2
  drm/vmwgfx: Fix fencing on SVGAv3
  x86/mm: Fix marking of unused sub-pmd ranges
  tls: Fix context leak on tls_device_down
  net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
  net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
  net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down()
  usb: xhci-mtk: remove bandwidth budget table
  usb: xhci-mtk: fix fs isoc's transfer error
  usb: gadget: fix race when gadget driver register via ioctl
  usb: typec: tcpci_mt6360: Update for BMC PHY setting
  arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
  mlxsw: Avoid warning during ip6gre device removal
  arm64: cpufeature: remove duplicate ID_AA64ISAR2_EL1 entry
  drm/vc4: hdmi: Fix build error for implicit function declaration
  net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral
  net: ethernet: mediatek: ppe: fix wrong size passed to memset()
  Bluetooth: Fix the creation of hdev->name
  sched/tracing: Append prev_state to tp args instead
  i40e: i40e_main: fix a missing check on list iterator
  net/sched: act_pedit: really ensure the skb is writable
  thermal: int340x: Mode setting with new OS handshake
  drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2)
  Revert "drm/amd/pm: keep the BACO feature enabled for suspend"
  KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context()
  s390/lcs: fix variable dereferenced before check
  s390/ctcm: fix potential memory leak
  s390/ctcm: fix variable dereferenced before check
  net: atlantic: verify hw_head_ lies within TX buffer ring
  net: atlantic: add check for MAX_SKB_FRAGS
  net: atlantic: reduce scope of is_rsc_complete
  net: atlantic: fix "frag[0] not initialized"
  net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
  scsi: lpfc: Correct BDE DMA address assignment for GEN_REQ_WQE
  scsi: lpfc: Fix split code for FLOGI on FCoE
  genirq: Remove WARN_ON_ONCE() in generic_handle_domain_irq()
  net: phy: micrel: Fix incorrect variable type in micrel
  ANDROID: GKI: Document GKI KUnit differences
  ANDROID: GKI: Return ERROR value on KUnit load fail
  Documentation/process: Update ARM contact for embargoed hardware issues
  MAINTAINERS: Add James and Mike as Arm64 performance events reviewers
  udf: Avoid using stale lengthOfImpUse
  virtio: fix virtio transitional ids
  arm64: vdso: fix makefile dependency on vdso.so
  decnet: Use container_of() for struct dn_neigh casts
  writeback: Avoid skipping inode writeback
  dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
  net: atlantic: always deep reset on pm op, fixing up my null deref regression
  ceph: check folio PG_private bit instead of folio->private
  ceph: fix setting of xattrs on async created inodes
  net: dsa: flush switchdev workqueue on bridge join error path
  net: phy: Fix race condition on link status change
  MAINTAINERS: add a mailing list for DAMON development
  selftests: vm: Makefile: rename TARGETS to VMTARGETS
  mm/kfence: reset PG_slab and memcg_data before freeing __kfence_pool
  mailmap: add entry for martyna.szapar-mudlaw@intel.com
  arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
  procfs: prevent unprivileged processes accessing fdinfo dir
  mm: mremap: fix sign for EFAULT error return value
  hwmon: (ltq-cputemp) restrict it to SOC_XWAY
  dim: initialize all struct fields
  ptp: ocp: Use DIV64_U64_ROUND_UP for rounding.
  ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
  ionic: fix missing pci_release_regions() on error in ionic_probe()
  nfs: fix broken handling of the softreval mount option
  slimbus: qcom: Fix IRQ check in qcom_slim_probe
  rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition
  nl80211: fix locking in nl80211_set_tx_bitrate_mask()
  mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
  mac80211_hwsim: fix RCU protected chanctx access
  mailmap: update Kalle Valo's email
  fanotify: do not allow setting dirent events in mask of non-dir
  selftests net: add UDP GRO fraglist + bpf self-tests
  net: fix wrong network header length
  net: sfc: fix memory leak due to ptp channel
  drm/i915: Fix race in __i915_vma_remove_closed
  tools headers UAPI: Sync linux/kvm.h with the kernel sources
  perf tests: Fix coresight `perf test` failure.
  perf bench: Fix two numa NDEBUG warnings
  Linux 5.18-rc6
  Revert "parisc: Increase parisc_cache_flush_threshold setting"
  parisc: Mark cr16 clock unstable on all SMP machines
  parisc: Fix typos in comments
  parisc: Change MAX_ADDRESS to become unsigned long long
  parisc: Merge model and model name into one line in /proc/cpuinfo
  parisc: Re-enable GENERIC_CPU_DEVICES for !SMP
  parisc: Update 32- and 64-bit defconfigs
  parisc: Only list existing CPUs in cpu_possible_mask
  Revert "parisc: Fix patch code locking and flushing"
  Revert "parisc: Mark sched_clock unstable only if clocks are not syncronized"
  Revert "parisc: Mark cr16 CPU clocksource unstable on all SMP machines"
  blk-mq: remove the error_count from struct request
  ataflop: use a statically allocated error counters
  floppy: use a statically allocated error counter
  SUNRPC: Ensure that the gssproxy client can start in a connected state
  Revert "SUNRPC: Ensure gss-proxy connects on setup"
  fbdev: efifb: Fix a use-after-free due early fb_info cleanup
  net: chelsio: cxgb4: Avoid potential negative array offset
  netlink: do not reset transport header in netlink_recvmsg()
  drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
  drm/nouveau/tegra: Stop using iommu_present()
  ipv4: drop dst in multicast routing path
  ice: fix PTP stale Tx timestamps cleanup
  ice: clear stale Tx queue settings before configuring
  ice: Fix race during aux device (un)plugging
  KVM: VMX: Exit to userspace if vCPU has injected exception and invalid state
  KVM: SEV: Mark nested locking of vcpu->lock
  ANDROID: GKI: Add ‘kunit.enable’ module parameter
  gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
  drm/amd/display: undo clearing of z10 related function pointers
  drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
  platform/surface: aggregator: Fix initialization order when compiling as builtin module
  platform/surface: gpe: Add support for Surface Pro 8
  platform/x86/intel: Fix 'rmmod pmt_telemetry' panic
  platform/x86: thinkpad_acpi: Correct dual fan probe
  platform/x86: thinkpad_acpi: Add a s2idle resume quirk for a number of laptops
  platform/x86: thinkpad_acpi: Convert btusb DMI list to quirks
  Documentation/process: Add embargoed HW contact for Ampere Computing
  Documentation/process: Make groups alphabetical and use tabs consistently
  firmware_loader: use kernel credentials when reading firmware
  fbdev: vesafb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: efifb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: simplefb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: Prevent possible use-after-free in fb_release()
  Revert "fbdev: Make fb_release() return -ENODEV if fbdev was unregistered"
  powerpc/papr_scm: Fix buffer overflow issue with CONFIG_FORTIFY_SOURCE
  net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters
  net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0
  net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups
  net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted
  net: mscc: ocelot: mark traps with a bool instead of keeping them in a list
  s390/dasd: Use kzalloc instead of kmalloc/memset
  s390/dasd: Fix read inconsistency for ESE DASD devices
  s390/dasd: Fix read for ESE with blksize < 4k
  s390/dasd: prevent double format of tracks for ESE devices
  s390/dasd: fix data corruption for ESE devices
  MAINTAINERS: add missing files for bonding definition
  net: Fix features skip in for_each_netdev_feature()
  selftests: add ping test with ping_group_range tuned
  ping: fix address binding wrt vrf
  net: phy: micrel: Pass .probe for KS8737
  net: phy: micrel: Do not use kszphy_suspend/resume for KSZ8061
  net: rds: use maybe_get_net() when acquiring refcount on TCP sockets
  fsl_lpuart: Don't enable interrupts too early
  tty: n_gsm: fix invalid gsmtty_write_room() result
  tty: n_gsm: fix mux activation issues in gsm_config()
  tty: n_gsm: fix buffer over-read in gsm_dlci_data()
  serial: 8250_mtk: Fix register address for XON/XOFF character
  serial: 8250_mtk: Make sure to select the right FEATURE_SEL
  serial: 8250_mtk: Fix UART_EFR register address
  tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
  usb: gadget: uvc: allow for application to cleanly shutdown
  usb: typec: tcpci: Don't skip cleanup in .remove() on error
  usb: cdc-wdm: fix reading stuck on device close
  btrfs: sysfs: export the balance paused state of exclusive operation
  btrfs: fix assertion failure when logging directory key range item
  btrfs: zoned: activate block group properly on unlimited active zone device
  btrfs: zoned: move non-changing condition check out of the loop
  btrfs: force v2 space cache usage for subpage mount
  cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
  USB: serial: qcserial: add support for Sierra Wireless EM7590
  gpio: visconti: Fix fwnode of GPIO IRQ
  USB: serial: option: add Fibocom MA510 modem
  USB: serial: option: add Fibocom L610 modem
  USB: serial: pl2303: add device id for HP LM930 Display
  genirq: Synchronize interrupt thread startup
  MAINTAINERS: update the GPIO git tree entry
  NFC: netlink: fix sleep in atomic bug when firmware download timeout
  mm/readahead: Fix readahead with large folios
  block: Do not call folio_next() on an unreferenced folio
  selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer
  tcp: drop the hash_32() part from the index calculation
  tcp: increase source port perturb table to 2^16
  tcp: dynamically allocate the perturb table used by source ports
  tcp: add small random increments to the source port
  tcp: resalt the secret every 10 seconds
  tcp: use different parts of the port_offset for index and offset
  secure_seq: use the 64 bits of the siphash for port offset calculation
  wireguard: selftests: set panic_on_warn=1 from cmdline
  wireguard: selftests: bump package deps
  wireguard: selftests: restore support for ccache
  wireguard: selftests: use newer toolchains to fill out architectures
  wireguard: selftests: limit parallelism to $(nproc) tests at once
  wireguard: selftests: make routing loop test non-fatal
  x86/fpu: Prevent FPU state corruption
  RDMA/rxe: Change mcg_lock to a _bh lock
  RDMA/rxe: Do not call  dev_mc_add/del() under a spinlock
  RDMA/siw: Fix a condition race issue in MPA request processing
  ANDROID: GKI: Disable KUnit built-in testing
  dt-bindings: pci: apple,pcie: Drop max-link-speed from example
  dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
  dt-bindings: pinctrl: Allow values for drive-push-pull and drive-open-drain
  MAINTAINERS: Update Josh Poimboeuf's email address
  drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
  drm/amdgpu: do not use passthrough mode in Xen dom0
  iommu: Make sysfs robust for non-API groups
  powerpc/vdso: Fix incorrect CFI in gettimeofday.S
  powerpc/pseries/vas: Use QoS credits from the userspace
  mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
  mmc: sunxi-mmc: Fix DMA descriptors allocated above 32 bits
  mac80211: Reset MBSSID parameters upon connection
  cfg80211: retrieve S1G operating channel number
  nl80211: validate S1G channel width
  mac80211: fix rx reordering with non explicit / psmp ack policy
  iommu/dart: Add missing module owner to ops structure
  drm/bridge: ite-it6505: add missing Kconfig option select
  net/mlx5: Fix matching on inner TTC
  net/mlx5: Avoid double clear or set of sync reset requested
  net/mlx5: Fix deadlock in sync reset flow
  net/mlx5e: Fix trust state reset in reload
  net/mlx5e: Avoid checking offload capability in post_parse action
  net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release
  net/mlx5e: TC, fix decap fallback to uplink when int port not supported
  net/mlx5e: TC, Fix ct_clear overwriting ct action metadata
  net/mlx5e: Lag, Don't skip fib events on current dst
  net/mlx5e: Lag, Fix fib_info pointer assignment
  net/mlx5e: Lag, Fix use-after-free in fib event handler
  net/mlx5e: Fix the calling of update_buffer_lossy() API
  net/mlx5e: Don't match double-vlan packets if cvlan is not set
  net/mlx5: Fix slab-out-of-bounds while reading resource dump menu
  net/mlx5e: Fix wrong source vport matching on tunnel rule
  bnxt_en: Fix unnecessary dropping of RX packets
  bnxt_en: Initiallize bp->ptp_lock first before using it
  bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
  smsc911x: allow using IRQ0
  net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT
  PCI: qcom: Remove ddrss_sf_tbu clock from SC8180X
  interconnect: Restore sync state by ignoring ipa-virt in provider count
  fbdev: Make fb_release() return -ENODEV if fbdev was unregistered
  hwmon: (tmp401) Add OF device ID table
  KVM: s390: vsie/gmap: reduce gmap_rmap overhead
  kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
  KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
  net: rds: acquire refcount on TCP sockets
  KVM: x86/mmu: Use atomic XCHG to write TDP MMU SPTEs with volatile bits
  KVM: x86/mmu: Move shadow-present check out of spte_has_volatile_bits()
  KVM: x86/mmu: Don't treat fully writable SPTEs as volatile (modulo A/D)
  selftests/net: so_txtime: usage(): fix documentation of default clock
  selftests/net: so_txtime: fix parsing of start time stamp on 32 bit systems
  selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
  net: emaclite: Add error handling for of_address_to_resource()
  net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
  scsi: qla2xxx: Fix missed DMA unmap for aborted commands
  scsi: scsi_dh_alua: Properly handle the ALUA transitioning state
  KVM: s390: Fix lockdep issue in vm memop
  Revert "block: release rq qos structures for queue without disk"
  RDMA/irdma: Fix possible crash due to NULL netdev in notifier
  RDMA/irdma: Reduce iWARP QP destroy time
  RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state
  io_uring: assign non-fixed early for async work
  gpio: mvebu: drop pwm base assignment
  gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
  net: dsa: b53: convert to phylink_pcs
  pci_irq_vector() can't be used in atomic context any longer. This conflicts with the usage of this function in nic_mbx_intr_handler().
  nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
  nfc: replace improper check device_is_registered() in netlink related functions
  net: stmmac: disable Split Header (SPH) for Intel platforms
  mm: Fix PASID use-after-free issue
  mld: respect RCU rules in ip6_mc_source() and ip6_mc_msfilter()
  net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
  rxrpc: Enable IPv6 checksums on transport socket
  net: cpsw: add missing of_node_put() in cpsw_probe_dt()
  net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
  net: dsa: mt7530: add missing of_node_put() in mt7530_setup()
  net: dsa: ksz9477: port mirror sniffing limited to one port
  hinic: fix bug of wq out of bound access
  net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller
  net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
  selftests/net/forwarding: add missing tests to Makefile
  selftests/net: add missing tests to Makefile
  Revert "SUNRPC: attempt AF_LOCAL connect on setup"
  selftests/seccomp: Don't call read() on TTY from background pgrp
  SUNRPC: Ensure gss-proxy connects on setup
  ipmi:ipmi_ipmb: Fix null-ptr-deref in ipmi_unregister_smi()
  ipmi: When handling send message responses, don't process the message
  RISC-V: relocate DTB if it's outside memory region
  MIPS: Fix CP0 counter erratum detection for R4k CPUs
  SUNRPC: Ensure timely close of disconnected AF_LOCAL sockets
  can: grcan: only use the NAPI poll budget for RX
  can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
  can: grcan: use ofdev->dev when allocating DMA memory
  can: grcan: grcan_close(): fix deadlock
  can: isotp: remove re-binding of bound socket
  mm/hwpoison: use pr_err() instead of dump_page() in get_any_page()
  mm/huge_memory: do not overkill when splitting huge_zero_page
  Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()"
  ath11k: reduce the wait time of 11d scan and hw scan while add interface
  timekeeping: Mark NMI safe time accessors as notrace
  SUNRPC: Don't leak sockets in xs_local_connect()
  iommu/dart: check return value after calling platform_get_resource()
  iommu/vt-d: Drop stop marker messages
  iommu/vt-d: Calculate mask for non-aligned flushes
  btrfs: skip compression property for anything other than files and dirs
  btrfs: do not BUG_ON() on failure to update inode when setting xattr
  btrfs: always log symlinks in full mode
  btrfs: do not allow compression on nodatacow files
  btrfs: export a helper for compression hard check
  dt-bindings: leds-mt6360: Drop redundant 'unevaluatedProperties'
  dt-bindings: ufs: cdns,ufshc: Add power-domains
  drm/msm/dp: remove fail safe mode related code
  ASoC: SOF: Fix NULL pointer exception in sof_pci_probe callback
  hwmon: (pmbus) delta-ahe50dc-fan: work around hardware quirk
  s390: disable -Warray-bounds
  ASoC: ops: Validate input values in snd_soc_put_volsw_range()
  mmc: core: Set HS clock speed before sending HS CMD13
  NFSv4: Don't invalidate inode attributes on delegation return
  hwmon: (pmbus) disable PEC if not enabled
  ASoC: dmaengine: Restore NULL prepare_slave_config() callback
  ASoC: atmel: mchp-pdmc: set prepare_slave_config
  ASoC: max98090: Generate notifications on changes for custom control
  ASoC: max98090: Reject invalid values in custom control put()
  ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
  ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
  firewire: core: extend card->lock in fw_core_handle_bus_reset
  firewire: remove check of list iterator against head past the loop body
  firewire: fix potential uaf in outbound_phy_packet_callback()
  MAINTAINERS: update iwlwifi driver maintainer
  iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
  SUNRPC release the transport of a relocated task with an assigned transport
  ASoC: rt9120: Correct the reg 0x09 size to one byte
  iommu: arm-smmu: disable large page mappings for Nvidia arm-smmu
  ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops
  ALSA: hda/realtek: Fix mute led issue on thinkpad with cs35l41 s-codec
  MAINTAINERS: Update email address for John Stultz
  futex: MAINTAINERS, .mailmap: Update André's email address
  ASoC: meson: axg-card: Fix nonatomic links
  ASoC: meson: axg-tdm-interface: Fix formatters in trigger"
  ASoC: soc-ops: fix error handling
  ASoC: meson: Fix event generation for G12A tohdmi mux
  ASoC: meson: Fix event generation for AUI CODEC mux
  ASoC: meson: Fix event generation for AUI ACODEC mux
  ASoC: da7219: Fix change notifications for tone generator frequency
  RDMA/rxe: Recheck the MR in when generating a READ reply
  ASoC: simple-card-utils: fix sysclk shutdown
  iommu/arm-smmu-v3: Fix size calculation in arm_smmu_mm_invalidate_range()
  RDMA/irdma: Fix deadlock in irdma_cleanup_cm_core()
  ASoC: wm8958: Fix change notifications for DSP controls
  hwmon: (f71882fg) Fix negative temperature
  batman-adv: Don't skb_split skbuffs with frag_list
  dt-bindings: hwmon: ti,tmp421: Fix type for 'ti,n-factor'
  RDMA/rxe: Fix "Replace mr by rkey in responder resources"
  PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
  hwmon: (adt7470) Fix warning on module removal
  hwmon: (asus_wmi_sensors) Fix CROSSHAIR VI HERO name
  hwmon: (xdpe12284) Fix build warning seen if CONFIG_SENSORS_XDPE122_REGULATOR is disabled

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/clock/imx8m-clock.yaml
	Documentation/devicetree/bindings/display/bridge/renesas,lvds.yaml
	Documentation/devicetree/bindings/display/renesas,du.yaml
	Documentation/devicetree/bindings/hwmon/ti,tmp421.yaml
	Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
	Documentation/devicetree/bindings/leds/leds-mt6360.yaml
	Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml
	Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
	Documentation/devicetree/bindings/net/can/bosch,c_can.yaml
	Documentation/devicetree/bindings/pci/apple,pcie.yaml
	Documentation/devicetree/bindings/phy/brcm,sata-phy.yaml
	Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
	Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
	Documentation/devicetree/bindings/serial/samsung_uart.yaml
	Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml
	Documentation/devicetree/bindings/sound/ti,j721e-cpb-audio.yaml
	Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml
	Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml

Upstream-Build:ks_qcom-android-mainline-keystone-qcom-release@8638194 SKQ4.220524.002
Change-Id: Ia65bb7e08d4a99f031ff2a75f261d9be7aa336e5
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-05-25 18:16:27 -07:00
Chris Goldsworthy
2306fec4f0 arm-smmu: Restore the downstream SMMU module
The arm_smmu module had to be reverted in commit fe6e5ac9fb ("Revert
"arm-smmu: Port our downstream SMMU changes from 5.15"") due to an LTS
merge conflict in commit d82e9dd3f4 ("Merge
keystone/android-mainline-keystone-qcom-release.5.18-rc2 (2069378)
into msm-pineapple").

Restore the module to its downstream state accordingly. To account for
commit 9a630a4b41 ("iommu: Split struct iommu_ops"), we rework
arm_smmu_ops. To account for the struct page->freelist member being
removed in commit 07f910f9b7 ("mm: Remove slab from struct page"),
use the struct page->lru.next pointer to form a single linked list of
pages to be tended to during our deferred TLB maintenance.

Change-Id: I6773a2e70bb1fabe9eef9f143bcf5df66f99dfa7
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-05-25 18:01:11 -07:00
Chris Goldsworthy
1a66e8cf59 modules.list.msm.pineapple: Re-add qcom_iommu_util.ko
The qcom_iommu_util module had to be reverted in commit 1d99777147
("Revert "modules.list.msm.pineapple: Add qcom_iommu_util.ko"") due to
an LTS merge conflict in commit d82e9dd3f4 ("Merge
keystone/android-mainline-keystone-qcom-release.5.18-rc2 (2069378)
into msm-pineapple"). Restore the loading of the module accordingly.

Change-Id: I2a86cc8f5fd8bc6ce41d6b5793704e573277fe80
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-05-25 18:01:10 -07:00
Chris Goldsworthy
5683fe5a93 arm64: defconfig: Restore the qcom_iommu_util module
The qcom_iommu_util module had to be reverted in commit 5791009e99
("Revert "arm64: defconfig: Compile in IOMMU util module"") due to an
LTS merge conflict in commit d82e9dd3f4 ("Merge
keystone/android-mainline-keystone-qcom-release.5.18-rc2 (2069378)
into msm-pineapple"). Restore the compilation of the module
accordingly.

Change-Id: Ief7b5c44f172f1ba767039e983eb217fd765f676
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-05-25 18:01:09 -07:00
Chris Goldsworthy
5aea34a2f3 qcom-iommu-util: Add iommu_domain_ops to qcom_iommu_ops
commit 9a630a4b41 ("iommu: Split struct iommu_ops") adds a new type
iommu_domain_ops that covers all per-domain (i.e. "translation) operations
(setting up page tables, doing TLB maintenance, etc.) are moved from
iommu_ops into this domain specific structure. As a result of this,
IOMMU domains now only supply a pointer to these domain ops and not
the iommu_ops.

Thus, add a iommu_domain_ops member in qciom_iommu_ops.

Change-Id: I77919feed92232e1b487cd621d164f597676d14c
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-05-25 18:01:04 -07:00
Satya Durga Srinivasu Prabhala
f327e7053d qcom: socinfo: Add PINEAPPLEP id to the list
Add PINEAPPLEP id for SOC ID -> name mapping list.

Change-Id: I44b6afc03dcf062053b348a7b84462e324c8af50
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2022-05-25 17:28:25 -07:00
Maulik Shah
39e3ffadcf irqchip: qcom-pdc: Add PDC version 3.2 support
PDC version 3.2 has irq enable within irq config register whereas
older PDC versions have separate enable bank.

Add support to enable/disable irq in relevant registers.

Change-Id: I8b4430602bbf28f16538b52d99a3255be616fcc1
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-25 15:12:31 +05:30
Xubin Bai
81ae60dad3 modules.list.msm.pineapple: Add videocc clock module
Add videocc-pineapple.ko in modules.list.msm.pineapple. This ensures
that the videocc-pineapple module is loaded automatically from the
first stage RAM disk image during Linux kernel boot up.

Change-Id: I3f0d85e4b01b84153c3cecb9acf1eaca8fe08ebc
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-05-24 23:49:59 -07:00
Xubin Bai
e328409bb2 defconfig: pineapple-gki: Enable video clock driver
Enable video clock driver to support video cc clocks for clients.

Change-Id: Ie79e4ab45feecc3cc5900494de3e2c7904e187ef
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-05-24 23:49:59 -07:00
Xubin Bai
516ff21c86 modules.list.msm.pineapple: Add interconnect modules
Add interconnect related modules to module load config
file for pineapple.

Change-Id: If70572b8dde3e622a4c7188a4ac5bc749c1ce0a1
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-24 17:57:36 -07:00
Android Build Coastguard Worker
48dc6798bf Snap for 8637953 from 04b5989e92 to android-mainline-keystone-qcom-release
Change-Id: I6029b1af3da4daa69d8f7ab268649c3426dd5450
2022-05-25 00:00:28 +00:00
qctecmdr
58dfec1dca Merge "modules.list.msm.pineapple: Add cmd-db, qcom_rpmh and qcom-pdc modules" 2022-05-24 15:59:13 -07:00
David Collins
4e2be1934f thermal: qcom-spmi-temp-alarm: add support for LITE PMIC peripherals
Add support for TEMP_ALARM LITE PMIC peripherals.  This subtype
utilizes a pair of registers to configure a warning interrupt
threshold temperature and an automatic hardware shutdown
threshold temperature.

Change-Id: I9a225eb6f3471d834ef0fa99c2d87361eb14759d
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2022-05-24 11:12:47 -07:00
David Collins
733bf2f5f0 thermal: qcom-spmi-temp-alarm: add support for GEN2 rev 2 PMIC peripherals
Add support for TEMP_ALARM GEN2 PMIC peripherals with digital
major revision 2.  This revision utilizes individual registers
to set the threshold temperature for over-temperature stages 1,
2, and 3 instead of a single register to specify a set of
thresholds.

Change-Id: Ie03ed548f6f1ec4abfde37cd931d02a5f4ec17ee
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-24 11:12:38 -07:00
David Collins
83a20e3a60 thermal: qcom-spmi-temp-alarm: enable stage 2 shutdown when required
Certain TEMP_ALARM GEN2 PMIC peripherals need over-temperature
stage 2 automatic PMIC partial shutdown to be enabled in order to
avoid repeated faults in the event of reaching over-temperature
stage 3.  Modify the stage 2 shutdown control logic to ensure that
stage 2 shutdown is enabled on all affected PMICs.  Read the
digital major and minor revision registers to identify these
PMICs.

Change-Id: Ieefbd4c9478f99d407da5ff12df593d56cbc1092
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-24 11:12:29 -07:00
David Collins
c50741fb59 input: misc: pm8941-pwrkey: avoid potential null pointer dereference
Add a null check for the pwrkey->data pointer after it is assigned
in pm8941_pwrkey_probe().  This avoids a potential null pointer
dereference when pwrkey->data->has_pon_pbs is accessed later in
the probe function.

Change-Id: I589c4851e544d79a1863fd110b32a0b45ac03caf
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-24 10:53:06 -07:00
David Collins
04809156b5 input: misc: pm8941-pwrkey: simulate missed key press events
The status of the keys connected to the KPDPWR_N and RESIN_N pins
is identified by reading corresponding bits in the interrupt real
time status register.  If the status has changed by the time that
the interrupt is handled then a press event will be missed.

Maintain a last known status variable to find unbalanced release
events and simulate press events for each accordingly.

Change-Id: I180469a7048a40e490f21d0f8b9504136131e75b
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-24 10:52:51 -07:00
David Collins
90e0e5b9ed input: misc: pm8941-pwrkey: add software key press debouncing support
On certain PMICs, an unexpected assertion of KPDPWR_DEB (the
positive logic hardware debounced power key signal) may be seen
during the falling edge of KPDPWR_N (i.e. a power key press) when
it occurs close to the rising edge of SLEEP_CLK.  This then
triggers a spurious KPDPWR interrupt.

Handle this issue by adding software debouncing support to ignore
key events that occur within the hardware debounce delay after the
most recent key release event.

Change-Id: Ifa3809935c01aab9078ba2302397bc9ebf390021
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-24 10:52:27 -07:00
Maulik Shah
b83e55aa52 pinctrl: qcom: Add GPIO to PDC wakeirq map for pineapple
Add GPIO to PDC wakeup irq map.

Change-Id: I683096ced14c0330949160e3cedd7f80eb167ecf
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-24 08:23:29 -07:00
qctecmdr
77476f2f2c Merge "soc: qcom: Add support to read APSS subsystem stats from smem" 2022-05-24 01:36:17 -07:00
Maulik Shah
b8b6269188 modules.list.msm.pineapple: Add cmd-db, qcom_rpmh and qcom-pdc modules
Add cmd-db, qcom_rpmh and qcom-pdc to modules list.

Change-Id: Icf2504c089bee5bb24eb4300c02227ba19ef0ead
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-24 01:33:53 -07:00
qctecmdr
f6c4adf07d Merge "power: supply: qti_battery_charger: add an error log in wireless_fw_update()" 2022-05-23 19:58:03 -07:00
qctecmdr
5642e3bac8 Merge "power: supply: qti_battery_charger: Fix debugfs_create_bool() usage" 2022-05-23 17:42:40 -07:00
Abhijeet Dharmapurikar
8b067b6672 mfd: qcom-spmi-pmic: instantiate pmic peripherals at arch_initcall
The spmi_devices spawn platform devices for pmic peripherals. Some of these
devices are required early on in the boot process.

Initialize the driver at arch_initcall to avoid unnecessary probe
deferrals.

Change-Id: I38474bedcb284ed5a7df1ec8d26f680787f2c074
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
[collinsd@codeaurora.org: add module exit function]
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-23 17:12:31 -07:00
David Collins
6ab7b0828a mfd: qcom-spmi-pmic: add support for slow SPMI busses
Add device tree support for configuring if mutexes or spinlocks
should be used in the regmap configuration (i.e. the fast_io
element value).  This ensures that qcom-spmi-pmic slave devices
can be used with SPMI busses that must operate in process
context.

Change-Id: I3abdee36935457db497ce6ff2a242755fc3aff90
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2022-05-23 17:11:30 -07:00
qctecmdr
58d5ab09a8 Merge "power: supply: qti_battery_charger: Handle BC_SHUTDOWN_NOTIFY response" 2022-05-23 15:25:30 -07:00
qctecmdr
05e20cc252 Merge "mem-buf: Port the mem-buf headers from msm-5.15" 2022-05-23 09:45:16 -07:00
Blagovest Kolenichev
04b5989e92 Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev
* keystone/mirror-android-mainline:
  ANDROID: Creating boot-img.tar.gz for aarch64
  ANDROID: kernel: fix debug_kinfo set twice crash issue
  Revert "PCI: aardvark: Rewrite IRQ code to chained IRQ handler"
  Linux 5.18-rc7
  gfs2: Stop using glock holder auto-demotion for now
  gfs2: buffered write prefaulting
  gfs2: Align read and write chunks to the page cache
  gfs2: Pull return value test out of should_fault_in_pages
  gfs2: Clean up use of fault_in_iov_iter_{read,write}able
  gfs2: Variable rename
  gfs2: Fix filesystem block deallocation for short writes
  drm/vmwgfx: Disable command buffers on svga3 without gbobjects
  drm/vmwgfx: Initialize drm_mode_fb_cmd2
  drm/vmwgfx: Fix fencing on SVGAv3
  x86/mm: Fix marking of unused sub-pmd ranges
  tls: Fix context leak on tls_device_down
  net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
  net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
  net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down()
  usb: xhci-mtk: remove bandwidth budget table
  usb: xhci-mtk: fix fs isoc's transfer error
  usb: gadget: fix race when gadget driver register via ioctl
  usb: typec: tcpci_mt6360: Update for BMC PHY setting
  arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
  mlxsw: Avoid warning during ip6gre device removal
  arm64: cpufeature: remove duplicate ID_AA64ISAR2_EL1 entry
  drm/vc4: hdmi: Fix build error for implicit function declaration
  net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral
  net: ethernet: mediatek: ppe: fix wrong size passed to memset()
  Bluetooth: Fix the creation of hdev->name
  sched/tracing: Append prev_state to tp args instead
  i40e: i40e_main: fix a missing check on list iterator
  net/sched: act_pedit: really ensure the skb is writable
  thermal: int340x: Mode setting with new OS handshake
  drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2)
  Revert "drm/amd/pm: keep the BACO feature enabled for suspend"
  KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context()
  s390/lcs: fix variable dereferenced before check
  s390/ctcm: fix potential memory leak
  s390/ctcm: fix variable dereferenced before check
  net: atlantic: verify hw_head_ lies within TX buffer ring
  net: atlantic: add check for MAX_SKB_FRAGS
  net: atlantic: reduce scope of is_rsc_complete
  net: atlantic: fix "frag[0] not initialized"
  net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
  scsi: lpfc: Correct BDE DMA address assignment for GEN_REQ_WQE
  scsi: lpfc: Fix split code for FLOGI on FCoE
  genirq: Remove WARN_ON_ONCE() in generic_handle_domain_irq()
  net: phy: micrel: Fix incorrect variable type in micrel
  ANDROID: GKI: Document GKI KUnit differences
  ANDROID: GKI: Return ERROR value on KUnit load fail
  Documentation/process: Update ARM contact for embargoed hardware issues
  MAINTAINERS: Add James and Mike as Arm64 performance events reviewers
  udf: Avoid using stale lengthOfImpUse
  virtio: fix virtio transitional ids
  arm64: vdso: fix makefile dependency on vdso.so
  decnet: Use container_of() for struct dn_neigh casts
  writeback: Avoid skipping inode writeback
  dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
  net: atlantic: always deep reset on pm op, fixing up my null deref regression
  ceph: check folio PG_private bit instead of folio->private
  ceph: fix setting of xattrs on async created inodes
  net: dsa: flush switchdev workqueue on bridge join error path
  net: phy: Fix race condition on link status change
  MAINTAINERS: add a mailing list for DAMON development
  selftests: vm: Makefile: rename TARGETS to VMTARGETS
  mm/kfence: reset PG_slab and memcg_data before freeing __kfence_pool
  mailmap: add entry for martyna.szapar-mudlaw@intel.com
  arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
  procfs: prevent unprivileged processes accessing fdinfo dir
  mm: mremap: fix sign for EFAULT error return value
  hwmon: (ltq-cputemp) restrict it to SOC_XWAY
  dim: initialize all struct fields
  ptp: ocp: Use DIV64_U64_ROUND_UP for rounding.
  ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
  ionic: fix missing pci_release_regions() on error in ionic_probe()
  nfs: fix broken handling of the softreval mount option
  slimbus: qcom: Fix IRQ check in qcom_slim_probe
  rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition
  nl80211: fix locking in nl80211_set_tx_bitrate_mask()
  mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
  mac80211_hwsim: fix RCU protected chanctx access
  mailmap: update Kalle Valo's email
  fanotify: do not allow setting dirent events in mask of non-dir
  selftests net: add UDP GRO fraglist + bpf self-tests
  net: fix wrong network header length
  net: sfc: fix memory leak due to ptp channel
  drm/i915: Fix race in __i915_vma_remove_closed
  tools headers UAPI: Sync linux/kvm.h with the kernel sources
  perf tests: Fix coresight `perf test` failure.
  perf bench: Fix two numa NDEBUG warnings
  Linux 5.18-rc6
  Revert "parisc: Increase parisc_cache_flush_threshold setting"
  parisc: Mark cr16 clock unstable on all SMP machines
  parisc: Fix typos in comments
  parisc: Change MAX_ADDRESS to become unsigned long long
  parisc: Merge model and model name into one line in /proc/cpuinfo
  parisc: Re-enable GENERIC_CPU_DEVICES for !SMP
  parisc: Update 32- and 64-bit defconfigs
  parisc: Only list existing CPUs in cpu_possible_mask
  Revert "parisc: Fix patch code locking and flushing"
  Revert "parisc: Mark sched_clock unstable only if clocks are not syncronized"
  Revert "parisc: Mark cr16 CPU clocksource unstable on all SMP machines"
  blk-mq: remove the error_count from struct request
  ataflop: use a statically allocated error counters
  floppy: use a statically allocated error counter
  SUNRPC: Ensure that the gssproxy client can start in a connected state
  Revert "SUNRPC: Ensure gss-proxy connects on setup"
  fbdev: efifb: Fix a use-after-free due early fb_info cleanup
  net: chelsio: cxgb4: Avoid potential negative array offset
  netlink: do not reset transport header in netlink_recvmsg()
  drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
  drm/nouveau/tegra: Stop using iommu_present()
  ipv4: drop dst in multicast routing path
  ice: fix PTP stale Tx timestamps cleanup
  ice: clear stale Tx queue settings before configuring
  ice: Fix race during aux device (un)plugging
  KVM: VMX: Exit to userspace if vCPU has injected exception and invalid state
  KVM: SEV: Mark nested locking of vcpu->lock
  ANDROID: GKI: Add ‘kunit.enable’ module parameter
  gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
  drm/amd/display: undo clearing of z10 related function pointers
  drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
  platform/surface: aggregator: Fix initialization order when compiling as builtin module
  platform/surface: gpe: Add support for Surface Pro 8
  platform/x86/intel: Fix 'rmmod pmt_telemetry' panic
  platform/x86: thinkpad_acpi: Correct dual fan probe
  platform/x86: thinkpad_acpi: Add a s2idle resume quirk for a number of laptops
  platform/x86: thinkpad_acpi: Convert btusb DMI list to quirks
  Documentation/process: Add embargoed HW contact for Ampere Computing
  Documentation/process: Make groups alphabetical and use tabs consistently
  firmware_loader: use kernel credentials when reading firmware
  fbdev: vesafb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: efifb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: simplefb: Cleanup fb_info in .fb_destroy rather than .remove
  fbdev: Prevent possible use-after-free in fb_release()
  Revert "fbdev: Make fb_release() return -ENODEV if fbdev was unregistered"
  powerpc/papr_scm: Fix buffer overflow issue with CONFIG_FORTIFY_SOURCE
  net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters
  net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0
  net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups
  net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted
  net: mscc: ocelot: mark traps with a bool instead of keeping them in a list
  s390/dasd: Use kzalloc instead of kmalloc/memset
  s390/dasd: Fix read inconsistency for ESE DASD devices
  s390/dasd: Fix read for ESE with blksize < 4k
  s390/dasd: prevent double format of tracks for ESE devices
  s390/dasd: fix data corruption for ESE devices
  MAINTAINERS: add missing files for bonding definition
  net: Fix features skip in for_each_netdev_feature()
  selftests: add ping test with ping_group_range tuned
  ping: fix address binding wrt vrf
  net: phy: micrel: Pass .probe for KS8737
  net: phy: micrel: Do not use kszphy_suspend/resume for KSZ8061
  net: rds: use maybe_get_net() when acquiring refcount on TCP sockets
  fsl_lpuart: Don't enable interrupts too early
  tty: n_gsm: fix invalid gsmtty_write_room() result
  tty: n_gsm: fix mux activation issues in gsm_config()
  tty: n_gsm: fix buffer over-read in gsm_dlci_data()
  serial: 8250_mtk: Fix register address for XON/XOFF character
  serial: 8250_mtk: Make sure to select the right FEATURE_SEL
  serial: 8250_mtk: Fix UART_EFR register address
  tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
  usb: gadget: uvc: allow for application to cleanly shutdown
  usb: typec: tcpci: Don't skip cleanup in .remove() on error
  usb: cdc-wdm: fix reading stuck on device close
  btrfs: sysfs: export the balance paused state of exclusive operation
  btrfs: fix assertion failure when logging directory key range item
  btrfs: zoned: activate block group properly on unlimited active zone device
  btrfs: zoned: move non-changing condition check out of the loop
  btrfs: force v2 space cache usage for subpage mount
  cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
  USB: serial: qcserial: add support for Sierra Wireless EM7590
  gpio: visconti: Fix fwnode of GPIO IRQ
  USB: serial: option: add Fibocom MA510 modem
  USB: serial: option: add Fibocom L610 modem
  USB: serial: pl2303: add device id for HP LM930 Display
  genirq: Synchronize interrupt thread startup
  MAINTAINERS: update the GPIO git tree entry
  NFC: netlink: fix sleep in atomic bug when firmware download timeout
  mm/readahead: Fix readahead with large folios
  block: Do not call folio_next() on an unreferenced folio
  selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer
  tcp: drop the hash_32() part from the index calculation
  tcp: increase source port perturb table to 2^16
  tcp: dynamically allocate the perturb table used by source ports
  tcp: add small random increments to the source port
  tcp: resalt the secret every 10 seconds
  tcp: use different parts of the port_offset for index and offset
  secure_seq: use the 64 bits of the siphash for port offset calculation
  wireguard: selftests: set panic_on_warn=1 from cmdline
  wireguard: selftests: bump package deps
  wireguard: selftests: restore support for ccache
  wireguard: selftests: use newer toolchains to fill out architectures
  wireguard: selftests: limit parallelism to $(nproc) tests at once
  wireguard: selftests: make routing loop test non-fatal
  x86/fpu: Prevent FPU state corruption
  RDMA/rxe: Change mcg_lock to a _bh lock
  RDMA/rxe: Do not call  dev_mc_add/del() under a spinlock
  RDMA/siw: Fix a condition race issue in MPA request processing
  ANDROID: GKI: Disable KUnit built-in testing
  dt-bindings: pci: apple,pcie: Drop max-link-speed from example
  dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
  dt-bindings: pinctrl: Allow values for drive-push-pull and drive-open-drain
  MAINTAINERS: Update Josh Poimboeuf's email address
  drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
  drm/amdgpu: do not use passthrough mode in Xen dom0
  iommu: Make sysfs robust for non-API groups
  powerpc/vdso: Fix incorrect CFI in gettimeofday.S
  powerpc/pseries/vas: Use QoS credits from the userspace
  mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
  mmc: sunxi-mmc: Fix DMA descriptors allocated above 32 bits
  mac80211: Reset MBSSID parameters upon connection
  cfg80211: retrieve S1G operating channel number
  nl80211: validate S1G channel width
  mac80211: fix rx reordering with non explicit / psmp ack policy
  iommu/dart: Add missing module owner to ops structure
  drm/bridge: ite-it6505: add missing Kconfig option select
  net/mlx5: Fix matching on inner TTC
  net/mlx5: Avoid double clear or set of sync reset requested
  net/mlx5: Fix deadlock in sync reset flow
  net/mlx5e: Fix trust state reset in reload
  net/mlx5e: Avoid checking offload capability in post_parse action
  net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release
  net/mlx5e: TC, fix decap fallback to uplink when int port not supported
  net/mlx5e: TC, Fix ct_clear overwriting ct action metadata
  net/mlx5e: Lag, Don't skip fib events on current dst
  net/mlx5e: Lag, Fix fib_info pointer assignment
  net/mlx5e: Lag, Fix use-after-free in fib event handler
  net/mlx5e: Fix the calling of update_buffer_lossy() API
  net/mlx5e: Don't match double-vlan packets if cvlan is not set
  net/mlx5: Fix slab-out-of-bounds while reading resource dump menu
  net/mlx5e: Fix wrong source vport matching on tunnel rule
  bnxt_en: Fix unnecessary dropping of RX packets
  bnxt_en: Initiallize bp->ptp_lock first before using it
  bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
  smsc911x: allow using IRQ0
  net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT
  PCI: qcom: Remove ddrss_sf_tbu clock from SC8180X
  interconnect: Restore sync state by ignoring ipa-virt in provider count
  fbdev: Make fb_release() return -ENODEV if fbdev was unregistered
  hwmon: (tmp401) Add OF device ID table
  KVM: s390: vsie/gmap: reduce gmap_rmap overhead
  kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
  KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
  net: rds: acquire refcount on TCP sockets
  KVM: x86/mmu: Use atomic XCHG to write TDP MMU SPTEs with volatile bits
  KVM: x86/mmu: Move shadow-present check out of spte_has_volatile_bits()
  KVM: x86/mmu: Don't treat fully writable SPTEs as volatile (modulo A/D)
  selftests/net: so_txtime: usage(): fix documentation of default clock
  selftests/net: so_txtime: fix parsing of start time stamp on 32 bit systems
  selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
  net: emaclite: Add error handling for of_address_to_resource()
  net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
  scsi: qla2xxx: Fix missed DMA unmap for aborted commands
  scsi: scsi_dh_alua: Properly handle the ALUA transitioning state
  KVM: s390: Fix lockdep issue in vm memop
  Revert "block: release rq qos structures for queue without disk"
  RDMA/irdma: Fix possible crash due to NULL netdev in notifier
  RDMA/irdma: Reduce iWARP QP destroy time
  RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state
  io_uring: assign non-fixed early for async work
  gpio: mvebu: drop pwm base assignment
  gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
  net: dsa: b53: convert to phylink_pcs
  pci_irq_vector() can't be used in atomic context any longer. This conflicts with the usage of this function in nic_mbx_intr_handler().
  nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
  nfc: replace improper check device_is_registered() in netlink related functions
  net: stmmac: disable Split Header (SPH) for Intel platforms
  mm: Fix PASID use-after-free issue
  mld: respect RCU rules in ip6_mc_source() and ip6_mc_msfilter()
  net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
  rxrpc: Enable IPv6 checksums on transport socket
  net: cpsw: add missing of_node_put() in cpsw_probe_dt()
  net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
  net: dsa: mt7530: add missing of_node_put() in mt7530_setup()
  net: dsa: ksz9477: port mirror sniffing limited to one port
  hinic: fix bug of wq out of bound access
  net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller
  net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
  selftests/net/forwarding: add missing tests to Makefile
  selftests/net: add missing tests to Makefile
  Revert "SUNRPC: attempt AF_LOCAL connect on setup"
  selftests/seccomp: Don't call read() on TTY from background pgrp
  SUNRPC: Ensure gss-proxy connects on setup
  ipmi:ipmi_ipmb: Fix null-ptr-deref in ipmi_unregister_smi()
  ipmi: When handling send message responses, don't process the message
  RISC-V: relocate DTB if it's outside memory region
  MIPS: Fix CP0 counter erratum detection for R4k CPUs
  SUNRPC: Ensure timely close of disconnected AF_LOCAL sockets
  can: grcan: only use the NAPI poll budget for RX
  can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
  can: grcan: use ofdev->dev when allocating DMA memory
  can: grcan: grcan_close(): fix deadlock
  can: isotp: remove re-binding of bound socket
  mm/hwpoison: use pr_err() instead of dump_page() in get_any_page()
  mm/huge_memory: do not overkill when splitting huge_zero_page
  Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()"
  ath11k: reduce the wait time of 11d scan and hw scan while add interface
  timekeeping: Mark NMI safe time accessors as notrace
  SUNRPC: Don't leak sockets in xs_local_connect()
  iommu/dart: check return value after calling platform_get_resource()
  iommu/vt-d: Drop stop marker messages
  iommu/vt-d: Calculate mask for non-aligned flushes
  btrfs: skip compression property for anything other than files and dirs
  btrfs: do not BUG_ON() on failure to update inode when setting xattr
  btrfs: always log symlinks in full mode
  btrfs: do not allow compression on nodatacow files
  btrfs: export a helper for compression hard check
  dt-bindings: leds-mt6360: Drop redundant 'unevaluatedProperties'
  dt-bindings: ufs: cdns,ufshc: Add power-domains
  drm/msm/dp: remove fail safe mode related code
  ASoC: SOF: Fix NULL pointer exception in sof_pci_probe callback
  hwmon: (pmbus) delta-ahe50dc-fan: work around hardware quirk
  s390: disable -Warray-bounds
  ASoC: ops: Validate input values in snd_soc_put_volsw_range()
  mmc: core: Set HS clock speed before sending HS CMD13
  NFSv4: Don't invalidate inode attributes on delegation return
  hwmon: (pmbus) disable PEC if not enabled
  ASoC: dmaengine: Restore NULL prepare_slave_config() callback
  ASoC: atmel: mchp-pdmc: set prepare_slave_config
  ASoC: max98090: Generate notifications on changes for custom control
  ASoC: max98090: Reject invalid values in custom control put()
  ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
  ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
  firewire: core: extend card->lock in fw_core_handle_bus_reset
  firewire: remove check of list iterator against head past the loop body
  firewire: fix potential uaf in outbound_phy_packet_callback()
  MAINTAINERS: update iwlwifi driver maintainer
  iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
  SUNRPC release the transport of a relocated task with an assigned transport
  ASoC: rt9120: Correct the reg 0x09 size to one byte
  iommu: arm-smmu: disable large page mappings for Nvidia arm-smmu
  ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops
  ALSA: hda/realtek: Fix mute led issue on thinkpad with cs35l41 s-codec
  MAINTAINERS: Update email address for John Stultz
  futex: MAINTAINERS, .mailmap: Update André's email address
  ASoC: meson: axg-card: Fix nonatomic links
  ASoC: meson: axg-tdm-interface: Fix formatters in trigger"
  ASoC: soc-ops: fix error handling
  ASoC: meson: Fix event generation for G12A tohdmi mux
  ASoC: meson: Fix event generation for AUI CODEC mux
  ASoC: meson: Fix event generation for AUI ACODEC mux
  ASoC: da7219: Fix change notifications for tone generator frequency
  RDMA/rxe: Recheck the MR in when generating a READ reply
  ASoC: simple-card-utils: fix sysclk shutdown
  iommu/arm-smmu-v3: Fix size calculation in arm_smmu_mm_invalidate_range()
  RDMA/irdma: Fix deadlock in irdma_cleanup_cm_core()
  ASoC: wm8958: Fix change notifications for DSP controls
  hwmon: (f71882fg) Fix negative temperature
  batman-adv: Don't skb_split skbuffs with frag_list
  dt-bindings: hwmon: ti,tmp421: Fix type for 'ti,n-factor'
  RDMA/rxe: Fix "Replace mr by rkey in responder resources"
  PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
  hwmon: (adt7470) Fix warning on module removal
  hwmon: (asus_wmi_sensors) Fix CROSSHAIR VI HERO name
  hwmon: (xdpe12284) Fix build warning seen if CONFIG_SENSORS_XDPE122_REGULATOR is disabled

Bug: 213120696
Bug: 222078981
Bug: 231160059
Bug: 231160619
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1982
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2008
Change-Id: If1bc3b843a5b634d2588194774c581c96431247a
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
Signed-off-by: Blagovest Kolenichev <quic_c_bkolen@quicinc.com>
2022-05-23 15:55:11 +00:00
David Collins
6d41e3c4ee regulator: debug-regulator: replace regulator_lock() and regulator_unlock()
The regulator_lock() and regulator_unlock() functions were unexported in
commit 4c9db39361 ("regulator: unexport regulator_lock/unlock()").
The debug-regulator library uses these calls to ensure mutual
exclusion while reading regulator device and regulator consumer
states.  It does not rely upon the per-process reentrancy
provided by regulator_lock() and regulator_unlock().  Therefore,
it is safe to replace the calls with ww_mutex_lock() and
ww_mutex_unlock() respectively.  Replace these calls.

Change-Id: I2dc337d5a126191cce8d2ce707ad910770ab2e1e
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-20 18:01:59 -07:00