Commit Graph

1976 Commits

Author SHA1 Message Date
LuK1337 f525b5edb1 Import T713XXU2BQD3 kernel source changes
Change-Id: I9897a6d702844ebd56458d82d5b7be87ab5a907b
2017-07-01 12:51:07 +02:00
LuK1337 4664546f2b arch/arm64: configs: Add gts210velte & gts28velte defconfigs
Change-Id: Icec8b149a5589d3dde0d6301c20934397d2790d4
2017-06-16 23:14:24 +02:00
LuK1337 e0d4aab3d0 arch/arm64: configs: Disable Samsung MTP driver
Change-Id: I52233e2d780bd8a1afffdba0524c5e8066faf379
2017-05-12 12:36:46 +02:00
LuK1337 242dff1ac2 arch/arm64: configs: Disable input event debugging
Change-Id: I18bf86398acfead994b81a617f0bc29edf202c62
2017-05-11 11:22:55 +02:00
LuK1337 0817da1b21 arch/arm64: configs: gts210vewifi: Select proper light sensor driver
Change-Id: I082c733b16578ca485eccd8dec35eb0e22a8e762
2017-04-26 10:40:04 +02:00
LuK1337 3ba82916b3 arch/arm64: configs: Regenerate defconfigs
Change-Id: I5de7048923c3c5ee98b3e40028e936cf4bb0032f
2017-04-26 10:39:56 +02:00
LuK1337 c6e9d743e8 arch/arm64: configs: Enable F2FS
Change-Id: Ieb53f0fa71e8eba43c95bbed88eb85cdc7e82b8e
2017-04-18 20:45:47 +02:00
Luca Stefani 788d27a6bc Revert "arm64: mm: ensure that the zero page is visible to the page table walker"
This reverts commit c8f487a49a.
2017-04-18 17:24:53 +02:00
Luca Stefani e516c31e99 This is the 3.10.96 stable release
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCAAGBQJWqv2IAAoJEDjbvchgkmk+180QAKqYrypT3cyClNOHGRFRaxID
 Sxo8S9tr8apxaIeP/nfZH3fYXyoadKBwxet15PNYwGVex3jBIVO0M0kspNPu9guG
 ogM0hf558EiWpdN5kydwCyN2ukJkhPP9r1ZQ5T84UcqflIboLDYXksqW1w8JX7wm
 dumt8kbbnN42e9S1bXD79CRaBB+dkNBTg0fdfpCi7pOQvUQD9DAs/j6XM1ZkOouX
 P+/vnIWbRwzbVqlJSaWNfBotlNsydosazJD9lg8iFIRDpVGJPKYbDMP2MPpyrmyA
 mesNRIy0wD9cixXW6jMS3fkSOY27N5hZIYYVPWQ8vfCcooTej4GHw37C7Inlh8z6
 iWf/sy1Hu+vniJKAr0BD86ocZxnaMv//BQtwCJZv3TfuQ93QkaRmEznEnCHYGN4M
 thoaS7oYGfrJnsHKkh913Kr3K7QuvyFttOE058PloYzJbCPV+YVRa/UGyuR6qOCl
 SbuSMXDdUDcf/Wznr6S6p6T2GIfM8GYvfm7hzIYwHpClCQpDR3lRdonDAg82mdMh
 YCNbEZQ32+l8idBX/YG97MskMD869237yh4MLUUWoxLTbevAblkYSt81WuDO4Gya
 PcWcB+zH4t2Y25W9yVoTKmaJSJPhT4ngNFSy7V8zKgVG2Vmz4YIuLRhd6N2/fGcd
 FVSXw7uHZhrn+SEl+L6W
 =tiwo
 -----END PGP SIGNATURE-----

Merge tag 'v3.10.96' into HEAD

This is the 3.10.96 stable release

