OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "defconfig: Enable cellular hints in regulatory cfg80211"
Linux Build Service Account [Wed, 2 May 2018 20:38:35 +0000 (13:38 -0700)]
Merge "defconfig: Enable cellular hints in regulatory cfg80211"

6 years agoMerge "leds: qpnp-flash-v2: Modify current code calculation"
Linux Build Service Account [Wed, 2 May 2018 11:54:42 +0000 (04:54 -0700)]
Merge "leds: qpnp-flash-v2: Modify current code calculation"

6 years agoMerge "hab: import/export between remote buffer and dmafd"
Linux Build Service Account [Wed, 2 May 2018 11:54:41 +0000 (04:54 -0700)]
Merge "hab: import/export between remote buffer and dmafd"

6 years agoMerge "i2c-msm-v2: Add support for suspend to disk"
Linux Build Service Account [Wed, 2 May 2018 11:54:40 +0000 (04:54 -0700)]
Merge "i2c-msm-v2: Add support for suspend to disk"

6 years agoMerge "diag: Validate query dci event and log mask size properly"
Linux Build Service Account [Wed, 2 May 2018 11:54:39 +0000 (04:54 -0700)]
Merge "diag: Validate query dci event and log mask size properly"

6 years agoMerge "Merge android-4.4.128 (89904cc) into msm-4.4"
Linux Build Service Account [Wed, 2 May 2018 11:54:38 +0000 (04:54 -0700)]
Merge "Merge android-4.4.128 (89904cc) into msm-4.4"

6 years agoMerge "usb: gadget: ffs: Multi-instance fix for use after free case"
Linux Build Service Account [Wed, 2 May 2018 11:54:36 +0000 (04:54 -0700)]
Merge "usb: gadget: ffs: Multi-instance fix for use after free case"

6 years agoMerge "tracing: always define trace_{irq,preempt}_{enable_disable}"
Linux Build Service Account [Wed, 2 May 2018 11:54:35 +0000 (04:54 -0700)]
Merge "tracing: always define trace_{irq,preempt}_{enable_disable}"

6 years agoMerge "cpuidle: lpm-levels: Fix snprintf string format"
Linux Build Service Account [Wed, 2 May 2018 11:54:34 +0000 (04:54 -0700)]
Merge "cpuidle: lpm-levels: Fix snprintf string format"

6 years agoMerge "soc: qcom: rpm_stats: Fix snprintf string format"
Linux Build Service Account [Wed, 2 May 2018 11:54:32 +0000 (04:54 -0700)]
Merge "soc: qcom: rpm_stats: Fix snprintf string format"

6 years agoMerge "usb: dwc3-msm: Resume PHY before notify_connect on start_host"
Linux Build Service Account [Wed, 2 May 2018 00:00:41 +0000 (17:00 -0700)]
Merge "usb: dwc3-msm: Resume PHY before notify_connect on start_host"

6 years agoMerge "ASoC: msm: move tdm grp mgt to afe for anc support"
Linux Build Service Account [Wed, 2 May 2018 00:00:38 +0000 (17:00 -0700)]
Merge "ASoC: msm: move tdm grp mgt to afe for anc support"

6 years agodefconfig: Enable cellular hints in regulatory cfg80211
Amar Singhal [Tue, 17 Apr 2018 18:32:26 +0000 (11:32 -0700)]
defconfig: Enable cellular hints in regulatory cfg80211

The user-space may send regulatory hint that has cellular sub-type
enabled. To process such events, enable
CONFIG_CFG80211_REG_CELLULAR_HINTS.

Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
Change-Id: I79aceece8e7f17bbcf8186b03c74d82be82c5a4c
CRs-Fixed: 2201959

6 years agoMerge "drm/msm/sde: increase gpu input fence timeout to 10 seconds"
Linux Build Service Account [Tue, 1 May 2018 13:26:41 +0000 (06:26 -0700)]
Merge "drm/msm/sde: increase gpu input fence timeout to 10 seconds"

6 years agoMerge "drm: msm: add uevent handler to release pipes"
Linux Build Service Account [Tue, 1 May 2018 13:26:39 +0000 (06:26 -0700)]
Merge "drm: msm: add uevent handler to release pipes"

6 years agoMerge "drm: msm: add early splash support on triple displays"
Linux Build Service Account [Tue, 1 May 2018 13:26:38 +0000 (06:26 -0700)]
Merge "drm: msm: add early splash support on triple displays"

6 years agoMerge "msm: ipa: rmnet: Make code changes with respect to CR#2046006"
Linux Build Service Account [Tue, 1 May 2018 13:26:37 +0000 (06:26 -0700)]
Merge "msm: ipa: rmnet: Make code changes with respect to CR#2046006"

6 years agoMerge "Revert "adv7481: return error when PLL lock fails""
Linux Build Service Account [Tue, 1 May 2018 13:26:36 +0000 (06:26 -0700)]
Merge "Revert "adv7481:  return error when PLL lock fails""

6 years agoMerge "ath10k: update wowlan config and rekey data store method"
Linux Build Service Account [Tue, 1 May 2018 13:26:35 +0000 (06:26 -0700)]
Merge "ath10k: update wowlan config and rekey data store method"

6 years agoMerge "net: ipc_router: Remove wakeup-source for Sensor ports"
Linux Build Service Account [Tue, 1 May 2018 13:26:34 +0000 (06:26 -0700)]
Merge "net: ipc_router: Remove wakeup-source for Sensor ports"

6 years agoMerge "ASoC: msm: Update channel mixer weight mixer control"
Linux Build Service Account [Tue, 1 May 2018 13:26:33 +0000 (06:26 -0700)]
Merge "ASoC: msm: Update channel mixer weight mixer control"

6 years agoMerge "soc: msm: add apr sensor domain support"
Linux Build Service Account [Tue, 1 May 2018 13:26:31 +0000 (06:26 -0700)]
Merge "soc: msm: add apr sensor domain support"

6 years agoMerge "audio: qdsp6v2: add retry when EAGAIN for habmm_socket_recv"
Linux Build Service Account [Tue, 1 May 2018 13:26:29 +0000 (06:26 -0700)]
Merge "audio: qdsp6v2: add retry when EAGAIN for habmm_socket_recv"

6 years agoMerge "msm: camera: sensor: Adjust csiphy skew filter setting"
Linux Build Service Account [Tue, 1 May 2018 04:09:08 +0000 (21:09 -0700)]
Merge "msm: camera: sensor: Adjust csiphy skew filter setting"

6 years agoMerge "msm: camera: Change data type of data rate"
Linux Build Service Account [Tue, 1 May 2018 04:09:07 +0000 (21:09 -0700)]
Merge "msm: camera: Change data type of data rate"

6 years agoMerge "esoc: Use standard reset time for mdm9x55 atomic reset"
Linux Build Service Account [Tue, 1 May 2018 04:09:03 +0000 (21:09 -0700)]
Merge "esoc: Use standard reset time for mdm9x55 atomic reset"

6 years agomsm: ipa: rmnet: Make code changes with respect to CR#2046006
Mohammed Javid [Thu, 19 Apr 2018 08:11:16 +0000 (13:41 +0530)]
msm: ipa: rmnet: Make code changes with respect to CR#2046006

Check for CAP_NET_ADMIN capability of the user
space application who tries to access rmnet driver IOCTL.

Change-Id: If6bb4b54659306c5103b5e34bf02c7234c851e0a
CRs-Fixed: 2226355
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
6 years agomsm: camera: sensor: Adjust csiphy skew filter setting
Vijay kumar Tumati [Wed, 25 Apr 2018 05:38:30 +0000 (11:08 +0530)]
msm: camera: sensor: Adjust csiphy skew filter setting

Change camera csiphy skew filter setting to match HPG.

Change-Id: I21d63daa95bd1901b6343e7ff47f05e259a1a8a1
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years agoMerge "msm: Allocate fd with O_CLOEXEC flag"
Linux Build Service Account [Mon, 30 Apr 2018 04:09:50 +0000 (21:09 -0700)]
Merge "msm: Allocate fd with O_CLOEXEC flag"

6 years agoMerge "ASoC: msm: update listen service dai to low latency pcm"
Linux Build Service Account [Mon, 30 Apr 2018 04:09:49 +0000 (21:09 -0700)]
Merge "ASoC: msm: update listen service dai to low latency pcm"

6 years agoMerge "clk: qcom: Retrieve pre_div from freq_tbl for shared RCG"
Linux Build Service Account [Mon, 30 Apr 2018 04:09:47 +0000 (21:09 -0700)]
Merge "clk: qcom: Retrieve pre_div from freq_tbl for shared RCG"

6 years agomsm: Allocate fd with O_CLOEXEC flag
Sachin Bhayare [Tue, 3 Apr 2018 14:39:12 +0000 (20:09 +0530)]
msm: Allocate fd with O_CLOEXEC flag

