Commit Graph

1022106 Commits

Author SHA1 Message Date
Mukesh Pilaniya
44a469b24f build.config: incorporation of le ramdisk for waipio_le
Switch to LE ramdisk for waipio_le to align to what product side is using.

Change-Id: I62c2bd1447011c3098a7fd0d1139c28d57d7cbe5
Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>
2023-04-10 22:54:05 -07:00
qctecmdr
d17981836a Merge "pinctrl: qcom: Don't support reserved pin config access" 2023-04-10 19:28:38 -07:00
qctecmdr
6ed2a90d9a Merge "bindings: clock: qcom: Add gcc_pwm0_xo512_div_clk_src clock id" 2023-04-10 11:33:40 -07:00
qctecmdr
dbce2aaa21 Merge "serial: msm_geni_serial: Disable wakeup irq in shutdown path" 2023-04-10 07:53:42 -07:00
qctecmdr
6fd2a8e4c3 Merge "arm64: config: Enable CONFIG_PM_AUTOSLEEP for waipio_le" 2023-04-10 07:53:40 -07:00
Anaadi Mishra
6efaf1f777 bindings: clock: qcom: Add gcc_pwm0_xo512_div_clk_src clock id
Add clock handle for gcc_pwm0_xo512_div_clk_src clock.

Change-Id: I4d7b980bcbd35dab99441f0994870b72801a0e8b
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2023-04-10 16:05:58 +05:30
Prasanna S
80ed20e84f serial: msm_geni_serial: Disable wakeup irq in shutdown path
We are seeing wakeup ISR being called during the
shutdown path after port is closed. As part of
shutdown, in suspend wakeup IRQ is enabled and
later it is disabled. In this duration break error
is detected invoking wakeup ISR.

Do not service wakeup IRQ in shutdown path by
keeping the wakeup IRQ disabled in suspend
since shutdown is in progress.

Also ensured irq_set_irq_wake power management is
updated correctly and balanced in resume and suspend
functions.

Change-Id: Ic5d6cabafc0e9d08a17981668016bac411be0a4c
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-04-09 21:35:11 -07:00
Yue Liu
fe08047907 pinctrl: qcom: Don't support reserved pin config access
When read pinconf-groups and pinconf-pins from debugfs,
the reserved gpio register was been accessed, device
got an NOC Error, so add the gpio chip line valid
judgment before the gpio register access.

Change-Id: I78cdf13cab6cf50b5e9cebc85db4a74fa1722953
Signed-off-by: Yue Liu <quic_yueliu@quicinc.com>
2023-04-10 11:35:00 +08:00
qctecmdr
09f06e1f1e Merge "clk: qcom: gcc-ravelin: Add support for TBU and TCU clocks" 2023-04-08 21:16:54 -07:00
qctecmdr
de1529f16b Merge "drivers: dcvs: memlat: process cpu stats before queuing work" 2023-04-08 08:46:03 -07:00
Kalpak Kawadkar
d28f076250 clk: qcom: gcc-ravelin: Add support for TBU and TCU clocks
Add support for TBU and TCU clocks on RAVELIN target, so that
clients can vote for this clocks.

Change-Id: Ifb9ec881c0e4acf2ed618d8779124a1ddf404812
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-08 06:19:39 -07:00
qctecmdr
385f356a98 Merge "Revert "coresight: cti: Fix hang in cti_disable_hw()"" 2023-04-07 16:40:30 -07:00
qctecmdr
36cc01eb6b Merge "Revert "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND"" 2023-04-07 10:45:13 -07:00
qctecmdr
c900d0e621 Merge "firmware: arm_scmi: Return error upon protocol version get failure" 2023-04-07 08:27:53 -07:00
qctecmdr
ac8685d1a9 Merge "clk: qcom: gcc-ravelin: Add support for venus resets" 2023-04-07 05:42:28 -07:00
qctecmdr
1cc533be42 Merge "bindings: clock: Add support for TBU and TCU clock ids on RAVELIN" 2023-04-07 05:42:28 -07:00
qctecmdr
d2c6561275 Merge "nvmem: qfprom: Add keepout region for Ravelin" 2023-04-07 03:28:48 -07:00
qctecmdr
1729a3bd01 Merge "nvmem: qfprom: Add support for keepout regions" 2023-04-07 01:07:44 -07:00
Xiaoqi Zhuang
816367b574 Revert "coresight: cti: Fix hang in cti_disable_hw()"
This reverts commit e33ce54cef.

