Commit graph

583542 commits

Author SHA1 Message Date
Linux Build Service Account
c56e71975b Merge "clk: qcom: Remove mmssnoc cpu active vote clock for SDM660" 2017-02-21 05:33:41 -08:00
Linux Build Service Account
37582e3e06 Merge "ARM: dts: msm: Update VFE SVS clock corner" 2017-02-21 05:33:40 -08:00
Linux Build Service Account
53995bb66d Merge "wil6210: Move dma mask setting after platform initialization" 2017-02-21 05:33:40 -08:00
Linux Build Service Account
d2c8f5b696 Merge "MMC : host: clear interrupt after halt in case of error" 2017-02-21 05:33:39 -08:00
Linux Build Service Account
5478ccfd84 Merge "ARM: dts: msm: Correct vote on LDO11 for VDDIO on sdm630" 2017-02-21 05:33:38 -08:00
Linux Build Service Account
dcf939a8a2 Merge "clk: qcom: Move gcc_usb3_phy_pipe_clk to branch clock" 2017-02-21 05:33:37 -08:00
Linux Build Service Account
f388e2608c Merge "Bluetooth: Enhance logging in btfm slim & audio codec drivers" 2017-02-21 05:33:37 -08:00
Linux Build Service Account
5c930890db Merge "ARM: dts: msm: Update bus bandwidth for msm8998" 2017-02-21 05:33:36 -08:00
Linux Build Service Account
22b8004d4a Merge "ARM: dts: msm: Enable SSC based sensors for QRD SDM660" 2017-02-21 05:33:35 -08:00
Linux Build Service Account
b62eea1c6f Merge "ARM: dts: msm: Update icnss device node for sdm630" 2017-02-21 05:33:34 -08:00
Linux Build Service Account
fc6e67dd82 Merge "clk: qcom: Remove few multimedia clocks for sdm630" 2017-02-21 05:33:33 -08:00
Linux Build Service Account
2647f6c8b6 Merge "msm: kgsl: Log mmap_base value on _get_svm_area failure" 2017-02-21 05:33:33 -08:00
Linux Build Service Account
3ca63be946 Merge "soc: qcom: rpm_rail_stats: Add support for lpcx and lpmx rail stats" 2017-02-21 05:33:32 -08:00
Linux Build Service Account
89c9719dbc Merge "ARM: dts: msm: Enable OSM CPU clocks for SDM630" 2017-02-21 05:33:31 -08:00
Linux Build Service Account
ac3b6b3050 Merge "ARM: dts: msm: Enable home key for qrd sdm630" 2017-02-21 05:33:30 -08:00
Linux Build Service Account
feb73440b7 Merge "ARM: dts: msm: disable dynamic fps for nt35597 truly panel on sdm660" 2017-02-21 05:33:30 -08:00
Linux Build Service Account
b62d031aa6 Merge "ARM: dts: msm: update correct read OT settings for mdss" 2017-02-21 05:33:29 -08:00
Linux Build Service Account
37002c2c34 Merge "smb138x-charger: use SW based comparison for connector health" 2017-02-21 05:33:28 -08:00
Linux Build Service Account
a49e87ee73 Merge "ARM: dts: msm: add connector temp iio channel for SMB138X" 2017-02-21 05:33:27 -08:00
Linux Build Service Account
6cf18cf002 Merge "mm: vmscan: do not pass reclaimed slab to vmpressure" 2017-02-21 05:33:26 -08:00
Linux Build Service Account
1449de5126 Merge "mm: vmpressure: fix sending wrong events on underflow" 2017-02-21 05:33:26 -08:00
Linux Build Service Account
3e0898136d Merge "USB: qusb: Add support to change TUNEX registers dynamically" 2017-02-21 05:33:25 -08:00
Linux Build Service Account
9576ebffd1 Merge "phy: qcom-ufs: parse ref-clk details prior to resource request" 2017-02-21 05:33:24 -08:00
Linux Build Service Account
b3b9d63434 Merge "ARM: dts: msm: update enable signal polarity of SMB1351 for SDM660" 2017-02-21 05:33:23 -08:00
Linux Build Service Account
7997223a2d Merge "msm: ipa: changes to suspend/disable for WDI 2" 2017-02-21 05:33:23 -08:00
Linux Build Service Account
bf0ca85b71 Merge "net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom" 2017-02-21 05:33:19 -08:00
Linux Build Service Account
32ba260669 Merge "usb: pd: Skip decreasing current when requesting the same PPS" 2017-02-21 05:33:18 -08:00
Linux Build Service Account
7fd898c7d3 Merge "ARM: dts: msm: Update Temperature sensor support for sdm660" 2017-02-21 05:33:17 -08:00
Linux Build Service Account
488d502924 Merge "USB: gadget: Replace %pK with %p" 2017-02-21 05:33:16 -08:00
Linux Build Service Account
328a15d380 Merge "msm: kgsl: Fix false timeout gpu faults" 2017-02-21 05:33:16 -08:00
Linux Build Service Account
921ba81bc3 Merge "input: touchscreen: remove msg21xx mstar touch driver" 2017-02-21 05:33:15 -08:00
Linux Build Service Account
abe0d1ce01 Merge "mmc: core: Fix deadlock in suspend & rescan path" 2017-02-21 05:33:14 -08:00
Linux Build Service Account
82ab22b4ae Merge "mmc: sdhci-msm: Dont wait infinitely for pwr_irq interrupt" 2017-02-21 05:33:13 -08:00
Veerabhadrarao Badiganti
43464aa84e mmc: cmdq_hci: Enable legacy interrupts immediately after halt
Enable the legacy interrupts immediately after halt interrupt is
handled, from cmdq_irq() itself.

