Commit graph

883,913 commits

Author SHA1 Message Date
qctecmdr
e1bdeb4100 Merge "ASoC: pcm: QGKI startup sequence for playback and capture" 2020-05-27 18:54:59 -07:00
qctecmdr
cdda674ede Merge "sched: walt: Improve the scheduler" 2020-05-27 18:54:59 -07:00
qctecmdr
f7d26b82cb Merge "bluetooth: add support for retrieving power resource values" 2020-05-27 18:54:59 -07:00
qctecmdr
0fdab7244a Merge "usb: dwc3: gadget: Rate limit ep_queue() error message" 2020-05-27 18:54:58 -07:00
qctecmdr
ac8999b71b Merge "Kconfig: Add menu choice option to reclaim virtual memory" 2020-05-27 18:54:58 -07:00
qctecmdr
fdb9672509 Merge "soc: altmode: Detect when remote subsys fails to respond" 2020-05-27 18:54:58 -07:00
qctecmdr
105ee3f8c1 Merge "aarch64: ABI: add symbols to qcom whitelist" 2020-05-27 18:54:58 -07:00
qctecmdr
a52031d060 Merge "soc: qti_battery_debug: Remove CONFIG_DEBUG_FS dependency" 2020-05-27 18:54:57 -07:00
Siddharth Gupta
45c1f3c5da uapi: Fix QCOM headers to work with UAPI_HEADER_TEST
UAPI_HEADER_TEST ensures that all the uapi headers can be built as
standalone files which facilitates their use in the wider world. Fix
headers to use common kernel definitions.

Change-Id: Id20599d5cf1c20150ad90752bccdcf2c218b35da
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2020-05-27 14:56:27 -07:00
Satya Rama Aditya Pinapala
5b0306566e aarch64: ABI: add symbols to qcom whitelist
Change adds unmap_kernel_range, get_vm_area, and
ioremap_page_range to qcom whitelist and update the
ABI snapshot.

Change-Id: I34e3a976f68281b7937719f62379002cb7bf6d93
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
2020-05-27 14:15:52 -07:00
Umesh Vats
ad03fb1739 bluetooth: add support for retrieving power resource values
Added support for retrieving and logging values for various power
resources used by bluetooth driver.

Change-Id: Ia92d6570ef93ca76fc68546e6466df80ec1cf397
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2020-05-27 09:49:46 -07:00
qctecmdr
17439c2c67 Merge "soc: qcom: Add VTCM handling to cdsprm driver" 2020-05-27 08:45:22 -07:00
qctecmdr
edebc0ccbb Merge "Revert "arm: dma: Allow CMA pages to not have a kernel mapping"" 2020-05-27 08:45:22 -07:00
Susheel Khiani
410c74bab1 Kconfig: Add menu choice option to reclaim virtual memory
Add menu choice options for reclaiming virtual
memory belonging to any subsystem expected to have
a lifetime of the entire system. By default virtual
memory is not reclaimed.

Change-Id: I1b8a1492062bb9532700122878618989e5148647
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-27 08:06:31 -07:00
Charan Teja Reddy
d18971d0d4 dma-mapping: add i/o coherency support for 32bit
Add the I/O coherency support for devices that can issue a cache
coherent transactions.

Change-Id: I01b1dca4d72395df41ac5b882dcd3fd75a682b8c
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Vishwanath Raju K <vishk@codeaurora.org>
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-27 23:01:54 +08:00
Bavyasritha Alahari
694724873c soc: qcom: Add VTCM handling to cdsprm driver
VTCM handling in cdsp request manager, reads the device
tree as part of platform driver registration notifier and
sends the data to guestos driver via rpmsg channel and
exposes methods to override partition mapping via
debugfs node.

Change-Id: Ie28e750f0a27f35ec114278aa0b87952ecda70f6
Acked-by: Sreekanth Gande <sgande@qti.qualcomm.com>
Signed-off-by: Bavyasritha Alahari <alahari@codeaurora.org>
2020-05-27 16:25:46 +05:30
Qingqing Zhou
cce1d3c648 Revert "arm: dma: Allow CMA pages to not have a kernel mapping"
This reverts commit 0b06cd5ca5.

