summaryrefslogtreecommitdiff
path: root/include/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
* msm: kgsl: Add EXEC permission to the unassign callShrenuj Bansal2016-03-22
| | | | | | | | | | When calling hyp_assign to free a secure buffer we need to pass in RWX permissions so that when the Hypervisor unmaps the buffer and maps it back to HLOS, the HLOS is able to use the same memory for data and instructions. Change-Id: I71e06a81df85891fecb11c5f197acd54979d2887 Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
* msm: ion: Add secure cma heapNeeti Desai2016-03-22
| | | | | | | | | | | Add the infrastructure to support a secure cma heap needed for secure usecases. The new heap uses the existing cma heap infrastructure, along with adding the assign call to assign the correct VM to the buffers during allocation and free. Change-Id: I0c959f46ffa6eb67128b6794e9e60c470a3d292e Signed-off-by: Neeti Desai <neetid@codeaurora.org>
* msm: Update the assign api to secure buffersNeeti Desai2016-03-22
| | | | | | | | | | | The assign call apis have been updated by TZ to include more usecases. Update the secure_buffer api files with the same. The system secure heap needs to be updated to reflect the change in the api calls. Change-Id: Idc784ddac222e6ad9f5defafc422e6e3fb88aa0c Signed-off-by: Neeti Desai <neetid@codeaurora.org>
* msm: move types and declarations to header fileNeeti Desai2016-03-22
| | | | | | | | | | | Move all function declarations and types to the header file to make the macros and definitions available even when the CONFIG_MSM_SECURE_BUFFER is not enabled. Rename rid of the msm_ion_secure_table and msm_ion_unsecure_table to something more generic. Change-Id: Ia5ca0c52f971a67c7936c64b42cd2522aa1773fa Signed-off-by: Neeti Desai <neetid@codeaurora.org>
* soc: qcom: socinfo: Add MSMCOBALT chip IDRunmin Wang2016-03-22
| | | | | | | | | | | Add MSMCOBALT chip ID and relevant macros. Change-Id: I0f97ed3eafdc54636849a58e5dfc34750d5dcea3 Signed-off-by: Trilok Soni <tsoni@codeaurora.org> Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> Conflicts: include/soc/qcom/socinfo.h
* soc: qcom: socinfo: remove APIs without any clientsMatt Wagantall2016-03-22
| | | | | | | | | | | | | socinfo exports a number of APIs left over from the days before device tree, for targets which are no longer supported in the current kernel. Remove these unused APIs: get_core_count() read_msm_cpu_type() cpu_is_*() soc_class_is_*() Change-Id: I2fb23c44649f0582fb0e2523a0235470f76a3da9 Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
* soc: qcom: socinfo: separate major and minor format versionsMatt Wagantall2016-03-22
| | | | | | | | | | | The socinfo format version includes a 16-bit major field number field that has always been zero, but may be changed in the future to indicate a non-backwards-compatible format change. Update current prints and checks to properly interpret both the major and minor components. Change-Id: I87a6d2e3f9379662857e03bb5b7e918f699c61ab Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
* Update target name references for 8976Ian Maund2016-03-22
| | | | | | | | With the official announcement of 8976, remove all references to its internal code name, and replace them with 8976. Change-Id: Iadedabf16a7bef92c582524ae6ea38b31ba26ac4 Signed-off-by: Ian Maund <imaund@codeaurora.org>
* soc: qcom: Add socinfo driver snapshotAbhimanyu Kapur2016-03-22
| | | | | | | | | | | This is a snapshot of the socinfo driver as of msm-3.14 commit: 3bc54cf86bdc7affa7cd4bf7faa3c57fe8f8819d (Merge "msm: camera: Add dummy sub module in sensor pipeline") Change-Id: I6b5b866ede0e84432fad460e9d95babfdbc556fc Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
* soc: qcom: watchdog_v2: Add support to trigger watchdog bite on panicSubbaraman Narayanamurthy2016-03-22
| | | | | | | | | | | | | In certain cases during a kernel panic,the interrupts on non-panicking CPUs are disabled. Since CPU context cannot be collected by sending IPI to those CPUs, we're limited to debug the problem. Forcing a watchdog bite during kernel panic will ensure us getting the proper CPU context. Hence adding support for the same. Change-Id: Id06030d9bc46d94209da7f0ef8c47bfd3477baf6 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org> [abhimany: resolve trivial merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
* power: reset: replace upstream msm-poweroff driverJosh Cartwright2016-03-22
| | | | | | | | | | | | | | | This is a snapshot of the msm-poweroff driver as of msm-3.10 commit acdce027751d5a7488b283f0ce3111f873a5816d (Merge "defconfig: arm64: Enable ONESHOT_SYNC for msm8994") In addition, make this driver selectable when ARCH_MSM || ARCH_QCOM. Signed-off-by: Josh Cartwright <joshc@codeaurora.org> [abhimany: resolve trivial merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> Change-Id: Ifca5e017ad67cd78cbd507864fd3a0ee37d8713e
* soc: qcom: Include the kryo-l2-accessors driver in buildDevesh Jhunjhunwala2016-03-22
| | | | | | Add the kryo-l2-accessors driver to the build. Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* soc: qcom: Add kryo l2 accessors driver snapshotDevesh Jhunjhunwala2016-03-01
| | | | | | | | | | This is a snapshot of kryo l2 accessors driver as of msm-3.18 commit: e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1 (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* clk: msm: Add support for MSM clocksTaniya Das2016-03-01
| | | | | | | | Support added for MSM clock and modifications in the clk framework to use the MSM clock framework. Change-Id: Ibbcf0ffbf9d30dde2dcb0e943225ad95dd4e857d Signed-off-by: Taniya Das <tdas@codeaurora.org>
* soc: spm: Snapshot of the SPM driver from 3.18 kernelAbhijeet Dharmapurikar2016-03-01
| | | | | | | | | This is a snapshot of the SPM driver from 3.18 kernel. The upstream spm.c file is used as a idle driver. So updated spm driver from 3.18 kernel to msm-spm.c on 4.4 kernel. Change-Id: I73b020214fdcc7eb695cf8f5b52cf7885a0a10cd Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
* qpnp: Add snapshot of some qpnp, regulator and charger driversAbhijeet Dharmapurikar2016-03-01
| | | | | | | | | This snapshot is taken as of msm-3.18 commit 9da4ddc (Merge "clk: msm: clock-gcc: Associate gfx rail voting with gfx3d branch") Change-Id: Idd2f467f1f1863a156d1757589dfe78158f0e43f Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
* soc: qcom: Add snapshot of RPM SMD DriverKarthikeyan Ramasubramanian2016-03-01
| | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
* soc: qcom: Add snapshot of G-Link driverKarthikeyan Ramasubramanian2016-03-01
| | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
* soc: qcom: Add snapshot of SMD driverKarthikeyan Ramasubramanian2016-03-01
| | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
* soc: qcom: Add snapshot of SMEM driverKarthikeyan Ramasubramanian2016-03-01
| | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201) Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
* include: Introduce required header files for SMEM driverKarthikeyan Ramasubramanian2016-03-01
| | | | | | | This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
* soc: qcom: Add snapshot of MEMORY DUMPAndy Gross2016-03-01
| | | | | | | | | | | | | This is a snapshot of the memory_dump driver as of msm-3.10 commit: acdce027751d5a7488b283f0ce3111f873a5816d (Merge "defconfig: arm64: Enable ONESHOT_SYNC for msm8994") Change-Id: I296a57ab1c491b29911413fdb4abb82fa15137c3 Signed-off-by: Andy Gross <agross@codeaurora.org> [abhimany: resolve trivial merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
* soc: qcom: Add snapshot of Qualcomm watchdog_v2 driverAndy Gross2016-03-01
| | | | | | | | | | | | This is a snapshot of the watchdog_v2 driver as of msm-3.10 commit acdce027751d5a7488b283f0ce3111f873a5816d (Merge "defconfig: arm64: Enable ONESHOT_SYNC for msm8994") Change-Id: I8cd7a84e0cbb45c3ac20d4c84f5603ab5df1edae Signed-off-by: Andy Gross <agross@codeaurora.org> [abhimany: resolve trivial merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
* soc: qcom: scm: Add LMH specific mutex lockVikram Mulukutla2016-03-01
| | | | | | | | | | It is required on some hardware that the Limits Management secure API be executed in mutual exclusion with certain other hardware-accessing drivers. Provide a mutex to achieve this. Change-Id: Ie0db516e335c29b79e959a0a6e6fb76231af6bf4 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
* soc: qcom: Add SCM driver snapshotAbhimanyu Kapur2016-03-01
This is a snapshot of the scm driver as of msm-3.14 commit: 3bc54cf86bdc7affa7cd4bf7faa3c57fe8f8819d (Merge "msm: camera: Add dummy sub module in sensor pipeline") Change-Id: Ida15e7da1a8c92e96b4f59feecb4d9dbaf667273 Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>