This reverts commit 20d502b4a7.
Since the current solution conflict with handoff feature, revert
this rwsem enhancement change before upstream make changes.
Change-Id: I60e661b7105e123efe36807f75dd094164659a98
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
* keystone/mirror-android12-5.10:
ANDROID: GKI: add allowed list file for xiaomi
ANDROID: GKI: Update symbol list
Signed-off-by: Daniel Norman <danielnorman@google.com>
Change-Id: If6c4e947ca3d2fc4cfc86c4070644d01f1ce3204
It can be used to tune the host and fw time synchronization interval
for better accuracy.
Change-Id: I0a3d8895520cec526341f278c91f153dd0bd1966
CRs-Fixed: 2787916
Signed-off-by: Visweswara Tanuku <vtanuku@codeaurora.org>
Add support to read ibat range factor from nvmem and use it to
scale ibat current for greater than default max supported
ibat range.
Change-Id: Iee83be8d6663920d4df0b792417820d222e3ff46
Signed-off-by: Gopala Krishna Nuthaki <gnuthaki@codeaurora.org>
Signed-off-by: Priyansh Jain <priyjain@codeaurora.org>
* refs/heads/tmp-233f97e:
ANDROID: Update symbol list for mtk
ANDROID: binder: fix regression in sender_euid
ANDROID: fips140: use UTS_RELEASE as FIPS version
BACKPORT: binder: use cred instead of task for getsecid
BACKPORT: binder: use cred instead of task for selinux checks
BACKPORT: binder: use euid from cred instead of using task
ANDROID: vendor_hooks: Add hooks for frequency optimization
ANDROID: GKI: Update symbols to symbol list
ANDROID: vendor_hooks: export get_wchan
ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
FROMGIT: dma-buf: acquire name lock before read/write dma_buf.name
ANDROID: cpufreq: times: record fast switch frequency transitions
ANDROID: GKI: add required symbols for btusb to virtual device
ANDROID: arm64: add vendor hooks for bti and pauth fault
FROMLIST: drivers: thermal: Reset previous low and high trip during thermal zone init
UPSTREAM: mm: vmalloc: prevent use after free in _vm_unmap_aliases
ANDROID: ABI: update allowed list for galaxy
ANDROID: Add android_vh_rproc_recovery_set
ANDROID: rproc: Add vendor hook when setting recovery mode
BACKPORT: FROMLIST: scsi: ufs: Fix a deadlock in the error handler
BACKPORT: FROMLIST: scsi: core: Reserve one tag for the UFS driver
BACKPORT: FROMLIST: scsi: ufs: Limit the queue depth to host->can_queue
ANDROID: GKI: fix up abi breakage from "cfg80211: fix management registrations locking"
UPSTREAM: cfg80211: fix management registrations locking
Change-Id: I6963bbed02d5f62ca5ee34aa2a629dfa2cfe81b3
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
A TUI session which adds memory to the qcom,tui carveout heap is
represented by a file descriptor. This file descriptor is used by the
carveout_heap implementation for refcounting.
If there is a preexisting session, carveout_heap_add_memory() fails,
and we close the file descriptor.
fput()
-> mem_buf_buffer_release()
->-> carveout_heap_remove_memory() /* Fails */
Change carvout_heap_remove_memory() to return success if the memory
region in question is not part of the carveout heap.
Change-Id: I5567a10f4a7e0e14c98904e198eb76652c9d234f
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
eMMC device operating at 1.8 V can be run up to 100 MHz without SDCDC
(DLL) and with DLL above 100 MHz.
Change the existing pr_err condition to less than 100MHz.
Change-Id: Ia6575ddfd0e4dc57723226e3dff24ad485a1a2ea
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Certain targets with level shifter requires tuning for SDR50 mode.
As per Hardware Programing Guide few extra configurations need to be
done before performing tuning for SDR50 mode.
Enable tuning for SDR50 mode and do needed configurations.
Change-Id: If8aec8b793a17796b61d6d7826b5700b742be3fa
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Delays are seen on IO lines with data transfer due to latency added by
level shifter. To bring these delays in normal range and avoid CMD CRC
errors frequency for HS mode is being reduced to 37.5MHz.
Hence limit HS mode frequency to 37.5MHz.
Change-Id: I5e145972197339b77cf6553f57b3ee71862699e0
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Signal the memory offline operation after a specified time value.
Change-Id: Ia78f71c2baf040b2a127cf731c95803cec66628a
Signed-off-by: Charan Teja Reddy <quic_charante@quicinc.com>
Enable CONFIG_ARM_SMMU_CONTEXT_FAULT_RETRY, which retries
faulting iommu transactions after a tlb invalidate.
Change-Id: I8d16c33ceea25e416f0304f5031e3429be01f6ad
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
Update pmu_vendor protocol to include a command to enable
tracing on cpucp to improve debugging.
Change-Id: I1210df14bd98a22f8fde74f27fb88b577b5c1f8b
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
* keystone/mirror-android12-5.10:
ANDROID: Update symbol list for mtk
ANDROID: binder: fix regression in sender_euid
ANDROID: fips140: use UTS_RELEASE as FIPS version
BACKPORT: binder: use cred instead of task for getsecid
BACKPORT: binder: use cred instead of task for selinux checks
BACKPORT: binder: use euid from cred instead of using task
ANDROID: vendor_hooks: Add hooks for frequency optimization
ANDROID: GKI: Update symbols to symbol list
ANDROID: vendor_hooks: export get_wchan
ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
Signed-off-by: Daniel Norman <danielnorman@google.com>
Change-Id: Iea487c2386bcc18c8f2f0c8e562a7d83300a62a2
Use local pointer for struct rpdev_device while sending rpmsg
to avoid crash if ADSP SSR is triggered where rpdev_device is
set to null in ADSP SSR notification while handling
msm_pcie_drv_send_rpmsg().
Change-Id: Id0533611b629359142e54db428918cbce702ee44
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Add code to fallback to non-contiguous FW mem allocation on
failure to allocate contiguous memory.
Change-Id: Idbc7ff7f9ea4d2157e3b549dde8ee090a0f0b412
Signed-off-by: Mohammed Siddiq <quic_msiddiq@quicinc.com>
Add change to print SW_CTRL GPIO value when PCIe link training
fails during power on.
Change-Id: I77bd2db80dad4c56647f52d67acfab0fe7efb7a7
Signed-off-by: Yue Ma <yuem@codeaurora.org>
A recent change to use proc->cred instead of proc->tsk as the source
for sender_euid caused a failure in the CredentialsTest#CaptureLayersTest
test. Revert 1 line of the patch to fix the test. The rest of the patch
needs to remain since the subsequent patches rely on it.
Before fixing upstream, we need to investigate more since the code looks
correct so the issue may be a latent userspace bug.
Bug: 205938623
Fixes: d65efd5b73dc ("UPSTREAM: binder: use euid from cred instead of using task")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I16543a50f43f79131234995fb0813de00795bd3d
The memlat fast path today uses the spin_lock irqsave and
restore APIs in an interleaved fashion for the agg and
commit locks. This causes interrupts to get re-enabled
before releasing the commit lock, which can lead to a
deadlock scenario. Disable interrupts during this entire
critical region and acquire the two locks separately.
Change-Id: I0ae55ac5c8e85bec15bc12de1f35cd24c8653e3d
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Add scmi pmu vendor protocol modules to first stage as
pmu_lib is also in first stage and they are dependent on
each other.
Change-Id: Id5d708ab5bcadf1c2caadbab8272adde8001fd2e
Signed-off-by: Amir Vajid <avajid@codeaurora.org>