OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "defconfig: msm: enable page poisoning by default"
Linux Build Service Account [Mon, 17 Apr 2017 13:01:32 +0000 (06:01 -0700)]
Merge "defconfig: msm: enable page poisoning by default"

7 years agoMerge "mm: allow page poisoning to be enabled by default."
Linux Build Service Account [Mon, 17 Apr 2017 13:01:31 +0000 (06:01 -0700)]
Merge "mm: allow page poisoning to be enabled by default."

7 years agoMerge "qcom: smb-lib: rerun APSD on insertion for micro USB mode"
Linux Build Service Account [Mon, 17 Apr 2017 04:49:19 +0000 (21:49 -0700)]
Merge "qcom: smb-lib: rerun APSD on insertion for micro USB mode"

7 years agocnss_prealloc: Remove WARN_ON
Prashanth Bhatta [Thu, 6 Apr 2017 19:40:16 +0000 (12:40 -0700)]
cnss_prealloc: Remove WARN_ON

WARN_ON is unnecessary if pre-alloc table doesn't have any free
memory. Remove the WARN_ON as error log is enough to find out
missing entry.

Change-Id: I5a46e1f259e88d1a19f05195f5d7bb0745d072c3
CRs-fixed: 2030272
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoqcom: smb-lib: rerun APSD on insertion for micro USB mode
Ashay Jaiswal [Fri, 14 Apr 2017 04:12:32 +0000 (09:42 +0530)]
qcom: smb-lib: rerun APSD on insertion for micro USB mode

In case of very slow insertion of SDP/DCP there is a possibility
that D+/D- makes contact while APSD is in progress. This will
result in an incorrect type detection.
Fix this by doing a APSD rerun after charger-type detection is
complete.

CRs-Fixed: 2032590
Change-Id: I0037b90f29dbe65a2cdb2771d5caceff77862f03
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "qcom: smb2: ensure QC adapter is at 5V at shutdown"
Linux Build Service Account [Sun, 16 Apr 2017 06:11:11 +0000 (23:11 -0700)]
Merge "qcom: smb2: ensure QC adapter is at 5V at shutdown"

7 years agoMerge "ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES."
Linux Build Service Account [Sat, 15 Apr 2017 05:59:22 +0000 (22:59 -0700)]
Merge "ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES."

7 years agoMerge "android: binder: move global binder state into context struct."
Linux Build Service Account [Sat, 15 Apr 2017 05:59:21 +0000 (22:59 -0700)]
Merge "android: binder: move global binder state into context struct."

7 years agoMerge "power: qpnp-smb2: Specify the min/max charger switching frequency"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:42 +0000 (15:19 -0700)]
Merge "power: qpnp-smb2: Specify the min/max charger switching frequency"

7 years agoMerge "soc: qcom: remove debugfs interface from ssr, service locator & notifier"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:41 +0000 (15:19 -0700)]
Merge "soc: qcom: remove debugfs interface from ssr, service locator & notifier"

7 years agoMerge "defconfig: msm: Enable HWBinder for SDM660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:40 +0000 (15:19 -0700)]
Merge "defconfig: msm: Enable HWBinder for SDM660"

7 years agoMerge "ARM: dts: msm: Add usb master clock rate in high speed mode for sdm660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:39 +0000 (15:19 -0700)]
Merge "ARM: dts: msm: Add usb master clock rate in high speed mode for sdm660"

7 years agoMerge "input: misc: hbtp_input: Support for Region of Interest/sensors"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:38 +0000 (15:19 -0700)]
Merge "input: misc: hbtp_input: Support for Region of Interest/sensors"

7 years agoMerge "ARM: dts: msm: Disable U1U2 low power modes for SDM660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:36 +0000 (15:19 -0700)]
Merge "ARM: dts: msm: Disable U1U2 low power modes for SDM660"

7 years agodefconfig: msm: enable page poisoning by default
Vinayak Menon [Wed, 5 Apr 2017 07:34:08 +0000 (13:04 +0530)]
defconfig: msm: enable page poisoning by default

Enable page poisoning by default on MSM8998
and SDM660.