This commit removes the pm_runtime_get_sync from CTI HW enable
which will lead to CTI be access without power up and cause crash.

Change-Id: Ieb096e78e7cd95dcbe75eb61cbcd4a7fc1d70b4a
Signed-off-by: Xiaoqi Zhuang <quic_xiaozhua@quicinc.com>
2023-04-06 23:10:47 -07:00
qctecmdr
643627f4b2 Merge "msm: kgsl: Do not fail reset for GBIF related errors" 2023-04-06 22:48:14 -07:00
Sai Pavan Akhil Remella
f052fa1a7c Revert "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND"
This reverts commit 8f73d1ec90.

Change-Id: Id655a67d4af6a3223fb1b2564a31570970990dbb
Signed-off-by: Sai Pavan Akhil Remella<quic_saipavan@quicinc.com>
2023-04-06 14:57:39 +05:30
Amir Vajid
69d2ed5a16 drivers: dcvs: memlat: process cpu stats before queuing work
The memlat sampling stats are updated every sample_ms in the
sched tick path and on idle entry. They are processed every
sample_ms by a work function that is queued in the jiffy
update path. However, this work function can be severely
delayed in high workload scenarios which can delay updating
last_sample_ts and hence cause extra sampling to happen in
sched tick path out of sync with jiffy updates as well as
extra jiffy updates to happen before next sampling has
completed. If an additional jiffy update and work function
execution happen before sampling stats have been updated,
all of the stats deltas will be zero which will cause a vote
of min even though cpu workload is very high. Process the
sampling stats in the jiffy update path itself to avoid
potential synchronization issues and impacts from workqueue
execution delays.

Change-Id: Ia73ff5a440e3d12dc58d266d3b9b52028acc3959
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-04-06 13:26:26 +05:30
Kalpak Kawadkar
21ef02087f bindings: clock: Add support for TBU and TCU clock ids on RAVELIN
Add TBU and TCU clock handles for GCC on RAVELIN target, so that clients
can request for the clock ids.

Change-Id: Iad57ae0f507299124969891ea4c87ccc8a7ed0e1
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-06 12:21:13 +05:30
qctecmdr
4b6c87b7a8 Merge "Merge keystone/android12-5.10-keystone-qcom-release.160+ (026be06) into msm-5.10" 2023-04-05 06:20:47 -07:00
Kalpak Kawadkar
1627b78dcb clk: qcom: gcc-ravelin: Add support for venus resets
Add support for gcc venus resets on RAVELIN platform.

Change-Id: Ia3110d692274c150f3c0398942cc8eabc8fd5135
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-04-05 10:01:42 +05:30
qctecmdr
3cb4b88a67 Merge "msm: kgsl: Support perfcounter enable via gpu for hwsched" 2023-04-03 22:25:47 -07:00
qctecmdr
720a9a7c6e Merge "defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND" 2023-04-03 06:34:02 -07:00
qctecmdr
89d752d685 Merge "bindings: clock: gcc-ravelin: Add support for venus clock resets" 2023-04-03 02:21:27 -07:00
Shivnandan Kumar
74e130ea27 firmware: arm_scmi: Return error upon protocol version get failure
Bail out of protocol initialization routine early when basic information
about protocol version could not be retrieved. Failing to act this way
can lead to a initialized SCMI protocol which is in fact
not fully functional.


Change-Id: I661975be99fc962b102682b72b0c4b55d72bf7cb
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-04-03 12:55:29 +05:30
qctecmdr
1c893f7c9f Merge "msm: ep_pcie: Move link enumeration part to workqueue" 2023-04-02 23:11:16 -07:00
qctecmdr
72c8190b8e Merge "defconfig: Add changes to enable AP72200 regulator driver" 2023-04-02 23:11:14 -07:00
Krishna chaitanya chundru
3d63d5327e msm: ep_pcie: Move link enumeration part to workqueue
When there is no host attached ep driver is creating a huge boot
delay about 35sec, as our driver is waiting for the host to deassert
PERST in response to WAKE. All this waiting happening in the driver
probe context. So it's delaying our driver probe completion and
thus affecting the overall kernel bootup.

