OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "msm: kgsl: Change pwrlevels array index type to unsigned int"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:52 +0000 (21:04 -0700)]
Merge "msm: kgsl: Change pwrlevels array index type to unsigned int"

7 years agoMerge "msm: camera: isp: Avoid to detect out of sync using time"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:51 +0000 (21:04 -0700)]
Merge "msm: camera: isp: Avoid to detect out of sync using time"

7 years agoMerge "drm/msm: add YUV format support for HDMI"
Linux Build Service Account [Sat, 15 Jul 2017 20:40:03 +0000 (13:40 -0700)]
Merge "drm/msm: add YUV format support for HDMI"

7 years agoMerge "drm/msm: add RGB 30-bit deep color support for HDMI"
Linux Build Service Account [Sat, 15 Jul 2017 20:40:02 +0000 (13:40 -0700)]
Merge "drm/msm: add RGB 30-bit deep color support for HDMI"

7 years agoMerge "ASoc: msm: Support TDM dai clk attribute and freq configuration"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:57 +0000 (17:59 -0700)]
Merge "ASoc: msm: Support TDM dai clk attribute and freq configuration"

7 years agoMerge "ASoc: msm: Support PRI_TDM_TX routing to QUAT_TDM_RX port mixer."
Linux Build Service Account [Sat, 15 Jul 2017 00:59:56 +0000 (17:59 -0700)]
Merge "ASoc: msm: Support PRI_TDM_TX routing to QUAT_TDM_RX port mixer."

7 years agoMerge "msm: mdss: do not resynchronize DSI FIFO if during device boot up"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:55 +0000 (17:59 -0700)]
Merge "msm: mdss: do not resynchronize DSI FIFO if during device boot up"

7 years agoMerge "msm: sde: Set minimum traffic shaping in sde rotator"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:54 +0000 (17:59 -0700)]
Merge "msm: sde: Set minimum traffic shaping in sde rotator"

7 years agoMerge "msm: mdss: Avoid direct dereference user input in pp cache config"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:53 +0000 (17:59 -0700)]
Merge "msm: mdss: Avoid direct dereference user input in pp cache config"

7 years agoMerge "msm: sensor: Fix for variable being de-referenced without proper check"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:52 +0000 (17:59 -0700)]
Merge "msm: sensor: Fix for variable being de-referenced without proper check"

7 years agoMerge "serial: msm_serial_hs: Optimize the total tty port support"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:51 +0000 (17:59 -0700)]
Merge "serial: msm_serial_hs: Optimize the total tty port support"

7 years agoMerge "diag: Protect mask updates for memory device session"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:50 +0000 (17:59 -0700)]
Merge "diag: Protect mask updates for memory device session"

7 years agoMerge "msm:ipa: Fix to incorrect structure access"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:33 +0000 (04:01 -0700)]
Merge "msm:ipa: Fix to incorrect structure access"

7 years agoMerge "ASoC: msm8998: Add MM front end DAI links for interactive streams"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:30 +0000 (04:01 -0700)]
Merge "ASoC: msm8998: Add MM front end DAI links for interactive streams"

7 years agoMerge "ASoC: msm: Support mixer controls for Pan/scale & downmix"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:30 +0000 (04:01 -0700)]
Merge "ASoC: msm: Support mixer controls for Pan/scale & downmix"

7 years agoMerge "ASoC: q6dspv2: Support for pan-scale and downmix set param"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:29 +0000 (04:01 -0700)]
Merge "ASoC: q6dspv2: Support for pan-scale and downmix set param"

7 years agoMerge "fbdev: msm: Add check for fence count"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:28 +0000 (04:01 -0700)]
Merge "fbdev: msm: Add check for fence count"

7 years agoMerge "msm: mdss: apply bus throughput factor for high downscale cases"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:27 +0000 (04:01 -0700)]
Merge "msm: mdss: apply bus throughput factor for high downscale cases"

7 years agoMerge "ARM: dts: msm: rename mdss_mdp to sde_kms for msm8996"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:26 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: rename mdss_mdp to sde_kms for msm8996"

7 years agoMerge "msm_11ad: Compile as module instead of built-in"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:23 +0000 (04:01 -0700)]
Merge "msm_11ad: Compile as module instead of built-in"