Change-Id: If0b873888f21fd7e7057df43cf223e3c50372bed
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agomm: allow page poisoning to be enabled by default.
Vinayak Menon [Wed, 5 Apr 2017 05:19:14 +0000 (10:49 +0530)]
mm: allow page poisoning to be enabled by default.

Add a config option to enable page poisoning by
default. The kernel command line option "page_poison"
can be used to change the behaviour during boot.

Change-Id: Ie70763841191a722b1c6125dfad119a29ed0f605
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agomm: enable page poisoning early at boot
Vinayak Menon [Fri, 31 Mar 2017 00:13:06 +0000 (11:13 +1100)]
mm: enable page poisoning early at boot

On SPARSEMEM systems page poisoning is enabled after buddy is up, because
of the dependency on page extension init.  This causes the pages released
by free_all_bootmem not to be poisoned.  This either delays or misses the
identification of some issues because the pages have to undergo another
cycle of alloc-free-alloc for any corruption to be detected.

Enable page poisoning early by getting rid of the PAGE_EXT_DEBUG_POISON
flag.  Since all the free pages will now be poisoned, the flag need not be
verified before checking the poison during an alloc.

Link: http://lkml.kernel.org/r/1490358246-11001-1-git-send-email-vinmenon@codeaurora.org
Acked-by: Laura Abbott <labbott@redhat.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[vinmenon@codeaurora.org: resolve trivial merge conflicts.
 Remove the redundant free pages RO feature from the
 page_poison.c file which is the reason for conflicts +
 squash the addendum commit 40961ef8d65f51093bc94de110b97b590b6b9275
 ('mm-enable-page-poisoning-early-at-boot-v2')]
Git-commit: c5b7cd344fd6341e6db79e55c0f1f4d1d9c67a7e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Change-Id: I1bb1f99d3a2e1135131911905e0916c837ba9d8a
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agomm/page_poisoning.c: allow for zero poisoning
Laura Abbott [Tue, 15 Mar 2016 21:56:30 +0000 (14:56 -0700)]
mm/page_poisoning.c: allow for zero poisoning

By default, page poisoning uses a poison value (0xaa) on free.  If this
is changed to 0, the page is not only sanitized but zeroing on alloc
with __GFP_ZERO can be skipped as well.  The tradeoff is that detecting
corruption from the poisoning is harder to detect.  This feature also
cannot be used with hibernation since pages are not guaranteed to be
zeroed after hibernation.

Credit to Grsecurity/PaX team for inspiring this work

Change-Id: If7116e6bff246abbafc38bdfeb3601d3ea063ad2
Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mathias Krause <minipli@googlemail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Jianyu Zhan <nasa4836@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 1414c7f4f7d72d138fff35f00151d15749b5beda
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agomm/page_poison.c: enable PAGE_POISONING as a separate option
Laura Abbott [Tue, 15 Mar 2016 21:56:27 +0000 (14:56 -0700)]
mm/page_poison.c: enable PAGE_POISONING as a separate option

Page poisoning is currently set up as a feature if architectures don't
have architecture debug page_alloc to allow unmapping of pages.  It has
uses apart from that though.  Clearing of the pages on free provides an
increase in security as it helps to limit the risk of information leaks.
Allow page poisoning to be enabled as a separate option independent of
kernel_map pages since the two features do separate work.  Because of
how hiberanation is implemented, the checks on alloc cannot occur if
hibernation is enabled.  The runtime alloc checks can also be enabled
with an option when !HIBERNATION.

Credit to Grsecurity/PaX team for inspiring this work

Change-Id: I77a36f844ddae54695089c98a97bf0a6e226a025
Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mathias Krause <minipli@googlemail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Jianyu Zhan <nasa4836@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 8823b1dbc05fab1a8bec275eeae4709257c2661d
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agoMerge "ASoC: wcd9335: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:10 +0000 (07:30 -0700)]
Merge "ASoC: wcd9335: Initialize variables before use"

7 years agoMerge "ASoC: wcd_cpe_core: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:09 +0000 (07:30 -0700)]
Merge "ASoC: wcd_cpe_core: Initialize variables before use"

