Commit graph

891,678 commits

Author SHA1 Message Date
qctecmdr
20ae78af5d Merge "power: smb5: Fix LPD flag for PMI632" 2020-10-09 19:37:41 -07:00
qctecmdr
87b8339dff Merge "soc: qcom: Correct idle task check for stack capture" 2020-10-09 19:37:41 -07:00
qctecmdr
71c58ffe44 Merge "qcom: wdog: improve error handling in watchdog core" 2020-10-09 19:37:40 -07:00
qctecmdr
3bf9fa3150 Merge "msm: pcie: Disable access to MSI register during drv_suspend" 2020-10-09 19:37:40 -07:00
qctecmdr
0b93e6ac09 Merge "firmware: qcom: Fix hyp_log issue" 2020-10-09 19:37:40 -07:00
qctecmdr
8227ad733d Merge "drivers: soc: qcom: update rimps memlat while saving pmu counters" 2020-10-09 19:37:39 -07:00
qctecmdr
b67df1431a Merge "net: qrtr: Force wakeups for data packets" 2020-10-09 19:37:39 -07:00
qctecmdr
36177f93cd Merge "usb: dwc3: gadget: Let GSI ep ops allocate TRBs for GSI eps" 2020-10-09 19:37:39 -07:00
qctecmdr
d1e1da94ef Merge "usb: dwc3: Add logging for ep0 map/unmap requests" 2020-10-09 19:37:38 -07:00
qctecmdr
dba157bc5e Merge "arm64: defconfig: Enable serial console for GKI" 2020-10-09 19:37:38 -07:00
qctecmdr
1081487ec5 Merge "usb: dwc3: Fix invalid charger type detection for float" 2020-10-09 19:37:37 -07:00
qctecmdr
e325d2c07c Merge "serial: msm_serial_hs: Add snapshot of serial highspeed driver" 2020-10-09 19:37:37 -07:00
Elson Roy Serrao
233d173028 defconfig: Enable PD PHY and Policy Engine drivers
This change enables PD PHY and Policy Engine drivers which
are needed for power delivery functionality on sdxlemur.

Change-Id: I5dce378ba3106034a4217ef6a11ca3cbcb4f0ec7
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2020-10-09 12:33:10 -07:00
Paras Singh Jain
1a86420966 netfilter: nf_conntrack_sip: Register SIP ALG sysctl table into procfs
This change registers SIP ALG syctl table into procfs. Sysctl table entries
help in dynamically changing SIP ALG parameters from userspace.

Change-Id: If07b185eccdf0e27ae1b3dabc58f3bd274fb84df
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-09 09:19:03 -07:00
Paras Singh Jain
0a1494603e netfilter: nf_conntrack_sip: Dynamically enable/disable SIP direct media
Enabling SIP direct media allows flow of SIP media traffic only between
the SIP signalling end points. Disabling SIP direct media allows flow of
SIP media traffic between 2 SIP clients which interact with each other
with the help of SIP server as the intermediate entity, which is the more
common usecase. This change allows easy way to enable/disable SIP direct
media from userspace to cater to the more common usecase.

Change-Id: Iadfd7062e48c8b4e2f7af919a6062360c165344c
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-09 09:18:30 -07:00
Paras Singh Jain
4035b90f79 netfilter: nf_conntrack_sip: Dynamically enable/disable SIP ALG
Some SIP clients behind NAT require ALG to be turned off. Allows easy
way to do SIP ALG enable/disable from userspace.Avoids SIP ALG module
loading/unloading and saves memory.

Change-Id: I7fc38b8c334838c470993424fdb7ea20e5aa60fe
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-09 09:18:10 -07:00
Jeevan Shriram
460f3fd8a4 Merge android11-5.4.61+ (d240b69) into msm-5.4
* remotes/origin/tmp-d240b69:
  ANDROID: db845c_gki.fragment: Add missing qcom drivers required for cpufreq functionality
  ANDROID: ABI: update allowed list for QCOM
  ANDROID: GKI: add allowed list file for xiaomi
  ANDROID: Disable kthread delayed work fp check in CFI builds
  ANDROID: ABI: update allowed list for QCOM
  ANDROID: GKI: pid: Export for find_task_by_vpid
  ANDROID: GKI: core: Export for runqueues
  ANDROID: GKI: time: Export for nsec_to_clock_t
  ANDROID: GKI: signal: Export for __lock_task_sighand
  ANDROID: GKI: cputime: Export for thread_group_cputime_adjusted
  ANDROID: GKI: loadavg: Export for get_avenrun
  ANDROID: Refresh ABI.xmls with libabigail 1.8.0-98bbf30d
  ANDROID: sched: add cpumask parameter to cpu capacity vendor hook
  ANDROID: ABI: Added symbols for allwinner
  ANDROID: ABI: Update allowed list for EXYNOS
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: drop KERNEL_DIR setting in build.config.common

