OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "msm: msm_bus: limit max chars read by sscanf"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:32 +0000 (11:18 -0800)]
Merge "msm: msm_bus: limit max chars read by sscanf"

7 years agoMerge "soc: qcom: Initialize structure with default values"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:31 +0000 (11:18 -0800)]
Merge "soc: qcom: Initialize structure with default values"

7 years agoMerge "qseecom: whitelist support for kernel client and listener"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:30 +0000 (11:18 -0800)]
Merge "qseecom: whitelist support for kernel client and listener"

7 years agoMerge "msm: vidc: Print secure info for a session"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:27 +0000 (11:18 -0800)]
Merge "msm: vidc: Print secure info for a session"

7 years agoMerge "qpnp-smb2: force HVDCP to 5V before reboot"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:26 +0000 (11:18 -0800)]
Merge "qpnp-smb2: force HVDCP to 5V before reboot"

7 years agoMerge "ARM: dts: msm: Enable ACD on msmcobalt v2"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:23 +0000 (11:18 -0800)]
Merge "ARM: dts: msm: Enable ACD on msmcobalt v2"

7 years agoMerge "msm: kgsl: Add MEMDESC_MAPPED back to for legacy mappings"
Linux Build Service Account [Tue, 8 Nov 2016 19:18:22 +0000 (11:18 -0800)]
Merge "msm: kgsl: Add MEMDESC_MAPPED back to for legacy mappings"

7 years agoMerge "drivers: soc: implement notify_tx_abort()"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:11 +0000 (22:29 -0800)]
Merge "drivers: soc: implement notify_tx_abort()"

7 years agoMerge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:10 +0000 (22:29 -0800)]
Merge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down"

7 years agoMerge "sched/hmp: Fix memory leak when task fork fails"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:08 +0000 (22:29 -0800)]
Merge "sched/hmp: Fix memory leak when task fork fails"

7 years agoMerge "sched/hmp: Use GFP_KERNEL for top task memory allocations"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:07 +0000 (22:29 -0800)]
Merge "sched/hmp: Use GFP_KERNEL for top task memory allocations"

7 years agoMerge "coresight: set appropriate clock rate for coresight devices"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:06 +0000 (22:29 -0800)]
Merge "coresight: set appropriate clock rate for coresight devices"

7 years agoMerge "msm: ADSPRPC: Use secure session device while freeing memory"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:05 +0000 (22:29 -0800)]
Merge "msm: ADSPRPC: Use secure session device while freeing memory"

7 years agoMerge "qpnp-fg-gen3: extend profile integrity word usage"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:05 +0000 (22:29 -0800)]
Merge "qpnp-fg-gen3: extend profile integrity word usage"

7 years agoMerge "qpnp-fg-gen3: expose a fake battery SOC for debug board"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:04 +0000 (22:29 -0800)]
Merge "qpnp-fg-gen3: expose a fake battery SOC for debug board"

7 years agoMerge "ASoC: pcm: change capture_active to unsigned int"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:04 +0000 (22:29 -0800)]
Merge "ASoC: pcm: change capture_active to unsigned int"

7 years agoMerge "ARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:03 +0000 (22:29 -0800)]
Merge "ARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board"

7 years agoMerge "msm: kgsl: Allow mempools to configure from the device tree"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:02 +0000 (22:29 -0800)]
Merge "msm: kgsl: Allow mempools to configure from the device tree"

7 years agoMerge "defconfig: msm: Add support for GCC clocks"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:01 +0000 (22:29 -0800)]
Merge "defconfig: msm: Add support for GCC clocks"

7 years agoMerge "clk: qcom: gcc: Cleanup code for GCC clocks"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:01 +0000 (22:29 -0800)]
Merge "clk: qcom: gcc: Cleanup code for GCC clocks"

7 years agoMerge "soc: qcom: pil: Using devm_ioremap for mapping restart reg of modem"
Linux Build Service Account [Tue, 8 Nov 2016 06:29:00 +0000 (22:29 -0800)]
Merge "soc: qcom: pil: Using devm_ioremap for mapping restart reg of modem"

