Commit graph

581129 commits

Author SHA1 Message Date
Linux Build Service Account
c3b187cdf7 Merge "iommu/io-pgtable-fast: Set page table coherency" 2017-01-13 17:02:40 -08:00
Linux Build Service Account
ac1abd3607 Merge "iommu/io-pgtable-arm: Set page table coherency" 2017-01-13 17:02:39 -08:00
Linux Build Service Account
b4e3d9c9f2 Merge "iommu/io-pgtable: Allow page table coherency to be set" 2017-01-13 17:02:39 -08:00
Linux Build Service Account
28b82ee876 Merge "sched: Convert the global wake_up_idle flag to a per cluster flag" 2017-01-13 17:02:38 -08:00
David Collins
e1a831c7c0 ARM: dts: msm: increase VDD_GFX Fmax CPR ceiling voltage for MSM8998v2
Increase the VDD_GFX CPR 710 MHz (Fmax) corner ceiling voltage
from 1024 mV to 1088 mV.  This ensures that parts requiring
higher voltages operate correctly.

Also increase the aging reference voltage since it needs to
match the Fmax ceiling voltage.

Change-Id: I0799fe76c7a19d8fd97b6270b403b2994ea09a74
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-01-13 15:25:37 -08:00
Zi Shen Lim
69887b8ceb arm64: insn: remove BUG_ON from codegen
During code generation, we used to BUG_ON unknown/unsupported encoding
or invalid parameters.

Instead, now we report these as errors and simply return the
instruction AARCH64_BREAK_FAULT. Users of these codegen helpers should
check for and handle this failure condition as appropriate.

Otherwise, unhandled codegen failure will result in trapping at
run-time due to AARCH64_BREAK_FAULT, which is arguably better than a
BUG_ON.

Change-Id: I35f8d8960c0a3f6cecf0690e8f93fce339ed8838
Git-commit: c94ae4f7c5ec6b6fddde1c08809d5e32a963d7f3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-01-13 14:05:44 -08:00
Ard Biesheuvel
0d5578df07 arm64: kaslr: keep modules close to the kernel when DYNAMIC_FTRACE=y
The RANDOMIZE_MODULE_REGION_FULL Kconfig option allows KASLR to be
configured in such a way that kernel modules and the core kernel are
allocated completely independently, which implies that modules are likely
to require branches via PLT entries to reach the core kernel. The dynamic
ftrace code does not expect that, and assumes that it can patch module
code to perform a relative branch to anywhere in the core kernel. This
may result in errors such as

  branch_imm_common: offset out of range
  ------------[ cut here ]------------
  WARNING: CPU: 3 PID: 196 at kernel/trace/ftrace.c:1995 ftrace_bug+0x220/0x2e8
  Modules linked in:

  CPU: 3 PID: 196 Comm: systemd-udevd Not tainted 4.8.0-22-generic #24
  Hardware name: AMD Seattle/Seattle, BIOS 10:34:40 Oct  6 2016
  task: ffff8d1bef7dde80 task.stack: ffff8d1bef6b0000
  PC is at ftrace_bug+0x220/0x2e8
  LR is at ftrace_process_locs+0x330/0x430

So make RANDOMIZE_MODULE_REGION_FULL mutually exclusive with DYNAMIC_FTRACE
at the Kconfig level.

Change-Id: I60868f2cb0194b61000946e1d524fa27342dec6b
Git-commit: 8fe88a4145cdeee486af60e61f5d5a14f804fa45
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-01-13 14:05:32 -08:00
Olav Haugan
db4e826a1c defconfig: msm: Enable SCHED_AUTOGROUP
Enable SCHED_AUTOGROUP which enables certain optimizations in the
scheduler for better performance.

