OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "msm: camera: fix Information leak"
Linux Build Service Account [Thu, 19 Jan 2017 07:48:35 +0000 (23:48 -0800)]
Merge "msm: camera: fix Information leak"

7 years agoMerge "perf: Fix NULL pointer ref in exclude_idle update"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:23 +0000 (14:23 -0800)]
Merge "perf: Fix NULL pointer ref in exclude_idle update"

7 years agoMerge "ARM: dts: msm: Set correct voltage for QRD8998HB touch panel"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:22 +0000 (14:23 -0800)]
Merge "ARM: dts: msm: Set correct voltage for QRD8998HB touch panel"

7 years agoMerge "ARM: dts: msm: modify dcc ram size for sdm660"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:21 +0000 (14:23 -0800)]
Merge "ARM: dts: msm: modify dcc ram size for sdm660"

7 years agoMerge "mac80211: allow passing transmitter station on RX"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:21 +0000 (14:23 -0800)]
Merge "mac80211: allow passing transmitter station on RX"

7 years agoMerge "clk: qcom: Add support for 19.2Mhz for USB30 utmi clock"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:20 +0000 (14:23 -0800)]
Merge "clk: qcom: Add support for 19.2Mhz for USB30 utmi clock"

7 years agoMerge "defconfig: msm: Enable MSM_TIMER_LEAP for sdm660"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:19 +0000 (14:23 -0800)]
Merge "defconfig: msm: Enable MSM_TIMER_LEAP for sdm660"

7 years agoMerge "msm: ipa: Prevent multiple header deletion from user space"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:18 +0000 (14:23 -0800)]
Merge "msm: ipa: Prevent multiple header deletion from user space"

7 years agoMerge "qcom-charger: smb2: suspend USB path for fake battery or debug board"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:17 +0000 (14:23 -0800)]
Merge "qcom-charger: smb2: suspend USB path for fake battery or debug board"

7 years agoMerge "clk: qcom: Move prepare_enable of XO clock before spinlock"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:16 +0000 (14:23 -0800)]
Merge "clk: qcom: Move prepare_enable of XO clock before spinlock"

7 years agoMerge "clk: qcom: Remove few graphics clock for sdm660"
Linux Build Service Account [Wed, 18 Jan 2017 22:23:15 +0000 (14:23 -0800)]
Merge "clk: qcom: Remove few graphics clock for sdm660"

7 years agodefconfig: msm: Enable MSM_TIMER_LEAP for sdm660
Venkatesh Yadav Abbarapu [Mon, 16 Jan 2017 10:09:54 +0000 (15:39 +0530)]
defconfig: msm: Enable MSM_TIMER_LEAP for sdm660

Enable MSM_TIMER_LEAP config flag in both sdm660_defconfig
and sdm660-perf_defconfig files. This option enables check
for architecture timer leaps, when all least significant 32bits
of CNTVCT or CNTPCT counter is set and rereads counters.

Change-Id: I643fad053b560e689c9ffd00e1f02790435a9e8c
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoMerge "clk: qcom: Add support for GPLL0 active clock for CPU"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:24 +0000 (05:31 -0800)]
Merge "clk: qcom: Add support for GPLL0 active clock for CPU"

7 years agoMerge "clk: qcom: Add support for multiple PLL software instances"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:24 +0000 (05:31 -0800)]
Merge "clk: qcom: Add support for multiple PLL software instances"

7 years agoMerge "qpnp-fg-gen3: remove support for configuring external sense"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:22 +0000 (05:31 -0800)]
Merge "qpnp-fg-gen3: remove support for configuring external sense"

7 years agoMerge "power_supply: add power supply property to support debug battery"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:22 +0000 (05:31 -0800)]
Merge "power_supply: add power supply property to support debug battery"

7 years agoMerge "USB: gadget: mbim: Avoid copying uninitialized data to userspace"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:21 +0000 (05:31 -0800)]
Merge "USB: gadget: mbim: Avoid copying uninitialized data to userspace"

7 years agoMerge "diag: Change CDSP socket instance id"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:19 +0000 (05:31 -0800)]
Merge "diag: Change CDSP socket instance id"