7 years agoMerge "defconfig: msm: update msmfalcon defconfigs"
Linux Build Service Account [Tue, 8 Nov 2016 06:28:59 +0000 (22:28 -0800)]
Merge "defconfig: msm: update msmfalcon defconfigs"

7 years agoMerge "ASoC: add 352800Hz into the pcm known rates"
Linux Build Service Account [Tue, 8 Nov 2016 06:28:59 +0000 (22:28 -0800)]
Merge "ASoC: add 352800Hz into the pcm known rates"

7 years agoMerge "msm: ipa: fix division by 0 for DMA pipes"
Linux Build Service Account [Tue, 8 Nov 2016 06:28:58 +0000 (22:28 -0800)]
Merge "msm: ipa: fix division by 0 for DMA pipes"

7 years agoMerge "drivers: mfd: Fix 32-bit audio compile"
Linux Build Service Account [Tue, 8 Nov 2016 06:28:57 +0000 (22:28 -0800)]
Merge "drivers: mfd: Fix 32-bit audio compile"

7 years agosched/hmp: Fix memory leak when task fork fails
Syed Rameez Mustafa [Fri, 4 Nov 2016 01:13:08 +0000 (18:13 -0700)]
sched/hmp: Fix memory leak when task fork fails

The scheduler allocates memory for the task load structures during
fork. It then relies to sched_exit() to be called to free that memory.
However, if the fork itself fails at any point after the allocation,
the memory is left unclaimed forever. Fix this memory leak by freeing
the allocated memory under error conditions.

Change-Id: I14a8290c9fcc4174ec80560e9f9d7bcdb119761f
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agosched/hmp: Use GFP_KERNEL for top task memory allocations
Syed Rameez Mustafa [Wed, 2 Nov 2016 01:13:36 +0000 (18:13 -0700)]
sched/hmp: Use GFP_KERNEL for top task memory allocations

Task load structure allocations can consume a lot of memory as the
number of tasks begin to increase. Also they might exhaust the atomic
memory pool pretty quickly if a workload starts spawning lots of
threads in a short amount of time thus increasing the possibility of
failed allocations. Move the call to init_new_task_load() outside
atomic context and start using GFP_KERNEL for allocations. There is
no need for this allocation to be in atomic context.

Change-Id: I357772e10bf8958804d9cd0c78eda27139054b21
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agosched/hmp: Use improved information for frequency notifications
Syed Rameez Mustafa [Wed, 2 Nov 2016 00:30:20 +0000 (17:30 -0700)]
sched/hmp: Use improved information for frequency notifications

Recent changes to scheduler guided frequency have started reporting
the maximum of the cpu load and the load of the top task on a CPU
to the governor. Use the same information to determine whether a
notification is necessary or not.

Change-Id: I1928c6cd0509952443a912ef54e0d72d5f75955d
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agosched/hmp: Remove capping when reporting load to the cpufreq governor
Syed Rameez Mustafa [Wed, 2 Nov 2016 00:34:01 +0000 (17:34 -0700)]
sched/hmp: Remove capping when reporting load to the cpufreq governor

Capping load when reporting to the governor was important prior to new
scheduler guided frequency changes as intra-cluster migrations would
sometimes lead to CPU loads well in excess of 100%. With the new top
task approach however, load greater than 100% is no longer possible
except for the same conditions that were previously exempted (i.e.
inter-cluster migrations and frequency aggregation).

Change-Id: I3e4f5e39ec9ae7eeaba9a567efd245a7aec1b7ad
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agoqpnp-fg-gen3: extend profile integrity word usage
Subbaraman Narayanamurthy [Thu, 27 Oct 2016 01:12:10 +0000 (18:12 -0700)]
qpnp-fg-gen3: extend profile integrity word usage

Currently, profile integrity register is using only bit 0 to
indicate whether the profile is loaded or not. Now that the
profile can be loaded and/or fuel gauge can be restarted by the
bootloader, extend the usage of that word by using other bits
to provide more information. This is to aid the debugging.

