718282 Commits

Author SHA1 Message Date
Linux Build Service Account
f3c9cf833d Merge "defconfig: sm8150: Enable MHI host driver stack" into msm-4.14 2018-04-16 18:08:54 -07:00
Isaac J. Manjarres
d3badbe62b Revert "ARM: dts: msm: Add a test thermal zone for SM8150"
This reverts commit 2f994ded4e87a6ee0950fb5d78c6913d00d3e972.

Change-Id: I9a1fcf9174a8cc327a74d539315ed32d937423f8
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-04-16 16:12:19 -07:00
Sujeev Dias
e4ec2969a5 defconfig: sm8150: Enable MHI host driver stack
MHI Host Interface is a communication protocol to be used by the host
to control and communicate with modem over a high speed peripheral bus.
Enabling this stack will allow host to communicate with external devices
that support MHI protocol.

CRs-Fixed: 2204910
Change-Id: I856b035d196885420797594e3c274390b5504237
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2018-04-16 15:32:59 -07:00
Linux Build Service Account
452becbfc8 Merge "scripts: build-all.py: update regex to compile defconfigs" into msm-4.14 2018-04-13 14:02:24 -07:00
Linux Build Service Account
da79c56833 Merge changes I7d83113e,Iab5cb23d into msm-4.14
* changes:
  Merge remote-tracking branch 'remotes/origin/tmp-7e76ead' into msm-4.14
  Merge remote-tracking branch 'remotes/origin/tmp-27e69ad' into msm-4.14
2018-04-13 11:38:17 -07:00
Isaac J. Manjarres
56b547598d scripts: build-all.py: update regex to compile defconfigs
Update regex so targets that use sm*_defconfig can compile
with the build-all script.

Change-Id: I74612a64e3eb37b84dfdadc53cba97b2f578c39f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-04-13 11:35:45 -07:00
Linux Build Service Account
4e024506db Merge "staging: android: ion: Support iommu mappings with one segment" into msm-4.14 2018-04-13 11:33:03 -07:00
Linux Build Service Account
dfbe22fe9d Merge changes I02980914,I42adaa31,Ic0508a0d,Ib538a19a into msm-4.14
* changes:
  rpmsg: glink: Put an extra reference during cleanup
  rpmsg: Only invoke announce_create for rpdev with endpoints
  trace: ipc_logging: check for existing ipclog ctxt before creating new one
  defconfig: SM8105: Enable QSEE IPC IRQ bridge
2018-04-13 11:33:00 -07:00
Linux Build Service Account
357b3afafa Merge "drm/msm/sde: Update LUT dma under-run handling" into msm-4.14 2018-04-13 11:32:59 -07:00
Linux Build Service Account
049f1b0da2 Merge changes Iffb2141a,I712a708b into msm-4.14
* changes:
  defconfig: qcs405: enable required configs for SMP enablement
  drivers: soc: qcom: Add missing SCM call parameters
2018-04-13 11:32:57 -07:00
Linux Build Service Account
1749bf6b57 Merge "ARM: dts: msm: Add FSA and REGMAP debugfs configs on sdmshrike" into msm-4.14 2018-04-13 11:32:52 -07:00
Linux Build Service Account
97e923e139 Merge "soc: qcom: scm: QHEE SMC call to enable kernel memory protection" into msm-4.14 2018-04-13 11:32:50 -07:00
Linux Build Service Account
bccf1ca8bb Merge "regulator: qpnp-lcdb: Fix boost headroom and max voltage configuration" into msm-4.14 2018-04-13 11:32:48 -07:00
Linux Build Service Account
73055676c5 Merge "msm: mink: Snapshot of smcinvoke driver" into msm-4.14 2018-04-13 11:32:43 -07:00
Linux Build Service Account
47afae55ec Merge "drm/msm: handle dma_buf attach/map for secure buffers" into msm-4.14 2018-04-13 11:32:41 -07:00
Linux Build Service Account
bba15c0461 Merge "msm: kgsl: Set primFifo thresholds value for A640" into msm-4.14 2018-04-13 11:32:39 -07:00
Linux Build Service Account
9ccf705fa9 Merge "ARM: dts: msm: Set snps,ssp-u3-u0-quirk on SM8150" into msm-4.14 2018-04-13 11:32:36 -07:00
Linux Build Service Account
d5029b2925 Merge "msm: vidc: fix cvp session close issue" into msm-4.14 2018-04-13 11:32:34 -07:00
Linux Build Service Account
aea3a85781 Merge "dwc3: core: Add ssp u3 u0 link state related quirk" into msm-4.14 2018-04-13 11:32:32 -07:00
Linux Build Service Account
9f1af0b67d Merge changes I2b415042,I36bbc36b,I2c28dadf into msm-4.14
* changes:
  ARM: dts: msm: Add qsee_ipc_irq_bridge nodes for SM8150
  soc: qcom: Add snapshot of qsee_ipc_irq_bridge driver
  soc: qcom: glink_pkt: Remove incorrect mutex_unlock
