Age | Commit message (Collapse) | Author |
|
Add remote etm driver in upstream implementation of Coresight
driver.
This change copies coresight-remote-etm.c file from drivers/coresight
(commit c1fe9ac38d93 ("input: touchscreen: correct function and variable
names in ITE tech driver"))
to driver/hwtracing/coresight directory.
Change-Id: I77a1aaf10aaf3f3010ab19d5878bb53dcc504c29
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
Upstream's Coresight driver doesn't have id field in
coresight_platform_data. So use device name instead to link bus clk with
Coresight device node.
Change-Id: I9f70974d64154217c2701879eb428beef1857fcf
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
Unlike sscanf kstrtoul function returns 0 on success and non-zero value
in case of an error.
Fix Coresight code to check error condition correctly.
Change-Id: Id1bd544a9928ed6b13c278f12a47070d1ca353a7
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
for_each_cpu_mask is deprecated, so replace that with for_each_cpu.
Change-Id: I21a937053ce8a7f3a81a09f78e873b7c71421b72
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
In upstream implementation there is no of_coresight.h file. That causes
compilation issue with some of the Coresight components.
Change-Id: I81bf45e1e322e1d90ac70c6e73738b7348cf85e1
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
Add support to use etr device in usb bam mode.
In usb bam mode traces can be streamed over usb.
Change-Id: I5509c01aeb704a7b3ec8406130886145f7fddc10
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
|
|
During Vdd restriction trigger/clear request, KTM request it's vote
to regulator via regulator_set_voltage() API. KTM is interested only
in min value for this feature, always request INT_MAX as max value
instead of supported MAX corner of that regulator. It makes sure
that there is no impact if MAX corner for that regulator is changed
at any time.
Change-Id: Iebcb0383ea7b44d8584adb610ca7b56f0db2e755
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
|
|
There are several features such as CONFIG_FREE_PAGES_RDONLY
which depend on pages being mapped as 4k.
When we creating late mappings ensure that 4K mappings
aren't replaced with block mappings if CONFIG_FORCE_PAGES
is enabled.
CRs-Fixed: 1004260
Change-Id: I9f1853c71ba6dec92ede869b90e220d63af6ae3e
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
|
|
enable ipa3 on cobalt build
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Change-Id: I562bf73e375ce78227746a9eaf0fb256abf69ce5
|
|
Disable ipa-driver on MSMCobalt rumi build.
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Change-Id: I8447214ca3fcf4567979ce2538dc342c4957e4d4
|
|
The glm clocks are controlled by TZ, so remove support for
these clocks from the clock-gcc-cobalt driver.
Change-Id: Ibfb8f211ca8c29617aca4ff0ee885366f95aac00
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
|
|
Change the log about the clocks being enabled even without a
SW vote to pr_warn instead of WARN. The stack trace isn't very
helpful in this case and cause a lot of logging.
Also, add the check_enable_bit property to some SMMU clocks
which are votable.
CRs-Fixed: 1006841
Change-Id: Icb15b038b170590e69073ca628b3d610e14893da
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
|
|
The throttle clocks are managed by XBL and HLOS does not need to
control them. Remove support for these clocks from the clock
driver.
CRs-Fixed: 1006824
Change-Id: I1a33b3dbde6d5526be1073874e28b12350adad5e
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
|
|
Add device tree entries of codec and sound node to
have sound card enumeration done on msmcobalt simulation
platform. This change enables audio functionality on
msmcobalt simulation platform.
Change-Id: I70c2b284b7302561e319061bbb1247f4482f6ff3
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
Add FE(front end) and BE(Back end) DAI(Digital Audio Interface)
links needed to support audio functionality on msmcobalt
simulation platform.
Change-Id: I87feebf29fb4b3e3e8db52d9d85c902c384d061f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
Glink serves as a replacement of SMD. Add the support to
enable Glink on msmcobalt.
Change-Id: I49668889c6c983a3782f90b5871a69a8b12a2fba
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
|
|
Depending on the timing of two competing transport registration with
G-Link core, a channel gets opened on one transport and then immediately
migrated to another transport. This channel migration happens in the
context of glink_open() operation itself and causes a re-lock attempt
on an already locked mutex.
Defer the channel close ACK operation so that channel migration does not
hit the deadlock.
CRs-Fixed: 1004150
Change-Id: I188846b95369b674830bc01ddeca764ad6d4d391
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
|
|
Add new spcom API to allow user to send request/response with ION buffer.
The spcom kernel driver modify the request/response by replacing the
user ION buffer virtual address with the buffer physical address.
spcom also provide API to lock/unlock the ION buffer to avoid the SP side
using an ION buffer that was free when HLOS App crashed.
CRs-Fixed: 986215
Change-Id: I5dca692cd3c4fac63be5ec73f89e6c39a593a50b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
|
|
SAW 4.1 version incorrectly writes to PMIC_DATA index 6, 7 when the
valid range is [0..5]. Fix this to overcome bootup issue.
Change-Id: Id92eb251c716b2750400e758fb4822cdff8e3ed3
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
|
|
Add the configuration to enable run queue stats driver.
CRs-Fixed: 1004306
Change-Id: If81c6dbaf76569be710ece56fc891047102b5adc
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
|
|
Increase the limit of the PMU_EVENT_MAX. PMUEVENT used in
core hang detection is defined to have 5 bits.
The max value should be 0x1F instead of 0x7.
CRs-Fixed: 1003600
Change-Id: Ia71f2e340e208fbdc07d856fbbfca11190031aad
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
|
|
Fix the memory leak errors found in the code with freeing
the dynamically allocated memory.
CRs-Fixed: 984895
Change-Id: I6f6048394f984393615726c093a6491ef1870dad
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
|
|
Fix a memory leaks and an uninitialized variable access in the
CPR regulator driver.
CRs-Fixed: 996609
Change-Id: Idea45963653dbf65a3eb48d518fe4e7dc3844f65
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
|
|
Add support to configure the CPR interrupt affinity via a CPR3
controller device tree node. This can be used to avoid servicing
CPR interrupts triggered by a CPU enterring power collapse on the
CPU that just power collapsed.
Change-Id: I4c04a2c255a6bd249c888c0dd0dbda19b8436be2
CRs-Fixed: 949650
Signed-off-by: David Collins <collinsd@codeaurora.org>
|
|
Set the initial vfe clock rate to SVS during probe. When the
clock is enabled the clock driver expects a clock rate to be
voted. The clock is enabled during device open and the
user driver can send the actual rate only after open. This causes
a warning print from clock driver when the clock is enabled in
device open. To avoid the error print set an initail rate.
CRs-Fixed: 1000316
Change-Id: I423469eef79fc9251bab52ea3a3b3c9d8db422a3
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
|
|
Use common functions to query clock information from dtsi
in ispif driver so that it can be easily ported to other
platforms.
CRs-Fixed: 998900
Change-Id: I9c06258234a88e6581ebfc6da9c121cfd276985f
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
|
|
Add code to support new vfe hardware.
CRs-Fixed: 987962
Change-Id: I600f06478d4ee0d082642014484c6e730702de68
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
|
|
This reverts commit 8bb334401c84
("kernel: lib: allow larger stack frame size for KASan").
Stack frame size set to 5600 to fix compilation error/s if
KASAN enabled by the commit 8bb334401c84 ("kernel: lib: allow
larger stack frame size for KASan") in 3.18 Kernel and same
commit got pulled into Kernel 4.4, which replaced stack
frame size 0 with 5600 as part of resolution of merge conflict.
But, by setting stack frame size to 0 will ignore stack frame
size warnings and so the compilation errors. So, revert commit
to fix below error while compiling Kernel 4.4 with KASAN enabled
and GCC 5.1 compiler.
kernel/net/wireless/nl80211.c: In function 'nl80211_send_wiphy':
kernel/net/wireless/nl80211.c:1745:1: warning: the frame size of \
5760 bytes is larger than 5600 bytes [-Wframe-larger-than=]
error, forbidden warning: nl80211.c:1745
make[4]: *** [net/wireless/nl80211.o] Error 1
CRs-Fixed: 1004225
Change-Id: I97e52302197c9933bec5cac3ebdc4ec73fee0816
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
|
|
* Removed spinlock as it was not locking against anything
* Removed conversion of interrupt status to error number
as it is not used by API client, and in case several bits are
set only 1 error is ever handled and the rest get lost.
Instead pass to the client the complete status.
* Removed redundant includes, variables
* vops structure is returned after performing a lookup in the DTS.
There's no need for that as we already know the structure
to return.
* Other minor corrections
Change-Id: I6d2549ce04c9e4b19fdd8fe3dfee03d83bfd9d77
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
|
|
wcd codec irq domain register is done in wcd irq probe function.
So, remove wcd codec irq chip declaration from irq msm driver.
Change-Id: Ie4f8dbb39925fde3cf3fa7f55a555d80110cc639
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
During codec interrupt controller probe, allocate and register
irq domain for codec interrupts for mapping between hwirq and
irq numbers.
Change-Id: I3e32043499f2b1e2616cf74864969815e626a23b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
These regulators and clocks are required for
Venus bootup and decode session.
Change-Id: I2a57b125ea8982ac8e63bbbb3c7f4d41c106edc5
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
|
|
PMCOBALT regulators S3, S5, and S7 do not support mode pin
control requests. Therefore, remove the pin control
configurations for these regulators.
Change-Id: I35c726ac45adc677ffe3a15c34229188efa4bc90
CRs-Fixed: 1004290
Signed-off-by: David Collins <collinsd@codeaurora.org>
|
|
msm_write/read use write/read_relaxed function which will create
lots of RTB logging. Change the API to no_log version to remove
those RTB logs.
CRs-Fixed: 1004316
Change-Id: Ica921ffe3dfc362b70e78232ee680b82c205a477
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
|
|
clk_get_sys was updated to return EPROBE_DEFER because on the
older kernel returning ENOENT was causing drivers that probed
before the clock provider to fail instead of deferring. The new
kernel version fixes this by returning EPROBE_DEFER in
__of_clk_get_from_provider. Thus, clk_get_sys failing means that
the clock provider exists, but the requested clock is not defined
in the provider, in which case ENOENT is a more appropriate error
code to return.
Change-Id: I67d60bf5c0d2dfb71a189e351bc5b4c535d280bb
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
|
|
Add HW clock measurement support for the gcc_gpu_cfg_ahb_clk,
gcc_gpu_bimc_gfx_src_clk and gcc_gpu_bimc_gfx_clk clocks.
CRs-Fixed: 1003179
Change-Id: Id403238f612a277973cd06f7d1d6f656a1812bba
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
|
|
On establishing a connection with the remote service and being notified
of a service's current state for the first time, first queue the service
notification for the new state. Only then, update the current state of
the service notifier.
Also, to prevent a premature update of the service notifier state,
remove the state update from send_notif_listener_msg_req.
CRs-Fixed: 999530
Change-Id: I43288b1ae23081721a9baef5a5098891afd8ff64
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
|
|
Add debugfs node based mechanism to test the service notifier
driver functionality.
CRs-Fixed: 999530
Change-Id: I9dc7a6f0f51c57da7f783c7c60aae9018462079e
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
|
|
Export the service notifier APIs so that other kernel
clients can use them.
CRs-Fixed: 999530
Change-Id: I48fd55ae7991b64f818543dfcc963bc75135f714
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
|
|
If byte wise copy fails here, we should return EFAULT. Returning a value
other than that would cause failure of some of the user-space test cases.
CRs-Fixed: 989314
Change-Id: I38ce12d44f25dc89bdd29e8abacd8777f0a8b9a1
Signed-off-by: Imran Khan <kimran@codeaurora.org>
|
|
Change GPU frequencies in dtsi tables to match clock plan.
CRs-Fixed: 973565
Change-Id: Iae431f74d533a0b4a60bb38b46bcb6a7c717ac3b
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
|
|
In order to set SMMU to S1 bypass configuration
IPA driver needs to set DOMAIN_ATTR_S1_BYPASS before
attaching to SMMU. The actual SMMU setting is controlled
via device tree.
CRs-Fixed: 998074
Change-Id: I3e63d9e6c511dd692b299543881e7266799108af
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
|
|
Enable smart prefetch control for GPI (sys) channels.
This is done by configuring the channel scratch in GSI.
CRs-Fixed: 1000819
Change-Id: Iac1687b9b26eed715a1055cca295daa7b46f8abd
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
|
|
Update channel scratch data structure according
to GSI ver 83.
CRs-Fixed: 1000819
Change-Id: I428963f9cd7885015e5185ef6c666bf26e0851bb
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
|
|
Add active and sleep sets for the DSI reset GPIO, panel mode
selection GPIO and the TE (tear check) GPIO which are needed to
enable display on the DSI interface.
CRs-Fixed: 1000724
Change-Id: I290e4813d74a392aa1e715e1ae181853a711523d
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
|
|
Change adds offsets of source and destination QSEED3
and LUT to mdss device tree which is required for
QSEED3 functionality.
CRs-fixed: 1000739
Change-Id: I838a39e799736b7c0297f993c8a96d982ab31d2f
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
|
Change adds mdss device tree for msmcobalt which
provides mdss HW offsets for this chipset.
CRs-fixed: 1000739
Change-Id: Ibb12e0179a66e89ca675f4ae35fc2f77c050da2c
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
|
Commit be231853070770fd7e7c6fd5ca2414e26e7534a7 ("Merge branch
'mdss-final-replay' into msm-4.4") resulted in the driver changes related
to writeback sub node being merged without the documentation for the
bindings associated with that device node. Add the missing binding
documentation.
Change-Id: Id2affddf055a6bbf0038958bcdb7abd6d7930509
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
|
|
Add uartblsp node in msmcobalt cdp and mtp.
CRs-Fixed: 1000637
Change-Id: I1605e68893a73f364f044c046e65b563e666bcd4
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
|
|
Specifically for the case of reads that use the Extended Register
Read Long command, a multi-byte read operation is broken up into
8-byte chunks. However the call to spmi_ext_register_readl() is
incorrectly passing 'val_size', which if greater than 8 will
always fail. The argument should instead be 'len'.
CRs-Fixed: 1002440
Change-Id: I2eb9f1e11f97cf7eeee4314616bc5d06443c8920
Fixes: c9afbb05a9ff ("regmap: spmi: support base and extended register spaces")
Signed-off-by: Jack Pham <jackp@codeaurora.org>
|