OSDN Git Service
Hemant Kumar [Thu, 27 Jul 2017 22:11:25 +0000 (15:11 -0700)]
usb: dwc3: dwc3-msm: Handle floating charger PMI notification properly
When floating charger is detected, driver first notifies -ETIMEDOUT to
PMI after 10 sec and then stops peripheral by simulating cable disconnect.
As part of disconnect it notifies PMI to draw 0ma which PMI re-interprets
as a SDP in bus suspend state and reconfigures PMI for SDP. Hence send
charger current notification only as part of cable disconnect simulation
by checking charger type.
Change-Id: Ibafe8d52fa14ff32b6cb11e9f6e15a4f3f147d7a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Linux Build Service Account [Thu, 27 Jul 2017 02:22:55 +0000 (19:22 -0700)]
Merge "cnss2: Print string for firmware mode"
Linux Build Service Account [Thu, 27 Jul 2017 02:22:54 +0000 (19:22 -0700)]
Merge "icnss: Set crash state for PDR"
Linux Build Service Account [Thu, 27 Jul 2017 02:22:53 +0000 (19:22 -0700)]
Merge "hotplug cpu: ratelimit logs for thermal veto"
Linux Build Service Account [Thu, 27 Jul 2017 02:22:45 +0000 (19:22 -0700)]
Merge "msm: ipa3: disable clock gating for MISC"
Yue Ma [Fri, 21 Jul 2017 00:31:48 +0000 (17:31 -0700)]
cnss2: Print string for firmware mode
This can clearly show the firmware mode sent through QMI message
in the logs to help debugging.
Signed-off-by: Yue Ma <yuem@codeaurora.org>
CRs-fixed:
2059087
Change-Id: I0b11808f00229ed557141226bc2510673a7a1ede
Linux Build Service Account [Wed, 26 Jul 2017 15:44:59 +0000 (08:44 -0700)]
Merge "ARM: dts: msm: enable DP functionality for SDA660 HDK platform"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:56 +0000 (08:44 -0700)]
Merge "msm: camera: Make use of mutex lock to avoid race condition"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:55 +0000 (08:44 -0700)]
Merge "msm: ais: sensor: validating the flash initialization parameters"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:54 +0000 (08:44 -0700)]
Merge "icnss: Consolidate logging message"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:51 +0000 (08:44 -0700)]
Merge "drm/msm: Turn off hardware clock gating before reading A5XX registers"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:50 +0000 (08:44 -0700)]
Merge "ARM: dts: msm: Add qseecom device node on msm8996 lfv platform"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:49 +0000 (08:44 -0700)]
Merge "misc: qseecom: Support qseecom deferred probing"
Linux Build Service Account [Wed, 26 Jul 2017 15:44:42 +0000 (08:44 -0700)]
Merge "scsi: ufs: Serialise ufs clock gating and ungating"
zhaoyuan [Wed, 21 Jun 2017 02:58:32 +0000 (10:58 +0800)]
ARM: dts: msm: enable DP functionality for SDA660 HDK platform
SDA660 HDK platform has DP hardware blocks, so enable it in the
device tree.
CRs-Fixed:
2064346
Change-Id: Ieb524e37ed2f4cdd5776759b00ec182378ff6ff5
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
Prateek Sood [Thu, 11 May 2017 11:32:29 +0000 (17:02 +0530)]
hotplug cpu: ratelimit logs for thermal veto
Thermal notifier callback is not allowing CPU
to come online. Rate limit logs to avoid watchdog
non-secure bite as it is a valid rejection due to
high temperature of SOC.
Change-Id: If3f8df7370e6ffd18b50e7451431d6a26023359d
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
annamraj [Wed, 19 Jul 2017 11:22:55 +0000 (16:52 +0530)]
msm: camera: Make use of mutex lock to avoid race condition
Make use of mutex lock to access IOCTL so that two threads
can avoid race condition.
Change-Id: I00db78a42c86eef8a157b5b3547e4ca0006b0853
Signed-off-by: annamraj <annamraj@codeaurora.org>
Linux Build Service Account [Tue, 25 Jul 2017 22:29:50 +0000 (15:29 -0700)]
Merge "spcom: ignore CONNECTED notification while closing the channel"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:49 +0000 (15:29 -0700)]
Merge "msm: vidc: retain clock rate across power suspend/resume"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:48 +0000 (15:29 -0700)]
Merge "ARM: dts: msm: Add intermediate voting for DDR in memlat for sdm630"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:47 +0000 (15:29 -0700)]
Merge "msm: sensor: Fix to validate the settings size in flash"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:46 +0000 (15:29 -0700)]
Merge "msm: camera: Prevent kernel info leak."
Linux Build Service Account [Tue, 25 Jul 2017 22:29:45 +0000 (15:29 -0700)]
Merge "ARM: dts: msm: Add pinctrl bindings for msm8998"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:45 +0000 (15:29 -0700)]
Merge "msm: kgsl: Update total time at right place for accurate GPU busy"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:44 +0000 (15:29 -0700)]
Merge "cnss2: Do not deinit MHI right after powerup failure"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:35 +0000 (15:29 -0700)]
Merge "usb: gadget: Disable USB2 LPM Support"
Linux Build Service Account [Tue, 25 Jul 2017 22:29:34 +0000 (15:29 -0700)]
Merge "clk: msm: Fix pll out div programming"
Sameer Thalappil [Tue, 25 Jul 2017 20:24:48 +0000 (13:24 -0700)]
icnss: Set crash state for PDR
For PDR, the crashed state should be set to invoke driver's
PDR/SSR routine rather than the remove routine.
CRs-Fixed:
2082279
Change-Id: I5f5d51c530c563d93eeaf183ee10ac558f5d5a1a
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Prasanth Kamuju [Mon, 10 Apr 2017 07:16:48 +0000 (12:46 +0530)]
ARM: dts: msm: Add intermediate voting for DDR in memlat for sdm630
The current vote mapping is not sufficient for the most of the
gaming usecases on sdm630. Added intermediate voting in the
current mapping.
CRs-Fixed:
2033301
Change-Id: Ie376a3ce46ccfd31a067dfa93967bb211e9df97a
Signed-off-by: Prasanth Kamuju <pkamuju@codeaurora.org>
Amit Blay [Tue, 25 Jul 2017 09:15:36 +0000 (12:15 +0300)]
ARM: dts: msm: Add qseecom device node on msm8996 lfv platform
Add qseecom device node in guest VM configuration.
This commit adds the device node for the qseecom driver,
and also the reserved memory region for the QSEECOM ION heap.
Change-Id: Ibdf80d080208b5ab8530a1c40ecbccc7298ae89b
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Rahul Sharma [Wed, 19 Jul 2017 05:22:17 +0000 (10:52 +0530)]
msm: ais: sensor: validating the flash initialization parameters
Copying the flash initialization parameters from userspace memory to
kernel memory and in turn checking for the validity of the flash
initialization parameters pointer sent from userspace
Change-Id: I9ecd0a5d320a68ef23fb8dd0d4eaab7f7da5f729
CR fixed:
2059812
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Amit Blay [Tue, 25 Jul 2017 07:38:33 +0000 (10:38 +0300)]
misc: qseecom: Support qseecom deferred probing
During qseecom driver probing, the ION driver is invoked.
This commit supports the case where the ION driver still hasn't
probed. In that case, the qseecom probing will be deferred, and
retried at a later stage.
Change-Id: Ic780e8fa1d48a9f5b8b98773c034b280475f5fd0
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Linux Build Service Account [Tue, 25 Jul 2017 07:36:02 +0000 (00:36 -0700)]
Merge "msm: mdss: sink mode needs to be read from EDID"
Linux Build Service Account [Tue, 25 Jul 2017 07:36:01 +0000 (00:36 -0700)]
Merge "msm: mdss: hdcp2p2: fix check for sink support for HDCP 2.x"
Linux Build Service Account [Tue, 25 Jul 2017 07:36:00 +0000 (00:36 -0700)]
Merge "msm: mdss: dp: do not program audio registers when DP core is off"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:57 +0000 (00:35 -0700)]
Merge "Revert "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer""
Linux Build Service Account [Tue, 25 Jul 2017 07:35:56 +0000 (00:35 -0700)]
Merge "wil6210: send uevent when creating sysfs files"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:55 +0000 (00:35 -0700)]
Merge "esoc: Fix irq unbalance wake disable warning"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:47 +0000 (00:35 -0700)]
Merge "ASoC: msm: mixer control queue handling in sink stream"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:46 +0000 (00:35 -0700)]
Merge "ASoC: msm: Add FE dai for MultiMedia21 for ASM Loopback"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:45 +0000 (00:35 -0700)]
Merge "ASoC: msm: qdsp6v2: Add MultiMedia21 capture and routing"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:44 +0000 (00:35 -0700)]
Merge "USB: policy_engine: Enable VBUS after VCONN before PE_SRC_Startup"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:43 +0000 (00:35 -0700)]
Merge "soc: qcom: watchdog_v2: update last_pet variable during resume"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:42 +0000 (00:35 -0700)]
Merge "usb: dwc3: gadget: don't send extra ZLP"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:41 +0000 (00:35 -0700)]
Merge "usb: dwc3: gadget: handle request->zero"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:39 +0000 (00:35 -0700)]
Merge "msm: ais: cpp changes to validate ioctl input"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:38 +0000 (00:35 -0700)]
Merge "power: smb138x-charger: set buck freq to 700kHz in slave mode"
Linux Build Service Account [Tue, 25 Jul 2017 07:35:37 +0000 (00:35 -0700)]
Merge "vfs: Add support to debug umount failures"
Rahul Sharma [Tue, 18 Jul 2017 11:56:03 +0000 (17:26 +0530)]
msm: sensor: Fix to validate the settings size in flash
The size of the settings, copied from userspace, is directly checked
in msm_cci_data_queue with CCI_I2C_MAX_WRITE. This might cause
out of bound access in function msm_cci_data_queue as the max size is
MAX_I2C_REG_SET. Hence adding check on the size in flash driver itself.
Change-Id: Iaf8b62815282386af58d1b111876cc80411385a0
CR fixed:
2062894
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Trishansh Bhardwaj [Thu, 15 Jun 2017 08:00:01 +0000 (13:30 +0530)]
msm: camera: Prevent kernel info leak.
Print offset instead of address.
Change-Id: I34c20397398d12b2b2e25fecd3b87ebad6906b62
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Jordan Crouse [Thu, 20 Jul 2017 16:52:33 +0000 (10:52 -0600)]
drm/msm: Turn off hardware clock gating before reading A5XX registers
On A5XX GPU hardware clock gating needs to be turned off before
reading certain GPU registers via AHB. Turn off HWCG before calling
adreno_show() to safely dump all the registers without a system hang.
Change-Id: Ic0dedbad550ab5d414cea7837672e586a7acd370
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Jordan Crouse [Thu, 20 Jul 2017 18:04:52 +0000 (12:04 -0600)]
drm/msm: Remember the state of A5XX hardware clock gating
Remember if the A5XX hardware clock gating is currently
enabled or disabled to avoid inadvertently enabling it.
Change-Id: Ic0dedbada3734a257ac966c041d06695f3521ad4
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Jordan Crouse [Thu, 20 Jul 2017 18:20:09 +0000 (12:20 -0600)]
drm/msm: Keep the power on throughout the entire ->show() operation
Enabling and disabling the power at various points in the ->show()
call flow may have detrimental effects. For all targets make sure
power is on before reading any register and leave it on until we are
all done.
Change-Id: Ic0dedbad4d37a11634174105fc3ee6fe3713a143
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Jordan Crouse [Mon, 24 Jul 2017 16:49:53 +0000 (10:49 -0600)]
drm/msm: Check value of active_cnt in a5xx power functions
The generic msm_gpu_pm_resume/msm_gpu_pm_suspend functions have
built-in reference counting but the a5xx specific functions
are doing unconditional a5xx specific setup / teardown that
would behave very badly if they were not accompanied by an
actual power up / power down.
Change-Id: Ic0dedbad549c4ea9a5c68b0ca43eb98e0449d54b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Prasad Sodagudi [Thu, 20 Jul 2017 20:52:42 +0000 (13:52 -0700)]
ARM: dts: msm: Add pinctrl bindings for msm8998
Add pinctrl binding for msm8998 SoC.
Change-Id: I22642c5dc38fcc289912cb327c1d0f95a8cf61e8
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Yue Ma [Thu, 20 Jul 2017 22:58:21 +0000 (15:58 -0700)]
cnss2: Do not deinit MHI right after powerup failure
Immediately deinit MHI after powerup failure will clear all the
MHI context so it won't be able to enter RDDM state to collect
firmware RAM dump. Leave the cleanup to SSR shutdown routine.
Change-Id: Ibbbe3ffe3c471f69dd4fc89d7cfaf57f1f899a92
CRs-fixed:
2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Linux Build Service Account [Mon, 24 Jul 2017 14:28:57 +0000 (07:28 -0700)]
Merge "power: smb-lib: Move to SW based step-charging"
Linux Build Service Account [Mon, 24 Jul 2017 14:28:56 +0000 (07:28 -0700)]
Merge "ath10k: Add peer delete resp event processing"
Arun KS [Fri, 14 Jul 2017 04:50:53 +0000 (10:20 +0530)]
esoc: Fix irq unbalance wake disable warning
Power management irq wakeup mode is by default disabled.
Calling irq_set_irq_wake() on a disabled irq causes warning.
Remove irq_set_irq_wake() function from mdm_enable/disable_irqs
functions and set it once in probe.
Change-Id: Ib7f49ae101e6dc04790649d408c1722df8da8bd2
Signed-off-by: Arun KS <arunks@codeaurora.org>
Linux Build Service Account [Mon, 24 Jul 2017 00:32:53 +0000 (17:32 -0700)]
Merge "msm: isp: fix the invalid type conversion"
Linux Build Service Account [Mon, 24 Jul 2017 00:32:52 +0000 (17:32 -0700)]
Merge "ARM: dts: msm: Add support for TOF sensor on msm8998 QVR"
Linux Build Service Account [Sun, 23 Jul 2017 17:48:40 +0000 (10:48 -0700)]
Merge "diag: Synchronize msg mask read and write on a peripheral"
Linux Build Service Account [Sun, 23 Jul 2017 17:48:39 +0000 (10:48 -0700)]
Merge "diag: Process glink buffers in workqueue context"
Anirudh Ghayal [Sun, 23 Jul 2017 17:32:48 +0000 (23:02 +0530)]
power: smb-lib: Move to SW based step-charging
Remove the HW SOC-based step-charging logic and enable
SW based step-charging.
The SW based step-charging uses the periodic WD bark
IRQ to notify the battery properties. The bark-time
can be changes using the property 'qcom,wd-bark-time-secs'
'qcom,step-charging-enable' enables the feature.
Change-Id: Ib162f3eb3f98a4e7f144bedc8c8cea40fbf6137a
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Lior David [Sun, 23 Jul 2017 16:16:23 +0000 (19:16 +0300)]
wil6210: send uevent when creating sysfs files
Send a KOBJ_CHANGE uevent when creating the wil6210 sysfs directory.
This is mainly needed so selinux policy rules will be applied when
the wil6210 module is dynamically loaded.
Change-Id: I4220c551b8792d419db7a380b16f3c87204be22a
Signed-off-by: Lior David <liord@codeaurora.org>
Linux Build Service Account [Sun, 23 Jul 2017 03:09:42 +0000 (20:09 -0700)]
Merge "power: qcom-step-chg: Add a new file for step-charging"
Siddartha Shaik [Fri, 14 Jul 2017 04:21:10 +0000 (09:51 +0530)]
ASoC: msm: mixer control queue handling in sink stream
Move mixer control queue handling to be part of
playback stream in DSP transcode loopback driver.
CRs-Fixed:
2076617
Change-Id: Ia8067237f80d509f969cf454f5afa08aaa6b0e52
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Linux Build Service Account [Sat, 22 Jul 2017 11:08:04 +0000 (04:08 -0700)]
Merge "ANDROID: android-verity: mark dev as rw for linear target"
Linux Build Service Account [Sat, 22 Jul 2017 11:08:03 +0000 (04:08 -0700)]
Merge "crypto: ice: Remove redundant checks"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:28 +0000 (20:15 -0700)]
Merge "ath10k: wait for peer delete resp after every peer delete"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:27 +0000 (20:15 -0700)]
Merge "ath10k: skip vdev down command before vdev restart for wcn3990"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:26 +0000 (20:15 -0700)]
Merge "msm: thermal: fix return value check for scm_is_secure_device() API"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:24 +0000 (20:15 -0700)]
Merge "mmc: sdhci: Enable CDR for cmdq mode"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:23 +0000 (20:15 -0700)]
Merge "ARM: dts: msm: Add remote debugger device configuration for cdsp"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:22 +0000 (20:15 -0700)]
Merge "diag: Add NULL pointer checks"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:21 +0000 (20:15 -0700)]
Merge "coresight-remote-etm: Removes lock in remote_etm_rcv_msg()"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:20 +0000 (20:15 -0700)]
Merge "msm: ais: sensor: actuator: add conditional check for ioctl"
Linux Build Service Account [Sat, 22 Jul 2017 03:15:19 +0000 (20:15 -0700)]
Merge "msm: ADSPRPC: Add exec permission for hyp_assign_phys"
Yuanyuan Liu [Tue, 11 Jul 2017 23:53:14 +0000 (16:53 -0700)]
icnss: Consolidate logging message
Currently the code makes liberal use of macros that print a log message
(with pr_err or pr_debug) and then passes the same string on to the
IPC logging mechanism. The problem is that it doesn't actually end up
being the same string in the binary. Using pr_err or one of its friends
appends the KERN_* code to the front of the string with the pre-processor
and the IPC logger just uses the passed in string. Every string used by
the macros ends up appearing twice in the binary, once with KERN_*
prepended and the other not.
This change fix this duplication issue by appending KERN_* to the front
of the IPC logger.
Change-Id: Ibfdf9edf6e243d13cacf1a45838a88e287a684be
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Linux Build Service Account [Fri, 21 Jul 2017 18:08:30 +0000 (11:08 -0700)]
Merge "ARM: dts: msm: Update bootargs with LPM disabled for msm8996pro"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:29 +0000 (11:08 -0700)]
Merge "ARM: dts: msm: Add support for MSM8996pro UFS based board"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:28 +0000 (11:08 -0700)]
Merge "power: smb-lib: Restart charging from soft JEITA"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:27 +0000 (11:08 -0700)]
Merge "net/packet: fix overflow in check for tp_reserve"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:25 +0000 (11:08 -0700)]
Merge "msm: camera: Proper use of snprintf to avoid information leak"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:23 +0000 (11:08 -0700)]
Merge "diag: mhi: Fix error handling for DCI channel failure"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:23 +0000 (11:08 -0700)]
Merge "cnss2: Deinit MHI before device power on during SSR"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:22 +0000 (11:08 -0700)]
Merge "USB: f_accessory: Check for length before updating accessory string"
Linux Build Service Account [Fri, 21 Jul 2017 18:08:21 +0000 (11:08 -0700)]
Merge "drm/msm: add support for HDR playback control sequence"
Neeraj Soni [Fri, 21 Jul 2017 13:49:53 +0000 (19:19 +0530)]
crypto: ice: Remove redundant checks
Check is implemented in required function as part of
new implementation.
Change-Id: I346cd27cb254abe7d9706f01a9b463750614245e
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
Ashutosh Kumar [Wed, 12 Jul 2017 11:33:04 +0000 (17:03 +0530)]
ath10k: skip vdev down command before vdev restart for wcn3990
Vdev restart command triggers a vdev down and vdev stop in the
firmware. We do not need to send vdev down before sending vdev
restart to the firmware.
Skip vdev down command before we send the vdev restart command
for wcn3990 in the case of change in the channel context.
CRs-Fixed:
2079703
Change-Id: Idb611ec9ae8d40c7f7c3fe6efe853bf4c60d3123
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
Manaf Meethalavalappu Pallikunhi [Wed, 19 Jul 2017 11:14:19 +0000 (16:44 +0530)]
msm: thermal: fix return value check for scm_is_secure_device() API
KTM ignores software secure watchdog bite if it is a secure device
since this call support is not there in secure device. But API
scm_is_secure_device() returns false if it is secure device,
true otherwise. But KTM return value check is wrong and leads to
no secure watchdog bite call from KTM for all targets.
Fix return value check properly in KTM to resolve this issue.
Change-Id: I1612fee3f57f6c2d27c4329abc2c563b7b1d8102
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Rahul Sharma [Fri, 14 Jul 2017 08:36:37 +0000 (14:06 +0530)]
msm: ais: sensor: actuator: add conditional check for ioctl
Add conditional check when sending VIDIOC_MSM_ACTUATOR_CFG32.
Change-Id: I8f47823a9f932fe9f3fa96560f16d7da755a781f
CRs-Fixed:
2060371
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Mukesh Ojha [Thu, 20 Jul 2017 10:41:30 +0000 (16:11 +0530)]
coresight-remote-etm: Removes lock in remote_etm_rcv_msg()
'commit
9021973bacc9 ("coresight-remote-etm: Adds missing lock to avoid
race condition")' adds lock inside remote_etm_rcv_msg() which is not
needed as we are waiting inside it for a response of request made
remote_etm_enable => qmi_send_req_wait() which already holds lock
'drvdata->mutex'.
So, adding 'drvdata->mutex' inside remote_etm_rcv_msg() adds wait for
the lock and due to which not able to ack the response got which results
in timeout error qmi_send_req_wait().
This patch fixes the above mentioned issue by removing the lock added in
above mentioned commit.
Change-Id: Ie47607722ff170e012d598a2347b1c0ec6913cdf
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Tharun Kumar Merugu [Wed, 19 Jul 2017 10:34:36 +0000 (16:04 +0530)]
ARM: dts: msm: Add remote debugger device configuration for cdsp
Adding remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.
Change-Id: I4aa40846efbf11739d81a9fbe22df811903d8eee
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Rakesh Pillai [Thu, 20 Jul 2017 06:17:47 +0000 (11:47 +0530)]
ath10k: wait for peer delete resp after every peer delete
Peer create fails if the same peer has not been
properly deleted earlier.
Peer delete response indicates the successful deletion
of a peer. Wait for peer delete resp after every peer
delete cmd.
CRs-Fixed:
2079668
Change-Id: I48d6787a42f79d3ce1225c885ca9fa159ef6df77
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Abhilash Kumar [Sun, 16 Jul 2017 19:35:23 +0000 (01:05 +0530)]
msm: kgsl: Update total time at right place for accurate GPU busy
For calculation of busy time and total time, KGSL relies on perf
counters and CPU clock. These can be a bit out of sync and may
give GPU busy greater than 100 percent. Updating time at the right
place will give more accurate total time and will avoid crossing
100% in GPU busy calculation.
Change-Id: I3cc702492325b9dc44ea2b705e4d9014d95abd33
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
Anirudh Ghayal [Wed, 19 Jul 2017 10:34:44 +0000 (16:04 +0530)]
power: smb-lib: Restart charging from soft JEITA
In the scenario where the charging is terminated in the
JEITA soft condition, the HW is expected to restart
charging when battery temperature returns back to normal.
However, this does not work as expected and the charging
stays terminated. Fix this by disabling and re-enabling
charging CMD bit to restart charging.
CRs-Fixed:
2071261
Change-Id: I81d2a89c72ede840cc561b736ce1366c65da8c42
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Lei wang [Thu, 20 Jul 2017 10:19:07 +0000 (18:19 +0800)]
ARM: dts: msm: Add support for MSM8996pro UFS based board
Add board-id for UFS board which has a different board sub type.
Change-Id: Ic231784c46d4439944e403e26410515856fdc5fb
Signed-off-by: Lei wang <leiwan@codeaurora.org>
Andrey Konovalov [Wed, 29 Mar 2017 14:11:22 +0000 (16:11 +0200)]
net/packet: fix overflow in check for tp_reserve
When calculating po->tp_hdrlen + po->tp_reserve the result can overflow.
Fix by checking that tp_reserve <= INT_MAX on assign.
Change-Id: If3b5fd73bd440de2a1050644b71ef7430f09810f
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit:
bcc5364bdcfe131e6379363f089e7b4108d35b70
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>
Andrey Konovalov [Wed, 29 Mar 2017 14:11:21 +0000 (16:11 +0200)]
net/packet: fix overflow in check for tp_frame_nr
When calculating rb->frames_per_block * req->tp_block_nr the result
can overflow.
Add a check that tp_block_size * tp_block_nr <= UINT_MAX.
Since frames_per_block <= tp_block_size, the expression would
never overflow.
Change-Id: I183d9adb8b90010f408b5e1d0785aa06814f4348
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit:
8f8d28e4d6d815a391285e121c3a53a0b6cb9e7b
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>