Commit graph

892,914 commits

Author SHA1 Message Date
qctecmdr
f8711d112f Merge "ANDROID: kallsyms: ignore ThinLTO+CFI hash suffix in kallsyms_lookup_name()" 2020-10-02 22:58:42 -07:00
qctecmdr
35f68aa21c Merge "defconfig: holi: Enable F2FS_CHECK_FS for holi" 2020-10-02 18:08:54 -07:00
qctecmdr
9b3635accb Merge "mm: slub: Add debugfs interface to capture slub allocs owner" 2020-10-02 18:08:53 -07:00
qctecmdr
3bd5b143da Merge "drivers: qcom: sys_pm_vx: add barrier after read" 2020-10-02 18:08:53 -07:00
Yue Ma
bba33b3509 cnss2: Check if firmware asserts before power off for CBC
Do a final check for firmware assert before powering off device
in calibration mode. Collect RAM dump if firmware has asserted
for debug purpose. Also skip dump collection if device is already
powered off.

Change-Id: I99a438d6b7d7048b300244511c72d6fbfc610094
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-10-02 10:48:19 -07:00
Shashank Babu Chinta Venkata
f57ed9297e input: touchscreen: st: toggle reset gpio during error on SVM
Toggle reset gpio of touch controller during an error
scenario on Secondary Virtual Machine(SVM).

Change-Id: I5d296248c88a6eef13887884892894faa4c984e6
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2020-10-02 09:37:24 -07:00
Shashank Babu Chinta Venkata
6a16d11bf3 input: touchscreen: st: add state machine for TUI error handling
Introduce state machine for various checkpoints in trusted touch usecase.
In error scenarios, this state machine helps driver to rollback to
previous state.

Change-Id: I8c8a0d23c0c44ed5e4be5e623680a250636b78f4
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2020-10-02 09:36:46 -07:00
Naman Padhiar
380c17f3dc icnss2: Fix null-pointer derefrence while thermal unregister
Structure pointer added in list was not deleted properly.
Delete list in proper sequence and free pointer.

Change-Id: I9a5deb0801ec7366d0be7049e8771016a3bbdf44
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-10-01 18:52:21 -07:00
Naman Padhiar
f6227b5eef icnss2: Remove voltage vote for vdd-cx-mx after probe
Remove voltage vote for vdd-cx-mx after probe. So that RPMh
should not condider APPS voltage vote.

Change-Id: I7a2bfff1298721f2736467b1b1bd694a578cd91f
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-10-01 18:49:39 -07:00
Naman Padhiar
3566a6afd5 ICNSS2: Send MSA address range to firmware
Send MSA segment of DDR to FW with IOVA range as part of
Host Capability. So that FW detect invalid host DDR access
before SMMU fault happens.

Change-Id: I21c011b50c54f37dd7b5a942e1914c1afdf6d766
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-10-01 18:18:18 -07:00
Naman Padhiar
e926a43389 icnss2: Export API to host driver to exit power save
Avoid sending EXIT_POWER_SAVE QMI message to FW from
kernel pm_resume callback. Send EXIT_POWER_SAVE QMI
from new exported API which will be called from Host
driver at the time of HOST_WAKEUP_FROM_SLEEP.
When FW receive EXIT_POWER_SAVE QMI, it will implicitly
consider that it also received HOST_WAKEUP_FROM_SLEEP
and send ACK for it through CE2.

Change-Id: Iba6e0d026749bbe5fb4fca5547cad4540932142f
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-10-01 18:06:41 -07:00
Asutosh Das
3232ccee03 defconfig: Enable CONFIG_UFS_DBG for general builds
Enables ufs debug feature for general/debug builds.
Disables this feature for perf builds.

Change-Id: I2b30c8081d24db7871c277c67631d92fc7d9ea60
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-10-01 15:55:50 -07:00
Asutosh Das
bcc5c13c0a scsi: ufs-qcom: Add sysfs for a debug state
This sysfs entry provides the state of the driver.
If it's in debug/perf state.
This can be used by user-space scripts to toggle various tracing.

Change-Id: If0e3d8e032f60c9134bdd5ce27fe37687e67770a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-10-01 15:55:40 -07:00
Vijayanand Jitta
c05914a1ab tracing: Add CONFIG_KPROBES_QGKI config
Add CONFIG_KPROBES_QGKI which enables the kprobe debug
module on QGKI builds.

Change-Id: I2e216c1d0561183ccc4284ce9a75bf7be45f2798
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2020-10-02 02:53:27 +05:30
Armaan Siddiqui
9ac0a72676 msm: ipa: add support to 15 PDN offload via IPA
Make changes to increase the max num hw pdns to 15 to cater
to requirement. Also increase the SRAM memory for PDN table
to store the additional PDN entries.