Change-Id: Ib04ab10998de2f57b05cd976c3e9c8a1e2f4c574
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqpnp-fg-gen3: expose a fake battery SOC for debug board
Subbaraman Narayanamurthy [Thu, 3 Nov 2016 19:02:52 +0000 (12:02 -0700)]
qpnp-fg-gen3: expose a fake battery SOC for debug board

When a debug board is present, battery ID will be something like
7 Kohms. Expose a fake battery SOC when this is detected. This
will help avoiding the device shutdown if a low battery voltage
is seen by FG and state of charge goes to 0.

Change-Id: I750b2adfb00f12960f74bd552a5896f66ecaece6
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqpnp-smb2: force HVDCP to 5V before reboot
Nicholas Troast [Fri, 28 Oct 2016 18:02:03 +0000 (11:02 -0700)]
qpnp-smb2: force HVDCP to 5V before reboot

When the MSM resets the USB data lines are pulled low. If an HVDCP adapter
is attached and operating at >5V, and the phone reboots then the HVDCP
adapter will be in a bad state and the USB input will be suspended. Fix
this by forcing the HVDCP adapter to 5V in the shutdown path.

Change-Id: I953d42418f90398bd4248f8b761cf63943ce5532
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agomsm: ADSPRPC: Use secure session device while freeing memory
Sathish Ambley [Mon, 7 Nov 2016 18:11:51 +0000 (10:11 -0800)]
msm: ADSPRPC: Use secure session device while freeing memory

Make sure that the secure session device is used while freeing the
buffer that was allocated from secure memory.

Change-Id: I07802c21c661fe18fb2fda70980b04f646408d7d
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agodefconfig: msm: Add support for GCC clocks
Taniya Das [Mon, 7 Nov 2016 09:13:40 +0000 (14:43 +0530)]
defconfig: msm: Add support for GCC clocks

GCC clock controller is required to be enabled for all peripheral clocks
supported by global clock controller.

Change-Id: I11c6cc7f09b403a09bdf65a14f7b9d327c5d9613
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: gcc: Cleanup code for GCC clocks
Taniya Das [Mon, 7 Nov 2016 09:07:39 +0000 (14:37 +0530)]
clk: qcom: gcc: Cleanup code for GCC clocks

The fmax & num_fmax have been updated to reflect the new variable names and
also fall back to branch clocks clock_ops for hardware branch clocks for
now until the new ops are available.

Change-Id: I8b86ebbabe37bb86bd20eafe9501c4677f21a553
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agomsm: kgsl: Allow mempools to configure from the device tree
Hareesh Gundu [Fri, 21 Oct 2016 14:11:24 +0000 (19:41 +0530)]
msm: kgsl: Allow mempools to configure from the device tree

Add driver support to configure mempools from the device tree.
This will enable mempools to configure per device specific and
reduces the high kgsl memory usage based on configuration.

CRs-Fixed: 1064046
Change-Id: I0a7e36b7e1fef9d42a4c0fe33d69a4debf15af2f
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agosoc: qcom: pil: Using devm_ioremap for mapping restart reg of modem
Gaurav Kohli [Thu, 20 Oct 2016 09:17:53 +0000 (14:47 +0530)]
soc: qcom: pil: Using devm_ioremap for mapping restart reg of modem

GCC region has been mapped by regmap instead of devm_ioremap_resource.
So to map modem restart register which is part of gcc region requires
devm_ioremap otherwise mapping error occurs.

Change-Id: I1d97d8ef831e3a91df47eebf22e1156d0a3712ae
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agodefconfig: msm: update msmfalcon defconfigs
Neeraj Upadhyay [Fri, 28 Oct 2016 10:32:01 +0000 (16:02 +0530)]
defconfig: msm: update msmfalcon defconfigs

Bring in updates from msmcortex defconfigs to msmfalcon's.

Change-Id: Iedbae0d4738c7badf3d4faf60f43e8c8bdab51e1
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agoASoC: pcm: change capture_active to unsigned int
Walter Yang [Fri, 4 Nov 2016 13:48:03 +0000 (21:48 +0800)]
ASoC: pcm: change capture_active to unsigned int