When cmdq halt is initiated, as per existing logic driver waits either
for halt interrupt to fire or for certain period of time.  In case if
cmdq is halted but halt interrupt got delayed than wait-timeout period,
driver disables cmdq interrupts since cmdq is in halt state.
The delayed halt interrupt gets fired only when cmdq is unhalted next
time and cmdq interrupts are enabled. And this delayed interrupt is
treated as an unexpected interrupt.

By enabling legacy interrupts (i.e., disabling cmdq interrupts) from
cmdq_irq(), we can ensure that we don't disable cmdq interrupts until
halt interrupt get fired. So we can avoid above mentioned scenario.

Change-Id: Ic052d41fac789b6390a5d80dfaee91767bdb783f
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-02-21 17:20:14 +05:30
Veerabhadrarao Badiganti
23a7da0be7 mmc: cmdq_hci: Increase HAC interrupt wait time in halt path
When system is heavily loaded, in some cases interrupt servicing
is getting effected and cmdq halt interrupt handler is getting invoked
after 1 sec delay. Since wait time of HAC interrupt in cmdq driver
is 1 sec, the delayed interrupt is being treated as unexpected
interrupt.
For fixing this case, increasing the timeout to 10 seconds.

Change-Id: I55879095aa2b81a10f40963aee02b2068a3305b4
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-02-21 17:18:48 +05:30
Jin Fu
1fdcd6cd5a ARM: dts: msm: Add touch device node for HDK835
Add ST touch controller device node for MSM8998 HDK835.
Touch controller is connected to the host processor via
I2C.

Change-Id: Id94f2feaddfa0c7aca74a52448b652afcd013ed7
Signed-off-by: Jin Fu <jinf@codeaurora.org>
2017-02-21 19:43:42 +08:00
Ankit Sharma
6951006459 ARM: dts: msm: Add VOL_UP node for SDM630
Add the GPIO and VOL_UP key configuration for SDM630.

CRs-Fixed: 2009507
Change-Id: I63b76194c07c1ce92a0801861cbe349cb2324ef6
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-02-21 17:06:32 +05:30
Laxminath Kasam
cf29faa1ee Revert "ASoC: wsa881x: Add cache-always mode for sdm660"
This reverts 'commit b3f17f8fe8
("ASoC: wsa881x: Add cache-always mode for sdm660")'
as wsa881x speaker mute without cache-always mode is fixed.

CRs-Fixed: 2000566
Change-Id: Ia3c4f2ad5749fd32bb7426ab855c20acc378f563
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-21 15:53:50 +05:30
Laxminath Kasam
da31eab171 Revert "ARM: dts: msm: Enable cache-always for WSA in sdm660 internal codec"
This reverts 'commit 4dd5dc49ac
("ARM: dts: msm: Enable cache-always for WSA in sdm660 internal codec")'
as WSA881x speaker mute without cache-always mode is fixed.

CRs-Fixed: 2000566
Change-Id: Iab2fb5745de5c8356b64ecf6178f1afac05d4d26
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-21 15:53:27 +05:30
Laxminath Kasam
6f5b527c17 ASoC: msm_sdw: Fix wsa881x random speaker mute
In internal codec with WSA, wsa881x codec registers
accessed using soundwire expect to have delay.
So back to back registers access needs to ensure
proper delay, otherwise previous filled register
value is read and results in speaker mute.

CRs-Fixed: 2000566
Change-Id: I6b3441f206a3a9d0531b40d701636d7dd5a74cc0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-21 15:53:02 +05:30
Laxminath Kasam
613aec8015 ARM: dts: msm: Fix compile warning in sdm660 audio node
Add address cells and size cells for digital audio node present
within analog codec node.

CRs-Fixed: 2000566
Change-Id: Iaf7ce40e9bcf8a1eabba0552377372fe2dd43ea3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-21 15:39:06 +05:30
Amit Nischal
e9a6b4b935 clk: qcom: Remove gcc_hmss_ahb_clk for sdm660
The gcc_hmss_ahb_clk will be controlled by RPM. Remove all
control of it from the HLOS clock driver.

