Commit graph

886,684 commits

Author SHA1 Message Date
qctecmdr
2fc1d24fc1 Merge "msm: kgsl: Update preemption keepalive on a660" 2020-07-15 18:03:33 -07:00
qctecmdr
dd7b6315a9 Merge "msm: kgsl: Add support to configure bus dcvs sampling interval" 2020-07-15 18:03:33 -07:00
qctecmdr
317a552088 Merge "leds: qti-flash: Allow symmetrical switch on with no channels configured" 2020-07-15 18:03:32 -07:00
qctecmdr
8b21a243f7 Merge "ion: Restore GKI system heap implementation" 2020-07-15 18:03:32 -07:00
qctecmdr
3a3cee068e Merge "defconfig: Enable icnss2 config for holi" 2020-07-15 10:37:11 -07:00
qctecmdr
413bb9ed8f Merge "binder: update latency_sensitive flag for binder transactions" 2020-07-15 10:37:11 -07:00
qctecmdr
31c9255ea0 Merge "msm: kgsl: Add support for clk_set_options() to enable NAP feature" 2020-07-15 10:37:11 -07:00
qctecmdr
c340a52024 Merge "input: event_notify: Remove the support" 2020-07-15 10:37:10 -07:00
qctecmdr
fb1f7573cc Merge "ARM64: mm: Add log in fixmap_remap_fdt for static memory" 2020-07-15 10:37:10 -07:00
Isaac J. Manjarres
e2bc9cefcb ion: Restore GKI system heap implementation
Restore the generic system heap implementation such that it does not have
any MSM specific additions as of android11-5.4
commit a9a13eeea9 ("Merge 5.4.45 into android-5.4-stable").

Change-Id: Iedc33377d5fa64513d43459d305ff98ce2091a61
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-15 10:16:20 -07:00
Hareesh Gundu
72fc78c2f8 msm: kgsl: Add support to configure bus dcvs sampling interval
Add support to configure bus dcvs sampling interval through the
sysfs entry. Also expose cur_ab vote value to sysfs.

$ echo 25000 > /sys/class/devfreq/soc:qcom,kgsl-busmon/sampling_interval
$ cat /sys/class/devfreq/soc:qcom,kgsl-busmon/cur_ab .

Change-Id: I77df55de2766d3fd818c27f717cfc4ae598bb0bd
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-07-15 09:13:49 -07:00
Raghavendra Rao Ananta
9bc1eafdcb input: event_notify: Remove the support
Remove the support for sending event notifications via
event_notify as there are no users of it. Update the
ABI snapshot accordingly.

Change-Id: I22f28339ed1e834ae0dbd762562a52a158c12406
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-07-15 08:37:37 -07:00
Isaac J. Manjarres
149000cb21 ion: Update the system heap type to MSM_SYSTEM and update sys heap ID
In preparation for restoring the GKI system heap, move the existing
system heap into the vendor heap space, leaving the GKI system heap
ID slot empty. For now, alias allocations targeted at ION_HEAP_SYSTEM to
ION_SYSTEM_HEAP_ID until all clients have migrated. Once that
happens, we can remove the aliasing.

Change-Id: Ib1bd74c2a54ebfdcb14da2b04f237ae1b88db189
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-15 06:42:27 -07:00
Isaac J. Manjarres
9cae2378c0 ion: Move the msm system heap source into its own files
The MSM implementation of the system heap currently lives
in the same source files as where the GKI system heap source
lives. This is problematic, as the MSM system heap needs to
co-exist with the GKI system heap. While they share a lot of
code, it is not possible for them to use the same source files,
as the same symbols would have to be available for GKI for the
system heap, as well as for the MSM system heap. Additionally,
the MSM system heap changes some of the signatures of the shared
functions, which makes it even more complicated for the two heaps
to share source files. Thus, in preparation to bring back the
GKI system heap, move the MSM system heap to its own files. This
change does not introduce any functional impact. Also, namespace
the page pool interface, as it has common global symbols with the
GKI ION page pool interface, which will lead to linking issues
with duplicate symbols.

Change-Id: I7cadb752add96d2f3a392240946c643c673711a1
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-15 06:42:22 -07:00
Sandeep Singh
1a81d85146 defconfig: Enable icnss2 config for holi
This change enables icnss2 wlan platform driver configs
for holi.