Change-Id: I428f544d161be44e66e56e2d6900700e798cdd0a
2017-04-18 17:16:02 +02:00
Luca Stefani 7492d477e6 This is the 3.10.94 stable release
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCAAGBQJWaHZOAAoJEDjbvchgkmk+my0P/jsD1AGpZ5MFfMAktU9icsRe
 vW4jp81LEsjkhNQiQ7jbSztUh5tLPnBjXH7qyK9UggzRnhuucHLqn488GTSTrg0n
 1kXAhnwOdZeFSw/eTInDZ9jEWD3f9w+ZKJeissK0Q0gBNocBgsd4iidjyxlOXTMd
 7P19EH0ys4YL42KfvRm/3t+cT09/2VGk+Y0rDqU0xpQM7ZhRPdmdewRMtk6L0YiX
 +Ijypv+3C5Zv1JE4Y7+V7EG535jhYHnlnXnsnpSMmUHHusAGnPHl6rwk2o/7zwJZ
 /aDRCqTqAnncGS3+e/5/0AIvLbdqKbbnp0P8vXOFZ8RDZU3z7TxlO29j1R9tjceT
 80kQDAwWN/1UXUsjny0W+1ozTf5KkH6VibgBbZRrbcZ9NkiurMayXeMbfysCy3An
 OAyHxVv2gwQ/QYJp54UBAmT5fyKq6AhO9C7l+Iedt9/yuT17E69+QTkMaUc9BCZ7
 OG5Sf1H2umcRraWSc//bxyjzXkLm4kgginNuNSCa6xkVJBW+EzAssovJqV53w62U
 aZu/gRtbVP88m6Ay+QhwHkeyO1yJiVO+0ssyo4gj+tBsKnf66u/c3i9QExn3fepk
 3nr61ooKgm4wdBVOArFwLxY2PjkpGG+hR9L/sHvxTf6ULTauWD5kwdsv0LP2mJhw
 wKgrcBhfo+1LGJnJoowF
 =pOAT
 -----END PGP SIGNATURE-----

Merge tag 'v3.10.94' into HEAD

This is the 3.10.94 stable release
2017-04-18 17:12:56 +02:00
Luca Stefani 82b37d9f2f Merge remote-tracking branch 'f2fs/linux-3.10.y' into HEAD
Change-Id: Ic2fe24529f029909ddd96490bd6d885d60f88be2
2017-04-18 17:02:28 +02:00
Luca Stefani 03c7f2babb gts210vewifi/gts28vewifi: Enable HW crc32 crypto
Change-Id: I11dfde12dccf14ff080775ce66a7aa1c2951cd5c
2017-04-18 12:17:57 +02:00
Yuanyuan Zhong b4c98bc799 arm64: strcmp: align to 64B cache line
Align strcmp to 64B. This will ensure the preformance critical
loop is within one 64B cache line.

Change-Id: I9240fbb4407637b2290a44e02ad59098a377b356
Signed-off-by: Yuanyuan Zhong <zyy@motorola.com>
Reviewed-on: https://gerrit.mot.com/902536
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
2017-04-18 12:17:54 +02:00
Hong-Mei Li 5cb8aed1c3 arm64: lib: memory utilities optimization
Optimize memcpy and memmove, to prefetch several cache lines.
We can achieve 15% memcpy speed improvement with the preload method.

Change-Id: I2259b98a33eba0b7466920b3f270f953e609cf13
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
Reviewed-on: http://gerrit.mot.com/740766
SLTApproved: Slta Waiver <sltawvr@motorola.com>
SME-Granted: SME Approvals Granted
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Zhi-Ming Yuan <a14194@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
2017-04-18 12:17:48 +02:00
Will Deacon c182462032 arm64: lib: improve copy_page to deal with 128 bytes at a time
We want to avoid lots of different copy_page implementations, settling
for something that is "good enough" everywhere and hopefully easy to
understand and maintain whilst we're at it.

This patch reworks our copy_page implementation based on discussions
with Cavium on the list and benchmarking on Cortex-A processors so that:

  - The loop is unrolled to copy 128 bytes per iteration

  - The reads are offset so that we read from the next 128-byte block
    in the same iteration that we store the previous block

  - Explicit prefetch instructions are removed for now, since they hurt
    performance on CPUs with hardware prefetching

  - The loop exit condition is calculated at the start of the loop