7 years agoMerge "arm64: Disable ARMv8.1, ARMv8.2 architectural features"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:18 +0000 (05:31 -0800)]
Merge "arm64: Disable ARMv8.1, ARMv8.2 architectural features"

7 years agoMerge "ARM: dts: msm: Update memory map for msm8998"
Linux Build Service Account [Wed, 18 Jan 2017 13:31:18 +0000 (05:31 -0800)]
Merge "ARM: dts: msm: Update memory map for msm8998"

7 years agoARM: dts: msm: modify dcc ram size for sdm660
Amey Telawane [Wed, 18 Jan 2017 10:38:00 +0000 (16:08 +0530)]
ARM: dts: msm: modify dcc ram size for sdm660

Modify DCC RAM size for sdm660. DCC RAM is used to
store captured information locally in DCC.

CRs-fixed: 1112955
Change-Id: I6c1a48e11c97be31c575aa9ec4cf024dc4a33fa8
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
7 years agomac80211: allow passing transmitter station on RX
Johannes Berg [Thu, 31 Mar 2016 17:02:02 +0000 (20:02 +0300)]
mac80211: allow passing transmitter station on RX

Sometimes drivers already looked up, or know out-of-band
from their device, which station transmitted a given RX
frame. Allow them to pass the station pointer to mac80211
to save the extra lookup.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: d63b548fffdbd239a5e65bb89424be19229048ba
CRs-Fixed: 1112914
[rsirasan@codeaurora.org: pulled changes only in kernel header
file and mac80211 subsystem]
Change-Id: Ie35906d1e9df1ebe7f72e7a6df3293117abdec57
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agomsm: ipa: Prevent multiple header deletion from user space
Ghanim Fodi [Thu, 12 Jan 2017 13:14:15 +0000 (15:14 +0200)]
msm: ipa: Prevent multiple header deletion from user space

An IPA header or processing context can be added once
and later deleted once from user space.
Multiple deletion may cause invalid state of the headers
software cache.

Change-Id: Ic0b8472b7fd8a76233a007d90c832af726184574
CRs-fixed: 1097714
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoclk: qcom: Add support for 19.2Mhz for USB30 utmi clock
Taniya Das [Wed, 18 Jan 2017 08:31:49 +0000 (14:01 +0530)]
clk: qcom: Add support for 19.2Mhz for USB30 utmi clock

USB client needs 19.2MHz frequency support for utmi clock, so that it could
be requested for. Add support for the same.

Change-Id: Icdbf9c5155bdd0ec02d357182d6e020c06a70648
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: Set correct voltage for QRD8998HB touch panel
Jin Fu [Tue, 17 Jan 2017 09:12:22 +0000 (17:12 +0800)]
ARM: dts: msm: Set correct voltage for QRD8998HB touch panel

Configure QRD8998HB analog and digital voltage to correct value.

CRs-Fixed: 1112314
Change-Id: I15d26582a87c9613c2ada010912b53e15e383b18
Signed-off-by: Jin Fu <jinf@codeaurora.org>
7 years agoqcom-charger: smb2: suspend USB path for fake battery or debug board
Ashay Jaiswal [Thu, 12 Jan 2017 16:08:29 +0000 (21:38 +0530)]
qcom-charger: smb2: suspend USB path for fake battery or debug board

Add support to identify fake battery/debug board and suspend the USB
input path when this is detected.

CRs-Fixed: 1107245
Change-Id: Icaa936e4e5b3c9381bc92b6664b32547a820b9c3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agopower_supply: add power supply property to support debug battery
Ashay Jaiswal [Thu, 5 Jan 2017 14:24:08 +0000 (19:54 +0530)]
power_supply: add power supply property to support debug battery

Add power supply property to report debug/fake battery status.

CRs-Fixed: 1107245
Change-Id: I5590a772604986de8eed1c8417411dac62668440
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoclk: qcom: Remove few graphics clock for sdm660
Taniya Das [Mon, 16 Jan 2017 11:36:29 +0000 (17:06 +0530)]
clk: qcom: Remove few graphics clock for sdm660