To avoid this scenario, offloading the link training part to a
worker thread context.

Change-Id: Iafd1c797ac7e51baab9b8758c4ead8c9d563336a
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2023-03-31 15:55:56 +05:30
qctecmdr
95c488493c Merge "defconfig: Clarence: gki: Enable testmode config" 2023-03-31 02:33:21 -07:00
Sai Pavan Akhil Remella
8f73d1ec90 defconfig: Clarence: gki: Enable CONFIG_BUS_AUTO_SUSPEND
Enable CONFIG_BUS_AUTO_SUSPEND to allow runtime suspend.

Change-Id: I9867f7e9e1ec0887fba92ebb2eb83e7b7a59d400
CRs-Fixed: 3425673
Signed-off-by: Sai Pavan Akhil Remella<quic_saipavan@quicinc.com>
2023-03-31 12:29:21 +05:30
Srikanth Marepalli
b794f9b60a defconfig: Clarence: gki: Enable testmode config
Enable the test mode config in Parrot GKI config set.

Change-Id: I69d01fb73db607632ea1bd394c7ce5b8a0836a71
CRs-Fixed: 3446188
Signed-off-by: Srikanth Marepalli <quic_srimarep@quicinc.com>
2023-03-30 17:29:39 +05:30
qctecmdr
1e5eaed198 Merge "interconnect: qcom: diwali: Mark QUP BCMs as keepalive" 2023-03-30 03:50:44 -07:00
qctecmdr
00e713ce8f Merge "i2c: i2c-msm-geni: use dma coherent memory for scatter list" 2023-03-30 03:50:44 -07:00
qctecmdr
6c5bd23762 Merge "msm: kgsl: Keep postamble packets in a privileged buffer" 2023-03-30 03:50:43 -07:00
Kalpak Kawadkar
4965885e27 bindings: clock: gcc-ravelin: Add support for venus clock resets
Add support for gcc venus clock resets on RAVELIN platform.