Change-Id: I0d9f3bbe4efa2751f41432a3b4b299fbb0e494be
Signed-off-by: Will Deacon <will.deacon@arm.com>
Tested-by: Andrew Pinski <apinski@cavium.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2017-04-18 12:17:45 +02:00
Will Deacon 59180ec546 arm64: lib: use pair accessors for copy_*_user routines
commit 23e94994464a7281838785675e09c8ed1055f62f upstream.

The AArch64 instruction set contains load/store pair memory accessors,
so use these in our copy_*_user routines to transfer 16 bytes per
iteration.

Change-Id: Ie9874b067ff7450a40b29a760f0c6e742f750adc
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: David Brown <david.brown@linaro.org>
2017-04-18 12:17:42 +02:00
Ard Biesheuvel 96cc375d4d crypto: arm64/crc32 - bring in line with generic CRC32
The arm64 CRC32 (not CRC32c) implementation was not quite doing
the same thing as the generic one. Fix that.

Change-Id: Ia994facbe7ca05ab852919731eb4c5fb62810919
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-04-18 12:17:34 +02:00
Yazen Ghannam dd6860445e crypto: crc32 - Add ARM64 CRC32 hw accelerated module
This module registers a crc32 algorithm and a crc32c algorithm
that use the optional CRC32 and CRC32C instructions in ARMv8.

Tested on AMD Seattle.

Improvement compared to crc32c-generic algorithm:
TCRYPT CRC32C speed test shows ~450% speedup.
Simple dd write tests to btrfs filesystem show ~30% speedup.

Change-Id: I733dfcfc4a17493fd5d9e63cd30ec394f4ab1f9d
Signed-off-by: Yazen Ghannam <yazen.ghannam@linaro.org>
Acked-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-04-18 12:17:31 +02:00
LuK1337 4e71469c73 Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD
Change-Id: Ie506850703bf9550ede802c13ba5f8c2ce723fa3
2017-04-18 12:11:50 +02:00
Olivier Karasangabo 641ab2bdbf arm64: Disable Samsung security restrictions by default 2017-04-18 04:44:48 +02:00
Luca Stefani 53c9d0fc6d arch/arm64: configs: Use EXT4 for EXT2/3
Change-Id: I97aa16b489090feca2836ee25953dabf640766bc
2017-04-18 04:40:26 +02:00
Ethan Chen f8cc952732 arch/arm64: configs: Enable NF_MATCH_RPFILTER
Needed for tethering

Change-Id: I9f081d2217ffbdec46616864c24e8eb6ae57af9c
2017-04-18 04:38:09 +02:00
LuK1337 eb0401fa60 arch/arm64: configs: Enable BFQ
Change-Id: Ide8c90f0999e003c4dfc0f7d6341f43dec94e552
2017-04-18 04:37:20 +02:00
Luca Stefani eeee7a4d5a arch/arm64: configs: Enable core ctl
Change-Id: I697b103ce251d0effd6c380c1128647d28d30d52
2017-04-18 04:37:18 +02:00
Luca Stefani ee9890d0e7 arch/arm64: configs: Enable CPUSETS
Change-Id: I9573e135016163f0cd2199d2dd617e33535ff4ef
2017-04-18 04:37:17 +02:00
LuK1337 86713deafd arch/arm64: configs: Kill modules support
Change-Id: Id88c734a9c16957fc0196ddb9aa7473bb98f7e76
2017-04-18 04:11:34 +02:00
LuK1337 bae534be0c arch/arm64: configs: Add gts28vewifi_defconfig and gts210vewifi_defconfig
Change-Id: Iffa72886f9033fa884987bdfdff6f7c08a87edba
2017-04-18 04:11:33 +02:00
LuK1337 fc9499e55a Import latest Samsung release
* Package version: T713XXU2BQCO

Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
2017-04-18 03:43:52 +02:00
Bharat Pawar dceee43015 defconfig: Enable config IP_NF_MATCH_RPFILTER
Enable config IP_NF_MATCH_RPFILTER.
This option allows you to match packets whose replies would go out via
the interface the packet came in
Change-Id: I2a23346e726a8df8487aeb664d6316b3cf2b9d77
Signed-off-by: Bharat Pawar <bpawar@codeaurora.org>
2016-12-24 04:04:44 -08:00
Mark Rutland 1cad4595ae arm64: make sys_call_table const
As with x86, mark the sys_call_table const such that it will be placed
in the .rodata section. This will cause attempts to modify the table
(accidental or deliberate) to fail when strict page permissions are in
place. In the absence of strict page permissions, there should be no
functional change.