In combo usecase there are 2 front-end dai's with
same codec dai, for example, multi-phrase ADSP SVA detection.
Using a single bit as the counter causes the counter to roll
over to 0 during combo usecase.
To resolve this, change counter to unsigned int from single bit.

CRs-Fixed: 1086127
Change-Id: I2dd07bd967b7d4fb4878b6d65bd0f011c6b15bdd
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
7 years agoMerge "msm: kgsl: Fix potential device NULL pointer dereferences"
Linux Build Service Account [Sat, 5 Nov 2016 14:35:32 +0000 (07:35 -0700)]
Merge "msm: kgsl: Fix potential device NULL pointer dereferences"

7 years agoMerge "ARM: dts: msm: update ICNSS DT node for msmcobalt interposer"
Linux Build Service Account [Sat, 5 Nov 2016 14:35:30 +0000 (07:35 -0700)]
Merge "ARM: dts: msm: update ICNSS DT node for msmcobalt interposer"

7 years agoMerge "ARM: dts: msm: update bus bandwidth vote for msmcobalt ufs"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:11 +0000 (22:22 -0700)]
Merge "ARM: dts: msm: update bus bandwidth vote for msmcobalt ufs"

7 years agoMerge "sched: prevent race between disable window statistics and task grouping"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:10 +0000 (22:22 -0700)]
Merge "sched: prevent race between disable window statistics and task grouping"

7 years agoMerge "regulator: cprh-kbss-regulator: update temp sensor ID for msmcobalt"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:09 +0000 (22:22 -0700)]
Merge "regulator: cprh-kbss-regulator: update temp sensor ID for msmcobalt"

7 years agoMerge "ARM: dts: msm: Add ADC nodes for pmfalcon"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:08 +0000 (22:22 -0700)]
Merge "ARM: dts: msm: Add ADC nodes for pmfalcon"

7 years agoMerge "diag: Fix race condition while closing SMD"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:07 +0000 (22:22 -0700)]
Merge "diag: Fix race condition while closing SMD"

7 years agoMerge "diag: Add mutex protection while closing SMD"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:06 +0000 (22:22 -0700)]
Merge "diag: Add mutex protection while closing SMD"

7 years agoMerge "msm: ext_display: update hpd and notify logic"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:03 +0000 (22:22 -0700)]
Merge "msm: ext_display: update hpd and notify logic"

7 years agoMerge "ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:02 +0000 (22:22 -0700)]
Merge "ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets"

7 years agoMerge "Merge remote-tracking branch 'msm4.4/tmp-da9a92f' into msm-4.4"
Linux Build Service Account [Sat, 5 Nov 2016 05:22:01 +0000 (22:22 -0700)]
Merge "Merge remote-tracking branch 'msm4.4/tmp-da9a92f' into msm-4.4"

7 years agomsm: kgsl: Fix potential device NULL pointer dereferences
Hareesh Gundu [Fri, 30 Sep 2016 09:30:32 +0000 (15:00 +0530)]
msm: kgsl: Fix potential device NULL pointer dereferences

Ensure that device pointer isn't NULL before using it in
kgsl_snapshot_save_frozen_objs().

Change-Id: I676dfa5567b1d09427e3e7691045fabc71b53d43
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agosched: prevent race between disable window statistics and task grouping
Joonwoo Park [Fri, 4 Nov 2016 00:26:32 +0000 (17:26 -0700)]
sched: prevent race between disable window statistics and task grouping

Change of colocation group requires to finish CPU busy time accounting
prior to its operation by calling update_task_ravg().  However when
window statistics accounting is disabled, update_task_ravg() acts as
nop and results in incorrect CPU time accounting.

Disallow colocation group change while window statistics accounting is
disabled in order to prevent race between reset_all_window_stats() and
colocation grouping functions.

Change-Id: I6dfa20b8d8b0ae7ccc94119bf9cf14c5e11a1cf7
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
7 years agoARM: dts: msm: update bus bandwidth vote for msmcobalt ufs
Venkat Gopalakrishnan [Tue, 25 Oct 2016 23:22:04 +0000 (16:22 -0700)]
ARM: dts: msm: update bus bandwidth vote for msmcobalt ufs