7 years agoMerge "ASoC: msm: qdsp6v2: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:07 +0000 (07:30 -0700)]
Merge "ASoC: msm: qdsp6v2: Initialize variables before use"

7 years agoMerge "ASoC: wcd-spi: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:06 +0000 (07:30 -0700)]
Merge "ASoC: wcd-spi: Initialize variables before use"

7 years agoMerge "Revert "ASoC: msm: decrement slim channel ref to set the property""
Linux Build Service Account [Fri, 14 Apr 2017 14:30:04 +0000 (07:30 -0700)]
Merge "Revert "ASoC: msm: decrement slim channel ref to set the property""

7 years agoMerge "ASoC: wcd934x: use analog mics in micbias mode for MAD"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:03 +0000 (07:30 -0700)]
Merge "ASoC: wcd934x: use analog mics in micbias mode for MAD"

7 years agoMerge "drivers: mfd: wcd934x: Set CDC_TOP_TOP_CFG1 register as non-volatile"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:02 +0000 (07:30 -0700)]
Merge "drivers: mfd: wcd934x: Set CDC_TOP_TOP_CFG1 register as non-volatile"

7 years agoMerge "ASoC: msm: Update proper clock frequency for slave mode"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:01 +0000 (07:30 -0700)]
Merge "ASoC: msm: Update proper clock frequency for slave mode"

7 years agoMerge "ASoC: msm: Update proper clock frequency for slave mode"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:59 +0000 (07:29 -0700)]
Merge "ASoC: msm: Update proper clock frequency for slave mode"

7 years agoMerge "diag: Update the read buffers status properly"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:58 +0000 (07:29 -0700)]
Merge "diag: Update the read buffers status properly"

7 years agoMerge "msm: ADSPRPC: Use SMD on targets that doesn't support GLINK"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:58 +0000 (07:29 -0700)]
Merge "msm: ADSPRPC: Use SMD on targets that doesn't support GLINK"

7 years agoMerge "usb: gadget: ccid: Fix data types of header structures"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:57 +0000 (07:29 -0700)]
Merge "usb: gadget: ccid: Fix data types of header structures"

7 years agoMerge "defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:56 +0000 (07:29 -0700)]
Merge "defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG"

7 years agoMerge "msm: isp: Fix dead lock in ISR"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:55 +0000 (07:29 -0700)]
Merge "msm: isp: Fix dead lock in ISR"

7 years agoMerge "drivers: cpuidle: lpm-levels: Log hotplug events"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:54 +0000 (07:29 -0700)]
Merge "drivers: cpuidle: lpm-levels: Log hotplug events"

7 years agoMerge "msm: camera: Bypass redundant creation of video node in stereo"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:03 +0000 (07:29 -0700)]
Merge "msm: camera: Bypass redundant creation of video node in stereo"

7 years agoMerge "msm: camera: ispif: adds 3D support"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:02 +0000 (07:29 -0700)]
Merge "msm: camera: ispif: adds 3D support"

7 years agoMerge "ARM: dts: msm: Fix interrupt-map property for msm8996"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:01 +0000 (07:29 -0700)]
Merge "ARM: dts: msm: Fix interrupt-map property for msm8996"

7 years agoMerge "msm: mdss: add mdss smmu fault handler for sdm660"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:00 +0000 (07:29 -0700)]
Merge "msm: mdss: add mdss smmu fault handler for sdm660"

7 years agoMerge "msm: mdss: dp: skip transfer unit setup on link training requests"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:59 +0000 (07:28 -0700)]
Merge "msm: mdss: dp: skip transfer unit setup on link training requests"

7 years agoMerge "ARM: dts: msm: refine JDI a407 panel setting"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:57 +0000 (07:28 -0700)]
Merge "ARM: dts: msm: refine JDI a407 panel setting"

7 years agoMerge "ARM: dts: msm: modify panel initial commands for SDM630 PM660A QRD"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:56 +0000 (07:28 -0700)]
Merge "ARM: dts: msm: modify panel initial commands for SDM630 PM660A QRD"

7 years agoMerge "msm: mdss: update the recovery sequence for DSI LP_RX_TIMEOUT/BTA_TIMEOUT"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:55 +0000 (07:28 -0700)]
Merge "msm: mdss: update the recovery sequence for DSI LP_RX_TIMEOUT/BTA_TIMEOUT"