The gcc_gpu_bimc_gfx_src_clk and gcc_gpu_snoc_dvm_gfx_clk need
to left at their default state of ON. Remove controlling them
from the linux clock driver to avoid disabling them during
late_init.

Change-Id: Iefc033998bf87fcc98dfaa1b7321d9cc33dedd5e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: Move prepare_enable of XO clock before spinlock
Taniya Das [Tue, 17 Jan 2017 10:23:08 +0000 (15:53 +0530)]
clk: qcom: Move prepare_enable of XO clock before spinlock

clk_prepare would hold a mutex and as clk_debug_mux_measure_rate has
already acquired a spinlock it would result in a BUG from sleeping context.
Avoid this by moving the prepare_enable before acquiring spinlock.

Change-Id: Ia405c884663ef80e87ae066df09f1c30134faf2e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoMerge "scsi: ufs: handle auto hibern8 failure"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:29 +0000 (17:18 -0800)]
Merge "scsi: ufs: handle auto hibern8 failure"

7 years agoMerge "ASoC: Audio bringup fixes for SDM660"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:28 +0000 (17:18 -0800)]
Merge "ASoC: Audio bringup fixes for SDM660"

7 years agoMerge "wil6210: set dma mask to reflect device capability"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:27 +0000 (17:18 -0800)]
Merge "wil6210: set dma mask to reflect device capability"

7 years agoMerge "ARM: dts: msm: Disable IPA in SDA630"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:26 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: Disable IPA in SDA630"

7 years agoMerge "HID: uhid: Remove mutex_unlock while waiting"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:25 +0000 (17:18 -0800)]
Merge "HID: uhid: Remove mutex_unlock while waiting"

7 years agoMerge "msm: ipa: Enable 2x fast clock"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:24 +0000 (17:18 -0800)]
Merge "msm: ipa: Enable 2x fast clock"

7 years agoMerge "ARM: dts: msm: add qpdi support for sdm660"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:24 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: add qpdi support for sdm660"

7 years agoMerge "ARM: dts: msm: fix vsync gpio pinctrl functionality for sdm660"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:23 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: fix vsync gpio pinctrl functionality for sdm660"

7 years agoMerge "msm: kgsl: Enable HW clockgating and preemption for SDM660 GPU"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:22 +0000 (17:18 -0800)]
Merge "msm: kgsl: Enable HW clockgating and preemption for SDM660 GPU"

7 years agoMerge "qcom-charger: smb-lib: fix return of an uninitialized variable"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:21 +0000 (17:18 -0800)]
Merge "qcom-charger: smb-lib: fix return of an uninitialized variable"

7 years agoMerge "qcom-charger: qpnp-fg: fix oob array access and uninitialized return"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:20 +0000 (17:18 -0800)]
Merge "qcom-charger: qpnp-fg: fix oob array access and uninitialized return"

7 years agoMerge "qcom-charger: msm_bcl: fix out of bounds array access"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:20 +0000 (17:18 -0800)]
Merge "qcom-charger: msm_bcl: fix out of bounds array access"

7 years agoMerge "ARM: dts: msm: Update resource names for CX / MX regulators on PM660L"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:19 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: Update resource names for CX / MX regulators on PM660L"

7 years agoMerge "ARM: dts: msm: Add QRD SDM630 EVT2 SKU1 dts file"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:18 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: Add QRD SDM630 EVT2 SKU1 dts file"

7 years agoMerge "soc: qcom: pil: Fix kernel pointer leak"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:17 +0000 (17:18 -0800)]
Merge "soc: qcom: pil: Fix kernel pointer leak"

7 years agoMerge "workqueue: fix possible livelock with concurrent mod_delayed_work()"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:16 +0000 (17:18 -0800)]
Merge "workqueue: fix possible livelock with concurrent mod_delayed_work()"

7 years agoMerge "msm: isp: Fix duplicate overflow requests"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:16 +0000 (17:18 -0800)]
Merge "msm: isp: Fix duplicate overflow requests"

7 years agoMerge "mac80211: discard multicast and 4-addr A-MSDUs"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:15 +0000 (17:18 -0800)]
Merge "mac80211: discard multicast and 4-addr A-MSDUs"