Change-Id: I6a0ff4659d4c577635b89e7d8d2a0de108b39269
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2020-10-02 02:44:57 +05:30
Jordan Crouse
c1e3429092 msm: kgsl: Don't allow re-importing memory owned by KGSL
Don't allow IOCTL_KGSL_MAP_USER_MEM to import user memory that was
already allocated and mapped by KGSL in the first place.  Remapping
memory never makes sense and it messes up reference counting in the
pools.

Change-Id: Ic0dedbade96ac6b30dcbbb794bf57a597f1bb351
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-10-01 14:39:45 -06:00
qctecmdr
9297104f83 Merge "dt-bindings: thermal: Add support for modem skin sensor via QMI" 2020-10-01 13:35:01 -07:00
qctecmdr
84da883b15 Merge "devfreq: add use_ab tunnable" 2020-10-01 13:35:00 -07:00
qctecmdr
263c564bb3 Merge "msm: ipa: Add flag to differentiate b/w gsi db or ddr address" 2020-10-01 13:35:00 -07:00
qctecmdr
64138190eb Merge "msm: kgsl: Move a3xx perfcounters to target specific" 2020-10-01 13:35:00 -07:00
qctecmdr
0db271b936 Merge "leds: qti-flash: Initialize rc in qti_flash_led_symmetry_config()" 2020-10-01 13:34:59 -07:00
qctecmdr
393284bdbc Merge "usb: gadget: qdss: Fix usage of usb_ep_autoconfig()" 2020-10-01 13:34:59 -07:00
qctecmdr
7753d5983d Merge "mmc: sdhci-msm: Update SDCC5 DLL power up sequence" 2020-10-01 13:34:58 -07:00
Santosh Mardi
ed10956833 PM / devfreq: icc: move init call to late init call
Move devfreq_icc to late init call to defer the probing.

Change-Id: I5eecb8f4c3e177696f8c4ebd04b84daef6fc65c2
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-10-01 13:18:58 -07:00
Gaurav Kashyap
58d2ca31d7 hwkm: Empty RSP buffer before any command
Empty the RSP fifo before executing any command in case
there is some stale data from previous commands.

Change-Id: I6f15e8f5a8e901da224e89b741c503d408b9449f
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2020-10-01 11:56:27 -07:00
Armaan Siddiqui
ea75885465 msm: ipa: interface to provide pdn configuration
Make interface changes to get PDN configuration. The ioctl
can be used to notify whether a PDN is in IP collision
mode or in IP passthrough mode and provide the required configuration
information.

Change-Id: I36c596aa449669e5d5b389a1fbdafb6f92a81744
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2020-10-01 23:12:14 +05:30
Taniya Das
8ede36cd8b cpufreq: qcom: cpufreq-hw: Add check for get_cpu_device before usage
Check if the get_cpu_device is NULL before using it for the OPP usage.

Change-Id: I312da0199eac7a78a84f0584e505ab800904f77f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-10-01 21:32:56 +05:30
qctecmdr
8f4bf966d4 Merge "cnss2: Setup DMS QMI client for WLAN MAC address" 2020-10-01 08:54:11 -07:00
qctecmdr
5d916fa113 Merge "serial: msm_geni_serial: Balance vote for zero size transfer" 2020-10-01 08:54:10 -07:00
qctecmdr
26ac3319aa Merge "cnss2: Collect shadow registers for RDDM scenario" 2020-10-01 08:54:09 -07:00
qctecmdr
d7739ad6c4 Merge "cnss2: Add runtime PM stats support" 2020-10-01 08:54:09 -07:00
qctecmdr
243109d661 Merge "usb: gadget: increase the buffer size to 1 MB for tty ports" 2020-10-01 08:54:08 -07:00
qctecmdr
f149243020 Merge "adsprpc: Move sleepable operations outside spin_lock" 2020-10-01 08:54:08 -07:00
Kiran Gunda
567b986a49 power: smb1398: Update adapter_type in the work-queue's context
There is mutex deadlock where the adapter_type is read in the
context of a call-back from the main-charger driver. Fix it by
moving it to the status_change work and using a local variable
to hold the type.

Change-Id: Id112097f70fbfb13acc368e9787cf6a0c3a1acff
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-10-01 07:51:09 -07:00
Saurabh Sahu
75d08e0bf4 clk: qcom: smd-rpm: Change the clock voting sequence for holi
Update the prepare and set rate sequence for snoc_a and
cnoc_a clk for rate to get updated. The sequence will be
first clk_prepare_enable and the clk_set_rate for rate to
update.

Change-Id: Ibc2081e742a3b760c2440aa1987a915001f21b74
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2020-10-01 17:24:03 +05:30
Sayali Lokhande
426cad6654 defconfig: Enable EXT4 and FAT FS for sdxlemur
This change enables EXT4 and FAT FS support for sdxlemur.