7 years agoMerge "msm-core: Align the trace log temp in same scale factor"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:22 +0000 (04:01 -0700)]
Merge "msm-core: Align the trace log temp in same scale factor"

7 years agoMerge "usb: pd: Add delay before sending Source Capabilities"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:21 +0000 (04:01 -0700)]
Merge "usb: pd: Add delay before sending Source Capabilities"

7 years agoMerge "ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:18 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe"

7 years agoMerge "net: ipv6: reset daddr and dport in socket if connect() fails"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:14 +0000 (04:01 -0700)]
Merge "net: ipv6: reset daddr and dport in socket if connect() fails"

7 years agoMerge "ARM: dts: msm: Use wlan carveout region for sdm660/sdm630"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:12 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: Use wlan carveout region for sdm660/sdm630"

7 years agoMerge "smb-lib: fix usbin_icl_change interrupt storm"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:26 +0000 (04:00 -0700)]
Merge "smb-lib: fix usbin_icl_change interrupt storm"

7 years agoMerge "msm: ADSPRPC: define separate signals for port and link states"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:25 +0000 (04:00 -0700)]
Merge "msm: ADSPRPC: define separate signals for port and link states"

7 years agoMerge "diag: Update stream for active PD mdlog session"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:24 +0000 (04:00 -0700)]
Merge "diag: Update stream for active PD mdlog session"

7 years agoMerge "ARM: dts: msm: Add IPA dtsi entries for MSM8996 Auto"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:23 +0000 (04:00 -0700)]
Merge "ARM: dts: msm: Add IPA dtsi entries for MSM8996 Auto"

7 years agoMerge "coresight: tmc: Fix use after free issue with tmc read"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:22 +0000 (04:00 -0700)]
Merge "coresight: tmc: Fix use after free issue with tmc read"

7 years agodrm/msm: add YUV format support for HDMI
Yuan Zhao [Thu, 13 Jul 2017 09:40:54 +0000 (17:40 +0800)]
drm/msm: add YUV format support for HDMI

This change adds YUV format support for HDMI.
Also, chooses the best mode for turning on the
sink based on sink source capabilities. This
can be either RGB or YUV. For YUV formats adjust
the pixel clock and also configure the relevant
hardware blocks in SDE.

Change-Id: I48a36a991c194badb3ddca4bbf5bcbc21d838b8f
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
7 years agodrm/msm: add RGB 30-bit deep color support for HDMI
Yuan Zhao [Thu, 13 Jul 2017 09:12:28 +0000 (17:12 +0800)]
drm/msm: add RGB 30-bit deep color support for HDMI

Check if the TV supports deep color and adjust the
pixel clock accordingly before setting the mode. Also
make sure that this pixel clock is within the limits
of the sink.

Change-Id: I3c44c06ea54b6c49e19c8c41d693000f7c3feeb7
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
7 years agomsm: kgsl: Change pwrlevels array index type to unsigned int
Venkateswara Rao Tadikonda [Fri, 7 Jul 2017 16:17:10 +0000 (21:47 +0530)]
msm: kgsl: Change pwrlevels array index type to unsigned int

Change the array index 'i' of pwrlevels[] to unsigned int, which can't be
decremented beyond zero.

Change-Id: I9b646fccf03437f6facf0d5938f097916d13d2f2
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
7 years agomsm: camera: isp: Avoid to detect out of sync using time
Ramesh V [Thu, 6 Jul 2017 05:26:33 +0000 (10:56 +0530)]
msm: camera: isp: Avoid to detect out of sync using time

Detect frame out of sync based on interfaces, instead of
time to avoid synchronization issues.

Change-Id: I76d9d5a3c83ed8017607fd452e5503260cad659a
Signed-off-by: Ramesh V <ramev@codeaurora.org>
7 years agoASoC: msm8998: Add MM front end DAI links for interactive streams
Varun Balaraj [Mon, 3 Jul 2017 05:04:56 +0000 (10:34 +0530)]
ASoC: msm8998: Add MM front end DAI links for interactive streams

Add MM front end DAI links to support concurrent interactive
streams