Change-Id: I5b8fcf486c59cb1d83c117c5246eeb2447ccfb65
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Git-commit: c623b33b4e9599c6ac5076f7db7369eb9869aa04
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2016-12-14 23:13:46 -08:00
Shiraz Hashim 3831d5a2dd arm: dma-mapping: page align size before flush tlb
start and end must be page aligned while calling
flush_tlb_kernel_range else the last page may get
missed while invalidation.

Change-Id: Ibaab202c47a475623e197a13191b2fed638ce20b
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-11-08 04:52:07 -08:00
Suzuki K. Poulose 5eb45fcb2a arm64: perf: reject groups spanning multiple HW PMUs
The perf core implicitly rejects events spanning multiple HW PMUs, as in
these cases the event->ctx will differ. However this validation is
performed after pmu::event_init() is called in perf_init_event(), and
thus pmu::event_init() may be called with a group leader from a
different HW PMU.

The ARM64 PMU driver does not take this fact into account, and when
validating groups assumes that it can call to_arm_pmu(event->pmu) for
any HW event. When the event in question is from another HW PMU this is
wrong, and results in dereferencing garbage.

This patch updates the ARM64 PMU driver to first test for and reject
events from other PMUs, moving the to_arm_pmu and related logic after
this test. Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with
a CCI PMU present:

Bad mode in Synchronous Abort handler detected, code 0x86000006 -- IABT (current EL)
CPU: 0 PID: 1371 Comm: perf_fuzzer Not tainted 3.19.0+ #249
Hardware name: V2F-1XV7 Cortex-A53x2 SMM (DT)
task: ffffffc07c73a280 ti: ffffffc07b0a0000 task.ti: ffffffc07b0a0000
PC is at 0x0
LR is at validate_event+0x90/0xa8
pc : [<0000000000000000>] lr : [<ffffffc000090228>] pstate: 00000145
sp : ffffffc07b0a3ba0

[<          (null)>]           (null)
[<ffffffc0000907d8>] armpmu_event_init+0x174/0x3cc
[<ffffffc00015d870>] perf_try_init_event+0x34/0x70
[<ffffffc000164094>] perf_init_event+0xe0/0x10c
[<ffffffc000164348>] perf_event_alloc+0x288/0x358
[<ffffffc000164c5c>] SyS_perf_event_open+0x464/0x98c
Code: bad PC value

Also cleans up the code to use the arm_pmu only when we know
that we are dealing with an arm pmu event.

Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Peter Ziljstra (Intel) <peterz@infradead.org>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Git-commit: 8fff105e13041e49b82f92eef034f363a6b1c071
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I2ab941e9936726c6222975bdfc9f98e46284fe25
Signed-off-by: Patrick Fay <pfay@codeaurora.com>
2016-10-17 00:30:28 -07:00
Satya Durga Srinivasu Prabhala 13687eeaa5 arm64: defconfig: disable PACMan
Peripheral Access Control Manager (PACMan) is a test driver
and isn't need to be enabled by default on any target.
Also, causing OOM issues during ADSP SSR on 8937.

CRs-Fixed: 979581
Change-Id: I4a91239fb5c56c5a3e9e6a85bc1430a3060d02f1
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-10-03 00:11:25 -07:00
Kamal Negi c750a18692 defconfig: arm64: msm-perf: Disable HSLite and HSConsole
Disable MSM Serial HSlite and HSConsole driver on perf image.

Change-Id: I98b7200668f589db7fa48291ff48312545ea948d
Signed-off-by: Kamal Negi <kamaln@codeaurora.org>
2016-09-19 23:55:01 -07:00
Swetha Chikkaboraiah 5a87e383ce defconfig: arm: setting mmap_rnd_bits
Update mmap_rnd_bits to max value.

