summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge "ARM: dts: msm: Change pinctrl config for BLSP2 UART1 for sdm660"Linux Build Service Account2017-01-30
|\
| * ARM: dts: msm: Change pinctrl config for BLSP2 UART1 for sdm660Mukesh Kumar Savaliya2017-01-26
| | | | | | | | | | | | | | | | Modify the sleep state settings for BLSP2 UART1 pins to optimize power when the BT use case is inactive. Change-Id: I08aa3ee6817ccbff30b99730731754bc6eb28ada Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
* | Merge "regulator: cpr4: Support MMSS closed-loop voltage adjustments"Linux Build Service Account2017-01-30
|\ \
| * | regulator: cpr4: Support MMSS closed-loop voltage adjustmentsTirupathi Reddy2017-01-24
| |/ | | | | | | | | | | | | | | | | | | | | | | Adjust the target quotients according to the closed-loop voltage adjustments mentioned in device tree node and efuse data. Move the common code as utility functions in cpr3-util file and keep the platform specific code in platform specific MMSS files. Change-Id: I39989cc57522009929c2785340563ee6ffb2475c Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
* | Merge "regulator: qpnp-labibb: make IBB discharge resistor configuration ↵Linux Build Service Account2017-01-30
|\ \ | | | | | | | | | optional"
| * | regulator: qpnp-labibb: make IBB discharge resistor configuration optionalSubbaraman Narayanamurthy2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IBB discharge resistor configuration needs to be decided on the mode (LCD/AMOLED) along with the capacitor used on the hardware platform. On hardware platforms that uses pmi8998, this would be configured in the bootloader and HLOS should not be modifying it based on the mode. Hence, remove the property in msm-pmi8998.dtsi. Change the device tree property to optional so that the driver can probe even when the property is not specified. Also, remove the code that force discharge resistor configuration to 300KOhms for AMOLED mode as it can be done either in the bootloader or through device tree. CRs-Fixed: 1115531 Change-Id: I0da5db166bb99a732978c287e97566f649686f42 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
| * | regulator: qpnp-labibb: fix incorrect configuration of SWIRE controlSubbaraman Narayanamurthy2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the value read from IBB_ENABLE_CTL register to determine whether SWIRE control is already enabled by bootloader, wrong value is used. Fix it. Change-Id: I80ddf60a3a8010a749a001f10ba82e6560ecdfd2 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
* | | Merge "ath10k: Modify htt rx descriptor for WCN3990 target"Linux Build Service Account2017-01-30
|\ \ \
| * | | ath10k: Modify htt rx descriptor for WCN3990 targetGovind Singh2017-01-25
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | WCN3990 target uses more fields in htt rx descriptor, hence modify htt rx descriptor for WCN3990 target. CRs-Fixed: 1114748 Change-Id: Iaf3f7bde2a1cfd9e6862c308e5c65447d4293323 Signed-off-by: Govind Singh <govinds@codeaurora.org>
* | | Merge "Revert "mac80211: Add support for beacon report radio measurement""Linux Build Service Account2017-01-30
|\ \ \
| * | | Revert "mac80211: Add support for beacon report radio measurement"Rajeev Kumar Sirasanagandla2017-01-25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e5ea69a4159 ("mac80211: Add support for beacon report radio measurement") which is incomplete cherry-pick of commit 7947d3e075cd ("mac80211: Add support for beacon report radio measurement") from git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git and due to which compilation of ath10k module is broken. Incomplete cherry-pick means not all files of corresponding commit from opensource repo are pulled. CRs-Fixed: 1115991 Change-Id: Iec6aeea39e1a581c91641329fcfa85e608d60bfa Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
* | | Merge "arm64: kernel: Save and restore UAO and addr_limit on exception entry"Linux Build Service Account2017-01-30
|\ \ \
| * | | arm64: kernel: Save and restore UAO and addr_limit on exception entryJames Morse2017-01-25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e19a6ee2460bdd0d0055a6029383422773f9999a upstream. If we take an exception while at EL1, the exception handler inherits the original context's addr_limit and PSTATE.UAO values. To be consistent always reset addr_limit and PSTATE.UAO on (re-)entry to EL1. This prevents accidental re-use of the original context's addr_limit. Based on a similar patch for arm from Russell King. Change-Id: Iaef0dfaa335bd665b15718a2f1bba775ffc18a11 Acked-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Git-commit: e19a6ee2460bdd0d0055a6029383422773f9999a Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [psodagud@codeaurora.org bring in changes missed in commit a5a095803c2469cd3d1fc5a11acc1a8150b7c9f4] Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
* | | Merge "sysctl: enable strict writes"Linux Build Service Account2017-01-30
|\ \ \
| * | | sysctl: enable strict writesKees Cook2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SYSCTL_WRITES_WARN was added in commit f4aacea2f5d1 ("sysctl: allow for strict write position handling"), and released in v3.16 in August of 2014. Since then I can find only 1 instance of non-zero offset writing[1], and it was fixed immediately in CRIU[2]. As such, it appears safe to flip this to the strict state now. [1] https://www.google.com/search?q="when%20file%20position%20was%20not%200" [2] http://lists.openvz.org/pipermail/criu/2015-April/019819.html Change-Id: Ibf8d46fa34fa9fd4df3527dc4dfc3e3d31b2f7e0 Signed-off-by: Kees Cook <keescook@chromium.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Git-commit: 41662f5cc55335807d39404371cfcbb1909304c4 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
* | | | Merge "mm: prevent double decrease of nr_reserved_highatomic"Linux Build Service Account2017-01-30
|\ \ \ \
| * | | | mm: prevent double decrease of nr_reserved_highatomicMinchan Kim2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is race between page freeing and unreserved highatomic. CPU 0 CPU 1 free_hot_cold_page mt = get_pfnblock_migratetype set_pcppage_migratetype(page, mt) unreserve_highatomic_pageblock spin_lock_irqsave(&zone->lock) move_freepages_block set_pageblock_migratetype(page) spin_unlock_irqrestore(&zone->lock) free_pcppages_bulk __free_one_page(mt) <- mt is stale By above race, a page on CPU 0 could go non-highorderatomic free list since the pageblock's type is changed. By that, unreserve logic of highorderatomic can decrease reserved count on a same pageblock severak times and then it will make mismatch between nr_reserved_highatomic and the number of reserved pageblock. So, this patch verifies whether the pageblock is highatomic or not and decrease the count only if the pageblock is highatomic. Change-Id: Ieb4b6c0c98d1797339a94dd4b8033048552c9aad Link: http://lkml.kernel.org/r/1476259429-18279-3-git-send-email-minchan@kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Mel Gorman <mgorman@techsingularity.net> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Sangseok Lee <sangseok.lee@lge.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Git-commit: 4855e4a7f29d6d10b0b9c84e189c770c9a94e91e Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Liam Mark <lmark@codeaurora.org>
| * | | | mm: don't steal highatomic pageblockMinchan Kim2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch series "use up highorder free pages before OOM", v3. I got OOM report from production team with v4.4 kernel. It had enough free memory but failed to allocate GFP_KERNEL order-0 page and finally encountered OOM kill. It occured during QA process which launches several apps, switching and so on. It happned rarely. IOW, In normal situation, it was not a problem but if we are unluck so that several apps uses peak memory at the same time, it can happen. If we manage to pass the phase, the system can go working well. I could reproduce it with my test(memory spike easily. Look at below. The reason is free pages(19M) of DMA32 zone are reserved for HIGHORDERATOMIC and doesn't unreserved before the OOM. balloon invoked oom-killer: gfp_mask=0x24280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0 balloon cpuset=/ mems_allowed=0 CPU: 1 PID: 8473 Comm: balloon Tainted: G W OE 4.8.0-rc7-00219-g3f74c9559583-dirty #3161 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 Call Trace: dump_stack+0x63/0x90 dump_header+0x5c/0x1ce oom_kill_process+0x22e/0x400 out_of_memory+0x1ac/0x210 __alloc_pages_nodemask+0x101e/0x1040 handle_mm_fault+0xa0a/0xbf0 __do_page_fault+0x1dd/0x4d0 trace_do_page_fault+0x43/0x130 do_async_page_fault+0x1a/0xa0 async_page_fault+0x28/0x30 Mem-Info: active_anon:383949 inactive_anon:106724 isolated_anon:0 active_file:15 inactive_file:44 isolated_file:0 unevictable:0 dirty:0 writeback:24 unstable:0 slab_reclaimable:2483 slab_unreclaimable:3326 mapped:0 shmem:0 pagetables:1906 bounce:0 free:6898 free_pcp:291 free_cma:0 Node 0 active_anon:1535796kB inactive_anon:426896kB active_file:60kB inactive_file:176kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:96kB shmem:0kB writeback_tmp:0kB unstable:0kB pages_scanned:1418 all_unreclaimable? no DMA free:8188kB min:44kB low:56kB high:68kB active_anon:7648kB inactive_anon:0kB active_file:0kB inactive_file:4kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:20kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 1952 1952 1952 DMA32 free:19404kB min:5628kB low:7624kB high:9620kB active_anon:1528148kB inactive_anon:426896kB active_file:60kB inactive_file:420kB unevictable:0kB writepending:96kB present:2080640kB managed:2030092kB mlocked:0kB slab_reclaimable:9932kB slab_unreclaimable:13284kB kernel_stack:2496kB pagetables:7624kB bounce:0kB free_pcp:900kB local_pcp:112kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 2*4096kB (H) = 8192kB DMA32: 7*4kB (H) 8*8kB (H) 30*16kB (H) 31*32kB (H) 14*64kB (H) 9*128kB (H) 2*256kB (H) 2*512kB (H) 4*1024kB (H) 5*2048kB (H) 0*4096kB = 19484kB 51131 total pagecache pages 50795 pages in swap cache Swap cache stats: add 3532405601, delete 3532354806, find 124289150/1822712228 Free swap = 8kB Total swap = 255996kB 524158 pages RAM 0 pages HighMem/MovableOnly 12658 pages reserved 0 pages cma reserved 0 pages hwpoisoned Another example exceeded the limit by the race is in:imklog: page allocation failure: order:0, mode:0x2280020(GFP_ATOMIC|__GFP_NOTRACK) CPU: 0 PID: 476 Comm: in:imklog Tainted: G E 4.8.0-rc7-00217-g266ef83c51e5-dirty #3135 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 Call Trace: dump_stack+0x63/0x90 warn_alloc_failed+0xdb/0x130 __alloc_pages_nodemask+0x4d6/0xdb0 new_slab+0x339/0x490 ___slab_alloc.constprop.74+0x367/0x480 __slab_alloc.constprop.73+0x20/0x40 __kmalloc+0x1a4/0x1e0 alloc_indirect.isra.14+0x1d/0x50 virtqueue_add_sgs+0x1c4/0x470 __virtblk_add_req+0xae/0x1f0 virtio_queue_rq+0x12d/0x290 __blk_mq_run_hw_queue+0x239/0x370 blk_mq_run_hw_queue+0x8f/0xb0 blk_mq_insert_requests+0x18c/0x1a0 blk_mq_flush_plug_list+0x125/0x140 blk_flush_plug_list+0xc7/0x220 blk_finish_plug+0x2c/0x40 __do_page_cache_readahead+0x196/0x230 filemap_fault+0x448/0x4f0 ext4_filemap_fault+0x36/0x50 __do_fault+0x75/0x140 handle_mm_fault+0x84d/0xbe0 __do_page_fault+0x1dd/0x4d0 trace_do_page_fault+0x43/0x130 do_async_page_fault+0x1a/0xa0 async_page_fault+0x28/0x30 Mem-Info: active_anon:363826 inactive_anon:121283 isolated_anon:32 active_file:65 inactive_file:152 isolated_file:0 unevictable:0 dirty:0 writeback:46 unstable:0 slab_reclaimable:2778 slab_unreclaimable:3070 mapped:112 shmem:0 pagetables:1822 bounce:0 free:9469 free_pcp:231 free_cma:0 Node 0 active_anon:1455304kB inactive_anon:485132kB active_file:260kB inactive_file:608kB unevictable:0kB isolated(anon):128kB isolated(file):0kB mapped:448kB dirty:0kB writeback:184kB shmem:0kB writeback_tmp:0kB unstable:0kB pages_scanned:13641 all_unreclaimable? no DMA free:7748kB min:44kB low:56kB high:68kB active_anon:7944kB inactive_anon:104kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:108kB kernel_stack:0kB pagetables:4kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 1952 1952 1952 DMA32 free:30128kB min:5628kB low:7624kB high:9620kB active_anon:1447360kB inactive_anon:485028kB active_file:260kB inactive_file:608kB unevictable:0kB writepending:184kB present:2080640kB managed:2030132kB mlocked:0kB slab_reclaimable:11112kB slab_unreclaimable:12172kB kernel_stack:2400kB pagetables:7284kB bounce:0kB free_pcp:924kB local_pcp:72kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 DMA: 7*4kB (UE) 3*8kB (UH) 1*16kB (M) 0*32kB 2*64kB (U) 1*128kB (M) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 1*4096kB (H) = 7748kB DMA32: 10*4kB (H) 3*8kB (H) 47*16kB (H) 38*32kB (H) 5*64kB (H) 1*128kB (H) 2*256kB (H) 3*512kB (H) 3*1024kB (H) 3*2048kB (H) 4*4096kB (H) = 30128kB 2775 total pagecache pages 2536 pages in swap cache Swap cache stats: add 206786828, delete 206784292, find 7323106/106686077 Free swap = 108744kB Total swap = 255996kB 524158 pages RAM 0 pages HighMem/MovableOnly 12648 pages reserved 0 pages cma reserved 0 pages hwpoisoned During the investigation, I found some problems with highatomic so this patch aims to solve the problems and the final goal is to unreserve every highatomic free pages before the OOM kill. This patch (of 4): In page freeing path, migratetype is racy so that a highorderatomic page could free into non-highorderatomic free list. If that page is allocated, VM can change the pageblock from higorderatomic to something. In that case, highatomic pageblock accounting is broken so it doesn't work(e.g., VM cannot reserve highorderatomic pageblocks any more although it doesn't reach 1% limit). So, this patch prohibits the changing from highatomic to other type. It's no problem because MIGRATE_HIGHATOMIC is not listed in fallback array so stealing will only happen due to unexpected races which is really rare. Also, such prohibiting keeps highatomic pageblock more longer so it would be better for highorderatomic page allocation. Change-Id: I15c2f91965eb4c35a2a53dc43f9acb8945922198 Link: http://lkml.kernel.org/r/1476259429-18279-2-git-send-email-minchan@kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Mel Gorman <mgorman@techsingularity.net> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Sangseok Lee <sangseok.lee@lge.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Git-commit: 88ed365ea227aa28841a8d6e196c9a261c76fffd Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Liam Mark <lmark@codeaurora.org>
* | | | | Merge "ath10k: Add wmi service ready event for HL1.0 fw"Linux Build Service Account2017-01-30
|\ \ \ \ \
| * | | | | ath10k: Add wmi service ready event for HL1.0 fwSarada Prasanna Garnayak2017-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wmi service ready bitmap has changed in HL1.0 fw. Add wmi service ready event to support svc bitmap. CRs-Fixed: 1115986 Change-Id: Ie83878d186ebb2e4e919f75f6c87887384f79796 Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Rakesh Pillai <pillair@codeaurora.org> Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | | Merge "ath10k: Refactor wmi init cmd for WCN3990"Linux Build Service Account2017-01-30
|\| | | | |
| * | | | | ath10k: Refactor wmi init cmd for WCN3990Rakesh Pillai2017-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI init cmd parameters num_wds_entries, num_perrs and skid_limit have different values for WCN3990. Refactor the wmi init cmd for WCN3990 with appropriate values. CRs-Fixed: 1115155 Change-Id: I6fadc8bd8e655eed589de658a036b4062c6da310 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
| * | | | | ath10k: Add support for wmi ops and services for WCN3990Rakesh Pillai2017-01-25
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WCN3990 uses different wmi ops and services. Add support for these wmi ops and services for WCN3990 in ath10k CRs-Fixed: 1115136 Change-Id: Id3f5f21dc4eb16e2175e570cc5c019a22b8ffb37 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | | Merge "ath10k: update the Rx ring fill level for wcn3990 target"Linux Build Service Account2017-01-30
|\ \ \ \ \
| * | | | | ath10k: update the Rx ring fill level for wcn3990 targetSarada Prasanna Garnayak2017-01-25
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The WLAN firmware writes Rx packet in the Rx ring buffer through copy engine. The Rx ring fill level depends on the number of mac in WLAN chipset and wcn3990 WLAN chipset has a dual mac. Update the Rx ring buffer fill level method to add support for wcn3990 WLAN module. CRs-Fixed: 1115978 Change-Id: Ife7a951171e25602b74f6b389f464c38cf9af1c8 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | Merge "msm: vidc: Enable WARN_ON based on debug level"Linux Build Service Account2017-01-29
|\ \ \ \ \
| * | | | | msm: vidc: Enable WARN_ON based on debug levelSurajit Podder2017-01-27
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable WARN_ON only when VIDC_INFO debug level is enabled. Change-Id: I39ccb69e0809614c4d85c3e9e13bb6faa8ffd6eb Signed-off-by: Surajit Podder <spodder@codeaurora.org>
* | | | | Merge "msm: mdss: expose HDR information to panel sys node"Linux Build Service Account2017-01-28
|\ \ \ \ \
| * | | | | msm: mdss: expose HDR information to panel sys nodeRay Zhang2017-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose HDMI sink HDR information using panel sys node. These HDR information contains peak brightness and blackness level. CRs-Fixed: 1113352 Change-Id: Id254ce870184500962d386fd901bf2ab8ec3ee7c Signed-off-by: Ray Zhang <rayz@codeaurora.org> Signed-off-by: Lei Chen <chenl@codeaurora.org>
* | | | | | Merge "msm: mdss: fix use of uninitialized local variable"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: fix use of uninitialized local variableAbhijit Kulkarni2017-01-24
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes unitilized local variable being used and checks for the valid format in concurrent writeback case before using the format parameters. CRs-Fixed: 1110015 Change-Id: I61a3e20af1d0a4db7a7db454ae35b810639744ae Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | Merge "msm: mdss: Clear compat structures before copying to user"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: Clear compat structures before copying to userSravan Kumar D.V.N2017-01-24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the compat layer, the temporary structures used to convert data from 32bit to 64bit structures need to be set to 0 before being assigned values. CRs-Fixed: 1103689 Change-Id: I405500f427f3f4dc4d38a9fb188fece9a31614ca Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
* | | | | | Merge "msm: mdss: fix tearcheck when enter low power mode"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: fix tearcheck when enter low power modeIngrid Gallardo2017-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During transition from ultra low power mode to low power mode, tear check is not reconfigured, which can cause problems during the doze mode use case. Fix this problem by making sure that tearcheck gets reconfigured. Change-Id: I5dc0dd78d98c768ef70c795ac974bb4574c55a0f Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | Merge "msm: mdss: disable dsi timing db once fps is updated"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: disable dsi timing db once fps is updatedSandeep Panda2017-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation, once dynamic fps update kicks in, MDSS driver enables DSI timing db property. But from chipsets like sdm660, DSI_CMD_OFFSET and DSI_CMD_LENGTH register has become double buffered and since timing db property was enabled as part of dynamic fps update, DSI commands transfer for backlight update, panel health check or panel off might fail if there is no control flush. So disable DSI timing db property once dynamic fps update sequence is complete. Change-Id: I5158a36c9eea8f257ec81bab2f260e072fc22f29 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | Merge "ASoC: msm8998: Fix misordering of Tavil codec SLIMBUS TX channels"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \
| * | | | | | | | ASoC: msm8998: Fix misordering of Tavil codec SLIMBUS TX channelsXiaoyu Ye2017-01-24
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recording is failing for Tavil codec due to no input from microphones that caused by wrong shared TX channels. Correct the order of Tavil codec SLIMBUS TX channels to avoid wrong shared channel number being used while enabling TX ports. CRs-Fixed: 1114886 Change-Id: Ief94556995961f87e0effa092caf370b0927150a Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
* | | | | | | | Merge "ASoC: msm: Aptx decoder integration changes"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \
| * | | | | | | | ASoC: msm: Aptx decoder integration changesDhanalakshmi Siddani2017-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to support aptx decoder in offload mode. Add support to set BT device address and add new mixer control to set license key. CRs-Fixed: 1106128 Change-Id: Idd4ec8ab829883ef4848be8b686e24101ccbed60 Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
| * | | | | | | | ALSA: compress: Add APTX format support in ALSADhanalakshmi Siddani2017-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend ALSA (Advanced Linux Sound Architecture) compress to support APTX format. CRs-Fixed: 1106128 Change-Id: I301c3fac1f0e267ca82f20a42437bae86a22413c Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
* | | | | | | | | Merge "ASoC: wcd-mbhc: correct detection logic for headphone"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | ASoC: wcd-mbhc: correct detection logic for headphoneYeleswarapu Nagaradhesh2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report cable as headphone only if there is button 0 press interrupt. Otherwise SW cannot differentiate between normal GND-MIC swap and 3 pole extension cable. CRs-Fixed: 1063474 Change-Id: I63450a94ccbf6c25b935d06dc16b3a26b1d076e3 Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
* | | | | | | | | | Merge "ASoC: msm: qdsp6v2: Add missing MM2 to SLIM_TX paths"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | ASoC: msm: qdsp6v2: Add missing MM2 to SLIM_TX pathsKarthikeyan Mani2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing paths for the mixer controls MM2 to SLIM6_TX and MM2 to SLIM1_TX. CRs-fixed: 1102525 Change-Id: I3c37b9486167c795bc5ae4fbbc4af3f1426caf1f Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
* | | | | | | | | | | Merge "msm: qdsp6v2: remove invalid sample rate check for ADM topology"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: qdsp6v2: remove invalid sample rate check for ADM topologySiena Richard2017-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the check on sample rate when searching for the correct ADM topology. The ADM topology is not dependent on sample rate and the sample rate is not set by calibration in the ADM topology calibration information header. Therefore, it is invalid data and should not be used to determine the ADM topology. Change-Id: Iea0a53409ae95c89b6a984a679374cab19cc5602 Signed-off-by: Siena Richard <sienar@codeaurora.org> CRs-fixed: 1110369
* | | | | | | | | | | | Merge "ASoC: msm: qdsp6v2: Add support for AFE sidetone"Linux Build Service Account2017-01-28
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | ASoC: msm: qdsp6v2: Add support for AFE sidetoneSiena Richard2017-01-11
| | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for AFE sidetone whenever USB device or codec sidetone is not available or supported. Change-Id: I325ba6448efb4c021a2974ad813be4f8192e9ad1 Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org> Signed-off-by: Siena Richard <sienar@codeaurora.org>