Commit graph

582247 commits

Author SHA1 Message Date
Linux Build Service Account
82b5ff09ae Merge "defconfig: msm: Remove LOCKUP detector in sdm660 perf config" 2017-01-23 12:54:08 -08:00
Linux Build Service Account
2151340268 Merge "mac80211: pass block ack session timeout to to driver" 2017-01-23 12:54:06 -08:00
Tatenda Chipeperekwa
4709f01bbd msm: mdss: dp: fix HBR2 pattern generation
Fix the HBR2 pattern generation by ensuring that the pattern
selection bit is not overwritten by a subsequent register write
that updates the scrambler reset count.

CRs-Fixed: 1108048
Change-Id: I2d2dcc79de82756eab015a343c24411a735947c9
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-01-23 12:25:08 -08:00
Thomas Gleixner
1cc869442a genirq: Introduce IRQD_AFFINITY_MANAGED flag
Interupts marked with this flag are excluded from user space interrupt
affinity changes. Contrary to the IRQ_NO_BALANCING flag, the kernel internal
affinity mechanism is not blocked.

This flag will be used for multi-queue device interrupts.

Change-Id: I204c49bb1c8ce87fbcd163119093163b120bfe83
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: linux-block@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-nvme@lists.infradead.org
Cc: axboe@fb.com
Cc: agordeev@redhat.com
Link: http://lkml.kernel.org/r/1467621574-8277-3-git-send-email-hch@lst.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Git-commit: 9c2555835bb3d34dfac52a0be943dcc4bedd650f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[runminw@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-01-23 11:23:37 -08:00
Sathish Ambley
c82086f404 ARM: dts: msm: Add CDSP loader device tree node
Add a device tree node for CDSP loader, that is used for loading
CDSP image during boot.

Change-Id: I955ca3b89d36426a46554a62c11efb5fafb0e2c7
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2017-01-23 09:58:47 -08:00
Sathish Ambley
224c188111 msm: CDSP: Enable CDSP loader driver
Add CDSP loader driver to bring compute DSP out of reset
during boot.

Change-Id: I2571e2158fcf7706efc5a5922da24f22755eeed7
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2017-01-23 09:56:24 -08:00
Samyukta Mogily
e45f50997b ARM: dts: msm: Enable camera for sdm630
Adding sdm660-camera dtsi nodes in sdm630 dtsi files.

Change-Id: I1ddcd27e2133eb601bb43b368d815d17767df8d3
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
2017-01-23 18:23:23 +05:30
Pavankumar Kondeti
448f83e347 defconfig: msm: Enable SCHED_AUTOGROUP for sdm660
This config is already enabled in perf defconfig but missed
in the debug defconfig.

Change-Id: I85ba0624318a0141fb8b6418e8e923201a108c55
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-01-23 18:21:40 +05:30
Linux Build Service Account
4f1f60e00d Merge "ARM: dts: msm: add nt35597 sharp panel node for sdm660" 2017-01-23 04:04:11 -08:00
Linux Build Service Account
96a84f78be Merge "ARM: dts: msm: Enable continuous splash on sdm660" 2017-01-23 04:04:10 -08:00
Linux Build Service Account
b2664632f0 Merge "msm: ipa: SDM660 miscellaneous changes" 2017-01-23 04:04:09 -08:00
Linux Build Service Account
17f521e882 Merge "diag: Synchronize threads to fix possible deadlock" 2017-01-23 04:04:08 -08:00
Linux Build Service Account
d846339612 Merge "msm: ADSPRPC: Remove references to SMD" 2017-01-23 04:04:07 -08:00
Linux Build Service Account
5b5a6be59f Merge "msm: kgsl: Dump preemption record only if it is enabled" 2017-01-23 04:04:06 -08:00
Linux Build Service Account
5bf6056e40 Merge "msm: kgsl: Try lower order mempools incase of mismatch" 2017-01-23 04:04:05 -08:00
Sayali Lokhande
d1f519fceb defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for sdm660
Enable CONFIG_MMC_RING_BUFFER to support ring buffer
logging of legacy and CQ events for sdm660.

Change-Id: I8ea62ea393cc7243b0652ca186cb914f9a7ea321
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-01-23 15:23:06 +05:30
Taniya Das
1f6a843f94 clk: Add separate function to print clocks enabled during suspend
When debug_suspend is set to true and the low power code invokes the
function to print the enabled clocks during suspend the function fails to
execute the do while loop in clock_debug_print_enabled_clocks, so separate
out the function to handle the same.

Change-Id: I014750637bc17c1107c7f0745d2d44caf6c96e62
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2017-01-23 14:00:49 +05:30
Laxminath Kasam
4c3ed0da3a ASoC: msm: Include interrupt registers in pdata
To fix access of unmapped memory region, add
lpi registers in pdata of node. This enables
unmapping when pdata is destroyed.