(cherry-pick from 'commit 580ec70acac4 ("fbdev: msm: Allocate fd
 with O_CLOEXEC flag")') and made similar changes
for MDP3.

When fd is requested during get_metadata call, create
fd using O_CLOEXEC flag.

Change-Id: Iaa55927ac04b019ea45fbdfe9c64b10d1f0e3ceb
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
6 years agoRevert "adv7481: return error when PLL lock fails"
Suprith Malligere Shankaregowda [Wed, 11 Apr 2018 19:11:31 +0000 (00:41 +0530)]
Revert "adv7481:  return error when PLL lock fails"

This reverts commit 44d8abb6e009123c8535cf85157be4377a895049.

If we return error on PLL lock failure, it results in open_stream
failure for TIF. So, if we open the TV app first and then connect
HDMI cable, it will not start streaming. Therefore reverting this
change.

Change-Id: Ic99a6986a3138bc3abb9e65eb598a743f1634c5c
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agomsm: camera: Change data type of data rate
Samyukta Mogily [Mon, 23 Apr 2018 10:47:17 +0000 (16:17 +0530)]
msm: camera: Change data type of data rate

Change data rate to uint64, to ensure that the value sent
to kernel is not corrupted.

Change-Id: I692c1c3e591cbac24931078e0fb8938900fc991c
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
6 years agoleds: qpnp-flash-v2: Modify current code calculation
Subbaraman Narayanamurthy [Mon, 16 Apr 2018 21:00:12 +0000 (14:00 -0700)]
leds: qpnp-flash-v2: Modify current code calculation

Currently, the code calculated for a desired target current and
IRES is rounded up since DIV_ROUND_UP is used in the calculation.
With a higher IRES (12.5 mA), code can be configured to a higher
value. Fix this by using DIV_ROUND_CLOSEST so that the optimal
code can be obtained.

Change-Id: I51c1b15fff3ff2a23cb256f2ae1d341f5271adf2
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
6 years agousb: dwc3-msm: Resume PHY before notify_connect on start_host
Ajay Agarwal [Mon, 16 Apr 2018 14:10:02 +0000 (19:40 +0530)]
usb: dwc3-msm: Resume PHY before notify_connect on start_host

Currently as a part of host cable connection, we are notifying
cable connect to phy driver first and then resuming the PHY. This
leads to bus resume case running instead of the cable connect
case resume, hence the phy driver does not vote for the LDOs. As
a result, PHY goes into bad state. Fix this by first resuming PHY
so that cable connect case resume runs.

Change-Id: Ica5b16e420c38b920688b86a24af396644487a6b
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agohab: import/export between remote buffer and dmafd
Yajun Li [Mon, 15 Jan 2018 02:36:45 +0000 (10:36 +0800)]
hab: import/export between remote buffer and dmafd

currently hab only supports importing remote buffer
to cpu address, which can't be shared to other process.
Therefore we add dma_buf import/export function in hab

Change-Id: I156c925d7c0cefef5bf146ad8cff38de9c4b3bee
Signed-off-by: Yajun Li <yajunl@codeaurora.org>
6 years agodiag: Validate query dci event and log mask size properly
Hardik Arya [Fri, 6 Apr 2018 09:40:36 +0000 (15:10 +0530)]
diag: Validate query dci event and log mask size properly

Currently there is possibility of out-of-bound read due to
incorrect validation of received dci event and log mask for
query. The patch update the validation for the same.

Change-Id: I4266eb0f69fdbfa48c5aacc17744dec83995e9e6
Signed-off-by: Hardik Arya <harya@codeaurora.org>
6 years agoath10k: update wowlan config and rekey data store method
Sarada Prasanna Garnayak [Wed, 18 Apr 2018 09:58:42 +0000 (15:28 +0530)]
ath10k: update wowlan config and rekey data store method

In wow suspend method clean up the old configured wow events
before enabling the WLAN offloads and wakeup wow events.

The rekey data set ops is not part of the ieee80211 power
management ops so remove the rekey data set method from wow
and add it in ath10k mac layer.

CRs-Fixed: 2226944
Change-Id: Ida7592097f949734b5880c470845780295a695af
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agonet: ipc_router: Remove wakeup-source for Sensor ports
Arun Kumar Neelakantam [Thu, 19 Apr 2018 12:40:47 +0000 (18:10 +0530)]
net: ipc_router: Remove wakeup-source for Sensor ports

In high speed sensor data stream case system is not entering into
suspend state due to edge and port specific wake-up sources.

Add flag to check and avoid the wakeup sources for all sensor ports.

CRs-Fixed: 2196601
Change-Id: Ibf642619b969925dc96e8a57e11f7e349b85c024
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
6 years agoclk: qcom: Retrieve pre_div from freq_tbl for shared RCG
Taniya Das [Mon, 23 Apr 2018 03:59:58 +0000 (09:29 +0530)]
clk: qcom: Retrieve pre_div from freq_tbl for shared RCG

There could be cases where a simultaneous clk_disable and clk_set_rate on
the same rcg could result in a wrong recalc rate. So for shared rcgs
get the pre_div value based on the current frequency from the frequency
table.

Change-Id: I575855a3a054bb405f54e1ae0d5feba755aada18
Signed-off-by: Taniya Das <tdas@codeaurora.org>
6 years agodrm/msm/sde: increase gpu input fence timeout to 10 seconds
Dhaval Patel [Tue, 8 Aug 2017 05:55:47 +0000 (22:55 -0700)]
drm/msm/sde: increase gpu input fence timeout to 10 seconds

GPU hardware may take longer time to process the complex
workload rendering. 2 seconds might not be enough to
finish the processing. Increase this timeout to 10seconds
for allowing GPU to render complex scene.

Change-Id: Iab3462e2bcddc8d303a6012a632d465d1508ebf8
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
6 years agoASoC: msm: Update channel mixer weight mixer control
Cong Tang [Thu, 19 Apr 2018 07:08:00 +0000 (15:08 +0800)]
ASoC: msm: Update channel mixer weight mixer control

Update channel mixer weight controls to support maximum 32 channels
then it could configure maximum to 32 channels by apply
weight coefficient.

Change-Id: Ibf9c130ceba23fbe086c640505c8e348c40d9ffe
Signed-off-by: Cong Tang <congt@codeaurora.org>
6 years agoaudio: qdsp6v2: add retry when EAGAIN for habmm_socket_recv
Hugh Guan [Wed, 4 Apr 2018 18:21:43 +0000 (14:21 -0400)]
audio: qdsp6v2: add retry when EAGAIN for habmm_socket_recv

HAB in the kernel can return -EAGAIN from the habmm_socket_recv() call.
This can happen particularly from a signal handler context.

Change-Id: Ib2885dc49193efb925ed03dc507a2fd2c97ec8c5
Signed-off-by: King Tam <kingt@codeaurora.org>
6 years agotracing: always define trace_{irq,preempt}_{enable_disable}
Arnd Bergmann [Thu, 19 Oct 2017 08:32:13 +0000 (10:32 +0200)]
tracing: always define trace_{irq,preempt}_{enable_disable}

We get a build error in the irqsoff tracer in some configurations:

kernel/trace/trace_irqsoff.c: In function 'trace_preempt_on':
kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'; did you mean 'trace_irq_enable_rcuidle'? [-Werror=implicit-function-declaration]
  trace_preempt_enable_rcuidle(a0, a1);

The problem is that trace_preempt_enable_rcuidle() has different
definition based on multiple Kconfig symbols, but not all combinations
have a valid definition.

This changes the conditions so that we always get exactly one
definition of each of the four tracing macros. I have not tried
to verify that these definitions are sensible, but now we
can build all randconfig combinations again.

Link: http://lkml.kernel.org/r/20171019083230.2450779-1-arnd@arndb.de
Change-Id: I6220ade69ab894721ce9f737a634ac6cc15c16e7
Fixes: d59158162e03 ("tracing: Add support for preempt and irq enable/disable events")
Acked-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Git-commit: 250d0c7754aa37c6443f07f1f5f591e2806295d8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
6 years agodrm: msm: add uevent handler to release pipes
Guchun Chen [Fri, 13 Apr 2018 10:28:46 +0000 (18:28 +0800)]
drm: msm: add uevent handler to release pipes

To achieve glitch-free purpose for early RVC case, the pipes are set
to be unavailable to user Apps. So after splash handoff is done, kernel
needs to tell user Apps the update via this uevent. User Apps will get
this event and start further operation accordingly.

CRs-Fixed: 2225630
Change-Id: I96f023d72dea9c359730d0313e65e87cf9dc1fbc
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agodrm: msm: add early splash support on triple displays
Guchun Chen [Mon, 16 Apr 2018 07:32:48 +0000 (15:32 +0800)]
drm: msm: add early splash support on triple displays

This patch is to support early splash on triple displays
including DSI-HDMI displays and native HDMI display, for
auto products.

CRs-Fixed: 2225630
Change-Id: I4de17eabbf2b2caf1354390f327ba7b761dc313f
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Signed-off-by: Camus Wong <camusw@codeaurora.org>
6 years agoMerge "mmc: core: Donot fall back to lower speed modes for tuning errors"
Linux Build Service Account [Mon, 23 Apr 2018 08:14:48 +0000 (01:14 -0700)]
Merge "mmc: core: Donot fall back to lower speed modes for tuning errors"

6 years agoMerge "ARM: dts: msm: clean up display device tree for MSM8996"
Linux Build Service Account [Mon, 23 Apr 2018 08:14:46 +0000 (01:14 -0700)]
Merge "ARM: dts: msm: clean up display device tree for MSM8996"

6 years agoMerge "mmc: core: Add retuning to cmdq path"
Linux Build Service Account [Mon, 23 Apr 2018 08:14:44 +0000 (01:14 -0700)]
Merge "mmc: core: Add retuning to cmdq path"

6 years agoMerge "mmc: core: implement enhanced strobe support"
Linux Build Service Account [Mon, 23 Apr 2018 08:14:43 +0000 (01:14 -0700)]
Merge "mmc: core: implement enhanced strobe support"

6 years agousb: gadget: ffs: Multi-instance fix for use after free case
Liangliang Lu [Fri, 20 Apr 2018 09:26:34 +0000 (17:26 +0800)]
usb: gadget: ffs: Multi-instance fix for use after free case

ffs can be used by many drivers, ADB can use it and MTP can
use it. Any other generic function can use it.

So we continue on the single instance patch, provide
multi-instance fix for the use-after-free issue.

Change-Id: I0056bd3779fb472b69e51391702b8b753d39372f
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
6 years agoMerge "thermal: tsens: Disable Tsens interrupts during driver initialization"
Linux Build Service Account [Sat, 21 Apr 2018 18:29:49 +0000 (11:29 -0700)]
Merge "thermal: tsens: Disable Tsens interrupts during driver initialization"

6 years agodrm: msm: reserve drm resource for early RVC
Guchun Chen [Thu, 12 Apr 2018 09:33:09 +0000 (17:33 +0800)]
drm: msm: reserve drm resource for early RVC

When early RVC is enabled in bootloader, the pipes on the display
which RVC is on should not be available to uers' Apps. That means,
user should not touch and allocate the pipe for other Apps before
RVC exits. For this purpose, this patch reads the reserved pipe
information from device tree, and reports pipe availability to
user from kernel side.
In additional, user's layer mixer stage will decrease by 1 to
let RVC's layer stays on top before it exits.

CRs-Fixed: 2225630
Change-Id: Id4530afb82da52aecdf5aa48c8fbd59313da236b
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agoMerge "cnss2: Support unified QMI sequence"
Linux Build Service Account [Sat, 21 Apr 2018 09:48:03 +0000 (02:48 -0700)]
Merge "cnss2: Support unified QMI sequence"

6 years agoMerge "Merge android-4.4.127 (d6bbe8b) into msm-4.4"
Linux Build Service Account [Sat, 21 Apr 2018 09:48:02 +0000 (02:48 -0700)]
Merge "Merge android-4.4.127 (d6bbe8b) into msm-4.4"

6 years agoMerge "ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform"
Linux Build Service Account [Sat, 21 Apr 2018 09:48:01 +0000 (02:48 -0700)]
Merge "ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform"

6 years agoMerge "ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm"
Linux Build Service Account [Sat, 21 Apr 2018 09:47:59 +0000 (02:47 -0700)]
Merge "ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm"

6 years agoMerge "defconfig: msm: Enable 802.11AD WiFi platform driver"
Linux Build Service Account [Sat, 21 Apr 2018 09:47:58 +0000 (02:47 -0700)]
Merge "defconfig: msm: Enable 802.11AD WiFi platform driver"

6 years agoMerge "msm_performance: Add NULL pointer checks"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:53 +0000 (14:20 -0700)]
Merge "msm_performance: Add  NULL pointer checks"