7 years agoMerge "msm: sde: map/unmap timestamp buffer for every rotator session"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:54 +0000 (07:28 -0700)]
Merge "msm: sde: map/unmap timestamp buffer for every rotator session"

7 years agoMerge "msm: kgsl: Fix the race between context create and destroy"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:53 +0000 (07:28 -0700)]
Merge "msm: kgsl: Fix the race between context create and destroy"

7 years agoMerge "msm: kgsl: Fix kgsl memory allocation and free race condition"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:51 +0000 (07:28 -0700)]
Merge "msm: kgsl: Fix kgsl memory allocation and free race condition"

7 years agoMerge "msm: camera: Check for csid_irq status bit in case of time out"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:15 +0000 (07:28 -0700)]
Merge "msm: camera: Check for csid_irq status bit in case of time out"

7 years agoMerge "soc: qcom: rpm: Use GENMASK APIs to generate bit masks"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:14 +0000 (07:28 -0700)]
Merge "soc: qcom: rpm: Use GENMASK APIs to generate bit masks"

7 years agopower: qpnp-smb2: Specify the min/max charger switching frequency
Anirudh Ghayal [Mon, 10 Apr 2017 02:57:11 +0000 (08:27 +0530)]
power: qpnp-smb2: Specify the min/max charger switching frequency

Add a device tree property to override the minimum and maximum
charger buck/boost switching frequency.

Change-Id: I6b827157c23a389edf2daa412e6825b6ce07a886
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agopower: smb-lib: Fix sink/source insertion/removal function ordering
Anirudh Ghayal [Tue, 4 Apr 2017 11:34:20 +0000 (17:04 +0530)]
power: smb-lib: Fix sink/source insertion/removal function ordering

On PM660 the charger buck/boost frequency is configured in
the same register. Present ordering of the sink/source
removal function call causes incorrect charger frequency
configuration.

Fix this by first calling sink_removal and then source_insertion
function. Also, configure the buck frequency to the initial
5V USB value during source insertion.

Change-Id: I0d436f7e0843f2ddaa3d09db05cec403d03b6893
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agomsm: ADSPRPC: Use SMD on targets that doesn't support GLINK
Tharun Kumar Merugu [Fri, 7 Apr 2017 05:00:53 +0000 (10:30 +0530)]
msm: ADSPRPC: Use SMD on targets that doesn't support GLINK

Enable SMD for backward compatibility on targets that doesn't
support glink.

Change-Id: I9e9073dd3b2d7b789c79a31ae77fff78e6e61e36
Acked-by: Bharath Kumar <bkumar@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
7 years agodiag: Update the read buffers status properly
Manoj Prabhu B [Fri, 14 Apr 2017 07:20:24 +0000 (12:50 +0530)]
diag: Update the read buffers status properly

This patch updates the global variables and checks
for the logging mode status to mark the buffer
status properly.

CRs-Fixed: 2033760
Change-Id: I29a13e2fecaecacc1a0f46358ae7d4db1d2b3786
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agomsm: isp: Fix dead lock in ISR
Abhishek Kondaveeti [Mon, 10 Apr 2017 11:10:30 +0000 (16:40 +0530)]
msm: isp: Fix dead lock in ISR

Unlock spin lock before returning in case of
tasklet overflow. Increase tasklet queue size
to avoid tasklet overflow.

Change-Id: If9dc03b8dc0bd026b904b6339dd7a7c9c6443871
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
7 years agodefconfig: msm: Enable HWBinder for SDM660
Neeraj Upadhyay [Wed, 5 Apr 2017 07:03:44 +0000 (12:33 +0530)]
defconfig: msm: Enable HWBinder for SDM660

Enable HWBinder Domain for SDM660.

Change-Id: I47c4155e8ce9c21700f80e13f6301b2fb49fa87a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agodefconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG
Rakesh Pillai [Thu, 13 Apr 2017 12:05:12 +0000 (17:35 +0530)]
defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG

Disable CONFIG_ICNSS_DEBUG