The meaning of DMA_ATTR_NO_KERNEL_MAPPING changes, it will not remove
kernel mapping, just return the page pointer directly, so make 32 bit
align with 64 bit.

Change-Id: I905f2faa11681dff745191928345fef00c9ec796
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-27 18:17:19 +08:00
qctecmdr
8f9e82655d Merge "net: qrtr: Ignore ENODEV failures in ns" 2020-05-27 00:13:42 -07:00
qctecmdr
c05ee13d5e Merge "NFC: Enable NFC driver in the GKI build" 2020-05-27 00:13:42 -07:00
qctecmdr
c606037c2d Merge "mm: Remove shrink_page" 2020-05-27 00:13:41 -07:00
Jack Pham
ad718dac47 usb: dwc3: gadget: Rate limit ep_queue() error message
In case of a soft disconnect the controller will be halted
via dwc3_gadget_run_stop(). However, a function driver might
be unaware of this and could still be continuing to call
usb_ep_queue() in a different process. Since pullups_connected
is false, this results in a dev_err() to be printed and could
happen quite frequently before the function's disconnect or
unbind callbacks are finally notified. Rate limit this error
message to avoid flooding the kernel log.

Change-Id: If5299cdfd7eee13bb51a8cf29917d9674d0a7c9b
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-05-26 23:33:06 -07:00
Karthik Poosa
eca0dbcda6 NFC: Enable NFC driver in the GKI build
Add NFC I2C driver as loadable module.

Change-Id: Ib6188940c850f63a458b6bf0eba6b35a2b898362
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-05-26 20:41:41 -07:00
qctecmdr
58f1b8ccb0 Merge "ARM: dts: msm: Create softlink for vendor specific dt" 2020-05-26 19:58:21 -07:00
qctecmdr
32e550cb6b Merge "soc: qcom: socinfo: Add LAHAINAP's soc-id" 2020-05-26 19:58:21 -07:00
qctecmdr
29fc359d04 Merge "aarch64: ABI: Remove slim_* APIs from whitelist" 2020-05-26 19:58:21 -07:00
qctecmdr
44978760c1 Merge "thermal: adc-tm: Ensure valid match data is obtained" 2020-05-26 19:58:20 -07:00
qctecmdr
e7b04640ad Merge "net: qrtr: Fix error pointer vs NULL bugs" 2020-05-26 19:58:20 -07:00
Chris Lew
e5bbd357d9 net: qrtr: Ignore ENODEV failures in ns
Ignore the ENODEV failures returned by kernel_sendmsg(). These errors
mean either the local port has closed or the remote has gone down.
Neither of these scenarios are fatal and will eventually be handled
through packets that are later queued on the control port.

Also improve the logging messages to print the error code returned by
kernel_sendmsg().

Change-Id: Ibcebd1f44a3fbc87febaa84b11e05675663da5a0
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-05-26 10:16:56 -07:00
Chris Lew
617ffc4bf4 net: qrtr: Add pr_fmt to ns
Add pr_fmt to the ns file for easier error log matching.

Change-Id: I711735ee60c1fd9fde25850b8e625bb44c04f4c4
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-05-26 10:16:42 -07:00
qctecmdr
08a7059080 Merge "arm: dma: Allow CMA pages to not have a kernel mapping" 2020-05-26 09:46:03 -07:00
qctecmdr
e9fb0680f4 Merge "msm: adsprpc: Fix NULL pointer error when DEBUG_FS is disabled" 2020-05-26 09:46:03 -07:00
qctecmdr
9db02bb1ad Merge "msm: rdbg: Add snapshot of remote debugger driver" 2020-05-26 09:46:02 -07:00
qctecmdr
89194b4b74 Merge "msm: kgsl: Use DMA APIs for cache operations" 2020-05-26 09:46:02 -07:00
qctecmdr
7dbb2a281f Merge "msm: cvp: handles dsp error more reliably" 2020-05-26 09:46:02 -07:00
Raghavendra Rao Ananta
c6146aa00d soc: qcom: socinfo: Add LAHAINAP's soc-id
Add "LAHAINAP", that has an msm-id of 439, to the list of
soc-ids supported.

