Commit graph

581216 commits

Author SHA1 Message Date
Linux Build Service Account
42bd9640b2 Merge "regulator: cpr3: fix system regulator vote in regulator disable path" 2017-01-14 03:42:59 -08:00
Linux Build Service Account
a1e7739089 Merge "sched: fix a bug in handling top task table rollover" 2017-01-14 03:42:58 -08:00
Linux Build Service Account
500c0ddd7c Merge "usb: mon: replace %p with %pK" 2017-01-14 03:42:56 -08:00
Linux Build Service Account
dce0275223 Merge "usb: core: replace %p with %pK" 2017-01-14 03:42:55 -08:00
Linux Build Service Account
f5ee23be9b Merge "usb: phy: snps: replace %p with %pK" 2017-01-14 03:42:54 -08:00
Dilip Kota
f7e1a6c695 ARM: dts: msm: Program slimbus bam offset address for SDM660
Slimbus transactions are failing because of bam intitialization
failed with slimbus_bam_lite module. With slimbus_bam, transactions
over slimbus are successful. This patch programs the slimbus bam
offset with slimbus_bam module offset address for SDM660.

Change-Id: I244362984b929de35e1678a70c0d638ca14a208c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2017-01-14 14:23:35 +05:30
Prasad Sodagudi
15074fffc8 defconfig: msm: Enable MSM_TIMER_LEAP
Enable MSM_TIMER_LEAP config flag in both msmcortex_defocnfig
and msmcorte-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.

CRs-Fixed: 1074621
Change-Id: I0ffa124df76f8cc063c2ebee5497baed879c76ef
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-01-13 18:03:58 -08:00
Prasad Sodagudi
7b2f8ee769 arm64: Potential rollover condition for timer counter
There is potential rollover condition for CNTVCT and
CNTPCT counters. So on any architecture timer counter
read, if the least significant 32 bits are set,
reread counter.

CRs-Fixed: 1074621
Change-Id: I136a5f0ee04deeb74c03800d591e44fbd9b4dd39
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-01-13 18:02:42 -08:00
Olav Haugan
68b55fe985 sched: Initialize variables
Initialize variable at definition to avoid compiler warning when
compiling with CONFIG_OPTIMIZE_FOR_SIZE=n.

Change-Id: Ibd201877b2274c70ced9d7240d0e527bc77402f3
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2017-01-13 17:06:01 -08:00
Linux Build Service Account
0236a0326d Merge "defconfig: msm: Enable SCHED_AUTOGROUP" 2017-01-13 17:03:04 -08:00
Linux Build Service Account
81a7ed0e74 Merge "ARM: dts: msm: modify funnel configuration for sdm660" 2017-01-13 17:03:03 -08:00
Linux Build Service Account
be821f83fa Merge "ARM: dts: msm: Enable UART for sdm660" 2017-01-13 17:03:02 -08:00
Linux Build Service Account
bdf70d6dd4 Merge "mm: camera: isp: send PD stats buffer earlier" 2017-01-13 17:03:01 -08:00
Linux Build Service Account
96698897d2 Merge "drm/msm/sde: add resource manager to enable dual dsi" 2017-01-13 17:03:00 -08:00
Linux Build Service Account
f8278058a2 Merge "drm/msm/sde: adding implementation for mdp_top in hw driver" 2017-01-13 17:03:00 -08:00
Linux Build Service Account
74f63af013 Merge "msm: mdss: enable pll regulator during phy on sequence" 2017-01-13 17:02:58 -08:00
Linux Build Service Account
719eabd0a1 Merge "msm: mdss: add backlight gpio invert support for display" 2017-01-13 17:02:57 -08:00
Linux Build Service Account
e9f8ab7647 Merge "msm: mdss: remove timing db mode from DSI host init sequence" 2017-01-13 17:02:57 -08:00
Linux Build Service Account
908ab77f69 Merge "msm: mdss: Fix panel orientation handling for split displays" 2017-01-13 17:02:56 -08:00
Linux Build Service Account
14b01d57a4 Merge "msm: sde: Fix variable initialization in SDE rotator" 2017-01-13 17:02:55 -08:00
Linux Build Service Account
15cc45eab4 Merge "msm: sde: Reduce SDE rotator done signaling time" 2017-01-13 17:02:54 -08:00
Linux Build Service Account
9e318a7a45 Merge "qseecom: improve input validatation for qseecom_send_service_cmd" 2017-01-13 17:02:53 -08:00
Linux Build Service Account
8a4e3564ee Merge "qseecom: fix potential memory leak in __qseecom_update_cmd_buf_64" 2017-01-13 17:02:52 -08:00
Linux Build Service Account
d518fd451d Merge "icnss: Add support for host initiated recovery" 2017-01-13 17:02:50 -08:00
Linux Build Service Account
247b95f78b Merge "msm: ADSPRPC: attributes to support per-buffer coherent mappings" 2017-01-13 17:02:49 -08:00
Linux Build Service Account
afef96cab0 Merge "smb-lib: fix Type-C removal detection with OTG" 2017-01-13 17:02:48 -08:00
Linux Build Service Account
1896b200f9 Merge "perf: protect group_leader from races that cause ctx double-free" 2017-01-13 17:02:47 -08:00
Linux Build Service Account
bcea61c858 Merge "netfilter: Change %p to %pK in debug messages" 2017-01-13 17:02:46 -08:00
Linux Build Service Account
8cd28a094d Merge "iommu: arm-smmu: Set context bank page table coherency" 2017-01-13 17:02:41 -08:00
Linux Build Service Account
25f5607954 Merge "iommu: Add DOMAIN_ATTR_PAGE_TABLE_FORCE_COHERENT" 2017-01-13 17:02:41 -08:00
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