Change-Id: I62b2e50f8db39bdc430299a817ba621288ab4f3e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-23 13:33:31 +05:30
Sara Sharon
6af69d2d6b mac80211: pass block ack session timeout to to driver
Currently mac80211 does not inform the driver of the session
block ack timeout when starting a rx aggregation session.
Drivers that manage the reorder buffer need to know this
parameter.
Seeing that there are now too many arguments for the
drv_ampdu_action() function, wrap them inside a structure.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
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: 50ea05efaf3bed7dd34bcc2635a8b3f53bd0ccc1
[rsirasan@codeaurora.org: resolved conflicts in include/net/mac80211.h and
net/mac80211/agg-rx.c and not pulled changes for drivers/net/wireless/intel/ and
drivers/net/wireless/st/ since path is not maintained]
CRs-Fixed: 1112956
Change-Id: I15d86f60cd3bd33e392b313f7a4ee2fca91207d4
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
2017-01-22 23:57:27 -08:00
Rajeev Kumar Sirasanagandla
b5230894f5 Revert "mac80211: pass block ack session timeout to to driver"
This reverts commit 71384687ff ("mac80211: pass block ack session
timeout to to driver") which is incomplete cherry-pick.

CRs-Fixed: 1112956
Change-Id: I63fdf95d25ca5bdfa87c54cea8e9a68eae715e44
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
2017-01-22 23:36:19 -08:00
Jayant Shekhar
0f87e7ba03 ARM: dts: msm: Enable continuous splash on sdm660
Add splash memory node for sdm660 to enable continuous
splash.

Change-Id: I01e6e967fc0f733b050027901f3a65b60cefd569
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-01-23 11:16:41 +05:30
Sathish Ambley
99f5e59bf5 msm: ADSPRPC: Remove references to SMD
SMD is being removed from defconfig of SDM660. All the references
to SMD like macros and header files are removed from fastrpc driver.

Change-Id: Iaa961e7faee4b59562fc92133c5154027c325f53
Acked-by: Vishnu Karthik <vikarthi@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2017-01-22 21:36:22 -08:00
Sathish Ambley
dd2d22f7b7 msm: ADSPRPC: Expose information about open devices
Using Debugfs virtual file system to make debug information available
to userspace. A directory called adsprpc is created in debugfs root
directory and a debugfs file is created in this directory for every
device open in the fastrpc driver.

Change-Id: Ie944424e30ddc810ff29116481d63b266c47c037
Acked-by: Vishnu Karthik <vikarthi@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2017-01-22 21:35:53 -08:00
Utkarsh Saxena
63e1143473 msm: ipa: Fix WDI2.0 stats
New stat param "num_qmb_int_handled" is added to rx_ch_stats
by IPA uC in WDI2.0. This results in a size mismatch and
WDI stats feature is broken. Make a change to update the
new param "num_qmb_int_handled" in rx_ch_stats structure.

Also make a change to read all the rx_ch_stats to avoid
printing stale values.

Change-Id: I5d141f531f1cfdab0bd0056041e22acb26657960
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-01-23 11:03:24 +05:30
Venkatesh Yadav Abbarapu
9e36db9f5a defconfig: msm: Remove LOCKUP detector in sdm660 perf config
Disable the LOCKUP detector configuration for secondary images.

Change-Id: I4df2f180ba560cf531fe97403775d4fa47061e6b
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
2017-01-23 10:32:34 +05:30
Sandeep Panda
e07a387eef ARM: dts: msm: add nt35597 sharp panel node for sdm660
Add nt35597 sharp video and command mode panel node to
sdm660 target.
Also enable NULL packet insertion for DSI controller
to avoid corruption seen with nt35597 sharp panel.

Change-Id: I42813cecd68059f835810cd015cd6654c3507dfa
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-01-23 09:44:45 +05:30
Linux Build Service Account
8fa25e8c0e Merge "ARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660" 2017-01-22 19:16:00 -08:00
Linux Build Service Account
35c415b4be Merge "ath10k: add WCN3990 target type and hw version" 2017-01-22 19:15:59 -08:00
Linux Build Service Account
f4396ba850 Merge "ath10k: Make CE layer bus agnostic" 2017-01-22 19:15:58 -08:00
Linux Build Service Account
2eb5dfd69a Merge "iommu: arm-smmu: Move to using bus bandwidth voting for bus clocks" 2017-01-22 19:15:57 -08:00
Utkarsh Saxena
a7d1c3be7f msm: ipa: SDM660 miscellaneous changes
Add support to Enable/Disable uc monitor holb feature.

sdm660 does not  support uc monitor holb feature.
Make changes to get this param via device tree to
support devices which handle holb monitoring via IPA uC.

sdm660 supports WLAN offload. Make changes to configure
wlan pipes on IPA2.6L needed to support WLAN offload.

Change-Id: I07e099ffb7833e4790dda1fd4864f3f61acb2a45
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-01-22 16:13:52 +05:30
Linux Build Service Account
9335a12bb0 Merge "ufs: fixed bugs in ice related to key syncronization" 2017-01-22 01:16:27 -08:00
Ashay Jaiswal
e9f91e7ce0 ARM: dts: msm: Enable wakeup capability of SPMI interrupts for SDM660
Remove "qcom,not-wakeup" flag from SPMI device node to allow
device wake-up via SPMI peripheral interrupts.

CRs-Fixed: 1114067
Change-Id: I0ba400bca2603a408a1fb2f934cb26e5109a65c2
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-01-22 10:58:50 +05:30
Linux Build Service Account
b184cdd610 Merge "sched: Update capacity and load scale factor for all clusters at boot" 2017-01-21 05:01:27 -08:00
Linux Build Service Account
fde6f86c4f Merge "cpumask: Correctly report CPU as not isolated in UP case" 2017-01-21 05:01:26 -08:00
Linux Build Service Account
a991f5b51e Merge "qcom-charger: smb138x: Add MODEL_NAME property for parallel" 2017-01-21 05:01:26 -08:00
Linux Build Service Account
79ef6a4e90 Merge "ARM: dts: msm: Enable QoS settings programming for sdm660" 2017-01-21 05:01:25 -08:00
Linux Build Service Account
221a27db07 Merge "usb: composite: Increase ep0 buffer size to 4KB" 2017-01-21 05:01:24 -08:00
Linux Build Service Account
c13aae3157 Merge "smb-lib: fix Type-C detection after sink removal" 2017-01-21 05:01:23 -08:00
Linux Build Service Account
9b0b7adacb Merge "qseecom: release memory when failed to get fw size" 2017-01-21 05:01:22 -08:00
Linux Build Service Account
25c683b528 Merge "Block: Add support to measure bio latencies" 2017-01-21 05:01:21 -08:00
Linux Build Service Account
adb2b7a2ff Merge "usb: phy: snps: fix copyright information" 2017-01-21 05:01:21 -08:00
Linux Build Service Account
345e3446ea Merge "iommu: arm-smmu: Allow configurations with zero clocks" 2017-01-21 05:01:20 -08:00
Linux Build Service Account
24f914dbea Merge "clk: msm: clock-debug: acquire prepare lock during measurement" 2017-01-21 05:01:18 -08:00
Govind Singh
33d8132134 ath10k: add WCN3990 target type and hw version
Add new target type and hw version for WCN3990.

Change-Id: Iba891c8a25321d986d24120db8e0988f7df56dc5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-01-21 14:37:47 +05:30
Govind Singh
fed84102f9 ath10k: Make CE layer bus agnostic
Remove bus specific dependencies from CE layer to have
common CE layer across multiple targets.

Change-Id: Ieb6a80b359eed820653215bbf98148ce15634e87
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-01-21 14:31:54 +05:30
Surajit Podder
726f72cbe7 msm_vidc: Disable DCVS in thumbnail mode
Disable DCVS in thumbnail mode to ensure
that extra buffers are not added to capture
port.

Change-Id: I46f84301d0507c8c8bba3bcd3d93871b49a3948c
Signed-off-by: Surajit Podder <spodder@codeaurora.org>
2017-01-20 20:16:39 -08:00
Syed Rameez Mustafa
196069b1bc sched: Update capacity and load scale factor for all clusters at boot
Cluster capacities should reflect differences in efficiency of
different clusters even in the absence of cpufreq. Currently
capacity is updated only when cpufreq policy notifier is received.
Therefore placement is suboptimal when cpufreq is turned off. Fix
this by updating capacities and load scaling factors during cluster
detection.

Change-Id: I47f63c1e374bbfd247a4302525afb37d55334bad
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2017-01-20 16:58:11 -08:00
Olav Haugan
8109f028ef cpumask: Correctly report CPU as not isolated in UP case
When we have only 1 CPU in the system always report a CPU as not
isolated.

Change-Id: I009b3e7c2499da07b167c603107b1c50b096c6b6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2017-01-20 16:49:37 -08:00
Pratik Patel
10f058a6e2 iommu: arm-smmu: Move to using bus bandwidth voting for bus clocks
Bus clocks are managed via bus apis and hence move to using them for
enabling bus clocks. The previous method could enable a bus clock at a
higher than required frequency, wasting power.

The power on sequence is regulator on, bus vote, and then enable
remaining clocks.

Remove all clocks which are of RPM_SMD type (including mmssnoc_axi_clk)
since these are managed by the bus driver. Using an active-only bus vote
instead should save power when APPS is power collapsed.

Keep the mmss_mnoc_ahb_clk because it is a branch clock type which is
not managed by the bus driver. No active-only mode is available for this
clock.

Change-Id: I3b35d81098b8bd5299b27e85d27aa959e7cf415a
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2017-01-20 16:05:03 -08:00