6 years agoMerge "msm: camera: sensor: Program SDR mask delay based on data rate"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:50 +0000 (14:20 -0700)]
Merge "msm: camera: sensor: Program SDR mask delay based on data rate"

6 years agoMerge "cnss: cnss_pci: adapt cnss to msm virtual platform"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:48 +0000 (14:20 -0700)]
Merge "cnss: cnss_pci: adapt cnss to msm virtual platform"

6 years agoMerge "ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:46 +0000 (14:20 -0700)]
Merge "ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node"

6 years agoASoC: msm: move tdm grp mgt to afe for anc support
Derek Chen [Mon, 4 Dec 2017 22:30:08 +0000 (17:30 -0500)]
ASoC: msm: move tdm grp mgt to afe for anc support

Move TDM group management from CPU dai to AFE
driver to support LPASS resource access from
ANC platform driver.

CRs-fixed: 2153236
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Change-Id: Ib22bb95cd72426e44863200e0d4581c62b12481a

6 years agosoc: msm: add apr sensor domain support
Derek Chen [Mon, 30 Oct 2017 18:16:11 +0000 (14:16 -0400)]
soc: msm: add apr sensor domain support

Add APR Sensor (DSPS) domain support for
Active Noise Cancellation (ANC) usecase.

CRs-fixed: 2153236
Change-Id: I5a271aac25ac6e538751d742dc0bf1b105221112
Signed-off-by: Derek Chen <chenche@codeaurora.org>
6 years agocpuidle: lpm-levels: Fix snprintf string format
Archana Sathyakumar [Tue, 10 Oct 2017 17:11:45 +0000 (11:11 -0600)]
cpuidle: lpm-levels: Fix snprintf string format

Undefined string lengths could lead to buffer overflows. Format the
string correctly to ensure proper usage of snprintf.

Change-Id: I996f41197606f4b9877cf0fbc6c57145480b5c1c
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
6 years agoMerge android-4.4.128 (89904cc) into msm-4.4
Srinivasarao P [Fri, 20 Apr 2018 07:34:48 +0000 (13:04 +0530)]
Merge android-4.4.128 (89904cc) into msm-4.4

