Sanitize the ring buffer length read from the other side to ensure
the bounds match the memory that is mapped.
Change-Id: Ifdac3e0dee11374e61ede3a2cfb82e1957c6a2b2
Signed-off-by: Chris Lew <[email protected]>
There are some control packets such as DEL_CLIENT that will not always
match the local node address. All packets addressed to the control port
should be decoded as qrtr control packets.
Change-Id: I46b366c77fd2d8defc203e0c74181a228710c48e
Signed-off-by: Chris Lew <[email protected]>
With use of sync suspend, driver is going to suspend
in atomic context which is not permitted and leading to
below below stack.
pc : __schedule_bug
lr : __schedule_bug
Call trace:
__schedule_bug
__schedule
schedule
rpm_suspend
__pm_runtime_suspend
mmc_release_host
mmc_put_card
mmc_blk_cqe_complete_rq
mmc_blk_mq_complete
blk_done_softirq
To avoid this use auto suspend.
Change-Id: Ie19c06ba07c8340faefebbde9810e65dc11ec6b2
Signed-off-by: Ram Prakash Gupta <[email protected]>
This change removes disable_irq call from
mxt_configure_objects(). Without this change
touch does not work on dual dsi which uses
atmel touch driver.
Change-Id: Ie215c8a08060d56d1f087490bf01f85a202fcb55
Signed-off-by: Harigovindan P <[email protected]>
Enable dependency on CONFIG_TYPEC so that typec_* APIs used in
smb5-lib.c may be found by the build system.
Change-Id: If70c09cd6ddee799a87868fa8db36611c35a3fb0
Signed-off-by: Guru Das Srinagesh <[email protected]>
When setting target link speed, it is correct to use
PCI_EXP_LNKCTL2_TLS instead of PCI_EXP_LNKCAP_SLS and
PCI_EXP_LNKSTA_CLS. All 3 macros have the same value defined
but it is proper to use the right one.
Change-Id: I5d99a696168170adf8dc577a6bf1fceb4fe82686
Signed-off-by: Tony Truong <[email protected]>
Instead of using msm_pcie_write_mask, use msm_pcie_write_reg_field
which will shift the write value based on the mask.
Change-Id: Ie125655776d9ab0091d9ef813e1761126e920549
Signed-off-by: Tony Truong <[email protected]>
Enable CONFIG_REGULATOR_QTI_DEBUG so that regulators can be
controlled from debugfs for testing purposes.
Change-Id: I9cd64973f2c1031c8cdd8fde569d21d24189da66
Signed-off-by: Guru Das Srinagesh <[email protected]>
Add a Kconfig option so that we can configure the
timeout for GPU to go into slumber per-environment
basis.
Change-Id: I36a2d78a4c987e635160db3056aab7b0d6af68a6
Signed-off-by: Urvashi Agrawal <[email protected]>
This reverts commit d71acda6dc.
This is being reverted because sdxlemur uses percpu interrupts
in its watchdog. This change also adds back in fields used by
this code and fixes issues introduced by new code.
Change-Id: Ic5ddbebd6c6f4b4c5d157a86a3ecd827e1b5376f
Signed-off-by: Melody Olvera <[email protected]>
QUP core clock is shared among all the SE drivers present on particular
QUP wrapper, the system will reset(unclocked access) if earlycon used after
QUP core clock is put to 0 from other SE drivers before real console comes
up.
As earlycon can't vote for it's QUP core need, to fix this put vote for
QUP core from common driver probe on behalf of earlycon and remove vote
during real console probe after uart_add_one_port call because by this
time real console is up and voted for it's resources.
Change-Id: I4362fec8ef798de30beae4d608626ae409607b84
Signed-off-by: Akash Asthana <[email protected]>
Use the exported function instead of kallsyms_lookup to get
log_buf location, this can save a lot of time during boot up.
Change-Id: I9ec242ad6edfc3ba101198a5c1ed15bb5ad085a0
Signed-off-by: Huang Yiwei <[email protected]>
Avoid sending qdss_trace_mem_info to wlan fw if it is down.
Change-Id: I443fd9b36ce9037af1a77496c73964ba0fa2d1df
Signed-off-by: Sandeep Singh <[email protected]>
Provide api for mhi driver to notify IPA of power states.
Change-Id: I757b15e3c16bcb63cb09bb18a2056f07c6a9b95d
Signed-off-by: Akshay Pandit <[email protected]>