Commit Graph

681465 Commits

Author SHA1 Message Date
Linux Build Service Account d4caa46c38 Merge "adsprpc: Fix glink receive function not to be called in IRQ context" 2019-08-27 19:27:03 -07:00
Linux Build Service Account 4f83e9a162 Merge "bt-power: Check chip type first before BT resetting" 2019-08-27 10:24:06 -07:00
Linux Build Service Account 0f975b1d92 Merge "deconfig: msm8937/53/37go: Increase minimal loop count to 16" 2019-08-27 01:27:15 -07:00
Linux Build Service Account 62ca7967ff Merge "defconfig: sa415m: Enable Android Binder IPC Driver" 2019-08-27 01:27:14 -07:00
Junlin Zhang ad22df30ed bt-power: Check chip type first before BT resetting
As BT reset only is needed for qca6174 chip, so check chip
type first to avoid triggering get_bt_reset_gpio_value()
for other chip.

CRs-Fixed: 2514357
Change-Id: Icaaf7046aa02d3ae3ecb5bf565cc94c89f11fb71
Signed-off-by: Junlin Zhang <junlzhan@codeaurora.org>
2019-08-27 10:13:30 +08:00
Linux Build Service Account 3fca24c808 Merge "drm/msm/dp: add checks to prevent buffer overflows" 2019-08-26 13:29:31 -07:00
Linux Build Service Account e9fde55f11 Merge "ARM: dts: msm: Disable ethernet interface for mhi swip for sdxpoorwills" 2019-08-26 13:29:28 -07:00
Tingwei Zhang bf41924106 deconfig: msm8937/53/37go: Increase minimal loop count to 16
Change BLK_DEV_LOOP_MIN_COUNT's value from 8 to 16 to meet
Android requirement.

Change-Id: Id1078cc1d3d1a4f05111cafad8007c983512b711
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
2019-08-26 19:05:33 +08:00
Sankeerth Billakanti df847feac0 drm/msm/dp: add checks to prevent buffer overflows
Add checks to prevent buffer overflows through debugfs.

Change-Id: I1242a6e94b3182a9a3b0cbef4b04a9f8b14a4103
Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
2019-08-26 03:59:13 -07:00
Rahul Agarwal 008e34cb55 defconfig: sa415m: Enable Android Binder IPC Driver
Enable support for Android Binder IPC Driver.

Change-Id: Id1f76a81dbf6356e54a8ab23e2832cc202a0b4ae
Signed-off-by: Rahul Agarwal <rahaga@codeaurora.org>
2019-08-26 15:25:56 +05:30
Mohammed Nayeem Ur Rahman 32ba95deb1 adsprpc: Fix glink receive function not to be called in IRQ context
glink receive acknowledge function was called from IRQ context
This function can sleep and since function that can sleep cannot
be called from Interrupt context, moved this.

Change-Id: I838dffae2011e016ff3a7ac90e3556eeb4689220
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2019-08-25 07:45:35 +08:00
Linux Build Service Account 9799cdc216 Merge "Merge android-4.9.186 (cd46375) into msm-4.9" 2019-08-22 19:59:53 -07:00
Linux Build Service Account 92f38e1dd1 Merge "ARM: dts: msm: disable bcl_sensor for SDM845 RB3" 2019-08-22 10:57:44 -07:00
Linux Build Service Account 51b5a6ca4e Merge "msm: ipa_v2: Protect ipa default routing table" 2019-08-22 10:57:43 -07:00
Linux Build Service Account 0c1b6bdd23 Merge "arm64: Add padding to thread_info structure" 2019-08-22 10:57:40 -07:00
Rama Krishna Phani A ef3c097ec7 ARM: dts: msm: Disable ethernet interface for mhi swip for sdxpoorwills
Remove "qcom,mhi-ethernet-interface" property such that mhi swip
will support default rawip network interface instead of ethernet
network interface on sdxpoorwills.

Change-Id: Ic0a4c0e5177a0258b26c66802ed14278eeec258f
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2019-08-22 20:25:02 +05:30
Akshay Pandit 26f45fc33a msm: ipa_v2: Protect ipa default routing table
Protect ipa default routing table from
addition, deletion and modification once after
default rule added by ipa driver.

Change-Id: I4b8fdd9208425c5eb0bceed0ce62fb7d7a075e36
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2019-08-22 05:42:48 -07:00
Junwen Wu 28b26f560f ARM: dts: msm: disable bcl_sensor for SDM845 RB3
The bcl_sensor has a dependency on the FG gen3 driver. Disable
the same as FG is already disabled on this platform,disable
bcl_sensor can address the issue.