Change-Id: I790253af5262bdb92cc84a87f90628607944c69f
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-10-09 07:27:04 -07:00
Linyu Yuan
78d8a35dc5 usb: misc: nb7vpq904m: fix recovery mode issue
if default disable chip, it will not work in recovery mode.

Change-Id: Ib4602cefc2c10754f0bb54a8d03d12abaac9dfed
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-10-09 18:23:50 +08:00
Deepak Kumar
f29511ee70 msm: kgsl: Correct sequence of FAL register programming
PMU expects FAL QACTIVE signal to be asserted first followed
by FAL10VETO. Correct this sequence as per latest recommendation.

Change-Id: Id9719377b22281830a84f0af534caf6507bfe797
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2020-10-09 15:00:54 +05:30
Prakash Gupta
3d15a4ddbf iommu: arm-smmu: update SID info print
Print SSD info in the context fault handler. This is useful to
differentiate transaction generated within SMMU to those from actual
clients.

While we are at it, also move SID print before we start ATOS operations.
Sometime it's observed that if system triggers panic before fault handler
completes ATOS operations then the SID info is not printed. SID info has
been found to be must in order to identify the master. So print it before
we start ATOS operation.

Change-Id: I1391686510ef8d61bf11b83102c884b5fa433abd
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-10-09 14:52:32 +05:30
Puranam V G Tejaswi
d08f8cd31c msm: kgsl: make per process stats atomic
There is a chance of messing up per process stats if something
like a free and allocation happen at the same time for memory
belonging to the same process. So make per process stats atomic.
Decrement process stats when mem entry is destroyed. Also make
sure that mapsize is updated for all the memdescs.

Change-Id: I5da1cf368d523768d0b267b314394612934a620d
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
2020-10-09 14:28:51 +05:30
Sriharsha Allenki
410f0c2b19 usb: typec: Fix setting of invalid value of opmode
Setting opmode to invalid values would lead to a
paging fault failure when there is an access to the
power_operation_mode.

Prevent this by checking the validity of the value
that the opmode is being set.

Change-Id: I9ada1ad4aeeca08d3072a5738f5fa48537a2cecf
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-10-09 01:34:19 -07:00
Santosh Mardi
64c2865cb1 devfreq: suppress platform driver bind / unbind feature
devfreq_qcom_qoslat platform driver does not
support the manual bind / unbind feature through sysfs,
Suppress the bind / unbind calls using driver attribute.

Change-Id: I13a61826435e16849aeb15ebdaa792c849ba45c2
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-10-09 00:30:54 -07:00
Naman Padhiar
cb5899aec0 icnss2: Decrement soc wake ref count
If ref count is greater than 1, decrement ref count without
calling SOC_WAKE_RELEASE QMI as for ref count greater than 1
SOC_WAKE_REQ is also not sent.
This will protect req/release mismatch in FW.

Change-Id: I8475e7b2429389c22a23483ee129db8753957ad3
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-10-09 00:24:18 -07:00
Chandana Kishori Chiluveru
7e54ac50b5 defconfig: sdxlemur: Add support for BLSP UART
Add defconfig files to support UART for SDXLEMUR platform.

Change-Id: Iff0b134f107dab11655068893a926b61fba82e22
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-10-09 12:48:56 +05:30
Gaurav Kohli
f91022c2e6 drivers: edac: Add Lahaina CPU gold core part id for kryo edac
Add Lahaina CPU gold core part id macro for kryo edac. This is needed
while parsing the L1/L2/L3 cache errors.