Change-Id: I9cd95d855f2ddc3345453807e4be235c430b9ef3
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
7 years agoASoC: msm: Support mixer controls for Pan/scale & downmix
Varun Balaraj [Thu, 13 Jul 2017 08:12:12 +0000 (13:42 +0530)]
ASoC: msm: Support mixer controls for Pan/scale & downmix

Add changes to register and receive parameters for pan/scale
and downmix operations.

Change-Id: If0e747304595f9ed3bd19b25e3f4eab2db382a67
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
7 years agoASoC: q6dspv2: Support for pan-scale and downmix set param
Varun Balaraj [Thu, 13 Jul 2017 08:00:15 +0000 (13:30 +0530)]
ASoC: q6dspv2: Support for pan-scale and downmix set param

Add support for set params on ASM/ADM for MFC and
Volume modules. Make PSPD mitrix set param api generic.

Change-Id: I75a5b9e3fd2316b75be41439848f89190944bc36
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
7 years agoserial: msm_serial_hs: Optimize the total tty port support
Mukesh Kumar Savaliya [Thu, 13 Jul 2017 07:21:33 +0000 (12:51 +0530)]
serial: msm_serial_hs: Optimize the total tty port support

No need of having high number of tty port for HSUART which just wastes
resources. Make this optimal based on the use cases.

Change-Id: If82fc1a3457fae7503d7557817ca776f19027da7
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
7 years agomsm-core: Align the trace log temp in same scale factor
Maria Yu [Wed, 12 Jul 2017 07:12:42 +0000 (15:12 +0800)]
msm-core: Align the trace log temp in same scale factor

Temp in trace_temp_notification is not divided with
scaling factor while cpu_node->temp is. Use temp after
scale for better log understanding.

Change-Id: Iadf4a1c39211651fee67cc18f68a65785f28fa58
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
7 years agoARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe
Philippe Gravel [Thu, 8 Jun 2017 18:35:07 +0000 (11:35 -0700)]
ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe

Enables pmic gpio13 on msm8996 so that the neutrino driver can toggle it
during probe to bring the hardware out of reset. This is required for
suspend/resume when neutrino resx is disconnected from pcie_reset.

Change-Id: I21a8e556903756ed39abdde5a17e8b6d353c0504
Signed-off-by: Philippe Gravel <pgravel@codeaurora.org>
7 years agonet: ipv6: reset daddr and dport in socket if connect() fails
Wei Wang [Fri, 7 Jul 2017 02:04:39 +0000 (20:04 -0600)]
net: ipv6: reset daddr and dport in socket if connect() fails

In __ip6_datagram_connect(), reset socket->socket_v6_daddr and inet->dport if
error occurs.
In udp_v6_early_demux(), check for socket_state to make sure it is in
TCP_ESTABLISHED state.
Together, it makes sure unconnected UDP socket won't be considered as a
valid candidate for early demux.

v3: add TCP_ESTABLISHED state check in udp_v6_early_demux()
v2: fix compilation error

