Etr_buf will be NULL when disable etr hw. It is before stopping byte-cntr
and sw usb data transfer which may cause null pointer issue. Use sysfs_buf
to avoid this issue.
Change-Id: I5967fd4183a9f36fca22059bb08fd8d357c8e5af
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
When registering the QMI server during initialization there is
a chance that the handle creation can fail with -EPROBE_DEFER if
the IPC router service isn't ready yet. In that case, we should
not fail the module_init call as that results in the module
getting unloaded with no automatic mechanism to reload it (a la
driver probe deferral). Instead, move the uaudio_qmi_svc_init()
call to beginning of uaudio_qmi_plat_probe() so that in case it
defers the probe can be retried again later.
Change-Id: I07a1e2cee5194387884cb716e95ed7c414a22159
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Update the master and slave ID constants for Holi interconnect
providers which consumers can use to set bandwidth constraints
and find paths in the NoC (Network-On-Chip) topology.
Change-Id: I45b73970484220af09d9ab55062da197038a82cd
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Remove support for GPUCC CX APB clock and DISPCC crypto clocks.
Change-Id: I6156a19b4113543ce4d8987004aa800957a33e34
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
The commit <a0a9abc9fc> (pil: Fix minidump collection during
SSR) failed to set the value of 'ret' in pil_do_minidump() upon
the return failure from prepare_minidump_segments(). As a result,
the 'goto seg_mapping_fail' will end up returning uninitialized
value. Hence, assign an error code explicitly to avoid this situation.
Change-Id: I20f0d2c4fd006483c73541937025ed50b265e2b4
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
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>
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>
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>
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>
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>
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>
GPUCC registers are valid for all A6xx GPUs. Hence add
these register to A6xx snapshot dumping.
Change-Id: I6b8d1a856ed096afff7d22b4382ec6ac09b7b1fb
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
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>
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>
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>
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>