OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "usb: gadget: f_mtp: Handle OS descriptors properly"
Linux Build Service Account [Thu, 11 May 2017 06:04:00 +0000 (23:04 -0700)]
Merge "usb: gadget: f_mtp: Handle OS descriptors properly"

7 years agoMerge "drm/msm/sde: move topology name reset to release resources"
Linux Build Service Account [Thu, 11 May 2017 06:03:59 +0000 (23:03 -0700)]
Merge "drm/msm/sde: move topology name reset to release resources"

7 years agoMerge "ASoC: msm: qdsp6v2: Add TrueHD to compressed open"
Linux Build Service Account [Thu, 11 May 2017 06:03:58 +0000 (23:03 -0700)]
Merge "ASoC: msm: qdsp6v2: Add TrueHD to compressed open"

7 years agoMerge "drm/msm: notify hpd status when audio codec is ready"
Linux Build Service Account [Thu, 11 May 2017 06:03:57 +0000 (23:03 -0700)]
Merge "drm/msm: notify hpd status when audio codec is ready"

7 years agoMerge "defconfig: msm: Enable CNSS_ASYNC for auto platform"
Linux Build Service Account [Thu, 11 May 2017 06:03:55 +0000 (23:03 -0700)]
Merge "defconfig: msm: Enable CNSS_ASYNC for auto platform"

7 years agoMerge "msm: mdss: fix null pointer dereferencing"
Linux Build Service Account [Thu, 11 May 2017 06:03:54 +0000 (23:03 -0700)]
Merge "msm: mdss: fix null pointer dereferencing"

7 years agoMerge "msm: mdss: set HDMI max TMDS clock rate"
Linux Build Service Account [Thu, 11 May 2017 06:03:53 +0000 (23:03 -0700)]
Merge "msm: mdss: set HDMI max TMDS clock rate"

7 years agoMerge "ARM64: config: msm: Adding perf defconfig for mediabox"
Linux Build Service Account [Thu, 11 May 2017 06:03:52 +0000 (23:03 -0700)]
Merge "ARM64: config: msm: Adding perf defconfig for mediabox"

7 years agoMerge "net: wireless: Fix regdb for 60G band"
Linux Build Service Account [Thu, 11 May 2017 06:03:51 +0000 (23:03 -0700)]
Merge "net: wireless: Fix regdb for 60G band"

7 years agoMerge "defconfig: msm: Enable OnSemi regulator driver for msm8996-auto"
Linux Build Service Account [Thu, 11 May 2017 06:03:50 +0000 (23:03 -0700)]
Merge "defconfig: msm: Enable OnSemi regulator driver for msm8996-auto"

7 years agoMerge "wil6210: fix array out of bounds access in pmc"
Linux Build Service Account [Thu, 11 May 2017 06:03:47 +0000 (23:03 -0700)]
Merge "wil6210: fix array out of bounds access in pmc"

7 years agoMerge "wil6210: fix check for sparrow D0 FW file"
Linux Build Service Account [Thu, 11 May 2017 06:03:47 +0000 (23:03 -0700)]
Merge "wil6210: fix check for sparrow D0 FW file"

7 years agoMerge "wil6210: support 8KB RX buffers"
Linux Build Service Account [Thu, 11 May 2017 06:03:46 +0000 (23:03 -0700)]
Merge "wil6210: support 8KB RX buffers"

7 years agoMerge "scsi: ufs: Add states to debug abnormal clocks turn off"
Linux Build Service Account [Thu, 11 May 2017 06:03:45 +0000 (23:03 -0700)]
Merge "scsi: ufs: Add states to debug abnormal clocks turn off"

7 years agoMerge "input: misc: fix error path for hbtp touch screen driver"
Linux Build Service Account [Thu, 11 May 2017 06:03:44 +0000 (23:03 -0700)]
Merge "input: misc: fix error path for hbtp touch screen driver"

7 years agoMerge "power: qpnp-fg-gen3: Disable ESR pulldown for debug battery id"
Linux Build Service Account [Thu, 11 May 2017 06:03:43 +0000 (23:03 -0700)]
Merge "power: qpnp-fg-gen3: Disable ESR pulldown for debug battery id"

7 years agoMerge "msm: ipa: apply reset wa to GPI channels"
Linux Build Service Account [Thu, 11 May 2017 06:03:42 +0000 (23:03 -0700)]
Merge "msm: ipa: apply reset wa to GPI channels"

7 years agoMerge "memshare: Add guard bytes to avoid access issues"
Linux Build Service Account [Thu, 11 May 2017 06:03:41 +0000 (23:03 -0700)]
Merge "memshare: Add guard bytes to avoid access issues"

7 years agoMerge "diag: dci: Add protection while querying event status"
Linux Build Service Account [Thu, 11 May 2017 06:03:40 +0000 (23:03 -0700)]
Merge "diag: dci: Add protection while querying event status"