CRs-Fixed: 2057820
Change-Id: Ifa9c2ddfaa5b51d4082b7b1dd8a5d03b3c290705
Fixes: 5425077d73e0 ("net: ipv6: Add early demux handler for UDP unicast")
Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 85cb73ff9b74785a7fc752875d7f0fe17ca3ea7c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[subashab@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
7 years agonet: ipv6: Fix UDP early demux lookup with udp_l3mdev_accept=0"
Subash Abhinov Kasiviswanathan [Fri, 7 Jul 2017 01:50:19 +0000 (19:50 -0600)]
net: ipv6: Fix UDP early demux lookup with udp_l3mdev_accept=0"

David Ahern reported that "net: ipv6: Add early demux
handler for UDP unicast" breaks udp_l3mdev_accept=0 since early
demux for IPv6 UDP was doing a generic socket lookup which does not
require an exact match. Fix this by making UDPv6 early demux match
connected sockets only.

v1->v2: Take reference to socket after match as suggested by Eric
v2->v3: Add comment before break

CRs-Fixed: 2057820
Change-Id: Ief9fd4a51561b7a49efa3780ebe8dc3632bdfa1c
Fixes: 5425077d73e0c ("net: ipv6: Add early demux handler for UDP unicast")
Reported-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Eric Dumazet <edumazet@google.com>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Tested-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 0bd84065b19bca12f07f288c8ea470e2c1b2de7a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[subashab@codeaurora.org: resolve trivial merge conflicts]

7 years agoMerge "ARM: dts: msm: Remove WLED short circuit properties for PM660"
Linux Build Service Account [Wed, 12 Jul 2017 19:47:39 +0000 (12:47 -0700)]
Merge "ARM: dts: msm: Remove WLED short circuit properties for PM660"

7 years agoMerge "ARM: dts: msm: Add phy related properties for ethernet on msm8996"
Linux Build Service Account [Wed, 12 Jul 2017 19:47:38 +0000 (12:47 -0700)]
Merge "ARM: dts: msm: Add phy related properties for ethernet on msm8996"

7 years agoMerge "defconfig: Disable CGROUP_DEBUG config for msm8998 in perf"
Linux Build Service Account [Wed, 12 Jul 2017 19:47:38 +0000 (12:47 -0700)]
Merge "defconfig: Disable CGROUP_DEBUG config for msm8998 in perf"

7 years agoMerge "msm: kgsl: Use vma_area_struct with proper locks"
Linux Build Service Account [Wed, 12 Jul 2017 19:47:37 +0000 (12:47 -0700)]
Merge "msm: kgsl: Use vma_area_struct with proper locks"

7 years agomsm: sde: Set minimum traffic shaping in sde rotator
Benjamin Chan [Wed, 12 Jul 2017 14:21:39 +0000 (10:21 -0400)]
msm: sde: Set minimum traffic shaping in sde rotator

SDE rotator cannot accept 0 value for traffic shaping. This fix is to
limit the minimum traffic shaping value to be 1.

CRs-Fixed: 2074997
Change-Id: I5c96d600d77a5bfe09fe2667b914cb498371391e
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
7 years agoARM: dts: msm: Use wlan carveout region for sdm660/sdm630
Hardik Kantilal Patel [Thu, 29 Jun 2017 10:08:47 +0000 (15:38 +0530)]
ARM: dts: msm: Use wlan carveout region for sdm660/sdm630

Add DT entry to use wlan carveout region for WLAN MSA0.

CRs-Fixed: 2075205
Change-Id: I86d90247155884488e639bd8d487157524b977e9
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoMerge "cnss2: Set PCIe to D3hot state before suspending PCIe link"
Linux Build Service Account [Wed, 12 Jul 2017 10:29:34 +0000 (03:29 -0700)]
Merge "cnss2: Set PCIe to D3hot state before suspending PCIe link"

7 years agoMerge "Merge android-4.4@64a73ff (v4.4.76) into msm-4.4"
Linux Build Service Account [Wed, 12 Jul 2017 10:29:33 +0000 (03:29 -0700)]
Merge "Merge android-4.4@64a73ff (v4.4.76) into msm-4.4"

7 years agoMerge "ASoC: wsa881x: Assign device number in reset"
Linux Build Service Account [Wed, 12 Jul 2017 10:29:33 +0000 (03:29 -0700)]
Merge "ASoC: wsa881x: Assign device number in reset"

7 years agodiag: Update stream for active PD mdlog session
Manoj Prabhu B [Tue, 20 Jun 2017 11:28:01 +0000 (16:58 +0530)]
diag: Update stream for active PD mdlog session

The patch sets the stream for user PD based on
its active mdlog session. The patch updates proper
peripheral information required for hdlc encoding.

CRs-Fixed: 2063972
Change-Id: Iedfad5161b1145245883282b29811a82343e79ba
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agomsm_11ad: Compile as module instead of built-in
Hamad Kadmany [Wed, 12 Jul 2017 08:17:00 +0000 (11:17 +0300)]
msm_11ad: Compile as module instead of built-in

Remove compilation of the module as built-in
by default.

Change-Id: Iadb70814c02df68b75ae4efae66637beaf520b9e
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
7 years agoARM: dts: msm: Add phy related properties for ethernet on msm8996
Zou Shunxiang [Wed, 7 Jun 2017 05:09:31 +0000 (13:09 +0800)]
ARM: dts: msm: Add phy related properties for ethernet on msm8996

Add mdio_bus_id and phy_addr to access phy device
instead of scanning mdio bus. It will reduce time
cost during ethernet driver loading.

Change-Id: Ifb1574d4a68944a087dcafb12bc79098bc3156e4
Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
7 years agodiag: Protect mask updates for memory device session
Mohit Aggarwal [Wed, 5 Jul 2017 10:24:28 +0000 (15:54 +0530)]
diag: Protect mask updates for memory device session

Currently, there is a possibility of using already freed
memory device session members during mask updates. The
patch fixes the issue by adding proper protection.

CRs-Fixed: 2074264
Change-Id: Iff2009a498506ffe574655badfe0a0f9f0dece9a
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
7 years agodefconfig: Disable CGROUP_DEBUG config for msm8998 in perf
Mohammed Khajapasha [Wed, 12 Jul 2017 04:29:26 +0000 (09:59 +0530)]
defconfig: Disable CGROUP_DEBUG config for msm8998 in perf

Disable CGROUP_DEBUG config for msm8998 in perf defconfig.

Change-Id: Ib321201ea0761548fb26db42d59cad07a08eca85
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
7 years agoARM: dts: msm: Remove WLED short circuit properties for PM660
Kiran Gunda [Tue, 11 Jul 2017 12:04:19 +0000 (17:34 +0530)]
ARM: dts: msm: Remove WLED short circuit properties for PM660

WLED module does not have the SC protection feature on PM660l.
Hence remove the SC properties from the WLED device tree node.

CRs-Fixed: 2071302
Change-Id: I45ea0b7581780988b51ab3665c08d8a67a3ce4d3
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoMerge "drm/msm/sde: Expose the HDR support capability of the chipset"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:53 +0000 (17:57 -0700)]
Merge "drm/msm/sde: Expose the HDR support capability of the chipset"