2018-04-13 11:32:28 -07:00
Linux Build Service Account
61faa783d9 Merge "soc: qcom: qsee_ipc_irq: Fix irq mapping logic" into msm-4.14 2018-04-13 11:32:26 -07:00
Linux Build Service Account
6f9297b0dc Merge "mhi_bus: dev: uci: add user space interface driver" into msm-4.14 2018-04-13 11:32:23 -07:00
Linux Build Service Account
5ea241b25b Merge "ARM: dts: msm: Add battery profile data for mlp466076 battery" into msm-4.14 2018-04-13 11:32:20 -07:00
Linux Build Service Account
42689e062c Merge changes I70206d9e,Ib0910350 into msm-4.14
* changes:
  defconfig: sm8150: Enable ST touch driver support
  input: touchscreen: Update ST touch driver
2018-04-13 11:32:18 -07:00
Linux Build Service Account
52ca05f163 Merge "ARM: dts: msm: Add initial device tree support for SM8150P" into msm-4.14 2018-04-13 11:32:13 -07:00
Linux Build Service Account
717c9f250d Merge "ARM: dts: msm: Use proper node names for CPUSS L2 TLB Dumping" into msm-4.14 2018-04-13 11:32:11 -07:00
Linux Build Service Account
781c0e7dc2 Merge "ARM: dts: msm: add cdsp/snoc/cnoc keepalive governor for sdmshrike" into msm-4.14 2018-04-13 11:32:08 -07:00
Linux Build Service Account
4b89d88d81 Merge "ARM: dts: msm: Add ALC mas node for sm8150" into msm-4.14 2018-04-13 11:32:03 -07:00
Linux Build Service Account
3726551daa Merge "ARM: dts: msm: Change display rsc to use AMC votes for sm8150" into msm-4.14 2018-04-13 11:32:00 -07:00
Linux Build Service Account
6e742b8ce9 Merge "msm: ipa3: add missing dma-coherent description" into msm-4.14 2018-04-13 11:31:58 -07:00
Linux Build Service Account
351930d2f5 Merge "ARM: dts: msm: Enable TSENS driver for qcs405" into msm-4.14 2018-04-13 11:31:56 -07:00
Linux Build Service Account
c82bc68f83 Merge changes I372d4e8d,Idd7c2fdc,I0381321d,I3aa636ca,I4c6be6cb into msm-4.14
* changes:
  ARM: dts: msm: Add devicetree overlay files for sdmshrike
  ARM: dts: msm: Add CPUSS core hang dt node for sdmshrike
  ARM: dts: msm: Add L1 cache definitions to sdmshrike target
  defconfig: Enable POWEROFF driver on sdmshrike target
  ARM: dts: msm: Update interrupt parent and smp2p bits for LPASS
2018-04-13 11:31:54 -07:00
Linux Build Service Account
bdd298a9b1 Merge "ARM: dts: msm: Add imem,restart and sleep counter for sdmshrike" into msm-4.14 2018-04-13 11:31:50 -07:00
Linux Build Service Account
dd7fd78922 Merge "ARM: dts: msm: Add dl_south for sm8150" into msm-4.14 2018-04-13 11:31:43 -07:00
Linux Build Service Account
b041ac4fbd Merge "ARM: dts: msm: Enable coresight ssc etm for sm8150" into msm-4.14 2018-04-13 11:31:41 -07:00
Linux Build Service Account
39d58207e9 Merge "drm/msm/dsi-staging: optimize dsi probe" into msm-4.14 2018-04-13 11:31:37 -07:00
Linux Build Service Account
4364c9b056 Merge "defconfig: qcs405: Enable the common clock framework" into msm-4.14 2018-04-13 11:31:35 -07:00
Linux Build Service Account
f923a65196 Merge changes I67dbfa8e,I866b4c0c,I566985a4 into msm-4.14
* changes:
  drivers: thermal: lmh-dcvs: Register the cooling device in order
  ARM: dts: msm: Add a test thermal zone for SM8150
  drivers: thermal: lmh-dcvsh: Add multiple clock plan support
2018-04-13 11:31:33 -07:00
Linux Build Service Account
7892838f8f Merge "mm/memblock.c: cast constant ULLONG_MAX to phys_addr_t" into msm-4.14 2018-04-13 11:31:31 -07:00
Linux Build Service Account
4a612e687d Merge "defconfig: msm: Enable RPM sleep stats for SDM8150" into msm-4.14 2018-04-13 11:31:29 -07:00
Linux Build Service Account
3aff52933f Merge changes I3fd95cb3,I9c6b1605,I59b42942 into msm-4.14
* changes:
  qbt1000: Initialize drvdata structure before usage
  qbt1000: Validate FP app name before qseecom_start_app
  soc: qcom: add support for fingerprint sensor driver