7 years agoMerge "ASoC: msm: qdsp6v2: clear address on error"
Linux Build Service Account [Thu, 11 May 2017 06:03:39 +0000 (23:03 -0700)]
Merge "ASoC: msm: qdsp6v2: clear address on error"

7 years agoMerge "ASoC: msm: enhance ADSP Stream Callback"
Linux Build Service Account [Thu, 11 May 2017 06:03:37 +0000 (23:03 -0700)]
Merge "ASoC: msm: enhance ADSP Stream Callback"

7 years agoMerge "ASoC: msm: qdspv2: Add mixer controls for drift query"
Linux Build Service Account [Thu, 11 May 2017 06:03:35 +0000 (23:03 -0700)]
Merge "ASoC: msm: qdspv2: Add mixer controls for drift query"

7 years agoMerge "ARM: dts: msm: Add GPU speed bin 2 support for MSM8996Pro"
Linux Build Service Account [Thu, 11 May 2017 06:03:34 +0000 (23:03 -0700)]
Merge "ARM: dts: msm: Add GPU speed bin 2 support for MSM8996Pro"

7 years agoMerge "Merge branch 'android-4.4@24ac44d' into branch 'msm-4.4'"
Linux Build Service Account [Thu, 11 May 2017 06:03:33 +0000 (23:03 -0700)]
Merge "Merge branch 'android-4.4@24ac44d' into branch 'msm-4.4'"

7 years agoASoC: msm: qdsp6v2: Add TrueHD to compressed open
Ben Romberger [Mon, 1 May 2017 19:17:58 +0000 (12:17 -0700)]
ASoC: msm: qdsp6v2: Add TrueHD to compressed open

Add TrueHD format selection to ASM compressed
open and remove it from non-compressed open.

Change-Id: I94b61958e71d3a0d3aec2aa0206cf35698399d34
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
7 years agodrm/msm/sde: move topology name reset to release resources
Lloyd Atkinson [Thu, 23 Feb 2017 20:01:08 +0000 (12:01 -0800)]
drm/msm/sde: move topology name reset to release resources

Simplify the clearing of the topology name by moving it directly
to the release resources call.

Change-Id: If1926372b276f01f64138691b805493d1894951a
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agodefconfig: msm: Enable CNSS_ASYNC for auto platform
Wei Li [Fri, 21 Apr 2017 01:37:40 +0000 (09:37 +0800)]
defconfig: msm: Enable CNSS_ASYNC for auto platform

This option allow CNSS platform driver to use asynchronous
probe for auto platform.

Change-Id: I54c997be995e3fb660779a18fd848dcbc325c49a
Signed-off-by: Wei Li <weili@codeaurora.org>
7 years agocnss: add an option to allow driver using asynchronous probe
Wei Li [Fri, 21 Apr 2017 01:35:07 +0000 (09:35 +0800)]
cnss: add an option to allow driver using asynchronous probe

Add option CONFIG_CNSS_ASYNC to allow CNSS platform driver probe
asynchronously for boot time optimization in auto platform

Change-Id: Id1fcb8991a47ae56098a9bbd6ff570e22d6450d6
Signed-off-by: Wei Li <weili@codeaurora.org>
7 years agodrm/msm: allow SDE HDMI display to support 4K
Abhinav Kumar [Wed, 10 May 2017 00:55:46 +0000 (17:55 -0700)]
drm/msm: allow SDE HDMI display to support 4K

SDE HDMI driver capabilities were capped
to 1080P due to lack of dual pipe support in userspace.

Relax this restriction as full userspace support to
allow dual pipe support is now available.

Change-Id: If8242ea3c65a901ceb3e1004ac40b29ab8554c4b
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agonet: wireless: Fix regdb for 60G band
Hamad Kadmany [Tue, 9 May 2017 12:28:12 +0000 (15:28 +0300)]
net: wireless: Fix regdb for 60G band

60g frequency range and outdoor for EU updated.
Remove blanks lines as they must not be used.

Change-Id: I35395e8d770521514fc704aa71ccd5c74274b0ff
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
7 years agoARM64: config: msm: Adding perf defconfig for mediabox
Shadab Naseem [Tue, 9 May 2017 07:25:49 +0000 (12:55 +0530)]
ARM64: config: msm: Adding perf defconfig for mediabox

Adding perf defconfig for APQ8098 mediabox.
APQ8098 Display driver is moving away from Framebuffer (CONFIG_FB)
configuration to DRM (CONFIG_DRM) configuration and mediabox is using
ATH10k wlan driver.

Change-Id: I6f0b52a4beca9b3367d9fc52127aa57426685355
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
7 years agodefconfig: msm: Enable OnSemi regulator driver for msm8996-auto
Kiran Gunda [Tue, 9 May 2017 05:58:56 +0000 (11:28 +0530)]
defconfig: msm: Enable OnSemi regulator driver for msm8996-auto