Change-Id: I971ac6b2bc2fac6a6fb69bd8ae106fd310e374ee
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-03-30 14:27:05 +05:30
qctecmdr
d0a00f6bf9 Merge "defconfig: build.config: Add earlycon option to commandline" 2023-03-29 23:51:37 -07:00
qctecmdr
f6a02ecd46 Merge "interconnect: qcom: parrot: Mark QUP BCMs as keepalive" 2023-03-29 23:51:36 -07:00
qctecmdr
4d2baf5da5 Merge "usb: dwc3: dwc3-msm-core: Add support to dump the qscratch registers" 2023-03-29 23:51:36 -07:00
qctecmdr
f923ffca86 Merge "interconnect: qcom: ravelin: Mark QUP BCMs as keepalive" 2023-03-29 23:51:35 -07:00
qctecmdr
e4d110839b Merge "remoteproc: qcom_spss: Fix subdevice add order" 2023-03-29 23:51:35 -07:00
Srinivasarao Pathipati
3ccfe3d43c Merge keystone/android12-5.10-keystone-qcom-release.160+ (026be06) into msm-5.10
* refs/heads/tmp-026be06:
  UPSTREAM: ext4: refuse to create ea block when umounted
  UPSTREAM: ext4: optimize ea_inode block expansion
  UPSTREAM: ext4: allocate extended attribute value in vmalloc area
  UPSTREAM: usb: gadget: composite: Draw 100mA current if not configured
  UPSTREAM: usb: dwc3: gadget: Change condition for processing suspend event
  ANDROID: GKI: update xiaomi symbol list
  UPSTREAM: net/sched: tcindex: update imperfect hash filters respecting rcu
  FROMGIT: KVM: arm64: Ignore kvm-arm.mode if !is_hyp_mode_available()
  UPSTREAM: KVM: arm64: Allow KVM to be disabled from the command line
  ANDROID: ABI: Cuttlefish Symbol update
  Revert "ANDROID: dma-ops: Add restricted vendor hook"
  UPSTREAM: io_uring: ensure that io_init_req() passes in the right issue_flags
  FROMGIT: usb: gadget: configfs: Restrict symlink creation is UDC already binded
  UPSTREAM: io_uring: add missing lock in io_get_file_fixed
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks for mutex and rwsem optimistic spin
  ANDROID: dma-buf: heaps: Don't lock unused dmabuf_page_pool mutex
  ANDROID: mm/filemap: Fix missing put_page() for speculative page fault
  UPSTREAM: KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
  UPSTREAM: net: qrtr: combine nameservice into main module
  ANDROID: GKI: Update symbol list for mtk
  FROMLIST: rcu-tasks: Fix build error
  ANDROID: incremental fs: Move throttling to outside page lock
  ANDROID: incremental fs: Fix race between truncate and write last block
  UPSTREAM: usb: gadget: u_serial: Add null pointer check in gserial_resume
  Revert "ANDROID: GKI: loadavg: Export for get_avenrun"
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: Update symbol list for mtk
  UPSTREAM: ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
  UPSTREAM: net_sched: reject TCF_EM_SIMPLE case for complex ematch module
  UPSTREAM: io_uring/rw: remove leftover debug statement
  UPSTREAM: io_uring/rw: ensure kiocb_end_write() is always called
  UPSTREAM: io_uring: fix double poll leak on repolling
  UPSTREAM: io_uring: Clean up a false-positive warning from GCC 9.3.0
  UPSTREAM: io_uring/net: fix fast_iov assignment in io_setup_async_msg()
  UPSTREAM: io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
  UPSTREAM: io_uring/rw: defer fsnotify calls to task context
  UPSTREAM: io_uring: do not recalculate ppos unnecessarily
  UPSTREAM: io_uring: update kiocb->ki_pos at execution time
  UPSTREAM: io_uring: remove duplicated calls to io_kiocb_ppos
  UPSTREAM: io_uring: ensure that cached task references are always put on exit
  UPSTREAM: io_uring: fix CQ waiting timeout handling
  UPSTREAM: io_uring: lock overflowing for IOPOLL
  UPSTREAM: io_uring: check for valid register opcode earlier
  UPSTREAM: io_uring: fix async accept on O_NONBLOCK sockets
  UPSTREAM: io_uring: allow re-poll if we made progress
  UPSTREAM: io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
  UPSTREAM: io_uring: add flag for disabling provided buffer recycling
  UPSTREAM: io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
  UPSTREAM: io_uring: improve send/recv error handling
  UPSTREAM: io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
  BACKPORT: iommu: Avoid races around device probe
  UPSTREAM: io_uring/io-wq: only free worker if it was allocated for creation
  UPSTREAM: io_uring/io-wq: free worker if task_work creation is canceled
  UPSTREAM: io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
  UPSTREAM: um: Increase stack frame size threshold for signal.c

 Conflicts:
	net/qrtr/Makefile
	net/qrtr/af_qrtr.c

Change-Id: I84acecd94e0545c7423d04428e22526c6237c371
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-03-30 11:50:36 +05:30
Akhil P Oommen
72e14447dd msm: kgsl: Keep postamble packets in a privileged buffer
Postamble packets are executed in privileged mode by gpu. So we should keep
them in a privileged scratch buffer to block userspace access. For
targets with APRIV feature support, we can mark the preemption scratch
buffer as privileged too to avoid similar issues in future.

Change-Id: Ifda360dda251083f38dfde80ce1b5dc83daae902
Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>
2023-03-29 10:13:50 -07:00
Anil Veshala Veshala
d47d2ad122 i2c: i2c-msm-geni: use dma coherent memory for scatter list
For debug purpose use dma coherent memory for scatter list.

Change-Id: I10f02a936faab16473b5d22362776a989a4f1c8f
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-03-29 04:31:17 -07:00
qctecmdr
1b74ebcb72 Merge "dmaengine: gpi: add channel id check" 2023-03-29 03:54:47 -07:00
qctecmdr
05dadd41a8 Merge "i2c: i2c-msm-geni: handle gsi error conditions" 2023-03-29 03:54:45 -07:00
Tushar Nimkar
a65d6bea98 arm64: config: Enable CONFIG_PM_AUTOSLEEP for waipio_le
This change enables CONFIG_PM_AUTOSLEEP.

Change-Id: I32991f86571af54b2f7a3885545757df0d21fea4
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
2023-03-29 00:23:28 -07:00