Change-Id: I48230c3b5f498fc6d02625d22a410ed94c90543c
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2020-10-09 12:24:43 +05:30
qctecmdr
12007b0e9b Merge "dt-bindings: regulator: rpmh-regulator: add new voltage levels" 2020-10-08 21:56:22 -07:00
qctecmdr
27344ce0ec Merge "msm: kgsl: Modify gpu_max_clock sysfs node" 2020-10-08 21:56:22 -07:00
qctecmdr
178054fe90 Merge "scsi: ufs-qcom: Check for fsm state only in task context" 2020-10-08 21:56:21 -07:00
qctecmdr
f771e2c796 Merge "usb: misc: nb7vpq904m: separate channel and chan_mode" 2020-10-08 21:56:21 -07:00
qctecmdr
f9130f74cf Merge "mmc: core: Remove SD card upon recovery failure" 2020-10-08 21:56:21 -07:00
qctecmdr
1748381de5 Merge "soc: qcom: Create a zero filled initial buffer for ftrace/boot log" 2020-10-08 21:56:20 -07:00
qctecmdr
507b1bd516 Merge "PM / devfreq: icc: move init call to late init call" 2020-10-08 21:56:20 -07:00
qctecmdr
72e0d2cf86 Merge "sched/walt: Improve the scheduler" 2020-10-08 21:56:20 -07:00
qctecmdr
ca58b822ce Merge "usb: dwc3: gadget: Add delay for EPCMDCMPLT" 2020-10-08 21:56:19 -07:00
qctecmdr
3148d29a40 Merge "usb: dwc3: Avoid CLR block DB if run/stop is cleared" 2020-10-08 21:56:19 -07:00
qctecmdr
6cc5f7bf84 Merge "usb: dwc3: gadget: Ensure minimum delay between run/stop" 2020-10-08 21:56:18 -07:00
qctecmdr
c9cd74221f Merge "clk: qcom: gpucc: Update the PLL 2x frequency" 2020-10-08 21:56:18 -07:00
qctecmdr
8998b097b8 Merge "msm: kgsl: Remove unused function adreno_is_a660v1" 2020-10-08 21:56:17 -07:00
qctecmdr
df311007e5 Merge "mmc: sdhci-msm: dump vendor specific registers during error" 2020-10-08 21:56:17 -07:00
qctecmdr
2c71a4277d Merge "soc: qcom: spss_utils: fix IAR-DB-Recovery" 2020-10-08 21:56:17 -07:00
qctecmdr
87d9d76131 Merge "NFC: Add IPC logging of NCI Commands and responses of NFC I2C driver" 2020-10-08 21:56:16 -07:00
qctecmdr
4643e54b8f Merge "msm: kgsl: Relinquish CPU during the TLBSTATUS timeout wait" 2020-10-08 21:56:16 -07:00
qctecmdr
d616f838d1 Merge "msm: kgsl: Use readl_poll_timeout() for crashdumper status" 2020-10-08 21:56:15 -07:00
qctecmdr
3fe3c763dc Merge "defconfig: arm64: Enable hotplug cooling device for lahaina" 2020-10-08 21:56:15 -07:00
Chris Lew
45a6d843ae soc: qcom: smp2p: Log unchanged entries
Move log statement so unchanged entries are logged. This increases log
spam to the ipc logging buffer but helps catch issues where a smp2p
interrupt is missed.

Change-Id: I695c324deec13b7a82b4838a1fc91fef594f7f8b
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-10-08 21:22:13 -07:00
Imran Ahmad
345ccc1d92 power: smb5: Fix LPD flag for PMI632
Currently,LPD flag can be set either using DT property or
by default initialization based on PMIC subtype.
However, the DT property value for LPD support overrides
the default initialization.
Fix this by taking a logical OR between the two control
methods.

Change-Id: Ic99980691c59ab8d1f77e0300abb232787597f84
Signed-off-by: Imran Ahmad <imrahm@codeaurora.org>
2020-10-08 20:23:20 -07:00
qctecmdr
c7abf2c0ee Merge "msm: cvp: Avoid racing in session deletion and use" 2020-10-08 15:24:56 -07:00
qctecmdr
7b6935a914 Merge "cnss2: Process TWT Indication message in event workqueue" 2020-10-08 15:24:56 -07:00
qctecmdr
08bfd8625d Merge "cnss2: Enable self-recovery only when host driver detects linkdown" 2020-10-08 15:24:55 -07:00