Change-Id: I26525787352cb0b85937cc005afba7c37a7989ff
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-21 14:39:12 +05:30
Sayali Lokhande
23fc79cd39 mmc: cmdq_hci: CQ Register changes for sdm660
For SDHC version 5.0 onwards, ICE3.0 specific
registers are added in CQ register space, due to
which few CQ registers(like CQ_VENDOR_GFG,
CQ_CMD_DBG_RAM) are shifted. This change is to
update CQ register offset for sdm660.

Change-Id: Ie85b8f6c68511dccd2b545bd9cc17c747f3da8e7
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-02-21 13:46:54 +05:30
Minchan Kim
05c8140112 zsmalloc: separate free_zspage from putback_zspage
Currently, putback_zspage does free zspage under class->lock if fullness
become ZS_EMPTY but it makes trouble to implement locking scheme for new
zspage migration.  So, this patch is to separate free_zspage from
putback_zspage and free zspage out of class->lock which is preparation
for zspage migration.

Link: http://lkml.kernel.org/r/1464736881-24886-10-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 4aa409cab7c39c90f4b725ff22f52bbf5d2fc4e0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I5cb0c37206d1bb7ceb0a362733103cde335ace39
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:41:07 +05:30
Minchan Kim
a1fbfa1855 zsmalloc: introduce zspage structure
We have squeezed meta data of zspage into first page's descriptor.  So,
to get meta data from subpage, we should get first page first of all.
But it makes trouble to implment page migration feature of zsmalloc
because any place where to get first page from subpage can be raced with
first page migration.  IOW, first page it got could be stale.  For
preventing it, I have tried several approahces but it made code
complicated so finally, I concluded to separate metadata from first
page.  Of course, it consumes more memory.  IOW, 16bytes per zspage on
32bit at the moment.  It means we lost 1% at *worst case*(40B/4096B)
which is not bad I think at the cost of maintenance.

Link: http://lkml.kernel.org/r/1464736881-24886-9-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 3783689a1aa82ef27a6418b043dd7a077b8330c5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I2f0c67d7b85ebfe0655b92e13854fdbde5f26f2b
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:57 +05:30
Minchan Kim
cb9bdb98f4 zsmalloc: factor page chain functionality out
For page migration, we need to create page chain of zspage dynamically
so this patch factors it out from alloc_zspage.

Link: http://lkml.kernel.org/r/1464736881-24886-8-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: bdb0af7ca8f0e9f4c03a9169a744b22890641b64
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I6e6c925a85afb92ec2e24ea0109b9032f96fcbf0
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:47 +05:30
Minchan Kim
d61b975cc0 zsmalloc: use accessor
Upcoming patch will change how to encode zspage meta so for easy review,
this patch wraps code to access metadata as accessor.

Link: http://lkml.kernel.org/r/1464736881-24886-7-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 4f42047bbde059823fe70381387257a9e3bd229c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I972605e6a4c048dbf49ea7b52a4b2eb896a2c8d6
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:38 +05:30
Minchan Kim
e8fe007e7e zsmalloc: use bit_spin_lock
Use kernel standard bit spin-lock instead of custom mess.  Even, it has
a bug which doesn't disable preemption.  The reason we don't have any
problem is that we have used it during preemption disable section by
class->lock spinlock.  So no need to go to stable.

Link: http://lkml.kernel.org/r/1464736881-24886-6-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 1b8320b620d6caa5879380f83f3884908ceedd4a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I07548b9ea31f5379265217f6fa0362befc6f8663
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:28 +05:30
Minchan Kim
4ca9471c94 zsmalloc: keep max_object in size_class
Every zspage in a size_class has same number of max objects so we could
move it to a size_class.

Link: http://lkml.kernel.org/r/1464736881-24886-5-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 1fc6e27d7b8613afe6e5c1b8cdf94339a1bce640
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I45f4f956c49628cb44fdaef23c93fbe9bd2a59a4
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:16 +05:30
Sergey Senozhatsky
119756c9c0 zsmalloc: require GFP in zs_malloc()
Pass GFP flags to zs_malloc() instead of using a fixed mask supplied to
zs_create_pool(), so we can be more flexible, but, more importantly, we
need this to switch zram to per-cpu compression streams -- zram will try
to allocate handle with preemption disabled in a fast path and switch to
a slow path (using different gfp mask) if the fast one has failed.

Apart from that, this also align zs_malloc() interface with zspool/zbud.

[sergey.senozhatsky@gmail.com: pass GFP flags to zs_malloc() instead of using a fixed mask]
  Link: http://lkml.kernel.org/r/20160429150942.GA637@swordfish
Link: http://lkml.kernel.org/r/20160429150942.GA637@swordfish
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: d0d8da2dc49dfdfe1d788eaf4d55eb5d4964d926
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I61b1339bd244a3ea4e31eed893aea9a2f3ffe248
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-21 12:40:06 +05:30