7 years agoMerge "net: Kconfig: Add config entry for WLAN QCA6290 chipset"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:52 +0000 (17:57 -0700)]
Merge "net: Kconfig: Add config entry for WLAN QCA6290 chipset"

7 years agoMerge "msm: isp: fix the issue during overflow recovery"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:52 +0000 (17:57 -0700)]
Merge "msm: isp: fix the issue during overflow recovery"

7 years agoMerge "USB: phy-msm-qusb-v2: Enable autoresume only when device is connected"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:51 +0000 (17:57 -0700)]
Merge "USB: phy-msm-qusb-v2: Enable autoresume only when device is connected"

7 years agoMerge "ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:50 +0000 (17:57 -0700)]
Merge "ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails"

7 years agoMerge "ASoC: msm_sdw: Move the delay logic inside bulk write loop"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:49 +0000 (17:57 -0700)]
Merge "ASoC: msm_sdw: Move the delay logic inside bulk write loop"

7 years agoMerge "soc: qcom: SCM front-end over QCPE"
Linux Build Service Account [Wed, 12 Jul 2017 00:57:48 +0000 (17:57 -0700)]
Merge "soc: qcom: SCM front-end over QCPE"

7 years agosmb-lib: fix usbin_icl_change interrupt storm
Abhijeet Dharmapurikar [Sat, 8 Jul 2017 01:30:54 +0000 (18:30 -0700)]
smb-lib: fix usbin_icl_change interrupt storm

We observed an interrupt storm on that interrupt
even after the usb path is suspended.

So keep this interrupt disabled as long as the usb
path is suspended.

Note that since the current limit votes can come in
prior to interrupt registration, rerun the election
on the votable after interrupts are registered.

Change-Id: Ib43b071b7b0decf8e50d27d585bea04b727f9475
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agocnss2: Set PCIe to D3hot state before suspending PCIe link
Yue Ma [Wed, 5 Apr 2017 19:30:33 +0000 (12:30 -0700)]
cnss2: Set PCIe to D3hot state before suspending PCIe link

As per PCIe spec, PCIe link needs to be set to D3hot state before
entering D3cold state.

Change-Id: I68defc4cf29fe88262e92fe8fb934948ad13aef4
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
7 years agonet: Kconfig: Add config entry for WLAN QCA6290 chipset
Yue Ma [Thu, 20 Oct 2016 19:04:04 +0000 (12:04 -0700)]
net: Kconfig: Add config entry for WLAN QCA6290 chipset

