Commit Graph

1094451 Commits

Author SHA1 Message Date
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
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
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
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
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
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
qctecmdr
ec8afe7e56 Merge "defconfig: pineapple-gki: Enable camcc driver" 2022-05-20 15:48:36 -07:00
Chris Goldsworthy
062d07cb6f mem-buf: Port the mem-buf headers from msm-5.15
Port the mem-buf headers from 5.15 as of commit f899231bc38b ("Merge
"msm: adsprpc: Handle length and variable scope""). Re-add mem-buf
references in mem-buf-exporter.h.

Change-Id: I89dffcaff907a6b774bd06cfada883414636dcbe
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-05-20 15:38:16 -07:00
Bowgo Tsai
3361d46a39 ANDROID: Creating boot-img.tar.gz for aarch64
The boot-img.tar.gz includes boot.img and boot-lz4.img,
with kernel image: Image and Image.lz4, respectively.

Bug: 222078981
Test: BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
Signed-off-by: Bowgo Tsai <bowgotsai@google.com>
Change-Id: I7f929a73967ce87d0d653d0b9926198cfeedc973
2022-05-20 19:13:21 +08:00
Tushar Nimkar
1e17780a45 soc: qcom: Add support to read APSS subsystem stats from smem
The trustzone will write stats into smem. Add support to read the same
from smem and output to debugfs.

Change-Id: I7bf102a43f1a7ae41c0eeb6e8031c38e72fcef64
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-20 00:20:14 -07:00
Tushar Nimkar
6269abd251 soc: qcom: qcom_stats: Create debugfs files for subsystems
Currently qcom_stats driver creates subsystem files in debugfs only if
qcom_smem_get() returns item pointer however this is true when subsystem
allocates particular smem item. If the qcom_stats driver gets probed
before all subsystems allocates smem then we will never see the same
subsystem stats entry in debugfs.

This change is to remove the dependency of other subsystems allocating
item in smem and instead create debugfs files for all present subsystems.

Change-Id: I199acbd7a6164c7c063e0f6ff0c880dcc9fd59e5
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-20 00:19:55 -07:00
Xubin Bai
cb052547a3 defconfig: pineapple-gki: Enable pineapple interconnect driver
Eable pineapple interconnect driver so that consumers are
able to obtain their path handles for voting required bandwidths.

Change-Id: I7377409769d435740efbf2f89e0a8dcfba9a9106
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-19 22:41:26 -07:00
Xubin Bai
4b1895f812 interconnect: qcom: Add pineapple interconnect provider driver
Add Qualcomm Pineapple specific provider driver using the
interconnect framework.

Change-Id: I85825b74be60613d182f8057d1616903be2ff123
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-19 22:40:35 -07:00
Xubin Bai
64974c3bcd dt-bindings: interconnect: Add endpoint IDs for Pineapple
Add master and slave ID constants for all Qualcomm Technologies, Inc.
pineapple interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: If29c402ec9129bdde3671ef44c9d525957ff8078
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-19 21:36:48 -07:00
qctecmdr
ad372344c0 Merge "clk: qcom: camcc-pineapple: Add initial camcc driver" 2022-05-19 17:08:57 -07:00
qctecmdr
ee1ee6f7da Merge "soc: qcom: Add support to read ddr_stats" 2022-05-19 14:34:16 -07:00
qctecmdr
b664d26496 Merge "build.config: pineapple: Enable ABL image generation" 2022-05-19 11:16:20 -07:00
Maulik Shah
a402311df4 soc: qcom: Add support to read ddr_stats
This change adds changes to read ddr statistic which can be read with
below command.

cat sys/kernel/debug/qcom_stats/ddr_stats

the output for this will be printed as,

LPM 1:  Name:0xd4       count:0 Duration (ticks):0 (~0%)
LPM 2:  Name:0xd3       count:0 Duration (ticks):0 (~0%)
LPM 3:  Name:0x11       count:0 Duration (ticks):0 (~0%)
LPM 4:  Name:0xd0       count:0 Duration (ticks):0 (~0%)
Freq 1555Mhz:   CP IDX:8        count:2 Duration (ticks):9959909 (~3%)
Freq 1708Mhz:   CP IDX:9        count:3 Duration (ticks):248315666 (~96%).

Change-Id: I3c3eb3dc651d04c0fff2ca24078ea22787e505b7
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-05-19 11:06:49 +05:30
Georgi Djakov
fcd2ba62ee interconnect: Add debugfs test code
Allow setting constraints from userspace for more convenient testing.

Example usage:
	cd /sys/kernel/debug/interconnect-test/
	echo -n 3 > src_port
	echo -n 53 > dst_port
	echo -n 1 > get
	echo -n 80000000 > avg_bw
	echo -n 90000000 > peak_bw
	echo -n 1 > commit

Change-Id: I8a47c45a8060607470edc870b1eb4245bb7ffc54
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Git-commit: 8b9e75c3e826f6a719ff02fa409f6b9c92aee66c
Git-repo: https://git.linaro.org/people/georgi.djakov/linux.git
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2022-05-18 21:35:02 -07:00
qctecmdr
7ac860672f Merge "power: supply: qti_battery_charger: Fix FCC configuration" 2022-05-18 17:12:03 -07:00
qctecmdr
74f608451c Merge "Makefile: devicetree: Introduce support for out-of-tree dtbs" 2022-05-18 14:52:05 -07:00
Subbaraman Narayanamurthy
652a68d2f2 soc: qcom: add QTI charger-ulog-glink driver
Qualcomm Technologies, Inc. charger-ulog-glink driver helps to
get ulogs from charging and gauging stack by communicating with
charger firmware running on the remote subsystem (e.g. DSP) over
PMIC Glink.

To get charger ulogs runtime,

 cd /sys/kernel/debug/charger_ulog
 echo 3 > level
 echo 0x20000 > category
 echo 1 > enable
 cat /sys/kernel/debug/ipc_logging/charger_ulog/log

To get charger init ulogs once,

 cd /sys/kernel/debug/charger_ulog
 echo 5 > level
 echo 0x100000000 > category
 echo 1 > enable
 cat /sys/kernel/debug/ipc_logging/charger_init_ulog/log

Minimum allowed value for time_ms is 500 ms and is set to 1000 ms
by default.

Change-Id: I64a4cdd9d50f7f683b8da54ab7fd6b4b7c7943b3
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2022-05-18 12:04:18 -07:00
Subbaraman Narayanamurthy
55675aeb1b soc: qcom: altmode-glink: add ipc logging support
Add ipc logging support so that the essential log information can
be stored and looked upon especially when dynamic_debug log
filter is not set. This is useful for debugging.

Change-Id: I33c8eb1733ab1ecc541abb86f4f351ce9c8ff394
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2022-05-18 12:03:06 -07:00
Xubin Bai
d6a51201d9 defconfig: pineapple-gki: Enable camcc driver
Enable the camcc driver for Pineapple.

Change-Id: I5209a742886a9df48c9d9e11eddf406b15eff34a
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-18 01:19:58 -07:00
Xubin Bai
1b4f1e3569 clk: qcom: camcc-pineapple: Add initial camcc driver
Add the camcc driver for Pineapple, which provides clocks
for the camera subsystem.

Change-Id: I27a9fbfc1e5ecb2e6e8c95e59aea7e2cc7f637cb
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-18 00:58:16 -07:00
Greg Kroah-Hartman
b7aacfc4dd Merge 210e04ff76 ("Merge tag 'pci-v5.18-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci") into android-mainline
Steps on the way to 5.18-final

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Idccb6c5c43d29b9b44b24b1e537c5bb521f6f5f4
2022-05-18 09:33:56 +02:00
qctecmdr
3e4fe509e1 Merge "drivers: qcom: rpmh-rsc: Add hibernation support" 2022-05-18 00:18:34 -07:00
Linus Torvalds
210e04ff76 pci-v5.18-fixes-1
-----BEGIN PGP SIGNATURE-----
 
 iQJIBAABCgAyFiEEgMe7l+5h9hnxdsnuWYigwDrT+vwFAmKEBFkUHGJoZWxnYWFz
 QGdvb2dsZS5jb20ACgkQWYigwDrT+vx3Qw/+LrVFKL6YvTJKgQf3dKiTkTXwoOiD
 AWnLUEB3dSh1RSJh42o5NDFerqWR4uKIJReOZ1SFWC/AGBorxsYtmmKbTrs6CZ5H
 x1jixWxI773XWiye6c8GlPwsdqhw6Zm6yjVGNuh9NX6ma0Mfw2wHWGwu0nrlTNeO
 VEh6US2McrnhFlqVmIEGR6op14JP/10haLPW1uy4a3mDjGltpprXiFjLug/4amrU
 rEl7H5bNl0GVDWl/WiCBB+ouS4QgK+krWENH63YyDlXdSPQwEjhNTiff/NDM/Hzc
 MW7sJgcOxS6mU6TbKM+oQ3aoewph8TvC3wN56VXncfwALVpkp1qlDBeNYkapecBO
 qO4nTPyL0nwHvLon62D+p2QFjlBq1FJM0jrCB4vXV4PwPux9TZG1UjaiMXrIuJMb
 3gXYtxiiSZjWat+qhnRsNiyNu5Dtvcctd9YIUtx2LLvEgAB4CeC66mBIt6qh5QZv
 j39ITKJGmDPUmGOnEbtvS6knmWOUQYGFgiUjSgX1ODQ9LYR9xJb3TheTkv257a2l
 t3kgHzXZO5cebqAu444N1f6NeRu6rEU9OiR9HQBfEDfp9+cgDjDltHp2KlmS968o
 xY2pn+neC+w4gMg3CjIdWu5x4yfZ0OFeCzXtWewqNX18pljwvKGjKCRUF5vosYdd
 Q3KJu8/CuGkV9MU=
 =5giZ
 -----END PGP SIGNATURE-----

Merge tag 'pci-v5.18-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci

Pull PCI fixes from Bjorn Helgaas:

 - Avoid putting Elo i2 PCIe Ports in D3cold because downstream devices
   are inaccessible after going back to D0 (Rafael J. Wysocki)

 - Qualcomm SM8250 has a ddrss_sf_tbu clock but SC8180X does not; make a
   SC8180X-specific config without the clock so it probes correctly
   (Bjorn Andersson)

 - Revert aardvark chained IRQ handler rewrite because it broke
   interrupt affinity (Pali Rohár)

* tag 'pci-v5.18-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
  Revert "PCI: aardvark: Rewrite IRQ code to chained IRQ handler"
  PCI: qcom: Remove ddrss_sf_tbu clock from SC8180X
  PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
2022-05-17 13:46:22 -10:00
Linus Torvalds
a1f37cd817 Thermal control fix for 5.18-rc8
Fix up a recent change in the int340x thermal driver that inadvertently
 broke thermal zone handling on some systems (Srinivas Pandruvada).
 -----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCAAwFiEE4fcc61cGeeHD/fCwgsRv/nhiVHEFAmKDzeASHHJqd0Byand5
 c29ja2kubmV0AAoJEILEb/54YlRxnJ8P/ipAdgNInjghu35HdHZYD6SlXxlePoHJ
 TyRN6hEh6Z725SSAhbbIDZKi8bXInqNKDK3N8IXibpCjOq39ZkQngm96mMDeV0Qg
 526MFCdtXIRExNH+9/ZQfJVzXbowewH4j7UybIcXSfDaS67n+k6zGYVxgc6O/4kO
 rdlIwIcwlSFiUYkW3I+ECywzqDEN/Shriu1kyIrsQ+178WOZfTsn7xG1ADHcKFFL
 eX0gKXGEmzWZwENQxGA4/xpHV1wRPHaqgBeFBkQdML56a6r4mBtOdSZ55k/I21RG
 qayesFIsKsIn4h4nKwfg2AA/cUo+sNqPOz/S7pOsOUgFDBLd1EQ51NXf+/IS+pu4
 iAwhPUJ2jizJAk+7CaU1+Q8MCGJFb1hjfpStLYSuV7F5G0nhQPJ2ebeJPL5cEcOD
 aBqhfcDoynsa3gyA9LrRhYxH9qyRkrqRSmoUWyPPTvQfLasTvY4NQu7AwvyWU7oa
 8snNOimP5Kt9FuVmg5aaZFYZb4gtwIE0r9qtR+VFBnwicgt99/NXeX3PnpZ/DEnD
 MtgW5Hwov0rRxA/T1DDp42NHwZH3Q7f0iJTJoaUgjS9zuT/zjWvgcMeFYIjwSX6P
 F4SPh05wLMUFJyI+a4tC+AvqOP9YZ4d0HKOAWAUvbN5nF0Gis1f6hUkq+2Eeg3wK
 UtzCGYvit6/B
 =41e0
 -----END PGP SIGNATURE-----

Merge tag 'thermal-5.18-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fix from Rafael Wysocki:
 "Fix up a recent change in the int340x thermal driver that
  inadvertently broke thermal zone handling on some systems
  (Srinivas Pandruvada)"

* tag 'thermal-5.18-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  thermal: int340x: Mode setting with new OS handshake
2022-05-17 13:40:44 -10:00