CRs-Fixed: 2033750
Change-Id: If22f155538877b18c71052363565f245da913ecb
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoMerge "msm: ipa: fix for wakelock refcnt"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:21 +0000 (21:52 -0700)]
Merge "msm: ipa: fix for wakelock refcnt"

7 years agoMerge "msm: camera: isp: Fix stream on timeout in LPM"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:20 +0000 (21:52 -0700)]
Merge "msm: camera: isp: Fix stream on timeout in LPM"

7 years agoMerge "ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:18 +0000 (21:52 -0700)]
Merge "ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630"

7 years agoMerge "ath10k: Fix crash when SSR is done during packet transfer"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:17 +0000 (21:52 -0700)]
Merge "ath10k: Fix crash when SSR is done during packet transfer"

7 years agoMerge "ARM: dts: msm: add panel parameters for sharp wuxga panel for sdm630"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:16 +0000 (21:52 -0700)]
Merge "ARM: dts: msm: add panel parameters for sharp wuxga panel for sdm630"

7 years agoMerge "msm: mdss: add split link panel support in mdss"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:15 +0000 (21:52 -0700)]
Merge "msm: mdss: add split link panel support in mdss"

7 years agoqcom: smb2: ensure QC adapter is at 5V at shutdown
Ashay Jaiswal [Thu, 13 Apr 2017 09:59:18 +0000 (15:29 +0530)]
qcom: smb2: ensure QC adapter is at 5V at shutdown

In the shutdown hook, driver forces adapter to 5V but
there is a possibility that the source change IRQ triggers
and moves back the adapter to 9V.
To avoid this and any race between the irq's and shutdown path,
disable all irqs as the first step in shutdown path.

CRs-Fixed: 2032575
Change-Id: I0d8f59a73b6631e9bf6f5d64dd215c239e7772fe
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoinput: misc: hbtp_input: Support for Region of Interest/sensors
Alex Sarraf [Wed, 22 Feb 2017 20:24:20 +0000 (12:24 -0800)]
input: misc: hbtp_input: Support for Region of Interest/sensors

Add support for sensor and Region of Interest (ROI) events.
Create new ioctl to receive sensor data from userspace.
Create binary sysfs entries to expose data from kernel to
userspace.

Change-Id: Ifa76f08eb293c3da0618c22c07e65976319ea926
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630"
Linux Build Service Account [Thu, 13 Apr 2017 17:30:11 +0000 (10:30 -0700)]
Merge "ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630"

7 years agoMerge "arm64: defconfig: Add a config option to compile cpu-boost driver"
Linux Build Service Account [Thu, 13 Apr 2017 17:30:10 +0000 (10:30 -0700)]
Merge "arm64: defconfig: Add a config option to compile cpu-boost driver"

7 years agodrivers: cpuidle: lpm-levels: Log hotplug events
Mahesh Sivasubramanian [Thu, 13 Apr 2017 14:55:52 +0000 (08:55 -0600)]
drivers: cpuidle: lpm-levels: Log hotplug events

Add debug events for CPU_STARTING and CPU_DYING events when a CPU is
hotplugged. The events will help correlate with the TZ events using the
ARM timers counts for debug.

Change-Id: Ieb6449575b4a95974b787ceea430fc5362c77c29
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
7 years agoath10k: Fix crash when SSR is done during packet transfer
Rakesh Pillai [Thu, 13 Apr 2017 11:39:58 +0000 (17:09 +0530)]
ath10k: Fix crash when SSR is done during packet transfer

If any data traffic is ON, when SSR is triggered there is a crash
since we allowed HTT packets to go through.
Stopping these packets to go through fixes this crash.

Also changing the QMI client ID for the qmi client.

CRs-Fixed: 2033262
Change-Id: I1236ef901fd8943f228497a79f11feaec1c16d8e
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630
Tirupathi Reddy [Thu, 9 Mar 2017 14:05:32 +0000 (19:35 +0530)]
ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630

Configure APC0/1 CPR instances to operate in closed-loop operation
to maintain an optimal voltage set point on the APC0/1 voltage rails.

Also, add static open-loop and closed-loop voltage margins as per
the voltage characterization results.

