Commit graph

877,516 commits

Author SHA1 Message Date
Mukesh Ojha
92e27bdfd0 arm64: Kconfig: Add config option for Shima
Add option "CONFIG_SHIMA" to enable the compilation
for Shima platform.

Change-Id: If0d21709036af533e35aa14188c6a29b3c2e3759
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-02-26 12:38:45 +05:30
qctecmdr
bc4811bb64 Merge "arm64: defconfig: Enable memory debug configs on Lahaina" 2020-02-15 04:45:14 -08:00
qctecmdr
74fcbede00 Merge "arm64: defconfig: Enable new touchscreen on Lahaina" 2020-02-15 04:45:14 -08:00
qctecmdr
776e6bfb94 Merge "kernel_headers: Fix headers not detected in incremental builds" 2020-02-14 08:25:43 -08:00
qctecmdr
a5984a227e Merge "dma-mapping-fast: Align memory allocation to dma_alloc_attrs expectations" 2020-02-14 08:25:43 -08:00
qctecmdr
97b74a2c32 Merge "defconfig: lahaina: enable FSA driver on Lahaina" 2020-02-14 08:25:43 -08:00
qctecmdr
7d3eb3102b Merge "leds: qti-flash: Add individual APIs to enable and disable switch" 2020-02-14 08:25:42 -08:00
qctecmdr
8af9292135 Merge "msm: adsprpc: Add force no flush and invalidate flag" 2020-02-14 08:25:42 -08:00
qctecmdr
737f2f1603 Merge "msm: adsprpc: Remove remote mappings after PD is up" 2020-02-14 08:25:42 -08:00
qctecmdr
c11ae948db Merge "adsprpc: use uint for counters and maintain consistency in datatypes" 2020-02-14 08:25:41 -08:00
qctecmdr
6ef5c2e0e3 Merge "msm: adsprpc: Add error handling checks" 2020-02-14 08:25:41 -08:00
qctecmdr
b59b6f92d1 Merge "msm: adsprpc: Remove output buffers from cache flush logic" 2020-02-14 08:25:40 -08:00
qctecmdr
4883cd2129 Merge "i3c: i3c-master-msm-geni: Support for 3.4 Mhz,400 Khz" 2020-02-14 04:31:24 -08:00
qctecmdr
d83a937da4 Merge "haven: Add support for MEM_NOTIFY" 2020-02-14 04:31:23 -08:00
qctecmdr
06547e6f05 Merge "sched: Provide stub definitions for WALT" 2020-02-14 04:31:23 -08:00
Tharun Kumar Merugu
2296a3a971 msm: adsprpc: Remove output buffers from cache flush logic
Flush only input buffers during cache maintenance, removing output
buffers from flush logic, helpful when target or buffer is
non-coherent.

Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Change-Id: If84c5bcc0a136d2943ab96c137d0561b8ef8d47d
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2020-02-13 22:01:01 -08:00
Tharun Kumar Merugu
b7d4c9a38a msm: adsprpc: Add error handling checks
Add null pointer check and VERIFY statement for error handling.

Change-Id: Ie51fddd4e279de0246b3b45fe0a947fe5ebb96c3
Acked-by: Maitreyi Gupta <maitreyi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2020-02-13 21:56:46 -08:00
Tharun Kumar Merugu
668385da4e msm: adsprpc: Add force no flush and invalidate flag
Adding force no flush and invalidate flag for rpcmem_alloc
and respective attributes for remote_register_buf_attr.
Skip flush and invalidate if corresponding flag is set.

Change-Id: I5b872d1f22b082716a1fe715375c66a212fedbac
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2020-02-13 21:50:39 -08:00
Tharun Kumar Merugu
2013a57488 adsprpc: use uint for counters and maintain consistency in datatypes
Use unsigned int for counters and maintain consistency when using
in the datatypes.