Change-Id: Ib099531ed19715e88373d4aee2926205a8eaf9c6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2017-01-13 12:41:34 -08:00
Abhijit Kulkarni
e14b3005bd drm/msm/sde: add resource manager to enable dual dsi
Add resource manager for retrieving the control paths and layer
mixers. Encoder and CRTC use this to get the hw driver contexts
for those blocks.

Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-13 11:46:49 -08:00
Abhijit Kulkarni
f8846e9345 drm/msm/sde: adding implementation for mdp_top in hw driver
Add mdp_top block support to hw layer, provides split pipe
control, and interface select. Use mdp_top from intf block
to program interface select.

Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-13 11:46:40 -08:00
Linux Build Service Account
cea5fb9448 Merge "iommu: pass proper vmid value for secure attachments" 2017-01-13 08:07:57 -08:00
Linux Build Service Account
73ebb4b17b Merge "ARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD" 2017-01-13 08:07:56 -08:00
Linux Build Service Account
22df240473 Merge "msm: camera: Add lock/unlock to "set mode" function" 2017-01-13 08:07:55 -08:00
Linux Build Service Account
0b1feeb417 Merge "icnss: Ignore MSA0 dump collection during graceful shutdown" 2017-01-13 08:07:54 -08:00
Linux Build Service Account
ce5c0f8aa4 Merge "regulator: core: clean up debugfs monitoring and control features" 2017-01-13 08:07:54 -08:00
Linux Build Service Account
1c062334ae Merge "ARM: dts: msm: enable bw mon4 version on sdm660 target." 2017-01-13 08:07:53 -08:00
Linux Build Service Account
de9fa8b77a Merge "cpufreq: changes to adapt for opensource clock framework" 2017-01-13 08:07:52 -08:00
Linux Build Service Account
f1d140f34c Merge "ARM: dts: msm: Fix configurations for crypto and qrng on SDM660" 2017-01-13 08:07:51 -08:00
Linux Build Service Account
b9fd387cd6 Merge "clk: qcom: Fix for rate request to RPM during handoff" 2017-01-13 08:07:50 -08:00
Linux Build Service Account
cd5ef3d16b Merge "drm/msm/sde: sde hw interrupt handling" 2017-01-13 08:07:47 -08:00
Linux Build Service Account
bc2d4c423e Merge "drm/msm/sde: simplify encoder display probe logic" 2017-01-13 08:07:46 -08:00
Linux Build Service Account
5f99c7804f Merge "drm/msm: add smmu handler" 2017-01-13 08:07:45 -08:00
Linux Build Service Account
c946d852fa Merge "ARM: dts: msm: enable watchdog for sdm 660" 2017-01-13 08:07:45 -08:00
Linux Build Service Account
fdd0e3d310 Merge "ARM: dts: msm: Use correct property name to pass values for sdm660" 2017-01-13 08:07:44 -08:00
Amey Telawane
e3bd3cbed1 ARM: dts: msm: modify funnel configuration for sdm660
Modify funnel configuration for modem etm and tpda.
Modify data width for submodules for sdm660.

CRs-fixed: 1111225
Change-Id: I27538435b2c89041ca6c0305eb1405cf75ed59af
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
2017-01-13 19:03:39 +05:30
Charan Teja Reddy
3a51cab0b7 iommu: pass proper vmid value for secure attachments
Pass the proper VMID value during secure attach. This VMID is used by
the HYP/TZ to maintain the pagetables.

Change-Id: I3b7c27c079b044c9325bcbcb6fa4312e424f3a94
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-01-13 18:40:37 +05:30
Rupesh Tatiya
34d4afb7be ARM: dts: msm: Enable UART for sdm660
BLSP2 UART1 is used as transport for Bluetooth between sdm660 & wcn3990.
Enable it so that Bluetooth can be enabled on sdm660 CDP/MTP/QRD.

Change-Id: Ib5102a96d42213bbeb230f83806b10a397353df8
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2017-01-13 17:37:27 +05:30
Santosh Mardi
b68e5b2f11 ARM: dts: msm: enable bw mon4 version on sdm660 target.
SDM660 target supports the bw monitor version 4 includes
the zone counts.

Enable the bw mon4 for the SDM660 target.

Change-Id: I0f8323c6bdc91d859456ddd8a70838cd8e71779c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2017-01-13 16:06:11 +05:30
Santosh Mardi
da2e9dd3fa cpufreq: changes to adapt for opensource clock framework
Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.

Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.

Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2017-01-13 16:03:39 +05:30
xiaonian
d463598029 ARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD
Update vdd-current-level as per latest hardware documentation
and interrupt related properties of sdhc2 for sdm660 QRD.

