Commit graph

884,167 commits

Author SHA1 Message Date
AnilKumar Chimata
42915e55d6 smcinvoke: Move error message to debug
Most of the times mink returns response type as inbound
request needed, which is nothing but call back object
requests. While decoding the response type it should
provide as info or debug message instead of error message.

Change-Id: I7eac9f6ae779b4c3d952fac38880cf4a658428c5
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2020-06-10 20:45:38 +05:30
qctecmdr
063759141a Merge "aarch64: ABI: Update the QCOM whitelist" 2020-06-09 14:37:35 -07:00
qctecmdr
f5090438b6 Merge "interconnect: qcom: Add check to return status of clk_bulk_prepare_enable" 2020-06-09 14:25:01 -07:00
qctecmdr
f6564e6eb6 Merge "input: qcom-hv-haptics: update drive waveform data format" 2020-06-09 14:25:01 -07:00
qctecmdr
ff0bdab35c Merge "taskstats: add support for system stats" 2020-06-09 14:25:01 -07:00
qctecmdr
af1c8b84de Merge "interconnect: qcom: Fix the link error on 32bit architecture" 2020-06-09 14:25:00 -07:00
Raghavendra Rao Ananta
4dde087f1c aarch64: ABI: Update the QCOM whitelist
Update yet another batch of QCOM whitelist file with additional
symbols and regenerate the snapshot accordingly.

Change-Id: I0997a786fd50180744f1eb8fc9b0a817c589eb5e
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-09 06:37:53 -07:00
Siddharth Gupta
a74880d61c ANDROID: GKI: Enable SYS_HYPERVISOR
Used by some Linux hypervisor support to tell userspace which hypervisor
it is being run under.

Bug: 157224726
Change-Id: Ia1cb56e665af6b60f6a51b5e81dd7abed240f812
Signed-off-by: Alistair Delva <adelva@google.com>
Git-repo: https://android.googlesource.com/kernel/common/
Git-commit: f8aa5f514ccb2ded066fe47f6fd571fe016ca648
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2020-06-08 21:33:05 -07:00
qctecmdr
ad191fdc0c Merge "mm/memory_hotplug: Rate limit page migration warnings" 2020-06-08 17:54:16 -07:00
qctecmdr
36b26404a3 Merge "net: qrtr: Handle error from skb_put_padto" 2020-06-08 17:54:16 -07:00
qctecmdr
60794f6c20 Merge "arm64: defconfig: Reduce default CMA pool from to 8 MB for trusted VM" 2020-06-08 17:54:15 -07:00
qctecmdr
64159ee1f0 Merge "msm: adsprpc: ignoring error messages for duplicate RPC respond packets" 2020-06-08 17:54:15 -07:00
qctecmdr
d4c0865117 Merge "haven: dbl: Fix use-after-free in tx/rx unregister" 2020-06-08 17:54:15 -07:00
qctecmdr
38951e4b2f Merge "msm:adsprpc: Fix 32 bit error in capability API" 2020-06-08 17:54:15 -07:00
qctecmdr
247b2c85d3 Merge "msm: kgsl: Disable UCHE dual command queue" 2020-06-08 17:54:14 -07:00
qctecmdr
7b52053b50 Merge "arm64: defconfig: Enable SMCInvoke for GKI based config" 2020-06-08 17:54:14 -07:00
qctecmdr
6e7311054a Merge "soc: qcom: mem-offline: Restore page table mappings properly in online path" 2020-06-08 17:54:13 -07:00
Dinesh K Garg
a6a7e18beb arm64: defconfig: Enable SMCInvoke for GKI based config
Enabling SMCInvoke for GKI based configuration

Change-Id: I377a14fb295b0c99d41867b89e79c2669d7d2982
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2020-06-08 09:48:30 -07:00
qctecmdr
24ed5bd0dd Merge "ANDROID: GKI: mm: add struct vm_fault fields for SPECULATIVE_PAGE_FAULTS" 2020-06-08 08:54:29 -07:00
qctecmdr
328be0c51b Merge "RTIC: Move selinux_state to a separate 4k" 2020-06-08 08:54:29 -07:00
Naveen Yadav
281d369bca interconnect: qcom: Add check to return status of clk_bulk_prepare_enable
Since clk_bulk_prepare_enable function is defined with __must_check option,
add check to return status of clk_bulk_prepare_enable in qcom_icc_set
function.