The bandwidth vote determines the bus throughput needed for a
given running UFS gear frequency. For high throughput use cases
the current interface speed based votes may not be sufficient to
achieve peak user level throughput, as it doesn't count for other
system level latencies in the data path. Hence vote higher but
making sure the system stays in nominal voltage corner.

Change-Id: I95cda7e33288df7099826b37c2f436c5a33792e8
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
7 years agomsm: ipa: fix division by 0 for DMA pipes
Skylar Chang [Tue, 1 Nov 2016 23:48:30 +0000 (16:48 -0700)]
msm: ipa: fix division by 0 for DMA pipes

For DMA pipes, bufer size is 0. This commit fixes a
division by 0 in kernel when connecting DMA pipes.

Change-Id: I11551594e5115e71aa116cc7238953205a4118c3
CRs-Fixed: 1085266
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoARM: dts: msm: Add ADC nodes for pmfalcon
Sriharsha Allenki [Fri, 7 Oct 2016 13:14:09 +0000 (18:44 +0530)]
ARM: dts: msm: Add ADC nodes for pmfalcon

Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Round robin ADC (RRADC)
provides clients ability to read supported channels from
PMfalcon RRADC such as battery ID, battery thermistors,
DCIN and USBIN voltage and current. Add the supported VADC,
BTM and RR ADC channels for the msmfalcon platforms.

Change-Id: I1b8bf9762642e0af73d7ac7fa51c974b93fd4b31
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
7 years agoASoC: add 352800Hz into the pcm known rates
Walter Yang [Fri, 4 Nov 2016 06:21:01 +0000 (14:21 +0800)]
ASoC: add 352800Hz into the pcm known rates

Add 352800Hz into pcm known rates to match with the sound
sample rate macro definitions.

CRs-Fixed: 1082850
Change-Id: Iedd78288f71ddcaa9fcb2f63bd3b73be2c0006dd
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
7 years agoARM: dts: msm: update ICNSS DT node for msmcobalt interposer
Sarada Prasanna Garnayak [Thu, 3 Nov 2016 09:24:19 +0000 (14:54 +0530)]
ARM: dts: msm: update ICNSS DT node for msmcobalt interposer

The msmcobalt interposer target has interposed with pm_falcon pmic.
Remove the pm_cobalt regulator handler reference, clock and smmu
memory address and offset from the ICNSS DT node. Allow ICNSS DT
node compilation for msmcobalt interposer target.

CRs-Fixed: 1085547
Change-Id: I4aa1b9876bf1afd9b895d89dc5c4323ba3a3f661
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agomsm: msm_bus: limit max chars read by sscanf
David Dai [Thu, 3 Nov 2016 22:00:43 +0000 (15:00 -0700)]
msm: msm_bus: limit max chars read by sscanf

Current bus_floor_vote_store_api does not limit/check
the size of the string in input, allowing stack overflow.
Specify the max number of characters read allowable to
the size of destination buffer.

CRs-Fixed: 1050455
Change-Id: Idd409e3e38cfb01b28fa24543112d6bb206314ff
Signed-off-by: David Dai <daidavid1@codeaurora.org>
7 years agoASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets
Vidyakumar Athota [Thu, 3 Nov 2016 21:12:37 +0000 (14:12 -0700)]
ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets

Ignore suspend flag is not set for "MAD_CPE" out widgets, causing
device not to go into suspend state during voice activation. Set
ignore suspend flag to allow suspend during SVA use case.

Change-Id: I18b7cb311e793c820da10990c47f472f7a0d0944
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
7 years agoASoC: msm: q6dspv2: wake up tasks when ADSP goes down
Banajit Goswami [Wed, 2 Nov 2016 19:55:27 +0000 (12:55 -0700)]
ASoC: msm: q6dspv2: wake up tasks when ADSP goes down

When ADSP goes down, all tasks waiting for response from
ADSP should be woken up, so that the upper layers can
proceed with the clean up. Change adds code to wake up
tasks, waiting for response from ADSP for memory related
commands, when ADSP sub-system notifier reaches ASM driver.

