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>
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>
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>
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>
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>
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>
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>
Add support for gcc venus resets on RAVELIN platform.
Change-Id: Ia3110d692274c150f3c0398942cc8eabc8fd5135
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
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>
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>
* 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>
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>