Change-Id: I23577171366cc89a211ad8b350ff6a5590989f0f
Signed-off-by: Junwen Wu <wudaemon@codeaurora.org>
2019-08-22 16:17:25 +08:00
Linux Build Service Account 657984e504 Merge "diag: dci: Prevent using uninitialized variables" 2019-08-22 00:26:30 -07:00
Prasad Sodagudi bda56cb5fe arm64: Add padding to thread_info structure
Both flags and preempt_count variables of thread_info are falling
into the same cache line. When one of the cores is incrementing/
decrementing the preempt_count continuously in a tight loop with
spin_lock_irqsave() and spin_unlock_irqrestore() APIs, this causes the
flags update to be delayed. When the thread_info flags updates are
delayed, it leads to increased tasks scheduling latencies. So move the
thread_info's preempt_count into different cache line by adding padding.

Change-Id: I950d15a02b4df0c31862c3a11eb1a3d8fc17dff8
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2019-08-22 00:04:23 -07:00
Prasad Sodagudi a84e7ded82 kernel: time: Add delay after cpu_relax() in tight loops
Tight loops of spin_lock_irqsave() and spin_unlock_irqrestore()
in timer and hrtimer are causing scheduling delays. Add delay of
few nano seconds after cpu_relax in the timer/hrtimer tight loops.

Change-Id: Iaa0ab92da93f7b245b1d922b6edca2bebdc0fbce
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Chetan C R <cravin@codeaurora.org>
2019-08-22 00:03:14 -07:00
Manoj Prabhu B a80bcf76e1 diag: dci: Prevent using uninitialized variables
Presently chance of using uninitialized variables if a dci
command is not found is avoided by initializing command
structure variables.

Change-Id: I190299917ea6c7fadfc7686d43a7da098e0bc05e
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-08-22 11:02:19 +05:30
Linux Build Service Account 1e353927e6 Merge "defconfig: msm: Enable USB SERIAL CP210X and FTDI for APQ8009" 2019-08-21 14:24:53 -07:00
Linux Build Service Account 0a88d44c6b Merge "ARM: dts: msm: add some zones and regulator cooling device for spyro" 2019-08-21 14:24:52 -07:00
Linux Build Service Account 6ca239c9a4 Merge "msm: ipa: Add support in ipa-mhi driver for cv2x" 2019-08-21 02:56:28 -07:00
Linux Build Service Account a92aaeacb2 Merge "ARM: dts: msm: enable eeprom for camera ID 1 on Spyro WDP" 2019-08-21 02:56:27 -07:00
Linux Build Service Account e1f1dbc8b8 Merge "msm: ipa: Update modem ep info for auto use case on ipav4.0" 2019-08-21 02:56:26 -07:00
Linux Build Service Account 3dfda0026c Merge "ARM: dts: msm: Fix ER indices as per ipa-hw support" 2019-08-21 02:56:24 -07:00
Linux Build Service Account 11fd92a679 Merge "msm: ipa3: Fix to memory allocation failure" 2019-08-21 02:56:22 -07:00
Linux Build Service Account 55975a0ad1 Merge "Merge remote-tracking branch 'dev/msm-4.14' into msm-4.9 07/19" 2019-08-21 02:56:20 -07:00
Linux Build Service Account 3c893b7ed7 Merge "drivers: net: can: Add non-blocking call for end upgrade ioctl" 2019-08-21 02:56:18 -07:00
Mohammed Javid f109cf60ad msm: ipa: Add support in ipa-mhi driver for cv2x
Only one pair of MHI ep's are supported till now.
With respect to auto-pcie use case requirement
we need to support one more MHI ep pair for cv2x.
Modify ipa-mhi driver to support additional mhi ep pair.

Change-Id: I301dc7c46c6bfcc995db5a6a56c677481588d20b
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-08-20 23:22:33 +05:30
Mohammed Javid 93cdaa51bf msm: ipa: Update modem ep info for auto use case on ipav4.0
Update ipa driver's ep_mapping for modem end points
accordingly to support CV2X use case.

Change-Id: I9274d48c469a21d37f7e982b1b9f2418ad39ad1f
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-08-20 17:23:17 +05:30
Mohammed Javid 0ce726a2b6 ARM: dts: msm: Fix ER indices as per ipa-hw support
In sdxpoorwills, only 12 ER indices are supported for
AP EE from IPA-GSI. So, modify the ER index from
9/13 to 7/11.

