Commit graph

575134 commits

Author SHA1 Message Date
Linux Build Service Account
04326fd5ee Merge "qcom-charger: smb-lib: support input limited state property" 2016-09-12 21:29:52 -07:00
Linux Build Service Account
7b1570056f Merge "ARM: dts: msm: Add VADC node for ICNSS in msmcobalt" 2016-09-12 21:29:51 -07:00
Linux Build Service Account
12d6cb4e73 Merge "icnss: Add support of sending athdiag read/write messages" 2016-09-12 21:29:50 -07:00
Linux Build Service Account
d1dac36062 Merge "memshare: Synchronize memory allocation and free operations" 2016-09-12 21:29:49 -07:00
Linux Build Service Account
d8ff4b6468 Merge "input: Makefile: include ITE tech touch driver for compilation" 2016-09-12 21:29:48 -07:00
Linux Build Service Account
d8cee129cd Merge "ext4 crypto: use dget_parent() in ext4_d_revalidate()" 2016-09-12 21:29:47 -07:00
Linux Build Service Account
09f3b62937 Merge "ext4 crypto: don't let data integrity writebacks fail with ENOMEM" 2016-09-12 21:29:47 -07:00
Linux Build Service Account
975231176d Merge "clk: msm: clock: Vote on MX rail on behalf of MM PLLs on MSMCOBALT" 2016-09-12 21:29:46 -07:00
Linux Build Service Account
643a59d98b Merge "ASoC: wcd9335: Fix kctl_put and get functionality for SLIM RXX MUX" 2016-09-12 21:29:45 -07:00
Linux Build Service Account
bff6b51c07 Merge "diag: Use correct bridge index while sending data" 2016-09-12 21:29:44 -07:00
Linux Build Service Account
88701f0bc9 Merge "msm: kgsl: Change the shrinker to not free reserved pages" 2016-09-12 21:29:43 -07:00
Hemant Kumar
b8b08404db Revert "usb: dwc3: gadget: start requests as soon as they come"
This reverts commit 1d6a39186b ("usb:
dwc3: gadget: start requests as soon as they come"). Queuing request
as soon as they come without waiting for XFER_NOT_READY event resulting
into usb transfer stall.

Change-Id: Ic08b2da2983a520a07a0b225254c068d499a67cc
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 19:56:13 -07:00
Hemant Kumar
3ba0c3fd0b Revert "usb: dwc3: gadget: start transfer on XFER_COMPLETE"
This reverts commit 8a1a9c9e45
("usb: dwc3: gadget: start transfer on XFER_COMPLETE"). This
optimization is resulting into transfer stall for an endpoint.
Hence start transfer only from XFER_NOT_READY event.

Change-Id: Idcd7ae3de3cb85b84c3db7f367b56b097561b2dd
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 19:36:57 -07:00
Runmin Wang
c568eb7aca Merge branch 'tmp-bab1564' into msm-4.4
* tmp-bab1564:
  ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED
  android: base-cfg: Add CONFIG_INET_DIAG_DESTROY
  cpufreq: interactive: only apply interactive boost when enabled
  cpufreq: interactive: fix policy locking
  ANDROID: dm verity fec: add sysfs attribute fec/corrected
  ANDROID: android: base-cfg: enable CONFIG_DM_VERITY_FEC
  UPSTREAM: dm verity: add ignore_zero_blocks feature
  UPSTREAM: dm verity: add support for forward error correction
  UPSTREAM: dm verity: factor out verity_for_bv_block()
  UPSTREAM: dm verity: factor out structures and functions useful to separate object
  UPSTREAM: dm verity: move dm-verity.c to dm-verity-target.c
  UPSTREAM: dm verity: separate function for parsing opt args
  UPSTREAM: dm verity: clean up duplicate hashing code
  UPSTREAM: dm: don't save and restore bi_private
  mm: Export do_munmap
  sdcardfs: remove unneeded __init and __exit
  sdcardfs: Remove unused code
  fs: Export d_absolute_path
  sdcardfs: remove effectless config option
  inotify: Fix erroneous update of bit count
  fs: sdcardfs: Declare LOOKUP_CASE_INSENSITIVE unconditionally
  trace: cpufreq: fix typo in min/max cpufreq
  sdcardfs: Add support for d_canonical_path
  vfs: add d_canonical_path for stacked filesystem support
  sdcardfs: Bring up to date with Android M permissions:
  Changed type-casting in packagelist management
  Port of sdcardfs to 4.4
  Included sdcardfs source code for kernel 3.0
  ANDROID: usb: gadget: Add support for MTP OS desc
  CHROMIUM: usb: gadget: f_accessory: add .raw_request callback
  CHROMIUM: usb: gadget: audio_source: add .free_func callback
  CHROMIUM: usb: gadget: f_mtp: fix usb_ss_ep_comp_descriptor
  CHROMIUM: usb: gadget: f_mtp: Add SuperSpeed support
  FROMLIST: mmc: block: fix ABI regression of mmc_blk_ioctl
  FROMLIST: mm: ASLR: use get_random_long()
  FROMLIST: drivers: char: random: add get_random_long()
  FROMLIST: pstore-ram: fix NULL reference when used with pdata
  usb: u_ether: Add missing rx_work init
  ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue
  misc: uid_stat: Include linux/atomic.h instead of asm/atomic.h
  hid-sensor-hub.c: fix wrong do_div() usage
  power: Provide dummy log_suspend_abort_reason() if SUSPEND is disabled
  PM / suspend: Add dependency on RTC_LIB
  drivers: power: use 'current' instead of 'get_current()'
  video: adf: Set ADF_MEMBLOCK to boolean
  video: adf: Fix modular build
  net: ppp: Fix modular build for PPPOLAC and PPPOPNS
  net: pppolac/pppopns: Replace msg.msg_iov with iov_iter_kvec()
  ANDROID: mmc: sdio: Disable retuning in sdio_reset_comm()
  ANDROID: mmc: Move tracepoint creation and export symbols
  ANDROID: kernel/watchdog: fix unused variable warning
  ANDROID: usb: gadget: f_mtp: don't use le16 for u8 field
  ANDROID: lowmemorykiller: fix declaration order warnings
  ANDROID: net: fix 'const' warnings
  net: diag: support v4mapped sockets in inet_diag_find_one_icsk()
  net: tcp: deal with listen sockets properly in tcp_abort.
  tcp: diag: add support for request sockets to tcp_abort()
  net: diag: Support destroying TCP sockets.
  net: diag: Support SOCK_DESTROY for inet sockets.
  net: diag: Add the ability to destroy a socket.
  net: diag: split inet_diag_dump_one_icsk into two
  Revert "mmc: Extend wakelock if bus is dead"
  Revert "mmc: core: Hold a wake lock accross delayed work + mmc rescan"
  ANDROID: mmc: move to a SCHED_FIFO thread

Conflicts:
	drivers/cpufreq/cpufreq_interactive.c
	drivers/misc/uid_stat.c
	drivers/mmc/card/block.c
	drivers/mmc/card/queue.c
	drivers/mmc/card/queue.h
	drivers/mmc/core/core.c
	drivers/mmc/core/sdio.c
	drivers/staging/android/lowmemorykiller.c
	drivers/usb/gadget/function/f_mtp.c
	kernel/watchdog.c

Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Change-Id: Ibb4db11c57395f67dee86211a110c462e6181552
2016-09-12 18:25:49 -07:00
Veera Sundaram Sankaran
fdc9315942 msm: mdss: wait for kickoff before executing mode switch changes
Currently, as soon as the mode switch for video-cmd mode request
kicks in, few software structures are changed immediately. This
might cause issues when the previous kickoff is in progress with
the kernel thread. Add wait for kickoff before executing mode
switch to avoid such issues.

Change-Id: I2646d00d64416523da9c936715e9af9a2b258eeb
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-09-12 17:02:54 -07:00
Sivanesan Rajapupathi
653339dbcd crypto: msm: qce50: allocate iovec out of cacheable memory
iovec memory for each pipe is only accessed by crypto and BAM drivers from
the CPU. It won't be accessed by crypto device. Change allocation of iovec
from coherent memory space to kernel memory space to improve performance.

Change-Id: I97162c00c37716be8b9a20393f67bda8da41e99d
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Sivanesan Rajapupathi <srajap@codeaurora.org>
2016-09-12 16:12:52 -07:00
Venkat Gopalakrishnan
98e5fbba6a scsi: ufs-qcom: configure ufs clocks core memory
Configure the ufs clocks core and peripheral memory state when
turned off. This configuration is required to allow retaining
ICE crypto configuration (including keys) when ice_core_clk is
turned off, and powering down non-ICE RAMs of host controller.

Change-Id: I93584851fd50c7006ccd48979087d707ab4c6408
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 16:00:53 -07:00
Hemant Kumar
b6271df1c9 Revert "usb: dwc3: gadget: use update transfer command"
This reverts commit 6bb4fe12ea
("usb: dwc3: gadget: use update transfer command"). If we get
a Xfer Not Ready event with reason "Transfer Active" issuing
update transfer for the endpoint for any pending request
results into transfer stall on the endpoint. Hence do not use
update transfer command for on-demad transfers.

Change-Id: Iec1c5913efe1dd266506f973951f22a2170fce77
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
f5a8583fbb Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"
This change reverts Commit f3af36511e ("usb: dwc3: gadget: always
enable IOC on bulk/interrupt transfers") which sets IOC bit for both
bulk/interrupt transfers resulting into interrupt for each TRB
completion with event as XFERINPROGRESS. In some cases it has been
observed that controller is not able to complete provided TRB on
bulk-in endpoint causing stall conditions. Hence Fix this issue by not
setting IOC bit for each TRB to receive XFERCOMPLETE interrupt with it.

Change-Id: I5ff08188f37044332f7dadba8d677288e83bfec8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Hemant Kumar
afaf5d0410 Revert "usb: dwc3: gadget: use Update Transfer from Xfer In Progress"
This reverts commit e6e709b7ab ("usb:
dwc3: gadget: use Update Transfer from Xfer In Progress"). Issueing
update transfer command for on-demand transfers reslting into
transfer stall.

Change-Id: I5dd4818e07a3297dd9226169741d8753b2f57a2e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
94a976091c dwc3: gadget: Avoid starting next transfer if transfer is active
XFERNOTREADY event provides status about current transfer. Hence
if transfer is active, then avoid starting next transfer by calling
__dwc3_gadget_kick_transfer() API. Otherwise USB controller stalls to
perform data transfer on that endpoint due to starting new transfer
without completing in progress transfer.

Change-Id: I90370e7e5de55b499a78fbfe5e913f39ec22c7e5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
ef529d5647 Revert "usb: dwc3: fix TRB completion when multiple TRBs are started"
commit 0b93a4c838 ("usb: dwc3: fix TRB completion when multiple TRBs
are started") enables XFERINPROGRESS event with all endpoint type
except control endpoint. Currently we are not using XFERINPROGRESS for
queuing next request and depends on XFERNOTREADY event only.

Change-Id: I833c2311c5af48fd15f2813df9cc83c3471c4f94
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-12 15:43:55 -07:00
Linux Build Service Account
b7bf6d2b63 Merge "icnss: Add support of suspend_noirq/resume_noirq" 2016-09-12 14:42:28 -07:00
Linux Build Service Account
e8afdbad3e Merge "ASoC: msm: Add Buffer overflow check" 2016-09-12 14:42:27 -07:00
Linux Build Service Account
a1bf0348c4 Merge "input: touchscreen: add support for IT7260 touch controller series" 2016-09-12 14:42:27 -07:00
Linux Build Service Account
023310d9d6 Merge "input: touchpanel: enable protocol B for skuf CTP driver" 2016-09-12 14:42:25 -07:00
Linux Build Service Account
0ac10439ff Merge "input: touchpanel: Add FB notifications support to GT9xx" 2016-09-12 14:42:24 -07:00
Linux Build Service Account
bfb9253e65 Merge "USB: usbfs: fix potential infoleak in devio" 2016-09-12 14:42:24 -07:00
Linux Build Service Account
f1a35480ec Merge "clk: msm: clock: Update the supported frequencies for hmss_ahb_clk_src" 2016-09-12 14:42:22 -07:00
Linux Build Service Account
50af22ee1c Merge "clk: msm: gcc-cobalt: Add support for gcc_aggre1_ufs_axi_hw_ctl_clk" 2016-09-12 14:42:22 -07:00
Linux Build Service Account
43f14d2d08 Merge "msm: mdss: enable VBIF write_gather for WB2" 2016-09-12 14:42:21 -07:00
Linux Build Service Account
fdc80ae02b Merge "ARM: dts: msm: use QCOM replicator for msmcobalt" 2016-09-12 14:42:20 -07:00
Linux Build Service Account
172717f1c7 Merge "coresight-tpda: add support to generate FREQTS packets" 2016-09-12 14:42:19 -07:00
Linux Build Service Account
dfad0f9a64 Merge "coresight-tpda: skip writing '0' to FREQREQ_VAL register" 2016-09-12 14:42:19 -07:00
Subash Abhinov Kasiviswanathan
6d58572de9 net: rmnet_data: Define the skb recycle handler for transports
rmnet_data currently frees incoming memory when de-aggregating
large incoming aggregated packets. This may introduce additional
overhead in the memory allocator. Add a handler as part of the
rx_handler_data to recycle the skb's. This handler needs to
defined within the specific transport driver. If the recycle
handler is not implemented by the transport, rmnet_data will
free the skb (default behavior).

CRs-Fixed: 1048396
Change-Id: I14b929d78c87ced26cff3c32876d2eec5de33350
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-09-12 14:05:12 -06:00
Deepak Katragadda
56a1dc1746 clk: msm: clock: Register the mnoc_maxi_clk after the vmem_maxi_clk
Registering the vmem_maxi_clk after the mnoc_maxi_clk leads to it
being added to the handoff list after its FSM clock. This results
in the mnoc_maxi_clk being stuck ON when it's disabled as part of
clock_late_init. Hence, change the order of registering these clocks.

CRs-Fixed: 1065813
Change-Id: If076545f9557f1be2633f72fca5b9e8096b6501b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-12 11:32:06 -07:00
Venkat Gopalakrishnan
77c50a22e8 scsi: ufs: dump hw regs on link failures
Dump host state, power info and host/vendor specific registers
on link failures. This provides useful info to debug the failures.

Change-Id: I76a4ea56f3aee6a51a5930381ad8d12ca8b43551
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:30:36 -07:00
Venkat Gopalakrishnan
b1fe3eedb2 scsi: ufs-qcom: dump additional testbus registers
Change testbus default config, dump additional testbus
registers and ufs phy regs along with other debug vendor
specific registers. These additional info are useful
in debugging link related failures.

Change-Id: Icfa44def6d461a5782f7f57cefb78ed5e57a50d0
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:30:27 -07:00
Venkat Gopalakrishnan
fc8a047e31 phy: qcom-ufs-qmp-v3: add ops to dump phy regs
It's useful to dump phy registers on failure to debug
link issues. Export a new ops for the ufs driver to invoke
during link failures.

Change-Id: Id3a9c9085375b783d97e7f2ffd3e11ec469aedb9
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:19:39 -07:00
Abhijeet Dharmapurikar
3850d272a6 qcom-charger: handle get prop errors graciously
Currently the code passes on the error value it receives from the
individual property getters. This causes the read of uevent to fail.

Instead convert those errors to -ENODATA which the power supply
framework handles graciously and keeps the read of uevent entry from
failing. It simply skips reporting that property in uevent.

Change-Id: I997197c7c7315769e49342da7973a9f79ab54c80
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-09-12 11:08:54 -07:00
Yuanyuan Liu
d44c09c2b9 icnss: Add support of monitoring vph_pwr
Add support of monitoring runtime phone power. Driver configures two
threshold values and receives notifications when phone power
crosses either high or low threshold. Driver then sends indication to
WLAN FW, which will vote for different regulator power mode based on the
indication.

CRs-Fixed: 1050198
Change-Id: I0614286f1b2a3446d40ad4d82e24a6e8f91069e1
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 10:04:37 -07:00
Yuanyuan Liu
cc9afa974c ARM: dts: msm: Add VADC node for ICNSS in msmcobalt
Add VADC node in ICNSS for reading and monitoring
runtime phone power.

CRs-Fixed: 1050198
Change-Id: I94278e4a972e4a1a2cdb162482a589743992ca3c
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 10:00:00 -07:00
Yuanyuan Liu
2e1727bdb4 icnss: Add debugfs entries for register read/write
Add debugfs entries for reading/writing WLAN hardware registers.
This is for runtime debugging enhancement.

CRs-Fixed: 1058506
Change-Id: Ib49adaa407d2a5d7765401fee4c8652f235c5f33
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:56:48 -07:00
Yuanyuan Liu
1947a834f5 icnss: Add support of sending athdiag read/write messages
Add support of sending athdiag read/write commands through QMI.
This enhance the runtime debugging of WLAN Hardware.

CRs-Fixed: 1038933
Change-Id: I6639ecce6c24d8b9757a98757bcc3f0cd4b2e9b2
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:55:52 -07:00
Yuanyuan Liu
b56e6e2c96 icnss: Add support of suspend_noirq/resume_noirq
Register suspend_noirq and resume_noirq for WLAN driver.
This could make sure that no wake up is pending from FW
and if initial wake up is received then failing suspend_noirq
should trigger resume.

CRs-Fixed: 1060667
Change-Id: Ib233ce66ad21819d2d62155072f0bf985a12837b
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:51:38 -07:00
Rama Krishna Phani A
64380f7fe6 ARM: dts: msm: Add SPS node for msmtriton
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I9fcf626fbbaaa4a15d88983de23910e02a9b57e8
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2016-09-12 18:00:51 +05:30
Linux Build Service Account
9c8924dbaa Merge "input: synaptics_2.6: add pinctrl support for Synaptics 2.6 driver" 2016-09-12 05:16:04 -07:00
Linux Build Service Account
bc7a35be18 Merge "ASoc: msm: qdsp6v2: Fix timestamp glitch during gapless transition" 2016-09-12 05:16:03 -07:00
Linux Build Service Account
5872e6e3e8 Merge "ARM: dts: msm: Add missing glink_pkt devices for MSMCOBALT" 2016-09-12 05:16:02 -07:00
Bingzhe Cai
4bf592770b input: touchpanel: enable protocol B for skuf CTP driver
Skuf use touch panel protocol B for touch event recognition that
needs enable this protocol in driver.

Change-Id: Ic855ed4fb0277a9bc5996bcb310db67b8ccf5c03
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 05:03:53 -07:00