Enable OnSemi external buck regulator driver to provide
the supply for graphics rail on msm8996-auto board.

Change-Id: I0e7a37aca19fba94c17fb34c81753115b9fe6d7c
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoinput: misc: fix error path for hbtp touch screen driver
Shantanu Jain [Tue, 9 May 2017 05:53:14 +0000 (11:23 +0530)]
input: misc: fix error path for hbtp touch screen driver

Fix error path for hbtp touch screen driver where error
variable is not initialized to a error value before bailing
out from the driver function.

Change-Id: Ife3376891950216971cafaf33fd8308697b7f904
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agomsm: ipa: apply reset wa to GPI channels
Skylar Chang [Fri, 5 May 2017 23:31:32 +0000 (16:31 -0700)]
msm: ipa: apply reset wa to GPI channels

When resetting a GSI channel a special handling is needed
if there is an open aggregation frame. This handling is applied
to USB and MHI channels. This commit applies this handling to
GPI (system) channels as well.

Change-Id: Iebdf3d7375a4bd584c75503f01e64d7106f25e5a
CRs-Fixed: 2029089
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agodrm/msm: notify hpd status when audio codec is ready
Ray Zhang [Wed, 29 Mar 2017 13:04:54 +0000 (21:04 +0800)]
drm/msm: notify hpd status when audio codec is ready

HDMI connector should wait for audio codec status and notify
HPD status only in case that audio codec has been registered
successfully. Meanwhile move HPD notification to bridge enable
and disable instead of hotplug work. This ensures the correct
video and audio sequence.

Change-Id: I0dac915c8639bb881265a608016e9d37ec9a153c
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agomemshare: Add guard bytes to avoid access issues
Mohit Aggarwal [Fri, 5 May 2017 15:31:41 +0000 (21:01 +0530)]
memshare: Add guard bytes to avoid access issues

Currently, TZ is performing merging of resource groups
due to which NOC error is happening during access of
memory allocated to diag. This patch fixes the issue
by adding guard bytes so that merging of resource
groups will not happen.

CRs-Fixed: 2026525
Change-Id: I9829e5a07aef723c4261aa16dd5274cfeb1a75a3
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
7 years agoscsi: ufs: Add states to debug abnormal clocks turn off
Asutosh Das [Fri, 24 Mar 2017 05:02:16 +0000 (10:32 +0530)]
scsi: ufs: Add states to debug abnormal clocks turn off

On UFS based targets, sometimes we are seeing unclocked
access issues where UFS register is being accessed while
clocks are turned off. This change is to add states in
hold and release contexts which will help to debug such
issues further.

Change-Id: I255f3516471ed74b9d93320f5442adffaf312102
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoMerge "msm: mdss: Retrict use of DMA Multi-Rect for FB pan_display"
Linux Build Service Account [Sat, 6 May 2017 21:24:21 +0000 (14:24 -0700)]
Merge "msm: mdss: Retrict use of DMA Multi-Rect for FB pan_display"

7 years agoMerge "msm: mdss: add additional debug code for timeout issues"
Linux Build Service Account [Sat, 6 May 2017 21:24:20 +0000 (14:24 -0700)]
Merge "msm: mdss: add additional debug code for timeout issues"

7 years agoMerge "msm: mdss: Relocate timing flush for avr vtotal setup"
Linux Build Service Account [Sat, 6 May 2017 21:24:19 +0000 (14:24 -0700)]
Merge "msm: mdss: Relocate timing flush for avr vtotal setup"

7 years agoMerge "msm: mdss: Initialize buf array elements"
Linux Build Service Account [Sat, 6 May 2017 21:24:18 +0000 (14:24 -0700)]
Merge "msm: mdss: Initialize buf array elements"

7 years agoMerge "msm: mdss: add support for mdss throttle clock handling"
Linux Build Service Account [Sat, 6 May 2017 21:24:17 +0000 (14:24 -0700)]
Merge "msm: mdss: add support for mdss throttle clock handling"

7 years agoMerge "ARM: dts: msm: add mdss throttle clock for SDM660 and SDM630"
Linux Build Service Account [Sat, 6 May 2017 21:24:17 +0000 (14:24 -0700)]
Merge "ARM: dts: msm: add mdss throttle clock for SDM660 and SDM630"

7 years agoMerge "msm: mdss: fix memcpy source and dest memory buffer size mismatch"
Linux Build Service Account [Sat, 6 May 2017 21:24:16 +0000 (14:24 -0700)]
Merge "msm: mdss: fix memcpy source and dest memory buffer size mismatch"

7 years agoMerge "defconfig: msmcortex: Enable PAN emulation"
Linux Build Service Account [Sat, 6 May 2017 01:10:31 +0000 (18:10 -0700)]
Merge "defconfig: msmcortex: Enable PAN emulation"