Change-Id: I9e9a98bb66b541e654de6ad9e9a8ec9d2bd5cd03
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-26 09:21:28 -07:00
qctecmdr
113813fd26 Merge "arm: make default iova alignment as 2mb" 2020-05-26 05:19:43 -07:00
Mohammed Nayeem Ur Rahman
9fb522a577 msm: adsprpc: Fix NULL pointer error when DEBUG_FS is disabled
Add extra checks to avoid NULL pointer derefernce when DEBUG_FS
is disabled.

Change-Id: I46ff3b8b27b53ff5bb5dead78ccdefc410435dda
Acked-by: Tadakamalla Krishnaiah <ktadakam@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-05-26 04:35:23 -07:00
qctecmdr
f32b8945f0 Merge "clk: qcom: camcc: Add support for CAMCC clock driver for SHIMA" 2020-05-26 01:31:01 -07:00
Mohammed Nayeem Ur Rahman
fac21defed msm: rdbg: Add snapshot of remote debugger driver
The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.
This snapshot was taken as of msm-3.10 commit
("Merge "msm: msm_bus: Provide valid input pointer argument").

Change-Id: Id79ca428b311dda90467155611af3e2a0fff1fcf
Acked-by: Devender Kaushik <dkaushik@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-05-26 12:50:12 +05:30
Raghavendra Rao Ananta
f1a4a49b2e aarch64: ABI: Remove slim_* APIs from whitelist
As the slim_* APIs are exported via a module that's enabled
in lahaina_GKI.config, they need not be whitelisted. Hence,
exclude them from the whitelist.

Change-Id: Idc10bed503b987710558d8bed32ab340afcef81d
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-25 19:05:49 -07:00
Himateja Reddy
2a7519b146 msm: adsprpc: remove exsessive logging in context_free
Async RPC can easily exhaust the context table and results in failure.
Context free during context table exhaustion failure causes excessive
logging. Remove logging in context_free.

Change-Id: I4de2d638d465f98eeccabaefe99ae589e3780169
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-05-25 18:57:01 -07:00
qctecmdr
729fffbd95 Merge "arm: dma_mapping: Support for DOMAIN_ATTR_S1_BYPASS attribute" 2020-05-25 06:14:50 -07:00
qctecmdr
4c41069d14 Merge "soc: qcom: spss_utils: fix driver module remove" 2020-05-25 06:14:50 -07:00
qctecmdr
81604f60ff Merge "coresight: tmc: set buffer size to 32MB on SW USB mode" 2020-05-25 06:14:49 -07:00
qctecmdr
54734c6f24 Merge "coresight: etm4x: call cpus_read_unlock in error exit" 2020-05-25 06:14:49 -07:00
qctecmdr
b6f208ddff Merge "clk: qcom: gcc-shima: Add support for ref clocks" 2020-05-25 06:14:48 -07:00
qctecmdr
8502acac7a Merge "input: touchscreen: st: fix security issue" 2020-05-25 02:30:40 -07:00
Patrick Daly
0b06cd5ca5 arm: dma: Allow CMA pages to not have a kernel mapping
Currently, there are use cases where not having any kernel
mapping is required; if the CMA memory needs to be used as
a pool which can have both cached and uncached mappings we
need to remove the mapping to avoid the multiple mapping
problem. Extend the dma APIs to use the DMA_ATTR_NO_KERNEL_MAPPING
with CMA. This doesn't end up saving any virtual address space
but the mapping will still not be present.

Change-Id: I64d21250abbe615c43e2b5b1272ee2b6d106705a
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-25 00:34:39 -07:00
Liam Mark
84df8c8f74 arm: dma-mapping: map_page map to nearest page
Since the page offset can be greater than the size of a page fix
arm_coherent_iommu_map_page so that it maps to nearest page
boundary.

This both prevents unnecessarily mapping memory we don't need to
map and fixes a issue where the unmap wasn't unmapping this extra
memory.

Change-Id: Iaa69aff7505ee75d1f2e69bb0cda814bc6211bd3
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-25 00:34:25 -07:00
Shiraz Hashim
cdc7377df2 arm: dma-mapping: fix data types to hold size_t
size_t type data should not be held under variable of type
int, as this can truncate large values especially on a
64bit system. Fix it.

Change-Id: I5ad1ab321738772a99920e3fa287bda266cb05ed
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
2020-05-25 00:28:24 -07:00