WLAN QCA6290 chipset specific changes are featurized under
this config entry.

Change-Id: I9283ea5dcac702018b2483cdcd4aea254e96c51a
CRs-fixed: 2071634
Signed-off-by: Yue Ma <yuem@codeaurora.org>
7 years agoMerge "ARM: dts: msm: add wlan carveout region for sdm660/sdm630"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:36 +0000 (09:17 -0700)]
Merge "ARM: dts: msm: add wlan carveout region for sdm660/sdm630"

7 years agoMerge "staging: android: sync: fix list corruption in fence struct"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:35 +0000 (09:17 -0700)]
Merge "staging: android: sync: fix list corruption in fence struct"

7 years agoMerge "soc: qcom: Notify to app pd clients in ind_ack thread"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:34 +0000 (09:17 -0700)]
Merge "soc: qcom: Notify to app pd clients in ind_ack thread"

7 years agoMerge "fs/dcache.c: fix spin lockup issue on nlru->lock"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:33 +0000 (09:17 -0700)]
Merge "fs/dcache.c: fix spin lockup issue on nlru->lock"

7 years agoMerge "mm/list_lru.c: fix list_lru_count_node() to be race free"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:33 +0000 (09:17 -0700)]
Merge "mm/list_lru.c: fix list_lru_count_node() to be race free"

7 years agoMerge "msm: ipa: fix wrong usage and cleanup dead code"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:32 +0000 (09:17 -0700)]
Merge "msm: ipa: fix wrong usage and cleanup dead code"

7 years agoMerge "msm: ipa3: Verify IPA client id before using it"
Linux Build Service Account [Tue, 11 Jul 2017 16:17:31 +0000 (09:17 -0700)]
Merge "msm: ipa3: Verify IPA client id before using it"

7 years agoASoC: msm_sdw: Move the delay logic inside bulk write loop
Laxminath Kasam [Fri, 26 May 2017 14:39:52 +0000 (20:09 +0530)]
ASoC: msm_sdw: Move the delay logic inside bulk write loop

On consecutive writes in bulk write API, ensure delay
is provided for atleast 100us between each soundwire
master write for WR_DONE status update and reflect
current register value. Also ensure delay in soundwire
master read is present after register address update
and before register value read.

CRs-Fixed: 2035787
Change-Id: I8399c5ca32328abdd4e90b46d6f8d6a6c0225905
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agomsm: sensor: Fix for variable being de-referenced without proper check
Samyukta Mogily [Tue, 11 Jul 2017 07:09:04 +0000 (12:39 +0530)]
msm: sensor: Fix for variable being de-referenced without proper check

Pointer from userspace is de-referenced before the command is checked.
This might cause a crash if the command being sent is not a valid command.
Hence changing the de-reference such that the pointer is accessed after
checking if a valid command is sent from the userspace.

Change-Id: I8db9382dd184f1564176ab45355954dcde8a3ab3
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
7 years agoMerge "Merge android-4.4@8c91412 (v4.4.75) into msm-4.4"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:22 +0000 (00:40 -0700)]
Merge "Merge android-4.4@8c91412 (v4.4.75) into msm-4.4"

7 years agoMerge "mmc: core: Select HS mode in device first and then in the host"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:21 +0000 (00:40 -0700)]
Merge "mmc: core: Select HS mode in device first and then in the host"

7 years agoMerge "mm/page_alloc: introduce post allocation processing on page allocator"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:15 +0000 (00:40 -0700)]
Merge "mm/page_alloc: introduce post allocation processing on page allocator"

7 years agoMerge "mm/page_owner: use stackdepot to store stacktrace"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:13 +0000 (00:40 -0700)]
Merge "mm/page_owner: use stackdepot to store stacktrace"

7 years agoMerge "mm/page_owner: introduce split_page_owner and replace manual handling"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:13 +0000 (00:40 -0700)]
Merge "mm/page_owner: introduce split_page_owner and replace manual handling"

7 years agoMerge "lib/stackdepot: avoid to return 0 handle"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:12 +0000 (00:40 -0700)]
Merge "lib/stackdepot: avoid to return 0 handle"