* refs/heads/tmp-89904cc
  ANDROID: Add build server config for cuttlefish.
  ANDROID: Add defconfig for cuttlefish.
  FROMLIST: staging: Android: Add 'vsoc' driver for cuttlefish.
  Revert "proc: make oom adjustment files user read-only"
  Revert "fixup! proc: make oom adjustment files user read-only"
  Linux 4.4.128
  Revert "xhci: plat: Register shutdown for xhci_plat"
  vrf: Fix use after free and double free in vrf_finish_output
  ipv6: the entire IPv6 header chain must fit the first fragment
  net/ipv6: Increment OUTxxx counters after netfilter hook
  net sched actions: fix dumping which requires several messages to user space
  r8169: fix setting driver_data after register_netdev
  vti6: better validate user provided tunnel names
  ip6_tunnel: better validate user provided tunnel names
  ip6_gre: better validate user provided tunnel names
  ipv6: sit: better validate user provided tunnel names
  ip_tunnel: better validate user provided tunnel names
  net: fool proof dev_valid_name()
  bonding: process the err returned by dev_set_allmulti properly in bond_enslave
  bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
  bonding: fix the err path for dev hwaddr sync in bond_enslave
  vlan: also check phy_driver ts_info for vlan's real device
  vhost: correctly remove wait queue during poll failure
  sky2: Increase D3 delay to sky2 stops working after suspend
  sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
  sctp: do not leak kernel memory to user space
  pptp: remove a buggy dst release in pptp_connect()
  net/sched: fix NULL dereference in the error path of tcf_bpf_init()
  netlink: make sure nladdr has correct size in netlink_connect()
  net/ipv6: Fix route leaking between VRFs
  net: fix possible out-of-bound read in skb_network_protocol()
  arp: fix arp_filter on l3slave devices
  Kbuild: provide a __UNIQUE_ID for clang
  futex: Remove requirement for lock_page() in get_futex_key()
  random: use lockless method of accessing and updating f->reg_idx
  virtio_net: check return value of skb_to_sgvec in one more location
  virtio_net: check return value of skb_to_sgvec always
  rxrpc: check return value of skb_to_sgvec always
  ipsec: check return value of skb_to_sgvec always
  perf tools: Fix copyfile_offset update of output offset
  cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
  EDAC, mv64x60: Fix an error handling path
  tty: n_gsm: Allow ADM response in addition to UA for control dlci
  blk-mq: fix kernel oops in blk_mq_tag_idle()
  scsi: libsas: initialize sas_phy status according to response of DISCOVER
  scsi: libsas: fix error when getting phy events
  scsi: libsas: fix memory leak in sas_smp_get_phy_events()
  bcache: segregate flash only volume write streams
  bcache: stop writeback thread after detaching
  vxlan: dont migrate permanent fdb entries during learn
  s390/dasd: fix hanging safe offline
  ACPICA: Disassembler: Abort on an invalid/unknown AML opcode
  ACPICA: Events: Add runtime stub support for event APIs
  cpuidle: dt: Add missing 'of_node_put()'
  Bluetooth: Send HCI Set Event Mask Page 2 command only when needed
  iio: magnetometer: st_magn_spi: fix spi_device_id table
  sparc64: ldc abort during vds iso boot
  sctp: fix recursive locking warning in sctp_do_peeloff
  bnx2x: Allow vfs to disable txvlan offload
  xen: avoid type warning in xchg_xen_ulong
  skbuff: only inherit relevant tx_flags
  perf tests: Decompress kernel module before objdump
  net: emac: fix reset timeout with AR8035 phy
  Fix loop device flush before configure v3
  MIPS: kprobes: flush_insn_slot should flush only if probe initialised
  MIPS: mm: adjust PKMAP location
  MIPS: mm: fixed mappings: correct initialisation
  perf/core: Correct event creation with PERF_FORMAT_GROUP
  e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
  ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull
  net: phy: avoid genphy_aneg_done() for PHYs without clause 22 support
  mceusb: sporadic RX truncation corruption fix
  cx25840: fix unchecked return values
  e1000e: fix race condition around skb_tstamp_tx()
  tags: honor COMPILED_SOURCE with apart output directory
  perf report: Ensure the perf DSO mapping matches what libdw sees
  perf header: Set proper module name when build-id event found
  net/mlx4: Check if Granular QoS per VF has been enabled before updating QP qos_vport
  net/mlx4: Fix the check in attaching steering rules
  sit: reload iphdr in ipip6_rcv
  skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow
  bio-integrity: Do not allocate integrity context for bio w/o data
  Fix serial console on SNI RM400 machines
  cxgb4: fix incorrect cim_la output for T6
  drm/omap: fix tiled buffer stride calculations
  mISDN: Fix a sleep-in-atomic bug
  qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M
  perf trace: Add mmap alias for s390
  powerpc/spufs: Fix coredump of SPU contexts
  clk: Fix __set_clk_rates error print-string
  clk: scpi: fix return type of __scpi_dvfs_round_rate
  KVM: SVM: do not zero out segment attributes if segment is unusable or not present
  net: freescale: fix potential null pointer dereference
  SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()
  rtc: interface: Validate alarm-time before handling rollover
  rtc: opal: Handle disabled TPO in opal_get_tpo_time()
  cxgb4: FW upgrade fixes
  net/mlx5: avoid build warning for uniprocessor
  arm64: futex: Fix undefined behaviour with FUTEX_OP_OPARG_SHIFT usage
  dmaengine: imx-sdma: Handle return value of clk_prepare_enable
  powerpc/[booke|4xx]: Don't clobber TCR[WP] when setting TCR[DIE]
  ovl: filter trusted xattr for non-admin
  hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
  wl1251: check return from call to wl1251_acx_arp_ip_filter
  ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
  gpio: label descriptors using the device name
  vfb: fix video mode and line_length being set when loaded
  scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
  scsi: libiscsi: Allow sd_shutdown on bad transport
  ASoC: Intel: cht_bsw_rt5645: Analog Mic support
  media: videobuf2-core: don't go out of the buffer range
  hwmon: (ina2xx) Make calibration register value fixed
  rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
  l2tp: fix missing print session offset info
  perf probe: Add warning message if there is unexpected event name
  thermal: power_allocator: fix one race condition issue for thermal_instances list
  ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
  net: llc: add lock_sock in llc_ui_bind to avoid a race condition
  KVM: nVMX: Fix handling of lmsw instruction
  bonding: Don't update slave->link until ready to commit
  Input: elan_i2c - clear INT before resetting controller
  net: move somaxconn init from sysctl code
  tcp: better validation of received ack sequences
  ext4: fix off-by-one on max nr_pages in ext4_find_unwritten_pgoff()
  fix race in drivers/char/random.c:get_reg()
  scsi: bnx2fc: fix race condition in bnx2fc_get_host_stats()
  ASoC: rsnd: SSI PIO adjust to 24bit mode
  pNFS/flexfiles: missing error code in ff_layout_alloc_lseg()
  netfilter: ctnetlink: fix incorrect nf_ct_put during hash resize
  libceph: NULL deref on crush_decode() error path
  net: ieee802154: fix net_device reference release too early
  mlx5: fix bug reading rss_hash_type from CQE
  block: fix an error code in add_partition()
  selinux: do not check open permission on sockets
  net/mlx5: Tolerate irq_set_affinity_hint() failures
  sched/numa: Use down_read_trylock() for the mmap_sem
  leds: pca955x: Correct I2C Functionality
  ray_cs: Avoid reading past end of buffer
  ARM: davinci: da8xx: Create DSP device only when assigned memory
  md-cluster: fix potential lock issue in add_new_disk
  ext4: handle the rest of ext4_mb_load_buddy() ENOMEM errors
  iio: hi8435: cleanup reset gpio
  iio: hi8435: avoid garbage event at first enable
  xfrm: fix state migration copy replay sequence numbers
  selftests/powerpc: Fix TM resched DSCR test with some compilers
  ath5k: fix memory leak on buf on failed eeprom read
  powerpc/mm: Fix virt_addr_valid() etc. on 64-bit hash
  scsi: csiostor: fix use after free in csio_hw_use_fwconfig()
  sh_eth: Use platform device for printing before register_netdev()
  serial: sh-sci: Fix race condition causing garbage during shutdown
  serial: 8250: omap: Disable DMA for console UART
  USB: ene_usb6250: fix SCSI residue overwriting
  net: x25: fix one potential use-after-free issue
  USB: ene_usb6250: fix first command execution
  usb: chipidea: properly handle host or gadget initialization failure
  arp: honour gratuitous ARP _replies_
  neighbour: update neigh timestamps iff update is effective
  ata: libahci: properly propagate return value of platform_get_irq()
  btrfs: fix incorrect error return ret being passed to mapping_set_error
  usb: dwc3: keystone: check return value
  async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()
  ipv6: avoid dad-failures for addresses with NODAD
  ARM: dts: imx6qdl-wandboard: Fix audio channel swap
  x86/tsc: Provide 'tsc=unstable' boot parameter
  staging: wlan-ng: prism2mgmt.c: fixed a double endian conversion before calling hfa384x_drvr_setconfig16, also fixes relative sparse warning
  ARM: dts: imx53-qsrb: Pulldown PMIC IRQ pin
  PowerCap: Fix an error code in powercap_register_zone()
  bus: brcmstb_gisb: correct support for 64-bit address output
  bus: brcmstb_gisb: Use register offsets with writes too
  SMB2: Fix share type handling
  vmxnet3: ensure that adapter is in proper state during force_close
  KVM: PPC: Book3S PR: Check copy_to/from_user return values
  Input: elantech - force relative mode on a certain module
  Input: elan_i2c - check if device is there before really probing
  netxen_nic: set rcode to the return status from the call to netxen_issue_cmd
  net: qca_spi: Fix alignment issues in rx path
  blk-mq: NVMe 512B/4K+T10 DIF/DIX format returns I/O error on dd with split op
  CIFS: silence lockdep splat in cifs_relock_file()
  NFSv4.1: Work around a Linux server bug...
  net/mlx4_en: Avoid adding steering rules with invalid ring
  s390: move _text symbol to address higher than zero
  pidns: disable pid allocation if pid_ns_prepare_proc() is failed in alloc_pid()
  drivers/misc/vmw_vmci/vmci_queue_pair.c: fix a couple integer overflow tests
  lockd: fix lockd shutdown race
  net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control
  net: cdc_ncm: Fix TX zero padding
  ipmi_ssif: unlock on allocation failure
  qlge: Avoid reading past end of buffer
  bna: Avoid reading past end of buffer
  mac80211: bail out from prep_connection() if a reconfig is ongoing
  af_key: Fix slab-out-of-bounds in pfkey_compile_policy.
  IB/srpt: Fix abort handling
  NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION
  x86/asm: Don't use RBP as a temporary register in csum_partial_copy_generic()
  rtc: snvs: fix an incorrect check of return value
  md/raid5: make use of spin_lock_irq over local_irq_disable + spin_lock
  cfg80211: make RATE_INFO_BW_20 the default
  ANDROID: proc: add null check in proc_uid_init
  f2fs/fscrypt: updates to v4.17-rc1
  Reduce amount of casting in drivers/tty/goldfish.c.

Conflicts:
drivers/staging/android/Kconfig
drivers/staging/android/Makefile

Change-Id: Ic7aa3df76a0312b8d6d84f8a8e11e793311a239a
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
6 years agoARM: dts: msm: Fix DT parsing error for msm8996 la-gvm
Vivek Kumar [Wed, 18 Apr 2018 11:54:11 +0000 (17:24 +0530)]
ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm

Add close bracket to fix compilation error for
msm8996 la-gvm specific dts.

Change-Id: Ie98618c658a531712076343b98aa789188c3e6ac
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agomsm: camera: sensor: Program SDR mask delay based on data rate
Vijay kumar Tumati [Thu, 8 Mar 2018 16:44:25 +0000 (22:14 +0530)]
msm: camera: sensor: Program SDR mask delay based on data rate

Program camera csiphy correctly by using sensor output data rate
information.

Change-Id: I34f4b6b88f645aa620c4d03be2d7905c0951fd4e
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years agoMerge android-4.4.127 (d6bbe8b) into msm-4.4
Srinivasarao P [Fri, 20 Apr 2018 06:57:04 +0000 (12:27 +0530)]
Merge android-4.4.127 (d6bbe8b) into msm-4.4