Change-Id: Ib4f15d3e0a5971da1beaeb57dc1b827e60c94d0a
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2020-02-13 21:46:31 -08:00
Tharun Kumar Merugu
95aed7d580 msm: adsprpc: Remove remote mappings after PD is up
Currently before staticPD on QDSP is up, remote mappings are
being removed. Instead, remove the mappings after staticPD is up.

Change-Id: I10a37b4c840dbd830f7b8897aabbf8681329b74c
Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2020-02-13 21:37:27 -08:00
qctecmdr
0a928fdb82 Merge "leds: qti-flash: Update interrupt names" 2020-02-13 21:01:40 -08:00
qctecmdr
f460c8c173 Merge "arm64: defconfig: Enable QCOM EUD driver" 2020-02-13 21:01:39 -08:00
qctecmdr
6cf8d75aca Merge "coresight-etm4x: Don't set LPOVERRIDE bit when tupwr-disable is true" 2020-02-13 21:01:39 -08:00
qctecmdr
efe21f4215 Merge "msm: kgsl: Always boot GMU with default CM3 config" 2020-02-13 21:01:39 -08:00
qctecmdr
b63310f0cf Merge "usb: ep0: complete the pending control request before soft-disconnect" 2020-02-13 21:01:38 -08:00
qctecmdr
460b75a424 Merge "sound: usb: Add snapshot for usb audio qmi driver" 2020-02-13 21:01:38 -08:00
qctecmdr
c457c4b2b7 Merge "msm: kgsl: Add rgmu_init() for firmware loading" 2020-02-13 21:01:38 -08:00
qctecmdr
b074d379c5 Merge "ASoC: Update the widgets power up/down sequence" 2020-02-13 21:01:38 -08:00
qctecmdr
6b986520ed Merge "msm: cvp: Enable CVP auto PIL" 2020-02-13 21:01:37 -08:00
qctecmdr
bf0c0917a2 Merge "ion: msm: Add support for secure allocations for the Trusted UI(TUI) VMID" 2020-02-13 21:01:37 -08:00
qctecmdr
3d240c26b7 Merge "haven: Add the memparcel handle as a well known haven type" 2020-02-13 21:01:37 -08:00
qctecmdr
9eadcfc557 Merge "drivers: firmware: psci: Register with kernel restart handler" 2020-02-13 21:01:36 -08:00
qctecmdr
453686cea6 Merge "crypto: msm: Rename qcrypto module" 2020-02-13 20:44:10 -08:00
Meng Wang
52846c3d83 defconfig: lahaina: enable FSA driver on Lahaina
Enable FSA driver on Lahaina to support analog type-c
headset.

Change-Id: Ia95383641030c9ff56300c975ffd35a96abcdac5
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-02-14 08:44:07 +08:00
Satya Durga Srinivasu Prabhala
f1214c569a sched: Provide stub definitions for WALT
When WALT and CFI are enabled, weak symbols which points to NULL
are causing issues like global structures becoming NULL due to
compiler/linker treatment of these symbols.

Provide proper stub definition for all such weak symbols to avoid
issues until compiler/linker gets fixed.

Change-Id: I3dce047393521681e663a0ad254b07e9769e0265
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-02-13 16:42:34 -08:00
Isaac J. Manjarres
aa7f44e9e2 haven: Add support for MEM_NOTIFY
MEM_NOTIFY is useful for sending VMs notifications about
memory that has been shared with them, as well as sending
owners of memory an indication that a VM has released memory
that they own, so add support for it.

Change-Id: I65bf0d000c8b3850f04c85eec70692728314b26d
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
831fa9b6df haven: Add support for MEM_SHARE/MEM_LEND
Relying on hyp_assign for sharing memory is not sufficient,
as there are certain cases where hyp_assign is not applicable
for sharing memory (e.g. I/O memory). Add support for the MEM_SHARE
and MEM_LEND operations for sharing/lending memory with other
VMs respectively.

Change-Id: I7de502385a045f073540fa30c164b3410f6b5bd0
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
ef8e696420 haven: Add support for the MEM_ACCEPT call
The MEM_ACCEPT call is required for VMs to map the
memory represented by a handle into their RM managed
page-tables, so add support for it.