Change-Id: I69fed5bdda38edfa89af3d899333d6e6f9f939f9
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-06-08 19:42:28 +05:30
qctecmdr
6a326ce1dc Merge "msm: adsprpc: Check size with length passed by client" 2020-06-08 04:30:43 -07:00
qctecmdr
bf2d916a9f Merge "soc: qcom: smd-rpm: Support new clocks resources" 2020-06-08 04:30:43 -07:00
qctecmdr
d2340decfd Merge "msm: kgsl: Make GPU core initialization consistent across the list" 2020-06-08 04:30:42 -07:00
qctecmdr
240ed0260c Merge "power: supply: qcom: Add snapshot of SMB5 charger driver" 2020-06-08 04:30:42 -07:00
Naveen Yadav
b3cf25f2a8 interconnect: qcom: Fix the link error on 32bit architecture
Update the bcm_div function to use do_div() to prevent compiler
from generating undefined reference to `__aeabi_uldivmod' warnings
on 32bit architecture.

Change-Id: Iba37b5f286e76b0ce903b6e0e0344e9659b0004f
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-06-08 16:52:23 +05:30
Preeti Nagar
55c09c9b96 RTIC: Move selinux_state to a separate 4k
We need to relocate selinux_state to a separate 4k page
to enable EL2 Hypervisor to monitor changes to this
variable using ARM stage 2 MMU. We will avoid getting
page faults from un-related data as the MMU granularity
is configured to 4k.

Change-Id: I7d0e5c9eae0a2a65ca9db73e85283e164e20c11c
Signed-off-by: Preeti Nagar <pnagar@codeaurora.org>
2020-06-08 15:49:07 +05:30
Jishnu Prakash
58bfbabe9e power: supply: qcom: Add snapshot of SMB5 charger driver
Add snapshot of qpnp-smb5 charger driver from msm-4.19
as of commit 1bb7bbeb1d09("sched: Fix compilation errors
with !WALT").

Change-Id: Ie7c99bea8887dcb97244e43e7984e2a82d1e5526
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-06-08 02:17:27 -07:00
Fenglin Wu
327de86822 input: qcom-hv-haptics: update drive waveform data format
Use 2's complement data format for driving pattern waveform because
the pattern/FIFO samples used in the driver are all having unsigned
data type.

Change-Id: Ib0f7c1c7fe272068177237821debbd3cc1ad4ec8
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-06-08 15:10:57 +08:00
Fenglin Wu
e3ff6ae4a0 input: qcom-hv-haptics: detect 5V variant and update gain setting
PM8350B has a variant which only supports haptics with Vmax up to 5V.
Detect this variant and update Vmax settings accordingly to make sure
the gain setting change can be correctly reflected.

Change-Id: I916fba21d8a441b9e95edeef5af715d451ba70cf
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-06-08 15:02:27 +08:00
qctecmdr
85a774ce52 Merge "aarch64: ABI: Update the QCOM whitelist" 2020-06-07 23:35:40 -07:00
qctecmdr
323d9afcfe Merge "soc: qcom: mem-buf: Align allocation sizes to MHP subsection size" 2020-06-07 23:35:39 -07:00
Mohammed Nayeem Ur Rahman
ad1583f391 msm: adsprpc: Check size with length passed by client
Check whether size of fd is greater than or equal to
length passed by client. If its not checked here, client
might access unmapped address on dsp.

Change-Id: I4e176f32b0f263e2f7bf648e03b4ca904479527b
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-06-07 23:07:32 -07:00
Shyam Kumar Thella
3be2db0032 power: supply: Add snapshot of QPNP QG driver and its dependencies
Add snapshot of the qpnp-qg driver as of msm-4.19
'commit 7bbb67403d95 ("Merge: msm_geni_serial: Correct the DMA RX
interrupt logic")'.

Change-Id: If8df8bc75705676006be7172c20469baa1c1dae6
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-06-08 11:26:57 +05:30
Suren Baghdasaryan
e89b2b7f5b ANDROID: GKI: mm: add struct vm_fault fields for SPECULATIVE_PAGE_FAULTS
Two new fields in the struct vm_fault can't easily be excluded using
CONFIG_SPECULATIVE_PAGE_FAULTS. Add them as padding to reduce the
ABI diff between vendors which use SPECULATIVE_PAGE_FAULTS and ACK. This
allows vendors to pick the SPECULATIVE_PAGE_FAULTS feature and still be
ABI compatible with ACK.

Bug: 153715905
Test: build
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
(cherry picked from commit 47e3eb155848872a13ab6ef73a4d0eecac36ce66)
[surenb: kept only struct vm_fault changes and dropped the rest]
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I08dbe38f37fa3e8a0f96f71cb6b2dd8737221da5
Git-commit: a1db93d3a956eae02646e3269f5bb6f3c6fdc7c9
Git-Repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-06-08 10:46:23 +05:30
Isaac J. Manjarres
f400169d69 soc: qcom: mem-offline: Restore page table mappings properly in online path
On newer kernels, a feature was added to adjust the linear alias
mappings of pages mapped within the vmalloc space such that the
mappings are consistent with respect to each other (i.e. if the
memory is mapped as R/O in the vmalloc space, then the linear
mapping's permission attributes should also reflect a R/O mapping).
This is known as the rodata full feature.

This sort of protection is not feasible with block mappings, as block
mappings do not allow access control at a page granule, so when this
feature is enabled, or debug pagealloc is active, the kernel will not
use block mappings.

The logic in the memory offlining driver is not aware of the rodata_full
feature and when the memory is being onlined after being offlined,
it blindly assumes that if debug pagealloc is disabled, it can restore
the block mappings for the memory that is being onlined. This leads to
inconsistencies, as the memory is actually mapped without block
mappings, which ultimately results in the page table mapping not being
restored from the time at which the memory was offlined.

Thus, when onlining memory online the memory without block mappings if
the rodata full feature is enabled and debug page alloc is disabled.
Otherwise, restore the mappings using block mappings.

Change-Id: I56a3d3754deb62e0a894a14b06eaab522e6f0a05
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-06-07 20:13:28 -07:00
Edgar Flores
37fd13294c msm: adsprpc: ignoring error messages for duplicate RPC respond packets
Ignoring duplicate packets in high concurrency scenarios when using
early_wake feature. This will avoid system restart since duplicate
packets are causing many error messages to be send to kernel logs.

Change-Id: I214d415c6df016268459bb5dad33e73d20dac925
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
2020-06-07 19:42:15 -07:00
qctecmdr
cb9b03954c Merge "usb: dwc3: debugfs: Add LPM check for ep_info_register" 2020-06-07 19:33:15 -07:00
qctecmdr
f23a376aa5 Merge "soc: qcom: qti_battery_debug: Add NULL check" 2020-06-07 19:33:15 -07:00
qctecmdr
e2e7b603cc Merge "msm: cvp: poll on cvp lpi status during power down" 2020-06-07 19:33:14 -07:00
qctecmdr
c7786668e6 Merge "arm64: defconfig: change VA bits to 39 from 48" 2020-06-07 19:33:14 -07:00
qctecmdr
94e4bc29fa Merge "defconfig: lahaina: Enable AMOLED ECM driver" 2020-06-07 19:33:14 -07:00
qctecmdr
6d688f0472 Merge "haven: irq: Support lending from other domains" 2020-06-07 19:33:14 -07:00
qctecmdr
abc354e684 Merge "leds: qti-flash: Do not enable flash without the timeout" 2020-06-07 19:33:13 -07:00
qctecmdr
7505c36e78 Merge "cpuidle: lpm_levels: Wakeup biased cpu" 2020-06-07 19:33:13 -07:00
Taniya Das
fa45c0de3a soc: qcom: smd-rpm: Support new clocks resources
Add the clock resource ids required to vote from the smd rpm clock
driver.

Change-Id: Ic224d83ea2aacabd26450498b626ebfc687aad04
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-06-07 16:36:51 +05:30
Taniya Das
54d68c324d dt-bindings: clock: Update the SMD-RPM clock ID
Add and update new clock IDs for SMD rpm clocks.

Change-Id: I46b711ef26fb3995372009a917f6252d4ec87e98
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-06-07 16:36:45 +05:30
Rajesh Kemisetti
67e92d19e3 msm: kgsl: Make GPU core initialization consistent across the list
Add missing base reference for GPUs to make them consistent
across the list.

Change-Id: Iaaf9ce83fc21d18f5aea573cabe4c99b1454fc76
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2020-06-07 11:47:02 +05:30
Raghavendra Rao Ananta
6b2f5048ba aarch64: ABI: Update the QCOM whitelist
Update the QCOM whitelist file with additional symbols and
regenerate the snapshot accordingly.

Change-Id: I09c9c91d9d0d1c5bafcb54bd4893f7554c4b8e49
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-06 07:57:13 -07:00
Prakruthi Deepak Heragu
21b3dfffb4 tracing: Remove unnecessary DEBUG_FS dependency
As of commit <a5f1397e4b> ("Revert "BACKPORT: tracing: Remove
unnecessary DEBUG_FS dependency""), DEBUG_FS was selected by TRACING.
Remove DEBUG_FS dependency in Tracing kconfig. CONFIG_DEBUG_FS will now
be enabled in QGKI config. Also update the whitelist and abi snapshot.

Change-Id: I8c9e9fb6b97173d6e62f6090712642f18d842888
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-06-05 19:52:25 -07:00