7 years agoMerge "mac80211: allow drivers to report (non-)monitor frames"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:14 +0000 (17:18 -0800)]
Merge "mac80211: allow drivers to report (non-)monitor frames"

7 years agoMerge "mac80211: expose txq queue depth and size to drivers"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:13 +0000 (17:18 -0800)]
Merge "mac80211: expose txq queue depth and size to drivers"

7 years agoMerge "msm: camera: jpegdma: Fix incorrect buffer struct size"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:12 +0000 (17:18 -0800)]
Merge "msm: camera: jpegdma: Fix incorrect buffer struct size"

7 years agoMerge "msm: isp: Prevents interrupt storm on ISPIF overflow."
Linux Build Service Account [Wed, 18 Jan 2017 01:18:11 +0000 (17:18 -0800)]
Merge "msm: isp: Prevents interrupt storm on ISPIF overflow."

7 years agoMerge "soc: qcom: secure_buffer: Fix memory leak"
Linux Build Service Account [Wed, 18 Jan 2017 01:18:11 +0000 (17:18 -0800)]
Merge "soc: qcom: secure_buffer: Fix memory leak"

7 years agoarm64: Disable ARMv8.1, ARMv8.2 architectural features
Prasad Sodagudi [Tue, 17 Jan 2017 02:09:28 +0000 (18:09 -0800)]
arm64: Disable ARMv8.1, ARMv8.2 architectural features

Some of the ARMv8.1, ARMv8.2 architectural features(ARM64_HW_AFDBM,
ARM64_PAN and ARM64_UAO) are enabled by default. Do not enable
these features by default, so that target specific defconfig
files can enable or disable based on features supported.

Change-Id: I072216927c3475169156a3d51f20d06675630ab9
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agoqpnp-fg-gen3: remove support for configuring external sense
Subbaraman Narayanamurthy [Thu, 5 Jan 2017 18:59:03 +0000 (10:59 -0800)]
qpnp-fg-gen3: remove support for configuring external sense

External sense configuration is not supported. Hence remove it.

Change-Id: If65eb8c4d9720d4c4e9d913c91c8b33f420f29d1
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agopower: align qcom drivers with msm-4.9 kernel
Nicholas Troast [Tue, 10 Jan 2017 17:56:57 +0000 (09:56 -0800)]
power: align qcom drivers with msm-4.9 kernel

The power directory structure has changed in kernel version 4.9. Align
msm-4.4 with this new directory structure.

Change-Id: Iba729f8ef33245ea78cdc05276ba8f5593191509
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoqcom-charger: smb-lib: fix return of an uninitialized variable
Nicholas Troast [Mon, 16 Jan 2017 19:18:38 +0000 (11:18 -0800)]
qcom-charger: smb-lib: fix return of an uninitialized variable

rc could be returned without being initialized. Initialize it.

Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I044f74c7853e6853ae41734a95a4d86569c60457

7 years agoqcom-charger: qpnp-fg: fix oob array access and uninitialized return
Nicholas Troast [Mon, 16 Jan 2017 19:08:07 +0000 (11:08 -0800)]
qcom-charger: qpnp-fg: fix oob array access and uninitialized return

pos is incremented by bytes_read which could exceed the boundary of
kbuf. Fix this by checking the bounds of pos.

resched_ms is used when uninitialized. Initialize it.

Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I3a01d59bb5ed53666307a5210a684c7d9fd654fc

7 years agoqcom-charger: msm_bcl: fix out of bounds array access
Nicholas Troast [Mon, 16 Jan 2017 18:23:56 +0000 (10:23 -0800)]
qcom-charger: msm_bcl: fix out of bounds array access

param_type is used for array access before the boundary check. Check the
boundary before using param_type.

Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I3d1fb4ada3182c533e5b937717962dc513837e78

7 years agoHID: uhid: Remove mutex_unlock while waiting
Hemant Gupta [Tue, 17 Jan 2017 10:25:16 +0000 (15:55 +0530)]
HID: uhid: Remove mutex_unlock while waiting

