Commit graph

590235 commits

Author SHA1 Message Date
Patrick Fay
1255505e97 Perf: ARM: Support 32bit armv8-pmuv3 driver
Currently perf_event.c is 64bit specific due to
inline assembly.  Driver needs to support 32bit as well.
Move the assembly code to asm/perf_event.h so that
perf_event.c is 32/64 bit agnostic and move perf_event.c
to drivers/perf from 64bit-specific arch dir.

Change-Id: Ic5cd188700938e7a37120065a2d781e03bf99017
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
2017-05-25 16:48:16 -07:00
Skylar Chang
917cd579ac msm: ipa: fix security issues in ipa wan driver
Fix the security issue in handling add mux channel event
in ipa wan driver.

Change-Id: Ic2ffeafddad4954ec3ecba0d675646d0790eede7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
2017-05-25 16:36:49 -07:00
Linux Build Service Account
c5685ec0f3 Merge "msm: kgsl: Return mementry only if pending_free is not set" 2017-05-25 15:52:15 -07:00
Linux Build Service Account
b8b329161d Merge "leds: leds-qpnp: Fix uninitialized variable use" 2017-05-25 15:52:14 -07:00
Linux Build Service Account
06666778bf Merge "btfm: Don't program multi channel registers in wcn3990 for SCO" 2017-05-25 15:52:07 -07:00
Linux Build Service Account
8a1c7fb05a Merge "power: qpnp-fg-gen3: update default empty voltage to 2.85 V" 2017-05-25 15:52:06 -07:00
Linux Build Service Account
93f01bb760 Merge "msm: kgsl: Don't delete uninitialized preemption timer" 2017-05-25 15:52:05 -07:00
Linux Build Service Account
2371551ec1 Merge "msm_11ad: fix device-tree property name" 2017-05-25 15:52:04 -07:00
Linux Build Service Account
f485573f5a Merge "net: rmnet_data: Unset logical end points in bridge mode" 2017-05-25 15:52:04 -07:00
Linux Build Service Account
17f988f036 Merge "soc: qcom: smp2p: Fix simultaneous access of global loopback data" 2017-05-25 15:52:03 -07:00
Linux Build Service Account
20dfa6c9f7 Merge "qcom: common_log: make dump registration as async" 2017-05-25 15:52:02 -07:00
Linux Build Service Account
73f6909d54 Merge "spmi-pmic-arb: add support to dispatch interrupt based on IRQ status" 2017-05-25 15:52:01 -07:00
Linux Build Service Account
e2a2179d4e Merge "spcom: check error from ion_import_dma_buf()" 2017-05-25 15:52:00 -07:00
Linux Build Service Account
09173073cf Merge "spcom: silent error messages until spss link is up" 2017-05-25 15:51:59 -07:00
Linux Build Service Account
97b8c1c0f8 Merge "usb: pdphy: Widen voltage range setting for VDD regulator" 2017-05-25 15:51:58 -07:00
Linux Build Service Account
fafa9a46eb Merge "usb : dwc3: Initialize kernel stack variables properly" 2017-05-25 15:51:57 -07:00
Linux Build Service Account
f95c3de80f Merge "ASoC: msm: qdsp6v2: Add IEC61937 compressed HDMI pass-though" 2017-05-25 15:51:57 -07:00
Linux Build Service Account
bed872f1a6 Merge "ASoC: msm: qdsp6v2: Extend pass through mode per stream" 2017-05-25 15:51:56 -07:00
Linux Build Service Account
2c0e368fdc Merge "msm: ipa: Fix post init in workqueue context" 2017-05-25 15:51:55 -07:00
Linux Build Service Account
88e1c449dc Merge "spcom: increment channel reference count after successful glink_open()" 2017-05-25 15:51:54 -07:00
Linux Build Service Account
eadd4e3181 Merge "USB: f_qc_rndis: Prevent use-after-free for _rndis_qc" 2017-05-25 15:51:53 -07:00
Linux Build Service Account
7217c5a9c1 Merge "ARM: dts: msm: Add iris support on sdm630" 2017-05-25 15:51:52 -07:00
Linux Build Service Account
b133f848d1 Merge "mmc: block: Disable clock scaling during shutdown" 2017-05-25 15:51:51 -07:00
Linux Build Service Account
8a4a2650e0 Merge "drm/sde: only set split registers for DSI interfaces" 2017-05-25 15:51:50 -07:00
Linux Build Service Account
0c3a4a97b1 Merge "SDM660: ADSPRPC: Fix for NULL pointer dereference" 2017-05-25 15:51:49 -07:00
Linux Build Service Account
599b4011d6 Merge "drm/msm: wait fence complete before flip" 2017-05-25 15:51:48 -07:00
Linux Build Service Account
768b5c4389 Merge "soc: qcom: Fix failure prints in rpm stats and log" 2017-05-25 15:51:47 -07:00
Linux Build Service Account
207cc877c1 Merge "policy_engine: Don't allow MODE change if no active connection" 2017-05-25 15:51:46 -07:00
Linux Build Service Account
136473547f Merge "power: qpnp-smb2: remove workaround for USBIN supplied VCONN" 2017-05-25 15:51:45 -07:00
Linux Build Service Account
8d140659e0 Merge "msm: ais: Security fixes for ispif and cpp" 2017-05-25 15:51:44 -07:00
Linux Build Service Account
3b0f0430c6 Merge "ARM: dts: msm: Add USB2 device node for SDM660" 2017-05-25 15:51:41 -07:00
Linux Build Service Account
c1a961ce2f Merge "coresight-remote-etm: Adds missing lock to avoid race condition" 2017-05-25 15:51:40 -07:00
Linux Build Service Account
3964778c1a Merge "Merge remote-tracking branch 'origin/tmp-285c137' into msm-4.4" 2017-05-25 15:51:39 -07:00
Linux Build Service Account
e1cafe626d Merge "USB: composite: Advertise USB version as 0x200 if max speed is HS" 2017-05-25 15:51:38 -07:00
Linux Build Service Account
bb0e94e12d Merge "ARM: dts: msm: Update ref-clk node for sdm660" 2017-05-25 15:51:37 -07:00
Linux Build Service Account
e40889b85d Merge "usb: phy-msm-qusb-v2: Add support for reference counting of regulators" 2017-05-25 15:51:35 -07:00
Linux Build Service Account
23dec079ae Merge "ASoC: msm-cpe: Fix range checking in function fw_name_store" 2017-05-25 15:51:34 -07:00
Linux Build Service Account
61bb06dc05 Merge "input: synaptics_dsx: fix mutex init" 2017-05-25 15:51:33 -07:00
Linux Build Service Account
03144dd756 Merge "soc: qcom: msm_perf: Initialize Array elements" 2017-05-25 15:51:32 -07:00
Linux Build Service Account
4b9efedb4a Merge "ARM: dts: msm: Add flash handle to camera1 device on SDM660" 2017-05-25 15:51:32 -07:00
Linux Build Service Account
c63ad80553 Merge "drm/msm: deal with arbitrary # of cmd buffers" 2017-05-25 15:51:31 -07:00
Linux Build Service Account
8d009ce8ad Merge "msm: camera: isp : Fix race condition in close sequence" 2017-05-25 15:51:30 -07:00
Linux Build Service Account
09db61a0c0 Merge "ARM: dts: msm: Add entry for video throttle clock on sdm660 and sdm630" 2017-05-25 15:51:29 -07:00
Linux Build Service Account
89e9361ac2 Merge "firmware_class: Avoid pending list corruption" 2017-05-25 15:51:28 -07:00
Linux Build Service Account
12d9944bfa Merge "ASoC: msm: qdsp6v2: Fix voice call and record SSR test" 2017-05-25 15:51:27 -07:00
Linux Build Service Account
8a0aed96a2 Merge "usb: policy_engine: Close pd phy after exceeding SINK hard reset count" 2017-05-25 15:51:26 -07:00
Patrick Daly
1c2a08812e iommu: iommu-debug: Rework CONFIG_IOMMU_DEBUG_TRACKING
If CONFIG_IOMMU_DEBUG_TRACKING=y, a deadlock will occur if userspace
writes to the debugfs file "attach":

    -001|context_switch(inline)
    -001|__schedule()
    -002|__preempt_count_sub(inline)
    -002|schedule()
    -003|schedule_timeout()
    -004|do_wait_for_common(inline)
    -004|__wait_for_common(inline)
    -004|wait_for_common()
    -005|wait_for_completion()
    -006|__synchronize_srcu()
    -007|synchronize_srcu()
    -008|debugfs_remove_recursive()
    -009|iommu_debug_detach_device()
    -010|__iommu_detach_device()
    -011|__iommu_group_for_each_dev(inline)
    -011|__iommu_detach_group()
    -012|iommu_detach_device()
    -013|iommu_debug_device_profiling()
    -014|iommu_debug_device_show()
    -015|seq_read()
    -016|full_proxy_read()
    -017|__vfs_read()
    -018|vfs_read()