7 years agoMerge "wil6210: Enable write ioctl"
Linux Build Service Account [Sat, 6 May 2017 01:10:30 +0000 (18:10 -0700)]
Merge "wil6210: Enable write ioctl"

7 years agoMerge "seemp: check array index range"
Linux Build Service Account [Sat, 6 May 2017 01:10:29 +0000 (18:10 -0700)]
Merge "seemp: check array index range"

7 years agoMerge "msm: mdss: Add multi-rectangle validation support"
Linux Build Service Account [Sat, 6 May 2017 01:10:28 +0000 (18:10 -0700)]
Merge "msm: mdss: Add multi-rectangle validation support"

7 years agopower: qpnp-fg-gen3: Disable ESR pulldown for debug battery id
Subbaraman Narayanamurthy [Fri, 5 May 2017 21:07:53 +0000 (14:07 -0700)]
power: qpnp-fg-gen3: Disable ESR pulldown for debug battery id

Even with proper ESR pulse qualification threshold and ESR pulse
amplitude, ESR pulses are still seen occasionally on devices
that use battery with debug battery id. Disable ESR pulldown when
debug battery id is found. This helps saving power by stopping
ESR pulses.

Change-Id: I2b9588ec39a2268123d94c06517b0dbb43d66fc7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agodefconfig: msmcortex: Enable PAN emulation
Olav Haugan [Fri, 5 May 2017 18:21:21 +0000 (11:21 -0700)]
defconfig: msmcortex: Enable PAN emulation

Privilege Access Never (PAN) enforces the usage of
copy_to_user/copy_from_user and friends when kernel accesses data from
user space. If user space memory is accessed outside of these functions
a kernel panic occurs.

Change-Id: Ic32ad8ecb6d921293fca74664116098723afc436
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agoARM: dts: msm: Add GPU speed bin 2 support for MSM8996Pro
Hareesh Gundu [Mon, 24 Oct 2016 14:20:08 +0000 (19:50 +0530)]
ARM: dts: msm: Add GPU speed bin 2 support for MSM8996Pro

Add GPU clock plan for speed bin 2 of MSM8996Pro target.
This is initial change for supporting GPU speed bin 2.

CRs-Fixed: 1082439
Change-Id: Ifb21ae3baa3df001d944aa2c9db36dffa2a29504
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add OnSemi regulator node for msm8996"
Linux Build Service Account [Fri, 5 May 2017 16:10:06 +0000 (09:10 -0700)]
Merge "ARM: dts: msm: Add OnSemi regulator node for msm8996"

7 years agoMerge "msm: mdss: Set LM flush bit for DE/Scalar reg update"
Linux Build Service Account [Fri, 5 May 2017 16:10:06 +0000 (09:10 -0700)]
Merge "msm: mdss: Set LM flush bit for DE/Scalar reg update"

7 years agoMerge "input: touchscreen: fix issues related to variable initialization"
Linux Build Service Account [Fri, 5 May 2017 16:10:04 +0000 (09:10 -0700)]
Merge "input: touchscreen: fix issues related to variable initialization"

7 years agoMerge "usb: gadget: mtp: Move mutex_init() to alloc_inst_mtp_ptp()"
Linux Build Service Account [Fri, 5 May 2017 16:10:04 +0000 (09:10 -0700)]
Merge "usb: gadget: mtp: Move mutex_init() to alloc_inst_mtp_ptp()"

7 years agoseemp: check array index range
Yida Wang [Wed, 3 May 2017 18:46:14 +0000 (14:46 -0400)]
seemp: check array index range

Check whether array index is within the bounds in
seemp_logk_get_bit_from_vector().

Change-Id: Idccf75736582b2390540f4d7b3351c018937186a
Signed-off-by: Yida Wang <yidaw@codeaurora.org>
7 years agousb: gadget: f_mtp: Handle OS descriptors properly
Sai krishna juturi [Fri, 5 May 2017 11:07:53 +0000 (16:37 +0530)]
usb: gadget: f_mtp: Handle OS descriptors properly

The mtp_ctrl_request function is responding to
every os descriptor sent by host,There by enumerating
the device with mtp composition. Once mtp is disabled,
need to clear the function instances on unbind.

Change-Id: I6679a1c1009df291a85ba8dcc34997d757c320b9
Signed-off-by: Sai krishna juturi <jsaikrishna@codeaurora.org>
7 years agoMerge "scsi: ufs: add command logging infrastructure"
Linux Build Service Account [Fri, 5 May 2017 08:02:39 +0000 (01:02 -0700)]
Merge "scsi: ufs: add command logging infrastructure"

7 years agoMerge "defconfig: msm: Sync up perf_defconfig with defconfig"
Linux Build Service Account [Fri, 5 May 2017 08:02:37 +0000 (01:02 -0700)]
Merge "defconfig: msm: Sync up perf_defconfig with defconfig"