CRs-Fixed: 2032723
Change-Id: I1a01d78252dc71ca7def251e99581cad3714cdd1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630
Anirudh Ghayal [Tue, 11 Apr 2017 08:28:33 +0000 (13:58 +0530)]
ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630

The minimum supported voltage on the SMPS5A is 1.224V, update
it accordingly.

Change-Id: Ib973febdf5b719836f5fb54e6cd6e797e7101e3e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoMerge "arm: make default iova alignment as 2mb"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:13 +0000 (02:19 -0700)]
Merge "arm: make default iova alignment as 2mb"

7 years agoMerge "USB: gadget: ffs: Fix USBCV compliance failure due to adbd"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:12 +0000 (02:19 -0700)]
Merge "USB: gadget: ffs: Fix USBCV compliance failure due to adbd"

7 years agoMerge "msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:11 +0000 (02:19 -0700)]
Merge "msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display"

7 years agoMerge "msm: wlan: AR TX power regulatory updates"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:10 +0000 (02:19 -0700)]
Merge "msm: wlan: AR TX power regulatory updates"

7 years agoMerge "drm/msm/sde: remove redundant CRTC event caching"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:08 +0000 (02:19 -0700)]
Merge "drm/msm/sde: remove redundant CRTC event caching"

7 years agoMerge "apq8098: rename apq8998 to apq8098"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:07 +0000 (02:19 -0700)]
Merge "apq8098: rename apq8998 to apq8098"

7 years agoMerge "power: qpnp-fg-gen3: Add support to configure base termination current"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:05 +0000 (02:19 -0700)]
Merge "power: qpnp-fg-gen3: Add support to configure base termination current"

7 years agoMerge "ath10k: recal the txpower when removing interface"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:02 +0000 (02:19 -0700)]
Merge "ath10k: recal the txpower when removing interface"

7 years agoMerge "soc: qcom: socinfo: Protect current_image using semaphore lock."
Linux Build Service Account [Thu, 13 Apr 2017 09:19:01 +0000 (02:19 -0700)]
Merge "soc: qcom: socinfo: Protect current_image using semaphore lock."

7 years agoMerge "ARM: dts: msm: add SMB1351 charger node for SDM630 MTP"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:00 +0000 (02:19 -0700)]
Merge "ARM: dts: msm: add SMB1351 charger node for SDM630 MTP"

7 years agoMerge "Merge branch 'android-4.4@8e53f7c' into branch 'msm-4.4'"
Linux Build Service Account [Thu, 13 Apr 2017 09:18:58 +0000 (02:18 -0700)]
Merge "Merge branch 'android-4.4@8e53f7c' into branch 'msm-4.4'"

7 years agoarm: make default iova alignment as 2mb
Charan Teja Reddy [Thu, 13 Apr 2017 05:22:53 +0000 (10:52 +0530)]
arm: make default iova alignment as 2mb

To get the 2MB aligned IOVA section mappings, set
ARM_DMA_IOMMU_ALIGNMENT to 9.

Change-Id: I3254c39e4864c32d6f25a4d416b1b7aec6756ecd
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoarm64: defconfig: Add a config option to compile cpu-boost driver
Rohit Gupta [Thu, 13 Apr 2017 02:11:41 +0000 (19:11 -0700)]
arm64: defconfig: Add a config option to compile cpu-boost driver

CONFIG_CPU_BOOST config option is only enabled for
msmcortex-perf_defconfig. Enable it for msmcortex_defconfig too.

Change-Id: I31d42aa4ac3a78e6bc3c52aa0ba7cebd8c5a7893
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoASoC: wcd-spi: Initialize variables before use
Karthikeyan Mani [Wed, 12 Apr 2017 22:44:05 +0000 (15:44 -0700)]
ASoC: wcd-spi: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I9f7dd1e87d323ff300060c3d838342f55e6711e8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agoASoC: wcd9335: Initialize variables before use
Karthikeyan Mani [Wed, 12 Apr 2017 22:42:18 +0000 (15:42 -0700)]
ASoC: wcd9335: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I719bb13acb1ae8a9654604d251f728d98cffe936
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agoASoC: wcd_cpe_core: Initialize variables before use
Karthikeyan Mani [Thu, 23 Feb 2017 19:49:50 +0000 (11:49 -0800)]
ASoC: wcd_cpe_core: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I882cdf78709d6dcc2dcd1fc7f903492aa2581138
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agodrm/msm/sde: remove redundant CRTC event caching
Abhinav Kumar [Sat, 25 Mar 2017 04:54:23 +0000 (21:54 -0700)]
drm/msm/sde: remove redundant CRTC event caching