Change-Id: I669ebd8298af405ca586a5721b26c4e19ffe39aa
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
fbfc1adc6f haven: Add support for the MEM_RELEASE/MEM_RECLAIM calls
The MEM_RELEASE/MEM_RECLAIM RM calls are required to unmap memory
from the RM managed page-tables of VMs, as well as for VMs that
own memory to reclaim it respectively, so add support for it.

Change-Id: I6b8025cb08067331deb9cc89ec1d36c94c959c59
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
d12ac73e1a haven: Add support for the MEM_QCOM_LOOKUP_SGL call
The MEM_QCOM_LOOKUP_SGL RM call is required to retrieve
handles for memparcels created through hyp assign. Thus,
add support for it in the RM driver.

Change-Id: Ib854187daffa13a44c948111ef560c3479f2590c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
53f0964dce haven: Add support for the mem-buf driver's message queue
Expose the label used for the mem-buf message queue.

Change-Id: I6f7c7629f9f6a4aefaea65653187ba210ef6ceb8
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:18 -08:00
Isaac J. Manjarres
c58ff8669f haven: Add the memparcel handle as a well known haven type
The memparcel handles are standard in the haven interface,
so expose them to the rest of the kernel.

Change-Id: Id8eafd5f3fe0f1403b9b76b9a0176c11d6546707
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 16:26:17 -08:00
qctecmdr
e8c9c4f0ab Merge "arm64: defconfig: Enable Haven HVC Driver" 2020-02-13 11:21:05 -08:00
qctecmdr
0e3751b095 Merge "defconfig: Enable ARCH_QTI_VM config" 2020-02-13 11:21:05 -08:00
Subramanian Ananthanarayanan
8a857c7140 i3c: i3c-master-msm-geni: Support for 3.4 Mhz,400 Khz
The change involes support for 3.4 Mhz and modified clk values for 400 Khz
to support NFC enumeration. Also changed open drain frequency to be used
from i2c clk freq passed from DTSI.

Change-Id: Iee75cfcd630e905b10bff790de84b1da2efdc042
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
2020-02-13 11:19:39 -08:00
Rishabh Bhatnagar
8878f18eff kernel_headers: Fix headers not detected in incremental builds
Currently the Soong logic doesn't kick in if a change updates
headers but doesn't update gen_headers_arm*.bp files for
incremental builds. Fix the issue by making inputs to the
kernel_headers.py script as variables instead of a list.

Change-Id: I9737f6d655848458bfda70b8c6f4d9aa896a98fc
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2020-02-13 10:22:22 -08:00
Isaac J. Manjarres
4bb0643878 dma-mapping-fast: Align memory allocation to dma_alloc_attrs expectations
On newer kernels, memory allocated by dma_alloc_attrs() is
expected to be zeroed out upon allocation. The allocation
paths in fastmap do not currently account for this new
requirement, so update them to zero out memory, unless
the client explicitly asks for memory to not be zeroed out.

Change-Id: I5c7fa81ab4b8fa98890036082883769ab12443c6
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-13 10:11:33 -08:00
qctecmdr
4c93b2bdf0 Merge "serial: msm_geni_serial: Manage HSUART clocks when read HW Ver" 2020-02-12 23:42:26 -08:00
Shyam Kumar Thella
47bdf1e475 leds: qti-flash: Add individual APIs to enable and disable switch
Currently qti_flash_led_switch_brightness_set() is used to enable or
disable switch. Split it into separate APIs to enable and disable
switch. This will make it easier to control switches which is required
for implementing slow-sync flash feature.

Change-Id: I668ab872d1d646f97ed8fbfba4dfca6b4db5bc70
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-02-13 10:55:21 +05:30
Fei Mao
f75f798d17 arm64: defconfig: Enable new touchscreen on Lahaina
Enable new Focaltech touchscreen driver on Lahaina.

Change-Id: If3d837b3070899fc019339d93866e4025fc87a85
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-02-12 17:50:25 -08:00