* refs/heads/tmp-d6bbe8b
  Linux 4.4.127
  Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
  net: cavium: liquidio: fix up "Avoid dma_unmap_single on uninitialized ndata"
  spi: davinci: fix up dma_mapping_error() incorrect patch
  Revert "mtip32xx: use runtime tag to initialize command header"
  Revert "cpufreq: Fix governor module removal race"
  Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
  Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
  Revert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()"
  nospec: Kill array_index_nospec_mask_check()
  nospec: Move array_index_nospec() parameter checking into separate macro
  net: hns: Fix ethtool private flags
  md/raid10: reset the 'first' at the end of loop
  ARM: dts: am57xx-beagle-x15-common: Add overide powerhold property
  ARM: dts: dra7: Add power hold and power controller properties to palmas
  Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition
  vt: change SGR 21 to follow the standards
  Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
  Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
  staging: comedi: ni_mio_common: ack ai fifo error interrupts.
  fs/proc: Stop trying to report thread stacks
  crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
  crypto: ahash - Fix early termination in hash walk
  parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
  media: usbtv: prevent double free in error case
  mei: remove dev_err message on an unsupported ioctl
  USB: serial: cp210x: add ELDAT Easywave RX09 id
  USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
  USB: serial: ftdi_sio: add RT Systems VX-8 cable
  usb: dwc2: Improve gadget state disconnection handling
  scsi: virtio_scsi: always read VPD pages for multiqueue too
  llist: clang: introduce member_address_is_nonnull()
  Bluetooth: Fix missing encryption refresh on Security Request
  netfilter: x_tables: add and use xt_check_proc_name
  netfilter: bridge: ebt_among: add more missing match size checks
  xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
  net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
  RDMA/ucma: Introduce safer rdma_addr_size() variants
  RDMA/ucma: Don't allow join attempts for unsupported AF family
  RDMA/ucma: Check that device exists prior to accessing it
  RDMA/ucma: Check that device is connected prior to access it
  RDMA/ucma: Ensure that CM_ID exists prior to access it
  RDMA/ucma: Fix use-after-free access in ucma_close
  RDMA/ucma: Check AF family prior resolving address
  xfrm_user: uncoditionally validate esn replay attribute struct
  arm64: avoid overflow in VA_START and PAGE_OFFSET
  selinux: Remove redundant check for unknown labeling behavior
  netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch
  tty: provide tty_name() even without CONFIG_TTY
  audit: add tty field to LOGIN event
  frv: declare jiffies to be located in the .data section
  jiffies.h: declare jiffies and jiffies_64 with ____cacheline_aligned_in_smp
  fs: compat: Remove warning from COMPATIBLE_IOCTL
  selinux: Remove unnecessary check of array base in selinux_set_mapping()
  cpumask: Add helper cpumask_available()
  genirq: Use cpumask_available() for check of cpumask variable
  netfilter: nf_nat_h323: fix logical-not-parentheses warning
  Input: mousedev - fix implicit conversion warning
  dm ioctl: remove double parentheses
  PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant
  writeback: fix the wrong congested state variable definition
  ACPI, PCI, irq: remove redundant check for null string pointer
  kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
  usb: gadget: f_hid: fix: Prevent accessing released memory
  usb: gadget: align buffer size when allocating for OUT endpoint
  usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align
  usb: gadget: change len to size_t on alloc_ep_req()
  usb: gadget: define free_ep_req as universal function
  partitions/msdos: Unable to mount UFS 44bsd partitions
  perf/hwbp: Simplify the perf-hwbp code, fix documentation
  ALSA: pcm: potential uninitialized return values
  ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
  mtd: jedec_probe: Fix crash in jedec_read_mfr()
  Replace #define with enum for better compilation errors.
  Add missing include to drivers/tty/goldfish.c
  Fix whitespace in drivers/tty/goldfish.c
  ANDROID: fuse: Add null terminator to path in canonical path to avoid issue
  ANDROID: sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries.
  ANDROID: add missing include to pdev_bus
  ANDROID: pdev_bus: replace writel with gf_write_ptr
  ANDROID: Cleanup type casting in goldfish.h
  ANDROID: Include missing headers in goldfish.h
  ANDROID: cpufreq: times: skip printing invalid frequencies
  ANDROID: xt_qtaguid: Remove unnecessary null checks to device's name
  ANDROID: xt_qtaguid: Remove unnecessary null checks to ifa_label
  ANDROID: cpufreq: times: allocate enough space for a uid_entry
  Linux 4.4.126
  net: systemport: Rewrite __bcm_sysport_tx_reclaim()
  net: fec: Fix unbalanced PM runtime calls
  ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
  s390/qeth: on channel error, reject further cmd requests
  s390/qeth: lock read device while queueing next buffer
  s390/qeth: when thread completes, wake up all waiters
  s390/qeth: free netdevice when removing a card
  team: Fix double free in error path
  skbuff: Fix not waking applications when errors are enqueued
  net: Only honor ifindex in IP_PKTINFO if non-0
  netlink: avoid a double skb free in genlmsg_mcast()
  net/iucv: Free memory obtained by kzalloc
  net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
  net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
  l2tp: do not accept arbitrary sockets
  ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
  dccp: check sk for closed state in dccp_sendmsg()
  net: Fix hlist corruptions in inet_evict_bucket()
  Revert "genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs"
  scsi: sg: don't return bogus Sg_requests
  Revert "genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs"
  UPSTREAM: drm: virtio-gpu: set atomic flag
  UPSTREAM: drm: virtio-gpu: transfer dumb buffers to host on plane update
  UPSTREAM: drm: virtio-gpu: ensure plane is flushed to host on atomic update
  UPSTREAM: drm: virtio-gpu: get the fb from the plane state for atomic updates
  Linux 4.4.125
  bpf, x64: increase number of passes
  bpf: skip unnecessary capability check
  kbuild: disable clang's default use of -fmerge-all-constants
  staging: lustre: ptlrpc: kfree used instead of kvfree
  perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
  x86/entry/64: Don't use IST entry for #BP stack
  x86/boot/64: Verify alignment of the LOAD segment
  x86/build/64: Force the linker to use 2MB page size
  kvm/x86: fix icebp instruction handling
  tty: vt: fix up tabstops properly
  can: cc770: Fix use after free in cc770_tx_interrupt()
  can: cc770: Fix queue stall & dropped RTR reply
  can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
  staging: ncpfs: memory corruption in ncp_read_kernel()
  mtd: nand: fsl_ifc: Fix nand waitfunc return value
  tracing: probeevent: Fix to support minus offset from symbol
  rtlwifi: rtl8723be: Fix loss of signal
  brcmfmac: fix P2P_DEVICE ethernet address generation
  acpi, numa: fix pxm to online numa node associations
  drm: udl: Properly check framebuffer mmap offsets
  drm/radeon: Don't turn off DP sink when disconnected
  drm/vmwgfx: Fix a destoy-while-held mutex problem.
  x86/mm: implement free pmd/pte page interfaces
  mm/vmalloc: add interfaces to free unmapped page table
  libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
  libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
  libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
  libata: Enable queued TRIM for Samsung SSD 860
  libata: disable LPM for Crucial BX100 SSD 500GB drive
  libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
  libata: remove WARN() for DMA or PIO command without data
  libata: fix length validation of ATAPI-relayed SCSI commands
  Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
  clk: bcm2835: Protect sections updating shared registers
  ahci: Add PCI-id for the Highpoint Rocketraid 644L card
  PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
  mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
  ALSA: hda/realtek - Always immediately update mute LED with pin VREF
  ALSA: aloop: Fix access to not-yet-ready substream via cable
  ALSA: aloop: Sync stale timer before release
  ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
  iio: st_pressure: st_accel: pass correct platform data to init
  MIPS: ralink: Remove ralink_halt()
  ANDROID: cpufreq: times: fix proc_time_in_state_show
  dtc: turn off dtc unit address warnings by default
  Linux 4.4.124
  RDMA/ucma: Fix access to non-initialized CM_ID object
  dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
  clk: si5351: Rename internal plls to avoid name collisions
  nfsd4: permit layoutget of executable-only files
  RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
  ip6_vti: adjust vti mtu according to mtu of lower device
  iommu/vt-d: clean up pr_irq if request_threaded_irq fails
  pinctrl: Really force states during suspend/resume
  coresight: Fix disabling of CoreSight TPIU
  pty: cancel pty slave port buf's work in tty_release
  drm/omap: DMM: Check for DMM readiness after successful transaction commit
  vgacon: Set VGA struct resource types
  IB/umem: Fix use of npages/nmap fields
  RDMA/cma: Use correct size when writing netlink stats
  IB/ipoib: Avoid memory leak if the SA returns a different DGID
  mmc: avoid removing non-removable hosts during suspend
  platform/chrome: Use proper protocol transfer function
  cros_ec: fix nul-termination for firmware build info
  media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
  media: bt8xx: Fix err 'bt878_probe()'
  rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
  RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
  drm/msm: fix leak in failed get_pages
  media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
  Bluetooth: hci_qca: Avoid setup failure on missing rampatch
  perf tests kmod-path: Don't fail if compressed modules aren't supported
  rtc: ds1374: wdt: Fix stop/start ioctl always returning -EINVAL
  rtc: ds1374: wdt: Fix issue with timeout scaling from secs to wdt ticks
  cifs: small underflow in cnvrtDosUnixTm()
  net: hns: fix ethtool_get_strings overflow in hns driver
  sm501fb: don't return zero on failure path in sm501fb_start()
  video: fbdev: udlfb: Fix buffer on stack
  tcm_fileio: Prevent information leak for short reads
  ia64: fix module loading for gcc-5.4
  md/raid10: skip spare disk as 'first' disk
  Input: twl4030-pwrbutton - use correct device for irq request
  power: supply: pda_power: move from timer to delayed_work
  bnx2x: Align RX buffers
  drm/nouveau/kms: Increase max retries in scanout position queries.
  ACPI / PMIC: xpower: Fix power_table addresses
  ipmi/watchdog: fix wdog hang on panic waiting for ipmi response
  ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP
  mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a
  staging: wilc1000: fix unchecked return value
  staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y
  mtip32xx: use runtime tag to initialize command header
  mfd: palmas: Reset the POWERHOLD mux during power off
  mac80211: don't parse encrypted management frames in ieee80211_frame_acked
  Btrfs: send, fix file hole not being preserved due to inline extent
  rndis_wlan: add return value validation
  mt7601u: check return value of alloc_skb
  iio: st_pressure: st_accel: Initialise sensor platform data properly
  NFS: don't try to cross a mountpount when there isn't one there.
  infiniband/uverbs: Fix integer overflows
  scsi: mac_esp: Replace bogus memory barrier with spinlock
  qlcnic: fix unchecked return value
  wan: pc300too: abort path on failure
  mmc: host: omap_hsmmc: checking for NULL instead of IS_ERR()
  openvswitch: Delete conntrack entry clashing with an expectation.
  netfilter: xt_CT: fix refcnt leak on error path
  Fix driver usage of 128B WQEs when WQ_CREATE is V1.
  ASoC: Intel: Skylake: Uninitialized variable in probe_codec()
  IB/mlx4: Change vma from shared to private
  IB/mlx4: Take write semaphore when changing the vma struct
  HSI: ssi_protocol: double free in ssip_pn_xmit()
  IB/ipoib: Update broadcast object if PKey value was changed in index 0
  IB/ipoib: Fix deadlock between ipoib_stop and mcast join flow
  ALSA: hda - Fix headset microphone detection for ASUS N551 and N751
  e1000e: fix timing for 82579 Gigabit Ethernet controller
  tcp: remove poll() flakes with FastOpen
  NFS: Fix missing pg_cleanup after nfs_pageio_cond_complete()
  md/raid10: wait up frozen array in handle_write_completed
  iommu/omap: Register driver before setting IOMMU ops
  ARM: 8668/1: ftrace: Fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER
  KVM: PPC: Book3S PR: Exit KVM on failed mapping
  scsi: virtio_scsi: Always try to read VPD pages
  clk: ns2: Correct SDIO bits
  ath: Fix updating radar flags for coutry code India
  spi: dw: Disable clock after unregistering the host
  media/dvb-core: Race condition when writing to CAM
  net: ipv6: send unsolicited NA on admin up
  i2c: i2c-scmi: add a MS HID
  genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs
  cpufreq/sh: Replace racy task affinity logic
  ACPI/processor: Replace racy task affinity logic
  ACPI/processor: Fix error handling in __acpi_processor_start()
  time: Change posix clocks ops interfaces to use timespec64
  Input: ar1021_i2c - fix too long name in driver's device table
  rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs
  x86: i8259: export legacy_pic symbol
  regulator: anatop: set default voltage selector for pcie
  platform/x86: asus-nb-wmi: Add wapf4 quirk for the X302UA
  staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
  CIFS: Enable encryption during session setup phase
  SMB3: Validate negotiate request must always be signed
  tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
  tpm: fix potential buffer overruns caused by bit glitches on the bus
  BACKPORT, FROMLIST: crypto: arm64/speck - add NEON-accelerated implementation of Speck-XTS
  Linux 4.4.123
  bpf: fix incorrect sign extension in check_alu_op()
  usb: gadget: bdc: 64-bit pointer capability check
  USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
  btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
  btrfs: alloc_chunk: fix DUP stripe size handling
  ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
  scsi: sg: only check for dxfer_len greater than 256M
  scsi: sg: fix static checker warning in sg_is_valid_dxfer
  scsi: sg: fix SG_DXFER_FROM_DEV transfers
  irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
  fs/aio: Use RCU accessors for kioctx_table->table[]
  fs/aio: Add explicit RCU grace period when freeing kioctx
  lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
  fs: Teach path_connected to handle nfs filesystems with multiple roots.
  drm/amdgpu/dce: Don't turn off DP sink when disconnected
  ALSA: seq: Clear client entry before deleting else at closing
  ALSA: seq: Fix possible UAF in snd_seq_check_queue()
  ALSA: hda - Revert power_save option default value
  ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
  x86/mm: Fix vmalloc_fault to use pXd_large
  x86/vm86/32: Fix POPF emulation
  selftests/x86/entry_from_vm86: Add test cases for POPF
  selftests/x86: Add tests for the STR and SLDT instructions
  selftests/x86: Add tests for User-Mode Instruction Prevention
  selftests/x86/entry_from_vm86: Exit with 1 if we fail
  ima: relax requiring a file signature for new files with zero length
  rcutorture/configinit: Fix build directory error message
  ipvlan: add L2 check for packets arriving via virtual devices
  ASoC: nuc900: Fix a loop timeout test
  mac80211: remove BUG() when interface type is invalid
  mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
  agp/intel: Flush all chipset writes after updating the GGTT
  drm/amdkfd: Fix memory leaks in kfd topology
  veth: set peer GSO values
  media: cpia2: Fix a couple off by one bugs
  scsi: dh: add new rdac devices
  scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
  scsi: core: scsi_get_device_flags_keyed(): Always return device flags
  spi: sun6i: disable/unprepare clocks on remove
  tools/usbip: fixes build with musl libc toolchain
  ath10k: fix invalid STS_CAP_OFFSET_MASK
  clk: qcom: msm8916: fix mnd_width for codec_digcodec
  cpufreq: Fix governor module removal race
  ath10k: update tdls teardown state to target
  ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
  ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
  mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
  net: xfrm: allow clearing socket xfrm policies.
  test_firmware: fix setting old custom fw path back on exit
  sched: Stop resched_cpu() from sending IPIs to offline CPUs
  sched: Stop switched_to_rt() from sending IPIs to offline CPUs
  ARM: dts: exynos: Correct Trats2 panel reset line
  HID: elo: clear BTN_LEFT mapping
  video/hdmi: Allow "empty" HDMI infoframes
  drm/edid: set ELD connector type in drm_edid_to_eld()
  wil6210: fix memory access violation in wil_memcpy_from/toio_32
  pwm: tegra: Increase precision in PWM rate calculation
  kprobes/x86: Set kprobes pages read-only
  kprobes/x86: Fix kprobe-booster not to boost far call instructions
  scsi: sg: close race condition in sg_remove_sfp_usercontext()
  scsi: sg: check for valid direction before starting the request
  perf session: Don't rely on evlist in pipe mode
  perf inject: Copy events when reordering events in pipe mode
  drivers/perf: arm_pmu: handle no platform_device
  usb: gadget: dummy_hcd: Fix wrong power status bit clear/reset in dummy_hub_control()
  usb: dwc2: Make sure we disconnect the gadget state
  md/raid6: Fix anomily when recovering a single device in RAID6.
  regulator: isl9305: fix array size
  MIPS: r2-on-r6-emu: Clear BLTZALL and BGEZALL debugfs counters
  MIPS: r2-on-r6-emu: Fix BLEZL and BGTZL identification
  MIPS: BPF: Fix multiple problems in JIT skb access helpers.
  MIPS: BPF: Quit clobbering callee saved registers in JIT code.
  coresight: Fixes coresight DT parse to get correct output port ID.
  drm/amdgpu: Fail fb creation from imported dma-bufs. (v2)
  drm/radeon: Fail fb creation from imported dma-bufs.
  video: ARM CLCD: fix dma allocation size
  iommu/iova: Fix underflow bug in __alloc_and_insert_iova_range
  apparmor: Make path_max parameter readonly
  scsi: ses: don't get power status of SES device slot on probe
  fm10k: correctly check if interface is removed
  ALSA: firewire-digi00x: handle all MIDI messages on streaming packets
  reiserfs: Make cancel_old_flush() reliable
  ARM: dts: koelsch: Correct clock frequency of X2 DU clock input
  net/faraday: Add missing include of of.h
  powerpc: Avoid taking a data miss on every userspace instruction miss
  ARM: dts: r8a7791: Correct parent of SSI[0-9] clocks
  ARM: dts: r8a7790: Correct parent of SSI[0-9] clocks
  NFC: nfcmrvl: double free on error path
  NFC: nfcmrvl: Include unaligned.h instead of access_ok.h
  vxlan: vxlan dev should inherit lowerdev's gso_max_size
  drm/vmwgfx: Fixes to vmwgfx_fb
  braille-console: Fix value returned by _braille_console_setup
  bonding: refine bond_fold_stats() wrap detection
  f2fs: relax node version check for victim data in gc
  blk-throttle: make sure expire time isn't too big
  mm: Fix false-positive VM_BUG_ON() in page_cache_{get,add}_speculative()
  driver: (adm1275) set the m,b and R coefficients correctly for power
  dmaengine: imx-sdma: add 1ms delay to ensure SDMA channel is stopped
  tcp: sysctl: Fix a race to avoid unexpected 0 window from space
  spi: omap2-mcspi: poll OMAP2_MCSPI_CHSTAT_RXS for PIO transfer
  ASoC: rcar: ssi: don't set SSICR.CKDV = 000 with SSIWSR.CONT
  sched: act_csum: don't mangle TCP and UDP GSO packets
  Input: qt1070 - add OF device ID table
  sysrq: Reset the watchdog timers while displaying high-resolution timers
  timers, sched_clock: Update timeout for clock wrap
  media: i2c/soc_camera: fix ov6650 sensor getting wrong clock
  scsi: ipr: Fix missed EH wakeup
  solo6x10: release vb2 buffers in solo_stop_streaming()
  of: fix of_device_get_modalias returned length when truncating buffers
  batman-adv: handle race condition for claims between gateways
  ARM: dts: Adjust moxart IRQ controller and flags
  net/8021q: create device with all possible features in wanted_features
  HID: clamp input to logical range if no null state
  perf probe: Return errno when not hitting any event
  ath10k: disallow DFS simulation if DFS channel is not enabled
  drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)
  drivers: net: xgene: Fix hardware checksum setting
  perf tools: Make perf_event__synthesize_mmap_events() scale
  i40e: fix ethtool to get EEPROM data from X722 interface
  i40e: Acquire NVM lock before reads on all devices
  perf sort: Fix segfault with basic block 'cycles' sort dimension
  selinux: check for address length in selinux_socket_bind()
  PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()
  ath10k: fix a warning during channel switch with multiple vaps
  drm: qxl: Don't alloc fbdev if emulation is not supported
  HID: reject input outside logical range only if null state is set
  staging: wilc1000: add check for kmalloc allocation failure.
  staging: speakup: Replace BUG_ON() with WARN_ON().
  Input: tsc2007 - check for presence and power down tsc2007 during probe
  blkcg: fix double free of new_blkg in blkcg_init_queue
  ANDROID: cpufreq: times: avoid prematurely freeing uid_entry
  ANDROID: Use standard logging functions in goldfish_pipe
  ANDROID: Fix whitespace in goldfish
  staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
  llist: clang: introduce member_address_is_nonnull()
  Linux 4.4.122
  fixup: sctp: verify size of a new chunk in _sctp_make_chunk()
  serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
  usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
  usb: usbmon: Read text within supplied buffer size
  USB: usbmon: remove assignment from IS_ERR argument
  usb: quirks: add control message delay for 1b1c:1b20
  USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
  staging: android: ashmem: Fix lockdep issue during llseek
  staging: comedi: fix comedi_nsamples_left.
  uas: fix comparison for error code
  tty/serial: atmel: add new version check for usart
  serial: sh-sci: prevent lockup on full TTY buffers
  x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
  x86/module: Detect and skip invalid relocations
  Revert "ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux"
  NFS: Fix an incorrect type in struct nfs_direct_req
  scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
  ubi: Fix race condition between ubi volume creation and udev
  ext4: inplace xattr block update fails to deduplicate blocks
  netfilter: x_tables: pack percpu counter allocations
  netfilter: x_tables: pass xt_counters struct to counter allocator
  netfilter: x_tables: pass xt_counters struct instead of packet counter
  netfilter: use skb_to_full_sk in ip_route_me_harder
  netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
  netfilter: bridge: ebt_among: add missing match size checks
  netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
  netfilter: IDLETIMER: be syzkaller friendly
  netfilter: nat: cope with negative port range
  netfilter: x_tables: fix missing timer initialization in xt_LED
  netfilter: add back stackpointer size checks
  tc358743: fix register i2c_rd/wr function fix
  Input: tca8418_keypad - remove double read of key event register
  ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
  netfilter: nfnetlink_queue: fix timestamp attribute
  watchdog: hpwdt: fix unused variable warning
  watchdog: hpwdt: Check source of NMI
  watchdog: hpwdt: SMBIOS check
  nospec: Include <asm/barrier.h> dependency
  ALSA: hda: add dock and led support for HP ProBook 640 G2
  ALSA: hda: add dock and led support for HP EliteBook 820 G3
  ALSA: seq: More protection for concurrent write and ioctl races
  ALSA: seq: Don't allow resizing pool in use
  ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
  x86/MCE: Serialize sysfs changes
  bcache: don't attach backing with duplicate UUID
  kbuild: Handle builtin dtb file names containing hyphens
  loop: Fix lost writes caused by missing flag
  Input: matrix_keypad - fix race when disabling interrupts
  MIPS: OCTEON: irq: Check for null return on kzalloc allocation
  MIPS: ath25: Check for kzalloc allocation failure
  MIPS: BMIPS: Do not mask IPIs during suspend
  drm/amdgpu: fix KV harvesting
  drm/radeon: fix KV harvesting
  drm/amdgpu: Notify sbios device ready before send request
  drm/amdgpu: Fix deadlock on runtime suspend
  drm/radeon: Fix deadlock on runtime suspend
  drm/nouveau: Fix deadlock on runtime suspend
  drm: Allow determining if current task is output poll worker
  workqueue: Allow retrieval of current task's work struct
  scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
  RDMA/mlx5: Fix integer overflow while resizing CQ
  RDMA/ucma: Check that user doesn't overflow QP state
  RDMA/ucma: Limit possible option size
  ANDROID: ranchu: 32 bit framebuffer support
  ANDROID: Address checkpatch warnings in goldfishfb
  ANDROID: Address checkpatch.pl warnings in goldfish_pipe
  ANDROID: sdcardfs: fix lock issue on 32 bit/SMP architectures
  ANDROID: goldfish: Fix typo in goldfish_cmd_locked() call
  ANDROID: Address checkpatch.pl warnings in goldfish_pipe_v2
  FROMLIST: f2fs: don't put dentry page in pagecache into highmem
  Linux 4.4.121
  btrfs: preserve i_mode if __btrfs_set_acl() fails
  bpf, x64: implement retpoline for tail call
  dm io: fix duplicate bio completion due to missing ref count
  mpls, nospec: Sanitize array index in mpls_label_ok()
  net: mpls: Pull common label check into helper
  sctp: verify size of a new chunk in _sctp_make_chunk()
  s390/qeth: fix IPA command submission race
  s390/qeth: fix SETIP command handling
  sctp: fix dst refcnt leak in sctp_v6_get_dst()
  sctp: fix dst refcnt leak in sctp_v4_get_dst
  udplite: fix partial checksum initialization
  ppp: prevent unregistered channels from connecting to PPP units
  netlink: ensure to loop over all netns in genlmsg_multicast_allns()
  net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
  net: fix race on decreasing number of TX queues
  ipv6 sit: work around bogus gcc-8 -Wrestrict warning
  hdlc_ppp: carrier detect ok, don't turn off negotiation
  fib_semantics: Don't match route with mismatching tclassid
  bridge: check brport attr show in brport_show
  Revert "led: core: Fix brightness setting when setting delay_off=0"
  x86/spectre: Fix an error message
  leds: do not overflow sysfs buffer in led_trigger_show
  x86/apic/vector: Handle legacy irq data correctly
  ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
  btrfs: Don't clear SGID when inheriting ACLs
  x86/syscall: Sanitize syscall table de-references under speculation fix
  KVM: mmu: Fix overlap between public and private memslots
  ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
  nospec: Allow index argument to have const-qualified type
  media: m88ds3103: don't call a non-initalized function
  cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
  ALSA: hda: Add a power_save blacklist
  ALSA: usb-audio: Add a quirck for B&W PX headphones
  tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
  tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
  tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
  ANDROID: Delete the goldfish_nand driver.
  ANDROID: Add input support for Android Wear.
  ANDROID: proc: fix config & includes for /proc/uid
  FROMLIST: ARM: amba: Don't read past the end of sysfs "driver_override" buffer
  UPSTREAM: ANDROID: binder: remove WARN() for redundant txn error
  ANDROID: cpufreq: times: Add missing includes
  ANDROID: cpufreq: Add time_in_state to /proc/uid directories
  ANDROID: proc: Add /proc/uid directory
  ANDROID: cpufreq: times: track per-uid time in state
  ANDROID: cpufreq: track per-task time in state