7 years agoARM: dts: msm: Add OnSemi regulator node for msm8996
Kiran Gunda [Wed, 3 May 2017 09:57:41 +0000 (15:27 +0530)]
ARM: dts: msm: Add OnSemi regulator node for msm8996

OnSemi buck regulator is used to provide the supply for
graphics rail. The programmable output voltage range is
from 0.6 V to 1.4 V in 6.25 mV steps.

Change-Id: I5f4ec11075b7f658ffa0af13dde5694b03c1495c
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agomsm: mdss: set HDMI max TMDS clock rate
zhaoyuan [Tue, 18 Apr 2017 07:09:16 +0000 (15:09 +0800)]
msm: mdss: set HDMI max TMDS clock rate

Need consider both SINK and SOURCE max supported TMDS
clock. For the devices, if we set TMDS clock larger than
device caps, it could not display well. SINK max TMDS
clock could read from HDMI VSDB and HF-VSDB in EDID.

CRs-Fixed: 2035529
Change-Id: I1f31f2a05d0502367b877c4d324cbc131b2366d5
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
7 years agoinput: touchscreen: fix issues related to variable initialization
Shantanu Jain [Thu, 4 May 2017 12:01:04 +0000 (17:31 +0530)]
input: touchscreen: fix issues related to variable initialization

Fix issues related to variable initialization in FTS touchscreen
driver.

Change-Id: I2911787dd1e1979e027bacdd1bc1cec06845ffd3
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agodefconfig: msm: Sync up perf_defconfig with defconfig
Wei Li [Thu, 27 Apr 2017 07:20:04 +0000 (15:20 +0800)]
defconfig: msm: Sync up perf_defconfig with defconfig

Sync up msm-auto-perf_defconfig with msm-auto_defconfig

Change-Id: Ief53b4c287ca3efbe8f82779a8d4e9f524b06fd8
Signed-off-by: Wei Li <weili@codeaurora.org>
7 years agoMerge "msm: pcie: move PCIe enumerate sysfs init"
Linux Build Service Account [Fri, 5 May 2017 00:44:33 +0000 (17:44 -0700)]
Merge "msm: pcie: move PCIe enumerate sysfs init"

7 years agoMerge "diag: Validate memory device client's process descriptor"
Linux Build Service Account [Fri, 5 May 2017 00:44:32 +0000 (17:44 -0700)]
Merge "diag: Validate memory device client's process descriptor"

7 years agoMerge "net: pppolac/pppopns: Add back the msg_flags"
Linux Build Service Account [Fri, 5 May 2017 00:44:31 +0000 (17:44 -0700)]
Merge "net: pppolac/pppopns: Add back the msg_flags"

7 years agoMerge "msm: ipa: Add a support to retry uC send command"
Linux Build Service Account [Fri, 5 May 2017 00:44:30 +0000 (17:44 -0700)]
Merge "msm: ipa: Add a support to retry uC send command"

7 years agowil6210: fix array out of bounds access in pmc
Dedy Lansky [Thu, 4 May 2017 19:55:39 +0000 (22:55 +0300)]
wil6210: fix array out of bounds access in pmc

Array index 'i' is used before limits check.
Fix this by doing limits check first.

Change-Id: I9a3d6f3165b3a0ba41dec3707d7c193a26ec6eb2
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 98a830a98dab6d474190bec72c4a4ad0f7f9bf75
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agowil6210: fix check for sparrow D0 FW file
Hamad Kadmany [Thu, 4 May 2017 19:49:08 +0000 (22:49 +0300)]
wil6210: fix check for sparrow D0 FW file

Driver fails to load FW for sparrow D0 devices in some cases.
Fix this by returning correct value from wil_fw_verify_file_exists
when D0 FW file is not detected for any reason.

Change-Id: I11f4e63c70f0f269372e780b3659d981924c8963
Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 4d4f8132f72b78d1260ec9afa94c3b44deb12adf
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agowil6210: support 8KB RX buffers
Lior David [Thu, 4 May 2017 19:43:18 +0000 (22:43 +0300)]
wil6210: support 8KB RX buffers

The 11ad spec requires 11ad devices to be able to receive 8KB
packets over the air. Currently this is only possible by
loading the driver with mtu_max=7912 but this also forces
a smaller block ACK window size which reduces performance
for stations which transmit normal sized packets (<2KB).
Fix this problem as follows:
1. Add a module parameter rx_large_buf that when set,
will allocate 8KB RX buffers regardless of mtu_max
setting.
2. When receiving block ACK request agree to any window
size not above our maximum, regardless of the mtu_max setting.
This means if the other side transmits small packets (2KB)
it can still set up block ACK with a large window size,
and get better performance.

