To avoid running into issues with the MMNOC RCG being enabled due
to an enable request from a non-linux entity whilst the linux code
has disabled its parents, park the RCG at CXO when its disabled.
Change-Id: Ib55bb7a202736a207bb8cb94c20b5030af5bea49
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
highest possible LPM NYET threshold value is 0xf
because LPM_NYET_THRES uses 4 bits in DWC_USB3_DCTL
register. Value is incorrectly written as 0xff which
is overriding the value of other register bits.
Change-Id: Ib15fdfd01bf75fe6291b8fd2b0317e9b4c0c97c9
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
KTM right now won't update the mitigation frequency cap to LMH DCVSh if
all the cores in a cluster are offline. It will notify the LMH DCVSh
when at least one core is online. Due to race condition, there is a
possibility that this update can be missed or cores will be running
unmitigated for a short duration after being online.
LMH DCVSh hardware can accept the frequency cap even when the cores are
offline and apply the cap later when the cores are brought back online.
So in KTM update the LMH DCVSh hardware, even if the cores are offline
to avoid any race condition.
Change-Id: Idc04c35a9c5de66cfd8edb4150106ed65f9f4bf1
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Adding a check in gettimeofday api for timer rollover
condition.
Change-Id: I50c36e5983f05700e49987f6e24c1b17f38a9e1f
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
For targets not having a HAL component, a userspace testapp has
to be manually run to trigger a frame update which will in-turn
trigger the unblank sequence.
This testapp needs to be run within the specified timeout value
of the hpd_comp. Current value of 2 seconds is not enough and
causes false errors and subsequent failures.
Increase timeout value to 5 seconds to avoid false timeouts for
no framework cases.
CRs-Fixed: 1115561
Change-Id: I14f64f781c19268510128f5fa819e7fd0d33c78b
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
Add new GPU ID: A508 and corresponding VBIF and initial
settings on SDM630.
Change-Id: If1cd782beb50098a69a9d05acb083ef4b0465766
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
TZ is called to restore key configuration in case of UFS reset
Change-Id: Id434e7f9ec6befdce97f52fd350957b66adcb15f
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Null terminate cpr4_mmss_regulator_match_table with
'{}', to fix the error reported from KASAN.
Change-Id: Ib991fe5ce57e9e12132c3c836e1e807cb0afad22
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add proper status flag in wcn3990 wlan module device node to
enable the ath10k SNOC platform driver probe for the APQ8998
target. The wcn3990 wlan module doesn't have any register
resource to request so remove invalid register base address
from the device node handle.
CRs-Fixed: 2003852
Change-Id: I554063ac8d8da3c4bbca29a2ba8e216323c7a9e0
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Slimbus is used as audio transport for Bluetooth & FM between sdm630 &
wcn3990. Add device tree entry for wcn3990 slimbus slave device in sdm630.
Change-Id: Ie5ee241e0a952b61e84682a289c69d10877cedd1
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Enable CONFIG_FREE_PAGES_RDONLY for 32bit sdm660, that
marks freed kernel pages as read-only.
Change-Id: I532dc10fc6aee5200275550eb1df7d1e6cf195e9
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
CONFIG_FREE_PAGES_RDONLY, which marks freed kernel pages
as read-only missed the Kconfig and an interface to mark
pages as read-only for 32 bit system. Add them.
Change-Id: Ibb5020a44323fb50febd66e16ca448da8ecb352c
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Align arm32 and arm64 sdm660 defconfig with respect to
iommu configs and remove cma size selection as it is to be
moved to device tree.
Change-Id: I5c5f88c05dce9f58d29d56d9cfea2b0d785d665a
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
CTS malloc tests on Android 'N' expects higher entropy in
mmap returned address. Present value of mmap random bits
is not providing enough variations for 32 bit tasks.
Increase mmap_rnd_bits for 32bit and mmap_rnd_compat_bits
for 64bit targets to value of 16.
Change-Id: I1cb88cb1f1fc2a8dc7e27eb54b8c0b2a3eb37843
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>