Git-commit: 98437587fbd2f9c407125872ef5798ee04ad12c0
Git-repo: https://android.googlesource.com/kernel/msm.git
[schikk@codeaurora.org similar change added for 64-bit defconfig]
CRs-Fixed: 1058121
Change-Id: I0476c63fe854b631924b571e558f8907802f552f
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2016-09-15 04:24:35 -07:00
Patrick Daly 3cf277ee44 defconfig: msm: Enable MODULE_RONX
Set the appropriate permissions on module text and read-only sections.

Change-Id: Iab9e733040ffd6d048258b94e05537884bc8fc4a
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2016-09-12 03:08:31 -07:00
Linux Build Service Account 1971029ce2 Merge "Merge commit 'b73847a75055daf57295a8d32fd2c3f998d0b72a' into HEAD" 2016-09-11 15:03:45 -07:00
Ravi Kumar Siddojigari d68584f045 Revert "arm64: Introduce execute-only page access permissions"
This reverts commit f72129c220.

While the aim is increased security for --x memory maps, it does not
protect against kernel level reads. Until SECCOMP is implemented for
arm64, revert this patch to avoid giving a false idea of execute-only
mappings.

Change-Id: Ifb2fb182450bc656189738842f344f63daa5e317
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-commit:5a0fdfada3a2aa50d7b947a2e958bf00cbe0d830
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2016-09-09 01:17:23 -07:00
Pradosh Das 72b69ffec9 Merge commit 'b73847a75055daf57295a8d32fd2c3f998d0b72a' into HEAD
Change-Id: I240d1eae11f98e46ac3c3dfbd69805e4343921fd
Signed-off-by: Pradosh Das <prados@codeaurora.org>
2016-09-08 23:14:17 +05:30
Linux Build Service Account 98fd8f8456 Merge "defconfig: Enabling config INET_DIAG_DESTROY" 2016-09-06 18:49:56 -07:00
Devi Sandeep Endluri V V 709dbfe78d defconfig: Enabling config INET_DIAG_DESTROY
Sockets that are opened before VPN is connected
are supposed to be destroyed once it is connected.
VPN related CTS testcases are failing without the
ability to destroy sockets. Enabling INET_DIAG_DESTROY
to fix these testcases.

CRs-Fixed: 1043997
Change-Id: Iffd056fb29a7e16556ec9502a3d005c5bb35be50
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2016-08-28 02:05:24 -07:00
Kamal Negi 0bb654cd7c defconfig: arm64: msm-perf: Enable SERIAL_MSM_HS
Enable MSM uart serial driver.

Change-Id: I29b2d83edda3d1d4b2198b0c673a0a97c5b1878b
Signed-off-by: Kamal Negi <kamaln@codeaurora.org>
2016-08-26 07:11:53 -07:00
Dennis Cagle 4ba33a9039 msm_defconfig: Enable config for b/29119870
Restriction of kernel performance events requires
a change to the defconfig.

Bug: 29119870
Change-Id: Ib7e565a52446e2dcae1aa8c561d4770f2762a4d7
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2016-08-22 07:09:40 -07:00
Marek Szyprowski b2c88daae2 arm64: dma-mapping: always clear allocated buffers
[ Upstream commit 6829e274a623187c24f7cfc0e3d35f25d087fcc5 ]

Buffers allocated by dma_alloc_coherent() are always zeroed on Alpha,
ARM (32bit), MIPS, PowerPC, x86/x86_64 and probably other architectures.
It turned out that some drivers rely on this 'feature'. Allocated buffer
might be also exposed to userspace with dma_mmap() call, so clearing it
is desired from security point of view to avoid exposing random memory
to userspace. This patch unifies dma_alloc_coherent() behavior on ARM64
architecture with other implementations by unconditionally zeroing
allocated buffer.

CRs-Fixed: 1041735
Change-Id: I74bf024e0f603ca8c0b05430dc2ee154d579cfb2
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Git-commit: a142e9641dcbead2c8845c949ad518acac96ed28
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[lmark@codeaurora.org: resolve merge conflicts]
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-08-17 14:38:20 -07:00
Komal Seelam efb7e23038 defconfig: Enable config flags for QCA SDIO targets
Enable config flags for QCA SDIO 8976 targets.
This flags enable SDIO platform driver and the
Features for WLAN.