7 years agoMerge "lib/stackdepot.c: allow the stack trace hash to be zero"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:12 +0000 (00:40 -0700)]
Merge "lib/stackdepot.c: allow the stack trace hash to be zero"

7 years agoMerge "mm, kasan: stackdepot implementation. Enable stackdepot for SLAB"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:11 +0000 (00:40 -0700)]
Merge "mm, kasan: stackdepot implementation. Enable stackdepot for SLAB"

7 years agoMerge "mm/page_owner: copy last_migrate_reason in copy_page_owner()"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:11 +0000 (00:40 -0700)]
Merge "mm/page_owner: copy last_migrate_reason in copy_page_owner()"

7 years agoMerge "mm/page_owner: add zone range overlapping check"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:10 +0000 (00:40 -0700)]
Merge "mm/page_owner: add zone range overlapping check"

7 years agoMerge "mm, page_owner: dump page owner info from dump_page()"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:10 +0000 (00:40 -0700)]
Merge "mm, page_owner: dump page owner info from dump_page()"

7 years agoMerge "mm, page_owner: track and print last migrate reason"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:09 +0000 (00:40 -0700)]
Merge "mm, page_owner: track and print last migrate reason"

7 years agoMerge "mm, page_owner: copy page owner info during migration"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:09 +0000 (00:40 -0700)]
Merge "mm, page_owner: copy page owner info during migration"

7 years agoMerge "mm, page_owner: convert page_owner_inited to static key"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:08 +0000 (00:40 -0700)]
Merge "mm, page_owner: convert page_owner_inited to static key"

7 years agoMerge "mm, page_owner: print migratetype of page and pageblock, symbolic flags"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:07 +0000 (00:40 -0700)]
Merge "mm, page_owner: print migratetype of page and pageblock, symbolic flags"

7 years agoMerge "ARM: dts: msm: configure GPIO19 on msm8998 for 11ad refclk3"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:07 +0000 (00:40 -0700)]
Merge "ARM: dts: msm: configure GPIO19 on msm8998 for 11ad refclk3"

7 years agoMerge "power: reset: msm: Restore disabling SDI during reset"
Linux Build Service Account [Tue, 11 Jul 2017 07:40:06 +0000 (00:40 -0700)]
Merge "power: reset: msm: Restore disabling SDI during reset"

7 years agoMerge "net: rps: reset backlog state when IPI fails."
Linux Build Service Account [Tue, 11 Jul 2017 07:40:05 +0000 (00:40 -0700)]
Merge "net: rps: reset backlog state when IPI fails."

7 years agosoc: qcom: Notify to app pd clients in ind_ack thread
Avaneesh Kumar Dwivedi [Wed, 26 Apr 2017 11:38:54 +0000 (17:08 +0530)]
soc: qcom: Notify to app pd clients in ind_ack thread

We have observed race condition between inquiring the remote pd state and
indication call back execution. They run asynchronously so we have no
control on their concurrent execution. So to achieve mutual exclusion,
moving the portion of code which result in race condition to indication
acknowledgment routine. Indication acknowledgment is send in separate
thread context which will avoid race condition.

Change-Id: Ib94f7ef4efd5de63fc8bededcf5cb6ae4ca2c3d8
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
7 years agomsm: isp: fix the issue during overflow recovery
Srikanth Uyyala [Wed, 5 Jul 2017 14:59:55 +0000 (20:29 +0530)]
msm: isp: fix the issue during overflow recovery

When HAL3 is used undelivered requests are stored in request_queue
these requests need to be cleared during overflow recovery.

Change-Id: I733ba127abba8bfb70b3c727c7196adba2cb1973
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
7 years agoARM: dts: msm: Enable ACD functionality for sdm630 CPU rails
Tirupathi Reddy [Thu, 4 May 2017 17:22:34 +0000 (22:52 +0530)]
ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails

The adaptive clock distribution (ACD) mitigates the impact of
high-frequency supply voltage (VDD) droops on microprocessor
performance. Program ACD functional configuration for both
Silver and Gold clusters of sdm630.

Also set VCTL_RAMP_EN & VCTL_RAMP_EN to 1 in SAW4_AVS_CTL.

