Add virtual channel definitions for PM7325 and PM7325B for
use by their ADC clients.
Change-Id: I75ddc15f6866a56678f344f6d18062857c4fc550
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Add support for qcom,pm7325-gpio and qcom,pm7352b-gpio variants.
Change-Id: I667af9a375d2bcc4a3576001b76d0366f45389ce
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Create QTI specific header for UART IOCTLs. Bluetooth uses the IOCTL
to control UART clock/power states.
Choose higher numerical value for UART IOCTL macros to avoid any
conflict with upstream addition for new IOCTL.
Change-Id: I6dbabe30f5a12b5bc21cfe8fb16cdccfcc770484
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
Linux Kernel SIP ALG did not handle Segmented TCP Packets
because of which SIP communication could not be established
for some clients. This change fixes that issue.
Also,This change handle porting of below changes
c39f2db28d61ec4 ("Additional fixes for SIP Segmentation Support")
07c07c942ec37f0 ("Changes to handle MT call issue in SIP ALG")
18f40547250d8b6 ("Enable/Disable SIP Segmentation Support").
Change-Id: I8c77322f69cf4d9ad4c7b4971da924ffd585dea0
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
Change perf module design such that perf counters from
DSP and kernel are returned as part of header. Add
trace event for kernel counters.
Change-Id: I9a1bec0068898995f79b033fe6d4517ef5bac50b
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Signed-off-by: Vamsi krishna Gattupalli <vgattupa@codeaurora.org>
After LLVM rG9e33c096476a ("[ELF] Keep orphan section names
(.rodata.foo .text.foo) unchanged if !hasSectionsCommand"), LLD splits
compound literals to separate sections with -fdata-sections, which
it always enables with LTO. Merge these sections to allow LLVM to be
upgraded.
Bug: 174047799
Change-Id: I858c5fcc48283d5528c1d3e2b2d7a3c72f9e03d6
Link: https://github.com/ClangBuiltLinux/linux/issues/958
Suggested-by: Danny Lin <danny@kdrag0n.dev>
Suggested-by: Fangrui Song <maskray@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
check_valid_vmid does not mark page private when
releasing the page to secure pool. Do it.
Change-Id: I258561421c520a7b8b50dbf9421bc0aea459dfee
Fixes: cae595f476 ("ion: Check for valid vmids for msm system heap")
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Retrieved tgid from current process instead of
mapping for naming the minidump region.
Change-Id: I598606577c63794f495c9ca92adc951c088046be
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Acked-by: Gururaj Chalgeri <gchalger@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Do initial CPU reservation before starting VM, to
avoid any resource contention, while booting guest
VM. Remove the reservation after a configured timeout,
which defaults to 8 seconds.
Change-Id: Id49b07edd3e558dee074eafb729423ad8f8ff98d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Some targets do not have GSI feature. For such targets, gsi_reg
array does not get allocated. DWC3_CONTROLLER_NOTIFY_CLEAR_DB
event from gadget driver will access this unallocated memory.
Fix this by putting a check for gsi_reg.
Change-Id: I9903c0c6533abf3d6e689a40ea84ecbc066e10d8
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Add support to accelarate QDSS diag traffic over IPA to the PCIe
host with ipa fmwk support.
Change-Id: I64a8c493e8b6ef3fc525a3edcfd57e1cd11ccb6c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Currently driver is not returning any error from the error
handling path if driver fails to enable power for PHY.
This patch adds a check and returns error if the driver
actually fails to set_voltage or fails to enable a particular
regulator.
Change-Id: I5427690602b6152151adee71c6388ce836ab90c6
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Similar to commit 9ffbd89c4a ("USB: gadget: composite: Allow
bMaxPower=0 if self-powered"), c->MaxPower may be allowed to be 0
when the gadget's configuration indicates it is self-powered. Thus
allow 0 to be passed directly to usb_gadget_vbus_draw() instead of
defaulting to CONFIG_USB_GADGET_VBUS_DRAW which is non-zero.
Change-Id: I4bf677a31a449c7763e2decad4860909f359dcb7
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Use a6x crashdumper register memory end location to know
the crashdumper status completion. This will avoid AHB
traffic while crashdumper was active in snapshot dumping
and fixes the slave timeout issue.
Change-Id: Ic24e75557297c6a1a3f2ad7893f4d8d308f9943c
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
To properly ensure that the vdd regulator is put in the correct
operating mode, it needs to have a call to regulator_set_load()
prior to being enabled. This is crucial for platforms where the
HS PHY is the only consumer of the regulator as it could be
inadvertently left in LPM mode and cause the PHY to not function
properly.
Change-Id: I87815c60f044d854ecc75ac6039fd80c2d3197aa
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Enable LPM and SoC sleep stats drivers for gen3auto.
Change-Id: I7dd08d1044054d5b330d149aa1f26f13d9d7b9bf
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
When stop command comes during FIFO refill, it would free custom_effect
FIFO sample memory and set the pointer to NULL, and this would cause
the NULL pointer dereference during FIFO refill. To fix this, add a
mutex lock between FIFO stop and FIFO refill sequence to avoid a race.
Change-Id: I8792c2183f06e84fca3a7c4dddfed667b25f2528
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Remove the function as the last reference has gone away with the do_wp_page()
changes.
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 1a0cf26323c80e2f1c58fc04f15686de61bfab0c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Change-Id: Icd11ae747c4b0b9ddd81b8b3c5e463ed88abea9c
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
How about we just make sure we're the only possible valid user fo the
page before we bother to reuse it?
Simplify, simplify, simplify.
And get rid of the nasty serialization on the page lock at the same time.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[peterx: add subject prefix]
Signed-off-by: Peter Xu <peterx@redhat.com>
Git-commit: 09854ba94c6aad7886996bfbee2530b3d8a7f4f4
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[zhenhuah@codeaurora.org: resolve trivial merge conflicts]
Change-Id: I73dc102cb02d751d497bdf3cc39179a4bfdc5a54
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
This is to help the hardware configured in world
roaming mode to save power when not connected to
any AP.
CRs-Fixed: 542802
Change-Id: Ia643d0e9848dcd486832973bd6dd186edd7bd4ea
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
In case device asserts WAKE due to timeout in exiting L1,
dump PCIe registers if link is in enabled state and drv is
supported.
Change-Id: I3d2edf1a42ef3a00e57418b2744a87d2693c698b
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
* refs/heads/tmp-4271ad6:
BACKPORT: mac80211_hwsim: add frame transmission support over virtio This allows communication with external entities.
ANDROID: ABI: add symbols of sprd_ion.ko and snd-soc-sprd-codec-sc2730.ko to unisoc
ANDROID: ABI: Update allowed list for QCOM
ANDROID: GKI: Update abi_gki_aarch64_exynos
ANDROID: GKI: enable CONFIG_SUN4I_TIMER
ANDROID: uid_sys_stats: report uid_cputime stats in microseconds
ANDROID: ABI: Update allowed list for QCOM
UPSTREAM: Documentation: arm64: document support for the AMU extension
UPSTREAM: arm64/kvm: disable access to AMU registers from kvm guests
UPSTREAM: arm64: trap to EL1 accesses to AMU counters from EL0
BACKPORT: arm64: add support for the AMU extension v1
UPSTREAM: block: fix get_max_io_size()
Change-Id: I5d4e624fc9e2c13e89c3c1c3a9b8e6ee3c7fabe8
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
On some QTI SoCs, Operating State Manager (OSM) controls the
resources of scaling L3 caches. Add a driver to handle bandwidth
requests to OSM L3 from CPU on SDM845 SoCs.
Change-Id: If210b7d996428b66996092851b5987f870a650db
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Link: https://lore.kernel.org/r/20200227105632.15041-4-sibis@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: 5bc9900addafb99163232dbb970eb07661ae4178
Git-repo: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next
[vvegivad@codeaurora.org: Added aggreate function and minor modifcations as per the framework]
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>