Signed-off-by: Komal Seelam <kseelam@codeaurora.org>
Change-Id: I388e64bc4e99426141f7d9630bc03ff7817a8cfc
CRs-Fixed: 944601
2016-08-17 08:18:22 -07:00
Neil Leeder d7c30d92d7 perf: stop deadlock when cpu_up fails
When an attempt is made to free an event on a CPU which is
no longer online, perf tries to bring the CPU online. This
can fail, resulting in an UP_CANCELLED notifier, which
eventually tries to acquire the ctx->mutex which is already
being held by the cpu_up code.

Removing the attempt to bring the cpu up will remove this
deadlock, but also requires temporarily removing support of
counting events across hotplug. This will be restored in a
later patch.

CRs-fixed: 912295
Change-Id: Iaafa3c6688d26508857472fd5bb32139a137880e
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
2016-08-11 00:10:07 -07:00
Himanshu Agarwal edefa07bd5 defconfig: Enable CONFIG_WLAN_FEATURE_RX_WAKELOCK
Enable CONFIG_WLAN_FEATURE_RX_WAKELOCK to define
WLAN_FEATURE_HOLD_RX_WAKELOCK to be able to define
qcom_rx_wakelock to prevent device from going in suspend
state while running throughput when USB is disconnected with
LCD off

Change-Id: Ic06fadc2293247a8237e426b479ce82c7dd39ede
Signed-off-by: Himanshu Agarwal <himanaga@codeaurora.org>
2016-08-10 17:59:00 +05:30
Sarada Prasanna Garnayak 27c4307478 Net: CNSS: refactoring CNSS platform Driver
Separate the WLAN CNSS platform driver according to
the bus interface PCIe and SDIO. Add separate Kernel
Config file for the WLAN CNSS platform Driver and its
necessary module which has support for the CNSS
connectivity Subsystem.

Add Kernel Config flag to refactoring the CNSS platform Driver:

CONFIG_CNSS Kernel Config add support to CNSS Core
driver compilation and export Generic GPL wrappers.

CONFIG_CNSS_SDIO Kernel Config add support to CNSS
Platform Driver compilation for SDIO based WiFi Devices
and export platform driver API's based on the SDIO bus.

CONFIG_CNSS_PCI Kernel Config add support to CNSS
Platform Driver compilation for PCIe based WiFi Devices
and export platform driver API's based on the PCIe bus.

Change-Id: I8cce5bbc87e6742179a7967ccba295f55c444b28
Signed-off-by: Komal Seelam <kseelam@codeaurora.org>
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
CRs-fixed: 944601
2016-08-10 11:27:41 +05:30
Marek Szyprowski 01dcb7ce15 arm64: dma-mapping: always clear allocated buffers
[ Upstream commit 6829e274a623187c24f7cfc0e3d35f25d087fcc5 ]

Buffers allocated by dma_alloc_coherent() are always zeroed on Alpha,
ARM (32bit), MIPS, PowerPC, x86/x86_64 and probably other architectures.
It turned out that some drivers rely on this 'feature'. Allocated buffer
might be also exposed to userspace with dma_mmap() call, so clearing it
is desired from security point of view to avoid exposing random memory
to userspace. This patch unifies dma_alloc_coherent() behavior on ARM64
architecture with other implementations by unconditionally zeroing
allocated buffer.

CRs-Fixed: 1041735
Change-Id: I74bf024e0f603ca8c0b05430dc2ee154d579cfb2
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Git-commit: a142e9641dcbead2c8845c949ad518acac96ed28
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[lmark@codeaurora.org: resolve merge conflicts]
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-08-04 04:25:18 -07:00
Pradosh Das 571b43a792 Merge commit '4742aa9efad673157273b07095ac1070dd2f02ea' into HEAD
Conflicts:
        drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c
        sound/soc/msm/msm8952-slimbus.c

Change-Id: If4516c52837e61afda301496b9053cb44ea59dd9
Signed-off-by: Pradosh Das <prados@codeaurora.org>
2016-07-26 12:02:09 +05:30