CRs-Fixed: 2074210
Change-Id: I1f8021b8b436602b22a87d2036aebbfcf6840f58
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agofs/dcache.c: fix spin lockup issue on nlru->lock
Sahitya Tummala [Fri, 30 Jun 2017 00:06:26 +0000 (00:06 +0000)]
fs/dcache.c: fix spin lockup issue on nlru->lock

__list_lru_walk_one() acquires nlru spin lock (nlru->lock) for longer
duration if there are more number of items in the lru list.  As per the
current code, it can hold the spin lock for upto maximum UINT_MAX entries
at a time.  So if there are more number of items in the lru list, then
"BUG: spinlock lockup suspected" is observed in the below path -

[<ffffff8eca0fb0bc>] spin_bug+0x90
[<ffffff8eca0fb220>] do_raw_spin_lock+0xfc
[<ffffff8ecafb7798>] _raw_spin_lock+0x28
[<ffffff8eca1ae884>] list_lru_add+0x28
[<ffffff8eca1f5dac>] dput+0x1c8
[<ffffff8eca1eb46c>] path_put+0x20
[<ffffff8eca1eb73c>] terminate_walk+0x3c
[<ffffff8eca1eee58>] path_lookupat+0x100
[<ffffff8eca1f00fc>] filename_lookup+0x6c
[<ffffff8eca1f0264>] user_path_at_empty+0x54
[<ffffff8eca1e066c>] SyS_faccessat+0xd0
[<ffffff8eca084e30>] el0_svc_naked+0x24

This nlru->lock is acquired by another CPU in this path -

[<ffffff8eca1f5fd0>] d_lru_shrink_move+0x34
[<ffffff8eca1f6180>] dentry_lru_isolate_shrink+0x48
[<ffffff8eca1aeafc>] __list_lru_walk_one.isra.10+0x94
[<ffffff8eca1aec34>] list_lru_walk_node+0x40
[<ffffff8eca1f6620>] shrink_dcache_sb+0x60
[<ffffff8eca1e56a8>] do_remount_sb+0xbc
[<ffffff8eca1e583c>] do_emergency_remount+0xb0
[<ffffff8eca0ba510>] process_one_work+0x228
[<ffffff8eca0bb158>] worker_thread+0x2e0
[<ffffff8eca0c040c>] kthread+0xf4
[<ffffff8eca084dd0>] ret_from_fork+0x10

Fix this lockup by reducing the number of entries to be shrinked from the
lru list to 1024 at once.  Also, add cond_resched() before processing the
lru list again.

Change-Id: I6df8d74cbc4c5ceac294f2d0784702cf096e84be
Link: http://marc.info/?t=149722864900001&r=1&w=2
Link: http://lkml.kernel.org/r/1498707575-2472-1-git-send-email-stummala@codeaurora.org
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Suggested-by: Jan Kara <jack@suse.cz>
Suggested-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Alexander Polakov <apolyakov@beget.ru>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@vger.kernel.org>
Patch-mainline: linux-mm @ 29/06/17, 09:09:35
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
7 years agomm/list_lru.c: fix list_lru_count_node() to be race free
Sahitya Tummala [Fri, 30 Jun 2017 00:06:25 +0000 (00:06 +0000)]
mm/list_lru.c: fix list_lru_count_node() to be race free

list_lru_count_node() iterates over all memcgs to get the total number of
entries on the node but it can race with memcg_drain_all_list_lrus(),
which migrates the entries from a dead cgroup to another.  This can return
incorrect number of entries from list_lru_count_node().

Fix this by keeping track of entries per node and simply return it in
list_lru_count_node().

Change-Id: I19e3b527804e95be75f48ee363c8207c0e7ee2ff
Link: http://lkml.kernel.org/r/1498707555-30525-1-git-send-email-stummala@codeaurora.org
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Alexander Polakov <apolyakov@beget.ru>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Patch-mainline: linux-mm @ 29/06/17, 09:09:15
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
7 years agoMerge "cnss2: Bypass SMMU stage-1 by default"
Linux Build Service Account [Mon, 10 Jul 2017 21:09:14 +0000 (14:09 -0700)]
Merge "cnss2: Bypass SMMU stage-1 by default"