Because of recently introduced kernel change, previous change to
unlock mutex is not required as HID device addition is now done in
worker thread instead of main thread. Previous code flow was blocking
as uhid_hid_set_report was called from main thread which is not the
case now. Previous code flow was
uhid_char_write->uhid_dev_create2->uhid_hid_raw_request->
uhid_hid_set_report->__uhid_report_queue_and_wait->
wait_event_interruptible_timeout which is now changed to
uhid_char_write->uhid_dev_create2.

CRs-Fixed: 1112380
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
Change-Id: I11c3e5628484739acc208deff84a82f34b1b7beb

7 years agoASoC: Audio bringup fixes for SDM660
Laxminath Kasam [Sun, 15 Jan 2017 14:30:11 +0000 (20:00 +0530)]
ASoC: Audio bringup fixes for SDM660

Update fixes for SDM660 external and internal
codec variants from audio.

Change-Id: Id2a05700e96f4670181d510d6bce7bccc2919bfc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agowil6210: set dma mask to reflect device capability
Hamad Kadmany [Tue, 17 Jan 2017 14:48:25 +0000 (16:48 +0200)]
wil6210: set dma mask to reflect device capability

11ad device supports 48 bit addresses, reflect that
by setting the dma mask accordingly to be able to
map skbs using 48 bits.

HW has limitation that all vrings should share the same
msb bits out of the 48 bits address. To overcome that,
for vrings mapping use 32 bit addresses only.

Change-Id: I7f710129ba61356f7f29ec69c885f60a31246151
CRs-Fixed: 1109659
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
7 years agoARM: dts: msm: Disable IPA in SDA630
Utkarsh Saxena [Tue, 17 Jan 2017 13:43:43 +0000 (19:13 +0530)]
ARM: dts: msm: Disable IPA in SDA630

IPA needs to be kept disabled in SDA630 APQ platform.

Change-Id: I26831c989edee3f94f6cbafbb9955d669c546442
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agomsm: ipa: Enable 2x fast clock
Utkarsh Saxena [Tue, 17 Jan 2017 12:14:26 +0000 (17:44 +0530)]
msm: ipa: Enable 2x fast clock

External gcc clock is operating in 2x,
IPA clock to be in sync up with gcc clock,
enable 2x fast clock in IPA.

Change-Id: I47dc00452c7a52c967838ee0c4db6eaf754e5ae6
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoclk: qcom: Add support for GPLL0 active clock for CPU
Taniya Das [Tue, 17 Jan 2017 12:46:55 +0000 (18:16 +0530)]
clk: qcom: Add support for GPLL0 active clock for CPU

CPU clocks would require to vote on active only instance of GPLL0, so add
the clock and also update the parent names for the CPU clocks.

Change-Id: Id8c7f76170a1cc94fe045b8ba975aaa42c4b3819
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: Add support for multiple PLL software instances
Taniya Das [Tue, 17 Jan 2017 12:40:55 +0000 (18:10 +0530)]
clk: qcom: Add support for multiple PLL software instances

There could be use cases where the PLL could support various software
instances for various peripherals or for cpu. In those cases PLL need to
support aggregation logic for the voting and devoting on the PLL.

Change-Id: Ie5148a75452dccc555989a454996b945956f94e5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: fix vsync gpio pinctrl functionality for sdm660
Sandeep Panda [Tue, 17 Jan 2017 11:06:32 +0000 (16:36 +0530)]
ARM: dts: msm: fix vsync gpio pinctrl functionality for sdm660

Fix the DSI TE vsync gpio function name for sdm660 target as
per pinctrl framework.

Change-Id: Ie411514e5ce1f1d98cb205be17f51834917bf4b5
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
7 years agoARM: dts: msm: add qpdi support for sdm660
Amey Telawane [Tue, 17 Jan 2017 09:40:41 +0000 (15:10 +0530)]
ARM: dts: msm: add qpdi support for sdm660

Add QPDI support for sdm660. QPDI is used for
PMIC debug interface through SD card slot.