Since the files in the attachment directory are rarely used, remove
them. Update the data saved by this config option to work properly
with iommu groups.

Change-Id: I3f0f1d0836f37412915ce3e78d8aefe92dc8d096
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
[lmark@codeaurora.org: deadlock is not an issue on this branch
 but this change is backported because there are security benefits
 from removing the iommu debugfs attachments nodes, such as removing
 register access.]
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2017-05-25 15:42:53 -07:00
Jiangen Jiao
63dfd66d92 ARM: dts: msm: Change version bit to match TP 800S used for HDK660/630
The current touch panel driver uses bit 5 in major hardware version to
decide panel used between 800S and 800H.
By setting the bit to 1 means 800S used while to 0 means 800H.

Change-Id: Ibec2678a985b1db385c648884377a7b2ef6df795
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
2017-05-25 19:53:01 +08:00
Yingwei Zhao
ac8140f555 ARM: dts: msm: add proxy voter for QRD SDM660
pm660_ldo10 supplies power for multiple consumers including UFS.
The load from UFS is invisible for the regulator before the driver
voted it. Any other light load consumers would vote its load and
force the regulator entering into LPM mode which cause OCP triggered.
Add proxy voter for pm660_ldo10 to track this existing UFS load.

Change-Id: I32759025e0349858eaafb6a3b062a6c64314ccfe
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-05-25 17:00:18 +08:00
Ashay Jaiswal
d651c8d4dc ARM: dts: msm: configure interrupt types for charger for pm660
Currently the interrupt trigger type is configured as NONE. This
causes a level handler to be assigned to these interrupts.

However, all of them are edge triggered interrupts with varying
falling/rising/both edge flavors. Update the device tree to
use their correct trigger types thereby preventing missed interrupt
storms because of incorrect handler types.

CRs-Fixed: 2005675
Change-Id: Ic50aeecda34d671e84bdfd7868aad050feb2ea3c
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-05-25 14:17:53 +05:30