Conflicts:
drivers/gpu/drm/msm/msm_gem.c
drivers/net/wireless/ath/regd.c
kernel/sched/core.c

Change-Id: I9bb7b5a062415da6925a5a56a34e6eb066a53320
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
6 years agodefconfig: msm: Enable 802.11AD WiFi platform driver
Zhaoyang Liu [Mon, 25 Dec 2017 02:41:19 +0000 (10:41 +0800)]
defconfig: msm: Enable 802.11AD WiFi platform driver

Enable MSM_11AD platform driver. It is to support
IEEE80211AD WiFi driver wil6210 on MSM AUTO platform.

Change-Id: I507292fafedc78539fa1cf5ae54a7c43ce923f39
Signed-off-by: Zhaoyang Liu <zhaoyang@codeaurora.org>
6 years agoMerge "drm: msm: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 19 Apr 2018 21:17:12 +0000 (14:17 -0700)]
Merge "drm: msm: fix potential NULL pointer dereference"

6 years agoASoC: msm: update listen service dai to low latency pcm
Derek Chen [Wed, 18 Apr 2018 18:23:10 +0000 (14:23 -0400)]
ASoC: msm: update listen service dai to low latency pcm

Update listen 8 audio service DAI LINK to use low
latency PCM session with multimedia22 frontend for
extended concurrency support.
Add routing for TDM RX CPU DAIs to MultiMedia22.