2018-04-13 11:31:26 -07:00
Linux Build Service Account
bb11c9fa69 Merge "ARM: dts: msm: Update TCS configuration for SDE RSC in SM8150" into msm-4.14 2018-04-13 11:31:19 -07:00
Linux Build Service Account
d8fb972f8a Merge "perf: arm: fix IRQ initializations in the driver" into msm-4.14 2018-04-13 11:31:13 -07:00
Raghavendra Rao Ananta
3cc1fda16e perf: arm: fix IRQ initializations in the driver
During the ARM PMU driver's probe, the IRQ number and state
are set when requesting for the IRQ lines. However, these
values are re-initialized when the driver tries to register
with the perf framework later. The bug prevents the driver
from re-enabling the interrupts during the CPU hotplug-on
case (or any IRQ operation thereafter), thus not triggering
any interrupt. Perf sampling events would be mainly impacted
by this as they update the samples for every overflow interrupt.

Hence, moving the initializations of the IRQ number and state
after the arm_pmu structure is allocated. The correct values
can be recorded after requesting the IRQ.

Change-Id: Ia4361a31e9e960efc7156f813c543574b197ff68
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2018-04-13 10:19:07 -07:00
Stefan Agner
070659e590 mm/memblock.c: cast constant ULLONG_MAX to phys_addr_t
This fixes a warning shown when phys_addr_t is 32-bit int when compiling
with clang:

  mm/memblock.c:927:15: warning: implicit conversion from 'unsigned long long'
        to 'phys_addr_t' (aka 'unsigned int') changes value from
        18446744073709551615 to 4294967295 [-Wconstant-conversion]
                                  r->base : ULLONG_MAX;
                                            ^~~~~~~~~~
  ./include/linux/kernel.h:30:21: note: expanded from macro 'ULLONG_MAX'
  #define ULLONG_MAX      (~0ULL)
                           ^~~~~

Change-Id: I23a1b8b2054ca93ed70d462285af8405fe8fe0b4
Link: http://lkml.kernel.org/r/20180319005645.29051-1-stefan@agner.ch
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 644d87dccdc69cf79834a72ed0c889580d6af32a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2018-04-13 05:45:23 -07:00
Abir Ghosh
3c75efaf9b qbt1000: Initialize drvdata structure before usage
Fix uninitialized local variable error which might have lead to
crash.

CRs-Fixed: 2030137
Change-Id: I3fd95cb343c3175e4190c8ebfe209399db0602a6
Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
Signed-off-by: Kota Priyanka <kotap@codeaurora.org>
2018-04-13 05:12:02 -07:00
Abir Ghosh
7b96bcfe6f qbt1000: Validate FP app name before qseecom_start_app
Validate the name of the client app before passing it to
qseecom_start_app.

CRs-Fixed: 2006695
Change-Id: I9c6b16050d4f6fc94827021c7b0f2ab292452f60
Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
Signed-off-by: Kota Priyanka <kotap@codeaurora.org>
2018-04-13 05:11:41 -07:00
Abir Ghosh
dfe3ae5174 soc: qcom: add support for fingerprint sensor driver
The QBT1000 driver provides an API for communicating
with trustzone applications and handles firmware event
interrupts.
The driver supports the following features:
 - loading and unloading trustzone applications.
 - sending commands to trustzone applications.
 - voting/un-voting for clocks before/after making
   a trustzone call.
 - receiving firmware events, signalled by interrupts,
   and providing them to the driver client.
 - sending a key event in response to firmware finger
   detect events.
 - support for multiple IPC messages.
 - retry logic for CBGE interrupt handling.
 - remove clocks on/off logic.

This is snapshot of the qbt1000 driver as of msm-4.4 kernel base
'd93c68b1f0bd (soc: qcom: add support for fingerprint sensor driver)' .

Change-Id: I59b4294285edab6e4916528a31d0713d06d5a072
Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
Signed-off-by: Kota Priyanka <kotap@codeaurora.org>
2018-04-13 05:11:20 -07:00
Taniya Das
c0f18b39d6 defconfig: qcs405: Enable the common clock framework
Enable common clock framework and syscon for QCS405 device.

Change-Id: I3c0f451511fa350a53ceec2e2c25b00384a5a6fd
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2018-04-13 15:12:55 +05:30
Chong Gu
e2df260dba defconfig: sm8150: Enable ST touch driver support
Enable ST touch driver for sm8150_defconfig and sm8150-perf_defconfig.

Change-Id: I70206d9e865680a1bf5f1d5962d53f682b80a025
Signed-off-by: Chong Gu <chongu@codeaurora.org>
2018-04-13 02:22:40 -07:00