Commit Graph

1094694 Commits

Author SHA1 Message Date
qctecmdr
0027140a17 Merge "Merge keystone/android-mainline-keystone-qcom-release.5.18.0 (05713a3) into msm-pineapple" 2022-06-03 16:10:31 -07:00
qctecmdr
c44a67c2ce Merge "mailbox: Add snapshot of MSM QMP driver" 2022-06-03 12:55:07 -07:00
qctecmdr
e9b68da559 Merge "modules.list.msm.pineapple: Add dispcc module" 2022-06-03 12:55:05 -07:00
jianzhou
ad3bc4f6f6 Merge keystone/android-mainline-keystone-qcom-release.5.18.0 (05713a3) into msm-pineapple
* refs/heads/tmp-05713a3:
  ANDROID: Creating boot.img for x86_64 GKI
  Linux 5.18
  afs: Fix afs_getattr() to refetch file status if callback break occurred
  perf session: Fix Intel LBR callstack entries and nr print message
  perf test bpf: Skip test if clang is not present
  perf test session topology: Fix test to skip the test in guest environment
  perf bench numa: Address compiler error on s390
  perf test: Avoid shell test description infinite loop
  perf regs x86: Fix arch__intr_reg_mask() for the hybrid platform
  perf test: Fix "all PMU test" to skip hv_24x7/hv_gpci tests on powerpc
  drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
  i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
  i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
  perf: Fix sys_perf_event_open() race against self
  KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
  KVM: x86: hyper-v: fix type of valid_bank_mask
  KVM: Free new dirty bitmap if creating a new memslot fails
  gpio: mvebu/pwm: Refuse requests with inverted polarity
  gpio: gpio-vf610: do not touch other bits when set the target bit
  perf stat: Fix and validate CPU map inputs in synthetic PERF_RECORD_STAT events
  KVM: eventfd: Fix false positive RCU usage warning
  perf build: Fix check for btf__load_from_kernel_by_id() in libbpf
  selftests: kvm/x86: Verify the pmu event filter matches the correct event
  selftests: kvm/x86: Add the helper function create_pmu_event_filter
  kvm: x86/pmu: Fix the compare function used by the pmu event filter
  scsi: ufs: core: Fix referencing invalid rsp field
  riscv: dts: microchip: fix gpio1 reg property typo
  riscv: dts: sifive: fu540-c000: align dma node name with dtschema
  mmc: core: Fix busy polling for MMC_SEND_OP_COND again
  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap
  net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
  ptp: ocp: change sysfs attr group handling
  selftests: forwarding: fix missing backslash
  Input: ili210x - use one common reset implementation
  Input: ili210x - fix reset timing
  drm/amd: Don't reset dGPUs if the system is going to s2idle
  libceph: fix misleading ceph_osdc_cancel_request() comment
  libceph: fix potential use-after-free on linger ping and resends
  Fix double fget() in vhost_net_set_backend()
  vdpa/mlx5: Use consistent RQT size
  netfilter: nf_tables: disable expression reduction infra
  netfilter: flowtable: move dst_check to packet path
  netfilter: flowtable: fix TCP flow teardown
  net: ftgmac100: Disable hardware checksum on AST2600
  igb: skip phy status check where unavailable
  nfc: pn533: Fix buggy cleanup order
  mptcp: Do TCP fallback on early DSS checksum failure
  mptcp: fix checksum byte order
  ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
  ARM: 9196/1: spectre-bhb: enable for Cortex-A15
  net: af_key: check encryption module availability consistency
  net: af_key: add check for pfkey_broadcast in function pfkey_process
  percpu_ref_init(): clean ->percpu_count_ref on failure
  net/mlx5: Drain fw_reset when removing device
  net/mlx5e: CT: Fix setting flow_source for smfs ct tuples
  net/mlx5e: CT: Fix support for GRE tuples
  net/mlx5e: Remove HW-GRO from reported features
  net/mlx5e: Properly block HW GRO when XDP is enabled
  net/mlx5e: Properly block LRO when XDP is enabled
  net/mlx5e: Block rx-gro-hw feature in switchdev mode
  net/mlx5e: Wrap mlx5e_trap_napi_poll into rcu_read_lock
  net/mlx5: DR, Ignore modify TTL on RX if device doesn't support it
  net/mlx5: Initialize flow steering during driver probe
  net/mlx5: DR, Fix missing flow_source when creating multi-destination FW table
  scsi: target: Fix incorrect use of cpumask_t
  NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
  net/qla3xxx: Fix a test in ql_reset_work()
  selinux: fix bad cleanup on error in hashtab_duplicate()
  drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
  parisc: Fix patch code locking and flushing
  parisc: Rewrite cache flush code for PA8800/PA8900
  parisc: Disable debug code regarding cache flushes in handle_nadtlb_fault()
  clk: at91: generated: consider range when calculating best rate
  audit,io_uring,io-wq: call __audit_uring_exit for dummy contexts
  io_uring: don't attempt to IOPOLL for MSG_RING requests
  ice: Fix interrupt moderation settings getting cleared
  ice: fix possible under reporting of ethtool Tx and Rx statistics
  ice: fix crash when writing timestamp on RX rings
  arm64: mte: Ensure the cleared tags are visible before setting the PTE
  arm64: kexec: load from kimage prior to clobbering
  arm64: paravirt: Use RCU read locks to guard stolen_time
  dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
  net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
  net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
  xfrm: set dst dev to blackhole_netdev instead of loopback_dev in ifdown
  net: systemport: Fix an error handling path in bcm_sysport_probe()
  net: lan966x: Fix assignment of the MAC address
  Revert "clk: sunxi-ng: sun6i-rtc: Add support for H6"
  clk: bcm2835: fix bcm2835_clock_choose_div
  ptp: ocp: have adjtime handle negative delta_ns correctly
  netfilter: nft_flow_offload: fix offload with pppoe + vlan
  net: fix dev_fill_forward_path with pppoe + bridge
  netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices
  netfilter: flowtable: fix excessive hw offload attempts after failure
  net/sched: act_pedit: sanitize shift argument before usage
  ALSA: usb-audio: Restore Rane SL-1 quirk
  ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
  xfrm: fix "disable_policy" flag use when arriving from different devices
  i915/guc/reset: Make __guc_reset_context aware of guilty engines
  drm/i915/dmc: Add MMIO range restrictions
  KVM: arm64: Don't hypercall before EL2 init
  KVM: arm64: vgic-v3: Consistently populate ID_AA64PFR0_EL1.GIC
  can: m_can: remove support for custom bit timing, take #2
  Revert "can: m_can: pci: use custom bit timings for Elkhart Lake"
  net: macb: Increment rx bd head after allocating skb and buffer
  selftests: mptcp: add subflow limits test-cases
  mptcp: fix subflow accounting on close
  pinctrl: sunxi: f1c100s: Fix signal name comment for PA2 SPI pin
  pinctrl: sunxi: fix f1c100s uart2 function
  block/mq-deadline: Set the fifo_time member also if inserting at head
  dma-buf: ensure unique directory name for dmabuf stats
  Revert "tcp/dccp: get rid of inet_twsk_purge()"
  net: ipa: get rid of a duplicate initialization
  net: ipa: record proper RX transaction count
  net: ipa: certain dropped packets aren't accounted for
  crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
  ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
  KVM: x86/mmu: Update number of zapped pages even if page list is stable
  io_uring: fix ordering of args in io_uring_queue_async_work
  ALSA: hda/realtek: Add quirk for the Framework Laptop
  ALSA: wavefront: Proper check of get_user() error
  ALSA: hda/realtek: Add quirk for Dell Latitude 7520
  ALSA: hda - fix unused Realtek function when PM is not enabled
  ALSA: usb-audio: Don't get sample rate for MCT Trigger 5 USB-to-HDMI
  pinctrl: mediatek: mt8365: fix IES control pins
  pinctrl: ocelot: Fix for lan966x alt mode
  MAINTAINERS: omap: remove me as a maintainer
  dt-bindings: input: mediatek,mt6779-keypad: update maintainer
  ARM: dts: aspeed: Add video engine to g6
  ARM: dts: aspeed: romed8hm3: Fix GPIOB0 name
  ARM: dts: aspeed: romed8hm3: Add lm25066 sense resistor values
  ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
  ARM: dts: aspeed-g6: add FWQSPI group in pinctrl dtsi
  dt-bindings: pinctrl: aspeed-g6: add FWQSPI function/group
  pinctrl: pinctrl-aspeed-g6: add FWQSPI function-group
  dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
  pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
  ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
  arm64: dts: qcom: sm8250: don't enable rx/tx macro by default
  arm64: dts: rockchip: Add gmac1 and change network settings of bpi-r2-pro
  arm64: dts: rockchip: Change io-domains of bpi-r2-pro

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
	Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml

Upstream-Build:ks_qcom-android-mainline-keystone-qcom-release@8672405 SKQ4.220601.002
Change-Id: Id10170c7c63104e42071470f906a8d22e4c312ef
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-06-03 05:31:07 -07:00
qctecmdr
d8f988289f Merge "pinctrl: qcom: spmi-gpio: add support for LV_VIN2 and MV_VIN3 subtypes" 2022-06-02 03:13:23 -07:00
qctecmdr
d2ce2b675b Merge "regulator: rpmh-regulator: fix rpmh_regulator_init_vreg_supply memory leak" 2022-06-01 23:49:50 -07:00
Chris Lew
79bd6983db mailbox: Add snapshot of MSM QMP driver
This snapshot is taken as of msm-5.10 'commit <52ccb2676d2b>
("soc: qcom: minidump_log: Add check to avoid NULL pointer dereference")'.

Change-Id: Ia62a11f2fed9194694914d9abb4fe47186958897
Signed-off-by: Chris Lew <clew@codeaurora.org>
2022-06-01 16:58:08 -07:00
qctecmdr
b83eafd5fe Merge "spmi: spmi-pmic-arb-debug: add support for fuse enable bit" 2022-06-01 12:33:36 -07:00
qctecmdr
bb2cf3decd Merge "spmi: add SPMI PMIC arbiter debug bus driver" 2022-06-01 09:57:54 -07:00
Android Build Coastguard Worker
05713a3e9d Snap for 8668516 from ccfd1a42d8 to android-mainline-keystone-qcom-release
Change-Id: I044c8603d5a292e477b08e9b654a1186283e4223
2022-06-01 10:00:47 +00:00
qctecmdr
99a4fdca5e Merge "kernel: Create and export kernel headers" 2022-05-31 21:17:34 -07:00
qctecmdr
c788ea98b4 Merge "modules.list.msm.pineapple: Add interconnect modules" 2022-05-31 19:00:32 -07:00
Mulugeta Engdaw
95c60c41a2 kernel: Create and export kernel headers
Create a header library which export kernel headers.
These headers are needed by modules and userspace libraries.
This is snapshot merge from msm-5.10 branch commit 1c21e750af93 ("Merge
"drivers: dcvs: memlat: add scheme for adaptive boosting"").

Change-Id: If685678193e829a367ed672e0de345262235a2d5
Signed-off-by: Mulugeta Engdaw <mengdaw@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2022-05-31 18:19:41 -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
Vivek Aknurwar
a2631ded83 modules.list.msm.pineapple: Add dispcc module
The dispcc module is indirectly required by the interconnect providers
in qnoc-pineapple. Interconnect depends on disp_rsc, which depends on
dispcc. Without dispcc, interconnects required for critical early BW
voting to DDR won't probe.

Change-Id: Ib4111cff62a6a9785213de66983621449867e6f7
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-05-27 15:58:39 -07:00
Vivek Aknurwar
ad856f8dc4 defconfig: pineapple-gki: Enable dispcc driver
Enable the dispcc driver for pineapple.

Change-Id: Id7daa430ccaad8dee40f53352aa9b56f3c730ee5
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-05-27 15:58:39 -07:00
Vivek Aknurwar
d5e88efc20 clk: qcom: dispcc-pineapple: Add initial dispcc driver
Add the dispcc driver for pineapple, which provides clocks for the display
subsystem.

Change-Id: Ib0bf267e6b3b11d05766408a0335e64b89d07b56
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-05-27 15:58:38 -07:00
David Collins
507aaefcf7 regulator: rpmh-regulator: fix rpmh_regulator_init_vreg_supply memory leak
Commit 29c41d5c47cb ("regulator: rpmh-regulator: support parent
supply specification in subnodes") introduced a memory leak in
the function rpmh_regulator_init_vreg_supply() due to 'buf' not
being freed in the new 'else if' statement.  Fix this memory leak
by freeing 'buf' correctly.

Change-Id: If2748b595d8ae3a4564a2956a67aeda476975309
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:42 -07:00
David Collins
442fbd3fa6 regulator: rpmh-regulator: add support for debugfs control
Add support for debugfs control of a regulator's state.  This
is useful for testing and debugging.

Change-Id: I26da17c0cf45b942680eb4813d8cc7d0b58e6d29
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:42 -07:00
David Collins
96f3cd3912 regulator: rpmh-regulator: support parent supply specification in subnodes
Add support for parent supply properties specified in regulator-
specific device tree subnodes.  This style can be used to avoid
false positive circular dependencies in the wait_for_supplier
logic.

Change-Id: Id9a96e27ea62ef37b4b5bbfb344ee206b439ee3f
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:42 -07:00
David Collins
01da202c31 regulator: rpmh-regulator: add support for proxy consumers
Add support to enforce proxy consumer requests defined in device
tree for rpmh-regulator devices.  These can be used to ensure
that regulators are not accidentally disabled or scaled down
before all consumers have had a chance to make their own
requests.

Change-Id: Ic5f4ef7369584433b0a187f966d2d5f379b98cb6
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:42 -07:00
Jordan Crouse
99e2c4f4ee regulator: Fix formatting warnings in rpmh-regulator
Fix the following compiler warning from gcc 7.4.1 with -Werror enabled:

 drivers/regulator/rpmh-regulator.c:1285:3: error: format '%d' expects argument
   of type 'int', but argument 4 has type 'long int'
   aggr_vreg_err(aggr_vreg, "could not retrieve ARC aux data, rc=%d\n",

 drivers/regulator/rpmh-regulator.c:1292:3: error: format '%d' expects argument
   of type 'int', but argument 4 has type 'size_t {aka long unsigned int}'
   aggr_vreg_err(aggr_vreg, "more ARC levels defined than allowed: %d > %d\n",

 drivers/regulator/rpmh-regulator.c:1296:3: error: format '%d' expects argument
  of type 'int', but argument 4 has type 'size_t {aka long unsigned int}'
  aggr_vreg_err(aggr_vreg, "invalid ARC aux data size: %d\n",

Fixes: ff2723a ("regulator: add rpmh-regulator driver")
Change-Id: Ic0dedbad2ea5a767dd4a56e55c231f3870342417
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2022-05-27 15:28:42 -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
David Collins
ace1c64495 regulator: add rpmh-regulator driver
Add the rpmh-regulator driver to support PMIC regulator
management via the RPMh hardware block on Qualcomm Technologies,
Inc. SoCs.

rpmh-regulator devices support PMIC regulator management via the
VRM and ARC RPMh accelerators.  The APPS processor communicates
with these hardware blocks via an RSC using command packets.  The
VRM allows changing four parameters for a given regulator: enable
state, output voltage, operating mode, and minimum headroom
voltage.  The ARC allows changing only a single parameter for a
given regulator: its operating level.  This operating level is
fed into CPR which then decides upon a final explicit voltage for
the regulator.

This is a snapshot commit of msm-4.14 as of:
commit 2913cfe33e10 ("Merge "iommu: arm-smmu: wait for writes to
complete before power off"").  Some modifications have been made
to handle rpmh API differences between msm-4.14 and msm-4.19.

Change-Id: I48e9ab5db808036592cfb26042d843a153fbc92c
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
Blagovest Kolenichev
ccfd1a42d8 Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev
* keystone/mirror-android-mainline:
  ANDROID: Creating boot.img for x86_64 GKI
  Linux 5.18
  afs: Fix afs_getattr() to refetch file status if callback break occurred
  perf session: Fix Intel LBR callstack entries and nr print message
  perf test bpf: Skip test if clang is not present
  perf test session topology: Fix test to skip the test in guest environment
  perf bench numa: Address compiler error on s390
  perf test: Avoid shell test description infinite loop
  perf regs x86: Fix arch__intr_reg_mask() for the hybrid platform
  perf test: Fix "all PMU test" to skip hv_24x7/hv_gpci tests on powerpc
  drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
  i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
  i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
  perf: Fix sys_perf_event_open() race against self
  KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
  KVM: x86: hyper-v: fix type of valid_bank_mask
  KVM: Free new dirty bitmap if creating a new memslot fails
  gpio: mvebu/pwm: Refuse requests with inverted polarity
  gpio: gpio-vf610: do not touch other bits when set the target bit
  perf stat: Fix and validate CPU map inputs in synthetic PERF_RECORD_STAT events
  KVM: eventfd: Fix false positive RCU usage warning
  perf build: Fix check for btf__load_from_kernel_by_id() in libbpf
  selftests: kvm/x86: Verify the pmu event filter matches the correct event
  selftests: kvm/x86: Add the helper function create_pmu_event_filter
  kvm: x86/pmu: Fix the compare function used by the pmu event filter
  scsi: ufs: core: Fix referencing invalid rsp field
  riscv: dts: microchip: fix gpio1 reg property typo
  riscv: dts: sifive: fu540-c000: align dma node name with dtschema
  mmc: core: Fix busy polling for MMC_SEND_OP_COND again
  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap
  net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
  ptp: ocp: change sysfs attr group handling
  selftests: forwarding: fix missing backslash
  Input: ili210x - use one common reset implementation
  Input: ili210x - fix reset timing
  drm/amd: Don't reset dGPUs if the system is going to s2idle
  libceph: fix misleading ceph_osdc_cancel_request() comment
  libceph: fix potential use-after-free on linger ping and resends
  Fix double fget() in vhost_net_set_backend()
  vdpa/mlx5: Use consistent RQT size
  netfilter: nf_tables: disable expression reduction infra
  netfilter: flowtable: move dst_check to packet path
  netfilter: flowtable: fix TCP flow teardown
  net: ftgmac100: Disable hardware checksum on AST2600
  igb: skip phy status check where unavailable
  nfc: pn533: Fix buggy cleanup order
  mptcp: Do TCP fallback on early DSS checksum failure
  mptcp: fix checksum byte order
  ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
  ARM: 9196/1: spectre-bhb: enable for Cortex-A15
  net: af_key: check encryption module availability consistency
  net: af_key: add check for pfkey_broadcast in function pfkey_process
  percpu_ref_init(): clean ->percpu_count_ref on failure
  net/mlx5: Drain fw_reset when removing device
  net/mlx5e: CT: Fix setting flow_source for smfs ct tuples
  net/mlx5e: CT: Fix support for GRE tuples
  net/mlx5e: Remove HW-GRO from reported features
  net/mlx5e: Properly block HW GRO when XDP is enabled
  net/mlx5e: Properly block LRO when XDP is enabled
  net/mlx5e: Block rx-gro-hw feature in switchdev mode
  net/mlx5e: Wrap mlx5e_trap_napi_poll into rcu_read_lock
  net/mlx5: DR, Ignore modify TTL on RX if device doesn't support it
  net/mlx5: Initialize flow steering during driver probe
  net/mlx5: DR, Fix missing flow_source when creating multi-destination FW table
  scsi: target: Fix incorrect use of cpumask_t
  NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
  net/qla3xxx: Fix a test in ql_reset_work()
  selinux: fix bad cleanup on error in hashtab_duplicate()
  drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
  parisc: Fix patch code locking and flushing
  parisc: Rewrite cache flush code for PA8800/PA8900
  parisc: Disable debug code regarding cache flushes in handle_nadtlb_fault()
  clk: at91: generated: consider range when calculating best rate
  audit,io_uring,io-wq: call __audit_uring_exit for dummy contexts
  io_uring: don't attempt to IOPOLL for MSG_RING requests
  ice: Fix interrupt moderation settings getting cleared
  ice: fix possible under reporting of ethtool Tx and Rx statistics
  ice: fix crash when writing timestamp on RX rings
  arm64: mte: Ensure the cleared tags are visible before setting the PTE
  arm64: kexec: load from kimage prior to clobbering
  arm64: paravirt: Use RCU read locks to guard stolen_time
  dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
  net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
  net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
  xfrm: set dst dev to blackhole_netdev instead of loopback_dev in ifdown
  net: systemport: Fix an error handling path in bcm_sysport_probe()
  net: lan966x: Fix assignment of the MAC address
  Revert "clk: sunxi-ng: sun6i-rtc: Add support for H6"
  clk: bcm2835: fix bcm2835_clock_choose_div
  ptp: ocp: have adjtime handle negative delta_ns correctly
  netfilter: nft_flow_offload: fix offload with pppoe + vlan
  net: fix dev_fill_forward_path with pppoe + bridge
  netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices
  netfilter: flowtable: fix excessive hw offload attempts after failure
  net/sched: act_pedit: sanitize shift argument before usage
  ALSA: usb-audio: Restore Rane SL-1 quirk
  ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
  xfrm: fix "disable_policy" flag use when arriving from different devices
  i915/guc/reset: Make __guc_reset_context aware of guilty engines
  drm/i915/dmc: Add MMIO range restrictions
  KVM: arm64: Don't hypercall before EL2 init
  KVM: arm64: vgic-v3: Consistently populate ID_AA64PFR0_EL1.GIC
  can: m_can: remove support for custom bit timing, take #2
  Revert "can: m_can: pci: use custom bit timings for Elkhart Lake"
  net: macb: Increment rx bd head after allocating skb and buffer
  selftests: mptcp: add subflow limits test-cases
  mptcp: fix subflow accounting on close
  pinctrl: sunxi: f1c100s: Fix signal name comment for PA2 SPI pin
  pinctrl: sunxi: fix f1c100s uart2 function
  block/mq-deadline: Set the fifo_time member also if inserting at head
  dma-buf: ensure unique directory name for dmabuf stats
  Revert "tcp/dccp: get rid of inet_twsk_purge()"
  net: ipa: get rid of a duplicate initialization
  net: ipa: record proper RX transaction count
  net: ipa: certain dropped packets aren't accounted for
  crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
  ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
  KVM: x86/mmu: Update number of zapped pages even if page list is stable
  io_uring: fix ordering of args in io_uring_queue_async_work
  ALSA: hda/realtek: Add quirk for the Framework Laptop
  ALSA: wavefront: Proper check of get_user() error
  ALSA: hda/realtek: Add quirk for Dell Latitude 7520
  ALSA: hda - fix unused Realtek function when PM is not enabled
  ALSA: usb-audio: Don't get sample rate for MCT Trigger 5 USB-to-HDMI
  pinctrl: mediatek: mt8365: fix IES control pins
  pinctrl: ocelot: Fix for lan966x alt mode
  MAINTAINERS: omap: remove me as a maintainer
  dt-bindings: input: mediatek,mt6779-keypad: update maintainer
  ARM: dts: aspeed: Add video engine to g6
  ARM: dts: aspeed: romed8hm3: Fix GPIOB0 name
  ARM: dts: aspeed: romed8hm3: Add lm25066 sense resistor values
  ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
  ARM: dts: aspeed-g6: add FWQSPI group in pinctrl dtsi
  dt-bindings: pinctrl: aspeed-g6: add FWQSPI function/group
  pinctrl: pinctrl-aspeed-g6: add FWQSPI function-group
  dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
  pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
  ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
  arm64: dts: qcom: sm8250: don't enable rx/tx macro by default
  arm64: dts: rockchip: Add gmac1 and change network settings of bpi-r2-pro
  arm64: dts: rockchip: Change io-domains of bpi-r2-pro

Bug: 232906147
Change-Id: Id5f14ffef86fedd4dd9c33ac43c2b3efd153faee
Signed-off-by: Blagovest Kolenichev <quic_c_bkolen@quicinc.com>
2022-05-27 13:23:30 -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