Change-Id: I8d18d9306d2546b54125b77df82c984878d0f84f
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 52a457020a89158f4eb886544165dc162ca9a35e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agowil6210: restore power save state after internal FW reset
Lazar Alexei [Thu, 4 May 2017 19:41:44 +0000 (22:41 +0300)]
wil6210: restore power save state after internal FW reset

The power save profile is set to default state in case of FW reset,
regardless of the state before the reset took place.
Fix this by saving the current power save profile and restore it
in case of FW reset.

Change-Id: I9bcf8c4a60b72851631e25bf33a8335cffb2644f
Signed-off-by: Lazar Alexei <qca_ailizaro@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 8b068c032a5cbe6f80168e0ecf2c9625c8d14d90
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[merez@codeaurora.org: fix trivial merge conflicts]
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agoMerge branch 'android-4.4@24ac44d' into branch 'msm-4.4'
Blagovest Kolenichev [Thu, 4 May 2017 20:03:34 +0000 (13:03 -0700)]
Merge branch 'android-4.4@24ac44d' into branch 'msm-4.4'

* refs/heads/tmp-24ac44d
  Linux 4.4.66
  ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
  ARCv2: save r30 on kernel entry as gcc uses it for code-gen
  nfsd: check for oversized NFSv2/v3 arguments
  Input: i8042 - add Clevo P650RS to the i8042 reset list
  p9_client_readdir() fix
  MIPS: Avoid BUG warning in arch_check_elf
  MIPS: KGDB: Use kernel context for sleeping threads
  ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
  ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
  ipv6: check raw payload size correctly in ioctl
  ipv6: check skb->protocol before lookup for nexthop
  macvlan: Fix device ref leak when purging bc_queue
  ip6mr: fix notification device destruction
  netpoll: Check for skb->queue_mapping
  net: ipv6: RTF_PCPU should not be settable from userspace
  dp83640: don't recieve time stamps twice
  tcp: clear saved_syn in tcp_disconnect()
  sctp: listen on the sock only when it's state is listening or closed
  net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
  l2tp: fix PPP pseudo-wire auto-loading
  l2tp: take reference on sessions being dumped
  net/packet: fix overflow in check for tp_reserve
  net/packet: fix overflow in check for tp_frame_nr
  l2tp: purge socket queues in the .destruct() callback
  net: phy: handle state correctly in phy_stop_machine
  net: neigh: guard against NULL solicit() method
  sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
  sparc64: kern_addr_valid regression
  xen/x86: don't lose event interrupts
  usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
  regulator: core: Clear the supply pointer if enabling fails
  RDS: Fix the atomicity for congestion map update
  net_sched: close another race condition in tcf_mirred_release()
  net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata
  MIPS: Fix crash registers on non-crashing CPUs
  md:raid1: fix a dead loop when read from a WriteMostly disk
  ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
  drm/amdgpu: fix array out of bounds
  crypto: testmgr - fix out of bound read in __test_aead()
  clk: sunxi: Add apb0 gates for H3
  ARM: OMAP2+: timer: add probe for clocksources
  xc2028: unlock on error in xc2028_set_config()
  f2fs: do more integrity verification for superblock
  net: pppolac/pppopns: Add back the msg_flags

Conflicts:
drivers/regulator/core.c

Change-Id: I8e7b279efa442a0338ee735d27ff3ebe866a8dee
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
7 years agowil6210: fix sequence for scan-abort during reset
Hamad Kadmany [Thu, 4 May 2017 19:37:57 +0000 (22:37 +0300)]
wil6210: fix sequence for scan-abort during reset

Communication with FW must be done before wil->status
is initialized in order to properly handle cases where
communication with FW halts during reset sequence.

Change-Id: Ia9b74143b45ae3c83a36a7c2f18b16794e5a2c57
Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 82e9f646555442d63e47155171592ee790275ea3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agomsm: mdss: fix null pointer dereferencing
Harsh Sahu [Thu, 27 Apr 2017 22:27:43 +0000 (15:27 -0700)]
msm: mdss: fix null pointer dereferencing

Current driver checks if the address of start pointer is zero. But
in cases when start pointer is NULL this check will result in null
pointer dereferencing. This change adds an additioanl check on the
start pointer to avoid null pointer dereferencing.

CRs-fixed: 2035100
Change-Id: Ic86c9e73cd676cbf8680f5b7266ee3829f4ccbd2
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
7 years agomsm: mdss: Relocate timing flush for avr vtotal setup
Rajkumar Subbiah [Wed, 26 Apr 2017 19:58:07 +0000 (15:58 -0400)]
msm: mdss: Relocate timing flush for avr vtotal setup

The AVR vtotal setup is done during ctl start. Since the slave
ctl is not yet setup, currently the master and slave controls
get flushed independently even though it is a split display
setup. Instead, just set a flag and then do the actual flush
as part of commit when the controls are properly setup.