CRs-fixed: 1112330
Change-Id: I265be6186f43c60e552d026fda3b71f491c61d9f
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
7 years agoARM: dts: msm: Update resource names for CX / MX regulators on PM660L
Anirudh Ghayal [Tue, 17 Jan 2017 08:31:49 +0000 (14:01 +0530)]
ARM: dts: msm: Update resource names for CX / MX regulators on PM660L

The regulator resource names for PM660L S3(CX) and PM660L S5(MX)
needs to be "rwcx" and "rwmx" respectively. Fix it.

Change-Id: I83670ad15bd53647d00d8c3c50b7d45174d7ddd1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoARM: dts: msm: Add QRD SDM630 EVT2 SKU1 dts file
Jiangen Jiao [Fri, 6 Jan 2017 09:45:37 +0000 (17:45 +0800)]
ARM: dts: msm: Add QRD SDM630 EVT2 SKU1 dts file

Add device tree support for QRD630 EVT2 SKU1 board.

Change-Id: I8cea2b9b0995905297d69951694178dccfea65f7
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
7 years agoMerge "scsi: ufs: fix deadlock between clock scaling and shutdown"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:13 +0000 (23:06 -0800)]
Merge "scsi: ufs: fix deadlock between clock scaling and shutdown"

7 years agoMerge "arm64: insn: remove BUG_ON from codegen"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:12 +0000 (23:06 -0800)]
Merge "arm64: insn: remove BUG_ON from codegen"

7 years agoMerge "ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:11 +0000 (23:06 -0800)]
Merge "ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP"

7 years agoMerge "msm: ADSPRPC: add profiling counters"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:10 +0000 (23:06 -0800)]
Merge "msm: ADSPRPC: add profiling counters"

7 years agoMerge "soc: qcom: service-notifier: fix object corruption"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:09 +0000 (23:06 -0800)]
Merge "soc: qcom: service-notifier: fix object corruption"

7 years agoMerge "sound: usb: Map interface context information to interface number"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:08 +0000 (23:06 -0800)]
Merge "sound: usb: Map interface context information to interface number"

7 years agoMerge "ARM: dts: msm: Add BCL mitigation configuration for sdm660"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:06 +0000 (23:06 -0800)]
Merge "ARM: dts: msm: Add BCL mitigation configuration for sdm660"

7 years agoMerge "ARM: dts: msm: Vote for BIMC GFX clock for SDM660 GPU"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:05 +0000 (23:06 -0800)]
Merge "ARM: dts: msm: Vote for BIMC GFX clock for SDM660 GPU"

7 years agoMerge "ARM: dts: msm: configure default CMA region for sdm660"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:04 +0000 (23:06 -0800)]
Merge "ARM: dts: msm: configure default CMA region for sdm660"

7 years agoMerge "soc: qcom: Return actual return code when piltz_resc_init fails"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:03 +0000 (23:06 -0800)]
Merge "soc: qcom: Return actual return code when piltz_resc_init fails"

7 years agoMerge "drivers: thermal: lmh_dcvs: Update Low threshold with high threshold"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:02 +0000 (23:06 -0800)]
Merge "drivers: thermal: lmh_dcvs: Update Low threshold with high threshold"

7 years agoMerge "icnss: Increase QMI timeout value"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:01 +0000 (23:06 -0800)]
Merge "icnss: Increase QMI timeout value"

7 years agoMerge "ARM: dts: msm: Enable icnss device node for SDM660"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:01 +0000 (23:06 -0800)]
Merge "ARM: dts: msm: Enable icnss device node for SDM660"

7 years agoMerge "soc: qcom: glink: Change cleanup sequence in remote close"
Linux Build Service Account [Tue, 17 Jan 2017 07:06:00 +0000 (23:06 -0800)]
Merge "soc: qcom: glink: Change cleanup sequence in remote close"

7 years agoMerge "ARM: dts: msm: Add support for msm8998 QRD SKUK EVT3 board"
Linux Build Service Account [Tue, 17 Jan 2017 07:05:59 +0000 (23:05 -0800)]
Merge "ARM: dts: msm: Add support for msm8998 QRD SKUK EVT3 board"

7 years agoMerge "seemp: use local stack mem when encoding params"
Linux Build Service Account [Tue, 17 Jan 2017 07:05:57 +0000 (23:05 -0800)]
Merge "seemp: use local stack mem when encoding params"