Change-Id: Ib1bc50f3f2df92a561cc593c410e880886df5320
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-07-15 18:50:39 +05:30
Sandeep Singh
b26cfd7e62 icnss2: Remove vbatt feature code for holi
This change removes vbatt feature code from 5.4
kernel to avoid compilation issue realted to adc tm
api's. This feature will be enabled once conflicts
between icnss2 and adc_tm configs is resolved.

Change-Id: If875e93edfea3bbcccd3194f95f534933131e42d
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-07-15 18:21:44 +05:30
qctecmdr
9e1aed8fb7 Merge "cnss2: Notify WLAN host driver when SMMU fault is detected" 2020-07-15 04:17:46 -07:00
Faiyaz Mohammed
7a9d68ded6 ARM64: mm: Add log in fixmap_remap_fdt for static memory
memblock_dbg is not up because of parse_early_param get called after
setup_machine_fd. To capture fdt reserved info below pr_info is added.

Change-Id: Id39ce71c3de63778e987d7ab09a6d41c6aaddc4f
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
[vinmenon@codeaurora.org: move the location of print for 5.4]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-07-15 14:50:31 +05:30
Faiyaz Mohammed
5f35557113 mm: page_alloc: Add debug log in free_reserved_area for static memory
For INITRD and initmem memory is reserved through "memblock_reserve"
during boot up but it is free via "free_reserved_area" instead
of "memblock_free".
For example:
[    0.294848] Freeing initrd memory: 12K.
[    0.696688] Freeing unused kernel memory: 4096K.

To get the start and end address of the above freed memory and to account
proper memblock added memblock_dbg log in "free_reserved_area".
After adding log:
[    0.294837] memblock_free: [0x00000083600000-0x00000083603000] free_initrd_mem+0x20/0x28
[    0.294848] Freeing initrd memory: 12K.
[    0.695246] memblock_free: [0x00000081600000-0x00000081a00000] free_initmem+0x70/0xc8
[    0.696688] Freeing unused kernel memory: 4096K.

Change-Id: I5ebbb9c1ced481e0ce2acd839e85526aa8dadf75
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
2020-07-15 14:50:31 +05:30
qctecmdr
8839bc19d4 Merge "mmc: sdhci-msm: Remove unneeded device tree entries" 2020-07-15 01:30:24 -07:00
qctecmdr
c20b61c403 Merge "mhi: core: Prevent extra votes for multiple timesync requests" 2020-07-15 01:30:24 -07:00
qctecmdr
b17dbdef44 Merge "msm: cvp: Fix linked list corruption in CVP driver" 2020-07-15 01:30:23 -07:00
qctecmdr
6e3cbcb471 Merge "coresight: Delete path from active paths when exception happens" 2020-07-15 01:30:23 -07:00
qctecmdr
7ee9a802f5 Merge "power: reset: Remove flush_cache_all usage" 2020-07-15 01:30:22 -07:00
qctecmdr
98a04974dd Merge "clk: qcom: gcc: use the holi specific vdd file" 2020-07-15 01:30:22 -07:00
qctecmdr
b63d8bd9ac Merge "mm: remove the speculative page fault traces" 2020-07-15 01:30:21 -07:00
Yue Ma
e9ffae75af cnss2: Notify WLAN host driver when SMMU fault is detected
Notify WLAN host drive FW down as soon as SMMU fault happens so
that it can do necessary cleanup as earlier as possible.

Change-Id: Ie34243de296d35ced3f2c1a1e4d50a6c551ae88d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-07-14 23:34:22 -07:00
Kishore Sri venkata Ganesh Bolisetty
f9478fd636 binder: update latency_sensitive flag for binder transactions
To minimize wake up latency for binder transactions,
set low_latency flag.

Change-Id: If103199fc96e35d90b0eaaf32da38ae135976658
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
2020-07-14 20:35:15 -07:00
Bhaumik Bhatt
033184aaa4 mhi: core: Prevent extra votes for multiple timesync requests
An extra vote is held and not released during cases of multiple
or back to back time synchronization requests where the response
is still pending and the doorbell is not rung. As only one
response is expected, we can safely remove the latest vote
placed.

Change-Id: I551ac2721af79162959ca301a61657cdf17cf135
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-07-14 16:21:56 -07:00
Prasad Sodagudi
7f96fbc3f4 power: reset: Remove flush_cache_all usage
Remove the flush_cache_all usage from power off driver.
For the crash reset flow, this api is not needed on
latest SoCs and secure world can flush cpu caches.