Change-Id: I8eb1693c9a3a6404d28a82cab9a9f0ce58d1bb03
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
7 years agomsm: pcie: move PCIe enumerate sysfs init
Tony Truong [Thu, 20 Apr 2017 18:04:03 +0000 (11:04 -0700)]
msm: pcie: move PCIe enumerate sysfs init

PCIe enumerate sysfs initialization should be
done after all other resources are setup.

Change-Id: I33b43e39453eeee9ac9e22bd1a5463af9eb1fd05
Signed-off-by: Tony Truong <truong@codeaurora.org>
7 years agoMerge "wil6210: add option to ignore OTA regulatory hints"
Linux Build Service Account [Thu, 4 May 2017 15:45:28 +0000 (08:45 -0700)]
Merge "wil6210: add option to ignore OTA regulatory hints"

7 years agoMerge "ion:synchronize debugfs callback and ion_client_destroy"
Linux Build Service Account [Thu, 4 May 2017 15:45:26 +0000 (08:45 -0700)]
Merge "ion:synchronize debugfs callback and ion_client_destroy"

7 years agoMerge "btfm: Program multi channel registers in wcn3990 for Tx/Rx"
Linux Build Service Account [Thu, 4 May 2017 15:45:25 +0000 (08:45 -0700)]
Merge "btfm: Program multi channel registers in wcn3990 for Tx/Rx"

7 years agoMerge "regulator: onsemi-ncp6335d: Add is_enabled API support"
Linux Build Service Account [Thu, 4 May 2017 15:45:24 +0000 (08:45 -0700)]
Merge "regulator: onsemi-ncp6335d: Add is_enabled API support"

7 years agoMerge "drm/msm: Fix the SNAPSHOT_HEADER macro"
Linux Build Service Account [Thu, 4 May 2017 15:45:23 +0000 (08:45 -0700)]
Merge "drm/msm: Fix the SNAPSHOT_HEADER macro"

7 years agoMerge "fs/mbcache: fix use after free issue in mb_cache_shrink_scan()"
Linux Build Service Account [Thu, 4 May 2017 15:45:22 +0000 (08:45 -0700)]
Merge "fs/mbcache: fix use after free issue in mb_cache_shrink_scan()"

7 years agoMerge "ARM: dts: msm: Add batt_therm coefficients for QRD SDM660/630"
Linux Build Service Account [Thu, 4 May 2017 15:45:21 +0000 (08:45 -0700)]
Merge "ARM: dts: msm: Add batt_therm coefficients for QRD SDM660/630"

7 years agoMerge "qbt1000: Initialize drvdata structure before usage"
Linux Build Service Account [Thu, 4 May 2017 15:45:19 +0000 (08:45 -0700)]
Merge "qbt1000: Initialize drvdata structure before usage"

7 years agoMerge "qbt1000: Validate FP app name before qseecom_start_app"
Linux Build Service Account [Thu, 4 May 2017 15:45:18 +0000 (08:45 -0700)]
Merge "qbt1000: Validate FP app name before qseecom_start_app"

7 years agoMerge "msm: mdss: Add plane_count range check in mdss WFD"
Linux Build Service Account [Thu, 4 May 2017 15:45:11 +0000 (08:45 -0700)]
Merge "msm: mdss: Add plane_count range check in mdss WFD"

7 years agoMerge "msm: mdss: Add plane_count limit check for mdss_rotator buffer"
Linux Build Service Account [Thu, 4 May 2017 15:45:10 +0000 (08:45 -0700)]
Merge "msm: mdss: Add plane_count limit check for mdss_rotator buffer"

7 years agoMerge "ARM: dts: msm: enable SMMU stage1 for 11AD devices on msm8998"
Linux Build Service Account [Thu, 4 May 2017 15:45:09 +0000 (08:45 -0700)]
Merge "ARM: dts: msm: enable SMMU stage1 for 11AD devices on msm8998"

7 years agoMerge "ASoC: msm: qdsp6v2: Add routing controls for fm over mi2s"
Linux Build Service Account [Thu, 4 May 2017 15:45:08 +0000 (08:45 -0700)]
Merge "ASoC: msm: qdsp6v2: Add routing controls for fm over mi2s"

7 years agoMerge "ASoC: sdm660_cdc: Avoid unclocked register access to digital codec"
Linux Build Service Account [Thu, 4 May 2017 15:45:07 +0000 (08:45 -0700)]
Merge "ASoC: sdm660_cdc: Avoid unclocked register access to digital codec"

7 years agoMerge "msm: ipa3: configure WLAN resource group on connect"
Linux Build Service Account [Thu, 4 May 2017 15:45:06 +0000 (08:45 -0700)]
Merge "msm: ipa3: configure WLAN resource group on connect"