Signed-off-by: Derek Chen <chenche@codeaurora.org>
Change-Id: I3b67cf4b19773b714ca367941a86e6ac062c6597

6 years agomsm_performance: Add NULL pointer checks
Shashi Shekar Shankar [Tue, 27 Mar 2018 08:11:06 +0000 (13:41 +0530)]
msm_performance: Add  NULL pointer checks

Add NULL pointer checks.

Change-Id: Ia49ed015e8ea13c63296c4491c9d3af99ef0e121
Signed-off-by: Shashi Shekar Shankar <ssbang@codeaurora.org>
6 years agoMerge "ARM: dts: msm: update icnss device node for sdm660 and sdm630"
Linux Build Service Account [Thu, 19 Apr 2018 09:49:35 +0000 (02:49 -0700)]
Merge "ARM: dts: msm: update icnss device node for sdm660 and sdm630"

6 years agoMerge "defconfig: msm: Enable SMD packet driver for msm8996-auto"
Linux Build Service Account [Thu, 19 Apr 2018 09:49:33 +0000 (02:49 -0700)]
Merge "defconfig: msm: Enable SMD packet driver for msm8996-auto"

6 years agocnss: cnss_pci: adapt cnss to msm virtual platform
Ke Huang [Wed, 18 Apr 2018 06:23:28 +0000 (14:23 +0800)]
cnss: cnss_pci: adapt cnss to msm virtual platform