Change-Id: If50364810e63c72c09ada026f7f295112414c413
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-07-14 13:51:18 -07:00
qctecmdr
2f9b2b4199 Merge "drivers: thermal: Change parameters in thermal zone configuration" 2020-07-14 12:50:28 -07:00
qctecmdr
394fa5f5ae Merge "soc: qcom: hyp_core_ctl: Fix conditional statement boundries" 2020-07-14 12:50:28 -07:00
qctecmdr
193610b45b Merge "mhi: core: move PM state to SYS_ERROR if the event arrives before RDDM" 2020-07-14 12:50:27 -07:00
qctecmdr
b0b1dd81f0 Merge "msm: kgsl: Add snapshot size and highest bank bit for a619" 2020-07-14 12:50:27 -07:00
qctecmdr
f4e5de9ef8 Merge "build.config.aarch64: s/COMPAT/ARM32" 2020-07-14 10:26:44 -07:00
qctecmdr
5a9508b27d Merge "arm64: defconfig: enable DRM display driver configs" 2020-07-14 10:26:44 -07:00
Guru Das Srinagesh
ec2cf0ad13 leds: qti-flash: Allow symmetrical switch on with no channels configured
Currently, with LED symmetry enabled, turning on a switch without
configuring current in a channel first results in errors being seen.

Without LED symmetry enabled, the same action results only in
qti_flash_led_strobe() being called with the value argument set to zero.
Bring about the same behaviour for LED symmetry as well.

Change-Id: I2d6301ec3cc19d89acbd0545509485866ffa9085
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-07-14 10:06:06 -07:00
Ram Chandrasekar
fe5065ca0a drivers: thermal: Change parameters in thermal zone configuration
Change trip threshold, trip clear, passive polling delay and algorithm
type parameter name in the thermal zone configuration output to
set_temp, clr_temp, passive_delay and algo_type from trip_threshold,
trip_threshold_clr, passive_polling_delay and policy.

Change-Id: I5d531eaf0990202b7a0537e1d3a2ed3b145543ab
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-07-14 09:39:06 -07:00
Mao Jinlong
8467c72f2f coresight: Delete path from active paths when exception happens
The path will be released when fail to enable any sink or link. The
path must be deleted from active paths before release it. Otherwise
it will get invalid address of path when enable or disable the paths.

Change-Id: Id37fdbc3854bae414f043bd049bc6af2e90af5fa
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-07-14 07:31:05 -07:00
qctecmdr
4ba31fbd60 Merge "input: qcom-hv-haptics: set effect to NULL in constant playing" 2020-07-14 04:57:32 -07:00
qctecmdr
1088a025d9 Merge "clk: qcom: gpucc-lahaina: Fix gpu_cc_cx_gmu_clk stuck off warning" 2020-07-14 04:57:31 -07:00
qctecmdr
d91cfbaf24 Merge "tmc-etr: Call usb_qdss_open after all etr settings are done" 2020-07-14 04:57:31 -07:00
qctecmdr
0c1f865571 Merge "power: supply: qti_battery_charger: Enable Ship mode shutdown" 2020-07-14 04:57:30 -07:00
qctecmdr
b271780bfd Merge "f2fs: fix use-after-free when accessing bio->bi_crypt_context" 2020-07-14 04:57:30 -07:00
qctecmdr
327630a533 Merge "sound: usb: Use IOMMU_CACHE mapping if USB controller is dma-coherent" 2020-07-14 04:57:30 -07:00
qctecmdr
75d3651842 Merge "msm:ipa3: removed duplicate entries in defconfig" 2020-07-14 04:57:29 -07:00
Veerabhadrarao Badiganti
60ba92dddf mmc: sdhci-msm: Remove unneeded device tree entries
Remove unnecessary device tree properties from the code.

Change-Id: Id6f59c6874acda03c3f2aa93626eb20a9dc2ac00
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2020-07-14 16:07:58 +05:30
qctecmdr
ba6dd9aa87 Merge "cnss2: set rddm support boolean for MHI" 2020-07-14 02:04:24 -07:00
qctecmdr
ff34294560 Merge "defconfig: Enable USB related config flags on sdxlemur" 2020-07-14 02:04:24 -07:00
qctecmdr
59912b8be9 Merge "defconfig: Enable CPUFREQ HW module for cpu scaling" 2020-07-14 02:04:23 -07:00