Change-Id: I273bcb4d4c78b79ab3bbaa790165f04bcb5595e1
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2020-10-01 15:26:22 +05:30
George Shen
734e44bed3 msm: cvp: Avoid racing in session deletion and use
Avoid a deleted session being used for power update.

Change-Id: I44a6ea0a4c0dda499bc6adac94b2edafdeeab82c
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-09-30 22:23:57 -07:00
Sriharsha Allenki
583fd6c992 defconfig: Enable IPC logging for f_fs on Holi
Enable IPC logging for functionalities like diag, adb
and mtp that uses the f_fs driver on Holi.

Change-Id: I9f627f74d3b34b69da6da8d3390dc5f3eee95f14
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-10-01 10:41:16 +05:30
Taniya Das
56533d2d45 clk: qcom: camcc: Update camcc_cphy_rx Fmax corner for Shima
The clock for cphy_rx LOWSVS fmax is updated from 320 to 266.67MHZ, thus
update the frequency table and also the corner values.

Change-Id: Ibe53a495347a28c15cdbc2049cca0ccdde4b3fcf
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-10-01 09:33:10 +05:30
qctecmdr
198d27fafc Merge "hh_rm_core: delay sending characters to RM" 2020-09-30 20:54:40 -07:00
qctecmdr
8364edfa9c Merge "arm64: defconfig: disable DCC console on VM" 2020-09-30 20:54:39 -07:00
qctecmdr
4a67eaed37 Merge "hh_dbl: fix a race condition while vm is booting" 2020-09-30 20:54:39 -07:00
qctecmdr
5fe63e27d1 Merge "Merge android11-5.4.61+ (e32adae) into msm-5.4" 2020-09-30 17:02:50 -07:00
John Stultz
d240b6929c ANDROID: db845c_gki.fragment: Add missing qcom drivers required for cpufreq functionality
Some additional drivers are now needed for cpufreq to work, so
add them to the db845c_gki.fragment

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie126f4613b9e5e31c9862d3d4b9c2afb4a5562e6
Bug: 146449535
2020-09-30 22:10:23 +00:00
Chandana Kishori Chiluveru
b8f0783b2e dwc3-msm: Map IPA GSI channel doorbell register for different UDC core
Currently GSI endpoint usb_request pointer is allocated only once
during boot time and it used by dwc3 driver for mapping doorbell register
address with USB endpoint request only once. During composition switch
or connect/disconnect scenarios same USB endpoint is being re-enabled and
does not create mapping again.

On some platforms multiple UDC cores can work in device mode. In case
of binding the UDC with primary controller first and then disconnect the
primary and bind UDC to secondary controller. Driver does not re-mapping
the doorbell address with current UDC core and USB GSI wrapper is trying
to access previously mapped GSI DBL address with previous core
resulting into smmu fault.

Fix this issue by adding re-mapping of doorbell using dwc->sysdev node
to map the doorbell register with correct UDC.

Change-Id: I327126148c2311884aee2aa99bb59b7add06e302
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-09-30 14:07:59 -07:00
Jeevan Shriram
a7dbb464f4 ABI: Update section name in script and internal allowed list
With commit 'e83321764 ANDROID: KMI symbol lists: migrate section name'
section name is updated for allowed list. Update the usage to
symbol_list in script as well.

Change-Id: Ie6aa6706405a8b0a79359d4314679c48e42160db
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-09-30 13:12:21 -07:00
Jeevan Shriram
935a33f10a ABI: Cleanup unused symbols in allowed list
Cleanup unused symbols from allowed list.
abidw version: 1.8.0-94f5d4ae-android

Change-Id: I9599200340d02288bc050da89b0547432965d392
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-09-30 13:11:11 -07:00
Paras Singh Jain
3322c948d5 net/embms-kernel : EMBMS Tunneling Module
This module is used to tunnel multicast
packets received on an interface to WLAN
clients which have registered for these
packet streams. Mainly used to tunnel
EMBMS packets received on TMGI streams.

Change-Id: I996077342261ec2cb688e98319c6881d2dd7cce2
Acked-by: Raju Velpula <rvelpula@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-09-30 23:35:09 +05:30
Patrick Daly
8cb612a2b9 dma-mapping-fast: Ensure reserved iovas are actually reserved
"mapping->clean_bitmap" holds the iovas which are currently available.
"mapping->bitmap" holds the iovas which will be available after a tlb
invalidate operation.
For an iova to be reserved properly, it needs to be set in both of the
above bitmaps.

Fixes: 07972090b8 ("dma-mapping-fast: reduce TLBI during map")
Change-Id: I163e63fd1dfc8161733f56d796a9f0a781fd79b1
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-09-30 10:57:37 -07:00
Manikandan Mohan
c0b8681dfe cnss2: Add logs for dev_boot debugfs
Add logs to identify the debug command triggered using dev_boot
debugfs file.

Change-Id: I186293ee9a0e8873d38aed9bd66ca21367205493
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-09-30 10:30:58 -07:00