summaryrefslogtreecommitdiff
path: root/include/linux (follow)
Commit message (Collapse)AuthorAge
* bluetooth: Add WCN3990 power controlSungjun Park2016-04-07
| | | | | | | | To support WCN3990 chipset, add control to configure regulators and clock. Change-Id: Ibf0e4a0ebd55adaadb6d26b335c3d0a9edbe8845 Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
* msm: ipa3: include ipa.h from ipa_odu_bridge.hAmir Levy2016-04-07
| | | | | | | | | | | | In order to allow ipa_odu_bridge clients to include only the dedicated header ipa_odu_bridge.h and also have the symbols of shared IPA structures and definitions, include ipa.h from ipa_odu_bridge.h. The clients of ipa_odu_bridge will use only APIs from ipa_odu_bridge.h. CRs-fixed: 999935 Change-Id: Ic6da089ebd7878f0d7ceebde7cd8e8549c30182e Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa3: remove odu_bridge functions from ipa.hAmir Levy2016-04-07
| | | | | | | | | | | | | | | | As part of IPA driver refactoring, a separation has been made between IPA core driver and the IPA clients. odu_bridge driver has moved to the ipa_clients folder and a dedicated header file has been created in order to provide a direct interface between IPA odu_bridge client driver and other drivers without a direct interaction with the IPA core driver. This change moves odu_bridge functions and structure from ipa.h to the ipa_odu_bridge.h header. CRs-fixed: 999935 Change-Id: I1b24c4e13daaae3e63c5cacefcbda12b8cfbeeb8 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa3: add odu_bridge to ipa_clients folderAmir Levy2016-04-07
| | | | | | | | | | | | | | As part of IPA driver refactoring, a separation has been made between IPA core driver and the IPA clients. odu_bridge driver has moved to the ipa_clients folder and a dedicated header file has been created in order to provide a direct interface between IPA odu_bridge client driver and other drivers without a direct interaction with the IPA core driver. CRs-Fixed: 999935 Change-Id: Ib5109681c62137d1310539daa816d5229bc08098 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa: header change for wlan VA mappingSkylar Chang2016-04-07
| | | | | | | | | | wlan will pass the VA to IPA-driver to let IPA-driver access the values of rdy_ring_rp and rdy_comp_ring_wp to decive when can suspend the WDI pipe Change-Id: I73447c5557d42817ac2214532273e0de638e13d9 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa: header file change for WDI2.0Skylar Chang2016-04-07
| | | | | | | | structure changes for WDI2.0, wlan needs pass comp_ring_base_pa and comp_ring_wp_pa to ipa-uc Change-Id: Ib0cdd0c7614916e53f2731f61d0399959d4b739d Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm_serial_hs: Fix race condition blocking suspend and remove wakeup sourceGirish Mahadevan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | The __pm_stay_awake/relax() calls were moved to runtime callbacks as a means to fix data loss due to race conditions between incoming userspace commands and executing PM related callbacks. However calling the __pm_relax (to notify wakeup event processing) as part of the runtime suspend callback could be race prone between the system suspend and the runtime framework. If the system suspend gets to run before the runtime callback, the wakeup event will block system suspend. Remove the use of the wakeup source altogether, instead do these: 1. Block system suspend based on the current clk request count and the RPM state of the device (to detect potential inbound userspace requests). 2. If the driver is in the process of executing the system suspend callback, ignore any userspace requests. 3. If the client calls a shutdown without an unvote ioctl, zero out the client_count vote forcefully to allow suspend. CRs-Fixed: 977421 Change-Id: I17de85f29b555c1a4563dd59bec3ba3084c3604f Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
* iommu: Introduce DOMAIN_ATTR_S1_BYPASSPatrick Daly2016-03-25
| | | | | | | | | Certain configurations may require nested translation, but may want to avoid software performance limitation on map/unmap operations. Change-Id: I69bed6cc9d801709849ebc91b76d2a9d6649865a Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* adreno_tz: Use context aware dcvs calls, if availableDeepak Kumar2016-03-25
| | | | | | | | | | Add support to use context aware dcvs, if it is supported by TZ. Context aware dcvs helps in handling sudden workload scenarios. Change-Id: I5e6e6003a5c61eacb4f5af91910994919a5a7684 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org> Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
* eCryptfs: fixed bug in cipher handlingGilad Broner2016-03-25
| | | | | | | | | Cipher was sometimes not treated properly, causing valid requests belonging to eCryptfs to be treated as regular. Change-Id: Iabfb93cc4c9e9e167901043482eb99613ed70343 Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* msm: gsi: update MHI channel scratchSkylar Chang2016-03-25
| | | | | | | | | Add new fields to MHI channel scratch according to MHI spec. CRs-Fixed: 990237 Change-Id: I36476b8a24b2a1b3bc55fa5832404bb106d810ec Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* mm: vmstat: add pageoutcleanVinayak Menon2016-03-25
| | | | | | | | | | vmstat events currently count pgpgout, but that includes only the writebacks, and not the reclaim of clean pages. Add an event to count clean page evictions. This is helpful to evaluate page thrashing cases. Change-Id: Icfb797877a544a58c289074bdc290dfbc1384514 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
* msm: ipa3: Add the ability to set dynamically HPS/DPS seq typeNadine Toledano2016-03-25
| | | | | | | | | | | HPS/DPS sequencer type is configured statically for PROD EPs according to ipa3_ep_mapping table. This change adds the ability to set a different HPS/DPS sequencer configuration for PRODs, which mainly be used in testing CRs-Fixed: 986167 Change-Id: I47dec10e757694596385f5118486603c702fe302 Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
* msm: ipa: add support for AGGR_SW_EOF_ACTIVESkylar Chang2016-03-25
| | | | | | | | | | | | Configure AGGR_SW_EOF_ACTIVE for WAN_CONS pipe in order to allow modem to close aggregation on this pipe. This is needed in order for modem to ensure a QMAP command packet always resides in the end of aggregated frame. Change-Id: I7412f1f0af8d2109853e311de815a1f1ec3220e3 CRs-Fixed: 979484 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* input: synaptics_dsx_2.6: update driver to enable touch S332UMao Li2016-03-25
| | | | | | | | | | Synaptics reference driver V2.6 is being cleaned up to enable touch controller S332U. Add Kconfig and Makefile changes to enable Synaptics dsx V2.6 driver's compilation. CRs-Fixed: 943896 Change-Id: I7e79e9ee321b7a7c90d27f065281dc73cee65391 Signed-off-by: Mao Li <maol@codeaurora.org>
* ipc_router: Fix compilation error when CONFIG_IPC_ROUTER is not enabledMayank Rana2016-03-23
| | | | | | | | diagfwd_socket.c is using few IPC router APIs. diagfwd_socket.c is showing compilation error due to CONFIG_IPC_ROUTER is not enabled. Fix this issue by adding missing APIs as part of !ifdef CONFIG_IPC_ROUTER. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* usb: qdss: Fix compilation error with USB QDSSMayank Rana2016-03-23
| | | | | | | | compilation error seen with redefinition of usb_bam_alloc_fifos and usb_bam_free_fifos APIs. Fix this issue by adding proper check, removing usb_bam.h as part of f_qdss.h and fixing makefile. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* bluetooth: Add snapshot of bluetooth driverSungjun Park2016-03-23
| | | | | | | This snapshot is taken as of msm-3.18 commit d580948 (Merge "msm: ipa: fix race condition when teardown pipe") Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
* ufs: qcom: add dts property to disable LPM modesGilad Broner2016-03-23
| | | | | | | | | | | | | | | Since msmcobalt RUMI uses QRBTC-V2 UFS PHY, there are a few limitations that must be applied in order to be able to initialize UFS: 1. UFS should remain in PWM-G1 1-Lane and never change its gear, as other gears are not stable 2. hibern8 enter/exit should be bypassed 3. we should avoid any power change (as in runtime suspend/resume) Add "qcom,disable-lpm" property to facilitate disabling of these. Change-Id: I3f1801da1e2bf1ce8ce98f5ab08211683106ae8c Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* sched: fix compile failure with !CONFIG_SCHED_HMPJoonwoo Park2016-03-23
| | | | | | | | Fix various compilation failures when CONFIG_SCHED_HMP or CONFIG_SCHED_INPUT isn't enabled. Change-Id: I385dd37cfd778919f54f606bc13bebedd2fb5b9e Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
* sched: restrict sync wakee placement bias with waker's demandJoonwoo Park2016-03-23
| | | | | | | | | | | | | | | | | | Biasing sync wakee task towards waker CPU's cluster makes sense when the waker's demand is high enough so the wakee also can take advantage of high CPU frequency voted because of waker's load. Placing sync wakee on the low demand waker's CPU can lead placement imbalance which can lead unnecessary migration. Introduce a new tunable "sched_big_waker_task_load" that defines the big waker so scheduler avoid wakee on waker's cluster bias when the waker's load is below the tunable. CRs-fixed: 971295 Change-Id: I1550ede0a71ac8c9be74a7daabe164c6a269a3fb Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org> [joonwoop@codeaurora.org: fixed a minor conflict in include/linux/sched/sysctl.h.]
* sched: add preference for waker cluster CPU in wakee task placementJoonwoo Park2016-03-23
| | | | | | | | | | | | | | | | | | | | If sync wakee task's demand is small it's worth to place the wakee task on waker's cluster for better performance in the sense that waker and wakee are corelated so the wakee should take advantage of waker cluster's frequency which is voted by the waker along with cache locality benefit. While biasing towards the waker's cluster we want to avoid the waker CPU as much as possible as placing the wakee on the waker's CPU can make the waker got preempted and migrated by load balancer. Introduce a new tunable 'sched_small_wakee_task_load' that differentiates eligible small wakee task and place the small wakee tasks on the waker's cluster. CRs-fixed: 971295 Change-Id: I96897d9a72a6f63dca4986d9219c2058cd5a7916 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org> [joonwoop@codeaurora.org: fixed a minor conflict in include/linux/sched/sysctl.h.]
* sched: Add separate load tracking histogram to predict loadsPavankumar Kondeti2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current window based load tracking only saves history for five windows. A historically heavy task's heavy load will be completely forgotten after five windows of light load. Even before the five window expires, a heavy task wakes up on same CPU it used to run won't trigger any frequency change until end of the window. It would starve for the entire window. It also adds one "small" load window to history because it's accumulating load at a low frequency, further reducing the tracked load for this heavy task. Ideally, scheduler should be able to identify such tasks and notify governor to increase frequency immediately after it wakes up. Add a histogram for each task to track a much longer load history. A prediction will be made based on runtime of previous or current window, histogram data and load tracked in recent windows. Prediction of all tasks that is currently running or runnable on a CPU is aggregated and reported to CPUFreq governor in sched_get_cpus_busy(). sched_get_cpus_busy() now returns predicted busy time in addition to previous window busy time and new task busy time, scaled to the CPU maximum possible frequency. Tunables: - /proc/sys/kernel/sched_gov_alert_freq (KHz) This tunable can be used to further filter the notifications. Frequency alert notification is sent only when the predicted load exceeds previous window load by sched_gov_alert_freq converted to load. Change-Id: If29098cd2c5499163ceaff18668639db76ee8504 Suggested-by: Saravana Kannan <skannan@codeaurora.org> Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org> Signed-off-by: Junjie Wu <junjiew@codeaurora.org> [joonwoop@codeaurora.org: fixed merge conflicts around __migrate_task() and removed changes for CONFIG_SCHED_QHMP.]
* sched: Provide a wake up API without sending freq notificationsJunjie Wu2016-03-23
| | | | | | | | | | | | | | | | | Each time a task wakes up, scheduler evaluates its load and notifies governor if the resulting frequency of destination CPU is larger than a threshold. However, some governor wakes up a separate task that handles frequency change, which again calls wake_up_process(). This is dangerous because if the task being woken up meets the threshold and ends up being moved around, there is a potential for endless recursive notifications. Introduce a new API for waking up a task without triggering frequency notification. Change-Id: I24261af81b7dc410c7fb01eaa90920b8d66fbd2a Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
* sched: Revise the inter cluster load balance restrictionsPavankumar Kondeti2016-03-23
| | | | | | | | | | | | | | | | | | The frequency based inter cluster load balance restrictions are not reliable as frequency does not provide a good estimate of the CPU's current load. Replace them with the spill_load and spill_nr_run based checks. The higher capacity cluster is restricted from pulling the tasks from the lower capacity cluster unless all of the lower capacity CPUs are above spill. This behavior can be controlled by a sysctl tunable and it is disabled by default (i.e. no load balance restrictions). Change-Id: I45c09c8adcb61a8a7d4e08beadf2f97f1805fb42 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org> Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> [joonwoop@codeaurora.org: fixed merge conflicts due to omitted changes for CONFIG_SCHED_QHMP.]
* sched: colocate related threadsSrivatsa Vaddagiri2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | Provide userspace interface for tasks to be grouped together as "related" threads. For example, all threads involved in updating display buffer could be tagged as related. Scheduler will attempt to provide special treatment for group of related threads such as: 1) Colocation of related threads in same "preferred" cluster 2) Aggregation of demand towards determination of cluster frequency This patch extends scheduler to provide best-effort colocation support for a group of related threads. Change-Id: Ic2cd769faf5da4d03a8f3cb0ada6224d0101a5f5 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [joonwoop@codeaurora.org: fixed minor merge conflicts. removed ifdefry for CONFIG_SCHED_QHMP.] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
* sched: Update fair and rt placement logic to use scheduler clustersSrivatsa Vaddagiri2016-03-23
| | | | | | | | | | | | | | Make use of clusters in the fair and rt scheduling classes. This is needed as the freq domain mask can no longer be used to do correct task placement. The freq domain mask was being used to demarcate clusters. Change-Id: I57f74147c7006f22d6760256926c10fd0bf50cbd Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> [joonwoop@codeaurora.org: fixed merge conflicts due to omitted changes for CONFIG_SCHED_QHMP.] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
* msm: ipa: snapshot of IPA changesSkylar Chang2016-03-23
| | | | | | | | This snapshot is taken as of msm-3.18 commit d5809484b (Merge "msm: ipa: fix race condition when teardown pipe" ) Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* mhi: core: Set correct DMA mask on deviceTony Truong2016-03-23
| | | | | | | | | Set the correct DMA mask on the platform device to avoid bounce buffering from the default 32 bit mask. Change-Id: I7e201e83fd21b0f0a6f57754a3b6f3eded9be58f Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* mhi: Use standard kernel return codesTony Truong2016-03-23
| | | | | | | | | | Replace the MHI defined enum for return codes with kernel standard return codes. This greatly improves readability and parsing of errors by userspace clients. Change-Id: Ica47f8c3a149f23243b5fb6a4aabcdc0a36b1535 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* mhi: core: Enable SBL logging channelsTony Truong2016-03-23
| | | | | | | | Enable SBL logging channels. Change-Id: I156bc89ca1be0ed966eeb1b2e38b8bfd7bf44de4 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* mhi: core: Enable queueing of virtual buffersAndrei Danaila2016-03-23
| | | | | | | | Enable clients to queue virtual buffers, thus leaving all the DMA operations to MHI. Change-Id: I824d2f387b1a21d322ca0628963995824227bd76 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
* dm: add snapshot of dm-req-cryptGilad Broner2016-03-23
| | | | | | | | This snapshot is taken as of msm-3.18 commit: 5684450d70 ("Promotion of kernel.lnx.3.18-151201"). dm-req-crypt is necessary for full disk encryption. Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* crypto: msm: add inline crypto engine (ICE) driver snapshotGilad Broner2016-03-23
| | | | | | This snapshot is taken as of msm-3.18 commit e70ad0c ("Promotion of kernel.lnx.3.18-151201") Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* mm + fs: extends support for cache droppingAndrey Markovytch2016-03-23
| | | | | | | | | | | | Exposes drop_pagecache_sb (required by eCryptfs cache wiping) Adds truncate_inode_pages_fill_zero (required by eCryptfs cache wiping), which not only truncates pages but also fills them with 0, so that the cached data can no longer be retrieved. Change-Id: Icfc18a2c8cdc922e71ee17add6459a1355e77ba6 Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> [gbroner@codeaurora.org: fix merge conflict] Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* PFK: fixed issue where key in TZ was not set properlyAndrey Markovytch2016-03-23
| | | | | | | | When key is set in ICE via TZ, HLOS should send two parts, SALT and the KEY itself according to AES standards. KEY was used for both parts. Change-Id: I453dea289b01bdf49352d5209255966052f5dc1b Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
* PFK: new module to work with ecryptfsAndrey Markovytch2016-03-23
| | | | | | | | | | | | | | PFK is a new module that accompanies eCryptfs and enables it to utilize ICE hw encryption engine. Module is responsible for storing encryption/decryption keys inside eCryptfs inodes for each file and loading them to ICE Change-Id: I6e755ca657164919147fe0d9482477e14a4be5eb Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> [gbroner@codeaurora.org: fix merge conflicts, adapted LSM hooks and added missing qseecom headers to fix compilation] Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* ecryptfs: enhancing ecryptfs to be configurable with encryption typeAndrey Markovytch2016-03-23
| | | | | | | | | | | | enabled eCryptfs for qcom targets. In addition to the usual options, a special mode 'aes-xts' was added for qcom ICE hw encryption Change-Id: I20c01adc46c977b4a5db0be9ff93384cda14bc56 Signed-off-by: Lina Zarivach <linaz@codeaurora.org> Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> [gbroner@codeaurora.org: fix merge conflict] Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* platform: msm: add Per-File-Tagger (PFT) driverAndrey Markovytch2016-03-23
| | | | | | | | | | | Integrated from msm-3.14. Additional fixes were made to compile with the new kernel and various new warnings and checkpatch issues were fixed Change-Id: I073db1041e41eac9066e37ee099f1da9e4eed6c0 Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> [gbroner@codeaurora.org: fixed merge conflict and adapted the LSM security hooks] Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* input: gen_vkeys: squash commit from 3.14-kernelMohan Pallaka2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash and apply the following changes taken from the msm-3.14 kernel branch as of msm-3.14 commit 8139d0b4e7a6d ("ARM: dts: msm: Set flag to manage clks") commit c24a3df92a457643cc0821eb9e8f392ae5a907ee Author: Amy Maloche <amaloche@codeaurora.org> Date: Thu May 9 10:23:41 2013 -0700 input: gen_vkeys: Make y_offset an optional property Not all targets will need the y coordinate shifted to function properly, so set this value as default 0. Change-Id: I1816433c3601fe099ffb8ee275637e573990e432 Signed-off-by: Amy Maloche <amaloche@codeaurora.org> Documentation/devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/gen_vkeys.c 2 files changed, 13 insertions(+), 5 deletions(-) commit bb2ac18f8fab38fa12d8a7d8b7ee80d9c0049329 Author: Amy Maloche <amaloche@codeaurora.org> Date: Wed Apr 17 12:15:56 2013 -0700 vkeys: gen_vkeys: Add key position offset Add virtual key position offset to match virtual key positions with front panel. Change-Id: Ibbf89e816d9654f202b75470df0c673aa42439c8 Acked-by: Chun Zhang <chunz@qti.qualcomm.com> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> Documentation/devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/gen_vkeys.c include/linux/input/gen_vkeys.h 3 files changed, 10 insertions(+), 2 deletions(-) commit 1a6d213cf5a3e40d8b39507e2b010dc81de63630 Author: Mohan Pallaka <mpallaka@codeaurora.org> Date: Wed Aug 8 11:25:52 2012 +0530 input: Add support for virtual key generation Virtual keys are used for navigation on Android. These are not specific to the controller used in the target but are specific to the target. Add a module to generate virtual keys independently of the controller. Change-Id: I0c86dc77f1bc53c283e990be419c2715edf4e1c0 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> [stepanm@codeaurora.org: resolve Kconfig conflicts] Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> .../devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile drivers/input/touchscreen/gen_vkeys.c include/linux/input/gen_vkeys.h 5 files changed, 278 insertions(+) Change-Id: Ie0e14d201a42632af57ff23dc85cec8881125e5a Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* input: gpio-keys: add definition for input device nameAlex Sarraf2016-03-23
| | | | | | | Add a macro definition for the input device name. Change-Id: I084e073186765228c48b6dec9ea05d7085350617 Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* rtc: alarm: Change wake-up sourceMohit Aggarwal2016-03-23
| | | | | | | | | | Currently, RTC_ALARM is used to wake-up target from suspend state and is also used for power-off alarm feature. This patch uses qtimer to wake-up from suspend state. Change-Id: Ia42cfecd573309be2f03c18b4f1c321be8202d7d Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
* qcom: perf: probe number of events in kryo CPU PMU initSatya Durga Srinivasu Prabhala2016-03-23
| | | | | | | CPU PMU events needs to be probed and returned per new design in kernel 4.4. Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* usb: gadget: Add support for DMA mapping optimization of request buffersDanny Segal2016-03-23
| | | | | | | | | | | In order to improve performance, this patch enabled mapping of USB request buffers in advance, before queueing them to the HW. This can be used when there is a pool or pre-mapped request buffers so we don't need to map it again every time the request gets queued. Change-Id: Ic3a6db749343ef1345e0816210517755aee055b3 Signed-off-by: Danny Segal <dsegal@codeaurora.org> Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* msm_hsusb: Allow USB BAM driver to compile if CI is not enableMayank Rana2016-03-23
| | | | | | | | | USB BAM driver is accessing some of APIs which are specific to CI controller. Hence add definitions of those APIs as No-ops when CI is not enable to compile USB BAM driver. Change-Id: Id121f042023f4a176936c8b575613244ec46de7f Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* usb: gadget: qdss: Modify to support configfs usageMayank Rana2016-03-23
| | | | | | | | | | - This change adds configfs usage with USB QDSS driver. - It removes all different supported control and data transports and assume BAM2BAM as default mode. - It also removes supported DPL functionality from this driver. Change-Id: I9678c9e9a397445f36272616e517bbb83a59e88a Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* USB: gadget: QDSS: Add snapshot of USB QDSS Function driverMayank Rana2016-03-23
| | | | | | | | This change adds USB QDSS function driver which is used for USB QDSS functionality. This snapshot is taken as of msm-3.18 kernel commit d5809484bb1b. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* platform: msm: Add snapshot of USB BAM driverMayank Rana2016-03-23
| | | | | | | | | Add USB BAM driver used which allows USB BAM to communicate with other other peripherals (e.g QDSS or IPA) BAM. This snapshot is taken as of msm-3.18 commit d5809484bb1b. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* vmstat: make vmstat_updater deferrable again and shut down on idleChristoph Lameter2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the vmstat updater is not deferrable as a result of commit ba4877b9ca51 ("vmstat: do not use deferrable delayed work for vmstat_update"). This in turn can cause multiple interruptions of the applications because the vmstat updater may run at Make vmstate_update deferrable again and provide a function that folds the differentials when the processor is going to idle mode thus addressing the issue of the above commit in a clean way. Note that the shepherd thread will continue scanning the differentials from another processor and will reenable the vmstat workers if it detects any changes. Change-Id: Idf256cfacb40b4dc8dbb6795cf06b34e8fec7a06 Fixes: ba4877b9ca51 ("vmstat: do not use deferrable delayed work for vmstat_update") Signed-off-by: Christoph Lameter <cl@linux.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Git-commit: 0eb77e9880321915322d42913c3b53241739c8aa [shashim@codeaurora.org: resolve minor merge conflicts] Signed-off-by: Shiraz Hashim <shashim@codeaurora.org> [satyap: resolve trivial merge conflicts] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* usb: Remove DPDM pulsing functionalityMayank Rana2016-03-23
| | | | | | | This change removes DP DM pulsing functionality related support from QUSB PHY driver as it is not required. Signed-off-by: Mayank Rana <mrana@codeaurora.org>