CRs-Fixed: 1111072
Change-Id: Ica211d68a032d51ab313cce47d2b84137433f18c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-01-13 15:45:52 +08:00
Linux Build Service Account
efaccb4adb Merge "ASoC: msm: qdsp6v2: Add control for ICC Volume" 2017-01-12 22:39:17 -08:00
Linux Build Service Account
d089fe1071 Merge "ASoC: msm: qdsp6v2: add support for ADM_OPEN_V6 for multi-mic ec" 2017-01-12 22:39:16 -08:00
Linux Build Service Account
9bf671bc1e Merge "ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions" 2017-01-12 22:39:15 -08:00
Linux Build Service Account
e85386ee66 Merge "ARM: dts: msm: enable display panel for sdm660 QRD" 2017-01-12 22:39:14 -08:00
Linux Build Service Account
fe716a1881 Merge "drm/msm/sde: add driver for sde support" 2017-01-12 22:39:13 -08:00
Linux Build Service Account
e3fd750a77 Merge "drm/msm/dsi-staging: add catalog for dsi driver" 2017-01-12 22:39:12 -08:00
Linux Build Service Account
45654cc956 Merge "drm/msm/dsi-staging: add hardware driver for dsi controller" 2017-01-12 22:39:11 -08:00
Linux Build Service Account
a1442d31e2 Merge "defconfig: msm: enable dvb demux modules compilation" 2017-01-12 22:39:10 -08:00
Linux Build Service Account
75b99c075a Merge "Merge remote-tracking branch 'remotes/origin/tmp-896bb812' into HEAD" 2017-01-12 22:39:09 -08:00
Linux Build Service Account
a7d8f02960 Merge "NFC: Fix interrupt state in recovery" 2017-01-12 22:39:08 -08:00
Linux Build Service Account
710fa5be49 Merge "msm: ipa: AP+STA statistics support for IPAv2 driver" 2017-01-12 22:39:08 -08:00
Linux Build Service Account
337b3cd854 Merge "input: qpnp-power-on: set boot_reason when system-reset exists" 2017-01-12 22:39:07 -08:00
Linux Build Service Account
cfa822c282 Merge "msm: mdss: Fix ctl flush bits reset by dspp programming" 2017-01-12 22:39:06 -08:00
Linux Build Service Account
075893a011 Merge "ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR" 2017-01-12 22:39:05 -08:00
Linux Build Service Account
23cbc75d2f Merge "ARM: dts: msm: Add TLB dump entries for msm8998" 2017-01-12 22:39:04 -08:00
Zhen Kong
b108c651ca qseecom: improve input validatation for qseecom_send_service_cmd
Make change to improve input validation on request and response
buffers' address and length for qseecom_send_service_cmd.

Change-Id: I047e3264333d767541e43b7dadd1727232fd48ef
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-01-12 17:18:24 -08:00
Yuanyuan Liu
7220378f26 icnss: Ignore MSA0 dump collection during graceful shutdown
Ignore MSA0 dump collection during graceful shutdown. Collect
ramdump only when modem is really crashed.

CRs-Fixed: 1110935
Change-Id: Ic2fbfec320eb516224daad9ae78be07c61376cfc
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2017-01-12 15:45:48 -08:00
Sameer Thalappil
1737536231 icnss: Add support for host initiated recovery
Add an API that can trigger WLAN PDR. WLAN host driver can use
this API to trigger PDR in the cases where it fails to communicate
with FW over it's native copy engine interface.

CRs-Fixed: 1110381
Change-Id: I7a076ba023b3e48c9e5473ec4895f50c71816831
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2017-01-12 15:13:16 -08:00
David Collins
6e51ed6ba9 regulator: core: clean up debugfs monitoring and control features
Fix checkpatch warnings and other style issues in the regulator
debugfs functions.  Refactor the code to remove unnecessary error
checks as well as a shared buffer and mutex.  Rename variables
and functions to better follow the naming conventions found in
the core.c file.  Update the conditions used for allowing the
creation of 'voltage' and 'load' debugfs files.

Change-Id: I59881078ce9e908de11e74d15372edf233eb17b0
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-01-12 15:09:50 -08:00
Yuanyuan Liu
089656e381 icnss: Add debugfs support of configuring fw features
Add debugfs support of configuring fw features dynamically.

CRs-Fixed: 1107443
Change-Id: I0021ac61467174c794fa8f6ef130479b166c1425
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2017-01-12 12:33:34 -08:00