the virtual platform changes to use gerenic pci but not use
msm pci so adapt the cnss_pci to the msm virtual platform.

Change-Id: I8afb5afb9c447e984f2c6f44a722945c48be18dd
Signed-off-by: Ke Huang <keh@codeaurora.org>
6 years agommc: core: Donot fall back to lower speed modes for tuning errors
Pradeep P V K [Tue, 3 Apr 2018 14:37:28 +0000 (20:07 +0530)]
mmc: core: Donot fall back to lower speed modes for tuning errors

CRC errors are expected during tuning. MMC driver tries to fallback
to lower speed mode if it encounters consecutive CRC errors.
It should ignore CRC errors observed during tuning and shouldn't
try to fallback.

There is a check present for ignoring CRC errors for SD card
tuning commands. A new check has been added to ignore CRC errors
for eMMC tuning command as well.

Change-Id: Ic2bfa4f6a883fe30fdee85cf2e26779f3e906824
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
6 years agosoc: qcom: rpm_stats: Fix snprintf string format
Archana Sathyakumar [Tue, 10 Oct 2017 17:13:41 +0000 (11:13 -0600)]
soc: qcom: rpm_stats: Fix snprintf string format

Undefined string lengths could lead to buffer overflows. Format the
string correctly to ensure proper usage of snprintf.

Change-Id: Ia85754327d342aefce2a67eb7f5aeca857d8fbcf
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
6 years agoARM: dts: msm: clean up display device tree for MSM8996
Paresh Purabhiya [Tue, 31 Oct 2017 14:16:33 +0000 (19:46 +0530)]
ARM: dts: msm: clean up display device tree for MSM8996

Display device setting for MSM8996 scattered in different files.
Need to clean up and consolidate display entries into platform
specific files.

Signed-off-by: Paresh Purabhiya <ppurab@codeaurora.org>
Change-Id: I49d45e77b9353c7f84f0f6058e15ed4b89e305d9

6 years agoMerge "clk: qcom: Update DSI PLL settings as per latest recommendation"
Linux Build Service Account [Wed, 18 Apr 2018 22:10:16 +0000 (15:10 -0700)]
Merge "clk: qcom: Update DSI PLL settings as per latest recommendation"

6 years agoMerge "usb: phy-msm-susb-qmp: power down phy upon disconnect notification"
Linux Build Service Account [Wed, 18 Apr 2018 22:10:15 +0000 (15:10 -0700)]
Merge "usb: phy-msm-susb-qmp: power down phy upon disconnect notification"

6 years agoARM: dts: msm: Add ldo29 and ldo31 to neutrino device node
Balachandra C S [Fri, 6 Apr 2018 21:55:44 +0000 (14:55 -0700)]
ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node

Add ldo29 and ldo31 to neutrino device node to disable/enable
vote during suspend/resume.

Change-Id: Ia7fb99aad315e6e74a61bda563a29f01a0faaa22
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agoMerge "ARM: dts: msm: enable secure smmu domain on msm8996"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:58 +0000 (04:50 -0700)]
Merge "ARM: dts: msm: enable secure smmu domain on msm8996"

6 years agoMerge "mmc: card: Service RPMB requests with priority over other requests"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:57 +0000 (04:50 -0700)]
Merge "mmc: card: Service RPMB requests with priority over other requests"

6 years agoMerge "voice_svc: Avoid double free in voice_svc driver"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:56 +0000 (04:50 -0700)]
Merge "voice_svc: Avoid double free in voice_svc driver"

6 years agoMerge "init/main: Put kernel end place_marker"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:54 +0000 (04:50 -0700)]
Merge "init/main: Put kernel end place_marker"

6 years agoMerge "mmc: card: Call blk_requeue_request() with queue-lock held"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:53 +0000 (04:50 -0700)]
Merge "mmc: card: Call blk_requeue_request() with queue-lock held"

6 years agoMerge "v4l2-core: Remove unhelpful warnings"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:52 +0000 (04:50 -0700)]
Merge "v4l2-core: Remove unhelpful warnings"

6 years agoARM: dts: msm: Add WiFi SSR support on msm8996 vplatform
Ke Huang [Wed, 11 Apr 2018 09:06:50 +0000 (17:06 +0800)]
ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform

Add WiFi SSR support on msm8996 vplatform based on the
subsys notification virtualization.

Change-Id: I4fab07cda3596033f19c120d91b938a92cfee0d9
Signed-off-by: Ke Huang <keh@codeaurora.org>
6 years agomsm: camera: sensor: Receive sensor output data rate information
Vijay kumar Tumati [Thu, 8 Mar 2018 16:04:23 +0000 (21:34 +0530)]
msm: camera: sensor: Receive sensor output data rate information

Program data rate specific camera hardware registers using this
information.

Change-Id: I0a64fd6f5b0e9ae0a5edee836998d8fea0e7478d
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years agoesoc: Use standard reset time for mdm9x55 atomic reset
Gustavo Solaira [Mon, 16 Apr 2018 17:31:19 +0000 (10:31 -0700)]
esoc: Use standard reset time for mdm9x55 atomic reset

The atomic reset command uses mdelay so it should use
the standard reset time of 203ms otherwise the system
can get locked for many seconds.

Change-Id: I476efac0a2244101f0f5e4d046582c5746dbead6
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
6 years agoesoc: Only force power off if the graceful shutdown fails
Gustavo Solaira [Mon, 16 Apr 2018 17:30:23 +0000 (10:30 -0700)]
esoc: Only force power off if the graceful shutdown fails

Force power off should only be used in case the graceful
shutdown fails otherwise the esoc will be resetted even
when not needed.

Change-Id: I2180e36a10bb325e55a8782554c71165fa7a6bee
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
6 years agocnss2: Support unified QMI sequence
Yue Ma [Thu, 15 Feb 2018 23:56:12 +0000 (15:56 -0800)]
cnss2: Support unified QMI sequence

Unified QMI sequence creates a common sequence that can be used by
firmware and host driver among various devices. It will help reduce
maintenance effort and enhance scalability. Add the support for it
to CNSS2 driver.

Change-Id: Ia8b20f185bd9ecc4b7866aa2df62318b981e93f5
Signed-off-by: Yue Ma <yuem@codeaurora.org>
6 years agoARM: dts: msm: update icnss device node for sdm660 and sdm630
Sarada Prasanna Garnayak [Tue, 17 Apr 2018 07:33:16 +0000 (13:03 +0530)]
ARM: dts: msm: update icnss device node for sdm660 and sdm630

Invalid min and max voltage configuration for the vdd-0.8-cx-mx
voltage regulator is causing smmu error after WLAN hardware reset.
To fix the above issue update the icnss wlan module vdd-0.8-cx-mx
regulator min and max voltage configuration value.

CRs-Fixed: 2175145
Change-Id: I293d1d3802c5a0bd3ba7244422ed46d16ef940b0
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agodefconfig: msm: Enable SMD packet driver for msm8996-auto
Arun Kumar Neelakantam [Tue, 17 Apr 2018 09:14:50 +0000 (14:44 +0530)]
defconfig: msm: Enable SMD packet driver for msm8996-auto

SMD packet driver provide access to SMD resources from the
user space through device nodes.

CRs-Fixed: 2223967
Change-Id: I3d458493994f877bfc0bf252ad9e1d5f5e180138
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
6 years agoMerge "mm-camera2:isp2: Release buffer lock after use"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:43 +0000 (22:39 -0700)]
Merge "mm-camera2:isp2: Release buffer lock after use"

6 years agoMerge "ARM: dts: msm: Update client-id for sde_kms_hyp"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:42 +0000 (22:39 -0700)]
Merge "ARM: dts: msm: Update client-id for sde_kms_hyp"

6 years agoMerge "soc: qcom: scm: Support single HAB id for QCPE"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:40 +0000 (22:39 -0700)]
Merge "soc: qcom: scm: Support single HAB id for QCPE"

6 years agoinit/main: Put kernel end place_marker
Vivek Kumar [Fri, 13 Apr 2018 06:40:32 +0000 (12:10 +0530)]
init/main: Put kernel end place_marker

Put kernel end place_marker for all targets.
This saves the kernel end time for targets which
enable MSM_BOOT_TIME_MARKER.

Change-Id: Iad635e971bdd341328d40681b7acf8a6f43f288d
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>