7 years agoMerge "msm: camera: avoid invalid memory access"
Linux Build Service Account [Tue, 17 Jan 2017 07:05:57 +0000 (23:05 -0800)]
Merge "msm: camera: avoid invalid memory access"

7 years agoARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP
Ashay Jaiswal [Mon, 16 Jan 2017 13:29:55 +0000 (18:59 +0530)]
ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP

Add battery profile information for MTP platform and configure
CDP as battery less platform.
While at it, update the slave-id for temp-alarm peripheral on
PM660L.

CRs-Fixed: 1111867
Change-Id: Ife776c32c82bb9167a413fda62798000d5174170
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agosoc: qcom: pil: Fix kernel pointer leak
Puja Gupta [Mon, 16 Jan 2017 23:56:27 +0000 (15:56 -0800)]
soc: qcom: pil: Fix kernel pointer leak

Replace WARN with pr_warn so that stack trace is not printed with the
message.

CRs-Fixed: 1111653
Change-Id: Id1c7bbe8a528199261455ba7901e9df81913aef8
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
7 years agomsm: ADSPRPC: add profiling counters
Sathish Ambley [Thu, 12 Jan 2017 00:11:01 +0000 (16:11 -0800)]
msm: ADSPRPC: add profiling counters

Added profiling counters for measuring RPC performance and
by default profiling is disabled.

Change-Id: I6a79dde638e751998ac37948f826639a161ff4a2
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agosoc: qcom: Return actual return code when piltz_resc_init fails
Kyle Yan [Fri, 6 Jan 2017 22:04:26 +0000 (14:04 -0800)]
soc: qcom: Return actual return code when piltz_resc_init fails

Propagate error code upwards when piltz_resc_init fails. Previous return
prevented probe from retrying when piltz_resc_init returns -EPROBE_DEFER.

Change-Id: I217f13eb4bff321ae1b7583f5d2614b6c9589987
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
7 years agoMerge "usb: phy: qusb2: Enable phy auto-resume"
Linux Build Service Account [Mon, 16 Jan 2017 21:29:53 +0000 (13:29 -0800)]
Merge "usb: phy: qusb2: Enable phy auto-resume"

7 years agoMerge "USB: dwc3-msm: Set speed as high speed if no speed information"
Linux Build Service Account [Mon, 16 Jan 2017 21:29:52 +0000 (13:29 -0800)]
Merge "USB: dwc3-msm: Set speed as high speed if no speed information"

7 years agoMerge "ARM: dts: msm: Add support of IPA for SDM630"
Linux Build Service Account [Mon, 16 Jan 2017 21:29:51 +0000 (13:29 -0800)]
Merge "ARM: dts: msm: Add support of IPA for SDM630"

7 years agoMerge "ARM: dts: msm: Disable IPA in SDA658/660"
Linux Build Service Account [Mon, 16 Jan 2017 21:29:51 +0000 (13:29 -0800)]
Merge "ARM: dts: msm: Disable IPA in SDA658/660"

7 years agoMerge "power: reset: fix compilation errors when dload disabled."
Linux Build Service Account [Mon, 16 Jan 2017 21:29:50 +0000 (13:29 -0800)]
Merge "power: reset: fix compilation errors when dload disabled."

7 years agoMerge "ARM: dts: msm: Update Camera CSIPHY clock for SDM660"
Linux Build Service Account [Mon, 16 Jan 2017 21:29:49 +0000 (13:29 -0800)]
Merge "ARM: dts: msm: Update Camera CSIPHY clock for SDM660"

7 years agoperf: Fix NULL pointer ref in exclude_idle update
Patrick Fay [Fri, 4 Nov 2016 00:07:16 +0000 (17:07 -0700)]
perf: Fix NULL pointer ref in exclude_idle update