7 years agodiag: Validate memory device client's process descriptor
Gopikrishna Mogasati [Mon, 1 May 2017 21:23:54 +0000 (02:53 +0530)]
diag: Validate memory device client's process descriptor

This fix checks for valid process descriptor of a
memory device client before exporting information
from diag driver to memory device client's read buffer
for reliable data transfer.

CRs-Fixed: 2016396
Change-Id: I45aeb8fc9e2f6a678d48bbfcbb77c501adbbfce0
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
7 years agomsm: ipa: Add a support to retry uC send command
Utkarsh Saxena [Fri, 28 Apr 2017 13:42:30 +0000 (19:12 +0530)]
msm: ipa: Add a support to retry uC send command

For the status IPA_HW_2_CPU_WDI_RX_FSM_TRANSITION_ERROR,
receive from the uC, add a logic to retry sending the same
command for maximum of 10 retires.

Change-Id: I4b241311e0699aea0e24b3a279622a8a1aaa737d
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoASoC: msm: qdspv2: Add mixer controls for drift query
Manish Dewangan [Fri, 21 Apr 2017 08:49:12 +0000 (14:19 +0530)]
ASoC: msm: qdspv2: Add mixer controls for drift query

Add mixer control to query drift avtimer vs device(speaker,
headset, BT) drift.

CRs-Fixed: 2036899
Change-Id: I1cd8d2faf278faabaa9861953027ceb38eda4d25
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
7 years agobtfm: Program multi channel registers in wcn3990 for Tx/Rx
Satish Kodishala [Mon, 1 May 2017 13:47:06 +0000 (19:17 +0530)]
btfm: Program multi channel registers in wcn3990 for Tx/Rx

For A2DP/SCO Rx, SCO/FM Tx use cases, we need to program
multi channel registers. Without this there would be
glitches and random silence during A2DP playback.

While at it, add the function name to the debug print macro.

CRs-Fixed: 2027268
Change-Id: Ia8e5fde48bb94e97346fe323e92dc32ed60b0e65
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
7 years agoion:synchronize debugfs callback and ion_client_destroy
Neil Zhang [Tue, 26 Jan 2016 09:39:06 +0000 (17:39 +0800)]
ion:synchronize debugfs callback and ion_client_destroy

There are race condition B/T ion_client_destroy and debugfs callbacks.
Let's use a mutex to synchronize them.

Change-Id: I3373dc1dbb551b615105a485cc2d3c4bcc0e5e99
Signed-off-by: Neil Zhang <neilzhang1123@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 948c4db4ee10d85fe78ed3755dcaeb85cd37a148
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[guptap@codeaurora.org: resolve trivial merge conflicts and
 change usage of %p with %pK]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
7 years agoion: revert downstream fix for debugfs synchronization
Prakash Gupta [Fri, 28 Apr 2017 13:18:15 +0000 (18:48 +0530)]
ion: revert downstream fix for debugfs synchronization

revert msm specific changes conflicting with commit I3373dc1dbb5
("ion:synchronize debugfs callback and ion_client_destroy")

- revert commit I7bc7562400d ("ion: destroy ion handles under
  client->lock")
- revert commit Ic4c2f9dff90 ("ion: validate ion client in
  ion_debug_client_show() and extract data")
- revert dev->lock usage in ion_debug_heap_show.

Change-Id: Iba5f527b57f39d628b8cd833f627481cc56f6617
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
7 years agomsm: mdss: add support for mdss throttle clock handling
Sachin Bhayare [Thu, 13 Apr 2017 10:33:32 +0000 (16:03 +0530)]
msm: mdss: add support for mdss throttle clock handling

Update mdss throttle clock status based on status of display.

Change-Id: Ife21df0c570240c075f039b8d49514bb323021da
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
7 years agoARM: dts: msm: add mdss throttle clock for SDM660 and SDM630
Sachin Bhayare [Thu, 13 Apr 2017 10:23:17 +0000 (15:53 +0530)]
ARM: dts: msm: add mdss throttle clock for SDM660 and SDM630

Add mmss_throttle_mdss_axi clock in MDSS clock list
for SDM660 and SDM630.

Change-Id: Iadc58ab163101bce81c255646742f27d3e848cda
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
7 years agoregulator: onsemi-ncp6335d: Add is_enabled API support
Kiran Gunda [Wed, 3 May 2017 06:41:20 +0000 (12:11 +0530)]
regulator: onsemi-ncp6335d: Add is_enabled API support

Without is_enabled function support, regualtor framework treats
it as an always on regulator and does not invoke the regulator enable
function call. Hence, add support for it.

Also, define a parent supply ("vin") for the regulator. This parent
can be used to pin-control the regulator. While at it, change the initcall
level to subsys_init. so that the driver registers after the parent supply
("vin" - provided by fixed-regualtor).

Change-Id: I93e870d2e4b89f7874c3e17be91bc417dadf1777
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>