CRs-Fixed: 1085631
Change-Id: I0eed467aec676dd6eba71bf08aa4a45ada90133b
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
7 years agosoc: qcom: Initialize structure with default values
Puja Gupta [Thu, 3 Nov 2016 18:35:56 +0000 (11:35 -0700)]
soc: qcom: Initialize structure with default values

There is possibility for use of uninitialized variable. Hence initialize
the structure with default values.
Also fix couple of other debug logs.

CRs-Fixed: 1078904
Change-Id: I32abceba2d55c95bdb8e9b6463a39d29fb3bc7c7
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
7 years agodrivers: soc: implement notify_tx_abort()
Shiv Maliyappanahalli [Tue, 1 Nov 2016 22:17:17 +0000 (15:17 -0700)]
drivers: soc: implement notify_tx_abort()

The glink buffers used to send commands to adsp using
glink_tx() will be freed by glink using notify_tx_abort()
during remote subsystem restart. Implement notify_tx_abort()
so that the buffers can be reclaimed by APR.

Change-Id: Ibc9ce23d4ba15d0e3faa9db3e760965a7439aed8
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
7 years agoqseecom: whitelist support for kernel client and listener
Zhen Kong [Sat, 3 Sep 2016 05:09:23 +0000 (22:09 -0700)]
qseecom: whitelist support for kernel client and listener

-- Add whitelist support for listener to send modified resp to TZ;
-- support whitelist for kernel client;
-- Change the method to check whitelist feature.

Change-Id: I0030b0008d6224cda3fdc1f80308a7e9bcfe4405
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agodrivers: mfd: Fix 32-bit audio compile
Laxminath Kasam [Thu, 3 Nov 2016 15:54:25 +0000 (21:24 +0530)]
drivers: mfd: Fix 32-bit audio compile

Add header in utils to resolve compile
issue in 32-bit mode.

Change-Id: I542b9fe014cff5a4b944eaab6034bfdb3e63a087
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoMerge "usb: pd: Avoid calling SVID disconnect if not previously connected"
Linux Build Service Account [Thu, 3 Nov 2016 13:24:06 +0000 (06:24 -0700)]
Merge "usb: pd: Avoid calling SVID disconnect if not previously connected"

7 years agoMerge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp"
Linux Build Service Account [Thu, 3 Nov 2016 13:24:05 +0000 (06:24 -0700)]
Merge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp"

7 years agoMerge "drivers: qcom: ultrasound: Lock async driver calls"
Linux Build Service Account [Thu, 3 Nov 2016 13:24:02 +0000 (06:24 -0700)]
Merge "drivers: qcom: ultrasound: Lock async driver calls"

7 years agoMerge "drivers: soc: Add new parameters for APR IPC logging"
Linux Build Service Account [Thu, 3 Nov 2016 13:24:01 +0000 (06:24 -0700)]
Merge "drivers: soc: Add new parameters for APR IPC logging"

7 years agoMerge "ASoC: msm: qdsp6v2: Change audio drivers to use %pK"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:59 +0000 (06:23 -0700)]
Merge "ASoC: msm: qdsp6v2: Change audio drivers to use %pK"

7 years agoMerge "ASoC: wcd934x: Update OCP connection attempts"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:58 +0000 (06:23 -0700)]
Merge "ASoC: wcd934x: Update OCP connection attempts"

7 years agoMerge "clk: Add support to vote to regulator framework from clk framework"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:57 +0000 (06:23 -0700)]
Merge "clk: Add support to vote to regulator framework from clk framework"

7 years agoMerge "ASoC: msmcobalt: Initialize variable to default value"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:56 +0000 (06:23 -0700)]
Merge "ASoC: msmcobalt: Initialize variable to default value"

7 years agoMerge "ASoC: msm: qdsp6v2: Index check for out of range"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:55 +0000 (06:23 -0700)]
Merge "ASoC: msm: qdsp6v2: Index check for out of range"

7 years agoMerge "msm: camera: isp: Fix reset sequence on stop"
Linux Build Service Account [Thu, 3 Nov 2016 13:23:54 +0000 (06:23 -0700)]
Merge "msm: camera: isp: Fix reset sequence on stop"