Currently both sde_crtc_atomic_begin() and
sde_crtc_atomic_flush() add the CRTC state event
to the cached sde_crtc->event.

This has a potential NULL ptr issue in the
case of vblank event firing in between sde_crtc_atomic_begin() and
sde_crtc_atomic_flush() because the upstream DRM vblank API
send_vblank_event() doesn't consider the case when the VBLANK
interrupt could have already freed any pending vblank events.

Remove the caching from sde_crtc_atomic_begin() to avoid this
condition.

Also make sure that a page_flip event was indeed submitted before
signaling the complete_flip() by setting a PENDING_FLIP flag right
after HW flush.

Change-Id: Ib201d2851e57bf22ec1f00814fc2e4dd2f35bfa1
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agoMerge "diag: Place proper NULL pointer checks"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:20 +0000 (16:10 -0700)]
Merge "diag: Place proper NULL pointer checks"

7 years agoMerge "wil6210: add sysfs file for enable/disable fst link loss"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:19 +0000 (16:10 -0700)]
Merge "wil6210: add sysfs file for enable/disable fst link loss"

7 years agoMerge "ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:18 +0000 (16:10 -0700)]
Merge "ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously"

7 years agoMerge "ASoC: msm: qdsp6v2: support TDM to AUX_PCM loopback for BT HFP uplink"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:18 +0000 (16:10 -0700)]
Merge "ASoC: msm: qdsp6v2: support TDM to AUX_PCM loopback for BT HFP uplink"

7 years agoMerge "ASoC: msm: support up to 8 channel capture on MM1"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:17 +0000 (16:10 -0700)]
Merge "ASoC: msm: support up to 8 channel capture on MM1"

7 years agoMerge "ASoC: msm: defer the machine driver probing if ADSP is down"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:16 +0000 (16:10 -0700)]
Merge "ASoC: msm: defer the machine driver probing if ADSP is down"

7 years agoMerge "ASoC: msm: add support for TERT_TDM_RX_4 BE"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:14 +0000 (16:10 -0700)]
Merge "ASoC: msm: add support for TERT_TDM_RX_4 BE"

7 years agoMerge "ASoC: codecs: Fix mbhc data NULL pointer dereferencing"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:14 +0000 (16:10 -0700)]
Merge "ASoC: codecs: Fix mbhc data NULL pointer dereferencing"

7 years agoMerge "dma-mapping: add the missing functions to dma_map_ops"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:13 +0000 (16:10 -0700)]
Merge "dma-mapping: add the missing functions to dma_map_ops"

7 years agoMerge "dma-mapping: add i/o coherency support for 32bit"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:12 +0000 (16:10 -0700)]
Merge "dma-mapping: add i/o coherency support for 32bit"

7 years agoMerge "drm/msm: Re-trigger preemption upon command completion"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:11 +0000 (16:10 -0700)]
Merge "drm/msm: Re-trigger preemption upon command completion"

7 years agoMerge "msm: vidc: Update QP control values"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:11 +0000 (16:10 -0700)]
Merge "msm: vidc: Update QP control values"

7 years agoMerge "ARM: dts: msm: Add RRADC die-temp channel for PM660 FG"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:09 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: Add RRADC die-temp channel for PM660 FG"

7 years agoMerge "drm/msm: add HDMI debugfs support to show edid modes"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:05 +0000 (16:10 -0700)]
Merge "drm/msm: add HDMI debugfs support to show edid modes"

7 years agoMerge "drm/msm: Add DRM EDID parser for external displays"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:05 +0000 (16:10 -0700)]
Merge "drm/msm: Add DRM EDID parser for external displays"