Commit 573979dee2a7 ("perf: Add support for exclude_idle attribute")
registers an idle callback routine armv8pmu_idle_update. Currently
the idle update routine might be called before the pmu has allocated
all the per_cpu structures. This can result in a null pointer
reference. Change arm_pmu_device_probe to allocate the structures
via cpu_pmu_init() before the init_fn() call (which eventually does the
idle_notify_register call). Change a branch to out_free to
out_destroy as out_free doesn't cleanup what was allocated in
cpu_pmu_init(). Also have armv8pmu_idle_update check that the
structure is not null before using it.

Change-Id: Ie1198fc1783804c61467889c68656d6e8c9c9edf
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
7 years agosound: usb: Map interface context information to interface number
Hemant Kumar [Wed, 11 Jan 2017 03:26:40 +0000 (19:26 -0800)]
sound: usb: Map interface context information to interface number

Driver is dynamically allocating memory based on bNumInterface from
device configuration descriptor and stores interface context
information using bInterfaceNum. Device can advertise
bInterfaceNum >= bNumInterface which results into out of bound memory
access. Hence create a mapping between interface context index and
interface number. Use this mapping to find unused context index or
load the context information of an interface.

Change-Id: Ic99b10abe662088c2c030526135689f7c78c595a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agosoc: qcom: service-notifier: fix object corruption
Satya Durga Srinivasu Prabhala [Mon, 16 Jan 2017 18:37:08 +0000 (10:37 -0800)]
soc: qcom: service-notifier: fix object corruption

Below object corruption observed from service-notifier while executing
WLAN PDR tests. While executing WLAN PDR tests, Modem crashed, which
resulted into use after free condition. Add mutex lock to fix the issue.

   ===============================================
   BUG kmalloc-1024 (Tainted: G        W  O   ): \
                              Poison overwritten
   -----------------------------------------------

   INFO: 0xffffffc0ba5c4d30-0xffffffc0ba5c4d3a. \
                   First byte 0xff instead of 0x6b
   INFO: Allocated in qmi_handle_create+0x4c/0x320 \
                      age=80203 cpu=0 pid=27134
        alloc_debug_processing+0x124/0x178
        ___slab_alloc.constprop.62+0x4ec/0x5d0
        __slab_alloc.isra.59.constprop.61+0x48/0x74
        kmem_cache_alloc_trace+0xd4/0x25c
        qmi_handle_create+0x4c/0x320
        root_service_service_arrive+0x3c/0x1e8
        process_one_work+0x234/0x40c
        worker_thread+0x2e0/0x410
        kthread+0xf4/0xfc
        ret_from_fork+0x10/0x40
   INFO: Freed in qmi_handle_destroy+0x154/0x16c \
                              age=50 cpu=1 pid=22765
        free_debug_processing+0x27c/0x354
        __slab_free+0x74/0x3ac
        kfree+0x21c/0x290
        qmi_handle_destroy+0x154/0x16c
        root_service_service_exit+0xf0/0x110
        ssr_event_notify+0x74/0x84
        notifier_call_chain+0x58/0x8c
        __srcu_notifier_call_chain+0x9c/0xc0
        srcu_notifier_call_chain+0x38/0x44
        subsys_notif_queue_notification+0x40/0x54
        notify_each_subsys_device.isra.9+0x18c/0x1b0
        subsystem_restart_wq_func+0x2f4/0x5a8
        process_one_work+0x234/0x40c
        worker_thread+0x2e0/0x410
        kthread+0xf4/0xfc
        ret_from_fork+0x10/0x40

Change-Id: Iebc0871220547c2d6f026db1dffafe30b854b199
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agodrivers: thermal: lmh_dcvs: Update Low threshold with high threshold
Ram Chandrasekar [Fri, 13 Jan 2017 18:54:28 +0000 (11:54 -0700)]
drivers: thermal: lmh_dcvs: Update Low threshold with high threshold

LMH DCVS driver doesn't change the low threshold from HLOS. When there is
new request to lower the high threshold, the low threshold will be
modified if the new high threshold is lower than the existing low
threshold. But the low threshold is not increased when the high
threshold is moved back again.

Update the LMH DCVSh driver to always update the low threshold value
when there is a new high threshold request. The new low threshold will
be 0.5C less than the high threshold.

Change-Id: I356e47de585ae81bd27859f790f673b31ae5ba72
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>