7 years agoARM: dts: msm: add PMFALCON/PM2FALCON devices for msmcobalt interposer
Ashay Jaiswal [Fri, 28 Oct 2016 09:30:14 +0000 (15:00 +0530)]
ARM: dts: msm: add PMFALCON/PM2FALCON devices for msmcobalt interposer

Add PMIC devices and remove reference of PMCOBALT/PMICOBALT from all
client device nodes.

CRs-Fixed: 1083528
Change-Id: Idc0f0de7f3196d5e456d62e871c8ccfcb576fb07
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: Add interposer dts files for msmcobalt
Srinivas Ramana [Thu, 27 Oct 2016 05:55:23 +0000 (11:25 +0530)]
ARM: dts: msm: Add interposer dts files for msmcobalt

Add device tree support for msmcobalt interposer platform
using msmfalcon CDP/MTP.

Change-Id: Ie9eef135cdefc8d2a55f038cf9de5fc7f3656f64
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoDocumentation: edac: Add bindings for arm64 cpu erp
Srinivas Ramana [Thu, 3 Nov 2016 06:59:35 +0000 (12:29 +0530)]
Documentation: edac: Add bindings for arm64 cpu erp

This is a snapshot from msm-3.18 upto the
commit 262b8c5814ec ("edac: cortex_arm64_edac:
modify sbe detection to use perf events") for the
arm64 cache cpu erp bindings.

Change-Id: I7313a121440bf5a455401cf73bd5ef4d6c1506cb
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoMerge "usb: pd: Implement RX message queuing"
Linux Build Service Account [Thu, 3 Nov 2016 05:38:49 +0000 (22:38 -0700)]
Merge "usb: pd: Implement RX message queuing"

7 years agoMerge "usb: dwc3: Draw 100mA upon host bus reset"
Linux Build Service Account [Thu, 3 Nov 2016 05:38:48 +0000 (22:38 -0700)]
Merge "usb: dwc3: Draw 100mA upon host bus reset"

7 years agoMerge "sound: usb: Map audio format received from QMI client"
Linux Build Service Account [Thu, 3 Nov 2016 05:38:47 +0000 (22:38 -0700)]
Merge "sound: usb: Map audio format received from QMI client"

7 years agoMerge "selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables"
Linux Build Service Account [Thu, 3 Nov 2016 05:38:44 +0000 (22:38 -0700)]
Merge "selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables"

7 years agoclk: Add support to vote to regulator framework from clk framework
Stephen Boyd [Mon, 16 May 2016 05:35:16 +0000 (11:05 +0530)]
clk: Add support to vote to regulator framework from clk framework

Add vdd_class support which would help vote/unvote for any voltage rail
for the clock frequency to the regulator framework. A clock client request
for a clock frequency would look for the corresponding voltage vote and
would be send the request to regulator framework.

Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agousb: pd: Avoid calling SVID disconnect if not previously connected
Jack Pham [Mon, 31 Oct 2016 23:05:37 +0000 (16:05 -0700)]
usb: pd: Avoid calling SVID disconnect if not previously connected

Only call an SVID handler's disconnect function only if it was
previously connected, i.e. when the state machine had proceeded
received a successful DISCOVER_SVIDs response. This helps to
avoid excessive notification to SVID clients.

While at it, require that .connect and .disconnect callbacks
are supplied during registration. This helps to eliminate NULL
checks each time they are called.

Change-Id: I030153a6b2106a6504ed51b5cb00a27f842e2488
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board
penliu [Wed, 20 Jul 2016 12:20:58 +0000 (20:20 +0800)]
ARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board

Add camera dtsi file for msmcobalt qrd skuk board.
Camera dtsi define DT of rear and front camera.

Change-Id: I7529a30af5d3c16a9c40ace5b5bb85e43cc28923
Signed-off-by: penliu <pengfeiliu@codeaurora.org>
7 years agoASoC: wcd934x: Update OCP connection attempts
Phani Kumar Uppalapati [Wed, 2 Nov 2016 19:57:01 +0000 (12:57 -0700)]
ASoC: wcd934x: Update OCP connection attempts

Update headphone OCP (Over Current Protection)
connection attempts to 2 to avoid hardware state
machine getting stuck in OCP state even after
reset.

CRs-Fixed: 1083736
Change-Id: I69e37a93418b99a187c7b46cf62524c5fc4901f2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agodrivers: qcom: ultrasound: Lock async driver calls
Sudheer Papothi [Tue, 25 Oct 2016 19:37:04 +0000 (01:07 +0530)]
drivers: qcom: ultrasound: Lock async driver calls

Adds lock to ioctl and other external calls to driver.
Adds missing null check in __usf_set_stream_param.

Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
7 years agoASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp
Bhalchandra Gajare [Fri, 28 Oct 2016 22:25:06 +0000 (15:25 -0700)]
ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp

The codec DSP needs to be enabled only when there is use case that
utilizes the DSP. This way the codec DSP can be shutdown when it
is not used. Change adds misc device node that the user space can
use to trigger boot and shutdown of DSP.

CRs-Fixed: 1085213
Change-Id: Ie8bb9ed903e46b0914b4ba2630efa864c751c29b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
7 years agousb: dwc3: Draw 100mA upon host bus reset
Hemant Kumar [Mon, 31 Oct 2016 17:26:41 +0000 (10:26 -0700)]
usb: dwc3: Draw 100mA upon host bus reset

Upon host bus reset driver draws 0mA and switches
to higher value 900/500 mA after moving to configured
state. This causes a glitch in the led and battery icon
status. Hence request to draw 100mA to void the glitch.

Change-Id: Id570e427d40d08e29cad7cb74be426bf218d00ee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoMerge "soc: qcom: scm: add check to avoid buffer overflow"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:43 +0000 (14:41 -0700)]
Merge "soc: qcom: scm: add check to avoid buffer overflow"