Change-Id: I3e975dabb4fc8c528ffe662dff8005618d9e4796
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-08-20 17:13:40 +05:30
Neng Chen 6d7e819460 ARM: dts: msm: enable eeprom for camera ID 1 on Spyro WDP
Camera ID 1 supports eeprom and ID 2 doesn't support on Spyro WDP.

Change-Id: I654ba7ce4e4fabd172729956d90031f00fd946b5
Signed-off-by: Neng Chen <nengchen@codeaurora.org>
2019-08-20 19:18:40 +08:00
Linux Build Service Account b874ffda5f Merge "AndroidKernel: support compile external modules depend on Image" 2019-08-19 23:52:18 -07:00
wumeif 389dd5c2a9 defconfig: msm: Enable USB SERIAL CP210X and FTDI for APQ8009
Add config to enable USB SERIAL CP210X and FTDI for apq8009.

Change-Id: Id681a3f2fc93d7415c654a8cc99056a9e157600f
Signed-off-by: wumeif <wumeif@codeaurora.org>
2019-08-20 10:07:42 +08:00
Linux Build Service Account 0d1bc05964 Merge "ARM: dts: msm: Disable mmc rescan on SA415M TTP" 2019-08-19 12:54:39 -07:00
Linux Build Service Account a7d5692fb1 Merge "defconfig: msm: enable MSM_TIMER_LEAP config" 2019-08-19 12:54:37 -07:00
Linux Build Service Account cbcf2735a4 Merge "defconfig: sa415m: enable TZ and Qsee log" 2019-08-19 12:54:36 -07:00
Linux Build Service Account 3bb9d23bfe Merge "ARM: dts: msm: Correct the smpa1 regulator label for sdm429w" 2019-08-19 02:27:45 -07:00
Rishi Gupta 1093d5d296 ARM: dts: msm: Disable mmc rescan on SA415M TTP
This commit disables scanning for mmc card presence
again and again on SA415M TTP devices as the presence
is handled through GPIO. This scanning otherwise
causes unnecessary CPU consumption.

Change-Id: Ic08482064c49a9c24780c86a8c719636e1528cbd
Signed-off-by: Rishi Gupta <rishgupt@codeaurora.org>
2019-08-18 23:44:30 -07:00
Puneet Yatnal ab29efa81c drivers: input: sensors: disabled smi130 irq after 40 sec of boottime
Disabled irq of sensor after 40 second of buffering if there is
no active client to read the data.

Change-Id: Ide5090fcb592628a6cf5e42fd41f4c305a3b899d
Signed-off-by: Puneet Yatnal <puneet@codeaurora.org>
2019-08-18 23:43:59 -07:00
Linux Build Service Account c4ebe94c25 Merge "msm: camera: cci: Add mutex_q lock for cci_init" 2019-08-16 21:42:47 -07:00
Ziyu Jian c0c8730b99 msm: camera: cci: Add mutex_q lock for cci_init
cci_write is being executed meanwhile cci_init is called,
which will maybe cause cci timeout since cci_init will do
reset operation. So add the mutex_q lock which is used by
cci_write into cci_init.

Change-Id: I81c67f27205f4250f08ca7ab38799f6454578dbd
Signed-off-by: Ziyu Jian <ziyujiang@codeaurora.org>
2019-08-16 13:33:33 +08:00
Paras Nagda 79457f1020 vidc_3x: update the condition for load check
load calculation check should be for a
non realtime session else it will result
in hardware overload error.

Change-Id: I86675d4e4f37a4c3c0e6080393255ad11c6ee6f9
Signed-off-by: Paras Nagda <pnagda@codeaurora.org>
2019-08-15 21:56:17 -07:00
Linux Build Service Account d80b9b5a64 Merge "msm: camera: eeprom: Release the mutex even though got error" 2019-08-15 13:45:25 -07:00
Linux Build Service Account 08be99e8ff Merge "ARM: dts: Optimize the gpio status at RBSC" 2019-08-15 05:34:31 -07:00
Tengfei Fan d78a6969e0 defconfig: msm: enable MSM_TIMER_LEAP config
There is potential rollover condition for CNTVCT and
CNTPCT counters.enable the config to control the counter read
to avoid rollover.

Change-Id: I6e3430e6ffe631d175d560fbcf0e4cee46ff7715
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2019-08-15 16:48:44 +08:00
Tengfei Fan b61e6f8ced arm32: Potential rollover condition for timer counter
There is potential rollover condition for CNTVCT and
CNTPCT counters. So on any architecture timer counter
read, if the least significant 32 bits are set,
reread counter.

Change-Id: Iacc482ad956d5589d59a2a111576ec0463f5a1bb
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2019-08-15 15:48:30 +08:00