7 years agoMerge "driver core: fix race between creating/querying glue dir and its cleanup"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:41 +0000 (14:41 -0700)]
Merge "driver core: fix race between creating/querying glue dir and its cleanup"

7 years agoMerge "msm: secure_buffer: fix scm call argument layout"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:40 +0000 (14:41 -0700)]
Merge "msm: secure_buffer: fix scm call argument layout"

7 years agoMerge "cfg80211: support virtual interfaces with different beacon intervals"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:39 +0000 (14:41 -0700)]
Merge "cfg80211: support virtual interfaces with different beacon intervals"

7 years agoMerge "ARM: dts: msm: add support for QBT1000 on msmcobalt"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:39 +0000 (14:41 -0700)]
Merge "ARM: dts: msm: add support for QBT1000 on msmcobalt"

7 years agoMerge "ARM: dts: msm: specify SPI configuration for msmfalcon."
Linux Build Service Account [Wed, 2 Nov 2016 21:41:38 +0000 (14:41 -0700)]
Merge "ARM: dts: msm: specify SPI configuration for msmfalcon."

7 years agoMerge "leds: qpnp-flash-v2: Fix strobe control settings"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:37 +0000 (14:41 -0700)]
Merge "leds: qpnp-flash-v2: Fix strobe control settings"

7 years agoMerge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:36 +0000 (14:41 -0700)]
Merge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board"

7 years agoMerge "ARM: dts: msm: correct cpu nodes information for msmtriton"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:35 +0000 (14:41 -0700)]
Merge "ARM: dts: msm: correct cpu nodes information for msmtriton"

7 years agoMerge "sched/hmp: Automatically add children threads to colocation group"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:35 +0000 (14:41 -0700)]
Merge "sched/hmp: Automatically add children threads to colocation group"

7 years agoMerge "dwc3: gadget: Remove disabling events and ep0 from gadget stop"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:34 +0000 (14:41 -0700)]
Merge "dwc3: gadget: Remove disabling events and ep0 from gadget stop"

7 years agoMerge "ASoC: wcd934x: Initialize mbhc pointer before access"
Linux Build Service Account [Wed, 2 Nov 2016 21:41:33 +0000 (14:41 -0700)]
Merge "ASoC: wcd934x: Initialize mbhc pointer before access"